@go-mondo/identity-sdk 0.0.1-beta.2
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/.tsbuildinfo/cjs.json +1 -0
- package/.tsbuildinfo/esm.json +1 -0
- package/CHANGELOG.md +63 -0
- package/README.md +3 -0
- package/lib/cjs/action/index.d.ts +2 -0
- package/lib/cjs/action/index.d.ts.map +1 -0
- package/lib/cjs/action/index.js +17 -0
- package/lib/cjs/action/schema/base.d.ts +21 -0
- package/lib/cjs/action/schema/base.d.ts.map +1 -0
- package/lib/cjs/action/schema/base.js +19 -0
- package/lib/cjs/action/schema/operations/set-password.d.ts +31 -0
- package/lib/cjs/action/schema/operations/set-password.d.ts.map +1 -0
- package/lib/cjs/action/schema/operations/set-password.js +18 -0
- package/lib/cjs/action/schema/operations/sign-up-verification.d.ts +22 -0
- package/lib/cjs/action/schema/operations/sign-up-verification.d.ts.map +1 -0
- package/lib/cjs/action/schema/operations/sign-up-verification.js +15 -0
- package/lib/cjs/action/schema/operations/sign-up.d.ts +44 -0
- package/lib/cjs/action/schema/operations/sign-up.d.ts.map +1 -0
- package/lib/cjs/action/schema/operations/sign-up.js +21 -0
- package/lib/cjs/action/schema/operations/user-attribute-verification.d.ts +20 -0
- package/lib/cjs/action/schema/operations/user-attribute-verification.d.ts.map +1 -0
- package/lib/cjs/action/schema/operations/user-attribute-verification.js +13 -0
- package/lib/cjs/action/schema/schema.d.ts +92 -0
- package/lib/cjs/action/schema/schema.d.ts.map +1 -0
- package/lib/cjs/action/schema/schema.js +40 -0
- package/lib/cjs/activity/index.d.ts +2 -0
- package/lib/cjs/activity/index.d.ts.map +1 -0
- package/lib/cjs/activity/index.js +17 -0
- package/lib/cjs/activity/schema/base.d.ts +54 -0
- package/lib/cjs/activity/schema/base.d.ts.map +1 -0
- package/lib/cjs/activity/schema/base.js +34 -0
- package/lib/cjs/activity/schema/schema.d.ts +156 -0
- package/lib/cjs/activity/schema/schema.d.ts.map +1 -0
- package/lib/cjs/activity/schema/schema.js +54 -0
- package/lib/cjs/activity/schema/types/authentication.d.ts +29 -0
- package/lib/cjs/activity/schema/types/authentication.d.ts.map +1 -0
- package/lib/cjs/activity/schema/types/authentication.js +16 -0
- package/lib/cjs/activity/schema/types/authorization.d.ts +29 -0
- package/lib/cjs/activity/schema/types/authorization.d.ts.map +1 -0
- package/lib/cjs/activity/schema/types/authorization.js +17 -0
- package/lib/cjs/activity/schema/types/note.d.ts +51 -0
- package/lib/cjs/activity/schema/types/note.d.ts.map +1 -0
- package/lib/cjs/activity/schema/types/note.js +17 -0
- package/lib/cjs/activity/schema/types/operation.d.ts +31 -0
- package/lib/cjs/activity/schema/types/operation.d.ts.map +1 -0
- package/lib/cjs/activity/schema/types/operation.js +18 -0
- package/lib/cjs/activity/schema/types/unknown.d.ts +22 -0
- package/lib/cjs/activity/schema/types/unknown.d.ts.map +1 -0
- package/lib/cjs/activity/schema/types/unknown.js +9 -0
- package/lib/cjs/activity/schema/utils.d.ts +7 -0
- package/lib/cjs/activity/schema/utils.d.ts.map +1 -0
- package/lib/cjs/activity/schema/utils.js +16 -0
- package/lib/cjs/app/index.d.ts +2 -0
- package/lib/cjs/app/index.d.ts.map +1 -0
- package/lib/cjs/app/index.js +17 -0
- package/lib/cjs/app/schema/app.d.ts +58 -0
- package/lib/cjs/app/schema/app.d.ts.map +1 -0
- package/lib/cjs/app/schema/app.js +43 -0
- package/lib/cjs/app/schema/authorization.d.ts +37 -0
- package/lib/cjs/app/schema/authorization.d.ts.map +1 -0
- package/lib/cjs/app/schema/authorization.js +44 -0
- package/lib/cjs/app/schema/oauth.d.ts +30 -0
- package/lib/cjs/app/schema/oauth.d.ts.map +1 -0
- package/lib/cjs/app/schema/oauth.js +21 -0
- package/lib/cjs/app/schema/oidc.d.ts +28 -0
- package/lib/cjs/app/schema/oidc.d.ts.map +1 -0
- package/lib/cjs/app/schema/oidc.js +13 -0
- package/lib/cjs/app/schema/registration.d.ts +22 -0
- package/lib/cjs/app/schema/registration.d.ts.map +1 -0
- package/lib/cjs/app/schema/registration.js +16 -0
- package/lib/cjs/app/schema/saml.d.ts +28 -0
- package/lib/cjs/app/schema/saml.d.ts.map +1 -0
- package/lib/cjs/app/schema/saml.js +13 -0
- package/lib/cjs/app/schema/schema.d.ts +8 -0
- package/lib/cjs/app/schema/schema.d.ts.map +1 -0
- package/lib/cjs/app/schema/schema.js +23 -0
- package/lib/cjs/app/schema/utils.d.ts +11 -0
- package/lib/cjs/app/schema/utils.d.ts.map +1 -0
- package/lib/cjs/app/schema/utils.js +23 -0
- package/lib/cjs/association/index.d.ts +2 -0
- package/lib/cjs/association/index.d.ts.map +1 -0
- package/lib/cjs/association/index.js +17 -0
- package/lib/cjs/association/schema/association.d.ts +79 -0
- package/lib/cjs/association/schema/association.d.ts.map +1 -0
- package/lib/cjs/association/schema/association.js +26 -0
- package/lib/cjs/association/schema/schema.d.ts +2 -0
- package/lib/cjs/association/schema/schema.d.ts.map +1 -0
- package/lib/cjs/association/schema/schema.js +17 -0
- package/lib/cjs/authentication/index.d.ts +2 -0
- package/lib/cjs/authentication/index.d.ts.map +1 -0
- package/lib/cjs/authentication/index.js +17 -0
- package/lib/cjs/authentication/schema/factors.d.ts +48 -0
- package/lib/cjs/authentication/schema/factors.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/factors.js +28 -0
- package/lib/cjs/authentication/schema/factors.test.d.ts +2 -0
- package/lib/cjs/authentication/schema/factors.test.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/factors.test.js +123 -0
- package/lib/cjs/authentication/schema/provider.d.ts +27 -0
- package/lib/cjs/authentication/schema/provider.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/provider.js +24 -0
- package/lib/cjs/authentication/schema/schema.d.ts +6 -0
- package/lib/cjs/authentication/schema/schema.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/schema.js +21 -0
- package/lib/cjs/authentication/schema/session.d.ts +59 -0
- package/lib/cjs/authentication/schema/session.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/session.js +46 -0
- package/lib/cjs/authentication/schema/settings.d.ts +46 -0
- package/lib/cjs/authentication/schema/settings.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/settings.js +16 -0
- package/lib/cjs/authentication/schema/strategy/base.d.ts +43 -0
- package/lib/cjs/authentication/schema/strategy/base.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/strategy/base.js +31 -0
- package/lib/cjs/authentication/schema/strategy/schema.d.ts +169 -0
- package/lib/cjs/authentication/schema/strategy/schema.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/strategy/schema.js +46 -0
- package/lib/cjs/authentication/schema/strategy/types/email.d.ts +44 -0
- package/lib/cjs/authentication/schema/strategy/types/email.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/strategy/types/email.js +20 -0
- package/lib/cjs/authentication/schema/strategy/types/password.d.ts +99 -0
- package/lib/cjs/authentication/schema/strategy/types/password.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/strategy/types/password.js +35 -0
- package/lib/cjs/authentication/schema/strategy/types/totp.d.ts +91 -0
- package/lib/cjs/authentication/schema/strategy/types/totp.d.ts.map +1 -0
- package/lib/cjs/authentication/schema/strategy/types/totp.js +48 -0
- package/lib/cjs/authorization/index.d.ts +2 -0
- package/lib/cjs/authorization/index.d.ts.map +1 -0
- package/lib/cjs/authorization/index.js +17 -0
- package/lib/cjs/authorization/schema/permission.d.ts +69 -0
- package/lib/cjs/authorization/schema/permission.d.ts.map +1 -0
- package/lib/cjs/authorization/schema/permission.js +50 -0
- package/lib/cjs/authorization/schema/role.d.ts +74 -0
- package/lib/cjs/authorization/schema/role.d.ts.map +1 -0
- package/lib/cjs/authorization/schema/role.js +52 -0
- package/lib/cjs/authorization/schema/schema.d.ts +4 -0
- package/lib/cjs/authorization/schema/schema.d.ts.map +1 -0
- package/lib/cjs/authorization/schema/schema.js +19 -0
- package/lib/cjs/authorization/schema/utils.d.ts +11 -0
- package/lib/cjs/authorization/schema/utils.d.ts.map +1 -0
- package/lib/cjs/authorization/schema/utils.js +23 -0
- package/lib/cjs/common/index.d.ts +2 -0
- package/lib/cjs/common/index.d.ts.map +1 -0
- package/lib/cjs/common/index.js +17 -0
- package/lib/cjs/common/schema/aggregate.d.ts +6 -0
- package/lib/cjs/common/schema/aggregate.d.ts.map +1 -0
- package/lib/cjs/common/schema/aggregate.js +8 -0
- package/lib/cjs/common/schema/dates.d.ts +39 -0
- package/lib/cjs/common/schema/dates.d.ts.map +1 -0
- package/lib/cjs/common/schema/dates.js +34 -0
- package/lib/cjs/common/schema/dates.test.d.ts +2 -0
- package/lib/cjs/common/schema/dates.test.d.ts.map +1 -0
- package/lib/cjs/common/schema/dates.test.js +33 -0
- package/lib/cjs/common/schema/jwt.d.ts +21 -0
- package/lib/cjs/common/schema/jwt.d.ts.map +1 -0
- package/lib/cjs/common/schema/jwt.js +24 -0
- package/lib/cjs/common/schema/metadata.d.ts +42 -0
- package/lib/cjs/common/schema/metadata.d.ts.map +1 -0
- package/lib/cjs/common/schema/metadata.js +88 -0
- package/lib/cjs/common/schema/metadata.test.d.ts +2 -0
- package/lib/cjs/common/schema/metadata.test.d.ts.map +1 -0
- package/lib/cjs/common/schema/metadata.test.js +62 -0
- package/lib/cjs/common/schema/schema.d.ts +5 -0
- package/lib/cjs/common/schema/schema.d.ts.map +1 -0
- package/lib/cjs/common/schema/schema.js +20 -0
- package/lib/cjs/customer/index.d.ts +2 -0
- package/lib/cjs/customer/index.d.ts.map +1 -0
- package/lib/cjs/customer/index.js +17 -0
- package/lib/cjs/customer/schema/organization.d.ts +54 -0
- package/lib/cjs/customer/schema/organization.d.ts.map +1 -0
- package/lib/cjs/customer/schema/organization.js +40 -0
- package/lib/cjs/customer/schema/schema.d.ts +4 -0
- package/lib/cjs/customer/schema/schema.d.ts.map +1 -0
- package/lib/cjs/customer/schema/schema.js +19 -0
- package/lib/cjs/customer/schema/user.d.ts +122 -0
- package/lib/cjs/customer/schema/user.d.ts.map +1 -0
- package/lib/cjs/customer/schema/user.js +83 -0
- package/lib/cjs/customer/schema/user.test.d.ts +2 -0
- package/lib/cjs/customer/schema/user.test.d.ts.map +1 -0
- package/lib/cjs/customer/schema/user.test.js +57 -0
- package/lib/cjs/customer/schema/utils.d.ts +11 -0
- package/lib/cjs/customer/schema/utils.d.ts.map +1 -0
- package/lib/cjs/customer/schema/utils.js +23 -0
- package/lib/cjs/identity/index.d.ts +2 -0
- package/lib/cjs/identity/index.d.ts.map +1 -0
- package/lib/cjs/identity/index.js +17 -0
- package/lib/cjs/identity/schema/schema.d.ts +7 -0
- package/lib/cjs/identity/schema/schema.d.ts.map +1 -0
- package/lib/cjs/identity/schema/schema.js +9 -0
- package/lib/cjs/oauth/index.d.ts +2 -0
- package/lib/cjs/oauth/index.d.ts.map +1 -0
- package/lib/cjs/oauth/index.js +17 -0
- package/lib/cjs/oauth/schema/schema.d.ts +8 -0
- package/lib/cjs/oauth/schema/schema.d.ts.map +1 -0
- package/lib/cjs/oauth/schema/schema.js +9 -0
- package/lib/cjs/package.json +1 -0
- package/lib/cjs/workspace/index.d.ts +2 -0
- package/lib/cjs/workspace/index.d.ts.map +1 -0
- package/lib/cjs/workspace/index.js +17 -0
- package/lib/cjs/workspace/schema/authorization.d.ts +31 -0
- package/lib/cjs/workspace/schema/authorization.d.ts.map +1 -0
- package/lib/cjs/workspace/schema/authorization.js +22 -0
- package/lib/cjs/workspace/schema/branding.d.ts +38 -0
- package/lib/cjs/workspace/schema/branding.d.ts.map +1 -0
- package/lib/cjs/workspace/schema/branding.js +25 -0
- package/lib/cjs/workspace/schema/membership.d.ts +25 -0
- package/lib/cjs/workspace/schema/membership.d.ts.map +1 -0
- package/lib/cjs/workspace/schema/membership.js +19 -0
- package/lib/cjs/workspace/schema/registration.d.ts +28 -0
- package/lib/cjs/workspace/schema/registration.d.ts.map +1 -0
- package/lib/cjs/workspace/schema/registration.js +22 -0
- package/lib/cjs/workspace/schema/schema.d.ts +10 -0
- package/lib/cjs/workspace/schema/schema.d.ts.map +1 -0
- package/lib/cjs/workspace/schema/schema.js +25 -0
- package/lib/cjs/workspace/schema/settings.d.ts +23 -0
- package/lib/cjs/workspace/schema/settings.d.ts.map +1 -0
- package/lib/cjs/workspace/schema/settings.js +15 -0
- package/lib/cjs/workspace/schema/tenant.d.ts +57 -0
- package/lib/cjs/workspace/schema/tenant.d.ts.map +1 -0
- package/lib/cjs/workspace/schema/tenant.js +26 -0
- package/lib/cjs/workspace/schema/user-notification.d.ts +62 -0
- package/lib/cjs/workspace/schema/user-notification.d.ts.map +1 -0
- package/lib/cjs/workspace/schema/user-notification.js +44 -0
- package/lib/cjs/workspace/schema/user-preferences.d.ts +26 -0
- package/lib/cjs/workspace/schema/user-preferences.d.ts.map +1 -0
- package/lib/cjs/workspace/schema/user-preferences.js +19 -0
- package/lib/cjs/workspace/schema/utils.d.ts +15 -0
- package/lib/cjs/workspace/schema/utils.d.ts.map +1 -0
- package/lib/cjs/workspace/schema/utils.js +64 -0
- package/lib/esm/action/index.d.ts +2 -0
- package/lib/esm/action/index.d.ts.map +1 -0
- package/lib/esm/action/index.js +1 -0
- package/lib/esm/action/schema/base.d.ts +21 -0
- package/lib/esm/action/schema/base.d.ts.map +1 -0
- package/lib/esm/action/schema/base.js +16 -0
- package/lib/esm/action/schema/operations/set-password.d.ts +31 -0
- package/lib/esm/action/schema/operations/set-password.d.ts.map +1 -0
- package/lib/esm/action/schema/operations/set-password.js +15 -0
- package/lib/esm/action/schema/operations/sign-up-verification.d.ts +22 -0
- package/lib/esm/action/schema/operations/sign-up-verification.d.ts.map +1 -0
- package/lib/esm/action/schema/operations/sign-up-verification.js +12 -0
- package/lib/esm/action/schema/operations/sign-up.d.ts +44 -0
- package/lib/esm/action/schema/operations/sign-up.d.ts.map +1 -0
- package/lib/esm/action/schema/operations/sign-up.js +18 -0
- package/lib/esm/action/schema/operations/user-attribute-verification.d.ts +20 -0
- package/lib/esm/action/schema/operations/user-attribute-verification.d.ts.map +1 -0
- package/lib/esm/action/schema/operations/user-attribute-verification.js +10 -0
- package/lib/esm/action/schema/schema.d.ts +92 -0
- package/lib/esm/action/schema/schema.d.ts.map +1 -0
- package/lib/esm/action/schema/schema.js +21 -0
- package/lib/esm/activity/index.d.ts +2 -0
- package/lib/esm/activity/index.d.ts.map +1 -0
- package/lib/esm/activity/index.js +1 -0
- package/lib/esm/activity/schema/base.d.ts +54 -0
- package/lib/esm/activity/schema/base.d.ts.map +1 -0
- package/lib/esm/activity/schema/base.js +31 -0
- package/lib/esm/activity/schema/schema.d.ts +156 -0
- package/lib/esm/activity/schema/schema.d.ts.map +1 -0
- package/lib/esm/activity/schema/schema.js +33 -0
- package/lib/esm/activity/schema/types/authentication.d.ts +29 -0
- package/lib/esm/activity/schema/types/authentication.d.ts.map +1 -0
- package/lib/esm/activity/schema/types/authentication.js +13 -0
- package/lib/esm/activity/schema/types/authorization.d.ts +29 -0
- package/lib/esm/activity/schema/types/authorization.d.ts.map +1 -0
- package/lib/esm/activity/schema/types/authorization.js +14 -0
- package/lib/esm/activity/schema/types/note.d.ts +51 -0
- package/lib/esm/activity/schema/types/note.d.ts.map +1 -0
- package/lib/esm/activity/schema/types/note.js +14 -0
- package/lib/esm/activity/schema/types/operation.d.ts +31 -0
- package/lib/esm/activity/schema/types/operation.d.ts.map +1 -0
- package/lib/esm/activity/schema/types/operation.js +15 -0
- package/lib/esm/activity/schema/types/unknown.d.ts +22 -0
- package/lib/esm/activity/schema/types/unknown.d.ts.map +1 -0
- package/lib/esm/activity/schema/types/unknown.js +6 -0
- package/lib/esm/activity/schema/utils.d.ts +7 -0
- package/lib/esm/activity/schema/utils.d.ts.map +1 -0
- package/lib/esm/activity/schema/utils.js +9 -0
- package/lib/esm/app/index.d.ts +2 -0
- package/lib/esm/app/index.d.ts.map +1 -0
- package/lib/esm/app/index.js +1 -0
- package/lib/esm/app/schema/app.d.ts +58 -0
- package/lib/esm/app/schema/app.d.ts.map +1 -0
- package/lib/esm/app/schema/app.js +40 -0
- package/lib/esm/app/schema/authorization.d.ts +37 -0
- package/lib/esm/app/schema/authorization.d.ts.map +1 -0
- package/lib/esm/app/schema/authorization.js +41 -0
- package/lib/esm/app/schema/oauth.d.ts +30 -0
- package/lib/esm/app/schema/oauth.d.ts.map +1 -0
- package/lib/esm/app/schema/oauth.js +18 -0
- package/lib/esm/app/schema/oidc.d.ts +28 -0
- package/lib/esm/app/schema/oidc.d.ts.map +1 -0
- package/lib/esm/app/schema/oidc.js +10 -0
- package/lib/esm/app/schema/registration.d.ts +22 -0
- package/lib/esm/app/schema/registration.d.ts.map +1 -0
- package/lib/esm/app/schema/registration.js +13 -0
- package/lib/esm/app/schema/saml.d.ts +28 -0
- package/lib/esm/app/schema/saml.d.ts.map +1 -0
- package/lib/esm/app/schema/saml.js +10 -0
- package/lib/esm/app/schema/schema.d.ts +8 -0
- package/lib/esm/app/schema/schema.d.ts.map +1 -0
- package/lib/esm/app/schema/schema.js +7 -0
- package/lib/esm/app/schema/utils.d.ts +11 -0
- package/lib/esm/app/schema/utils.d.ts.map +1 -0
- package/lib/esm/app/schema/utils.js +15 -0
- package/lib/esm/association/index.d.ts +2 -0
- package/lib/esm/association/index.d.ts.map +1 -0
- package/lib/esm/association/index.js +1 -0
- package/lib/esm/association/schema/association.d.ts +79 -0
- package/lib/esm/association/schema/association.d.ts.map +1 -0
- package/lib/esm/association/schema/association.js +23 -0
- package/lib/esm/association/schema/schema.d.ts +2 -0
- package/lib/esm/association/schema/schema.d.ts.map +1 -0
- package/lib/esm/association/schema/schema.js +1 -0
- package/lib/esm/authentication/index.d.ts +2 -0
- package/lib/esm/authentication/index.d.ts.map +1 -0
- package/lib/esm/authentication/index.js +1 -0
- package/lib/esm/authentication/schema/factors.d.ts +48 -0
- package/lib/esm/authentication/schema/factors.d.ts.map +1 -0
- package/lib/esm/authentication/schema/factors.js +25 -0
- package/lib/esm/authentication/schema/factors.test.d.ts +2 -0
- package/lib/esm/authentication/schema/factors.test.d.ts.map +1 -0
- package/lib/esm/authentication/schema/factors.test.js +121 -0
- package/lib/esm/authentication/schema/provider.d.ts +27 -0
- package/lib/esm/authentication/schema/provider.d.ts.map +1 -0
- package/lib/esm/authentication/schema/provider.js +21 -0
- package/lib/esm/authentication/schema/schema.d.ts +6 -0
- package/lib/esm/authentication/schema/schema.d.ts.map +1 -0
- package/lib/esm/authentication/schema/schema.js +5 -0
- package/lib/esm/authentication/schema/session.d.ts +59 -0
- package/lib/esm/authentication/schema/session.d.ts.map +1 -0
- package/lib/esm/authentication/schema/session.js +43 -0
- package/lib/esm/authentication/schema/settings.d.ts +46 -0
- package/lib/esm/authentication/schema/settings.d.ts.map +1 -0
- package/lib/esm/authentication/schema/settings.js +13 -0
- package/lib/esm/authentication/schema/strategy/base.d.ts +43 -0
- package/lib/esm/authentication/schema/strategy/base.d.ts.map +1 -0
- package/lib/esm/authentication/schema/strategy/base.js +28 -0
- package/lib/esm/authentication/schema/strategy/schema.d.ts +169 -0
- package/lib/esm/authentication/schema/strategy/schema.d.ts.map +1 -0
- package/lib/esm/authentication/schema/strategy/schema.js +22 -0
- package/lib/esm/authentication/schema/strategy/types/email.d.ts +44 -0
- package/lib/esm/authentication/schema/strategy/types/email.d.ts.map +1 -0
- package/lib/esm/authentication/schema/strategy/types/email.js +17 -0
- package/lib/esm/authentication/schema/strategy/types/password.d.ts +99 -0
- package/lib/esm/authentication/schema/strategy/types/password.d.ts.map +1 -0
- package/lib/esm/authentication/schema/strategy/types/password.js +32 -0
- package/lib/esm/authentication/schema/strategy/types/totp.d.ts +91 -0
- package/lib/esm/authentication/schema/strategy/types/totp.d.ts.map +1 -0
- package/lib/esm/authentication/schema/strategy/types/totp.js +45 -0
- package/lib/esm/authorization/index.d.ts +2 -0
- package/lib/esm/authorization/index.d.ts.map +1 -0
- package/lib/esm/authorization/index.js +1 -0
- package/lib/esm/authorization/schema/permission.d.ts +69 -0
- package/lib/esm/authorization/schema/permission.d.ts.map +1 -0
- package/lib/esm/authorization/schema/permission.js +47 -0
- package/lib/esm/authorization/schema/role.d.ts +74 -0
- package/lib/esm/authorization/schema/role.d.ts.map +1 -0
- package/lib/esm/authorization/schema/role.js +49 -0
- package/lib/esm/authorization/schema/schema.d.ts +4 -0
- package/lib/esm/authorization/schema/schema.d.ts.map +1 -0
- package/lib/esm/authorization/schema/schema.js +3 -0
- package/lib/esm/authorization/schema/utils.d.ts +11 -0
- package/lib/esm/authorization/schema/utils.d.ts.map +1 -0
- package/lib/esm/authorization/schema/utils.js +15 -0
- package/lib/esm/common/index.d.ts +2 -0
- package/lib/esm/common/index.d.ts.map +1 -0
- package/lib/esm/common/index.js +1 -0
- package/lib/esm/common/schema/aggregate.d.ts +6 -0
- package/lib/esm/common/schema/aggregate.d.ts.map +1 -0
- package/lib/esm/common/schema/aggregate.js +5 -0
- package/lib/esm/common/schema/dates.d.ts +39 -0
- package/lib/esm/common/schema/dates.d.ts.map +1 -0
- package/lib/esm/common/schema/dates.js +31 -0
- package/lib/esm/common/schema/dates.test.d.ts +2 -0
- package/lib/esm/common/schema/dates.test.d.ts.map +1 -0
- package/lib/esm/common/schema/dates.test.js +31 -0
- package/lib/esm/common/schema/jwt.d.ts +21 -0
- package/lib/esm/common/schema/jwt.d.ts.map +1 -0
- package/lib/esm/common/schema/jwt.js +21 -0
- package/lib/esm/common/schema/metadata.d.ts +42 -0
- package/lib/esm/common/schema/metadata.d.ts.map +1 -0
- package/lib/esm/common/schema/metadata.js +83 -0
- package/lib/esm/common/schema/metadata.test.d.ts +2 -0
- package/lib/esm/common/schema/metadata.test.d.ts.map +1 -0
- package/lib/esm/common/schema/metadata.test.js +60 -0
- package/lib/esm/common/schema/schema.d.ts +5 -0
- package/lib/esm/common/schema/schema.d.ts.map +1 -0
- package/lib/esm/common/schema/schema.js +4 -0
- package/lib/esm/customer/index.d.ts +2 -0
- package/lib/esm/customer/index.d.ts.map +1 -0
- package/lib/esm/customer/index.js +1 -0
- package/lib/esm/customer/schema/organization.d.ts +54 -0
- package/lib/esm/customer/schema/organization.d.ts.map +1 -0
- package/lib/esm/customer/schema/organization.js +37 -0
- package/lib/esm/customer/schema/schema.d.ts +4 -0
- package/lib/esm/customer/schema/schema.d.ts.map +1 -0
- package/lib/esm/customer/schema/schema.js +3 -0
- package/lib/esm/customer/schema/user.d.ts +122 -0
- package/lib/esm/customer/schema/user.d.ts.map +1 -0
- package/lib/esm/customer/schema/user.js +80 -0
- package/lib/esm/customer/schema/user.test.d.ts +2 -0
- package/lib/esm/customer/schema/user.test.d.ts.map +1 -0
- package/lib/esm/customer/schema/user.test.js +55 -0
- package/lib/esm/customer/schema/utils.d.ts +11 -0
- package/lib/esm/customer/schema/utils.d.ts.map +1 -0
- package/lib/esm/customer/schema/utils.js +15 -0
- package/lib/esm/identity/index.d.ts +2 -0
- package/lib/esm/identity/index.d.ts.map +1 -0
- package/lib/esm/identity/index.js +1 -0
- package/lib/esm/identity/schema/schema.d.ts +7 -0
- package/lib/esm/identity/schema/schema.d.ts.map +1 -0
- package/lib/esm/identity/schema/schema.js +6 -0
- package/lib/esm/oauth/index.d.ts +2 -0
- package/lib/esm/oauth/index.d.ts.map +1 -0
- package/lib/esm/oauth/index.js +1 -0
- package/lib/esm/oauth/schema/schema.d.ts +8 -0
- package/lib/esm/oauth/schema/schema.d.ts.map +1 -0
- package/lib/esm/oauth/schema/schema.js +6 -0
- package/lib/esm/package.json +1 -0
- package/lib/esm/workspace/index.d.ts +2 -0
- package/lib/esm/workspace/index.d.ts.map +1 -0
- package/lib/esm/workspace/index.js +1 -0
- package/lib/esm/workspace/schema/authorization.d.ts +31 -0
- package/lib/esm/workspace/schema/authorization.d.ts.map +1 -0
- package/lib/esm/workspace/schema/authorization.js +19 -0
- package/lib/esm/workspace/schema/branding.d.ts +38 -0
- package/lib/esm/workspace/schema/branding.d.ts.map +1 -0
- package/lib/esm/workspace/schema/branding.js +22 -0
- package/lib/esm/workspace/schema/membership.d.ts +25 -0
- package/lib/esm/workspace/schema/membership.d.ts.map +1 -0
- package/lib/esm/workspace/schema/membership.js +16 -0
- package/lib/esm/workspace/schema/registration.d.ts +28 -0
- package/lib/esm/workspace/schema/registration.d.ts.map +1 -0
- package/lib/esm/workspace/schema/registration.js +19 -0
- package/lib/esm/workspace/schema/schema.d.ts +10 -0
- package/lib/esm/workspace/schema/schema.d.ts.map +1 -0
- package/lib/esm/workspace/schema/schema.js +9 -0
- package/lib/esm/workspace/schema/settings.d.ts +23 -0
- package/lib/esm/workspace/schema/settings.d.ts.map +1 -0
- package/lib/esm/workspace/schema/settings.js +12 -0
- package/lib/esm/workspace/schema/tenant.d.ts +57 -0
- package/lib/esm/workspace/schema/tenant.d.ts.map +1 -0
- package/lib/esm/workspace/schema/tenant.js +23 -0
- package/lib/esm/workspace/schema/user-notification.d.ts +62 -0
- package/lib/esm/workspace/schema/user-notification.d.ts.map +1 -0
- package/lib/esm/workspace/schema/user-notification.js +41 -0
- package/lib/esm/workspace/schema/user-preferences.d.ts +26 -0
- package/lib/esm/workspace/schema/user-preferences.d.ts.map +1 -0
- package/lib/esm/workspace/schema/user-preferences.js +16 -0
- package/lib/esm/workspace/schema/utils.d.ts +15 -0
- package/lib/esm/workspace/schema/utils.d.ts.map +1 -0
- package/lib/esm/workspace/schema/utils.js +22 -0
- package/package.json +155 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const NoteActivityPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
2
|
+
id: string;
|
|
3
|
+
performedBy: {
|
|
4
|
+
type: "system" | "guest" | "identity" | "automation" | "integration";
|
|
5
|
+
identifier: string;
|
|
6
|
+
};
|
|
7
|
+
source: string;
|
|
8
|
+
isMutateable: boolean;
|
|
9
|
+
createdAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
10
|
+
updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
11
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
12
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
13
|
+
metadata?: ((In: {
|
|
14
|
+
[x: string]: string | number | boolean;
|
|
15
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
16
|
+
[x: string]: string | number | boolean;
|
|
17
|
+
} | undefined>) | undefined;
|
|
18
|
+
type: "note";
|
|
19
|
+
message: string;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export type NoteActivityPayload = typeof NoteActivityPayloadSchema.inferOut;
|
|
22
|
+
export declare const InsertNoteActivityPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
23
|
+
id: import("arktype/internal/attributes.ts").Default<string, string>;
|
|
24
|
+
performedBy?: {
|
|
25
|
+
type: "system" | "guest" | "identity" | "automation" | "integration";
|
|
26
|
+
identifier: string;
|
|
27
|
+
} | undefined;
|
|
28
|
+
metadata?: ((In: {
|
|
29
|
+
[x: string]: string | number | boolean;
|
|
30
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
31
|
+
[x: string]: string | number | boolean;
|
|
32
|
+
} | null>) | undefined;
|
|
33
|
+
type: "note";
|
|
34
|
+
message: string;
|
|
35
|
+
}, {}>;
|
|
36
|
+
export type InsertNoteActivityPayload = typeof InsertNoteActivityPayloadSchema.inferOut;
|
|
37
|
+
export declare const UpdateNoteActivityPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
38
|
+
performedBy?: {
|
|
39
|
+
type: "system" | "guest" | "identity" | "automation" | "integration";
|
|
40
|
+
identifier: string;
|
|
41
|
+
} | undefined;
|
|
42
|
+
metadata?: ((In: {
|
|
43
|
+
[x: string]: string | number | boolean;
|
|
44
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
45
|
+
[x: string]: string | number | boolean;
|
|
46
|
+
} | null>) | undefined;
|
|
47
|
+
type: "note";
|
|
48
|
+
message?: string | undefined;
|
|
49
|
+
}, {}>;
|
|
50
|
+
export type UpdateNoteActivityPayload = typeof UpdateNoteActivityPayloadSchema.inferOut;
|
|
51
|
+
//# sourceMappingURL=note.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"note.d.ts","sourceRoot":"","sources":["../../../../../src/activity/schema/types/note.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;MAGpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,yBAAyB,CAAC,QAAQ,CAAC;AAE5E,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;MAG1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GACnC,OAAO,+BAA+B,CAAC,QAAQ,CAAC;AAElD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;MAG1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GACnC,OAAO,+BAA+B,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { BaseInsertPayloadSchema, BasePayloadSchema, BaseUpdatePayloadSchema, } from '../base.js';
|
|
3
|
+
export const NoteActivityPayloadSchema = BasePayloadSchema.and({
|
|
4
|
+
type: type("'note'"),
|
|
5
|
+
message: type('string'),
|
|
6
|
+
});
|
|
7
|
+
export const InsertNoteActivityPayloadSchema = BaseInsertPayloadSchema.and({
|
|
8
|
+
type: type("'note'"),
|
|
9
|
+
message: type('string'),
|
|
10
|
+
});
|
|
11
|
+
export const UpdateNoteActivityPayloadSchema = BaseUpdatePayloadSchema.and({
|
|
12
|
+
type: type("'note'"),
|
|
13
|
+
message: type('string').optional(),
|
|
14
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const OperationType: {
|
|
2
|
+
readonly CREATE: "create";
|
|
3
|
+
readonly UPDATE: "update";
|
|
4
|
+
readonly DELETE: "delete";
|
|
5
|
+
readonly AUTOMATION: "automation";
|
|
6
|
+
};
|
|
7
|
+
export type AnyOperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
8
|
+
export declare const OperationActivityPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
9
|
+
id: string;
|
|
10
|
+
performedBy: {
|
|
11
|
+
type: "system" | "guest" | "identity" | "automation" | "integration";
|
|
12
|
+
identifier: string;
|
|
13
|
+
};
|
|
14
|
+
source: string;
|
|
15
|
+
isMutateable: boolean;
|
|
16
|
+
createdAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
17
|
+
updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
18
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
19
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
20
|
+
metadata?: ((In: {
|
|
21
|
+
[x: string]: string | number | boolean;
|
|
22
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
23
|
+
[x: string]: string | number | boolean;
|
|
24
|
+
} | undefined>) | undefined;
|
|
25
|
+
type: "operation";
|
|
26
|
+
operation: "delete" | "automation" | "create" | "update";
|
|
27
|
+
message: string;
|
|
28
|
+
target: string;
|
|
29
|
+
}, {}>;
|
|
30
|
+
export type OperationActivityPayload = typeof OperationActivityPayloadSchema.inferOut;
|
|
31
|
+
//# sourceMappingURL=operation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../../../../src/activity/schema/types/operation.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AASrD,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;MAKzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAClC,OAAO,8BAA8B,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { BasePayloadSchema } from '../base.js';
|
|
3
|
+
export const OperationType = {
|
|
4
|
+
CREATE: 'create',
|
|
5
|
+
UPDATE: 'update',
|
|
6
|
+
DELETE: 'delete',
|
|
7
|
+
AUTOMATION: 'automation',
|
|
8
|
+
};
|
|
9
|
+
const OperationSchema = type.enumerated(OperationType.CREATE, OperationType.UPDATE, OperationType.DELETE, OperationType.AUTOMATION);
|
|
10
|
+
export const OperationActivityPayloadSchema = BasePayloadSchema.and({
|
|
11
|
+
type: type("'operation'"),
|
|
12
|
+
operation: OperationSchema,
|
|
13
|
+
message: type('string'),
|
|
14
|
+
target: type('string'),
|
|
15
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const UnknownActivityPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
2
|
+
id: string;
|
|
3
|
+
performedBy: {
|
|
4
|
+
type: "system" | "guest" | "identity" | "automation" | "integration";
|
|
5
|
+
identifier: string;
|
|
6
|
+
};
|
|
7
|
+
source: string;
|
|
8
|
+
isMutateable: boolean;
|
|
9
|
+
createdAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
10
|
+
updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
11
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
12
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
13
|
+
metadata?: ((In: {
|
|
14
|
+
[x: string]: string | number | boolean;
|
|
15
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
16
|
+
[x: string]: string | number | boolean;
|
|
17
|
+
} | undefined>) | undefined;
|
|
18
|
+
type: "unknown";
|
|
19
|
+
message: string;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export type UnknownActivityPayload = typeof UnknownActivityPayloadSchema.inferOut;
|
|
22
|
+
//# sourceMappingURL=unknown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unknown.d.ts","sourceRoot":"","sources":["../../../../../src/activity/schema/types/unknown.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;MAGvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAChC,OAAO,4BAA4B,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/activity/schema/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;CAIR,CAAC;AAEX,wBAAgB,kBAAkB,WAEjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './schema/schema.js';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const AppStatus: {
|
|
2
|
+
readonly ENABLED: "enabled";
|
|
3
|
+
readonly DISABLED: "disabled";
|
|
4
|
+
};
|
|
5
|
+
export type AnyAppStatus = (typeof AppStatus)[keyof typeof AppStatus];
|
|
6
|
+
export declare const AppIdSchema: import("arktype/internal/methods/string.ts").StringType<string, {}>;
|
|
7
|
+
export type AppId = typeof AppIdSchema.inferOut;
|
|
8
|
+
export declare const AppIdPropertySchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
9
|
+
id: string;
|
|
10
|
+
}, {}>;
|
|
11
|
+
export type AppIdProperty = typeof AppIdPropertySchema.inferOut;
|
|
12
|
+
export declare const AppPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
13
|
+
status: "enabled" | "disabled";
|
|
14
|
+
label: string;
|
|
15
|
+
createdAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
16
|
+
updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
17
|
+
description?: string | undefined;
|
|
18
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
19
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
20
|
+
id: string;
|
|
21
|
+
metadata?: ((In: {
|
|
22
|
+
[x: string]: string | number | boolean;
|
|
23
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
24
|
+
[x: string]: string | number | boolean;
|
|
25
|
+
} | undefined>) | undefined;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export type AppPayload = typeof AppPayloadSchema.inferOut;
|
|
28
|
+
export declare const InsertAppPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
29
|
+
id: import("arktype/internal/attributes.ts").Default<string, string>;
|
|
30
|
+
status: import("arktype/internal/attributes.ts").Default<"enabled" | "disabled", "enabled">;
|
|
31
|
+
label: string;
|
|
32
|
+
description?: string | undefined;
|
|
33
|
+
metadata?: ((In: {
|
|
34
|
+
[x: string]: string | number | boolean;
|
|
35
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
36
|
+
[x: string]: string | number | boolean;
|
|
37
|
+
} | undefined>) | undefined;
|
|
38
|
+
}, {}>;
|
|
39
|
+
export type InsertAppPayload = typeof InsertAppPayloadSchema.inferOut;
|
|
40
|
+
export declare const UpdateAppPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
41
|
+
status?: "enabled" | "disabled" | undefined;
|
|
42
|
+
label?: string | null | undefined;
|
|
43
|
+
description?: string | null | undefined;
|
|
44
|
+
metadata?: ((In: {
|
|
45
|
+
[x: string]: string | number | boolean;
|
|
46
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
47
|
+
[x: string]: string | number | boolean;
|
|
48
|
+
} | undefined>) | undefined;
|
|
49
|
+
}, {}>;
|
|
50
|
+
export type UpdateAppPayload = typeof UpdateAppPayloadSchema.inferOut;
|
|
51
|
+
export declare const AppAssociationReferenceSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
52
|
+
id: string;
|
|
53
|
+
status: "enabled" | "disabled";
|
|
54
|
+
label: string;
|
|
55
|
+
model: "App";
|
|
56
|
+
}, {}>;
|
|
57
|
+
export type AppAssociationReference = typeof AppAssociationReferenceSchema.inferOut;
|
|
58
|
+
//# sourceMappingURL=app.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../../src/app/schema/app.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,SAAS;;;CAGZ,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEtE,eAAO,MAAM,WAAW,qEAAc,CAAC;AACvC,MAAM,MAAM,KAAK,GAAG,OAAO,WAAW,CAAC,QAAQ,CAAC;AAEhD,eAAO,MAAM,mBAAmB;;MAE9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,mBAAmB,CAAC,QAAQ,CAAC;AAIhE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;MAUQ,CAAC;AACtC,MAAM,MAAM,UAAU,GAAG,OAAO,gBAAgB,CAAC,QAAQ,CAAC;AAE1D,eAAO,MAAM,sBAAsB;;;;;;;;;;MAKE,CAAC;AACtC,MAAM,MAAM,gBAAgB,GAAG,OAAO,sBAAsB,CAAC,QAAQ,CAAC;AAEtE,eAAO,MAAM,sBAAsB;;;;;;;;;MAIE,CAAC;AACtC,MAAM,MAAM,gBAAgB,GAAG,OAAO,sBAAsB,CAAC,QAAQ,CAAC;AAEtE,eAAO,MAAM,6BAA6B;;;;;MAMzC,CAAC;AACF,MAAM,MAAM,uBAAuB,GACjC,OAAO,6BAA6B,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { OptionalDatePayloadSchema, RequiredDatePayloadSchema, } from '../../common/index.js';
|
|
3
|
+
import { MetadataPayloadPropertySchema } from '../../common/schema/metadata.js';
|
|
4
|
+
import { generateAppId } from './utils.js';
|
|
5
|
+
export const AppStatus = {
|
|
6
|
+
ENABLED: 'enabled',
|
|
7
|
+
DISABLED: 'disabled',
|
|
8
|
+
};
|
|
9
|
+
export const AppIdSchema = type.string;
|
|
10
|
+
export const AppIdPropertySchema = type({
|
|
11
|
+
id: AppIdSchema,
|
|
12
|
+
});
|
|
13
|
+
const StatusSchema = type.enumerated(AppStatus.ENABLED, AppStatus.DISABLED);
|
|
14
|
+
export const AppPayloadSchema = type({
|
|
15
|
+
status: StatusSchema,
|
|
16
|
+
label: type('string'),
|
|
17
|
+
description: type('string | undefined').optional(),
|
|
18
|
+
createdAt: RequiredDatePayloadSchema,
|
|
19
|
+
updatedAt: RequiredDatePayloadSchema,
|
|
20
|
+
'deletedAt?': OptionalDatePayloadSchema,
|
|
21
|
+
'deactivatedAt?': OptionalDatePayloadSchema,
|
|
22
|
+
})
|
|
23
|
+
.and(AppIdPropertySchema)
|
|
24
|
+
.and(MetadataPayloadPropertySchema);
|
|
25
|
+
export const InsertAppPayloadSchema = type({
|
|
26
|
+
id: AppIdSchema.default(() => generateAppId()),
|
|
27
|
+
status: StatusSchema.default(AppStatus.ENABLED),
|
|
28
|
+
label: type('string'),
|
|
29
|
+
description: type('string').optional(),
|
|
30
|
+
}).and(MetadataPayloadPropertySchema);
|
|
31
|
+
export const UpdateAppPayloadSchema = type({
|
|
32
|
+
status: StatusSchema.optional(),
|
|
33
|
+
label: type('string').or(type.null).optional(),
|
|
34
|
+
description: type('string').or(type.null).optional(),
|
|
35
|
+
}).and(MetadataPayloadPropertySchema);
|
|
36
|
+
export const AppAssociationReferenceSchema = AppIdPropertySchema.and(type({
|
|
37
|
+
status: StatusSchema,
|
|
38
|
+
label: type('string'),
|
|
39
|
+
model: "'App'",
|
|
40
|
+
}));
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type AnyGrantType } from '../../oauth/schema/schema.js';
|
|
2
|
+
export declare const AuthorizationPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
3
|
+
refreshTokenDuration: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
4
|
+
accessTokenDuration: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
5
|
+
accessTokenSignatureAlgorithm: import("arktype/internal/attributes.ts").Default<string, string>;
|
|
6
|
+
loginUri?: string | undefined;
|
|
7
|
+
callbackUrls?: ((In: Set<string> | string[] | undefined) => import("arktype/internal/attributes.ts").Out<string[] | undefined>) | undefined;
|
|
8
|
+
availableGrants?: ((In: Set<AnyGrantType> | ("client_credentials" | "authorization_code" | "implicit" | "refresh_token")[] | undefined) => import("arktype/internal/attributes.ts").Out<("client_credentials" | "authorization_code" | "implicit" | "refresh_token")[] | undefined>) | undefined;
|
|
9
|
+
availableAudiences?: ((In: string[] | Set<string> | undefined) => import("arktype/internal/attributes.ts").Out<string[] | undefined>) | undefined;
|
|
10
|
+
defaultAudience?: string | undefined;
|
|
11
|
+
updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
12
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
13
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
14
|
+
metadata?: ((In: {
|
|
15
|
+
[x: string]: string | number | boolean;
|
|
16
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
17
|
+
[x: string]: string | number | boolean;
|
|
18
|
+
} | undefined>) | undefined;
|
|
19
|
+
}, {}>;
|
|
20
|
+
export type AuthorizationPayload = typeof AuthorizationPayloadSchema.inferOut;
|
|
21
|
+
export declare const UpsertAuthorizationPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
22
|
+
refreshTokenDuration: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
23
|
+
accessTokenDuration: import("arktype/internal/attributes.ts").Default<number, number>;
|
|
24
|
+
accessTokenSignatureAlgorithm: import("arktype/internal/attributes.ts").Default<string, string>;
|
|
25
|
+
loginUri?: string | undefined;
|
|
26
|
+
callbackUrls?: ((In: Set<string> | string[] | undefined) => import("arktype/internal/attributes.ts").Out<string[] | undefined>) | undefined;
|
|
27
|
+
availableGrants?: ("client_credentials" | "authorization_code" | "implicit" | "refresh_token")[] | undefined;
|
|
28
|
+
availableAudiences?: string[] | undefined;
|
|
29
|
+
defaultAudience?: string | undefined;
|
|
30
|
+
metadata?: ((In: {
|
|
31
|
+
[x: string]: string | number | boolean;
|
|
32
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
33
|
+
[x: string]: string | number | boolean;
|
|
34
|
+
} | null>) | undefined;
|
|
35
|
+
}, {}>;
|
|
36
|
+
export type UpsertAuthorizationPayload = typeof UpsertAuthorizationPayloadSchema.inferOut;
|
|
37
|
+
//# sourceMappingURL=authorization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorization.d.ts","sourceRoot":"","sources":["../../../../src/app/schema/authorization.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,YAAY,EAAa,MAAM,8BAA8B,CAAC;AAiC5E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;MASF,CAAC;AACtC,MAAM,MAAM,oBAAoB,GAAG,OAAO,0BAA0B,CAAC,QAAQ,CAAC;AAE9E,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;MAcF,CAAC;AAC5C,MAAM,MAAM,0BAA0B,GACpC,OAAO,gCAAgC,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { OptionalDatePayloadSchema } from '../../common/schema/dates.js';
|
|
3
|
+
import { MetadataPayloadPropertySchema, UpsertMetadataPayloadPropertySchema, } from '../../common/schema/metadata.js';
|
|
4
|
+
import { GrantType } from '../../oauth/schema/schema.js';
|
|
5
|
+
import { AuthorizationPayloadSchema as WorkspaceAuthorizationPayloadSchema } from '../../workspace/schema/authorization.js';
|
|
6
|
+
const StringSetSchema = type.instanceOf((Set));
|
|
7
|
+
const CallbackUrlsSchema = type('string.url[] | undefined')
|
|
8
|
+
.or(StringSetSchema)
|
|
9
|
+
.pipe((v) => (v instanceof Set ? Array.from(v.values()) : v));
|
|
10
|
+
const AvailableAudiencesSchema = type('string[] | undefined')
|
|
11
|
+
.or(StringSetSchema)
|
|
12
|
+
.pipe((v) => (v instanceof Set ? Array.from(v.values()) : v));
|
|
13
|
+
const GrantSetSchema = type.instanceOf((Set));
|
|
14
|
+
const GrantArraySchema = type
|
|
15
|
+
.enumerated(GrantType.AUTHORIZATION_CODE, GrantType.CLIENT_CREDENTIALS, GrantType.IMPLICIT, GrantType.REFRESH_TOKEN)
|
|
16
|
+
.array();
|
|
17
|
+
const AvailableGrantsSchema = type.undefined
|
|
18
|
+
.or(GrantArraySchema)
|
|
19
|
+
.or(GrantSetSchema)
|
|
20
|
+
.pipe((v) => (v instanceof Set ? Array.from(v.values()) : v));
|
|
21
|
+
const BaseAuthorization = WorkspaceAuthorizationPayloadSchema.pick('refreshTokenDuration', 'accessTokenDuration', 'accessTokenSignatureAlgorithm');
|
|
22
|
+
export const AuthorizationPayloadSchema = BaseAuthorization.and({
|
|
23
|
+
loginUri: type('string.url | undefined').optional(),
|
|
24
|
+
callbackUrls: CallbackUrlsSchema.optional(),
|
|
25
|
+
availableGrants: AvailableGrantsSchema.optional(),
|
|
26
|
+
availableAudiences: AvailableAudiencesSchema.optional(),
|
|
27
|
+
defaultAudience: type('string | undefined').optional(),
|
|
28
|
+
'updatedAt?': OptionalDatePayloadSchema,
|
|
29
|
+
'deletedAt?': OptionalDatePayloadSchema,
|
|
30
|
+
'deactivatedAt?': OptionalDatePayloadSchema,
|
|
31
|
+
}).and(MetadataPayloadPropertySchema);
|
|
32
|
+
export const UpsertAuthorizationPayloadSchema = BaseAuthorization.and({
|
|
33
|
+
loginUri: type('string.url | undefined').optional(),
|
|
34
|
+
callbackUrls: CallbackUrlsSchema.optional(),
|
|
35
|
+
availableGrants: type
|
|
36
|
+
.enumerated(GrantType.AUTHORIZATION_CODE, GrantType.CLIENT_CREDENTIALS, GrantType.IMPLICIT, GrantType.REFRESH_TOKEN)
|
|
37
|
+
.array()
|
|
38
|
+
.optional(),
|
|
39
|
+
availableAudiences: type('string').array().optional(),
|
|
40
|
+
defaultAudience: type('string').optional(),
|
|
41
|
+
}).and(UpsertMetadataPayloadPropertySchema);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const OAuthIdSchema: import("arktype/internal/methods/string.ts").StringType<string, {}>;
|
|
2
|
+
export type OAuthId = typeof OAuthIdSchema.inferOut;
|
|
3
|
+
export declare const OAuthIdPropertySchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
4
|
+
id: string;
|
|
5
|
+
}, {}>;
|
|
6
|
+
export type OAuthIdProperty = typeof OAuthIdPropertySchema.inferOut;
|
|
7
|
+
export declare const OAuthPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
8
|
+
id: string;
|
|
9
|
+
clientId: string;
|
|
10
|
+
clientSecret: string;
|
|
11
|
+
updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
12
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
13
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
14
|
+
metadata?: ((In: {
|
|
15
|
+
[x: string]: string | number | boolean;
|
|
16
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
17
|
+
[x: string]: string | number | boolean;
|
|
18
|
+
} | undefined>) | undefined;
|
|
19
|
+
}, {}>;
|
|
20
|
+
export type OAuthPayload = typeof OAuthPayloadSchema.inferOut;
|
|
21
|
+
export declare const InsertOAuthPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
22
|
+
id: import("arktype/internal/attributes.ts").Default<string, string>;
|
|
23
|
+
metadata?: ((In: {
|
|
24
|
+
[x: string]: string | number | boolean;
|
|
25
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
26
|
+
[x: string]: string | number | boolean;
|
|
27
|
+
} | undefined>) | undefined;
|
|
28
|
+
}, {}>;
|
|
29
|
+
export type InsertOAuthPayload = typeof InsertOAuthPayloadSchema.inferOut;
|
|
30
|
+
//# sourceMappingURL=oauth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../../../src/app/schema/oauth.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa,qEAAc,CAAC;AACzC,MAAM,MAAM,OAAO,GAAG,OAAO,aAAa,CAAC,QAAQ,CAAC;AAEpD,eAAO,MAAM,qBAAqB;;MAEhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,qBAAqB,CAAC,QAAQ,CAAC;AAEpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;MAOM,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,OAAO,kBAAkB,CAAC,QAAQ,CAAC;AAE9D,eAAO,MAAM,wBAAwB;;;;;;;MAEA,CAAC;AACtC,MAAM,MAAM,kBAAkB,GAAG,OAAO,wBAAwB,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { OptionalDatePayloadSchema } from '../../common/schema/dates.js';
|
|
3
|
+
import { MetadataPayloadPropertySchema } from '../../common/schema/metadata.js';
|
|
4
|
+
import { generateOAuthId } from './utils.js';
|
|
5
|
+
export const OAuthIdSchema = type.string;
|
|
6
|
+
export const OAuthIdPropertySchema = type({
|
|
7
|
+
id: OAuthIdSchema,
|
|
8
|
+
});
|
|
9
|
+
export const OAuthPayloadSchema = OAuthIdPropertySchema.and({
|
|
10
|
+
clientId: type('string'),
|
|
11
|
+
clientSecret: type('string'),
|
|
12
|
+
'updatedAt?': OptionalDatePayloadSchema,
|
|
13
|
+
'deletedAt?': OptionalDatePayloadSchema,
|
|
14
|
+
'deactivatedAt?': OptionalDatePayloadSchema,
|
|
15
|
+
}).and(MetadataPayloadPropertySchema);
|
|
16
|
+
export const InsertOAuthPayloadSchema = type({
|
|
17
|
+
id: OAuthIdSchema.default(() => generateOAuthId()),
|
|
18
|
+
}).and(MetadataPayloadPropertySchema);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const OIDCPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
2
|
+
updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
3
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
4
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
5
|
+
metadata?: ((In: {
|
|
6
|
+
[x: string]: string | number | boolean;
|
|
7
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
8
|
+
[x: string]: string | number | boolean;
|
|
9
|
+
} | undefined>) | undefined;
|
|
10
|
+
}, {}>;
|
|
11
|
+
export type OIDCPayload = typeof OIDCPayloadSchema.inferOut;
|
|
12
|
+
export declare const InsertOIDCPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
13
|
+
metadata?: ((In: {
|
|
14
|
+
[x: string]: string | number | boolean;
|
|
15
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
16
|
+
[x: string]: string | number | boolean;
|
|
17
|
+
} | undefined>) | undefined;
|
|
18
|
+
}, {}>;
|
|
19
|
+
export type InsertOIDCPayload = typeof InsertOIDCPayloadSchema.inferOut;
|
|
20
|
+
export declare const UpdateOIDCPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
21
|
+
metadata?: ((In: {
|
|
22
|
+
[x: string]: string | number | boolean;
|
|
23
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
24
|
+
[x: string]: string | number | boolean;
|
|
25
|
+
} | undefined>) | undefined;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export type UpdateOIDCPayload = typeof UpdateOIDCPayloadSchema.inferOut;
|
|
28
|
+
//# sourceMappingURL=oidc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oidc.d.ts","sourceRoot":"","sources":["../../../../src/app/schema/oidc.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;;MAIO,CAAC;AACtC,MAAM,MAAM,WAAW,GAAG,OAAO,iBAAiB,CAAC,QAAQ,CAAC;AAE5D,eAAO,MAAM,uBAAuB;;;;;;MAAgC,CAAC;AACrE,MAAM,MAAM,iBAAiB,GAAG,OAAO,uBAAuB,CAAC,QAAQ,CAAC;AAExE,eAAO,MAAM,uBAAuB;;;;;;MAAgC,CAAC;AACrE,MAAM,MAAM,iBAAiB,GAAG,OAAO,uBAAuB,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { OptionalDatePayloadSchema } from '../../common/schema/dates.js';
|
|
3
|
+
import { MetadataPayloadPropertySchema } from '../../common/schema/metadata.js';
|
|
4
|
+
export const OIDCPayloadSchema = type({
|
|
5
|
+
'updatedAt?': OptionalDatePayloadSchema,
|
|
6
|
+
'deletedAt?': OptionalDatePayloadSchema,
|
|
7
|
+
'deactivatedAt?': OptionalDatePayloadSchema,
|
|
8
|
+
}).and(MetadataPayloadPropertySchema);
|
|
9
|
+
export const InsertOIDCPayloadSchema = MetadataPayloadPropertySchema;
|
|
10
|
+
export const UpdateOIDCPayloadSchema = MetadataPayloadPropertySchema;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const RegistrationPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
2
|
+
allowSelfRegistration: import("arktype/internal/attributes.ts").Default<boolean, false>;
|
|
3
|
+
updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
4
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
5
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
6
|
+
metadata?: ((In: {
|
|
7
|
+
[x: string]: string | number | boolean;
|
|
8
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
9
|
+
[x: string]: string | number | boolean;
|
|
10
|
+
} | undefined>) | undefined;
|
|
11
|
+
}, {}>;
|
|
12
|
+
export type RegistrationPayload = typeof RegistrationPayloadSchema.inferOut;
|
|
13
|
+
export declare const UpsertRegistrationPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
14
|
+
allowSelfRegistration?: boolean | undefined;
|
|
15
|
+
metadata?: ((In: {
|
|
16
|
+
[x: string]: string | number | boolean;
|
|
17
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
18
|
+
[x: string]: string | number | boolean;
|
|
19
|
+
} | undefined>) | undefined;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export type UpsertRegistrationPayload = typeof UpsertRegistrationPayloadSchema.inferOut;
|
|
22
|
+
//# sourceMappingURL=registration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registration.d.ts","sourceRoot":"","sources":["../../../../src/app/schema/registration.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,yBAAyB;;;;;;;;;;MAMD,CAAC;AACtC,MAAM,MAAM,mBAAmB,GAAG,OAAO,yBAAyB,CAAC,QAAQ,CAAC;AAE5E,eAAO,MAAM,+BAA+B;;;;;;;MAEP,CAAC;AACtC,MAAM,MAAM,yBAAyB,GACnC,OAAO,+BAA+B,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { OptionalDatePayloadSchema } from '../../common/schema/dates.js';
|
|
3
|
+
import { MetadataPayloadPropertySchema } from '../../common/schema/metadata.js';
|
|
4
|
+
const AllowSelfRegistrationSchema = type('boolean');
|
|
5
|
+
export const RegistrationPayloadSchema = type({
|
|
6
|
+
allowSelfRegistration: AllowSelfRegistrationSchema.default(false),
|
|
7
|
+
'updatedAt?': OptionalDatePayloadSchema,
|
|
8
|
+
'deletedAt?': OptionalDatePayloadSchema,
|
|
9
|
+
'deactivatedAt?': OptionalDatePayloadSchema,
|
|
10
|
+
}).and(MetadataPayloadPropertySchema);
|
|
11
|
+
export const UpsertRegistrationPayloadSchema = type({
|
|
12
|
+
allowSelfRegistration: AllowSelfRegistrationSchema.or('undefined').optional(),
|
|
13
|
+
}).and(MetadataPayloadPropertySchema);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const SAMLPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
2
|
+
updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
3
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
4
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
5
|
+
metadata?: ((In: {
|
|
6
|
+
[x: string]: string | number | boolean;
|
|
7
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
8
|
+
[x: string]: string | number | boolean;
|
|
9
|
+
} | undefined>) | undefined;
|
|
10
|
+
}, {}>;
|
|
11
|
+
export type SAMLPayload = typeof SAMLPayloadSchema.inferOut;
|
|
12
|
+
export declare const InsertSAMLPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
13
|
+
metadata?: ((In: {
|
|
14
|
+
[x: string]: string | number | boolean;
|
|
15
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
16
|
+
[x: string]: string | number | boolean;
|
|
17
|
+
} | undefined>) | undefined;
|
|
18
|
+
}, {}>;
|
|
19
|
+
export type InsertSAMLPayload = typeof InsertSAMLPayloadSchema.inferOut;
|
|
20
|
+
export declare const UpdateSAMLPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
21
|
+
metadata?: ((In: {
|
|
22
|
+
[x: string]: string | number | boolean;
|
|
23
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
24
|
+
[x: string]: string | number | boolean;
|
|
25
|
+
} | undefined>) | undefined;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export type UpdateSAMLPayload = typeof InsertSAMLPayloadSchema.inferOut;
|
|
28
|
+
//# sourceMappingURL=saml.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saml.d.ts","sourceRoot":"","sources":["../../../../src/app/schema/saml.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;;MAIO,CAAC;AACtC,MAAM,MAAM,WAAW,GAAG,OAAO,iBAAiB,CAAC,QAAQ,CAAC;AAE5D,eAAO,MAAM,uBAAuB;;;;;;MAAgC,CAAC;AACrE,MAAM,MAAM,iBAAiB,GAAG,OAAO,uBAAuB,CAAC,QAAQ,CAAC;AAExE,eAAO,MAAM,uBAAuB;;;;;;MAAgC,CAAC;AACrE,MAAM,MAAM,iBAAiB,GAAG,OAAO,uBAAuB,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { OptionalDatePayloadSchema } from '../../common/schema/dates.js';
|
|
3
|
+
import { MetadataPayloadPropertySchema } from '../../common/schema/metadata.js';
|
|
4
|
+
export const SAMLPayloadSchema = type({
|
|
5
|
+
'updatedAt?': OptionalDatePayloadSchema,
|
|
6
|
+
'deletedAt?': OptionalDatePayloadSchema,
|
|
7
|
+
'deactivatedAt?': OptionalDatePayloadSchema,
|
|
8
|
+
}).and(MetadataPayloadPropertySchema);
|
|
9
|
+
export const InsertSAMLPayloadSchema = MetadataPayloadPropertySchema;
|
|
10
|
+
export const UpdateSAMLPayloadSchema = MetadataPayloadPropertySchema;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/app/schema/schema.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAE1B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const Model: {
|
|
2
|
+
readonly App: {
|
|
3
|
+
readonly UIDPrefix: "app";
|
|
4
|
+
};
|
|
5
|
+
readonly OAuth: {
|
|
6
|
+
readonly UIDPrefix: "aoa";
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare function generateAppId(): string;
|
|
10
|
+
export declare function generateOAuthId(): string;
|
|
11
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/app/schema/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;CAOR,CAAC;AAEX,wBAAgB,aAAa,WAE5B;AAED,wBAAgB,eAAe,WAE9B"}
|