Skip to content

Commit fdfa31d

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.523.2
1 parent 65ff2d7 commit fdfa31d

File tree

253 files changed

+7162
-4810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

253 files changed

+7162
-4810
lines changed

.speakeasy/gen.lock

Lines changed: 199 additions & 68 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: false
1717
python:
18-
version: 1.8.0
18+
version: 2.0.0
1919
additionalDependencies:
2020
dev:
2121
pytest: ^8.3.3

.speakeasy/workflow.lock

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.495.1
1+
speakeasyVersion: 1.523.2
22
sources:
33
clerk-openapi:
44
sourceNamespace: clerk-openapi
5-
sourceRevisionDigest: sha256:d4b68e7b261c9fd23c346291e7ca8c925d1c834140e3f0a1807a11ef7f3d41bb
6-
sourceBlobDigest: sha256:d384523908f855f5394f6242512679e5215cfdaf50bc8a7053f15a46cc565a61
5+
sourceRevisionDigest: sha256:1e833d4b39ece914e72e2db4f63063ec291182a9a38860a8b5d70f66dfdd5e52
6+
sourceBlobDigest: sha256:b863188e12b0b6dab1cc8ecc840c0510a837b3f7003d785305589f26c59f836a
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1739751656
10-
- v1
9+
- speakeasy-sdk-regen-1741709715
10+
- "2024-10-01"
1111
targets:
1212
clerk-sdk-python:
1313
source: clerk-openapi
1414
sourceNamespace: clerk-openapi
15-
sourceRevisionDigest: sha256:d4b68e7b261c9fd23c346291e7ca8c925d1c834140e3f0a1807a11ef7f3d41bb
16-
sourceBlobDigest: sha256:d384523908f855f5394f6242512679e5215cfdaf50bc8a7053f15a46cc565a61
15+
sourceRevisionDigest: sha256:1e833d4b39ece914e72e2db4f63063ec291182a9a38860a8b5d70f66dfdd5e52
16+
sourceBlobDigest: sha256:b863188e12b0b6dab1cc8ecc840c0510a837b3f7003d785305589f26c59f836a
1717
codeSamplesNamespace: clerk-openapi-python-code-samples
18-
codeSamplesRevisionDigest: sha256:366daf506ce8c8a843d3a1fb9b5a300d0afec1dac988ef6aa32b312f43e49f0e
18+
codeSamplesRevisionDigest: sha256:8ebb2edf443c28120a7ef7502b82e78c6673989cef343fde0ab3764d88fb1bf6
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest
@@ -24,9 +24,8 @@ workflow:
2424
inputs:
2525
- location: https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/bapi/2024-10-01.yml
2626
overlays:
27-
- location: ./fixes.yaml
2827
- location: ./examples.yaml
29-
- location: .speakeasy/speakeasy-suggestions.yaml
28+
- location: https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/.speakeasy/bapi/fixes.yml
3029
registry:
3130
location: registry.speakeasyapi.dev/clerk/clerk/clerk-openapi
3231
targets:

.speakeasy/workflow.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ sources:
44
clerk-openapi:
55
inputs:
66
- location: https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/bapi/2024-10-01.yml
7-
registry:
8-
location: registry.speakeasyapi.dev/clerk/clerk/clerk-openapi
97
overlays:
108
- location: ./examples.yaml
119
- location: https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/.speakeasy/bapi/fixes.yml
12-
10+
registry:
11+
location: registry.speakeasyapi.dev/clerk/clerk/clerk-openapi
1312
targets:
1413
clerk-sdk-python:
1514
target: python

README.md

Lines changed: 45 additions & 58 deletions
Large diffs are not rendered by default.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,4 +258,14 @@ Based on:
258258
### Generated
259259
- [python v1.8.0] .
260260
### Releases
261-
- [PyPI v1.8.0] https://pypi.org/project/clerk-backend-api/1.8.0 - .
261+
- [PyPI v1.8.0] https://pypi.org/project/clerk-backend-api/1.8.0 - .
262+
263+
## 2025-03-26 00:20:15
264+
### Changes
265+
Based on:
266+
- OpenAPI Doc
267+
- Speakeasy CLI 1.523.2 (2.560.1) https://github.com/speakeasy-api/speakeasy
268+
### Generated
269+
- [python v2.0.0] .
270+
### Releases
271+
- [PyPI v2.0.0] https://pypi.org/project/clerk-backend-api/2.0.0 - .

USAGE.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,12 @@
33
# Synchronous Example
44
from clerk_backend_api import Clerk
55

6-
with Clerk(
7-
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
8-
) as clerk:
96

10-
res = clerk.email_addresses.get(email_address_id="email_address_id_example")
7+
with Clerk() as clerk:
118

12-
assert res is not None
9+
clerk.miscellaneous.get_public_interstitial(frontend_api_query_parameter="frontend-api_1a2b3c4d", frontend_api_query_parameter1="pub_1a2b3c4d", publishable_key="pub_1a2b3c4d", proxy_url="https://mean-orchid.com/", domain="plump-reach.com", sign_in_url="https://delicious-costume.org/", use_domain_for_script=True)
1310

14-
# Handle response
15-
print(res)
11+
# Use the SDK ...
1612
```
1713

1814
</br>
@@ -24,16 +20,12 @@ import asyncio
2420
from clerk_backend_api import Clerk
2521

2622
async def main():
27-
async with Clerk(
28-
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
29-
) as clerk:
3023

31-
res = await clerk.email_addresses.get_async(email_address_id="email_address_id_example")
24+
async with Clerk() as clerk:
3225

33-
assert res is not None
26+
await clerk.miscellaneous.get_public_interstitial_async(frontend_api_query_parameter="frontend-api_1a2b3c4d", frontend_api_query_parameter1="pub_1a2b3c4d", publishable_key="pub_1a2b3c4d", proxy_url="https://mean-orchid.com/", domain="plump-reach.com", sign_in_url="https://delicious-costume.org/", use_domain_for_script=True)
3427

35-
# Handle response
36-
print(res)
28+
# Use the SDK ...
3729

3830
asyncio.run(main())
3931
```

docs/models/actortoken.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ Success
1414
| `actor` | [models.ActorTokenActor](../models/actortokenactor.md) | :heavy_check_mark: | N/A | {<br/>"sub": "user_2OEpKhcCN1Lat9NQ0G6puh7q5Rb"<br/>} |
1515
| `created_at` | *int* | :heavy_check_mark: | Unix timestamp of creation.<br/> | 1609459200 |
1616
| `updated_at` | *int* | :heavy_check_mark: | Unix timestamp of last update.<br/> | 1612137600 |
17-
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | token_string |
18-
| `url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | https://example.com/token |
17+
| `token` | *Optional[str]* | :heavy_minus_sign: | N/A | token_string |
18+
| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | https://example.com/token |

docs/models/adddomainrequestbody.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
88
| `name` | *str* | :heavy_check_mark: | The new domain name. Can contain the port for development instances. | example.com |
99
| `is_satellite` | *bool* | :heavy_check_mark: | Marks the new domain as satellite. Only `true` is accepted at the moment. | true |
10-
| `proxy_url` | *Optional[str]* | :heavy_minus_sign: | The full URL of the proxy which will forward requests to the Clerk Frontend API for this domain. Applicable only to production instances. | https://proxy.example.com |
10+
| `proxy_url` | *OptionalNullable[str]* | :heavy_minus_sign: | The full URL of the proxy which will forward requests to the Clerk Frontend API for this domain. Applicable only to production instances. | https://proxy.example.com |

docs/models/attributemapping.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# AttributeMapping
22

3+
Define the attribute name mapping between Identity Provider and Clerk's user properties
4+
35

46
## Fields
57

6-
| Field | Type | Required | Description |
7-
| ------------------ | ------------------ | ------------------ | ------------------ |
8-
| `user_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
9-
| `email_address` | *Optional[str]* | :heavy_minus_sign: | N/A |
10-
| `first_name` | *Optional[str]* | :heavy_minus_sign: | N/A |
11-
| `last_name` | *Optional[str]* | :heavy_minus_sign: | N/A |
8+
| Field | Type | Required | Description | Example |
9+
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
10+
| `user_id` | *Optional[str]* | :heavy_minus_sign: | N/A | nameid |
11+
| `email_address` | *Optional[str]* | :heavy_minus_sign: | N/A | mail |
12+
| `first_name` | *Optional[str]* | :heavy_minus_sign: | N/A | givenName |
13+
| `last_name` | *Optional[str]* | :heavy_minus_sign: | N/A | surname |

0 commit comments

Comments
 (0)