@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,38 @@
|
|
|
1
|
+
import { t as Impersonator } from "./impersonator.interface-BLJ5uqT4.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/user-management/interfaces/session.interface.d.ts
|
|
4
|
+
type AuthMethod = 'external_auth' | 'impersonation' | 'magic_code' | 'migrated_session' | 'oauth' | 'passkey' | 'password' | 'sso' | 'unknown';
|
|
5
|
+
type SessionStatus = 'active' | 'expired' | 'revoked';
|
|
6
|
+
interface Session {
|
|
7
|
+
object: 'session';
|
|
8
|
+
id: string;
|
|
9
|
+
userId: string;
|
|
10
|
+
ipAddress: string | null;
|
|
11
|
+
userAgent: string | null;
|
|
12
|
+
organizationId?: string;
|
|
13
|
+
impersonator?: Impersonator;
|
|
14
|
+
authMethod: AuthMethod;
|
|
15
|
+
status: SessionStatus;
|
|
16
|
+
expiresAt: string;
|
|
17
|
+
endedAt: string | null;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
updatedAt: string;
|
|
20
|
+
}
|
|
21
|
+
interface SessionResponse {
|
|
22
|
+
object: 'session';
|
|
23
|
+
id: string;
|
|
24
|
+
user_id: string;
|
|
25
|
+
ip_address: string | null;
|
|
26
|
+
user_agent: string | null;
|
|
27
|
+
organization_id?: string;
|
|
28
|
+
impersonator?: Impersonator;
|
|
29
|
+
auth_method: AuthMethod;
|
|
30
|
+
status: SessionStatus;
|
|
31
|
+
expires_at: string;
|
|
32
|
+
ended_at: string | null;
|
|
33
|
+
created_at: string;
|
|
34
|
+
updated_at: string;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { SessionStatus as i, Session as n, SessionResponse as r, AuthMethod as t };
|
|
38
|
+
//# sourceMappingURL=session.interface-zszewQtk.d.cts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { n as Session, r as SessionResponse } from "./session.interface-zszewQtk.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/user-management/serializers/session.serializer.d.ts
|
|
4
|
+
declare const deserializeSession: (session: SessionResponse) => Session;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { deserializeSession as t };
|
|
7
|
+
//# sourceMappingURL=session.serializer-DAUllV3H.d.cts.map
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/authorization/interfaces/set-environment-role-permissions-options.interface.d.ts
|
|
2
|
+
interface SetEnvironmentRolePermissionsOptions {
|
|
3
|
+
permissions: string[];
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
export { SetEnvironmentRolePermissionsOptions as t };
|
|
7
|
+
//# sourceMappingURL=set-environment-role-permissions-options.interface-CJm4G5CM.d.cts.map
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/authorization/interfaces/set-organization-role-permissions-options.interface.d.ts
|
|
2
|
+
interface SetOrganizationRolePermissionsOptions {
|
|
3
|
+
permissions: string[];
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
export { SetOrganizationRolePermissionsOptions as t };
|
|
7
|
+
//# sourceMappingURL=set-organization-role-permissions-options.interface-F54jbJ3q.d.cts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const require_signature_verification_exception = require('./signature-verification.exception-Dc1gSCYD.cjs');
|
|
2
|
+
|
|
3
|
+
//#region src/common/crypto/signature-provider.ts
|
|
4
|
+
var SignatureProvider = class {
|
|
5
|
+
cryptoProvider;
|
|
6
|
+
constructor(cryptoProvider) {
|
|
7
|
+
this.cryptoProvider = cryptoProvider;
|
|
8
|
+
}
|
|
9
|
+
async verifyHeader({ payload, sigHeader, secret, tolerance = 18e4 }) {
|
|
10
|
+
const [timestamp, signatureHash] = this.getTimestampAndSignatureHash(sigHeader);
|
|
11
|
+
if (!signatureHash || Object.keys(signatureHash).length === 0) throw new require_signature_verification_exception.SignatureVerificationException("No signature hash found with expected scheme v1");
|
|
12
|
+
if (parseInt(timestamp, 10) < Date.now() - tolerance) throw new require_signature_verification_exception.SignatureVerificationException("Timestamp outside the tolerance zone");
|
|
13
|
+
const expectedSig = await this.computeSignature(timestamp, payload, secret);
|
|
14
|
+
if (await this.cryptoProvider.secureCompare(expectedSig, signatureHash) === false) throw new require_signature_verification_exception.SignatureVerificationException("Signature hash does not match the expected signature hash for payload");
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
getTimestampAndSignatureHash(sigHeader) {
|
|
18
|
+
const [t, v1] = sigHeader.split(",");
|
|
19
|
+
if (typeof t === "undefined" || typeof v1 === "undefined") throw new require_signature_verification_exception.SignatureVerificationException("Signature or timestamp missing");
|
|
20
|
+
const { 1: timestamp } = t.split("=");
|
|
21
|
+
const { 1: signatureHash } = v1.split("=");
|
|
22
|
+
return [timestamp, signatureHash];
|
|
23
|
+
}
|
|
24
|
+
async computeSignature(timestamp, payload, secret) {
|
|
25
|
+
payload = JSON.stringify(payload);
|
|
26
|
+
const signedPayload = `${timestamp}.${payload}`;
|
|
27
|
+
return await this.cryptoProvider.computeHMACSignatureAsync(signedPayload, secret);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
Object.defineProperty(exports, 'SignatureProvider', {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return SignatureProvider;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=signature-provider-CdkJsGc8.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signature-provider-CdkJsGc8.cjs","names":["SignatureVerificationException"],"sources":["../src/common/crypto/signature-provider.ts"],"sourcesContent":["import { SignatureVerificationException } from '../exceptions';\nimport { CryptoProvider } from './crypto-provider';\n\nexport class SignatureProvider {\n private cryptoProvider: CryptoProvider;\n\n constructor(cryptoProvider: CryptoProvider) {\n this.cryptoProvider = cryptoProvider;\n }\n\n async verifyHeader({\n payload,\n sigHeader,\n secret,\n tolerance = 180000,\n }: {\n payload: any;\n sigHeader: string;\n secret: string;\n tolerance?: number;\n }): Promise<boolean> {\n const [timestamp, signatureHash] =\n this.getTimestampAndSignatureHash(sigHeader);\n\n if (!signatureHash || Object.keys(signatureHash).length === 0) {\n throw new SignatureVerificationException(\n 'No signature hash found with expected scheme v1',\n );\n }\n\n if (parseInt(timestamp, 10) < Date.now() - tolerance) {\n throw new SignatureVerificationException(\n 'Timestamp outside the tolerance zone',\n );\n }\n\n const expectedSig = await this.computeSignature(timestamp, payload, secret);\n if (\n (await this.cryptoProvider.secureCompare(expectedSig, signatureHash)) ===\n false\n ) {\n throw new SignatureVerificationException(\n 'Signature hash does not match the expected signature hash for payload',\n );\n }\n return true;\n }\n\n getTimestampAndSignatureHash(sigHeader: string): [string, string] {\n const signature = sigHeader;\n const [t, v1] = signature.split(',');\n if (typeof t === 'undefined' || typeof v1 === 'undefined') {\n throw new SignatureVerificationException(\n 'Signature or timestamp missing',\n );\n }\n const { 1: timestamp } = t.split('=');\n const { 1: signatureHash } = v1.split('=');\n\n return [timestamp, signatureHash];\n }\n\n async computeSignature(\n timestamp: any,\n payload: any,\n secret: string,\n ): Promise<string> {\n payload = JSON.stringify(payload);\n const signedPayload = `${timestamp}.${payload}`;\n\n return await this.cryptoProvider.computeHMACSignatureAsync(\n signedPayload,\n secret,\n );\n }\n}\n"],"mappings":";;;AAGA,IAAa,oBAAb,MAA+B;CAC7B,AAAQ;CAER,YAAY,gBAAgC;AAC1C,OAAK,iBAAiB;;CAGxB,MAAM,aAAa,EACjB,SACA,WACA,QACA,YAAY,QAMO;EACnB,MAAM,CAAC,WAAW,iBAChB,KAAK,6BAA6B,UAAU;AAE9C,MAAI,CAAC,iBAAiB,OAAO,KAAK,cAAc,CAAC,WAAW,EAC1D,OAAM,IAAIA,wEACR,kDACD;AAGH,MAAI,SAAS,WAAW,GAAG,GAAG,KAAK,KAAK,GAAG,UACzC,OAAM,IAAIA,wEACR,uCACD;EAGH,MAAM,cAAc,MAAM,KAAK,iBAAiB,WAAW,SAAS,OAAO;AAC3E,MACG,MAAM,KAAK,eAAe,cAAc,aAAa,cAAc,KACpE,MAEA,OAAM,IAAIA,wEACR,wEACD;AAEH,SAAO;;CAGT,6BAA6B,WAAqC;EAEhE,MAAM,CAAC,GAAG,MADQ,UACQ,MAAM,IAAI;AACpC,MAAI,OAAO,MAAM,eAAe,OAAO,OAAO,YAC5C,OAAM,IAAIA,wEACR,iCACD;EAEH,MAAM,EAAE,GAAG,cAAc,EAAE,MAAM,IAAI;EACrC,MAAM,EAAE,GAAG,kBAAkB,GAAG,MAAM,IAAI;AAE1C,SAAO,CAAC,WAAW,cAAc;;CAGnC,MAAM,iBACJ,WACA,SACA,QACiB;AACjB,YAAU,KAAK,UAAU,QAAQ;EACjC,MAAM,gBAAgB,GAAG,UAAU,GAAG;AAEtC,SAAO,MAAM,KAAK,eAAe,0BAC/B,eACA,OACD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/common/exceptions/signature-verification.exception.d.ts
|
|
2
|
+
declare class SignatureVerificationException extends Error {
|
|
3
|
+
readonly name = "SignatureVerificationException";
|
|
4
|
+
constructor(message: string);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { SignatureVerificationException as t };
|
|
8
|
+
//# sourceMappingURL=signature-verification.exception-D2-xkCRS.d.cts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/mfa/serializers/sms.serializer.ts
|
|
3
|
+
const deserializeSms = (sms) => ({ phoneNumber: sms.phone_number });
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
Object.defineProperty(exports, 'deserializeSms', {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return deserializeSms;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=sms.serializer-DH2jsPuC.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms.serializer-DH2jsPuC.cjs","names":[],"sources":["../src/mfa/serializers/sms.serializer.ts"],"sourcesContent":["import { Sms, SmsResponse } from '../interfaces';\n\nexport const deserializeSms = (sms: SmsResponse): Sms => ({\n phoneNumber: sms.phone_number,\n});\n"],"mappings":";;AAEA,MAAa,kBAAkB,SAA2B,EACxD,aAAa,IAAI,cAClB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SSOPKCEAuthorizationURLResult, t as SSOAuthorizationURLOptions } from "../../authorization-url-options.interface-
|
|
1
|
+
import { n as SSOPKCEAuthorizationURLResult, t as SSOAuthorizationURLOptions } from "../../authorization-url-options.interface-C5ABtdiE.cjs";
|
|
2
2
|
export { SSOAuthorizationURLOptions, SSOPKCEAuthorizationURLResult };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ConnectionType } from "../../connection-type.enum-
|
|
1
|
+
import { t as ConnectionType } from "../../connection-type.enum-BCSkvlg6.cjs";
|
|
2
2
|
export { ConnectionType };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ConnectionDomain, r as ConnectionResponse, t as Connection } from "../../connection.interface-
|
|
1
|
+
import { n as ConnectionDomain, r as ConnectionResponse, t as Connection } from "../../connection.interface-D1HP4q90.cjs";
|
|
2
2
|
export { Connection, ConnectionDomain, ConnectionResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as GetProfileAndTokenOptions } from "../../get-profile-and-token-options.interface-
|
|
1
|
+
import { t as GetProfileAndTokenOptions } from "../../get-profile-and-token-options.interface-B4HEexcv.cjs";
|
|
2
2
|
export { GetProfileAndTokenOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as GetProfileOptions } from "../../get-profile-options.interface-
|
|
1
|
+
import { t as GetProfileOptions } from "../../get-profile-options.interface-BTqozSx_.cjs";
|
|
2
2
|
export { GetProfileOptions };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as ProfileAndTokenResponse, t as ProfileAndToken } from "../../profile-and-token.interface-D8SOsn-s.cjs";
|
|
1
|
+
import { Fn as ProfileAndTokenResponse, In as Profile, Ln as ProfileResponse, Pn as ProfileAndToken } from "../../index-DHEILHGo.cjs";
|
|
2
|
+
import { n as SSOPKCEAuthorizationURLResult, t as SSOAuthorizationURLOptions } from "../../authorization-url-options.interface-C5ABtdiE.cjs";
|
|
3
|
+
import { t as ConnectionType } from "../../connection-type.enum-BCSkvlg6.cjs";
|
|
4
|
+
import { n as ConnectionDomain, r as ConnectionResponse, t as Connection } from "../../connection.interface-D1HP4q90.cjs";
|
|
5
|
+
import { t as GetProfileOptions } from "../../get-profile-options.interface-BTqozSx_.cjs";
|
|
6
|
+
import { t as GetProfileAndTokenOptions } from "../../get-profile-and-token-options.interface-B4HEexcv.cjs";
|
|
7
|
+
import { n as SerializedListConnectionsOptions, t as ListConnectionsOptions } from "../../list-connections-options.interface-zYzKu8PV.cjs";
|
|
9
8
|
export { Connection, ConnectionDomain, ConnectionResponse, ConnectionType, GetProfileAndTokenOptions, GetProfileOptions, ListConnectionsOptions, Profile, ProfileAndToken, ProfileAndTokenResponse, ProfileResponse, SSOAuthorizationURLOptions, SSOPKCEAuthorizationURLResult, SerializedListConnectionsOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SerializedListConnectionsOptions, t as ListConnectionsOptions } from "../../list-connections-options.interface-
|
|
1
|
+
import { n as SerializedListConnectionsOptions, t as ListConnectionsOptions } from "../../list-connections-options.interface-zYzKu8PV.cjs";
|
|
2
2
|
export { ListConnectionsOptions, SerializedListConnectionsOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fn as ProfileAndTokenResponse, Pn as ProfileAndToken } from "../../index-DHEILHGo.cjs";
|
|
2
2
|
export { ProfileAndToken, ProfileAndTokenResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { In as Profile, Ln as ProfileResponse } from "../../index-DHEILHGo.cjs";
|
|
2
2
|
export { Profile, ProfileResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as deserializeConnection } from "../../connection.serializer-
|
|
1
|
+
import { t as deserializeConnection } from "../../connection.serializer-B47qKsDN.cjs";
|
|
2
2
|
export { deserializeConnection };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as deserializeConnection } from "../../connection.serializer-
|
|
2
|
-
import { t as serializeListConnectionsOptions } from "../../list-connections-options.serializer-
|
|
3
|
-
import { t as deserializeProfileAndToken } from "../../profile-and-token.serializer-
|
|
4
|
-
import { t as deserializeProfile } from "../../profile.serializer-
|
|
1
|
+
import { t as deserializeConnection } from "../../connection.serializer-B47qKsDN.cjs";
|
|
2
|
+
import { t as serializeListConnectionsOptions } from "../../list-connections-options.serializer-BQ887b-b.cjs";
|
|
3
|
+
import { t as deserializeProfileAndToken } from "../../profile-and-token.serializer-Bpr1CB7T.cjs";
|
|
4
|
+
import { t as deserializeProfile } from "../../profile.serializer-QeTKhj3R.cjs";
|
|
5
5
|
export { deserializeConnection, deserializeProfile, deserializeProfileAndToken, serializeListConnectionsOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as serializeListConnectionsOptions } from "../../list-connections-options.serializer-
|
|
1
|
+
import { t as serializeListConnectionsOptions } from "../../list-connections-options.serializer-BQ887b-b.cjs";
|
|
2
2
|
export { serializeListConnectionsOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as deserializeProfileAndToken } from "../../profile-and-token.serializer-
|
|
1
|
+
import { t as deserializeProfileAndToken } from "../../profile-and-token.serializer-Bpr1CB7T.cjs";
|
|
2
2
|
export { deserializeProfileAndToken };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as deserializeProfile } from "../../profile.serializer-
|
|
1
|
+
import { t as deserializeProfile } from "../../profile.serializer-QeTKhj3R.cjs";
|
|
2
2
|
export { deserializeProfile };
|
package/lib/sso/sso.cjs
CHANGED
package/lib/sso/sso.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as SSO } from "../api-keys-CrR113By.cjs";
|
|
2
2
|
export { SSO };
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
const require_pagination = require('./pagination-BG1uBuL4.cjs');
|
|
2
|
+
const require_connection_serializer = require('./connection.serializer-phS0D1t9.cjs');
|
|
3
|
+
const require_list_connections_options_serializer = require('./list-connections-options.serializer-B9jyhBCh.cjs');
|
|
4
|
+
const require_profile_serializer = require('./profile.serializer-BDlm0TRU.cjs');
|
|
5
|
+
const require_profile_and_token_serializer = require('./profile-and-token.serializer-CUFdGpX3.cjs');
|
|
6
|
+
const require_fetch_and_deserialize = require('./fetch-and-deserialize-B6lbfouV.cjs');
|
|
7
|
+
const require_query_string = require('./query-string-B9WibUJl.cjs');
|
|
8
|
+
|
|
9
|
+
//#region src/sso/sso.ts
|
|
10
|
+
var SSO = class {
|
|
11
|
+
constructor(workos) {
|
|
12
|
+
this.workos = workos;
|
|
13
|
+
}
|
|
14
|
+
async listConnections(options) {
|
|
15
|
+
return new require_pagination.AutoPaginatable(await require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/connections", require_connection_serializer.deserializeConnection, options ? require_list_connections_options_serializer.serializeListConnectionsOptions(options) : void 0), (params) => require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/connections", require_connection_serializer.deserializeConnection, params), options ? require_list_connections_options_serializer.serializeListConnectionsOptions(options) : void 0);
|
|
16
|
+
}
|
|
17
|
+
async deleteConnection(id) {
|
|
18
|
+
await this.workos.delete(`/connections/${id}`);
|
|
19
|
+
}
|
|
20
|
+
getAuthorizationUrl(options) {
|
|
21
|
+
const { codeChallenge, codeChallengeMethod, connection, clientId, domainHint, loginHint, organization, provider, providerQueryParams, providerScopes, redirectUri, state } = options;
|
|
22
|
+
if (!provider && !connection && !organization) throw new TypeError(`Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`);
|
|
23
|
+
const query = require_query_string.toQueryString({
|
|
24
|
+
code_challenge: codeChallenge,
|
|
25
|
+
code_challenge_method: codeChallengeMethod,
|
|
26
|
+
connection,
|
|
27
|
+
organization,
|
|
28
|
+
domain_hint: domainHint,
|
|
29
|
+
login_hint: loginHint,
|
|
30
|
+
provider,
|
|
31
|
+
provider_query_params: providerQueryParams,
|
|
32
|
+
provider_scopes: providerScopes,
|
|
33
|
+
client_id: clientId,
|
|
34
|
+
redirect_uri: redirectUri,
|
|
35
|
+
response_type: "code",
|
|
36
|
+
state
|
|
37
|
+
});
|
|
38
|
+
return `${this.workos.baseURL}/sso/authorize?${query}`;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Generates an authorization URL with PKCE parameters automatically generated.
|
|
42
|
+
* Use this for public clients (CLI apps, Electron, mobile) that cannot
|
|
43
|
+
* securely store a client secret.
|
|
44
|
+
*
|
|
45
|
+
* @returns Object containing url, state, and codeVerifier
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```typescript
|
|
49
|
+
* const { url, state, codeVerifier } = await workos.sso.getAuthorizationUrlWithPKCE({
|
|
50
|
+
* connection: 'conn_123',
|
|
51
|
+
* clientId: 'client_123',
|
|
52
|
+
* redirectUri: 'myapp://callback',
|
|
53
|
+
* });
|
|
54
|
+
*
|
|
55
|
+
* // Store state and codeVerifier securely, then redirect user to url
|
|
56
|
+
* // After callback, exchange the code:
|
|
57
|
+
* const { profile, accessToken } = await workos.sso.getProfileAndToken({
|
|
58
|
+
* code: authorizationCode,
|
|
59
|
+
* codeVerifier,
|
|
60
|
+
* clientId: 'client_123',
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
async getAuthorizationUrlWithPKCE(options) {
|
|
65
|
+
const { connection, clientId, domainHint, loginHint, organization, provider, providerQueryParams, providerScopes, redirectUri } = options;
|
|
66
|
+
if (!provider && !connection && !organization) throw new TypeError(`Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`);
|
|
67
|
+
const pkce = await this.workos.pkce.generate();
|
|
68
|
+
const state = this.workos.pkce.generateCodeVerifier(43);
|
|
69
|
+
const query = require_query_string.toQueryString({
|
|
70
|
+
code_challenge: pkce.codeChallenge,
|
|
71
|
+
code_challenge_method: "S256",
|
|
72
|
+
connection,
|
|
73
|
+
organization,
|
|
74
|
+
domain_hint: domainHint,
|
|
75
|
+
login_hint: loginHint,
|
|
76
|
+
provider,
|
|
77
|
+
provider_query_params: providerQueryParams,
|
|
78
|
+
provider_scopes: providerScopes,
|
|
79
|
+
client_id: clientId,
|
|
80
|
+
redirect_uri: redirectUri,
|
|
81
|
+
response_type: "code",
|
|
82
|
+
state
|
|
83
|
+
});
|
|
84
|
+
return {
|
|
85
|
+
url: `${this.workos.baseURL}/sso/authorize?${query}`,
|
|
86
|
+
state,
|
|
87
|
+
codeVerifier: pkce.codeVerifier
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
async getConnection(id) {
|
|
91
|
+
const { data } = await this.workos.get(`/connections/${id}`);
|
|
92
|
+
return require_connection_serializer.deserializeConnection(data);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Exchange an authorization code for a profile and access token.
|
|
96
|
+
*
|
|
97
|
+
* Auto-detects public vs confidential client mode:
|
|
98
|
+
* - If codeVerifier is provided: Uses PKCE flow (public client)
|
|
99
|
+
* - If no codeVerifier: Uses client_secret from API key (confidential client)
|
|
100
|
+
* - If both: Uses both client_secret AND codeVerifier (confidential client with PKCE)
|
|
101
|
+
*
|
|
102
|
+
* Using PKCE with confidential clients is recommended by OAuth 2.1 for defense
|
|
103
|
+
* in depth and provides additional CSRF protection on the authorization flow.
|
|
104
|
+
*
|
|
105
|
+
* @throws Error if neither codeVerifier nor API key is available
|
|
106
|
+
*/
|
|
107
|
+
async getProfileAndToken({ code, clientId, codeVerifier }) {
|
|
108
|
+
if (codeVerifier !== void 0 && codeVerifier.trim() === "") throw new TypeError("codeVerifier cannot be an empty string. Generate a valid PKCE pair using workos.pkce.generate().");
|
|
109
|
+
const hasApiKey = !!this.workos.key;
|
|
110
|
+
const hasPKCE = !!codeVerifier;
|
|
111
|
+
if (!hasPKCE && !hasApiKey) throw new TypeError("getProfileAndToken requires either a codeVerifier (for public clients) or an API key configured on the WorkOS instance (for confidential clients).");
|
|
112
|
+
const form = new URLSearchParams({
|
|
113
|
+
client_id: clientId,
|
|
114
|
+
grant_type: "authorization_code",
|
|
115
|
+
code
|
|
116
|
+
});
|
|
117
|
+
if (hasPKCE) form.set("code_verifier", codeVerifier);
|
|
118
|
+
if (hasApiKey) form.set("client_secret", this.workos.key);
|
|
119
|
+
const { data } = await this.workos.post("/sso/token", form, { skipApiKeyCheck: !hasApiKey });
|
|
120
|
+
return require_profile_and_token_serializer.deserializeProfileAndToken(data);
|
|
121
|
+
}
|
|
122
|
+
async getProfile({ accessToken }) {
|
|
123
|
+
const { data } = await this.workos.get("/sso/profile", { accessToken });
|
|
124
|
+
return require_profile_serializer.deserializeProfile(data);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
//#endregion
|
|
129
|
+
Object.defineProperty(exports, 'SSO', {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () {
|
|
132
|
+
return SSO;
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
//# sourceMappingURL=sso-DgPiUuie.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sso-DgPiUuie.cjs","names":["workos: WorkOS","AutoPaginatable","fetchAndDeserialize","deserializeConnection","serializeListConnectionsOptions","toQueryString","deserializeProfileAndToken","deserializeProfile"],"sources":["../src/sso/sso.ts"],"sourcesContent":["import { UnknownRecord } from '../common/interfaces/unknown-record.interface';\nimport { fetchAndDeserialize } from '../common/utils/fetch-and-deserialize';\nimport { AutoPaginatable } from '../common/utils/pagination';\nimport { toQueryString } from '../common/utils/query-string';\nimport { WorkOS } from '../workos';\nimport {\n Connection,\n ConnectionResponse,\n GetProfileAndTokenOptions,\n GetProfileOptions,\n ListConnectionsOptions,\n Profile,\n ProfileAndToken,\n ProfileAndTokenResponse,\n ProfileResponse,\n SSOAuthorizationURLOptions,\n SSOPKCEAuthorizationURLResult,\n SerializedListConnectionsOptions,\n} from './interfaces';\nimport {\n deserializeConnection,\n deserializeProfile,\n deserializeProfileAndToken,\n serializeListConnectionsOptions,\n} from './serializers';\n\nexport class SSO {\n constructor(private readonly workos: WorkOS) {}\n\n async listConnections(\n options?: ListConnectionsOptions,\n ): Promise<AutoPaginatable<Connection, SerializedListConnectionsOptions>> {\n return new AutoPaginatable(\n await fetchAndDeserialize<ConnectionResponse, Connection>(\n this.workos,\n '/connections',\n deserializeConnection,\n options ? serializeListConnectionsOptions(options) : undefined,\n ),\n (params) =>\n fetchAndDeserialize<ConnectionResponse, Connection>(\n this.workos,\n '/connections',\n deserializeConnection,\n params,\n ),\n options ? serializeListConnectionsOptions(options) : undefined,\n );\n }\n async deleteConnection(id: string) {\n await this.workos.delete(`/connections/${id}`);\n }\n\n getAuthorizationUrl(options: SSOAuthorizationURLOptions): string {\n const {\n codeChallenge,\n codeChallengeMethod,\n connection,\n clientId,\n domainHint,\n loginHint,\n organization,\n provider,\n providerQueryParams,\n providerScopes,\n redirectUri,\n state,\n } = options;\n\n if (!provider && !connection && !organization) {\n throw new TypeError(\n `Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`,\n );\n }\n\n const query = toQueryString({\n code_challenge: codeChallenge,\n code_challenge_method: codeChallengeMethod,\n connection,\n organization,\n domain_hint: domainHint,\n login_hint: loginHint,\n provider,\n provider_query_params: providerQueryParams,\n provider_scopes: providerScopes,\n client_id: clientId,\n redirect_uri: redirectUri,\n response_type: 'code',\n state,\n });\n\n return `${this.workos.baseURL}/sso/authorize?${query}`;\n }\n\n /**\n * Generates an authorization URL with PKCE parameters automatically generated.\n * Use this for public clients (CLI apps, Electron, mobile) that cannot\n * securely store a client secret.\n *\n * @returns Object containing url, state, and codeVerifier\n *\n * @example\n * ```typescript\n * const { url, state, codeVerifier } = await workos.sso.getAuthorizationUrlWithPKCE({\n * connection: 'conn_123',\n * clientId: 'client_123',\n * redirectUri: 'myapp://callback',\n * });\n *\n * // Store state and codeVerifier securely, then redirect user to url\n * // After callback, exchange the code:\n * const { profile, accessToken } = await workos.sso.getProfileAndToken({\n * code: authorizationCode,\n * codeVerifier,\n * clientId: 'client_123',\n * });\n * ```\n */\n async getAuthorizationUrlWithPKCE(\n options: Omit<\n SSOAuthorizationURLOptions,\n 'codeChallenge' | 'codeChallengeMethod' | 'state'\n >,\n ): Promise<SSOPKCEAuthorizationURLResult> {\n const {\n connection,\n clientId,\n domainHint,\n loginHint,\n organization,\n provider,\n providerQueryParams,\n providerScopes,\n redirectUri,\n } = options;\n\n if (!provider && !connection && !organization) {\n throw new TypeError(\n `Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`,\n );\n }\n\n // Generate PKCE parameters\n const pkce = await this.workos.pkce.generate();\n\n // Generate secure random state\n const state = this.workos.pkce.generateCodeVerifier(43);\n\n const query = toQueryString({\n code_challenge: pkce.codeChallenge,\n code_challenge_method: 'S256',\n connection,\n organization,\n domain_hint: domainHint,\n login_hint: loginHint,\n provider,\n provider_query_params: providerQueryParams,\n provider_scopes: providerScopes,\n client_id: clientId,\n redirect_uri: redirectUri,\n response_type: 'code',\n state,\n });\n\n const url = `${this.workos.baseURL}/sso/authorize?${query}`;\n\n return { url, state, codeVerifier: pkce.codeVerifier };\n }\n\n async getConnection(id: string): Promise<Connection> {\n const { data } = await this.workos.get<ConnectionResponse>(\n `/connections/${id}`,\n );\n\n return deserializeConnection(data);\n }\n\n /**\n * Exchange an authorization code for a profile and access token.\n *\n * Auto-detects public vs confidential client mode:\n * - If codeVerifier is provided: Uses PKCE flow (public client)\n * - If no codeVerifier: Uses client_secret from API key (confidential client)\n * - If both: Uses both client_secret AND codeVerifier (confidential client with PKCE)\n *\n * Using PKCE with confidential clients is recommended by OAuth 2.1 for defense\n * in depth and provides additional CSRF protection on the authorization flow.\n *\n * @throws Error if neither codeVerifier nor API key is available\n */\n async getProfileAndToken<\n CustomAttributesType extends UnknownRecord = UnknownRecord,\n >({\n code,\n clientId,\n codeVerifier,\n }: GetProfileAndTokenOptions): Promise<\n ProfileAndToken<CustomAttributesType>\n > {\n // Validate codeVerifier is not an empty string (common mistake)\n if (codeVerifier !== undefined && codeVerifier.trim() === '') {\n throw new TypeError(\n 'codeVerifier cannot be an empty string. ' +\n 'Generate a valid PKCE pair using workos.pkce.generate().',\n );\n }\n\n const hasApiKey = !!this.workos.key;\n const hasPKCE = !!codeVerifier;\n\n if (!hasPKCE && !hasApiKey) {\n throw new TypeError(\n 'getProfileAndToken requires either a codeVerifier (for public clients) ' +\n 'or an API key configured on the WorkOS instance (for confidential clients).',\n );\n }\n\n const form = new URLSearchParams({\n client_id: clientId,\n grant_type: 'authorization_code',\n code,\n });\n\n // Support PKCE with confidential clients (OAuth 2.1 best practice)\n // Both can be sent together for defense in depth\n if (hasPKCE) {\n form.set('code_verifier', codeVerifier);\n }\n if (hasApiKey) {\n form.set('client_secret', this.workos.key as string);\n }\n\n const { data } = await this.workos.post<\n ProfileAndTokenResponse<CustomAttributesType>\n >('/sso/token', form, { skipApiKeyCheck: !hasApiKey });\n\n return deserializeProfileAndToken(data);\n }\n\n async getProfile<CustomAttributesType extends UnknownRecord = UnknownRecord>({\n accessToken,\n }: GetProfileOptions): Promise<Profile<CustomAttributesType>> {\n const { data } = await this.workos.get<\n ProfileResponse<CustomAttributesType>\n >('/sso/profile', {\n accessToken,\n });\n\n return deserializeProfile(data);\n }\n}\n"],"mappings":";;;;;;;;;AA0BA,IAAa,MAAb,MAAiB;CACf,YAAY,AAAiBA,QAAgB;EAAhB;;CAE7B,MAAM,gBACJ,SACwE;AACxE,SAAO,IAAIC,mCACT,MAAMC,kDACJ,KAAK,QACL,gBACAC,qDACA,UAAUC,4EAAgC,QAAQ,GAAG,OACtD,GACA,WACCF,kDACE,KAAK,QACL,gBACAC,qDACA,OACD,EACH,UAAUC,4EAAgC,QAAQ,GAAG,OACtD;;CAEH,MAAM,iBAAiB,IAAY;AACjC,QAAM,KAAK,OAAO,OAAO,gBAAgB,KAAK;;CAGhD,oBAAoB,SAA6C;EAC/D,MAAM,EACJ,eACA,qBACA,YACA,UACA,YACA,WACA,cACA,UACA,qBACA,gBACA,aACA,UACE;AAEJ,MAAI,CAAC,YAAY,CAAC,cAAc,CAAC,aAC/B,OAAM,IAAI,UACR,8FACD;EAGH,MAAM,QAAQC,mCAAc;GAC1B,gBAAgB;GAChB,uBAAuB;GACvB;GACA;GACA,aAAa;GACb,YAAY;GACZ;GACA,uBAAuB;GACvB,iBAAiB;GACjB,WAAW;GACX,cAAc;GACd,eAAe;GACf;GACD,CAAC;AAEF,SAAO,GAAG,KAAK,OAAO,QAAQ,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BjD,MAAM,4BACJ,SAIwC;EACxC,MAAM,EACJ,YACA,UACA,YACA,WACA,cACA,UACA,qBACA,gBACA,gBACE;AAEJ,MAAI,CAAC,YAAY,CAAC,cAAc,CAAC,aAC/B,OAAM,IAAI,UACR,8FACD;EAIH,MAAM,OAAO,MAAM,KAAK,OAAO,KAAK,UAAU;EAG9C,MAAM,QAAQ,KAAK,OAAO,KAAK,qBAAqB,GAAG;EAEvD,MAAM,QAAQA,mCAAc;GAC1B,gBAAgB,KAAK;GACrB,uBAAuB;GACvB;GACA;GACA,aAAa;GACb,YAAY;GACZ;GACA,uBAAuB;GACvB,iBAAiB;GACjB,WAAW;GACX,cAAc;GACd,eAAe;GACf;GACD,CAAC;AAIF,SAAO;GAAE,KAFG,GAAG,KAAK,OAAO,QAAQ,iBAAiB;GAEtC;GAAO,cAAc,KAAK;GAAc;;CAGxD,MAAM,cAAc,IAAiC;EACnD,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,IACjC,gBAAgB,KACjB;AAED,SAAOF,oDAAsB,KAAK;;;;;;;;;;;;;;;CAgBpC,MAAM,mBAEJ,EACA,MACA,UACA,gBAGA;AAEA,MAAI,iBAAiB,UAAa,aAAa,MAAM,KAAK,GACxD,OAAM,IAAI,UACR,mGAED;EAGH,MAAM,YAAY,CAAC,CAAC,KAAK,OAAO;EAChC,MAAM,UAAU,CAAC,CAAC;AAElB,MAAI,CAAC,WAAW,CAAC,UACf,OAAM,IAAI,UACR,qJAED;EAGH,MAAM,OAAO,IAAI,gBAAgB;GAC/B,WAAW;GACX,YAAY;GACZ;GACD,CAAC;AAIF,MAAI,QACF,MAAK,IAAI,iBAAiB,aAAa;AAEzC,MAAI,UACF,MAAK,IAAI,iBAAiB,KAAK,OAAO,IAAc;EAGtD,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,KAEjC,cAAc,MAAM,EAAE,iBAAiB,CAAC,WAAW,CAAC;AAEtD,SAAOG,gEAA2B,KAAK;;CAGzC,MAAM,WAAuE,EAC3E,eAC4D;EAC5D,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,IAEjC,gBAAgB,EAChB,aACD,CAAC;AAEF,SAAOC,8CAAmB,KAAK"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
const require_crypto_provider = require('./crypto-provider-Bg3tRE2P.cjs');
|
|
2
|
+
|
|
3
|
+
//#region src/common/crypto/subtle-crypto-provider.ts
|
|
4
|
+
/**
|
|
5
|
+
* `CryptoProvider which uses the SubtleCrypto interface of the Web Crypto API.
|
|
6
|
+
*
|
|
7
|
+
* This only supports asynchronous operations.
|
|
8
|
+
*/
|
|
9
|
+
var SubtleCryptoProvider = class extends require_crypto_provider.CryptoProvider {
|
|
10
|
+
subtleCrypto;
|
|
11
|
+
constructor(subtleCrypto) {
|
|
12
|
+
super();
|
|
13
|
+
this.subtleCrypto = subtleCrypto || crypto.subtle;
|
|
14
|
+
}
|
|
15
|
+
computeHMACSignature(_payload, _secret) {
|
|
16
|
+
throw new Error("SubleCryptoProvider cannot be used in a synchronous context.");
|
|
17
|
+
}
|
|
18
|
+
/** @override */
|
|
19
|
+
async computeHMACSignatureAsync(payload, secret) {
|
|
20
|
+
const encoder = new TextEncoder();
|
|
21
|
+
const key = await this.subtleCrypto.importKey("raw", encoder.encode(secret), {
|
|
22
|
+
name: "HMAC",
|
|
23
|
+
hash: { name: "SHA-256" }
|
|
24
|
+
}, false, ["sign"]);
|
|
25
|
+
const signatureBuffer = await this.subtleCrypto.sign("hmac", key, encoder.encode(payload));
|
|
26
|
+
const signatureBytes = new Uint8Array(signatureBuffer);
|
|
27
|
+
const signatureHexCodes = new Array(signatureBytes.length);
|
|
28
|
+
for (let i = 0; i < signatureBytes.length; i++) signatureHexCodes[i] = byteHexMapping[signatureBytes[i]];
|
|
29
|
+
return signatureHexCodes.join("");
|
|
30
|
+
}
|
|
31
|
+
/** @override */
|
|
32
|
+
async secureCompare(stringA, stringB) {
|
|
33
|
+
const bufferA = this.encoder.encode(stringA);
|
|
34
|
+
const bufferB = this.encoder.encode(stringB);
|
|
35
|
+
if (bufferA.length !== bufferB.length) return false;
|
|
36
|
+
const algorithm = {
|
|
37
|
+
name: "HMAC",
|
|
38
|
+
hash: "SHA-256"
|
|
39
|
+
};
|
|
40
|
+
const key = await crypto.subtle.generateKey(algorithm, false, ["sign", "verify"]);
|
|
41
|
+
const hmac = await crypto.subtle.sign(algorithm, key, bufferA);
|
|
42
|
+
return await crypto.subtle.verify(algorithm, key, hmac, bufferB);
|
|
43
|
+
}
|
|
44
|
+
async encrypt(plaintext, key, iv, aad) {
|
|
45
|
+
const actualIv = iv || crypto.getRandomValues(new Uint8Array(32));
|
|
46
|
+
const cryptoKey = await this.subtleCrypto.importKey("raw", key, { name: "AES-GCM" }, false, ["encrypt"]);
|
|
47
|
+
const encryptParams = {
|
|
48
|
+
name: "AES-GCM",
|
|
49
|
+
iv: actualIv
|
|
50
|
+
};
|
|
51
|
+
if (aad) encryptParams.additionalData = aad;
|
|
52
|
+
const encryptedData = await this.subtleCrypto.encrypt(encryptParams, cryptoKey, plaintext);
|
|
53
|
+
const encryptedBytes = new Uint8Array(encryptedData);
|
|
54
|
+
const tagStart = encryptedBytes.length - 16;
|
|
55
|
+
const tag = encryptedBytes.slice(tagStart);
|
|
56
|
+
return {
|
|
57
|
+
ciphertext: encryptedBytes.slice(0, tagStart),
|
|
58
|
+
iv: actualIv,
|
|
59
|
+
tag
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
async decrypt(ciphertext, key, iv, tag, aad) {
|
|
63
|
+
const combinedData = new Uint8Array(ciphertext.length + tag.length);
|
|
64
|
+
combinedData.set(ciphertext, 0);
|
|
65
|
+
combinedData.set(tag, ciphertext.length);
|
|
66
|
+
const cryptoKey = await this.subtleCrypto.importKey("raw", key, { name: "AES-GCM" }, false, ["decrypt"]);
|
|
67
|
+
const decryptParams = {
|
|
68
|
+
name: "AES-GCM",
|
|
69
|
+
iv
|
|
70
|
+
};
|
|
71
|
+
if (aad) decryptParams.additionalData = aad;
|
|
72
|
+
const decryptedData = await this.subtleCrypto.decrypt(decryptParams, cryptoKey, combinedData);
|
|
73
|
+
return new Uint8Array(decryptedData);
|
|
74
|
+
}
|
|
75
|
+
randomBytes(length) {
|
|
76
|
+
const bytes = new Uint8Array(length);
|
|
77
|
+
crypto.getRandomValues(bytes);
|
|
78
|
+
return bytes;
|
|
79
|
+
}
|
|
80
|
+
randomUUID() {
|
|
81
|
+
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") return crypto.randomUUID();
|
|
82
|
+
const bytes = this.randomBytes(16);
|
|
83
|
+
bytes[6] = bytes[6] & 15 | 64;
|
|
84
|
+
bytes[8] = bytes[8] & 63 | 128;
|
|
85
|
+
const hex = Array.from(bytes, (b) => byteHexMapping[b]).join("");
|
|
86
|
+
return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
const byteHexMapping = new Array(256);
|
|
90
|
+
for (let i = 0; i < byteHexMapping.length; i++) byteHexMapping[i] = i.toString(16).padStart(2, "0");
|
|
91
|
+
|
|
92
|
+
//#endregion
|
|
93
|
+
Object.defineProperty(exports, 'SubtleCryptoProvider', {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () {
|
|
96
|
+
return SubtleCryptoProvider;
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
//# sourceMappingURL=subtle-crypto-provider-BMf63Lhz.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subtle-crypto-provider-BMf63Lhz.cjs","names":["CryptoProvider","encryptParams: AesGcmParams","decryptParams: AesGcmParams"],"sources":["../src/common/crypto/subtle-crypto-provider.ts"],"sourcesContent":["import { CryptoProvider } from './crypto-provider';\n\n/**\n * `CryptoProvider which uses the SubtleCrypto interface of the Web Crypto API.\n *\n * This only supports asynchronous operations.\n */\nexport class SubtleCryptoProvider extends CryptoProvider {\n subtleCrypto: SubtleCrypto;\n\n constructor(subtleCrypto?: SubtleCrypto) {\n super();\n\n // If no subtle crypto is interface, default to the global namespace. This\n // is to allow custom interfaces (eg. using the Node webcrypto interface in\n // tests).\n this.subtleCrypto = subtleCrypto || crypto.subtle;\n }\n\n computeHMACSignature(_payload: string, _secret: string): string {\n throw new Error(\n 'SubleCryptoProvider cannot be used in a synchronous context.',\n );\n }\n\n /** @override */\n async computeHMACSignatureAsync(\n payload: string,\n secret: string,\n ): Promise<string> {\n const encoder = new TextEncoder();\n\n const key = await this.subtleCrypto.importKey(\n 'raw',\n encoder.encode(secret),\n {\n name: 'HMAC',\n hash: { name: 'SHA-256' },\n },\n false,\n ['sign'],\n );\n\n const signatureBuffer = await this.subtleCrypto.sign(\n 'hmac',\n key,\n encoder.encode(payload),\n );\n\n // crypto.subtle returns the signature in base64 format. This must be\n // encoded in hex to match the CryptoProvider contract. We map each byte in\n // the buffer to its corresponding hex octet and then combine into a string.\n const signatureBytes = new Uint8Array(signatureBuffer);\n const signatureHexCodes = new Array(signatureBytes.length);\n\n for (let i = 0; i < signatureBytes.length; i++) {\n signatureHexCodes[i] = byteHexMapping[signatureBytes[i]];\n }\n\n return signatureHexCodes.join('');\n }\n\n /** @override */\n async secureCompare(stringA: string, stringB: string): Promise<boolean> {\n const bufferA = this.encoder.encode(stringA);\n const bufferB = this.encoder.encode(stringB);\n\n if (bufferA.length !== bufferB.length) {\n return false;\n }\n\n const algorithm = { name: 'HMAC', hash: 'SHA-256' };\n const key = (await crypto.subtle.generateKey(algorithm, false, [\n 'sign',\n 'verify',\n ])) as CryptoKey;\n const hmac = await crypto.subtle.sign(algorithm, key, bufferA);\n const equal = await crypto.subtle.verify(algorithm, key, hmac, bufferB);\n\n return equal;\n }\n\n async encrypt(\n plaintext: Uint8Array,\n key: Uint8Array,\n iv?: Uint8Array,\n aad?: Uint8Array,\n ): Promise<{\n ciphertext: Uint8Array;\n iv: Uint8Array;\n tag: Uint8Array;\n }> {\n const actualIv = iv || crypto.getRandomValues(new Uint8Array(32));\n\n const cryptoKey = await this.subtleCrypto.importKey(\n 'raw',\n key as BufferSource,\n { name: 'AES-GCM' },\n false,\n ['encrypt'],\n );\n\n const encryptParams: AesGcmParams = {\n name: 'AES-GCM',\n iv: actualIv as BufferSource,\n };\n\n if (aad) {\n encryptParams.additionalData = aad as BufferSource;\n }\n\n const encryptedData = await this.subtleCrypto.encrypt(\n encryptParams,\n cryptoKey,\n plaintext as BufferSource,\n );\n\n const encryptedBytes = new Uint8Array(encryptedData);\n\n // Extract tag (last 16 bytes)\n const tagSize = 16;\n const tagStart = encryptedBytes.length - tagSize;\n const tag = encryptedBytes.slice(tagStart);\n const ciphertext = encryptedBytes.slice(0, tagStart);\n\n return {\n ciphertext,\n iv: actualIv,\n tag,\n };\n }\n\n async decrypt(\n ciphertext: Uint8Array,\n key: Uint8Array,\n iv: Uint8Array,\n tag: Uint8Array,\n aad?: Uint8Array,\n ): Promise<Uint8Array> {\n // SubtleCrypto expects tag to be appended to ciphertext for AES-GCM\n const combinedData = new Uint8Array(ciphertext.length + tag.length);\n combinedData.set(ciphertext, 0);\n combinedData.set(tag, ciphertext.length);\n\n const cryptoKey = await this.subtleCrypto.importKey(\n 'raw',\n key as BufferSource,\n { name: 'AES-GCM' },\n false,\n ['decrypt'],\n );\n\n const decryptParams: AesGcmParams = {\n name: 'AES-GCM',\n iv: iv as BufferSource,\n };\n\n if (aad) {\n decryptParams.additionalData = aad as BufferSource;\n }\n\n const decryptedData = await this.subtleCrypto.decrypt(\n decryptParams,\n cryptoKey,\n combinedData,\n );\n\n return new Uint8Array(decryptedData);\n }\n\n randomBytes(length: number): Uint8Array {\n const bytes = new Uint8Array(length);\n crypto.getRandomValues(bytes);\n return bytes;\n }\n\n randomUUID(): string {\n if (\n typeof crypto !== 'undefined' &&\n typeof crypto.randomUUID === 'function'\n ) {\n return crypto.randomUUID();\n }\n\n // Fallback for environments without crypto.randomUUID\n const bytes = this.randomBytes(16);\n // tslint:disable-next-line:no-bitwise\n bytes[6] = (bytes[6] & 0x0f) | 0x40; // version 4\n // tslint:disable-next-line:no-bitwise\n bytes[8] = (bytes[8] & 0x3f) | 0x80; // variant\n\n const hex = Array.from(bytes, (b) => byteHexMapping[b]).join('');\n return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(\n 12,\n 16,\n )}-${hex.slice(16, 20)}-${hex.slice(20)}`;\n }\n}\n\n// Cached mapping of byte to hex representation. We do this once to avoid re-\n// computing every time we need to convert the result of a signature to hex.\nconst byteHexMapping = new Array(256);\nfor (let i = 0; i < byteHexMapping.length; i++) {\n byteHexMapping[i] = i.toString(16).padStart(2, '0');\n}\n"],"mappings":";;;;;;;;AAOA,IAAa,uBAAb,cAA0CA,uCAAe;CACvD;CAEA,YAAY,cAA6B;AACvC,SAAO;AAKP,OAAK,eAAe,gBAAgB,OAAO;;CAG7C,qBAAqB,UAAkB,SAAyB;AAC9D,QAAM,IAAI,MACR,+DACD;;;CAIH,MAAM,0BACJ,SACA,QACiB;EACjB,MAAM,UAAU,IAAI,aAAa;EAEjC,MAAM,MAAM,MAAM,KAAK,aAAa,UAClC,OACA,QAAQ,OAAO,OAAO,EACtB;GACE,MAAM;GACN,MAAM,EAAE,MAAM,WAAW;GAC1B,EACD,OACA,CAAC,OAAO,CACT;EAED,MAAM,kBAAkB,MAAM,KAAK,aAAa,KAC9C,QACA,KACA,QAAQ,OAAO,QAAQ,CACxB;EAKD,MAAM,iBAAiB,IAAI,WAAW,gBAAgB;EACtD,MAAM,oBAAoB,IAAI,MAAM,eAAe,OAAO;AAE1D,OAAK,IAAI,IAAI,GAAG,IAAI,eAAe,QAAQ,IACzC,mBAAkB,KAAK,eAAe,eAAe;AAGvD,SAAO,kBAAkB,KAAK,GAAG;;;CAInC,MAAM,cAAc,SAAiB,SAAmC;EACtE,MAAM,UAAU,KAAK,QAAQ,OAAO,QAAQ;EAC5C,MAAM,UAAU,KAAK,QAAQ,OAAO,QAAQ;AAE5C,MAAI,QAAQ,WAAW,QAAQ,OAC7B,QAAO;EAGT,MAAM,YAAY;GAAE,MAAM;GAAQ,MAAM;GAAW;EACnD,MAAM,MAAO,MAAM,OAAO,OAAO,YAAY,WAAW,OAAO,CAC7D,QACA,SACD,CAAC;EACF,MAAM,OAAO,MAAM,OAAO,OAAO,KAAK,WAAW,KAAK,QAAQ;AAG9D,SAFc,MAAM,OAAO,OAAO,OAAO,WAAW,KAAK,MAAM,QAAQ;;CAKzE,MAAM,QACJ,WACA,KACA,IACA,KAKC;EACD,MAAM,WAAW,MAAM,OAAO,gBAAgB,IAAI,WAAW,GAAG,CAAC;EAEjE,MAAM,YAAY,MAAM,KAAK,aAAa,UACxC,OACA,KACA,EAAE,MAAM,WAAW,EACnB,OACA,CAAC,UAAU,CACZ;EAED,MAAMC,gBAA8B;GAClC,MAAM;GACN,IAAI;GACL;AAED,MAAI,IACF,eAAc,iBAAiB;EAGjC,MAAM,gBAAgB,MAAM,KAAK,aAAa,QAC5C,eACA,WACA,UACD;EAED,MAAM,iBAAiB,IAAI,WAAW,cAAc;EAIpD,MAAM,WAAW,eAAe,SADhB;EAEhB,MAAM,MAAM,eAAe,MAAM,SAAS;AAG1C,SAAO;GACL,YAHiB,eAAe,MAAM,GAAG,SAAS;GAIlD,IAAI;GACJ;GACD;;CAGH,MAAM,QACJ,YACA,KACA,IACA,KACA,KACqB;EAErB,MAAM,eAAe,IAAI,WAAW,WAAW,SAAS,IAAI,OAAO;AACnE,eAAa,IAAI,YAAY,EAAE;AAC/B,eAAa,IAAI,KAAK,WAAW,OAAO;EAExC,MAAM,YAAY,MAAM,KAAK,aAAa,UACxC,OACA,KACA,EAAE,MAAM,WAAW,EACnB,OACA,CAAC,UAAU,CACZ;EAED,MAAMC,gBAA8B;GAClC,MAAM;GACF;GACL;AAED,MAAI,IACF,eAAc,iBAAiB;EAGjC,MAAM,gBAAgB,MAAM,KAAK,aAAa,QAC5C,eACA,WACA,aACD;AAED,SAAO,IAAI,WAAW,cAAc;;CAGtC,YAAY,QAA4B;EACtC,MAAM,QAAQ,IAAI,WAAW,OAAO;AACpC,SAAO,gBAAgB,MAAM;AAC7B,SAAO;;CAGT,aAAqB;AACnB,MACE,OAAO,WAAW,eAClB,OAAO,OAAO,eAAe,WAE7B,QAAO,OAAO,YAAY;EAI5B,MAAM,QAAQ,KAAK,YAAY,GAAG;AAElC,QAAM,KAAM,MAAM,KAAK,KAAQ;AAE/B,QAAM,KAAM,MAAM,KAAK,KAAQ;EAE/B,MAAM,MAAM,MAAM,KAAK,QAAQ,MAAM,eAAe,GAAG,CAAC,KAAK,GAAG;AAChE,SAAO,GAAG,IAAI,MAAM,GAAG,EAAE,CAAC,GAAG,IAAI,MAAM,GAAG,GAAG,CAAC,GAAG,IAAI,MACnD,IACA,GACD,CAAC,GAAG,IAAI,MAAM,IAAI,GAAG,CAAC,GAAG,IAAI,MAAM,GAAG;;;AAM3C,MAAM,iBAAiB,IAAI,MAAM,IAAI;AACrC,KAAK,IAAI,IAAI,GAAG,IAAI,eAAe,QAAQ,IACzC,gBAAe,KAAK,EAAE,SAAS,GAAG,CAAC,SAAS,GAAG,IAAI"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/mfa/interfaces/totp.interface.d.ts
|
|
2
|
+
interface Totp {
|
|
3
|
+
issuer: string;
|
|
4
|
+
user: string;
|
|
5
|
+
}
|
|
6
|
+
interface TotpWithSecrets extends Totp {
|
|
7
|
+
qrCode: string;
|
|
8
|
+
secret: string;
|
|
9
|
+
uri: string;
|
|
10
|
+
}
|
|
11
|
+
interface TotpResponse {
|
|
12
|
+
issuer: string;
|
|
13
|
+
user: string;
|
|
14
|
+
}
|
|
15
|
+
interface TotpWithSecretsResponse extends TotpResponse {
|
|
16
|
+
qr_code: string;
|
|
17
|
+
secret: string;
|
|
18
|
+
uri: string;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { TotpWithSecretsResponse as i, TotpResponse as n, TotpWithSecrets as r, Totp as t };
|
|
22
|
+
//# sourceMappingURL=totp.interface-4Tn9mcvR.d.cts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as RequestException } from "./request-exception.interface-DahTOGID.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/common/exceptions/unauthorized.exception.d.ts
|
|
4
|
+
declare class UnauthorizedException extends Error implements RequestException {
|
|
5
|
+
readonly requestID: string;
|
|
6
|
+
readonly status = 401;
|
|
7
|
+
readonly name = "UnauthorizedException";
|
|
8
|
+
readonly message: string;
|
|
9
|
+
constructor(requestID: string);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { UnauthorizedException as t };
|
|
13
|
+
//# sourceMappingURL=unauthorized.exception-B0Ma7wJ5.d.cts.map
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/common/interfaces/unprocessable-entity-error.interface.d.ts
|
|
2
|
+
interface UnprocessableEntityError {
|
|
3
|
+
field: string;
|
|
4
|
+
code: string;
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { UnprocessableEntityError as t };
|
|
8
|
+
//# sourceMappingURL=unprocessable-entity-error.interface-CGfXN5Ma.d.cts.map
|