@robelest/convex-auth 0.0.4-preview.25 → 0.0.4-preview.28
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/README.md +43 -36
- package/dist/bin.js +5765 -4880
- package/dist/browser/index.d.ts +30 -0
- package/dist/browser/index.js +93 -0
- package/dist/browser/locks.js +11 -0
- package/dist/browser/navigation.js +14 -0
- package/dist/{factors → browser}/passkey.js +23 -32
- package/dist/browser/runtime.js +92 -0
- package/dist/client/core/types.d.ts +452 -5
- package/dist/client/core/types.js +17 -0
- package/dist/client/errors.js +19 -0
- package/dist/client/factors/device.js +94 -0
- package/dist/{factors → client/factors}/totp.js +12 -4
- package/dist/client/index.d.ts +47 -1
- package/dist/client/index.js +269 -232
- package/dist/client/runtime/mutex.js +24 -0
- package/dist/client/runtime/proxy.js +30 -0
- package/dist/client/runtime/storage.js +45 -0
- package/dist/client/services/adapters.js +7 -0
- package/dist/client/services/http.js +6 -0
- package/dist/client/services/resolve.js +13 -0
- package/dist/client/services/runtime.js +6 -0
- package/dist/component/_generated/component.d.ts +1355 -1399
- package/dist/component/convex.config.d.ts +2 -2
- package/dist/component/index.d.ts +4 -26
- package/dist/component/index.js +1 -1
- package/dist/component/model.d.ts +26 -112
- package/dist/component/model.js +76 -54
- package/dist/component/modules.js +38 -0
- package/dist/component/public/factors/devices.js +1 -1
- package/dist/component/public/factors/passkeys.js +1 -1
- package/dist/component/public/factors/totp.js +1 -1
- package/dist/component/public/groups/core.js +2 -2
- package/dist/component/public/groups/invites.js +1 -1
- package/dist/component/public/groups/members.js +1 -1
- package/dist/component/public/identity/accounts.js +1 -1
- package/dist/component/public/identity/codes.js +1 -1
- package/dist/component/public/identity/sessions.js +39 -2
- package/dist/component/public/identity/tokens.js +82 -4
- package/dist/component/public/identity/users.js +1 -1
- package/dist/component/public/identity/verifiers.js +10 -4
- package/dist/component/public/security/keys.js +1 -1
- package/dist/component/public/security/limits.js +1 -1
- package/dist/component/public/{enterprise → sso}/audit.js +26 -26
- package/dist/component/public/sso/core.js +263 -0
- package/dist/component/public/sso/domains.js +280 -0
- package/dist/component/public/{enterprise → sso}/scim.js +87 -87
- package/dist/component/public/sso/secrets.js +125 -0
- package/dist/component/public/{enterprise → sso}/webhooks.js +59 -59
- package/dist/component/public.js +9 -9
- package/dist/component/schema.d.ts +472 -393
- package/dist/component/schema.js +36 -35
- package/dist/core/index.d.ts +380 -0
- package/dist/core/index.js +83 -0
- package/dist/otel.d.ts +69 -0
- package/dist/otel.js +82 -0
- package/dist/providers/anonymous.d.ts +15 -34
- package/dist/providers/anonymous.js +27 -35
- package/dist/providers/apple.d.ts +59 -0
- package/dist/providers/apple.js +58 -0
- package/dist/providers/credentials.d.ts +18 -34
- package/dist/providers/credentials.js +16 -27
- package/dist/providers/custom.d.ts +94 -0
- package/dist/providers/custom.js +119 -0
- package/dist/providers/device.d.ts +15 -49
- package/dist/providers/device.js +17 -34
- package/dist/providers/email.d.ts +21 -38
- package/dist/providers/email.js +36 -55
- package/dist/providers/github.d.ts +54 -0
- package/dist/providers/github.js +75 -0
- package/dist/providers/google.d.ts +54 -0
- package/dist/providers/google.js +61 -0
- package/dist/providers/index.d.ts +16 -12
- package/dist/providers/index.js +15 -11
- package/dist/providers/microsoft.d.ts +57 -0
- package/dist/providers/microsoft.js +101 -0
- package/dist/providers/passkey.d.ts +19 -35
- package/dist/providers/passkey.js +20 -30
- package/dist/providers/password.d.ts +17 -18
- package/dist/providers/password.js +121 -143
- package/dist/providers/phone.d.ts +13 -28
- package/dist/providers/phone.js +21 -46
- package/dist/providers/sso.d.ts +16 -36
- package/dist/providers/sso.js +21 -22
- package/dist/providers/totp.d.ts +13 -29
- package/dist/providers/totp.js +17 -27
- package/dist/server/auth-context.d.ts +204 -0
- package/dist/server/auth-context.js +76 -0
- package/dist/server/auth.d.ts +99 -244
- package/dist/server/auth.js +56 -152
- package/dist/server/componentContext.d.ts +12 -0
- package/dist/server/componentContext.js +1 -0
- package/dist/server/config.js +6 -67
- package/dist/server/constants.js +6 -0
- package/dist/server/contract.d.ts +105 -0
- package/dist/server/contract.js +43 -0
- package/dist/server/cookies.js +3 -2
- package/dist/server/core.js +31 -36
- package/dist/server/crypto.js +34 -44
- package/dist/server/db.js +6 -1
- package/dist/server/device.js +96 -130
- package/dist/server/env.js +48 -0
- package/dist/server/errors.js +20 -0
- package/dist/server/http.d.ts +15 -59
- package/dist/server/http.js +136 -120
- package/dist/server/identity.js +2 -2
- package/dist/server/index.d.ts +5 -4
- package/dist/server/index.js +3 -3
- package/dist/server/keys.js +10 -1
- package/dist/server/limits.js +26 -26
- package/dist/server/log.js +28 -0
- package/dist/server/mounts.d.ts +1107 -296
- package/dist/server/mounts.js +315 -196
- package/dist/server/mutations/account.js +11 -14
- package/dist/server/mutations/code.js +6 -5
- package/dist/server/mutations/invalidate.js +9 -11
- package/dist/server/mutations/oauth.js +112 -73
- package/dist/server/mutations/refresh.js +47 -97
- package/dist/server/mutations/register.js +37 -35
- package/dist/server/mutations/retrieve.js +16 -16
- package/dist/server/mutations/signature.js +15 -18
- package/dist/server/mutations/signin.js +10 -5
- package/dist/server/mutations/signout.js +11 -14
- package/dist/server/mutations/store.js +25 -18
- package/dist/server/mutations/verifier.js +11 -8
- package/dist/server/mutations/verify.js +53 -41
- package/dist/server/oauth/factory.js +44 -0
- package/dist/server/oauth/index.js +12 -0
- package/dist/server/oauth/runtime.js +248 -0
- package/dist/server/passkey.js +331 -365
- package/dist/server/payloads.d.ts +16 -0
- package/dist/server/payloads.js +30 -0
- package/dist/server/{ssr.d.ts → prefetch.d.ts} +2 -2
- package/dist/server/prefetch.js +635 -0
- package/dist/server/random.js +19 -0
- package/dist/server/redirects.js +10 -5
- package/dist/server/refresh.js +14 -86
- package/dist/server/runtime.d.ts +531 -31
- package/dist/server/runtime.js +106 -267
- package/dist/server/secret.js +44 -0
- package/dist/server/services/config.js +10 -0
- package/dist/server/services/group.js +211 -0
- package/dist/server/services/logger.js +8 -0
- package/dist/server/services/providers.js +22 -0
- package/dist/server/services/refresh.js +8 -0
- package/dist/server/services/resolve.js +27 -0
- package/dist/server/services/signin.js +8 -0
- package/dist/server/sessions.js +35 -34
- package/dist/server/signin.js +229 -140
- package/dist/server/{enterprise → sso}/config.js +10 -3
- package/dist/server/sso/domain.d.ts +614 -0
- package/dist/server/sso/domain.js +1175 -0
- package/dist/server/sso/http.js +1060 -0
- package/dist/server/sso/oidc.js +324 -0
- package/dist/server/sso/policies.js +59 -0
- package/dist/server/sso/policy.js +139 -0
- package/dist/server/sso/profile.js +22 -0
- package/dist/server/sso/provision.js +179 -0
- package/dist/{component/server/enterprise → server/sso}/saml.js +142 -56
- package/dist/{component/server/enterprise → server/sso}/scim.js +13 -7
- package/dist/server/sso/shared.js +74 -0
- package/dist/server/sso/validators.js +88 -0
- package/dist/server/sso/webhook.js +94 -0
- package/dist/server/tokens.js +16 -4
- package/dist/server/totp.js +155 -164
- package/dist/server/types.d.ts +306 -296
- package/dist/server/types.js +1 -30
- package/dist/server/url.js +32 -0
- package/dist/server/users.js +74 -40
- package/dist/server/utils/cache.js +51 -0
- package/dist/server/utils/dispatch.js +36 -0
- package/dist/server/utils/retry.js +24 -0
- package/dist/server/utils/span.js +32 -0
- package/dist/shared/errors.js +19 -0
- package/dist/shared/log.js +45 -0
- package/{src/test.ts → dist/test.d.ts} +21 -22
- package/dist/test.js +51 -0
- package/package.json +70 -42
- package/dist/authorization/index.d.ts.map +0 -1
- package/dist/authorization/index.js.map +0 -1
- package/dist/client/core/types.d.ts.map +0 -1
- package/dist/client/index.d.ts.map +0 -1
- package/dist/client/index.js.map +0 -1
- package/dist/component/_generated/api.d.ts +0 -75
- package/dist/component/_generated/api.d.ts.map +0 -1
- package/dist/component/_generated/api.js.map +0 -1
- package/dist/component/_generated/component.d.ts.map +0 -1
- package/dist/component/_generated/dataModel.d.ts +0 -42
- package/dist/component/_generated/dataModel.d.ts.map +0 -1
- package/dist/component/_generated/server.d.ts +0 -117
- package/dist/component/_generated/server.d.ts.map +0 -1
- package/dist/component/_generated/server.js.map +0 -1
- package/dist/component/_virtual/rolldown_runtime.js +0 -18
- package/dist/component/client/core/types.d.ts +0 -2
- package/dist/component/client/index.d.ts +0 -1
- package/dist/component/convex.config.d.ts.map +0 -1
- package/dist/component/convex.config.js.map +0 -1
- package/dist/component/functions.d.ts +0 -25
- package/dist/component/functions.d.ts.map +0 -1
- package/dist/component/functions.js.map +0 -1
- package/dist/component/index.d.ts.map +0 -1
- package/dist/component/model.d.ts.map +0 -1
- package/dist/component/model.js.map +0 -1
- package/dist/component/providers/anonymous.d.ts +0 -54
- package/dist/component/providers/anonymous.d.ts.map +0 -1
- package/dist/component/providers/credentials.d.ts +0 -38
- package/dist/component/providers/credentials.d.ts.map +0 -1
- package/dist/component/providers/device.d.ts +0 -67
- package/dist/component/providers/device.d.ts.map +0 -1
- package/dist/component/providers/email.d.ts +0 -62
- package/dist/component/providers/email.d.ts.map +0 -1
- package/dist/component/providers/oauth.d.ts +0 -25
- package/dist/component/providers/oauth.d.ts.map +0 -1
- package/dist/component/providers/oauth.js +0 -13
- package/dist/component/providers/oauth.js.map +0 -1
- package/dist/component/providers/passkey.d.ts +0 -57
- package/dist/component/providers/passkey.d.ts.map +0 -1
- package/dist/component/providers/password.d.ts +0 -88
- package/dist/component/providers/password.d.ts.map +0 -1
- package/dist/component/providers/phone.d.ts +0 -48
- package/dist/component/providers/phone.d.ts.map +0 -1
- package/dist/component/providers/sso.d.ts +0 -50
- package/dist/component/providers/sso.d.ts.map +0 -1
- package/dist/component/providers/totp.d.ts +0 -45
- package/dist/component/providers/totp.d.ts.map +0 -1
- package/dist/component/public/enterprise/audit.d.ts +0 -73
- package/dist/component/public/enterprise/audit.d.ts.map +0 -1
- package/dist/component/public/enterprise/audit.js.map +0 -1
- package/dist/component/public/enterprise/core.d.ts +0 -176
- package/dist/component/public/enterprise/core.d.ts.map +0 -1
- package/dist/component/public/enterprise/core.js +0 -292
- package/dist/component/public/enterprise/core.js.map +0 -1
- package/dist/component/public/enterprise/domains.d.ts +0 -174
- package/dist/component/public/enterprise/domains.d.ts.map +0 -1
- package/dist/component/public/enterprise/domains.js +0 -271
- package/dist/component/public/enterprise/domains.js.map +0 -1
- package/dist/component/public/enterprise/scim.d.ts +0 -245
- package/dist/component/public/enterprise/scim.d.ts.map +0 -1
- package/dist/component/public/enterprise/scim.js.map +0 -1
- package/dist/component/public/enterprise/secrets.d.ts +0 -78
- package/dist/component/public/enterprise/secrets.d.ts.map +0 -1
- package/dist/component/public/enterprise/secrets.js +0 -118
- package/dist/component/public/enterprise/secrets.js.map +0 -1
- package/dist/component/public/enterprise/webhooks.d.ts +0 -211
- package/dist/component/public/enterprise/webhooks.d.ts.map +0 -1
- package/dist/component/public/enterprise/webhooks.js.map +0 -1
- package/dist/component/public/factors/devices.d.ts +0 -157
- package/dist/component/public/factors/devices.d.ts.map +0 -1
- package/dist/component/public/factors/devices.js.map +0 -1
- package/dist/component/public/factors/passkeys.d.ts +0 -175
- package/dist/component/public/factors/passkeys.d.ts.map +0 -1
- package/dist/component/public/factors/passkeys.js.map +0 -1
- package/dist/component/public/factors/totp.d.ts +0 -189
- package/dist/component/public/factors/totp.d.ts.map +0 -1
- package/dist/component/public/factors/totp.js.map +0 -1
- package/dist/component/public/groups/core.d.ts +0 -137
- package/dist/component/public/groups/core.d.ts.map +0 -1
- package/dist/component/public/groups/core.js.map +0 -1
- package/dist/component/public/groups/invites.d.ts +0 -217
- package/dist/component/public/groups/invites.d.ts.map +0 -1
- package/dist/component/public/groups/invites.js.map +0 -1
- package/dist/component/public/groups/members.d.ts +0 -204
- package/dist/component/public/groups/members.d.ts.map +0 -1
- package/dist/component/public/groups/members.js.map +0 -1
- package/dist/component/public/identity/accounts.d.ts +0 -147
- package/dist/component/public/identity/accounts.d.ts.map +0 -1
- package/dist/component/public/identity/accounts.js.map +0 -1
- package/dist/component/public/identity/codes.d.ts +0 -104
- package/dist/component/public/identity/codes.d.ts.map +0 -1
- package/dist/component/public/identity/codes.js.map +0 -1
- package/dist/component/public/identity/sessions.d.ts +0 -128
- package/dist/component/public/identity/sessions.d.ts.map +0 -1
- package/dist/component/public/identity/sessions.js.map +0 -1
- package/dist/component/public/identity/tokens.d.ts +0 -169
- package/dist/component/public/identity/tokens.d.ts.map +0 -1
- package/dist/component/public/identity/tokens.js.map +0 -1
- package/dist/component/public/identity/users.d.ts +0 -212
- package/dist/component/public/identity/users.d.ts.map +0 -1
- package/dist/component/public/identity/users.js.map +0 -1
- package/dist/component/public/identity/verifiers.d.ts +0 -116
- package/dist/component/public/identity/verifiers.d.ts.map +0 -1
- package/dist/component/public/identity/verifiers.js.map +0 -1
- package/dist/component/public/security/keys.d.ts +0 -209
- package/dist/component/public/security/keys.d.ts.map +0 -1
- package/dist/component/public/security/keys.js.map +0 -1
- package/dist/component/public/security/limits.d.ts +0 -114
- package/dist/component/public/security/limits.d.ts.map +0 -1
- package/dist/component/public/security/limits.js.map +0 -1
- package/dist/component/public.d.ts +0 -28
- package/dist/component/public.d.ts.map +0 -1
- package/dist/component/schema.d.ts.map +0 -1
- package/dist/component/schema.js.map +0 -1
- package/dist/component/server/auth.d.ts +0 -447
- package/dist/component/server/auth.d.ts.map +0 -1
- package/dist/component/server/auth.js +0 -254
- package/dist/component/server/auth.js.map +0 -1
- package/dist/component/server/config.js +0 -121
- package/dist/component/server/config.js.map +0 -1
- package/dist/component/server/context.js +0 -53
- package/dist/component/server/context.js.map +0 -1
- package/dist/component/server/cookies.js +0 -47
- package/dist/component/server/cookies.js.map +0 -1
- package/dist/component/server/core.js +0 -576
- package/dist/component/server/core.js.map +0 -1
- package/dist/component/server/crypto.js +0 -56
- package/dist/component/server/crypto.js.map +0 -1
- package/dist/component/server/db.js +0 -87
- package/dist/component/server/db.js.map +0 -1
- package/dist/component/server/device.js +0 -152
- package/dist/component/server/device.js.map +0 -1
- package/dist/component/server/enterprise/config.js +0 -46
- package/dist/component/server/enterprise/config.js.map +0 -1
- package/dist/component/server/enterprise/domain.js +0 -974
- package/dist/component/server/enterprise/domain.js.map +0 -1
- package/dist/component/server/enterprise/http.js +0 -787
- package/dist/component/server/enterprise/http.js.map +0 -1
- package/dist/component/server/enterprise/oidc.js +0 -248
- package/dist/component/server/enterprise/oidc.js.map +0 -1
- package/dist/component/server/enterprise/policy.js +0 -85
- package/dist/component/server/enterprise/policy.js.map +0 -1
- package/dist/component/server/enterprise/saml.js.map +0 -1
- package/dist/component/server/enterprise/scim.js.map +0 -1
- package/dist/component/server/enterprise/shared.js +0 -51
- package/dist/component/server/enterprise/shared.js.map +0 -1
- package/dist/component/server/http.d.ts +0 -85
- package/dist/component/server/http.d.ts.map +0 -1
- package/dist/component/server/http.js +0 -351
- package/dist/component/server/http.js.map +0 -1
- package/dist/component/server/identity.js +0 -16
- package/dist/component/server/identity.js.map +0 -1
- package/dist/component/server/keys.js +0 -96
- package/dist/component/server/keys.js.map +0 -1
- package/dist/component/server/limits.js +0 -52
- package/dist/component/server/limits.js.map +0 -1
- package/dist/component/server/mutations/account.js +0 -46
- package/dist/component/server/mutations/account.js.map +0 -1
- package/dist/component/server/mutations/code.js +0 -68
- package/dist/component/server/mutations/code.js.map +0 -1
- package/dist/component/server/mutations/invalidate.js +0 -32
- package/dist/component/server/mutations/invalidate.js.map +0 -1
- package/dist/component/server/mutations/oauth.js +0 -116
- package/dist/component/server/mutations/oauth.js.map +0 -1
- package/dist/component/server/mutations/refresh.js +0 -119
- package/dist/component/server/mutations/refresh.js.map +0 -1
- package/dist/component/server/mutations/register.js +0 -87
- package/dist/component/server/mutations/register.js.map +0 -1
- package/dist/component/server/mutations/retrieve.js +0 -61
- package/dist/component/server/mutations/retrieve.js.map +0 -1
- package/dist/component/server/mutations/signature.js +0 -38
- package/dist/component/server/mutations/signature.js.map +0 -1
- package/dist/component/server/mutations/signin.js +0 -27
- package/dist/component/server/mutations/signin.js.map +0 -1
- package/dist/component/server/mutations/signout.js +0 -27
- package/dist/component/server/mutations/signout.js.map +0 -1
- package/dist/component/server/mutations/store/refs.js +0 -15
- package/dist/component/server/mutations/store/refs.js.map +0 -1
- package/dist/component/server/mutations/store.js +0 -70
- package/dist/component/server/mutations/store.js.map +0 -1
- package/dist/component/server/mutations/verifier.js +0 -18
- package/dist/component/server/mutations/verifier.js.map +0 -1
- package/dist/component/server/mutations/verify.js +0 -98
- package/dist/component/server/mutations/verify.js.map +0 -1
- package/dist/component/server/oauth.js +0 -242
- package/dist/component/server/oauth.js.map +0 -1
- package/dist/component/server/passkey.js +0 -415
- package/dist/component/server/passkey.js.map +0 -1
- package/dist/component/server/redirects.js +0 -40
- package/dist/component/server/redirects.js.map +0 -1
- package/dist/component/server/refresh.js +0 -99
- package/dist/component/server/refresh.js.map +0 -1
- package/dist/component/server/runtime.d.ts +0 -136
- package/dist/component/server/runtime.d.ts.map +0 -1
- package/dist/component/server/runtime.js +0 -456
- package/dist/component/server/runtime.js.map +0 -1
- package/dist/component/server/sessions.js +0 -71
- package/dist/component/server/sessions.js.map +0 -1
- package/dist/component/server/signin.js +0 -225
- package/dist/component/server/signin.js.map +0 -1
- package/dist/component/server/tokens.js +0 -17
- package/dist/component/server/tokens.js.map +0 -1
- package/dist/component/server/totp.js +0 -208
- package/dist/component/server/totp.js.map +0 -1
- package/dist/component/server/types.d.ts +0 -949
- package/dist/component/server/types.d.ts.map +0 -1
- package/dist/component/server/types.js +0 -79
- package/dist/component/server/types.js.map +0 -1
- package/dist/component/server/users.js +0 -123
- package/dist/component/server/users.js.map +0 -1
- package/dist/component/server/utils.js +0 -140
- package/dist/component/server/utils.js.map +0 -1
- package/dist/core/types.d.ts +0 -361
- package/dist/core/types.d.ts.map +0 -1
- package/dist/factors/device.js +0 -104
- package/dist/factors/device.js.map +0 -1
- package/dist/factors/passkey.js.map +0 -1
- package/dist/factors/totp.js.map +0 -1
- package/dist/providers/anonymous.d.ts.map +0 -1
- package/dist/providers/anonymous.js.map +0 -1
- package/dist/providers/credentials.d.ts.map +0 -1
- package/dist/providers/credentials.js.map +0 -1
- package/dist/providers/device.d.ts.map +0 -1
- package/dist/providers/device.js.map +0 -1
- package/dist/providers/email.d.ts.map +0 -1
- package/dist/providers/email.js.map +0 -1
- package/dist/providers/oauth.d.ts +0 -69
- package/dist/providers/oauth.d.ts.map +0 -1
- package/dist/providers/oauth.js +0 -43
- package/dist/providers/oauth.js.map +0 -1
- package/dist/providers/passkey.d.ts.map +0 -1
- package/dist/providers/passkey.js.map +0 -1
- package/dist/providers/password.d.ts.map +0 -1
- package/dist/providers/password.js.map +0 -1
- package/dist/providers/phone.d.ts.map +0 -1
- package/dist/providers/phone.js.map +0 -1
- package/dist/providers/sso.d.ts.map +0 -1
- package/dist/providers/sso.js.map +0 -1
- package/dist/providers/totp.d.ts.map +0 -1
- package/dist/providers/totp.js.map +0 -1
- package/dist/runtime/browser.js +0 -68
- package/dist/runtime/browser.js.map +0 -1
- package/dist/runtime/invite.js.map +0 -1
- package/dist/runtime/proxy.js +0 -70
- package/dist/runtime/proxy.js.map +0 -1
- package/dist/runtime/storage.js +0 -37
- package/dist/runtime/storage.js.map +0 -1
- package/dist/server/auth.d.ts.map +0 -1
- package/dist/server/auth.js.map +0 -1
- package/dist/server/config.d.ts +0 -1
- package/dist/server/config.js.map +0 -1
- package/dist/server/context.d.ts +0 -1
- package/dist/server/context.js.map +0 -1
- package/dist/server/cookies.d.ts +0 -1
- package/dist/server/cookies.js.map +0 -1
- package/dist/server/core.d.ts +0 -1315
- package/dist/server/core.d.ts.map +0 -1
- package/dist/server/core.js.map +0 -1
- package/dist/server/crypto.d.ts +0 -8
- package/dist/server/crypto.d.ts.map +0 -1
- package/dist/server/crypto.js.map +0 -1
- package/dist/server/db.d.ts +0 -1
- package/dist/server/db.js.map +0 -1
- package/dist/server/device.d.ts +0 -1
- package/dist/server/device.js.map +0 -1
- package/dist/server/enterprise/config.d.ts +0 -1
- package/dist/server/enterprise/config.js.map +0 -1
- package/dist/server/enterprise/domain.d.ts +0 -401
- package/dist/server/enterprise/domain.d.ts.map +0 -1
- package/dist/server/enterprise/domain.js +0 -974
- package/dist/server/enterprise/domain.js.map +0 -1
- package/dist/server/enterprise/http.d.ts +0 -26
- package/dist/server/enterprise/http.d.ts.map +0 -1
- package/dist/server/enterprise/http.js +0 -787
- package/dist/server/enterprise/http.js.map +0 -1
- package/dist/server/enterprise/oidc.d.ts +0 -1
- package/dist/server/enterprise/oidc.js +0 -248
- package/dist/server/enterprise/oidc.js.map +0 -1
- package/dist/server/enterprise/policy.d.ts +0 -1
- package/dist/server/enterprise/policy.js +0 -85
- package/dist/server/enterprise/policy.js.map +0 -1
- package/dist/server/enterprise/saml.d.ts +0 -1
- package/dist/server/enterprise/saml.js +0 -338
- package/dist/server/enterprise/saml.js.map +0 -1
- package/dist/server/enterprise/scim.d.ts +0 -1
- package/dist/server/enterprise/scim.js +0 -97
- package/dist/server/enterprise/scim.js.map +0 -1
- package/dist/server/enterprise/shared.d.ts +0 -5
- package/dist/server/enterprise/shared.d.ts.map +0 -1
- package/dist/server/enterprise/shared.js +0 -51
- package/dist/server/enterprise/shared.js.map +0 -1
- package/dist/server/enterprise/validators.d.ts +0 -1
- package/dist/server/enterprise/validators.js +0 -60
- package/dist/server/enterprise/validators.js.map +0 -1
- package/dist/server/http.d.ts.map +0 -1
- package/dist/server/http.js.map +0 -1
- package/dist/server/identity.d.ts +0 -1
- package/dist/server/identity.js.map +0 -1
- package/dist/server/keys.d.ts +0 -1
- package/dist/server/keys.js.map +0 -1
- package/dist/server/limits.d.ts +0 -1
- package/dist/server/limits.js.map +0 -1
- package/dist/server/mounts.d.ts.map +0 -1
- package/dist/server/mounts.js.map +0 -1
- package/dist/server/mutations/account.d.ts +0 -29
- package/dist/server/mutations/account.d.ts.map +0 -1
- package/dist/server/mutations/account.js.map +0 -1
- package/dist/server/mutations/code.d.ts +0 -30
- package/dist/server/mutations/code.d.ts.map +0 -1
- package/dist/server/mutations/code.js.map +0 -1
- package/dist/server/mutations/index.d.ts +0 -14
- package/dist/server/mutations/invalidate.d.ts +0 -20
- package/dist/server/mutations/invalidate.d.ts.map +0 -1
- package/dist/server/mutations/invalidate.js.map +0 -1
- package/dist/server/mutations/oauth.d.ts +0 -30
- package/dist/server/mutations/oauth.d.ts.map +0 -1
- package/dist/server/mutations/oauth.js.map +0 -1
- package/dist/server/mutations/refresh.d.ts +0 -21
- package/dist/server/mutations/refresh.d.ts.map +0 -1
- package/dist/server/mutations/refresh.js.map +0 -1
- package/dist/server/mutations/register.d.ts +0 -38
- package/dist/server/mutations/register.d.ts.map +0 -1
- package/dist/server/mutations/register.js.map +0 -1
- package/dist/server/mutations/retrieve.d.ts +0 -33
- package/dist/server/mutations/retrieve.d.ts.map +0 -1
- package/dist/server/mutations/retrieve.js.map +0 -1
- package/dist/server/mutations/signature.d.ts +0 -21
- package/dist/server/mutations/signature.d.ts.map +0 -1
- package/dist/server/mutations/signature.js.map +0 -1
- package/dist/server/mutations/signin.d.ts +0 -22
- package/dist/server/mutations/signin.d.ts.map +0 -1
- package/dist/server/mutations/signin.js.map +0 -1
- package/dist/server/mutations/signout.d.ts +0 -16
- package/dist/server/mutations/signout.d.ts.map +0 -1
- package/dist/server/mutations/signout.js.map +0 -1
- package/dist/server/mutations/store/refs.d.ts +0 -12
- package/dist/server/mutations/store/refs.d.ts.map +0 -1
- package/dist/server/mutations/store/refs.js.map +0 -1
- package/dist/server/mutations/store.d.ts +0 -306
- package/dist/server/mutations/store.d.ts.map +0 -1
- package/dist/server/mutations/store.js.map +0 -1
- package/dist/server/mutations/verifier.d.ts +0 -13
- package/dist/server/mutations/verifier.d.ts.map +0 -1
- package/dist/server/mutations/verifier.js.map +0 -1
- package/dist/server/mutations/verify.d.ts +0 -26
- package/dist/server/mutations/verify.d.ts.map +0 -1
- package/dist/server/mutations/verify.js.map +0 -1
- package/dist/server/oauth.d.ts +0 -1
- package/dist/server/oauth.js +0 -242
- package/dist/server/oauth.js.map +0 -1
- package/dist/server/passkey.d.ts +0 -27
- package/dist/server/passkey.d.ts.map +0 -1
- package/dist/server/passkey.js.map +0 -1
- package/dist/server/redirects.d.ts +0 -1
- package/dist/server/redirects.js.map +0 -1
- package/dist/server/refresh.d.ts +0 -1
- package/dist/server/refresh.js.map +0 -1
- package/dist/server/runtime.d.ts.map +0 -1
- package/dist/server/runtime.js.map +0 -1
- package/dist/server/sessions.d.ts +0 -1
- package/dist/server/sessions.js.map +0 -1
- package/dist/server/signin.d.ts +0 -1
- package/dist/server/signin.js.map +0 -1
- package/dist/server/ssr.d.ts.map +0 -1
- package/dist/server/ssr.js +0 -777
- package/dist/server/ssr.js.map +0 -1
- package/dist/server/templates.d.ts +0 -1
- package/dist/server/templates.js.map +0 -1
- package/dist/server/tokens.d.ts +0 -1
- package/dist/server/tokens.js.map +0 -1
- package/dist/server/totp.d.ts +0 -1
- package/dist/server/totp.js.map +0 -1
- package/dist/server/types.d.ts.map +0 -1
- package/dist/server/types.js.map +0 -1
- package/dist/server/users.d.ts +0 -1
- package/dist/server/users.js.map +0 -1
- package/dist/server/utils.d.ts +0 -1
- package/dist/server/utils.js +0 -140
- package/dist/server/utils.js.map +0 -1
- package/src/authorization/index.ts +0 -83
- package/src/cli/bin.ts +0 -5
- package/src/cli/command.ts +0 -70
- package/src/cli/index.ts +0 -1112
- package/src/cli/keys.ts +0 -23
- package/src/client/core/types.ts +0 -437
- package/src/client/factors/device.ts +0 -158
- package/src/client/factors/passkey.ts +0 -279
- package/src/client/factors/totp.ts +0 -150
- package/src/client/index.ts +0 -1124
- package/src/client/runtime/browser.ts +0 -112
- package/src/client/runtime/invite.ts +0 -63
- package/src/client/runtime/proxy.ts +0 -111
- package/src/client/runtime/storage.ts +0 -79
- package/src/component/_generated/api.ts +0 -96
- package/src/component/_generated/component.ts +0 -3774
- package/src/component/_generated/dataModel.ts +0 -60
- package/src/component/_generated/server.ts +0 -156
- package/src/component/convex.config.ts +0 -5
- package/src/component/functions.ts +0 -104
- package/src/component/index.ts +0 -42
- package/src/component/model.ts +0 -449
- package/src/component/public/enterprise/audit.ts +0 -125
- package/src/component/public/enterprise/core.ts +0 -355
- package/src/component/public/enterprise/domains.ts +0 -327
- package/src/component/public/enterprise/scim.ts +0 -397
- package/src/component/public/enterprise/secrets.ts +0 -133
- package/src/component/public/enterprise/webhooks.ts +0 -307
- package/src/component/public/factors/devices.ts +0 -224
- package/src/component/public/factors/passkeys.ts +0 -243
- package/src/component/public/factors/totp.ts +0 -259
- package/src/component/public/groups/core.ts +0 -481
- package/src/component/public/groups/invites.ts +0 -608
- package/src/component/public/groups/members.ts +0 -410
- package/src/component/public/identity/accounts.ts +0 -207
- package/src/component/public/identity/codes.ts +0 -149
- package/src/component/public/identity/sessions.ts +0 -210
- package/src/component/public/identity/tokens.ts +0 -251
- package/src/component/public/identity/users.ts +0 -355
- package/src/component/public/identity/verifiers.ts +0 -158
- package/src/component/public/security/keys.ts +0 -366
- package/src/component/public/security/limits.ts +0 -174
- package/src/component/public.ts +0 -27
- package/src/component/schema.ts +0 -505
- package/src/providers/anonymous.ts +0 -99
- package/src/providers/credentials.ts +0 -102
- package/src/providers/device.ts +0 -87
- package/src/providers/email.ts +0 -99
- package/src/providers/index.ts +0 -31
- package/src/providers/oauth.ts +0 -117
- package/src/providers/passkey.ts +0 -77
- package/src/providers/password.ts +0 -441
- package/src/providers/phone.ts +0 -93
- package/src/providers/sso.ts +0 -54
- package/src/providers/totp.ts +0 -62
- package/src/samlify.d.ts +0 -53
- package/src/server/auth.ts +0 -949
- package/src/server/config.ts +0 -200
- package/src/server/context.ts +0 -90
- package/src/server/cookies.ts +0 -49
- package/src/server/core.ts +0 -2004
- package/src/server/crypto.ts +0 -90
- package/src/server/db.ts +0 -203
- package/src/server/device.ts +0 -254
- package/src/server/enterprise/config.ts +0 -51
- package/src/server/enterprise/domain.ts +0 -1739
- package/src/server/enterprise/http.ts +0 -1331
- package/src/server/enterprise/oidc.ts +0 -500
- package/src/server/enterprise/policy.ts +0 -128
- package/src/server/enterprise/saml.ts +0 -578
- package/src/server/enterprise/scim.ts +0 -135
- package/src/server/enterprise/shared.ts +0 -134
- package/src/server/enterprise/validators.ts +0 -93
- package/src/server/http.ts +0 -790
- package/src/server/identity.ts +0 -18
- package/src/server/index.ts +0 -40
- package/src/server/keys.ts +0 -158
- package/src/server/limits.ts +0 -107
- package/src/server/mounts.ts +0 -924
- package/src/server/mutations/account.ts +0 -62
- package/src/server/mutations/code.ts +0 -119
- package/src/server/mutations/index.ts +0 -13
- package/src/server/mutations/invalidate.ts +0 -50
- package/src/server/mutations/oauth.ts +0 -243
- package/src/server/mutations/refresh.ts +0 -299
- package/src/server/mutations/register.ts +0 -155
- package/src/server/mutations/retrieve.ts +0 -109
- package/src/server/mutations/signature.ts +0 -57
- package/src/server/mutations/signin.ts +0 -54
- package/src/server/mutations/signout.ts +0 -43
- package/src/server/mutations/store/refs.ts +0 -10
- package/src/server/mutations/store.ts +0 -123
- package/src/server/mutations/verifier.ts +0 -34
- package/src/server/mutations/verify.ts +0 -200
- package/src/server/oauth.ts +0 -418
- package/src/server/passkey.ts +0 -838
- package/src/server/redirects.ts +0 -59
- package/src/server/refresh.ts +0 -218
- package/src/server/runtime.ts +0 -918
- package/src/server/sessions.ts +0 -132
- package/src/server/signin.ts +0 -445
- package/src/server/ssr.ts +0 -1747
- package/src/server/templates.ts +0 -82
- package/src/server/tokens.ts +0 -35
- package/src/server/totp.ts +0 -399
- package/src/server/types.ts +0 -1942
- package/src/server/users.ts +0 -291
- package/src/server/utils.ts +0 -220
- /package/dist/{runtime → client/runtime}/invite.js +0 -0
|
@@ -115,1238 +115,142 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
115
115
|
deviceId: string;
|
|
116
116
|
lastPolledAt: number;
|
|
117
117
|
}, null, Name>;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
118
|
+
factors: {
|
|
119
|
+
devices: {
|
|
120
|
+
deviceAuthorize: FunctionReference<"mutation", "internal", {
|
|
121
|
+
deviceId: string;
|
|
122
|
+
sessionId: string;
|
|
123
|
+
userId: string;
|
|
124
|
+
}, null, Name>;
|
|
125
|
+
deviceDelete: FunctionReference<"mutation", "internal", {
|
|
126
|
+
deviceId: string;
|
|
127
|
+
}, null, Name>;
|
|
128
|
+
deviceGetByCodeHash: FunctionReference<"query", "internal", {
|
|
129
|
+
deviceCodeHash: string;
|
|
130
|
+
}, {
|
|
131
|
+
_creationTime: number;
|
|
132
|
+
_id: string;
|
|
133
|
+
deviceCodeHash: string;
|
|
134
|
+
expiresAt: number;
|
|
135
|
+
interval: number;
|
|
136
|
+
lastPolledAt?: number;
|
|
137
|
+
sessionId?: string;
|
|
138
|
+
status: "pending" | "authorized" | "denied";
|
|
139
|
+
userCode: string;
|
|
140
|
+
userId?: string;
|
|
141
|
+
} | null, Name>;
|
|
142
|
+
deviceGetByUserCode: FunctionReference<"query", "internal", {
|
|
143
|
+
userCode: string;
|
|
144
|
+
}, {
|
|
145
|
+
_creationTime: number;
|
|
146
|
+
_id: string;
|
|
147
|
+
deviceCodeHash: string;
|
|
148
|
+
expiresAt: number;
|
|
149
|
+
interval: number;
|
|
150
|
+
lastPolledAt?: number;
|
|
151
|
+
sessionId?: string;
|
|
152
|
+
status: "pending" | "authorized" | "denied";
|
|
153
|
+
userCode: string;
|
|
154
|
+
userId?: string;
|
|
155
|
+
} | null, Name>;
|
|
156
|
+
deviceInsert: FunctionReference<"mutation", "internal", {
|
|
157
|
+
deviceCodeHash: string;
|
|
158
|
+
expiresAt: number;
|
|
159
|
+
interval: number;
|
|
160
|
+
status: "pending" | "authorized" | "denied";
|
|
161
|
+
userCode: string;
|
|
133
162
|
}, string, Name>;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
163
|
+
deviceUpdateLastPolled: FunctionReference<"mutation", "internal", {
|
|
164
|
+
deviceId: string;
|
|
165
|
+
lastPolledAt: number;
|
|
166
|
+
}, null, Name>;
|
|
167
|
+
};
|
|
168
|
+
passkeys: {
|
|
169
|
+
passkeyDelete: FunctionReference<"mutation", "internal", {
|
|
170
|
+
passkeyId: string;
|
|
171
|
+
}, null, Name>;
|
|
172
|
+
passkeyGetByCredentialId: FunctionReference<"query", "internal", {
|
|
173
|
+
credentialId: string;
|
|
174
|
+
}, {
|
|
175
|
+
_creationTime: number;
|
|
176
|
+
_id: string;
|
|
177
|
+
algorithm: number;
|
|
178
|
+
backedUp: boolean;
|
|
179
|
+
counter: number;
|
|
180
|
+
createdAt: number;
|
|
181
|
+
credentialId: string;
|
|
182
|
+
deviceType: string;
|
|
183
|
+
lastUsedAt?: number;
|
|
184
|
+
name?: string;
|
|
185
|
+
publicKey: ArrayBuffer;
|
|
186
|
+
transports?: Array<string>;
|
|
187
|
+
userId: string;
|
|
188
|
+
} | null, Name>;
|
|
189
|
+
passkeyInsert: FunctionReference<"mutation", "internal", {
|
|
190
|
+
algorithm: number;
|
|
191
|
+
backedUp: boolean;
|
|
192
|
+
counter: number;
|
|
193
|
+
createdAt: number;
|
|
194
|
+
credentialId: string;
|
|
195
|
+
deviceType: string;
|
|
196
|
+
name?: string;
|
|
197
|
+
publicKey: ArrayBuffer;
|
|
198
|
+
transports?: Array<string>;
|
|
199
|
+
userId: string;
|
|
200
|
+
}, string, Name>;
|
|
201
|
+
passkeyListByUserId: FunctionReference<"query", "internal", {
|
|
202
|
+
userId: string;
|
|
138
203
|
}, Array<{
|
|
139
204
|
_creationTime: number;
|
|
140
205
|
_id: string;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
subjectType: string;
|
|
206
|
+
algorithm: number;
|
|
207
|
+
backedUp: boolean;
|
|
208
|
+
counter: number;
|
|
209
|
+
createdAt: number;
|
|
210
|
+
credentialId: string;
|
|
211
|
+
deviceType: string;
|
|
212
|
+
lastUsedAt?: number;
|
|
213
|
+
name?: string;
|
|
214
|
+
publicKey: ArrayBuffer;
|
|
215
|
+
transports?: Array<string>;
|
|
216
|
+
userId: string;
|
|
153
217
|
}>, Name>;
|
|
218
|
+
passkeyUpdateCounter: FunctionReference<"mutation", "internal", {
|
|
219
|
+
counter: number;
|
|
220
|
+
lastUsedAt: number;
|
|
221
|
+
passkeyId: string;
|
|
222
|
+
}, null, Name>;
|
|
223
|
+
passkeyUpdateMeta: FunctionReference<"mutation", "internal", {
|
|
224
|
+
data: any;
|
|
225
|
+
passkeyId: string;
|
|
226
|
+
}, null, Name>;
|
|
154
227
|
};
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
extend?: any;
|
|
159
|
-
groupId: string;
|
|
160
|
-
name?: string;
|
|
161
|
-
policy?: {
|
|
162
|
-
extend?: any;
|
|
163
|
-
identity: {
|
|
164
|
-
accountLinking: {
|
|
165
|
-
oidc: "verifiedEmail" | "none";
|
|
166
|
-
saml: "verifiedEmail" | "none";
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
provisioning: {
|
|
170
|
-
deprovision: {
|
|
171
|
-
mode: "soft" | "hard";
|
|
172
|
-
};
|
|
173
|
-
jit: {
|
|
174
|
-
defaultRole?: string;
|
|
175
|
-
defaultRoleIds?: Array<string>;
|
|
176
|
-
mode: "off" | "createUser" | "createUserAndMembership";
|
|
177
|
-
};
|
|
178
|
-
scimReuse: {
|
|
179
|
-
user: "externalId" | "none";
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
version: 1;
|
|
183
|
-
};
|
|
184
|
-
slug?: string;
|
|
185
|
-
status?: "draft" | "active" | "disabled";
|
|
186
|
-
}, string, Name>;
|
|
187
|
-
enterpriseDelete: FunctionReference<"mutation", "internal", {
|
|
188
|
-
enterpriseId: string;
|
|
228
|
+
totp: {
|
|
229
|
+
totpDelete: FunctionReference<"mutation", "internal", {
|
|
230
|
+
totpId: string;
|
|
189
231
|
}, null, Name>;
|
|
190
|
-
|
|
191
|
-
|
|
232
|
+
totpGetById: FunctionReference<"query", "internal", {
|
|
233
|
+
totpId: string;
|
|
192
234
|
}, {
|
|
193
235
|
_creationTime: number;
|
|
194
236
|
_id: string;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
237
|
+
createdAt: number;
|
|
238
|
+
digits: number;
|
|
239
|
+
lastUsedAt?: number;
|
|
198
240
|
name?: string;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
oidc: "verifiedEmail" | "none";
|
|
204
|
-
saml: "verifiedEmail" | "none";
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
provisioning: {
|
|
208
|
-
deprovision: {
|
|
209
|
-
mode: "soft" | "hard";
|
|
210
|
-
};
|
|
211
|
-
jit: {
|
|
212
|
-
defaultRole?: string;
|
|
213
|
-
defaultRoleIds?: Array<string>;
|
|
214
|
-
mode: "off" | "createUser" | "createUserAndMembership";
|
|
215
|
-
};
|
|
216
|
-
scimReuse: {
|
|
217
|
-
user: "externalId" | "none";
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
version: 1;
|
|
221
|
-
};
|
|
222
|
-
slug?: string;
|
|
223
|
-
status: "draft" | "active" | "disabled";
|
|
224
|
-
} | null, Name>;
|
|
225
|
-
enterpriseGetByDomain: FunctionReference<"query", "internal", {
|
|
226
|
-
domain: string;
|
|
227
|
-
}, {
|
|
228
|
-
domain: {
|
|
229
|
-
_creationTime: number;
|
|
230
|
-
_id: string;
|
|
231
|
-
domain: string;
|
|
232
|
-
enterpriseId: string;
|
|
233
|
-
groupId: string;
|
|
234
|
-
isPrimary: boolean;
|
|
235
|
-
verifiedAt?: number;
|
|
236
|
-
};
|
|
237
|
-
enterprise: {
|
|
238
|
-
_creationTime: number;
|
|
239
|
-
_id: string;
|
|
240
|
-
config?: any;
|
|
241
|
-
extend?: any;
|
|
242
|
-
groupId: string;
|
|
243
|
-
name?: string;
|
|
244
|
-
policy?: {
|
|
245
|
-
extend?: any;
|
|
246
|
-
identity: {
|
|
247
|
-
accountLinking: {
|
|
248
|
-
oidc: "verifiedEmail" | "none";
|
|
249
|
-
saml: "verifiedEmail" | "none";
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
provisioning: {
|
|
253
|
-
deprovision: {
|
|
254
|
-
mode: "soft" | "hard";
|
|
255
|
-
};
|
|
256
|
-
jit: {
|
|
257
|
-
defaultRole?: string;
|
|
258
|
-
defaultRoleIds?: Array<string>;
|
|
259
|
-
mode: "off" | "createUser" | "createUserAndMembership";
|
|
260
|
-
};
|
|
261
|
-
scimReuse: {
|
|
262
|
-
user: "externalId" | "none";
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
version: 1;
|
|
266
|
-
};
|
|
267
|
-
slug?: string;
|
|
268
|
-
status: "draft" | "active" | "disabled";
|
|
269
|
-
};
|
|
241
|
+
period: number;
|
|
242
|
+
secret: ArrayBuffer;
|
|
243
|
+
userId: string;
|
|
244
|
+
verified: boolean;
|
|
270
245
|
} | null, Name>;
|
|
271
|
-
|
|
272
|
-
|
|
246
|
+
totpGetVerifiedByUserId: FunctionReference<"query", "internal", {
|
|
247
|
+
userId: string;
|
|
273
248
|
}, {
|
|
274
249
|
_creationTime: number;
|
|
275
250
|
_id: string;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
name?: string;
|
|
280
|
-
policy?: {
|
|
281
|
-
extend?: any;
|
|
282
|
-
identity: {
|
|
283
|
-
accountLinking: {
|
|
284
|
-
oidc: "verifiedEmail" | "none";
|
|
285
|
-
saml: "verifiedEmail" | "none";
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
provisioning: {
|
|
289
|
-
deprovision: {
|
|
290
|
-
mode: "soft" | "hard";
|
|
291
|
-
};
|
|
292
|
-
jit: {
|
|
293
|
-
defaultRole?: string;
|
|
294
|
-
defaultRoleIds?: Array<string>;
|
|
295
|
-
mode: "off" | "createUser" | "createUserAndMembership";
|
|
296
|
-
};
|
|
297
|
-
scimReuse: {
|
|
298
|
-
user: "externalId" | "none";
|
|
299
|
-
};
|
|
300
|
-
};
|
|
301
|
-
version: 1;
|
|
302
|
-
};
|
|
303
|
-
slug?: string;
|
|
304
|
-
status: "draft" | "active" | "disabled";
|
|
305
|
-
} | null, Name>;
|
|
306
|
-
enterpriseList: FunctionReference<"query", "internal", {
|
|
307
|
-
cursor?: string | null;
|
|
308
|
-
limit?: number;
|
|
309
|
-
order?: "asc" | "desc";
|
|
310
|
-
orderBy?: "_creationTime" | "name" | "slug" | "status";
|
|
311
|
-
where?: {
|
|
312
|
-
groupId?: string;
|
|
313
|
-
slug?: string;
|
|
314
|
-
status?: "draft" | "active" | "disabled";
|
|
315
|
-
};
|
|
316
|
-
}, {
|
|
317
|
-
items: Array<{
|
|
318
|
-
_creationTime: number;
|
|
319
|
-
_id: string;
|
|
320
|
-
config?: any;
|
|
321
|
-
extend?: any;
|
|
322
|
-
groupId: string;
|
|
323
|
-
name?: string;
|
|
324
|
-
policy?: {
|
|
325
|
-
extend?: any;
|
|
326
|
-
identity: {
|
|
327
|
-
accountLinking: {
|
|
328
|
-
oidc: "verifiedEmail" | "none";
|
|
329
|
-
saml: "verifiedEmail" | "none";
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
provisioning: {
|
|
333
|
-
deprovision: {
|
|
334
|
-
mode: "soft" | "hard";
|
|
335
|
-
};
|
|
336
|
-
jit: {
|
|
337
|
-
defaultRole?: string;
|
|
338
|
-
defaultRoleIds?: Array<string>;
|
|
339
|
-
mode: "off" | "createUser" | "createUserAndMembership";
|
|
340
|
-
};
|
|
341
|
-
scimReuse: {
|
|
342
|
-
user: "externalId" | "none";
|
|
343
|
-
};
|
|
344
|
-
};
|
|
345
|
-
version: 1;
|
|
346
|
-
};
|
|
347
|
-
slug?: string;
|
|
348
|
-
status: "draft" | "active" | "disabled";
|
|
349
|
-
}>;
|
|
350
|
-
nextCursor: string | null;
|
|
351
|
-
}, Name>;
|
|
352
|
-
enterpriseUpdate: FunctionReference<"mutation", "internal", {
|
|
353
|
-
data: any;
|
|
354
|
-
enterpriseId: string;
|
|
355
|
-
}, null, Name>;
|
|
356
|
-
};
|
|
357
|
-
domains: {
|
|
358
|
-
enterpriseDomainAdd: FunctionReference<"mutation", "internal", {
|
|
359
|
-
domain: string;
|
|
360
|
-
enterpriseId: string;
|
|
361
|
-
groupId: string;
|
|
362
|
-
isPrimary?: boolean;
|
|
363
|
-
}, string, Name>;
|
|
364
|
-
enterpriseDomainDelete: FunctionReference<"mutation", "internal", {
|
|
365
|
-
domainId: string;
|
|
366
|
-
}, null, Name>;
|
|
367
|
-
enterpriseDomainList: FunctionReference<"query", "internal", {
|
|
368
|
-
enterpriseId: string;
|
|
369
|
-
}, Array<{
|
|
370
|
-
_creationTime: number;
|
|
371
|
-
_id: string;
|
|
372
|
-
domain: string;
|
|
373
|
-
enterpriseId: string;
|
|
374
|
-
groupId: string;
|
|
375
|
-
isPrimary: boolean;
|
|
376
|
-
verifiedAt?: number;
|
|
377
|
-
}>, Name>;
|
|
378
|
-
enterpriseDomainVerificationDelete: FunctionReference<"mutation", "internal", {
|
|
379
|
-
domainId: string;
|
|
380
|
-
}, null, Name>;
|
|
381
|
-
enterpriseDomainVerificationGet: FunctionReference<"query", "internal", {
|
|
382
|
-
domainId: string;
|
|
383
|
-
}, {
|
|
384
|
-
_creationTime: number;
|
|
385
|
-
_id: string;
|
|
386
|
-
domain: string;
|
|
387
|
-
domainId: string;
|
|
388
|
-
enterpriseId: string;
|
|
389
|
-
expiresAt: number;
|
|
390
|
-
groupId: string;
|
|
391
|
-
recordName: string;
|
|
392
|
-
requestedAt: number;
|
|
393
|
-
token: string;
|
|
394
|
-
tokenHash: string;
|
|
395
|
-
} | null, Name>;
|
|
396
|
-
enterpriseDomainVerificationUpsert: FunctionReference<"mutation", "internal", {
|
|
397
|
-
domain: string;
|
|
398
|
-
domainId: string;
|
|
399
|
-
enterpriseId: string;
|
|
400
|
-
expiresAt: number;
|
|
401
|
-
groupId: string;
|
|
402
|
-
recordName: string;
|
|
403
|
-
requestedAt: number;
|
|
404
|
-
token: string;
|
|
405
|
-
tokenHash: string;
|
|
406
|
-
}, string, Name>;
|
|
407
|
-
enterpriseDomainVerify: FunctionReference<"mutation", "internal", {
|
|
408
|
-
domainId: string;
|
|
409
|
-
verifiedAt: number;
|
|
410
|
-
}, {
|
|
411
|
-
_creationTime: number;
|
|
412
|
-
_id: string;
|
|
413
|
-
domain: string;
|
|
414
|
-
enterpriseId: string;
|
|
415
|
-
groupId: string;
|
|
416
|
-
isPrimary: boolean;
|
|
417
|
-
verifiedAt?: number;
|
|
418
|
-
}, Name>;
|
|
419
|
-
};
|
|
420
|
-
scim: {
|
|
421
|
-
enterpriseScimConfigGetByEnterprise: FunctionReference<"query", "internal", {
|
|
422
|
-
enterpriseId: string;
|
|
423
|
-
}, {
|
|
424
|
-
_creationTime: number;
|
|
425
|
-
_id: string;
|
|
426
|
-
basePath: string;
|
|
427
|
-
enterpriseId: string;
|
|
428
|
-
extend?: any;
|
|
429
|
-
groupId: string;
|
|
430
|
-
lastRotatedAt?: number;
|
|
431
|
-
status: "draft" | "active" | "disabled";
|
|
432
|
-
tokenHash: string;
|
|
433
|
-
} | null, Name>;
|
|
434
|
-
enterpriseScimConfigGetByTokenHash: FunctionReference<"query", "internal", {
|
|
435
|
-
tokenHash: string;
|
|
436
|
-
}, {
|
|
437
|
-
_creationTime: number;
|
|
438
|
-
_id: string;
|
|
439
|
-
basePath: string;
|
|
440
|
-
enterpriseId: string;
|
|
441
|
-
extend?: any;
|
|
442
|
-
groupId: string;
|
|
443
|
-
lastRotatedAt?: number;
|
|
444
|
-
status: "draft" | "active" | "disabled";
|
|
445
|
-
tokenHash: string;
|
|
446
|
-
} | null, Name>;
|
|
447
|
-
enterpriseScimConfigUpsert: FunctionReference<"mutation", "internal", {
|
|
448
|
-
basePath: string;
|
|
449
|
-
enterpriseId: string;
|
|
450
|
-
extend?: any;
|
|
451
|
-
groupId: string;
|
|
452
|
-
lastRotatedAt?: number;
|
|
453
|
-
status: "draft" | "active" | "disabled";
|
|
454
|
-
tokenHash: string;
|
|
455
|
-
}, string, Name>;
|
|
456
|
-
enterpriseScimIdentityDelete: FunctionReference<"mutation", "internal", {
|
|
457
|
-
identityId: string;
|
|
458
|
-
}, null, Name>;
|
|
459
|
-
enterpriseScimIdentityGet: FunctionReference<"query", "internal", {
|
|
460
|
-
enterpriseId: string;
|
|
461
|
-
externalId: string;
|
|
462
|
-
resourceType: "user" | "group";
|
|
463
|
-
}, {
|
|
464
|
-
_creationTime: number;
|
|
465
|
-
_id: string;
|
|
466
|
-
active?: boolean;
|
|
467
|
-
enterpriseId: string;
|
|
468
|
-
externalId: string;
|
|
469
|
-
groupId: string;
|
|
470
|
-
lastProvisionedAt?: number;
|
|
471
|
-
mappedGroupId?: string;
|
|
472
|
-
raw?: any;
|
|
473
|
-
resourceType: "user" | "group";
|
|
474
|
-
userId?: string;
|
|
475
|
-
} | null, Name>;
|
|
476
|
-
enterpriseScimIdentityGetByEnterpriseAndUser: FunctionReference<"query", "internal", {
|
|
477
|
-
enterpriseId: string;
|
|
478
|
-
userId: string;
|
|
479
|
-
}, {
|
|
480
|
-
_creationTime: number;
|
|
481
|
-
_id: string;
|
|
482
|
-
active?: boolean;
|
|
483
|
-
enterpriseId: string;
|
|
484
|
-
externalId: string;
|
|
485
|
-
groupId: string;
|
|
486
|
-
lastProvisionedAt?: number;
|
|
487
|
-
mappedGroupId?: string;
|
|
488
|
-
raw?: any;
|
|
489
|
-
resourceType: "user" | "group";
|
|
490
|
-
userId?: string;
|
|
491
|
-
} | null, Name>;
|
|
492
|
-
enterpriseScimIdentityGetByMappedGroup: FunctionReference<"query", "internal", {
|
|
493
|
-
mappedGroupId: string;
|
|
494
|
-
}, {
|
|
495
|
-
_creationTime: number;
|
|
496
|
-
_id: string;
|
|
497
|
-
active?: boolean;
|
|
498
|
-
enterpriseId: string;
|
|
499
|
-
externalId: string;
|
|
500
|
-
groupId: string;
|
|
501
|
-
lastProvisionedAt?: number;
|
|
502
|
-
mappedGroupId?: string;
|
|
503
|
-
raw?: any;
|
|
504
|
-
resourceType: "user" | "group";
|
|
505
|
-
userId?: string;
|
|
506
|
-
} | null, Name>;
|
|
507
|
-
enterpriseScimIdentityGetByUser: FunctionReference<"query", "internal", {
|
|
508
|
-
userId: string;
|
|
509
|
-
}, {
|
|
510
|
-
_creationTime: number;
|
|
511
|
-
_id: string;
|
|
512
|
-
active?: boolean;
|
|
513
|
-
enterpriseId: string;
|
|
514
|
-
externalId: string;
|
|
515
|
-
groupId: string;
|
|
516
|
-
lastProvisionedAt?: number;
|
|
517
|
-
mappedGroupId?: string;
|
|
518
|
-
raw?: any;
|
|
519
|
-
resourceType: "user" | "group";
|
|
520
|
-
userId?: string;
|
|
521
|
-
} | null, Name>;
|
|
522
|
-
enterpriseScimIdentityListByEnterprise: FunctionReference<"query", "internal", {
|
|
523
|
-
enterpriseId: string;
|
|
524
|
-
}, Array<{
|
|
525
|
-
_creationTime: number;
|
|
526
|
-
_id: string;
|
|
527
|
-
active?: boolean;
|
|
528
|
-
enterpriseId: string;
|
|
529
|
-
externalId: string;
|
|
530
|
-
groupId: string;
|
|
531
|
-
lastProvisionedAt?: number;
|
|
532
|
-
mappedGroupId?: string;
|
|
533
|
-
raw?: any;
|
|
534
|
-
resourceType: "user" | "group";
|
|
535
|
-
userId?: string;
|
|
536
|
-
}>, Name>;
|
|
537
|
-
enterpriseScimIdentityUpsert: FunctionReference<"mutation", "internal", {
|
|
538
|
-
active?: boolean;
|
|
539
|
-
enterpriseId: string;
|
|
540
|
-
externalId: string;
|
|
541
|
-
groupId: string;
|
|
542
|
-
lastProvisionedAt?: number;
|
|
543
|
-
mappedGroupId?: string;
|
|
544
|
-
raw?: any;
|
|
545
|
-
resourceType: "user" | "group";
|
|
546
|
-
userId?: string;
|
|
547
|
-
}, string, Name>;
|
|
548
|
-
};
|
|
549
|
-
secrets: {
|
|
550
|
-
enterpriseSecretDelete: FunctionReference<"mutation", "internal", {
|
|
551
|
-
enterpriseId: string;
|
|
552
|
-
kind: "oidc_client_secret";
|
|
553
|
-
}, null, Name>;
|
|
554
|
-
enterpriseSecretGet: FunctionReference<"query", "internal", {
|
|
555
|
-
enterpriseId: string;
|
|
556
|
-
kind: "oidc_client_secret";
|
|
557
|
-
}, {
|
|
558
|
-
_creationTime: number;
|
|
559
|
-
_id: string;
|
|
560
|
-
ciphertext: string;
|
|
561
|
-
enterpriseId: string;
|
|
562
|
-
groupId: string;
|
|
563
|
-
kind: "oidc_client_secret";
|
|
564
|
-
updatedAt: number;
|
|
565
|
-
} | null, Name>;
|
|
566
|
-
enterpriseSecretUpsert: FunctionReference<"mutation", "internal", {
|
|
567
|
-
ciphertext: string;
|
|
568
|
-
enterpriseId: string;
|
|
569
|
-
groupId: string;
|
|
570
|
-
kind: "oidc_client_secret";
|
|
571
|
-
updatedAt: number;
|
|
572
|
-
}, string, Name>;
|
|
573
|
-
};
|
|
574
|
-
webhooks: {
|
|
575
|
-
enterpriseWebhookDeliveryEnqueue: FunctionReference<"mutation", "internal", {
|
|
576
|
-
auditEventId?: string;
|
|
577
|
-
endpointId: string;
|
|
578
|
-
enterpriseId: string;
|
|
579
|
-
eventType: string;
|
|
580
|
-
nextAttemptAt: number;
|
|
581
|
-
payload: any;
|
|
582
|
-
}, string, Name>;
|
|
583
|
-
enterpriseWebhookDeliveryList: FunctionReference<"query", "internal", {
|
|
584
|
-
enterpriseId: string;
|
|
585
|
-
limit?: number;
|
|
586
|
-
}, Array<{
|
|
587
|
-
_creationTime: number;
|
|
588
|
-
_id: string;
|
|
589
|
-
attemptCount: number;
|
|
590
|
-
auditEventId?: string;
|
|
591
|
-
endpointId: string;
|
|
592
|
-
enterpriseId: string;
|
|
593
|
-
eventType: string;
|
|
594
|
-
lastAttemptAt?: number;
|
|
595
|
-
lastError?: string;
|
|
596
|
-
lastResponseStatus?: number;
|
|
597
|
-
nextAttemptAt: number;
|
|
598
|
-
payload: any;
|
|
599
|
-
status: "pending" | "processing" | "delivered" | "failed";
|
|
600
|
-
}>, Name>;
|
|
601
|
-
enterpriseWebhookDeliveryListReady: FunctionReference<"query", "internal", {
|
|
602
|
-
limit?: number;
|
|
603
|
-
now: number;
|
|
604
|
-
}, Array<{
|
|
605
|
-
_creationTime: number;
|
|
606
|
-
_id: string;
|
|
607
|
-
attemptCount: number;
|
|
608
|
-
auditEventId?: string;
|
|
609
|
-
endpointId: string;
|
|
610
|
-
enterpriseId: string;
|
|
611
|
-
eventType: string;
|
|
612
|
-
lastAttemptAt?: number;
|
|
613
|
-
lastError?: string;
|
|
614
|
-
lastResponseStatus?: number;
|
|
615
|
-
nextAttemptAt: number;
|
|
616
|
-
payload: any;
|
|
617
|
-
status: "pending" | "processing" | "delivered" | "failed";
|
|
618
|
-
}>, Name>;
|
|
619
|
-
enterpriseWebhookDeliveryPatch: FunctionReference<"mutation", "internal", {
|
|
620
|
-
data: any;
|
|
621
|
-
deliveryId: string;
|
|
622
|
-
}, null, Name>;
|
|
623
|
-
enterpriseWebhookEndpointCreate: FunctionReference<"mutation", "internal", {
|
|
624
|
-
createdByUserId?: string;
|
|
625
|
-
enterpriseId: string;
|
|
626
|
-
extend?: any;
|
|
627
|
-
groupId: string;
|
|
628
|
-
secretHash: string;
|
|
629
|
-
status?: "active" | "disabled";
|
|
630
|
-
subscriptions: Array<string>;
|
|
631
|
-
url: string;
|
|
632
|
-
}, string, Name>;
|
|
633
|
-
enterpriseWebhookEndpointGet: FunctionReference<"query", "internal", {
|
|
634
|
-
endpointId: string;
|
|
635
|
-
}, {
|
|
636
|
-
_creationTime: number;
|
|
637
|
-
_id: string;
|
|
638
|
-
createdByUserId?: string;
|
|
639
|
-
enterpriseId: string;
|
|
640
|
-
extend?: any;
|
|
641
|
-
failureCount: number;
|
|
642
|
-
groupId: string;
|
|
643
|
-
lastFailureAt?: number;
|
|
644
|
-
lastSuccessAt?: number;
|
|
645
|
-
secretHash: string;
|
|
646
|
-
status: "active" | "disabled";
|
|
647
|
-
subscriptions: Array<string>;
|
|
648
|
-
url: string;
|
|
649
|
-
} | null, Name>;
|
|
650
|
-
enterpriseWebhookEndpointList: FunctionReference<"query", "internal", {
|
|
651
|
-
enterpriseId: string;
|
|
652
|
-
}, Array<{
|
|
653
|
-
_creationTime: number;
|
|
654
|
-
_id: string;
|
|
655
|
-
createdByUserId?: string;
|
|
656
|
-
enterpriseId: string;
|
|
657
|
-
extend?: any;
|
|
658
|
-
failureCount: number;
|
|
659
|
-
groupId: string;
|
|
660
|
-
lastFailureAt?: number;
|
|
661
|
-
lastSuccessAt?: number;
|
|
662
|
-
secretHash: string;
|
|
663
|
-
status: "active" | "disabled";
|
|
664
|
-
subscriptions: Array<string>;
|
|
665
|
-
url: string;
|
|
666
|
-
}>, Name>;
|
|
667
|
-
enterpriseWebhookEndpointUpdate: FunctionReference<"mutation", "internal", {
|
|
668
|
-
data: any;
|
|
669
|
-
endpointId: string;
|
|
670
|
-
}, null, Name>;
|
|
671
|
-
};
|
|
672
|
-
};
|
|
673
|
-
enterpriseAuditEventCreate: FunctionReference<"mutation", "internal", {
|
|
674
|
-
actorId?: string;
|
|
675
|
-
actorType: "user" | "system" | "scim" | "api_key" | "webhook";
|
|
676
|
-
enterpriseId: string;
|
|
677
|
-
eventType: string;
|
|
678
|
-
groupId: string;
|
|
679
|
-
ip?: string;
|
|
680
|
-
metadata?: any;
|
|
681
|
-
occurredAt: number;
|
|
682
|
-
requestId?: string;
|
|
683
|
-
status: "success" | "failure";
|
|
684
|
-
subjectId?: string;
|
|
685
|
-
subjectType: string;
|
|
686
|
-
}, string, Name>;
|
|
687
|
-
enterpriseAuditEventList: FunctionReference<"query", "internal", {
|
|
688
|
-
enterpriseId?: string;
|
|
689
|
-
groupId?: string;
|
|
690
|
-
limit?: number;
|
|
691
|
-
}, Array<{
|
|
692
|
-
_creationTime: number;
|
|
693
|
-
_id: string;
|
|
694
|
-
actorId?: string;
|
|
695
|
-
actorType: "user" | "system" | "scim" | "api_key" | "webhook";
|
|
696
|
-
enterpriseId: string;
|
|
697
|
-
eventType: string;
|
|
698
|
-
groupId: string;
|
|
699
|
-
ip?: string;
|
|
700
|
-
metadata?: any;
|
|
701
|
-
occurredAt: number;
|
|
702
|
-
requestId?: string;
|
|
703
|
-
status: "success" | "failure";
|
|
704
|
-
subjectId?: string;
|
|
705
|
-
subjectType: string;
|
|
706
|
-
}>, Name>;
|
|
707
|
-
enterpriseCreate: FunctionReference<"mutation", "internal", {
|
|
708
|
-
config?: any;
|
|
709
|
-
extend?: any;
|
|
710
|
-
groupId: string;
|
|
711
|
-
name?: string;
|
|
712
|
-
policy?: {
|
|
713
|
-
extend?: any;
|
|
714
|
-
identity: {
|
|
715
|
-
accountLinking: {
|
|
716
|
-
oidc: "verifiedEmail" | "none";
|
|
717
|
-
saml: "verifiedEmail" | "none";
|
|
718
|
-
};
|
|
719
|
-
};
|
|
720
|
-
provisioning: {
|
|
721
|
-
deprovision: {
|
|
722
|
-
mode: "soft" | "hard";
|
|
723
|
-
};
|
|
724
|
-
jit: {
|
|
725
|
-
defaultRole?: string;
|
|
726
|
-
defaultRoleIds?: Array<string>;
|
|
727
|
-
mode: "off" | "createUser" | "createUserAndMembership";
|
|
728
|
-
};
|
|
729
|
-
scimReuse: {
|
|
730
|
-
user: "externalId" | "none";
|
|
731
|
-
};
|
|
732
|
-
};
|
|
733
|
-
version: 1;
|
|
734
|
-
};
|
|
735
|
-
slug?: string;
|
|
736
|
-
status?: "draft" | "active" | "disabled";
|
|
737
|
-
}, string, Name>;
|
|
738
|
-
enterpriseDelete: FunctionReference<"mutation", "internal", {
|
|
739
|
-
enterpriseId: string;
|
|
740
|
-
}, null, Name>;
|
|
741
|
-
enterpriseDomainAdd: FunctionReference<"mutation", "internal", {
|
|
742
|
-
domain: string;
|
|
743
|
-
enterpriseId: string;
|
|
744
|
-
groupId: string;
|
|
745
|
-
isPrimary?: boolean;
|
|
746
|
-
}, string, Name>;
|
|
747
|
-
enterpriseDomainDelete: FunctionReference<"mutation", "internal", {
|
|
748
|
-
domainId: string;
|
|
749
|
-
}, null, Name>;
|
|
750
|
-
enterpriseDomainList: FunctionReference<"query", "internal", {
|
|
751
|
-
enterpriseId: string;
|
|
752
|
-
}, Array<{
|
|
753
|
-
_creationTime: number;
|
|
754
|
-
_id: string;
|
|
755
|
-
domain: string;
|
|
756
|
-
enterpriseId: string;
|
|
757
|
-
groupId: string;
|
|
758
|
-
isPrimary: boolean;
|
|
759
|
-
verifiedAt?: number;
|
|
760
|
-
}>, Name>;
|
|
761
|
-
enterpriseDomainVerificationDelete: FunctionReference<"mutation", "internal", {
|
|
762
|
-
domainId: string;
|
|
763
|
-
}, null, Name>;
|
|
764
|
-
enterpriseDomainVerificationGet: FunctionReference<"query", "internal", {
|
|
765
|
-
domainId: string;
|
|
766
|
-
}, {
|
|
767
|
-
_creationTime: number;
|
|
768
|
-
_id: string;
|
|
769
|
-
domain: string;
|
|
770
|
-
domainId: string;
|
|
771
|
-
enterpriseId: string;
|
|
772
|
-
expiresAt: number;
|
|
773
|
-
groupId: string;
|
|
774
|
-
recordName: string;
|
|
775
|
-
requestedAt: number;
|
|
776
|
-
token: string;
|
|
777
|
-
tokenHash: string;
|
|
778
|
-
} | null, Name>;
|
|
779
|
-
enterpriseDomainVerificationUpsert: FunctionReference<"mutation", "internal", {
|
|
780
|
-
domain: string;
|
|
781
|
-
domainId: string;
|
|
782
|
-
enterpriseId: string;
|
|
783
|
-
expiresAt: number;
|
|
784
|
-
groupId: string;
|
|
785
|
-
recordName: string;
|
|
786
|
-
requestedAt: number;
|
|
787
|
-
token: string;
|
|
788
|
-
tokenHash: string;
|
|
789
|
-
}, string, Name>;
|
|
790
|
-
enterpriseDomainVerify: FunctionReference<"mutation", "internal", {
|
|
791
|
-
domainId: string;
|
|
792
|
-
verifiedAt: number;
|
|
793
|
-
}, {
|
|
794
|
-
_creationTime: number;
|
|
795
|
-
_id: string;
|
|
796
|
-
domain: string;
|
|
797
|
-
enterpriseId: string;
|
|
798
|
-
groupId: string;
|
|
799
|
-
isPrimary: boolean;
|
|
800
|
-
verifiedAt?: number;
|
|
801
|
-
}, Name>;
|
|
802
|
-
enterpriseGet: FunctionReference<"query", "internal", {
|
|
803
|
-
enterpriseId: string;
|
|
804
|
-
}, {
|
|
805
|
-
_creationTime: number;
|
|
806
|
-
_id: string;
|
|
807
|
-
config?: any;
|
|
808
|
-
extend?: any;
|
|
809
|
-
groupId: string;
|
|
810
|
-
name?: string;
|
|
811
|
-
policy?: {
|
|
812
|
-
extend?: any;
|
|
813
|
-
identity: {
|
|
814
|
-
accountLinking: {
|
|
815
|
-
oidc: "verifiedEmail" | "none";
|
|
816
|
-
saml: "verifiedEmail" | "none";
|
|
817
|
-
};
|
|
818
|
-
};
|
|
819
|
-
provisioning: {
|
|
820
|
-
deprovision: {
|
|
821
|
-
mode: "soft" | "hard";
|
|
822
|
-
};
|
|
823
|
-
jit: {
|
|
824
|
-
defaultRole?: string;
|
|
825
|
-
defaultRoleIds?: Array<string>;
|
|
826
|
-
mode: "off" | "createUser" | "createUserAndMembership";
|
|
827
|
-
};
|
|
828
|
-
scimReuse: {
|
|
829
|
-
user: "externalId" | "none";
|
|
830
|
-
};
|
|
831
|
-
};
|
|
832
|
-
version: 1;
|
|
833
|
-
};
|
|
834
|
-
slug?: string;
|
|
835
|
-
status: "draft" | "active" | "disabled";
|
|
836
|
-
} | null, Name>;
|
|
837
|
-
enterpriseGetByDomain: FunctionReference<"query", "internal", {
|
|
838
|
-
domain: string;
|
|
839
|
-
}, {
|
|
840
|
-
domain: {
|
|
841
|
-
_creationTime: number;
|
|
842
|
-
_id: string;
|
|
843
|
-
domain: string;
|
|
844
|
-
enterpriseId: string;
|
|
845
|
-
groupId: string;
|
|
846
|
-
isPrimary: boolean;
|
|
847
|
-
verifiedAt?: number;
|
|
848
|
-
};
|
|
849
|
-
enterprise: {
|
|
850
|
-
_creationTime: number;
|
|
851
|
-
_id: string;
|
|
852
|
-
config?: any;
|
|
853
|
-
extend?: any;
|
|
854
|
-
groupId: string;
|
|
855
|
-
name?: string;
|
|
856
|
-
policy?: {
|
|
857
|
-
extend?: any;
|
|
858
|
-
identity: {
|
|
859
|
-
accountLinking: {
|
|
860
|
-
oidc: "verifiedEmail" | "none";
|
|
861
|
-
saml: "verifiedEmail" | "none";
|
|
862
|
-
};
|
|
863
|
-
};
|
|
864
|
-
provisioning: {
|
|
865
|
-
deprovision: {
|
|
866
|
-
mode: "soft" | "hard";
|
|
867
|
-
};
|
|
868
|
-
jit: {
|
|
869
|
-
defaultRole?: string;
|
|
870
|
-
defaultRoleIds?: Array<string>;
|
|
871
|
-
mode: "off" | "createUser" | "createUserAndMembership";
|
|
872
|
-
};
|
|
873
|
-
scimReuse: {
|
|
874
|
-
user: "externalId" | "none";
|
|
875
|
-
};
|
|
876
|
-
};
|
|
877
|
-
version: 1;
|
|
878
|
-
};
|
|
879
|
-
slug?: string;
|
|
880
|
-
status: "draft" | "active" | "disabled";
|
|
881
|
-
};
|
|
882
|
-
} | null, Name>;
|
|
883
|
-
enterpriseGetByGroup: FunctionReference<"query", "internal", {
|
|
884
|
-
groupId: string;
|
|
885
|
-
}, {
|
|
886
|
-
_creationTime: number;
|
|
887
|
-
_id: string;
|
|
888
|
-
config?: any;
|
|
889
|
-
extend?: any;
|
|
890
|
-
groupId: string;
|
|
891
|
-
name?: string;
|
|
892
|
-
policy?: {
|
|
893
|
-
extend?: any;
|
|
894
|
-
identity: {
|
|
895
|
-
accountLinking: {
|
|
896
|
-
oidc: "verifiedEmail" | "none";
|
|
897
|
-
saml: "verifiedEmail" | "none";
|
|
898
|
-
};
|
|
899
|
-
};
|
|
900
|
-
provisioning: {
|
|
901
|
-
deprovision: {
|
|
902
|
-
mode: "soft" | "hard";
|
|
903
|
-
};
|
|
904
|
-
jit: {
|
|
905
|
-
defaultRole?: string;
|
|
906
|
-
defaultRoleIds?: Array<string>;
|
|
907
|
-
mode: "off" | "createUser" | "createUserAndMembership";
|
|
908
|
-
};
|
|
909
|
-
scimReuse: {
|
|
910
|
-
user: "externalId" | "none";
|
|
911
|
-
};
|
|
912
|
-
};
|
|
913
|
-
version: 1;
|
|
914
|
-
};
|
|
915
|
-
slug?: string;
|
|
916
|
-
status: "draft" | "active" | "disabled";
|
|
917
|
-
} | null, Name>;
|
|
918
|
-
enterpriseList: FunctionReference<"query", "internal", {
|
|
919
|
-
cursor?: string | null;
|
|
920
|
-
limit?: number;
|
|
921
|
-
order?: "asc" | "desc";
|
|
922
|
-
orderBy?: "_creationTime" | "name" | "slug" | "status";
|
|
923
|
-
where?: {
|
|
924
|
-
groupId?: string;
|
|
925
|
-
slug?: string;
|
|
926
|
-
status?: "draft" | "active" | "disabled";
|
|
927
|
-
};
|
|
928
|
-
}, {
|
|
929
|
-
items: Array<{
|
|
930
|
-
_creationTime: number;
|
|
931
|
-
_id: string;
|
|
932
|
-
config?: any;
|
|
933
|
-
extend?: any;
|
|
934
|
-
groupId: string;
|
|
935
|
-
name?: string;
|
|
936
|
-
policy?: {
|
|
937
|
-
extend?: any;
|
|
938
|
-
identity: {
|
|
939
|
-
accountLinking: {
|
|
940
|
-
oidc: "verifiedEmail" | "none";
|
|
941
|
-
saml: "verifiedEmail" | "none";
|
|
942
|
-
};
|
|
943
|
-
};
|
|
944
|
-
provisioning: {
|
|
945
|
-
deprovision: {
|
|
946
|
-
mode: "soft" | "hard";
|
|
947
|
-
};
|
|
948
|
-
jit: {
|
|
949
|
-
defaultRole?: string;
|
|
950
|
-
defaultRoleIds?: Array<string>;
|
|
951
|
-
mode: "off" | "createUser" | "createUserAndMembership";
|
|
952
|
-
};
|
|
953
|
-
scimReuse: {
|
|
954
|
-
user: "externalId" | "none";
|
|
955
|
-
};
|
|
956
|
-
};
|
|
957
|
-
version: 1;
|
|
958
|
-
};
|
|
959
|
-
slug?: string;
|
|
960
|
-
status: "draft" | "active" | "disabled";
|
|
961
|
-
}>;
|
|
962
|
-
nextCursor: string | null;
|
|
963
|
-
}, Name>;
|
|
964
|
-
enterpriseScimConfigGetByEnterprise: FunctionReference<"query", "internal", {
|
|
965
|
-
enterpriseId: string;
|
|
966
|
-
}, {
|
|
967
|
-
_creationTime: number;
|
|
968
|
-
_id: string;
|
|
969
|
-
basePath: string;
|
|
970
|
-
enterpriseId: string;
|
|
971
|
-
extend?: any;
|
|
972
|
-
groupId: string;
|
|
973
|
-
lastRotatedAt?: number;
|
|
974
|
-
status: "draft" | "active" | "disabled";
|
|
975
|
-
tokenHash: string;
|
|
976
|
-
} | null, Name>;
|
|
977
|
-
enterpriseScimConfigGetByTokenHash: FunctionReference<"query", "internal", {
|
|
978
|
-
tokenHash: string;
|
|
979
|
-
}, {
|
|
980
|
-
_creationTime: number;
|
|
981
|
-
_id: string;
|
|
982
|
-
basePath: string;
|
|
983
|
-
enterpriseId: string;
|
|
984
|
-
extend?: any;
|
|
985
|
-
groupId: string;
|
|
986
|
-
lastRotatedAt?: number;
|
|
987
|
-
status: "draft" | "active" | "disabled";
|
|
988
|
-
tokenHash: string;
|
|
989
|
-
} | null, Name>;
|
|
990
|
-
enterpriseScimConfigUpsert: FunctionReference<"mutation", "internal", {
|
|
991
|
-
basePath: string;
|
|
992
|
-
enterpriseId: string;
|
|
993
|
-
extend?: any;
|
|
994
|
-
groupId: string;
|
|
995
|
-
lastRotatedAt?: number;
|
|
996
|
-
status: "draft" | "active" | "disabled";
|
|
997
|
-
tokenHash: string;
|
|
998
|
-
}, string, Name>;
|
|
999
|
-
enterpriseScimIdentityDelete: FunctionReference<"mutation", "internal", {
|
|
1000
|
-
identityId: string;
|
|
1001
|
-
}, null, Name>;
|
|
1002
|
-
enterpriseScimIdentityGet: FunctionReference<"query", "internal", {
|
|
1003
|
-
enterpriseId: string;
|
|
1004
|
-
externalId: string;
|
|
1005
|
-
resourceType: "user" | "group";
|
|
1006
|
-
}, {
|
|
1007
|
-
_creationTime: number;
|
|
1008
|
-
_id: string;
|
|
1009
|
-
active?: boolean;
|
|
1010
|
-
enterpriseId: string;
|
|
1011
|
-
externalId: string;
|
|
1012
|
-
groupId: string;
|
|
1013
|
-
lastProvisionedAt?: number;
|
|
1014
|
-
mappedGroupId?: string;
|
|
1015
|
-
raw?: any;
|
|
1016
|
-
resourceType: "user" | "group";
|
|
1017
|
-
userId?: string;
|
|
1018
|
-
} | null, Name>;
|
|
1019
|
-
enterpriseScimIdentityGetByEnterpriseAndUser: FunctionReference<"query", "internal", {
|
|
1020
|
-
enterpriseId: string;
|
|
1021
|
-
userId: string;
|
|
1022
|
-
}, {
|
|
1023
|
-
_creationTime: number;
|
|
1024
|
-
_id: string;
|
|
1025
|
-
active?: boolean;
|
|
1026
|
-
enterpriseId: string;
|
|
1027
|
-
externalId: string;
|
|
1028
|
-
groupId: string;
|
|
1029
|
-
lastProvisionedAt?: number;
|
|
1030
|
-
mappedGroupId?: string;
|
|
1031
|
-
raw?: any;
|
|
1032
|
-
resourceType: "user" | "group";
|
|
1033
|
-
userId?: string;
|
|
1034
|
-
} | null, Name>;
|
|
1035
|
-
enterpriseScimIdentityGetByMappedGroup: FunctionReference<"query", "internal", {
|
|
1036
|
-
mappedGroupId: string;
|
|
1037
|
-
}, {
|
|
1038
|
-
_creationTime: number;
|
|
1039
|
-
_id: string;
|
|
1040
|
-
active?: boolean;
|
|
1041
|
-
enterpriseId: string;
|
|
1042
|
-
externalId: string;
|
|
1043
|
-
groupId: string;
|
|
1044
|
-
lastProvisionedAt?: number;
|
|
1045
|
-
mappedGroupId?: string;
|
|
1046
|
-
raw?: any;
|
|
1047
|
-
resourceType: "user" | "group";
|
|
1048
|
-
userId?: string;
|
|
1049
|
-
} | null, Name>;
|
|
1050
|
-
enterpriseScimIdentityGetByUser: FunctionReference<"query", "internal", {
|
|
1051
|
-
userId: string;
|
|
1052
|
-
}, {
|
|
1053
|
-
_creationTime: number;
|
|
1054
|
-
_id: string;
|
|
1055
|
-
active?: boolean;
|
|
1056
|
-
enterpriseId: string;
|
|
1057
|
-
externalId: string;
|
|
1058
|
-
groupId: string;
|
|
1059
|
-
lastProvisionedAt?: number;
|
|
1060
|
-
mappedGroupId?: string;
|
|
1061
|
-
raw?: any;
|
|
1062
|
-
resourceType: "user" | "group";
|
|
1063
|
-
userId?: string;
|
|
1064
|
-
} | null, Name>;
|
|
1065
|
-
enterpriseScimIdentityListByEnterprise: FunctionReference<"query", "internal", {
|
|
1066
|
-
enterpriseId: string;
|
|
1067
|
-
}, Array<{
|
|
1068
|
-
_creationTime: number;
|
|
1069
|
-
_id: string;
|
|
1070
|
-
active?: boolean;
|
|
1071
|
-
enterpriseId: string;
|
|
1072
|
-
externalId: string;
|
|
1073
|
-
groupId: string;
|
|
1074
|
-
lastProvisionedAt?: number;
|
|
1075
|
-
mappedGroupId?: string;
|
|
1076
|
-
raw?: any;
|
|
1077
|
-
resourceType: "user" | "group";
|
|
1078
|
-
userId?: string;
|
|
1079
|
-
}>, Name>;
|
|
1080
|
-
enterpriseScimIdentityUpsert: FunctionReference<"mutation", "internal", {
|
|
1081
|
-
active?: boolean;
|
|
1082
|
-
enterpriseId: string;
|
|
1083
|
-
externalId: string;
|
|
1084
|
-
groupId: string;
|
|
1085
|
-
lastProvisionedAt?: number;
|
|
1086
|
-
mappedGroupId?: string;
|
|
1087
|
-
raw?: any;
|
|
1088
|
-
resourceType: "user" | "group";
|
|
1089
|
-
userId?: string;
|
|
1090
|
-
}, string, Name>;
|
|
1091
|
-
enterpriseSecretDelete: FunctionReference<"mutation", "internal", {
|
|
1092
|
-
enterpriseId: string;
|
|
1093
|
-
kind: "oidc_client_secret";
|
|
1094
|
-
}, null, Name>;
|
|
1095
|
-
enterpriseSecretGet: FunctionReference<"query", "internal", {
|
|
1096
|
-
enterpriseId: string;
|
|
1097
|
-
kind: "oidc_client_secret";
|
|
1098
|
-
}, {
|
|
1099
|
-
_creationTime: number;
|
|
1100
|
-
_id: string;
|
|
1101
|
-
ciphertext: string;
|
|
1102
|
-
enterpriseId: string;
|
|
1103
|
-
groupId: string;
|
|
1104
|
-
kind: "oidc_client_secret";
|
|
1105
|
-
updatedAt: number;
|
|
1106
|
-
} | null, Name>;
|
|
1107
|
-
enterpriseSecretUpsert: FunctionReference<"mutation", "internal", {
|
|
1108
|
-
ciphertext: string;
|
|
1109
|
-
enterpriseId: string;
|
|
1110
|
-
groupId: string;
|
|
1111
|
-
kind: "oidc_client_secret";
|
|
1112
|
-
updatedAt: number;
|
|
1113
|
-
}, string, Name>;
|
|
1114
|
-
enterpriseUpdate: FunctionReference<"mutation", "internal", {
|
|
1115
|
-
data: any;
|
|
1116
|
-
enterpriseId: string;
|
|
1117
|
-
}, null, Name>;
|
|
1118
|
-
enterpriseWebhookDeliveryEnqueue: FunctionReference<"mutation", "internal", {
|
|
1119
|
-
auditEventId?: string;
|
|
1120
|
-
endpointId: string;
|
|
1121
|
-
enterpriseId: string;
|
|
1122
|
-
eventType: string;
|
|
1123
|
-
nextAttemptAt: number;
|
|
1124
|
-
payload: any;
|
|
1125
|
-
}, string, Name>;
|
|
1126
|
-
enterpriseWebhookDeliveryList: FunctionReference<"query", "internal", {
|
|
1127
|
-
enterpriseId: string;
|
|
1128
|
-
limit?: number;
|
|
1129
|
-
}, Array<{
|
|
1130
|
-
_creationTime: number;
|
|
1131
|
-
_id: string;
|
|
1132
|
-
attemptCount: number;
|
|
1133
|
-
auditEventId?: string;
|
|
1134
|
-
endpointId: string;
|
|
1135
|
-
enterpriseId: string;
|
|
1136
|
-
eventType: string;
|
|
1137
|
-
lastAttemptAt?: number;
|
|
1138
|
-
lastError?: string;
|
|
1139
|
-
lastResponseStatus?: number;
|
|
1140
|
-
nextAttemptAt: number;
|
|
1141
|
-
payload: any;
|
|
1142
|
-
status: "pending" | "processing" | "delivered" | "failed";
|
|
1143
|
-
}>, Name>;
|
|
1144
|
-
enterpriseWebhookDeliveryListReady: FunctionReference<"query", "internal", {
|
|
1145
|
-
limit?: number;
|
|
1146
|
-
now: number;
|
|
1147
|
-
}, Array<{
|
|
1148
|
-
_creationTime: number;
|
|
1149
|
-
_id: string;
|
|
1150
|
-
attemptCount: number;
|
|
1151
|
-
auditEventId?: string;
|
|
1152
|
-
endpointId: string;
|
|
1153
|
-
enterpriseId: string;
|
|
1154
|
-
eventType: string;
|
|
1155
|
-
lastAttemptAt?: number;
|
|
1156
|
-
lastError?: string;
|
|
1157
|
-
lastResponseStatus?: number;
|
|
1158
|
-
nextAttemptAt: number;
|
|
1159
|
-
payload: any;
|
|
1160
|
-
status: "pending" | "processing" | "delivered" | "failed";
|
|
1161
|
-
}>, Name>;
|
|
1162
|
-
enterpriseWebhookDeliveryPatch: FunctionReference<"mutation", "internal", {
|
|
1163
|
-
data: any;
|
|
1164
|
-
deliveryId: string;
|
|
1165
|
-
}, null, Name>;
|
|
1166
|
-
enterpriseWebhookEndpointCreate: FunctionReference<"mutation", "internal", {
|
|
1167
|
-
createdByUserId?: string;
|
|
1168
|
-
enterpriseId: string;
|
|
1169
|
-
extend?: any;
|
|
1170
|
-
groupId: string;
|
|
1171
|
-
secretHash: string;
|
|
1172
|
-
status?: "active" | "disabled";
|
|
1173
|
-
subscriptions: Array<string>;
|
|
1174
|
-
url: string;
|
|
1175
|
-
}, string, Name>;
|
|
1176
|
-
enterpriseWebhookEndpointGet: FunctionReference<"query", "internal", {
|
|
1177
|
-
endpointId: string;
|
|
1178
|
-
}, {
|
|
1179
|
-
_creationTime: number;
|
|
1180
|
-
_id: string;
|
|
1181
|
-
createdByUserId?: string;
|
|
1182
|
-
enterpriseId: string;
|
|
1183
|
-
extend?: any;
|
|
1184
|
-
failureCount: number;
|
|
1185
|
-
groupId: string;
|
|
1186
|
-
lastFailureAt?: number;
|
|
1187
|
-
lastSuccessAt?: number;
|
|
1188
|
-
secretHash: string;
|
|
1189
|
-
status: "active" | "disabled";
|
|
1190
|
-
subscriptions: Array<string>;
|
|
1191
|
-
url: string;
|
|
1192
|
-
} | null, Name>;
|
|
1193
|
-
enterpriseWebhookEndpointList: FunctionReference<"query", "internal", {
|
|
1194
|
-
enterpriseId: string;
|
|
1195
|
-
}, Array<{
|
|
1196
|
-
_creationTime: number;
|
|
1197
|
-
_id: string;
|
|
1198
|
-
createdByUserId?: string;
|
|
1199
|
-
enterpriseId: string;
|
|
1200
|
-
extend?: any;
|
|
1201
|
-
failureCount: number;
|
|
1202
|
-
groupId: string;
|
|
1203
|
-
lastFailureAt?: number;
|
|
1204
|
-
lastSuccessAt?: number;
|
|
1205
|
-
secretHash: string;
|
|
1206
|
-
status: "active" | "disabled";
|
|
1207
|
-
subscriptions: Array<string>;
|
|
1208
|
-
url: string;
|
|
1209
|
-
}>, Name>;
|
|
1210
|
-
enterpriseWebhookEndpointUpdate: FunctionReference<"mutation", "internal", {
|
|
1211
|
-
data: any;
|
|
1212
|
-
endpointId: string;
|
|
1213
|
-
}, null, Name>;
|
|
1214
|
-
factors: {
|
|
1215
|
-
devices: {
|
|
1216
|
-
deviceAuthorize: FunctionReference<"mutation", "internal", {
|
|
1217
|
-
deviceId: string;
|
|
1218
|
-
sessionId: string;
|
|
1219
|
-
userId: string;
|
|
1220
|
-
}, null, Name>;
|
|
1221
|
-
deviceDelete: FunctionReference<"mutation", "internal", {
|
|
1222
|
-
deviceId: string;
|
|
1223
|
-
}, null, Name>;
|
|
1224
|
-
deviceGetByCodeHash: FunctionReference<"query", "internal", {
|
|
1225
|
-
deviceCodeHash: string;
|
|
1226
|
-
}, {
|
|
1227
|
-
_creationTime: number;
|
|
1228
|
-
_id: string;
|
|
1229
|
-
deviceCodeHash: string;
|
|
1230
|
-
expiresAt: number;
|
|
1231
|
-
interval: number;
|
|
1232
|
-
lastPolledAt?: number;
|
|
1233
|
-
sessionId?: string;
|
|
1234
|
-
status: "pending" | "authorized" | "denied";
|
|
1235
|
-
userCode: string;
|
|
1236
|
-
userId?: string;
|
|
1237
|
-
} | null, Name>;
|
|
1238
|
-
deviceGetByUserCode: FunctionReference<"query", "internal", {
|
|
1239
|
-
userCode: string;
|
|
1240
|
-
}, {
|
|
1241
|
-
_creationTime: number;
|
|
1242
|
-
_id: string;
|
|
1243
|
-
deviceCodeHash: string;
|
|
1244
|
-
expiresAt: number;
|
|
1245
|
-
interval: number;
|
|
1246
|
-
lastPolledAt?: number;
|
|
1247
|
-
sessionId?: string;
|
|
1248
|
-
status: "pending" | "authorized" | "denied";
|
|
1249
|
-
userCode: string;
|
|
1250
|
-
userId?: string;
|
|
1251
|
-
} | null, Name>;
|
|
1252
|
-
deviceInsert: FunctionReference<"mutation", "internal", {
|
|
1253
|
-
deviceCodeHash: string;
|
|
1254
|
-
expiresAt: number;
|
|
1255
|
-
interval: number;
|
|
1256
|
-
status: "pending" | "authorized" | "denied";
|
|
1257
|
-
userCode: string;
|
|
1258
|
-
}, string, Name>;
|
|
1259
|
-
deviceUpdateLastPolled: FunctionReference<"mutation", "internal", {
|
|
1260
|
-
deviceId: string;
|
|
1261
|
-
lastPolledAt: number;
|
|
1262
|
-
}, null, Name>;
|
|
1263
|
-
};
|
|
1264
|
-
passkeys: {
|
|
1265
|
-
passkeyDelete: FunctionReference<"mutation", "internal", {
|
|
1266
|
-
passkeyId: string;
|
|
1267
|
-
}, null, Name>;
|
|
1268
|
-
passkeyGetByCredentialId: FunctionReference<"query", "internal", {
|
|
1269
|
-
credentialId: string;
|
|
1270
|
-
}, {
|
|
1271
|
-
_creationTime: number;
|
|
1272
|
-
_id: string;
|
|
1273
|
-
algorithm: number;
|
|
1274
|
-
backedUp: boolean;
|
|
1275
|
-
counter: number;
|
|
1276
|
-
createdAt: number;
|
|
1277
|
-
credentialId: string;
|
|
1278
|
-
deviceType: string;
|
|
1279
|
-
lastUsedAt?: number;
|
|
1280
|
-
name?: string;
|
|
1281
|
-
publicKey: ArrayBuffer;
|
|
1282
|
-
transports?: Array<string>;
|
|
1283
|
-
userId: string;
|
|
1284
|
-
} | null, Name>;
|
|
1285
|
-
passkeyInsert: FunctionReference<"mutation", "internal", {
|
|
1286
|
-
algorithm: number;
|
|
1287
|
-
backedUp: boolean;
|
|
1288
|
-
counter: number;
|
|
1289
|
-
createdAt: number;
|
|
1290
|
-
credentialId: string;
|
|
1291
|
-
deviceType: string;
|
|
1292
|
-
name?: string;
|
|
1293
|
-
publicKey: ArrayBuffer;
|
|
1294
|
-
transports?: Array<string>;
|
|
1295
|
-
userId: string;
|
|
1296
|
-
}, string, Name>;
|
|
1297
|
-
passkeyListByUserId: FunctionReference<"query", "internal", {
|
|
1298
|
-
userId: string;
|
|
1299
|
-
}, Array<{
|
|
1300
|
-
_creationTime: number;
|
|
1301
|
-
_id: string;
|
|
1302
|
-
algorithm: number;
|
|
1303
|
-
backedUp: boolean;
|
|
1304
|
-
counter: number;
|
|
1305
|
-
createdAt: number;
|
|
1306
|
-
credentialId: string;
|
|
1307
|
-
deviceType: string;
|
|
1308
|
-
lastUsedAt?: number;
|
|
1309
|
-
name?: string;
|
|
1310
|
-
publicKey: ArrayBuffer;
|
|
1311
|
-
transports?: Array<string>;
|
|
1312
|
-
userId: string;
|
|
1313
|
-
}>, Name>;
|
|
1314
|
-
passkeyUpdateCounter: FunctionReference<"mutation", "internal", {
|
|
1315
|
-
counter: number;
|
|
1316
|
-
lastUsedAt: number;
|
|
1317
|
-
passkeyId: string;
|
|
1318
|
-
}, null, Name>;
|
|
1319
|
-
passkeyUpdateMeta: FunctionReference<"mutation", "internal", {
|
|
1320
|
-
data: any;
|
|
1321
|
-
passkeyId: string;
|
|
1322
|
-
}, null, Name>;
|
|
1323
|
-
};
|
|
1324
|
-
totp: {
|
|
1325
|
-
totpDelete: FunctionReference<"mutation", "internal", {
|
|
1326
|
-
totpId: string;
|
|
1327
|
-
}, null, Name>;
|
|
1328
|
-
totpGetById: FunctionReference<"query", "internal", {
|
|
1329
|
-
totpId: string;
|
|
1330
|
-
}, {
|
|
1331
|
-
_creationTime: number;
|
|
1332
|
-
_id: string;
|
|
1333
|
-
createdAt: number;
|
|
1334
|
-
digits: number;
|
|
1335
|
-
lastUsedAt?: number;
|
|
1336
|
-
name?: string;
|
|
1337
|
-
period: number;
|
|
1338
|
-
secret: ArrayBuffer;
|
|
1339
|
-
userId: string;
|
|
1340
|
-
verified: boolean;
|
|
1341
|
-
} | null, Name>;
|
|
1342
|
-
totpGetVerifiedByUserId: FunctionReference<"query", "internal", {
|
|
1343
|
-
userId: string;
|
|
1344
|
-
}, {
|
|
1345
|
-
_creationTime: number;
|
|
1346
|
-
_id: string;
|
|
1347
|
-
createdAt: number;
|
|
1348
|
-
digits: number;
|
|
1349
|
-
lastUsedAt?: number;
|
|
251
|
+
createdAt: number;
|
|
252
|
+
digits: number;
|
|
253
|
+
lastUsedAt?: number;
|
|
1350
254
|
name?: string;
|
|
1351
255
|
period: number;
|
|
1352
256
|
secret: ArrayBuffer;
|
|
@@ -1386,6 +290,328 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
1386
290
|
}, null, Name>;
|
|
1387
291
|
};
|
|
1388
292
|
};
|
|
293
|
+
groupAuditEventCreate: FunctionReference<"mutation", "internal", {
|
|
294
|
+
actorId?: string;
|
|
295
|
+
actorType: "user" | "system" | "scim" | "api_key" | "webhook";
|
|
296
|
+
connectionId?: string;
|
|
297
|
+
eventType: string;
|
|
298
|
+
groupId: string;
|
|
299
|
+
ip?: string;
|
|
300
|
+
metadata?: any;
|
|
301
|
+
occurredAt: number;
|
|
302
|
+
requestId?: string;
|
|
303
|
+
status: "success" | "failure";
|
|
304
|
+
subjectId?: string;
|
|
305
|
+
subjectType: string;
|
|
306
|
+
}, string, Name>;
|
|
307
|
+
groupAuditEventList: FunctionReference<"query", "internal", {
|
|
308
|
+
connectionId?: string;
|
|
309
|
+
groupId?: string;
|
|
310
|
+
limit?: number;
|
|
311
|
+
}, Array<{
|
|
312
|
+
_creationTime: number;
|
|
313
|
+
_id: string;
|
|
314
|
+
actorId?: string;
|
|
315
|
+
actorType: "user" | "system" | "scim" | "api_key" | "webhook";
|
|
316
|
+
connectionId?: string;
|
|
317
|
+
eventType: string;
|
|
318
|
+
groupId: string;
|
|
319
|
+
ip?: string;
|
|
320
|
+
metadata?: any;
|
|
321
|
+
occurredAt: number;
|
|
322
|
+
requestId?: string;
|
|
323
|
+
status: "success" | "failure";
|
|
324
|
+
subjectId?: string;
|
|
325
|
+
subjectType: string;
|
|
326
|
+
}>, Name>;
|
|
327
|
+
groupConnectionCreate: FunctionReference<"mutation", "internal", {
|
|
328
|
+
config?: any;
|
|
329
|
+
extend?: any;
|
|
330
|
+
groupId: string;
|
|
331
|
+
name?: string;
|
|
332
|
+
protocol: "oidc" | "saml";
|
|
333
|
+
slug?: string;
|
|
334
|
+
status?: "draft" | "active" | "disabled";
|
|
335
|
+
}, string, Name>;
|
|
336
|
+
groupConnectionDelete: FunctionReference<"mutation", "internal", {
|
|
337
|
+
connectionId: string;
|
|
338
|
+
}, null, Name>;
|
|
339
|
+
groupConnectionDomainAdd: FunctionReference<"mutation", "internal", {
|
|
340
|
+
connectionId: string;
|
|
341
|
+
domain: string;
|
|
342
|
+
groupId: string;
|
|
343
|
+
isPrimary?: boolean;
|
|
344
|
+
}, string, Name>;
|
|
345
|
+
groupConnectionDomainDelete: FunctionReference<"mutation", "internal", {
|
|
346
|
+
domainId: string;
|
|
347
|
+
}, null, Name>;
|
|
348
|
+
groupConnectionDomainList: FunctionReference<"query", "internal", {
|
|
349
|
+
connectionId: string;
|
|
350
|
+
}, Array<{
|
|
351
|
+
_creationTime: number;
|
|
352
|
+
_id: string;
|
|
353
|
+
connectionId: string;
|
|
354
|
+
domain: string;
|
|
355
|
+
groupId: string;
|
|
356
|
+
isPrimary: boolean;
|
|
357
|
+
verifiedAt?: number;
|
|
358
|
+
}>, Name>;
|
|
359
|
+
groupConnectionDomainVerificationDelete: FunctionReference<"mutation", "internal", {
|
|
360
|
+
domainId: string;
|
|
361
|
+
}, null, Name>;
|
|
362
|
+
groupConnectionDomainVerificationGet: FunctionReference<"query", "internal", {
|
|
363
|
+
domainId: string;
|
|
364
|
+
}, {
|
|
365
|
+
_creationTime: number;
|
|
366
|
+
_id: string;
|
|
367
|
+
connectionId: string;
|
|
368
|
+
domain: string;
|
|
369
|
+
domainId: string;
|
|
370
|
+
expiresAt: number;
|
|
371
|
+
groupId: string;
|
|
372
|
+
recordName: string;
|
|
373
|
+
requestedAt: number;
|
|
374
|
+
token: string;
|
|
375
|
+
tokenHash: string;
|
|
376
|
+
} | null, Name>;
|
|
377
|
+
groupConnectionDomainVerificationUpsert: FunctionReference<"mutation", "internal", {
|
|
378
|
+
connectionId: string;
|
|
379
|
+
domain: string;
|
|
380
|
+
domainId: string;
|
|
381
|
+
expiresAt: number;
|
|
382
|
+
groupId: string;
|
|
383
|
+
recordName: string;
|
|
384
|
+
requestedAt: number;
|
|
385
|
+
token: string;
|
|
386
|
+
tokenHash: string;
|
|
387
|
+
}, string, Name>;
|
|
388
|
+
groupConnectionDomainVerify: FunctionReference<"mutation", "internal", {
|
|
389
|
+
domainId: string;
|
|
390
|
+
verifiedAt: number;
|
|
391
|
+
}, {
|
|
392
|
+
_creationTime: number;
|
|
393
|
+
_id: string;
|
|
394
|
+
connectionId: string;
|
|
395
|
+
domain: string;
|
|
396
|
+
groupId: string;
|
|
397
|
+
isPrimary: boolean;
|
|
398
|
+
verifiedAt?: number;
|
|
399
|
+
}, Name>;
|
|
400
|
+
groupConnectionGet: FunctionReference<"query", "internal", {
|
|
401
|
+
connectionId: string;
|
|
402
|
+
}, {
|
|
403
|
+
_creationTime: number;
|
|
404
|
+
_id: string;
|
|
405
|
+
config?: any;
|
|
406
|
+
extend?: any;
|
|
407
|
+
groupId: string;
|
|
408
|
+
name?: string;
|
|
409
|
+
protocol: "oidc" | "saml";
|
|
410
|
+
slug?: string;
|
|
411
|
+
status: "draft" | "active" | "disabled";
|
|
412
|
+
} | null, Name>;
|
|
413
|
+
groupConnectionGetByDomain: FunctionReference<"query", "internal", {
|
|
414
|
+
domain: string;
|
|
415
|
+
}, {
|
|
416
|
+
connection: {
|
|
417
|
+
_creationTime: number;
|
|
418
|
+
_id: string;
|
|
419
|
+
config?: any;
|
|
420
|
+
extend?: any;
|
|
421
|
+
groupId: string;
|
|
422
|
+
name?: string;
|
|
423
|
+
protocol: "oidc" | "saml";
|
|
424
|
+
slug?: string;
|
|
425
|
+
status: "draft" | "active" | "disabled";
|
|
426
|
+
};
|
|
427
|
+
domain: {
|
|
428
|
+
_creationTime: number;
|
|
429
|
+
_id: string;
|
|
430
|
+
connectionId: string;
|
|
431
|
+
domain: string;
|
|
432
|
+
groupId: string;
|
|
433
|
+
isPrimary: boolean;
|
|
434
|
+
verifiedAt?: number;
|
|
435
|
+
};
|
|
436
|
+
} | null, Name>;
|
|
437
|
+
groupConnectionList: FunctionReference<"query", "internal", {
|
|
438
|
+
cursor?: string | null;
|
|
439
|
+
limit?: number;
|
|
440
|
+
order?: "asc" | "desc";
|
|
441
|
+
orderBy?: "_creationTime" | "name" | "slug" | "status";
|
|
442
|
+
where?: {
|
|
443
|
+
groupId?: string;
|
|
444
|
+
slug?: string;
|
|
445
|
+
status?: "draft" | "active" | "disabled";
|
|
446
|
+
};
|
|
447
|
+
}, {
|
|
448
|
+
items: Array<{
|
|
449
|
+
_creationTime: number;
|
|
450
|
+
_id: string;
|
|
451
|
+
config?: any;
|
|
452
|
+
extend?: any;
|
|
453
|
+
groupId: string;
|
|
454
|
+
name?: string;
|
|
455
|
+
protocol: "oidc" | "saml";
|
|
456
|
+
slug?: string;
|
|
457
|
+
status: "draft" | "active" | "disabled";
|
|
458
|
+
}>;
|
|
459
|
+
nextCursor: string | null;
|
|
460
|
+
}, Name>;
|
|
461
|
+
groupConnectionScimConfigGetByGroupConnection: FunctionReference<"query", "internal", {
|
|
462
|
+
connectionId: string;
|
|
463
|
+
}, {
|
|
464
|
+
_creationTime: number;
|
|
465
|
+
_id: string;
|
|
466
|
+
basePath: string;
|
|
467
|
+
connectionId: string;
|
|
468
|
+
extend?: any;
|
|
469
|
+
groupId: string;
|
|
470
|
+
lastRotatedAt?: number;
|
|
471
|
+
status: "draft" | "active" | "disabled";
|
|
472
|
+
tokenHash: string;
|
|
473
|
+
} | null, Name>;
|
|
474
|
+
groupConnectionScimConfigGetByTokenHash: FunctionReference<"query", "internal", {
|
|
475
|
+
tokenHash: string;
|
|
476
|
+
}, {
|
|
477
|
+
_creationTime: number;
|
|
478
|
+
_id: string;
|
|
479
|
+
basePath: string;
|
|
480
|
+
connectionId: string;
|
|
481
|
+
extend?: any;
|
|
482
|
+
groupId: string;
|
|
483
|
+
lastRotatedAt?: number;
|
|
484
|
+
status: "draft" | "active" | "disabled";
|
|
485
|
+
tokenHash: string;
|
|
486
|
+
} | null, Name>;
|
|
487
|
+
groupConnectionScimConfigUpsert: FunctionReference<"mutation", "internal", {
|
|
488
|
+
basePath: string;
|
|
489
|
+
connectionId: string;
|
|
490
|
+
extend?: any;
|
|
491
|
+
groupId: string;
|
|
492
|
+
lastRotatedAt?: number;
|
|
493
|
+
status: "draft" | "active" | "disabled";
|
|
494
|
+
tokenHash: string;
|
|
495
|
+
}, string, Name>;
|
|
496
|
+
groupConnectionScimIdentityDelete: FunctionReference<"mutation", "internal", {
|
|
497
|
+
identityId: string;
|
|
498
|
+
}, null, Name>;
|
|
499
|
+
groupConnectionScimIdentityGet: FunctionReference<"query", "internal", {
|
|
500
|
+
connectionId: string;
|
|
501
|
+
externalId: string;
|
|
502
|
+
resourceType: "user" | "group";
|
|
503
|
+
}, {
|
|
504
|
+
_creationTime: number;
|
|
505
|
+
_id: string;
|
|
506
|
+
active?: boolean;
|
|
507
|
+
connectionId: string;
|
|
508
|
+
externalId: string;
|
|
509
|
+
groupId: string;
|
|
510
|
+
lastProvisionedAt?: number;
|
|
511
|
+
mappedGroupId?: string;
|
|
512
|
+
raw?: any;
|
|
513
|
+
resourceType: "user" | "group";
|
|
514
|
+
userId?: string;
|
|
515
|
+
} | null, Name>;
|
|
516
|
+
groupConnectionScimIdentityGetByGroupConnectionAndUser: FunctionReference<"query", "internal", {
|
|
517
|
+
connectionId: string;
|
|
518
|
+
userId: string;
|
|
519
|
+
}, {
|
|
520
|
+
_creationTime: number;
|
|
521
|
+
_id: string;
|
|
522
|
+
active?: boolean;
|
|
523
|
+
connectionId: string;
|
|
524
|
+
externalId: string;
|
|
525
|
+
groupId: string;
|
|
526
|
+
lastProvisionedAt?: number;
|
|
527
|
+
mappedGroupId?: string;
|
|
528
|
+
raw?: any;
|
|
529
|
+
resourceType: "user" | "group";
|
|
530
|
+
userId?: string;
|
|
531
|
+
} | null, Name>;
|
|
532
|
+
groupConnectionScimIdentityGetByMappedGroup: FunctionReference<"query", "internal", {
|
|
533
|
+
mappedGroupId: string;
|
|
534
|
+
}, {
|
|
535
|
+
_creationTime: number;
|
|
536
|
+
_id: string;
|
|
537
|
+
active?: boolean;
|
|
538
|
+
connectionId: string;
|
|
539
|
+
externalId: string;
|
|
540
|
+
groupId: string;
|
|
541
|
+
lastProvisionedAt?: number;
|
|
542
|
+
mappedGroupId?: string;
|
|
543
|
+
raw?: any;
|
|
544
|
+
resourceType: "user" | "group";
|
|
545
|
+
userId?: string;
|
|
546
|
+
} | null, Name>;
|
|
547
|
+
groupConnectionScimIdentityGetByUser: FunctionReference<"query", "internal", {
|
|
548
|
+
userId: string;
|
|
549
|
+
}, {
|
|
550
|
+
_creationTime: number;
|
|
551
|
+
_id: string;
|
|
552
|
+
active?: boolean;
|
|
553
|
+
connectionId: string;
|
|
554
|
+
externalId: string;
|
|
555
|
+
groupId: string;
|
|
556
|
+
lastProvisionedAt?: number;
|
|
557
|
+
mappedGroupId?: string;
|
|
558
|
+
raw?: any;
|
|
559
|
+
resourceType: "user" | "group";
|
|
560
|
+
userId?: string;
|
|
561
|
+
} | null, Name>;
|
|
562
|
+
groupConnectionScimIdentityListByGroupConnection: FunctionReference<"query", "internal", {
|
|
563
|
+
connectionId: string;
|
|
564
|
+
}, Array<{
|
|
565
|
+
_creationTime: number;
|
|
566
|
+
_id: string;
|
|
567
|
+
active?: boolean;
|
|
568
|
+
connectionId: string;
|
|
569
|
+
externalId: string;
|
|
570
|
+
groupId: string;
|
|
571
|
+
lastProvisionedAt?: number;
|
|
572
|
+
mappedGroupId?: string;
|
|
573
|
+
raw?: any;
|
|
574
|
+
resourceType: "user" | "group";
|
|
575
|
+
userId?: string;
|
|
576
|
+
}>, Name>;
|
|
577
|
+
groupConnectionScimIdentityUpsert: FunctionReference<"mutation", "internal", {
|
|
578
|
+
active?: boolean;
|
|
579
|
+
connectionId: string;
|
|
580
|
+
externalId: string;
|
|
581
|
+
groupId: string;
|
|
582
|
+
lastProvisionedAt?: number;
|
|
583
|
+
mappedGroupId?: string;
|
|
584
|
+
raw?: any;
|
|
585
|
+
resourceType: "user" | "group";
|
|
586
|
+
userId?: string;
|
|
587
|
+
}, string, Name>;
|
|
588
|
+
groupConnectionSecretDelete: FunctionReference<"mutation", "internal", {
|
|
589
|
+
connectionId: string;
|
|
590
|
+
kind: "oidc_client_secret";
|
|
591
|
+
}, null, Name>;
|
|
592
|
+
groupConnectionSecretGet: FunctionReference<"query", "internal", {
|
|
593
|
+
connectionId: string;
|
|
594
|
+
kind: "oidc_client_secret";
|
|
595
|
+
}, {
|
|
596
|
+
_creationTime: number;
|
|
597
|
+
_id: string;
|
|
598
|
+
ciphertext: string;
|
|
599
|
+
connectionId: string;
|
|
600
|
+
groupId: string;
|
|
601
|
+
kind: "oidc_client_secret";
|
|
602
|
+
updatedAt: number;
|
|
603
|
+
} | null, Name>;
|
|
604
|
+
groupConnectionSecretUpsert: FunctionReference<"mutation", "internal", {
|
|
605
|
+
ciphertext: string;
|
|
606
|
+
connectionId: string;
|
|
607
|
+
groupId: string;
|
|
608
|
+
kind: "oidc_client_secret";
|
|
609
|
+
updatedAt: number;
|
|
610
|
+
}, string, Name>;
|
|
611
|
+
groupConnectionUpdate: FunctionReference<"mutation", "internal", {
|
|
612
|
+
connectionId: string;
|
|
613
|
+
data: any;
|
|
614
|
+
}, null, Name>;
|
|
1389
615
|
groupCreate: FunctionReference<"mutation", "internal", {
|
|
1390
616
|
extend?: any;
|
|
1391
617
|
name: string;
|
|
@@ -1409,6 +635,45 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
1409
635
|
isRoot?: boolean;
|
|
1410
636
|
name: string;
|
|
1411
637
|
parentGroupId?: string;
|
|
638
|
+
policy?: {
|
|
639
|
+
extend?: any;
|
|
640
|
+
identity: {
|
|
641
|
+
accountLinking: {
|
|
642
|
+
oidc: "verifiedEmail" | "none";
|
|
643
|
+
saml: "verifiedEmail" | "none";
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
provisioning: {
|
|
647
|
+
deprovision: {
|
|
648
|
+
mode: "soft" | "hard";
|
|
649
|
+
};
|
|
650
|
+
groups: {
|
|
651
|
+
mapping?: Record<string, Array<string>>;
|
|
652
|
+
mode: "ignore" | "sync";
|
|
653
|
+
source: "protocol";
|
|
654
|
+
};
|
|
655
|
+
jit: {
|
|
656
|
+
defaultRole?: string;
|
|
657
|
+
defaultRoleIds?: Array<string>;
|
|
658
|
+
mode: "off" | "createUser" | "createUserAndMembership";
|
|
659
|
+
};
|
|
660
|
+
roles: {
|
|
661
|
+
mapping?: Record<string, Array<string>>;
|
|
662
|
+
mode: "ignore" | "map";
|
|
663
|
+
source: "protocol";
|
|
664
|
+
};
|
|
665
|
+
scimReuse: {
|
|
666
|
+
user: "externalId" | "none";
|
|
667
|
+
};
|
|
668
|
+
user: {
|
|
669
|
+
authority: "app" | "sso" | "scim";
|
|
670
|
+
createOnSignIn: boolean;
|
|
671
|
+
updateProfileFromScim: "never" | "missing" | "always";
|
|
672
|
+
updateProfileOnLogin: "never" | "missing" | "always";
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
version: 1;
|
|
676
|
+
};
|
|
1412
677
|
rootGroupId?: string;
|
|
1413
678
|
slug?: string;
|
|
1414
679
|
tags?: Array<{
|
|
@@ -1445,6 +710,45 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
1445
710
|
isRoot?: boolean;
|
|
1446
711
|
name: string;
|
|
1447
712
|
parentGroupId?: string;
|
|
713
|
+
policy?: {
|
|
714
|
+
extend?: any;
|
|
715
|
+
identity: {
|
|
716
|
+
accountLinking: {
|
|
717
|
+
oidc: "verifiedEmail" | "none";
|
|
718
|
+
saml: "verifiedEmail" | "none";
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
provisioning: {
|
|
722
|
+
deprovision: {
|
|
723
|
+
mode: "soft" | "hard";
|
|
724
|
+
};
|
|
725
|
+
groups: {
|
|
726
|
+
mapping?: Record<string, Array<string>>;
|
|
727
|
+
mode: "ignore" | "sync";
|
|
728
|
+
source: "protocol";
|
|
729
|
+
};
|
|
730
|
+
jit: {
|
|
731
|
+
defaultRole?: string;
|
|
732
|
+
defaultRoleIds?: Array<string>;
|
|
733
|
+
mode: "off" | "createUser" | "createUserAndMembership";
|
|
734
|
+
};
|
|
735
|
+
roles: {
|
|
736
|
+
mapping?: Record<string, Array<string>>;
|
|
737
|
+
mode: "ignore" | "map";
|
|
738
|
+
source: "protocol";
|
|
739
|
+
};
|
|
740
|
+
scimReuse: {
|
|
741
|
+
user: "externalId" | "none";
|
|
742
|
+
};
|
|
743
|
+
user: {
|
|
744
|
+
authority: "app" | "sso" | "scim";
|
|
745
|
+
createOnSignIn: boolean;
|
|
746
|
+
updateProfileFromScim: "never" | "missing" | "always";
|
|
747
|
+
updateProfileOnLogin: "never" | "missing" | "always";
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
version: 1;
|
|
751
|
+
};
|
|
1448
752
|
rootGroupId?: string;
|
|
1449
753
|
slug?: string;
|
|
1450
754
|
tags?: Array<{
|
|
@@ -1480,6 +784,45 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
1480
784
|
isRoot?: boolean;
|
|
1481
785
|
name: string;
|
|
1482
786
|
parentGroupId?: string;
|
|
787
|
+
policy?: {
|
|
788
|
+
extend?: any;
|
|
789
|
+
identity: {
|
|
790
|
+
accountLinking: {
|
|
791
|
+
oidc: "verifiedEmail" | "none";
|
|
792
|
+
saml: "verifiedEmail" | "none";
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
provisioning: {
|
|
796
|
+
deprovision: {
|
|
797
|
+
mode: "soft" | "hard";
|
|
798
|
+
};
|
|
799
|
+
groups: {
|
|
800
|
+
mapping?: Record<string, Array<string>>;
|
|
801
|
+
mode: "ignore" | "sync";
|
|
802
|
+
source: "protocol";
|
|
803
|
+
};
|
|
804
|
+
jit: {
|
|
805
|
+
defaultRole?: string;
|
|
806
|
+
defaultRoleIds?: Array<string>;
|
|
807
|
+
mode: "off" | "createUser" | "createUserAndMembership";
|
|
808
|
+
};
|
|
809
|
+
roles: {
|
|
810
|
+
mapping?: Record<string, Array<string>>;
|
|
811
|
+
mode: "ignore" | "map";
|
|
812
|
+
source: "protocol";
|
|
813
|
+
};
|
|
814
|
+
scimReuse: {
|
|
815
|
+
user: "externalId" | "none";
|
|
816
|
+
};
|
|
817
|
+
user: {
|
|
818
|
+
authority: "app" | "sso" | "scim";
|
|
819
|
+
createOnSignIn: boolean;
|
|
820
|
+
updateProfileFromScim: "never" | "missing" | "always";
|
|
821
|
+
updateProfileOnLogin: "never" | "missing" | "always";
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
version: 1;
|
|
825
|
+
};
|
|
1483
826
|
rootGroupId?: string;
|
|
1484
827
|
slug?: string;
|
|
1485
828
|
tags?: Array<{
|
|
@@ -1516,6 +859,45 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
1516
859
|
isRoot?: boolean;
|
|
1517
860
|
name: string;
|
|
1518
861
|
parentGroupId?: string;
|
|
862
|
+
policy?: {
|
|
863
|
+
extend?: any;
|
|
864
|
+
identity: {
|
|
865
|
+
accountLinking: {
|
|
866
|
+
oidc: "verifiedEmail" | "none";
|
|
867
|
+
saml: "verifiedEmail" | "none";
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
provisioning: {
|
|
871
|
+
deprovision: {
|
|
872
|
+
mode: "soft" | "hard";
|
|
873
|
+
};
|
|
874
|
+
groups: {
|
|
875
|
+
mapping?: Record<string, Array<string>>;
|
|
876
|
+
mode: "ignore" | "sync";
|
|
877
|
+
source: "protocol";
|
|
878
|
+
};
|
|
879
|
+
jit: {
|
|
880
|
+
defaultRole?: string;
|
|
881
|
+
defaultRoleIds?: Array<string>;
|
|
882
|
+
mode: "off" | "createUser" | "createUserAndMembership";
|
|
883
|
+
};
|
|
884
|
+
roles: {
|
|
885
|
+
mapping?: Record<string, Array<string>>;
|
|
886
|
+
mode: "ignore" | "map";
|
|
887
|
+
source: "protocol";
|
|
888
|
+
};
|
|
889
|
+
scimReuse: {
|
|
890
|
+
user: "externalId" | "none";
|
|
891
|
+
};
|
|
892
|
+
user: {
|
|
893
|
+
authority: "app" | "sso" | "scim";
|
|
894
|
+
createOnSignIn: boolean;
|
|
895
|
+
updateProfileFromScim: "never" | "missing" | "always";
|
|
896
|
+
updateProfileOnLogin: "never" | "missing" | "always";
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
version: 1;
|
|
900
|
+
};
|
|
1519
901
|
rootGroupId?: string;
|
|
1520
902
|
slug?: string;
|
|
1521
903
|
tags?: Array<{
|
|
@@ -1718,6 +1100,102 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
1718
1100
|
data: any;
|
|
1719
1101
|
groupId: string;
|
|
1720
1102
|
}, null, Name>;
|
|
1103
|
+
groupWebhookDeliveryEnqueue: FunctionReference<"mutation", "internal", {
|
|
1104
|
+
auditEventId?: string;
|
|
1105
|
+
connectionId: string;
|
|
1106
|
+
endpointId: string;
|
|
1107
|
+
eventType: string;
|
|
1108
|
+
nextAttemptAt: number;
|
|
1109
|
+
payload: any;
|
|
1110
|
+
}, string, Name>;
|
|
1111
|
+
groupWebhookDeliveryList: FunctionReference<"query", "internal", {
|
|
1112
|
+
connectionId: string;
|
|
1113
|
+
limit?: number;
|
|
1114
|
+
}, Array<{
|
|
1115
|
+
_creationTime: number;
|
|
1116
|
+
_id: string;
|
|
1117
|
+
attemptCount: number;
|
|
1118
|
+
auditEventId?: string;
|
|
1119
|
+
connectionId: string;
|
|
1120
|
+
endpointId: string;
|
|
1121
|
+
eventType: string;
|
|
1122
|
+
lastAttemptAt?: number;
|
|
1123
|
+
lastError?: string;
|
|
1124
|
+
lastResponseStatus?: number;
|
|
1125
|
+
nextAttemptAt: number;
|
|
1126
|
+
payload: any;
|
|
1127
|
+
status: "pending" | "processing" | "delivered" | "failed";
|
|
1128
|
+
}>, Name>;
|
|
1129
|
+
groupWebhookDeliveryListReady: FunctionReference<"query", "internal", {
|
|
1130
|
+
limit?: number;
|
|
1131
|
+
now: number;
|
|
1132
|
+
}, Array<{
|
|
1133
|
+
_creationTime: number;
|
|
1134
|
+
_id: string;
|
|
1135
|
+
attemptCount: number;
|
|
1136
|
+
auditEventId?: string;
|
|
1137
|
+
connectionId: string;
|
|
1138
|
+
endpointId: string;
|
|
1139
|
+
eventType: string;
|
|
1140
|
+
lastAttemptAt?: number;
|
|
1141
|
+
lastError?: string;
|
|
1142
|
+
lastResponseStatus?: number;
|
|
1143
|
+
nextAttemptAt: number;
|
|
1144
|
+
payload: any;
|
|
1145
|
+
status: "pending" | "processing" | "delivered" | "failed";
|
|
1146
|
+
}>, Name>;
|
|
1147
|
+
groupWebhookDeliveryPatch: FunctionReference<"mutation", "internal", {
|
|
1148
|
+
data: any;
|
|
1149
|
+
deliveryId: string;
|
|
1150
|
+
}, null, Name>;
|
|
1151
|
+
groupWebhookEndpointCreate: FunctionReference<"mutation", "internal", {
|
|
1152
|
+
connectionId: string;
|
|
1153
|
+
createdByUserId?: string;
|
|
1154
|
+
extend?: any;
|
|
1155
|
+
groupId: string;
|
|
1156
|
+
secretHash: string;
|
|
1157
|
+
status?: "active" | "disabled";
|
|
1158
|
+
subscriptions: Array<string>;
|
|
1159
|
+
url: string;
|
|
1160
|
+
}, string, Name>;
|
|
1161
|
+
groupWebhookEndpointGet: FunctionReference<"query", "internal", {
|
|
1162
|
+
endpointId: string;
|
|
1163
|
+
}, {
|
|
1164
|
+
_creationTime: number;
|
|
1165
|
+
_id: string;
|
|
1166
|
+
connectionId: string;
|
|
1167
|
+
createdByUserId?: string;
|
|
1168
|
+
extend?: any;
|
|
1169
|
+
failureCount: number;
|
|
1170
|
+
groupId: string;
|
|
1171
|
+
lastFailureAt?: number;
|
|
1172
|
+
lastSuccessAt?: number;
|
|
1173
|
+
secretHash: string;
|
|
1174
|
+
status: "active" | "disabled";
|
|
1175
|
+
subscriptions: Array<string>;
|
|
1176
|
+
url: string;
|
|
1177
|
+
} | null, Name>;
|
|
1178
|
+
groupWebhookEndpointList: FunctionReference<"query", "internal", {
|
|
1179
|
+
connectionId: string;
|
|
1180
|
+
}, Array<{
|
|
1181
|
+
_creationTime: number;
|
|
1182
|
+
_id: string;
|
|
1183
|
+
connectionId: string;
|
|
1184
|
+
createdByUserId?: string;
|
|
1185
|
+
extend?: any;
|
|
1186
|
+
failureCount: number;
|
|
1187
|
+
groupId: string;
|
|
1188
|
+
lastFailureAt?: number;
|
|
1189
|
+
lastSuccessAt?: number;
|
|
1190
|
+
secretHash: string;
|
|
1191
|
+
status: "active" | "disabled";
|
|
1192
|
+
subscriptions: Array<string>;
|
|
1193
|
+
url: string;
|
|
1194
|
+
}>, Name>;
|
|
1195
|
+
groupWebhookEndpointUpdate: FunctionReference<"mutation", "internal", {
|
|
1196
|
+
data: any;
|
|
1197
|
+
endpointId: string;
|
|
1198
|
+
}, null, Name>;
|
|
1721
1199
|
identity: {
|
|
1722
1200
|
accounts: {
|
|
1723
1201
|
accountDelete: FunctionReference<"mutation", "internal", {
|
|
@@ -1831,6 +1309,17 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
1831
1309
|
expirationTime: number;
|
|
1832
1310
|
userId: string;
|
|
1833
1311
|
} | null, Name>;
|
|
1312
|
+
sessionIssue: FunctionReference<"mutation", "internal", {
|
|
1313
|
+
refreshTokenExpirationTime?: number;
|
|
1314
|
+
replaceSessionId?: string;
|
|
1315
|
+
sessionExpirationTime: number;
|
|
1316
|
+
sessionId?: string;
|
|
1317
|
+
userId: string;
|
|
1318
|
+
}, {
|
|
1319
|
+
refreshTokenId?: string;
|
|
1320
|
+
sessionId: string;
|
|
1321
|
+
userId: string;
|
|
1322
|
+
}, Name>;
|
|
1834
1323
|
sessionList: FunctionReference<"query", "internal", {
|
|
1835
1324
|
cursor?: string | null;
|
|
1836
1325
|
limit?: number;
|
|
@@ -1865,6 +1354,17 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
1865
1354
|
refreshTokenDeleteAll: FunctionReference<"mutation", "internal", {
|
|
1866
1355
|
sessionId: string;
|
|
1867
1356
|
}, null, Name>;
|
|
1357
|
+
refreshTokenExchange: FunctionReference<"mutation", "internal", {
|
|
1358
|
+
now: number;
|
|
1359
|
+
refreshTokenExpirationTime: number;
|
|
1360
|
+
refreshTokenId: string;
|
|
1361
|
+
reuseWindowMs: number;
|
|
1362
|
+
sessionId: string;
|
|
1363
|
+
}, {
|
|
1364
|
+
refreshTokenId: string;
|
|
1365
|
+
sessionId: string;
|
|
1366
|
+
userId: string;
|
|
1367
|
+
} | null, Name>;
|
|
1868
1368
|
refreshTokenGetActive: FunctionReference<"query", "internal", {
|
|
1869
1369
|
sessionId: string;
|
|
1870
1370
|
}, {
|
|
@@ -1998,6 +1498,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
1998
1498
|
verifiers: {
|
|
1999
1499
|
verifierCreate: FunctionReference<"mutation", "internal", {
|
|
2000
1500
|
sessionId?: string;
|
|
1501
|
+
signature?: string;
|
|
2001
1502
|
}, string, Name>;
|
|
2002
1503
|
verifierDelete: FunctionReference<"mutation", "internal", {
|
|
2003
1504
|
verifierId: string;
|
|
@@ -2423,6 +1924,17 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
2423
1924
|
refreshTokenDeleteAll: FunctionReference<"mutation", "internal", {
|
|
2424
1925
|
sessionId: string;
|
|
2425
1926
|
}, null, Name>;
|
|
1927
|
+
refreshTokenExchange: FunctionReference<"mutation", "internal", {
|
|
1928
|
+
now: number;
|
|
1929
|
+
refreshTokenExpirationTime: number;
|
|
1930
|
+
refreshTokenId: string;
|
|
1931
|
+
reuseWindowMs: number;
|
|
1932
|
+
sessionId: string;
|
|
1933
|
+
}, {
|
|
1934
|
+
refreshTokenId: string;
|
|
1935
|
+
sessionId: string;
|
|
1936
|
+
userId: string;
|
|
1937
|
+
} | null, Name>;
|
|
2426
1938
|
refreshTokenGetActive: FunctionReference<"query", "internal", {
|
|
2427
1939
|
sessionId: string;
|
|
2428
1940
|
}, {
|
|
@@ -2460,214 +1972,657 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
2460
1972
|
_creationTime: number;
|
|
2461
1973
|
_id: string;
|
|
2462
1974
|
expirationTime: number;
|
|
2463
|
-
firstUsedTime?: number;
|
|
2464
|
-
parentRefreshTokenId?: string;
|
|
2465
|
-
sessionId: string;
|
|
1975
|
+
firstUsedTime?: number;
|
|
1976
|
+
parentRefreshTokenId?: string;
|
|
1977
|
+
sessionId: string;
|
|
1978
|
+
}>, Name>;
|
|
1979
|
+
refreshTokenPatch: FunctionReference<"mutation", "internal", {
|
|
1980
|
+
data: any;
|
|
1981
|
+
refreshTokenId: string;
|
|
1982
|
+
}, null, Name>;
|
|
1983
|
+
security: {
|
|
1984
|
+
keys: {
|
|
1985
|
+
keyDelete: FunctionReference<"mutation", "internal", {
|
|
1986
|
+
keyId: string;
|
|
1987
|
+
}, null, Name>;
|
|
1988
|
+
keyGetByHashedKey: FunctionReference<"query", "internal", {
|
|
1989
|
+
hashedKey: string;
|
|
1990
|
+
}, {
|
|
1991
|
+
_creationTime: number;
|
|
1992
|
+
_id: string;
|
|
1993
|
+
createdAt: number;
|
|
1994
|
+
expiresAt?: number;
|
|
1995
|
+
hashedKey: string;
|
|
1996
|
+
lastUsedAt?: number;
|
|
1997
|
+
metadata?: any;
|
|
1998
|
+
name: string;
|
|
1999
|
+
prefix: string;
|
|
2000
|
+
rateLimit?: {
|
|
2001
|
+
maxRequests: number;
|
|
2002
|
+
windowMs: number;
|
|
2003
|
+
};
|
|
2004
|
+
rateLimitState?: {
|
|
2005
|
+
attemptsLeft: number;
|
|
2006
|
+
lastAttemptTime: number;
|
|
2007
|
+
};
|
|
2008
|
+
revoked: boolean;
|
|
2009
|
+
scopes: Array<{
|
|
2010
|
+
actions: Array<string>;
|
|
2011
|
+
resource: string;
|
|
2012
|
+
}>;
|
|
2013
|
+
userId: string;
|
|
2014
|
+
} | null, Name>;
|
|
2015
|
+
keyGetById: FunctionReference<"query", "internal", {
|
|
2016
|
+
keyId: string;
|
|
2017
|
+
}, {
|
|
2018
|
+
_creationTime: number;
|
|
2019
|
+
_id: string;
|
|
2020
|
+
createdAt: number;
|
|
2021
|
+
expiresAt?: number;
|
|
2022
|
+
hashedKey: string;
|
|
2023
|
+
lastUsedAt?: number;
|
|
2024
|
+
metadata?: any;
|
|
2025
|
+
name: string;
|
|
2026
|
+
prefix: string;
|
|
2027
|
+
rateLimit?: {
|
|
2028
|
+
maxRequests: number;
|
|
2029
|
+
windowMs: number;
|
|
2030
|
+
};
|
|
2031
|
+
rateLimitState?: {
|
|
2032
|
+
attemptsLeft: number;
|
|
2033
|
+
lastAttemptTime: number;
|
|
2034
|
+
};
|
|
2035
|
+
revoked: boolean;
|
|
2036
|
+
scopes: Array<{
|
|
2037
|
+
actions: Array<string>;
|
|
2038
|
+
resource: string;
|
|
2039
|
+
}>;
|
|
2040
|
+
userId: string;
|
|
2041
|
+
} | null, Name>;
|
|
2042
|
+
keyInsert: FunctionReference<"mutation", "internal", {
|
|
2043
|
+
expiresAt?: number;
|
|
2044
|
+
hashedKey: string;
|
|
2045
|
+
metadata?: any;
|
|
2046
|
+
name: string;
|
|
2047
|
+
prefix: string;
|
|
2048
|
+
rateLimit?: {
|
|
2049
|
+
maxRequests: number;
|
|
2050
|
+
windowMs: number;
|
|
2051
|
+
};
|
|
2052
|
+
scopes: Array<{
|
|
2053
|
+
actions: Array<string>;
|
|
2054
|
+
resource: string;
|
|
2055
|
+
}>;
|
|
2056
|
+
userId: string;
|
|
2057
|
+
}, string, Name>;
|
|
2058
|
+
keyList: FunctionReference<"query", "internal", {
|
|
2059
|
+
cursor?: string | null;
|
|
2060
|
+
limit?: number;
|
|
2061
|
+
order?: "asc" | "desc";
|
|
2062
|
+
orderBy?: "_creationTime" | "name" | "lastUsedAt" | "expiresAt" | "revoked";
|
|
2063
|
+
where?: {
|
|
2064
|
+
name?: string;
|
|
2065
|
+
prefix?: string;
|
|
2066
|
+
revoked?: boolean;
|
|
2067
|
+
userId?: string;
|
|
2068
|
+
};
|
|
2069
|
+
}, {
|
|
2070
|
+
items: Array<{
|
|
2071
|
+
_creationTime: number;
|
|
2072
|
+
_id: string;
|
|
2073
|
+
createdAt: number;
|
|
2074
|
+
expiresAt?: number;
|
|
2075
|
+
hashedKey: string;
|
|
2076
|
+
lastUsedAt?: number;
|
|
2077
|
+
metadata?: any;
|
|
2078
|
+
name: string;
|
|
2079
|
+
prefix: string;
|
|
2080
|
+
rateLimit?: {
|
|
2081
|
+
maxRequests: number;
|
|
2082
|
+
windowMs: number;
|
|
2083
|
+
};
|
|
2084
|
+
rateLimitState?: {
|
|
2085
|
+
attemptsLeft: number;
|
|
2086
|
+
lastAttemptTime: number;
|
|
2087
|
+
};
|
|
2088
|
+
revoked: boolean;
|
|
2089
|
+
scopes: Array<{
|
|
2090
|
+
actions: Array<string>;
|
|
2091
|
+
resource: string;
|
|
2092
|
+
}>;
|
|
2093
|
+
userId: string;
|
|
2094
|
+
}>;
|
|
2095
|
+
nextCursor: string | null;
|
|
2096
|
+
}, Name>;
|
|
2097
|
+
keyPatch: FunctionReference<"mutation", "internal", {
|
|
2098
|
+
data: {
|
|
2099
|
+
lastUsedAt?: number;
|
|
2100
|
+
name?: string;
|
|
2101
|
+
rateLimit?: {
|
|
2102
|
+
maxRequests: number;
|
|
2103
|
+
windowMs: number;
|
|
2104
|
+
};
|
|
2105
|
+
rateLimitState?: {
|
|
2106
|
+
attemptsLeft: number;
|
|
2107
|
+
lastAttemptTime: number;
|
|
2108
|
+
};
|
|
2109
|
+
revoked?: boolean;
|
|
2110
|
+
scopes?: Array<{
|
|
2111
|
+
actions: Array<string>;
|
|
2112
|
+
resource: string;
|
|
2113
|
+
}>;
|
|
2114
|
+
};
|
|
2115
|
+
keyId: string;
|
|
2116
|
+
}, null, Name>;
|
|
2117
|
+
};
|
|
2118
|
+
limits: {
|
|
2119
|
+
rateLimitCreate: FunctionReference<"mutation", "internal", {
|
|
2120
|
+
attemptsLeft: number;
|
|
2121
|
+
identifier: string;
|
|
2122
|
+
lastAttemptTime: number;
|
|
2123
|
+
}, string, Name>;
|
|
2124
|
+
rateLimitDelete: FunctionReference<"mutation", "internal", {
|
|
2125
|
+
rateLimitId: string;
|
|
2126
|
+
}, null, Name>;
|
|
2127
|
+
rateLimitGet: FunctionReference<"query", "internal", {
|
|
2128
|
+
identifier: string;
|
|
2129
|
+
}, {
|
|
2130
|
+
_creationTime: number;
|
|
2131
|
+
_id: string;
|
|
2132
|
+
attemptsLeft: number;
|
|
2133
|
+
attempts_left: number;
|
|
2134
|
+
identifier: string;
|
|
2135
|
+
lastAttemptTime: number;
|
|
2136
|
+
last_attempt_time: number;
|
|
2137
|
+
} | null, Name>;
|
|
2138
|
+
rateLimitPatch: FunctionReference<"mutation", "internal", {
|
|
2139
|
+
data: any;
|
|
2140
|
+
rateLimitId: string;
|
|
2141
|
+
}, null, Name>;
|
|
2142
|
+
};
|
|
2143
|
+
};
|
|
2144
|
+
sessionCreate: FunctionReference<"mutation", "internal", {
|
|
2145
|
+
expirationTime: number;
|
|
2146
|
+
userId: string;
|
|
2147
|
+
}, string, Name>;
|
|
2148
|
+
sessionDelete: FunctionReference<"mutation", "internal", {
|
|
2149
|
+
sessionId: string;
|
|
2150
|
+
}, null, Name>;
|
|
2151
|
+
sessionGetById: FunctionReference<"query", "internal", {
|
|
2152
|
+
sessionId: string;
|
|
2153
|
+
}, {
|
|
2154
|
+
_creationTime: number;
|
|
2155
|
+
_id: string;
|
|
2156
|
+
expirationTime: number;
|
|
2157
|
+
userId: string;
|
|
2158
|
+
} | null, Name>;
|
|
2159
|
+
sessionIssue: FunctionReference<"mutation", "internal", {
|
|
2160
|
+
refreshTokenExpirationTime?: number;
|
|
2161
|
+
replaceSessionId?: string;
|
|
2162
|
+
sessionExpirationTime: number;
|
|
2163
|
+
sessionId?: string;
|
|
2164
|
+
userId: string;
|
|
2165
|
+
}, {
|
|
2166
|
+
refreshTokenId?: string;
|
|
2167
|
+
sessionId: string;
|
|
2168
|
+
userId: string;
|
|
2169
|
+
}, Name>;
|
|
2170
|
+
sessionList: FunctionReference<"query", "internal", {
|
|
2171
|
+
cursor?: string | null;
|
|
2172
|
+
limit?: number;
|
|
2173
|
+
order?: "asc" | "desc";
|
|
2174
|
+
where?: {
|
|
2175
|
+
userId?: string;
|
|
2176
|
+
};
|
|
2177
|
+
}, {
|
|
2178
|
+
items: Array<{
|
|
2179
|
+
_creationTime: number;
|
|
2180
|
+
_id: string;
|
|
2181
|
+
expirationTime: number;
|
|
2182
|
+
userId: string;
|
|
2183
|
+
}>;
|
|
2184
|
+
nextCursor: string | null;
|
|
2185
|
+
}, Name>;
|
|
2186
|
+
sessionListByUser: FunctionReference<"query", "internal", {
|
|
2187
|
+
userId: string;
|
|
2188
|
+
}, Array<{
|
|
2189
|
+
_creationTime: number;
|
|
2190
|
+
_id: string;
|
|
2191
|
+
expirationTime: number;
|
|
2192
|
+
userId: string;
|
|
2466
2193
|
}>, Name>;
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2194
|
+
sso: {
|
|
2195
|
+
audit: {
|
|
2196
|
+
groupAuditEventCreate: FunctionReference<"mutation", "internal", {
|
|
2197
|
+
actorId?: string;
|
|
2198
|
+
actorType: "user" | "system" | "scim" | "api_key" | "webhook";
|
|
2199
|
+
connectionId?: string;
|
|
2200
|
+
eventType: string;
|
|
2201
|
+
groupId: string;
|
|
2202
|
+
ip?: string;
|
|
2203
|
+
metadata?: any;
|
|
2204
|
+
occurredAt: number;
|
|
2205
|
+
requestId?: string;
|
|
2206
|
+
status: "success" | "failure";
|
|
2207
|
+
subjectId?: string;
|
|
2208
|
+
subjectType: string;
|
|
2209
|
+
}, string, Name>;
|
|
2210
|
+
groupAuditEventList: FunctionReference<"query", "internal", {
|
|
2211
|
+
connectionId?: string;
|
|
2212
|
+
groupId?: string;
|
|
2213
|
+
limit?: number;
|
|
2214
|
+
}, Array<{
|
|
2215
|
+
_creationTime: number;
|
|
2216
|
+
_id: string;
|
|
2217
|
+
actorId?: string;
|
|
2218
|
+
actorType: "user" | "system" | "scim" | "api_key" | "webhook";
|
|
2219
|
+
connectionId?: string;
|
|
2220
|
+
eventType: string;
|
|
2221
|
+
groupId: string;
|
|
2222
|
+
ip?: string;
|
|
2223
|
+
metadata?: any;
|
|
2224
|
+
occurredAt: number;
|
|
2225
|
+
requestId?: string;
|
|
2226
|
+
status: "success" | "failure";
|
|
2227
|
+
subjectId?: string;
|
|
2228
|
+
subjectType: string;
|
|
2229
|
+
}>, Name>;
|
|
2230
|
+
};
|
|
2231
|
+
core: {
|
|
2232
|
+
groupConnectionCreate: FunctionReference<"mutation", "internal", {
|
|
2233
|
+
config?: any;
|
|
2234
|
+
extend?: any;
|
|
2235
|
+
groupId: string;
|
|
2236
|
+
name?: string;
|
|
2237
|
+
protocol: "oidc" | "saml";
|
|
2238
|
+
slug?: string;
|
|
2239
|
+
status?: "draft" | "active" | "disabled";
|
|
2240
|
+
}, string, Name>;
|
|
2241
|
+
groupConnectionDelete: FunctionReference<"mutation", "internal", {
|
|
2242
|
+
connectionId: string;
|
|
2475
2243
|
}, null, Name>;
|
|
2476
|
-
|
|
2477
|
-
|
|
2244
|
+
groupConnectionGet: FunctionReference<"query", "internal", {
|
|
2245
|
+
connectionId: string;
|
|
2478
2246
|
}, {
|
|
2479
2247
|
_creationTime: number;
|
|
2480
2248
|
_id: string;
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2249
|
+
config?: any;
|
|
2250
|
+
extend?: any;
|
|
2251
|
+
groupId: string;
|
|
2252
|
+
name?: string;
|
|
2253
|
+
protocol: "oidc" | "saml";
|
|
2254
|
+
slug?: string;
|
|
2255
|
+
status: "draft" | "active" | "disabled";
|
|
2256
|
+
} | null, Name>;
|
|
2257
|
+
groupConnectionGetByDomain: FunctionReference<"query", "internal", {
|
|
2258
|
+
domain: string;
|
|
2259
|
+
}, {
|
|
2260
|
+
connection: {
|
|
2261
|
+
_creationTime: number;
|
|
2262
|
+
_id: string;
|
|
2263
|
+
config?: any;
|
|
2264
|
+
extend?: any;
|
|
2265
|
+
groupId: string;
|
|
2266
|
+
name?: string;
|
|
2267
|
+
protocol: "oidc" | "saml";
|
|
2268
|
+
slug?: string;
|
|
2269
|
+
status: "draft" | "active" | "disabled";
|
|
2491
2270
|
};
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2271
|
+
domain: {
|
|
2272
|
+
_creationTime: number;
|
|
2273
|
+
_id: string;
|
|
2274
|
+
connectionId: string;
|
|
2275
|
+
domain: string;
|
|
2276
|
+
groupId: string;
|
|
2277
|
+
isPrimary: boolean;
|
|
2278
|
+
verifiedAt?: number;
|
|
2495
2279
|
};
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2280
|
+
} | null, Name>;
|
|
2281
|
+
groupConnectionList: FunctionReference<"query", "internal", {
|
|
2282
|
+
cursor?: string | null;
|
|
2283
|
+
limit?: number;
|
|
2284
|
+
order?: "asc" | "desc";
|
|
2285
|
+
orderBy?: "_creationTime" | "name" | "slug" | "status";
|
|
2286
|
+
where?: {
|
|
2287
|
+
groupId?: string;
|
|
2288
|
+
slug?: string;
|
|
2289
|
+
status?: "draft" | "active" | "disabled";
|
|
2290
|
+
};
|
|
2291
|
+
}, {
|
|
2292
|
+
items: Array<{
|
|
2293
|
+
_creationTime: number;
|
|
2294
|
+
_id: string;
|
|
2295
|
+
config?: any;
|
|
2296
|
+
extend?: any;
|
|
2297
|
+
groupId: string;
|
|
2298
|
+
name?: string;
|
|
2299
|
+
protocol: "oidc" | "saml";
|
|
2300
|
+
slug?: string;
|
|
2301
|
+
status: "draft" | "active" | "disabled";
|
|
2500
2302
|
}>;
|
|
2303
|
+
nextCursor: string | null;
|
|
2304
|
+
}, Name>;
|
|
2305
|
+
groupConnectionUpdate: FunctionReference<"mutation", "internal", {
|
|
2306
|
+
connectionId: string;
|
|
2307
|
+
data: any;
|
|
2308
|
+
}, null, Name>;
|
|
2309
|
+
};
|
|
2310
|
+
domains: {
|
|
2311
|
+
groupConnectionDomainAdd: FunctionReference<"mutation", "internal", {
|
|
2312
|
+
connectionId: string;
|
|
2313
|
+
domain: string;
|
|
2314
|
+
groupId: string;
|
|
2315
|
+
isPrimary?: boolean;
|
|
2316
|
+
}, string, Name>;
|
|
2317
|
+
groupConnectionDomainDelete: FunctionReference<"mutation", "internal", {
|
|
2318
|
+
domainId: string;
|
|
2319
|
+
}, null, Name>;
|
|
2320
|
+
groupConnectionDomainList: FunctionReference<"query", "internal", {
|
|
2321
|
+
connectionId: string;
|
|
2322
|
+
}, Array<{
|
|
2323
|
+
_creationTime: number;
|
|
2324
|
+
_id: string;
|
|
2325
|
+
connectionId: string;
|
|
2326
|
+
domain: string;
|
|
2327
|
+
groupId: string;
|
|
2328
|
+
isPrimary: boolean;
|
|
2329
|
+
verifiedAt?: number;
|
|
2330
|
+
}>, Name>;
|
|
2331
|
+
groupConnectionDomainVerificationDelete: FunctionReference<"mutation", "internal", {
|
|
2332
|
+
domainId: string;
|
|
2333
|
+
}, null, Name>;
|
|
2334
|
+
groupConnectionDomainVerificationGet: FunctionReference<"query", "internal", {
|
|
2335
|
+
domainId: string;
|
|
2336
|
+
}, {
|
|
2337
|
+
_creationTime: number;
|
|
2338
|
+
_id: string;
|
|
2339
|
+
connectionId: string;
|
|
2340
|
+
domain: string;
|
|
2341
|
+
domainId: string;
|
|
2342
|
+
expiresAt: number;
|
|
2343
|
+
groupId: string;
|
|
2344
|
+
recordName: string;
|
|
2345
|
+
requestedAt: number;
|
|
2346
|
+
token: string;
|
|
2347
|
+
tokenHash: string;
|
|
2348
|
+
} | null, Name>;
|
|
2349
|
+
groupConnectionDomainVerificationUpsert: FunctionReference<"mutation", "internal", {
|
|
2350
|
+
connectionId: string;
|
|
2351
|
+
domain: string;
|
|
2352
|
+
domainId: string;
|
|
2353
|
+
expiresAt: number;
|
|
2354
|
+
groupId: string;
|
|
2355
|
+
recordName: string;
|
|
2356
|
+
requestedAt: number;
|
|
2357
|
+
token: string;
|
|
2358
|
+
tokenHash: string;
|
|
2359
|
+
}, string, Name>;
|
|
2360
|
+
groupConnectionDomainVerify: FunctionReference<"mutation", "internal", {
|
|
2361
|
+
domainId: string;
|
|
2362
|
+
verifiedAt: number;
|
|
2363
|
+
}, {
|
|
2364
|
+
_creationTime: number;
|
|
2365
|
+
_id: string;
|
|
2366
|
+
connectionId: string;
|
|
2367
|
+
domain: string;
|
|
2368
|
+
groupId: string;
|
|
2369
|
+
isPrimary: boolean;
|
|
2370
|
+
verifiedAt?: number;
|
|
2371
|
+
}, Name>;
|
|
2372
|
+
};
|
|
2373
|
+
scim: {
|
|
2374
|
+
groupConnectionScimConfigGetByGroupConnection: FunctionReference<"query", "internal", {
|
|
2375
|
+
connectionId: string;
|
|
2376
|
+
}, {
|
|
2377
|
+
_creationTime: number;
|
|
2378
|
+
_id: string;
|
|
2379
|
+
basePath: string;
|
|
2380
|
+
connectionId: string;
|
|
2381
|
+
extend?: any;
|
|
2382
|
+
groupId: string;
|
|
2383
|
+
lastRotatedAt?: number;
|
|
2384
|
+
status: "draft" | "active" | "disabled";
|
|
2385
|
+
tokenHash: string;
|
|
2386
|
+
} | null, Name>;
|
|
2387
|
+
groupConnectionScimConfigGetByTokenHash: FunctionReference<"query", "internal", {
|
|
2388
|
+
tokenHash: string;
|
|
2389
|
+
}, {
|
|
2390
|
+
_creationTime: number;
|
|
2391
|
+
_id: string;
|
|
2392
|
+
basePath: string;
|
|
2393
|
+
connectionId: string;
|
|
2394
|
+
extend?: any;
|
|
2395
|
+
groupId: string;
|
|
2396
|
+
lastRotatedAt?: number;
|
|
2397
|
+
status: "draft" | "active" | "disabled";
|
|
2398
|
+
tokenHash: string;
|
|
2399
|
+
} | null, Name>;
|
|
2400
|
+
groupConnectionScimConfigUpsert: FunctionReference<"mutation", "internal", {
|
|
2401
|
+
basePath: string;
|
|
2402
|
+
connectionId: string;
|
|
2403
|
+
extend?: any;
|
|
2404
|
+
groupId: string;
|
|
2405
|
+
lastRotatedAt?: number;
|
|
2406
|
+
status: "draft" | "active" | "disabled";
|
|
2407
|
+
tokenHash: string;
|
|
2408
|
+
}, string, Name>;
|
|
2409
|
+
groupConnectionScimIdentityDelete: FunctionReference<"mutation", "internal", {
|
|
2410
|
+
identityId: string;
|
|
2411
|
+
}, null, Name>;
|
|
2412
|
+
groupConnectionScimIdentityGet: FunctionReference<"query", "internal", {
|
|
2413
|
+
connectionId: string;
|
|
2414
|
+
externalId: string;
|
|
2415
|
+
resourceType: "user" | "group";
|
|
2416
|
+
}, {
|
|
2417
|
+
_creationTime: number;
|
|
2418
|
+
_id: string;
|
|
2419
|
+
active?: boolean;
|
|
2420
|
+
connectionId: string;
|
|
2421
|
+
externalId: string;
|
|
2422
|
+
groupId: string;
|
|
2423
|
+
lastProvisionedAt?: number;
|
|
2424
|
+
mappedGroupId?: string;
|
|
2425
|
+
raw?: any;
|
|
2426
|
+
resourceType: "user" | "group";
|
|
2427
|
+
userId?: string;
|
|
2428
|
+
} | null, Name>;
|
|
2429
|
+
groupConnectionScimIdentityGetByGroupConnectionAndUser: FunctionReference<"query", "internal", {
|
|
2430
|
+
connectionId: string;
|
|
2431
|
+
userId: string;
|
|
2432
|
+
}, {
|
|
2433
|
+
_creationTime: number;
|
|
2434
|
+
_id: string;
|
|
2435
|
+
active?: boolean;
|
|
2436
|
+
connectionId: string;
|
|
2437
|
+
externalId: string;
|
|
2438
|
+
groupId: string;
|
|
2439
|
+
lastProvisionedAt?: number;
|
|
2440
|
+
mappedGroupId?: string;
|
|
2441
|
+
raw?: any;
|
|
2442
|
+
resourceType: "user" | "group";
|
|
2443
|
+
userId?: string;
|
|
2444
|
+
} | null, Name>;
|
|
2445
|
+
groupConnectionScimIdentityGetByMappedGroup: FunctionReference<"query", "internal", {
|
|
2446
|
+
mappedGroupId: string;
|
|
2447
|
+
}, {
|
|
2448
|
+
_creationTime: number;
|
|
2449
|
+
_id: string;
|
|
2450
|
+
active?: boolean;
|
|
2451
|
+
connectionId: string;
|
|
2452
|
+
externalId: string;
|
|
2453
|
+
groupId: string;
|
|
2454
|
+
lastProvisionedAt?: number;
|
|
2455
|
+
mappedGroupId?: string;
|
|
2456
|
+
raw?: any;
|
|
2457
|
+
resourceType: "user" | "group";
|
|
2458
|
+
userId?: string;
|
|
2459
|
+
} | null, Name>;
|
|
2460
|
+
groupConnectionScimIdentityGetByUser: FunctionReference<"query", "internal", {
|
|
2501
2461
|
userId: string;
|
|
2462
|
+
}, {
|
|
2463
|
+
_creationTime: number;
|
|
2464
|
+
_id: string;
|
|
2465
|
+
active?: boolean;
|
|
2466
|
+
connectionId: string;
|
|
2467
|
+
externalId: string;
|
|
2468
|
+
groupId: string;
|
|
2469
|
+
lastProvisionedAt?: number;
|
|
2470
|
+
mappedGroupId?: string;
|
|
2471
|
+
raw?: any;
|
|
2472
|
+
resourceType: "user" | "group";
|
|
2473
|
+
userId?: string;
|
|
2502
2474
|
} | null, Name>;
|
|
2503
|
-
|
|
2504
|
-
|
|
2475
|
+
groupConnectionScimIdentityListByGroupConnection: FunctionReference<"query", "internal", {
|
|
2476
|
+
connectionId: string;
|
|
2477
|
+
}, Array<{
|
|
2478
|
+
_creationTime: number;
|
|
2479
|
+
_id: string;
|
|
2480
|
+
active?: boolean;
|
|
2481
|
+
connectionId: string;
|
|
2482
|
+
externalId: string;
|
|
2483
|
+
groupId: string;
|
|
2484
|
+
lastProvisionedAt?: number;
|
|
2485
|
+
mappedGroupId?: string;
|
|
2486
|
+
raw?: any;
|
|
2487
|
+
resourceType: "user" | "group";
|
|
2488
|
+
userId?: string;
|
|
2489
|
+
}>, Name>;
|
|
2490
|
+
groupConnectionScimIdentityUpsert: FunctionReference<"mutation", "internal", {
|
|
2491
|
+
active?: boolean;
|
|
2492
|
+
connectionId: string;
|
|
2493
|
+
externalId: string;
|
|
2494
|
+
groupId: string;
|
|
2495
|
+
lastProvisionedAt?: number;
|
|
2496
|
+
mappedGroupId?: string;
|
|
2497
|
+
raw?: any;
|
|
2498
|
+
resourceType: "user" | "group";
|
|
2499
|
+
userId?: string;
|
|
2500
|
+
}, string, Name>;
|
|
2501
|
+
};
|
|
2502
|
+
secrets: {
|
|
2503
|
+
groupConnectionSecretDelete: FunctionReference<"mutation", "internal", {
|
|
2504
|
+
connectionId: string;
|
|
2505
|
+
kind: "oidc_client_secret";
|
|
2506
|
+
}, null, Name>;
|
|
2507
|
+
groupConnectionSecretGet: FunctionReference<"query", "internal", {
|
|
2508
|
+
connectionId: string;
|
|
2509
|
+
kind: "oidc_client_secret";
|
|
2505
2510
|
}, {
|
|
2506
2511
|
_creationTime: number;
|
|
2507
2512
|
_id: string;
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
name: string;
|
|
2514
|
-
prefix: string;
|
|
2515
|
-
rateLimit?: {
|
|
2516
|
-
maxRequests: number;
|
|
2517
|
-
windowMs: number;
|
|
2518
|
-
};
|
|
2519
|
-
rateLimitState?: {
|
|
2520
|
-
attemptsLeft: number;
|
|
2521
|
-
lastAttemptTime: number;
|
|
2522
|
-
};
|
|
2523
|
-
revoked: boolean;
|
|
2524
|
-
scopes: Array<{
|
|
2525
|
-
actions: Array<string>;
|
|
2526
|
-
resource: string;
|
|
2527
|
-
}>;
|
|
2528
|
-
userId: string;
|
|
2513
|
+
ciphertext: string;
|
|
2514
|
+
connectionId: string;
|
|
2515
|
+
groupId: string;
|
|
2516
|
+
kind: "oidc_client_secret";
|
|
2517
|
+
updatedAt: number;
|
|
2529
2518
|
} | null, Name>;
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
rateLimit?: {
|
|
2537
|
-
maxRequests: number;
|
|
2538
|
-
windowMs: number;
|
|
2539
|
-
};
|
|
2540
|
-
scopes: Array<{
|
|
2541
|
-
actions: Array<string>;
|
|
2542
|
-
resource: string;
|
|
2543
|
-
}>;
|
|
2544
|
-
userId: string;
|
|
2519
|
+
groupConnectionSecretUpsert: FunctionReference<"mutation", "internal", {
|
|
2520
|
+
ciphertext: string;
|
|
2521
|
+
connectionId: string;
|
|
2522
|
+
groupId: string;
|
|
2523
|
+
kind: "oidc_client_secret";
|
|
2524
|
+
updatedAt: number;
|
|
2545
2525
|
}, string, Name>;
|
|
2546
|
-
keyList: FunctionReference<"query", "internal", {
|
|
2547
|
-
cursor?: string | null;
|
|
2548
|
-
limit?: number;
|
|
2549
|
-
order?: "asc" | "desc";
|
|
2550
|
-
orderBy?: "_creationTime" | "name" | "lastUsedAt" | "expiresAt" | "revoked";
|
|
2551
|
-
where?: {
|
|
2552
|
-
name?: string;
|
|
2553
|
-
prefix?: string;
|
|
2554
|
-
revoked?: boolean;
|
|
2555
|
-
userId?: string;
|
|
2556
|
-
};
|
|
2557
|
-
}, {
|
|
2558
|
-
items: Array<{
|
|
2559
|
-
_creationTime: number;
|
|
2560
|
-
_id: string;
|
|
2561
|
-
createdAt: number;
|
|
2562
|
-
expiresAt?: number;
|
|
2563
|
-
hashedKey: string;
|
|
2564
|
-
lastUsedAt?: number;
|
|
2565
|
-
metadata?: any;
|
|
2566
|
-
name: string;
|
|
2567
|
-
prefix: string;
|
|
2568
|
-
rateLimit?: {
|
|
2569
|
-
maxRequests: number;
|
|
2570
|
-
windowMs: number;
|
|
2571
|
-
};
|
|
2572
|
-
rateLimitState?: {
|
|
2573
|
-
attemptsLeft: number;
|
|
2574
|
-
lastAttemptTime: number;
|
|
2575
|
-
};
|
|
2576
|
-
revoked: boolean;
|
|
2577
|
-
scopes: Array<{
|
|
2578
|
-
actions: Array<string>;
|
|
2579
|
-
resource: string;
|
|
2580
|
-
}>;
|
|
2581
|
-
userId: string;
|
|
2582
|
-
}>;
|
|
2583
|
-
nextCursor: string | null;
|
|
2584
|
-
}, Name>;
|
|
2585
|
-
keyPatch: FunctionReference<"mutation", "internal", {
|
|
2586
|
-
data: {
|
|
2587
|
-
lastUsedAt?: number;
|
|
2588
|
-
name?: string;
|
|
2589
|
-
rateLimit?: {
|
|
2590
|
-
maxRequests: number;
|
|
2591
|
-
windowMs: number;
|
|
2592
|
-
};
|
|
2593
|
-
rateLimitState?: {
|
|
2594
|
-
attemptsLeft: number;
|
|
2595
|
-
lastAttemptTime: number;
|
|
2596
|
-
};
|
|
2597
|
-
revoked?: boolean;
|
|
2598
|
-
scopes?: Array<{
|
|
2599
|
-
actions: Array<string>;
|
|
2600
|
-
resource: string;
|
|
2601
|
-
}>;
|
|
2602
|
-
};
|
|
2603
|
-
keyId: string;
|
|
2604
|
-
}, null, Name>;
|
|
2605
2526
|
};
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2527
|
+
webhooks: {
|
|
2528
|
+
groupWebhookDeliveryEnqueue: FunctionReference<"mutation", "internal", {
|
|
2529
|
+
auditEventId?: string;
|
|
2530
|
+
connectionId: string;
|
|
2531
|
+
endpointId: string;
|
|
2532
|
+
eventType: string;
|
|
2533
|
+
nextAttemptAt: number;
|
|
2534
|
+
payload: any;
|
|
2611
2535
|
}, string, Name>;
|
|
2612
|
-
|
|
2613
|
-
|
|
2536
|
+
groupWebhookDeliveryList: FunctionReference<"query", "internal", {
|
|
2537
|
+
connectionId: string;
|
|
2538
|
+
limit?: number;
|
|
2539
|
+
}, Array<{
|
|
2540
|
+
_creationTime: number;
|
|
2541
|
+
_id: string;
|
|
2542
|
+
attemptCount: number;
|
|
2543
|
+
auditEventId?: string;
|
|
2544
|
+
connectionId: string;
|
|
2545
|
+
endpointId: string;
|
|
2546
|
+
eventType: string;
|
|
2547
|
+
lastAttemptAt?: number;
|
|
2548
|
+
lastError?: string;
|
|
2549
|
+
lastResponseStatus?: number;
|
|
2550
|
+
nextAttemptAt: number;
|
|
2551
|
+
payload: any;
|
|
2552
|
+
status: "pending" | "processing" | "delivered" | "failed";
|
|
2553
|
+
}>, Name>;
|
|
2554
|
+
groupWebhookDeliveryListReady: FunctionReference<"query", "internal", {
|
|
2555
|
+
limit?: number;
|
|
2556
|
+
now: number;
|
|
2557
|
+
}, Array<{
|
|
2558
|
+
_creationTime: number;
|
|
2559
|
+
_id: string;
|
|
2560
|
+
attemptCount: number;
|
|
2561
|
+
auditEventId?: string;
|
|
2562
|
+
connectionId: string;
|
|
2563
|
+
endpointId: string;
|
|
2564
|
+
eventType: string;
|
|
2565
|
+
lastAttemptAt?: number;
|
|
2566
|
+
lastError?: string;
|
|
2567
|
+
lastResponseStatus?: number;
|
|
2568
|
+
nextAttemptAt: number;
|
|
2569
|
+
payload: any;
|
|
2570
|
+
status: "pending" | "processing" | "delivered" | "failed";
|
|
2571
|
+
}>, Name>;
|
|
2572
|
+
groupWebhookDeliveryPatch: FunctionReference<"mutation", "internal", {
|
|
2573
|
+
data: any;
|
|
2574
|
+
deliveryId: string;
|
|
2614
2575
|
}, null, Name>;
|
|
2615
|
-
|
|
2616
|
-
|
|
2576
|
+
groupWebhookEndpointCreate: FunctionReference<"mutation", "internal", {
|
|
2577
|
+
connectionId: string;
|
|
2578
|
+
createdByUserId?: string;
|
|
2579
|
+
extend?: any;
|
|
2580
|
+
groupId: string;
|
|
2581
|
+
secretHash: string;
|
|
2582
|
+
status?: "active" | "disabled";
|
|
2583
|
+
subscriptions: Array<string>;
|
|
2584
|
+
url: string;
|
|
2585
|
+
}, string, Name>;
|
|
2586
|
+
groupWebhookEndpointGet: FunctionReference<"query", "internal", {
|
|
2587
|
+
endpointId: string;
|
|
2617
2588
|
}, {
|
|
2618
2589
|
_creationTime: number;
|
|
2619
2590
|
_id: string;
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2591
|
+
connectionId: string;
|
|
2592
|
+
createdByUserId?: string;
|
|
2593
|
+
extend?: any;
|
|
2594
|
+
failureCount: number;
|
|
2595
|
+
groupId: string;
|
|
2596
|
+
lastFailureAt?: number;
|
|
2597
|
+
lastSuccessAt?: number;
|
|
2598
|
+
secretHash: string;
|
|
2599
|
+
status: "active" | "disabled";
|
|
2600
|
+
subscriptions: Array<string>;
|
|
2601
|
+
url: string;
|
|
2625
2602
|
} | null, Name>;
|
|
2626
|
-
|
|
2603
|
+
groupWebhookEndpointList: FunctionReference<"query", "internal", {
|
|
2604
|
+
connectionId: string;
|
|
2605
|
+
}, Array<{
|
|
2606
|
+
_creationTime: number;
|
|
2607
|
+
_id: string;
|
|
2608
|
+
connectionId: string;
|
|
2609
|
+
createdByUserId?: string;
|
|
2610
|
+
extend?: any;
|
|
2611
|
+
failureCount: number;
|
|
2612
|
+
groupId: string;
|
|
2613
|
+
lastFailureAt?: number;
|
|
2614
|
+
lastSuccessAt?: number;
|
|
2615
|
+
secretHash: string;
|
|
2616
|
+
status: "active" | "disabled";
|
|
2617
|
+
subscriptions: Array<string>;
|
|
2618
|
+
url: string;
|
|
2619
|
+
}>, Name>;
|
|
2620
|
+
groupWebhookEndpointUpdate: FunctionReference<"mutation", "internal", {
|
|
2627
2621
|
data: any;
|
|
2628
|
-
|
|
2622
|
+
endpointId: string;
|
|
2629
2623
|
}, null, Name>;
|
|
2630
2624
|
};
|
|
2631
2625
|
};
|
|
2632
|
-
sessionCreate: FunctionReference<"mutation", "internal", {
|
|
2633
|
-
expirationTime: number;
|
|
2634
|
-
userId: string;
|
|
2635
|
-
}, string, Name>;
|
|
2636
|
-
sessionDelete: FunctionReference<"mutation", "internal", {
|
|
2637
|
-
sessionId: string;
|
|
2638
|
-
}, null, Name>;
|
|
2639
|
-
sessionGetById: FunctionReference<"query", "internal", {
|
|
2640
|
-
sessionId: string;
|
|
2641
|
-
}, {
|
|
2642
|
-
_creationTime: number;
|
|
2643
|
-
_id: string;
|
|
2644
|
-
expirationTime: number;
|
|
2645
|
-
userId: string;
|
|
2646
|
-
} | null, Name>;
|
|
2647
|
-
sessionList: FunctionReference<"query", "internal", {
|
|
2648
|
-
cursor?: string | null;
|
|
2649
|
-
limit?: number;
|
|
2650
|
-
order?: "asc" | "desc";
|
|
2651
|
-
where?: {
|
|
2652
|
-
userId?: string;
|
|
2653
|
-
};
|
|
2654
|
-
}, {
|
|
2655
|
-
items: Array<{
|
|
2656
|
-
_creationTime: number;
|
|
2657
|
-
_id: string;
|
|
2658
|
-
expirationTime: number;
|
|
2659
|
-
userId: string;
|
|
2660
|
-
}>;
|
|
2661
|
-
nextCursor: string | null;
|
|
2662
|
-
}, Name>;
|
|
2663
|
-
sessionListByUser: FunctionReference<"query", "internal", {
|
|
2664
|
-
userId: string;
|
|
2665
|
-
}, Array<{
|
|
2666
|
-
_creationTime: number;
|
|
2667
|
-
_id: string;
|
|
2668
|
-
expirationTime: number;
|
|
2669
|
-
userId: string;
|
|
2670
|
-
}>, Name>;
|
|
2671
2626
|
totpDelete: FunctionReference<"mutation", "internal", {
|
|
2672
2627
|
totpId: string;
|
|
2673
2628
|
}, null, Name>;
|
|
@@ -2852,6 +2807,7 @@ type ComponentApi<Name extends string | undefined = string | undefined> = {
|
|
|
2852
2807
|
} | null, Name>;
|
|
2853
2808
|
verifierCreate: FunctionReference<"mutation", "internal", {
|
|
2854
2809
|
sessionId?: string;
|
|
2810
|
+
signature?: string;
|
|
2855
2811
|
}, string, Name>;
|
|
2856
2812
|
verifierDelete: FunctionReference<"mutation", "internal", {
|
|
2857
2813
|
verifierId: string;
|