diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 185c454..d7d9cab 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: bfe29c99-6e67-43fe-b928-64d6a5ed6aa8 management: - docChecksum: 3729a9e678b39fae6e60a063c4498eff + docChecksum: 38f27c858646845020cac0556df48992 docVersion: v1 speakeasyVersion: 1.385.0 generationVersion: 2.407.2 - releaseVersion: 1.1.1 - configChecksum: 983610439cf348bf8886f227d422b9f0 + releaseVersion: 1.1.2 + configChecksum: 71220562b1011100f37a77600009a223 repoURL: https://github.com/clerk/clerk-sdk-python.git installationURL: https://github.com/clerk/clerk-sdk-python.git published: true diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 2fa349a..fa7458c 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true python: - version: 1.1.1 + version: 1.1.2 additionalDependencies: dev: pytest: ^8.3.3 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index ac47795..7a69a30 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.385.0 sources: clerk-openapi: sourceNamespace: clerk-openapi - sourceRevisionDigest: sha256:39bcd57f7ed3b25f47ca21dad66dd895d2107d4f29fb4070e988e715870835da - sourceBlobDigest: sha256:6d2275786c3b69d57ac0156ca74ded589c0f709023afd8198dcafc521a054561 + sourceRevisionDigest: sha256:121b3316fdb233e4451aaae0df39d7f03b612ba5d8184c872c3eb9959508c54e + sourceBlobDigest: sha256:f2bd948da76375bf51e2da09e30f0990946d6226c27931bbcbd7940310c62195 tags: - latest - main @@ -11,8 +11,8 @@ targets: clerk-sdk-python: source: clerk-openapi sourceNamespace: clerk-openapi - sourceRevisionDigest: sha256:39bcd57f7ed3b25f47ca21dad66dd895d2107d4f29fb4070e988e715870835da - sourceBlobDigest: sha256:6d2275786c3b69d57ac0156ca74ded589c0f709023afd8198dcafc521a054561 + sourceRevisionDigest: sha256:121b3316fdb233e4451aaae0df39d7f03b612ba5d8184c872c3eb9959508c54e + sourceBlobDigest: sha256:f2bd948da76375bf51e2da09e30f0990946d6226c27931bbcbd7940310c62195 outLocation: . workflow: workflowVersion: 1.0.0 diff --git a/RELEASES.md b/RELEASES.md index c0a123f..8e46623 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -148,4 +148,14 @@ Based on: ### Generated - [python v1.1.1] . ### Releases -- [PyPI v1.1.1] https://pypi.org/project/clerk-backend-api/1.1.1 - . \ No newline at end of file +- [PyPI v1.1.1] https://pypi.org/project/clerk-backend-api/1.1.1 - . + +## 2024-10-30 13:46:19 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.385.0 (2.407.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.1.2] . +### Releases +- [PyPI v1.1.2] https://pypi.org/project/clerk-backend-api/1.1.2 - . \ No newline at end of file diff --git a/docs/models/oauthverificationstrategy.md b/docs/models/oauthverificationstrategy.md index 33aae0b..86e12ee 100644 --- a/docs/models/oauthverificationstrategy.md +++ b/docs/models/oauthverificationstrategy.md @@ -12,4 +12,5 @@ | `FROM_OAUTH_MICROSOFT` | from_oauth_microsoft | | `OAUTH_APPLE` | oauth_apple | | `OAUTH_MICROSOFT` | oauth_microsoft | +| `OAUTH_GITHUB` | oauth_github | | `EMAIL_LINK` | email_link | \ No newline at end of file diff --git a/docs/models/otpverificationstrategy.md b/docs/models/otpverificationstrategy.md index 355d083..ebaaabd 100644 --- a/docs/models/otpverificationstrategy.md +++ b/docs/models/otpverificationstrategy.md @@ -12,4 +12,5 @@ | `FROM_OAUTH_DISCORD` | from_oauth_discord | | `FROM_OAUTH_GOOGLE` | from_oauth_google | | `FROM_OAUTH_APPLE` | from_oauth_apple | -| `FROM_OAUTH_MICROSOFT` | from_oauth_microsoft | \ No newline at end of file +| `FROM_OAUTH_MICROSOFT` | from_oauth_microsoft | +| `FROM_OAUTH_GITHUB` | from_oauth_github | \ No newline at end of file diff --git a/docs/models/strategy.md b/docs/models/strategy.md index 5bd84cf..27b823d 100644 --- a/docs/models/strategy.md +++ b/docs/models/strategy.md @@ -12,4 +12,5 @@ | `FROM_OAUTH_DISCORD` | from_oauth_discord | | `FROM_OAUTH_GOOGLE` | from_oauth_google | | `FROM_OAUTH_APPLE` | from_oauth_apple | -| `FROM_OAUTH_MICROSOFT` | from_oauth_microsoft | \ No newline at end of file +| `FROM_OAUTH_MICROSOFT` | from_oauth_microsoft | +| `FROM_OAUTH_GITHUB` | from_oauth_github | \ No newline at end of file diff --git a/docs/models/type.md b/docs/models/type.md index 68bde00..2a1e737 100644 --- a/docs/models/type.md +++ b/docs/models/type.md @@ -10,4 +10,5 @@ | `SAML` | saml | | `OAUTH_APPLE` | oauth_apple | | `OAUTH_DISCORD` | oauth_discord | -| `OAUTH_MICROSOFT` | oauth_microsoft | \ No newline at end of file +| `OAUTH_MICROSOFT` | oauth_microsoft | +| `OAUTH_GITHUB` | oauth_github | \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 0c0f067..4b65fc0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "clerk-backend-api" -version = "1.1.1" +version = "1.1.2" description = "Python Client SDK for clerk.dev" authors = ["Clerk",] readme = "README-PYPI.md" diff --git a/src/clerk_backend_api/models/emailaddress.py b/src/clerk_backend_api/models/emailaddress.py index 2d2609b..383e77d 100644 --- a/src/clerk_backend_api/models/emailaddress.py +++ b/src/clerk_backend_api/models/emailaddress.py @@ -30,6 +30,7 @@ class OauthVerificationStrategy(str, Enum): FROM_OAUTH_MICROSOFT = "from_oauth_microsoft" OAUTH_APPLE = "oauth_apple" OAUTH_MICROSOFT = "oauth_microsoft" + OAUTH_GITHUB = "oauth_github" EMAIL_LINK = "email_link" class ErrorMetaTypedDict(TypedDict): @@ -167,6 +168,7 @@ class Strategy(str, Enum): FROM_OAUTH_GOOGLE = "from_oauth_google" FROM_OAUTH_APPLE = "from_oauth_apple" FROM_OAUTH_MICROSOFT = "from_oauth_microsoft" + FROM_OAUTH_GITHUB = "from_oauth_github" class OtpTypedDict(TypedDict): status: VerificationStatus diff --git a/src/clerk_backend_api/models/identificationlink.py b/src/clerk_backend_api/models/identificationlink.py index 8cd4666..420223d 100644 --- a/src/clerk_backend_api/models/identificationlink.py +++ b/src/clerk_backend_api/models/identificationlink.py @@ -13,6 +13,7 @@ class Type(str, Enum): OAUTH_APPLE = "oauth_apple" OAUTH_DISCORD = "oauth_discord" OAUTH_MICROSOFT = "oauth_microsoft" + OAUTH_GITHUB = "oauth_github" class IdentificationLinkTypedDict(TypedDict): type: Type diff --git a/src/clerk_backend_api/models/phonenumber.py b/src/clerk_backend_api/models/phonenumber.py index fbe34e8..5573d2a 100644 --- a/src/clerk_backend_api/models/phonenumber.py +++ b/src/clerk_backend_api/models/phonenumber.py @@ -76,6 +76,7 @@ class OTPVerificationStrategy(str, Enum): FROM_OAUTH_GOOGLE = "from_oauth_google" FROM_OAUTH_APPLE = "from_oauth_apple" FROM_OAUTH_MICROSOFT = "from_oauth_microsoft" + FROM_OAUTH_GITHUB = "from_oauth_github" class VerificationOTPTypedDict(TypedDict): status: OTPVerificationStatus diff --git a/src/clerk_backend_api/sdkconfiguration.py b/src/clerk_backend_api/sdkconfiguration.py index 75f7b87..d4cbd0f 100644 --- a/src/clerk_backend_api/sdkconfiguration.py +++ b/src/clerk_backend_api/sdkconfiguration.py @@ -26,9 +26,9 @@ class SDKConfiguration: server_idx: Optional[int] = 0 language: str = "python" openapi_doc_version: str = "v1" - sdk_version: str = "1.1.1" + sdk_version: str = "1.1.2" gen_version: str = "2.407.2" - user_agent: str = "speakeasy-sdk/python 1.1.1 2.407.2 v1 clerk-backend-api" + user_agent: str = "speakeasy-sdk/python 1.1.2 2.407.2 v1 clerk-backend-api" retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET) timeout_ms: Optional[int] = None