Skip to content

Commit 194fffd

Browse files
authored
Merge pull request #2 from clerk/speakeasy-sdk-regen-1720732387
chore: 🐝 Update SDK - Generate
2 parents 4616959 + 981340c commit 194fffd

File tree

233 files changed

+31353
-358
lines changed

Some content is hidden

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

233 files changed

+31353
-358
lines changed

.speakeasy/gen.lock

Lines changed: 200 additions & 200 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
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: true
1414
python:
15-
version: 0.5.0-alpha.6
15+
version: 0.5.0-alpha.7
1616
additionalDependencies:
1717
dev: {}
1818
main: {}

.speakeasy/workflow.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ speakeasyVersion: 1.331.2
22
sources:
33
clerk-openapi:
44
sourceNamespace: clerk-openapi
5-
sourceRevisionDigest: sha256:4ce22a0cdb7433f376f0842a2dda1143fc61c2da241b5903d6239a44fc978fec
6-
sourceBlobDigest: sha256:c715e59591e54f9e2beca3ed567d1a12edc3f20580cac065511ce19c4423e3aa
5+
sourceRevisionDigest: sha256:83887503bf502c2b1e816b079beba5218998adb827d73f2ac6de809e14f4389b
6+
sourceBlobDigest: sha256:0181726a4ca9a31eae12e6bdd2d42c0aeca0e25a76d8e9c82b57a829b69dff68
77
tags:
88
- latest
99
- main
1010
targets:
1111
clerk-sdk-python:
1212
source: clerk-openapi
1313
sourceNamespace: clerk-openapi
14-
sourceRevisionDigest: sha256:4ce22a0cdb7433f376f0842a2dda1143fc61c2da241b5903d6239a44fc978fec
15-
sourceBlobDigest: sha256:c715e59591e54f9e2beca3ed567d1a12edc3f20580cac065511ce19c4423e3aa
14+
sourceRevisionDigest: sha256:83887503bf502c2b1e816b079beba5218998adb827d73f2ac6de809e14f4389b
15+
sourceBlobDigest: sha256:0181726a4ca9a31eae12e6bdd2d42c0aeca0e25a76d8e9c82b57a829b69dff68
1616
outLocation: .
1717
workflow:
1818
workflowVersion: 1.0.0

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ The Clerk Python library provides convenient access to the Clerk REST API from a
1313

1414
PIP
1515
```bash
16-
pip install clerk
16+
pip install clerk-backend-api
1717
```
1818

1919
Poetry
2020
```bash
21-
poetry add clerk
21+
poetry add clerk-backend-api
2222
```
2323
<!-- End SDK Installation [installation] -->
2424

@@ -29,7 +29,7 @@ poetry add clerk
2929

3030
```python
3131
# Synchronous Example
32-
from clerk import Clerk
32+
from clerk_backend_api import Clerk
3333
import os
3434

3535
s = Clerk(
@@ -50,7 +50,7 @@ The same SDK client can also be used to make asychronous requests by importing a
5050
```python
5151
# Asynchronous Example
5252
import asyncio
53-
from clerk import Clerk
53+
from clerk_backend_api import Clerk
5454
import os
5555

5656
async def main():
@@ -270,7 +270,7 @@ return value of `Next` is `None`, then there are no more pages to be fetched.
270270

271271
Here's an example of one such pagination call:
272272
```python
273-
from clerk import Clerk
273+
from clerk_backend_api import Clerk
274274
import os
275275

276276
s = Clerk(
@@ -303,7 +303,7 @@ Certain SDK methods accept file objects as part of a request body or multi-part
303303
>
304304
305305
```python
306-
from clerk import Clerk
306+
from clerk_backend_api import Clerk
307307
import os
308308

309309
s = Clerk(
@@ -331,8 +331,8 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
331331

332332
To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
333333
```python
334-
from clerk import Clerk
335334
from clerk.utils import BackoffStrategy, RetryConfig
335+
from clerk_backend_api import Clerk
336336

337337
s = Clerk()
338338

@@ -346,8 +346,8 @@ s.misc.get_public_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable
346346

347347
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
348348
```python
349-
from clerk import Clerk
350349
from clerk.utils import BackoffStrategy, RetryConfig
350+
from clerk_backend_api import Clerk
351351

352352
s = Clerk(
353353
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
@@ -374,7 +374,7 @@ Handling errors in this SDK should largely match your expectations. All operati
374374
### Example
375375

376376
```python
377-
from clerk import Clerk, models
377+
from clerk_backend_api import Clerk, models
378378
import os
379379

380380
s = Clerk(
@@ -418,7 +418,7 @@ You can override the default server globally by passing a server index to the `s
418418
#### Example
419419

420420
```python
421-
from clerk import Clerk
421+
from clerk_backend_api import Clerk
422422

423423
s = Clerk(
424424
server_idx=0,
@@ -436,7 +436,7 @@ s.misc.get_public_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable
436436

437437
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
438438
```python
439-
from clerk import Clerk
439+
from clerk_backend_api import Clerk
440440

441441
s = Clerk(
442442
server_url="https://api.clerk.com/v1",
@@ -459,7 +459,7 @@ This allows you to wrap the client with your own custom logic, such as adding cu
459459

460460
For example, you could specify a header for every request that this sdk makes as follows:
461461
```python
462-
from clerk import Clerk
462+
from clerk_backend_api import Clerk
463463
import httpx
464464

465465
http_client = httpx.Client(headers={"x-custom-header": "someValue"})
@@ -468,8 +468,8 @@ s = Clerk(client=http_client)
468468

469469
or you could wrap the client with your own custom logic:
470470
```python
471-
from clerk import Clerk
472-
from clerk.httpclient import AsyncHttpClient
471+
from clerk_backend_api import Clerk
472+
from clerk_backend_api.httpclient import AsyncHttpClient
473473
import httpx
474474

475475
class CustomClient(AsyncHttpClient):
@@ -544,7 +544,7 @@ This SDK supports the following security scheme globally:
544544

545545
To authenticate with the API the `bearer_auth` parameter must be set when initializing the SDK client instance. For example:
546546
```python
547-
from clerk import Clerk
547+
from clerk_backend_api import Clerk
548548
import os
549549

550550
s = Clerk(

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,14 @@ Based on:
88
### Generated
99
- [python v0.5.0-alpha.6] .
1010
### Releases
11-
- [PyPI v0.5.0-alpha.6] https://pypi.org/project/clerk/0.5.0-alpha.6 - .
11+
- [PyPI v0.5.0-alpha.6] https://pypi.org/project/clerk/0.5.0-alpha.6 - .
12+
13+
## 2024-07-11 21:13:04
14+
### Changes
15+
Based on:
16+
- OpenAPI Doc
17+
- Speakeasy CLI 1.331.2 (2.366.1) https://github.com/speakeasy-api/speakeasy
18+
### Generated
19+
- [python v0.5.0-alpha.7] .
20+
### Releases
21+
- [PyPI v0.5.0-alpha.7] https://pypi.org/project/clerk-backend-api/0.5.0-alpha.7 - .

USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- Start SDK Example Usage [usage] -->
22
```python
33
# Synchronous Example
4-
from clerk import Clerk
4+
from clerk_backend_api import Clerk
55
import os
66

77
s = Clerk(
@@ -22,7 +22,7 @@ The same SDK client can also be used to make asychronous requests by importing a
2222
```python
2323
# Asynchronous Example
2424
import asyncio
25-
from clerk import Clerk
25+
from clerk_backend_api import Clerk
2626
import os
2727

2828
async def main():

docs/sdks/actortokens/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `actor` parameter needs to include at least a "sub" key whose value is the I
1414
### Example Usage
1515

1616
```python
17-
from clerk import Clerk
17+
from clerk_backend_api import Clerk
1818
import os
1919

2020
s = Clerk(
@@ -60,7 +60,7 @@ Revokes a pending actor token.
6060
### Example Usage
6161

6262
```python
63-
from clerk import Clerk
63+
from clerk_backend_api import Clerk
6464
import os
6565

6666
s = Clerk(

docs/sdks/allowlistidentifiers/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Get a list of all identifiers allowed to sign up to an instance
1414
### Example Usage
1515

1616
```python
17-
from clerk import Clerk
17+
from clerk_backend_api import Clerk
1818
import os
1919

2020
s = Clerk(
@@ -54,7 +54,7 @@ Create an identifier allowed to sign up to an instance
5454
### Example Usage
5555

5656
```python
57-
from clerk import Clerk
57+
from clerk_backend_api import Clerk
5858
import os
5959

6060
s = Clerk(
@@ -96,7 +96,7 @@ Delete an identifier from the instance allow-list
9696
### Example Usage
9797

9898
```python
99-
from clerk import Clerk
99+
from clerk_backend_api import Clerk
100100
import os
101101

102102
s = Clerk(

docs/sdks/betafeatures/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Updates the settings of an instance
1414
### Example Usage
1515

1616
```python
17-
from clerk import Clerk
17+
from clerk_backend_api import Clerk
1818
import os
1919

2020
s = Clerk(
@@ -66,7 +66,7 @@ WARNING: Changing your domain will invalidate all current user sessions (i.e. us
6666
### Example Usage
6767

6868
```python
69-
from clerk import Clerk
69+
from clerk_backend_api import Clerk
7070
import os
7171

7272
s = Clerk(
@@ -105,7 +105,7 @@ WARNING: Changing your domain will invalidate all current user sessions (i.e. us
105105
### Example Usage
106106

107107
```python
108-
from clerk import Clerk
108+
from clerk_backend_api import Clerk
109109
import os
110110

111111
s = Clerk(

docs/sdks/blocklistidentifierssdk/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Get a list of all identifiers which are not allowed to access an instance
1414
### Example Usage
1515

1616
```python
17-
from clerk import Clerk
17+
from clerk_backend_api import Clerk
1818
import os
1919

2020
s = Clerk(
@@ -54,7 +54,7 @@ Create an identifier that is blocked from accessing an instance
5454
### Example Usage
5555

5656
```python
57-
from clerk import Clerk
57+
from clerk_backend_api import Clerk
5858
import os
5959

6060
s = Clerk(
@@ -95,7 +95,7 @@ Delete an identifier from the instance block-list
9595
### Example Usage
9696

9797
```python
98-
from clerk import Clerk
98+
from clerk_backend_api import Clerk
9999
import os
100100

101101
s = Clerk(

0 commit comments

Comments
 (0)