@workos-inc/node 8.1.0 → 8.3.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/access-token.serializer-C80IQpUd.cjs +20 -0
- package/lib/access-token.serializer-C80IQpUd.cjs.map +1 -0
- package/lib/action.interface-BwTWjDLU.d.cts +63 -0
- package/lib/action.serializer-J8blkXac.cjs +47 -0
- package/lib/action.serializer-J8blkXac.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-BQWfMHLW.cjs +58 -0
- package/lib/actions-BQWfMHLW.cjs.map +1 -0
- package/lib/actions-CGa0wSPO.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.cjs +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.cjs +1 -1
- package/lib/api-keys/serializers/created-api-key.serializer.d.cts +1 -1
- package/lib/api-keys/serializers/index.cjs +2 -2
- 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-CrR113By.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-8ESYq4aa.cjs +20 -0
- package/lib/audit-log-export-options.serializer-8ESYq4aa.cjs.map +1 -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-log-export.serializer-mFDU2Fxf.cjs +19 -0
- package/lib/audit-log-export.serializer-mFDU2Fxf.cjs.map +1 -0
- package/lib/audit-logs/audit-logs.cjs +1 -1
- 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.cjs +1 -1
- package/lib/audit-logs/serializers/audit-log-export-options.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/audit-log-export.serializer.cjs +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.cjs +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.cjs +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.cjs +1 -1
- package/lib/audit-logs/serializers/create-audit-log-schema.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/index.cjs +5 -5
- package/lib/audit-logs/serializers/index.d.cts +5 -5
- package/lib/audit-logs-DiZN60g_.cjs +43 -0
- package/lib/audit-logs-DiZN60g_.cjs.map +1 -0
- 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-email-verification.serializer-Bf1j1ew9.cjs +20 -0
- package/lib/authenticate-with-email-verification.serializer-Bf1j1ew9.cjs.map +1 -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-options.serializer-Did46zvW.cjs +20 -0
- package/lib/authenticate-with-organization-selection-options.serializer-Did46zvW.cjs.map +1 -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-B4eQTrfN.cjs +17 -0
- package/lib/authenticate-with-session-cookie.interface-B4eQTrfN.cjs.map +1 -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-CK0d-2Tg.cjs +111 -0
- package/lib/authorization-CK0d-2Tg.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-CC48gIZp.cjs +23 -0
- package/lib/batch-write-resources-options.serializer-CC48gIZp.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/challenge.serializer-Dzoig6Tb.cjs +20 -0
- package/lib/challenge.serializer-Dzoig6Tb.cjs.map +1 -0
- package/lib/check-op.enum-1gyp3mY_.d.cts +8 -0
- package/lib/check-op.enum-CJmiI-EV.cjs +16 -0
- package/lib/check-op.enum-CJmiI-EV.cjs.map +1 -0
- package/lib/check-options.serializer-C7So55Kd.d.cts +9 -0
- package/lib/check-options.serializer-DlNVIJoZ.cjs +69 -0
- package/lib/check-options.serializer-DlNVIJoZ.cjs.map +1 -0
- package/lib/check.interface-Bqtu_Kmu.cjs +33 -0
- package/lib/check.interface-Bqtu_Kmu.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/seal.cjs +1 -1
- package/lib/common/crypto/signature-provider.cjs +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 +2 -2
- package/lib/common/interfaces/event.interface.d.ts +54 -4
- 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 +3 -2
- 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/event.serializer.js +16 -0
- package/lib/common/serializers/event.serializer.js.map +1 -1
- package/lib/common/serializers/index.cjs +2 -2
- package/lib/common/serializers/index.d.cts +2 -2
- package/lib/common/serializers/list.serializer.cjs +1 -1
- package/lib/common/serializers/list.serializer.d.cts +1 -1
- package/lib/common/utils/base64.cjs +1 -1
- package/lib/common/utils/env.cjs +1 -1
- package/lib/common/utils/fetch-and-deserialize.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/query-string.cjs +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-event-options.serializer-CIEpbo2R.cjs +23 -0
- package/lib/create-audit-log-event-options.serializer-CIEpbo2R.cjs.map +1 -0
- package/lib/create-audit-log-schema-options.interface-VEGNQUoR.d.cts +67 -0
- package/lib/create-audit-log-schema-options.serializer-BY__IgYQ.cjs +38 -0
- package/lib/create-audit-log-schema-options.serializer-BY__IgYQ.cjs.map +1 -0
- package/lib/create-audit-log-schema-options.serializer-vOYqa-AI.d.cts +7 -0
- package/lib/create-audit-log-schema.serializer-CBjhgiOY.cjs +32 -0
- package/lib/create-audit-log-schema.serializer-CBjhgiOY.cjs.map +1 -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-C_4tdn3G.cjs +16 -0
- package/lib/create-environment-role-options.serializer-C_4tdn3G.cjs.map +1 -0
- package/lib/create-environment-role-options.serializer-Cgp-nj7R.d.cts +7 -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-BTBsCCJf.d.cts +7 -0
- package/lib/create-organization-api-key-options.serializer-Bd5XkHe-.cjs +17 -0
- package/lib/create-organization-api-key-options.serializer-Bd5XkHe-.cjs.map +1 -0
- package/lib/create-organization-domain-options.interface-BorRBhyO.d.cts +12 -0
- package/lib/create-organization-domain-options.serializer-B64Zeqrn.cjs +15 -0
- package/lib/create-organization-domain-options.serializer-B64Zeqrn.cjs.map +1 -0
- package/lib/create-organization-membership-options.interface-CT78k_RG.d.cts +16 -0
- package/lib/create-organization-membership-options.serializer-J20uU0fe.cjs +17 -0
- package/lib/create-organization-membership-options.serializer-J20uU0fe.cjs.map +1 -0
- package/lib/create-organization-options.serializer-9aeLeXNW.d.cts +7 -0
- package/lib/create-organization-role-options.interface-D47Tf3Ep.d.cts +14 -0
- package/lib/create-organization-role-options.serializer-CX2ND-mF.cjs +16 -0
- package/lib/create-organization-role-options.serializer-CX2ND-mF.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-DblyocXR.d.cts +7 -0
- package/lib/create-resource-options.serializer-N1fy1b2S.cjs +17 -0
- package/lib/create-resource-options.serializer-N1fy1b2S.cjs.map +1 -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-CUt_hj_z.cjs +25 -0
- package/lib/created-api-key.serializer-CUt_hj_z.cjs.map +1 -0
- package/lib/created-api-key.serializer-DKs_m9pB.d.cts +7 -0
- package/lib/crypto-provider-Bg3tRE2P.cjs +18 -0
- package/lib/crypto-provider-Bg3tRE2P.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-D6e_dLrI.d.cts +7 -0
- package/lib/delete-resource-options.serializer-DJCtDzLP.cjs +16 -0
- package/lib/delete-resource-options.serializer-DJCtDzLP.cjs.map +1 -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.cjs +1 -1
- 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-sync-pnubY2JS.cjs +46 -0
- package/lib/directory-sync-pnubY2JS.cjs.map +1 -0
- package/lib/directory-user.serializer-C9Ef-WmY.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/env-BRem2_1e.cjs +62 -0
- package/lib/env-BRem2_1e.cjs.map +1 -0
- package/lib/environment-role.interface-B59FS29B.d.cts +34 -0
- package/lib/environment-role.serializer-7K6a1PBm.cjs +22 -0
- package/lib/environment-role.serializer-7K6a1PBm.cjs.map +1 -0
- package/lib/environment-role.serializer-C0AaYE8M.d.cts +7 -0
- package/lib/event.serializer-CsTEEdRG.d.cts +7 -0
- package/lib/event.serializer-tSz5HYz3.cjs +196 -0
- package/lib/event.serializer-tSz5HYz3.cjs.map +1 -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.cjs +1 -1
- package/lib/events/serializers/index.d.cts +1 -1
- package/lib/events/serializers/list-event-options.serializer.cjs +1 -1
- package/lib/events/serializers/list-event-options.serializer.d.cts +1 -1
- package/lib/events-DUwPz2Dc.cjs +23 -0
- package/lib/events-DUwPz2Dc.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/factor.serializer-S_m_uTAP.cjs +37 -0
- package/lib/factor.serializer-S_m_uTAP.cjs.map +1 -0
- package/lib/factory-DxjFq3Zg.cjs +15 -0
- package/lib/factory-DxjFq3Zg.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-flag.serializer-iuO0V07A.cjs +23 -0
- package/lib/feature-flag.serializer-iuO0V07A.cjs.map +1 -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.cjs +1 -1
- package/lib/feature-flags/serializers/feature-flag.serializer.d.cts +1 -1
- package/lib/feature-flags/serializers/index.cjs +1 -1
- package/lib/feature-flags/serializers/index.d.cts +1 -1
- package/lib/feature-flags-C-2fqPKn.cjs +42 -0
- package/lib/feature-flags-C-2fqPKn.cjs.map +1 -0
- package/lib/fetch-and-deserialize-B6lbfouV.cjs +25 -0
- package/lib/fetch-and-deserialize-B6lbfouV.cjs.map +1 -0
- package/lib/fetch-and-deserialize-list-C7zY6BRV.cjs +19 -0
- package/lib/fetch-and-deserialize-list-C7zY6BRV.cjs.map +1 -0
- package/lib/fetch-client-CiqtLSDr.cjs +189 -0
- package/lib/fetch-client-CiqtLSDr.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-DWvTVn5k.cjs +83 -0
- package/lib/fga-DWvTVn5k.cjs.map +1 -0
- package/lib/fga-paginatable-BAls8pYD.cjs +22 -0
- package/lib/fga-paginatable-BAls8pYD.cjs.map +1 -0
- package/lib/fga-paginatable-BGfH6hKb.d.cts +14 -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-access-token.serializer-DgAG_4iQ.cjs +34 -0
- package/lib/get-access-token.serializer-DgAG_4iQ.cjs.map +1 -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-CRyPuAyd.d.cts +23 -0
- package/lib/get-token-cdbfCycJ.cjs +23 -0
- package/lib/get-token-cdbfCycJ.cjs.map +1 -0
- package/lib/http-client-Cs56_alu.d.cts +55 -0
- package/lib/http-client-J_x7lZuh.cjs +96 -0
- package/lib/http-client-J_x7lZuh.cjs.map +1 -0
- package/lib/http-client.interface-DMi5johZ.d.cts +24 -0
- package/lib/identity.interface-fsQohx9t.d.cts +14 -0
- package/lib/identity.serializer-aL8fr6V6.cjs +20 -0
- package/lib/identity.serializer-aL8fr6V6.cjs.map +1 -0
- package/lib/impersonator.interface-BLJ5uqT4.d.cts +12 -0
- package/lib/index-DHEILHGo.d.cts +770 -0
- package/lib/index.cjs +21 -20
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +142 -132
- package/lib/index.d.ts +18 -2
- package/lib/index.js.map +1 -1
- package/lib/index.worker.cjs +21 -20
- package/lib/index.worker.cjs.map +1 -1
- package/lib/index.worker.d.cts +120 -110
- package/lib/index.worker.d.ts +18 -2
- package/lib/index.worker.js.map +1 -1
- package/lib/interface-check-jNs7TVqZ.cjs +23 -0
- package/lib/interface-check-jNs7TVqZ.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-B0lH7z8y.cjs +27 -0
- package/lib/jose-B0lH7z8y.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-DV-MYHc5.cjs +19 -0
- package/lib/list-event-options.serializer-DV-MYHc5.cjs.map +1 -0
- package/lib/list-event-options.serializer-fmtS_CRv.d.cts +7 -0
- package/lib/list-events-options.interface-BimW6YlK.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-invitations-options.serializer-BBeD69mZ.cjs +19 -0
- package/lib/list-invitations-options.serializer-BBeD69mZ.cjs.map +1 -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-memberships-options.serializer-DHBnW5rP.cjs +20 -0
- package/lib/list-organization-memberships-options.serializer-DHBnW5rP.cjs.map +1 -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-CJG4qFwy.cjs +19 -0
- package/lib/list-resources-options.serializer-CJG4qFwy.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-users-options.serializer-NjRJdnZI.cjs +19 -0
- package/lib/list-users-options.serializer-NjRJdnZI.cjs.map +1 -0
- package/lib/list-warrants-options.serializer-Da2XBD1V.cjs +21 -0
- package/lib/list-warrants-options.serializer-Da2XBD1V.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-DJP9g3te.cjs +17 -0
- package/lib/list.serializer-DJP9g3te.cjs.map +1 -0
- package/lib/list.serializer-DeffIsv5.cjs +16 -0
- package/lib/list.serializer-DeffIsv5.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.cjs +1 -1
- package/lib/mfa/mfa.d.cts +1 -1
- package/lib/mfa/serializers/challenge.serializer.cjs +1 -1
- package/lib/mfa/serializers/challenge.serializer.d.cts +1 -1
- package/lib/mfa/serializers/factor.serializer.cjs +1 -1
- package/lib/mfa/serializers/factor.serializer.d.cts +1 -1
- package/lib/mfa/serializers/index.cjs +3 -3
- package/lib/mfa/serializers/index.d.cts +3 -3
- package/lib/mfa/serializers/sms.serializer.cjs +1 -1
- 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.cjs +1 -1
- package/lib/mfa/serializers/verify-response.serializer.d.cts +1 -1
- package/lib/mfa-sqTC0oK9.cjs +50 -0
- package/lib/mfa-sqTC0oK9.cjs.map +1 -0
- 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.cjs +1 -1
- package/lib/organization-domains/organization-domains.d.cts +1 -1
- package/lib/organization-domains/serializers/create-organization-domain-options.serializer.cjs +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-domains-DjSUcSTL.cjs +33 -0
- package/lib/organization-domains-DjSUcSTL.cjs.map +1 -0
- package/lib/organization-role.interface-evatb3Ca.d.cts +15 -0
- package/lib/organization-role.serializer-DhVM4XE8.d.cts +9 -0
- package/lib/organization-role.serializer-lsSLexV6.cjs +39 -0
- package/lib/organization-role.serializer-lsSLexV6.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/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-YJmyTBI7.cjs +70 -0
- package/lib/organizations-YJmyTBI7.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-DGjhb0xQ.cjs +24 -0
- package/lib/parse-error-DGjhb0xQ.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.cjs +1 -1
- package/lib/passwordless/passwordless.d.cts +1 -1
- package/lib/passwordless/serializers/passwordless-session.serializer.cjs +1 -1
- package/lib/passwordless/serializers/passwordless-session.serializer.d.cts +1 -1
- package/lib/passwordless-DTlsaF8V.cjs +29 -0
- package/lib/passwordless-DTlsaF8V.cjs.map +1 -0
- package/lib/passwordless-session.interface-BgyPqlZF.d.cts +18 -0
- package/lib/passwordless-session.serializer-CcFomvWf.cjs +18 -0
- package/lib/passwordless-session.serializer-CcFomvWf.cjs.map +1 -0
- package/lib/patch-options.interface-46BCssmo.d.cts +12 -0
- package/lib/permission.interface-BBwAYH07.d.cts +40 -0
- package/lib/permission.serializer-BehT5Z93.cjs +21 -0
- package/lib/permission.serializer-BehT5Z93.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.cjs +1 -1
- package/lib/pipes/pipes.d.cts +1 -1
- package/lib/pipes/serializers/access-token.serializer.cjs +1 -1
- package/lib/pipes/serializers/access-token.serializer.d.cts +1 -1
- package/lib/pipes/serializers/get-access-token.serializer.cjs +1 -1
- package/lib/pipes/serializers/get-access-token.serializer.d.cts +1 -1
- package/lib/pipes-CRAGN38U.cjs +21 -0
- package/lib/pipes-CRAGN38U.cjs.map +1 -0
- 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.cjs +1 -1
- package/lib/portal/portal.d.cts +1 -1
- package/lib/portal-BjIQRDuq.cjs +25 -0
- package/lib/portal-BjIQRDuq.cjs.map +1 -0
- package/lib/post-options.interface-DlEjJsYu.d.cts +13 -0
- package/lib/profile-and-token.serializer-Bpr1CB7T.d.cts +8 -0
- package/lib/profile.serializer-QeTKhj3R.d.cts +8 -0
- package/lib/put-options.interface-7lk8rQLi.d.cts +12 -0
- package/lib/query-options.serializer-lpbxqWwr.cjs +19 -0
- package/lib/query-options.serializer-lpbxqWwr.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-BfOCrnKb.cjs +28 -0
- package/lib/query-result.serializer-BfOCrnKb.cjs.map +1 -0
- package/lib/query-string-B9WibUJl.cjs +40 -0
- package/lib/query-string-B9WibUJl.cjs.map +1 -0
- package/lib/query.interface-BuOZQoFM.d.cts +35 -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/refresh-and-seal-session-data.interface-BSKQWqmn.d.cts +24 -0
- package/lib/refresh-and-seal-session-data.interface-zT1i8_J0.cjs +19 -0
- package/lib/refresh-and-seal-session-data.interface-zT1i8_J0.cjs.map +1 -0
- package/lib/remove-flag-target-options.interface-BZBcjHE7.d.cts +8 -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.serializer-DnsrXnYw.cjs +12 -0
- package/lib/resend-invitation-options.serializer-DnsrXnYw.cjs.map +1 -0
- package/lib/reset-password-options.interface-ePAbD4TN.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-ZN9cNRlL.cjs +16 -0
- package/lib/resource-op.enum-ZN9cNRlL.cjs.map +1 -0
- package/lib/resource.interface-BZ27Ar_A.d.cts +77 -0
- package/lib/resource.interface-CvM11E0d.cjs +0 -0
- package/lib/resource.serializer-BiDk7ATq.cjs +25 -0
- package/lib/resource.serializer-BiDk7ATq.cjs.map +1 -0
- package/lib/resource.serializer-DO1Fpj-V.d.cts +8 -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/revoke-session-options.interface-DNh6uGcR.cjs +12 -0
- package/lib/revoke-session-options.interface-DNh6uGcR.cjs.map +1 -0
- package/lib/role.interface-DIftS8f6.cjs +0 -0
- package/lib/role.serializer-BtM19-S9.cjs +22 -0
- package/lib/role.serializer-BtM19-S9.cjs.map +1 -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.cjs +1 -1
- package/lib/roles/serializers/role.serializer.d.cts +1 -1
- package/lib/runtime-info-1sRVT3y-.cjs +56 -0
- package/lib/runtime-info-1sRVT3y-.cjs.map +1 -0
- package/lib/seal-B34v5bmh.cjs +315 -0
- package/lib/seal-B34v5bmh.cjs.map +1 -0
- package/lib/send-invitation-options.interface-C2RofyVU.d.cts +22 -0
- package/lib/send-invitation-options.interface-Kcf-k9PB.cjs +0 -0
- package/lib/send-invitation-options.serializer-D5x3ss8t.cjs +19 -0
- package/lib/send-invitation-options.serializer-D5x3ss8t.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-BDFFU_hE.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-BYNFscuJ.cjs +0 -0
- package/lib/serializers-BwPEoKGa.cjs +0 -0
- package/lib/serializers-ByG5nPfP.cjs +0 -0
- package/lib/serializers-CF5AFJRO.cjs +0 -0
- package/lib/serializers-CTAQ2MNs.cjs +0 -0
- package/lib/serializers-ConfEXvy.cjs +0 -0
- package/lib/serializers-D2Dn6RC1.cjs +0 -0
- package/lib/session-D_vnUDl1.cjs +144 -0
- package/lib/session-D_vnUDl1.cjs.map +1 -0
- package/lib/session-handler-options.interface-BVTuA5uU.d.cts +9 -0
- package/lib/session.interface-BZJrUkM4.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-provider-CdkJsGc8.cjs +38 -0
- package/lib/signature-provider-CdkJsGc8.cjs.map +1 -0
- package/lib/signature-verification.exception-D2-xkCRS.d.cts +8 -0
- package/lib/sms.interface-f_7eFA1B.d.cts +10 -0
- package/lib/sms.serializer-DH2jsPuC.cjs +12 -0
- package/lib/sms.serializer-DH2jsPuC.cjs.map +1 -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.cjs +1 -1
- package/lib/sso/sso.d.cts +1 -1
- package/lib/sso-DgPiUuie.cjs +135 -0
- package/lib/sso-DgPiUuie.cjs.map +1 -0
- package/lib/subtle-crypto-provider-BMf63Lhz.cjs +99 -0
- package/lib/subtle-crypto-provider-BMf63Lhz.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-CWBbz4U6.cjs +23 -0
- package/lib/unreachable-CWBbz4U6.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-CBZS-b8e.cjs +15 -0
- package/lib/update-environment-role-options.serializer-CBZS-b8e.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-DI05j1eb.cjs +0 -0
- package/lib/update-organization-membership-options.interface-vwSowDwp.d.cts +12 -0
- package/lib/update-organization-membership-options.serializer-BL-XfapK.cjs +15 -0
- package/lib/update-organization-membership-options.serializer-BL-XfapK.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-C09TvDoL.cjs +15 -0
- package/lib/update-organization-role-options.serializer-C09TvDoL.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-CS28Uw1c.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-Bhwbi84x.d.cts +11 -0
- package/lib/update-user-password-options.interface-Bx71Wh7d.cjs +0 -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.cjs +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 +3 -3
- package/lib/user-management/interfaces/index.d.cts +45 -46
- 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.d.cts +1 -1
- 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/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.d.cts +1 -1
- package/lib/user-management/interfaces/reset-password-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/revoke-session-options.interface.cjs +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-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.cjs +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.cjs +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.cjs +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.cjs +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.cjs +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.cjs +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.cjs +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.d.cts +1 -1
- package/lib/user-management/serializers/password-reset.serializer.d.cts +1 -1
- package/lib/user-management/serializers/resend-invitation-options.serializer.cjs +1 -1
- package/lib/user-management/serializers/resend-invitation-options.serializer.d.cts +1 -1
- 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/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-BiK0k4qR.cjs +539 -0
- package/lib/user-management-BiK0k4qR.cjs.map +1 -0
- package/lib/user.interface-BJY1-A6X.d.cts +34 -0
- package/lib/user.interface-Db9w7KTg.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-DNBDrwqZ.cjs +0 -0
- package/lib/verify-response.serializer-DLbxaA_Y.d.cts +7 -0
- package/lib/verify-response.serializer-DnBMVXXn.cjs +16 -0
- package/lib/verify-response.serializer-DnBMVXXn.cjs.map +1 -0
- package/lib/warning.interface-yJ1XNLbJ.d.cts +13 -0
- package/lib/warrant-op.enum-B2CZD0r0.cjs +16 -0
- package/lib/warrant-op.enum-B2CZD0r0.cjs.map +1 -0
- package/lib/warrant-op.enum-Dj1dkgof.d.cts +8 -0
- package/lib/warrant-token.interface-CT-IebpW.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-CjWnRVCi.cjs +12 -0
- package/lib/warrant-token.serializer-CjWnRVCi.cjs.map +1 -0
- package/lib/warrant.interface-80A3Pew0.d.cts +71 -0
- package/lib/warrant.interface-DdHBsjB0.cjs +0 -0
- package/lib/warrant.serializer-CpeeZzCI.cjs +22 -0
- package/lib/warrant.serializer-CpeeZzCI.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-BNPP-kiP.cjs +38 -0
- package/lib/webhooks-BNPP-kiP.cjs.map +1 -0
- package/lib/webhooks-BlEjg80a.d.cts +35 -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-BRJb0-Zr.cjs +21 -0
- package/lib/widgets-BRJb0-Zr.cjs.map +1 -0
- package/lib/workos-CU67HvQn.cjs +332 -0
- package/lib/workos-CU67HvQn.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-BuW_6XA_.cjs +26 -0
- package/lib/write-warrant-options.serializer-BuW_6XA_.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-CRaRBZsU.d.cts +0 -18
- package/lib/access-token.serializer-BTB3otha.cjs +0 -20
- package/lib/access-token.serializer-BTB3otha.cjs.map +0 -1
- package/lib/action.interface-DuyarN1t.d.cts +0 -63
- package/lib/action.serializer-BGWv6ab1.cjs +0 -47
- package/lib/action.serializer-BGWv6ab1.cjs.map +0 -1
- package/lib/actions-DTMrvfa0.d.cts +0 -41
- package/lib/actions-DuKUPx9Z.cjs +0 -58
- package/lib/actions-DuKUPx9Z.cjs.map +0 -1
- package/lib/add-flag-target-options.interface-CSZH3Ukq.d.cts +0 -8
- package/lib/api-key-required.exception-B3Qy27bt.d.cts +0 -10
- package/lib/api-key.interface-Bc1XdCvA.d.cts +0 -32
- package/lib/api-key.serializer-CFSEdidV.d.cts +0 -7
- package/lib/api-keys-DMUGmsZs.d.cts +0 -705
- package/lib/app-info.interface-CETHNJs2.d.cts +0 -8
- package/lib/audit-log-export-options.interface-DyG_8W4Y.d.cts +0 -22
- package/lib/audit-log-export-options.serializer-BFTh7oaz.cjs +0 -20
- package/lib/audit-log-export-options.serializer-BFTh7oaz.cjs.map +0 -1
- package/lib/audit-log-export-options.serializer-Cnxrfmfn.d.cts +0 -7
- package/lib/audit-log-export.interface-Cgko18qD.d.cts +0 -20
- package/lib/audit-log-export.serializer-Byj3fn9x.cjs +0 -19
- package/lib/audit-log-export.serializer-Byj3fn9x.cjs.map +0 -1
- package/lib/audit-log-export.serializer-CUII4Y4i.d.cts +0 -7
- package/lib/audit-logs-CnDObwhP.cjs +0 -43
- package/lib/audit-logs-CnDObwhP.cjs.map +0 -1
- package/lib/authenticate-with-code-and-verifier-options.interface-D2SVWZby.d.cts +0 -17
- package/lib/authenticate-with-code-and-verifier-options.serializer-BaPf8uVv.d.cts +0 -8
- package/lib/authenticate-with-code-options.interface-_PQBLQ-f.d.cts +0 -20
- package/lib/authenticate-with-code-options.serializer-gTbr4N1f.d.cts +0 -8
- package/lib/authenticate-with-email-verification-options.interface-Duq7TpqS.d.cts +0 -18
- package/lib/authenticate-with-email-verification.serializer-DkvyobQ9.cjs +0 -20
- package/lib/authenticate-with-email-verification.serializer-DkvyobQ9.cjs.map +0 -1
- package/lib/authenticate-with-magic-auth-options.interface-B4zDB7Px.d.cts +0 -22
- package/lib/authenticate-with-magic-auth-options.serializer-BIqxsKdv.d.cts +0 -8
- package/lib/authenticate-with-options-base.interface-B47-j3MI.d.cts +0 -41
- package/lib/authenticate-with-organization-selection-options.serializer-BgFxJgiU.cjs +0 -20
- package/lib/authenticate-with-organization-selection-options.serializer-BgFxJgiU.cjs.map +0 -1
- package/lib/authenticate-with-organization-selection.interface-BwhjlciB.d.cts +0 -18
- package/lib/authenticate-with-password-options.interface-CfCSnrac.d.cts +0 -20
- package/lib/authenticate-with-password-options.serializer-CJKEMwi6.d.cts +0 -8
- package/lib/authenticate-with-refresh-token-options.interface-DSYu4cDc.d.cts +0 -18
- package/lib/authenticate-with-refresh-token-public-client-options.interface-N18YC9dn.d.cts +0 -16
- package/lib/authenticate-with-refresh-token-public-client-options.serializer-Bf8QhT2D.d.cts +0 -8
- package/lib/authenticate-with-refresh-token.options.serializer-BEz5Vf-W.d.cts +0 -9
- package/lib/authenticate-with-session-cookie.interface-BfanVwPO.d.cts +0 -45
- package/lib/authenticate-with-session-cookie.interface-wRJr18ep.cjs +0 -17
- package/lib/authenticate-with-session-cookie.interface-wRJr18ep.cjs.map +0 -1
- package/lib/authenticate-with-totp-options.interface-LhACZ5GS.d.cts +0 -20
- package/lib/authenticate-with-totp-options.serializer-rMi4rFLn.d.cts +0 -8
- package/lib/authentication-event.interface-DXEILc55.d.cts +0 -28
- package/lib/authentication-event.serializer-CovU_aZ3.d.cts +0 -7
- package/lib/authentication-radar-risk-detected-event.interface-CcuNPOCx.d.cts +0 -24
- package/lib/authentication-response.interface-CZE2FVdd.d.cts +0 -28
- package/lib/authentication-response.serializer-mhp8UqVs.d.cts +0 -7
- package/lib/authorization-url-options.interface-BbIXXS2F.d.cts +0 -45
- package/lib/authorization-url-options.interface-Cs9dWC8D.d.cts +0 -55
- package/lib/bad-request.exception-KjLJBnk8.d.cts +0 -25
- package/lib/base64-Bch1KFsQ.cjs +0 -44
- package/lib/base64-Bch1KFsQ.cjs.map +0 -1
- package/lib/batch-write-resources-options.serializer-BaW6EWzS.cjs +0 -23
- package/lib/batch-write-resources-options.serializer-BaW6EWzS.cjs.map +0 -1
- package/lib/batch-write-resources-options.serializer-q2EamfTe.d.cts +0 -7
- package/lib/challenge-factor-options-88fR92i-.d.cts +0 -10
- package/lib/challenge.interface-DUM9qMGp.d.cts +0 -22
- package/lib/challenge.serializer-BYPoaw59.d.cts +0 -7
- package/lib/challenge.serializer-CiNDM6Ny.cjs +0 -20
- package/lib/challenge.serializer-CiNDM6Ny.cjs.map +0 -1
- package/lib/check-op.enum-BwJZx-i9.d.cts +0 -8
- package/lib/check-op.enum-DXKGh2oy.cjs +0 -16
- package/lib/check-op.enum-DXKGh2oy.cjs.map +0 -1
- package/lib/check-options.serializer-7EswFQ_P.cjs +0 -69
- package/lib/check-options.serializer-7EswFQ_P.cjs.map +0 -1
- package/lib/check-options.serializer-BPqbwhK1.d.cts +0 -9
- package/lib/check.interface-B2pzNanW.cjs +0 -33
- package/lib/check.interface-B2pzNanW.cjs.map +0 -1
- package/lib/check.interface-CYFe8m8j.d.cts +0 -88
- package/lib/conflict.exception-CN3a7Qrw.cjs +0 -23
- package/lib/conflict.exception-CN3a7Qrw.cjs.map +0 -1
- package/lib/connection-type.enum-Cu3iqCqL.d.cts +0 -41
- package/lib/connection-type.enum-DPs-QB7_.cjs +0 -49
- package/lib/connection-type.enum-DPs-QB7_.cjs.map +0 -1
- package/lib/connection.interface-DvRENQyW.d.cts +0 -33
- package/lib/connection.serializer-B_sjMnG8.d.cts +0 -7
- package/lib/create-audit-log-event-options.interface-BnHYA9HK.d.cts +0 -43
- package/lib/create-audit-log-event-options.serializer-CxeBsv3o.d.cts +0 -7
- package/lib/create-audit-log-event-options.serializer-DZTgmGP0.cjs +0 -23
- package/lib/create-audit-log-event-options.serializer-DZTgmGP0.cjs.map +0 -1
- package/lib/create-audit-log-schema-options.interface-B-g6mGDr.d.cts +0 -67
- package/lib/create-audit-log-schema-options.serializer-COT4AmMk.d.cts +0 -7
- package/lib/create-audit-log-schema-options.serializer-DduNDNmZ.cjs +0 -38
- package/lib/create-audit-log-schema-options.serializer-DduNDNmZ.cjs.map +0 -1
- package/lib/create-audit-log-schema.serializer-Ckh7kTCE.d.cts +0 -7
- package/lib/create-audit-log-schema.serializer-_lWlYDLV.cjs +0 -32
- package/lib/create-audit-log-schema.serializer-_lWlYDLV.cjs.map +0 -1
- package/lib/create-data-key.interface-l5swdCo_.d.cts +0 -15
- package/lib/create-magic-auth-options.interface-DDSHQamS.d.cts +0 -12
- package/lib/create-magic-auth-options.serializer-S1w9rPAK.d.cts +0 -7
- package/lib/create-object.interface-bEH6nxNn.d.cts +0 -16
- package/lib/create-organization-api-key-options.serializer-Bd5IjZMz.cjs +0 -17
- package/lib/create-organization-api-key-options.serializer-Bd5IjZMz.cjs.map +0 -1
- package/lib/create-organization-api-key-options.serializer-CgC5GvyE.d.cts +0 -7
- package/lib/create-organization-domain-options.interface-vmiHd4oy.d.cts +0 -12
- package/lib/create-organization-domain-options.serializer-DywoyU7B.cjs +0 -15
- package/lib/create-organization-domain-options.serializer-DywoyU7B.cjs.map +0 -1
- package/lib/create-organization-membership-options.interface-Degs7uYp.d.cts +0 -16
- package/lib/create-organization-membership-options.serializer-Da3OXX5I.cjs +0 -17
- package/lib/create-organization-membership-options.serializer-Da3OXX5I.cjs.map +0 -1
- package/lib/create-organization-options.serializer-BL90OMyI.d.cts +0 -7
- package/lib/create-password-reset-options.interface-DHlRNbbw.d.cts +0 -10
- package/lib/create-password-reset-options.serializer-6gqQIGCI.d.cts +0 -7
- package/lib/create-passwordless-session-options.interface-Bb4f1yMI.d.cts +0 -20
- package/lib/create-resource-options.serializer-CjLPXso6.cjs +0 -17
- package/lib/create-resource-options.serializer-CjLPXso6.cjs.map +0 -1
- package/lib/create-resource-options.serializer-CmWENyEL.d.cts +0 -7
- package/lib/create-user-options.interface-D_4g7FwE.d.cts +0 -28
- package/lib/create-user-options.serializer-CrOqZ2Sg.d.cts +0 -7
- package/lib/created-api-key.interface-DAzMzScM.d.cts +0 -34
- package/lib/created-api-key.serializer-C_KGmm2w.d.cts +0 -7
- package/lib/created-api-key.serializer-TAY4jtUj.cjs +0 -25
- package/lib/created-api-key.serializer-TAY4jtUj.cjs.map +0 -1
- package/lib/crypto-provider-C895awiY.cjs +0 -18
- package/lib/crypto-provider-C895awiY.cjs.map +0 -1
- package/lib/crypto-provider-CIbAgUc-.d.cts +0 -75
- package/lib/decrypt-data-key.interface-DtA2snTS.d.cts +0 -11
- package/lib/delete-object.interface-EBnHDGAU.d.cts +0 -7
- package/lib/delete-resource-options.serializer-CAW9K14w.d.cts +0 -7
- package/lib/delete-resource-options.serializer-CFyX75Zh.cjs +0 -16
- package/lib/delete-resource-options.serializer-CFyX75Zh.cjs.map +0 -1
- package/lib/directory-group.interface-GMCt7YpS.d.cts +0 -24
- package/lib/directory-group.serializer-T0UTcH3V.d.cts +0 -8
- package/lib/directory-sync-DKBetghA.cjs +0 -46
- package/lib/directory-sync-DKBetghA.cjs.map +0 -1
- package/lib/directory-user.interface-ctD0z-go.d.cts +0 -48
- package/lib/directory-user.serializer-BRhPq1Zu.d.cts +0 -9
- package/lib/directory.interface-DfilAjzZ.d.cts +0 -60
- package/lib/directory.serializer-CmsYM7zR.d.cts +0 -10
- package/lib/domain-data.interface-C5ooqStM.d.cts +0 -12
- package/lib/domain-data.interface-DuamoxCX.cjs +0 -16
- package/lib/domain-data.interface-DuamoxCX.cjs.map +0 -1
- package/lib/email-verification.interface-C76KCm8m.d.cts +0 -42
- package/lib/email-verification.serializer-DAd-BP98.d.cts +0 -8
- package/lib/enroll-auth-factor-options.serializer-DZKqvpHa.d.cts +0 -7
- package/lib/enroll-auth-factor.interface-Dm2hlIs4.d.cts +0 -17
- package/lib/enroll-factor-options-DLuag4wH.d.cts +0 -14
- package/lib/env-CCN5u8Rv.cjs +0 -62
- package/lib/env-CCN5u8Rv.cjs.map +0 -1
- package/lib/event.serializer-B2GuXosD.cjs +0 -180
- package/lib/event.serializer-B2GuXosD.cjs.map +0 -1
- package/lib/event.serializer-BWtSuQAw.d.cts +0 -7
- package/lib/events-lqbh0x1u.cjs +0 -23
- package/lib/events-lqbh0x1u.cjs.map +0 -1
- package/lib/factor.interface-DY92_aec.d.cts +0 -44
- package/lib/factor.interface-Jwg0D7nP.d.cts +0 -42
- package/lib/factor.serializer-CQ1w93Sn.d.cts +0 -8
- package/lib/factor.serializer-CqXuPE9e.cjs +0 -37
- package/lib/factor.serializer-CqXuPE9e.cjs.map +0 -1
- package/lib/factor.serializer-Dqa3WvHr.d.cts +0 -8
- package/lib/factory-C5JFKrKt.cjs +0 -15
- package/lib/factory-C5JFKrKt.cjs.map +0 -1
- package/lib/feature-flag.interface-5gR4Txsk.d.cts +0 -28
- package/lib/feature-flag.serializer-CXzLmsy8.d.cts +0 -7
- package/lib/feature-flag.serializer-DhnZDZE3.cjs +0 -23
- package/lib/feature-flag.serializer-DhnZDZE3.cjs.map +0 -1
- package/lib/feature-flags-w4M2jmZ4.cjs +0 -42
- package/lib/feature-flags-w4M2jmZ4.cjs.map +0 -1
- package/lib/fetch-and-deserialize-Cw0qruaA.cjs +0 -25
- package/lib/fetch-and-deserialize-Cw0qruaA.cjs.map +0 -1
- package/lib/fetch-and-deserialize-list-fKCIhUCS.cjs +0 -19
- package/lib/fetch-and-deserialize-list-fKCIhUCS.cjs.map +0 -1
- package/lib/fetch-client-CSHUm64J.cjs +0 -178
- package/lib/fetch-client-CSHUm64J.cjs.map +0 -1
- package/lib/fga-DDQcYlFx.cjs +0 -83
- package/lib/fga-DDQcYlFx.cjs.map +0 -1
- package/lib/fga-paginatable-Bq_-XEib.d.cts +0 -14
- package/lib/fga-paginatable-CcnmklhZ.cjs +0 -22
- package/lib/fga-paginatable-CcnmklhZ.cjs.map +0 -1
- package/lib/generate-portal-link-intent.interface-1rRu8_0c.cjs +0 -20
- package/lib/generate-portal-link-intent.interface-1rRu8_0c.cjs.map +0 -1
- package/lib/generate-portal-link-intent.interface-CktTgyDC.d.cts +0 -12
- package/lib/generic-server.exception-_vsH8SZy.d.cts +0 -14
- package/lib/get-access-token.interface-ClGvoDsn.d.cts +0 -32
- package/lib/get-access-token.serializer-DgmyudCD.cjs +0 -34
- package/lib/get-access-token.serializer-DgmyudCD.cjs.map +0 -1
- package/lib/get-options.interface-C7_1wOuz.d.cts +0 -11
- package/lib/get-profile-and-token-options.interface-Cc1l5_d-.d.cts +0 -14
- package/lib/get-profile-options.interface-DpfzZ2dN.d.cts +0 -7
- package/lib/get-token-2lecb0Cy.cjs +0 -23
- package/lib/get-token-2lecb0Cy.cjs.map +0 -1
- package/lib/get-token-CmiH1VJ9.d.cts +0 -23
- package/lib/http-client-8EHeTnVH.cjs +0 -96
- package/lib/http-client-8EHeTnVH.cjs.map +0 -1
- package/lib/http-client-DaKWM9mT.d.cts +0 -54
- package/lib/http-client.interface-B_h_5jS-.d.cts +0 -24
- package/lib/identity.interface-s1eSJ1gQ.d.cts +0 -14
- package/lib/identity.serializer-Bzox6cAy.cjs +0 -20
- package/lib/identity.serializer-Bzox6cAy.cjs.map +0 -1
- package/lib/impersonator.interface-eqT0OndP.d.cts +0 -12
- package/lib/index-6gXqBDB6.d.cts +0 -557
- package/lib/index-DLlyc54K.d.cts +0 -1
- package/lib/index-D_m6yoT-.d.cts +0 -1
- package/lib/index-Fr9oBTRC.d.cts +0 -1
- package/lib/interface-check-CTSXH7TS.cjs +0 -23
- package/lib/interface-check-CTSXH7TS.cjs.map +0 -1
- package/lib/invitation.interface-zxREPPZu.d.cts +0 -64
- package/lib/invitation.serializer-BDPagMLH.d.cts +0 -8
- package/lib/jose-D4-VExnk.cjs +0 -27
- package/lib/jose-D4-VExnk.cjs.map +0 -1
- package/lib/key.interface-BdqBuDSH.d.cts +0 -16
- package/lib/leb128-C_fBTjdc.cjs +0 -82
- package/lib/leb128-C_fBTjdc.cjs.map +0 -1
- package/lib/list-connections-options.interface-C7cH8ONj.d.cts +0 -17
- package/lib/list-connections-options.serializer-olslE-Fg.d.cts +0 -7
- package/lib/list-directories-options.interface-B9cTFdVu.d.cts +0 -14
- package/lib/list-directories-options.serializer-J88SC3Uu.d.cts +0 -7
- package/lib/list-directory-users-options.interface-DtPOs4E8.d.cts +0 -10
- package/lib/list-event-options.serializer-D3zKDeJK.d.cts +0 -7
- package/lib/list-event-options.serializer-bbZhjMlc.cjs +0 -19
- package/lib/list-event-options.serializer-bbZhjMlc.cjs.map +0 -1
- package/lib/list-events-options.interface-AWaFt1WM.d.cts +0 -22
- package/lib/list-feature-flags-options.interface-D7AIjm-0.d.cts +0 -7
- package/lib/list-groups-options.interface-CbQJvpyC.d.cts +0 -10
- package/lib/list-invitations-options.serializer-DyJeeVXk.cjs +0 -19
- package/lib/list-invitations-options.serializer-DyJeeVXk.cjs.map +0 -1
- package/lib/list-object-versions.interface-CAFLFrnR.d.cts +0 -12
- package/lib/list-objects.interface-DVVXFKO9.d.cts +0 -9
- package/lib/list-organization-api-keys-options.interface-B9Hg7VJE.d.cts +0 -9
- package/lib/list-organization-feature-flags-options.interface-D6h35g9O.d.cts +0 -9
- package/lib/list-organization-memberships-options.serializer-eZn-qTI8.cjs +0 -20
- package/lib/list-organization-memberships-options.serializer-eZn-qTI8.cjs.map +0 -1
- package/lib/list-organization-roles-options.interface-DTgBJtDm.d.cts +0 -7
- package/lib/list-organizations-options.interface-BVUFUWd8.d.cts +0 -9
- package/lib/list-resources-options.serializer-BmYs9Vf0.cjs +0 -19
- package/lib/list-resources-options.serializer-BmYs9Vf0.cjs.map +0 -1
- package/lib/list-resources-options.serializer-CmH9ahEW.d.cts +0 -7
- package/lib/list-sessions-options.interface-BkSOP-aQ.d.cts +0 -8
- package/lib/list-sessions-options.serializer-CZGaayZp.d.cts +0 -7
- package/lib/list-users-options.interface-DuJwLaE9.d.cts +0 -14
- package/lib/list-users-options.serializer-CAQrhvH0.cjs +0 -19
- package/lib/list-users-options.serializer-CAQrhvH0.cjs.map +0 -1
- package/lib/list-warrants-options.serializer-Bd-WDleA.cjs +0 -21
- package/lib/list-warrants-options.serializer-Bd-WDleA.cjs.map +0 -1
- package/lib/list-warrants-options.serializer-CBntdUkf.d.cts +0 -7
- package/lib/list.interface-BDqDTWM8.d.cts +0 -13
- package/lib/list.interface-BEUNlSvF.d.cts +0 -20
- package/lib/list.serializer-BY9yE1pB.cjs +0 -16
- package/lib/list.serializer-BY9yE1pB.cjs.map +0 -1
- package/lib/list.serializer-BucwpWfj.d.cts +0 -10
- package/lib/list.serializer-CTHSrCW_.cjs +0 -17
- package/lib/list.serializer-CTHSrCW_.cjs.map +0 -1
- package/lib/list.serializer-DoX3epPr.d.cts +0 -7
- package/lib/locale.interface-DSiD6ntd.d.cts +0 -5
- package/lib/logout-url-options.interface-Cw1qCccF.d.cts +0 -8
- package/lib/magic-auth.interface-BrxHHiJN.d.cts +0 -42
- package/lib/magic-auth.serializer-BYyXRWbr.d.cts +0 -8
- package/lib/mfa-BbisUIpM.cjs +0 -50
- package/lib/mfa-BbisUIpM.cjs.map +0 -1
- package/lib/no-api-key-provided.exception-Cd9K6Mli.d.cts +0 -9
- package/lib/not-found.exception-GakjCm1p.d.cts +0 -24
- package/lib/oauth-tokens.interface-Bvew3EOR.d.cts +0 -16
- package/lib/oauth.exception-CFy4_2CF.d.cts +0 -15
- package/lib/object.interface-BjtGKl3u.d.cts +0 -35
- package/lib/organization-domain.interface-BpDw6NNx.cjs +0 -28
- package/lib/organization-domain.interface-BpDw6NNx.cjs.map +0 -1
- package/lib/organization-domain.interface-C6EjTpuJ.d.cts +0 -35
- package/lib/organization-domains-BRGEKO06.cjs +0 -33
- package/lib/organization-domains-BRGEKO06.cjs.map +0 -1
- package/lib/organization-membership.interface-NCcAKBR2.d.cts +0 -33
- package/lib/organization.interface-CdjQyAEW.d.cts +0 -30
- package/lib/organization.serializer-DJQ4yLMv.d.cts +0 -7
- package/lib/organizations-CqJIT1Q5.cjs +0 -70
- package/lib/organizations-CqJIT1Q5.cjs.map +0 -1
- package/lib/pagination-B-QDcg4e.d.cts +0 -25
- package/lib/pagination-options.interface-CUOgmBwZ.d.cts +0 -10
- package/lib/parse-error-B7u-PJ1K.cjs +0 -24
- package/lib/parse-error-B7u-PJ1K.cjs.map +0 -1
- package/lib/password-hash-type.interface-OhapFl0U.d.cts +0 -5
- package/lib/password-reset.interface-Dcebp_7o.d.cts +0 -40
- package/lib/password-reset.serializer-OyBytEcC.d.cts +0 -8
- package/lib/passwordless-DEThp5fE.cjs +0 -29
- package/lib/passwordless-DEThp5fE.cjs.map +0 -1
- package/lib/passwordless-session.interface-BsOH8Py1.d.cts +0 -18
- package/lib/passwordless-session.serializer-CASCZ8yC.cjs +0 -18
- package/lib/passwordless-session.serializer-CASCZ8yC.cjs.map +0 -1
- package/lib/pipes-BACoDN0N.cjs +0 -21
- package/lib/pipes-BACoDN0N.cjs.map +0 -1
- package/lib/pkce-CPU9dTCY.d.cts +0 -38
- package/lib/portal-DeMgODuk.cjs +0 -25
- package/lib/portal-DeMgODuk.cjs.map +0 -1
- package/lib/post-options.interface-DdsVDnGH.d.cts +0 -13
- package/lib/profile-and-token.interface-D8SOsn-s.d.cts +0 -18
- package/lib/profile-and-token.serializer-DgfsqiF_.d.cts +0 -8
- package/lib/profile.interface-CiNXzRbL.d.cts +0 -42
- package/lib/profile.serializer-BOeHpcqS.d.cts +0 -8
- package/lib/put-options.interface-DR1xH3TR.d.cts +0 -12
- package/lib/query-options.serializer-BYZOvQyR.d.cts +0 -7
- package/lib/query-options.serializer-Chg3TZdD.cjs +0 -19
- package/lib/query-options.serializer-Chg3TZdD.cjs.map +0 -1
- package/lib/query-result.serializer-CQqFGng9.cjs +0 -28
- package/lib/query-result.serializer-CQqFGng9.cjs.map +0 -1
- package/lib/query-result.serializer-EnvPglcs.d.cts +0 -12
- package/lib/query-string-DvY-MOOT.cjs +0 -40
- package/lib/query-string-DvY-MOOT.cjs.map +0 -1
- package/lib/query.interface-Sw3Xfzzq.d.cts +0 -35
- package/lib/rate-limit-exceeded.exception-t2HJjyVG.d.cts +0 -18
- package/lib/read-object.interface-BDX81WQG.d.cts +0 -25
- package/lib/refresh-and-seal-session-data.interface-BC_uVnK1.cjs +0 -19
- package/lib/refresh-and-seal-session-data.interface-BC_uVnK1.cjs.map +0 -1
- package/lib/refresh-and-seal-session-data.interface-DJk6xCxt.d.cts +0 -24
- package/lib/remove-flag-target-options.interface-CgLnzR8g.d.cts +0 -8
- package/lib/request-exception.interface-ncoDfVCo.d.cts +0 -9
- package/lib/resend-invitation-options.interface-pOfbruPn.d.cts +0 -12
- package/lib/resend-invitation-options.serializer-gi3hyBeV.cjs +0 -12
- package/lib/resend-invitation-options.serializer-gi3hyBeV.cjs.map +0 -1
- package/lib/reset-password-options.interface-CT7QWPPM.d.cts +0 -12
- package/lib/reset-password-options.serializer-swg0rbQu.d.cts +0 -7
- package/lib/resource-op.enum-Bzwtg0bG.d.cts +0 -8
- package/lib/resource-op.enum-iS-Tf1WO.cjs +0 -16
- package/lib/resource-op.enum-iS-Tf1WO.cjs.map +0 -1
- package/lib/resource.interface-BHXuymiW.d.cts +0 -77
- package/lib/resource.serializer-CVfysC_R.d.cts +0 -8
- package/lib/resource.serializer-DQA6JSVB.cjs +0 -25
- package/lib/resource.serializer-DQA6JSVB.cjs.map +0 -1
- package/lib/response-payload.interface-CC6ym1hG.d.cts +0 -26
- package/lib/revoke-session-options.interface-Bvh2jHlb.d.cts +0 -11
- package/lib/revoke-session-options.interface-adU7deuN.cjs +0 -12
- package/lib/revoke-session-options.interface-adU7deuN.cjs.map +0 -1
- package/lib/role.interface-C76vJyRA.d.cts +0 -51
- package/lib/role.serializer-DVr857zo.cjs +0 -22
- package/lib/role.serializer-DVr857zo.cjs.map +0 -1
- package/lib/runtime-info-D1rBs4px.cjs +0 -56
- package/lib/runtime-info-D1rBs4px.cjs.map +0 -1
- package/lib/seal-Dl5Et6Vv.cjs +0 -315
- package/lib/seal-Dl5Et6Vv.cjs.map +0 -1
- package/lib/send-invitation-options.interface-DhnvOLnv.d.cts +0 -22
- package/lib/send-invitation-options.serializer-BX9N-pl6.cjs +0 -19
- package/lib/send-invitation-options.serializer-BX9N-pl6.cjs.map +0 -1
- package/lib/send-session-response.interface-BpEozStf.d.cts +0 -8
- package/lib/send-verification-email-options.interface-DzN8alC-.d.cts +0 -7
- package/lib/session-BspC-lF9.cjs +0 -144
- package/lib/session-BspC-lF9.cjs.map +0 -1
- package/lib/session-handler-options.interface-CkCM0a1e.d.cts +0 -9
- package/lib/session.interface-DQZ0ufo_.d.cts +0 -38
- package/lib/session.serializer-D56UJaJF.d.cts +0 -7
- package/lib/signature-provider-Dx4cy5vI.cjs +0 -38
- package/lib/signature-provider-Dx4cy5vI.cjs.map +0 -1
- package/lib/signature-verification.exception-CN2av9Wr.d.cts +0 -8
- package/lib/sms.interface-CyWalgD9.d.cts +0 -10
- package/lib/sms.serializer-X3xntG8l.cjs +0 -12
- package/lib/sms.serializer-X3xntG8l.cjs.map +0 -1
- package/lib/sso-BGdbsFSR.cjs +0 -135
- package/lib/sso-BGdbsFSR.cjs.map +0 -1
- package/lib/subtle-crypto-provider-z15sJdtL.cjs +0 -99
- package/lib/subtle-crypto-provider-z15sJdtL.cjs.map +0 -1
- package/lib/totp.interface-CPAuCv4H.d.cts +0 -22
- package/lib/unauthorized.exception-CjXkJx3p.d.cts +0 -13
- package/lib/unknown-record.interface-C5Ru336Z.d.cts +0 -5
- package/lib/unprocessable-entity-error.interface-Qwl8rD25.d.cts +0 -8
- package/lib/unprocessable-entity.exception-N-3lqy5T.d.cts +0 -25
- package/lib/unreachable-HIg8NPjR.cjs +0 -23
- package/lib/unreachable-HIg8NPjR.cjs.map +0 -1
- package/lib/update-object.interface-CNxG-_TG.d.cts +0 -13
- package/lib/update-organization-membership-options.interface-DARsxhfh.d.cts +0 -12
- package/lib/update-organization-membership-options.serializer-J0-AHdSc.cjs +0 -15
- package/lib/update-organization-membership-options.serializer-J0-AHdSc.cjs.map +0 -1
- package/lib/update-organization-options.interface-DmWBw_ag.d.cts +0 -21
- package/lib/update-organization-options.serializer-2h0Jmja6.d.cts +0 -7
- package/lib/update-user-options.interface-DzoNVMaL.d.cts +0 -31
- package/lib/update-user-options.serializer-BVSNgExg.d.cts +0 -7
- package/lib/update-user-password-options.interface-CG02MZA_.d.cts +0 -11
- package/lib/update-user-password-options.serializer-y9laCvAH.d.cts +0 -7
- package/lib/user-management-DCbkjgk8.cjs +0 -539
- package/lib/user-management-DCbkjgk8.cjs.map +0 -1
- package/lib/user.interface-SwAIYLNB.d.cts +0 -34
- package/lib/user.serializer-TrM0oX4Q.d.cts +0 -7
- package/lib/validate-api-key.interface-kzSfRmiM.d.cts +0 -15
- package/lib/validate-api-key.serializer-B1ScKkFd.d.cts +0 -7
- package/lib/vault-key.serializer-DO9iKzMq.cjs +0 -29
- package/lib/vault-key.serializer-DO9iKzMq.cjs.map +0 -1
- package/lib/vault-o2v1Hjz7.cjs +0 -106
- package/lib/vault-o2v1Hjz7.cjs.map +0 -1
- package/lib/vault-object.serializer-EkelXJB9.cjs +0 -84
- package/lib/vault-object.serializer-EkelXJB9.cjs.map +0 -1
- package/lib/verify-challenge-options-CEFnAmwu.d.cts +0 -8
- package/lib/verify-challenge-response-CAIHmhRm.d.cts +0 -14
- package/lib/verify-email-options.interface-oOfTTYG0.d.cts +0 -11
- package/lib/verify-response.serializer-CuPqcouK.d.cts +0 -7
- package/lib/verify-response.serializer-Ga6sZ_he.cjs +0 -16
- package/lib/verify-response.serializer-Ga6sZ_he.cjs.map +0 -1
- package/lib/warning.interface-BVeaQsw5.d.cts +0 -13
- package/lib/warrant-op.enum-Bqzp9GRk.cjs +0 -16
- package/lib/warrant-op.enum-Bqzp9GRk.cjs.map +0 -1
- package/lib/warrant-op.enum-CBmWDuBs.d.cts +0 -8
- package/lib/warrant-token.interface-D8P4GnoE.d.cts +0 -10
- package/lib/warrant-token.serializer-9f0_Dze3.d.cts +0 -7
- package/lib/warrant-token.serializer-DFNcFGQN.cjs +0 -12
- package/lib/warrant-token.serializer-DFNcFGQN.cjs.map +0 -1
- package/lib/warrant.interface-D0zCmerc.d.cts +0 -71
- package/lib/warrant.serializer-BDtDxpT8.d.cts +0 -7
- package/lib/warrant.serializer-BnF9sWUb.cjs +0 -22
- package/lib/warrant.serializer-BnF9sWUb.cjs.map +0 -1
- package/lib/webhooks-CPFNC99w.cjs +0 -38
- package/lib/webhooks-CPFNC99w.cjs.map +0 -1
- package/lib/webhooks-yX64jTg5.d.cts +0 -35
- package/lib/widgets-UYWIfPS5.cjs +0 -21
- package/lib/widgets-UYWIfPS5.cjs.map +0 -1
- package/lib/workos-B9-XSQwo.cjs +0 -306
- package/lib/workos-B9-XSQwo.cjs.map +0 -1
- package/lib/workos-options.interface-CCcp8QzE.d.cts +0 -17
- package/lib/workos-response-error.interface-BoJ6j8GQ.d.cts +0 -13
- package/lib/write-warrant-options.serializer-7ilOHTPE.d.cts +0 -7
- package/lib/write-warrant-options.serializer-CJo81yBS.cjs +0 -26
- package/lib/write-warrant-options.serializer-CJo81yBS.cjs.map +0 -1
- /package/lib/{action.interface-Cu7rq4Zn.cjs → action.interface-Cp_zjlbq.cjs} +0 -0
- /package/lib/{add-flag-target-options.interface-DYw3tzj6.cjs → add-environment-role-permission-options.interface-Iu9Ch9C8.cjs} +0 -0
- /package/lib/{api-key.interface-Cj7nrZxv.cjs → add-flag-target-options.interface-DIrECf_q.cjs} +0 -0
- /package/lib/{audit-log-export-options.interface-BoAAvEGM.cjs → add-organization-role-permission-options.interface-CaoNd2oC.cjs} +0 -0
- /package/lib/{audit-log-export.interface-DI6VGuUN.cjs → api-key.interface-CKbSjD5i.cjs} +0 -0
- /package/lib/{authenticate-with-code-and-verifier-options.interface-Dx_BHLhw.cjs → audit-log-export-options.interface-DnLNNH69.cjs} +0 -0
- /package/lib/{authenticate-with-code-options.interface-R6K1Vhe2.cjs → audit-log-export.interface-C-vo0He0.cjs} +0 -0
- /package/lib/{authenticate-with-email-verification-options.interface-B5rAPOaX.cjs → authenticate-with-code-and-verifier-options.interface-BtQJ_bZ2.cjs} +0 -0
- /package/lib/{authenticate-with-magic-auth-options.interface-BN61GmkA.cjs → authenticate-with-code-options.interface-Cdjhe1KQ.cjs} +0 -0
- /package/lib/{authenticate-with-options-base.interface-OnfF-7oV.cjs → authenticate-with-email-verification-options.interface-Qo2pZU1Z.cjs} +0 -0
- /package/lib/{authenticate-with-organization-selection.interface-DW-NpTwE.cjs → authenticate-with-magic-auth-options.interface-DfLPcjHB.cjs} +0 -0
- /package/lib/{authenticate-with-password-options.interface-Cyd9Mg9f.cjs → authenticate-with-options-base.interface-Dmse1U8k.cjs} +0 -0
- /package/lib/{authenticate-with-refresh-token-options.interface-DtToMftX.cjs → authenticate-with-organization-selection.interface-CdD1Rxpb.cjs} +0 -0
- /package/lib/{authenticate-with-refresh-token-public-client-options.interface-BosOmcNC.cjs → authenticate-with-password-options.interface-CrrEcybu.cjs} +0 -0
- /package/lib/{authenticate-with-totp-options.interface-NZ3FlPUp.cjs → authenticate-with-refresh-token-options.interface-BWDjl5Ix.cjs} +0 -0
- /package/lib/{authentication-event.interface-D2d3yA2C.cjs → authenticate-with-refresh-token-public-client-options.interface-BT7t8bV7.cjs} +0 -0
- /package/lib/{authentication-radar-risk-detected-event.interface-CUQwIbCE.cjs → authenticate-with-totp-options.interface-BN1BsXUK.cjs} +0 -0
- /package/lib/{authentication-response.interface-DDQn5MT0.cjs → authentication-event.interface-tO5OaPx1.cjs} +0 -0
- /package/lib/{authorization-url-options.interface-BwgfXKJJ.cjs → authentication-radar-risk-detected-event.interface-Cr1dhnQs.cjs} +0 -0
- /package/lib/{authorization-url-options.interface-CpQQiakb.cjs → authentication-response.interface-Boc89IyY.cjs} +0 -0
- /package/lib/{create-audit-log-schema-options.interface-FaXjgwQA.cjs → authorization/interfaces/add-environment-role-permission-options.interface.cjs} +0 -0
- /package/lib/{create-data-key.interface-CMDlEDHC.cjs → authorization/interfaces/add-organization-role-permission-options.interface.cjs} +0 -0
- /package/lib/{create-magic-auth-options.interface-DUm3MfqV.cjs → authorization/interfaces/create-environment-role-options.interface.cjs} +0 -0
- /package/lib/{create-object.interface-XAc3ECaJ.cjs → authorization/interfaces/create-organization-role-options.interface.cjs} +0 -0
- /package/lib/{create-organization-api-key-options.interface-CwgMNhHl.cjs → authorization/interfaces/create-permission-options.interface.cjs} +0 -0
- /package/lib/{create-organization-domain-options.interface-BDicSgm6.cjs → authorization/interfaces/environment-role.interface.cjs} +0 -0
- /package/lib/{create-organization-membership-options.interface-D6p-ZR1H.cjs → authorization/interfaces/index.cjs} +0 -0
- /package/lib/{create-organization-options.interface-DOLMw97s.cjs → authorization/interfaces/list-permissions-options.interface.cjs} +0 -0
- /package/lib/{create-password-reset-options.interface-BwbNVK63.cjs → authorization/interfaces/organization-role.interface.cjs} +0 -0
- /package/lib/{create-passwordless-session-options.interface-DvyI9mMG.cjs → authorization/interfaces/permission.interface.cjs} +0 -0
- /package/lib/{create-user-options.interface-B1BsHBrW.cjs → authorization/interfaces/remove-organization-role-permission-options.interface.cjs} +0 -0
- /package/lib/{created-api-key.interface-DPE383Qi.cjs → authorization/interfaces/set-environment-role-permissions-options.interface.cjs} +0 -0
- /package/lib/{decrypt-data-key.interface-Dbus_8mg.cjs → authorization/interfaces/set-organization-role-permissions-options.interface.cjs} +0 -0
- /package/lib/{delete-object.interface-CvV-sAF0.cjs → authorization/interfaces/update-environment-role-options.interface.cjs} +0 -0
- /package/lib/{directory-group.interface-BuS9hrBR.cjs → authorization/interfaces/update-organization-role-options.interface.cjs} +0 -0
- /package/lib/{directory-user.interface-CWwLQBRy.cjs → authorization/interfaces/update-permission-options.interface.cjs} +0 -0
- /package/lib/{connection.interface-DdHu3-Vb.cjs → authorization-url-options.interface-C9Fxv_7o.cjs} +0 -0
- /package/lib/{create-audit-log-event-options.interface-_8tH04Ms.cjs → authorization-url-options.interface-Dhxhc6na.cjs} +0 -0
- /package/lib/{directory.interface-Zcir0uJP.cjs → common/interfaces/patch-options.interface.cjs} +0 -0
- /package/lib/{email-verification.interface-ChKIDS-L.cjs → connection.interface-Bizso5vL.cjs} +0 -0
- /package/lib/{enroll-auth-factor.interface-CW5tMY5z.cjs → create-audit-log-event-options.interface-CV4irZpp.cjs} +0 -0
- /package/lib/{event.interface-kqYZsXwj.cjs → create-audit-log-schema-options.interface-CAfKAjBf.cjs} +0 -0
- /package/lib/{factor.interface-DXV18z-y.cjs → create-data-key.interface-C2-NUWkZ.cjs} +0 -0
- /package/lib/{feature-flag.interface-BcgqfCkE.cjs → create-environment-role-options.interface-kC_uHnZl.cjs} +0 -0
- /package/lib/{get-options.interface-BGUbmYqn.cjs → create-magic-auth-options.interface-CSOTMcli.cjs} +0 -0
- /package/lib/{get-profile-and-token-options.interface-BRzXwgpx.cjs → create-object.interface-jufKIYD_.cjs} +0 -0
- /package/lib/{get-profile-options.interface-CcwBWajg.cjs → create-organization-api-key-options.interface-DneHi7Es.cjs} +0 -0
- /package/lib/{http-client.interface-G36hqWVG.cjs → create-organization-domain-options.interface-9xVPDedq.cjs} +0 -0
- /package/lib/{identity.interface-ByIvTffv.cjs → create-organization-membership-options.interface-CaQYvh6M.cjs} +0 -0
- /package/lib/{impersonator.interface-Cf6hV6Sl.cjs → create-organization-options.interface-BQ-ynkFt.cjs} +0 -0
- /package/lib/{interfaces-B2GoLcEd.cjs → create-organization-role-options.interface-BZevKU9l.cjs} +0 -0
- /package/lib/{interfaces-BOHKsPOz.cjs → create-password-reset-options.interface-CvQ8OPUP.cjs} +0 -0
- /package/lib/{interfaces-BYxjU24Y.cjs → create-passwordless-session-options.interface-CUwrUUes.cjs} +0 -0
- /package/lib/{interfaces-B_wxDqjZ.cjs → create-permission-options.interface-gNV8L40W.cjs} +0 -0
- /package/lib/{interfaces-CJfjuBro.cjs → create-user-options.interface-Clu2DRMm.cjs} +0 -0
- /package/lib/{interfaces-dlLK1oAf.cjs → created-api-key.interface-B9LIbGZn.cjs} +0 -0
- /package/lib/{invitation.interface-mC_8BuA9.cjs → decrypt-data-key.interface-CC8-x3bk.cjs} +0 -0
- /package/lib/{key.interface-DTklEPap.cjs → delete-object.interface-maVx6Sss.cjs} +0 -0
- /package/lib/{list-auth-factors-options.interface-DKlym4v6.cjs → directory-group.interface-fI3Q18_V.cjs} +0 -0
- /package/lib/{list-connections-options.interface-B7pslHgu.cjs → directory-user.interface-BDg3vEue.cjs} +0 -0
- /package/lib/{list-directories-options.interface-92fO4PKr.cjs → directory.interface-BtqM2Oqa.cjs} +0 -0
- /package/lib/{list-directory-users-options.interface-V6n1bfE0.cjs → email-verification.interface-wQQsh5oJ.cjs} +0 -0
- /package/lib/{list-events-options.interface-Ba5Wze0J.cjs → enroll-auth-factor.interface-DtoEIL35.cjs} +0 -0
- /package/lib/{list-feature-flags-options.interface-BseB3Sxv.cjs → environment-role.interface-B1gHSYUW.cjs} +0 -0
- /package/lib/{list-groups-options.interface-Bd6SDE85.cjs → event.interface-DJog_FVt.cjs} +0 -0
- /package/lib/{list-invitations-options.interface-BP7cTrWE.cjs → factor.interface-DYEY2DmK.cjs} +0 -0
- /package/lib/{list-object-versions.interface-Ds--dBPk.cjs → feature-flag.interface-zWuZQ0AN.cjs} +0 -0
- /package/lib/{list-objects.interface-B8yzYARh.cjs → get-options.interface-PWSxSJWf.cjs} +0 -0
- /package/lib/{list-organization-api-keys-options.interface-gN2_EC8Y.cjs → get-profile-and-token-options.interface-B4AIgzHK.cjs} +0 -0
- /package/lib/{list-organization-feature-flags-options.interface-CUV13_Kb.cjs → get-profile-options.interface-BL-ae6kv.cjs} +0 -0
- /package/lib/{list-organization-memberships-options.interface-B3j0iJtf.cjs → http-client.interface-q5tbZi3r.cjs} +0 -0
- /package/lib/{list-organizations-options.interface-CtphN7_M.cjs → identity.interface-CENecjOJ.cjs} +0 -0
- /package/lib/{list-sessions-options.interface-CxrAFAFB.cjs → impersonator.interface-D2BWTjld.cjs} +0 -0
- /package/lib/{index-3zexvj-W.d.cts → index-1uLygO4P.d.cts} +0 -0
- /package/lib/{index-B78SvkL4.d.cts → index-B6gmSQ17.d.cts} +0 -0
- /package/lib/{index-BsCObK9R.d.cts → index-BcBOa3hp.d.cts} +0 -0
- /package/lib/{index-CIdqvOeJ.d.cts → index-BxzRAt8C.d.cts} +0 -0
- /package/lib/{index-CTbcD7SV.d.cts → index-CGSBYMIY.d.cts} +0 -0
- /package/lib/{index-CZB6MMOU.d.cts → index-CNyG9oqt.d.cts} +0 -0
- /package/lib/{index-Cx2IQJ5y.d.cts → index-CRoJq_Lc.d.cts} +0 -0
- /package/lib/{index-D5dJgt97.d.cts → index-D-yUU_Re.d.cts} +0 -0
- /package/lib/{index-DC1O7WeZ.d.cts → index-DBTRFl_2.d.cts} +0 -0
- /package/lib/{index-DCTKnOHe.d.cts → index-Daxn2RpI.d.cts} +0 -0
- /package/lib/{index-DEWiUzoU.d.cts → index-W8XcuB-8.d.cts} +0 -0
- /package/lib/{list-user-feature-flags-options.interface-BffT3Bgy.cjs → interfaces-Bj3jzkUk.cjs} +0 -0
- /package/lib/{list-users-options.interface-CZSIN83o.cjs → interfaces-D9rg42Qr.cjs} +0 -0
- /package/lib/{list.interface-Y2SC7qfo.cjs → interfaces-D_GTYFG5.cjs} +0 -0
- /package/lib/{locale.interface-CEpymw1t.cjs → interfaces-DlIGjxho.cjs} +0 -0
- /package/lib/{logout-url-options.interface-DWdskc6a.cjs → interfaces-MzGHd7Yh.cjs} +0 -0
- /package/lib/{magic-auth.interface-fz8MN6h7.cjs → interfaces-zQuVtXTa.cjs} +0 -0
- /package/lib/{oauth-tokens.interface-B-4Pi0sR.cjs → invitation.interface-Dz6VF1sU.cjs} +0 -0
- /package/lib/{object.interface-36k9_URU.cjs → key.interface-CHRr2LEz.cjs} +0 -0
- /package/lib/{organization-membership.interface-D1wrotmQ.cjs → list-auth-factors-options.interface-L62JljVx.cjs} +0 -0
- /package/lib/{organization.interface-CsjbCMaa.cjs → list-connections-options.interface-DVqutI5F.cjs} +0 -0
- /package/lib/{pagination-options.interface-CLNb6Om8.cjs → list-directories-options.interface-eav9nzy3.cjs} +0 -0
- /package/lib/{password-reset.interface-CnDQOmWv.cjs → list-directory-users-options.interface-DLqDVyl2.cjs} +0 -0
- /package/lib/{passwordless-session.interface-CV7rpVzo.cjs → list-events-options.interface-0QWZL0Yw.cjs} +0 -0
- /package/lib/{post-options.interface-ClNtDEaN.cjs → list-feature-flags-options.interface-DVCuHMFE.cjs} +0 -0
- /package/lib/{profile-and-token.interface-CZMHm-ni.cjs → list-groups-options.interface-By_UcNDc.cjs} +0 -0
- /package/lib/{profile.interface-BCfCOjmx.cjs → list-invitations-options.interface-BSkj-ZNH.cjs} +0 -0
- /package/lib/{put-options.interface-BDeO-5og.cjs → list-object-versions.interface-CZ3u9vAQ.cjs} +0 -0
- /package/lib/{query.interface-DBrke9TG.cjs → list-objects.interface-DB0LHLG9.cjs} +0 -0
- /package/lib/{read-object.interface-f_81j5uM.cjs → list-organization-api-keys-options.interface-CveTG0uD.cjs} +0 -0
- /package/lib/{remove-flag-target-options.interface-DoGKEa5T.cjs → list-organization-feature-flags-options.interface-_x6kSSZY.cjs} +0 -0
- /package/lib/{resend-invitation-options.interface-BvKYcUMa.cjs → list-organization-memberships-options.interface-DQEYYc8q.cjs} +0 -0
- /package/lib/{reset-password-options.interface-C8NDiT__.cjs → list-organizations-options.interface-CO97CX3u.cjs} +0 -0
- /package/lib/{resource.interface-Dk75RqTQ.cjs → list-permissions-options.interface-DLk_ltrp.cjs} +0 -0
- /package/lib/{response-payload.interface-Dd6I_nGn.cjs → list-sessions-options.interface-DRc1NZdD.cjs} +0 -0
- /package/lib/{role.interface-B3M8zitL.cjs → list-user-feature-flags-options.interface-CgqawmKH.cjs} +0 -0
- /package/lib/{send-invitation-options.interface-C6iq0iBA.cjs → list-users-options.interface-C5sgnUd6.cjs} +0 -0
- /package/lib/{send-session-response.interface-BK1iekyV.cjs → list.interface-BRryI6pg.cjs} +0 -0
- /package/lib/{send-verification-email-options.interface-BUkQm-56.cjs → locale.interface-BTUQlgqX.cjs} +0 -0
- /package/lib/{serializers-1RdL3mOO.cjs → logout-url-options.interface-lD0JqUBq.cjs} +0 -0
- /package/lib/{serializers-AObKGeJ9.cjs → magic-auth.interface-D8jgzoGD.cjs} +0 -0
- /package/lib/{serializers-BGydYdNv.cjs → oauth-tokens.interface-BBMvv6jR.cjs} +0 -0
- /package/lib/{serializers-Bd8zRjMr.cjs → object.interface-npvKCWKF.cjs} +0 -0
- /package/lib/{serializers-BdASmY_9.cjs → organization-membership.interface-CYxOpTIM.cjs} +0 -0
- /package/lib/{serializers-D7IALzFJ.cjs → organization-role.interface-CLBM9aza.cjs} +0 -0
- /package/lib/{serializers-L67xhHGh.cjs → organization.interface-pY1iGerY.cjs} +0 -0
- /package/lib/{session.interface-CJL0YhXF.cjs → pagination-options.interface-BoiKHHTH.cjs} +0 -0
- /package/lib/{unprocessable-entity-error.interface-qvpJv5Qa.cjs → password-reset.interface-s_bWZdDk.cjs} +0 -0
- /package/lib/{update-object.interface-DGOrDGsi.cjs → passwordless-session.interface-Bi9y87V7.cjs} +0 -0
- /package/lib/{update-organization-membership-options.interface-BB8dVzxD.cjs → patch-options.interface-Fd1jUcSo.cjs} +0 -0
- /package/lib/{update-organization-options.interface-DbUpLvun.cjs → permission.interface-Dhx-jPkZ.cjs} +0 -0
- /package/lib/{update-user-options.interface-hZd8eW6q.cjs → post-options.interface-BY7OUsfe.cjs} +0 -0
- /package/lib/{update-user-password-options.interface-B9BC-Hv9.cjs → profile-and-token.interface-BrAmbRfi.cjs} +0 -0
- /package/lib/{user.interface-Bln_2b82.cjs → profile.interface-CIhPFxjC.cjs} +0 -0
- /package/lib/{validate-api-key.interface-JvCCei5M.cjs → put-options.interface-C0STQ8xm.cjs} +0 -0
- /package/lib/{verify-email-options.interface-DPQfAOwk.cjs → query.interface-C37Vr290.cjs} +0 -0
- /package/lib/{warrant-token.interface-BpOppNeH.cjs → read-object.interface-RCcLbvry.cjs} +0 -0
- /package/lib/{warrant.interface-BgyqZr7M.cjs → remove-flag-target-options.interface-CNzVf6zp.cjs} +0 -0
- /package/lib/{workos-options.interface-DJkEWOSw.cjs → remove-organization-role-permission-options.interface-BpQUw8lU.cjs} +0 -0
- /package/lib/{workos-response-error.interface-CNjnix9d.cjs → resend-invitation-options.interface-U-F_hXjY.cjs} +0 -0
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
|
|
2
|
+
//#region node_modules/uint8array-extras/index.js
|
|
3
|
+
const objectToString = Object.prototype.toString;
|
|
4
|
+
const uint8ArrayStringified = "[object Uint8Array]";
|
|
5
|
+
function isType(value, typeConstructor, typeStringified) {
|
|
6
|
+
if (!value) return false;
|
|
7
|
+
if (value.constructor === typeConstructor) return true;
|
|
8
|
+
return objectToString.call(value) === typeStringified;
|
|
9
|
+
}
|
|
10
|
+
function isUint8Array(value) {
|
|
11
|
+
return isType(value, Uint8Array, uint8ArrayStringified);
|
|
12
|
+
}
|
|
13
|
+
function assertUint8Array(value) {
|
|
14
|
+
if (!isUint8Array(value)) throw new TypeError(`Expected \`Uint8Array\`, got \`${typeof value}\``);
|
|
15
|
+
}
|
|
16
|
+
const cachedDecoders = { utf8: new globalThis.TextDecoder("utf8") };
|
|
17
|
+
function assertString(value) {
|
|
18
|
+
if (typeof value !== "string") throw new TypeError(`Expected \`string\`, got \`${typeof value}\``);
|
|
19
|
+
}
|
|
20
|
+
const cachedEncoder = new globalThis.TextEncoder();
|
|
21
|
+
function base64ToBase64Url(base64) {
|
|
22
|
+
return base64.replaceAll("+", "-").replaceAll("/", "_").replace(/=+$/, "");
|
|
23
|
+
}
|
|
24
|
+
function base64UrlToBase64(base64url) {
|
|
25
|
+
const base64 = base64url.replaceAll("-", "+").replaceAll("_", "/");
|
|
26
|
+
const padding = (4 - base64.length % 4) % 4;
|
|
27
|
+
return base64 + "=".repeat(padding);
|
|
28
|
+
}
|
|
29
|
+
const MAX_BLOCK_SIZE = 65535;
|
|
30
|
+
function uint8ArrayToBase64(array, { urlSafe = false } = {}) {
|
|
31
|
+
assertUint8Array(array);
|
|
32
|
+
let base64 = "";
|
|
33
|
+
for (let index = 0; index < array.length; index += MAX_BLOCK_SIZE) {
|
|
34
|
+
const chunk = array.subarray(index, index + MAX_BLOCK_SIZE);
|
|
35
|
+
base64 += globalThis.btoa(String.fromCodePoint.apply(void 0, chunk));
|
|
36
|
+
}
|
|
37
|
+
return urlSafe ? base64ToBase64Url(base64) : base64;
|
|
38
|
+
}
|
|
39
|
+
function base64ToUint8Array(base64String) {
|
|
40
|
+
assertString(base64String);
|
|
41
|
+
return Uint8Array.from(globalThis.atob(base64UrlToBase64(base64String)), (x) => x.codePointAt(0));
|
|
42
|
+
}
|
|
43
|
+
const byteToHexLookupTable = Array.from({ length: 256 }, (_, index) => index.toString(16).padStart(2, "0"));
|
|
44
|
+
function uint8ArrayToHex(array) {
|
|
45
|
+
assertUint8Array(array);
|
|
46
|
+
let hexString = "";
|
|
47
|
+
for (let index = 0; index < array.length; index++) hexString += byteToHexLookupTable[array[index]];
|
|
48
|
+
return hexString;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region node_modules/iron-webcrypto/index.js
|
|
53
|
+
function losslessJsonStringify(data) {
|
|
54
|
+
try {
|
|
55
|
+
if (isJson(data)) {
|
|
56
|
+
let stringified = JSON.stringify(data);
|
|
57
|
+
if (stringified) return stringified;
|
|
58
|
+
}
|
|
59
|
+
} catch {}
|
|
60
|
+
throw Error("Data is not JSON serializable");
|
|
61
|
+
}
|
|
62
|
+
function jsonParse(string) {
|
|
63
|
+
try {
|
|
64
|
+
return JSON.parse(string);
|
|
65
|
+
} catch (err) {
|
|
66
|
+
throw Error("Failed parsing sealed object JSON: " + err.message);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function isJson(val) {
|
|
70
|
+
let stack = [], seen = /* @__PURE__ */ new WeakSet(), check = (val$1) => val$1 === null || typeof val$1 == "string" || typeof val$1 == "boolean" ? !0 : typeof val$1 == "number" ? Number.isFinite(val$1) : typeof val$1 == "object" ? seen.has(val$1) ? !0 : (seen.add(val$1), stack.push(val$1), !0) : !1;
|
|
71
|
+
if (!check(val)) return !1;
|
|
72
|
+
for (; stack.length;) {
|
|
73
|
+
let obj = stack.pop();
|
|
74
|
+
if (Array.isArray(obj)) {
|
|
75
|
+
let i$1 = obj.length;
|
|
76
|
+
for (; i$1--;) if (!check(obj[i$1])) return !1;
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
let proto = Reflect.getPrototypeOf(obj);
|
|
80
|
+
if (proto !== null && proto !== Object.prototype) return !1;
|
|
81
|
+
let keys = Reflect.ownKeys(obj), i = keys.length;
|
|
82
|
+
for (; i--;) {
|
|
83
|
+
let key = keys[i];
|
|
84
|
+
if (typeof key != "string" || Reflect.getOwnPropertyDescriptor(obj, key)?.enumerable === !1) return !1;
|
|
85
|
+
let val$1 = obj[key];
|
|
86
|
+
if (val$1 !== void 0 && !check(val$1)) return !1;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return !0;
|
|
90
|
+
}
|
|
91
|
+
const enc = /* @__PURE__ */ new TextEncoder(), dec = /* @__PURE__ */ new TextDecoder(), jsBase64Enabled = /* @__PURE__ */ (() => typeof Uint8Array.fromBase64 == "function" && typeof Uint8Array.prototype.toBase64 == "function" && typeof Uint8Array.prototype.toHex == "function")();
|
|
92
|
+
function b64ToU8(str) {
|
|
93
|
+
return jsBase64Enabled ? Uint8Array.fromBase64(str, { alphabet: "base64url" }) : base64ToUint8Array(str);
|
|
94
|
+
}
|
|
95
|
+
function u8ToB64(arr) {
|
|
96
|
+
return arr = arr instanceof ArrayBuffer ? new Uint8Array(arr) : arr, jsBase64Enabled ? arr.toBase64({
|
|
97
|
+
alphabet: "base64url",
|
|
98
|
+
omitPadding: !0
|
|
99
|
+
}) : uint8ArrayToBase64(arr, { urlSafe: !0 });
|
|
100
|
+
}
|
|
101
|
+
function u8ToHex(arr) {
|
|
102
|
+
return arr = arr instanceof ArrayBuffer ? new Uint8Array(arr) : arr, jsBase64Enabled ? arr.toHex() : uint8ArrayToHex(arr);
|
|
103
|
+
}
|
|
104
|
+
const defaults = /* @__PURE__ */ Object.freeze({
|
|
105
|
+
encryption: /* @__PURE__ */ Object.freeze({
|
|
106
|
+
algorithm: "aes-256-cbc",
|
|
107
|
+
saltBits: 256,
|
|
108
|
+
iterations: 1,
|
|
109
|
+
minPasswordlength: 32
|
|
110
|
+
}),
|
|
111
|
+
integrity: /* @__PURE__ */ Object.freeze({
|
|
112
|
+
algorithm: "sha256",
|
|
113
|
+
saltBits: 256,
|
|
114
|
+
iterations: 1,
|
|
115
|
+
minPasswordlength: 32
|
|
116
|
+
}),
|
|
117
|
+
ttl: 0,
|
|
118
|
+
timestampSkewSec: 60,
|
|
119
|
+
localtimeOffsetMsec: 0
|
|
120
|
+
});
|
|
121
|
+
const algorithms = /* @__PURE__ */ Object.freeze({
|
|
122
|
+
"aes-128-ctr": /* @__PURE__ */ Object.freeze({
|
|
123
|
+
keyBits: 128,
|
|
124
|
+
ivBits: 128,
|
|
125
|
+
name: "AES-CTR"
|
|
126
|
+
}),
|
|
127
|
+
"aes-256-cbc": /* @__PURE__ */ Object.freeze({
|
|
128
|
+
keyBits: 256,
|
|
129
|
+
ivBits: 128,
|
|
130
|
+
name: "AES-CBC"
|
|
131
|
+
}),
|
|
132
|
+
sha256: /* @__PURE__ */ Object.freeze({
|
|
133
|
+
keyBits: 256,
|
|
134
|
+
ivBits: void 0,
|
|
135
|
+
name: "SHA-256"
|
|
136
|
+
})
|
|
137
|
+
}), macFormatVersion = "2", macPrefix = "Fe26.2";
|
|
138
|
+
function randomBits(bits) {
|
|
139
|
+
return crypto.getRandomValues(new Uint8Array(bits / 8));
|
|
140
|
+
}
|
|
141
|
+
async function generateKey(password, options) {
|
|
142
|
+
if (!password || !password.length) throw Error("Empty password");
|
|
143
|
+
if (!options || typeof options != "object") throw Error("Bad options");
|
|
144
|
+
let algorithm = algorithms[options.algorithm];
|
|
145
|
+
if (!algorithm) throw Error("Unknown algorithm: " + options.algorithm);
|
|
146
|
+
let isHmac = algorithm.name === "SHA-256", id = isHmac ? {
|
|
147
|
+
name: "HMAC",
|
|
148
|
+
hash: algorithm.name,
|
|
149
|
+
length: algorithm.keyBits
|
|
150
|
+
} : {
|
|
151
|
+
name: algorithm.name,
|
|
152
|
+
length: algorithm.keyBits
|
|
153
|
+
}, usages = isHmac ? ["sign", "verify"] : ["encrypt", "decrypt"], iv = options.iv || (algorithm.ivBits ? randomBits(algorithm.ivBits) : void 0);
|
|
154
|
+
if (typeof password == "string") {
|
|
155
|
+
if (password.length < options.minPasswordlength) throw Error("Password string too short (min " + options.minPasswordlength + " characters required)");
|
|
156
|
+
let salt = options.salt;
|
|
157
|
+
if (!salt) {
|
|
158
|
+
if (!options.saltBits) throw Error("Missing salt and saltBits options");
|
|
159
|
+
salt = u8ToHex(randomBits(options.saltBits));
|
|
160
|
+
}
|
|
161
|
+
let baseKey = await crypto.subtle.importKey("raw", enc.encode(password), "PBKDF2", !1, ["deriveKey"]), algorithm$1 = {
|
|
162
|
+
name: "PBKDF2",
|
|
163
|
+
salt: enc.encode(salt),
|
|
164
|
+
iterations: options.iterations,
|
|
165
|
+
hash: "SHA-1"
|
|
166
|
+
};
|
|
167
|
+
return {
|
|
168
|
+
key: await crypto.subtle.deriveKey(algorithm$1, baseKey, id, !1, usages),
|
|
169
|
+
iv,
|
|
170
|
+
salt
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
if (password.length < algorithm.keyBits / 8) throw Error("Key buffer (password) too small");
|
|
174
|
+
return {
|
|
175
|
+
key: await crypto.subtle.importKey("raw", password.slice(), id, !1, usages),
|
|
176
|
+
iv,
|
|
177
|
+
salt: ""
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
function getEncryptParams(algorithm, key, data) {
|
|
181
|
+
return [
|
|
182
|
+
algorithm === "aes-128-ctr" ? {
|
|
183
|
+
name: "AES-CTR",
|
|
184
|
+
counter: key.iv,
|
|
185
|
+
length: 128
|
|
186
|
+
} : {
|
|
187
|
+
name: "AES-CBC",
|
|
188
|
+
iv: key.iv
|
|
189
|
+
},
|
|
190
|
+
key.key,
|
|
191
|
+
typeof data == "string" ? enc.encode(data) : data.slice()
|
|
192
|
+
];
|
|
193
|
+
}
|
|
194
|
+
async function encrypt(password, options, data) {
|
|
195
|
+
let key = await generateKey(password, options), encrypted = await crypto.subtle.encrypt(...getEncryptParams(options.algorithm, key, data));
|
|
196
|
+
return {
|
|
197
|
+
encrypted: new Uint8Array(encrypted),
|
|
198
|
+
key
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
async function decrypt(password, options, data) {
|
|
202
|
+
let key = await generateKey(password, options), decrypted = await crypto.subtle.decrypt(...getEncryptParams(options.algorithm, key, data));
|
|
203
|
+
return dec.decode(decrypted);
|
|
204
|
+
}
|
|
205
|
+
async function hmacWithPassword(password, options, data) {
|
|
206
|
+
let key = await generateKey(password, options);
|
|
207
|
+
return {
|
|
208
|
+
digest: u8ToB64(await crypto.subtle.sign("HMAC", key.key, enc.encode(data))),
|
|
209
|
+
salt: key.salt
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
function normalizePassword(password) {
|
|
213
|
+
let normalized = typeof password == "string" || password instanceof Uint8Array ? {
|
|
214
|
+
encryption: password,
|
|
215
|
+
integrity: password
|
|
216
|
+
} : password && typeof password == "object" ? "secret" in password ? {
|
|
217
|
+
id: password.id,
|
|
218
|
+
encryption: password.secret,
|
|
219
|
+
integrity: password.secret
|
|
220
|
+
} : {
|
|
221
|
+
id: password.id,
|
|
222
|
+
encryption: password.encryption,
|
|
223
|
+
integrity: password.integrity
|
|
224
|
+
} : void 0;
|
|
225
|
+
if (!normalized || !normalized.encryption || normalized.encryption.length === 0 || !normalized.integrity || normalized.integrity.length === 0) throw Error("Empty password");
|
|
226
|
+
return normalized;
|
|
227
|
+
}
|
|
228
|
+
async function seal(object, password, options) {
|
|
229
|
+
let now = Date.now() + (options.localtimeOffsetMsec || 0), { id = "", encryption, integrity } = normalizePassword(password);
|
|
230
|
+
if (id && !/^\w+$/.test(id)) throw Error("Invalid password id");
|
|
231
|
+
let { encrypted, key } = await encrypt(encryption, options.encryption, (options.encode || losslessJsonStringify)(object)), expiration = options.ttl ? now + options.ttl : "", macBaseString = macPrefix + "*" + id + "*" + key.salt + "*" + u8ToB64(key.iv) + "*" + u8ToB64(encrypted) + "*" + expiration, mac = await hmacWithPassword(integrity, options.integrity, macBaseString);
|
|
232
|
+
return macBaseString + "*" + mac.salt + "*" + mac.digest;
|
|
233
|
+
}
|
|
234
|
+
async function unseal(sealed, password, options) {
|
|
235
|
+
let now = Date.now() + (options.localtimeOffsetMsec || 0), parts = sealed.split("*");
|
|
236
|
+
if (parts.length !== 8) throw Error("Incorrect number of sealed components");
|
|
237
|
+
let [prefix, passwordId, encryptionSalt, ivB64, encryptedB64, expiration, hmacSalt, hmacDigestB64] = parts;
|
|
238
|
+
if (prefix !== macPrefix) throw Error("Wrong mac prefix");
|
|
239
|
+
if (expiration) {
|
|
240
|
+
if (!/^[1-9]\d*$/.test(expiration)) throw Error("Invalid expiration");
|
|
241
|
+
if (Number.parseInt(expiration, 10) <= now - options.timestampSkewSec * 1e3) throw Error("Expired seal");
|
|
242
|
+
}
|
|
243
|
+
let pass;
|
|
244
|
+
if (typeof password == "string" || password instanceof Uint8Array) pass = password;
|
|
245
|
+
else if (typeof password == "object" && password) {
|
|
246
|
+
let passwordIdKey = passwordId || "default";
|
|
247
|
+
if (pass = password[passwordIdKey], !pass) throw Error("Cannot find password: " + passwordIdKey);
|
|
248
|
+
}
|
|
249
|
+
pass = normalizePassword(pass);
|
|
250
|
+
let key = await generateKey(pass.integrity, {
|
|
251
|
+
...options.integrity,
|
|
252
|
+
salt: hmacSalt
|
|
253
|
+
}), macBaseString = prefix + "*" + passwordId + "*" + encryptionSalt + "*" + ivB64 + "*" + encryptedB64 + "*" + expiration;
|
|
254
|
+
if (!await crypto.subtle.verify("HMAC", key.key, b64ToU8(hmacDigestB64), enc.encode(macBaseString))) throw Error("Bad hmac value");
|
|
255
|
+
let decryptedString = await decrypt(pass.encryption, {
|
|
256
|
+
...options.encryption,
|
|
257
|
+
salt: encryptionSalt,
|
|
258
|
+
iv: b64ToU8(ivB64)
|
|
259
|
+
}, b64ToU8(encryptedB64));
|
|
260
|
+
return (options.decode || jsonParse)(decryptedString);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
//#endregion
|
|
264
|
+
//#region src/common/crypto/seal.ts
|
|
265
|
+
const VERSION_DELIMITER = "~";
|
|
266
|
+
const CURRENT_MAJOR_VERSION = 2;
|
|
267
|
+
function parseSeal(seal$1) {
|
|
268
|
+
const [sealWithoutVersion = "", tokenVersionAsString] = seal$1.split(VERSION_DELIMITER);
|
|
269
|
+
return {
|
|
270
|
+
sealWithoutVersion,
|
|
271
|
+
tokenVersion: tokenVersionAsString == null ? null : parseInt(tokenVersionAsString, 10)
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
async function sealData(data, { password }) {
|
|
275
|
+
return `${await seal(data, {
|
|
276
|
+
id: "1",
|
|
277
|
+
secret: password
|
|
278
|
+
}, {
|
|
279
|
+
...defaults,
|
|
280
|
+
ttl: 0,
|
|
281
|
+
encode: JSON.stringify
|
|
282
|
+
})}${VERSION_DELIMITER}${CURRENT_MAJOR_VERSION}`;
|
|
283
|
+
}
|
|
284
|
+
async function unsealData(encryptedData, { password }) {
|
|
285
|
+
const { sealWithoutVersion, tokenVersion } = parseSeal(encryptedData);
|
|
286
|
+
const passwordMap = { 1: password };
|
|
287
|
+
let data;
|
|
288
|
+
try {
|
|
289
|
+
data = await unseal(sealWithoutVersion, passwordMap, {
|
|
290
|
+
...defaults,
|
|
291
|
+
ttl: 0
|
|
292
|
+
}) ?? {};
|
|
293
|
+
} catch (error) {
|
|
294
|
+
if (error instanceof Error && /^(Expired seal|Bad hmac value|Cannot find password|Incorrect number of sealed components|Wrong mac prefix)/.test(error.message)) return {};
|
|
295
|
+
throw error;
|
|
296
|
+
}
|
|
297
|
+
if (tokenVersion === 2) return data;
|
|
298
|
+
else if (tokenVersion !== null) return data.persistent ?? data;
|
|
299
|
+
return data;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
//#endregion
|
|
303
|
+
Object.defineProperty(exports, 'sealData', {
|
|
304
|
+
enumerable: true,
|
|
305
|
+
get: function () {
|
|
306
|
+
return sealData;
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
Object.defineProperty(exports, 'unsealData', {
|
|
310
|
+
enumerable: true,
|
|
311
|
+
get: function () {
|
|
312
|
+
return unsealData;
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
//# sourceMappingURL=seal-B34v5bmh.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seal-B34v5bmh.cjs","names":["seal","ironSeal","data: unknown","ironUnseal"],"sources":["../node_modules/uint8array-extras/index.js","../node_modules/iron-webcrypto/index.js","../src/common/crypto/seal.ts"],"sourcesContent":["const objectToString = Object.prototype.toString;\nconst uint8ArrayStringified = '[object Uint8Array]';\nconst arrayBufferStringified = '[object ArrayBuffer]';\n\nfunction isType(value, typeConstructor, typeStringified) {\n\tif (!value) {\n\t\treturn false;\n\t}\n\n\tif (value.constructor === typeConstructor) {\n\t\treturn true;\n\t}\n\n\treturn objectToString.call(value) === typeStringified;\n}\n\nexport function isUint8Array(value) {\n\treturn isType(value, Uint8Array, uint8ArrayStringified);\n}\n\nfunction isArrayBuffer(value) {\n\treturn isType(value, ArrayBuffer, arrayBufferStringified);\n}\n\nfunction isUint8ArrayOrArrayBuffer(value) {\n\treturn isUint8Array(value) || isArrayBuffer(value);\n}\n\nexport function assertUint8Array(value) {\n\tif (!isUint8Array(value)) {\n\t\tthrow new TypeError(`Expected \\`Uint8Array\\`, got \\`${typeof value}\\``);\n\t}\n}\n\nexport function assertUint8ArrayOrArrayBuffer(value) {\n\tif (!isUint8ArrayOrArrayBuffer(value)) {\n\t\tthrow new TypeError(`Expected \\`Uint8Array\\` or \\`ArrayBuffer\\`, got \\`${typeof value}\\``);\n\t}\n}\n\nexport function toUint8Array(value) {\n\tif (value instanceof ArrayBuffer) {\n\t\treturn new Uint8Array(value);\n\t}\n\n\tif (ArrayBuffer.isView(value)) {\n\t\treturn new Uint8Array(value.buffer, value.byteOffset, value.byteLength);\n\t}\n\n\tthrow new TypeError(`Unsupported value, got \\`${typeof value}\\`.`);\n}\n\nexport function concatUint8Arrays(arrays, totalLength) {\n\tif (arrays.length === 0) {\n\t\treturn new Uint8Array(0);\n\t}\n\n\ttotalLength ??= arrays.reduce((accumulator, currentValue) => accumulator + currentValue.length, 0);\n\n\tconst returnValue = new Uint8Array(totalLength);\n\n\tlet offset = 0;\n\tfor (const array of arrays) {\n\t\tassertUint8Array(array);\n\t\treturnValue.set(array, offset);\n\t\toffset += array.length;\n\t}\n\n\treturn returnValue;\n}\n\nexport function areUint8ArraysEqual(a, b) {\n\tassertUint8Array(a);\n\tassertUint8Array(b);\n\n\tif (a === b) {\n\t\treturn true;\n\t}\n\n\tif (a.length !== b.length) {\n\t\treturn false;\n\t}\n\n\t// eslint-disable-next-line unicorn/no-for-loop\n\tfor (let index = 0; index < a.length; index++) {\n\t\tif (a[index] !== b[index]) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\treturn true;\n}\n\nexport function compareUint8Arrays(a, b) {\n\tassertUint8Array(a);\n\tassertUint8Array(b);\n\n\tconst length = Math.min(a.length, b.length);\n\n\tfor (let index = 0; index < length; index++) {\n\t\tconst diff = a[index] - b[index];\n\t\tif (diff !== 0) {\n\t\t\treturn Math.sign(diff);\n\t\t}\n\t}\n\n\t// At this point, all the compared elements are equal.\n\t// The shorter array should come first if the arrays are of different lengths.\n\treturn Math.sign(a.length - b.length);\n}\n\nconst cachedDecoders = {\n\tutf8: new globalThis.TextDecoder('utf8'),\n};\n\nexport function uint8ArrayToString(array, encoding = 'utf8') {\n\tassertUint8ArrayOrArrayBuffer(array);\n\tcachedDecoders[encoding] ??= new globalThis.TextDecoder(encoding);\n\treturn cachedDecoders[encoding].decode(array);\n}\n\nfunction assertString(value) {\n\tif (typeof value !== 'string') {\n\t\tthrow new TypeError(`Expected \\`string\\`, got \\`${typeof value}\\``);\n\t}\n}\n\nconst cachedEncoder = new globalThis.TextEncoder();\n\nexport function stringToUint8Array(string) {\n\tassertString(string);\n\treturn cachedEncoder.encode(string);\n}\n\nfunction base64ToBase64Url(base64) {\n\treturn base64.replaceAll('+', '-').replaceAll('/', '_').replace(/=+$/, '');\n}\n\nfunction base64UrlToBase64(base64url) {\n\tconst base64 = base64url.replaceAll('-', '+').replaceAll('_', '/');\n\tconst padding = (4 - (base64.length % 4)) % 4;\n\treturn base64 + '='.repeat(padding);\n}\n\n// Reference: https://phuoc.ng/collection/this-vs-that/concat-vs-push/\n// Important: Keep this value divisible by 3 so intermediate chunks produce no Base64 padding.\nconst MAX_BLOCK_SIZE = 65_535;\n\nexport function uint8ArrayToBase64(array, {urlSafe = false} = {}) {\n\tassertUint8Array(array);\n\n\tlet base64 = '';\n\n\tfor (let index = 0; index < array.length; index += MAX_BLOCK_SIZE) {\n\t\tconst chunk = array.subarray(index, index + MAX_BLOCK_SIZE);\n\t\t// Required as `btoa` and `atob` don't properly support Unicode: https://developer.mozilla.org/en-US/docs/Glossary/Base64#the_unicode_problem\n\t\tbase64 += globalThis.btoa(String.fromCodePoint.apply(undefined, chunk));\n\t}\n\n\treturn urlSafe ? base64ToBase64Url(base64) : base64;\n}\n\nexport function base64ToUint8Array(base64String) {\n\tassertString(base64String);\n\treturn Uint8Array.from(globalThis.atob(base64UrlToBase64(base64String)), x => x.codePointAt(0));\n}\n\nexport function stringToBase64(string, {urlSafe = false} = {}) {\n\tassertString(string);\n\treturn uint8ArrayToBase64(stringToUint8Array(string), {urlSafe});\n}\n\nexport function base64ToString(base64String) {\n\tassertString(base64String);\n\treturn uint8ArrayToString(base64ToUint8Array(base64String));\n}\n\nconst byteToHexLookupTable = Array.from({length: 256}, (_, index) => index.toString(16).padStart(2, '0'));\n\nexport function uint8ArrayToHex(array) {\n\tassertUint8Array(array);\n\n\t// Concatenating a string is faster than using an array.\n\tlet hexString = '';\n\n\t// eslint-disable-next-line unicorn/no-for-loop -- Max performance is critical.\n\tfor (let index = 0; index < array.length; index++) {\n\t\thexString += byteToHexLookupTable[array[index]];\n\t}\n\n\treturn hexString;\n}\n\nconst hexToDecimalLookupTable = {\n\t0: 0,\n\t1: 1,\n\t2: 2,\n\t3: 3,\n\t4: 4,\n\t5: 5,\n\t6: 6,\n\t7: 7,\n\t8: 8,\n\t9: 9,\n\ta: 10,\n\tb: 11,\n\tc: 12,\n\td: 13,\n\te: 14,\n\tf: 15,\n\tA: 10,\n\tB: 11,\n\tC: 12,\n\tD: 13,\n\tE: 14,\n\tF: 15,\n};\n\nexport function hexToUint8Array(hexString) {\n\tassertString(hexString);\n\n\tif (hexString.length % 2 !== 0) {\n\t\tthrow new Error('Invalid Hex string length.');\n\t}\n\n\tconst resultLength = hexString.length / 2;\n\tconst bytes = new Uint8Array(resultLength);\n\n\tfor (let index = 0; index < resultLength; index++) {\n\t\tconst highNibble = hexToDecimalLookupTable[hexString[index * 2]];\n\t\tconst lowNibble = hexToDecimalLookupTable[hexString[(index * 2) + 1]];\n\n\t\tif (highNibble === undefined || lowNibble === undefined) {\n\t\t\tthrow new Error(`Invalid Hex character encountered at position ${index * 2}`);\n\t\t}\n\n\t\tbytes[index] = (highNibble << 4) | lowNibble; // eslint-disable-line no-bitwise\n\t}\n\n\treturn bytes;\n}\n\n/**\n@param {DataView} view\n@returns {number}\n*/\nexport function getUintBE(view) {\n\tconst {byteLength} = view;\n\n\tif (byteLength === 6) {\n\t\treturn (view.getUint16(0) * (2 ** 32)) + view.getUint32(2);\n\t}\n\n\tif (byteLength === 5) {\n\t\treturn (view.getUint8(0) * (2 ** 32)) + view.getUint32(1);\n\t}\n\n\tif (byteLength === 4) {\n\t\treturn view.getUint32(0);\n\t}\n\n\tif (byteLength === 3) {\n\t\treturn (view.getUint8(0) * (2 ** 16)) + view.getUint16(1);\n\t}\n\n\tif (byteLength === 2) {\n\t\treturn view.getUint16(0);\n\t}\n\n\tif (byteLength === 1) {\n\t\treturn view.getUint8(0);\n\t}\n}\n\n/**\n@param {Uint8Array} array\n@param {Uint8Array} value\n@returns {number}\n*/\nexport function indexOf(array, value) {\n\tconst arrayLength = array.length;\n\tconst valueLength = value.length;\n\n\tif (valueLength === 0) {\n\t\treturn -1;\n\t}\n\n\tif (valueLength > arrayLength) {\n\t\treturn -1;\n\t}\n\n\tconst validOffsetLength = arrayLength - valueLength;\n\n\tfor (let index = 0; index <= validOffsetLength; index++) {\n\t\tlet isMatch = true;\n\t\tfor (let index2 = 0; index2 < valueLength; index2++) {\n\t\t\tif (array[index + index2] !== value[index2]) {\n\t\t\t\tisMatch = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif (isMatch) {\n\t\t\treturn index;\n\t\t}\n\t}\n\n\treturn -1;\n}\n\n/**\n@param {Uint8Array} array\n@param {Uint8Array} value\n@returns {boolean}\n*/\nexport function includes(array, value) {\n\treturn indexOf(array, value) !== -1;\n}\n","/* @ts-self-types=\"./index.d.ts\" */\nimport { base64ToUint8Array, uint8ArrayToBase64, uint8ArrayToHex } from \"uint8array-extras\";\nfunction losslessJsonStringify(data) {\n\ttry {\n\t\tif (isJson(data)) {\n\t\t\tlet stringified = JSON.stringify(data);\n\t\t\tif (stringified) return stringified;\n\t\t}\n\t} catch {}\n\tthrow Error(\"Data is not JSON serializable\");\n}\nfunction jsonParse(string) {\n\ttry {\n\t\treturn JSON.parse(string);\n\t} catch (err) {\n\t\tthrow Error(\"Failed parsing sealed object JSON: \" + err.message);\n\t}\n}\nfunction isJson(val) {\n\tlet stack = [], seen = /* @__PURE__ */ new WeakSet(), check = (val$1) => val$1 === null || typeof val$1 == \"string\" || typeof val$1 == \"boolean\" ? !0 : typeof val$1 == \"number\" ? Number.isFinite(val$1) : typeof val$1 == \"object\" ? seen.has(val$1) ? !0 : (seen.add(val$1), stack.push(val$1), !0) : !1;\n\tif (!check(val)) return !1;\n\tfor (; stack.length;) {\n\t\tlet obj = stack.pop();\n\t\tif (Array.isArray(obj)) {\n\t\t\tlet i$1 = obj.length;\n\t\t\tfor (; i$1--;) if (!check(obj[i$1])) return !1;\n\t\t\tcontinue;\n\t\t}\n\t\tlet proto = Reflect.getPrototypeOf(obj);\n\t\tif (proto !== null && proto !== Object.prototype) return !1;\n\t\tlet keys = Reflect.ownKeys(obj), i = keys.length;\n\t\tfor (; i--;) {\n\t\t\tlet key = keys[i];\n\t\t\tif (typeof key != \"string\" || Reflect.getOwnPropertyDescriptor(obj, key)?.enumerable === !1) return !1;\n\t\t\tlet val$1 = obj[key];\n\t\t\tif (val$1 !== void 0 && !check(val$1)) return !1;\n\t\t}\n\t}\n\treturn !0;\n}\nconst enc = /* @__PURE__ */ new TextEncoder(), dec = /* @__PURE__ */ new TextDecoder(), jsBase64Enabled = /* @__PURE__ */ (() => typeof Uint8Array.fromBase64 == \"function\" && typeof Uint8Array.prototype.toBase64 == \"function\" && typeof Uint8Array.prototype.toHex == \"function\")();\nfunction b64ToU8(str) {\n\treturn jsBase64Enabled ? Uint8Array.fromBase64(str, { alphabet: \"base64url\" }) : base64ToUint8Array(str);\n}\nfunction u8ToB64(arr) {\n\treturn arr = arr instanceof ArrayBuffer ? new Uint8Array(arr) : arr, jsBase64Enabled ? arr.toBase64({\n\t\talphabet: \"base64url\",\n\t\tomitPadding: !0\n\t}) : uint8ArrayToBase64(arr, { urlSafe: !0 });\n}\nfunction u8ToHex(arr) {\n\treturn arr = arr instanceof ArrayBuffer ? new Uint8Array(arr) : arr, jsBase64Enabled ? arr.toHex() : uint8ArrayToHex(arr);\n}\nconst defaults = /* @__PURE__ */ Object.freeze({\n\tencryption: /* @__PURE__ */ Object.freeze({\n\t\talgorithm: \"aes-256-cbc\",\n\t\tsaltBits: 256,\n\t\titerations: 1,\n\t\tminPasswordlength: 32\n\t}),\n\tintegrity: /* @__PURE__ */ Object.freeze({\n\t\talgorithm: \"sha256\",\n\t\tsaltBits: 256,\n\t\titerations: 1,\n\t\tminPasswordlength: 32\n\t}),\n\tttl: 0,\n\ttimestampSkewSec: 60,\n\tlocaltimeOffsetMsec: 0\n});\nfunction clone(options) {\n\treturn {\n\t\t...options,\n\t\tencryption: { ...options.encryption },\n\t\tintegrity: { ...options.integrity }\n\t};\n}\nconst algorithms = /* @__PURE__ */ Object.freeze({\n\t\"aes-128-ctr\": /* @__PURE__ */ Object.freeze({\n\t\tkeyBits: 128,\n\t\tivBits: 128,\n\t\tname: \"AES-CTR\"\n\t}),\n\t\"aes-256-cbc\": /* @__PURE__ */ Object.freeze({\n\t\tkeyBits: 256,\n\t\tivBits: 128,\n\t\tname: \"AES-CBC\"\n\t}),\n\tsha256: /* @__PURE__ */ Object.freeze({\n\t\tkeyBits: 256,\n\t\tivBits: void 0,\n\t\tname: \"SHA-256\"\n\t})\n}), macFormatVersion = \"2\", macPrefix = \"Fe26.2\";\nfunction randomBits(bits) {\n\treturn crypto.getRandomValues(new Uint8Array(bits / 8));\n}\nasync function generateKey(password, options) {\n\tif (!password || !password.length) throw Error(\"Empty password\");\n\tif (!options || typeof options != \"object\") throw Error(\"Bad options\");\n\tlet algorithm = algorithms[options.algorithm];\n\tif (!algorithm) throw Error(\"Unknown algorithm: \" + options.algorithm);\n\tlet isHmac = algorithm.name === \"SHA-256\", id = isHmac ? {\n\t\tname: \"HMAC\",\n\t\thash: algorithm.name,\n\t\tlength: algorithm.keyBits\n\t} : {\n\t\tname: algorithm.name,\n\t\tlength: algorithm.keyBits\n\t}, usages = isHmac ? [\"sign\", \"verify\"] : [\"encrypt\", \"decrypt\"], iv = options.iv || (algorithm.ivBits ? randomBits(algorithm.ivBits) : void 0);\n\tif (typeof password == \"string\") {\n\t\tif (password.length < options.minPasswordlength) throw Error(\"Password string too short (min \" + options.minPasswordlength + \" characters required)\");\n\t\tlet salt = options.salt;\n\t\tif (!salt) {\n\t\t\tif (!options.saltBits) throw Error(\"Missing salt and saltBits options\");\n\t\t\tsalt = u8ToHex(randomBits(options.saltBits));\n\t\t}\n\t\tlet baseKey = await crypto.subtle.importKey(\"raw\", enc.encode(password), \"PBKDF2\", !1, [\"deriveKey\"]), algorithm$1 = {\n\t\t\tname: \"PBKDF2\",\n\t\t\tsalt: enc.encode(salt),\n\t\t\titerations: options.iterations,\n\t\t\thash: \"SHA-1\"\n\t\t};\n\t\treturn {\n\t\t\tkey: await crypto.subtle.deriveKey(algorithm$1, baseKey, id, !1, usages),\n\t\t\tiv,\n\t\t\tsalt\n\t\t};\n\t}\n\tif (password.length < algorithm.keyBits / 8) throw Error(\"Key buffer (password) too small\");\n\treturn {\n\t\tkey: await crypto.subtle.importKey(\"raw\", password.slice(), id, !1, usages),\n\t\tiv,\n\t\tsalt: \"\"\n\t};\n}\nfunction getEncryptParams(algorithm, key, data) {\n\treturn [\n\t\talgorithm === \"aes-128-ctr\" ? {\n\t\t\tname: \"AES-CTR\",\n\t\t\tcounter: key.iv,\n\t\t\tlength: 128\n\t\t} : {\n\t\t\tname: \"AES-CBC\",\n\t\t\tiv: key.iv\n\t\t},\n\t\tkey.key,\n\t\ttypeof data == \"string\" ? enc.encode(data) : data.slice()\n\t];\n}\nasync function encrypt(password, options, data) {\n\tlet key = await generateKey(password, options), encrypted = await crypto.subtle.encrypt(...getEncryptParams(options.algorithm, key, data));\n\treturn {\n\t\tencrypted: new Uint8Array(encrypted),\n\t\tkey\n\t};\n}\nasync function decrypt(password, options, data) {\n\tlet key = await generateKey(password, options), decrypted = await crypto.subtle.decrypt(...getEncryptParams(options.algorithm, key, data));\n\treturn dec.decode(decrypted);\n}\nasync function hmacWithPassword(password, options, data) {\n\tlet key = await generateKey(password, options);\n\treturn {\n\t\tdigest: u8ToB64(await crypto.subtle.sign(\"HMAC\", key.key, enc.encode(data))),\n\t\tsalt: key.salt\n\t};\n}\nfunction normalizePassword(password) {\n\tlet normalized = typeof password == \"string\" || password instanceof Uint8Array ? {\n\t\tencryption: password,\n\t\tintegrity: password\n\t} : password && typeof password == \"object\" ? \"secret\" in password ? {\n\t\tid: password.id,\n\t\tencryption: password.secret,\n\t\tintegrity: password.secret\n\t} : {\n\t\tid: password.id,\n\t\tencryption: password.encryption,\n\t\tintegrity: password.integrity\n\t} : void 0;\n\tif (!normalized || !normalized.encryption || normalized.encryption.length === 0 || !normalized.integrity || normalized.integrity.length === 0) throw Error(\"Empty password\");\n\treturn normalized;\n}\nasync function seal(object, password, options) {\n\tlet now = Date.now() + (options.localtimeOffsetMsec || 0), { id = \"\", encryption, integrity } = normalizePassword(password);\n\tif (id && !/^\\w+$/.test(id)) throw Error(\"Invalid password id\");\n\tlet { encrypted, key } = await encrypt(encryption, options.encryption, (options.encode || losslessJsonStringify)(object)), expiration = options.ttl ? now + options.ttl : \"\", macBaseString = macPrefix + \"*\" + id + \"*\" + key.salt + \"*\" + u8ToB64(key.iv) + \"*\" + u8ToB64(encrypted) + \"*\" + expiration, mac = await hmacWithPassword(integrity, options.integrity, macBaseString);\n\treturn macBaseString + \"*\" + mac.salt + \"*\" + mac.digest;\n}\nasync function unseal(sealed, password, options) {\n\tlet now = Date.now() + (options.localtimeOffsetMsec || 0), parts = sealed.split(\"*\");\n\tif (parts.length !== 8) throw Error(\"Incorrect number of sealed components\");\n\tlet [prefix, passwordId, encryptionSalt, ivB64, encryptedB64, expiration, hmacSalt, hmacDigestB64] = parts;\n\tif (prefix !== macPrefix) throw Error(\"Wrong mac prefix\");\n\tif (expiration) {\n\t\tif (!/^[1-9]\\d*$/.test(expiration)) throw Error(\"Invalid expiration\");\n\t\tif (Number.parseInt(expiration, 10) <= now - options.timestampSkewSec * 1e3) throw Error(\"Expired seal\");\n\t}\n\tlet pass;\n\tif (typeof password == \"string\" || password instanceof Uint8Array) pass = password;\n\telse if (typeof password == \"object\" && password) {\n\t\tlet passwordIdKey = passwordId || \"default\";\n\t\tif (pass = password[passwordIdKey], !pass) throw Error(\"Cannot find password: \" + passwordIdKey);\n\t}\n\tpass = normalizePassword(pass);\n\tlet key = await generateKey(pass.integrity, {\n\t\t...options.integrity,\n\t\tsalt: hmacSalt\n\t}), macBaseString = prefix + \"*\" + passwordId + \"*\" + encryptionSalt + \"*\" + ivB64 + \"*\" + encryptedB64 + \"*\" + expiration;\n\tif (!await crypto.subtle.verify(\"HMAC\", key.key, b64ToU8(hmacDigestB64), enc.encode(macBaseString))) throw Error(\"Bad hmac value\");\n\tlet decryptedString = await decrypt(pass.encryption, {\n\t\t...options.encryption,\n\t\tsalt: encryptionSalt,\n\t\tiv: b64ToU8(ivB64)\n\t}, b64ToU8(encryptedB64));\n\treturn (options.decode || jsonParse)(decryptedString);\n}\nexport { algorithms, clone, decrypt, defaults, encrypt, generateKey, hmacWithPassword, macFormatVersion, macPrefix, randomBits, seal, unseal };\n","import {\n seal as ironSeal,\n unseal as ironUnseal,\n defaults,\n} from 'iron-webcrypto';\n\nconst VERSION_DELIMITER = '~';\nconst CURRENT_MAJOR_VERSION = 2;\n\ninterface SealOptions {\n password: string;\n}\n\ninterface UnsealOptions {\n password: string;\n}\n\nfunction parseSeal(seal: string): {\n sealWithoutVersion: string;\n tokenVersion: number | null;\n} {\n const [sealWithoutVersion = '', tokenVersionAsString] =\n seal.split(VERSION_DELIMITER);\n const tokenVersion =\n tokenVersionAsString == null ? null : parseInt(tokenVersionAsString, 10);\n return { sealWithoutVersion, tokenVersion };\n}\n\nexport async function sealData(\n data: unknown,\n { password }: SealOptions,\n): Promise<string> {\n const passwordObj = {\n id: '1',\n secret: password,\n };\n\n const seal = await ironSeal(data, passwordObj, {\n ...defaults,\n ttl: 0,\n encode: JSON.stringify,\n });\n\n return `${seal}${VERSION_DELIMITER}${CURRENT_MAJOR_VERSION}`;\n}\n\nexport async function unsealData<T = unknown>(\n encryptedData: string,\n { password }: UnsealOptions,\n): Promise<T> {\n const { sealWithoutVersion, tokenVersion } = parseSeal(encryptedData);\n\n const passwordMap = { 1: password };\n\n let data: unknown;\n try {\n data =\n (await ironUnseal(sealWithoutVersion, passwordMap, {\n ...defaults,\n ttl: 0,\n })) ?? {};\n } catch (error) {\n if (\n error instanceof Error &&\n /^(Expired seal|Bad hmac value|Cannot find password|Incorrect number of sealed components|Wrong mac prefix)/.test(\n error.message,\n )\n ) {\n return {} as T;\n }\n throw error;\n }\n\n if (tokenVersion === 2) {\n return data as T;\n } else if (tokenVersion !== null) {\n const record = data as Record<string, unknown>;\n return (record.persistent ?? data) as T;\n }\n\n return data as T;\n}\n"],"x_google_ignoreList":[0,1],"mappings":"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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as Locale } from "./locale.interface-DtJ_6jKP.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/user-management/interfaces/send-invitation-options.interface.d.ts
|
|
4
|
+
interface SendInvitationOptions {
|
|
5
|
+
email: string;
|
|
6
|
+
organizationId?: string;
|
|
7
|
+
expiresInDays?: number;
|
|
8
|
+
inviterUserId?: string;
|
|
9
|
+
roleSlug?: string;
|
|
10
|
+
locale?: Locale;
|
|
11
|
+
}
|
|
12
|
+
interface SerializedSendInvitationOptions {
|
|
13
|
+
email: string;
|
|
14
|
+
organization_id?: string;
|
|
15
|
+
expires_in_days?: number;
|
|
16
|
+
inviter_user_id?: string;
|
|
17
|
+
role_slug?: string;
|
|
18
|
+
locale?: Locale;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { SerializedSendInvitationOptions as n, SendInvitationOptions as t };
|
|
22
|
+
//# sourceMappingURL=send-invitation-options.interface-C2RofyVU.d.cts.map
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/user-management/serializers/send-invitation-options.serializer.ts
|
|
3
|
+
const serializeSendInvitationOptions = (options) => ({
|
|
4
|
+
email: options.email,
|
|
5
|
+
organization_id: options.organizationId,
|
|
6
|
+
expires_in_days: options.expiresInDays,
|
|
7
|
+
inviter_user_id: options.inviterUserId,
|
|
8
|
+
role_slug: options.roleSlug,
|
|
9
|
+
locale: options.locale
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
Object.defineProperty(exports, 'serializeSendInvitationOptions', {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () {
|
|
16
|
+
return serializeSendInvitationOptions;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=send-invitation-options.serializer-D5x3ss8t.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-invitation-options.serializer-D5x3ss8t.cjs","names":[],"sources":["../src/user-management/serializers/send-invitation-options.serializer.ts"],"sourcesContent":["import {} from '../interfaces';\nimport {\n SendInvitationOptions,\n SerializedSendInvitationOptions,\n} from '../interfaces/send-invitation-options.interface';\n\nexport const serializeSendInvitationOptions = (\n options: SendInvitationOptions,\n): SerializedSendInvitationOptions => ({\n email: options.email,\n organization_id: options.organizationId,\n expires_in_days: options.expiresInDays,\n inviter_user_id: options.inviterUserId,\n role_slug: options.roleSlug,\n locale: options.locale,\n});\n"],"mappings":";;AAMA,MAAa,kCACX,aACqC;CACrC,OAAO,QAAQ;CACf,iBAAiB,QAAQ;CACzB,iBAAiB,QAAQ;CACzB,iBAAiB,QAAQ;CACzB,WAAW,QAAQ;CACnB,QAAQ,QAAQ;CACjB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/passwordless/interfaces/send-session-response.interface.d.ts
|
|
2
|
+
interface SendSessionResponse {
|
|
3
|
+
message?: string;
|
|
4
|
+
success?: boolean;
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { SendSessionResponse as t };
|
|
8
|
+
//# sourceMappingURL=send-session-response.interface-CMl4tWw_.d.cts.map
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/user-management/interfaces/send-verification-email-options.interface.d.ts
|
|
2
|
+
interface SendVerificationEmailOptions {
|
|
3
|
+
userId: string;
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
export { SendVerificationEmailOptions as t };
|
|
7
|
+
//# sourceMappingURL=send-verification-email-options.interface-BtOygLys.d.cts.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
const require_oauth_exception = require('./oauth.exception-BJAv3tg-.cjs');
|
|
2
|
+
const require_seal = require('./seal-B34v5bmh.cjs');
|
|
3
|
+
const require_authenticate_with_session_cookie_interface = require('./authenticate-with-session-cookie.interface-B4eQTrfN.cjs');
|
|
4
|
+
const require_refresh_and_seal_session_data_interface = require('./refresh-and-seal-session-data.interface-zT1i8_J0.cjs');
|
|
5
|
+
const require_jose = require('./jose-B0lH7z8y.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-D_vnUDl1.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-D_vnUDl1.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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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-BVTuA5uU.d.cts.map
|
|
File without changes
|