Skip to content

Commit

Permalink
Merge pull request #35 from clerk/speakeasy-sdk-regen-1729352240
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 1.0.2
  • Loading branch information
speakeasybot authored Oct 19, 2024
2 parents 0d2f084 + a6c5d4e commit 229b6cf
Show file tree
Hide file tree
Showing 13 changed files with 46 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: bfe29c99-6e67-43fe-b928-64d6a5ed6aa8
management:
docChecksum: 13a24fca7e232a3f889cb2e130c9611f
docChecksum: 2a5c561867d8cfa9de04210e3a0c4fe6
docVersion: v1
speakeasyVersion: 1.385.0
generationVersion: 2.407.2
releaseVersion: 1.0.1
configChecksum: 38d1ac3ddb3a03f7345218a299ec5108
releaseVersion: 1.0.2
configChecksum: e439e500388e12d912bf39091450b718
repoURL: https://github.com/clerk/clerk-sdk-python.git
installationURL: https://github.com/clerk/clerk-sdk-python.git
published: true
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
python:
version: 1.0.1
version: 1.0.2
additionalDependencies:
dev:
pytest: ^8.3.3
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ speakeasyVersion: 1.385.0
sources:
clerk-openapi:
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:b16e2cf72b6dd0a7ae4e7b5cebbab767f7e1f2a974b2091830e9ac7e1d97d60d
sourceBlobDigest: sha256:5973f4930511cc94f06052b98484a93dc07822f035843d1e5ea2a8f40188e68d
sourceRevisionDigest: sha256:34d14479e5c95bf05e8f6c50afaa7738344df8a7560c39cdc09c046ede6d303f
sourceBlobDigest: sha256:2364357bff0df9a902231bb134d31e034e4287c2bee244a0ae06d9cfc6c0980d
tags:
- latest
- main
targets:
clerk-sdk-python:
source: clerk-openapi
sourceNamespace: clerk-openapi
sourceRevisionDigest: sha256:b16e2cf72b6dd0a7ae4e7b5cebbab767f7e1f2a974b2091830e9ac7e1d97d60d
sourceBlobDigest: sha256:5973f4930511cc94f06052b98484a93dc07822f035843d1e5ea2a8f40188e68d
sourceRevisionDigest: sha256:34d14479e5c95bf05e8f6c50afaa7738344df8a7560c39cdc09c046ede6d303f
sourceBlobDigest: sha256:2364357bff0df9a902231bb134d31e034e4287c2bee244a0ae06d9cfc6c0980d
outLocation: .
workflow:
workflowVersion: 1.0.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,14 @@ Based on:
### Generated
- [python v1.0.1] .
### Releases
- [PyPI v1.0.1] https://pypi.org/project/clerk-backend-api/1.0.1 - .
- [PyPI v1.0.1] https://pypi.org/project/clerk-backend-api/1.0.1 - .

## 2024-10-19 15:37:17
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.385.0 (2.407.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.0.2] .
### Releases
- [PyPI v1.0.2] https://pypi.org/project/clerk-backend-api/1.0.2 - .
4 changes: 3 additions & 1 deletion docs/models/oauthverificationstrategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@
| `OAUTH_MOCK` | oauth_mock |
| `FROM_OAUTH_GOOGLE` | from_oauth_google |
| `FROM_OAUTH_DISCORD` | from_oauth_discord |
| `OAUTH_APPLE` | oauth_apple |
| `OAUTH_APPLE` | oauth_apple |
| `OAUTH_MICROSOFT` | oauth_microsoft |
| `EMAIL_LINK` | email_link |
4 changes: 3 additions & 1 deletion docs/models/otpverificationstrategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
| --------------------------- | --------------------------- |
| `PHONE_CODE` | phone_code |
| `EMAIL_CODE` | email_code |
| `EMAIL_LINK` | email_link |
| `RESET_PASSWORD_EMAIL_CODE` | reset_password_email_code |
| `FROM_OAUTH_DISCORD` | from_oauth_discord |
| `FROM_OAUTH_GOOGLE` | from_oauth_google |
| `FROM_OAUTH_APPLE` | from_oauth_apple |
| `FROM_OAUTH_APPLE` | from_oauth_apple |
| `FROM_OAUTH_MICROSOFT` | from_oauth_microsoft |
4 changes: 3 additions & 1 deletion docs/models/strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
| --------------------------- | --------------------------- |
| `PHONE_CODE` | phone_code |
| `EMAIL_CODE` | email_code |
| `EMAIL_LINK` | email_link |
| `RESET_PASSWORD_EMAIL_CODE` | reset_password_email_code |
| `FROM_OAUTH_DISCORD` | from_oauth_discord |
| `FROM_OAUTH_GOOGLE` | from_oauth_google |
| `FROM_OAUTH_APPLE` | from_oauth_apple |
| `FROM_OAUTH_APPLE` | from_oauth_apple |
| `FROM_OAUTH_MICROSOFT` | from_oauth_microsoft |
15 changes: 8 additions & 7 deletions docs/models/type.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@

## Values

| Name | Value |
| --------------- | --------------- |
| `OAUTH_GOOGLE` | oauth_google |
| `OAUTH_MOCK` | oauth_mock |
| `SAML` | saml |
| `OAUTH_APPLE` | oauth_apple |
| `OAUTH_DISCORD` | oauth_discord |
| Name | Value |
| ----------------- | ----------------- |
| `OAUTH_GOOGLE` | oauth_google |
| `OAUTH_MOCK` | oauth_mock |
| `SAML` | saml |
| `OAUTH_APPLE` | oauth_apple |
| `OAUTH_DISCORD` | oauth_discord |
| `OAUTH_MICROSOFT` | oauth_microsoft |
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "clerk-backend-api"
version = "1.0.1"
version = "1.0.2"
description = "Python Client SDK for clerk.dev"
authors = ["Clerk",]
readme = "README-PYPI.md"
Expand Down
4 changes: 4 additions & 0 deletions src/clerk_backend_api/models/emailaddress.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class OauthVerificationStrategy(str, Enum):
FROM_OAUTH_GOOGLE = "from_oauth_google"
FROM_OAUTH_DISCORD = "from_oauth_discord"
OAUTH_APPLE = "oauth_apple"
OAUTH_MICROSOFT = "oauth_microsoft"
EMAIL_LINK = "email_link"

class ErrorMetaTypedDict(TypedDict):
pass
Expand Down Expand Up @@ -158,10 +160,12 @@ class VerificationStatus(str, Enum):
class Strategy(str, Enum):
PHONE_CODE = "phone_code"
EMAIL_CODE = "email_code"
EMAIL_LINK = "email_link"
RESET_PASSWORD_EMAIL_CODE = "reset_password_email_code"
FROM_OAUTH_DISCORD = "from_oauth_discord"
FROM_OAUTH_GOOGLE = "from_oauth_google"
FROM_OAUTH_APPLE = "from_oauth_apple"
FROM_OAUTH_MICROSOFT = "from_oauth_microsoft"

class OtpTypedDict(TypedDict):
status: VerificationStatus
Expand Down
1 change: 1 addition & 0 deletions src/clerk_backend_api/models/identificationlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class Type(str, Enum):
SAML = "saml"
OAUTH_APPLE = "oauth_apple"
OAUTH_DISCORD = "oauth_discord"
OAUTH_MICROSOFT = "oauth_microsoft"

class IdentificationLinkTypedDict(TypedDict):
type: Type
Expand Down
2 changes: 2 additions & 0 deletions src/clerk_backend_api/models/phonenumber.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ class OTPVerificationStatus(str, Enum):
class OTPVerificationStrategy(str, Enum):
PHONE_CODE = "phone_code"
EMAIL_CODE = "email_code"
EMAIL_LINK = "email_link"
RESET_PASSWORD_EMAIL_CODE = "reset_password_email_code"
FROM_OAUTH_DISCORD = "from_oauth_discord"
FROM_OAUTH_GOOGLE = "from_oauth_google"
FROM_OAUTH_APPLE = "from_oauth_apple"
FROM_OAUTH_MICROSOFT = "from_oauth_microsoft"

class VerificationOTPTypedDict(TypedDict):
status: OTPVerificationStatus
Expand Down
4 changes: 2 additions & 2 deletions src/clerk_backend_api/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class SDKConfiguration:
server_idx: Optional[int] = 0
language: str = "python"
openapi_doc_version: str = "v1"
sdk_version: str = "1.0.1"
sdk_version: str = "1.0.2"
gen_version: str = "2.407.2"
user_agent: str = "speakeasy-sdk/python 1.0.1 2.407.2 v1 clerk-backend-api"
user_agent: str = "speakeasy-sdk/python 1.0.2 2.407.2 v1 clerk-backend-api"
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
timeout_ms: Optional[int] = None

Expand Down

0 comments on commit 229b6cf

Please sign in to comment.