@workos-inc/node 8.0.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/access-token.interface-PK6QwTjk.d.cts +18 -0
- package/lib/action.interface-D1_tZFKt.d.cts +63 -0
- package/lib/action.serializer-BGWv6ab1.cjs +47 -0
- package/lib/action.serializer-BGWv6ab1.cjs.map +1 -0
- package/lib/actions/actions.cjs +1 -1
- package/lib/actions/actions.d.cts +1 -1
- package/lib/actions/interfaces/action.interface.d.cts +1 -1
- package/lib/actions/interfaces/index.d.cts +2 -2
- package/lib/actions/interfaces/response-payload.interface.d.cts +1 -1
- package/lib/actions/serializers/action.serializer.cjs +1 -1
- package/lib/actions/serializers/action.serializer.d.cts +1 -1
- package/lib/actions-DuKUPx9Z.cjs +58 -0
- package/lib/actions-DuKUPx9Z.cjs.map +1 -0
- package/lib/actions-dIejjUW1.d.cts +41 -0
- package/lib/add-environment-role-permission-options.interface-Pk9Z0RBF.d.cts +7 -0
- package/lib/add-flag-target-options.interface-CJ7M40Wi.d.cts +8 -0
- package/lib/add-organization-role-permission-options.interface-Oc11Zzvq.d.cts +7 -0
- package/lib/api-key-required.exception-DTYoK0KE.d.cts +10 -0
- package/lib/api-key.interface-SUHnxEHj.d.cts +32 -0
- package/lib/api-key.serializer-DWK81bXa.d.cts +7 -0
- package/lib/api-keys/api-keys.d.cts +1 -1
- package/lib/api-keys/interfaces/api-key.interface.d.cts +1 -1
- package/lib/api-keys/interfaces/create-organization-api-key-options.interface.d.cts +1 -1
- package/lib/api-keys/interfaces/created-api-key.interface.d.cts +1 -1
- package/lib/api-keys/interfaces/index.d.cts +5 -5
- package/lib/api-keys/interfaces/list-organization-api-keys-options.interface.d.cts +1 -1
- package/lib/api-keys/interfaces/validate-api-key.interface.d.cts +1 -1
- package/lib/api-keys/serializers/api-key.serializer.d.cts +1 -1
- package/lib/api-keys/serializers/create-organization-api-key-options.serializer.d.cts +1 -1
- package/lib/api-keys/serializers/created-api-key.serializer.d.cts +1 -1
- package/lib/api-keys/serializers/index.d.cts +4 -4
- package/lib/api-keys/serializers/validate-api-key.serializer.d.cts +1 -1
- package/lib/api-keys-4KSJ7vul.d.cts +744 -0
- package/lib/app-info.interface-DQRHsNPh.d.cts +8 -0
- package/lib/audit-log-export-options.interface-BLw_RWFk.d.cts +22 -0
- package/lib/audit-log-export-options.serializer-ffwj8kRw.d.cts +7 -0
- package/lib/audit-log-export.interface-oDR72O0J.d.cts +20 -0
- package/lib/audit-log-export.serializer-DVMljTPL.d.cts +7 -0
- package/lib/audit-logs/audit-logs.d.cts +1 -1
- package/lib/audit-logs/interfaces/audit-log-export-options.interface.d.cts +1 -1
- package/lib/audit-logs/interfaces/audit-log-export.interface.d.cts +1 -1
- package/lib/audit-logs/interfaces/create-audit-log-event-options.interface.d.cts +1 -1
- package/lib/audit-logs/interfaces/create-audit-log-schema-options.interface.d.cts +1 -1
- package/lib/audit-logs/interfaces/index.d.cts +4 -4
- package/lib/audit-logs/serializers/audit-log-export-options.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/audit-log-export.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/create-audit-log-event-options.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/create-audit-log-schema-options.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/create-audit-log-schema.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/index.d.cts +5 -5
- package/lib/authenticate-with-code-and-verifier-options.interface-CifpWY0M.d.cts +17 -0
- package/lib/authenticate-with-code-and-verifier-options.serializer-BqSvuzAF.d.cts +8 -0
- package/lib/authenticate-with-code-options.interface-CtsvRTYS.d.cts +20 -0
- package/lib/authenticate-with-code-options.serializer-Blhrjiq0.d.cts +8 -0
- package/lib/authenticate-with-email-verification-options.interface-BCC2K9Zp.d.cts +18 -0
- package/lib/authenticate-with-magic-auth-options.interface-Dmxc0Aes.d.cts +22 -0
- package/lib/authenticate-with-magic-auth-options.serializer-DAjj_AJh.d.cts +8 -0
- package/lib/authenticate-with-options-base.interface-Dx_YCajX.d.cts +41 -0
- package/lib/authenticate-with-organization-selection.interface-DYOjeIvu.d.cts +18 -0
- package/lib/authenticate-with-password-options.interface-BbjZEbmt.d.cts +20 -0
- package/lib/authenticate-with-password-options.serializer-CFKO59Ra.d.cts +8 -0
- package/lib/authenticate-with-refresh-token-options.interface-CqS4TJ3X.d.cts +18 -0
- package/lib/authenticate-with-refresh-token-public-client-options.interface-TPswbB8Z.d.cts +16 -0
- package/lib/authenticate-with-refresh-token-public-client-options.serializer-Ccv24S4s.d.cts +8 -0
- package/lib/authenticate-with-refresh-token.options.serializer-Dhk9Zd7b.d.cts +9 -0
- package/lib/authenticate-with-session-cookie.interface-CoZAMXL_.d.cts +45 -0
- package/lib/authenticate-with-totp-options.interface-C0Jr3YDb.d.cts +20 -0
- package/lib/authenticate-with-totp-options.serializer-BcaV2QsQ.d.cts +8 -0
- package/lib/authentication-event.interface-0-TCj9ur.d.cts +28 -0
- package/lib/authentication-event.serializer-DX0bzXas.d.cts +7 -0
- package/lib/authentication-radar-risk-detected-event.interface-CcBMeCX7.d.cts +24 -0
- package/lib/authentication-response.interface-DITy4Tzw.d.cts +28 -0
- package/lib/authentication-response.serializer-DIJ8dZZS.d.cts +7 -0
- package/lib/authorization/authorization.cjs +3 -0
- package/lib/authorization/authorization.d.cts +2 -0
- package/lib/authorization/authorization.d.ts +45 -0
- package/lib/authorization/authorization.js +106 -0
- package/lib/authorization/authorization.js.map +1 -0
- package/lib/authorization/index.cjs +4 -0
- package/lib/authorization/index.d.cts +17 -0
- package/lib/authorization/index.d.ts +17 -0
- package/lib/authorization/index.js +3 -0
- package/lib/authorization/interfaces/add-environment-role-permission-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/add-environment-role-permission-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/add-environment-role-permission-options.interface.js +1 -0
- package/lib/authorization/interfaces/add-organization-role-permission-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/add-organization-role-permission-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/add-organization-role-permission-options.interface.js +1 -0
- package/lib/authorization/interfaces/create-environment-role-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/create-environment-role-options.interface.d.ts +14 -0
- package/lib/authorization/interfaces/create-environment-role-options.interface.js +1 -0
- package/lib/authorization/interfaces/create-organization-role-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/create-organization-role-options.interface.d.ts +14 -0
- package/lib/authorization/interfaces/create-organization-role-options.interface.js +1 -0
- package/lib/authorization/interfaces/create-permission-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/create-permission-options.interface.d.ts +14 -0
- package/lib/authorization/interfaces/create-permission-options.interface.js +1 -0
- package/lib/authorization/interfaces/environment-role.interface.d.cts +2 -0
- package/lib/authorization/interfaces/environment-role.interface.d.ts +34 -0
- package/lib/authorization/interfaces/environment-role.interface.js +1 -0
- package/lib/authorization/interfaces/index.d.cts +16 -0
- package/lib/authorization/interfaces/index.d.ts +16 -0
- package/lib/authorization/interfaces/index.js +1 -0
- package/lib/authorization/interfaces/list-permissions-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/list-permissions-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/list-permissions-options.interface.js +1 -0
- package/lib/authorization/interfaces/organization-role.interface.d.cts +2 -0
- package/lib/authorization/interfaces/organization-role.interface.d.ts +15 -0
- package/lib/authorization/interfaces/organization-role.interface.js +1 -0
- package/lib/authorization/interfaces/permission.interface.d.cts +2 -0
- package/lib/authorization/interfaces/permission.interface.d.ts +40 -0
- package/lib/authorization/interfaces/permission.interface.js +1 -0
- package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.js +1 -0
- package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.js +1 -0
- package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.js +1 -0
- package/lib/authorization/interfaces/update-environment-role-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/update-environment-role-options.interface.d.ts +12 -0
- package/lib/authorization/interfaces/update-environment-role-options.interface.js +1 -0
- package/lib/authorization/interfaces/update-organization-role-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/update-organization-role-options.interface.d.ts +12 -0
- package/lib/authorization/interfaces/update-organization-role-options.interface.js +1 -0
- package/lib/authorization/interfaces/update-permission-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/update-permission-options.interface.d.ts +12 -0
- package/lib/authorization/interfaces/update-permission-options.interface.js +1 -0
- package/lib/authorization/serializers/create-environment-role-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/create-environment-role-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/create-environment-role-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/create-environment-role-options.serializer.js +10 -0
- package/lib/authorization/serializers/create-environment-role-options.serializer.js.map +1 -0
- package/lib/authorization/serializers/create-organization-role-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/create-organization-role-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/create-organization-role-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/create-organization-role-options.serializer.js +10 -0
- package/lib/authorization/serializers/create-organization-role-options.serializer.js.map +1 -0
- package/lib/authorization/serializers/create-permission-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/create-permission-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/create-permission-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/create-permission-options.serializer.js +10 -0
- package/lib/authorization/serializers/create-permission-options.serializer.js.map +1 -0
- package/lib/authorization/serializers/environment-role.serializer.cjs +3 -0
- package/lib/authorization/serializers/environment-role.serializer.d.cts +2 -0
- package/lib/authorization/serializers/environment-role.serializer.d.ts +7 -0
- package/lib/authorization/serializers/environment-role.serializer.js +16 -0
- package/lib/authorization/serializers/environment-role.serializer.js.map +1 -0
- package/lib/authorization/serializers/index.cjs +20 -0
- package/lib/authorization/serializers/index.d.cts +10 -0
- package/lib/authorization/serializers/index.d.ts +10 -0
- package/lib/authorization/serializers/index.js +11 -0
- package/lib/authorization/serializers/organization-role.serializer.cjs +4 -0
- package/lib/authorization/serializers/organization-role.serializer.d.cts +2 -0
- package/lib/authorization/serializers/organization-role.serializer.d.ts +9 -0
- package/lib/authorization/serializers/organization-role.serializer.js +27 -0
- package/lib/authorization/serializers/organization-role.serializer.js.map +1 -0
- package/lib/authorization/serializers/permission.serializer.cjs +3 -0
- package/lib/authorization/serializers/permission.serializer.d.cts +2 -0
- package/lib/authorization/serializers/permission.serializer.d.ts +7 -0
- package/lib/authorization/serializers/permission.serializer.js +15 -0
- package/lib/authorization/serializers/permission.serializer.js.map +1 -0
- package/lib/authorization/serializers/update-environment-role-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/update-environment-role-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/update-environment-role-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/update-environment-role-options.serializer.js +9 -0
- package/lib/authorization/serializers/update-environment-role-options.serializer.js.map +1 -0
- package/lib/authorization/serializers/update-organization-role-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/update-organization-role-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/update-organization-role-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/update-organization-role-options.serializer.js +9 -0
- package/lib/authorization/serializers/update-organization-role-options.serializer.js.map +1 -0
- package/lib/authorization/serializers/update-permission-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/update-permission-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/update-permission-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/update-permission-options.serializer.js +9 -0
- package/lib/authorization/serializers/update-permission-options.serializer.js.map +1 -0
- package/lib/authorization-BQtSYdHQ.cjs +111 -0
- package/lib/authorization-BQtSYdHQ.cjs.map +1 -0
- package/lib/authorization-url-options.interface-BwBNFg0Z.d.cts +45 -0
- package/lib/authorization-url-options.interface-C5ABtdiE.d.cts +55 -0
- package/lib/bad-request.exception-BWL7y3t5.d.cts +25 -0
- package/lib/base64-8aJjmiTE.cjs +44 -0
- package/lib/base64-8aJjmiTE.cjs.map +1 -0
- package/lib/batch-write-resources-options.serializer-BaW6EWzS.cjs +23 -0
- package/lib/batch-write-resources-options.serializer-BaW6EWzS.cjs.map +1 -0
- package/lib/batch-write-resources-options.serializer-G63Eiv-r.d.cts +7 -0
- package/lib/challenge-factor-options-DQBD-OBq.d.cts +10 -0
- package/lib/challenge.interface-CGUxrdzT.d.cts +22 -0
- package/lib/challenge.serializer-C9JkzvE8.d.cts +7 -0
- package/lib/check-op.enum-1gyp3mY_.d.cts +8 -0
- package/lib/check-op.enum-DXKGh2oy.cjs +16 -0
- package/lib/check-op.enum-DXKGh2oy.cjs.map +1 -0
- package/lib/check-options.serializer-7EswFQ_P.cjs +69 -0
- package/lib/check-options.serializer-7EswFQ_P.cjs.map +1 -0
- package/lib/check-options.serializer-C7So55Kd.d.cts +9 -0
- package/lib/check.interface-B2pzNanW.cjs +33 -0
- package/lib/check.interface-B2pzNanW.cjs.map +1 -0
- package/lib/check.interface-oac-oCtg.d.cts +88 -0
- package/lib/common/crypto/crypto-provider.cjs +1 -1
- package/lib/common/crypto/crypto-provider.d.cts +1 -1
- package/lib/common/crypto/signature-provider.d.cts +1 -1
- package/lib/common/crypto/subtle-crypto-provider.cjs +1 -1
- package/lib/common/crypto/subtle-crypto-provider.d.cts +1 -1
- package/lib/common/exceptions/api-key-required.exception.d.cts +1 -1
- package/lib/common/exceptions/bad-request.exception.d.cts +1 -1
- package/lib/common/exceptions/conflict.exception.cjs +1 -1
- package/lib/common/exceptions/conflict.exception.d.cts +1 -1
- package/lib/common/exceptions/generic-server.exception.d.cts +1 -1
- package/lib/common/exceptions/index.d.cts +10 -10
- package/lib/common/exceptions/no-api-key-provided.exception.d.cts +1 -1
- package/lib/common/exceptions/not-found.exception.d.cts +1 -1
- package/lib/common/exceptions/oauth.exception.d.cts +1 -1
- package/lib/common/exceptions/parse-error.cjs +1 -1
- package/lib/common/exceptions/parse-error.d.cts +1 -1
- package/lib/common/exceptions/rate-limit-exceeded.exception.d.cts +1 -1
- package/lib/common/exceptions/signature-verification.exception.d.cts +1 -1
- package/lib/common/exceptions/unauthorized.exception.d.cts +1 -1
- package/lib/common/exceptions/unprocessable-entity.exception.d.cts +1 -1
- package/lib/common/interfaces/app-info.interface.d.cts +1 -1
- package/lib/common/interfaces/event.interface.d.cts +1 -1
- package/lib/common/interfaces/get-options.interface.d.cts +1 -1
- package/lib/common/interfaces/http-client.interface.d.cts +1 -1
- package/lib/common/interfaces/index.d.cts +12 -11
- package/lib/common/interfaces/index.d.ts +2 -1
- package/lib/common/interfaces/list.interface.d.cts +1 -1
- package/lib/common/interfaces/pagination-options.interface.d.cts +1 -1
- package/lib/common/interfaces/patch-options.interface.d.cts +2 -0
- package/lib/common/interfaces/patch-options.interface.d.ts +12 -0
- package/lib/common/interfaces/patch-options.interface.js +1 -0
- package/lib/common/interfaces/post-options.interface.d.cts +1 -1
- package/lib/common/interfaces/put-options.interface.d.cts +1 -1
- package/lib/common/interfaces/request-exception.interface.d.cts +1 -1
- package/lib/common/interfaces/unknown-record.interface.d.cts +1 -1
- package/lib/common/interfaces/unprocessable-entity-error.interface.d.cts +1 -1
- package/lib/common/interfaces/workos-options.interface.d.cts +1 -1
- package/lib/common/interfaces/workos-response-error.interface.d.cts +1 -1
- package/lib/common/net/fetch-client.cjs +1 -1
- package/lib/common/net/fetch-client.d.cts +3 -2
- package/lib/common/net/fetch-client.d.ts +1 -0
- package/lib/common/net/fetch-client.js +11 -0
- package/lib/common/net/fetch-client.js.map +1 -1
- package/lib/common/net/http-client.cjs +1 -1
- package/lib/common/net/http-client.d.cts +1 -1
- package/lib/common/net/http-client.d.ts +1 -0
- package/lib/common/net/http-client.js.map +1 -1
- package/lib/common/serializers/event.serializer.cjs +1 -1
- package/lib/common/serializers/event.serializer.d.cts +1 -1
- package/lib/common/serializers/index.cjs +1 -1
- package/lib/common/serializers/index.d.cts +2 -2
- package/lib/common/serializers/list.serializer.d.cts +1 -1
- package/lib/common/utils/base64.cjs +1 -1
- package/lib/common/utils/fetch-and-deserialize.d.cts +4 -4
- package/lib/common/utils/leb128.cjs +1 -1
- package/lib/common/utils/pagination.d.cts +1 -1
- package/lib/common/utils/runtime-info.cjs +1 -1
- package/lib/common/utils/unreachable.cjs +1 -1
- package/lib/conflict.exception-4m45wGr8.cjs +23 -0
- package/lib/conflict.exception-4m45wGr8.cjs.map +1 -0
- package/lib/connection-type.enum-BCSkvlg6.d.cts +41 -0
- package/lib/connection-type.enum-CQncLVbr.cjs +49 -0
- package/lib/connection-type.enum-CQncLVbr.cjs.map +1 -0
- package/lib/connection.interface-D1HP4q90.d.cts +33 -0
- package/lib/connection.serializer-B47qKsDN.d.cts +7 -0
- package/lib/create-audit-log-event-options.interface-B-eEsjZw.d.cts +43 -0
- package/lib/create-audit-log-event-options.serializer-Byx8ZppH.d.cts +7 -0
- package/lib/create-audit-log-schema-options.interface-VEGNQUoR.d.cts +67 -0
- package/lib/create-audit-log-schema-options.serializer-vOYqa-AI.d.cts +7 -0
- package/lib/create-audit-log-schema.serializer-CDSQiWrT.d.cts +7 -0
- package/lib/create-data-key.interface-uWGAAWZC.d.cts +15 -0
- package/lib/create-environment-role-options.interface-BzAxMcvk.d.cts +14 -0
- package/lib/create-environment-role-options.serializer-Cgp-nj7R.d.cts +7 -0
- package/lib/create-environment-role-options.serializer-g9jwCPzJ.cjs +16 -0
- package/lib/create-environment-role-options.serializer-g9jwCPzJ.cjs.map +1 -0
- package/lib/create-magic-auth-options.interface-KljIsFrM.d.cts +12 -0
- package/lib/create-magic-auth-options.serializer-JyHvOWXa.d.cts +7 -0
- package/lib/create-object.interface-q1p30YMV.d.cts +16 -0
- package/lib/create-organization-api-key-options.serializer-BBMfnAnt.d.cts +7 -0
- package/lib/create-organization-domain-options.interface-BorRBhyO.d.cts +12 -0
- package/lib/create-organization-membership-options.interface-CT78k_RG.d.cts +16 -0
- package/lib/create-organization-options.serializer-CqgVu5DZ.d.cts +7 -0
- package/lib/create-organization-role-options.interface-D47Tf3Ep.d.cts +14 -0
- package/lib/create-organization-role-options.serializer-DSv6cNfU.cjs +16 -0
- package/lib/create-organization-role-options.serializer-DSv6cNfU.cjs.map +1 -0
- package/lib/create-organization-role-options.serializer-gKd5As_7.d.cts +7 -0
- package/lib/create-password-reset-options.interface-DugfAPGw.d.cts +10 -0
- package/lib/create-password-reset-options.serializer-CF9UYm2X.d.cts +7 -0
- package/lib/create-passwordless-session-options.interface-DCAzOCvV.d.cts +20 -0
- package/lib/create-permission-options.interface-ClaSX7df.d.cts +14 -0
- package/lib/create-permission-options.serializer-BJKj9O3y.cjs +16 -0
- package/lib/create-permission-options.serializer-BJKj9O3y.cjs.map +1 -0
- package/lib/create-permission-options.serializer-DAxJac9X.d.cts +7 -0
- package/lib/create-resource-options.serializer-CjLPXso6.cjs +17 -0
- package/lib/create-resource-options.serializer-CjLPXso6.cjs.map +1 -0
- package/lib/create-resource-options.serializer-DblyocXR.d.cts +7 -0
- package/lib/create-user-options.interface-ord6dU_x.d.cts +28 -0
- package/lib/create-user-options.serializer-DaIm8p-c.d.cts +7 -0
- package/lib/created-api-key.interface-DkDQVw2T.d.cts +34 -0
- package/lib/created-api-key.serializer-DKs_m9pB.d.cts +7 -0
- package/lib/crypto-provider-C895awiY.cjs +18 -0
- package/lib/crypto-provider-C895awiY.cjs.map +1 -0
- package/lib/crypto-provider-CYvkctEg.d.cts +75 -0
- package/lib/decrypt-data-key.interface-BwEc_O_A.d.cts +11 -0
- package/lib/delete-object.interface-B_P7yrm3.d.cts +7 -0
- package/lib/delete-resource-options.serializer-CFyX75Zh.cjs +16 -0
- package/lib/delete-resource-options.serializer-CFyX75Zh.cjs.map +1 -0
- package/lib/delete-resource-options.serializer-D6e_dLrI.d.cts +7 -0
- package/lib/directory-group.interface-RhiHiiPX.d.cts +24 -0
- package/lib/directory-group.serializer-BRcTw-sz.d.cts +8 -0
- package/lib/directory-sync/directory-sync.d.cts +1 -1
- package/lib/directory-sync/interfaces/directory-group.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/directory-user.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/directory.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/index.d.cts +6 -6
- package/lib/directory-sync/interfaces/list-directories-options.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/list-directory-users-options.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/list-groups-options.interface.d.cts +1 -1
- package/lib/directory-sync/serializers/directory-group.serializer.d.cts +1 -1
- package/lib/directory-sync/serializers/directory-user.serializer.d.cts +1 -1
- package/lib/directory-sync/serializers/directory.serializer.d.cts +1 -1
- package/lib/directory-sync/serializers/index.d.cts +4 -4
- package/lib/directory-sync/serializers/list-directories-options.serializer.d.cts +1 -1
- package/lib/directory-user.serializer-_FQdeNFr.d.cts +9 -0
- package/lib/directory.interface-RS2zVVSH.d.cts +60 -0
- package/lib/directory.serializer-C4ye_GNZ.d.cts +10 -0
- package/lib/domain-data.interface-CAbxsOXR.cjs +16 -0
- package/lib/domain-data.interface-CAbxsOXR.cjs.map +1 -0
- package/lib/domain-data.interface-CWu6PLZw.d.cts +12 -0
- package/lib/email-verification.interface-DPOUBm9v.d.cts +42 -0
- package/lib/email-verification.serializer-BKwo8A4r.d.cts +8 -0
- package/lib/enroll-auth-factor-options.serializer-B0Kr8aWf.d.cts +7 -0
- package/lib/enroll-auth-factor.interface-EhGkRx_t.d.cts +17 -0
- package/lib/enroll-factor-options-IU9WQYZu.d.cts +14 -0
- package/lib/environment-role.interface-B59FS29B.d.cts +34 -0
- package/lib/environment-role.serializer-3-YRsFp_.cjs +22 -0
- package/lib/environment-role.serializer-3-YRsFp_.cjs.map +1 -0
- package/lib/environment-role.serializer-C0AaYE8M.d.cts +7 -0
- package/lib/event.serializer-B2GuXosD.cjs +180 -0
- package/lib/event.serializer-B2GuXosD.cjs.map +1 -0
- package/lib/event.serializer-QBoSs9f4.d.cts +7 -0
- package/lib/events/events.cjs +1 -1
- package/lib/events/events.d.cts +1 -1
- package/lib/events/interfaces/index.d.cts +1 -1
- package/lib/events/interfaces/list-events-options.interface.d.cts +1 -1
- package/lib/events/serializers/index.d.cts +1 -1
- package/lib/events/serializers/list-event-options.serializer.d.cts +1 -1
- package/lib/events-lqbh0x1u.cjs +23 -0
- package/lib/events-lqbh0x1u.cjs.map +1 -0
- package/lib/factor.interface-DebkGvZh.d.cts +42 -0
- package/lib/factor.interface-DzLmWxJJ.d.cts +44 -0
- package/lib/factor.serializer-CTHEanUk.d.cts +8 -0
- package/lib/factor.serializer-DGKMWcSc.d.cts +8 -0
- package/lib/factory-DfYLyJUA.cjs +15 -0
- package/lib/factory-DfYLyJUA.cjs.map +1 -0
- package/lib/factory.cjs +6 -6
- package/lib/factory.d.cts +1 -1
- package/lib/feature-flag.interface-Dc9oPNTI.d.cts +28 -0
- package/lib/feature-flag.serializer-VHx8LryN.d.cts +7 -0
- package/lib/feature-flags/feature-flags.cjs +1 -1
- package/lib/feature-flags/feature-flags.d.cts +1 -1
- package/lib/feature-flags/interfaces/add-flag-target-options.interface.d.cts +1 -1
- package/lib/feature-flags/interfaces/feature-flag.interface.d.cts +1 -1
- package/lib/feature-flags/interfaces/index.d.cts +4 -4
- package/lib/feature-flags/interfaces/list-feature-flags-options.interface.d.cts +1 -1
- package/lib/feature-flags/interfaces/remove-flag-target-options.interface.d.cts +1 -1
- package/lib/feature-flags/serializers/feature-flag.serializer.d.cts +1 -1
- package/lib/feature-flags/serializers/index.d.cts +1 -1
- package/lib/feature-flags-w4M2jmZ4.cjs +42 -0
- package/lib/feature-flags-w4M2jmZ4.cjs.map +1 -0
- package/lib/fetch-and-deserialize-list-fKCIhUCS.cjs +19 -0
- package/lib/fetch-and-deserialize-list-fKCIhUCS.cjs.map +1 -0
- package/lib/fetch-client-CP0ICYQG.cjs +189 -0
- package/lib/fetch-client-CP0ICYQG.cjs.map +1 -0
- package/lib/fga/fga.cjs +1 -1
- package/lib/fga/fga.d.cts +1 -1
- package/lib/fga/interfaces/check-op.enum.cjs +1 -1
- package/lib/fga/interfaces/check-op.enum.d.cts +1 -1
- package/lib/fga/interfaces/check.interface.cjs +1 -1
- package/lib/fga/interfaces/check.interface.d.cts +1 -1
- package/lib/fga/interfaces/index.cjs +4 -4
- package/lib/fga/interfaces/index.d.cts +8 -8
- package/lib/fga/interfaces/list.interface.d.cts +1 -1
- package/lib/fga/interfaces/query.interface.d.cts +1 -1
- package/lib/fga/interfaces/resource-op.enum.cjs +1 -1
- package/lib/fga/interfaces/resource-op.enum.d.cts +1 -1
- package/lib/fga/interfaces/resource.interface.d.cts +1 -1
- package/lib/fga/interfaces/warning.interface.d.cts +1 -1
- package/lib/fga/interfaces/warrant-op.enum.cjs +1 -1
- package/lib/fga/interfaces/warrant-op.enum.d.cts +1 -1
- package/lib/fga/interfaces/warrant-token.interface.d.cts +1 -1
- package/lib/fga/interfaces/warrant.interface.d.cts +1 -1
- package/lib/fga/serializers/batch-write-resources-options.serializer.cjs +1 -1
- package/lib/fga/serializers/batch-write-resources-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/check-options.serializer.cjs +1 -1
- package/lib/fga/serializers/check-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/create-resource-options.serializer.cjs +1 -1
- package/lib/fga/serializers/create-resource-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/delete-resource-options.serializer.cjs +1 -1
- package/lib/fga/serializers/delete-resource-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/index.cjs +13 -13
- package/lib/fga/serializers/index.d.cts +13 -13
- package/lib/fga/serializers/list-resources-options.serializer.cjs +1 -1
- package/lib/fga/serializers/list-resources-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/list-warrants-options.serializer.cjs +1 -1
- package/lib/fga/serializers/list-warrants-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/list.serializer.cjs +1 -1
- package/lib/fga/serializers/list.serializer.d.cts +1 -1
- package/lib/fga/serializers/query-options.serializer.cjs +1 -1
- package/lib/fga/serializers/query-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/query-result.serializer.cjs +1 -1
- package/lib/fga/serializers/query-result.serializer.d.cts +1 -1
- package/lib/fga/serializers/resource.serializer.cjs +1 -1
- package/lib/fga/serializers/resource.serializer.d.cts +1 -1
- package/lib/fga/serializers/warrant-token.serializer.cjs +1 -1
- package/lib/fga/serializers/warrant-token.serializer.d.cts +1 -1
- package/lib/fga/serializers/warrant.serializer.cjs +1 -1
- package/lib/fga/serializers/warrant.serializer.d.cts +1 -1
- package/lib/fga/serializers/write-warrant-options.serializer.cjs +1 -1
- package/lib/fga/serializers/write-warrant-options.serializer.d.cts +1 -1
- package/lib/fga/utils/fetch-and-deserialize-list.cjs +1 -1
- package/lib/fga/utils/fetch-and-deserialize-list.d.cts +4 -4
- package/lib/fga/utils/fga-paginatable.cjs +1 -1
- package/lib/fga/utils/fga-paginatable.d.cts +1 -1
- package/lib/fga/utils/interface-check.cjs +1 -1
- package/lib/fga/utils/interface-check.d.cts +2 -2
- package/lib/fga-DDQcYlFx.cjs +83 -0
- package/lib/fga-DDQcYlFx.cjs.map +1 -0
- package/lib/fga-paginatable-BGfH6hKb.d.cts +14 -0
- package/lib/fga-paginatable-CcnmklhZ.cjs +22 -0
- package/lib/fga-paginatable-CcnmklhZ.cjs.map +1 -0
- package/lib/generate-portal-link-intent.interface-DvAjnRTH.d.cts +12 -0
- package/lib/generate-portal-link-intent.interface-VhaOku0u.cjs +20 -0
- package/lib/generate-portal-link-intent.interface-VhaOku0u.cjs.map +1 -0
- package/lib/generic-server.exception-BQuagq-c.d.cts +14 -0
- package/lib/get-access-token.interface-C8vDOoS4.d.cts +32 -0
- package/lib/get-options.interface-DtIaBrYo.d.cts +11 -0
- package/lib/get-profile-and-token-options.interface-B4HEexcv.d.cts +14 -0
- package/lib/get-profile-options.interface-BTqozSx_.d.cts +7 -0
- package/lib/get-token-2lecb0Cy.cjs +23 -0
- package/lib/get-token-2lecb0Cy.cjs.map +1 -0
- package/lib/get-token-CRyPuAyd.d.cts +23 -0
- package/lib/http-client-8EHeTnVH.cjs +96 -0
- package/lib/http-client-8EHeTnVH.cjs.map +1 -0
- package/lib/http-client-Cs56_alu.d.cts +55 -0
- package/lib/http-client.interface-DMi5johZ.d.cts +24 -0
- package/lib/identity.interface-fsQohx9t.d.cts +14 -0
- package/lib/impersonator.interface-BLJ5uqT4.d.cts +12 -0
- package/lib/index-DBcxvLj5.d.cts +721 -0
- package/lib/index.cjs +19 -18
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +142 -130
- package/lib/index.d.ts +19 -1
- package/lib/index.js.map +1 -1
- package/lib/index.worker.cjs +19 -18
- package/lib/index.worker.cjs.map +1 -1
- package/lib/index.worker.d.cts +120 -108
- package/lib/index.worker.d.ts +19 -1
- package/lib/index.worker.js.map +1 -1
- package/lib/interface-check-CTSXH7TS.cjs +23 -0
- package/lib/interface-check-CTSXH7TS.cjs.map +1 -0
- package/lib/invitation.interface-BGj97ho-.d.cts +64 -0
- package/lib/invitation.serializer-BrvOpgFx.d.cts +8 -0
- package/lib/jose-D4-VExnk.cjs +27 -0
- package/lib/jose-D4-VExnk.cjs.map +1 -0
- package/lib/key.interface-CFC2qwl7.d.cts +16 -0
- package/lib/leb128-CzuVP25R.cjs +82 -0
- package/lib/leb128-CzuVP25R.cjs.map +1 -0
- package/lib/list-connections-options.interface-zYzKu8PV.d.cts +17 -0
- package/lib/list-connections-options.serializer-BQ887b-b.d.cts +7 -0
- package/lib/list-directories-options.interface-Bq6Ctiub.d.cts +14 -0
- package/lib/list-directories-options.serializer-Btoh5Gla.d.cts +7 -0
- package/lib/list-directory-users-options.interface-B3hWSKfC.d.cts +10 -0
- package/lib/list-event-options.serializer-Dm8sSe0n.d.cts +7 -0
- package/lib/list-events-options.interface-CUGdhgSG.d.cts +22 -0
- package/lib/list-feature-flags-options.interface-DBQ7vrv_.d.cts +7 -0
- package/lib/list-groups-options.interface-U_gybSue.d.cts +10 -0
- package/lib/list-object-versions.interface-Rd5wqEPb.d.cts +12 -0
- package/lib/list-objects.interface-yOVh3Ifn.d.cts +9 -0
- package/lib/list-organization-api-keys-options.interface-YUTCTNS6.d.cts +9 -0
- package/lib/list-organization-feature-flags-options.interface-DnLCq59G.d.cts +9 -0
- package/lib/list-organization-roles-options.interface-BuvnLvwK.d.cts +7 -0
- package/lib/list-organizations-options.interface-EgR4w6S9.d.cts +9 -0
- package/lib/list-resources-options.serializer-BmYs9Vf0.cjs +19 -0
- package/lib/list-resources-options.serializer-BmYs9Vf0.cjs.map +1 -0
- package/lib/list-resources-options.serializer-ChXI92JX.d.cts +7 -0
- package/lib/list-sessions-options.interface-3wEl-9ph.d.cts +8 -0
- package/lib/list-sessions-options.serializer-DY3aSLdT.d.cts +7 -0
- package/lib/list-users-options.interface-CwR5WeUq.d.cts +14 -0
- package/lib/list-warrants-options.serializer-Bd-WDleA.cjs +21 -0
- package/lib/list-warrants-options.serializer-Bd-WDleA.cjs.map +1 -0
- package/lib/list-warrants-options.serializer-DghippBd.d.cts +7 -0
- package/lib/list.interface-C8ZxDYyJ.d.cts +20 -0
- package/lib/list.interface-CXp7D6FF.d.cts +13 -0
- package/lib/list.serializer-BO40xS2N.d.cts +10 -0
- package/lib/list.serializer-CTHSrCW_.cjs +17 -0
- package/lib/list.serializer-CTHSrCW_.cjs.map +1 -0
- package/lib/list.serializer-xzcXVR9t.d.cts +7 -0
- package/lib/locale.interface-DtJ_6jKP.d.cts +5 -0
- package/lib/logout-url-options.interface-DhTgF8Hk.d.cts +8 -0
- package/lib/magic-auth.interface-BECeWMH_.d.cts +42 -0
- package/lib/magic-auth.serializer-DUVjoLsC.d.cts +8 -0
- package/lib/mfa/interfaces/challenge-factor-options.d.cts +1 -1
- package/lib/mfa/interfaces/challenge.interface.d.cts +1 -1
- package/lib/mfa/interfaces/enroll-factor-options.d.cts +1 -1
- package/lib/mfa/interfaces/factor.interface.d.cts +1 -1
- package/lib/mfa/interfaces/index.d.cts +8 -8
- package/lib/mfa/interfaces/sms.interface.d.cts +1 -1
- package/lib/mfa/interfaces/totp.interface.d.cts +1 -1
- package/lib/mfa/interfaces/verify-challenge-options.d.cts +1 -1
- package/lib/mfa/interfaces/verify-challenge-response.d.cts +1 -1
- package/lib/mfa/mfa.d.cts +1 -1
- package/lib/mfa/serializers/challenge.serializer.d.cts +1 -1
- package/lib/mfa/serializers/factor.serializer.d.cts +1 -1
- package/lib/mfa/serializers/index.d.cts +3 -3
- package/lib/mfa/serializers/sms.serializer.d.cts +1 -1
- package/lib/mfa/serializers/totp.serializer.d.cts +1 -1
- package/lib/mfa/serializers/verify-response.serializer.d.cts +1 -1
- package/lib/no-api-key-provided.exception-hJIhxWx8.d.cts +9 -0
- package/lib/not-found.exception-BfAxXziV.d.cts +24 -0
- package/lib/oauth-tokens.interface-BmW9Eh4w.d.cts +16 -0
- package/lib/oauth.exception-Qx8LPHkD.d.cts +15 -0
- package/lib/object.interface-CB8MiPSx.d.cts +35 -0
- package/lib/organization-domain.interface-B1AwHwAc.cjs +28 -0
- package/lib/organization-domain.interface-B1AwHwAc.cjs.map +1 -0
- package/lib/organization-domain.interface-ozdxzINN.d.cts +35 -0
- package/lib/organization-domains/interfaces/create-organization-domain-options.interface.d.cts +1 -1
- package/lib/organization-domains/interfaces/index.cjs +1 -1
- package/lib/organization-domains/interfaces/index.d.cts +2 -2
- package/lib/organization-domains/interfaces/organization-domain.interface.cjs +1 -1
- package/lib/organization-domains/interfaces/organization-domain.interface.d.cts +1 -1
- package/lib/organization-domains/organization-domains.d.cts +1 -1
- package/lib/organization-domains/serializers/create-organization-domain-options.serializer.d.cts +1 -1
- package/lib/organization-domains/serializers/organization-domain.serializer.d.cts +1 -1
- package/lib/organization-membership.serializer-DVtJVaRT.cjs +24 -0
- package/lib/organization-membership.serializer-DVtJVaRT.cjs.map +1 -0
- package/lib/organization-role.interface-evatb3Ca.d.cts +15 -0
- package/lib/organization-role.serializer-9lMyuYAJ.d.cts +9 -0
- package/lib/organization-role.serializer-BJI8i3kB.cjs +39 -0
- package/lib/organization-role.serializer-BJI8i3kB.cjs.map +1 -0
- package/lib/organization.interface-v9vB3M2o.d.cts +30 -0
- package/lib/organization.serializer-oavqZBEE.d.cts +7 -0
- package/lib/organizations/interfaces/create-organization-options.interface.d.cts +1 -1
- package/lib/organizations/interfaces/domain-data.interface.cjs +1 -1
- package/lib/organizations/interfaces/domain-data.interface.d.cts +1 -1
- package/lib/organizations/interfaces/index.cjs +1 -1
- package/lib/organizations/interfaces/index.d.cts +6 -6
- package/lib/organizations/interfaces/list-organization-feature-flags-options.interface.d.cts +1 -1
- package/lib/organizations/interfaces/list-organization-roles-options.interface.d.cts +1 -1
- package/lib/organizations/interfaces/list-organizations-options.interface.d.cts +1 -1
- package/lib/organizations/interfaces/organization.interface.d.cts +1 -1
- package/lib/organizations/interfaces/update-organization-options.interface.d.cts +1 -1
- package/lib/organizations/organizations.cjs +1 -1
- package/lib/organizations/organizations.d.cts +1 -1
- package/lib/organizations/organizations.d.ts +1 -1
- package/lib/organizations/organizations.js +1 -1
- package/lib/organizations/organizations.js.map +1 -1
- package/lib/organizations/serializers/create-organization-options.serializer.d.cts +1 -1
- package/lib/organizations/serializers/index.d.cts +3 -3
- package/lib/organizations/serializers/organization.serializer.d.cts +1 -1
- package/lib/organizations/serializers/update-organization-options.serializer.d.cts +1 -1
- package/lib/organizations-CqJIT1Q5.cjs +70 -0
- package/lib/organizations-CqJIT1Q5.cjs.map +1 -0
- package/lib/pagination-D--sr3e2.d.cts +25 -0
- package/lib/pagination-options.interface-SKgiNnuZ.d.cts +10 -0
- package/lib/parse-error-B7u-PJ1K.cjs +24 -0
- package/lib/parse-error-B7u-PJ1K.cjs.map +1 -0
- package/lib/password-hash-type.interface-vH25bPgH.d.cts +5 -0
- package/lib/password-reset.interface-Yi4hon-d.d.cts +40 -0
- package/lib/password-reset.serializer-DvGywW1e.d.cts +8 -0
- package/lib/passwordless/interfaces/create-passwordless-session-options.interface.d.cts +1 -1
- package/lib/passwordless/interfaces/index.d.cts +3 -3
- package/lib/passwordless/interfaces/passwordless-session.interface.d.cts +1 -1
- package/lib/passwordless/interfaces/send-session-response.interface.d.cts +1 -1
- package/lib/passwordless/passwordless.d.cts +1 -1
- package/lib/passwordless/serializers/passwordless-session.serializer.d.cts +1 -1
- package/lib/passwordless-session.interface-BgyPqlZF.d.cts +18 -0
- package/lib/patch-options.interface-46BCssmo.d.cts +12 -0
- package/lib/permission.interface-BBwAYH07.d.cts +40 -0
- package/lib/permission.serializer-DjWoIZ-K.cjs +21 -0
- package/lib/permission.serializer-DjWoIZ-K.cjs.map +1 -0
- package/lib/permission.serializer-RAI4SM7h.d.cts +7 -0
- package/lib/pipes/interfaces/access-token.interface.d.cts +1 -1
- package/lib/pipes/interfaces/get-access-token.interface.d.cts +1 -1
- package/lib/pipes/pipes.d.cts +1 -1
- package/lib/pipes/serializers/access-token.serializer.d.cts +1 -1
- package/lib/pipes/serializers/get-access-token.serializer.d.cts +1 -1
- package/lib/pkce/pkce.d.cts +1 -1
- package/lib/pkce-n0rRYj_Q.d.cts +38 -0
- package/lib/portal/interfaces/generate-portal-link-intent.interface.cjs +1 -1
- package/lib/portal/interfaces/generate-portal-link-intent.interface.d.cts +1 -1
- package/lib/portal/interfaces/index.cjs +1 -1
- package/lib/portal/interfaces/index.d.cts +1 -1
- package/lib/portal/portal.d.cts +1 -1
- package/lib/post-options.interface-DlEjJsYu.d.cts +13 -0
- package/lib/profile-and-token.interface-BrAmbRfi.cjs +0 -0
- package/lib/profile-and-token.serializer-BL6rgjRg.d.cts +8 -0
- package/lib/profile.interface-CIhPFxjC.cjs +0 -0
- package/lib/profile.serializer-C-SA2vtS.d.cts +8 -0
- package/lib/put-options.interface-7lk8rQLi.d.cts +12 -0
- package/lib/put-options.interface-C0STQ8xm.cjs +0 -0
- package/lib/query-options.serializer-Chg3TZdD.cjs +19 -0
- package/lib/query-options.serializer-Chg3TZdD.cjs.map +1 -0
- package/lib/query-options.serializer-rnZkdjgt.d.cts +7 -0
- package/lib/query-result.serializer-B2dxUnKw.d.cts +12 -0
- package/lib/query-result.serializer-CQqFGng9.cjs +28 -0
- package/lib/query-result.serializer-CQqFGng9.cjs.map +1 -0
- package/lib/query.interface-BuOZQoFM.d.cts +35 -0
- package/lib/query.interface-DBrke9TG.cjs +0 -0
- package/lib/rate-limit-exceeded.exception-CF4reeT2.d.cts +18 -0
- package/lib/read-object.interface-D0Poz3-p.d.cts +25 -0
- package/lib/read-object.interface-RCcLbvry.cjs +0 -0
- package/lib/refresh-and-seal-session-data.interface-BC_uVnK1.cjs +19 -0
- package/lib/refresh-and-seal-session-data.interface-BC_uVnK1.cjs.map +1 -0
- package/lib/refresh-and-seal-session-data.interface-BSKQWqmn.d.cts +24 -0
- package/lib/remove-flag-target-options.interface-BZBcjHE7.d.cts +8 -0
- package/lib/remove-flag-target-options.interface-CNzVf6zp.cjs +0 -0
- package/lib/remove-organization-role-permission-options.interface-BpQUw8lU.cjs +0 -0
- package/lib/remove-organization-role-permission-options.interface-ZMh36f0F.d.cts +7 -0
- package/lib/request-exception.interface-DahTOGID.d.cts +9 -0
- package/lib/resend-invitation-options.interface-BqrfHp3r.d.cts +12 -0
- package/lib/resend-invitation-options.interface-BvKYcUMa.cjs +0 -0
- package/lib/resend-invitation-options.serializer-gi3hyBeV.cjs +12 -0
- package/lib/resend-invitation-options.serializer-gi3hyBeV.cjs.map +1 -0
- package/lib/reset-password-options.interface-C8NDiT__.cjs +0 -0
- package/lib/reset-password-options.interface-uWGx-EHg.d.cts +12 -0
- package/lib/reset-password-options.serializer-B814ASb4.d.cts +7 -0
- package/lib/resource-op.enum-DvMR02yw.d.cts +8 -0
- package/lib/resource-op.enum-iS-Tf1WO.cjs +16 -0
- package/lib/resource-op.enum-iS-Tf1WO.cjs.map +1 -0
- package/lib/resource.interface-BZ27Ar_A.d.cts +77 -0
- package/lib/resource.interface-Dk75RqTQ.cjs +0 -0
- package/lib/resource.serializer-DO1Fpj-V.d.cts +8 -0
- package/lib/resource.serializer-DQA6JSVB.cjs +25 -0
- package/lib/resource.serializer-DQA6JSVB.cjs.map +1 -0
- package/lib/response-payload.interface-B6BBFm56.d.cts +26 -0
- package/lib/response-payload.interface-tlU2hrOg.cjs +0 -0
- package/lib/revoke-session-options.interface-20LkWyox.d.cts +11 -0
- package/lib/role.interface-DIftS8f6.cjs +0 -0
- package/lib/roles/interfaces/index.d.cts +1 -1
- package/lib/roles/interfaces/role.interface.d.cts +1 -1
- package/lib/roles/interfaces/role.interface.d.ts +4 -11
- package/lib/roles/serializers/role.serializer.d.cts +1 -1
- package/lib/runtime-info-CkgTBGi9.cjs +56 -0
- package/lib/runtime-info-CkgTBGi9.cjs.map +1 -0
- package/lib/send-invitation-options.interface-C2RofyVU.d.cts +22 -0
- package/lib/send-invitation-options.interface-C6iq0iBA.cjs +0 -0
- package/lib/send-invitation-options.serializer-BX9N-pl6.cjs +19 -0
- package/lib/send-invitation-options.serializer-BX9N-pl6.cjs.map +1 -0
- package/lib/send-session-response.interface-CMl4tWw_.d.cts +8 -0
- package/lib/send-session-response.interface-CVGhNzxv.cjs +0 -0
- package/lib/send-verification-email-options.interface-BUkQm-56.cjs +0 -0
- package/lib/send-verification-email-options.interface-BtOygLys.d.cts +7 -0
- package/lib/serializers-7jp-w6XR.cjs +0 -0
- package/lib/serializers-Bd8zRjMr.cjs +0 -0
- package/lib/session-BspC-lF9.cjs +144 -0
- package/lib/session-BspC-lF9.cjs.map +1 -0
- package/lib/session-handler-options.interface-BVTuA5uU.d.cts +9 -0
- package/lib/session.interface-CJL0YhXF.cjs +0 -0
- package/lib/session.interface-zszewQtk.d.cts +38 -0
- package/lib/session.serializer-DAUllV3H.d.cts +7 -0
- package/lib/set-environment-role-permissions-options.interface-C04yO7oE.cjs +0 -0
- package/lib/set-environment-role-permissions-options.interface-CJm4G5CM.d.cts +7 -0
- package/lib/set-organization-role-permissions-options.interface-Dsm86677.cjs +0 -0
- package/lib/set-organization-role-permissions-options.interface-F54jbJ3q.d.cts +7 -0
- package/lib/signature-verification.exception-D2-xkCRS.d.cts +8 -0
- package/lib/sms.interface-f_7eFA1B.d.cts +10 -0
- package/lib/sso/interfaces/authorization-url-options.interface.d.cts +1 -1
- package/lib/sso/interfaces/connection-type.enum.cjs +1 -1
- package/lib/sso/interfaces/connection-type.enum.d.cts +1 -1
- package/lib/sso/interfaces/connection.interface.d.cts +1 -1
- package/lib/sso/interfaces/get-profile-and-token-options.interface.d.cts +1 -1
- package/lib/sso/interfaces/get-profile-options.interface.d.cts +1 -1
- package/lib/sso/interfaces/index.cjs +1 -1
- package/lib/sso/interfaces/index.d.cts +7 -8
- package/lib/sso/interfaces/list-connections-options.interface.d.cts +1 -1
- package/lib/sso/interfaces/profile-and-token.interface.d.cts +1 -1
- package/lib/sso/interfaces/profile.interface.d.cts +1 -1
- package/lib/sso/serializers/connection.serializer.d.cts +1 -1
- package/lib/sso/serializers/index.d.cts +4 -4
- package/lib/sso/serializers/list-connections-options.serializer.d.cts +1 -1
- package/lib/sso/serializers/profile-and-token.serializer.d.cts +1 -1
- package/lib/sso/serializers/profile.serializer.d.cts +1 -1
- package/lib/sso/sso.d.cts +1 -1
- package/lib/subtle-crypto-provider-z15sJdtL.cjs +99 -0
- package/lib/subtle-crypto-provider-z15sJdtL.cjs.map +1 -0
- package/lib/totp.interface-4Tn9mcvR.d.cts +22 -0
- package/lib/unauthorized.exception-B0Ma7wJ5.d.cts +13 -0
- package/lib/unknown-record.interface-DSMWbzCc.d.cts +5 -0
- package/lib/unprocessable-entity-error.interface-B2dNTbj0.cjs +0 -0
- package/lib/unprocessable-entity-error.interface-CGfXN5Ma.d.cts +8 -0
- package/lib/unprocessable-entity.exception-rapwl2dZ.d.cts +25 -0
- package/lib/unreachable-HIg8NPjR.cjs +23 -0
- package/lib/unreachable-HIg8NPjR.cjs.map +1 -0
- package/lib/update-environment-role-options.interface-dosXnOZd.d.cts +12 -0
- package/lib/update-environment-role-options.interface-i6KgrgfD.cjs +0 -0
- package/lib/update-environment-role-options.serializer-BNsh8m0U.d.cts +7 -0
- package/lib/update-environment-role-options.serializer-DowajKPM.cjs +15 -0
- package/lib/update-environment-role-options.serializer-DowajKPM.cjs.map +1 -0
- package/lib/update-object.interface-CSfFiDhx.cjs +0 -0
- package/lib/update-object.interface-H3nqYCkH.d.cts +13 -0
- package/lib/update-organization-membership-options.interface-BB8dVzxD.cjs +0 -0
- package/lib/update-organization-membership-options.interface-vwSowDwp.d.cts +12 -0
- package/lib/update-organization-membership-options.serializer-J0-AHdSc.cjs +15 -0
- package/lib/update-organization-membership-options.serializer-J0-AHdSc.cjs.map +1 -0
- package/lib/update-organization-options.interface-Bo0n5-X2.cjs +0 -0
- package/lib/update-organization-options.interface-C5szqmv1.d.cts +21 -0
- package/lib/update-organization-options.serializer-BMZ1uX4v.d.cts +7 -0
- package/lib/update-organization-role-options.interface-BxoOYg6j.cjs +0 -0
- package/lib/update-organization-role-options.interface-rE638uDV.d.cts +12 -0
- package/lib/update-organization-role-options.serializer-P4807NCD.cjs +15 -0
- package/lib/update-organization-role-options.serializer-P4807NCD.cjs.map +1 -0
- package/lib/update-organization-role-options.serializer-v4U24skp.d.cts +7 -0
- package/lib/update-permission-options.interface-1DDWIS6-.d.cts +12 -0
- package/lib/update-permission-options.interface-Cc6sRKzk.cjs +0 -0
- package/lib/update-permission-options.serializer-DBaEseXC.cjs +15 -0
- package/lib/update-permission-options.serializer-DBaEseXC.cjs.map +1 -0
- package/lib/update-permission-options.serializer-LHPO0d7U.d.cts +7 -0
- package/lib/update-user-options.interface-hZd8eW6q.cjs +0 -0
- package/lib/update-user-options.interface-yJ1zfqXv.d.cts +31 -0
- package/lib/update-user-options.serializer-PMEBc0mh.d.cts +7 -0
- package/lib/update-user-password-options.interface-B9BC-Hv9.cjs +0 -0
- package/lib/update-user-password-options.interface-Bhwbi84x.d.cts +11 -0
- package/lib/update-user-password-options.serializer-xFeYcrdn.d.cts +7 -0
- package/lib/user-management/interfaces/authenticate-with-code-and-verifier-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-code-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-email-verification-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-magic-auth-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-options-base.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-organization-selection.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-password-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-refresh-token-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-refresh-token-public-client-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-totp-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authentication-event.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authentication-radar-risk-detected-event.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authentication-response.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authorization-url-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/create-magic-auth-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/create-organization-membership-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/create-password-reset-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/create-user-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/email-verification.interface.d.cts +1 -1
- package/lib/user-management/interfaces/enroll-auth-factor.interface.d.cts +1 -1
- package/lib/user-management/interfaces/factor.interface.d.cts +1 -1
- package/lib/user-management/interfaces/identity.interface.d.cts +1 -1
- package/lib/user-management/interfaces/impersonator.interface.d.cts +1 -1
- package/lib/user-management/interfaces/index.cjs +1 -1
- package/lib/user-management/interfaces/index.d.cts +46 -45
- package/lib/user-management/interfaces/index.d.ts +3 -1
- package/lib/user-management/interfaces/invitation.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-auth-factors-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-invitations-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-organization-memberships-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-sessions-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-user-feature-flags-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-users-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/locale.interface.cjs +0 -0
- package/lib/user-management/interfaces/locale.interface.d.cts +2 -0
- package/lib/user-management/interfaces/locale.interface.d.ts +5 -0
- package/lib/user-management/interfaces/locale.interface.js +1 -0
- package/lib/user-management/interfaces/logout-url-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/magic-auth.interface.d.cts +1 -1
- package/lib/user-management/interfaces/oauth-tokens.interface.d.cts +1 -1
- package/lib/user-management/interfaces/organization-membership.interface.d.cts +1 -1
- package/lib/user-management/interfaces/organization-membership.interface.d.ts +2 -0
- package/lib/user-management/interfaces/password-hash-type.interface.d.cts +1 -1
- package/lib/user-management/interfaces/password-reset.interface.d.cts +1 -1
- package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.cjs +1 -1
- package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.d.cts +1 -1
- package/lib/user-management/interfaces/resend-invitation-options.interface.cjs +0 -0
- package/lib/user-management/interfaces/resend-invitation-options.interface.d.cts +2 -0
- package/lib/user-management/interfaces/resend-invitation-options.interface.d.ts +12 -0
- package/lib/user-management/interfaces/resend-invitation-options.interface.js +1 -0
- package/lib/user-management/interfaces/reset-password-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/revoke-session-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/send-invitation-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/send-invitation-options.interface.d.ts +4 -0
- package/lib/user-management/interfaces/send-verification-email-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/session-handler-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/session.interface.d.cts +1 -1
- package/lib/user-management/interfaces/update-organization-membership-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/update-user-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/update-user-password-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/user.interface.d.cts +1 -1
- package/lib/user-management/interfaces/verify-email-options.interface.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-code-and-verifier-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-code-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-email-verification.serializer.d.cts +2 -2
- package/lib/user-management/serializers/authenticate-with-magic-auth-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-organization-selection-options.serializer.d.cts +2 -2
- package/lib/user-management/serializers/authenticate-with-password-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-refresh-token-public-client-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-refresh-token.options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-totp-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authentication-event.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authentication-radar-risk-event-serializer.d.cts +1 -1
- package/lib/user-management/serializers/authentication-response.serializer.d.cts +1 -1
- package/lib/user-management/serializers/create-magic-auth-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/create-organization-membership-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/create-password-reset-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/create-user-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/email-verification.serializer.d.cts +1 -1
- package/lib/user-management/serializers/enroll-auth-factor-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/factor.serializer.d.cts +1 -1
- package/lib/user-management/serializers/identity.serializer.d.cts +1 -1
- package/lib/user-management/serializers/index.d.cts +24 -24
- package/lib/user-management/serializers/invitation.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-invitations-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-organization-memberships-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-sessions-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-users-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/magic-auth.serializer.d.cts +1 -1
- package/lib/user-management/serializers/oauth-tokens.serializer.d.cts +1 -1
- package/lib/user-management/serializers/organization-membership.serializer.cjs +1 -1
- package/lib/user-management/serializers/organization-membership.serializer.d.cts +1 -1
- package/lib/user-management/serializers/organization-membership.serializer.js +2 -1
- package/lib/user-management/serializers/organization-membership.serializer.js.map +1 -1
- package/lib/user-management/serializers/password-reset.serializer.d.cts +1 -1
- package/lib/user-management/serializers/resend-invitation-options.serializer.cjs +3 -0
- package/lib/user-management/serializers/resend-invitation-options.serializer.d.cts +7 -0
- package/lib/user-management/serializers/resend-invitation-options.serializer.d.ts +7 -0
- package/lib/user-management/serializers/resend-invitation-options.serializer.js +6 -0
- package/lib/user-management/serializers/resend-invitation-options.serializer.js.map +1 -0
- package/lib/user-management/serializers/reset-password-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/role.serializer.d.cts +1 -1
- package/lib/user-management/serializers/send-invitation-options.serializer.cjs +1 -1
- package/lib/user-management/serializers/send-invitation-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/send-invitation-options.serializer.js +2 -1
- package/lib/user-management/serializers/send-invitation-options.serializer.js.map +1 -1
- package/lib/user-management/serializers/session.serializer.d.cts +1 -1
- package/lib/user-management/serializers/update-organization-membership-options.serializer.cjs +1 -1
- package/lib/user-management/serializers/update-organization-membership-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/update-user-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/update-user-password-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/user.serializer.d.cts +1 -1
- package/lib/user-management/session.cjs +2 -2
- package/lib/user-management/session.d.cts +1 -1
- package/lib/user-management/user-management.cjs +3 -3
- package/lib/user-management/user-management.d.cts +1 -1
- package/lib/user-management/user-management.d.ts +2 -1
- package/lib/user-management/user-management.js +3 -2
- package/lib/user-management/user-management.js.map +1 -1
- package/lib/user-management-DCbkjgk8.cjs +539 -0
- package/lib/user-management-DCbkjgk8.cjs.map +1 -0
- package/lib/user.interface-BJY1-A6X.d.cts +34 -0
- package/lib/user.interface-Bln_2b82.cjs +0 -0
- package/lib/user.serializer-Cm-81FKp.d.cts +7 -0
- package/lib/utils/jose.cjs +1 -1
- package/lib/validate-api-key.interface-CH-HBG4k.cjs +0 -0
- package/lib/validate-api-key.interface-DNV_9W09.d.cts +15 -0
- package/lib/validate-api-key.serializer-1ugfgyKZ.d.cts +7 -0
- package/lib/vault/interfaces/index.d.cts +10 -10
- package/lib/vault/interfaces/key/create-data-key.interface.d.cts +1 -1
- package/lib/vault/interfaces/key/decrypt-data-key.interface.d.cts +1 -1
- package/lib/vault/interfaces/key.interface.d.cts +1 -1
- package/lib/vault/interfaces/object/create-object.interface.d.cts +1 -1
- package/lib/vault/interfaces/object/delete-object.interface.d.cts +1 -1
- package/lib/vault/interfaces/object/list-object-versions.interface.d.cts +1 -1
- package/lib/vault/interfaces/object/list-objects.interface.d.cts +1 -1
- package/lib/vault/interfaces/object/read-object.interface.d.cts +1 -1
- package/lib/vault/interfaces/object/update-object.interface.d.cts +1 -1
- package/lib/vault/interfaces/object.interface.d.cts +1 -1
- package/lib/vault/serializers/vault-key.serializer.cjs +1 -1
- package/lib/vault/serializers/vault-key.serializer.d.cts +3 -3
- package/lib/vault/serializers/vault-object.serializer.cjs +1 -1
- package/lib/vault/serializers/vault-object.serializer.d.cts +7 -7
- package/lib/vault/vault.cjs +1 -1
- package/lib/vault/vault.d.cts +1 -1
- package/lib/vault-DFZlnEty.cjs +106 -0
- package/lib/vault-DFZlnEty.cjs.map +1 -0
- package/lib/vault-key.serializer-CprnZmmD.cjs +29 -0
- package/lib/vault-key.serializer-CprnZmmD.cjs.map +1 -0
- package/lib/vault-object.serializer-DdulnQ2X.cjs +84 -0
- package/lib/vault-object.serializer-DdulnQ2X.cjs.map +1 -0
- package/lib/verify-challenge-options-BNCpUNrV.d.cts +8 -0
- package/lib/verify-challenge-response-DpXoIuSX.d.cts +14 -0
- package/lib/verify-email-options.interface-C0_VqDVK.d.cts +11 -0
- package/lib/verify-email-options.interface-DPQfAOwk.cjs +0 -0
- package/lib/verify-response.serializer-DLbxaA_Y.d.cts +7 -0
- package/lib/warning.interface-yJ1XNLbJ.d.cts +13 -0
- package/lib/warrant-op.enum-Bqzp9GRk.cjs +16 -0
- package/lib/warrant-op.enum-Bqzp9GRk.cjs.map +1 -0
- package/lib/warrant-op.enum-Dj1dkgof.d.cts +8 -0
- package/lib/warrant-token.interface-BpOppNeH.cjs +0 -0
- package/lib/warrant-token.interface-DPxaBIlh.d.cts +10 -0
- package/lib/warrant-token.serializer-C66i3W4C.d.cts +7 -0
- package/lib/warrant-token.serializer-DFNcFGQN.cjs +12 -0
- package/lib/warrant-token.serializer-DFNcFGQN.cjs.map +1 -0
- package/lib/warrant.interface-80A3Pew0.d.cts +71 -0
- package/lib/warrant.interface-BgyqZr7M.cjs +0 -0
- package/lib/warrant.serializer-BnF9sWUb.cjs +22 -0
- package/lib/warrant.serializer-BnF9sWUb.cjs.map +1 -0
- package/lib/warrant.serializer-q9Ra6iEa.d.cts +7 -0
- package/lib/webhooks/webhooks.cjs +1 -1
- package/lib/webhooks/webhooks.d.cts +1 -1
- package/lib/webhooks-BznN9ZsE.d.cts +35 -0
- package/lib/webhooks-CPFNC99w.cjs +38 -0
- package/lib/webhooks-CPFNC99w.cjs.map +1 -0
- package/lib/widgets/interfaces/get-token.cjs +1 -1
- package/lib/widgets/interfaces/get-token.d.cts +1 -1
- package/lib/widgets/widgets.cjs +1 -1
- package/lib/widgets/widgets.d.cts +1 -1
- package/lib/widgets-UYWIfPS5.cjs +21 -0
- package/lib/widgets-UYWIfPS5.cjs.map +1 -0
- package/lib/workos-HBr0yoqZ.cjs +332 -0
- package/lib/workos-HBr0yoqZ.cjs.map +1 -0
- package/lib/workos-options.interface-DsrGUZeh.d.cts +17 -0
- package/lib/workos-options.interface-Dyy5FyDG.cjs +0 -0
- package/lib/workos-response-error.interface-CUW8-rVq.d.cts +13 -0
- package/lib/workos-response-error.interface-DfARVQg0.cjs +0 -0
- package/lib/workos.cjs +5 -5
- package/lib/workos.d.cts +1 -1
- package/lib/workos.d.ts +6 -0
- package/lib/workos.js +27 -1
- package/lib/workos.js.map +1 -1
- package/lib/write-warrant-options.serializer-CJo81yBS.cjs +26 -0
- package/lib/write-warrant-options.serializer-CJo81yBS.cjs.map +1 -0
- package/lib/write-warrant-options.serializer-DYf63mng.d.cts +7 -0
- package/package.json +1 -1
- package/lib/access-token.interface-qb42DvMJ.d.cts +0 -18
- package/lib/action.interface-BLCbp-cT.d.cts +0 -63
- package/lib/action.serializer-CkMp2PpV.cjs +0 -47
- package/lib/action.serializer-CkMp2PpV.cjs.map +0 -1
- package/lib/actions-_-g7Idem.cjs +0 -58
- package/lib/actions-_-g7Idem.cjs.map +0 -1
- package/lib/actions-d_uq5P1L.d.cts +0 -41
- package/lib/add-flag-target-options.interface-DboHvXBu.d.cts +0 -8
- package/lib/api-key-required.exception-BOy1dF_S.d.cts +0 -10
- package/lib/api-key.interface-BHBINSO0.d.cts +0 -32
- package/lib/api-key.serializer-C50uuFpr.d.cts +0 -7
- package/lib/api-keys-mDyp4q6k.d.cts +0 -704
- package/lib/app-info.interface-C9ji_GUR.d.cts +0 -8
- package/lib/audit-log-export-options.interface-leXX6r-l.d.cts +0 -22
- package/lib/audit-log-export-options.serializer-Dvk0Vdn_.d.cts +0 -7
- package/lib/audit-log-export.interface-BOAyjgev.d.cts +0 -20
- package/lib/audit-log-export.serializer-DFqm5z_A.d.cts +0 -7
- package/lib/authenticate-with-code-and-verifier-options.interface-iYkG5mK5.d.cts +0 -17
- package/lib/authenticate-with-code-and-verifier-options.serializer-CooMcqC8.d.cts +0 -8
- package/lib/authenticate-with-code-options.interface-DQJr1pXz.d.cts +0 -20
- package/lib/authenticate-with-code-options.serializer-DfPtLDiz.d.cts +0 -8
- package/lib/authenticate-with-email-verification-options.interface-CrR9oRqC.d.cts +0 -18
- package/lib/authenticate-with-magic-auth-options.interface-CpVi8mtn.d.cts +0 -22
- package/lib/authenticate-with-magic-auth-options.serializer-B77kBerw.d.cts +0 -8
- package/lib/authenticate-with-options-base.interface-2DXtG4VP.d.cts +0 -41
- package/lib/authenticate-with-organization-selection.interface-BsFnw663.d.cts +0 -18
- package/lib/authenticate-with-password-options.interface-C96-JI_J.d.cts +0 -20
- package/lib/authenticate-with-password-options.serializer-Cu_SGAgE.d.cts +0 -8
- package/lib/authenticate-with-refresh-token-options.interface-CM1TufRB.d.cts +0 -18
- package/lib/authenticate-with-refresh-token-public-client-options.interface-D7hLjjWc.d.cts +0 -16
- package/lib/authenticate-with-refresh-token-public-client-options.serializer-BDGklXEB.d.cts +0 -8
- package/lib/authenticate-with-refresh-token.options.serializer-BnSt0VcK.d.cts +0 -9
- package/lib/authenticate-with-session-cookie.interface-tn2KA4cA.d.cts +0 -45
- package/lib/authenticate-with-totp-options.interface-16qWKCD0.d.cts +0 -20
- package/lib/authenticate-with-totp-options.serializer-CpfE1aHW.d.cts +0 -8
- package/lib/authentication-event.interface-B2DjMTcP.d.cts +0 -28
- package/lib/authentication-event.serializer-B2f7AREO.d.cts +0 -7
- package/lib/authentication-radar-risk-detected-event.interface-WzOM1Ikg.d.cts +0 -24
- package/lib/authentication-response.interface-DsUweGqC.d.cts +0 -28
- package/lib/authentication-response.serializer-Cvgyw-Ny.d.cts +0 -7
- package/lib/authorization-url-options.interface-ZrBipUt2.d.cts +0 -55
- package/lib/authorization-url-options.interface-eEOWfbHw.d.cts +0 -45
- package/lib/bad-request.exception-Dt5w75jb.d.cts +0 -25
- package/lib/base64-BROQtK6X.cjs +0 -44
- package/lib/base64-BROQtK6X.cjs.map +0 -1
- package/lib/batch-write-resources-options.serializer-BxUrYV3Z.d.cts +0 -7
- package/lib/batch-write-resources-options.serializer-CffA5DfH.cjs +0 -23
- package/lib/batch-write-resources-options.serializer-CffA5DfH.cjs.map +0 -1
- package/lib/challenge-factor-options-pbaZ9sT0.d.cts +0 -10
- package/lib/challenge.interface-BRyoywSw.d.cts +0 -22
- package/lib/challenge.serializer-DuO1FONN.d.cts +0 -7
- package/lib/check-op.enum-4IPdgcR_.cjs +0 -16
- package/lib/check-op.enum-4IPdgcR_.cjs.map +0 -1
- package/lib/check-op.enum-BxjDvXvG.d.cts +0 -8
- package/lib/check-options.serializer-B72dqHn5.cjs +0 -69
- package/lib/check-options.serializer-B72dqHn5.cjs.map +0 -1
- package/lib/check-options.serializer-BaiGXU5C.d.cts +0 -9
- package/lib/check.interface-BdAPzYtJ.d.cts +0 -88
- package/lib/check.interface-WnywQ3Nn.cjs +0 -33
- package/lib/check.interface-WnywQ3Nn.cjs.map +0 -1
- package/lib/conflict.exception-D66_QI9c.cjs +0 -23
- package/lib/conflict.exception-D66_QI9c.cjs.map +0 -1
- package/lib/connection-type.enum-CZfRWY9b.cjs +0 -49
- package/lib/connection-type.enum-CZfRWY9b.cjs.map +0 -1
- package/lib/connection-type.enum-CjWDQ5dq.d.cts +0 -41
- package/lib/connection.interface-DV7VmsKj.d.cts +0 -33
- package/lib/connection.serializer-Biy7KKu3.d.cts +0 -7
- package/lib/create-audit-log-event-options.interface-Cwth3loK.d.cts +0 -43
- package/lib/create-audit-log-event-options.serializer-DAT6w82I.d.cts +0 -7
- package/lib/create-audit-log-schema-options.interface-OCEBwyPY.d.cts +0 -67
- package/lib/create-audit-log-schema-options.serializer-Nxw9eaic.d.cts +0 -7
- package/lib/create-audit-log-schema.serializer-DHzQ5j3s.d.cts +0 -7
- package/lib/create-data-key.interface-B8yGESmB.d.cts +0 -15
- package/lib/create-magic-auth-options.interface-DK-rMcbs.d.cts +0 -12
- package/lib/create-magic-auth-options.serializer-C3YLOz8M.d.cts +0 -7
- package/lib/create-object.interface-BeH56LqJ.d.cts +0 -16
- package/lib/create-organization-api-key-options.serializer-BsRjnrYe.d.cts +0 -7
- package/lib/create-organization-domain-options.interface-CYOQi45i.d.cts +0 -12
- package/lib/create-organization-membership-options.interface-D_ChTOCZ.d.cts +0 -16
- package/lib/create-organization-options.serializer-BP9YqXCb.d.cts +0 -7
- package/lib/create-password-reset-options.interface-FlupefEp.d.cts +0 -10
- package/lib/create-password-reset-options.serializer-BXKZ6exA.d.cts +0 -7
- package/lib/create-passwordless-session-options.interface-DRRdook4.d.cts +0 -20
- package/lib/create-resource-options.serializer-CW1mImuQ.cjs +0 -17
- package/lib/create-resource-options.serializer-CW1mImuQ.cjs.map +0 -1
- package/lib/create-resource-options.serializer-x9S7UBJu.d.cts +0 -7
- package/lib/create-user-options.interface-D_FyRPT6.d.cts +0 -28
- package/lib/create-user-options.serializer-DbOQgaMH.d.cts +0 -7
- package/lib/created-api-key.interface-DJC0Hbil.d.cts +0 -34
- package/lib/created-api-key.serializer-CUESZReh.d.cts +0 -7
- package/lib/crypto-provider-DHQpgiJI.cjs +0 -18
- package/lib/crypto-provider-DHQpgiJI.cjs.map +0 -1
- package/lib/crypto-provider-xt721c-E.d.cts +0 -75
- package/lib/decrypt-data-key.interface-BMyadMdM.d.cts +0 -11
- package/lib/delete-object.interface-VOtMiRor.d.cts +0 -7
- package/lib/delete-resource-options.serializer-1OtbZ7Xw.cjs +0 -16
- package/lib/delete-resource-options.serializer-1OtbZ7Xw.cjs.map +0 -1
- package/lib/delete-resource-options.serializer-DXYb24lH.d.cts +0 -7
- package/lib/directory-group.interface-BXhORoZV.d.cts +0 -24
- package/lib/directory-group.serializer-CTJJy0Kb.d.cts +0 -8
- package/lib/directory-user.interface-B0cSpVBk.d.cts +0 -48
- package/lib/directory-user.serializer-CotaPd_A.d.cts +0 -9
- package/lib/directory.interface-CKBneEhg.d.cts +0 -60
- package/lib/directory.serializer-BhYUCxaX.d.cts +0 -10
- package/lib/domain-data.interface-jRo-qP_g.cjs +0 -16
- package/lib/domain-data.interface-jRo-qP_g.cjs.map +0 -1
- package/lib/domain-data.interface-pTi_WT5Q.d.cts +0 -12
- package/lib/email-verification.interface-CAc4zz7F.d.cts +0 -42
- package/lib/email-verification.serializer-C_AlrH3-.d.cts +0 -8
- package/lib/enroll-auth-factor-options.serializer-BZEtsmCx.d.cts +0 -7
- package/lib/enroll-auth-factor.interface-BtYeuUBZ.d.cts +0 -17
- package/lib/enroll-factor-options-CmyPkn2h.d.cts +0 -14
- package/lib/event.serializer-D7YBgSw3.d.cts +0 -7
- package/lib/event.serializer-DDxhlKpU.cjs +0 -180
- package/lib/event.serializer-DDxhlKpU.cjs.map +0 -1
- package/lib/events-DznbKxXA.cjs +0 -23
- package/lib/events-DznbKxXA.cjs.map +0 -1
- package/lib/factor.interface-Dsk_wYCN.d.cts +0 -44
- package/lib/factor.interface-DyQxGS-X.d.cts +0 -42
- package/lib/factor.serializer-B6Y-wFb5.d.cts +0 -8
- package/lib/factor.serializer-UAz7NTzS.d.cts +0 -8
- package/lib/factory-C447nn53.cjs +0 -15
- package/lib/factory-C447nn53.cjs.map +0 -1
- package/lib/feature-flag.interface-Btv6VfMI.d.cts +0 -28
- package/lib/feature-flag.serializer-dWnsMPwY.d.cts +0 -7
- package/lib/feature-flags-Be_HjF1A.cjs +0 -42
- package/lib/feature-flags-Be_HjF1A.cjs.map +0 -1
- package/lib/fetch-and-deserialize-list-BxNZs_lh.cjs +0 -19
- package/lib/fetch-and-deserialize-list-BxNZs_lh.cjs.map +0 -1
- package/lib/fetch-client-DdnJdHyo.cjs +0 -178
- package/lib/fetch-client-DdnJdHyo.cjs.map +0 -1
- package/lib/fga-BzThcM6n.cjs +0 -83
- package/lib/fga-BzThcM6n.cjs.map +0 -1
- package/lib/fga-paginatable-DEDsjb3U.cjs +0 -22
- package/lib/fga-paginatable-DEDsjb3U.cjs.map +0 -1
- package/lib/fga-paginatable-dk4rWGGN.d.cts +0 -14
- package/lib/generate-portal-link-intent.interface-BhUMhTmF.d.cts +0 -12
- package/lib/generate-portal-link-intent.interface-D-_01JcM.cjs +0 -20
- package/lib/generate-portal-link-intent.interface-D-_01JcM.cjs.map +0 -1
- package/lib/generic-server.exception-DcQ8s8I4.d.cts +0 -14
- package/lib/get-access-token.interface-CWupD3RW.d.cts +0 -32
- package/lib/get-options.interface-DAECfi3y.d.cts +0 -11
- package/lib/get-profile-and-token-options.interface-CgiTXQNg.d.cts +0 -14
- package/lib/get-profile-options.interface-CF_TcBM6.d.cts +0 -7
- package/lib/get-token-BN39vk9z.cjs +0 -23
- package/lib/get-token-BN39vk9z.cjs.map +0 -1
- package/lib/get-token-DzJWaKpa.d.cts +0 -23
- package/lib/http-client-B9cq9YMH.d.cts +0 -54
- package/lib/http-client-BLYDc7_a.cjs +0 -96
- package/lib/http-client-BLYDc7_a.cjs.map +0 -1
- package/lib/http-client.interface-B_lhFBGb.d.cts +0 -24
- package/lib/identity.interface-QfHtZhoz.d.cts +0 -14
- package/lib/impersonator.interface-Vr4-B1pz.d.cts +0 -12
- package/lib/index-CovDHv7q.d.cts +0 -557
- package/lib/index-SnTQxaLp.d.cts +0 -1
- package/lib/index-hRUJhHRh.d.cts +0 -1
- package/lib/index-kVnxSapa.d.cts +0 -1
- package/lib/interface-check-Cq-1Jdi8.cjs +0 -23
- package/lib/interface-check-Cq-1Jdi8.cjs.map +0 -1
- package/lib/invitation.interface-BQMsYCSZ.d.cts +0 -64
- package/lib/invitation.serializer-D7GsMvuH.d.cts +0 -8
- package/lib/jose-D0f0CVnA.cjs +0 -27
- package/lib/jose-D0f0CVnA.cjs.map +0 -1
- package/lib/key.interface-lG6YylXY.d.cts +0 -16
- package/lib/leb128-DgwAOCuj.cjs +0 -82
- package/lib/leb128-DgwAOCuj.cjs.map +0 -1
- package/lib/list-connections-options.interface-C_4eo9BU.d.cts +0 -17
- package/lib/list-connections-options.serializer-DfJliOZZ.d.cts +0 -7
- package/lib/list-directories-options.interface-B_Or3OFG.d.cts +0 -14
- package/lib/list-directories-options.serializer-C2zUlVDI.d.cts +0 -7
- package/lib/list-directory-users-options.interface-C7vYk_oi.d.cts +0 -10
- package/lib/list-event-options.serializer-JusR1KRI.d.cts +0 -7
- package/lib/list-events-options.interface-CD82jAU0.d.cts +0 -22
- package/lib/list-feature-flags-options.interface-TNRLg_eE.d.cts +0 -7
- package/lib/list-groups-options.interface-DSOFN2vw.d.cts +0 -10
- package/lib/list-object-versions.interface-Bcum-UM6.d.cts +0 -12
- package/lib/list-objects.interface-3h292QrX.d.cts +0 -9
- package/lib/list-organization-api-keys-options.interface-BHiZwa0X.d.cts +0 -9
- package/lib/list-organization-feature-flags-options.interface-lBZ9xl9J.d.cts +0 -9
- package/lib/list-organization-roles-options.interface-CDmO2AJ9.d.cts +0 -7
- package/lib/list-organizations-options.interface-fSvcaRDB.d.cts +0 -9
- package/lib/list-resources-options.serializer-B01VCK2u.d.cts +0 -7
- package/lib/list-resources-options.serializer-DGgWhS-1.cjs +0 -19
- package/lib/list-resources-options.serializer-DGgWhS-1.cjs.map +0 -1
- package/lib/list-sessions-options.interface-B2gN9ZV4.d.cts +0 -8
- package/lib/list-sessions-options.serializer-BZDbMjgP.d.cts +0 -7
- package/lib/list-users-options.interface-D2fACxr-.d.cts +0 -14
- package/lib/list-warrants-options.serializer-BsPCfAmS.d.cts +0 -7
- package/lib/list-warrants-options.serializer-DajLG33H.cjs +0 -21
- package/lib/list-warrants-options.serializer-DajLG33H.cjs.map +0 -1
- package/lib/list.interface-BA88zMzn.d.cts +0 -13
- package/lib/list.interface-D5DXp24q.d.cts +0 -20
- package/lib/list.serializer-Bz6Gh8tU.cjs +0 -17
- package/lib/list.serializer-Bz6Gh8tU.cjs.map +0 -1
- package/lib/list.serializer-Du5A8dpa.d.cts +0 -7
- package/lib/list.serializer-mTuQPSVS.d.cts +0 -10
- package/lib/logout-url-options.interface-CE3bWJ1r.d.cts +0 -8
- package/lib/magic-auth.interface-DHluxaz0.d.cts +0 -42
- package/lib/magic-auth.serializer-C2zJUZve.d.cts +0 -8
- package/lib/no-api-key-provided.exception-C7hM-2nF.d.cts +0 -9
- package/lib/not-found.exception-Dx6q9fB_.d.cts +0 -24
- package/lib/oauth-tokens.interface-BnEjos_G.d.cts +0 -16
- package/lib/oauth.exception-CevJbHCU.d.cts +0 -15
- package/lib/object.interface-DK7EXEsK.d.cts +0 -35
- package/lib/organization-domain.interface-CrAOoSPo.d.cts +0 -35
- package/lib/organization-domain.interface-F741XB-4.cjs +0 -28
- package/lib/organization-domain.interface-F741XB-4.cjs.map +0 -1
- package/lib/organization-membership.interface-ERgG2p4e.d.cts +0 -31
- package/lib/organization-membership.serializer-CYvdEErJ.cjs +0 -23
- package/lib/organization-membership.serializer-CYvdEErJ.cjs.map +0 -1
- package/lib/organization.interface-i6mWA3uA.d.cts +0 -30
- package/lib/organization.serializer-BLDEzQ1R.d.cts +0 -7
- package/lib/organizations-D95AsD1T.cjs +0 -70
- package/lib/organizations-D95AsD1T.cjs.map +0 -1
- package/lib/pagination-CJNMwJck.d.cts +0 -25
- package/lib/pagination-options.interface-Dan4Zh3s.d.cts +0 -10
- package/lib/parse-error-Bbj9GQ8a.cjs +0 -24
- package/lib/parse-error-Bbj9GQ8a.cjs.map +0 -1
- package/lib/password-hash-type.interface-CxNrEyUW.d.cts +0 -5
- package/lib/password-reset.interface-ClJw8CpQ.d.cts +0 -40
- package/lib/password-reset.serializer-b_eJxueA.d.cts +0 -8
- package/lib/passwordless-session.interface-DNuCWNwX.d.cts +0 -18
- package/lib/pkce-CjBivwLM.d.cts +0 -38
- package/lib/post-options.interface-BPsfRqbS.d.cts +0 -13
- package/lib/profile-and-token.interface-ZhaI1B_G.d.cts +0 -18
- package/lib/profile-and-token.serializer-jvVxElaa.d.cts +0 -8
- package/lib/profile.interface-CPseQwyu.d.cts +0 -42
- package/lib/profile.serializer-DdojQSTs.d.cts +0 -8
- package/lib/put-options.interface-CZQMFl9I.d.cts +0 -12
- package/lib/query-options.serializer-D8fa8ATB.cjs +0 -19
- package/lib/query-options.serializer-D8fa8ATB.cjs.map +0 -1
- package/lib/query-options.serializer-Diz_h8yQ.d.cts +0 -7
- package/lib/query-result.serializer-CNtZi5XJ.cjs +0 -28
- package/lib/query-result.serializer-CNtZi5XJ.cjs.map +0 -1
- package/lib/query-result.serializer-PmDR_3q_.d.cts +0 -12
- package/lib/query.interface-CRFxU55p.d.cts +0 -35
- package/lib/rate-limit-exceeded.exception-BIPgOZUD.d.cts +0 -18
- package/lib/read-object.interface-BB42mvW3.d.cts +0 -25
- package/lib/refresh-and-seal-session-data.interface-CseekR4v.cjs +0 -19
- package/lib/refresh-and-seal-session-data.interface-CseekR4v.cjs.map +0 -1
- package/lib/refresh-and-seal-session-data.interface-Dj5I8yeH.d.cts +0 -24
- package/lib/remove-flag-target-options.interface-GeGGkSC5.d.cts +0 -8
- package/lib/request-exception.interface-BmJyrOWP.d.cts +0 -9
- package/lib/reset-password-options.interface-CLFu671o.d.cts +0 -12
- package/lib/reset-password-options.serializer-CHPuZk8c.d.cts +0 -7
- package/lib/resource-op.enum-B88boilW.cjs +0 -16
- package/lib/resource-op.enum-B88boilW.cjs.map +0 -1
- package/lib/resource-op.enum-DvX5Qafv.d.cts +0 -8
- package/lib/resource.interface-DoGgkV2d.d.cts +0 -77
- package/lib/resource.serializer-BPTEBds3.d.cts +0 -8
- package/lib/resource.serializer-D7crN0bg.cjs +0 -25
- package/lib/resource.serializer-D7crN0bg.cjs.map +0 -1
- package/lib/response-payload.interface-CC-y4Nv6.d.cts +0 -26
- package/lib/revoke-session-options.interface-VAEw2kUV.d.cts +0 -11
- package/lib/role.interface-BfMq5Bju.d.cts +0 -51
- package/lib/runtime-info-tyLXDYg5.cjs +0 -56
- package/lib/runtime-info-tyLXDYg5.cjs.map +0 -1
- package/lib/send-invitation-options.interface-BfUo_y42.d.cts +0 -18
- package/lib/send-invitation-options.serializer-DW0HMDNN.cjs +0 -18
- package/lib/send-invitation-options.serializer-DW0HMDNN.cjs.map +0 -1
- package/lib/send-session-response.interface-B5S6VASb.d.cts +0 -8
- package/lib/send-verification-email-options.interface-I508oiKZ.d.cts +0 -7
- package/lib/session-9omTtyoD.cjs +0 -144
- package/lib/session-9omTtyoD.cjs.map +0 -1
- package/lib/session-handler-options.interface-DxF6E6ug.d.cts +0 -9
- package/lib/session.interface-BL6GFmCP.d.cts +0 -38
- package/lib/session.serializer-DfnhKR5i.d.cts +0 -7
- package/lib/signature-verification.exception-Bdz2blO4.d.cts +0 -8
- package/lib/sms.interface-CCvvcYpl.d.cts +0 -10
- package/lib/subtle-crypto-provider-B-Ywls_E.cjs +0 -99
- package/lib/subtle-crypto-provider-B-Ywls_E.cjs.map +0 -1
- package/lib/totp.interface-DYAiNCIp.d.cts +0 -22
- package/lib/unauthorized.exception-BfjoWRNu.d.cts +0 -13
- package/lib/unknown-record.interface-BeldI97Y.d.cts +0 -5
- package/lib/unprocessable-entity-error.interface-Cetcw8CZ.d.cts +0 -8
- package/lib/unprocessable-entity.exception-Bfdn63On.d.cts +0 -25
- package/lib/unreachable-BhX3Wm6O.cjs +0 -23
- package/lib/unreachable-BhX3Wm6O.cjs.map +0 -1
- package/lib/update-object.interface-DSpX1DVE.d.cts +0 -13
- package/lib/update-organization-membership-options.interface-dgLTrwtU.d.cts +0 -12
- package/lib/update-organization-membership-options.serializer-CMMOZfnN.cjs +0 -15
- package/lib/update-organization-membership-options.serializer-CMMOZfnN.cjs.map +0 -1
- package/lib/update-organization-options.interface-BsgwfPaF.d.cts +0 -21
- package/lib/update-organization-options.serializer-5Out0brr.d.cts +0 -7
- package/lib/update-user-options.interface-aM2-YVW5.d.cts +0 -31
- package/lib/update-user-options.serializer-6lvzxDwS.d.cts +0 -7
- package/lib/update-user-password-options.interface-Buytvx58.d.cts +0 -11
- package/lib/update-user-password-options.serializer-D35YAk--.d.cts +0 -7
- package/lib/user-management-B-wNbU8Q.cjs +0 -538
- package/lib/user-management-B-wNbU8Q.cjs.map +0 -1
- package/lib/user.interface-Dw_0nNpw.d.cts +0 -34
- package/lib/user.serializer-DJ3rbRrA.d.cts +0 -7
- package/lib/validate-api-key.interface-TBdiN_K_.d.cts +0 -15
- package/lib/validate-api-key.serializer-DJFc2ovX.d.cts +0 -7
- package/lib/vault-BlHYnRoU.cjs +0 -106
- package/lib/vault-BlHYnRoU.cjs.map +0 -1
- package/lib/vault-key.serializer-eYptLXG-.cjs +0 -29
- package/lib/vault-key.serializer-eYptLXG-.cjs.map +0 -1
- package/lib/vault-object.serializer-BZEXkPbG.cjs +0 -84
- package/lib/vault-object.serializer-BZEXkPbG.cjs.map +0 -1
- package/lib/verify-challenge-options-CbIfj-xU.d.cts +0 -8
- package/lib/verify-challenge-response-BmtVdUEW.d.cts +0 -14
- package/lib/verify-email-options.interface-C84HHtMI.d.cts +0 -11
- package/lib/verify-response.serializer-BzA1MzhA.d.cts +0 -7
- package/lib/warning.interface-CSsg4mki.d.cts +0 -13
- package/lib/warrant-op.enum-DlS3mxL5.d.cts +0 -8
- package/lib/warrant-op.enum-GglqG3OS.cjs +0 -16
- package/lib/warrant-op.enum-GglqG3OS.cjs.map +0 -1
- package/lib/warrant-token.interface-R40zmb_I.d.cts +0 -10
- package/lib/warrant-token.serializer-5-8n-V0R.d.cts +0 -7
- package/lib/warrant-token.serializer-DcPHu0QA.cjs +0 -12
- package/lib/warrant-token.serializer-DcPHu0QA.cjs.map +0 -1
- package/lib/warrant.interface-BTyeqwIZ.d.cts +0 -71
- package/lib/warrant.serializer-CoOLXomy.cjs +0 -22
- package/lib/warrant.serializer-CoOLXomy.cjs.map +0 -1
- package/lib/warrant.serializer-gpAVldox.d.cts +0 -7
- package/lib/webhooks-Cg-vwv-K.cjs +0 -38
- package/lib/webhooks-Cg-vwv-K.cjs.map +0 -1
- package/lib/webhooks-Cu--UoJt.d.cts +0 -35
- package/lib/widgets-DgRdyRWv.cjs +0 -21
- package/lib/widgets-DgRdyRWv.cjs.map +0 -1
- package/lib/workos-Q8jFdPPy.cjs +0 -306
- package/lib/workos-Q8jFdPPy.cjs.map +0 -1
- package/lib/workos-options.interface-UI0n58Db.d.cts +0 -17
- package/lib/workos-response-error.interface-BWAYi8L4.d.cts +0 -13
- package/lib/write-warrant-options.serializer-ZEtUaK3t.cjs +0 -26
- package/lib/write-warrant-options.serializer-ZEtUaK3t.cjs.map +0 -1
- package/lib/write-warrant-options.serializer-sFJLAscw.d.cts +0 -7
- /package/lib/{action.interface-CkOAE1pY.cjs → action.interface-Cp_zjlbq.cjs} +0 -0
- /package/lib/{add-flag-target-options.interface-dMGv3yj3.cjs → add-environment-role-permission-options.interface-Iu9Ch9C8.cjs} +0 -0
- /package/lib/{api-key.interface-Dp44lU0l.cjs → add-flag-target-options.interface-DIrECf_q.cjs} +0 -0
- /package/lib/{audit-log-export-options.interface-C0qji-yn.cjs → add-organization-role-permission-options.interface-CaoNd2oC.cjs} +0 -0
- /package/lib/{audit-log-export.interface-L9dgSkYy.cjs → api-key.interface-CKbSjD5i.cjs} +0 -0
- /package/lib/{authenticate-with-code-and-verifier-options.interface-BYx47_xz.cjs → audit-log-export-options.interface-DnLNNH69.cjs} +0 -0
- /package/lib/{authenticate-with-code-options.interface-BopjXJqx.cjs → audit-log-export.interface-C-vo0He0.cjs} +0 -0
- /package/lib/{authenticate-with-email-verification-options.interface-BHYcF7qE.cjs → authenticate-with-code-and-verifier-options.interface-Dx_BHLhw.cjs} +0 -0
- /package/lib/{authenticate-with-magic-auth-options.interface-D4f0rE9c.cjs → authenticate-with-code-options.interface-R6K1Vhe2.cjs} +0 -0
- /package/lib/{authenticate-with-options-base.interface-DON2cMpD.cjs → authenticate-with-email-verification-options.interface-B5rAPOaX.cjs} +0 -0
- /package/lib/{authenticate-with-organization-selection.interface-7wYlcuE4.cjs → authenticate-with-magic-auth-options.interface-BN61GmkA.cjs} +0 -0
- /package/lib/{authenticate-with-password-options.interface-BhYKWEov.cjs → authenticate-with-options-base.interface-OnfF-7oV.cjs} +0 -0
- /package/lib/{authenticate-with-refresh-token-options.interface-DHIVPm61.cjs → authenticate-with-organization-selection.interface-DW-NpTwE.cjs} +0 -0
- /package/lib/{authenticate-with-refresh-token-public-client-options.interface-CkimjQl3.cjs → authenticate-with-password-options.interface-Cyd9Mg9f.cjs} +0 -0
- /package/lib/{authenticate-with-totp-options.interface-BIrXLPem.cjs → authenticate-with-refresh-token-options.interface-DtToMftX.cjs} +0 -0
- /package/lib/{authentication-event.interface-EapgQlPG.cjs → authenticate-with-refresh-token-public-client-options.interface-BosOmcNC.cjs} +0 -0
- /package/lib/{authentication-radar-risk-detected-event.interface-BKZBuc9D.cjs → authenticate-with-totp-options.interface-NZ3FlPUp.cjs} +0 -0
- /package/lib/{authentication-response.interface-Bdr_R5sj.cjs → authentication-event.interface-D2d3yA2C.cjs} +0 -0
- /package/lib/{authorization-url-options.interface-C6Y5Gwm7.cjs → authentication-radar-risk-detected-event.interface-CUQwIbCE.cjs} +0 -0
- /package/lib/{authorization-url-options.interface-Cjohf5tR.cjs → authentication-response.interface-DDQn5MT0.cjs} +0 -0
- /package/lib/{create-audit-log-schema-options.interface-Bbg2hLgB.cjs → authorization/interfaces/add-environment-role-permission-options.interface.cjs} +0 -0
- /package/lib/{create-data-key.interface-gbc99HQ1.cjs → authorization/interfaces/add-organization-role-permission-options.interface.cjs} +0 -0
- /package/lib/{create-magic-auth-options.interface-De9IkCQF.cjs → authorization/interfaces/create-environment-role-options.interface.cjs} +0 -0
- /package/lib/{create-object.interface-CSsrC5NL.cjs → authorization/interfaces/create-organization-role-options.interface.cjs} +0 -0
- /package/lib/{create-organization-api-key-options.interface-9iLvdEx0.cjs → authorization/interfaces/create-permission-options.interface.cjs} +0 -0
- /package/lib/{create-organization-domain-options.interface-D1Ttuqb6.cjs → authorization/interfaces/environment-role.interface.cjs} +0 -0
- /package/lib/{create-organization-membership-options.interface-CBXXA0Gm.cjs → authorization/interfaces/index.cjs} +0 -0
- /package/lib/{create-organization-options.interface-D7xVl5sq.cjs → authorization/interfaces/list-permissions-options.interface.cjs} +0 -0
- /package/lib/{create-password-reset-options.interface-B2Rw4p5_.cjs → authorization/interfaces/organization-role.interface.cjs} +0 -0
- /package/lib/{create-passwordless-session-options.interface-B1BOSDIV.cjs → authorization/interfaces/permission.interface.cjs} +0 -0
- /package/lib/{create-user-options.interface-CX80nkXN.cjs → authorization/interfaces/remove-organization-role-permission-options.interface.cjs} +0 -0
- /package/lib/{created-api-key.interface-DkHwRpkj.cjs → authorization/interfaces/set-environment-role-permissions-options.interface.cjs} +0 -0
- /package/lib/{decrypt-data-key.interface-BpqQk6v6.cjs → authorization/interfaces/set-organization-role-permissions-options.interface.cjs} +0 -0
- /package/lib/{delete-object.interface-DXRirEIi.cjs → authorization/interfaces/update-environment-role-options.interface.cjs} +0 -0
- /package/lib/{directory-group.interface-B4ic7sA3.cjs → authorization/interfaces/update-organization-role-options.interface.cjs} +0 -0
- /package/lib/{directory-user.interface-Ci4KBF1c.cjs → authorization/interfaces/update-permission-options.interface.cjs} +0 -0
- /package/lib/{connection.interface-CSyly4pO.cjs → authorization-url-options.interface-C9Fxv_7o.cjs} +0 -0
- /package/lib/{create-audit-log-event-options.interface-CbozGiMJ.cjs → authorization-url-options.interface-CpQQiakb.cjs} +0 -0
- /package/lib/{directory.interface-DZqZAP7j.cjs → common/interfaces/patch-options.interface.cjs} +0 -0
- /package/lib/{email-verification.interface-B9puXDAs.cjs → connection.interface-Bizso5vL.cjs} +0 -0
- /package/lib/{enroll-auth-factor.interface-cLereKiZ.cjs → create-audit-log-event-options.interface-CV4irZpp.cjs} +0 -0
- /package/lib/{event.interface-DQMKDuc9.cjs → create-audit-log-schema-options.interface-CAfKAjBf.cjs} +0 -0
- /package/lib/{factor.interface-Uxx5A9bu.cjs → create-data-key.interface-C2-NUWkZ.cjs} +0 -0
- /package/lib/{feature-flag.interface-Ug-r9a4Y.cjs → create-environment-role-options.interface-kC_uHnZl.cjs} +0 -0
- /package/lib/{get-options.interface-C2z2r1ix.cjs → create-magic-auth-options.interface-DUm3MfqV.cjs} +0 -0
- /package/lib/{get-profile-and-token-options.interface-DI-Q8ebI.cjs → create-object.interface-jufKIYD_.cjs} +0 -0
- /package/lib/{get-profile-options.interface-DjUysY00.cjs → create-organization-api-key-options.interface-DneHi7Es.cjs} +0 -0
- /package/lib/{http-client.interface-DVx4DGRo.cjs → create-organization-domain-options.interface-9xVPDedq.cjs} +0 -0
- /package/lib/{identity.interface-pMR3VyDs.cjs → create-organization-membership-options.interface-D6p-ZR1H.cjs} +0 -0
- /package/lib/{impersonator.interface-C8ENsrgh.cjs → create-organization-options.interface-BQ-ynkFt.cjs} +0 -0
- /package/lib/{interfaces-BOHKsPOz.cjs → create-organization-role-options.interface-BZevKU9l.cjs} +0 -0
- /package/lib/{interfaces-BSEjYu3J.cjs → create-password-reset-options.interface-BwbNVK63.cjs} +0 -0
- /package/lib/{interfaces-D9mIJVCc.cjs → create-passwordless-session-options.interface-CUwrUUes.cjs} +0 -0
- /package/lib/{interfaces-D_qyT71O.cjs → create-permission-options.interface-gNV8L40W.cjs} +0 -0
- /package/lib/{interfaces-hquSk6kj.cjs → create-user-options.interface-B1BsHBrW.cjs} +0 -0
- /package/lib/{interfaces-lw3tA1Ig.cjs → created-api-key.interface-B9LIbGZn.cjs} +0 -0
- /package/lib/{invitation.interface-DuJQvENh.cjs → decrypt-data-key.interface-CC8-x3bk.cjs} +0 -0
- /package/lib/{key.interface-fwN2JSVT.cjs → delete-object.interface-maVx6Sss.cjs} +0 -0
- /package/lib/{list-auth-factors-options.interface-C_MNm3jN.cjs → directory-group.interface-fI3Q18_V.cjs} +0 -0
- /package/lib/{list-connections-options.interface-YNk1YDor.cjs → directory-user.interface-BDg3vEue.cjs} +0 -0
- /package/lib/{list-directories-options.interface-CI0d7UHw.cjs → directory.interface-BtqM2Oqa.cjs} +0 -0
- /package/lib/{list-directory-users-options.interface-B-cXq46X.cjs → email-verification.interface-ChKIDS-L.cjs} +0 -0
- /package/lib/{list-events-options.interface-C8jfNxm0.cjs → enroll-auth-factor.interface-CW5tMY5z.cjs} +0 -0
- /package/lib/{list-feature-flags-options.interface-CfqDXcyU.cjs → environment-role.interface-B1gHSYUW.cjs} +0 -0
- /package/lib/{list-groups-options.interface-XF1YACqA.cjs → event.interface-DJog_FVt.cjs} +0 -0
- /package/lib/{list-invitations-options.interface-BVUPp5YW.cjs → factor.interface-DXV18z-y.cjs} +0 -0
- /package/lib/{list-object-versions.interface-RY6pD26h.cjs → feature-flag.interface-zWuZQ0AN.cjs} +0 -0
- /package/lib/{list-objects.interface-Bp30QMX7.cjs → get-options.interface-PWSxSJWf.cjs} +0 -0
- /package/lib/{list-organization-api-keys-options.interface-CHwMsqCG.cjs → get-profile-and-token-options.interface-B4AIgzHK.cjs} +0 -0
- /package/lib/{list-organization-feature-flags-options.interface-BBYYH_hi.cjs → get-profile-options.interface-BL-ae6kv.cjs} +0 -0
- /package/lib/{list-organization-memberships-options.interface-OSYPLSDa.cjs → http-client.interface-q5tbZi3r.cjs} +0 -0
- /package/lib/{list-organizations-options.interface-BDvmneTo.cjs → identity.interface-ByIvTffv.cjs} +0 -0
- /package/lib/{list-sessions-options.interface-CNUdzKGT.cjs → impersonator.interface-Cf6hV6Sl.cjs} +0 -0
- /package/lib/{index-BXAFTIXq.d.cts → index-1uLygO4P.d.cts} +0 -0
- /package/lib/{index-By33K0bY.d.cts → index-B6gmSQ17.d.cts} +0 -0
- /package/lib/{index-CKltkU46.d.cts → index-BcBOa3hp.d.cts} +0 -0
- /package/lib/{index-DCiA8mC0.d.cts → index-BxzRAt8C.d.cts} +0 -0
- /package/lib/{index-DPFAF2L8.d.cts → index-CGSBYMIY.d.cts} +0 -0
- /package/lib/{index-DbQcfgDj.d.cts → index-CNyG9oqt.d.cts} +0 -0
- /package/lib/{index-DiJBdvWV.d.cts → index-CRoJq_Lc.d.cts} +0 -0
- /package/lib/{index-DuB_GnHY.d.cts → index-D-yUU_Re.d.cts} +0 -0
- /package/lib/{index-DyFAE6ok.d.cts → index-DBTRFl_2.d.cts} +0 -0
- /package/lib/{index-J9AgzEVC.d.cts → index-Daxn2RpI.d.cts} +0 -0
- /package/lib/{index-Kx-CLSKd.d.cts → index-W8XcuB-8.d.cts} +0 -0
- /package/lib/{list-user-feature-flags-options.interface-D8wcWYlx.cjs → interfaces-B2GoLcEd.cjs} +0 -0
- /package/lib/{list-users-options.interface-DIk86usi.cjs → interfaces-BYxjU24Y.cjs} +0 -0
- /package/lib/{list.interface-CANtyNNL.cjs → interfaces-Bj3jzkUk.cjs} +0 -0
- /package/lib/{logout-url-options.interface-XJrvh9Um.cjs → interfaces-D9rg42Qr.cjs} +0 -0
- /package/lib/{magic-auth.interface-OAoqBOq3.cjs → interfaces-DlIGjxho.cjs} +0 -0
- /package/lib/{oauth-tokens.interface-DN0gza6B.cjs → interfaces-MzGHd7Yh.cjs} +0 -0
- /package/lib/{object.interface-ouK-CMDg.cjs → invitation.interface-mC_8BuA9.cjs} +0 -0
- /package/lib/{organization-membership.interface-lE9RCqTV.cjs → key.interface-CHRr2LEz.cjs} +0 -0
- /package/lib/{organization.interface-CVqDknbl.cjs → list-auth-factors-options.interface-DKlym4v6.cjs} +0 -0
- /package/lib/{pagination-options.interface-B5F27Ki8.cjs → list-connections-options.interface-DVqutI5F.cjs} +0 -0
- /package/lib/{password-reset.interface-OhYRauB2.cjs → list-directories-options.interface-eav9nzy3.cjs} +0 -0
- /package/lib/{passwordless-session.interface-C5Jxlpb4.cjs → list-directory-users-options.interface-DLqDVyl2.cjs} +0 -0
- /package/lib/{post-options.interface-Dq51f5lQ.cjs → list-events-options.interface-0QWZL0Yw.cjs} +0 -0
- /package/lib/{profile-and-token.interface-DWS2cGa3.cjs → list-feature-flags-options.interface-DVCuHMFE.cjs} +0 -0
- /package/lib/{profile.interface-CDRlx1GK.cjs → list-groups-options.interface-By_UcNDc.cjs} +0 -0
- /package/lib/{put-options.interface-gBaevIoJ.cjs → list-invitations-options.interface-BP7cTrWE.cjs} +0 -0
- /package/lib/{query.interface-Bzmz5paB.cjs → list-object-versions.interface-CZ3u9vAQ.cjs} +0 -0
- /package/lib/{read-object.interface-23WBJJxF.cjs → list-objects.interface-DB0LHLG9.cjs} +0 -0
- /package/lib/{remove-flag-target-options.interface-Cku-Z1m-.cjs → list-organization-api-keys-options.interface-CveTG0uD.cjs} +0 -0
- /package/lib/{reset-password-options.interface-Cnc8Tptm.cjs → list-organization-feature-flags-options.interface-_x6kSSZY.cjs} +0 -0
- /package/lib/{resource.interface-B_62uGB9.cjs → list-organization-memberships-options.interface-B3j0iJtf.cjs} +0 -0
- /package/lib/{response-payload.interface-Bw5H70BX.cjs → list-organizations-options.interface-CO97CX3u.cjs} +0 -0
- /package/lib/{role.interface-DokcsdG6.cjs → list-permissions-options.interface-DLk_ltrp.cjs} +0 -0
- /package/lib/{send-invitation-options.interface-BKFjdXV9.cjs → list-sessions-options.interface-CxrAFAFB.cjs} +0 -0
- /package/lib/{send-session-response.interface-DikznICv.cjs → list-user-feature-flags-options.interface-BffT3Bgy.cjs} +0 -0
- /package/lib/{send-verification-email-options.interface-ouroaASB.cjs → list-users-options.interface-CZSIN83o.cjs} +0 -0
- /package/lib/{serializers-CshbWgH5.cjs → list.interface-BRryI6pg.cjs} +0 -0
- /package/lib/{session.interface-DRZhbyZ-.cjs → locale.interface-CEpymw1t.cjs} +0 -0
- /package/lib/{unprocessable-entity-error.interface-CBG2g2iU.cjs → logout-url-options.interface-DWdskc6a.cjs} +0 -0
- /package/lib/{update-object.interface-Nms9NiU9.cjs → magic-auth.interface-fz8MN6h7.cjs} +0 -0
- /package/lib/{update-organization-membership-options.interface-JtvQDljv.cjs → oauth-tokens.interface-B-4Pi0sR.cjs} +0 -0
- /package/lib/{update-organization-options.interface-4n3qEX9i.cjs → object.interface-npvKCWKF.cjs} +0 -0
- /package/lib/{update-user-options.interface-Docd9AML.cjs → organization-membership.interface-D1wrotmQ.cjs} +0 -0
- /package/lib/{update-user-password-options.interface-Bqpsk-Qq.cjs → organization-role.interface-CLBM9aza.cjs} +0 -0
- /package/lib/{user.interface-CQjmDTsg.cjs → organization.interface-pY1iGerY.cjs} +0 -0
- /package/lib/{validate-api-key.interface-CK407BWa.cjs → pagination-options.interface-BoiKHHTH.cjs} +0 -0
- /package/lib/{verify-email-options.interface-BBcp932Q.cjs → password-reset.interface-CnDQOmWv.cjs} +0 -0
- /package/lib/{warrant-token.interface-BQ9A2-XP.cjs → passwordless-session.interface-Bi9y87V7.cjs} +0 -0
- /package/lib/{warrant.interface-DJHgzeER.cjs → patch-options.interface-Fd1jUcSo.cjs} +0 -0
- /package/lib/{workos-options.interface-BCUwoqgS.cjs → permission.interface-Dhx-jPkZ.cjs} +0 -0
- /package/lib/{workos-response-error.interface-oYjLN9ok.cjs → post-options.interface-BY7OUsfe.cjs} +0 -0
package/lib/session-9omTtyoD.cjs
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
const require_oauth_exception = require('./oauth.exception-BJAv3tg-.cjs');
|
|
2
|
-
const require_seal = require('./seal-Dl5Et6Vv.cjs');
|
|
3
|
-
const require_authenticate_with_session_cookie_interface = require('./authenticate-with-session-cookie.interface-wRJr18ep.cjs');
|
|
4
|
-
const require_refresh_and_seal_session_data_interface = require('./refresh-and-seal-session-data.interface-CseekR4v.cjs');
|
|
5
|
-
const require_jose = require('./jose-D0f0CVnA.cjs');
|
|
6
|
-
|
|
7
|
-
//#region src/user-management/session.ts
|
|
8
|
-
var CookieSession = class {
|
|
9
|
-
userManagement;
|
|
10
|
-
cookiePassword;
|
|
11
|
-
sessionData;
|
|
12
|
-
constructor(userManagement, sessionData, cookiePassword) {
|
|
13
|
-
if (!cookiePassword) throw new Error("cookiePassword is required");
|
|
14
|
-
this.userManagement = userManagement;
|
|
15
|
-
this.cookiePassword = cookiePassword;
|
|
16
|
-
this.sessionData = sessionData;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Authenticates a user with a session cookie.
|
|
20
|
-
*
|
|
21
|
-
* @returns An object indicating whether the authentication was successful or not. If successful, it will include the user's session data.
|
|
22
|
-
*/
|
|
23
|
-
async authenticate() {
|
|
24
|
-
if (!this.sessionData) return {
|
|
25
|
-
authenticated: false,
|
|
26
|
-
reason: require_authenticate_with_session_cookie_interface.AuthenticateWithSessionCookieFailureReason.NO_SESSION_COOKIE_PROVIDED
|
|
27
|
-
};
|
|
28
|
-
const session = await require_seal.unsealData(this.sessionData, { password: this.cookiePassword });
|
|
29
|
-
if (!session.accessToken) return {
|
|
30
|
-
authenticated: false,
|
|
31
|
-
reason: require_authenticate_with_session_cookie_interface.AuthenticateWithSessionCookieFailureReason.INVALID_SESSION_COOKIE
|
|
32
|
-
};
|
|
33
|
-
if (!await this.isValidJwt(session.accessToken)) return {
|
|
34
|
-
authenticated: false,
|
|
35
|
-
reason: require_authenticate_with_session_cookie_interface.AuthenticateWithSessionCookieFailureReason.INVALID_JWT
|
|
36
|
-
};
|
|
37
|
-
const { decodeJwt } = await require_jose.getJose();
|
|
38
|
-
const { sid: sessionId, org_id: organizationId, role, roles, permissions, entitlements, feature_flags: featureFlags } = decodeJwt(session.accessToken);
|
|
39
|
-
return {
|
|
40
|
-
authenticated: true,
|
|
41
|
-
sessionId,
|
|
42
|
-
organizationId,
|
|
43
|
-
role,
|
|
44
|
-
roles,
|
|
45
|
-
permissions,
|
|
46
|
-
entitlements,
|
|
47
|
-
featureFlags,
|
|
48
|
-
user: session.user,
|
|
49
|
-
authenticationMethod: session.authenticationMethod,
|
|
50
|
-
impersonator: session.impersonator,
|
|
51
|
-
accessToken: session.accessToken
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Refreshes the user's session.
|
|
56
|
-
*
|
|
57
|
-
* @param options - Optional options for refreshing the session.
|
|
58
|
-
* @param options.cookiePassword - The password to use for the new session cookie.
|
|
59
|
-
* @param options.organizationId - The organization ID to use for the new session cookie.
|
|
60
|
-
* @returns An object indicating whether the refresh was successful or not. If successful, it will include the new sealed session data.
|
|
61
|
-
*/
|
|
62
|
-
async refresh(options = {}) {
|
|
63
|
-
const { decodeJwt } = await require_jose.getJose();
|
|
64
|
-
const session = await require_seal.unsealData(this.sessionData, { password: this.cookiePassword });
|
|
65
|
-
if (!session.refreshToken || !session.user) return {
|
|
66
|
-
authenticated: false,
|
|
67
|
-
reason: require_refresh_and_seal_session_data_interface.RefreshSessionFailureReason.INVALID_SESSION_COOKIE
|
|
68
|
-
};
|
|
69
|
-
const { org_id: organizationIdFromAccessToken } = decodeJwt(session.accessToken);
|
|
70
|
-
try {
|
|
71
|
-
const cookiePassword = options.cookiePassword ?? this.cookiePassword;
|
|
72
|
-
const authenticationResponse = await this.userManagement.authenticateWithRefreshToken({
|
|
73
|
-
clientId: this.userManagement.clientId,
|
|
74
|
-
refreshToken: session.refreshToken,
|
|
75
|
-
organizationId: options.organizationId ?? organizationIdFromAccessToken,
|
|
76
|
-
session: {
|
|
77
|
-
sealSession: true,
|
|
78
|
-
cookiePassword
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
if (options.cookiePassword) this.cookiePassword = options.cookiePassword;
|
|
82
|
-
this.sessionData = authenticationResponse.sealedSession;
|
|
83
|
-
const { sid: sessionId, org_id: organizationId, role, roles, permissions, entitlements, feature_flags: featureFlags } = decodeJwt(authenticationResponse.accessToken);
|
|
84
|
-
return {
|
|
85
|
-
authenticated: true,
|
|
86
|
-
sealedSession: authenticationResponse.sealedSession,
|
|
87
|
-
session: authenticationResponse,
|
|
88
|
-
authenticationMethod: authenticationResponse.authenticationMethod,
|
|
89
|
-
sessionId,
|
|
90
|
-
organizationId,
|
|
91
|
-
role,
|
|
92
|
-
roles,
|
|
93
|
-
permissions,
|
|
94
|
-
entitlements,
|
|
95
|
-
featureFlags,
|
|
96
|
-
user: session.user,
|
|
97
|
-
impersonator: session.impersonator
|
|
98
|
-
};
|
|
99
|
-
} catch (error) {
|
|
100
|
-
if (error instanceof require_oauth_exception.OauthException && (error.error === require_refresh_and_seal_session_data_interface.RefreshSessionFailureReason.INVALID_GRANT || error.error === require_refresh_and_seal_session_data_interface.RefreshSessionFailureReason.MFA_ENROLLMENT || error.error === require_refresh_and_seal_session_data_interface.RefreshSessionFailureReason.SSO_REQUIRED)) return {
|
|
101
|
-
authenticated: false,
|
|
102
|
-
reason: error.error
|
|
103
|
-
};
|
|
104
|
-
throw error;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Gets the URL to redirect the user to for logging out.
|
|
109
|
-
*
|
|
110
|
-
* @returns The URL to redirect the user to for logging out.
|
|
111
|
-
*/
|
|
112
|
-
async getLogoutUrl({ returnTo } = {}) {
|
|
113
|
-
const authenticationResponse = await this.authenticate();
|
|
114
|
-
if (!authenticationResponse.authenticated) {
|
|
115
|
-
const { reason } = authenticationResponse;
|
|
116
|
-
throw new Error(`Failed to extract session ID for logout URL: ${reason}`);
|
|
117
|
-
}
|
|
118
|
-
return this.userManagement.getLogoutUrl({
|
|
119
|
-
sessionId: authenticationResponse.sessionId,
|
|
120
|
-
returnTo
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
async isValidJwt(accessToken) {
|
|
124
|
-
const { jwtVerify } = await require_jose.getJose();
|
|
125
|
-
const jwks = await this.userManagement.getJWKS();
|
|
126
|
-
if (!jwks) throw new Error("Missing client ID. Did you provide it when initializing WorkOS?");
|
|
127
|
-
try {
|
|
128
|
-
await jwtVerify(accessToken, jwks);
|
|
129
|
-
return true;
|
|
130
|
-
} catch (e) {
|
|
131
|
-
if (e instanceof Error && "code" in e && typeof e.code === "string" && (e.code.startsWith("ERR_JWT_") || e.code.startsWith("ERR_JWS_"))) return false;
|
|
132
|
-
throw e;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
//#endregion
|
|
138
|
-
Object.defineProperty(exports, 'CookieSession', {
|
|
139
|
-
enumerable: true,
|
|
140
|
-
get: function () {
|
|
141
|
-
return CookieSession;
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
//# sourceMappingURL=session-9omTtyoD.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-9omTtyoD.cjs","names":["AuthenticateWithSessionCookieFailureReason","unsealData","getJose","RefreshSessionFailureReason","OauthException"],"sources":["../src/user-management/session.ts"],"sourcesContent":["import { OauthException } from '../common/exceptions/oauth.exception';\nimport {\n AccessToken,\n AuthenticateWithSessionCookieFailedResponse,\n AuthenticateWithSessionCookieFailureReason,\n AuthenticateWithSessionCookieSuccessResponse,\n AuthenticationResponse,\n RefreshSessionFailureReason,\n RefreshSessionResponse,\n SessionCookieData,\n} from './interfaces';\nimport { UserManagement } from './user-management';\nimport { unsealData } from '../common/crypto/seal';\nimport { getJose } from '../utils/jose';\n\ntype RefreshOptions = {\n cookiePassword?: string;\n organizationId?: string;\n};\n\nexport class CookieSession {\n private userManagement: UserManagement;\n private cookiePassword: string;\n private sessionData: string;\n\n constructor(\n userManagement: UserManagement,\n sessionData: string,\n cookiePassword: string,\n ) {\n if (!cookiePassword) {\n throw new Error('cookiePassword is required');\n }\n\n this.userManagement = userManagement;\n this.cookiePassword = cookiePassword;\n this.sessionData = sessionData;\n }\n\n /**\n * Authenticates a user with a session cookie.\n *\n * @returns An object indicating whether the authentication was successful or not. If successful, it will include the user's session data.\n */\n async authenticate(): Promise<\n | AuthenticateWithSessionCookieSuccessResponse\n | AuthenticateWithSessionCookieFailedResponse\n > {\n if (!this.sessionData) {\n return {\n authenticated: false,\n reason:\n AuthenticateWithSessionCookieFailureReason.NO_SESSION_COOKIE_PROVIDED,\n };\n }\n\n // unsealData returns {} for known seal errors (expired, bad hmac, etc.)\n // Unknown errors propagate - don't catch them as \"invalid session\"\n const session = await unsealData<SessionCookieData>(this.sessionData, {\n password: this.cookiePassword,\n });\n\n if (!session.accessToken) {\n return {\n authenticated: false,\n reason:\n AuthenticateWithSessionCookieFailureReason.INVALID_SESSION_COOKIE,\n };\n }\n\n if (!(await this.isValidJwt(session.accessToken))) {\n return {\n authenticated: false,\n reason: AuthenticateWithSessionCookieFailureReason.INVALID_JWT,\n };\n }\n\n const { decodeJwt } = await getJose();\n\n const {\n sid: sessionId,\n org_id: organizationId,\n role,\n roles,\n permissions,\n entitlements,\n feature_flags: featureFlags,\n } = decodeJwt<AccessToken>(session.accessToken);\n\n return {\n authenticated: true,\n sessionId,\n organizationId,\n role,\n roles,\n permissions,\n entitlements,\n featureFlags,\n user: session.user,\n authenticationMethod: session.authenticationMethod,\n impersonator: session.impersonator,\n accessToken: session.accessToken,\n };\n }\n\n /**\n * Refreshes the user's session.\n *\n * @param options - Optional options for refreshing the session.\n * @param options.cookiePassword - The password to use for the new session cookie.\n * @param options.organizationId - The organization ID to use for the new session cookie.\n * @returns An object indicating whether the refresh was successful or not. If successful, it will include the new sealed session data.\n */\n async refresh(options: RefreshOptions = {}): Promise<RefreshSessionResponse> {\n const { decodeJwt } = await getJose();\n const session = await unsealData<SessionCookieData>(this.sessionData, {\n password: this.cookiePassword,\n });\n\n if (!session.refreshToken || !session.user) {\n return {\n authenticated: false,\n reason: RefreshSessionFailureReason.INVALID_SESSION_COOKIE,\n };\n }\n\n const { org_id: organizationIdFromAccessToken } = decodeJwt<AccessToken>(\n session.accessToken,\n );\n\n try {\n const cookiePassword = options.cookiePassword ?? this.cookiePassword;\n\n const authenticationResponse =\n await this.userManagement.authenticateWithRefreshToken({\n clientId: this.userManagement.clientId as string,\n refreshToken: session.refreshToken,\n organizationId:\n options.organizationId ?? organizationIdFromAccessToken,\n session: {\n // We want to store the new sealed session in this class instance, so this always needs to be true\n sealSession: true,\n cookiePassword,\n },\n });\n\n // Update the password if a new one was provided\n if (options.cookiePassword) {\n this.cookiePassword = options.cookiePassword;\n }\n\n this.sessionData = authenticationResponse.sealedSession as string;\n\n const {\n sid: sessionId,\n org_id: organizationId,\n role,\n roles,\n permissions,\n entitlements,\n feature_flags: featureFlags,\n } = decodeJwt<AccessToken>(authenticationResponse.accessToken);\n\n // TODO: Returning `session` here means there's some duplicated data.\n // Slim down the return type in a future major version.\n return {\n authenticated: true,\n sealedSession: authenticationResponse.sealedSession,\n session: authenticationResponse as AuthenticationResponse,\n authenticationMethod: authenticationResponse.authenticationMethod,\n sessionId,\n organizationId,\n role,\n roles,\n permissions,\n entitlements,\n featureFlags,\n user: session.user,\n impersonator: session.impersonator,\n };\n } catch (error) {\n if (\n error instanceof OauthException &&\n // TODO: Add additional known errors and remove re-throw\n (error.error === RefreshSessionFailureReason.INVALID_GRANT ||\n error.error === RefreshSessionFailureReason.MFA_ENROLLMENT ||\n error.error === RefreshSessionFailureReason.SSO_REQUIRED)\n ) {\n return {\n authenticated: false,\n reason: error.error,\n };\n }\n\n throw error;\n }\n }\n\n /**\n * Gets the URL to redirect the user to for logging out.\n *\n * @returns The URL to redirect the user to for logging out.\n */\n async getLogoutUrl({\n returnTo,\n }: { returnTo?: string } = {}): Promise<string> {\n const authenticationResponse = await this.authenticate();\n\n if (!authenticationResponse.authenticated) {\n const { reason } = authenticationResponse;\n throw new Error(`Failed to extract session ID for logout URL: ${reason}`);\n }\n\n return this.userManagement.getLogoutUrl({\n sessionId: authenticationResponse.sessionId,\n returnTo,\n });\n }\n\n private async isValidJwt(accessToken: string): Promise<boolean> {\n const { jwtVerify } = await getJose();\n const jwks = await this.userManagement.getJWKS();\n if (!jwks) {\n throw new Error(\n 'Missing client ID. Did you provide it when initializing WorkOS?',\n );\n }\n\n try {\n await jwtVerify(accessToken, jwks);\n return true;\n } catch (e) {\n // Only treat as invalid JWT if it's an actual JWT/JWS error from jose\n // Network errors, crypto failures, etc. should propagate\n if (\n e instanceof Error &&\n 'code' in e &&\n typeof e.code === 'string' &&\n (e.code.startsWith('ERR_JWT_') || e.code.startsWith('ERR_JWS_'))\n ) {\n return false;\n }\n throw e;\n }\n }\n}\n"],"mappings":";;;;;;;AAoBA,IAAa,gBAAb,MAA2B;CACzB,AAAQ;CACR,AAAQ;CACR,AAAQ;CAER,YACE,gBACA,aACA,gBACA;AACA,MAAI,CAAC,eACH,OAAM,IAAI,MAAM,6BAA6B;AAG/C,OAAK,iBAAiB;AACtB,OAAK,iBAAiB;AACtB,OAAK,cAAc;;;;;;;CAQrB,MAAM,eAGJ;AACA,MAAI,CAAC,KAAK,YACR,QAAO;GACL,eAAe;GACf,QACEA,8FAA2C;GAC9C;EAKH,MAAM,UAAU,MAAMC,wBAA8B,KAAK,aAAa,EACpE,UAAU,KAAK,gBAChB,CAAC;AAEF,MAAI,CAAC,QAAQ,YACX,QAAO;GACL,eAAe;GACf,QACED,8FAA2C;GAC9C;AAGH,MAAI,CAAE,MAAM,KAAK,WAAW,QAAQ,YAAY,CAC9C,QAAO;GACL,eAAe;GACf,QAAQA,8FAA2C;GACpD;EAGH,MAAM,EAAE,cAAc,MAAME,sBAAS;EAErC,MAAM,EACJ,KAAK,WACL,QAAQ,gBACR,MACA,OACA,aACA,cACA,eAAe,iBACb,UAAuB,QAAQ,YAAY;AAE/C,SAAO;GACL,eAAe;GACf;GACA;GACA;GACA;GACA;GACA;GACA;GACA,MAAM,QAAQ;GACd,sBAAsB,QAAQ;GAC9B,cAAc,QAAQ;GACtB,aAAa,QAAQ;GACtB;;;;;;;;;;CAWH,MAAM,QAAQ,UAA0B,EAAE,EAAmC;EAC3E,MAAM,EAAE,cAAc,MAAMA,sBAAS;EACrC,MAAM,UAAU,MAAMD,wBAA8B,KAAK,aAAa,EACpE,UAAU,KAAK,gBAChB,CAAC;AAEF,MAAI,CAAC,QAAQ,gBAAgB,CAAC,QAAQ,KACpC,QAAO;GACL,eAAe;GACf,QAAQE,4EAA4B;GACrC;EAGH,MAAM,EAAE,QAAQ,kCAAkC,UAChD,QAAQ,YACT;AAED,MAAI;GACF,MAAM,iBAAiB,QAAQ,kBAAkB,KAAK;GAEtD,MAAM,yBACJ,MAAM,KAAK,eAAe,6BAA6B;IACrD,UAAU,KAAK,eAAe;IAC9B,cAAc,QAAQ;IACtB,gBACE,QAAQ,kBAAkB;IAC5B,SAAS;KAEP,aAAa;KACb;KACD;IACF,CAAC;AAGJ,OAAI,QAAQ,eACV,MAAK,iBAAiB,QAAQ;AAGhC,QAAK,cAAc,uBAAuB;GAE1C,MAAM,EACJ,KAAK,WACL,QAAQ,gBACR,MACA,OACA,aACA,cACA,eAAe,iBACb,UAAuB,uBAAuB,YAAY;AAI9D,UAAO;IACL,eAAe;IACf,eAAe,uBAAuB;IACtC,SAAS;IACT,sBAAsB,uBAAuB;IAC7C;IACA;IACA;IACA;IACA;IACA;IACA;IACA,MAAM,QAAQ;IACd,cAAc,QAAQ;IACvB;WACM,OAAO;AACd,OACE,iBAAiBC,2CAEhB,MAAM,UAAUD,4EAA4B,iBAC3C,MAAM,UAAUA,4EAA4B,kBAC5C,MAAM,UAAUA,4EAA4B,cAE9C,QAAO;IACL,eAAe;IACf,QAAQ,MAAM;IACf;AAGH,SAAM;;;;;;;;CASV,MAAM,aAAa,EACjB,aACyB,EAAE,EAAmB;EAC9C,MAAM,yBAAyB,MAAM,KAAK,cAAc;AAExD,MAAI,CAAC,uBAAuB,eAAe;GACzC,MAAM,EAAE,WAAW;AACnB,SAAM,IAAI,MAAM,gDAAgD,SAAS;;AAG3E,SAAO,KAAK,eAAe,aAAa;GACtC,WAAW,uBAAuB;GAClC;GACD,CAAC;;CAGJ,MAAc,WAAW,aAAuC;EAC9D,MAAM,EAAE,cAAc,MAAMD,sBAAS;EACrC,MAAM,OAAO,MAAM,KAAK,eAAe,SAAS;AAChD,MAAI,CAAC,KACH,OAAM,IAAI,MACR,kEACD;AAGH,MAAI;AACF,SAAM,UAAU,aAAa,KAAK;AAClC,UAAO;WACA,GAAG;AAGV,OACE,aAAa,SACb,UAAU,KACV,OAAO,EAAE,SAAS,aACjB,EAAE,KAAK,WAAW,WAAW,IAAI,EAAE,KAAK,WAAW,WAAW,EAE/D,QAAO;AAET,SAAM"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
//#region src/user-management/interfaces/session-handler-options.interface.d.ts
|
|
2
|
-
interface SessionHandlerOptions {
|
|
3
|
-
sessionData: string;
|
|
4
|
-
cookiePassword?: string;
|
|
5
|
-
organizationId?: string;
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { SessionHandlerOptions as t };
|
|
9
|
-
//# sourceMappingURL=session-handler-options.interface-DxF6E6ug.d.cts.map
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { t as Impersonator } from "./impersonator.interface-Vr4-B1pz.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/user-management/interfaces/session.interface.d.ts
|
|
4
|
-
type AuthMethod = 'external_auth' | 'impersonation' | 'magic_code' | 'migrated_session' | 'oauth' | 'passkey' | 'password' | 'sso' | 'unknown';
|
|
5
|
-
type SessionStatus = 'active' | 'expired' | 'revoked';
|
|
6
|
-
interface Session {
|
|
7
|
-
object: 'session';
|
|
8
|
-
id: string;
|
|
9
|
-
userId: string;
|
|
10
|
-
ipAddress: string | null;
|
|
11
|
-
userAgent: string | null;
|
|
12
|
-
organizationId?: string;
|
|
13
|
-
impersonator?: Impersonator;
|
|
14
|
-
authMethod: AuthMethod;
|
|
15
|
-
status: SessionStatus;
|
|
16
|
-
expiresAt: string;
|
|
17
|
-
endedAt: string | null;
|
|
18
|
-
createdAt: string;
|
|
19
|
-
updatedAt: string;
|
|
20
|
-
}
|
|
21
|
-
interface SessionResponse {
|
|
22
|
-
object: 'session';
|
|
23
|
-
id: string;
|
|
24
|
-
user_id: string;
|
|
25
|
-
ip_address: string | null;
|
|
26
|
-
user_agent: string | null;
|
|
27
|
-
organization_id?: string;
|
|
28
|
-
impersonator?: Impersonator;
|
|
29
|
-
auth_method: AuthMethod;
|
|
30
|
-
status: SessionStatus;
|
|
31
|
-
expires_at: string;
|
|
32
|
-
ended_at: string | null;
|
|
33
|
-
created_at: string;
|
|
34
|
-
updated_at: string;
|
|
35
|
-
}
|
|
36
|
-
//#endregion
|
|
37
|
-
export { SessionStatus as i, Session as n, SessionResponse as r, AuthMethod as t };
|
|
38
|
-
//# sourceMappingURL=session.interface-BL6GFmCP.d.cts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { n as Session, r as SessionResponse } from "./session.interface-BL6GFmCP.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/user-management/serializers/session.serializer.d.ts
|
|
4
|
-
declare const deserializeSession: (session: SessionResponse) => Session;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { deserializeSession as t };
|
|
7
|
-
//# sourceMappingURL=session.serializer-DfnhKR5i.d.cts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
//#region src/common/exceptions/signature-verification.exception.d.ts
|
|
2
|
-
declare class SignatureVerificationException extends Error {
|
|
3
|
-
readonly name = "SignatureVerificationException";
|
|
4
|
-
constructor(message: string);
|
|
5
|
-
}
|
|
6
|
-
//#endregion
|
|
7
|
-
export { SignatureVerificationException as t };
|
|
8
|
-
//# sourceMappingURL=signature-verification.exception-Bdz2blO4.d.cts.map
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
const require_crypto_provider = require('./crypto-provider-DHQpgiJI.cjs');
|
|
2
|
-
|
|
3
|
-
//#region src/common/crypto/subtle-crypto-provider.ts
|
|
4
|
-
/**
|
|
5
|
-
* `CryptoProvider which uses the SubtleCrypto interface of the Web Crypto API.
|
|
6
|
-
*
|
|
7
|
-
* This only supports asynchronous operations.
|
|
8
|
-
*/
|
|
9
|
-
var SubtleCryptoProvider = class extends require_crypto_provider.CryptoProvider {
|
|
10
|
-
subtleCrypto;
|
|
11
|
-
constructor(subtleCrypto) {
|
|
12
|
-
super();
|
|
13
|
-
this.subtleCrypto = subtleCrypto || crypto.subtle;
|
|
14
|
-
}
|
|
15
|
-
computeHMACSignature(_payload, _secret) {
|
|
16
|
-
throw new Error("SubleCryptoProvider cannot be used in a synchronous context.");
|
|
17
|
-
}
|
|
18
|
-
/** @override */
|
|
19
|
-
async computeHMACSignatureAsync(payload, secret) {
|
|
20
|
-
const encoder = new TextEncoder();
|
|
21
|
-
const key = await this.subtleCrypto.importKey("raw", encoder.encode(secret), {
|
|
22
|
-
name: "HMAC",
|
|
23
|
-
hash: { name: "SHA-256" }
|
|
24
|
-
}, false, ["sign"]);
|
|
25
|
-
const signatureBuffer = await this.subtleCrypto.sign("hmac", key, encoder.encode(payload));
|
|
26
|
-
const signatureBytes = new Uint8Array(signatureBuffer);
|
|
27
|
-
const signatureHexCodes = new Array(signatureBytes.length);
|
|
28
|
-
for (let i = 0; i < signatureBytes.length; i++) signatureHexCodes[i] = byteHexMapping[signatureBytes[i]];
|
|
29
|
-
return signatureHexCodes.join("");
|
|
30
|
-
}
|
|
31
|
-
/** @override */
|
|
32
|
-
async secureCompare(stringA, stringB) {
|
|
33
|
-
const bufferA = this.encoder.encode(stringA);
|
|
34
|
-
const bufferB = this.encoder.encode(stringB);
|
|
35
|
-
if (bufferA.length !== bufferB.length) return false;
|
|
36
|
-
const algorithm = {
|
|
37
|
-
name: "HMAC",
|
|
38
|
-
hash: "SHA-256"
|
|
39
|
-
};
|
|
40
|
-
const key = await crypto.subtle.generateKey(algorithm, false, ["sign", "verify"]);
|
|
41
|
-
const hmac = await crypto.subtle.sign(algorithm, key, bufferA);
|
|
42
|
-
return await crypto.subtle.verify(algorithm, key, hmac, bufferB);
|
|
43
|
-
}
|
|
44
|
-
async encrypt(plaintext, key, iv, aad) {
|
|
45
|
-
const actualIv = iv || crypto.getRandomValues(new Uint8Array(32));
|
|
46
|
-
const cryptoKey = await this.subtleCrypto.importKey("raw", key, { name: "AES-GCM" }, false, ["encrypt"]);
|
|
47
|
-
const encryptParams = {
|
|
48
|
-
name: "AES-GCM",
|
|
49
|
-
iv: actualIv
|
|
50
|
-
};
|
|
51
|
-
if (aad) encryptParams.additionalData = aad;
|
|
52
|
-
const encryptedData = await this.subtleCrypto.encrypt(encryptParams, cryptoKey, plaintext);
|
|
53
|
-
const encryptedBytes = new Uint8Array(encryptedData);
|
|
54
|
-
const tagStart = encryptedBytes.length - 16;
|
|
55
|
-
const tag = encryptedBytes.slice(tagStart);
|
|
56
|
-
return {
|
|
57
|
-
ciphertext: encryptedBytes.slice(0, tagStart),
|
|
58
|
-
iv: actualIv,
|
|
59
|
-
tag
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
async decrypt(ciphertext, key, iv, tag, aad) {
|
|
63
|
-
const combinedData = new Uint8Array(ciphertext.length + tag.length);
|
|
64
|
-
combinedData.set(ciphertext, 0);
|
|
65
|
-
combinedData.set(tag, ciphertext.length);
|
|
66
|
-
const cryptoKey = await this.subtleCrypto.importKey("raw", key, { name: "AES-GCM" }, false, ["decrypt"]);
|
|
67
|
-
const decryptParams = {
|
|
68
|
-
name: "AES-GCM",
|
|
69
|
-
iv
|
|
70
|
-
};
|
|
71
|
-
if (aad) decryptParams.additionalData = aad;
|
|
72
|
-
const decryptedData = await this.subtleCrypto.decrypt(decryptParams, cryptoKey, combinedData);
|
|
73
|
-
return new Uint8Array(decryptedData);
|
|
74
|
-
}
|
|
75
|
-
randomBytes(length) {
|
|
76
|
-
const bytes = new Uint8Array(length);
|
|
77
|
-
crypto.getRandomValues(bytes);
|
|
78
|
-
return bytes;
|
|
79
|
-
}
|
|
80
|
-
randomUUID() {
|
|
81
|
-
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") return crypto.randomUUID();
|
|
82
|
-
const bytes = this.randomBytes(16);
|
|
83
|
-
bytes[6] = bytes[6] & 15 | 64;
|
|
84
|
-
bytes[8] = bytes[8] & 63 | 128;
|
|
85
|
-
const hex = Array.from(bytes, (b) => byteHexMapping[b]).join("");
|
|
86
|
-
return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
const byteHexMapping = new Array(256);
|
|
90
|
-
for (let i = 0; i < byteHexMapping.length; i++) byteHexMapping[i] = i.toString(16).padStart(2, "0");
|
|
91
|
-
|
|
92
|
-
//#endregion
|
|
93
|
-
Object.defineProperty(exports, 'SubtleCryptoProvider', {
|
|
94
|
-
enumerable: true,
|
|
95
|
-
get: function () {
|
|
96
|
-
return SubtleCryptoProvider;
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
//# sourceMappingURL=subtle-crypto-provider-B-Ywls_E.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"subtle-crypto-provider-B-Ywls_E.cjs","names":["CryptoProvider","encryptParams: AesGcmParams","decryptParams: AesGcmParams"],"sources":["../src/common/crypto/subtle-crypto-provider.ts"],"sourcesContent":["import { CryptoProvider } from './crypto-provider';\n\n/**\n * `CryptoProvider which uses the SubtleCrypto interface of the Web Crypto API.\n *\n * This only supports asynchronous operations.\n */\nexport class SubtleCryptoProvider extends CryptoProvider {\n subtleCrypto: SubtleCrypto;\n\n constructor(subtleCrypto?: SubtleCrypto) {\n super();\n\n // If no subtle crypto is interface, default to the global namespace. This\n // is to allow custom interfaces (eg. using the Node webcrypto interface in\n // tests).\n this.subtleCrypto = subtleCrypto || crypto.subtle;\n }\n\n computeHMACSignature(_payload: string, _secret: string): string {\n throw new Error(\n 'SubleCryptoProvider cannot be used in a synchronous context.',\n );\n }\n\n /** @override */\n async computeHMACSignatureAsync(\n payload: string,\n secret: string,\n ): Promise<string> {\n const encoder = new TextEncoder();\n\n const key = await this.subtleCrypto.importKey(\n 'raw',\n encoder.encode(secret),\n {\n name: 'HMAC',\n hash: { name: 'SHA-256' },\n },\n false,\n ['sign'],\n );\n\n const signatureBuffer = await this.subtleCrypto.sign(\n 'hmac',\n key,\n encoder.encode(payload),\n );\n\n // crypto.subtle returns the signature in base64 format. This must be\n // encoded in hex to match the CryptoProvider contract. We map each byte in\n // the buffer to its corresponding hex octet and then combine into a string.\n const signatureBytes = new Uint8Array(signatureBuffer);\n const signatureHexCodes = new Array(signatureBytes.length);\n\n for (let i = 0; i < signatureBytes.length; i++) {\n signatureHexCodes[i] = byteHexMapping[signatureBytes[i]];\n }\n\n return signatureHexCodes.join('');\n }\n\n /** @override */\n async secureCompare(stringA: string, stringB: string): Promise<boolean> {\n const bufferA = this.encoder.encode(stringA);\n const bufferB = this.encoder.encode(stringB);\n\n if (bufferA.length !== bufferB.length) {\n return false;\n }\n\n const algorithm = { name: 'HMAC', hash: 'SHA-256' };\n const key = (await crypto.subtle.generateKey(algorithm, false, [\n 'sign',\n 'verify',\n ])) as CryptoKey;\n const hmac = await crypto.subtle.sign(algorithm, key, bufferA);\n const equal = await crypto.subtle.verify(algorithm, key, hmac, bufferB);\n\n return equal;\n }\n\n async encrypt(\n plaintext: Uint8Array,\n key: Uint8Array,\n iv?: Uint8Array,\n aad?: Uint8Array,\n ): Promise<{\n ciphertext: Uint8Array;\n iv: Uint8Array;\n tag: Uint8Array;\n }> {\n const actualIv = iv || crypto.getRandomValues(new Uint8Array(32));\n\n const cryptoKey = await this.subtleCrypto.importKey(\n 'raw',\n key as BufferSource,\n { name: 'AES-GCM' },\n false,\n ['encrypt'],\n );\n\n const encryptParams: AesGcmParams = {\n name: 'AES-GCM',\n iv: actualIv as BufferSource,\n };\n\n if (aad) {\n encryptParams.additionalData = aad as BufferSource;\n }\n\n const encryptedData = await this.subtleCrypto.encrypt(\n encryptParams,\n cryptoKey,\n plaintext as BufferSource,\n );\n\n const encryptedBytes = new Uint8Array(encryptedData);\n\n // Extract tag (last 16 bytes)\n const tagSize = 16;\n const tagStart = encryptedBytes.length - tagSize;\n const tag = encryptedBytes.slice(tagStart);\n const ciphertext = encryptedBytes.slice(0, tagStart);\n\n return {\n ciphertext,\n iv: actualIv,\n tag,\n };\n }\n\n async decrypt(\n ciphertext: Uint8Array,\n key: Uint8Array,\n iv: Uint8Array,\n tag: Uint8Array,\n aad?: Uint8Array,\n ): Promise<Uint8Array> {\n // SubtleCrypto expects tag to be appended to ciphertext for AES-GCM\n const combinedData = new Uint8Array(ciphertext.length + tag.length);\n combinedData.set(ciphertext, 0);\n combinedData.set(tag, ciphertext.length);\n\n const cryptoKey = await this.subtleCrypto.importKey(\n 'raw',\n key as BufferSource,\n { name: 'AES-GCM' },\n false,\n ['decrypt'],\n );\n\n const decryptParams: AesGcmParams = {\n name: 'AES-GCM',\n iv: iv as BufferSource,\n };\n\n if (aad) {\n decryptParams.additionalData = aad as BufferSource;\n }\n\n const decryptedData = await this.subtleCrypto.decrypt(\n decryptParams,\n cryptoKey,\n combinedData,\n );\n\n return new Uint8Array(decryptedData);\n }\n\n randomBytes(length: number): Uint8Array {\n const bytes = new Uint8Array(length);\n crypto.getRandomValues(bytes);\n return bytes;\n }\n\n randomUUID(): string {\n if (\n typeof crypto !== 'undefined' &&\n typeof crypto.randomUUID === 'function'\n ) {\n return crypto.randomUUID();\n }\n\n // Fallback for environments without crypto.randomUUID\n const bytes = this.randomBytes(16);\n // tslint:disable-next-line:no-bitwise\n bytes[6] = (bytes[6] & 0x0f) | 0x40; // version 4\n // tslint:disable-next-line:no-bitwise\n bytes[8] = (bytes[8] & 0x3f) | 0x80; // variant\n\n const hex = Array.from(bytes, (b) => byteHexMapping[b]).join('');\n return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(\n 12,\n 16,\n )}-${hex.slice(16, 20)}-${hex.slice(20)}`;\n }\n}\n\n// Cached mapping of byte to hex representation. We do this once to avoid re-\n// computing every time we need to convert the result of a signature to hex.\nconst byteHexMapping = new Array(256);\nfor (let i = 0; i < byteHexMapping.length; i++) {\n byteHexMapping[i] = i.toString(16).padStart(2, '0');\n}\n"],"mappings":";;;;;;;;AAOA,IAAa,uBAAb,cAA0CA,uCAAe;CACvD;CAEA,YAAY,cAA6B;AACvC,SAAO;AAKP,OAAK,eAAe,gBAAgB,OAAO;;CAG7C,qBAAqB,UAAkB,SAAyB;AAC9D,QAAM,IAAI,MACR,+DACD;;;CAIH,MAAM,0BACJ,SACA,QACiB;EACjB,MAAM,UAAU,IAAI,aAAa;EAEjC,MAAM,MAAM,MAAM,KAAK,aAAa,UAClC,OACA,QAAQ,OAAO,OAAO,EACtB;GACE,MAAM;GACN,MAAM,EAAE,MAAM,WAAW;GAC1B,EACD,OACA,CAAC,OAAO,CACT;EAED,MAAM,kBAAkB,MAAM,KAAK,aAAa,KAC9C,QACA,KACA,QAAQ,OAAO,QAAQ,CACxB;EAKD,MAAM,iBAAiB,IAAI,WAAW,gBAAgB;EACtD,MAAM,oBAAoB,IAAI,MAAM,eAAe,OAAO;AAE1D,OAAK,IAAI,IAAI,GAAG,IAAI,eAAe,QAAQ,IACzC,mBAAkB,KAAK,eAAe,eAAe;AAGvD,SAAO,kBAAkB,KAAK,GAAG;;;CAInC,MAAM,cAAc,SAAiB,SAAmC;EACtE,MAAM,UAAU,KAAK,QAAQ,OAAO,QAAQ;EAC5C,MAAM,UAAU,KAAK,QAAQ,OAAO,QAAQ;AAE5C,MAAI,QAAQ,WAAW,QAAQ,OAC7B,QAAO;EAGT,MAAM,YAAY;GAAE,MAAM;GAAQ,MAAM;GAAW;EACnD,MAAM,MAAO,MAAM,OAAO,OAAO,YAAY,WAAW,OAAO,CAC7D,QACA,SACD,CAAC;EACF,MAAM,OAAO,MAAM,OAAO,OAAO,KAAK,WAAW,KAAK,QAAQ;AAG9D,SAFc,MAAM,OAAO,OAAO,OAAO,WAAW,KAAK,MAAM,QAAQ;;CAKzE,MAAM,QACJ,WACA,KACA,IACA,KAKC;EACD,MAAM,WAAW,MAAM,OAAO,gBAAgB,IAAI,WAAW,GAAG,CAAC;EAEjE,MAAM,YAAY,MAAM,KAAK,aAAa,UACxC,OACA,KACA,EAAE,MAAM,WAAW,EACnB,OACA,CAAC,UAAU,CACZ;EAED,MAAMC,gBAA8B;GAClC,MAAM;GACN,IAAI;GACL;AAED,MAAI,IACF,eAAc,iBAAiB;EAGjC,MAAM,gBAAgB,MAAM,KAAK,aAAa,QAC5C,eACA,WACA,UACD;EAED,MAAM,iBAAiB,IAAI,WAAW,cAAc;EAIpD,MAAM,WAAW,eAAe,SADhB;EAEhB,MAAM,MAAM,eAAe,MAAM,SAAS;AAG1C,SAAO;GACL,YAHiB,eAAe,MAAM,GAAG,SAAS;GAIlD,IAAI;GACJ;GACD;;CAGH,MAAM,QACJ,YACA,KACA,IACA,KACA,KACqB;EAErB,MAAM,eAAe,IAAI,WAAW,WAAW,SAAS,IAAI,OAAO;AACnE,eAAa,IAAI,YAAY,EAAE;AAC/B,eAAa,IAAI,KAAK,WAAW,OAAO;EAExC,MAAM,YAAY,MAAM,KAAK,aAAa,UACxC,OACA,KACA,EAAE,MAAM,WAAW,EACnB,OACA,CAAC,UAAU,CACZ;EAED,MAAMC,gBAA8B;GAClC,MAAM;GACF;GACL;AAED,MAAI,IACF,eAAc,iBAAiB;EAGjC,MAAM,gBAAgB,MAAM,KAAK,aAAa,QAC5C,eACA,WACA,aACD;AAED,SAAO,IAAI,WAAW,cAAc;;CAGtC,YAAY,QAA4B;EACtC,MAAM,QAAQ,IAAI,WAAW,OAAO;AACpC,SAAO,gBAAgB,MAAM;AAC7B,SAAO;;CAGT,aAAqB;AACnB,MACE,OAAO,WAAW,eAClB,OAAO,OAAO,eAAe,WAE7B,QAAO,OAAO,YAAY;EAI5B,MAAM,QAAQ,KAAK,YAAY,GAAG;AAElC,QAAM,KAAM,MAAM,KAAK,KAAQ;AAE/B,QAAM,KAAM,MAAM,KAAK,KAAQ;EAE/B,MAAM,MAAM,MAAM,KAAK,QAAQ,MAAM,eAAe,GAAG,CAAC,KAAK,GAAG;AAChE,SAAO,GAAG,IAAI,MAAM,GAAG,EAAE,CAAC,GAAG,IAAI,MAAM,GAAG,GAAG,CAAC,GAAG,IAAI,MACnD,IACA,GACD,CAAC,GAAG,IAAI,MAAM,IAAI,GAAG,CAAC,GAAG,IAAI,MAAM,GAAG;;;AAM3C,MAAM,iBAAiB,IAAI,MAAM,IAAI;AACrC,KAAK,IAAI,IAAI,GAAG,IAAI,eAAe,QAAQ,IACzC,gBAAe,KAAK,EAAE,SAAS,GAAG,CAAC,SAAS,GAAG,IAAI"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
//#region src/mfa/interfaces/totp.interface.d.ts
|
|
2
|
-
interface Totp {
|
|
3
|
-
issuer: string;
|
|
4
|
-
user: string;
|
|
5
|
-
}
|
|
6
|
-
interface TotpWithSecrets extends Totp {
|
|
7
|
-
qrCode: string;
|
|
8
|
-
secret: string;
|
|
9
|
-
uri: string;
|
|
10
|
-
}
|
|
11
|
-
interface TotpResponse {
|
|
12
|
-
issuer: string;
|
|
13
|
-
user: string;
|
|
14
|
-
}
|
|
15
|
-
interface TotpWithSecretsResponse extends TotpResponse {
|
|
16
|
-
qr_code: string;
|
|
17
|
-
secret: string;
|
|
18
|
-
uri: string;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { TotpWithSecretsResponse as i, TotpResponse as n, TotpWithSecrets as r, Totp as t };
|
|
22
|
-
//# sourceMappingURL=totp.interface-DYAiNCIp.d.cts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { t as RequestException } from "./request-exception.interface-BmJyrOWP.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/common/exceptions/unauthorized.exception.d.ts
|
|
4
|
-
declare class UnauthorizedException extends Error implements RequestException {
|
|
5
|
-
readonly requestID: string;
|
|
6
|
-
readonly status = 401;
|
|
7
|
-
readonly name = "UnauthorizedException";
|
|
8
|
-
readonly message: string;
|
|
9
|
-
constructor(requestID: string);
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { UnauthorizedException as t };
|
|
13
|
-
//# sourceMappingURL=unauthorized.exception-BfjoWRNu.d.cts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
//#region src/common/interfaces/unprocessable-entity-error.interface.d.ts
|
|
2
|
-
interface UnprocessableEntityError {
|
|
3
|
-
field: string;
|
|
4
|
-
code: string;
|
|
5
|
-
}
|
|
6
|
-
//#endregion
|
|
7
|
-
export { UnprocessableEntityError as t };
|
|
8
|
-
//# sourceMappingURL=unprocessable-entity-error.interface-Cetcw8CZ.d.cts.map
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { t as UnprocessableEntityError } from "./unprocessable-entity-error.interface-Cetcw8CZ.cjs";
|
|
2
|
-
import { t as RequestException } from "./request-exception.interface-BmJyrOWP.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/common/exceptions/unprocessable-entity.exception.d.ts
|
|
5
|
-
declare class UnprocessableEntityException extends Error implements RequestException {
|
|
6
|
-
readonly status = 422;
|
|
7
|
-
readonly name = "UnprocessableEntityException";
|
|
8
|
-
readonly message: string;
|
|
9
|
-
readonly code?: string;
|
|
10
|
-
readonly requestID: string;
|
|
11
|
-
constructor({
|
|
12
|
-
code,
|
|
13
|
-
errors,
|
|
14
|
-
message,
|
|
15
|
-
requestID
|
|
16
|
-
}: {
|
|
17
|
-
code?: string;
|
|
18
|
-
errors?: UnprocessableEntityError[];
|
|
19
|
-
message?: string;
|
|
20
|
-
requestID: string;
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { UnprocessableEntityException as t };
|
|
25
|
-
//# sourceMappingURL=unprocessable-entity.exception-Bfdn63On.d.cts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region src/common/utils/unreachable.ts
|
|
3
|
-
/**
|
|
4
|
-
* Indicates that code is unreachable.
|
|
5
|
-
*
|
|
6
|
-
* This can be used for exhaustiveness checks in situations where the compiler
|
|
7
|
-
* would not otherwise check for exhaustiveness.
|
|
8
|
-
*
|
|
9
|
-
* If the determination that the code is unreachable proves incorrect, an
|
|
10
|
-
* exception is thrown.
|
|
11
|
-
*/
|
|
12
|
-
const unreachable = (condition, message = `Entered unreachable code. Received '${condition}'.`) => {
|
|
13
|
-
throw new TypeError(message);
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
Object.defineProperty(exports, 'unreachable', {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function () {
|
|
20
|
-
return unreachable;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
//# sourceMappingURL=unreachable-BhX3Wm6O.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unreachable-BhX3Wm6O.cjs","names":[],"sources":["../src/common/utils/unreachable.ts"],"sourcesContent":["/**\n * Indicates that code is unreachable.\n *\n * This can be used for exhaustiveness checks in situations where the compiler\n * would not otherwise check for exhaustiveness.\n *\n * If the determination that the code is unreachable proves incorrect, an\n * exception is thrown.\n */\nexport const unreachable = (\n condition: never,\n message = `Entered unreachable code. Received '${condition}'.`,\n): never => {\n throw new TypeError(message);\n};\n"],"mappings":";;;;;;;;;;;AASA,MAAa,eACX,WACA,UAAU,uCAAuC,UAAU,QACjD;AACV,OAAM,IAAI,UAAU,QAAQ"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region src/vault/interfaces/object/update-object.interface.d.ts
|
|
2
|
-
interface UpdateObjectEntity {
|
|
3
|
-
value: string;
|
|
4
|
-
version_check?: string;
|
|
5
|
-
}
|
|
6
|
-
interface UpdateObjectOptions {
|
|
7
|
-
id: string;
|
|
8
|
-
value: string;
|
|
9
|
-
versionCheck?: string;
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { UpdateObjectOptions as n, UpdateObjectEntity as t };
|
|
13
|
-
//# sourceMappingURL=update-object.interface-DSpX1DVE.d.cts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
//#region src/user-management/interfaces/update-organization-membership-options.interface.d.ts
|
|
2
|
-
interface UpdateOrganizationMembershipOptions {
|
|
3
|
-
roleSlug?: string;
|
|
4
|
-
roleSlugs?: string[];
|
|
5
|
-
}
|
|
6
|
-
interface SerializedUpdateOrganizationMembershipOptions {
|
|
7
|
-
role_slug?: string;
|
|
8
|
-
role_slugs?: string[];
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { UpdateOrganizationMembershipOptions as n, SerializedUpdateOrganizationMembershipOptions as t };
|
|
12
|
-
//# sourceMappingURL=update-organization-membership-options.interface-dgLTrwtU.d.cts.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region src/user-management/serializers/update-organization-membership-options.serializer.ts
|
|
3
|
-
const serializeUpdateOrganizationMembershipOptions = (options) => ({
|
|
4
|
-
role_slug: options.roleSlug,
|
|
5
|
-
role_slugs: options.roleSlugs
|
|
6
|
-
});
|
|
7
|
-
|
|
8
|
-
//#endregion
|
|
9
|
-
Object.defineProperty(exports, 'serializeUpdateOrganizationMembershipOptions', {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () {
|
|
12
|
-
return serializeUpdateOrganizationMembershipOptions;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=update-organization-membership-options.serializer-CMMOZfnN.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-organization-membership-options.serializer-CMMOZfnN.cjs","names":[],"sources":["../src/user-management/serializers/update-organization-membership-options.serializer.ts"],"sourcesContent":["import {\n UpdateOrganizationMembershipOptions,\n SerializedUpdateOrganizationMembershipOptions,\n} from '../interfaces/update-organization-membership-options.interface';\n\nexport const serializeUpdateOrganizationMembershipOptions = (\n options: UpdateOrganizationMembershipOptions,\n): SerializedUpdateOrganizationMembershipOptions => ({\n role_slug: options.roleSlug,\n role_slugs: options.roleSlugs,\n});\n"],"mappings":";;AAKA,MAAa,gDACX,aACmD;CACnD,WAAW,QAAQ;CACnB,YAAY,QAAQ;CACrB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { t as DomainData } from "./domain-data.interface-pTi_WT5Q.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/organizations/interfaces/update-organization-options.interface.d.ts
|
|
4
|
-
interface UpdateOrganizationOptions {
|
|
5
|
-
organization: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
domainData?: DomainData[];
|
|
8
|
-
stripeCustomerId?: string | null;
|
|
9
|
-
externalId?: string | null;
|
|
10
|
-
metadata?: Record<string, string>;
|
|
11
|
-
}
|
|
12
|
-
interface SerializedUpdateOrganizationOptions {
|
|
13
|
-
name?: string;
|
|
14
|
-
domain_data?: DomainData[];
|
|
15
|
-
stripe_customer_id?: string | null;
|
|
16
|
-
external_id?: string | null;
|
|
17
|
-
metadata?: Record<string, string>;
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
20
|
-
export { UpdateOrganizationOptions as n, SerializedUpdateOrganizationOptions as t };
|
|
21
|
-
//# sourceMappingURL=update-organization-options.interface-BsgwfPaF.d.cts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { n as UpdateOrganizationOptions, t as SerializedUpdateOrganizationOptions } from "./update-organization-options.interface-BsgwfPaF.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/organizations/serializers/update-organization-options.serializer.d.ts
|
|
4
|
-
declare const serializeUpdateOrganizationOptions: (options: Omit<UpdateOrganizationOptions, "organization">) => SerializedUpdateOrganizationOptions;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { serializeUpdateOrganizationOptions as t };
|
|
7
|
-
//# sourceMappingURL=update-organization-options.serializer-5Out0brr.d.cts.map
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { t as PasswordHashType } from "./password-hash-type.interface-CxNrEyUW.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/user-management/interfaces/update-user-options.interface.d.ts
|
|
4
|
-
interface UpdateUserOptions {
|
|
5
|
-
userId: string;
|
|
6
|
-
email?: string;
|
|
7
|
-
firstName?: string;
|
|
8
|
-
lastName?: string;
|
|
9
|
-
emailVerified?: boolean;
|
|
10
|
-
password?: string;
|
|
11
|
-
passwordHash?: string;
|
|
12
|
-
passwordHashType?: PasswordHashType;
|
|
13
|
-
externalId?: string;
|
|
14
|
-
locale?: string;
|
|
15
|
-
metadata?: Record<string, string | null>;
|
|
16
|
-
}
|
|
17
|
-
interface SerializedUpdateUserOptions {
|
|
18
|
-
email?: string;
|
|
19
|
-
first_name?: string;
|
|
20
|
-
last_name?: string;
|
|
21
|
-
email_verified?: boolean;
|
|
22
|
-
password?: string;
|
|
23
|
-
password_hash?: string;
|
|
24
|
-
password_hash_type?: PasswordHashType;
|
|
25
|
-
external_id?: string;
|
|
26
|
-
locale?: string;
|
|
27
|
-
metadata?: Record<string, string | null>;
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
30
|
-
export { UpdateUserOptions as n, SerializedUpdateUserOptions as t };
|
|
31
|
-
//# sourceMappingURL=update-user-options.interface-aM2-YVW5.d.cts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { n as UpdateUserOptions, t as SerializedUpdateUserOptions } from "./update-user-options.interface-aM2-YVW5.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/user-management/serializers/update-user-options.serializer.d.ts
|
|
4
|
-
declare const serializeUpdateUserOptions: (options: UpdateUserOptions) => SerializedUpdateUserOptions;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { serializeUpdateUserOptions as t };
|
|
7
|
-
//# sourceMappingURL=update-user-options.serializer-6lvzxDwS.d.cts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/user-management/interfaces/update-user-password-options.interface.d.ts
|
|
2
|
-
interface UpdateUserPasswordOptions {
|
|
3
|
-
userId: string;
|
|
4
|
-
password: string;
|
|
5
|
-
}
|
|
6
|
-
interface SerializedUpdateUserPasswordOptions {
|
|
7
|
-
password: string;
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { UpdateUserPasswordOptions as n, SerializedUpdateUserPasswordOptions as t };
|
|
11
|
-
//# sourceMappingURL=update-user-password-options.interface-Buytvx58.d.cts.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { n as UpdateUserPasswordOptions, t as SerializedUpdateUserPasswordOptions } from "./update-user-password-options.interface-Buytvx58.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/user-management/serializers/update-user-password-options.serializer.d.ts
|
|
4
|
-
declare const serializeUpdateUserPasswordOptions: (options: UpdateUserPasswordOptions) => SerializedUpdateUserPasswordOptions;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { serializeUpdateUserPasswordOptions as t };
|
|
7
|
-
//# sourceMappingURL=update-user-password-options.serializer-D35YAk--.d.cts.map
|