@go-mondo/identity-sdk 0.0.2-beta.5 → 0.0.2-beta.7
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/.release-please-manifest.json +1 -1
- package/.tsbuildinfo/cjs.json +1 -1
- package/.tsbuildinfo/esm.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/cjs/action/schema/base.d.ts +12 -5
- package/dist/cjs/action/schema/base.d.ts.map +1 -1
- package/dist/cjs/action/schema/base.js +8 -3
- package/dist/cjs/action/schema/operations/set-password.d.ts +11 -11
- package/dist/cjs/action/schema/operations/set-password.js +2 -2
- package/dist/cjs/action/schema/operations/sign-up-verification.d.ts +5 -5
- package/dist/cjs/action/schema/operations/sign-up-verification.js +1 -1
- package/dist/cjs/action/schema/operations/sign-up.d.ts +7 -7
- package/dist/cjs/action/schema/operations/sign-up.js +12 -12
- package/dist/cjs/action/schema/operations/user-attribute-verification.d.ts +5 -5
- package/dist/cjs/action/schema/operations/user-attribute-verification.js +1 -1
- package/dist/cjs/action/schema/schema.d.ts +27 -34
- package/dist/cjs/action/schema/schema.d.ts.map +1 -1
- package/dist/cjs/action/schema/schema.js +2 -7
- package/dist/cjs/activity/index.d.ts +1 -0
- package/dist/cjs/activity/index.d.ts.map +1 -1
- package/dist/cjs/activity/index.js +1 -0
- package/dist/cjs/activity/resources.d.ts +13 -0
- package/dist/cjs/activity/resources.d.ts.map +1 -0
- package/dist/cjs/activity/resources.js +29 -0
- package/dist/cjs/activity/schema/base.d.ts +23 -7
- package/dist/cjs/activity/schema/base.d.ts.map +1 -1
- package/dist/cjs/activity/schema/base.js +12 -2
- package/dist/cjs/activity/schema/schema.d.ts +123 -29
- package/dist/cjs/activity/schema/schema.d.ts.map +1 -1
- package/dist/cjs/activity/schema/schema.js +5 -2
- package/dist/cjs/activity/schema/types/authentication.d.ts +28 -5
- package/dist/cjs/activity/schema/types/authentication.d.ts.map +1 -1
- package/dist/cjs/activity/schema/types/authentication.js +5 -2
- package/dist/cjs/activity/schema/types/authorization.d.ts +28 -5
- package/dist/cjs/activity/schema/types/authorization.d.ts.map +1 -1
- package/dist/cjs/activity/schema/types/authorization.js +6 -4
- package/dist/cjs/activity/schema/types/note.d.ts +27 -7
- package/dist/cjs/activity/schema/types/note.d.ts.map +1 -1
- package/dist/cjs/activity/schema/types/note.js +4 -2
- package/dist/cjs/activity/schema/types/operation.d.ts +27 -5
- package/dist/cjs/activity/schema/types/operation.d.ts.map +1 -1
- package/dist/cjs/activity/schema/types/operation.js +4 -2
- package/dist/cjs/activity/schema/types/unknown.d.ts +25 -5
- package/dist/cjs/activity/schema/types/unknown.d.ts.map +1 -1
- package/dist/cjs/activity/schema/types/unknown.js +4 -2
- package/dist/cjs/app/authorization/resources.d.ts +12 -0
- package/dist/cjs/app/authorization/resources.d.ts.map +1 -0
- package/dist/cjs/app/authorization/resources.js +35 -0
- package/dist/cjs/app/authorization/schema.d.ts +54 -0
- package/dist/cjs/app/authorization/schema.d.ts.map +1 -0
- package/dist/cjs/app/{schema/authorization.js → authorization/schema.js} +31 -15
- package/dist/cjs/app/index.d.ts +13 -1
- package/dist/cjs/app/index.d.ts.map +1 -1
- package/dist/cjs/app/index.js +20 -1
- package/dist/cjs/app/oauth/resources.d.ts +12 -0
- package/dist/cjs/app/oauth/resources.d.ts.map +1 -0
- package/dist/cjs/app/oauth/resources.js +35 -0
- package/dist/cjs/app/{schema/oauth.d.ts → oauth/schema.d.ts} +18 -6
- package/dist/cjs/app/oauth/schema.d.ts.map +1 -0
- package/dist/cjs/app/{schema/oauth.js → oauth/schema.js} +10 -3
- package/dist/cjs/app/oidc/resources.d.ts +16 -0
- package/dist/cjs/app/oidc/resources.d.ts.map +1 -0
- package/dist/cjs/app/oidc/resources.js +49 -0
- package/dist/cjs/app/{schema/oidc.d.ts → oidc/schema.d.ts} +19 -9
- package/dist/cjs/app/oidc/schema.d.ts.map +1 -0
- package/dist/cjs/app/{schema/oidc.js → oidc/schema.js} +7 -2
- package/dist/cjs/app/registration/resources.d.ts +12 -0
- package/dist/cjs/app/registration/resources.d.ts.map +1 -0
- package/dist/cjs/app/registration/resources.js +35 -0
- package/dist/cjs/app/{schema/registration.d.ts → registration/schema.d.ts} +16 -6
- package/dist/cjs/app/registration/schema.d.ts.map +1 -0
- package/dist/cjs/app/{schema/registration.js → registration/schema.js} +9 -2
- package/dist/cjs/app/resources.d.ts +21 -0
- package/dist/cjs/app/resources.d.ts.map +1 -0
- package/dist/cjs/app/resources.js +57 -0
- package/dist/cjs/app/saml/resources.d.ts +16 -0
- package/dist/cjs/app/saml/resources.d.ts.map +1 -0
- package/dist/cjs/app/saml/resources.js +49 -0
- package/dist/cjs/app/{schema/saml.d.ts → saml/schema.d.ts} +19 -9
- package/dist/cjs/app/saml/schema.d.ts.map +1 -0
- package/dist/cjs/app/{schema/saml.js → saml/schema.js} +7 -2
- package/dist/cjs/app/{schema/app.d.ts → schema.d.ts} +24 -9
- package/dist/cjs/app/schema.d.ts.map +1 -0
- package/dist/cjs/app/{schema/app.js → schema.js} +12 -4
- package/dist/cjs/app/utils.d.ts.map +1 -0
- package/dist/cjs/association/index.d.ts +2 -1
- package/dist/cjs/association/index.d.ts.map +1 -1
- package/dist/cjs/association/index.js +2 -1
- package/dist/cjs/association/resources.d.ts +23 -0
- package/dist/cjs/association/resources.d.ts.map +1 -0
- package/dist/cjs/association/resources.js +51 -0
- package/dist/cjs/association/schema.d.ts +147 -0
- package/dist/cjs/association/schema.d.ts.map +1 -0
- package/dist/cjs/association/{schema/association.js → schema.js} +21 -5
- package/dist/cjs/authentication/{schema/factors.d.ts → factors/schema.d.ts} +12 -3
- package/dist/cjs/authentication/factors/schema.d.ts.map +1 -0
- package/dist/cjs/authentication/{schema/factors.js → factors/schema.js} +6 -2
- package/dist/cjs/authentication/factors/schema.test.d.ts +2 -0
- package/dist/cjs/authentication/factors/schema.test.d.ts.map +1 -0
- package/dist/cjs/authentication/{schema/factors.test.js → factors/schema.test.js} +17 -17
- package/dist/cjs/authentication/index.d.ts +8 -1
- package/dist/cjs/authentication/index.d.ts.map +1 -1
- package/dist/cjs/authentication/index.js +13 -1
- package/dist/cjs/authentication/{schema/provider.d.ts → providers/schema.d.ts} +5 -5
- package/dist/cjs/authentication/providers/schema.d.ts.map +1 -0
- package/dist/cjs/authentication/{schema/provider.js → providers/schema.js} +1 -1
- package/dist/cjs/authentication/resources.d.ts +2 -0
- package/dist/cjs/authentication/resources.d.ts.map +1 -0
- package/dist/cjs/authentication/resources.js +4 -0
- package/dist/cjs/authentication/sessions/resources.d.ts +21 -0
- package/dist/cjs/authentication/sessions/resources.d.ts.map +1 -0
- package/dist/cjs/authentication/sessions/resources.js +43 -0
- package/dist/cjs/authentication/sessions/schema.d.ts +81 -0
- package/dist/cjs/authentication/sessions/schema.d.ts.map +1 -0
- package/dist/cjs/authentication/{schema/session.js → sessions/schema.js} +16 -7
- package/dist/cjs/authentication/settings/resources.d.ts +12 -0
- package/dist/cjs/authentication/settings/resources.d.ts.map +1 -0
- package/dist/cjs/authentication/settings/resources.js +32 -0
- package/dist/cjs/authentication/{schema/settings.d.ts → settings/schema.d.ts} +31 -8
- package/dist/cjs/authentication/settings/schema.d.ts.map +1 -0
- package/dist/cjs/authentication/{schema/settings.js → settings/schema.js} +11 -4
- package/dist/cjs/authentication/strategies/resources.d.ts +20 -0
- package/dist/cjs/authentication/strategies/resources.d.ts.map +1 -0
- package/dist/cjs/authentication/strategies/resources.js +58 -0
- package/dist/cjs/authentication/{schema/strategy → strategies/schema}/base.d.ts +17 -7
- package/dist/cjs/authentication/strategies/schema/base.d.ts.map +1 -0
- package/dist/cjs/authentication/{schema/strategy → strategies/schema}/base.js +10 -2
- package/dist/cjs/authentication/{schema/strategy → strategies/schema}/schema.d.ts +102 -53
- package/dist/cjs/authentication/strategies/schema/schema.d.ts.map +1 -0
- package/dist/cjs/authentication/{schema/strategy → strategies/schema}/schema.js +2 -1
- package/dist/cjs/authentication/{schema/strategy → strategies/schema}/types/email.d.ts +27 -9
- package/dist/cjs/authentication/strategies/schema/types/email.d.ts.map +1 -0
- package/dist/cjs/authentication/{schema/strategy → strategies/schema}/types/email.js +4 -3
- package/dist/cjs/authentication/{schema/strategy → strategies/schema}/types/password.d.ts +76 -43
- package/dist/cjs/authentication/strategies/schema/types/password.d.ts.map +1 -0
- package/dist/cjs/authentication/strategies/schema/types/password.js +52 -0
- package/dist/cjs/authentication/{schema/strategy → strategies/schema}/types/totp.d.ts +33 -13
- package/dist/cjs/authentication/strategies/schema/types/totp.d.ts.map +1 -0
- package/dist/cjs/authentication/{schema/strategy → strategies/schema}/types/totp.js +12 -3
- package/dist/cjs/authorization/index.d.ts.map +1 -1
- package/dist/cjs/authorization/index.js +2 -0
- package/dist/cjs/authorization/permissions/resources.d.ts +2 -2
- package/dist/cjs/authorization/permissions/resources.d.ts.map +1 -1
- package/dist/cjs/authorization/permissions/resources.js +1 -1
- package/dist/cjs/authorization/permissions/schema.d.ts +8 -8
- package/dist/cjs/authorization/roles/resources.d.ts +2 -2
- package/dist/cjs/authorization/roles/resources.d.ts.map +1 -1
- package/dist/cjs/authorization/roles/resources.js +1 -1
- package/dist/cjs/authorization/roles/schema.d.ts +8 -8
- package/dist/cjs/common/index.d.ts +1 -0
- package/dist/cjs/common/index.d.ts.map +1 -1
- package/dist/cjs/common/index.js +6 -0
- package/dist/cjs/common/schema/dates.d.ts +7 -7
- package/dist/cjs/common/schema/dates.d.ts.map +1 -1
- package/dist/cjs/common/schema/metadata.d.ts +8 -6
- package/dist/cjs/common/schema/metadata.d.ts.map +1 -1
- package/dist/cjs/common/schema/schema.d.ts +2 -1
- package/dist/cjs/common/schema/schema.d.ts.map +1 -1
- package/dist/cjs/common/schema/schema.js +2 -1
- package/dist/cjs/common/schema/schema.test.d.ts +2 -0
- package/dist/cjs/common/schema/schema.test.d.ts.map +1 -0
- package/dist/cjs/common/schema/schema.test.js +35 -0
- package/dist/cjs/common/schema/sets.d.ts +2 -2
- package/dist/cjs/common/schema/sets.d.ts.map +1 -1
- package/dist/cjs/common/schema/url.d.ts +2 -0
- package/dist/cjs/common/schema/url.d.ts.map +1 -0
- package/dist/cjs/common/schema/url.js +12 -0
- package/dist/cjs/customer/index.d.ts +1 -0
- package/dist/cjs/customer/index.d.ts.map +1 -1
- package/dist/cjs/customer/index.js +1 -0
- package/dist/cjs/customer/schema/organization.d.ts +7 -7
- package/dist/cjs/customer/users/resources.d.ts +2 -2
- package/dist/cjs/customer/users/resources.d.ts.map +1 -1
- package/dist/cjs/customer/users/resources.js +2 -2
- package/dist/cjs/customer/users/schema.d.ts +10 -11
- package/dist/cjs/customer/users/schema.d.ts.map +1 -1
- package/dist/cjs/customer/users/schema.js +1 -3
- package/dist/cjs/customer/users/schema.test.js +2 -0
- package/dist/cjs/customer/users/utils.d.ts +10 -0
- package/dist/cjs/customer/users/utils.d.ts.map +1 -0
- package/dist/cjs/customer/users/utils.js +33 -0
- package/dist/cjs/identity/index.d.ts +1 -1
- package/dist/cjs/identity/index.d.ts.map +1 -1
- package/dist/cjs/identity/index.js +1 -1
- package/dist/cjs/identity/schema.d.ts.map +1 -0
- package/dist/cjs/oauth/authorize/schema/grants/authorization-code.js +9 -9
- package/dist/cjs/oauth/common/schema.d.ts +6 -0
- package/dist/cjs/oauth/common/schema.d.ts.map +1 -1
- package/dist/cjs/oauth/common/schema.js +7 -1
- package/dist/cjs/oauth/index.d.ts +1 -1
- package/dist/cjs/oauth/index.d.ts.map +1 -1
- package/dist/cjs/oauth/index.js +2 -1
- package/dist/cjs/oauth/token/schema/grants/client-credentials.js +6 -6
- package/dist/cjs/oauth/token/schema/grants/refresh-token.js +4 -4
- package/dist/cjs/workspace/{schema/authorization.d.ts → authorization/schema.d.ts} +6 -6
- package/dist/cjs/workspace/authorization/schema.d.ts.map +1 -0
- package/dist/cjs/workspace/{schema/branding.d.ts → branding/schema.d.ts} +6 -6
- package/dist/cjs/workspace/branding/schema.d.ts.map +1 -0
- package/dist/cjs/workspace/index.d.ts +8 -1
- package/dist/cjs/workspace/index.d.ts.map +1 -1
- package/dist/cjs/workspace/index.js +8 -1
- package/dist/cjs/workspace/{schema/membership.d.ts → membership/schema.d.ts} +6 -6
- package/dist/cjs/workspace/membership/schema.d.ts.map +1 -0
- package/dist/cjs/workspace/{schema/registration.d.ts → registration/schema.d.ts} +6 -6
- package/dist/cjs/workspace/registration/schema.d.ts.map +1 -0
- package/dist/cjs/workspace/{schema/registration.js → registration/schema.js} +1 -1
- package/dist/cjs/workspace/{schema/settings.d.ts → settings/schema.d.ts} +6 -6
- package/dist/cjs/workspace/settings/schema.d.ts.map +1 -0
- package/dist/cjs/workspace/{schema/tenant.d.ts → tenant/schema.d.ts} +11 -11
- package/dist/cjs/workspace/{schema/tenant.d.ts.map → tenant/schema.d.ts.map} +1 -1
- package/dist/cjs/workspace/{schema/tenant.js → tenant/schema.js} +3 -3
- package/dist/cjs/workspace/{schema/user-notification.d.ts → user/notifications/schema.d.ts} +8 -8
- package/dist/cjs/workspace/user/notifications/schema.d.ts.map +1 -0
- package/dist/cjs/workspace/{schema/user-notification.js → user/notifications/schema.js} +4 -4
- package/dist/cjs/workspace/{schema/user-preferences.d.ts → user/preferences/schema.d.ts} +6 -6
- package/dist/cjs/workspace/user/preferences/schema.d.ts.map +1 -0
- package/dist/cjs/workspace/{schema/user-preferences.js → user/preferences/schema.js} +2 -2
- package/dist/cjs/workspace/user/schema.d.ts +3 -0
- package/dist/cjs/workspace/user/schema.d.ts.map +1 -0
- package/dist/cjs/{association/schema → workspace/user}/schema.js +2 -1
- package/dist/cjs/workspace/utils.d.ts.map +1 -0
- package/dist/esm/action/schema/base.d.ts +12 -5
- package/dist/esm/action/schema/base.d.ts.map +1 -1
- package/dist/esm/action/schema/base.js +6 -1
- package/dist/esm/action/schema/operations/set-password.d.ts +11 -11
- package/dist/esm/action/schema/operations/set-password.js +2 -2
- package/dist/esm/action/schema/operations/sign-up-verification.d.ts +5 -5
- package/dist/esm/action/schema/operations/sign-up-verification.js +1 -1
- package/dist/esm/action/schema/operations/sign-up.d.ts +7 -7
- package/dist/esm/action/schema/operations/sign-up.js +1 -1
- package/dist/esm/action/schema/operations/user-attribute-verification.d.ts +5 -5
- package/dist/esm/action/schema/operations/user-attribute-verification.js +1 -1
- package/dist/esm/action/schema/schema.d.ts +27 -34
- package/dist/esm/action/schema/schema.d.ts.map +1 -1
- package/dist/esm/action/schema/schema.js +1 -7
- package/dist/esm/activity/index.d.ts +1 -0
- package/dist/esm/activity/index.d.ts.map +1 -1
- package/dist/esm/activity/index.js +1 -0
- package/dist/esm/activity/resources.d.ts +13 -0
- package/dist/esm/activity/resources.d.ts.map +1 -0
- package/dist/esm/activity/resources.js +24 -0
- package/dist/esm/activity/schema/base.d.ts +23 -7
- package/dist/esm/activity/schema/base.d.ts.map +1 -1
- package/dist/esm/activity/schema/base.js +13 -3
- package/dist/esm/activity/schema/schema.d.ts +123 -29
- package/dist/esm/activity/schema/schema.d.ts.map +1 -1
- package/dist/esm/activity/schema/schema.js +9 -6
- package/dist/esm/activity/schema/types/authentication.d.ts +28 -5
- package/dist/esm/activity/schema/types/authentication.d.ts.map +1 -1
- package/dist/esm/activity/schema/types/authentication.js +5 -2
- package/dist/esm/activity/schema/types/authorization.d.ts +28 -5
- package/dist/esm/activity/schema/types/authorization.d.ts.map +1 -1
- package/dist/esm/activity/schema/types/authorization.js +6 -4
- package/dist/esm/activity/schema/types/note.d.ts +27 -7
- package/dist/esm/activity/schema/types/note.d.ts.map +1 -1
- package/dist/esm/activity/schema/types/note.js +4 -2
- package/dist/esm/activity/schema/types/operation.d.ts +27 -5
- package/dist/esm/activity/schema/types/operation.d.ts.map +1 -1
- package/dist/esm/activity/schema/types/operation.js +4 -2
- package/dist/esm/activity/schema/types/unknown.d.ts +25 -5
- package/dist/esm/activity/schema/types/unknown.d.ts.map +1 -1
- package/dist/esm/activity/schema/types/unknown.js +4 -2
- package/dist/esm/app/authorization/resources.d.ts +12 -0
- package/dist/esm/app/authorization/resources.d.ts.map +1 -0
- package/dist/esm/app/authorization/resources.js +29 -0
- package/dist/esm/app/authorization/schema.d.ts +54 -0
- package/dist/esm/app/authorization/schema.d.ts.map +1 -0
- package/dist/esm/app/{schema/authorization.js → authorization/schema.js} +32 -16
- package/dist/esm/app/index.d.ts +13 -1
- package/dist/esm/app/index.d.ts.map +1 -1
- package/dist/esm/app/index.js +20 -1
- package/dist/esm/app/oauth/resources.d.ts +12 -0
- package/dist/esm/app/oauth/resources.d.ts.map +1 -0
- package/dist/esm/app/oauth/resources.js +29 -0
- package/dist/esm/app/{schema/oauth.d.ts → oauth/schema.d.ts} +18 -6
- package/dist/esm/app/oauth/schema.d.ts.map +1 -0
- package/dist/esm/app/oauth/schema.js +25 -0
- package/dist/esm/app/oidc/resources.d.ts +16 -0
- package/dist/esm/app/oidc/resources.d.ts.map +1 -0
- package/dist/esm/app/oidc/resources.js +41 -0
- package/dist/esm/app/{schema/oidc.d.ts → oidc/schema.d.ts} +19 -9
- package/dist/esm/app/oidc/schema.d.ts.map +1 -0
- package/dist/esm/app/oidc/schema.js +15 -0
- package/dist/esm/app/registration/resources.d.ts +12 -0
- package/dist/esm/app/registration/resources.d.ts.map +1 -0
- package/dist/esm/app/registration/resources.js +29 -0
- package/dist/esm/app/registration/schema.d.ts +32 -0
- package/dist/esm/app/registration/schema.d.ts.map +1 -0
- package/dist/esm/app/{schema/registration.js → registration/schema.js} +10 -3
- package/dist/esm/app/resources.d.ts +21 -0
- package/dist/esm/app/resources.d.ts.map +1 -0
- package/dist/esm/app/resources.js +48 -0
- package/dist/esm/app/saml/resources.d.ts +16 -0
- package/dist/esm/app/saml/resources.d.ts.map +1 -0
- package/dist/esm/app/saml/resources.js +41 -0
- package/dist/esm/app/{schema/saml.d.ts → saml/schema.d.ts} +19 -9
- package/dist/esm/app/saml/schema.d.ts.map +1 -0
- package/dist/esm/app/saml/schema.js +15 -0
- package/dist/esm/app/{schema/app.d.ts → schema.d.ts} +24 -9
- package/dist/esm/app/schema.d.ts.map +1 -0
- package/dist/esm/app/{schema/app.js → schema.js} +11 -3
- package/dist/esm/app/utils.d.ts.map +1 -0
- package/dist/esm/association/index.d.ts +2 -1
- package/dist/esm/association/index.d.ts.map +1 -1
- package/dist/esm/association/index.js +2 -1
- package/dist/esm/association/resources.d.ts +23 -0
- package/dist/esm/association/resources.d.ts.map +1 -0
- package/dist/esm/association/resources.js +44 -0
- package/dist/esm/association/schema.d.ts +147 -0
- package/dist/esm/association/schema.d.ts.map +1 -0
- package/dist/esm/association/schema.js +39 -0
- package/dist/esm/authentication/{schema/factors.d.ts → factors/schema.d.ts} +12 -3
- package/dist/esm/authentication/factors/schema.d.ts.map +1 -0
- package/dist/esm/authentication/{schema/factors.js → factors/schema.js} +5 -1
- package/dist/esm/authentication/factors/schema.test.d.ts +2 -0
- package/dist/esm/authentication/factors/schema.test.d.ts.map +1 -0
- package/dist/esm/authentication/{schema/factors.test.js → factors/schema.test.js} +1 -1
- package/dist/esm/authentication/index.d.ts +8 -1
- package/dist/esm/authentication/index.d.ts.map +1 -1
- package/dist/esm/authentication/index.js +13 -1
- package/dist/esm/authentication/{schema/provider.d.ts → providers/schema.d.ts} +5 -5
- package/dist/esm/authentication/providers/schema.d.ts.map +1 -0
- package/dist/esm/authentication/{schema/provider.js → providers/schema.js} +1 -1
- package/dist/esm/authentication/resources.d.ts +2 -0
- package/dist/esm/authentication/resources.d.ts.map +1 -0
- package/dist/esm/authentication/resources.js +1 -0
- package/dist/esm/authentication/sessions/resources.d.ts +21 -0
- package/dist/esm/authentication/sessions/resources.d.ts.map +1 -0
- package/dist/esm/authentication/sessions/resources.js +37 -0
- package/dist/esm/authentication/sessions/schema.d.ts +81 -0
- package/dist/esm/authentication/sessions/schema.d.ts.map +1 -0
- package/dist/esm/authentication/{schema/session.js → sessions/schema.js} +17 -8
- package/dist/esm/authentication/settings/resources.d.ts +12 -0
- package/dist/esm/authentication/settings/resources.d.ts.map +1 -0
- package/dist/esm/authentication/settings/resources.js +26 -0
- package/dist/esm/authentication/{schema/settings.d.ts → settings/schema.d.ts} +31 -8
- package/dist/esm/authentication/settings/schema.d.ts.map +1 -0
- package/dist/esm/authentication/settings/schema.js +20 -0
- package/dist/esm/authentication/strategies/resources.d.ts +20 -0
- package/dist/esm/authentication/strategies/resources.d.ts.map +1 -0
- package/dist/esm/authentication/strategies/resources.js +49 -0
- package/dist/esm/authentication/{schema/strategy → strategies/schema}/base.d.ts +17 -7
- package/dist/esm/authentication/strategies/schema/base.d.ts.map +1 -0
- package/dist/esm/authentication/{schema/strategy → strategies/schema}/base.js +11 -3
- package/dist/esm/authentication/{schema/strategy → strategies/schema}/schema.d.ts +102 -53
- package/dist/esm/authentication/strategies/schema/schema.d.ts.map +1 -0
- package/dist/esm/authentication/{schema/strategy → strategies/schema}/schema.js +4 -3
- package/dist/esm/authentication/{schema/strategy → strategies/schema}/types/email.d.ts +27 -9
- package/dist/esm/authentication/strategies/schema/types/email.d.ts.map +1 -0
- package/dist/esm/authentication/{schema/strategy → strategies/schema}/types/email.js +4 -3
- package/dist/esm/authentication/{schema/strategy → strategies/schema}/types/password.d.ts +76 -43
- package/dist/esm/authentication/strategies/schema/types/password.d.ts.map +1 -0
- package/dist/esm/authentication/strategies/schema/types/password.js +49 -0
- package/dist/esm/authentication/{schema/strategy → strategies/schema}/types/totp.d.ts +33 -13
- package/dist/esm/authentication/strategies/schema/types/totp.d.ts.map +1 -0
- package/dist/esm/authentication/{schema/strategy → strategies/schema}/types/totp.js +12 -3
- package/dist/esm/authorization/index.d.ts.map +1 -1
- package/dist/esm/authorization/index.js +2 -0
- package/dist/esm/authorization/permissions/resources.d.ts +2 -2
- package/dist/esm/authorization/permissions/resources.d.ts.map +1 -1
- package/dist/esm/authorization/permissions/resources.js +1 -1
- package/dist/esm/authorization/permissions/schema.d.ts +8 -8
- package/dist/esm/authorization/roles/resources.d.ts +2 -2
- package/dist/esm/authorization/roles/resources.d.ts.map +1 -1
- package/dist/esm/authorization/roles/resources.js +1 -1
- package/dist/esm/authorization/roles/schema.d.ts +8 -8
- package/dist/esm/common/index.d.ts +1 -0
- package/dist/esm/common/index.d.ts.map +1 -1
- package/dist/esm/common/index.js +1 -0
- package/dist/esm/common/schema/dates.d.ts +7 -7
- package/dist/esm/common/schema/dates.d.ts.map +1 -1
- package/dist/esm/common/schema/metadata.d.ts +8 -6
- package/dist/esm/common/schema/metadata.d.ts.map +1 -1
- package/dist/esm/common/schema/schema.d.ts +2 -1
- package/dist/esm/common/schema/schema.d.ts.map +1 -1
- package/dist/esm/common/schema/schema.js +2 -1
- package/dist/esm/common/schema/schema.test.d.ts +2 -0
- package/dist/esm/common/schema/schema.test.d.ts.map +1 -0
- package/dist/esm/common/schema/schema.test.js +33 -0
- package/dist/esm/common/schema/sets.d.ts +2 -2
- package/dist/esm/common/schema/sets.d.ts.map +1 -1
- package/dist/esm/common/schema/url.d.ts +2 -0
- package/dist/esm/common/schema/url.d.ts.map +1 -0
- package/dist/esm/common/schema/url.js +9 -0
- package/dist/esm/customer/index.d.ts +1 -0
- package/dist/esm/customer/index.d.ts.map +1 -1
- package/dist/esm/customer/index.js +1 -0
- package/dist/esm/customer/schema/organization.d.ts +7 -7
- package/dist/esm/customer/users/resources.d.ts +2 -2
- package/dist/esm/customer/users/resources.d.ts.map +1 -1
- package/dist/esm/customer/users/resources.js +3 -3
- package/dist/esm/customer/users/schema.d.ts +10 -11
- package/dist/esm/customer/users/schema.d.ts.map +1 -1
- package/dist/esm/customer/users/schema.js +1 -3
- package/dist/esm/customer/users/schema.test.js +2 -0
- package/dist/esm/customer/users/utils.d.ts +10 -0
- package/dist/esm/customer/users/utils.d.ts.map +1 -0
- package/dist/esm/customer/users/utils.js +27 -0
- package/dist/esm/identity/index.d.ts +1 -1
- package/dist/esm/identity/index.d.ts.map +1 -1
- package/dist/esm/identity/index.js +1 -1
- package/dist/esm/identity/schema.d.ts.map +1 -0
- package/dist/esm/oauth/authorize/schema/grants/authorization-code.js +1 -1
- package/dist/esm/oauth/common/schema.d.ts +6 -0
- package/dist/esm/oauth/common/schema.d.ts.map +1 -1
- package/dist/esm/oauth/common/schema.js +6 -0
- package/dist/esm/oauth/index.d.ts +1 -1
- package/dist/esm/oauth/index.d.ts.map +1 -1
- package/dist/esm/oauth/index.js +1 -1
- package/dist/esm/oauth/token/schema/grants/client-credentials.js +1 -1
- package/dist/esm/oauth/token/schema/grants/refresh-token.js +1 -1
- package/dist/esm/workspace/{schema/authorization.d.ts → authorization/schema.d.ts} +6 -6
- package/dist/esm/workspace/authorization/schema.d.ts.map +1 -0
- package/dist/esm/workspace/{schema/branding.d.ts → branding/schema.d.ts} +6 -6
- package/dist/esm/workspace/branding/schema.d.ts.map +1 -0
- package/dist/esm/workspace/index.d.ts +8 -1
- package/dist/esm/workspace/index.d.ts.map +1 -1
- package/dist/esm/workspace/index.js +8 -1
- package/dist/esm/workspace/{schema/membership.d.ts → membership/schema.d.ts} +6 -6
- package/dist/esm/workspace/membership/schema.d.ts.map +1 -0
- package/dist/esm/workspace/{schema/registration.d.ts → registration/schema.d.ts} +6 -6
- package/dist/esm/workspace/registration/schema.d.ts.map +1 -0
- package/dist/esm/workspace/{schema/registration.js → registration/schema.js} +1 -1
- package/dist/esm/workspace/{schema/settings.d.ts → settings/schema.d.ts} +6 -6
- package/dist/esm/workspace/settings/schema.d.ts.map +1 -0
- package/dist/esm/workspace/{schema/tenant.d.ts → tenant/schema.d.ts} +11 -11
- package/dist/esm/workspace/{schema/tenant.d.ts.map → tenant/schema.d.ts.map} +1 -1
- package/dist/esm/workspace/{schema/tenant.js → tenant/schema.js} +2 -2
- package/dist/esm/workspace/{schema/user-notification.d.ts → user/notifications/schema.d.ts} +8 -8
- package/dist/esm/workspace/user/notifications/schema.d.ts.map +1 -0
- package/dist/esm/workspace/{schema/user-notification.js → user/notifications/schema.js} +4 -4
- package/dist/esm/workspace/{schema/user-preferences.d.ts → user/preferences/schema.d.ts} +6 -6
- package/dist/esm/workspace/user/preferences/schema.d.ts.map +1 -0
- package/dist/esm/workspace/{schema/user-preferences.js → user/preferences/schema.js} +2 -2
- package/dist/esm/workspace/user/schema.d.ts +3 -0
- package/dist/esm/workspace/user/schema.d.ts.map +1 -0
- package/dist/esm/workspace/user/schema.js +2 -0
- package/dist/esm/workspace/utils.d.ts.map +1 -0
- package/package.json +6 -6
- package/dist/cjs/app/schema/app.d.ts.map +0 -1
- package/dist/cjs/app/schema/authorization.d.ts +0 -37
- package/dist/cjs/app/schema/authorization.d.ts.map +0 -1
- package/dist/cjs/app/schema/oauth.d.ts.map +0 -1
- package/dist/cjs/app/schema/oidc.d.ts.map +0 -1
- package/dist/cjs/app/schema/registration.d.ts.map +0 -1
- package/dist/cjs/app/schema/saml.d.ts.map +0 -1
- package/dist/cjs/app/schema/schema.d.ts +0 -8
- package/dist/cjs/app/schema/schema.d.ts.map +0 -1
- package/dist/cjs/app/schema/schema.js +0 -23
- package/dist/cjs/app/schema/utils.d.ts.map +0 -1
- package/dist/cjs/association/schema/association.d.ts +0 -82
- package/dist/cjs/association/schema/association.d.ts.map +0 -1
- package/dist/cjs/association/schema/schema.d.ts +0 -2
- package/dist/cjs/association/schema/schema.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/factors.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/factors.test.d.ts +0 -2
- package/dist/cjs/authentication/schema/factors.test.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/provider.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/schema.d.ts +0 -6
- package/dist/cjs/authentication/schema/schema.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/schema.js +0 -21
- package/dist/cjs/authentication/schema/session.d.ts +0 -59
- package/dist/cjs/authentication/schema/session.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/settings.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/strategy/base.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/strategy/schema.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/strategy/types/email.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/strategy/types/password.d.ts.map +0 -1
- package/dist/cjs/authentication/schema/strategy/types/password.js +0 -35
- package/dist/cjs/authentication/schema/strategy/types/totp.d.ts.map +0 -1
- package/dist/cjs/identity/schema/schema.d.ts.map +0 -1
- package/dist/cjs/workspace/schema/authorization.d.ts.map +0 -1
- package/dist/cjs/workspace/schema/branding.d.ts.map +0 -1
- package/dist/cjs/workspace/schema/membership.d.ts.map +0 -1
- package/dist/cjs/workspace/schema/registration.d.ts.map +0 -1
- package/dist/cjs/workspace/schema/schema.d.ts +0 -10
- package/dist/cjs/workspace/schema/schema.d.ts.map +0 -1
- package/dist/cjs/workspace/schema/schema.js +0 -25
- package/dist/cjs/workspace/schema/settings.d.ts.map +0 -1
- package/dist/cjs/workspace/schema/user-notification.d.ts.map +0 -1
- package/dist/cjs/workspace/schema/user-preferences.d.ts.map +0 -1
- package/dist/cjs/workspace/schema/utils.d.ts.map +0 -1
- package/dist/esm/app/schema/app.d.ts.map +0 -1
- package/dist/esm/app/schema/authorization.d.ts +0 -37
- package/dist/esm/app/schema/authorization.d.ts.map +0 -1
- package/dist/esm/app/schema/oauth.d.ts.map +0 -1
- package/dist/esm/app/schema/oauth.js +0 -18
- package/dist/esm/app/schema/oidc.d.ts.map +0 -1
- package/dist/esm/app/schema/oidc.js +0 -10
- package/dist/esm/app/schema/registration.d.ts +0 -22
- package/dist/esm/app/schema/registration.d.ts.map +0 -1
- package/dist/esm/app/schema/saml.d.ts.map +0 -1
- package/dist/esm/app/schema/saml.js +0 -10
- package/dist/esm/app/schema/schema.d.ts +0 -8
- package/dist/esm/app/schema/schema.d.ts.map +0 -1
- package/dist/esm/app/schema/schema.js +0 -7
- package/dist/esm/app/schema/utils.d.ts.map +0 -1
- package/dist/esm/association/schema/association.d.ts +0 -82
- package/dist/esm/association/schema/association.d.ts.map +0 -1
- package/dist/esm/association/schema/association.js +0 -23
- package/dist/esm/association/schema/schema.d.ts +0 -2
- package/dist/esm/association/schema/schema.d.ts.map +0 -1
- package/dist/esm/association/schema/schema.js +0 -1
- package/dist/esm/authentication/schema/factors.d.ts.map +0 -1
- package/dist/esm/authentication/schema/factors.test.d.ts +0 -2
- package/dist/esm/authentication/schema/factors.test.d.ts.map +0 -1
- package/dist/esm/authentication/schema/provider.d.ts.map +0 -1
- package/dist/esm/authentication/schema/schema.d.ts +0 -6
- package/dist/esm/authentication/schema/schema.d.ts.map +0 -1
- package/dist/esm/authentication/schema/schema.js +0 -5
- package/dist/esm/authentication/schema/session.d.ts +0 -59
- package/dist/esm/authentication/schema/session.d.ts.map +0 -1
- package/dist/esm/authentication/schema/settings.d.ts.map +0 -1
- package/dist/esm/authentication/schema/settings.js +0 -13
- package/dist/esm/authentication/schema/strategy/base.d.ts.map +0 -1
- package/dist/esm/authentication/schema/strategy/schema.d.ts.map +0 -1
- package/dist/esm/authentication/schema/strategy/types/email.d.ts.map +0 -1
- package/dist/esm/authentication/schema/strategy/types/password.d.ts.map +0 -1
- package/dist/esm/authentication/schema/strategy/types/password.js +0 -32
- package/dist/esm/authentication/schema/strategy/types/totp.d.ts.map +0 -1
- package/dist/esm/identity/schema/schema.d.ts.map +0 -1
- package/dist/esm/workspace/schema/authorization.d.ts.map +0 -1
- package/dist/esm/workspace/schema/branding.d.ts.map +0 -1
- package/dist/esm/workspace/schema/membership.d.ts.map +0 -1
- package/dist/esm/workspace/schema/registration.d.ts.map +0 -1
- package/dist/esm/workspace/schema/schema.d.ts +0 -10
- package/dist/esm/workspace/schema/schema.d.ts.map +0 -1
- package/dist/esm/workspace/schema/schema.js +0 -9
- package/dist/esm/workspace/schema/settings.d.ts.map +0 -1
- package/dist/esm/workspace/schema/user-notification.d.ts.map +0 -1
- package/dist/esm/workspace/schema/user-preferences.d.ts.map +0 -1
- package/dist/esm/workspace/schema/utils.d.ts.map +0 -1
- package/dist/cjs/app/{schema/utils.d.ts → utils.d.ts} +0 -0
- package/dist/cjs/app/{schema/utils.js → utils.js} +0 -0
- package/dist/cjs/identity/{schema/schema.d.ts → schema.d.ts} +0 -0
- package/dist/cjs/identity/{schema/schema.js → schema.js} +0 -0
- package/dist/cjs/workspace/{schema/authorization.js → authorization/schema.js} +0 -0
- package/dist/cjs/workspace/{schema/branding.js → branding/schema.js} +0 -0
- package/dist/cjs/workspace/{schema/membership.js → membership/schema.js} +0 -0
- package/dist/cjs/workspace/{schema/settings.js → settings/schema.js} +0 -0
- package/dist/cjs/workspace/{schema/utils.d.ts → utils.d.ts} +0 -0
- package/dist/cjs/workspace/{schema/utils.js → utils.js} +1 -1
- package/dist/esm/app/{schema/utils.d.ts → utils.d.ts} +0 -0
- package/dist/esm/app/{schema/utils.js → utils.js} +0 -0
- package/dist/esm/identity/{schema/schema.d.ts → schema.d.ts} +0 -0
- package/dist/esm/identity/{schema/schema.js → schema.js} +0 -0
- package/dist/esm/workspace/{schema/authorization.js → authorization/schema.js} +0 -0
- package/dist/esm/workspace/{schema/branding.js → branding/schema.js} +0 -0
- package/dist/esm/workspace/{schema/membership.js → membership/schema.js} +0 -0
- package/dist/esm/workspace/{schema/settings.js → settings/schema.js} +0 -0
- package/dist/esm/workspace/{schema/utils.d.ts → utils.d.ts} +0 -0
- package/dist/esm/workspace/{schema/utils.js → utils.js} +1 -1
|
@@ -4,7 +4,7 @@ exports.UpsertRegistrationPayloadSchema = exports.RegistrationPayloadSchema = vo
|
|
|
4
4
|
const arktype_1 = require("arktype");
|
|
5
5
|
const dates_js_1 = require("../../common/schema/dates.js");
|
|
6
6
|
const metadata_js_1 = require("../../common/schema/metadata.js");
|
|
7
|
-
const schema_js_1 = require("../../identity/schema
|
|
7
|
+
const schema_js_1 = require("../../identity/schema.js");
|
|
8
8
|
const IdentityIdentifierPropertySchema = (0, arktype_1.type)({
|
|
9
9
|
type: schema_js_1.IdentityIdentifierSchema,
|
|
10
10
|
}).array();
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* This isn't really being used yet...but some general settings would go here
|
|
3
3
|
*/
|
|
4
4
|
export declare const SettingsPayloadSchema: import("arktype/out/methods/object.js").ObjectType<{
|
|
5
|
-
updatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
6
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
7
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
5
|
+
updatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
6
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
7
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
8
8
|
metadata?: ((In: {
|
|
9
9
|
[x: string]: string | number | boolean;
|
|
10
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
10
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
11
11
|
[x: string]: string | number | boolean;
|
|
12
12
|
} | undefined>) | undefined;
|
|
13
13
|
}, {}>;
|
|
@@ -15,9 +15,9 @@ export type SettingsPayload = typeof SettingsPayloadSchema.inferOut;
|
|
|
15
15
|
export declare const UpsertSettingsPayloadSchema: import("arktype/out/methods/object.js").ObjectType<{
|
|
16
16
|
metadata?: ((In: {
|
|
17
17
|
[x: string]: string | number | boolean;
|
|
18
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
18
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
19
19
|
[x: string]: string | number | boolean;
|
|
20
20
|
} | undefined>) | undefined;
|
|
21
21
|
}, {}>;
|
|
22
22
|
export type UpsertSettingsPayload = typeof UpsertSettingsPayloadSchema.inferOut;
|
|
23
|
-
//# sourceMappingURL=
|
|
23
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/workspace/settings/schema.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;MAIG,CAAC;AACtC,MAAM,MAAM,eAAe,GAAG,OAAO,qBAAqB,CAAC,QAAQ,CAAC;AAEpE,eAAO,MAAM,2BAA2B;;;;;;MAAgC,CAAC;AACzE,MAAM,MAAM,qBAAqB,GAAG,OAAO,2BAA2B,CAAC,QAAQ,CAAC"}
|
|
@@ -5,14 +5,14 @@ export declare const TenantIdPropertySchema: import("arktype/out/methods/object.
|
|
|
5
5
|
export declare const TenantPayloadSchema: import("arktype/out/methods/object.js").ObjectType<{
|
|
6
6
|
status: import("arktype/out/attributes.js").Default<"active" | "suspended", "active">;
|
|
7
7
|
name: string;
|
|
8
|
-
createdAt: (In: string | Date) => import("arktype
|
|
9
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
10
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
11
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
8
|
+
createdAt: (In: string | Date) => import("arktype").Out<string>;
|
|
9
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
10
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
11
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
12
12
|
id: string;
|
|
13
13
|
metadata?: ((In: {
|
|
14
14
|
[x: string]: string | number | boolean;
|
|
15
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
15
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
16
16
|
[x: string]: string | number | boolean;
|
|
17
17
|
} | undefined>) | undefined;
|
|
18
18
|
handle: string;
|
|
@@ -21,11 +21,11 @@ export declare const TenantPayloadSchema: import("arktype/out/methods/object.js"
|
|
|
21
21
|
membership?: {
|
|
22
22
|
features?: {
|
|
23
23
|
"Branding.Remove"?: {
|
|
24
|
-
expiresAt: (In: string | Date) => import("arktype
|
|
24
|
+
expiresAt: (In: string | Date) => import("arktype").Out<string>;
|
|
25
25
|
} | undefined;
|
|
26
26
|
} | undefined;
|
|
27
|
-
startAt?: ((In: string | Date | undefined) => import("arktype
|
|
28
|
-
endAt?: ((In: string | Date | undefined) => import("arktype
|
|
27
|
+
startAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
28
|
+
endAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
29
29
|
} | undefined;
|
|
30
30
|
}, {}>;
|
|
31
31
|
export type TenantPayload = typeof TenantPayloadSchema.inferOut;
|
|
@@ -34,7 +34,7 @@ export declare const InsertTenantPayloadSchema: import("arktype/out/methods/obje
|
|
|
34
34
|
status?: "active" | "suspended" | undefined;
|
|
35
35
|
metadata?: ((In: {
|
|
36
36
|
[x: string]: string | number | boolean;
|
|
37
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
37
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
38
38
|
[x: string]: string | number | boolean;
|
|
39
39
|
} | null>) | undefined;
|
|
40
40
|
id: import("arktype/out/attributes.js").Default<string, string>;
|
|
@@ -47,11 +47,11 @@ export declare const UpdateTenantPayloadSchema: import("arktype/out/methods/obje
|
|
|
47
47
|
name?: string | null | undefined;
|
|
48
48
|
metadata?: ((In: {
|
|
49
49
|
[x: string]: string | number | boolean;
|
|
50
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
50
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
51
51
|
[x: string]: string | number | boolean;
|
|
52
52
|
} | null>) | undefined;
|
|
53
53
|
handle?: string | undefined;
|
|
54
54
|
supportEmail?: string | undefined;
|
|
55
55
|
}, {}>;
|
|
56
56
|
export type UpdateTenantPayload = typeof UpdateTenantPayloadSchema.inferOut;
|
|
57
|
-
//# sourceMappingURL=
|
|
57
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/workspace/tenant/schema.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc,gEAAc,CAAC;AAE1C,eAAO,MAAM,sBAAsB;;MAEjC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;MAK9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,mBAAmB,CAAC,QAAQ,CAAC;AAEhE,eAAO,MAAM,yBAAyB;;;;;;;;;;;MAMpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,yBAAyB,CAAC,QAAQ,CAAC;AAE5E,eAAO,MAAM,yBAAyB;;;;;;;;;;MAGpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,yBAAyB,CAAC,QAAQ,CAAC"}
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateTenantPayloadSchema = exports.InsertTenantPayloadSchema = exports.TenantPayloadSchema = exports.TenantIdPropertySchema = exports.TenantIdSchema = void 0;
|
|
4
4
|
const arktype_1 = require("arktype");
|
|
5
5
|
const organization_js_1 = require("../../customer/schema/organization.js");
|
|
6
|
-
const
|
|
7
|
-
const utils_js_1 = require("
|
|
6
|
+
const schema_js_1 = require("../membership/schema.js");
|
|
7
|
+
const utils_js_1 = require("../utils.js");
|
|
8
8
|
exports.TenantIdSchema = arktype_1.type.string;
|
|
9
9
|
exports.TenantIdPropertySchema = (0, arktype_1.type)({
|
|
10
10
|
id: exports.TenantIdSchema,
|
|
@@ -13,7 +13,7 @@ exports.TenantPayloadSchema = organization_js_1.OrganizationPayloadSchema.and({
|
|
|
13
13
|
handle: (0, arktype_1.type)('string'),
|
|
14
14
|
supportEmail: (0, arktype_1.type)('string.email').optional(),
|
|
15
15
|
authHost: (0, arktype_1.type)('string.url').optional(), // Not live yet (used for dev now)
|
|
16
|
-
membership:
|
|
16
|
+
membership: schema_js_1.MembershipPayloadSchema.optional(),
|
|
17
17
|
});
|
|
18
18
|
exports.InsertTenantPayloadSchema = organization_js_1.InsertOrganizationPayloadSchema.omit('id').and({
|
|
19
19
|
id: exports.TenantIdSchema.default(() => (0, utils_js_1.generateTenantId)()),
|
|
@@ -14,17 +14,17 @@ export declare const UserNotificationPayloadSchema: import("arktype/out/methods/
|
|
|
14
14
|
title?: string | undefined;
|
|
15
15
|
message?: string | undefined;
|
|
16
16
|
type: "info" | "import";
|
|
17
|
-
createdAt: (In: string | Date) => import("arktype
|
|
18
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
17
|
+
createdAt: (In: string | Date) => import("arktype").Out<string>;
|
|
18
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
19
19
|
action?: {
|
|
20
20
|
link: string;
|
|
21
21
|
label: string;
|
|
22
22
|
} | undefined;
|
|
23
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
24
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
23
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
24
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
25
25
|
metadata?: ((In: {
|
|
26
26
|
[x: string]: string | number | boolean;
|
|
27
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
27
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
28
28
|
[x: string]: string | number | boolean;
|
|
29
29
|
} | undefined>) | undefined;
|
|
30
30
|
}, {}>;
|
|
@@ -40,7 +40,7 @@ export declare const InsertUserNotificationPayloadSchema: import("arktype/out/me
|
|
|
40
40
|
message?: string | undefined;
|
|
41
41
|
metadata?: ((In: {
|
|
42
42
|
[x: string]: string | number | boolean;
|
|
43
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
43
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
44
44
|
[x: string]: string | number | boolean;
|
|
45
45
|
} | undefined>) | undefined;
|
|
46
46
|
}, {}>;
|
|
@@ -54,9 +54,9 @@ export declare const UpdateUserNotificationPayloadSchema: import("arktype/out/me
|
|
|
54
54
|
} | undefined;
|
|
55
55
|
metadata?: ((In: {
|
|
56
56
|
[x: string]: string | number | boolean;
|
|
57
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
57
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
58
58
|
[x: string]: string | number | boolean;
|
|
59
59
|
} | undefined>) | undefined;
|
|
60
60
|
}, {}>;
|
|
61
61
|
export type UpdateUserNotificationPayload = typeof UpdateUserNotificationPayloadSchema.inferOut;
|
|
62
|
-
//# sourceMappingURL=
|
|
62
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/workspace/user/notifications/schema.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,eAAO,MAAM,wBAAwB,gEAAc,CAAC;AACpD,MAAM,MAAM,kBAAkB,GAAG,OAAO,wBAAwB,CAAC,QAAQ,CAAC;AAE1E,eAAO,MAAM,gCAAgC;;MAE3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GACpC,OAAO,gCAAgC,CAAC,QAAQ,CAAC;AAYnD,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;MAUH,CAAC;AACxC,MAAM,MAAM,uBAAuB,GACjC,OAAO,6BAA6B,CAAC,QAAQ,CAAC;AAEhD,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;MAMX,CAAC;AACtC,MAAM,MAAM,6BAA6B,GACvC,OAAO,mCAAmC,CAAC,QAAQ,CAAC;AAEtD,eAAO,MAAM,mCAAmC;;;;;;;;;;;;MAEX,CAAC;AACtC,MAAM,MAAM,6BAA6B,GACvC,OAAO,mCAAmC,CAAC,QAAQ,CAAC"}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateUserNotificationPayloadSchema = exports.InsertUserNotificationPayloadSchema = exports.UserNotificationPayloadSchema = exports.UserNotificationIdPropertySchema = exports.UserNotificationIdSchema = exports.NotificationType = void 0;
|
|
4
4
|
const arktype_1 = require("arktype");
|
|
5
|
-
const dates_js_1 = require("
|
|
6
|
-
const metadata_js_1 = require("
|
|
7
|
-
const schema_js_1 = require("
|
|
8
|
-
const utils_js_1 = require("
|
|
5
|
+
const dates_js_1 = require("../../../common/schema/dates.js");
|
|
6
|
+
const metadata_js_1 = require("../../../common/schema/metadata.js");
|
|
7
|
+
const schema_js_1 = require("../../../customer/users/schema.js");
|
|
8
|
+
const utils_js_1 = require("../../utils.js");
|
|
9
9
|
exports.NotificationType = {
|
|
10
10
|
INFO: 'info',
|
|
11
11
|
IMPORT: 'import',
|
|
@@ -2,12 +2,12 @@ export declare const UserPreferencesPayloadSchema: import("arktype/out/methods/o
|
|
|
2
2
|
views?: Record<string, {
|
|
3
3
|
columns?: string[] | undefined;
|
|
4
4
|
}> | undefined;
|
|
5
|
-
updatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
6
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
7
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
5
|
+
updatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
6
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
7
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
8
8
|
metadata?: ((In: {
|
|
9
9
|
[x: string]: string | number | boolean;
|
|
10
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
10
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
11
11
|
[x: string]: string | number | boolean;
|
|
12
12
|
} | null>) | undefined;
|
|
13
13
|
}, {}>;
|
|
@@ -18,9 +18,9 @@ export declare const UpsertUserPreferencesPayloadSchema: import("arktype/out/met
|
|
|
18
18
|
}> | undefined;
|
|
19
19
|
metadata?: ((In: {
|
|
20
20
|
[x: string]: string | number | boolean;
|
|
21
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
21
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
22
22
|
[x: string]: string | number | boolean;
|
|
23
23
|
} | null>) | undefined;
|
|
24
24
|
}, {}>;
|
|
25
25
|
export type UpsertUserPreferencesPayload = typeof UpsertUserPreferencesPayloadSchema.inferOut;
|
|
26
|
-
//# sourceMappingURL=
|
|
26
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/workspace/user/preferences/schema.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;MAIE,CAAC;AAC5C,MAAM,MAAM,sBAAsB,GAChC,OAAO,4BAA4B,CAAC,QAAQ,CAAC;AAE/C,eAAO,MAAM,kCAAkC;;;;;;;;;MAE9C,CAAC;AACF,MAAM,MAAM,4BAA4B,GACtC,OAAO,kCAAkC,CAAC,QAAQ,CAAC"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpsertUserPreferencesPayloadSchema = exports.UserPreferencesPayloadSchema = void 0;
|
|
4
4
|
const arktype_1 = require("arktype");
|
|
5
|
-
const dates_js_1 = require("
|
|
6
|
-
const metadata_js_1 = require("
|
|
5
|
+
const dates_js_1 = require("../../../common/schema/dates.js");
|
|
6
|
+
const metadata_js_1 = require("../../../common/schema/metadata.js");
|
|
7
7
|
const TableSchema = (0, arktype_1.type)({
|
|
8
8
|
columns: (0, arktype_1.type)('string').array().optional(),
|
|
9
9
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/workspace/user/schema.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./notifications/schema.js"), exports);
|
|
18
|
+
__exportStar(require("./preferences/schema.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/workspace/utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;CAUR,CAAC;AAEX,wBAAgB,gBAAgB,WAE/B;AAED,wBAAgB,cAAc,WAE7B;AAED,wBAAgB,sBAAsB,WAErC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
export declare const ActionOperation: {
|
|
2
|
+
readonly SET_PASSWORD: "set-password";
|
|
3
|
+
readonly USER_ATTRIBUTE_VERIFICATION: "user-attribute-verification";
|
|
4
|
+
readonly SIGN_UP: "sign-up";
|
|
5
|
+
readonly SIGN_UP_VERIFICATION: "sign-up-verification";
|
|
6
|
+
};
|
|
7
|
+
export type AnyActionOperation = (typeof ActionOperation)[keyof typeof ActionOperation];
|
|
1
8
|
export declare const ActionIdSchema: import("arktype/internal/methods/string.ts").StringType<string, {}>;
|
|
2
9
|
export type ActionId = typeof ActionIdSchema.inferOut;
|
|
3
10
|
export declare const ActionIdPropertySchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
@@ -8,13 +15,13 @@ export declare const OperationSchema: import("arktype/internal/methods/string.ts
|
|
|
8
15
|
export declare const BasePayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
9
16
|
id: string;
|
|
10
17
|
attempt: number;
|
|
11
|
-
expiresAt: (In: string | Date) => import("arktype
|
|
12
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
13
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
14
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
18
|
+
expiresAt: (In: string | Date) => import("arktype").Out<string>;
|
|
19
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
20
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
21
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
15
22
|
metadata?: ((In: {
|
|
16
23
|
[x: string]: string | number | boolean;
|
|
17
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
24
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
18
25
|
[x: string]: string | number | boolean;
|
|
19
26
|
} | undefined>) | undefined;
|
|
20
27
|
}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/action/schema/base.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/action/schema/base.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe;;;;;CAOlB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,eAAO,MAAM,cAAc,qEAAc,CAAC;AAC1C,MAAM,MAAM,QAAQ,GAAG,OAAO,cAAc,CAAC,QAAQ,CAAC;AAEtD,eAAO,MAAM,sBAAsB;;MAEjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,sBAAsB,CAAC,QAAQ,CAAC;AAEtE,eAAO,MAAM,eAAe,kJAK3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;MAMO,CAAC"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { type } from 'arktype';
|
|
2
2
|
import { OptionalDatePayloadSchema, RequiredDatePayloadSchema, } from '../../common/schema/dates.js';
|
|
3
3
|
import { MetadataPayloadPropertySchema } from '../../common/schema/metadata.js';
|
|
4
|
-
|
|
4
|
+
export const ActionOperation = {
|
|
5
|
+
SET_PASSWORD: 'set-password',
|
|
6
|
+
USER_ATTRIBUTE_VERIFICATION: 'user-attribute-verification',
|
|
7
|
+
SIGN_UP: 'sign-up',
|
|
8
|
+
SIGN_UP_VERIFICATION: 'sign-up-verification',
|
|
9
|
+
};
|
|
5
10
|
export const ActionIdSchema = type.string;
|
|
6
11
|
export const ActionIdPropertySchema = type({
|
|
7
12
|
id: ActionIdSchema,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
export declare const SetPasswordActionPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
2
2
|
id: string;
|
|
3
3
|
attempt: number;
|
|
4
|
-
expiresAt: (In: string | Date) => import("arktype
|
|
5
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
6
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
7
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
4
|
+
expiresAt: (In: string | Date) => import("arktype").Out<string>;
|
|
5
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
6
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
7
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
8
8
|
metadata?: ((In: {
|
|
9
9
|
[x: string]: string | number | boolean;
|
|
10
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
10
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
11
11
|
[x: string]: string | number | boolean;
|
|
12
12
|
} | undefined>) | undefined;
|
|
13
13
|
operation: "set-password";
|
|
14
14
|
user: string;
|
|
15
15
|
identifier: "email" | "phoneNumber";
|
|
16
16
|
policy: {
|
|
17
|
-
minimumLength: import("arktype/internal/attributes.ts").Default<number,
|
|
18
|
-
maximumLength: import("arktype/internal/attributes.ts").Default<number,
|
|
19
|
-
minimumCapital: import("arktype/internal/attributes.ts").Default<number,
|
|
20
|
-
minimumLower: import("arktype/internal/attributes.ts").Default<number,
|
|
21
|
-
minimumNumber: import("arktype/internal/attributes.ts").Default<number,
|
|
22
|
-
minimumSpecial: import("arktype/internal/attributes.ts").Default<number,
|
|
17
|
+
minimumLength: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
18
|
+
maximumLength: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
19
|
+
minimumCapital: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
20
|
+
minimumLower: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
21
|
+
minimumNumber: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
22
|
+
minimumSpecial: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
23
23
|
};
|
|
24
24
|
}, {}>;
|
|
25
25
|
export type SetPasswordActionPayload = typeof SetPasswordActionPayloadSchema.inferOut;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type } from 'arktype';
|
|
2
|
-
import { PasswordPolicySchema } from '../../../authentication/schema/schema.js';
|
|
2
|
+
import { PasswordPolicySchema } from '../../../authentication/strategies/schema/schema.js';
|
|
3
3
|
import { UserIdSchema } from '../../../customer/users/schema.js';
|
|
4
|
-
import { IdentityIdentifierSchema } from '../../../identity/schema
|
|
4
|
+
import { IdentityIdentifierSchema } from '../../../identity/schema.js';
|
|
5
5
|
import { BasePayloadSchema } from '../base.js';
|
|
6
6
|
export const SetPasswordActionPayloadSchema = BasePayloadSchema.and({
|
|
7
7
|
operation: type("'set-password'"),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const SignUpVerificationActionPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
2
2
|
id: string;
|
|
3
3
|
attempt: number;
|
|
4
|
-
expiresAt: (In: string | Date) => import("arktype
|
|
5
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
6
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
7
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
4
|
+
expiresAt: (In: string | Date) => import("arktype").Out<string>;
|
|
5
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
6
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
7
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
8
8
|
metadata?: ((In: {
|
|
9
9
|
[x: string]: string | number | boolean;
|
|
10
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
10
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
11
11
|
[x: string]: string | number | boolean;
|
|
12
12
|
} | undefined>) | undefined;
|
|
13
13
|
operation: "sign-up-verification";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type } from 'arktype';
|
|
2
2
|
import { UserIdSchema } from '../../../customer/users/schema.js';
|
|
3
|
-
import { IdentityIdentifierSchema } from '../../../identity/schema
|
|
3
|
+
import { IdentityIdentifierSchema } from '../../../identity/schema.js';
|
|
4
4
|
import { BasePayloadSchema } from '../base.js';
|
|
5
5
|
export const SignUpVerificationActionPayloadSchema = BasePayloadSchema.and({
|
|
6
6
|
operation: type("'sign-up-verification'"),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const SignUpActionPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
2
2
|
id: string;
|
|
3
3
|
attempt: number;
|
|
4
|
-
expiresAt: (In: string | Date) => import("arktype
|
|
5
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
6
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
7
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
4
|
+
expiresAt: (In: string | Date) => import("arktype").Out<string>;
|
|
5
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
6
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
7
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
8
8
|
metadata?: ((In: {
|
|
9
9
|
[x: string]: string | number | boolean;
|
|
10
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
10
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
11
11
|
[x: string]: string | number | boolean;
|
|
12
12
|
} | undefined>) | undefined;
|
|
13
13
|
operation: "sign-up";
|
|
@@ -29,7 +29,7 @@ export declare const SignUpActionRequestSchema: import("arktype/internal/methods
|
|
|
29
29
|
honorificSuffix?: string | undefined;
|
|
30
30
|
email: string;
|
|
31
31
|
phoneNumber?: string | undefined;
|
|
32
|
-
id
|
|
32
|
+
id?: string | undefined;
|
|
33
33
|
} | {
|
|
34
34
|
givenName?: string | undefined;
|
|
35
35
|
middleName?: string | undefined;
|
|
@@ -38,7 +38,7 @@ export declare const SignUpActionRequestSchema: import("arktype/internal/methods
|
|
|
38
38
|
honorificSuffix?: string | undefined;
|
|
39
39
|
phoneNumber: string;
|
|
40
40
|
email?: string | undefined;
|
|
41
|
-
id
|
|
41
|
+
id?: string | undefined;
|
|
42
42
|
}, {}>;
|
|
43
43
|
export type SignUpActionRequest = typeof SignUpActionRequestSchema.inferOut;
|
|
44
44
|
//# sourceMappingURL=sign-up.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type } from 'arktype';
|
|
2
|
-
import { AppIdSchema } from '../../../app/schema
|
|
2
|
+
import { AppIdSchema } from '../../../app/schema.js';
|
|
3
3
|
import { InsertUserPayloadSchema, RequiredEmailSchema, RequiredPhoneNumberSchema, UserNamePropertiesSchema, } from '../../../customer/users/schema.js';
|
|
4
4
|
import { BasePayloadSchema } from '../base.js';
|
|
5
5
|
export const SignUpActionPayloadSchema = BasePayloadSchema.and({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const UserAttributeVerificationActionPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
2
2
|
id: string;
|
|
3
3
|
attempt: number;
|
|
4
|
-
expiresAt: (In: string | Date) => import("arktype
|
|
5
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
6
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
7
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
4
|
+
expiresAt: (In: string | Date) => import("arktype").Out<string>;
|
|
5
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
6
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
7
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
8
8
|
metadata?: ((In: {
|
|
9
9
|
[x: string]: string | number | boolean;
|
|
10
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
10
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
11
11
|
[x: string]: string | number | boolean;
|
|
12
12
|
} | undefined>) | undefined;
|
|
13
13
|
operation: "user-attribute-verification";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type } from 'arktype';
|
|
2
2
|
import { UserIdSchema } from '../../../customer/users/schema.js';
|
|
3
|
-
import { IdentityIdentifierSchema } from '../../../identity/schema
|
|
3
|
+
import { IdentityIdentifierSchema } from '../../../identity/schema.js';
|
|
4
4
|
import { BasePayloadSchema } from '../base.js';
|
|
5
5
|
export const UserAttributeVerificationActionPayloadSchema = BasePayloadSchema.and({
|
|
6
6
|
operation: type("'user-attribute-verification'"),
|
|
@@ -1,46 +1,39 @@
|
|
|
1
|
-
export declare const ActionOperation: {
|
|
2
|
-
readonly SET_PASSWORD: "set-password";
|
|
3
|
-
readonly USER_ATTRIBUTE_VERIFICATION: "user-attribute-verification";
|
|
4
|
-
readonly SIGN_UP: "sign-up";
|
|
5
|
-
readonly SIGN_UP_VERIFICATION: "sign-up-verification";
|
|
6
|
-
};
|
|
7
|
-
export type AnyActionOperation = (typeof ActionOperation)[keyof typeof ActionOperation];
|
|
8
1
|
/**
|
|
9
2
|
* Union
|
|
10
3
|
*/
|
|
11
4
|
export declare const ActionPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
12
5
|
id: string;
|
|
13
6
|
attempt: number;
|
|
14
|
-
expiresAt: (In: string | Date) => import("arktype
|
|
15
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
16
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
17
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
7
|
+
expiresAt: (In: string | Date) => import("arktype").Out<string>;
|
|
8
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
9
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
10
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
18
11
|
metadata?: ((In: {
|
|
19
12
|
[x: string]: string | number | boolean;
|
|
20
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
13
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
21
14
|
[x: string]: string | number | boolean;
|
|
22
15
|
} | undefined>) | undefined;
|
|
23
16
|
operation: "set-password";
|
|
24
17
|
user: string;
|
|
25
18
|
identifier: "email" | "phoneNumber";
|
|
26
19
|
policy: {
|
|
27
|
-
minimumLength: import("arktype/internal/attributes.ts").Default<number,
|
|
28
|
-
maximumLength: import("arktype/internal/attributes.ts").Default<number,
|
|
29
|
-
minimumCapital: import("arktype/internal/attributes.ts").Default<number,
|
|
30
|
-
minimumLower: import("arktype/internal/attributes.ts").Default<number,
|
|
31
|
-
minimumNumber: import("arktype/internal/attributes.ts").Default<number,
|
|
32
|
-
minimumSpecial: import("arktype/internal/attributes.ts").Default<number,
|
|
20
|
+
minimumLength: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
21
|
+
maximumLength: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
22
|
+
minimumCapital: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
23
|
+
minimumLower: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
24
|
+
minimumNumber: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
25
|
+
minimumSpecial: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
33
26
|
};
|
|
34
27
|
} | {
|
|
35
28
|
id: string;
|
|
36
29
|
attempt: number;
|
|
37
|
-
expiresAt: (In: string | Date) => import("arktype
|
|
38
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
39
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
40
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
30
|
+
expiresAt: (In: string | Date) => import("arktype").Out<string>;
|
|
31
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
32
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
33
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
41
34
|
metadata?: ((In: {
|
|
42
35
|
[x: string]: string | number | boolean;
|
|
43
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
36
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
44
37
|
[x: string]: string | number | boolean;
|
|
45
38
|
} | undefined>) | undefined;
|
|
46
39
|
operation: "sign-up-verification";
|
|
@@ -49,13 +42,13 @@ export declare const ActionPayloadSchema: import("arktype/internal/methods/objec
|
|
|
49
42
|
} | {
|
|
50
43
|
id: string;
|
|
51
44
|
attempt: number;
|
|
52
|
-
expiresAt: (In: string | Date) => import("arktype
|
|
53
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
54
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
55
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
45
|
+
expiresAt: (In: string | Date) => import("arktype").Out<string>;
|
|
46
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
47
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
48
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
56
49
|
metadata?: ((In: {
|
|
57
50
|
[x: string]: string | number | boolean;
|
|
58
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
51
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
59
52
|
[x: string]: string | number | boolean;
|
|
60
53
|
} | undefined>) | undefined;
|
|
61
54
|
operation: "sign-up";
|
|
@@ -70,13 +63,13 @@ export declare const ActionPayloadSchema: import("arktype/internal/methods/objec
|
|
|
70
63
|
} | {
|
|
71
64
|
id: string;
|
|
72
65
|
attempt: number;
|
|
73
|
-
expiresAt: (In: string | Date) => import("arktype
|
|
74
|
-
updatedAt: (In: string | Date) => import("arktype
|
|
75
|
-
deletedAt?: ((In: string | Date | undefined) => import("arktype
|
|
76
|
-
deactivatedAt?: ((In: string | Date | undefined) => import("arktype
|
|
66
|
+
expiresAt: (In: string | Date) => import("arktype").Out<string>;
|
|
67
|
+
updatedAt: (In: string | Date) => import("arktype").Out<string>;
|
|
68
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
69
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
|
|
77
70
|
metadata?: ((In: {
|
|
78
71
|
[x: string]: string | number | boolean;
|
|
79
|
-
} | Map<string, string | number | boolean> | null | undefined) => import("arktype
|
|
72
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
|
|
80
73
|
[x: string]: string | number | boolean;
|
|
81
74
|
} | undefined>) | undefined;
|
|
82
75
|
operation: "user-attribute-verification";
|
|
@@ -84,7 +77,7 @@ export declare const ActionPayloadSchema: import("arktype/internal/methods/objec
|
|
|
84
77
|
attribute: "email" | "phoneNumber";
|
|
85
78
|
}, {}>;
|
|
86
79
|
export type ActionPayload = typeof ActionPayloadSchema.inferOut;
|
|
87
|
-
export { ActionIdPropertySchema, ActionIdSchema, type ActionId, type ActionIdProperty, } from './base.js';
|
|
80
|
+
export { ActionIdPropertySchema, ActionIdSchema, ActionOperation, type ActionId, type ActionIdProperty, type AnyActionOperation, } from './base.js';
|
|
88
81
|
export * from './operations/set-password.js';
|
|
89
82
|
export * from './operations/sign-up-verification.js';
|
|
90
83
|
export * from './operations/sign-up.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/action/schema/schema.ts"],"names":[],"mappings":"AAKA
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/action/schema/schema.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAImB,CAAC;AACpD,MAAM,MAAM,aAAa,GAAG,OAAO,mBAAmB,CAAC,QAAQ,CAAC;AAEhE,OAAO,EACL,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB,MAAM,WAAW,CAAC;AACnB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,6CAA6C,CAAC"}
|