Skip to content

Commit cfdabc0

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.538.0
1 parent dc6f1ac commit cfdabc0

Some content is hidden

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

63 files changed

+544
-572
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.speakeasy/temp/
12
.speakeasy/reports
23
README-PYPI.md
34
.venv/

.speakeasy/gen.lock

Lines changed: 152 additions & 196 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: 2.0.2
18+
version: 2.1.0
1919
additionalDependencies:
2020
dev:
2121
pytest: ^8.3.3

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.528.1
1+
speakeasyVersion: 1.538.0
22
sources:
33
clerk-openapi:
44
sourceNamespace: clerk-openapi
5-
sourceRevisionDigest: sha256:bcb46367e22f173faae6063b46646b8ec370811b1c7fee20c505800552a13cfc
6-
sourceBlobDigest: sha256:bdb0513d5af178caa1ad7b99d0efd1c795975e712a5c4695cadc8d27cfcace05
5+
sourceRevisionDigest: sha256:b04b66d6cf242e4b34536e792b8cf9fe2241bf8c772d48a5c332cfbd2450cf30
6+
sourceBlobDigest: sha256:d64d439a324819076eb2941bddebe10c544f5d276cd95788970d49c8f643bcf1
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1743708685
9+
- speakeasy-sdk-regen-1744935656
1010
- "2024-10-01"
1111
targets:
1212
clerk-sdk-python:
1313
source: clerk-openapi
1414
sourceNamespace: clerk-openapi
15-
sourceRevisionDigest: sha256:bcb46367e22f173faae6063b46646b8ec370811b1c7fee20c505800552a13cfc
16-
sourceBlobDigest: sha256:bdb0513d5af178caa1ad7b99d0efd1c795975e712a5c4695cadc8d27cfcace05
15+
sourceRevisionDigest: sha256:b04b66d6cf242e4b34536e792b8cf9fe2241bf8c772d48a5c332cfbd2450cf30
16+
sourceBlobDigest: sha256:d64d439a324819076eb2941bddebe10c544f5d276cd95788970d49c8f643bcf1
1717
codeSamplesNamespace: clerk-openapi-python-code-samples
18-
codeSamplesRevisionDigest: sha256:008b9e0938b911c8e0a4e1676fc1593d5e7971342ba3d67facfe2d836edb7195
18+
codeSamplesRevisionDigest: sha256:a6ccce03d1269d00b8a84a67846957c34a5a8866d80d7b99acd34b1c29b2f4c9
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,16 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
129129
from clerk_backend_api import Clerk
130130

131131

132-
with Clerk() as clerk:
132+
with Clerk(
133+
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
134+
) as clerk:
133135

134-
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)
136+
res = clerk.email_addresses.get(email_address_id="email_address_id_example")
135137

136-
# Use the SDK ...
138+
assert res is not None
139+
140+
# Handle response
141+
print(res)
137142
```
138143

139144
</br>
@@ -146,11 +151,16 @@ from clerk_backend_api import Clerk
146151

147152
async def main():
148153

149-
async with Clerk() as clerk:
154+
async with Clerk(
155+
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
156+
) as clerk:
157+
158+
res = await clerk.email_addresses.get_async(email_address_id="email_address_id_example")
150159

151-
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)
160+
assert res is not None
152161

153-
# Use the SDK ...
162+
# Handle response
163+
print(res)
154164

155165
asyncio.run(main())
156166
```
@@ -176,7 +186,7 @@ with Clerk(
176186
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
177187
) as clerk:
178188

179-
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)
189+
clerk.miscellaneous.get_public_interstitial(frontend_api_query_parameter="frontend-api_1a2b3c4d", frontend_api_query_parameter1="pub_1a2b3c4d", publishable_key="<value>", proxy_url="https://mean-orchid.com/", domain="plump-reach.com", sign_in_url="https://delicious-costume.org/", use_domain_for_script=True)
180190

181191
# Use the SDK ...
182192

@@ -489,7 +499,7 @@ from clerk_backend_api.utils import BackoffStrategy, RetryConfig
489499

490500
with Clerk() as clerk:
491501

492-
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,
502+
clerk.miscellaneous.get_public_interstitial(frontend_api_query_parameter="frontend-api_1a2b3c4d", frontend_api_query_parameter1="pub_1a2b3c4d", publishable_key="<value>", proxy_url="https://mean-orchid.com/", domain="plump-reach.com", sign_in_url="https://delicious-costume.org/", use_domain_for_script=True,
493503
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
494504

495505
# Use the SDK ...
@@ -506,7 +516,7 @@ with Clerk(
506516
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
507517
) as clerk:
508518

509-
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)
519+
clerk.miscellaneous.get_public_interstitial(frontend_api_query_parameter="frontend-api_1a2b3c4d", frontend_api_query_parameter1="pub_1a2b3c4d", publishable_key="<value>", proxy_url="https://mean-orchid.com/", domain="plump-reach.com", sign_in_url="https://delicious-costume.org/", use_domain_for_script=True)
510520

511521
# Use the SDK ...
512522

@@ -578,7 +588,7 @@ with Clerk(
578588
server_url="https://api.clerk.com/v1",
579589
) as clerk:
580590

581-
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)
591+
clerk.miscellaneous.get_public_interstitial(frontend_api_query_parameter="frontend-api_1a2b3c4d", frontend_api_query_parameter1="pub_1a2b3c4d", publishable_key="<value>", proxy_url="https://mean-orchid.com/", domain="plump-reach.com", sign_in_url="https://delicious-costume.org/", use_domain_for_script=True)
582592

583593
# Use the SDK ...
584594

@@ -677,14 +687,18 @@ The `Clerk` class implements the context manager protocol and registers a finali
677687
from clerk_backend_api import Clerk
678688
def main():
679689

680-
with Clerk() as clerk:
690+
with Clerk(
691+
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
692+
) as clerk:
681693
# Rest of application here...
682694

683695

684696
# Or when using async:
685697
async def amain():
686698

687-
async with Clerk() as clerk:
699+
async with Clerk(
700+
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
701+
) as clerk:
688702
# Rest of application here...
689703
```
690704
<!-- End Resource Management [resource-management] -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,14 @@ Based on:
288288
### Generated
289289
- [python v2.0.2] .
290290
### Releases
291-
- [PyPI v2.0.2] https://pypi.org/project/clerk-backend-api/2.0.2 - .
291+
- [PyPI v2.0.2] https://pypi.org/project/clerk-backend-api/2.0.2 - .
292+
293+
## 2025-04-24 00:21:02
294+
### Changes
295+
Based on:
296+
- OpenAPI Doc
297+
- Speakeasy CLI 1.538.0 (2.591.1) https://github.com/speakeasy-api/speakeasy
298+
### Generated
299+
- [python v2.1.0] .
300+
### Releases
301+
- [PyPI v2.1.0] https://pypi.org/project/clerk-backend-api/2.1.0 - .

USAGE.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44
from clerk_backend_api import Clerk
55

66

7-
with Clerk() as clerk:
7+
with Clerk(
8+
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
9+
) as clerk:
810

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)
11+
res = clerk.email_addresses.get(email_address_id="email_address_id_example")
1012

11-
# Use the SDK ...
13+
assert res is not None
14+
15+
# Handle response
16+
print(res)
1217
```
1318

1419
</br>
@@ -21,11 +26,16 @@ from clerk_backend_api import Clerk
2126

2227
async def main():
2328

24-
async with Clerk() as clerk:
29+
async with Clerk(
30+
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
31+
) as clerk:
32+
33+
res = await clerk.email_addresses.get_async(email_address_id="email_address_id_example")
2534

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)
35+
assert res is not None
2736

28-
# Use the SDK ...
37+
# Handle response
38+
print(res)
2939

3040
asyncio.run(main())
3141
```

docs/models/actortoken.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Success
1212
| `status` | [models.ActorTokenStatus](../models/actortokenstatus.md) | :heavy_check_mark: | N/A | pending |
1313
| `user_id` | *str* | :heavy_check_mark: | N/A | user_1a2b3c |
1414
| `actor` | [models.ActorTokenActor](../models/actortokenactor.md) | :heavy_check_mark: | N/A | {<br/>"sub": "user_2OEpKhcCN1Lat9NQ0G6puh7q5Rb"<br/>} |
15-
| `created_at` | *int* | :heavy_check_mark: | Unix timestamp of creation.<br/> | 1609459200 |
16-
| `updated_at` | *int* | :heavy_check_mark: | Unix timestamp of last update.<br/> | 1612137600 |
1715
| `token` | *Optional[str]* | :heavy_minus_sign: | N/A | token_string |
18-
| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | https://example.com/token |
16+
| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | https://example.com/token |
17+
| `created_at` | *int* | :heavy_check_mark: | Unix timestamp of creation.<br/> | 1609459200 |
18+
| `updated_at` | *int* | :heavy_check_mark: | Unix timestamp of last update.<br/> | 1612137600 |

0 commit comments

Comments
 (0)