Skip to content

Commit a701518

Browse files
authored
Merge pull request #142 from clerk/speakeasy-sdk-regen-1749494521
chore: 🐝 Update SDK - Generate 3.0.3
2 parents 5458db8 + fc5ab28 commit a701518

File tree

25 files changed

+282
-114
lines changed

25 files changed

+282
-114
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: bfe29c99-6e67-43fe-b928-64d6a5ed6aa8
33
management:
4-
docChecksum: 988da0b376f34c1dad41f86578b90dd5
4+
docChecksum: 3dfefff9a37b855f39ffa94246e8bc7b
55
docVersion: "2025-03-12"
6-
speakeasyVersion: 1.555.0
7-
generationVersion: 2.618.0
8-
releaseVersion: 3.0.2
9-
configChecksum: bac9e9ccd199045c7c1bdc55ea1c3795
6+
speakeasyVersion: 1.558.0
7+
generationVersion: 2.623.2
8+
releaseVersion: 3.0.3
9+
configChecksum: a1fc8a1a970474b0e9bd06b2727c69c6
1010
repoURL: https://github.com/clerk/clerk-sdk-python.git
1111
installationURL: https://github.com/clerk/clerk-sdk-python.git
1212
published: true
@@ -15,7 +15,7 @@ features:
1515
additionalDependencies: 1.0.0
1616
additionalProperties: 1.0.1
1717
constsAndDefaults: 1.0.5
18-
core: 5.19.1
18+
core: 5.19.2
1919
customCodeRegions: 0.1.1
2020
defaultEnabledRetries: 0.2.0
2121
deprecations: 3.0.2
@@ -1153,7 +1153,7 @@ examples:
11531153
path:
11541154
user_id: "usr_test123"
11551155
requestBody:
1156-
multipart/form-data: {"file": {"": "<value>"}}
1156+
multipart/form-data: {"file": "x-file: example.file"}
11571157
responses:
11581158
"200":
11591159
application/json: {"id": "user_id_123", "object": "user", "external_id": "external_user_id_123", "primary_email_address_id": "email_id_123", "primary_phone_number_id": "phone_id_123", "primary_web3_wallet_id": "wallet_id_123", "username": "john_doe", "first_name": "John", "last_name": "Doe", "image_url": "https://example.com/new-profile.jpg", "has_image": true, "public_metadata": {"role": "admin"}, "private_metadata": {"ssn": "123-45-6789"}, "unsafe_metadata": {"theme": "dark"}, "email_addresses": [{"id": "email_id_123", "object": "email_address", "email_address": "[email protected]", "reserved": false, "verification": {"status": "verified", "strategy": "ticket", "attempts": null, "expire_at": null, "verified_at_client": "<value>"}, "linked_to": [{"type": "oauth_google", "id": "link_12345"}], "matches_sso_connection": true, "created_at": 1609459200, "updated_at": 1609459200}], "phone_numbers": [{"id": "phone_id_123", "object": "phone_number", "phone_number": "+12345678901", "reserved_for_second_factor": false, "default_second_factor": true, "reserved": false, "verification": {"status": "verified", "strategy": "admin", "attempts": 2, "expire_at": 1622852400, "verified_at_client": "<value>"}, "linked_to": [{"type": "oauth_google", "id": "link_id_123"}], "backup_codes": ["code1", "code2", "code3"], "created_at": 1609459200, "updated_at": 1609459200}], "web3_wallets": [{"id": "wallet_id_123", "object": "web3_wallet", "web3_wallet": "0x123456789abcdef", "verification": {"status": "verified", "strategy": "web3_metamask_signature", "nonce": "nonce_value", "message": "<value>", "attempts": null, "expire_at": null, "verified_at_client": "<value>"}, "created_at": 1609459200, "updated_at": 1609459200}], "passkeys": [{"id": "passkey_id_123", "object": "passkey", "name": "My Passkey", "last_used_at": 1615852800, "verification": {"status": "verified", "strategy": "passkey", "nonce": "nonce", "message": null, "attempts": null, "expire_at": null, "verified_at_client": "<value>"}}], "password_enabled": true, "two_factor_enabled": true, "totp_enabled": true, "backup_code_enabled": true, "mfa_enabled_at": 1615852800, "mfa_disabled_at": null, "external_accounts": [{"object": "facebook_account", "id": "ext_account_id_123", "provider": "Facebook", "identification_id": "<id>", "provider_user_id": "<id>", "approved_scopes": "<value>", "email_address": "[email protected]", "first_name": "Jewel", "last_name": "Hackett", "image_url": "https://rare-iridescence.name", "username": "Hollis45", "public_metadata": {"key": "<value>"}, "label": "<value>", "created_at": 947362, "updated_at": 25796, "verification": {"status": "verified", "strategy": "oauth_google", "external_verification_redirect_url": "https://oauth.google.com/verify", "error": null, "expire_at": 1615462399, "attempts": 1, "verified_at_client": "<value>"}, "user_id": "user_id_at_provider"}], "saml_accounts": [{"id": "saml_account_id_123", "object": "saml_account", "provider": "SAML Provider", "active": true, "email_address": "[email protected]", "first_name": "John", "last_name": "Doe", "provider_user_id": "prov_user_id_123", "public_metadata": {"department": "IT"}, "verification": {"status": "verified", "strategy": "saml", "external_verification_redirect_url": "https://example.com/saml_callback", "error": null, "expire_at": 1622852400, "attempts": null, "verified_at_client": null}, "saml_connection": {"id": "sc_1234567890", "name": "My Company SAML Config", "domain": "mycompany.com", "active": true, "provider": "saml_custom", "sync_user_attributes": true, "allow_subdomains": false, "allow_idp_initiated": true, "disable_additional_identifications": false, "created_at": 1614768000, "updated_at": 1622540800}}], "last_sign_in_at": 1622852400, "banned": false, "locked": false, "lockout_expires_in_seconds": null, "verification_attempts_remaining": 5, "updated_at": 1622852400, "created_at": 1609459200, "delete_self_enabled": true, "create_organization_enabled": true, "create_organizations_limit": 830110, "last_active_at": 1700690400000, "legal_accepted_at": 1700690400000}
@@ -1782,7 +1782,7 @@ examples:
17821782
path:
17831783
organization_id: "org_12345"
17841784
requestBody:
1785-
multipart/form-data: {"uploader_user_id": "user_67890", "file": {"": "<value>"}}
1785+
multipart/form-data: {"uploader_user_id": "user_67890", "file": "path/to/your/logo.png"}
17861786
responses:
17871787
"200":
17881788
application/json: {"object": "organization", "id": "org_123", "name": "Acme Corp", "slug": "acme-corp", "members_count": 150, "missing_member_with_elevated_permissions": false, "pending_invitations_count": 968142, "max_allowed_memberships": 300, "admin_delete_enabled": true, "public_metadata": {"public_info": "Info visible to everyone"}, "private_metadata": {"internal_use_only": "Sensitive data"}, "created_by": "user_123456", "created_at": 1625078400, "updated_at": 1625164800, "image_url": "https://example.com/image_url.png", "has_image": true}

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ generation:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: false
1919
python:
20-
version: 3.0.2
20+
version: 3.0.3
2121
additionalDependencies:
2222
dev:
2323
pytest: ^8.3.3
@@ -27,6 +27,7 @@ python:
2727
author: Clerk
2828
authors:
2929
- Clerk
30+
baseErrorName: ClerkError
3031
clientServerStatusCodesAsErrors: true
3132
defaultErrorName: SDKError
3233
description: Python Client SDK for clerk.dev

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.555.0
1+
speakeasyVersion: 1.558.0
22
sources:
33
clerk-openapi:
44
sourceNamespace: clerk-openapi
5-
sourceRevisionDigest: sha256:4cbf4283ce2a07c1f31443166a6c78d5c4c022c39d86870460af75f6c7f1aa18
6-
sourceBlobDigest: sha256:a82c310fc15cfea1ba234d207461311ad01e41fba0c5b4acb306797703c6de31
5+
sourceRevisionDigest: sha256:3288eba09b33528d64d74299415d843a118513d034d93d468cbe9ec68ca2bb7e
6+
sourceBlobDigest: sha256:595a7d4c019d1d3c567ca7c4ceaffa57bb5306f217b12a75df160fb107e21e47
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1748970067
9+
- speakeasy-sdk-regen-1749494521
1010
- "2025-03-12"
1111
targets:
1212
clerk-sdk-python:
1313
source: clerk-openapi
1414
sourceNamespace: clerk-openapi
15-
sourceRevisionDigest: sha256:4cbf4283ce2a07c1f31443166a6c78d5c4c022c39d86870460af75f6c7f1aa18
16-
sourceBlobDigest: sha256:a82c310fc15cfea1ba234d207461311ad01e41fba0c5b4acb306797703c6de31
15+
sourceRevisionDigest: sha256:3288eba09b33528d64d74299415d843a118513d034d93d468cbe9ec68ca2bb7e
16+
sourceBlobDigest: sha256:595a7d4c019d1d3c567ca7c4ceaffa57bb5306f217b12a75df160fb107e21e47
1717
codeSamplesNamespace: clerk-openapi-python-code-samples
18-
codeSamplesRevisionDigest: sha256:20e4f2303a68edd90192b676c7354339b7a18b5dfd52f2ed366fafa27b47ad73
18+
codeSamplesRevisionDigest: sha256:32d52dd50c58576c0c38393f9db2ce25e4027e95a5e8ea017aa0a49346721cb6
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest
@@ -25,6 +25,7 @@ workflow:
2525
- location: https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/bapi/2025-03-12.yml
2626
overlays:
2727
- location: ./examples.yaml
28+
- location: ./fixes.yaml
2829
- location: https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/.speakeasy/bapi/fixes.yml
2930
registry:
3031
location: registry.speakeasyapi.dev/clerk/clerk/clerk-openapi

β€ŽREADME.mdβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,6 @@ with Clerk(
465465
res = clerk.users.set_profile_image(user_id="usr_test123", file={
466466
"file_name": "example.file",
467467
"content": open("example.file", "rb"),
468-
"content_type": "<value>",
469468
})
470469

471470
assert res is not None

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,4 +338,14 @@ Based on:
338338
### Generated
339339
- [python v3.0.2] .
340340
### Releases
341-
- [PyPI v3.0.2] https://pypi.org/project/clerk-backend-api/3.0.2 - .
341+
- [PyPI v3.0.2] https://pypi.org/project/clerk-backend-api/3.0.2 - .
342+
343+
## 2025-06-09 18:41:45
344+
### Changes
345+
Based on:
346+
- OpenAPI Doc
347+
- Speakeasy CLI 1.558.0 (2.623.2) https://github.com/speakeasy-api/speakeasy
348+
### Generated
349+
- [python v3.0.3] .
350+
### Releases
351+
- [PyPI v3.0.3] https://pypi.org/project/clerk-backend-api/3.0.3 - .

β€Ždocs/sdks/actortokens/README.mdβ€Ž

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ with Clerk(
2828
user_id="user_1a2b3c",
2929
actor=clerk_backend_api.CreateActorTokenActor(
3030
sub="user_2OEpKhcCN1Lat9NQ0G6puh7q5Rb",
31-
**{
32-
"sub": "user_2OEpKhcCN1Lat9NQ0G6puh7q5Rb",
33-
},
3431
),
3532
))
3633

β€Ždocs/sdks/allowlistidentifiers/README.mdβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ with Clerk(
2323
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
2424
) as clerk:
2525

26-
res = clerk.allowlist_identifiers.list(paginated=False)
26+
res = clerk.allowlist_identifiers.list(paginated=False, limit=20, offset=10)
2727

2828
assert res is not None
2929

@@ -68,6 +68,7 @@ with Clerk(
6868

6969
res = clerk.allowlist_identifiers.create(request={
7070
"identifier": "[email protected]",
71+
"notify": True,
7172
})
7273

7374
assert res is not None

β€Ždocs/sdks/clients/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ with Clerk(
2727
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
2828
) as clerk:
2929

30-
res = clerk.clients.list(paginated=False)
30+
res = clerk.clients.list(paginated=False, limit=20, offset=10)
3131

3232
assert res is not None
3333

β€Ždocs/sdks/emailsmstemplates/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ with Clerk(
2828
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
2929
) as clerk:
3030

31-
res = clerk.email_sms_templates.list(template_type=clerk_backend_api.TemplateType.EMAIL, paginated=True)
31+
res = clerk.email_sms_templates.list(template_type=clerk_backend_api.TemplateType.EMAIL, paginated=True, limit=20, offset=10)
3232

3333
assert res is not None
3434

β€Ždocs/sdks/invitations/README.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ with Clerk(
7777
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
7878
) as clerk:
7979

80-
res = clerk.invitations.list(status=clerk_backend_api.ListInvitationsQueryParamStatus.ACCEPTED, query="<value>", order_by="pending", paginated=False)
80+
res = clerk.invitations.list(status=clerk_backend_api.ListInvitationsQueryParamStatus.ACCEPTED, query="<value>", order_by="pending", paginated=False, limit=20, offset=10)
8181

8282
assert res is not None
8383

0 commit comments

Comments
Β (0)