From 2873536a3742fc6c2e841e5039324ab4d1310da2 Mon Sep 17 00:00:00 2001 From: Stytch Codegen Bot Date: Mon, 3 Feb 2025 16:36:25 +0000 Subject: [PATCH] Add French & Italian Locales --- stytch/b2b/models/discovery_intermediate_sessions.py | 2 ++ stytch/b2b/models/oauth.py | 2 ++ stytch/b2b/models/organizations.py | 2 ++ stytch/b2b/models/otp_sms.py | 2 ++ stytch/b2b/models/sessions.py | 2 ++ stytch/b2b/models/sso.py | 2 ++ stytch/consumer/models/otp_sms.py | 4 ++++ stytch/consumer/models/otp_whatsapp.py | 4 ++++ stytch/version.py | 2 +- 9 files changed, 21 insertions(+), 1 deletion(-) diff --git a/stytch/b2b/models/discovery_intermediate_sessions.py b/stytch/b2b/models/discovery_intermediate_sessions.py index a80a924c..50bb7230 100644 --- a/stytch/b2b/models/discovery_intermediate_sessions.py +++ b/stytch/b2b/models/discovery_intermediate_sessions.py @@ -19,6 +19,8 @@ class ExchangeRequestLocale(str, enum.Enum): EN = "en" ES = "es" PTBR = "pt-br" + FR = "fr" + IT = "it" class ExchangeResponse(ResponseBase): diff --git a/stytch/b2b/models/oauth.py b/stytch/b2b/models/oauth.py index 9de89eac..1394290e 100644 --- a/stytch/b2b/models/oauth.py +++ b/stytch/b2b/models/oauth.py @@ -22,6 +22,8 @@ class AuthenticateRequestLocale(str, enum.Enum): EN = "en" ES = "es" PTBR = "pt-br" + FR = "fr" + IT = "it" class ProviderValues(pydantic.BaseModel): diff --git a/stytch/b2b/models/organizations.py b/stytch/b2b/models/organizations.py index 71b9454f..e5c56ed2 100644 --- a/stytch/b2b/models/organizations.py +++ b/stytch/b2b/models/organizations.py @@ -42,10 +42,12 @@ class ActiveSSOConnection(pydantic.BaseModel): Fields: - connection_id: Globally unique UUID that identifies a specific SSO `connection_id` for a Member. - display_name: A human-readable display name for the connection. + - identity_provider: (no documentation yet) """ # noqa connection_id: str display_name: str + identity_provider: str class DeleteRequestOptions(pydantic.BaseModel): diff --git a/stytch/b2b/models/otp_sms.py b/stytch/b2b/models/otp_sms.py index a727e656..dfa8a723 100644 --- a/stytch/b2b/models/otp_sms.py +++ b/stytch/b2b/models/otp_sms.py @@ -18,6 +18,8 @@ class SendRequestLocale(str, enum.Enum): EN = "en" ES = "es" PTBR = "pt-br" + FR = "fr" + IT = "it" class AuthenticateResponse(ResponseBase): diff --git a/stytch/b2b/models/sessions.py b/stytch/b2b/models/sessions.py index 4dd4f816..209961a2 100644 --- a/stytch/b2b/models/sessions.py +++ b/stytch/b2b/models/sessions.py @@ -23,6 +23,8 @@ class ExchangeRequestLocale(str, enum.Enum): EN = "en" ES = "es" PTBR = "pt-br" + FR = "fr" + IT = "it" class AuthorizationCheck(pydantic.BaseModel): diff --git a/stytch/b2b/models/sso.py b/stytch/b2b/models/sso.py index 28bb9fb8..0a6efa44 100644 --- a/stytch/b2b/models/sso.py +++ b/stytch/b2b/models/sso.py @@ -23,6 +23,8 @@ class AuthenticateRequestLocale(str, enum.Enum): EN = "en" ES = "es" PTBR = "pt-br" + FR = "fr" + IT = "it" class ConnectionImplicitRoleAssignment(pydantic.BaseModel): diff --git a/stytch/consumer/models/otp_sms.py b/stytch/consumer/models/otp_sms.py index 4abef37e..75bd99ec 100644 --- a/stytch/consumer/models/otp_sms.py +++ b/stytch/consumer/models/otp_sms.py @@ -15,12 +15,16 @@ class LoginOrCreateRequestLocale(str, enum.Enum): EN = "en" ES = "es" PTBR = "pt-br" + FR = "fr" + IT = "it" class SendRequestLocale(str, enum.Enum): EN = "en" ES = "es" PTBR = "pt-br" + FR = "fr" + IT = "it" class LoginOrCreateResponse(ResponseBase): diff --git a/stytch/consumer/models/otp_whatsapp.py b/stytch/consumer/models/otp_whatsapp.py index 5754bf29..40eb2502 100644 --- a/stytch/consumer/models/otp_whatsapp.py +++ b/stytch/consumer/models/otp_whatsapp.py @@ -15,12 +15,16 @@ class LoginOrCreateRequestLocale(str, enum.Enum): EN = "en" ES = "es" PTBR = "pt-br" + FR = "fr" + IT = "it" class SendRequestLocale(str, enum.Enum): EN = "en" ES = "es" PTBR = "pt-br" + FR = "fr" + IT = "it" class LoginOrCreateResponse(ResponseBase): diff --git a/stytch/version.py b/stytch/version.py index e4400ae6..c8801b8c 100644 --- a/stytch/version.py +++ b/stytch/version.py @@ -1 +1 @@ -__version__ = "12.3.0" +__version__ = "12.4.0"