Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add French & Italian Locales #235

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions stytch/b2b/models/discovery_intermediate_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class ExchangeRequestLocale(str, enum.Enum):
EN = "en"
ES = "es"
PTBR = "pt-br"
FR = "fr"
IT = "it"


class ExchangeResponse(ResponseBase):
Expand Down
2 changes: 2 additions & 0 deletions stytch/b2b/models/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class AuthenticateRequestLocale(str, enum.Enum):
EN = "en"
ES = "es"
PTBR = "pt-br"
FR = "fr"
IT = "it"


class ProviderValues(pydantic.BaseModel):
Expand Down
2 changes: 2 additions & 0 deletions stytch/b2b/models/organizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vincent-stytch @max-stytch This ok to bring in ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not related to Be the IDP, but yup it's fine

""" # noqa

connection_id: str
display_name: str
identity_provider: str


class DeleteRequestOptions(pydantic.BaseModel):
Expand Down
2 changes: 2 additions & 0 deletions stytch/b2b/models/otp_sms.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class SendRequestLocale(str, enum.Enum):
EN = "en"
ES = "es"
PTBR = "pt-br"
FR = "fr"
IT = "it"


class AuthenticateResponse(ResponseBase):
Expand Down
2 changes: 2 additions & 0 deletions stytch/b2b/models/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class ExchangeRequestLocale(str, enum.Enum):
EN = "en"
ES = "es"
PTBR = "pt-br"
FR = "fr"
IT = "it"


class AuthorizationCheck(pydantic.BaseModel):
Expand Down
2 changes: 2 additions & 0 deletions stytch/b2b/models/sso.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class AuthenticateRequestLocale(str, enum.Enum):
EN = "en"
ES = "es"
PTBR = "pt-br"
FR = "fr"
IT = "it"


class ConnectionImplicitRoleAssignment(pydantic.BaseModel):
Expand Down
4 changes: 4 additions & 0 deletions stytch/consumer/models/otp_sms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 4 additions & 0 deletions stytch/consumer/models/otp_whatsapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion stytch/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "12.3.0"
__version__ = "12.4.0"