@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
|
@@ -17,15 +17,7 @@ export declare const featuredApplicationGuard: z.ZodObject<Pick<{
|
|
|
17
17
|
secret: z.ZodType<string, z.ZodTypeDef, string>;
|
|
18
18
|
description: z.ZodType<string | null, z.ZodTypeDef, string | null>;
|
|
19
19
|
type: z.ZodType<import("../db-entries/custom-types.js").ApplicationType, z.ZodTypeDef, import("../db-entries/custom-types.js").ApplicationType>;
|
|
20
|
-
oidcClientMetadata: z.ZodType<
|
|
21
|
-
redirectUris: string[];
|
|
22
|
-
postLogoutRedirectUris: string[];
|
|
23
|
-
logoUri?: string | undefined;
|
|
24
|
-
}, z.ZodTypeDef, {
|
|
25
|
-
redirectUris: string[];
|
|
26
|
-
postLogoutRedirectUris: string[];
|
|
27
|
-
logoUri?: string | undefined;
|
|
28
|
-
}>;
|
|
20
|
+
oidcClientMetadata: z.ZodType<import("../index.js").OidcClientMetadata, z.ZodTypeDef, import("../index.js").OidcClientMetadata>;
|
|
29
21
|
customClientMetadata: z.ZodType<{
|
|
30
22
|
corsAllowedOrigins?: string[] | undefined;
|
|
31
23
|
idTokenTtl?: number | undefined;
|
|
@@ -100,6 +92,7 @@ export declare const featuredApplicationGuard: z.ZodObject<Pick<{
|
|
|
100
92
|
} | null;
|
|
101
93
|
}[] | undefined;
|
|
102
94
|
} | null>;
|
|
95
|
+
customData: z.ZodType<import("@withtyped/server").JsonObject, z.ZodTypeDef, import("@withtyped/server").JsonObject>;
|
|
103
96
|
isThirdParty: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
104
97
|
createdAt: z.ZodType<number, z.ZodTypeDef, number>;
|
|
105
98
|
}, "type" | "name" | "id">, "strip", z.ZodTypeAny, {
|
|
@@ -111,17 +104,11 @@ export declare const featuredApplicationGuard: z.ZodObject<Pick<{
|
|
|
111
104
|
name: string;
|
|
112
105
|
id: string;
|
|
113
106
|
}>;
|
|
114
|
-
export declare const applicationCreateGuard: z.ZodObject<{
|
|
107
|
+
export declare const applicationCreateGuard: z.ZodObject<z.objectUtil.extendShape<{
|
|
108
|
+
type: z.ZodOptional<z.ZodType<import("../db-entries/custom-types.js").ApplicationType, z.ZodTypeDef, import("../db-entries/custom-types.js").ApplicationType>>;
|
|
109
|
+
name: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
|
|
115
110
|
description: z.ZodOptional<z.ZodOptional<z.ZodType<string | null, z.ZodTypeDef, string | null>>>;
|
|
116
|
-
oidcClientMetadata: z.ZodOptional<z.ZodType<
|
|
117
|
-
redirectUris: string[];
|
|
118
|
-
postLogoutRedirectUris: string[];
|
|
119
|
-
logoUri?: string | undefined;
|
|
120
|
-
}, z.ZodTypeDef, {
|
|
121
|
-
redirectUris: string[];
|
|
122
|
-
postLogoutRedirectUris: string[];
|
|
123
|
-
logoUri?: string | undefined;
|
|
124
|
-
}>>;
|
|
111
|
+
oidcClientMetadata: z.ZodOptional<z.ZodType<import("../index.js").OidcClientMetadata, z.ZodTypeDef, import("../index.js").OidcClientMetadata>>;
|
|
125
112
|
customClientMetadata: z.ZodOptional<z.ZodOptional<z.ZodType<{
|
|
126
113
|
corsAllowedOrigins?: string[] | undefined;
|
|
127
114
|
idTokenTtl?: number | undefined;
|
|
@@ -196,19 +183,25 @@ export declare const applicationCreateGuard: z.ZodObject<{
|
|
|
196
183
|
} | null;
|
|
197
184
|
}[] | undefined;
|
|
198
185
|
} | null>>>;
|
|
186
|
+
customData: z.ZodOptional<z.ZodOptional<z.ZodType<import("@withtyped/server").JsonObject, z.ZodTypeDef, import("@withtyped/server").JsonObject>>>;
|
|
199
187
|
isThirdParty: z.ZodOptional<z.ZodOptional<z.ZodType<boolean, z.ZodTypeDef, boolean>>>;
|
|
200
|
-
|
|
188
|
+
}, Pick<{
|
|
189
|
+
tenantId: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
|
|
190
|
+
id: z.ZodType<string, z.ZodTypeDef, string>;
|
|
201
191
|
name: z.ZodType<string, z.ZodTypeDef, string>;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
192
|
+
secret: z.ZodType<string, z.ZodTypeDef, string>;
|
|
193
|
+
description: z.ZodOptional<z.ZodType<string | null, z.ZodTypeDef, string | null>>;
|
|
194
|
+
type: z.ZodType<import("../db-entries/custom-types.js").ApplicationType, z.ZodTypeDef, import("../db-entries/custom-types.js").ApplicationType>;
|
|
195
|
+
oidcClientMetadata: z.ZodType<import("../index.js").OidcClientMetadata, z.ZodTypeDef, import("../index.js").OidcClientMetadata>;
|
|
196
|
+
customClientMetadata: z.ZodOptional<z.ZodType<{
|
|
197
|
+
corsAllowedOrigins?: string[] | undefined;
|
|
198
|
+
idTokenTtl?: number | undefined;
|
|
199
|
+
refreshTokenTtl?: number | undefined;
|
|
200
|
+
refreshTokenTtlInDays?: number | undefined;
|
|
201
|
+
tenantId?: string | undefined;
|
|
202
|
+
alwaysIssueRefreshToken?: boolean | undefined;
|
|
203
|
+
rotateRefreshToken?: boolean | undefined;
|
|
204
|
+
}, z.ZodTypeDef, {
|
|
212
205
|
corsAllowedOrigins?: string[] | undefined;
|
|
213
206
|
idTokenTtl?: number | undefined;
|
|
214
207
|
refreshTokenTtl?: number | undefined;
|
|
@@ -216,8 +209,8 @@ export declare const applicationCreateGuard: z.ZodObject<{
|
|
|
216
209
|
tenantId?: string | undefined;
|
|
217
210
|
alwaysIssueRefreshToken?: boolean | undefined;
|
|
218
211
|
rotateRefreshToken?: boolean | undefined;
|
|
219
|
-
}
|
|
220
|
-
protectedAppMetadata
|
|
212
|
+
}>>;
|
|
213
|
+
protectedAppMetadata: z.ZodOptional<z.ZodType<{
|
|
221
214
|
host: string;
|
|
222
215
|
origin: string;
|
|
223
216
|
sessionDuration: number;
|
|
@@ -245,27 +238,7 @@ export declare const applicationCreateGuard: z.ZodObject<{
|
|
|
245
238
|
verification_errors?: string[] | undefined;
|
|
246
239
|
} | null;
|
|
247
240
|
}[] | undefined;
|
|
248
|
-
} | null
|
|
249
|
-
isThirdParty?: boolean | undefined;
|
|
250
|
-
}, {
|
|
251
|
-
type: import("../db-entries/custom-types.js").ApplicationType;
|
|
252
|
-
name: string;
|
|
253
|
-
description?: string | null | undefined;
|
|
254
|
-
oidcClientMetadata?: {
|
|
255
|
-
redirectUris: string[];
|
|
256
|
-
postLogoutRedirectUris: string[];
|
|
257
|
-
logoUri?: string | undefined;
|
|
258
|
-
} | undefined;
|
|
259
|
-
customClientMetadata?: {
|
|
260
|
-
corsAllowedOrigins?: string[] | undefined;
|
|
261
|
-
idTokenTtl?: number | undefined;
|
|
262
|
-
refreshTokenTtl?: number | undefined;
|
|
263
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
264
|
-
tenantId?: string | undefined;
|
|
265
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
266
|
-
rotateRefreshToken?: boolean | undefined;
|
|
267
|
-
} | undefined;
|
|
268
|
-
protectedAppMetadata?: {
|
|
241
|
+
} | null, z.ZodTypeDef, {
|
|
269
242
|
host: string;
|
|
270
243
|
origin: string;
|
|
271
244
|
sessionDuration: number;
|
|
@@ -293,20 +266,32 @@ export declare const applicationCreateGuard: z.ZodObject<{
|
|
|
293
266
|
verification_errors?: string[] | undefined;
|
|
294
267
|
} | null;
|
|
295
268
|
}[] | undefined;
|
|
296
|
-
} | null
|
|
297
|
-
|
|
269
|
+
} | null>>;
|
|
270
|
+
customData: z.ZodOptional<z.ZodType<import("@withtyped/server").JsonObject, z.ZodTypeDef, import("@withtyped/server").JsonObject>>;
|
|
271
|
+
isThirdParty: z.ZodOptional<z.ZodType<boolean, z.ZodTypeDef, boolean>>;
|
|
272
|
+
createdAt: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, number>>;
|
|
273
|
+
}, "type" | "name">>, "strip", z.ZodTypeAny, {
|
|
274
|
+
type: import("../db-entries/custom-types.js").ApplicationType;
|
|
275
|
+
name: string;
|
|
276
|
+
description?: string | null;
|
|
277
|
+
oidcClientMetadata?: import("../index.js").OidcClientMetadata | undefined;
|
|
278
|
+
customClientMetadata?: import("../index.js").CustomClientMetadata;
|
|
279
|
+
protectedAppMetadata?: import("../index.js").ProtectedAppMetadata | null;
|
|
280
|
+
customData?: import("@withtyped/server").JsonObject;
|
|
281
|
+
isThirdParty?: boolean;
|
|
282
|
+
}, {
|
|
283
|
+
type: import("../db-entries/custom-types.js").ApplicationType;
|
|
284
|
+
name: string;
|
|
285
|
+
description?: string | null;
|
|
286
|
+
oidcClientMetadata?: import("../index.js").OidcClientMetadata | undefined;
|
|
287
|
+
customClientMetadata?: import("../index.js").CustomClientMetadata;
|
|
288
|
+
protectedAppMetadata?: import("../index.js").ProtectedAppMetadata | null;
|
|
289
|
+
customData?: import("@withtyped/server").JsonObject;
|
|
290
|
+
isThirdParty?: boolean;
|
|
298
291
|
}>;
|
|
299
292
|
export declare const applicationPatchGuard: z.ZodObject<Omit<{
|
|
300
293
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodType<string | null, z.ZodTypeDef, string | null>>>>;
|
|
301
|
-
oidcClientMetadata: z.ZodOptional<z.ZodOptional<z.ZodType<
|
|
302
|
-
redirectUris: string[];
|
|
303
|
-
postLogoutRedirectUris: string[];
|
|
304
|
-
logoUri?: string | undefined;
|
|
305
|
-
}, z.ZodTypeDef, {
|
|
306
|
-
redirectUris: string[];
|
|
307
|
-
postLogoutRedirectUris: string[];
|
|
308
|
-
logoUri?: string | undefined;
|
|
309
|
-
}>>>;
|
|
294
|
+
oidcClientMetadata: z.ZodOptional<z.ZodOptional<z.ZodType<import("../index.js").OidcClientMetadata, z.ZodTypeDef, import("../index.js").OidcClientMetadata>>>;
|
|
310
295
|
customClientMetadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodType<{
|
|
311
296
|
corsAllowedOrigins?: string[] | undefined;
|
|
312
297
|
idTokenTtl?: number | undefined;
|
|
@@ -381,101 +366,24 @@ export declare const applicationPatchGuard: z.ZodObject<Omit<{
|
|
|
381
366
|
} | null;
|
|
382
367
|
}[] | undefined;
|
|
383
368
|
} | null>>>>;
|
|
369
|
+
customData: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodType<import("@withtyped/server").JsonObject, z.ZodTypeDef, import("@withtyped/server").JsonObject>>>>;
|
|
384
370
|
isThirdParty: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodType<boolean, z.ZodTypeDef, boolean>>>>;
|
|
385
371
|
type: z.ZodOptional<z.ZodType<import("../db-entries/custom-types.js").ApplicationType, z.ZodTypeDef, import("../db-entries/custom-types.js").ApplicationType>>;
|
|
386
372
|
name: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
|
|
387
373
|
}, "type" | "isThirdParty">, "strip", z.ZodTypeAny, {
|
|
388
374
|
name?: string | undefined;
|
|
389
|
-
description?: string | null
|
|
390
|
-
oidcClientMetadata?:
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
} | undefined;
|
|
395
|
-
customClientMetadata?: {
|
|
396
|
-
corsAllowedOrigins?: string[] | undefined;
|
|
397
|
-
idTokenTtl?: number | undefined;
|
|
398
|
-
refreshTokenTtl?: number | undefined;
|
|
399
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
400
|
-
tenantId?: string | undefined;
|
|
401
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
402
|
-
rotateRefreshToken?: boolean | undefined;
|
|
403
|
-
} | undefined;
|
|
404
|
-
protectedAppMetadata?: {
|
|
405
|
-
host: string;
|
|
406
|
-
origin: string;
|
|
407
|
-
sessionDuration: number;
|
|
408
|
-
pageRules: {
|
|
409
|
-
path: string;
|
|
410
|
-
}[];
|
|
411
|
-
customDomains?: {
|
|
412
|
-
status: import("../index.js").DomainStatus;
|
|
413
|
-
domain: string;
|
|
414
|
-
errorMessage: string | null;
|
|
415
|
-
dnsRecords: {
|
|
416
|
-
type: string;
|
|
417
|
-
value: string;
|
|
418
|
-
name: string;
|
|
419
|
-
}[];
|
|
420
|
-
cloudflareData: {
|
|
421
|
-
status: string;
|
|
422
|
-
id: string;
|
|
423
|
-
ssl: {
|
|
424
|
-
status: string;
|
|
425
|
-
validation_errors?: {
|
|
426
|
-
message: string;
|
|
427
|
-
}[] | undefined;
|
|
428
|
-
};
|
|
429
|
-
verification_errors?: string[] | undefined;
|
|
430
|
-
} | null;
|
|
431
|
-
}[] | undefined;
|
|
432
|
-
} | null | undefined;
|
|
375
|
+
description?: string | null;
|
|
376
|
+
oidcClientMetadata?: import("../index.js").OidcClientMetadata | undefined;
|
|
377
|
+
customClientMetadata?: import("../index.js").CustomClientMetadata;
|
|
378
|
+
protectedAppMetadata?: import("../index.js").ProtectedAppMetadata | null;
|
|
379
|
+
customData?: import("@withtyped/server").JsonObject;
|
|
433
380
|
}, {
|
|
434
381
|
name?: string | undefined;
|
|
435
|
-
description?: string | null
|
|
436
|
-
oidcClientMetadata?:
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
} | undefined;
|
|
441
|
-
customClientMetadata?: {
|
|
442
|
-
corsAllowedOrigins?: string[] | undefined;
|
|
443
|
-
idTokenTtl?: number | undefined;
|
|
444
|
-
refreshTokenTtl?: number | undefined;
|
|
445
|
-
refreshTokenTtlInDays?: number | undefined;
|
|
446
|
-
tenantId?: string | undefined;
|
|
447
|
-
alwaysIssueRefreshToken?: boolean | undefined;
|
|
448
|
-
rotateRefreshToken?: boolean | undefined;
|
|
449
|
-
} | undefined;
|
|
450
|
-
protectedAppMetadata?: {
|
|
451
|
-
host: string;
|
|
452
|
-
origin: string;
|
|
453
|
-
sessionDuration: number;
|
|
454
|
-
pageRules: {
|
|
455
|
-
path: string;
|
|
456
|
-
}[];
|
|
457
|
-
customDomains?: {
|
|
458
|
-
status: import("../index.js").DomainStatus;
|
|
459
|
-
domain: string;
|
|
460
|
-
errorMessage: string | null;
|
|
461
|
-
dnsRecords: {
|
|
462
|
-
type: string;
|
|
463
|
-
value: string;
|
|
464
|
-
name: string;
|
|
465
|
-
}[];
|
|
466
|
-
cloudflareData: {
|
|
467
|
-
status: string;
|
|
468
|
-
id: string;
|
|
469
|
-
ssl: {
|
|
470
|
-
status: string;
|
|
471
|
-
validation_errors?: {
|
|
472
|
-
message: string;
|
|
473
|
-
}[] | undefined;
|
|
474
|
-
};
|
|
475
|
-
verification_errors?: string[] | undefined;
|
|
476
|
-
} | null;
|
|
477
|
-
}[] | undefined;
|
|
478
|
-
} | null | undefined;
|
|
382
|
+
description?: string | null;
|
|
383
|
+
oidcClientMetadata?: import("../index.js").OidcClientMetadata | undefined;
|
|
384
|
+
customClientMetadata?: import("../index.js").CustomClientMetadata;
|
|
385
|
+
protectedAppMetadata?: import("../index.js").ProtectedAppMetadata | null;
|
|
386
|
+
customData?: import("@withtyped/server").JsonObject;
|
|
479
387
|
}>;
|
|
480
388
|
export declare const applicationUserConsentScopesResponseGuard: z.ZodObject<{
|
|
481
389
|
organizationScopes: z.ZodArray<z.ZodObject<Pick<{
|
|
@@ -675,35 +583,45 @@ export declare enum ApplicationUserConsentScopeType {
|
|
|
675
583
|
UserScopes = "user-scopes"
|
|
676
584
|
}
|
|
677
585
|
export type ApplicationUserConsentScopesResponse = z.infer<typeof applicationUserConsentScopesResponseGuard>;
|
|
678
|
-
export declare const applicationSignInExperienceCreateGuard: z.ZodObject<{
|
|
679
|
-
|
|
586
|
+
export declare const applicationSignInExperienceCreateGuard: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
587
|
+
tenantId: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>;
|
|
588
|
+
applicationId: z.ZodType<string, z.ZodTypeDef, string>;
|
|
589
|
+
color: z.ZodOptional<z.ZodType<Partial<{
|
|
590
|
+
primaryColor: string;
|
|
591
|
+
isDarkModeEnabled: boolean;
|
|
592
|
+
darkPrimaryColor: string;
|
|
593
|
+
}>, z.ZodTypeDef, Partial<{
|
|
594
|
+
primaryColor: string;
|
|
595
|
+
isDarkModeEnabled: boolean;
|
|
596
|
+
darkPrimaryColor: string;
|
|
597
|
+
}>>>;
|
|
680
598
|
branding: z.ZodOptional<z.ZodType<{
|
|
681
599
|
logoUrl?: string | undefined;
|
|
682
600
|
darkLogoUrl?: string | undefined;
|
|
683
601
|
favicon?: string | undefined;
|
|
602
|
+
darkFavicon?: string | undefined;
|
|
684
603
|
}, z.ZodTypeDef, {
|
|
685
604
|
logoUrl?: string | undefined;
|
|
686
605
|
darkLogoUrl?: string | undefined;
|
|
687
606
|
favicon?: string | undefined;
|
|
607
|
+
darkFavicon?: string | undefined;
|
|
688
608
|
}>>;
|
|
609
|
+
termsOfUseUrl: z.ZodOptional<z.ZodType<string | null, z.ZodTypeDef, string | null>>;
|
|
610
|
+
privacyPolicyUrl: z.ZodOptional<z.ZodType<string | null, z.ZodTypeDef, string | null>>;
|
|
611
|
+
displayName: z.ZodOptional<z.ZodType<string | null, z.ZodTypeDef, string | null>>;
|
|
612
|
+
}, "applicationId" | "tenantId" | "termsOfUseUrl" | "privacyPolicyUrl">, {
|
|
689
613
|
termsOfUseUrl: z.ZodUnion<[z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodLiteral<"">]>;
|
|
690
614
|
privacyPolicyUrl: z.ZodUnion<[z.ZodNullable<z.ZodOptional<z.ZodString>>, z.ZodLiteral<"">]>;
|
|
691
|
-
}
|
|
692
|
-
displayName?: string | null
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
darkLogoUrl?: string | undefined;
|
|
696
|
-
favicon?: string | undefined;
|
|
697
|
-
} | undefined;
|
|
615
|
+
}>, "strip", z.ZodTypeAny, {
|
|
616
|
+
displayName?: string | null;
|
|
617
|
+
color?: import("../index.js").PartialColor;
|
|
618
|
+
branding?: import("../index.js").Branding;
|
|
698
619
|
termsOfUseUrl?: string | null | undefined;
|
|
699
620
|
privacyPolicyUrl?: string | null | undefined;
|
|
700
621
|
}, {
|
|
701
|
-
displayName?: string | null
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
darkLogoUrl?: string | undefined;
|
|
705
|
-
favicon?: string | undefined;
|
|
706
|
-
} | undefined;
|
|
622
|
+
displayName?: string | null;
|
|
623
|
+
color?: import("../index.js").PartialColor;
|
|
624
|
+
branding?: import("../index.js").Branding;
|
|
707
625
|
termsOfUseUrl?: string | null | undefined;
|
|
708
626
|
privacyPolicyUrl?: string | null | undefined;
|
|
709
627
|
}>;
|