diff --git a/lib/b2b/discovery_intermediate_sessions.ts b/lib/b2b/discovery_intermediate_sessions.ts index d4de9b04..3942d191 100644 --- a/lib/b2b/discovery_intermediate_sessions.ts +++ b/lib/b2b/discovery_intermediate_sessions.ts @@ -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`. diff --git a/lib/b2b/oauth.ts b/lib/b2b/oauth.ts index 44fcca82..d0f98907 100644 --- a/lib/b2b/oauth.ts +++ b/lib/b2b/oauth.ts @@ -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 diff --git a/lib/b2b/organizations.ts b/lib/b2b/organizations.ts index ee19b804..668778e7 100644 --- a/lib/b2b/organizations.ts +++ b/lib/b2b/organizations.ts @@ -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 { diff --git a/lib/b2b/otp_sms.ts b/lib/b2b/otp_sms.ts index 4a3217b6..e3840dc2 100644 --- a/lib/b2b/otp_sms.ts +++ b/lib/b2b/otp_sms.ts @@ -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 diff --git a/lib/b2b/sessions.ts b/lib/b2b/sessions.ts index 45d98533..93623af9 100644 --- a/lib/b2b/sessions.ts +++ b/lib/b2b/sessions.ts @@ -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`. diff --git a/lib/b2b/sso.ts b/lib/b2b/sso.ts index 961b3ad2..d6866042 100644 --- a/lib/b2b/sso.ts +++ b/lib/b2b/sso.ts @@ -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 diff --git a/lib/b2c/otps_sms.ts b/lib/b2c/otps_sms.ts index f7d1eb91..4042220f 100644 --- a/lib/b2c/otps_sms.ts +++ b/lib/b2c/otps_sms.ts @@ -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`. @@ -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. diff --git a/lib/b2c/otps_whatsapp.ts b/lib/b2c/otps_whatsapp.ts index 9b367579..08b3b551 100644 --- a/lib/b2c/otps_whatsapp.ts +++ b/lib/b2c/otps_whatsapp.ts @@ -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`. @@ -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. diff --git a/package-lock.json b/package-lock.json index e4597db7..37cf961e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "stytch", - "version": "12.3.1", + "version": "12.4.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "stytch", - "version": "12.3.0", + "version": "12.4.0", "license": "MIT", "dependencies": { "jose": "^5.6.3", diff --git a/package.json b/package.json index a8819538..d2b9c441 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/types/lib/b2b/discovery_intermediate_sessions.d.ts b/types/lib/b2b/discovery_intermediate_sessions.d.ts index 3e6a545e..ceab43a9 100644 --- a/types/lib/b2b/discovery_intermediate_sessions.d.ts +++ b/types/lib/b2b/discovery_intermediate_sessions.d.ts @@ -63,7 +63,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; } export interface B2BDiscoveryIntermediateSessionsExchangeResponse { /** diff --git a/types/lib/b2b/oauth.d.ts b/types/lib/b2b/oauth.d.ts index 0edd0cc7..df4a16ff 100644 --- a/types/lib/b2b/oauth.d.ts +++ b/types/lib/b2b/oauth.d.ts @@ -71,7 +71,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 diff --git a/types/lib/b2b/organizations.d.ts b/types/lib/b2b/organizations.d.ts index c2d7bb6d..e93139f6 100644 --- a/types/lib/b2b/organizations.d.ts +++ b/types/lib/b2b/organizations.d.ts @@ -11,6 +11,7 @@ export interface ActiveSCIMConnection { export interface ActiveSSOConnection { connection_id: string; display_name: string; + identity_provider: string; } export interface B2BOrganizationsDeleteRequestOptions { /** diff --git a/types/lib/b2b/otp_sms.d.ts b/types/lib/b2b/otp_sms.d.ts index e8099686..1ff3513d 100644 --- a/types/lib/b2b/otp_sms.d.ts +++ b/types/lib/b2b/otp_sms.d.ts @@ -115,7 +115,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 diff --git a/types/lib/b2b/sessions.d.ts b/types/lib/b2b/sessions.d.ts index 3bd096c5..081e6326 100644 --- a/types/lib/b2b/sessions.d.ts +++ b/types/lib/b2b/sessions.d.ts @@ -208,7 +208,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; } export interface B2BSessionsExchangeResponse { /** diff --git a/types/lib/b2b/sso.d.ts b/types/lib/b2b/sso.d.ts index 904607aa..335d7d9b 100644 --- a/types/lib/b2b/sso.d.ts +++ b/types/lib/b2b/sso.d.ts @@ -186,7 +186,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 diff --git a/types/lib/b2c/otps_sms.d.ts b/types/lib/b2c/otps_sms.d.ts index fab2ece5..daf88e09 100644 --- a/types/lib/b2c/otps_sms.d.ts +++ b/types/lib/b2c/otps_sms.d.ts @@ -33,7 +33,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; } export interface OTPsSmsLoginOrCreateResponse { /** @@ -74,7 +74,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; user_id?: string; session_token?: string; session_jwt?: string; diff --git a/types/lib/b2c/otps_whatsapp.d.ts b/types/lib/b2c/otps_whatsapp.d.ts index 22c8e43e..d05c94a6 100644 --- a/types/lib/b2c/otps_whatsapp.d.ts +++ b/types/lib/b2c/otps_whatsapp.d.ts @@ -33,7 +33,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; } export interface OTPsWhatsappLoginOrCreateResponse { /** @@ -74,7 +74,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; user_id?: string; session_token?: string; session_jwt?: string;