@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
package/lib/types/connector.d.ts
CHANGED
|
@@ -2,27 +2,31 @@ import { ConnectorType } from '@logto/connector-kit';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export type { ConnectorMetadata } from '@logto/connector-kit';
|
|
4
4
|
export { ConnectorType, ConnectorPlatform } from '@logto/connector-kit';
|
|
5
|
-
export declare const connectorResponseGuard: z.ZodObject<{
|
|
6
|
-
|
|
7
|
-
id: z.
|
|
8
|
-
logo: z.ZodString;
|
|
9
|
-
description: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
10
|
-
target: z.ZodString;
|
|
11
|
-
logoDark: z.ZodNullable<z.ZodString>;
|
|
5
|
+
export declare const connectorResponseGuard: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Pick<{
|
|
6
|
+
tenantId: z.ZodType<string, z.ZodTypeDef, string>;
|
|
7
|
+
id: z.ZodType<string, z.ZodTypeDef, string>;
|
|
12
8
|
syncProfile: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
13
9
|
connectorId: z.ZodType<string, z.ZodTypeDef, string>;
|
|
14
10
|
config: z.ZodType<import("@withtyped/server").JsonObject, z.ZodTypeDef, import("@withtyped/server").JsonObject>;
|
|
15
|
-
metadata: z.ZodType<
|
|
16
|
-
target
|
|
17
|
-
name
|
|
18
|
-
logo
|
|
19
|
-
logoDark
|
|
20
|
-
}, z.
|
|
21
|
-
target
|
|
22
|
-
name
|
|
23
|
-
logo
|
|
24
|
-
logoDark
|
|
25
|
-
}
|
|
11
|
+
metadata: z.ZodType<{
|
|
12
|
+
target?: string | undefined;
|
|
13
|
+
name?: import("@logto/connector-kit").I18nPhrases | undefined;
|
|
14
|
+
logo?: string | undefined;
|
|
15
|
+
logoDark?: string | null | undefined;
|
|
16
|
+
}, z.ZodTypeDef, {
|
|
17
|
+
target?: string | undefined;
|
|
18
|
+
name?: import("@logto/connector-kit").I18nPhrases | undefined;
|
|
19
|
+
logo?: string | undefined;
|
|
20
|
+
logoDark?: string | null | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
createdAt: z.ZodType<number, z.ZodTypeDef, number>;
|
|
23
|
+
}, "id" | "syncProfile" | "connectorId" | "config" | "metadata">, z.objectUtil.extendShape<{
|
|
24
|
+
id: z.ZodString;
|
|
25
|
+
target: z.ZodString;
|
|
26
|
+
name: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
27
|
+
description: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
28
|
+
logo: z.ZodString;
|
|
29
|
+
logoDark: z.ZodNullable<z.ZodString>;
|
|
26
30
|
readme: z.ZodString;
|
|
27
31
|
configTemplate: z.ZodOptional<z.ZodString>;
|
|
28
32
|
formItems: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -91,6 +95,67 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
91
95
|
description?: string | undefined;
|
|
92
96
|
tooltip?: string | undefined;
|
|
93
97
|
isConfidential?: boolean | undefined;
|
|
98
|
+
}>, z.ZodObject<{
|
|
99
|
+
key: z.ZodString;
|
|
100
|
+
label: z.ZodString;
|
|
101
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
102
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
104
|
+
showConditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
105
|
+
targetKey: z.ZodString;
|
|
106
|
+
expectValue: z.ZodOptional<z.ZodUnknown>;
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
targetKey: string;
|
|
109
|
+
expectValue?: unknown;
|
|
110
|
+
}, {
|
|
111
|
+
targetKey: string;
|
|
112
|
+
expectValue?: unknown;
|
|
113
|
+
}>, "many">>;
|
|
114
|
+
description: z.ZodOptional<z.ZodString>;
|
|
115
|
+
tooltip: z.ZodOptional<z.ZodString>;
|
|
116
|
+
isConfidential: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
type: z.ZodLiteral<import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect>;
|
|
118
|
+
selectItems: z.ZodArray<z.ZodObject<{
|
|
119
|
+
value: z.ZodString;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
value: string;
|
|
122
|
+
}, {
|
|
123
|
+
value: string;
|
|
124
|
+
}>, "many">;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
127
|
+
selectItems: {
|
|
128
|
+
value: string;
|
|
129
|
+
}[];
|
|
130
|
+
key: string;
|
|
131
|
+
label: string;
|
|
132
|
+
placeholder?: string | undefined;
|
|
133
|
+
required?: boolean | undefined;
|
|
134
|
+
defaultValue?: unknown;
|
|
135
|
+
showConditions?: {
|
|
136
|
+
targetKey: string;
|
|
137
|
+
expectValue?: unknown;
|
|
138
|
+
}[] | undefined;
|
|
139
|
+
description?: string | undefined;
|
|
140
|
+
tooltip?: string | undefined;
|
|
141
|
+
isConfidential?: boolean | undefined;
|
|
142
|
+
}, {
|
|
143
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
144
|
+
selectItems: {
|
|
145
|
+
value: string;
|
|
146
|
+
}[];
|
|
147
|
+
key: string;
|
|
148
|
+
label: string;
|
|
149
|
+
placeholder?: string | undefined;
|
|
150
|
+
required?: boolean | undefined;
|
|
151
|
+
defaultValue?: unknown;
|
|
152
|
+
showConditions?: {
|
|
153
|
+
targetKey: string;
|
|
154
|
+
expectValue?: unknown;
|
|
155
|
+
}[] | undefined;
|
|
156
|
+
description?: string | undefined;
|
|
157
|
+
tooltip?: string | undefined;
|
|
158
|
+
isConfidential?: boolean | undefined;
|
|
94
159
|
}>, z.ZodObject<{
|
|
95
160
|
key: z.ZodString;
|
|
96
161
|
label: z.ZodString;
|
|
@@ -140,13 +205,17 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
140
205
|
tooltip?: string | undefined;
|
|
141
206
|
isConfidential?: boolean | undefined;
|
|
142
207
|
}>]>, "many">>;
|
|
208
|
+
customData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
209
|
+
fromEmail: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, {
|
|
143
211
|
platform: z.ZodNullable<z.ZodNativeEnum<typeof import("@logto/connector-kit").ConnectorPlatform>>;
|
|
144
212
|
isStandard: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
+
}>>, {
|
|
145
214
|
type: z.ZodNativeEnum<typeof ConnectorType>;
|
|
146
215
|
isDemo: z.ZodOptional<z.ZodBoolean>;
|
|
147
216
|
extraInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
148
217
|
usage: z.ZodOptional<z.ZodNumber>;
|
|
149
|
-
}
|
|
218
|
+
}>, "strip", z.ZodTypeAny, {
|
|
150
219
|
type: ConnectorType;
|
|
151
220
|
name: {
|
|
152
221
|
en: string;
|
|
@@ -402,21 +471,16 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
402
471
|
"zh-TW"?: string | undefined;
|
|
403
472
|
"zz-TR"?: string | undefined;
|
|
404
473
|
};
|
|
405
|
-
target: string;
|
|
406
|
-
logoDark: string | null;
|
|
407
474
|
syncProfile: boolean;
|
|
408
475
|
connectorId: string;
|
|
409
476
|
config: import("@withtyped/server").JsonObject;
|
|
410
|
-
metadata:
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
logo?: string | undefined;
|
|
414
|
-
logoDark?: string | null | undefined;
|
|
415
|
-
} & {
|
|
416
|
-
[k: string]: unknown;
|
|
417
|
-
};
|
|
477
|
+
metadata: import("@logto/connector-kit").ConfigurableConnectorMetadata;
|
|
478
|
+
target: string;
|
|
479
|
+
logoDark: string | null;
|
|
418
480
|
readme: string;
|
|
419
481
|
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
482
|
+
customData?: Record<string, unknown> | undefined;
|
|
483
|
+
usage?: number | undefined;
|
|
420
484
|
configTemplate?: string | undefined;
|
|
421
485
|
formItems?: ({
|
|
422
486
|
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
@@ -436,6 +500,23 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
436
500
|
description?: string | undefined;
|
|
437
501
|
tooltip?: string | undefined;
|
|
438
502
|
isConfidential?: boolean | undefined;
|
|
503
|
+
} | {
|
|
504
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
505
|
+
selectItems: {
|
|
506
|
+
value: string;
|
|
507
|
+
}[];
|
|
508
|
+
key: string;
|
|
509
|
+
label: string;
|
|
510
|
+
placeholder?: string | undefined;
|
|
511
|
+
required?: boolean | undefined;
|
|
512
|
+
defaultValue?: unknown;
|
|
513
|
+
showConditions?: {
|
|
514
|
+
targetKey: string;
|
|
515
|
+
expectValue?: unknown;
|
|
516
|
+
}[] | undefined;
|
|
517
|
+
description?: string | undefined;
|
|
518
|
+
tooltip?: string | undefined;
|
|
519
|
+
isConfidential?: boolean | undefined;
|
|
439
520
|
} | {
|
|
440
521
|
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;
|
|
441
522
|
key: string;
|
|
@@ -451,10 +532,10 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
451
532
|
tooltip?: string | undefined;
|
|
452
533
|
isConfidential?: boolean | undefined;
|
|
453
534
|
})[] | undefined;
|
|
535
|
+
fromEmail?: string | undefined;
|
|
454
536
|
isStandard?: boolean | undefined;
|
|
455
537
|
isDemo?: boolean | undefined;
|
|
456
538
|
extraInfo?: Record<string, unknown> | undefined;
|
|
457
|
-
usage?: number | undefined;
|
|
458
539
|
}, {
|
|
459
540
|
type: ConnectorType;
|
|
460
541
|
name: {
|
|
@@ -711,21 +792,16 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
711
792
|
"zh-TW"?: string | undefined;
|
|
712
793
|
"zz-TR"?: string | undefined;
|
|
713
794
|
};
|
|
714
|
-
target: string;
|
|
715
|
-
logoDark: string | null;
|
|
716
795
|
syncProfile: boolean;
|
|
717
796
|
connectorId: string;
|
|
718
797
|
config: import("@withtyped/server").JsonObject;
|
|
719
|
-
metadata:
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
logo?: string | undefined;
|
|
723
|
-
logoDark?: string | null | undefined;
|
|
724
|
-
} & {
|
|
725
|
-
[k: string]: unknown;
|
|
726
|
-
};
|
|
798
|
+
metadata: import("@logto/connector-kit").ConfigurableConnectorMetadata;
|
|
799
|
+
target: string;
|
|
800
|
+
logoDark: string | null;
|
|
727
801
|
readme: string;
|
|
728
802
|
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
803
|
+
customData?: Record<string, unknown> | undefined;
|
|
804
|
+
usage?: number | undefined;
|
|
729
805
|
configTemplate?: string | undefined;
|
|
730
806
|
formItems?: ({
|
|
731
807
|
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
@@ -745,6 +821,23 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
745
821
|
description?: string | undefined;
|
|
746
822
|
tooltip?: string | undefined;
|
|
747
823
|
isConfidential?: boolean | undefined;
|
|
824
|
+
} | {
|
|
825
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
826
|
+
selectItems: {
|
|
827
|
+
value: string;
|
|
828
|
+
}[];
|
|
829
|
+
key: string;
|
|
830
|
+
label: string;
|
|
831
|
+
placeholder?: string | undefined;
|
|
832
|
+
required?: boolean | undefined;
|
|
833
|
+
defaultValue?: unknown;
|
|
834
|
+
showConditions?: {
|
|
835
|
+
targetKey: string;
|
|
836
|
+
expectValue?: unknown;
|
|
837
|
+
}[] | undefined;
|
|
838
|
+
description?: string | undefined;
|
|
839
|
+
tooltip?: string | undefined;
|
|
840
|
+
isConfidential?: boolean | undefined;
|
|
748
841
|
} | {
|
|
749
842
|
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;
|
|
750
843
|
key: string;
|
|
@@ -760,19 +853,20 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
760
853
|
tooltip?: string | undefined;
|
|
761
854
|
isConfidential?: boolean | undefined;
|
|
762
855
|
})[] | undefined;
|
|
856
|
+
fromEmail?: string | undefined;
|
|
763
857
|
isStandard?: boolean | undefined;
|
|
764
858
|
isDemo?: boolean | undefined;
|
|
765
859
|
extraInfo?: Record<string, unknown> | undefined;
|
|
766
|
-
usage?: number | undefined;
|
|
767
860
|
}>;
|
|
768
861
|
export type ConnectorResponse = z.infer<typeof connectorResponseGuard>;
|
|
769
|
-
export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
862
|
+
export declare const connectorFactoryResponseGuard: z.ZodObject<z.objectUtil.extendShape<{
|
|
770
863
|
type: z.ZodNativeEnum<typeof ConnectorType>;
|
|
771
864
|
isDemo: z.ZodOptional<z.ZodBoolean>;
|
|
772
|
-
|
|
865
|
+
}, z.objectUtil.extendShape<{
|
|
773
866
|
id: z.ZodString;
|
|
774
867
|
target: z.ZodString;
|
|
775
868
|
name: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
869
|
+
description: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
776
870
|
logo: z.ZodString;
|
|
777
871
|
logoDark: z.ZodNullable<z.ZodString>;
|
|
778
872
|
readme: z.ZodString;
|
|
@@ -862,84 +956,18 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
862
956
|
description: z.ZodOptional<z.ZodString>;
|
|
863
957
|
tooltip: z.ZodOptional<z.ZodString>;
|
|
864
958
|
isConfidential: z.ZodOptional<z.ZodBoolean>;
|
|
865
|
-
type: z.
|
|
866
|
-
}, "strip", z.ZodTypeAny, {
|
|
867
|
-
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;
|
|
868
|
-
key: string;
|
|
869
|
-
label: string;
|
|
870
|
-
placeholder?: string | undefined;
|
|
871
|
-
required?: boolean | undefined;
|
|
872
|
-
defaultValue?: unknown;
|
|
873
|
-
showConditions?: {
|
|
874
|
-
targetKey: string;
|
|
875
|
-
expectValue?: unknown;
|
|
876
|
-
}[] | undefined;
|
|
877
|
-
description?: string | undefined;
|
|
878
|
-
tooltip?: string | undefined;
|
|
879
|
-
isConfidential?: boolean | undefined;
|
|
880
|
-
}, {
|
|
881
|
-
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;
|
|
882
|
-
key: string;
|
|
883
|
-
label: string;
|
|
884
|
-
placeholder?: string | undefined;
|
|
885
|
-
required?: boolean | undefined;
|
|
886
|
-
defaultValue?: unknown;
|
|
887
|
-
showConditions?: {
|
|
888
|
-
targetKey: string;
|
|
889
|
-
expectValue?: unknown;
|
|
890
|
-
}[] | undefined;
|
|
891
|
-
description?: string | undefined;
|
|
892
|
-
tooltip?: string | undefined;
|
|
893
|
-
isConfidential?: boolean | undefined;
|
|
894
|
-
}>]>, "many">>;
|
|
895
|
-
platform: z.ZodNullable<z.ZodNativeEnum<typeof import("@logto/connector-kit").ConnectorPlatform>>;
|
|
896
|
-
isStandard: z.ZodOptional<z.ZodBoolean>;
|
|
897
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
898
|
-
type: z.ZodNativeEnum<typeof ConnectorType>;
|
|
899
|
-
isDemo: z.ZodOptional<z.ZodBoolean>;
|
|
900
|
-
description: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
901
|
-
id: z.ZodString;
|
|
902
|
-
target: z.ZodString;
|
|
903
|
-
name: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
904
|
-
logo: z.ZodString;
|
|
905
|
-
logoDark: z.ZodNullable<z.ZodString>;
|
|
906
|
-
readme: z.ZodString;
|
|
907
|
-
configTemplate: z.ZodOptional<z.ZodString>;
|
|
908
|
-
formItems: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
909
|
-
key: z.ZodString;
|
|
910
|
-
label: z.ZodString;
|
|
911
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
912
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
913
|
-
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
914
|
-
showConditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
915
|
-
targetKey: z.ZodString;
|
|
916
|
-
expectValue: z.ZodOptional<z.ZodUnknown>;
|
|
917
|
-
}, "strip", z.ZodTypeAny, {
|
|
918
|
-
targetKey: string;
|
|
919
|
-
expectValue?: unknown;
|
|
920
|
-
}, {
|
|
921
|
-
targetKey: string;
|
|
922
|
-
expectValue?: unknown;
|
|
923
|
-
}>, "many">>;
|
|
924
|
-
description: z.ZodOptional<z.ZodString>;
|
|
925
|
-
tooltip: z.ZodOptional<z.ZodString>;
|
|
926
|
-
isConfidential: z.ZodOptional<z.ZodBoolean>;
|
|
927
|
-
type: z.ZodLiteral<import("@logto/connector-kit").ConnectorConfigFormItemType.Select>;
|
|
959
|
+
type: z.ZodLiteral<import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect>;
|
|
928
960
|
selectItems: z.ZodArray<z.ZodObject<{
|
|
929
961
|
value: z.ZodString;
|
|
930
|
-
title: z.ZodString;
|
|
931
962
|
}, "strip", z.ZodTypeAny, {
|
|
932
963
|
value: string;
|
|
933
|
-
title: string;
|
|
934
964
|
}, {
|
|
935
965
|
value: string;
|
|
936
|
-
title: string;
|
|
937
966
|
}>, "many">;
|
|
938
967
|
}, "strip", z.ZodTypeAny, {
|
|
939
|
-
type: import("@logto/connector-kit").ConnectorConfigFormItemType.
|
|
968
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
940
969
|
selectItems: {
|
|
941
970
|
value: string;
|
|
942
|
-
title: string;
|
|
943
971
|
}[];
|
|
944
972
|
key: string;
|
|
945
973
|
label: string;
|
|
@@ -954,10 +982,9 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
954
982
|
tooltip?: string | undefined;
|
|
955
983
|
isConfidential?: boolean | undefined;
|
|
956
984
|
}, {
|
|
957
|
-
type: import("@logto/connector-kit").ConnectorConfigFormItemType.
|
|
985
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
958
986
|
selectItems: {
|
|
959
987
|
value: string;
|
|
960
|
-
title: string;
|
|
961
988
|
}[];
|
|
962
989
|
key: string;
|
|
963
990
|
label: string;
|
|
@@ -1020,58 +1047,282 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
1020
1047
|
tooltip?: string | undefined;
|
|
1021
1048
|
isConfidential?: boolean | undefined;
|
|
1022
1049
|
}>]>, "many">>;
|
|
1050
|
+
customData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1051
|
+
fromEmail: z.ZodOptional<z.ZodString>;
|
|
1052
|
+
}, {
|
|
1023
1053
|
platform: z.ZodNullable<z.ZodNativeEnum<typeof import("@logto/connector-kit").ConnectorPlatform>>;
|
|
1024
1054
|
isStandard: z.ZodOptional<z.ZodBoolean>;
|
|
1025
|
-
}
|
|
1026
|
-
type:
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1055
|
+
}>>, "strip", z.ZodTypeAny, {
|
|
1056
|
+
type: ConnectorType;
|
|
1057
|
+
name: {
|
|
1058
|
+
en: string;
|
|
1059
|
+
} & {
|
|
1060
|
+
"af-ZA"?: string | undefined;
|
|
1061
|
+
"am-ET"?: string | undefined;
|
|
1062
|
+
"ar-AR"?: string | undefined;
|
|
1063
|
+
"as-IN"?: string | undefined;
|
|
1064
|
+
"az-AZ"?: string | undefined;
|
|
1065
|
+
"be-BY"?: string | undefined;
|
|
1066
|
+
"bg-BG"?: string | undefined;
|
|
1067
|
+
"bn-IN"?: string | undefined;
|
|
1068
|
+
"br-FR"?: string | undefined;
|
|
1069
|
+
"bs-BA"?: string | undefined;
|
|
1070
|
+
"ca-ES"?: string | undefined;
|
|
1071
|
+
"cb-IQ"?: string | undefined;
|
|
1072
|
+
"co-FR"?: string | undefined;
|
|
1073
|
+
"cs-CZ"?: string | undefined;
|
|
1074
|
+
"cx-PH"?: string | undefined;
|
|
1075
|
+
"cy-GB"?: string | undefined;
|
|
1076
|
+
"da-DK"?: string | undefined;
|
|
1077
|
+
de?: string | undefined;
|
|
1078
|
+
"de-DE"?: string | undefined;
|
|
1079
|
+
"el-GR"?: string | undefined;
|
|
1080
|
+
"en-GB"?: string | undefined;
|
|
1081
|
+
"en-US"?: string | undefined;
|
|
1082
|
+
"eo-EO"?: string | undefined;
|
|
1083
|
+
es?: string | undefined;
|
|
1084
|
+
"es-ES"?: string | undefined;
|
|
1085
|
+
"es-419"?: string | undefined;
|
|
1086
|
+
"et-EE"?: string | undefined;
|
|
1087
|
+
"eu-ES"?: string | undefined;
|
|
1088
|
+
"fa-IR"?: string | undefined;
|
|
1089
|
+
"ff-NG"?: string | undefined;
|
|
1090
|
+
"fi-FI"?: string | undefined;
|
|
1091
|
+
"fo-FO"?: string | undefined;
|
|
1092
|
+
fr?: string | undefined;
|
|
1093
|
+
"fr-CA"?: string | undefined;
|
|
1094
|
+
"fr-FR"?: string | undefined;
|
|
1095
|
+
"fy-NL"?: string | undefined;
|
|
1096
|
+
"ga-IE"?: string | undefined;
|
|
1097
|
+
"gl-ES"?: string | undefined;
|
|
1098
|
+
"gn-PY"?: string | undefined;
|
|
1099
|
+
"gu-IN"?: string | undefined;
|
|
1100
|
+
"ha-NG"?: string | undefined;
|
|
1101
|
+
"he-IL"?: string | undefined;
|
|
1102
|
+
"hi-IN"?: string | undefined;
|
|
1103
|
+
"hr-HR"?: string | undefined;
|
|
1104
|
+
"ht-HT"?: string | undefined;
|
|
1105
|
+
"hu-HU"?: string | undefined;
|
|
1106
|
+
"hy-AM"?: string | undefined;
|
|
1107
|
+
"id-ID"?: string | undefined;
|
|
1108
|
+
"ik-US"?: string | undefined;
|
|
1109
|
+
"is-IS"?: string | undefined;
|
|
1110
|
+
it?: string | undefined;
|
|
1111
|
+
"it-IT"?: string | undefined;
|
|
1112
|
+
"iu-CA"?: string | undefined;
|
|
1113
|
+
ja?: string | undefined;
|
|
1114
|
+
"ja-JP"?: string | undefined;
|
|
1115
|
+
"ja-KS"?: string | undefined;
|
|
1116
|
+
"jv-ID"?: string | undefined;
|
|
1117
|
+
"ka-GE"?: string | undefined;
|
|
1118
|
+
"kk-KZ"?: string | undefined;
|
|
1119
|
+
"km-KH"?: string | undefined;
|
|
1120
|
+
"kn-IN"?: string | undefined;
|
|
1121
|
+
ko?: string | undefined;
|
|
1122
|
+
"ko-KR"?: string | undefined;
|
|
1123
|
+
"ku-TR"?: string | undefined;
|
|
1124
|
+
"ky-KG"?: string | undefined;
|
|
1125
|
+
"lo-LA"?: string | undefined;
|
|
1126
|
+
"lt-LT"?: string | undefined;
|
|
1127
|
+
"lv-LV"?: string | undefined;
|
|
1128
|
+
"mg-MG"?: string | undefined;
|
|
1129
|
+
"mk-MK"?: string | undefined;
|
|
1130
|
+
"ml-IN"?: string | undefined;
|
|
1131
|
+
"mn-MN"?: string | undefined;
|
|
1132
|
+
"mr-IN"?: string | undefined;
|
|
1133
|
+
"ms-MY"?: string | undefined;
|
|
1134
|
+
"mt-MT"?: string | undefined;
|
|
1135
|
+
"my-MM"?: string | undefined;
|
|
1136
|
+
"nb-NO"?: string | undefined;
|
|
1137
|
+
"ne-NP"?: string | undefined;
|
|
1138
|
+
"nl-BE"?: string | undefined;
|
|
1139
|
+
"nl-NL"?: string | undefined;
|
|
1140
|
+
"nn-NO"?: string | undefined;
|
|
1141
|
+
"or-IN"?: string | undefined;
|
|
1142
|
+
"pa-IN"?: string | undefined;
|
|
1143
|
+
"pl-PL"?: string | undefined;
|
|
1144
|
+
"ps-AF"?: string | undefined;
|
|
1145
|
+
pt?: string | undefined;
|
|
1146
|
+
"pt-BR"?: string | undefined;
|
|
1147
|
+
"pt-PT"?: string | undefined;
|
|
1148
|
+
"ro-RO"?: string | undefined;
|
|
1149
|
+
ru?: string | undefined;
|
|
1150
|
+
"ru-RU"?: string | undefined;
|
|
1151
|
+
"rw-RW"?: string | undefined;
|
|
1152
|
+
"sc-IT"?: string | undefined;
|
|
1153
|
+
"si-LK"?: string | undefined;
|
|
1154
|
+
"sk-SK"?: string | undefined;
|
|
1155
|
+
"sl-SI"?: string | undefined;
|
|
1156
|
+
"sn-ZW"?: string | undefined;
|
|
1157
|
+
"sq-AL"?: string | undefined;
|
|
1158
|
+
"sr-RS"?: string | undefined;
|
|
1159
|
+
"sv-SE"?: string | undefined;
|
|
1160
|
+
"sw-KE"?: string | undefined;
|
|
1161
|
+
"sy-SY"?: string | undefined;
|
|
1162
|
+
"sz-PL"?: string | undefined;
|
|
1163
|
+
"ta-IN"?: string | undefined;
|
|
1164
|
+
"te-IN"?: string | undefined;
|
|
1165
|
+
"tg-TJ"?: string | undefined;
|
|
1166
|
+
"th-TH"?: string | undefined;
|
|
1167
|
+
"tl-PH"?: string | undefined;
|
|
1168
|
+
tr?: string | undefined;
|
|
1169
|
+
"tr-TR"?: string | undefined;
|
|
1170
|
+
"tt-RU"?: string | undefined;
|
|
1171
|
+
"tz-MA"?: string | undefined;
|
|
1172
|
+
"uk-UA"?: string | undefined;
|
|
1173
|
+
"ur-PK"?: string | undefined;
|
|
1174
|
+
"uz-UZ"?: string | undefined;
|
|
1175
|
+
"vi-VN"?: string | undefined;
|
|
1176
|
+
zh?: string | undefined;
|
|
1177
|
+
"zh-CN"?: string | undefined;
|
|
1178
|
+
"zh-HK"?: string | undefined;
|
|
1179
|
+
"zh-MO"?: string | undefined;
|
|
1180
|
+
"zh-TW"?: string | undefined;
|
|
1181
|
+
"zz-TR"?: string | undefined;
|
|
1182
|
+
};
|
|
1183
|
+
id: string;
|
|
1184
|
+
logo: string;
|
|
1185
|
+
description: {
|
|
1186
|
+
en: string;
|
|
1187
|
+
} & {
|
|
1188
|
+
"af-ZA"?: string | undefined;
|
|
1189
|
+
"am-ET"?: string | undefined;
|
|
1190
|
+
"ar-AR"?: string | undefined;
|
|
1191
|
+
"as-IN"?: string | undefined;
|
|
1192
|
+
"az-AZ"?: string | undefined;
|
|
1193
|
+
"be-BY"?: string | undefined;
|
|
1194
|
+
"bg-BG"?: string | undefined;
|
|
1195
|
+
"bn-IN"?: string | undefined;
|
|
1196
|
+
"br-FR"?: string | undefined;
|
|
1197
|
+
"bs-BA"?: string | undefined;
|
|
1198
|
+
"ca-ES"?: string | undefined;
|
|
1199
|
+
"cb-IQ"?: string | undefined;
|
|
1200
|
+
"co-FR"?: string | undefined;
|
|
1201
|
+
"cs-CZ"?: string | undefined;
|
|
1202
|
+
"cx-PH"?: string | undefined;
|
|
1203
|
+
"cy-GB"?: string | undefined;
|
|
1204
|
+
"da-DK"?: string | undefined;
|
|
1205
|
+
de?: string | undefined;
|
|
1206
|
+
"de-DE"?: string | undefined;
|
|
1207
|
+
"el-GR"?: string | undefined;
|
|
1208
|
+
"en-GB"?: string | undefined;
|
|
1209
|
+
"en-US"?: string | undefined;
|
|
1210
|
+
"eo-EO"?: string | undefined;
|
|
1211
|
+
es?: string | undefined;
|
|
1212
|
+
"es-ES"?: string | undefined;
|
|
1213
|
+
"es-419"?: string | undefined;
|
|
1214
|
+
"et-EE"?: string | undefined;
|
|
1215
|
+
"eu-ES"?: string | undefined;
|
|
1216
|
+
"fa-IR"?: string | undefined;
|
|
1217
|
+
"ff-NG"?: string | undefined;
|
|
1218
|
+
"fi-FI"?: string | undefined;
|
|
1219
|
+
"fo-FO"?: string | undefined;
|
|
1220
|
+
fr?: string | undefined;
|
|
1221
|
+
"fr-CA"?: string | undefined;
|
|
1222
|
+
"fr-FR"?: string | undefined;
|
|
1223
|
+
"fy-NL"?: string | undefined;
|
|
1224
|
+
"ga-IE"?: string | undefined;
|
|
1225
|
+
"gl-ES"?: string | undefined;
|
|
1226
|
+
"gn-PY"?: string | undefined;
|
|
1227
|
+
"gu-IN"?: string | undefined;
|
|
1228
|
+
"ha-NG"?: string | undefined;
|
|
1229
|
+
"he-IL"?: string | undefined;
|
|
1230
|
+
"hi-IN"?: string | undefined;
|
|
1231
|
+
"hr-HR"?: string | undefined;
|
|
1232
|
+
"ht-HT"?: string | undefined;
|
|
1233
|
+
"hu-HU"?: string | undefined;
|
|
1234
|
+
"hy-AM"?: string | undefined;
|
|
1235
|
+
"id-ID"?: string | undefined;
|
|
1236
|
+
"ik-US"?: string | undefined;
|
|
1237
|
+
"is-IS"?: string | undefined;
|
|
1238
|
+
it?: string | undefined;
|
|
1239
|
+
"it-IT"?: string | undefined;
|
|
1240
|
+
"iu-CA"?: string | undefined;
|
|
1241
|
+
ja?: string | undefined;
|
|
1242
|
+
"ja-JP"?: string | undefined;
|
|
1243
|
+
"ja-KS"?: string | undefined;
|
|
1244
|
+
"jv-ID"?: string | undefined;
|
|
1245
|
+
"ka-GE"?: string | undefined;
|
|
1246
|
+
"kk-KZ"?: string | undefined;
|
|
1247
|
+
"km-KH"?: string | undefined;
|
|
1248
|
+
"kn-IN"?: string | undefined;
|
|
1249
|
+
ko?: string | undefined;
|
|
1250
|
+
"ko-KR"?: string | undefined;
|
|
1251
|
+
"ku-TR"?: string | undefined;
|
|
1252
|
+
"ky-KG"?: string | undefined;
|
|
1253
|
+
"lo-LA"?: string | undefined;
|
|
1254
|
+
"lt-LT"?: string | undefined;
|
|
1255
|
+
"lv-LV"?: string | undefined;
|
|
1256
|
+
"mg-MG"?: string | undefined;
|
|
1257
|
+
"mk-MK"?: string | undefined;
|
|
1258
|
+
"ml-IN"?: string | undefined;
|
|
1259
|
+
"mn-MN"?: string | undefined;
|
|
1260
|
+
"mr-IN"?: string | undefined;
|
|
1261
|
+
"ms-MY"?: string | undefined;
|
|
1262
|
+
"mt-MT"?: string | undefined;
|
|
1263
|
+
"my-MM"?: string | undefined;
|
|
1264
|
+
"nb-NO"?: string | undefined;
|
|
1265
|
+
"ne-NP"?: string | undefined;
|
|
1266
|
+
"nl-BE"?: string | undefined;
|
|
1267
|
+
"nl-NL"?: string | undefined;
|
|
1268
|
+
"nn-NO"?: string | undefined;
|
|
1269
|
+
"or-IN"?: string | undefined;
|
|
1270
|
+
"pa-IN"?: string | undefined;
|
|
1271
|
+
"pl-PL"?: string | undefined;
|
|
1272
|
+
"ps-AF"?: string | undefined;
|
|
1273
|
+
pt?: string | undefined;
|
|
1274
|
+
"pt-BR"?: string | undefined;
|
|
1275
|
+
"pt-PT"?: string | undefined;
|
|
1276
|
+
"ro-RO"?: string | undefined;
|
|
1277
|
+
ru?: string | undefined;
|
|
1278
|
+
"ru-RU"?: string | undefined;
|
|
1279
|
+
"rw-RW"?: string | undefined;
|
|
1280
|
+
"sc-IT"?: string | undefined;
|
|
1281
|
+
"si-LK"?: string | undefined;
|
|
1282
|
+
"sk-SK"?: string | undefined;
|
|
1283
|
+
"sl-SI"?: string | undefined;
|
|
1284
|
+
"sn-ZW"?: string | undefined;
|
|
1285
|
+
"sq-AL"?: string | undefined;
|
|
1286
|
+
"sr-RS"?: string | undefined;
|
|
1287
|
+
"sv-SE"?: string | undefined;
|
|
1288
|
+
"sw-KE"?: string | undefined;
|
|
1289
|
+
"sy-SY"?: string | undefined;
|
|
1290
|
+
"sz-PL"?: string | undefined;
|
|
1291
|
+
"ta-IN"?: string | undefined;
|
|
1292
|
+
"te-IN"?: string | undefined;
|
|
1293
|
+
"tg-TJ"?: string | undefined;
|
|
1294
|
+
"th-TH"?: string | undefined;
|
|
1295
|
+
"tl-PH"?: string | undefined;
|
|
1296
|
+
tr?: string | undefined;
|
|
1297
|
+
"tr-TR"?: string | undefined;
|
|
1298
|
+
"tt-RU"?: string | undefined;
|
|
1299
|
+
"tz-MA"?: string | undefined;
|
|
1300
|
+
"uk-UA"?: string | undefined;
|
|
1301
|
+
"ur-PK"?: string | undefined;
|
|
1302
|
+
"uz-UZ"?: string | undefined;
|
|
1303
|
+
"vi-VN"?: string | undefined;
|
|
1304
|
+
zh?: string | undefined;
|
|
1305
|
+
"zh-CN"?: string | undefined;
|
|
1306
|
+
"zh-HK"?: string | undefined;
|
|
1307
|
+
"zh-MO"?: string | undefined;
|
|
1308
|
+
"zh-TW"?: string | undefined;
|
|
1309
|
+
"zz-TR"?: string | undefined;
|
|
1310
|
+
};
|
|
1311
|
+
target: string;
|
|
1312
|
+
logoDark: string | null;
|
|
1313
|
+
readme: string;
|
|
1314
|
+
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
1315
|
+
customData?: Record<string, unknown> | undefined;
|
|
1316
|
+
configTemplate?: string | undefined;
|
|
1317
|
+
formItems?: ({
|
|
1318
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
1319
|
+
selectItems: {
|
|
1320
|
+
value: string;
|
|
1321
|
+
title: string;
|
|
1322
|
+
}[];
|
|
1323
|
+
key: string;
|
|
1324
|
+
label: string;
|
|
1325
|
+
placeholder?: string | undefined;
|
|
1075
1326
|
required?: boolean | undefined;
|
|
1076
1327
|
defaultValue?: unknown;
|
|
1077
1328
|
showConditions?: {
|
|
@@ -1081,7 +1332,304 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
1081
1332
|
description?: string | undefined;
|
|
1082
1333
|
tooltip?: string | undefined;
|
|
1083
1334
|
isConfidential?: boolean | undefined;
|
|
1084
|
-
}
|
|
1335
|
+
} | {
|
|
1336
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
1337
|
+
selectItems: {
|
|
1338
|
+
value: string;
|
|
1339
|
+
}[];
|
|
1340
|
+
key: string;
|
|
1341
|
+
label: string;
|
|
1342
|
+
placeholder?: string | undefined;
|
|
1343
|
+
required?: boolean | undefined;
|
|
1344
|
+
defaultValue?: unknown;
|
|
1345
|
+
showConditions?: {
|
|
1346
|
+
targetKey: string;
|
|
1347
|
+
expectValue?: unknown;
|
|
1348
|
+
}[] | undefined;
|
|
1349
|
+
description?: string | undefined;
|
|
1350
|
+
tooltip?: string | undefined;
|
|
1351
|
+
isConfidential?: boolean | undefined;
|
|
1352
|
+
} | {
|
|
1353
|
+
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;
|
|
1354
|
+
key: string;
|
|
1355
|
+
label: string;
|
|
1356
|
+
placeholder?: string | undefined;
|
|
1357
|
+
required?: boolean | undefined;
|
|
1358
|
+
defaultValue?: unknown;
|
|
1359
|
+
showConditions?: {
|
|
1360
|
+
targetKey: string;
|
|
1361
|
+
expectValue?: unknown;
|
|
1362
|
+
}[] | undefined;
|
|
1363
|
+
description?: string | undefined;
|
|
1364
|
+
tooltip?: string | undefined;
|
|
1365
|
+
isConfidential?: boolean | undefined;
|
|
1366
|
+
})[] | undefined;
|
|
1367
|
+
fromEmail?: string | undefined;
|
|
1368
|
+
isStandard?: boolean | undefined;
|
|
1369
|
+
isDemo?: boolean | undefined;
|
|
1370
|
+
}, {
|
|
1371
|
+
type: ConnectorType;
|
|
1372
|
+
name: {
|
|
1373
|
+
en: string;
|
|
1374
|
+
} & {
|
|
1375
|
+
"af-ZA"?: string | undefined;
|
|
1376
|
+
"am-ET"?: string | undefined;
|
|
1377
|
+
"ar-AR"?: string | undefined;
|
|
1378
|
+
"as-IN"?: string | undefined;
|
|
1379
|
+
"az-AZ"?: string | undefined;
|
|
1380
|
+
"be-BY"?: string | undefined;
|
|
1381
|
+
"bg-BG"?: string | undefined;
|
|
1382
|
+
"bn-IN"?: string | undefined;
|
|
1383
|
+
"br-FR"?: string | undefined;
|
|
1384
|
+
"bs-BA"?: string | undefined;
|
|
1385
|
+
"ca-ES"?: string | undefined;
|
|
1386
|
+
"cb-IQ"?: string | undefined;
|
|
1387
|
+
"co-FR"?: string | undefined;
|
|
1388
|
+
"cs-CZ"?: string | undefined;
|
|
1389
|
+
"cx-PH"?: string | undefined;
|
|
1390
|
+
"cy-GB"?: string | undefined;
|
|
1391
|
+
"da-DK"?: string | undefined;
|
|
1392
|
+
de?: string | undefined;
|
|
1393
|
+
"de-DE"?: string | undefined;
|
|
1394
|
+
"el-GR"?: string | undefined;
|
|
1395
|
+
"en-GB"?: string | undefined;
|
|
1396
|
+
"en-US"?: string | undefined;
|
|
1397
|
+
"eo-EO"?: string | undefined;
|
|
1398
|
+
es?: string | undefined;
|
|
1399
|
+
"es-ES"?: string | undefined;
|
|
1400
|
+
"es-419"?: string | undefined;
|
|
1401
|
+
"et-EE"?: string | undefined;
|
|
1402
|
+
"eu-ES"?: string | undefined;
|
|
1403
|
+
"fa-IR"?: string | undefined;
|
|
1404
|
+
"ff-NG"?: string | undefined;
|
|
1405
|
+
"fi-FI"?: string | undefined;
|
|
1406
|
+
"fo-FO"?: string | undefined;
|
|
1407
|
+
fr?: string | undefined;
|
|
1408
|
+
"fr-CA"?: string | undefined;
|
|
1409
|
+
"fr-FR"?: string | undefined;
|
|
1410
|
+
"fy-NL"?: string | undefined;
|
|
1411
|
+
"ga-IE"?: string | undefined;
|
|
1412
|
+
"gl-ES"?: string | undefined;
|
|
1413
|
+
"gn-PY"?: string | undefined;
|
|
1414
|
+
"gu-IN"?: string | undefined;
|
|
1415
|
+
"ha-NG"?: string | undefined;
|
|
1416
|
+
"he-IL"?: string | undefined;
|
|
1417
|
+
"hi-IN"?: string | undefined;
|
|
1418
|
+
"hr-HR"?: string | undefined;
|
|
1419
|
+
"ht-HT"?: string | undefined;
|
|
1420
|
+
"hu-HU"?: string | undefined;
|
|
1421
|
+
"hy-AM"?: string | undefined;
|
|
1422
|
+
"id-ID"?: string | undefined;
|
|
1423
|
+
"ik-US"?: string | undefined;
|
|
1424
|
+
"is-IS"?: string | undefined;
|
|
1425
|
+
it?: string | undefined;
|
|
1426
|
+
"it-IT"?: string | undefined;
|
|
1427
|
+
"iu-CA"?: string | undefined;
|
|
1428
|
+
ja?: string | undefined;
|
|
1429
|
+
"ja-JP"?: string | undefined;
|
|
1430
|
+
"ja-KS"?: string | undefined;
|
|
1431
|
+
"jv-ID"?: string | undefined;
|
|
1432
|
+
"ka-GE"?: string | undefined;
|
|
1433
|
+
"kk-KZ"?: string | undefined;
|
|
1434
|
+
"km-KH"?: string | undefined;
|
|
1435
|
+
"kn-IN"?: string | undefined;
|
|
1436
|
+
ko?: string | undefined;
|
|
1437
|
+
"ko-KR"?: string | undefined;
|
|
1438
|
+
"ku-TR"?: string | undefined;
|
|
1439
|
+
"ky-KG"?: string | undefined;
|
|
1440
|
+
"lo-LA"?: string | undefined;
|
|
1441
|
+
"lt-LT"?: string | undefined;
|
|
1442
|
+
"lv-LV"?: string | undefined;
|
|
1443
|
+
"mg-MG"?: string | undefined;
|
|
1444
|
+
"mk-MK"?: string | undefined;
|
|
1445
|
+
"ml-IN"?: string | undefined;
|
|
1446
|
+
"mn-MN"?: string | undefined;
|
|
1447
|
+
"mr-IN"?: string | undefined;
|
|
1448
|
+
"ms-MY"?: string | undefined;
|
|
1449
|
+
"mt-MT"?: string | undefined;
|
|
1450
|
+
"my-MM"?: string | undefined;
|
|
1451
|
+
"nb-NO"?: string | undefined;
|
|
1452
|
+
"ne-NP"?: string | undefined;
|
|
1453
|
+
"nl-BE"?: string | undefined;
|
|
1454
|
+
"nl-NL"?: string | undefined;
|
|
1455
|
+
"nn-NO"?: string | undefined;
|
|
1456
|
+
"or-IN"?: string | undefined;
|
|
1457
|
+
"pa-IN"?: string | undefined;
|
|
1458
|
+
"pl-PL"?: string | undefined;
|
|
1459
|
+
"ps-AF"?: string | undefined;
|
|
1460
|
+
pt?: string | undefined;
|
|
1461
|
+
"pt-BR"?: string | undefined;
|
|
1462
|
+
"pt-PT"?: string | undefined;
|
|
1463
|
+
"ro-RO"?: string | undefined;
|
|
1464
|
+
ru?: string | undefined;
|
|
1465
|
+
"ru-RU"?: string | undefined;
|
|
1466
|
+
"rw-RW"?: string | undefined;
|
|
1467
|
+
"sc-IT"?: string | undefined;
|
|
1468
|
+
"si-LK"?: string | undefined;
|
|
1469
|
+
"sk-SK"?: string | undefined;
|
|
1470
|
+
"sl-SI"?: string | undefined;
|
|
1471
|
+
"sn-ZW"?: string | undefined;
|
|
1472
|
+
"sq-AL"?: string | undefined;
|
|
1473
|
+
"sr-RS"?: string | undefined;
|
|
1474
|
+
"sv-SE"?: string | undefined;
|
|
1475
|
+
"sw-KE"?: string | undefined;
|
|
1476
|
+
"sy-SY"?: string | undefined;
|
|
1477
|
+
"sz-PL"?: string | undefined;
|
|
1478
|
+
"ta-IN"?: string | undefined;
|
|
1479
|
+
"te-IN"?: string | undefined;
|
|
1480
|
+
"tg-TJ"?: string | undefined;
|
|
1481
|
+
"th-TH"?: string | undefined;
|
|
1482
|
+
"tl-PH"?: string | undefined;
|
|
1483
|
+
tr?: string | undefined;
|
|
1484
|
+
"tr-TR"?: string | undefined;
|
|
1485
|
+
"tt-RU"?: string | undefined;
|
|
1486
|
+
"tz-MA"?: string | undefined;
|
|
1487
|
+
"uk-UA"?: string | undefined;
|
|
1488
|
+
"ur-PK"?: string | undefined;
|
|
1489
|
+
"uz-UZ"?: string | undefined;
|
|
1490
|
+
"vi-VN"?: string | undefined;
|
|
1491
|
+
zh?: string | undefined;
|
|
1492
|
+
"zh-CN"?: string | undefined;
|
|
1493
|
+
"zh-HK"?: string | undefined;
|
|
1494
|
+
"zh-MO"?: string | undefined;
|
|
1495
|
+
"zh-TW"?: string | undefined;
|
|
1496
|
+
"zz-TR"?: string | undefined;
|
|
1497
|
+
};
|
|
1498
|
+
id: string;
|
|
1499
|
+
logo: string;
|
|
1500
|
+
description: {
|
|
1501
|
+
en: string;
|
|
1502
|
+
} & {
|
|
1503
|
+
"af-ZA"?: string | undefined;
|
|
1504
|
+
"am-ET"?: string | undefined;
|
|
1505
|
+
"ar-AR"?: string | undefined;
|
|
1506
|
+
"as-IN"?: string | undefined;
|
|
1507
|
+
"az-AZ"?: string | undefined;
|
|
1508
|
+
"be-BY"?: string | undefined;
|
|
1509
|
+
"bg-BG"?: string | undefined;
|
|
1510
|
+
"bn-IN"?: string | undefined;
|
|
1511
|
+
"br-FR"?: string | undefined;
|
|
1512
|
+
"bs-BA"?: string | undefined;
|
|
1513
|
+
"ca-ES"?: string | undefined;
|
|
1514
|
+
"cb-IQ"?: string | undefined;
|
|
1515
|
+
"co-FR"?: string | undefined;
|
|
1516
|
+
"cs-CZ"?: string | undefined;
|
|
1517
|
+
"cx-PH"?: string | undefined;
|
|
1518
|
+
"cy-GB"?: string | undefined;
|
|
1519
|
+
"da-DK"?: string | undefined;
|
|
1520
|
+
de?: string | undefined;
|
|
1521
|
+
"de-DE"?: string | undefined;
|
|
1522
|
+
"el-GR"?: string | undefined;
|
|
1523
|
+
"en-GB"?: string | undefined;
|
|
1524
|
+
"en-US"?: string | undefined;
|
|
1525
|
+
"eo-EO"?: string | undefined;
|
|
1526
|
+
es?: string | undefined;
|
|
1527
|
+
"es-ES"?: string | undefined;
|
|
1528
|
+
"es-419"?: string | undefined;
|
|
1529
|
+
"et-EE"?: string | undefined;
|
|
1530
|
+
"eu-ES"?: string | undefined;
|
|
1531
|
+
"fa-IR"?: string | undefined;
|
|
1532
|
+
"ff-NG"?: string | undefined;
|
|
1533
|
+
"fi-FI"?: string | undefined;
|
|
1534
|
+
"fo-FO"?: string | undefined;
|
|
1535
|
+
fr?: string | undefined;
|
|
1536
|
+
"fr-CA"?: string | undefined;
|
|
1537
|
+
"fr-FR"?: string | undefined;
|
|
1538
|
+
"fy-NL"?: string | undefined;
|
|
1539
|
+
"ga-IE"?: string | undefined;
|
|
1540
|
+
"gl-ES"?: string | undefined;
|
|
1541
|
+
"gn-PY"?: string | undefined;
|
|
1542
|
+
"gu-IN"?: string | undefined;
|
|
1543
|
+
"ha-NG"?: string | undefined;
|
|
1544
|
+
"he-IL"?: string | undefined;
|
|
1545
|
+
"hi-IN"?: string | undefined;
|
|
1546
|
+
"hr-HR"?: string | undefined;
|
|
1547
|
+
"ht-HT"?: string | undefined;
|
|
1548
|
+
"hu-HU"?: string | undefined;
|
|
1549
|
+
"hy-AM"?: string | undefined;
|
|
1550
|
+
"id-ID"?: string | undefined;
|
|
1551
|
+
"ik-US"?: string | undefined;
|
|
1552
|
+
"is-IS"?: string | undefined;
|
|
1553
|
+
it?: string | undefined;
|
|
1554
|
+
"it-IT"?: string | undefined;
|
|
1555
|
+
"iu-CA"?: string | undefined;
|
|
1556
|
+
ja?: string | undefined;
|
|
1557
|
+
"ja-JP"?: string | undefined;
|
|
1558
|
+
"ja-KS"?: string | undefined;
|
|
1559
|
+
"jv-ID"?: string | undefined;
|
|
1560
|
+
"ka-GE"?: string | undefined;
|
|
1561
|
+
"kk-KZ"?: string | undefined;
|
|
1562
|
+
"km-KH"?: string | undefined;
|
|
1563
|
+
"kn-IN"?: string | undefined;
|
|
1564
|
+
ko?: string | undefined;
|
|
1565
|
+
"ko-KR"?: string | undefined;
|
|
1566
|
+
"ku-TR"?: string | undefined;
|
|
1567
|
+
"ky-KG"?: string | undefined;
|
|
1568
|
+
"lo-LA"?: string | undefined;
|
|
1569
|
+
"lt-LT"?: string | undefined;
|
|
1570
|
+
"lv-LV"?: string | undefined;
|
|
1571
|
+
"mg-MG"?: string | undefined;
|
|
1572
|
+
"mk-MK"?: string | undefined;
|
|
1573
|
+
"ml-IN"?: string | undefined;
|
|
1574
|
+
"mn-MN"?: string | undefined;
|
|
1575
|
+
"mr-IN"?: string | undefined;
|
|
1576
|
+
"ms-MY"?: string | undefined;
|
|
1577
|
+
"mt-MT"?: string | undefined;
|
|
1578
|
+
"my-MM"?: string | undefined;
|
|
1579
|
+
"nb-NO"?: string | undefined;
|
|
1580
|
+
"ne-NP"?: string | undefined;
|
|
1581
|
+
"nl-BE"?: string | undefined;
|
|
1582
|
+
"nl-NL"?: string | undefined;
|
|
1583
|
+
"nn-NO"?: string | undefined;
|
|
1584
|
+
"or-IN"?: string | undefined;
|
|
1585
|
+
"pa-IN"?: string | undefined;
|
|
1586
|
+
"pl-PL"?: string | undefined;
|
|
1587
|
+
"ps-AF"?: string | undefined;
|
|
1588
|
+
pt?: string | undefined;
|
|
1589
|
+
"pt-BR"?: string | undefined;
|
|
1590
|
+
"pt-PT"?: string | undefined;
|
|
1591
|
+
"ro-RO"?: string | undefined;
|
|
1592
|
+
ru?: string | undefined;
|
|
1593
|
+
"ru-RU"?: string | undefined;
|
|
1594
|
+
"rw-RW"?: string | undefined;
|
|
1595
|
+
"sc-IT"?: string | undefined;
|
|
1596
|
+
"si-LK"?: string | undefined;
|
|
1597
|
+
"sk-SK"?: string | undefined;
|
|
1598
|
+
"sl-SI"?: string | undefined;
|
|
1599
|
+
"sn-ZW"?: string | undefined;
|
|
1600
|
+
"sq-AL"?: string | undefined;
|
|
1601
|
+
"sr-RS"?: string | undefined;
|
|
1602
|
+
"sv-SE"?: string | undefined;
|
|
1603
|
+
"sw-KE"?: string | undefined;
|
|
1604
|
+
"sy-SY"?: string | undefined;
|
|
1605
|
+
"sz-PL"?: string | undefined;
|
|
1606
|
+
"ta-IN"?: string | undefined;
|
|
1607
|
+
"te-IN"?: string | undefined;
|
|
1608
|
+
"tg-TJ"?: string | undefined;
|
|
1609
|
+
"th-TH"?: string | undefined;
|
|
1610
|
+
"tl-PH"?: string | undefined;
|
|
1611
|
+
tr?: string | undefined;
|
|
1612
|
+
"tr-TR"?: string | undefined;
|
|
1613
|
+
"tt-RU"?: string | undefined;
|
|
1614
|
+
"tz-MA"?: string | undefined;
|
|
1615
|
+
"uk-UA"?: string | undefined;
|
|
1616
|
+
"ur-PK"?: string | undefined;
|
|
1617
|
+
"uz-UZ"?: string | undefined;
|
|
1618
|
+
"vi-VN"?: string | undefined;
|
|
1619
|
+
zh?: string | undefined;
|
|
1620
|
+
"zh-CN"?: string | undefined;
|
|
1621
|
+
"zh-HK"?: string | undefined;
|
|
1622
|
+
"zh-MO"?: string | undefined;
|
|
1623
|
+
"zh-TW"?: string | undefined;
|
|
1624
|
+
"zz-TR"?: string | undefined;
|
|
1625
|
+
};
|
|
1626
|
+
target: string;
|
|
1627
|
+
logoDark: string | null;
|
|
1628
|
+
readme: string;
|
|
1629
|
+
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
1630
|
+
customData?: Record<string, unknown> | undefined;
|
|
1631
|
+
configTemplate?: string | undefined;
|
|
1632
|
+
formItems?: ({
|
|
1085
1633
|
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
1086
1634
|
selectItems: {
|
|
1087
1635
|
value: string;
|
|
@@ -1099,28 +1647,11 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
1099
1647
|
description?: string | undefined;
|
|
1100
1648
|
tooltip?: string | undefined;
|
|
1101
1649
|
isConfidential?: boolean | undefined;
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
1108
|
-
showConditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1109
|
-
targetKey: z.ZodString;
|
|
1110
|
-
expectValue: z.ZodOptional<z.ZodUnknown>;
|
|
1111
|
-
}, "strip", z.ZodTypeAny, {
|
|
1112
|
-
targetKey: string;
|
|
1113
|
-
expectValue?: unknown;
|
|
1114
|
-
}, {
|
|
1115
|
-
targetKey: string;
|
|
1116
|
-
expectValue?: unknown;
|
|
1117
|
-
}>, "many">>;
|
|
1118
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1119
|
-
tooltip: z.ZodOptional<z.ZodString>;
|
|
1120
|
-
isConfidential: z.ZodOptional<z.ZodBoolean>;
|
|
1121
|
-
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]>;
|
|
1122
|
-
}, "strip", z.ZodTypeAny, {
|
|
1123
|
-
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;
|
|
1650
|
+
} | {
|
|
1651
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
1652
|
+
selectItems: {
|
|
1653
|
+
value: string;
|
|
1654
|
+
}[];
|
|
1124
1655
|
key: string;
|
|
1125
1656
|
label: string;
|
|
1126
1657
|
placeholder?: string | undefined;
|
|
@@ -1133,7 +1664,7 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
1133
1664
|
description?: string | undefined;
|
|
1134
1665
|
tooltip?: string | undefined;
|
|
1135
1666
|
isConfidential?: boolean | undefined;
|
|
1136
|
-
}
|
|
1667
|
+
} | {
|
|
1137
1668
|
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;
|
|
1138
1669
|
key: string;
|
|
1139
1670
|
label: string;
|
|
@@ -1147,8 +1678,9 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
1147
1678
|
description?: string | undefined;
|
|
1148
1679
|
tooltip?: string | undefined;
|
|
1149
1680
|
isConfidential?: boolean | undefined;
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
isStandard
|
|
1153
|
-
|
|
1681
|
+
})[] | undefined;
|
|
1682
|
+
fromEmail?: string | undefined;
|
|
1683
|
+
isStandard?: boolean | undefined;
|
|
1684
|
+
isDemo?: boolean | undefined;
|
|
1685
|
+
}>;
|
|
1154
1686
|
export type ConnectorFactoryResponse = z.infer<typeof connectorFactoryResponseGuard>;
|