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
193 changes: 79 additions & 114 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 3 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.0.2
additionalDependencies:
dev:
pytest: ^8.3.3
Expand All @@ -51,6 +51,7 @@ python:
description: Python Client SDK for clerk.dev
enableCustomCodeRegions: true
enumFormat: enum
errorSchemaValidation: true
eventStreamClassNames:
async: EventStreamAsync
sync: EventStream
Expand Down Expand Up @@ -91,6 +92,7 @@ python:
pytestTimeout: 0
rawResponseHelpers: false
responseFormat: flat
responseSchemaValidation: true
sseFlatResponse: false
templateVersion: v2
useAsyncHooks: 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.784.0
sources:
clerk-openapi:
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:96ac7c88f394e98ad840bc4562cb364f44f676023ec99e935d58a22f0d35319c
sourceBlobDigest: sha256:9ec12f08a39e514255abb67095affd7effd32d748bedaf3ead0889d3d1f0de11
sourceRevisionDigest: sha256:c5a6d96ddd6aeeac4a5cb090bcabb15c8a23f5f0b31aeba9f10a299ca8acb905
sourceBlobDigest: sha256:8b2ff7232384e78f68bc26862b400fb471e38fbd954d8fe66178925147ed6316
tags:
- latest
- "2026-05-12"
targets:
clerk-sdk-python:
source: clerk-openapi
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:96ac7c88f394e98ad840bc4562cb364f44f676023ec99e935d58a22f0d35319c
sourceBlobDigest: sha256:9ec12f08a39e514255abb67095affd7effd32d748bedaf3ead0889d3d1f0de11
sourceRevisionDigest: sha256:c5a6d96ddd6aeeac4a5cb090bcabb15c8a23f5f0b31aeba9f10a299ca8acb905
sourceBlobDigest: sha256:8b2ff7232384e78f68bc26862b400fb471e38fbd954d8fe66178925147ed6316
codeSamplesNamespace: clerk-openapi-python-code-samples
codeSamplesRevisionDigest: sha256:ba8996a51d6bb120fde5168fc9c1039ef6515ce2fa82fff28e1b1ba7ecfa29dc
codeSamplesRevisionDigest: sha256:9b069f216fc01d0823d5eb604d0bed74b149605bc08738a8fff6f1e205e8d5f2
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 1 addition & 1 deletion README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ with Clerk(
# Depending on the method different errors may be thrown
if isinstance(e, models.ClerkErrors):
print(e.data.errors) # List[clerk_backend_api.ClerkError]
print(e.data.meta) # Optional[clerk_backend_api.ClerkErrorsMeta]
print(e.data.meta) # Optional[Dict[str, Any]]
```

### Error Classes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ with Clerk(
# Depending on the method different errors may be thrown
if isinstance(e, models.ClerkErrors):
print(e.data.errors) # List[clerk_backend_api.ClerkError]
print(e.data.meta) # Optional[clerk_backend_api.ClerkErrorsMeta]
print(e.data.meta) # Optional[Dict[str, Any]]
```

### Error Classes
Expand Down
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-06-20 00:54:50
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.784.0 (2.911.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v6.0.2] .
### Releases
- [PyPI v6.0.2] https://pypi.org/project/clerk-backend-api/6.0.2 - .
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.

10 changes: 5 additions & 5 deletions docs/models/createorganizationdomainrequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `name` | *Optional[str]* | :heavy_minus_sign: | The name of the new domain |
| `enrollment_mode` | *Optional[str]* | :heavy_minus_sign: | The enrollment_mode for the new domain. This can be `automatic_invitation`, `automatic_suggestion` or `manual_invitation` |
| `verified` | *OptionalNullable[bool]* | :heavy_minus_sign: | The status of domain's verification. Defaults to true |
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `name` | *Optional[str]* | :heavy_minus_sign: | The name of the new domain |
| `enrollment_mode` | *Optional[str]* | :heavy_minus_sign: | The enrollment_mode for the new domain. This can be `automatic_invitation`, `automatic_suggestion`, `manual_invitation` or `enterprise_sso` |
| `verified` | *OptionalNullable[bool]* | :heavy_minus_sign: | The status of domain's verification. Defaults to true |
3 changes: 2 additions & 1 deletion docs/models/enrollmentmode.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ value = EnrollmentMode.MANUAL_INVITATION
| ---------------------- | ---------------------- |
| `MANUAL_INVITATION` | manual_invitation |
| `AUTOMATIC_INVITATION` | automatic_invitation |
| `AUTOMATIC_SUGGESTION` | automatic_suggestion |
| `AUTOMATIC_SUGGESTION` | automatic_suggestion |
| `ENTERPRISE_SSO` | enterprise_sso |
12 changes: 6 additions & 6 deletions docs/models/errorclerkerror.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
| `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.ErrorMeta]](../models/errormeta.md) | :heavy_minus_sign: | N/A | {} |
| Field | Type | Required | Description | Example |
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
| `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` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | {} |
7 changes: 0 additions & 7 deletions docs/models/errormeta.md

This file was deleted.

Loading