Skip to content

Commit

Permalink
Add French & Italian Locales (#357)
Browse files Browse the repository at this point in the history
Co-authored-by: Stytch Codegen Bot <support@stytch.com>
  • Loading branch information
ci-stytch and Stytch Codegen Bot authored Feb 3, 2025
1 parent ec179b5 commit 978ab01
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 21 deletions.
2 changes: 1 addition & 1 deletion lib/b2b/discovery_intermediate_sessions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export interface B2BDiscoveryIntermediateSessionsExchangeRequest {
* [here](https://docs.google.com/forms/d/e/1FAIpQLScZSpAu_m2AmLXRT3F3kap-s_mcV6UTBitYn6CdyWP0-o7YjQ/viewform?usp=sf_link")!
*
*/
locale?: "en" | "es" | "pt-br" | string;
locale?: "en" | "es" | "pt-br" | "fr" | "it" | string;
}

// Response type for `discovery.intermediateSessions.exchange`.
Expand Down
2 changes: 1 addition & 1 deletion lib/b2b/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export interface B2BOAuthAuthenticateRequest {
* [here](https://docs.google.com/forms/d/e/1FAIpQLScZSpAu_m2AmLXRT3F3kap-s_mcV6UTBitYn6CdyWP0-o7YjQ/viewform?usp=sf_link")!
*
*/
locale?: "en" | "es" | "pt-br" | string;
locale?: "en" | "es" | "pt-br" | "fr" | "it" | string;
/**
* Adds this primary authentication factor to the intermediate session token. If the resulting set of
* factors satisfies the organization's primary authentication requirements and MFA requirements, the
Expand Down
1 change: 1 addition & 0 deletions lib/b2b/organizations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export interface ActiveSSOConnection {
connection_id: string;
// A human-readable display name for the connection.
display_name: string;
identity_provider: string;
}

export interface B2BOrganizationsDeleteRequestOptions {
Expand Down
2 changes: 1 addition & 1 deletion lib/b2b/otp_sms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export interface B2BOTPSmsSendRequest {
* [here](https://docs.google.com/forms/d/e/1FAIpQLScZSpAu_m2AmLXRT3F3kap-s_mcV6UTBitYn6CdyWP0-o7YjQ/viewform?usp=sf_link")!
*
*/
locale?: "en" | "es" | "pt-br" | string;
locale?: "en" | "es" | "pt-br" | "fr" | "it" | string;
/**
* The Intermediate Session Token. This token does not necessarily belong to a specific instance of a
* Member, but represents a bag of factors that may be converted to a member session. The token can be used
Expand Down
2 changes: 1 addition & 1 deletion lib/b2b/sessions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export interface B2BSessionsExchangeRequest {
* [here](https://docs.google.com/forms/d/e/1FAIpQLScZSpAu_m2AmLXRT3F3kap-s_mcV6UTBitYn6CdyWP0-o7YjQ/viewform?usp=sf_link")!
*
*/
locale?: "en" | "es" | "pt-br" | string;
locale?: "en" | "es" | "pt-br" | "fr" | "it" | string;
}

// Response type for `sessions.exchange`.
Expand Down
2 changes: 1 addition & 1 deletion lib/b2b/sso.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export interface B2BSSOAuthenticateRequest {
* [here](https://docs.google.com/forms/d/e/1FAIpQLScZSpAu_m2AmLXRT3F3kap-s_mcV6UTBitYn6CdyWP0-o7YjQ/viewform?usp=sf_link")!
*
*/
locale?: "en" | "es" | "pt-br" | string;
locale?: "en" | "es" | "pt-br" | "fr" | "it" | string;
/**
* Adds this primary authentication factor to the intermediate session token. If the resulting set of
* factors satisfies the organization's primary authentication requirements and MFA requirements, the
Expand Down
4 changes: 2 additions & 2 deletions lib/b2c/otps_sms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export interface OTPsSmsLoginOrCreateRequest {
* [here](https://docs.google.com/forms/d/e/1FAIpQLScZSpAu_m2AmLXRT3F3kap-s_mcV6UTBitYn6CdyWP0-o7YjQ/viewform?usp=sf_link")!
*
*/
locale?: "en" | "es" | "pt-br" | string;
locale?: "en" | "es" | "pt-br" | "fr" | "it" | string;
}

// Response type for `otps.sms.loginOrCreate`.
Expand Down Expand Up @@ -93,7 +93,7 @@ export interface OTPsSmsSendRequest {
* [here](https://docs.google.com/forms/d/e/1FAIpQLScZSpAu_m2AmLXRT3F3kap-s_mcV6UTBitYn6CdyWP0-o7YjQ/viewform?usp=sf_link")!
*
*/
locale?: "en" | "es" | "pt-br" | string;
locale?: "en" | "es" | "pt-br" | "fr" | "it" | string;
// The unique ID of a specific User.
user_id?: string;
// The `session_token` associated with a User's existing Session.
Expand Down
4 changes: 2 additions & 2 deletions lib/b2c/otps_whatsapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export interface OTPsWhatsappLoginOrCreateRequest {
* [here](https://docs.google.com/forms/d/e/1FAIpQLScZSpAu_m2AmLXRT3F3kap-s_mcV6UTBitYn6CdyWP0-o7YjQ/viewform?usp=sf_link")!
*
*/
locale?: "en" | "es" | "pt-br" | string;
locale?: "en" | "es" | "pt-br" | "fr" | "it" | string;
}

// Response type for `otps.whatsapp.loginOrCreate`.
Expand Down Expand Up @@ -93,7 +93,7 @@ export interface OTPsWhatsappSendRequest {
* [here](https://docs.google.com/forms/d/e/1FAIpQLScZSpAu_m2AmLXRT3F3kap-s_mcV6UTBitYn6CdyWP0-o7YjQ/viewform?usp=sf_link")!
*
*/
locale?: "en" | "es" | "pt-br" | string;
locale?: "en" | "es" | "pt-br" | "fr" | "it" | string;
// The unique ID of a specific User.
user_id?: string;
// The `session_token` associated with a User's existing Session.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stytch",
"version": "12.3.1",
"version": "12.4.0",
"description": "A wrapper for the Stytch API",
"types": "./types/lib/index.d.ts",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion types/lib/b2b/discovery_intermediate_sessions.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion types/lib/b2b/oauth.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions types/lib/b2b/organizations.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion types/lib/b2b/otp_sms.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion types/lib/b2b/sessions.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion types/lib/b2b/sso.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions types/lib/b2c/otps_sms.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions types/lib/b2c/otps_whatsapp.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 978ab01

Please sign in to comment.