import { a as StytchProjectConfigurationInput, ev as PartialDeep, ew as RBACPolicyRole, r as StytchProjectConfiguration } from '../DFPProtectedAuthProvider-0rW0WKz_.js'; export { A as AccessTokenExchangeFactor, u as AmazonOAuthFactor, v as AppleOAuthFactor, w as AuthenticateResponse, x as AuthenticationFactor, y as AuthenticatorAppFactor, z as B2BAllowedAuthMethods, D as B2BAllowedMFAMethods, E as B2BAuthenticateResponse, F as B2BAuthenticateResponseWithMFA, G as B2BAuthenticationFactor, H as B2BDiscoveryAuthenticateResponse, J as B2BDiscoveryIntermediateSessionsExchangeOptions, K as B2BDiscoveryIntermediateSessionsExchangeResponse, L as B2BDiscoveryOTPEmailAuthenticateOptions, M as B2BDiscoveryOTPEmailAuthenticateResponse, N as B2BDiscoveryOTPEmailSendOptions, O as B2BDiscoveryOTPEmailSendResponse, P as B2BDiscoveryOrganizationsCreateOptions, Q as B2BDiscoveryOrganizationsCreateResponse, R as B2BDiscoveryOrganizationsResponse, T as B2BEmailFactor, U as B2BGitHubOAuthFactor, V as B2BGoogleOAuthFactor, W as B2BHubSpotOAuthFactor, X as B2BImpersonationAuthenticateOptions, Y as B2BImpersonationAuthenticateResponse, Z as B2BMagicLinkLoginOrSignupOptions, _ as B2BMagicLinkLoginOrSignupResponse, $ as B2BMagicLinksAuthenticateOptions, a0 as B2BMagicLinksAuthenticateResponse, a1 as B2BMagicLinksDiscoveryAuthenticateOptions, a2 as B2BMagicLinksDiscoveryAuthenticateResponse, a3 as B2BMagicLinksEmailDiscoverySendOptions, a4 as B2BMagicLinksEmailDiscoverySendResponse, a5 as B2BMagicLinksInviteOptions, a6 as B2BMagicLinksInviteResponse, a7 as B2BMicrosoftOAuthFactor, a8 as B2BOAuthAuthenticateOptions, a9 as B2BOAuthAuthenticateResponse, aa as B2BOAuthDiscoveryAuthenticateResponse, ab as B2BOAuthDiscoveryStartOptions, ac as B2BOTPsEmailAuthenticateOptions, ad as B2BOTPsEmailAuthenticateResponse, ae as B2BOTPsEmailLoginOrSignupOptions, af as B2BOTPsEmailLoginOrSignupResponse, ag as B2BOrganizationsDeleteResponse, ah as B2BOrganizationsGetBySlugOptions, ai as B2BOrganizationsGetBySlugResponse, aj as B2BOrganizationsGetConnectedAppOptions, ak as B2BOrganizationsGetConnectedAppResponse, al as B2BOrganizationsGetConnectedAppsResponse, am as B2BOrganizationsMemberDeleteMFAPhoneNumberResponse, an as B2BOrganizationsMemberDeleteMFATOTPResponse, ao as B2BOrganizationsMemberDeletePasswordResponse, ap as B2BOrganizationsMemberGetConnectedAppsOptions, aq as B2BOrganizationsMemberGetConnectedAppsResponse, ar as B2BOrganizationsMemberRevokeConnectedAppOptions, as as B2BOrganizationsMemberRevokeConnectedAppResponse, at as B2BOrganizationsMemberStartEmailUpdateOptions, au as B2BOrganizationsMemberStartEmailUpdateResponse, av as B2BOrganizationsMemberUnlinkRetiredEmailOptions, aw as B2BOrganizationsMemberUnlinkRetiredEmailResponse, ax as B2BOrganizationsMembersCreateOptions, ay as B2BOrganizationsMembersCreateResponse, az as B2BOrganizationsMembersDeleteResponse, aA as B2BOrganizationsMembersReactivateResponse, aB as B2BOrganizationsMembersSearchOptions, aC as B2BOrganizationsMembersSearchResponse, aD as B2BOrganizationsMembersUpdateOptions, aE as B2BOrganizationsMembersUpdateResponse, aF as B2BOrganizationsUpdateOptions, aG as B2BOrganizationsUpdateResponse, aH as B2BPasswordAuthenticateOptions, aI as B2BPasswordAuthenticateResponse, aJ as B2BPasswordDiscoveryAuthenticateOptions, aK as B2BPasswordDiscoveryAuthenticateResponse, aL as B2BPasswordDiscoveryResetByEmailOptions, aM as B2BPasswordDiscoveryResetByEmailResponse, aN as B2BPasswordDiscoveryResetByEmailStartOptions, aO as B2BPasswordDiscoveryResetByEmailStartResponse, aP as B2BPasswordResetByEmailOptions, aQ as B2BPasswordResetByEmailResponse, aR as B2BPasswordResetByEmailStartOptions, aS as B2BPasswordResetByEmailStartResponse, aT as B2BPasswordResetByExistingPasswordOptions, aU as B2BPasswordResetByExistingPasswordResponse, aV as B2BPasswordResetBySessionOptions, aW as B2BPasswordResetBySessionResponse, aX as B2BPasswordStrengthCheckOptions, aY as B2BPasswordStrengthCheckResponse, aZ as B2BPhoneNumberFactor, a_ as B2BSMSAuthenticateOptions, a$ as B2BSMSAuthenticateResponse, b0 as B2BSMSSendOptions, b1 as B2BSMSSendResponse, b2 as B2BSSOCreateExternalConnectionOptions, b3 as B2BSSOCreateExternalConnectionResponse, b4 as B2BSSODeleteConnectionResponse, b5 as B2BSSODiscoverConnectionsResponse, b6 as B2BSSOGetConnectionsResponse, b7 as B2BSSOOIDCCreateConnectionOptions, b8 as B2BSSOOIDCCreateConnectionResponse, b9 as B2BSSOOIDCUpdateConnectionOptions, ba as B2BSSOOIDCUpdateConnectionResponse, bb as B2BSSOSAMLCreateConnectionOptions, bc as B2BSSOSAMLCreateConnectionResponse, bd as B2BSSOSAMLDeleteEncryptionPrivateKeyOptions, be as B2BSSOSAMLDeleteEncryptionPrivateKeyResponse, bf as B2BSSOSAMLDeleteVerificationCertificateOptions, bg as B2BSSOSAMLDeleteVerificationCertificateResponse, bh as B2BSSOSAMLUpdateConnectionByURLOptions, bi as B2BSSOSAMLUpdateConnectionByURLResponse, bj as B2BSSOSAMLUpdateConnectionOptions, bk as B2BSSOSAMLUpdateConnectionResponse, bl as B2BSSOUpdateExternalConnectionOptions, bm as B2BSSOUpdateExternalConnectionResponse, bn as B2BSlackOAuthFactor, B as B2BState, bo as B2BTOTPAuthenticateOptions, bp as B2BTOTPAuthenticateResponse, bq as B2BTOTPCreateOptions, br as B2BTOTPCreateResponse, bs as BiometricFactor, bt as BiometricRegistrationIdIsNullOrBlank, bu as BiometricsAlreadyEnrolledError, bv as BiometricsFailedError, bw as BiometricsUnavailableError, bx as BitbucketOAuthFactor, s as Callbacks, by as ChallengeSigningFailedError, bz as CoinbaseOAuthFactor, bA as ConnectedAppPublic, C as ConsumerState, bB as CryptoWalletAuthenticateOptions, bC as CryptoWalletAuthenticateResponse, bD as CryptoWalletAuthenticateStartOptions, bE as CryptoWalletAuthenticateStartResponse, bF as CryptoWalletFactor, bG as DFPNotConfigured, bH as DeleteResponse, bI as DeviceAttributeDetails, bJ as DeviceCredentialsNotAllowedError, bK as DiscordOAuthFactor, bL as DiscoveredOrganization, bM as EmailFactor, bN as EmailMagicLinksOptions, bO as EncryptionPrivateKey, bP as ExternalConnection, bQ as FacebookOAuthFactor, bR as FailedCodeChallengeError, bS as FailedToDecryptDataError, bT as FigmaOAuthFactor, bU as GitLabOAuthFactor, bV as GithubOAuthFactor, bW as GoogleOAuthFactor, bX as IDPConsentItem, bY as IDPConsentScreenManifest, bZ as IDPConsentSection, b_ as IDPOAuthFlowMissingParamError, l as IHeadlessB2BDiscoveryClient, q as IHeadlessB2BImpersonationClient, i as IHeadlessB2BMagicLinksClient, h as IHeadlessB2BOAuthClient, n as IHeadlessB2BOTPsClient, j as IHeadlessB2BOrganizationClient, m as IHeadlessB2BPasswordClient, p as IHeadlessB2BRecoveryCodesClient, k as IHeadlessB2BSSOClient, o as IHeadlessB2BTOTPsClient, d as IHeadlessCryptoWalletClient, I as IHeadlessMagicLinksClient, c as IHeadlessOTPsClient, f as IHeadlessPasswordClient, b as IHeadlessSessionClient, e as IHeadlessWebAuthnClient, b$ as InternalError, c0 as InvalidAuthorizationCredentialError, c1 as InvalidCredentialTypeError, c2 as InvalidPrivateKeyLength, c3 as InvalidRedirectSchemeError, c4 as InvalidStartUrlError, c5 as JSONDataNotConvertibleToStringError, c6 as KeyInvalidatedError, c7 as KeystoreUnavailableError, c8 as LinkedInOAuthFactor, c9 as MagicLinksAuthenticateOptions, ca as MagicLinksAuthenticateResponse, cb as MagicLinksLoginOrCreateOptions, cc as MagicLinksLoginOrCreateResponse, cd as MagicLinksSendOptions, ce as MagicLinksSendResponse, cf as Member, cg as MemberEmailUpdateDeliveryMethod, ch as MemberOptions, ci as MemberResponseCommon, cj as MemberRole, ck as MemberSession, cl as MfaRequired, cm as MicrosoftOAuthFactor, cn as MissingAttestationObjectError, co as MissingAuthorizationCredentialIDTokenError, cp as MissingCipherIv, cq as MissingGoogleClientIDError, cr as MissingPKCEError, cs as MissingPublicKeyError, ct as MissingUrlError, cu as NoBiometricsEnrolledError, cv as NoBiometricsRegistrationError, cw as NoCredentialsPresentError, cx as NoCurrentSessionError, cy as OAuthDiscoveryAuthenticateOptions, cz as OAuthOptions, cA as OAuthProviders, cB as OAuthRegistration, cC as OAuthStartOptions, cD as OIDCConnection, cE as OTPAuthenticateOptions, cF as OTPCodeEmailOptions, cG as OTPCodeOptions, cH as OTPCodeSMSOptions, cI as OTPMethods, cJ as OTPsAuthenticateResponse, cK as OTPsLoginOrCreateResponse, cL as OTPsSendResponse, cM as OneTapPositions, cN as OneTapStyleConfig, cO as Organization, cP as OrganizationBySlugMatch, cQ as OrganizationInfo, cR as OtpOptions, cS as PasskeyOptions, cT as PasskeysInvalidEncoding, cU as PasskeysMisconfigured, cV as PasskeysUnsupportedError, cW as PasswordAuthenticateOptions, cX as PasswordAuthenticateResponse, cY as PasswordCreateOptions, cZ as PasswordCreateResponse, c_ as PasswordFactor, c$ as PasswordOptions, d0 as PasswordResetByEmailOptions, d1 as PasswordResetByEmailResponse, d2 as PasswordResetByEmailStartOptions, d3 as PasswordResetByEmailStartResponse, d4 as PasswordResetByExistingPasswordOptions, d5 as PasswordResetByExistingPasswordResponse, d6 as PasswordResetBySessionOptions, d7 as PasswordResetBySessionResponse, d8 as PasswordStrengthCheckOptions, d9 as PasswordStrengthCheckResponse, da as PhoneNumberFactor, db as PrimaryRequired, dc as ProviderOptions, dd as ProvidersOptions, de as RNUIEmailMagicLinksOptions, df as RNUIOAuthOptions, dg as RNUIOTPOptions, dh as RNUIPasswordOptions, di as RNUIProductConfig, dj as RNUIProducts, dk as RandomNumberGenerationFailed, dl as RecoveryCodeFactor, dm as RecoveryCodeGetResponse, dn as RecoveryCodeRecoverOptions, dp as RecoveryCodeRecoverResponse, dq as RecoveryCodeRotateResponse, dr as ResponseCommon, ds as RetiredEmailAddress, dt as SAMLConnection, du as SDKAPIUnreachableError, dv as SDKDeviceHistory, dw as SDKNotConfiguredError, dx as SIWEParams, dy as SSOActiveConnection, dz as SSOAuthenticateOptions, dA as SSOAuthenticateResponse, dB as SSOStartOptions, dC as SalesforceOAuthFactor, dD as ScopeResult, dE as SearchQueryOperand, dF as Session, dG as SessionAccessTokenExchangeOptions, dH as SessionAccessTokenExchangeResponse, dI as SessionAttestOptions, dJ as SessionAttestResponse, dK as SessionAuthenticateOptions, dL as SessionAuthenticateResponse, dM as SessionDurationOptions, dN as SessionInfo, dO as SessionOnChangeCallback, dP as SessionOptions, dQ as SessionRevokeOptions, dR as SessionRevokeResponse, dS as SessionTokens, dT as SessionTokensUpdate, dU as SignInWithAppleMisconfigured, dV as SlackOAuthFactor, dW as SnapchatOAuthFactor, t as StringsOptions, S as StyleConfig, dX as StytchAPIError, dY as StytchAPISchemaError, dZ as StytchAPIUnreachableError, g as StytchClientOptions, d_ as StytchError, d$ as StytchEvent, e0 as StytchEventType, e1 as StytchSDKAPIError, e2 as StytchSDKError, e3 as StytchSDKErrorOptions, e4 as StytchSDKSchemaError, e5 as StytchSDKUIError, e6 as StytchSDKUsageError, e7 as TikTokOAuthFactor, e8 as TwitchOAuthFactor, e9 as TwitterOAuthFactor, ea as UNRECOVERABLE_ERROR_TYPES, eb as UnsubscribeFunction, ec as UpdateResponse, ed as User, ee as UserCancellationError, ef as UserLockedOutError, eg as Wallets, eh as WebAuthnAuthenticateResponse, ei as WebAuthnAuthenticateStartOptions, ej as WebAuthnAuthenticateStartResponse, ek as WebAuthnFactor, el as WebAuthnRegisterResponse, em as WebAuthnRegisterStartOptions, en as WebAuthnRegisterStartResponse, eo as WebAuthnRegistration, ep as WebAuthnUpdateOptions, eq as WebAuthnUpdateResponse, er as X509Certificate, es as YahooOAuthFactor, et as errorToStytchError, eu as locale } from '../DFPProtectedAuthProvider-0rW0WKz_.js'; import { S as StytchB2BClient } from '../StytchB2BClient-DTBDS3uM.js'; import { C as B2BMFAProducts } from '../GoogleOneTapClient-C8tXxrMo.js'; export { x as AuthFlowType, y as B2BEmailMagicLinksOptions, z as B2BEmailOTPOptions, D as B2BMemberDeleteMFAPhoneNumberResponse, E as B2BMemberDeleteMFATOTPResponse, F as B2BMemberDeletePasswordResponse, G as B2BMemberGetConnectedAppsResponse, H as B2BMemberOnChangeCallback, J as B2BMemberRevokeConnectedAppOptions, K as B2BMemberRevokeConnectedAppResponse, L as B2BMemberStartEmailUpdateRequest, M as B2BMemberStartEmailUpdateResponse, N as B2BMemberUnlinkRetiredEmailRequest, Q as B2BMemberUnlinkRetiredEmailResponse, R as B2BMemberUpdateOptions, T as B2BMemberUpdateResponse, B as B2BOAuthAuthorizeStartOptions, n as B2BOAuthAuthorizeStartResponse, o as B2BOAuthAuthorizeSubmitOptions, p as B2BOAuthAuthorizeSubmitResponse, q as B2BOAuthLogoutStartOptions, r as B2BOAuthLogoutStartResponse, U as B2BOAuthOptions, V as B2BOAuthProviderConfig, W as B2BOAuthProviders, X as B2BPasswordOptions, Y as B2BSCIMCreateConnectionOptions, Z as B2BSCIMCreateConnectionResponse, _ as B2BSCIMDeleteConnectionResponse, $ as B2BSCIMGetConnectionGroupsOptions, a0 as B2BSCIMGetConnectionGroupsResponse, a1 as B2BSCIMGetConnectionResponse, a2 as B2BSCIMRotateCancelResponse, a3 as B2BSCIMRotateCompleteResponse, a4 as B2BSCIMRotateStartResponse, a5 as B2BSCIMUpdateConnectionOptions, a6 as B2BSCIMUpdateConnectionResponse, a7 as B2BSMSOTPOptions, a8 as B2BSSOOptions, a9 as B2BSessionAccessTokenExchangeOptions, aa as B2BSessionAccessTokenExchangeResponse, ab as B2BSessionAttestOptions, ac as B2BSessionAttestResponse, ad as B2BSessionAuthenticateResponse, ae as B2BSessionExchangeOptions, af as B2BSessionExchangeResponse, ag as B2BSessionOnChangeCallback, ah as B2BSessionRevokeForMemberOptions, ai as B2BSessionRevokeForMemberResponse, aj as B2BSessionRevokeOptions, ak as BiometricsAuthenticateCompleteResponse, al as BiometricsAuthenticateOptions, am as BiometricsAuthenticateStartResponse, an as BiometricsDeleteResponse, ao as BiometricsGetSensorResponse, ap as BiometricsRegisterCompleteResponse, aq as BiometricsRegisterOptions, ar as BiometricsRegisterStartResponse, as as BiometryType, at as ConsumerPermissionsMap, au as DirectLoginForSingleMembershipConfig, m as IHeadlessB2BIDPClient, t as IHeadlessB2BMemberClient, v as IHeadlessB2BRBACClient, w as IHeadlessB2BSCIMClient, u as IHeadlessB2BSelfClient, s as IHeadlessB2BSessionClient, av as IHeadlessBiometricsClient, I as IHeadlessIDPClient, k as IHeadlessImpersonationClient, g as IHeadlessOAuthClient, l as IHeadlessRBACClient, j as IHeadlessTOTPClient, i as IHeadlessUserClient, aw as IOAuthProvider, ax as IRNHeadlessOAuthClient, ay as IRNOAuthProvider, az as ImpersonationAuthenticateOptions, aA as ImpersonationAuthenticateResponse, aB as MemberInfo, aC as MemberSessionInfo, aD as OAuthAttachResponse, aE as OAuthAuthenticateOptions, aF as OAuthAuthenticateResponse, O as OAuthAuthorizeStartOptions, b as OAuthAuthorizeStartResponse, c as OAuthAuthorizeSubmitOptions, d as OAuthAuthorizeSubmitResponse, aG as OAuthGetURLOptions, e as OAuthLogoutStartOptions, f as OAuthLogoutStartResponse, aH as OAuthStartFailureReason, aI as OAuthStartResponse, aJ as PermissionsMap, aK as RNOAuthGetURLOptions, aL as RedirectURLType, aM as SCIMConnection, aN as SCIMConnectionWithBearerToken, aO as SCIMConnectionWithNextBearerToken, aP as SCIMGroup, aQ as TOTPAuthenticateOptions, aR as TOTPAuthenticateResponse, aS as TOTPCreateOptions, aT as TOTPCreateResponse, aU as TOTPRecoverOptions, aV as TOTPRecoverResponse, aW as TOTPRecoveryCodesResponse, aX as TokenType, aY as UserGetConnectedAppsResponse, aZ as UserInfo, a_ as UserOnChangeCallback, a$ as UserUpdateOptions, b0 as UserUpdateResponse } from '../GoogleOneTapClient-C8tXxrMo.js'; type StringLiteralFromEnum = `${T}`; type EnumOrStringLiteral = T | StringLiteralFromEnum; /** * The style configuration allows you to customize the look of the Admin Portal. * You can specify some of them or none at all. */ interface AdminPortalStyleConfig { /** * The configuration object for the Admin Portal container. */ container: { /** * The background color of the Admin Portal container. */ backgroundColor: string; /** * The border color of the Admin Portal container. */ borderColor: string; /** * The border radius of the Admin Portal container. */ borderRadius: string; /** * The width of the Admin Portal container. */ width: string; /** * The border width of the Admin Portal container. */ borderWidth: string | number; /** * The padding of the Admin Portal container. */ padding: string | number; }; /** * The configuration object for colors used in the Admin Portal. */ colors: { /** * Your primary brand color. This will be applied to most of the text in the * Admin Portal. */ primary: string; /** * Your secondary brand color. This will be applied to text disclaimers and * other visual elements. */ secondary: string; /** * A success color to be used in visual elements. */ success: string; /** * An error color to be used in visual elements. */ error: string; /** * The text color for accent elements. This will be used for tags and select * chips in the Admin Portal. */ accentText: string; /** * An accent color to be used in visual elements. This will be applied to * the background of tags and select chips in the Admin Portal. */ accent: string; /** * The color used for miscellaneous elements that don't require visual * elements, like dividers and table, popover menu, and accordion borders. */ subtle: string; }; /** * The configuration object for buttons in the Admin Portal. */ buttons: { /** * The configuration object for primary buttons. */ primary: { /** * The background color of the primary button. */ backgroundColor: string; /** * The text color of the primary button. */ textColor: string; /** * The border color of the primary button. */ borderColor: string; /** * The border radius of the primary button. */ borderRadius: string; }; /** * The configuration object for secondary buttons. */ secondary: { /** * The background color of the secondary button. */ backgroundColor: string; /** * The text color of the secondary button. */ textColor: string; /** * The border color of the secondary button. */ borderColor: string; /** * The border radius of the secondary button. */ borderRadius: string; }; /** * The configuration object for disabled buttons. */ disabled: { /** * The background color of the disabled button. */ backgroundColor: string; /** * The text color of the disabled button. */ textColor: string; /** * The border color of the disabled button. */ borderColor: string; /** * The border radius of the disabled button. */ borderRadius: string; }; }; /** * The configuration object for text inputs in the Admin Portal. */ inputs: { /** * The background color of the text inputs. */ backgroundColor: string; /** * The text color of the text inputs. */ textColor: string; /** * The color of the placeholder text in the text inputs. */ placeholderColor: string; /** * The border color of the text inputs. */ borderColor: string; /** * The border radius of the text inputs. */ borderRadius: string; }; /** * The font family that will apply to text in the Admin Portal. */ fontFamily: string; /** * The default border radius for elements in the Admin Portal. */ borderRadius: string; } interface AdminPortalCommonProps { /** * The Stytch B2B client to use. */ client: StytchB2BClient; /** * An {@link AdminPortalStyleConfig} object containing custom styling info. */ styles?: PartialDeep; } interface AdminPortalUIConfigRoleDisplayProvider { /** * A function that returns the display name for a role. By default, the role's * ID is used as the display name. * * @param role The role to get the display name for. * @returns The display name for the role. */ getRoleDisplayName?: (role: RBACPolicyRole) => string; /** * A function that returns the description for a role. By default, the * description assigned to the role is used as is. * * @param role The role to get the description for. * @returns The description for the role. */ getRoleDescription?: (role: RBACPolicyRole) => string; /** * A function that returns the sorted order of roles based on a custom list of role IDs. * * @param roles The list of roles to be sorted. Each role is an object that includes the role ID. * @returns An array of role IDs representing the desired sort order. The returned * list may include a subset of role IDs from the input. Roles included in this array * will be sorted first. Any roles not specified in the array will appear after the * specified roles. */ getRoleSortOrder?: (roles: RBACPolicyRole[]) => string[]; } /** * The UI configuration object for member management used in the Admin Portal. */ interface AdminPortalMemberManagementUIConfig extends AdminPortalUIConfigRoleDisplayProvider { /** * The ID of the template to use when sending an invitation to join. */ inviteTemplateId?: string; /** * The URL that the invited members click from the Email Magic Link. * If this value is not passed, the default `invite_redirect_url` that you set in your Dashboard is used. */ inviteRedirectURL?: string; /** * The expiration time for the Magic Link in the invite email, in minutes. * Defaults to 10080 (1 week), minimum 5, maximum 10080. */ inviteExpirationMinutes?: number; } interface AdminPortalMemberManagementMountOptions extends AdminPortalCommonProps { /** * An {@link AdminPortalMemberManagementUIConfig} object containing custom configuration. */ config?: AdminPortalMemberManagementUIConfig; } /** * The UI configuration object for SCIM used in the Admin Portal. */ type AdminPortalSCIMUIConfig = AdminPortalUIConfigRoleDisplayProvider; interface AdminPortalSCIMMountOptions extends AdminPortalCommonProps { /** * An {@link AdminPortalSCIMUIConfig} object containing custom configuration. */ config?: AdminPortalSCIMUIConfig; } declare enum AdminPortalB2BProducts { emailMagicLinks = "emailMagicLinks", emailOtp = "emailOtp", sso = "sso", password = "password", oauthGoogle = "oauthGoogle", oauthMicrosoft = "oauthMicrosoft", oauthHubspot = "oauthHubspot", oauthSlack = "oauthSlack", oauthGithub = "oauthGithub" } /** * The UI configuration object for organization used in the Admin Portal. */ interface AdminPortalOrgUIConfig extends AdminPortalUIConfigRoleDisplayProvider { /** * Specify the auth methods that a member can choose to enable when restricting the organization's allowed auth methods. * If not specified, all auth methods are shown. */ allowedAuthMethods?: EnumOrStringLiteral[]; /** * Specify the MFA auth methods that a member can choose to enable when restricting the organization's allowed auth methods. * If not specified, all auth methods are shown. */ allowedMfaAuthMethods?: B2BMFAProducts[]; } interface AdminPortalOrgSettingsMountOptions extends AdminPortalCommonProps { /** * An {@link AdminPortalOrgUIConfig} object containing custom configuration. */ config?: AdminPortalOrgUIConfig; } /** * The UI configuration object for SSO configuration used in the Admin Portal. */ type AdminPortalSSOUIConfig = AdminPortalUIConfigRoleDisplayProvider & { /** * The URL used when testing SSO connections via the test button on the SSO Connection Details screen. * If this value is not passed, the default `login_redirect_url` that you set in your Dashboard is used. */ testLoginRedirectURL?: string; /** * The URL used when testing SSO connections via the test button on the SSO Connection Details screen. * If this value is not passed, the default `signup_redirect_url` that you set in your Dashboard is used. */ testSignupRedirectURL?: string; }; interface AdminPortalSSOMountOptions extends AdminPortalCommonProps { /** * An {@link AdminPortalSSOUIConfig} object containing custom configuration. */ config?: AdminPortalSSOUIConfig; } type AdminPortalWebComponentOption = { /** * An HTML element or query selector string for the element that should contain the UI. * @example '#container' */ element: string | HTMLElement; }; /** * Mounts the Admin Portal Member Management component inside the element provided. * If the component already been rendered inside the element, it will be updated * to use the new options passed in. * @example * mountAdminPortalMemberManagement({ * client: stytchClient, * element: '#container', * styles: {...} * }); * * @throws An error when the element specified cannot be found. */ declare const mountAdminPortalMemberManagement: (options: AdminPortalMemberManagementMountOptions> & AdminPortalWebComponentOption) => void; /** * Mounts the Admin Portal Organization Settings Management component inside the element provided. * If the component already been rendered inside the element, it will be updated * to use the new options passed in. * @example * mountAdminPortalOrgSettings{ * client: stytchClient, * element: '#container', * styles: {...}, * config: {...}, * }); * * @throws An error when the element specified by element cannot be found. */ declare const mountAdminPortalOrgSettings: (options: AdminPortalOrgSettingsMountOptions> & AdminPortalWebComponentOption) => void; /** * Mounts the Admin Portal SCIM Management component inside the element provided. * If the component already been rendered inside the element, it will be updated * to use the new options passed in. * @example * mountAdminPortalSCIM{ * client: stytchClient, * element: '#container', * styles: {...}, * }); * * @throws An error when the element specified by element cannot be found. */ declare const mountAdminPortalSCIM: (options: AdminPortalSCIMMountOptions> & AdminPortalWebComponentOption) => void; /** * Mounts the Admin Portal SSO Management component inside the element provided. * If the component already been rendered inside the element, it will be updated * to use the new options passed in. * @example * mountAdminPortalSSO({ * client: stytchClient, * element: '#container', * styles: {...} * }); * * @throws An error when the element specified by elementId cannot be found. */ declare const mountAdminPortalSSO: (options: AdminPortalSSOMountOptions> & AdminPortalWebComponentOption) => void; export { AdminPortalB2BProducts, B2BMFAProducts, StytchProjectConfiguration, StytchProjectConfigurationInput, mountAdminPortalMemberManagement, mountAdminPortalOrgSettings, mountAdminPortalSCIM, mountAdminPortalSSO }; export type { AdminPortalCommonProps, AdminPortalMemberManagementMountOptions, AdminPortalOrgSettingsMountOptions, AdminPortalSCIMMountOptions, AdminPortalSSOMountOptions, AdminPortalStyleConfig };