Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,114 changes: 686 additions & 428 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 6.0.1
version: 6.1.0
additionalDependencies:
dev:
pytest: ^8.3.3
Expand All @@ -49,8 +49,10 @@ python:
constFieldCasing: upper
defaultErrorName: SDKError
description: Python Client SDK for clerk.dev
durationFormat: false
enableCustomCodeRegions: true
enumFormat: enum
errorSchemaValidation: true
eventStreamClassNames:
async: EventStreamAsync
sync: EventStream
Expand Down Expand Up @@ -91,6 +93,8 @@ python:
pytestTimeout: 0
rawResponseHelpers: false
responseFormat: flat
responseSchemaValidation: true
sseFlatResponse: false
templateVersion: v2
useAsyncHooks: false
uuidFormat: false
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.778.0
speakeasyVersion: 1.790.0
sources:
clerk-openapi:
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:96ac7c88f394e98ad840bc4562cb364f44f676023ec99e935d58a22f0d35319c
sourceBlobDigest: sha256:9ec12f08a39e514255abb67095affd7effd32d748bedaf3ead0889d3d1f0de11
sourceRevisionDigest: sha256:8a342c5ca190838f47b12fe5616692ff57da42747da17e07e25e372209bf09f1
sourceBlobDigest: sha256:b1fbe74950c5389d06c0769bc0792a095847ab634ee9f3146d80a4187fd4fb21
tags:
- latest
- "2026-05-12"
targets:
clerk-sdk-python:
source: clerk-openapi
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:96ac7c88f394e98ad840bc4562cb364f44f676023ec99e935d58a22f0d35319c
sourceBlobDigest: sha256:9ec12f08a39e514255abb67095affd7effd32d748bedaf3ead0889d3d1f0de11
sourceRevisionDigest: sha256:8a342c5ca190838f47b12fe5616692ff57da42747da17e07e25e372209bf09f1
sourceBlobDigest: sha256:b1fbe74950c5389d06c0769bc0792a095847ab634ee9f3146d80a4187fd4fb21
codeSamplesNamespace: clerk-openapi-python-code-samples
codeSamplesRevisionDigest: sha256:ba8996a51d6bb120fde5168fc9c1039ef6515ce2fa82fff28e1b1ba7ecfa29dc
codeSamplesRevisionDigest: sha256:7847df4f07d0145d7d8080fe2add57690f7cb56c10cfd08eb7ffc78e1cad5583
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
86 changes: 50 additions & 36 deletions README-PYPI.md

Large diffs are not rendered by default.

86 changes: 50 additions & 36 deletions README.md

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -638,4 +638,14 @@ Based on:
### Generated
- [python v6.0.1] .
### Releases
- [PyPI v6.0.1] https://pypi.org/project/clerk-backend-api/6.0.1 - .
- [PyPI v6.0.1] https://pypi.org/project/clerk-backend-api/6.0.1 - .

## 2026-07-14 00:34:41
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.790.0 (2.917.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v6.1.0] .
### Releases
- [PyPI v6.1.0] https://pypi.org/project/clerk-backend-api/6.1.0 - .
2 changes: 1 addition & 1 deletion docs/models/billingpaymentattempttotals.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Totals breakdown for this payment attempt.
| `base_fee` | [models.CommerceMoneyResponse](../models/commercemoneyresponse.md) | :heavy_check_mark: | N/A |
| `tax_total` | [models.CommerceMoneyResponse](../models/commercemoneyresponse.md) | :heavy_check_mark: | N/A |
| `grand_total` | [models.CommerceMoneyResponse](../models/commercemoneyresponse.md) | :heavy_check_mark: | N/A |
| `per_unit_totals` | List[[models.SchemasCommercePerUnitTotal](../models/schemascommerceperunittotal.md)] | :heavy_minus_sign: | N/A |
| `per_unit_totals` | List[[models.CommercePerUnitTotal2](../models/commerceperunittotal2.md)] | :heavy_minus_sign: | N/A |
| `credits` | [OptionalNullable[models.BillingPaymentAttemptCredits]](../models/billingpaymentattemptcredits.md) | :heavy_minus_sign: | N/A |
| `discounts` | [OptionalNullable[models.BillingPaymentAttemptDiscounts]](../models/billingpaymentattemptdiscounts.md) | :heavy_minus_sign: | Information about the discounts applied to the payment |
2 changes: 1 addition & 1 deletion docs/models/clerkerror.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
| `message` | *str* | :heavy_check_mark: | N/A | Invalid input |
| `long_message` | *str* | :heavy_check_mark: | N/A | The input provided does not meet the requirements. |
| `code` | *str* | :heavy_check_mark: | N/A | 400_bad_request |
| `meta` | [Optional[models.Meta]](../models/meta.md) | :heavy_minus_sign: | N/A | {} |
| `meta` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | {} |
7 changes: 0 additions & 7 deletions docs/models/clerkerrorerrorenterpriseaccountmeta.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions docs/models/clerkerrorerrormeta.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/models/clerkerrorerrorsamlaccountmeta.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/models/clerkerrors.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Request was not successful
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `errors` | List[[models.ClerkError](../models/clerkerror.md)] | :heavy_check_mark: | N/A | [<br/>{<br/>"message": "Invalid input",<br/>"long_message": "The input provided does not meet the requirements.",<br/>"code": "400_bad_request",<br/>"clerk_trace_id": "trace_123456789abcd"<br/>}<br/>] |
| `meta` | [Optional[models.ClerkErrorsMeta]](../models/clerkerrorsmeta.md) | :heavy_minus_sign: | N/A | {} |
| `meta` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | {} |
7 changes: 0 additions & 7 deletions docs/models/clerkerrorsmeta.md

This file was deleted.

21 changes: 10 additions & 11 deletions docs/models/commercecreditledgerresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ A credit ledger entry.

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `object` | *str* | :heavy_check_mark: | String representing the object's type. Always "commerce_credit_ledger". |
| `id` | *str* | :heavy_check_mark: | Unique identifier for the ledger entry. |
| `payer_id` | *str* | :heavy_check_mark: | The ID of the payer whose balance was adjusted. |
| `amount` | *int* | :heavy_check_mark: | The signed credit amount. Positive for increases, negative for decreases. |
| `currency` | *str* | :heavy_check_mark: | The currency code of the credit adjustment. |
| `source_type` | *str* | :heavy_check_mark: | The type of source that originated the adjustment (e.g. "grant"). |
| `source_id` | *str* | :heavy_check_mark: | The ID of the source that originated the adjustment. |
| `note` | *OptionalNullable[str]* | :heavy_minus_sign: | An optional note attached to the ledger entry. |
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Timestamp when the ledger entry was created. |
| Field | Type | Required | Description |
| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| `object` | *str* | :heavy_check_mark: | String representing the object's type. Always "commerce_credit_ledger". |
| `id` | *str* | :heavy_check_mark: | Unique identifier for the ledger entry. |
| `payer_id` | *str* | :heavy_check_mark: | The ID of the payer whose balance was adjusted. |
| `amount` | [models.CommerceMoneyResponse](../models/commercemoneyresponse.md) | :heavy_check_mark: | N/A |
| `source_type` | *str* | :heavy_check_mark: | The type of source that originated the adjustment (e.g. "grant"). |
| `source_id` | *str* | :heavy_check_mark: | The ID of the source that originated the adjustment. |
| `note` | *OptionalNullable[str]* | :heavy_minus_sign: | An optional note attached to the ledger entry. |
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | Timestamp when the ledger entry was created. |
Loading