@logto/schemas 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alterations/1.18.0-1717567857-social-sign-in-linking.ts +18 -0
- package/alterations/1.18.0-1717597875-add-organization-email-domains-table.ts +31 -0
- package/alterations/1.18.0-1717818597-organization-mfa-requirement.ts +18 -0
- package/alterations/1.18.0-1718340884-rename-org-email-domains-and-add-jit-roles-table.ts +56 -0
- package/alterations/1.18.0-1718594164-add-agree-to-terms-policy.ts +40 -0
- package/alterations/1.18.0-1718785576-organization-application-relations.ts +37 -0
- package/alterations/1.18.0-1718786576-organization-jit-sso-connectors.ts +31 -0
- package/alterations/1.18.0-1718807616-organization-role-application-relations.ts +34 -0
- package/alterations/1.18.0-1718865814-add-subject-tokens.ts +36 -0
- package/alterations/1.18.0-1719014832-organization-role-types.ts +35 -0
- package/alterations/1.18.0-1719221205-fix-functions.ts +25 -0
- package/alterations/1.18.0-1719312694-custom-ui-assets.ts +18 -0
- package/alterations/1.19.0-1720253939-add-organization-branding.ts +18 -0
- package/alterations/1.19.0-1720345784-add-color-to-app-sie.ts +18 -0
- package/alterations/1.19.0-1720505152-update-custom-ui-assets.ts +20 -0
- package/alterations/1.19.0-1721483240-multiple-app-secrets.ts +77 -0
- package/alterations/1.19.0-1721645392-add-application-custom-data-column.ts +18 -0
- package/alterations/1.19.0-1722926389-argon2d-argon2id.ts +35 -0
- package/alterations-js/1.18.0-1717567857-social-sign-in-linking.js +14 -0
- package/alterations-js/1.18.0-1717597875-add-organization-email-domains-table.js +26 -0
- package/alterations-js/1.18.0-1717818597-organization-mfa-requirement.js +14 -0
- package/alterations-js/1.18.0-1718340884-rename-org-email-domains-and-add-jit-roles-table.js +51 -0
- package/alterations-js/1.18.0-1718594164-add-agree-to-terms-policy.js +34 -0
- package/alterations-js/1.18.0-1718785576-organization-application-relations.js +32 -0
- package/alterations-js/1.18.0-1718786576-organization-jit-sso-connectors.js +26 -0
- package/alterations-js/1.18.0-1718807616-organization-role-application-relations.js +29 -0
- package/alterations-js/1.18.0-1718865814-add-subject-tokens.js +31 -0
- package/alterations-js/1.18.0-1719014832-organization-role-types.js +31 -0
- package/alterations-js/1.18.0-1719221205-fix-functions.js +20 -0
- package/alterations-js/1.18.0-1719312694-custom-ui-assets.js +14 -0
- package/alterations-js/1.19.0-1720253939-add-organization-branding.js +14 -0
- package/alterations-js/1.19.0-1720345784-add-color-to-app-sie.js +14 -0
- package/alterations-js/1.19.0-1720505152-update-custom-ui-assets.js +16 -0
- package/alterations-js/1.19.0-1721483240-multiple-app-secrets.js +72 -0
- package/alterations-js/1.19.0-1721645392-add-application-custom-data-column.js +14 -0
- package/alterations-js/1.19.0-1722926389-argon2d-argon2id.js +30 -0
- package/lib/consts/oidc.d.ts +15 -2
- package/lib/consts/oidc.js +6 -0
- package/lib/consts/subscriptions.d.ts +9 -6
- package/lib/consts/subscriptions.js +8 -5
- package/lib/consts/system.d.ts +2 -0
- package/lib/consts/system.js +2 -0
- package/lib/db-entries/application-secret.d.ts +28 -0
- package/lib/db-entries/application-secret.js +41 -0
- package/lib/db-entries/application-sign-in-experience.d.ts +4 -2
- package/lib/db-entries/application-sign-in-experience.js +5 -1
- package/lib/db-entries/application.d.ts +6 -2
- package/lib/db-entries/application.js +5 -1
- package/lib/db-entries/custom-types.d.ts +7 -0
- package/lib/db-entries/custom-types.js +8 -0
- package/lib/db-entries/index.d.ts +7 -0
- package/lib/db-entries/index.js +7 -0
- package/lib/db-entries/organization-application-relation.d.ts +20 -0
- package/lib/db-entries/organization-application-relation.js +29 -0
- package/lib/db-entries/organization-jit-email-domain.d.ts +24 -0
- package/lib/db-entries/organization-jit-email-domain.js +29 -0
- package/lib/db-entries/organization-jit-role.d.ts +24 -0
- package/lib/db-entries/organization-jit-role.js +29 -0
- package/lib/db-entries/organization-jit-sso-connector.d.ts +22 -0
- package/lib/db-entries/organization-jit-sso-connector.js +29 -0
- package/lib/db-entries/organization-role-application-relation.d.ts +22 -0
- package/lib/db-entries/organization-role-application-relation.js +33 -0
- package/lib/db-entries/organization-role.d.ts +6 -1
- package/lib/db-entries/organization-role.js +5 -0
- package/lib/db-entries/organization.d.ts +10 -2
- package/lib/db-entries/organization.js +9 -1
- package/lib/db-entries/sign-in-experience.d.ts +11 -3
- package/lib/db-entries/sign-in-experience.js +14 -2
- package/lib/db-entries/subject-token.d.ts +28 -0
- package/lib/db-entries/subject-token.js +50 -0
- package/lib/foundations/jsonb-types/hooks.d.ts +0 -4
- package/lib/foundations/jsonb-types/hooks.js +1 -4
- package/lib/foundations/jsonb-types/oidc-module.d.ts +33 -1
- package/lib/foundations/jsonb-types/oidc-module.js +2 -0
- package/lib/foundations/jsonb-types/sign-in-experience.d.ts +47 -0
- package/lib/foundations/jsonb-types/sign-in-experience.js +21 -4
- package/lib/foundations/jsonb-types/users.d.ts +6 -6
- package/lib/foundations/jsonb-types/users.js +2 -2
- package/lib/seeds/application.js +1 -0
- package/lib/seeds/cloud-api.d.ts +1 -1
- package/lib/seeds/sign-in-experience.d.ts +1 -0
- package/lib/seeds/sign-in-experience.js +2 -1
- package/lib/types/application.d.ts +85 -167
- package/lib/types/connector.d.ts +723 -191
- package/lib/types/consent.d.ts +181 -42
- package/lib/types/cookie.d.ts +7 -1
- package/lib/types/cookie.js +3 -1
- package/lib/types/domain.d.ts +2 -10
- package/lib/types/hook.d.ts +14 -21
- package/lib/types/index.d.ts +3 -0
- package/lib/types/index.js +3 -0
- package/lib/types/interactions.d.ts +313 -29
- package/lib/types/interactions.js +92 -9
- package/lib/types/log/interaction.d.ts +4 -3
- package/lib/types/log/interaction.js +1 -0
- package/lib/types/log/token.d.ts +2 -1
- package/lib/types/log/token.js +1 -0
- package/lib/types/logto-config/index.d.ts +277 -242
- package/lib/types/logto-config/jwt-customizer.d.ts +642 -476
- package/lib/types/logto-config/jwt-customizer.js +13 -2
- package/lib/types/logto-config/oidc-provider.d.ts +6 -6
- package/lib/types/mfa.d.ts +16 -16
- package/lib/types/oidc-config.d.ts +2 -1
- package/lib/types/oidc-config.js +1 -0
- package/lib/types/organization.d.ts +12 -3
- package/lib/types/organization.js +4 -1
- package/lib/types/role.d.ts +6 -1
- package/lib/types/role.js +6 -1
- package/lib/types/scope.d.ts +7 -6
- package/lib/types/sign-in-experience.d.ts +997 -0
- package/lib/types/sign-in-experience.js +21 -0
- package/lib/types/sso-connector.d.ts +14 -19
- package/lib/types/ssr.d.ts +25 -0
- package/lib/types/ssr.js +9 -0
- package/lib/types/subject-token.d.ts +12 -0
- package/lib/types/subject-token.js +5 -0
- package/lib/types/system.d.ts +11 -7
- package/lib/types/system.js +4 -0
- package/lib/types/tenant-organization.d.ts +1 -0
- package/lib/types/tenant-organization.js +3 -0
- package/lib/types/user-assets.d.ts +25 -5
- package/lib/types/user-assets.js +20 -1
- package/lib/types/user.d.ts +84 -120
- package/lib/utils/application.d.ts +3 -0
- package/lib/utils/application.js +7 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +1 -0
- package/lib/utils/zod.d.ts +1 -1
- package/package.json +9 -9
- package/tables/application_secrets.sql +17 -0
- package/tables/application_sign_in_experiences.sql +1 -1
- package/tables/applications.sql +10 -0
- package/tables/organization_application_relations.sql +14 -0
- package/tables/organization_jit_email_domains.sql +13 -0
- package/tables/organization_jit_roles.sql +14 -0
- package/tables/organization_jit_sso_connectors.sql +13 -0
- package/tables/organization_role_application_relations.sql +18 -0
- package/tables/organization_role_user_relations.sql +3 -1
- package/tables/organization_roles.sql +8 -1
- package/tables/organizations.sql +4 -0
- package/tables/sign_in_experiences.sql +5 -0
- package/tables/subject_tokens.sql +16 -0
- package/tables/users.sql +1 -1
- package/alterations-js/1.0.0-1677208902-update-admin-console-config.d.ts +0 -3
- package/alterations-js/1.0.0-1677765137-seed-for-admin-tenant.d.ts +0 -3
- package/alterations-js/1.0.0-1677907982-allow-admin-create-multiple-tenants.d.ts +0 -3
- package/alterations-js/1.0.0-1678157950-privacy-policy-url.d.ts +0 -3
- package/alterations-js/1.0.0-1678199795-add-verification-status-table.d.ts +0 -3
- package/alterations-js/1.0.0-1678259693-remove-branding-style-config.d.ts +0 -3
- package/alterations-js/1.0.0-1678269972-use-restrictive-policies.d.ts +0 -3
- package/alterations-js/1.0.0-1678284778-restrict-internal-roles.d.ts +0 -3
- package/alterations-js/1.0.0-1678425761-m2m-app-for-tenants.d.ts +0 -3
- package/alterations-js/1.0.0-1678450233-support-custom-content.d.ts +0 -3
- package/alterations-js/1.0.0-1678716747-service-logs.d.ts +0 -3
- package/alterations-js/1.0.0-1678928481-remove-deprecated-logto-config-item.d.ts +0 -3
- package/alterations-js/1.0.0-1678953179-update-get-started-task-config.d.ts +0 -3
- package/alterations-js/1.0.0-1679209413-drop-connector-database-storage.d.ts +0 -3
- package/alterations-js/1.0.0_beta.10-1-logto-config.d.ts +0 -3
- package/alterations-js/1.0.0_beta.10-1663923211-machine-to-machine-app.d.ts +0 -3
- package/alterations-js/1.0.0_beta.10-1664265197-custom-phrases.d.ts +0 -3
- package/alterations-js/1.0.0_beta.11-1664347703-rename-language-key-to-tag.d.ts +0 -3
- package/alterations-js/1.0.0_beta.11-1664356000-add-created-at-column-to-users.d.ts +0 -3
- package/alterations-js/1.0.0_beta.11-1664462389-correct-user-created-at-column-by-user-logs.d.ts +0 -3
- package/alterations-js/1.0.0_beta.14-1665300135-sign-in-sign-up.d.ts +0 -3
- package/alterations-js/1.0.0_beta.14-1667283640-remove-forgot-password.d.ts +0 -3
- package/alterations-js/1.0.0_beta.14-1667292082-remove-sign-in-method.d.ts +0 -3
- package/alterations-js/1.0.0_beta.14-1667374974-user-suspend.d.ts +0 -3
- package/alterations-js/1.0.0_beta.14-1667900481-add-passcode-type-continue.d.ts +0 -3
- package/alterations-js/1.0.0_beta.18-1668666590-support-multiple-connector-instances.d.ts +0 -3
- package/alterations-js/1.0.0_beta.18-1668666600-remove-connector-enabled.d.ts +0 -3
- package/alterations-js/1.0.0_beta.18-1669091623-roles-and-scopes.d.ts +0 -3
- package/alterations-js/1.0.0_beta.18-1669702299-sign-up.d.ts +0 -3
- package/alterations-js/1.0.0_beta.18-1671039448-add-user-name-index.d.ts +0 -3
- package/alterations-js/1.0.0_beta.18-1671080370-terms-of-use.d.ts +0 -3
- package/alterations-js/1.0.0_beta.18-1671336831-refactor-log-types.d.ts +0 -3
- package/alterations-js/1.0.0_beta.18-1671509870-hooks.d.ts +0 -3
- package/alterations-js/1.0.0_beta.18-1672119200-align-passcode-type-with-message-type.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1672815959-user-roles.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1672820345-scope-resource-id.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1672901841-roles-and-scopes-not-null.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1673001922-support-generic-passcode.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1673165463-scope-name-index.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1673349501-sms-sign-in-identifier-to-phone.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1673465463-ac-scope-name.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1673853579-ac-default-scope.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1673863835-ac-scope-role.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1673882867-fix-alteration-issues.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1673940577-scope-description-not-null.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1673941897-application-roles.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1674032095.1-dedup-resources-constraint.d.ts +0 -4
- package/alterations-js/1.0.0_rc.0-1674032095.2-oidc-model-pkey.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1674032095.3-tenant-table.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1674032095.4-add-id-column.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1674032095.5-multi-tenancy.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1674032095.6-add-tenant-id-trigger.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1674987042-drop-settings-and-create-systems.d.ts +0 -3
- package/alterations-js/1.0.0_rc.0-1675316731-update-seed-data.d.ts +0 -3
- package/alterations-js/1.0.0_rc.1-1675788753-multi-tenancy-rls.d.ts +0 -3
- package/alterations-js/1.0.0_rc.1-1676115897-add-admin-tenant.d.ts +0 -3
- package/alterations-js/1.0.0_rc.1-1676185899-fix-logs-index.d.ts +0 -3
- package/alterations-js/1.0.0_rc.1-1676190092-migrate-admin-data.d.ts +0 -3
- package/alterations-js/1.0.0_rc.1-1676823841-update-sie-primary-key.d.ts +0 -3
- package/alterations-js/1.0.0_rc.1-1676874936-support-custom-css.d.ts +0 -3
- package/alterations-js/1.0.0_rc.1-1676886855-connector-database-read-write.d.ts +0 -3
- package/alterations-js/1.0.0_rc.1-1676906977-remove-demo-app.d.ts +0 -3
- package/alterations-js/1.0.0_rc.1-1676956206-move-console-sie-to-database.d.ts +0 -3
- package/alterations-js/1.0.0_rc.1-1677059985-move-console-application-to-database.d.ts +0 -3
- package/alterations-js/1.10.1-1695647183-update-private-key-type.d.ts +0 -3
- package/alterations-js/1.10.1-1696657546-organization-tables.d.ts +0 -3
- package/alterations-js/1.10.1-1697683802-add-sso-connectors-table.d.ts +0 -3
- package/alterations-js/1.10.1-1698646271-add-organization-created-flag.d.ts +0 -3
- package/alterations-js/1.10.1-1698820410-add-user-sso-identities-table.d.ts +0 -4
- package/alterations-js/1.10.1-1698910485-user-logto-data.d.ts +0 -3
- package/alterations-js/1.11.0-1699422979-add-sso-connector-id-col-to-user-sso-identities-table.d.ts +0 -3
- package/alterations-js/1.11.0-1699598903-remove-sso-only-column-in-sso-connectors-table.d.ts +0 -3
- package/alterations-js/1.12.0-1700031616-update-org-role-foreign-keys.d.ts +0 -3
- package/alterations-js/1.12.0-1701054133-add-unique-constraint-to-the-sso-connector-name.d.ts +0 -3
- package/alterations-js/1.12.0-1701245520-add-single-sign-on-enabled-flag-to-sie.d.ts +0 -3
- package/alterations-js/1.13.0-1702274830-add-new-third-party-column-to-applications-table.d.ts +0 -3
- package/alterations-js/1.13.0-1702372401-add-application-permissions-tables.d.ts +0 -3
- package/alterations-js/1.13.0-1702544178-sync-tenant-orgs.d.ts +0 -18
- package/alterations-js/1.13.0-1702871078-protected-application-type.d.ts +0 -3
- package/alterations-js/1.13.0-1702877515-protected-app-configs.d.ts +0 -3
- package/alterations-js/1.13.0-1702978120-application-sign-in-experience-table.d.ts +0 -3
- package/alterations-js/1.13.0-1703229996-daily-token-usage.d.ts +0 -3
- package/alterations-js/1.13.0-1703230000-update-tenant-roles.d.ts +0 -11
- package/alterations-js/1.13.0-1704692973-remove-legacy-resources.d.ts +0 -3
- package/alterations-js/1.13.0-1704934999-add-magic-links-table.d.ts +0 -3
- package/alterations-js/1.13.0-1704935001-add-organization-invitation-tables.d.ts +0 -3
- package/alterations-js/1.13.0-1705288654-add-application-user-consent-organizations-table.d.ts +0 -3
- package/alterations-js/1.13.0-1705991158-update-invitation-indices.d.ts +0 -7
- package/alterations-js/1.13.0-1706449174-update-organization-invitation-column.d.ts +0 -3
- package/alterations-js/1.13.0-1706510290-protected-app-host-index.d.ts +0 -3
- package/alterations-js/1.13.0-1706512952-restore-get-started-page.d.ts +0 -3
- package/alterations-js/1.13.0-1706528755-remove-magic-links.d.ts +0 -3
- package/alterations-js/1.13.0-1706585206-protected-app-custom-domain-unique.d.ts +0 -3
- package/alterations-js/1.13.1-1707360939-grant-is-suspended-read-permission.d.ts +0 -6
- package/alterations-js/1.14.0-1708916601-remove-management-api-scopes-assigned-to-user-role.d.ts +0 -3
- package/alterations-js/1.14.0-1709190131-enhance-dau-data-accuracy.d.ts +0 -3
- package/alterations-js/1.15.0-1709521416-user-password-encrypt-method.d.ts +0 -3
- package/alterations-js/1.15.0-1709528944-regenerate-dau-data.d.ts +0 -3
- package/alterations-js/1.15.0-1710223946-add-fetch-custom-jwt-cloud-scope.d.ts +0 -3
- package/alterations-js/1.15.0-1710408335-make-resource-scopes-description-nullable.d.ts +0 -3
- package/alterations-js/1.15.0-1710859622-add-oidc-standard-claim-properties.d.ts +0 -3
- package/alterations-js/1.15.0-1711607772-remove-invite-member-scope-from-tenant-member-role.d.ts +0 -3
- package/alterations-js/1.15.0-1711624564-add-read-member-scope-to-tenant-roles.d.ts +0 -3
- package/alterations-js/1.15.0-1711955211-organization-resource-scope.d.ts +0 -3
- package/alterations-js/1.15.0-1712041436-rename-organization-member-role-to-collaborator.d.ts +0 -3
- package/alterations-js/1.15.0-1712545011-fix-organization-resource-scope.d.ts +0 -8
- package/alterations-js/1.15.0-1712559358-fix-down-organization-resource-scope.d.ts +0 -8
- package/alterations-js/1.16.0-1712912361-delete-jwt-customier-with-empty-script.d.ts +0 -3
- package/alterations-js/1.16.0-1713942039-add-organization-custom-data.d.ts +0 -4
- package/alterations-js/1.16.0-1714270244-application-org-resource-scope.d.ts +0 -3
- package/alterations-js/1.17.0-1715826336-add-default-user-role-config.d.ts +0 -3
- package/alterations-js/1.17.0-1715829731-rename-data-hook-schema-update-event.d.ts +0 -3
- package/alterations-js/1.17.0-1716278409-remove-internal-role-database-policies.d.ts +0 -3
- package/alterations-js/1.17.0-1716291265-create-pre-configured-m-api-role.d.ts +0 -7
- package/alterations-js/1.17.0-1717148078-remove-service-log-reference.d.ts +0 -3
- package/alterations-js/1.2.0-1681267285-fix-get-started-passwordless-status.d.ts +0 -3
- package/alterations-js/1.3.0-1683292832-update-hooks.d.ts +0 -3
- package/alterations-js/1.5.0-1684382842-add-name-tag-created-at-for-tenants-table.d.ts +0 -3
- package/alterations-js/1.5.0-1684739802-create-hook-id-index-for-logs.d.ts +0 -3
- package/alterations-js/1.5.0-1684822341-init-domains.d.ts +0 -3
- package/alterations-js/1.5.0-1684837981-add-manage-tenant-self-scope-to-user-role.d.ts +0 -3
- package/alterations-js/1.5.0-1685285719-support-default-resource.d.ts +0 -3
- package/alterations-js/1.6.0-1685691718-domain-unique.d.ts +0 -3
- package/alterations-js/1.7.0-1688375200-sync-cloud-m2m-to-logto-config.d.ts +0 -3
- package/alterations-js/1.7.0-1688613459-remove-m2m-credentials-from-existing-logto-email-connector-config.d.ts +0 -3
- package/alterations-js/1.7.0-1688627407-daily-active-users.d.ts +0 -3
- package/alterations-js/1.8.0-1692088012-add-is-suspend-column-to-tenants-table.d.ts +0 -3
- package/alterations-js/1.8.0-1692194751-add-affiliate-scopes.d.ts +0 -3
- package/alterations-js/1.9.0-1693554904-add-possword-policy.d.ts +0 -4
- package/alterations-js/1.9.0-1694399696-add-type-col-to-roles-table.d.ts +0 -3
- package/alterations-js/1.9.0-1694418765-specify-check-role-type-function-to-be-public-schema.d.ts +0 -9
- package/alterations-js/1.9.0-1694484927-remove-deprecated-challenge-flag.d.ts +0 -3
- package/alterations-js/1.9.0-1694487524-sie-mfa.d.ts +0 -3
- package/alterations-js/1.9.0-1694509714-keep-existing-password-policy.d.ts +0 -3
- package/alterations-js/1.9.0-1694746763-user-verifications.d.ts +0 -3
- package/alterations-js/1.9.2-1694854226-init-sentinel.d.ts +0 -3
- package/alterations-js/1.9.2-1695198741-remove-m2m-app-admin-access-switch.d.ts +0 -3
- package/alterations-js/utils/1704934999-tables.d.ts +0 -11
- package/alterations-js/utils/1716643968-id-generation.d.ts +0 -19
|
@@ -0,0 +1,997 @@
|
|
|
1
|
+
import { type ConnectorMetadata, type GoogleOneTapConfig } from '@logto/connector-kit';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { type SignInExperience } from '../db-entries/index.js';
|
|
4
|
+
import { type SsoConnectorMetadata } from './sso-connector.js';
|
|
5
|
+
type ForgotPassword = {
|
|
6
|
+
phone: boolean;
|
|
7
|
+
email: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Basic information about a social connector for sign-in experience rendering. This type can avoid
|
|
11
|
+
* the need to load the full connector metadata that is not needed for rendering.
|
|
12
|
+
*/
|
|
13
|
+
export type ExperienceSocialConnector = Omit<ConnectorMetadata, 'description' | 'configTemplate' | 'formItems' | 'readme' | 'customData'>;
|
|
14
|
+
export type FullSignInExperience = SignInExperience & {
|
|
15
|
+
socialConnectors: ExperienceSocialConnector[];
|
|
16
|
+
ssoConnectors: SsoConnectorMetadata[];
|
|
17
|
+
forgotPassword: ForgotPassword;
|
|
18
|
+
isDevelopmentTenant: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The Google One Tap configuration if the Google connector is enabled and configured.
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* We need to use a standalone property for the Google One Tap configuration because it needs
|
|
24
|
+
* data from database entries that other connectors don't need. Thus we manually extract the
|
|
25
|
+
* minimal data needed here.
|
|
26
|
+
*/
|
|
27
|
+
googleOneTap?: GoogleOneTapConfig & {
|
|
28
|
+
clientId: string;
|
|
29
|
+
connectorId: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export declare const fullSignInExperienceGuard: z.ZodObject<z.objectUtil.extendShape<{
|
|
33
|
+
tenantId: z.ZodType<string, z.ZodTypeDef, string>;
|
|
34
|
+
id: z.ZodType<string, z.ZodTypeDef, string>;
|
|
35
|
+
color: z.ZodType<{
|
|
36
|
+
primaryColor: string;
|
|
37
|
+
isDarkModeEnabled: boolean;
|
|
38
|
+
darkPrimaryColor: string;
|
|
39
|
+
}, z.ZodTypeDef, {
|
|
40
|
+
primaryColor: string;
|
|
41
|
+
isDarkModeEnabled: boolean;
|
|
42
|
+
darkPrimaryColor: string;
|
|
43
|
+
}>;
|
|
44
|
+
branding: z.ZodType<{
|
|
45
|
+
logoUrl?: string | undefined;
|
|
46
|
+
darkLogoUrl?: string | undefined;
|
|
47
|
+
favicon?: string | undefined;
|
|
48
|
+
darkFavicon?: string | undefined;
|
|
49
|
+
}, z.ZodTypeDef, {
|
|
50
|
+
logoUrl?: string | undefined;
|
|
51
|
+
darkLogoUrl?: string | undefined;
|
|
52
|
+
favicon?: string | undefined;
|
|
53
|
+
darkFavicon?: string | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
languageInfo: z.ZodType<{
|
|
56
|
+
autoDetect: boolean;
|
|
57
|
+
fallbackLanguage: "af-ZA" | "am-ET" | "ar-AR" | "as-IN" | "az-AZ" | "be-BY" | "bg-BG" | "bn-IN" | "br-FR" | "bs-BA" | "ca-ES" | "cb-IQ" | "co-FR" | "cs-CZ" | "cx-PH" | "cy-GB" | "da-DK" | "de" | "de-DE" | "el-GR" | "en" | "en-GB" | "en-US" | "eo-EO" | "es" | "es-ES" | "es-419" | "et-EE" | "eu-ES" | "fa-IR" | "ff-NG" | "fi-FI" | "fo-FO" | "fr" | "fr-CA" | "fr-FR" | "fy-NL" | "ga-IE" | "gl-ES" | "gn-PY" | "gu-IN" | "ha-NG" | "he-IL" | "hi-IN" | "hr-HR" | "ht-HT" | "hu-HU" | "hy-AM" | "id-ID" | "ik-US" | "is-IS" | "it" | "it-IT" | "iu-CA" | "ja" | "ja-JP" | "ja-KS" | "jv-ID" | "ka-GE" | "kk-KZ" | "km-KH" | "kn-IN" | "ko" | "ko-KR" | "ku-TR" | "ky-KG" | "lo-LA" | "lt-LT" | "lv-LV" | "mg-MG" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "ms-MY" | "mt-MT" | "my-MM" | "nb-NO" | "ne-NP" | "nl-BE" | "nl-NL" | "nn-NO" | "or-IN" | "pa-IN" | "pl-PL" | "ps-AF" | "pt" | "pt-BR" | "pt-PT" | "ro-RO" | "ru" | "ru-RU" | "rw-RW" | "sc-IT" | "si-LK" | "sk-SK" | "sl-SI" | "sn-ZW" | "sq-AL" | "sr-RS" | "sv-SE" | "sw-KE" | "sy-SY" | "sz-PL" | "ta-IN" | "te-IN" | "tg-TJ" | "th-TH" | "tl-PH" | "tr" | "tr-TR" | "tt-RU" | "tz-MA" | "uk-UA" | "ur-PK" | "uz-UZ" | "vi-VN" | "zh" | "zh-CN" | "zh-HK" | "zh-MO" | "zh-TW" | "zz-TR";
|
|
58
|
+
}, z.ZodTypeDef, {
|
|
59
|
+
autoDetect: boolean;
|
|
60
|
+
fallbackLanguage: "af-ZA" | "am-ET" | "ar-AR" | "as-IN" | "az-AZ" | "be-BY" | "bg-BG" | "bn-IN" | "br-FR" | "bs-BA" | "ca-ES" | "cb-IQ" | "co-FR" | "cs-CZ" | "cx-PH" | "cy-GB" | "da-DK" | "de" | "de-DE" | "el-GR" | "en" | "en-GB" | "en-US" | "eo-EO" | "es" | "es-ES" | "es-419" | "et-EE" | "eu-ES" | "fa-IR" | "ff-NG" | "fi-FI" | "fo-FO" | "fr" | "fr-CA" | "fr-FR" | "fy-NL" | "ga-IE" | "gl-ES" | "gn-PY" | "gu-IN" | "ha-NG" | "he-IL" | "hi-IN" | "hr-HR" | "ht-HT" | "hu-HU" | "hy-AM" | "id-ID" | "ik-US" | "is-IS" | "it" | "it-IT" | "iu-CA" | "ja" | "ja-JP" | "ja-KS" | "jv-ID" | "ka-GE" | "kk-KZ" | "km-KH" | "kn-IN" | "ko" | "ko-KR" | "ku-TR" | "ky-KG" | "lo-LA" | "lt-LT" | "lv-LV" | "mg-MG" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "ms-MY" | "mt-MT" | "my-MM" | "nb-NO" | "ne-NP" | "nl-BE" | "nl-NL" | "nn-NO" | "or-IN" | "pa-IN" | "pl-PL" | "ps-AF" | "pt" | "pt-BR" | "pt-PT" | "ro-RO" | "ru" | "ru-RU" | "rw-RW" | "sc-IT" | "si-LK" | "sk-SK" | "sl-SI" | "sn-ZW" | "sq-AL" | "sr-RS" | "sv-SE" | "sw-KE" | "sy-SY" | "sz-PL" | "ta-IN" | "te-IN" | "tg-TJ" | "th-TH" | "tl-PH" | "tr" | "tr-TR" | "tt-RU" | "tz-MA" | "uk-UA" | "ur-PK" | "uz-UZ" | "vi-VN" | "zh" | "zh-CN" | "zh-HK" | "zh-MO" | "zh-TW" | "zz-TR";
|
|
61
|
+
}>;
|
|
62
|
+
termsOfUseUrl: z.ZodType<string | null, z.ZodTypeDef, string | null>;
|
|
63
|
+
privacyPolicyUrl: z.ZodType<string | null, z.ZodTypeDef, string | null>;
|
|
64
|
+
agreeToTermsPolicy: z.ZodType<import("../db-entries/custom-types.js").AgreeToTermsPolicy, z.ZodTypeDef, import("../db-entries/custom-types.js").AgreeToTermsPolicy>;
|
|
65
|
+
signIn: z.ZodType<{
|
|
66
|
+
methods: {
|
|
67
|
+
password: boolean;
|
|
68
|
+
identifier: import("../index.js").SignInIdentifier;
|
|
69
|
+
verificationCode: boolean;
|
|
70
|
+
isPasswordPrimary: boolean;
|
|
71
|
+
}[];
|
|
72
|
+
}, z.ZodTypeDef, {
|
|
73
|
+
methods: {
|
|
74
|
+
password: boolean;
|
|
75
|
+
identifier: import("../index.js").SignInIdentifier;
|
|
76
|
+
verificationCode: boolean;
|
|
77
|
+
isPasswordPrimary: boolean;
|
|
78
|
+
}[];
|
|
79
|
+
}>;
|
|
80
|
+
signUp: z.ZodType<{
|
|
81
|
+
identifiers: import("../index.js").SignInIdentifier[];
|
|
82
|
+
password: boolean;
|
|
83
|
+
verify: boolean;
|
|
84
|
+
}, z.ZodTypeDef, {
|
|
85
|
+
identifiers: import("../index.js").SignInIdentifier[];
|
|
86
|
+
password: boolean;
|
|
87
|
+
verify: boolean;
|
|
88
|
+
}>;
|
|
89
|
+
socialSignIn: z.ZodType<import("../index.js").SocialSignIn, z.ZodTypeDef, import("../index.js").SocialSignIn>;
|
|
90
|
+
socialSignInConnectorTargets: z.ZodType<string[], z.ZodTypeDef, string[]>;
|
|
91
|
+
signInMode: z.ZodType<import("../db-entries/custom-types.js").SignInMode, z.ZodTypeDef, import("../db-entries/custom-types.js").SignInMode>;
|
|
92
|
+
customCss: z.ZodType<string | null, z.ZodTypeDef, string | null>;
|
|
93
|
+
customContent: z.ZodType<Record<string, string>, z.ZodTypeDef, Record<string, string>>;
|
|
94
|
+
customUiAssets: z.ZodType<{
|
|
95
|
+
id: string;
|
|
96
|
+
createdAt: number;
|
|
97
|
+
} | null, z.ZodTypeDef, {
|
|
98
|
+
id: string;
|
|
99
|
+
createdAt: number;
|
|
100
|
+
} | null>;
|
|
101
|
+
passwordPolicy: z.ZodType<{
|
|
102
|
+
length?: {
|
|
103
|
+
min?: number | undefined;
|
|
104
|
+
max?: number | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
characterTypes?: {
|
|
107
|
+
min?: number | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
rejects?: {
|
|
110
|
+
pwned?: boolean | undefined;
|
|
111
|
+
repetitionAndSequence?: boolean | undefined;
|
|
112
|
+
userInfo?: boolean | undefined;
|
|
113
|
+
words?: string[] | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
}, z.ZodTypeDef, {
|
|
116
|
+
length?: {
|
|
117
|
+
min?: number | undefined;
|
|
118
|
+
max?: number | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
characterTypes?: {
|
|
121
|
+
min?: number | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
rejects?: {
|
|
124
|
+
pwned?: boolean | undefined;
|
|
125
|
+
repetitionAndSequence?: boolean | undefined;
|
|
126
|
+
userInfo?: boolean | undefined;
|
|
127
|
+
words?: string[] | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
}>;
|
|
130
|
+
mfa: z.ZodType<{
|
|
131
|
+
factors: import("../index.js").MfaFactor[];
|
|
132
|
+
policy: import("../index.js").MfaPolicy;
|
|
133
|
+
}, z.ZodTypeDef, {
|
|
134
|
+
factors: import("../index.js").MfaFactor[];
|
|
135
|
+
policy: import("../index.js").MfaPolicy;
|
|
136
|
+
}>;
|
|
137
|
+
singleSignOnEnabled: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
138
|
+
}, {
|
|
139
|
+
socialConnectors: z.ZodArray<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
140
|
+
id: z.ZodString;
|
|
141
|
+
target: z.ZodString;
|
|
142
|
+
name: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
143
|
+
description: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
144
|
+
logo: z.ZodString;
|
|
145
|
+
logoDark: z.ZodNullable<z.ZodString>;
|
|
146
|
+
readme: z.ZodString;
|
|
147
|
+
configTemplate: z.ZodOptional<z.ZodString>;
|
|
148
|
+
formItems: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
149
|
+
key: z.ZodString;
|
|
150
|
+
label: z.ZodString;
|
|
151
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
152
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
153
|
+
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
154
|
+
showConditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
155
|
+
targetKey: z.ZodString;
|
|
156
|
+
expectValue: z.ZodOptional<z.ZodUnknown>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
targetKey: string;
|
|
159
|
+
expectValue?: unknown;
|
|
160
|
+
}, {
|
|
161
|
+
targetKey: string;
|
|
162
|
+
expectValue?: unknown;
|
|
163
|
+
}>, "many">>;
|
|
164
|
+
description: z.ZodOptional<z.ZodString>;
|
|
165
|
+
tooltip: z.ZodOptional<z.ZodString>;
|
|
166
|
+
isConfidential: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
+
type: z.ZodLiteral<import("@logto/connector-kit").ConnectorConfigFormItemType.Select>;
|
|
168
|
+
selectItems: z.ZodArray<z.ZodObject<{
|
|
169
|
+
value: z.ZodString;
|
|
170
|
+
title: z.ZodString;
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
value: string;
|
|
173
|
+
title: string;
|
|
174
|
+
}, {
|
|
175
|
+
value: string;
|
|
176
|
+
title: string;
|
|
177
|
+
}>, "many">;
|
|
178
|
+
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
180
|
+
selectItems: {
|
|
181
|
+
value: string;
|
|
182
|
+
title: string;
|
|
183
|
+
}[];
|
|
184
|
+
key: string;
|
|
185
|
+
label: string;
|
|
186
|
+
placeholder?: string | undefined;
|
|
187
|
+
required?: boolean | undefined;
|
|
188
|
+
defaultValue?: unknown;
|
|
189
|
+
showConditions?: {
|
|
190
|
+
targetKey: string;
|
|
191
|
+
expectValue?: unknown;
|
|
192
|
+
}[] | undefined;
|
|
193
|
+
description?: string | undefined;
|
|
194
|
+
tooltip?: string | undefined;
|
|
195
|
+
isConfidential?: boolean | undefined;
|
|
196
|
+
}, {
|
|
197
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
198
|
+
selectItems: {
|
|
199
|
+
value: string;
|
|
200
|
+
title: string;
|
|
201
|
+
}[];
|
|
202
|
+
key: string;
|
|
203
|
+
label: string;
|
|
204
|
+
placeholder?: string | undefined;
|
|
205
|
+
required?: boolean | undefined;
|
|
206
|
+
defaultValue?: unknown;
|
|
207
|
+
showConditions?: {
|
|
208
|
+
targetKey: string;
|
|
209
|
+
expectValue?: unknown;
|
|
210
|
+
}[] | undefined;
|
|
211
|
+
description?: string | undefined;
|
|
212
|
+
tooltip?: string | undefined;
|
|
213
|
+
isConfidential?: boolean | undefined;
|
|
214
|
+
}>, z.ZodObject<{
|
|
215
|
+
key: z.ZodString;
|
|
216
|
+
label: z.ZodString;
|
|
217
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
218
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
220
|
+
showConditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
221
|
+
targetKey: z.ZodString;
|
|
222
|
+
expectValue: z.ZodOptional<z.ZodUnknown>;
|
|
223
|
+
}, "strip", z.ZodTypeAny, {
|
|
224
|
+
targetKey: string;
|
|
225
|
+
expectValue?: unknown;
|
|
226
|
+
}, {
|
|
227
|
+
targetKey: string;
|
|
228
|
+
expectValue?: unknown;
|
|
229
|
+
}>, "many">>;
|
|
230
|
+
description: z.ZodOptional<z.ZodString>;
|
|
231
|
+
tooltip: z.ZodOptional<z.ZodString>;
|
|
232
|
+
isConfidential: z.ZodOptional<z.ZodBoolean>;
|
|
233
|
+
type: z.ZodLiteral<import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect>;
|
|
234
|
+
selectItems: z.ZodArray<z.ZodObject<{
|
|
235
|
+
value: z.ZodString;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
value: string;
|
|
238
|
+
}, {
|
|
239
|
+
value: string;
|
|
240
|
+
}>, "many">;
|
|
241
|
+
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
243
|
+
selectItems: {
|
|
244
|
+
value: string;
|
|
245
|
+
}[];
|
|
246
|
+
key: string;
|
|
247
|
+
label: string;
|
|
248
|
+
placeholder?: string | undefined;
|
|
249
|
+
required?: boolean | undefined;
|
|
250
|
+
defaultValue?: unknown;
|
|
251
|
+
showConditions?: {
|
|
252
|
+
targetKey: string;
|
|
253
|
+
expectValue?: unknown;
|
|
254
|
+
}[] | undefined;
|
|
255
|
+
description?: string | undefined;
|
|
256
|
+
tooltip?: string | undefined;
|
|
257
|
+
isConfidential?: boolean | undefined;
|
|
258
|
+
}, {
|
|
259
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
260
|
+
selectItems: {
|
|
261
|
+
value: string;
|
|
262
|
+
}[];
|
|
263
|
+
key: string;
|
|
264
|
+
label: string;
|
|
265
|
+
placeholder?: string | undefined;
|
|
266
|
+
required?: boolean | undefined;
|
|
267
|
+
defaultValue?: unknown;
|
|
268
|
+
showConditions?: {
|
|
269
|
+
targetKey: string;
|
|
270
|
+
expectValue?: unknown;
|
|
271
|
+
}[] | undefined;
|
|
272
|
+
description?: string | undefined;
|
|
273
|
+
tooltip?: string | undefined;
|
|
274
|
+
isConfidential?: boolean | undefined;
|
|
275
|
+
}>, z.ZodObject<{
|
|
276
|
+
key: z.ZodString;
|
|
277
|
+
label: z.ZodString;
|
|
278
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
279
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
280
|
+
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
281
|
+
showConditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
282
|
+
targetKey: z.ZodString;
|
|
283
|
+
expectValue: z.ZodOptional<z.ZodUnknown>;
|
|
284
|
+
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
targetKey: string;
|
|
286
|
+
expectValue?: unknown;
|
|
287
|
+
}, {
|
|
288
|
+
targetKey: string;
|
|
289
|
+
expectValue?: unknown;
|
|
290
|
+
}>, "many">>;
|
|
291
|
+
description: z.ZodOptional<z.ZodString>;
|
|
292
|
+
tooltip: z.ZodOptional<z.ZodString>;
|
|
293
|
+
isConfidential: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
type: z.ZodEnum<[import("@logto/connector-kit").ConnectorConfigFormItemType.Text, import("@logto/connector-kit").ConnectorConfigFormItemType.Number, import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText, import("@logto/connector-kit").ConnectorConfigFormItemType.Switch, import("@logto/connector-kit").ConnectorConfigFormItemType.Json]>;
|
|
295
|
+
}, "strip", z.ZodTypeAny, {
|
|
296
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json;
|
|
297
|
+
key: string;
|
|
298
|
+
label: string;
|
|
299
|
+
placeholder?: string | undefined;
|
|
300
|
+
required?: boolean | undefined;
|
|
301
|
+
defaultValue?: unknown;
|
|
302
|
+
showConditions?: {
|
|
303
|
+
targetKey: string;
|
|
304
|
+
expectValue?: unknown;
|
|
305
|
+
}[] | undefined;
|
|
306
|
+
description?: string | undefined;
|
|
307
|
+
tooltip?: string | undefined;
|
|
308
|
+
isConfidential?: boolean | undefined;
|
|
309
|
+
}, {
|
|
310
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json;
|
|
311
|
+
key: string;
|
|
312
|
+
label: string;
|
|
313
|
+
placeholder?: string | undefined;
|
|
314
|
+
required?: boolean | undefined;
|
|
315
|
+
defaultValue?: unknown;
|
|
316
|
+
showConditions?: {
|
|
317
|
+
targetKey: string;
|
|
318
|
+
expectValue?: unknown;
|
|
319
|
+
}[] | undefined;
|
|
320
|
+
description?: string | undefined;
|
|
321
|
+
tooltip?: string | undefined;
|
|
322
|
+
isConfidential?: boolean | undefined;
|
|
323
|
+
}>]>, "many">>;
|
|
324
|
+
customData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
325
|
+
fromEmail: z.ZodOptional<z.ZodString>;
|
|
326
|
+
}, {
|
|
327
|
+
platform: z.ZodNullable<z.ZodNativeEnum<typeof import("@logto/connector-kit").ConnectorPlatform>>;
|
|
328
|
+
isStandard: z.ZodOptional<z.ZodBoolean>;
|
|
329
|
+
}>, "description" | "customData" | "readme" | "configTemplate" | "formItems">, "strip", z.ZodTypeAny, {
|
|
330
|
+
name: {
|
|
331
|
+
en: string;
|
|
332
|
+
} & {
|
|
333
|
+
"af-ZA"?: string | undefined;
|
|
334
|
+
"am-ET"?: string | undefined;
|
|
335
|
+
"ar-AR"?: string | undefined;
|
|
336
|
+
"as-IN"?: string | undefined;
|
|
337
|
+
"az-AZ"?: string | undefined;
|
|
338
|
+
"be-BY"?: string | undefined;
|
|
339
|
+
"bg-BG"?: string | undefined;
|
|
340
|
+
"bn-IN"?: string | undefined;
|
|
341
|
+
"br-FR"?: string | undefined;
|
|
342
|
+
"bs-BA"?: string | undefined;
|
|
343
|
+
"ca-ES"?: string | undefined;
|
|
344
|
+
"cb-IQ"?: string | undefined;
|
|
345
|
+
"co-FR"?: string | undefined;
|
|
346
|
+
"cs-CZ"?: string | undefined;
|
|
347
|
+
"cx-PH"?: string | undefined;
|
|
348
|
+
"cy-GB"?: string | undefined;
|
|
349
|
+
"da-DK"?: string | undefined;
|
|
350
|
+
de?: string | undefined;
|
|
351
|
+
"de-DE"?: string | undefined;
|
|
352
|
+
"el-GR"?: string | undefined;
|
|
353
|
+
"en-GB"?: string | undefined;
|
|
354
|
+
"en-US"?: string | undefined;
|
|
355
|
+
"eo-EO"?: string | undefined;
|
|
356
|
+
es?: string | undefined;
|
|
357
|
+
"es-ES"?: string | undefined;
|
|
358
|
+
"es-419"?: string | undefined;
|
|
359
|
+
"et-EE"?: string | undefined;
|
|
360
|
+
"eu-ES"?: string | undefined;
|
|
361
|
+
"fa-IR"?: string | undefined;
|
|
362
|
+
"ff-NG"?: string | undefined;
|
|
363
|
+
"fi-FI"?: string | undefined;
|
|
364
|
+
"fo-FO"?: string | undefined;
|
|
365
|
+
fr?: string | undefined;
|
|
366
|
+
"fr-CA"?: string | undefined;
|
|
367
|
+
"fr-FR"?: string | undefined;
|
|
368
|
+
"fy-NL"?: string | undefined;
|
|
369
|
+
"ga-IE"?: string | undefined;
|
|
370
|
+
"gl-ES"?: string | undefined;
|
|
371
|
+
"gn-PY"?: string | undefined;
|
|
372
|
+
"gu-IN"?: string | undefined;
|
|
373
|
+
"ha-NG"?: string | undefined;
|
|
374
|
+
"he-IL"?: string | undefined;
|
|
375
|
+
"hi-IN"?: string | undefined;
|
|
376
|
+
"hr-HR"?: string | undefined;
|
|
377
|
+
"ht-HT"?: string | undefined;
|
|
378
|
+
"hu-HU"?: string | undefined;
|
|
379
|
+
"hy-AM"?: string | undefined;
|
|
380
|
+
"id-ID"?: string | undefined;
|
|
381
|
+
"ik-US"?: string | undefined;
|
|
382
|
+
"is-IS"?: string | undefined;
|
|
383
|
+
it?: string | undefined;
|
|
384
|
+
"it-IT"?: string | undefined;
|
|
385
|
+
"iu-CA"?: string | undefined;
|
|
386
|
+
ja?: string | undefined;
|
|
387
|
+
"ja-JP"?: string | undefined;
|
|
388
|
+
"ja-KS"?: string | undefined;
|
|
389
|
+
"jv-ID"?: string | undefined;
|
|
390
|
+
"ka-GE"?: string | undefined;
|
|
391
|
+
"kk-KZ"?: string | undefined;
|
|
392
|
+
"km-KH"?: string | undefined;
|
|
393
|
+
"kn-IN"?: string | undefined;
|
|
394
|
+
ko?: string | undefined;
|
|
395
|
+
"ko-KR"?: string | undefined;
|
|
396
|
+
"ku-TR"?: string | undefined;
|
|
397
|
+
"ky-KG"?: string | undefined;
|
|
398
|
+
"lo-LA"?: string | undefined;
|
|
399
|
+
"lt-LT"?: string | undefined;
|
|
400
|
+
"lv-LV"?: string | undefined;
|
|
401
|
+
"mg-MG"?: string | undefined;
|
|
402
|
+
"mk-MK"?: string | undefined;
|
|
403
|
+
"ml-IN"?: string | undefined;
|
|
404
|
+
"mn-MN"?: string | undefined;
|
|
405
|
+
"mr-IN"?: string | undefined;
|
|
406
|
+
"ms-MY"?: string | undefined;
|
|
407
|
+
"mt-MT"?: string | undefined;
|
|
408
|
+
"my-MM"?: string | undefined;
|
|
409
|
+
"nb-NO"?: string | undefined;
|
|
410
|
+
"ne-NP"?: string | undefined;
|
|
411
|
+
"nl-BE"?: string | undefined;
|
|
412
|
+
"nl-NL"?: string | undefined;
|
|
413
|
+
"nn-NO"?: string | undefined;
|
|
414
|
+
"or-IN"?: string | undefined;
|
|
415
|
+
"pa-IN"?: string | undefined;
|
|
416
|
+
"pl-PL"?: string | undefined;
|
|
417
|
+
"ps-AF"?: string | undefined;
|
|
418
|
+
pt?: string | undefined;
|
|
419
|
+
"pt-BR"?: string | undefined;
|
|
420
|
+
"pt-PT"?: string | undefined;
|
|
421
|
+
"ro-RO"?: string | undefined;
|
|
422
|
+
ru?: string | undefined;
|
|
423
|
+
"ru-RU"?: string | undefined;
|
|
424
|
+
"rw-RW"?: string | undefined;
|
|
425
|
+
"sc-IT"?: string | undefined;
|
|
426
|
+
"si-LK"?: string | undefined;
|
|
427
|
+
"sk-SK"?: string | undefined;
|
|
428
|
+
"sl-SI"?: string | undefined;
|
|
429
|
+
"sn-ZW"?: string | undefined;
|
|
430
|
+
"sq-AL"?: string | undefined;
|
|
431
|
+
"sr-RS"?: string | undefined;
|
|
432
|
+
"sv-SE"?: string | undefined;
|
|
433
|
+
"sw-KE"?: string | undefined;
|
|
434
|
+
"sy-SY"?: string | undefined;
|
|
435
|
+
"sz-PL"?: string | undefined;
|
|
436
|
+
"ta-IN"?: string | undefined;
|
|
437
|
+
"te-IN"?: string | undefined;
|
|
438
|
+
"tg-TJ"?: string | undefined;
|
|
439
|
+
"th-TH"?: string | undefined;
|
|
440
|
+
"tl-PH"?: string | undefined;
|
|
441
|
+
tr?: string | undefined;
|
|
442
|
+
"tr-TR"?: string | undefined;
|
|
443
|
+
"tt-RU"?: string | undefined;
|
|
444
|
+
"tz-MA"?: string | undefined;
|
|
445
|
+
"uk-UA"?: string | undefined;
|
|
446
|
+
"ur-PK"?: string | undefined;
|
|
447
|
+
"uz-UZ"?: string | undefined;
|
|
448
|
+
"vi-VN"?: string | undefined;
|
|
449
|
+
zh?: string | undefined;
|
|
450
|
+
"zh-CN"?: string | undefined;
|
|
451
|
+
"zh-HK"?: string | undefined;
|
|
452
|
+
"zh-MO"?: string | undefined;
|
|
453
|
+
"zh-TW"?: string | undefined;
|
|
454
|
+
"zz-TR"?: string | undefined;
|
|
455
|
+
};
|
|
456
|
+
id: string;
|
|
457
|
+
logo: string;
|
|
458
|
+
target: string;
|
|
459
|
+
logoDark: string | null;
|
|
460
|
+
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
461
|
+
fromEmail?: string | undefined;
|
|
462
|
+
isStandard?: boolean | undefined;
|
|
463
|
+
}, {
|
|
464
|
+
name: {
|
|
465
|
+
en: string;
|
|
466
|
+
} & {
|
|
467
|
+
"af-ZA"?: string | undefined;
|
|
468
|
+
"am-ET"?: string | undefined;
|
|
469
|
+
"ar-AR"?: string | undefined;
|
|
470
|
+
"as-IN"?: string | undefined;
|
|
471
|
+
"az-AZ"?: string | undefined;
|
|
472
|
+
"be-BY"?: string | undefined;
|
|
473
|
+
"bg-BG"?: string | undefined;
|
|
474
|
+
"bn-IN"?: string | undefined;
|
|
475
|
+
"br-FR"?: string | undefined;
|
|
476
|
+
"bs-BA"?: string | undefined;
|
|
477
|
+
"ca-ES"?: string | undefined;
|
|
478
|
+
"cb-IQ"?: string | undefined;
|
|
479
|
+
"co-FR"?: string | undefined;
|
|
480
|
+
"cs-CZ"?: string | undefined;
|
|
481
|
+
"cx-PH"?: string | undefined;
|
|
482
|
+
"cy-GB"?: string | undefined;
|
|
483
|
+
"da-DK"?: string | undefined;
|
|
484
|
+
de?: string | undefined;
|
|
485
|
+
"de-DE"?: string | undefined;
|
|
486
|
+
"el-GR"?: string | undefined;
|
|
487
|
+
"en-GB"?: string | undefined;
|
|
488
|
+
"en-US"?: string | undefined;
|
|
489
|
+
"eo-EO"?: string | undefined;
|
|
490
|
+
es?: string | undefined;
|
|
491
|
+
"es-ES"?: string | undefined;
|
|
492
|
+
"es-419"?: string | undefined;
|
|
493
|
+
"et-EE"?: string | undefined;
|
|
494
|
+
"eu-ES"?: string | undefined;
|
|
495
|
+
"fa-IR"?: string | undefined;
|
|
496
|
+
"ff-NG"?: string | undefined;
|
|
497
|
+
"fi-FI"?: string | undefined;
|
|
498
|
+
"fo-FO"?: string | undefined;
|
|
499
|
+
fr?: string | undefined;
|
|
500
|
+
"fr-CA"?: string | undefined;
|
|
501
|
+
"fr-FR"?: string | undefined;
|
|
502
|
+
"fy-NL"?: string | undefined;
|
|
503
|
+
"ga-IE"?: string | undefined;
|
|
504
|
+
"gl-ES"?: string | undefined;
|
|
505
|
+
"gn-PY"?: string | undefined;
|
|
506
|
+
"gu-IN"?: string | undefined;
|
|
507
|
+
"ha-NG"?: string | undefined;
|
|
508
|
+
"he-IL"?: string | undefined;
|
|
509
|
+
"hi-IN"?: string | undefined;
|
|
510
|
+
"hr-HR"?: string | undefined;
|
|
511
|
+
"ht-HT"?: string | undefined;
|
|
512
|
+
"hu-HU"?: string | undefined;
|
|
513
|
+
"hy-AM"?: string | undefined;
|
|
514
|
+
"id-ID"?: string | undefined;
|
|
515
|
+
"ik-US"?: string | undefined;
|
|
516
|
+
"is-IS"?: string | undefined;
|
|
517
|
+
it?: string | undefined;
|
|
518
|
+
"it-IT"?: string | undefined;
|
|
519
|
+
"iu-CA"?: string | undefined;
|
|
520
|
+
ja?: string | undefined;
|
|
521
|
+
"ja-JP"?: string | undefined;
|
|
522
|
+
"ja-KS"?: string | undefined;
|
|
523
|
+
"jv-ID"?: string | undefined;
|
|
524
|
+
"ka-GE"?: string | undefined;
|
|
525
|
+
"kk-KZ"?: string | undefined;
|
|
526
|
+
"km-KH"?: string | undefined;
|
|
527
|
+
"kn-IN"?: string | undefined;
|
|
528
|
+
ko?: string | undefined;
|
|
529
|
+
"ko-KR"?: string | undefined;
|
|
530
|
+
"ku-TR"?: string | undefined;
|
|
531
|
+
"ky-KG"?: string | undefined;
|
|
532
|
+
"lo-LA"?: string | undefined;
|
|
533
|
+
"lt-LT"?: string | undefined;
|
|
534
|
+
"lv-LV"?: string | undefined;
|
|
535
|
+
"mg-MG"?: string | undefined;
|
|
536
|
+
"mk-MK"?: string | undefined;
|
|
537
|
+
"ml-IN"?: string | undefined;
|
|
538
|
+
"mn-MN"?: string | undefined;
|
|
539
|
+
"mr-IN"?: string | undefined;
|
|
540
|
+
"ms-MY"?: string | undefined;
|
|
541
|
+
"mt-MT"?: string | undefined;
|
|
542
|
+
"my-MM"?: string | undefined;
|
|
543
|
+
"nb-NO"?: string | undefined;
|
|
544
|
+
"ne-NP"?: string | undefined;
|
|
545
|
+
"nl-BE"?: string | undefined;
|
|
546
|
+
"nl-NL"?: string | undefined;
|
|
547
|
+
"nn-NO"?: string | undefined;
|
|
548
|
+
"or-IN"?: string | undefined;
|
|
549
|
+
"pa-IN"?: string | undefined;
|
|
550
|
+
"pl-PL"?: string | undefined;
|
|
551
|
+
"ps-AF"?: string | undefined;
|
|
552
|
+
pt?: string | undefined;
|
|
553
|
+
"pt-BR"?: string | undefined;
|
|
554
|
+
"pt-PT"?: string | undefined;
|
|
555
|
+
"ro-RO"?: string | undefined;
|
|
556
|
+
ru?: string | undefined;
|
|
557
|
+
"ru-RU"?: string | undefined;
|
|
558
|
+
"rw-RW"?: string | undefined;
|
|
559
|
+
"sc-IT"?: string | undefined;
|
|
560
|
+
"si-LK"?: string | undefined;
|
|
561
|
+
"sk-SK"?: string | undefined;
|
|
562
|
+
"sl-SI"?: string | undefined;
|
|
563
|
+
"sn-ZW"?: string | undefined;
|
|
564
|
+
"sq-AL"?: string | undefined;
|
|
565
|
+
"sr-RS"?: string | undefined;
|
|
566
|
+
"sv-SE"?: string | undefined;
|
|
567
|
+
"sw-KE"?: string | undefined;
|
|
568
|
+
"sy-SY"?: string | undefined;
|
|
569
|
+
"sz-PL"?: string | undefined;
|
|
570
|
+
"ta-IN"?: string | undefined;
|
|
571
|
+
"te-IN"?: string | undefined;
|
|
572
|
+
"tg-TJ"?: string | undefined;
|
|
573
|
+
"th-TH"?: string | undefined;
|
|
574
|
+
"tl-PH"?: string | undefined;
|
|
575
|
+
tr?: string | undefined;
|
|
576
|
+
"tr-TR"?: string | undefined;
|
|
577
|
+
"tt-RU"?: string | undefined;
|
|
578
|
+
"tz-MA"?: string | undefined;
|
|
579
|
+
"uk-UA"?: string | undefined;
|
|
580
|
+
"ur-PK"?: string | undefined;
|
|
581
|
+
"uz-UZ"?: string | undefined;
|
|
582
|
+
"vi-VN"?: string | undefined;
|
|
583
|
+
zh?: string | undefined;
|
|
584
|
+
"zh-CN"?: string | undefined;
|
|
585
|
+
"zh-HK"?: string | undefined;
|
|
586
|
+
"zh-MO"?: string | undefined;
|
|
587
|
+
"zh-TW"?: string | undefined;
|
|
588
|
+
"zz-TR"?: string | undefined;
|
|
589
|
+
};
|
|
590
|
+
id: string;
|
|
591
|
+
logo: string;
|
|
592
|
+
target: string;
|
|
593
|
+
logoDark: string | null;
|
|
594
|
+
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
595
|
+
fromEmail?: string | undefined;
|
|
596
|
+
isStandard?: boolean | undefined;
|
|
597
|
+
}>, "many">;
|
|
598
|
+
ssoConnectors: z.ZodArray<z.ZodObject<{
|
|
599
|
+
id: z.ZodString;
|
|
600
|
+
connectorName: z.ZodString;
|
|
601
|
+
logo: z.ZodString;
|
|
602
|
+
darkLogo: z.ZodOptional<z.ZodString>;
|
|
603
|
+
}, "strip", z.ZodTypeAny, {
|
|
604
|
+
id: string;
|
|
605
|
+
logo: string;
|
|
606
|
+
connectorName: string;
|
|
607
|
+
darkLogo?: string | undefined;
|
|
608
|
+
}, {
|
|
609
|
+
id: string;
|
|
610
|
+
logo: string;
|
|
611
|
+
connectorName: string;
|
|
612
|
+
darkLogo?: string | undefined;
|
|
613
|
+
}>, "many">;
|
|
614
|
+
forgotPassword: z.ZodObject<{
|
|
615
|
+
phone: z.ZodBoolean;
|
|
616
|
+
email: z.ZodBoolean;
|
|
617
|
+
}, "strip", z.ZodTypeAny, {
|
|
618
|
+
email: boolean;
|
|
619
|
+
phone: boolean;
|
|
620
|
+
}, {
|
|
621
|
+
email: boolean;
|
|
622
|
+
phone: boolean;
|
|
623
|
+
}>;
|
|
624
|
+
isDevelopmentTenant: z.ZodBoolean;
|
|
625
|
+
googleOneTap: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
626
|
+
isEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
627
|
+
autoSelect: z.ZodOptional<z.ZodBoolean>;
|
|
628
|
+
closeOnTapOutside: z.ZodOptional<z.ZodBoolean>;
|
|
629
|
+
itpSupport: z.ZodOptional<z.ZodBoolean>;
|
|
630
|
+
}, {
|
|
631
|
+
clientId: z.ZodString;
|
|
632
|
+
connectorId: z.ZodString;
|
|
633
|
+
}>, "strip", z.ZodTypeAny, {
|
|
634
|
+
connectorId: string;
|
|
635
|
+
clientId: string;
|
|
636
|
+
isEnabled?: boolean | undefined;
|
|
637
|
+
autoSelect?: boolean | undefined;
|
|
638
|
+
closeOnTapOutside?: boolean | undefined;
|
|
639
|
+
itpSupport?: boolean | undefined;
|
|
640
|
+
}, {
|
|
641
|
+
connectorId: string;
|
|
642
|
+
clientId: string;
|
|
643
|
+
isEnabled?: boolean | undefined;
|
|
644
|
+
autoSelect?: boolean | undefined;
|
|
645
|
+
closeOnTapOutside?: boolean | undefined;
|
|
646
|
+
itpSupport?: boolean | undefined;
|
|
647
|
+
}>>;
|
|
648
|
+
}>, "strip", z.ZodTypeAny, {
|
|
649
|
+
id: string;
|
|
650
|
+
tenantId: string;
|
|
651
|
+
color: import("../index.js").Color;
|
|
652
|
+
branding: import("../index.js").Branding;
|
|
653
|
+
termsOfUseUrl: string | null;
|
|
654
|
+
privacyPolicyUrl: string | null;
|
|
655
|
+
languageInfo: import("../index.js").LanguageInfo;
|
|
656
|
+
agreeToTermsPolicy: import("../db-entries/custom-types.js").AgreeToTermsPolicy;
|
|
657
|
+
signIn: import("../index.js").SignIn;
|
|
658
|
+
signUp: import("../index.js").SignUp;
|
|
659
|
+
socialSignIn: import("../index.js").SocialSignIn;
|
|
660
|
+
socialSignInConnectorTargets: import("../index.js").ConnectorTargets;
|
|
661
|
+
signInMode: import("../db-entries/custom-types.js").SignInMode;
|
|
662
|
+
customCss: string | null;
|
|
663
|
+
customContent: import("../index.js").CustomContent;
|
|
664
|
+
customUiAssets: import("../index.js").CustomUiAssets | null;
|
|
665
|
+
passwordPolicy: import("../index.js").PartialPasswordPolicy;
|
|
666
|
+
mfa: import("../index.js").Mfa;
|
|
667
|
+
singleSignOnEnabled: boolean;
|
|
668
|
+
socialConnectors: {
|
|
669
|
+
name: {
|
|
670
|
+
en: string;
|
|
671
|
+
} & {
|
|
672
|
+
"af-ZA"?: string | undefined;
|
|
673
|
+
"am-ET"?: string | undefined;
|
|
674
|
+
"ar-AR"?: string | undefined;
|
|
675
|
+
"as-IN"?: string | undefined;
|
|
676
|
+
"az-AZ"?: string | undefined;
|
|
677
|
+
"be-BY"?: string | undefined;
|
|
678
|
+
"bg-BG"?: string | undefined;
|
|
679
|
+
"bn-IN"?: string | undefined;
|
|
680
|
+
"br-FR"?: string | undefined;
|
|
681
|
+
"bs-BA"?: string | undefined;
|
|
682
|
+
"ca-ES"?: string | undefined;
|
|
683
|
+
"cb-IQ"?: string | undefined;
|
|
684
|
+
"co-FR"?: string | undefined;
|
|
685
|
+
"cs-CZ"?: string | undefined;
|
|
686
|
+
"cx-PH"?: string | undefined;
|
|
687
|
+
"cy-GB"?: string | undefined;
|
|
688
|
+
"da-DK"?: string | undefined;
|
|
689
|
+
de?: string | undefined;
|
|
690
|
+
"de-DE"?: string | undefined;
|
|
691
|
+
"el-GR"?: string | undefined;
|
|
692
|
+
"en-GB"?: string | undefined;
|
|
693
|
+
"en-US"?: string | undefined;
|
|
694
|
+
"eo-EO"?: string | undefined;
|
|
695
|
+
es?: string | undefined;
|
|
696
|
+
"es-ES"?: string | undefined;
|
|
697
|
+
"es-419"?: string | undefined;
|
|
698
|
+
"et-EE"?: string | undefined;
|
|
699
|
+
"eu-ES"?: string | undefined;
|
|
700
|
+
"fa-IR"?: string | undefined;
|
|
701
|
+
"ff-NG"?: string | undefined;
|
|
702
|
+
"fi-FI"?: string | undefined;
|
|
703
|
+
"fo-FO"?: string | undefined;
|
|
704
|
+
fr?: string | undefined;
|
|
705
|
+
"fr-CA"?: string | undefined;
|
|
706
|
+
"fr-FR"?: string | undefined;
|
|
707
|
+
"fy-NL"?: string | undefined;
|
|
708
|
+
"ga-IE"?: string | undefined;
|
|
709
|
+
"gl-ES"?: string | undefined;
|
|
710
|
+
"gn-PY"?: string | undefined;
|
|
711
|
+
"gu-IN"?: string | undefined;
|
|
712
|
+
"ha-NG"?: string | undefined;
|
|
713
|
+
"he-IL"?: string | undefined;
|
|
714
|
+
"hi-IN"?: string | undefined;
|
|
715
|
+
"hr-HR"?: string | undefined;
|
|
716
|
+
"ht-HT"?: string | undefined;
|
|
717
|
+
"hu-HU"?: string | undefined;
|
|
718
|
+
"hy-AM"?: string | undefined;
|
|
719
|
+
"id-ID"?: string | undefined;
|
|
720
|
+
"ik-US"?: string | undefined;
|
|
721
|
+
"is-IS"?: string | undefined;
|
|
722
|
+
it?: string | undefined;
|
|
723
|
+
"it-IT"?: string | undefined;
|
|
724
|
+
"iu-CA"?: string | undefined;
|
|
725
|
+
ja?: string | undefined;
|
|
726
|
+
"ja-JP"?: string | undefined;
|
|
727
|
+
"ja-KS"?: string | undefined;
|
|
728
|
+
"jv-ID"?: string | undefined;
|
|
729
|
+
"ka-GE"?: string | undefined;
|
|
730
|
+
"kk-KZ"?: string | undefined;
|
|
731
|
+
"km-KH"?: string | undefined;
|
|
732
|
+
"kn-IN"?: string | undefined;
|
|
733
|
+
ko?: string | undefined;
|
|
734
|
+
"ko-KR"?: string | undefined;
|
|
735
|
+
"ku-TR"?: string | undefined;
|
|
736
|
+
"ky-KG"?: string | undefined;
|
|
737
|
+
"lo-LA"?: string | undefined;
|
|
738
|
+
"lt-LT"?: string | undefined;
|
|
739
|
+
"lv-LV"?: string | undefined;
|
|
740
|
+
"mg-MG"?: string | undefined;
|
|
741
|
+
"mk-MK"?: string | undefined;
|
|
742
|
+
"ml-IN"?: string | undefined;
|
|
743
|
+
"mn-MN"?: string | undefined;
|
|
744
|
+
"mr-IN"?: string | undefined;
|
|
745
|
+
"ms-MY"?: string | undefined;
|
|
746
|
+
"mt-MT"?: string | undefined;
|
|
747
|
+
"my-MM"?: string | undefined;
|
|
748
|
+
"nb-NO"?: string | undefined;
|
|
749
|
+
"ne-NP"?: string | undefined;
|
|
750
|
+
"nl-BE"?: string | undefined;
|
|
751
|
+
"nl-NL"?: string | undefined;
|
|
752
|
+
"nn-NO"?: string | undefined;
|
|
753
|
+
"or-IN"?: string | undefined;
|
|
754
|
+
"pa-IN"?: string | undefined;
|
|
755
|
+
"pl-PL"?: string | undefined;
|
|
756
|
+
"ps-AF"?: string | undefined;
|
|
757
|
+
pt?: string | undefined;
|
|
758
|
+
"pt-BR"?: string | undefined;
|
|
759
|
+
"pt-PT"?: string | undefined;
|
|
760
|
+
"ro-RO"?: string | undefined;
|
|
761
|
+
ru?: string | undefined;
|
|
762
|
+
"ru-RU"?: string | undefined;
|
|
763
|
+
"rw-RW"?: string | undefined;
|
|
764
|
+
"sc-IT"?: string | undefined;
|
|
765
|
+
"si-LK"?: string | undefined;
|
|
766
|
+
"sk-SK"?: string | undefined;
|
|
767
|
+
"sl-SI"?: string | undefined;
|
|
768
|
+
"sn-ZW"?: string | undefined;
|
|
769
|
+
"sq-AL"?: string | undefined;
|
|
770
|
+
"sr-RS"?: string | undefined;
|
|
771
|
+
"sv-SE"?: string | undefined;
|
|
772
|
+
"sw-KE"?: string | undefined;
|
|
773
|
+
"sy-SY"?: string | undefined;
|
|
774
|
+
"sz-PL"?: string | undefined;
|
|
775
|
+
"ta-IN"?: string | undefined;
|
|
776
|
+
"te-IN"?: string | undefined;
|
|
777
|
+
"tg-TJ"?: string | undefined;
|
|
778
|
+
"th-TH"?: string | undefined;
|
|
779
|
+
"tl-PH"?: string | undefined;
|
|
780
|
+
tr?: string | undefined;
|
|
781
|
+
"tr-TR"?: string | undefined;
|
|
782
|
+
"tt-RU"?: string | undefined;
|
|
783
|
+
"tz-MA"?: string | undefined;
|
|
784
|
+
"uk-UA"?: string | undefined;
|
|
785
|
+
"ur-PK"?: string | undefined;
|
|
786
|
+
"uz-UZ"?: string | undefined;
|
|
787
|
+
"vi-VN"?: string | undefined;
|
|
788
|
+
zh?: string | undefined;
|
|
789
|
+
"zh-CN"?: string | undefined;
|
|
790
|
+
"zh-HK"?: string | undefined;
|
|
791
|
+
"zh-MO"?: string | undefined;
|
|
792
|
+
"zh-TW"?: string | undefined;
|
|
793
|
+
"zz-TR"?: string | undefined;
|
|
794
|
+
};
|
|
795
|
+
id: string;
|
|
796
|
+
logo: string;
|
|
797
|
+
target: string;
|
|
798
|
+
logoDark: string | null;
|
|
799
|
+
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
800
|
+
fromEmail?: string | undefined;
|
|
801
|
+
isStandard?: boolean | undefined;
|
|
802
|
+
}[];
|
|
803
|
+
ssoConnectors: {
|
|
804
|
+
id: string;
|
|
805
|
+
logo: string;
|
|
806
|
+
connectorName: string;
|
|
807
|
+
darkLogo?: string | undefined;
|
|
808
|
+
}[];
|
|
809
|
+
forgotPassword: {
|
|
810
|
+
email: boolean;
|
|
811
|
+
phone: boolean;
|
|
812
|
+
};
|
|
813
|
+
isDevelopmentTenant: boolean;
|
|
814
|
+
googleOneTap?: {
|
|
815
|
+
connectorId: string;
|
|
816
|
+
clientId: string;
|
|
817
|
+
isEnabled?: boolean | undefined;
|
|
818
|
+
autoSelect?: boolean | undefined;
|
|
819
|
+
closeOnTapOutside?: boolean | undefined;
|
|
820
|
+
itpSupport?: boolean | undefined;
|
|
821
|
+
} | undefined;
|
|
822
|
+
}, {
|
|
823
|
+
id: string;
|
|
824
|
+
tenantId: string;
|
|
825
|
+
color: import("../index.js").Color;
|
|
826
|
+
branding: import("../index.js").Branding;
|
|
827
|
+
termsOfUseUrl: string | null;
|
|
828
|
+
privacyPolicyUrl: string | null;
|
|
829
|
+
languageInfo: import("../index.js").LanguageInfo;
|
|
830
|
+
agreeToTermsPolicy: import("../db-entries/custom-types.js").AgreeToTermsPolicy;
|
|
831
|
+
signIn: import("../index.js").SignIn;
|
|
832
|
+
signUp: import("../index.js").SignUp;
|
|
833
|
+
socialSignIn: import("../index.js").SocialSignIn;
|
|
834
|
+
socialSignInConnectorTargets: import("../index.js").ConnectorTargets;
|
|
835
|
+
signInMode: import("../db-entries/custom-types.js").SignInMode;
|
|
836
|
+
customCss: string | null;
|
|
837
|
+
customContent: import("../index.js").CustomContent;
|
|
838
|
+
customUiAssets: import("../index.js").CustomUiAssets | null;
|
|
839
|
+
passwordPolicy: import("../index.js").PartialPasswordPolicy;
|
|
840
|
+
mfa: import("../index.js").Mfa;
|
|
841
|
+
singleSignOnEnabled: boolean;
|
|
842
|
+
socialConnectors: {
|
|
843
|
+
name: {
|
|
844
|
+
en: string;
|
|
845
|
+
} & {
|
|
846
|
+
"af-ZA"?: string | undefined;
|
|
847
|
+
"am-ET"?: string | undefined;
|
|
848
|
+
"ar-AR"?: string | undefined;
|
|
849
|
+
"as-IN"?: string | undefined;
|
|
850
|
+
"az-AZ"?: string | undefined;
|
|
851
|
+
"be-BY"?: string | undefined;
|
|
852
|
+
"bg-BG"?: string | undefined;
|
|
853
|
+
"bn-IN"?: string | undefined;
|
|
854
|
+
"br-FR"?: string | undefined;
|
|
855
|
+
"bs-BA"?: string | undefined;
|
|
856
|
+
"ca-ES"?: string | undefined;
|
|
857
|
+
"cb-IQ"?: string | undefined;
|
|
858
|
+
"co-FR"?: string | undefined;
|
|
859
|
+
"cs-CZ"?: string | undefined;
|
|
860
|
+
"cx-PH"?: string | undefined;
|
|
861
|
+
"cy-GB"?: string | undefined;
|
|
862
|
+
"da-DK"?: string | undefined;
|
|
863
|
+
de?: string | undefined;
|
|
864
|
+
"de-DE"?: string | undefined;
|
|
865
|
+
"el-GR"?: string | undefined;
|
|
866
|
+
"en-GB"?: string | undefined;
|
|
867
|
+
"en-US"?: string | undefined;
|
|
868
|
+
"eo-EO"?: string | undefined;
|
|
869
|
+
es?: string | undefined;
|
|
870
|
+
"es-ES"?: string | undefined;
|
|
871
|
+
"es-419"?: string | undefined;
|
|
872
|
+
"et-EE"?: string | undefined;
|
|
873
|
+
"eu-ES"?: string | undefined;
|
|
874
|
+
"fa-IR"?: string | undefined;
|
|
875
|
+
"ff-NG"?: string | undefined;
|
|
876
|
+
"fi-FI"?: string | undefined;
|
|
877
|
+
"fo-FO"?: string | undefined;
|
|
878
|
+
fr?: string | undefined;
|
|
879
|
+
"fr-CA"?: string | undefined;
|
|
880
|
+
"fr-FR"?: string | undefined;
|
|
881
|
+
"fy-NL"?: string | undefined;
|
|
882
|
+
"ga-IE"?: string | undefined;
|
|
883
|
+
"gl-ES"?: string | undefined;
|
|
884
|
+
"gn-PY"?: string | undefined;
|
|
885
|
+
"gu-IN"?: string | undefined;
|
|
886
|
+
"ha-NG"?: string | undefined;
|
|
887
|
+
"he-IL"?: string | undefined;
|
|
888
|
+
"hi-IN"?: string | undefined;
|
|
889
|
+
"hr-HR"?: string | undefined;
|
|
890
|
+
"ht-HT"?: string | undefined;
|
|
891
|
+
"hu-HU"?: string | undefined;
|
|
892
|
+
"hy-AM"?: string | undefined;
|
|
893
|
+
"id-ID"?: string | undefined;
|
|
894
|
+
"ik-US"?: string | undefined;
|
|
895
|
+
"is-IS"?: string | undefined;
|
|
896
|
+
it?: string | undefined;
|
|
897
|
+
"it-IT"?: string | undefined;
|
|
898
|
+
"iu-CA"?: string | undefined;
|
|
899
|
+
ja?: string | undefined;
|
|
900
|
+
"ja-JP"?: string | undefined;
|
|
901
|
+
"ja-KS"?: string | undefined;
|
|
902
|
+
"jv-ID"?: string | undefined;
|
|
903
|
+
"ka-GE"?: string | undefined;
|
|
904
|
+
"kk-KZ"?: string | undefined;
|
|
905
|
+
"km-KH"?: string | undefined;
|
|
906
|
+
"kn-IN"?: string | undefined;
|
|
907
|
+
ko?: string | undefined;
|
|
908
|
+
"ko-KR"?: string | undefined;
|
|
909
|
+
"ku-TR"?: string | undefined;
|
|
910
|
+
"ky-KG"?: string | undefined;
|
|
911
|
+
"lo-LA"?: string | undefined;
|
|
912
|
+
"lt-LT"?: string | undefined;
|
|
913
|
+
"lv-LV"?: string | undefined;
|
|
914
|
+
"mg-MG"?: string | undefined;
|
|
915
|
+
"mk-MK"?: string | undefined;
|
|
916
|
+
"ml-IN"?: string | undefined;
|
|
917
|
+
"mn-MN"?: string | undefined;
|
|
918
|
+
"mr-IN"?: string | undefined;
|
|
919
|
+
"ms-MY"?: string | undefined;
|
|
920
|
+
"mt-MT"?: string | undefined;
|
|
921
|
+
"my-MM"?: string | undefined;
|
|
922
|
+
"nb-NO"?: string | undefined;
|
|
923
|
+
"ne-NP"?: string | undefined;
|
|
924
|
+
"nl-BE"?: string | undefined;
|
|
925
|
+
"nl-NL"?: string | undefined;
|
|
926
|
+
"nn-NO"?: string | undefined;
|
|
927
|
+
"or-IN"?: string | undefined;
|
|
928
|
+
"pa-IN"?: string | undefined;
|
|
929
|
+
"pl-PL"?: string | undefined;
|
|
930
|
+
"ps-AF"?: string | undefined;
|
|
931
|
+
pt?: string | undefined;
|
|
932
|
+
"pt-BR"?: string | undefined;
|
|
933
|
+
"pt-PT"?: string | undefined;
|
|
934
|
+
"ro-RO"?: string | undefined;
|
|
935
|
+
ru?: string | undefined;
|
|
936
|
+
"ru-RU"?: string | undefined;
|
|
937
|
+
"rw-RW"?: string | undefined;
|
|
938
|
+
"sc-IT"?: string | undefined;
|
|
939
|
+
"si-LK"?: string | undefined;
|
|
940
|
+
"sk-SK"?: string | undefined;
|
|
941
|
+
"sl-SI"?: string | undefined;
|
|
942
|
+
"sn-ZW"?: string | undefined;
|
|
943
|
+
"sq-AL"?: string | undefined;
|
|
944
|
+
"sr-RS"?: string | undefined;
|
|
945
|
+
"sv-SE"?: string | undefined;
|
|
946
|
+
"sw-KE"?: string | undefined;
|
|
947
|
+
"sy-SY"?: string | undefined;
|
|
948
|
+
"sz-PL"?: string | undefined;
|
|
949
|
+
"ta-IN"?: string | undefined;
|
|
950
|
+
"te-IN"?: string | undefined;
|
|
951
|
+
"tg-TJ"?: string | undefined;
|
|
952
|
+
"th-TH"?: string | undefined;
|
|
953
|
+
"tl-PH"?: string | undefined;
|
|
954
|
+
tr?: string | undefined;
|
|
955
|
+
"tr-TR"?: string | undefined;
|
|
956
|
+
"tt-RU"?: string | undefined;
|
|
957
|
+
"tz-MA"?: string | undefined;
|
|
958
|
+
"uk-UA"?: string | undefined;
|
|
959
|
+
"ur-PK"?: string | undefined;
|
|
960
|
+
"uz-UZ"?: string | undefined;
|
|
961
|
+
"vi-VN"?: string | undefined;
|
|
962
|
+
zh?: string | undefined;
|
|
963
|
+
"zh-CN"?: string | undefined;
|
|
964
|
+
"zh-HK"?: string | undefined;
|
|
965
|
+
"zh-MO"?: string | undefined;
|
|
966
|
+
"zh-TW"?: string | undefined;
|
|
967
|
+
"zz-TR"?: string | undefined;
|
|
968
|
+
};
|
|
969
|
+
id: string;
|
|
970
|
+
logo: string;
|
|
971
|
+
target: string;
|
|
972
|
+
logoDark: string | null;
|
|
973
|
+
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
974
|
+
fromEmail?: string | undefined;
|
|
975
|
+
isStandard?: boolean | undefined;
|
|
976
|
+
}[];
|
|
977
|
+
ssoConnectors: {
|
|
978
|
+
id: string;
|
|
979
|
+
logo: string;
|
|
980
|
+
connectorName: string;
|
|
981
|
+
darkLogo?: string | undefined;
|
|
982
|
+
}[];
|
|
983
|
+
forgotPassword: {
|
|
984
|
+
email: boolean;
|
|
985
|
+
phone: boolean;
|
|
986
|
+
};
|
|
987
|
+
isDevelopmentTenant: boolean;
|
|
988
|
+
googleOneTap?: {
|
|
989
|
+
connectorId: string;
|
|
990
|
+
clientId: string;
|
|
991
|
+
isEnabled?: boolean | undefined;
|
|
992
|
+
autoSelect?: boolean | undefined;
|
|
993
|
+
closeOnTapOutside?: boolean | undefined;
|
|
994
|
+
itpSupport?: boolean | undefined;
|
|
995
|
+
} | undefined;
|
|
996
|
+
}>;
|
|
997
|
+
export {};
|