Skip to content
Closed
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
748 changes: 546 additions & 202 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

11 changes: 10 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: 5.0.7
version: 5.1.0
additionalDependencies:
dev:
pytest: ^8.3.3
Expand All @@ -44,12 +44,16 @@ python:
authors:
- Clerk
baseErrorName: ClerkBaseError
bodyVariantOverloads: false
clientServerStatusCodesAsErrors: true
constFieldCasing: upper
defaultErrorName: SDKError
description: Python Client SDK for clerk.dev
enableCustomCodeRegions: true
enumFormat: enum
eventStreamClassNames:
async: EventStreamAsync
sync: EventStream
fixFlags:
asyncPaginationSep2025: false
conflictResistantModelImportsFeb2026: false
Expand All @@ -69,18 +73,23 @@ python:
webhooks: ""
inferUnionDiscriminators: true
inputModelSuffix: input
inputTypedDictSuffix: TypedDict
legacyPyright: true
license: ""
maxMethodParams: 20
methodArguments: infer-optional-args
methodTimeoutArgument: timeout-ms
methodTimeoutUnits: milliseconds
moduleName: ""
multipartArrayFormat: legacy
optionalDependencies: {}
outputModelSuffix: output
packageManager: poetry
packageName: clerk-backend-api
preApplyUnionDiscriminators: false
pytestFilterWarnings: []
pytestTimeout: 0
rawResponseHelpers: false
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
Expand Down
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.768.2
speakeasyVersion: 1.775.0
sources:
clerk-openapi:
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:1e5f5a4db3b56d5500e02405ce79864fd1b243212f603e1e513ef54928524c8a
sourceBlobDigest: sha256:d6bb2ae2558f16c8351e5e2809754745d8dcf8160fac339e8e36489ed8bf6f08
sourceRevisionDigest: sha256:a93bfeadf7aef0931b45d91d5a4819687119e89267b48d1cf3e264f181f7ffdf
sourceBlobDigest: sha256:a65ce70dbf04e0053c9929a1556c3a5b7684eb127b38772fc260beb0ea9018df
tags:
- latest
- "2025-11-10"
targets:
clerk-sdk-python:
source: clerk-openapi
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:1e5f5a4db3b56d5500e02405ce79864fd1b243212f603e1e513ef54928524c8a
sourceBlobDigest: sha256:d6bb2ae2558f16c8351e5e2809754745d8dcf8160fac339e8e36489ed8bf6f08
sourceRevisionDigest: sha256:a93bfeadf7aef0931b45d91d5a4819687119e89267b48d1cf3e264f181f7ffdf
sourceBlobDigest: sha256:a65ce70dbf04e0053c9929a1556c3a5b7684eb127b38772fc260beb0ea9018df
codeSamplesNamespace: clerk-openapi-python-code-samples
codeSamplesRevisionDigest: sha256:a7a36574a27ea83ee7327c8fd47e78da9a38231f000d75347bf532b118709afd
codeSamplesRevisionDigest: sha256:8f2df308c90ff06f8ccf68480fe67b84ba951d586af097162ddb8820e40710b2
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
84 changes: 45 additions & 39 deletions README-PYPI.md

Large diffs are not rendered by default.

84 changes: 45 additions & 39 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 @@ -608,4 +608,14 @@ Based on:
### Generated
- [python v5.0.7] .
### Releases
- [PyPI v5.0.7] https://pypi.org/project/clerk-backend-api/5.0.7 - .
- [PyPI v5.0.7] https://pypi.org/project/clerk-backend-api/5.0.7 - .

## 2026-06-10 15:44:40
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.775.0 (2.900.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v5.1.0] .
### Releases
- [PyPI v5.1.0] https://pypi.org/project/clerk-backend-api/5.1.0 - .
9 changes: 9 additions & 0 deletions docs/models/attemptemailaddressverificationrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# AttemptEmailAddressVerificationRequest


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `email_address_id` | *str* | :heavy_check_mark: | The ID of the email address whose code is being verified |
| `request_body` | [models.AttemptEmailAddressVerificationRequestBody](../models/attemptemailaddressverificationrequestbody.md) | :heavy_check_mark: | N/A |
9 changes: 9 additions & 0 deletions docs/models/attemptemailaddressverificationrequestbody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# AttemptEmailAddressVerificationRequestBody


## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| `verification_id` | *str* | :heavy_check_mark: | The ID of the verification to check, such as one returned by prepare_verification |
| `code` | *str* | :heavy_check_mark: | The verification code that was sent to the email address |
9 changes: 9 additions & 0 deletions docs/models/attemptphonenumberverificationrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# AttemptPhoneNumberVerificationRequest


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `phone_number_id` | *str* | :heavy_check_mark: | The ID of the phone number whose code is being verified |
| `request_body` | [models.AttemptPhoneNumberVerificationRequestBody](../models/attemptphonenumberverificationrequestbody.md) | :heavy_check_mark: | N/A |
9 changes: 9 additions & 0 deletions docs/models/attemptphonenumberverificationrequestbody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# AttemptPhoneNumberVerificationRequestBody


## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| `verification_id` | *str* | :heavy_check_mark: | The ID of the verification to check, such as one returned by prepare_verification |
| `code` | *str* | :heavy_check_mark: | The verification code that was sent to the phone number |
11 changes: 11 additions & 0 deletions docs/models/billingpaymentattemptdiscounts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# BillingPaymentAttemptDiscounts

Information about the discounts applied to the payment


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `proration` | [Nullable[models.BillingPaymentAttemptTotalsProration]](../models/billingpaymentattempttotalsproration.md) | :heavy_check_mark: | Proration details from passed subscription time |
| `total` | [models.CommerceMoneyResponse](../models/commercemoneyresponse.md) | :heavy_check_mark: | N/A |
17 changes: 9 additions & 8 deletions docs/models/billingpaymentattempttotals.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ Totals breakdown for this payment attempt.

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `subtotal` | [models.CommerceMoneyResponse](../models/commercemoneyresponse.md) | :heavy_check_mark: | N/A |
| `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.CommercePerUnitTotal](../models/commerceperunittotal.md)] | :heavy_minus_sign: | N/A |
| `credits` | [OptionalNullable[models.BillingPaymentAttemptCredits]](../models/billingpaymentattemptcredits.md) | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
| `subtotal` | [models.CommerceMoneyResponse](../models/commercemoneyresponse.md) | :heavy_check_mark: | N/A |
| `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 |
| `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 |
Loading