@workos-inc/node 8.1.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{access-token.interface-CRaRBZsU.d.cts → access-token.interface-PK6QwTjk.d.cts} +1 -1
- package/lib/{action.interface-DuyarN1t.d.cts → action.interface-D1_tZFKt.d.cts} +5 -5
- 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.d.cts +1 -1
- package/lib/{actions-DTMrvfa0.d.cts → actions-dIejjUW1.d.cts} +4 -4
- package/lib/add-environment-role-permission-options.interface-Pk9Z0RBF.d.cts +7 -0
- package/lib/{add-flag-target-options.interface-CSZH3Ukq.d.cts → add-flag-target-options.interface-CJ7M40Wi.d.cts} +1 -1
- package/lib/add-organization-role-permission-options.interface-Oc11Zzvq.d.cts +7 -0
- package/lib/{api-key-required.exception-B3Qy27bt.d.cts → api-key-required.exception-DTYoK0KE.d.cts} +1 -1
- package/lib/{api-key.interface-Bc1XdCvA.d.cts → api-key.interface-SUHnxEHj.d.cts} +1 -1
- package/lib/{api-key.serializer-CFSEdidV.d.cts → api-key.serializer-DWK81bXa.d.cts} +2 -2
- package/lib/api-keys/api-keys.d.cts +1 -1
- package/lib/api-keys/interfaces/api-key.interface.d.cts +1 -1
- package/lib/api-keys/interfaces/create-organization-api-key-options.interface.d.cts +1 -1
- package/lib/api-keys/interfaces/created-api-key.interface.d.cts +1 -1
- package/lib/api-keys/interfaces/index.d.cts +5 -5
- package/lib/api-keys/interfaces/list-organization-api-keys-options.interface.d.cts +1 -1
- package/lib/api-keys/interfaces/validate-api-key.interface.d.cts +1 -1
- package/lib/api-keys/serializers/api-key.serializer.d.cts +1 -1
- package/lib/api-keys/serializers/create-organization-api-key-options.serializer.d.cts +1 -1
- package/lib/api-keys/serializers/created-api-key.serializer.d.cts +1 -1
- package/lib/api-keys/serializers/index.d.cts +4 -4
- package/lib/api-keys/serializers/validate-api-key.serializer.d.cts +1 -1
- package/lib/{api-keys-DMUGmsZs.d.cts → api-keys-4KSJ7vul.d.cts} +153 -114
- package/lib/{app-info.interface-CETHNJs2.d.cts → app-info.interface-DQRHsNPh.d.cts} +1 -1
- package/lib/{audit-log-export-options.interface-DyG_8W4Y.d.cts → audit-log-export-options.interface-BLw_RWFk.d.cts} +1 -1
- package/lib/{audit-log-export-options.serializer-Cnxrfmfn.d.cts → audit-log-export-options.serializer-ffwj8kRw.d.cts} +2 -2
- package/lib/{audit-log-export.interface-Cgko18qD.d.cts → audit-log-export.interface-oDR72O0J.d.cts} +1 -1
- package/lib/{audit-log-export.serializer-CUII4Y4i.d.cts → audit-log-export.serializer-DVMljTPL.d.cts} +2 -2
- package/lib/audit-logs/audit-logs.d.cts +1 -1
- package/lib/audit-logs/interfaces/audit-log-export-options.interface.d.cts +1 -1
- package/lib/audit-logs/interfaces/audit-log-export.interface.d.cts +1 -1
- package/lib/audit-logs/interfaces/create-audit-log-event-options.interface.d.cts +1 -1
- package/lib/audit-logs/interfaces/create-audit-log-schema-options.interface.d.cts +1 -1
- package/lib/audit-logs/interfaces/index.d.cts +4 -4
- package/lib/audit-logs/serializers/audit-log-export-options.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/audit-log-export.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/create-audit-log-event-options.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/create-audit-log-schema-options.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/create-audit-log-schema.serializer.d.cts +1 -1
- package/lib/audit-logs/serializers/index.d.cts +5 -5
- package/lib/{authenticate-with-code-and-verifier-options.interface-D2SVWZby.d.cts → authenticate-with-code-and-verifier-options.interface-CifpWY0M.d.cts} +2 -2
- package/lib/{authenticate-with-code-and-verifier-options.serializer-BaPf8uVv.d.cts → authenticate-with-code-and-verifier-options.serializer-BqSvuzAF.d.cts} +3 -3
- package/lib/{authenticate-with-code-options.interface-_PQBLQ-f.d.cts → authenticate-with-code-options.interface-CtsvRTYS.d.cts} +2 -2
- package/lib/{authenticate-with-code-options.serializer-gTbr4N1f.d.cts → authenticate-with-code-options.serializer-Blhrjiq0.d.cts} +3 -3
- package/lib/{authenticate-with-email-verification-options.interface-Duq7TpqS.d.cts → authenticate-with-email-verification-options.interface-BCC2K9Zp.d.cts} +2 -2
- package/lib/{authenticate-with-magic-auth-options.interface-B4zDB7Px.d.cts → authenticate-with-magic-auth-options.interface-Dmxc0Aes.d.cts} +2 -2
- package/lib/{authenticate-with-magic-auth-options.serializer-BIqxsKdv.d.cts → authenticate-with-magic-auth-options.serializer-DAjj_AJh.d.cts} +3 -3
- package/lib/{authenticate-with-options-base.interface-B47-j3MI.d.cts → authenticate-with-options-base.interface-Dx_YCajX.d.cts} +1 -1
- package/lib/{authenticate-with-organization-selection.interface-BwhjlciB.d.cts → authenticate-with-organization-selection.interface-DYOjeIvu.d.cts} +2 -2
- package/lib/{authenticate-with-password-options.interface-CfCSnrac.d.cts → authenticate-with-password-options.interface-BbjZEbmt.d.cts} +2 -2
- package/lib/{authenticate-with-password-options.serializer-CJKEMwi6.d.cts → authenticate-with-password-options.serializer-CFKO59Ra.d.cts} +3 -3
- package/lib/{authenticate-with-refresh-token-options.interface-DSYu4cDc.d.cts → authenticate-with-refresh-token-options.interface-CqS4TJ3X.d.cts} +2 -2
- package/lib/{authenticate-with-refresh-token-public-client-options.interface-N18YC9dn.d.cts → authenticate-with-refresh-token-public-client-options.interface-TPswbB8Z.d.cts} +2 -2
- package/lib/{authenticate-with-refresh-token-public-client-options.serializer-Bf8QhT2D.d.cts → authenticate-with-refresh-token-public-client-options.serializer-Ccv24S4s.d.cts} +3 -3
- package/lib/{authenticate-with-refresh-token.options.serializer-BEz5Vf-W.d.cts → authenticate-with-refresh-token.options.serializer-Dhk9Zd7b.d.cts} +4 -4
- package/lib/{authenticate-with-session-cookie.interface-BfanVwPO.d.cts → authenticate-with-session-cookie.interface-CoZAMXL_.d.cts} +4 -4
- package/lib/{authenticate-with-totp-options.interface-LhACZ5GS.d.cts → authenticate-with-totp-options.interface-C0Jr3YDb.d.cts} +2 -2
- package/lib/{authenticate-with-totp-options.serializer-rMi4rFLn.d.cts → authenticate-with-totp-options.serializer-BcaV2QsQ.d.cts} +3 -3
- package/lib/{authentication-event.interface-DXEILc55.d.cts → authentication-event.interface-0-TCj9ur.d.cts} +1 -1
- package/lib/{authentication-event.serializer-CovU_aZ3.d.cts → authentication-event.serializer-DX0bzXas.d.cts} +2 -2
- package/lib/{authentication-radar-risk-detected-event.interface-CcuNPOCx.d.cts → authentication-radar-risk-detected-event.interface-CcBMeCX7.d.cts} +1 -1
- package/lib/{authentication-response.interface-CZE2FVdd.d.cts → authentication-response.interface-DITy4Tzw.d.cts} +4 -4
- package/lib/{authentication-response.serializer-mhp8UqVs.d.cts → authentication-response.serializer-DIJ8dZZS.d.cts} +2 -2
- package/lib/authorization/authorization.cjs +3 -0
- package/lib/authorization/authorization.d.cts +2 -0
- package/lib/authorization/authorization.d.ts +45 -0
- package/lib/authorization/authorization.js +106 -0
- package/lib/authorization/authorization.js.map +1 -0
- package/lib/authorization/index.cjs +4 -0
- package/lib/authorization/index.d.cts +17 -0
- package/lib/authorization/index.d.ts +17 -0
- package/lib/authorization/index.js +3 -0
- package/lib/authorization/interfaces/add-environment-role-permission-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/add-environment-role-permission-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/add-environment-role-permission-options.interface.js +1 -0
- package/lib/authorization/interfaces/add-organization-role-permission-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/add-organization-role-permission-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/add-organization-role-permission-options.interface.js +1 -0
- package/lib/authorization/interfaces/create-environment-role-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/create-environment-role-options.interface.d.ts +14 -0
- package/lib/authorization/interfaces/create-environment-role-options.interface.js +1 -0
- package/lib/authorization/interfaces/create-organization-role-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/create-organization-role-options.interface.d.ts +14 -0
- package/lib/authorization/interfaces/create-organization-role-options.interface.js +1 -0
- package/lib/authorization/interfaces/create-permission-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/create-permission-options.interface.d.ts +14 -0
- package/lib/authorization/interfaces/create-permission-options.interface.js +1 -0
- package/lib/authorization/interfaces/environment-role.interface.d.cts +2 -0
- package/lib/authorization/interfaces/environment-role.interface.d.ts +34 -0
- package/lib/authorization/interfaces/environment-role.interface.js +1 -0
- package/lib/authorization/interfaces/index.d.cts +16 -0
- package/lib/authorization/interfaces/index.d.ts +16 -0
- package/lib/authorization/interfaces/index.js +1 -0
- package/lib/authorization/interfaces/list-permissions-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/list-permissions-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/list-permissions-options.interface.js +1 -0
- package/lib/authorization/interfaces/organization-role.interface.d.cts +2 -0
- package/lib/authorization/interfaces/organization-role.interface.d.ts +15 -0
- package/lib/authorization/interfaces/organization-role.interface.js +1 -0
- package/lib/authorization/interfaces/permission.interface.d.cts +2 -0
- package/lib/authorization/interfaces/permission.interface.d.ts +40 -0
- package/lib/authorization/interfaces/permission.interface.js +1 -0
- package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.js +1 -0
- package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.js +1 -0
- package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.d.ts +7 -0
- package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.js +1 -0
- package/lib/authorization/interfaces/update-environment-role-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/update-environment-role-options.interface.d.ts +12 -0
- package/lib/authorization/interfaces/update-environment-role-options.interface.js +1 -0
- package/lib/authorization/interfaces/update-organization-role-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/update-organization-role-options.interface.d.ts +12 -0
- package/lib/authorization/interfaces/update-organization-role-options.interface.js +1 -0
- package/lib/authorization/interfaces/update-permission-options.interface.d.cts +2 -0
- package/lib/authorization/interfaces/update-permission-options.interface.d.ts +12 -0
- package/lib/authorization/interfaces/update-permission-options.interface.js +1 -0
- package/lib/authorization/serializers/create-environment-role-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/create-environment-role-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/create-environment-role-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/create-environment-role-options.serializer.js +10 -0
- package/lib/authorization/serializers/create-environment-role-options.serializer.js.map +1 -0
- package/lib/authorization/serializers/create-organization-role-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/create-organization-role-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/create-organization-role-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/create-organization-role-options.serializer.js +10 -0
- package/lib/authorization/serializers/create-organization-role-options.serializer.js.map +1 -0
- package/lib/authorization/serializers/create-permission-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/create-permission-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/create-permission-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/create-permission-options.serializer.js +10 -0
- package/lib/authorization/serializers/create-permission-options.serializer.js.map +1 -0
- package/lib/authorization/serializers/environment-role.serializer.cjs +3 -0
- package/lib/authorization/serializers/environment-role.serializer.d.cts +2 -0
- package/lib/authorization/serializers/environment-role.serializer.d.ts +7 -0
- package/lib/authorization/serializers/environment-role.serializer.js +16 -0
- package/lib/authorization/serializers/environment-role.serializer.js.map +1 -0
- package/lib/authorization/serializers/index.cjs +20 -0
- package/lib/authorization/serializers/index.d.cts +10 -0
- package/lib/authorization/serializers/index.d.ts +10 -0
- package/lib/authorization/serializers/index.js +11 -0
- package/lib/authorization/serializers/organization-role.serializer.cjs +4 -0
- package/lib/authorization/serializers/organization-role.serializer.d.cts +2 -0
- package/lib/authorization/serializers/organization-role.serializer.d.ts +9 -0
- package/lib/authorization/serializers/organization-role.serializer.js +27 -0
- package/lib/authorization/serializers/organization-role.serializer.js.map +1 -0
- package/lib/authorization/serializers/permission.serializer.cjs +3 -0
- package/lib/authorization/serializers/permission.serializer.d.cts +2 -0
- package/lib/authorization/serializers/permission.serializer.d.ts +7 -0
- package/lib/authorization/serializers/permission.serializer.js +15 -0
- package/lib/authorization/serializers/permission.serializer.js.map +1 -0
- package/lib/authorization/serializers/update-environment-role-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/update-environment-role-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/update-environment-role-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/update-environment-role-options.serializer.js +9 -0
- package/lib/authorization/serializers/update-environment-role-options.serializer.js.map +1 -0
- package/lib/authorization/serializers/update-organization-role-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/update-organization-role-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/update-organization-role-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/update-organization-role-options.serializer.js +9 -0
- package/lib/authorization/serializers/update-organization-role-options.serializer.js.map +1 -0
- package/lib/authorization/serializers/update-permission-options.serializer.cjs +3 -0
- package/lib/authorization/serializers/update-permission-options.serializer.d.cts +2 -0
- package/lib/authorization/serializers/update-permission-options.serializer.d.ts +7 -0
- package/lib/authorization/serializers/update-permission-options.serializer.js +9 -0
- package/lib/authorization/serializers/update-permission-options.serializer.js.map +1 -0
- package/lib/authorization-BQtSYdHQ.cjs +111 -0
- package/lib/authorization-BQtSYdHQ.cjs.map +1 -0
- package/lib/{authorization-url-options.interface-BbIXXS2F.d.cts → authorization-url-options.interface-BwBNFg0Z.d.cts} +1 -1
- package/lib/{authorization-url-options.interface-Cs9dWC8D.d.cts → authorization-url-options.interface-C5ABtdiE.d.cts} +1 -1
- package/lib/{bad-request.exception-KjLJBnk8.d.cts → bad-request.exception-BWL7y3t5.d.cts} +2 -2
- package/lib/{base64-Bch1KFsQ.cjs → base64-8aJjmiTE.cjs} +1 -1
- package/lib/{base64-Bch1KFsQ.cjs.map → base64-8aJjmiTE.cjs.map} +1 -1
- package/lib/{batch-write-resources-options.serializer-q2EamfTe.d.cts → batch-write-resources-options.serializer-G63Eiv-r.d.cts} +2 -2
- package/lib/{challenge-factor-options-88fR92i-.d.cts → challenge-factor-options-DQBD-OBq.d.cts} +1 -1
- package/lib/{challenge.interface-DUM9qMGp.d.cts → challenge.interface-CGUxrdzT.d.cts} +1 -1
- package/lib/{challenge.serializer-BYPoaw59.d.cts → challenge.serializer-C9JkzvE8.d.cts} +2 -2
- package/lib/{check-op.enum-BwJZx-i9.d.cts → check-op.enum-1gyp3mY_.d.cts} +1 -1
- package/lib/{check-options.serializer-BPqbwhK1.d.cts → check-options.serializer-C7So55Kd.d.cts} +2 -2
- package/lib/{check.interface-CYFe8m8j.d.cts → check.interface-oac-oCtg.d.cts} +6 -6
- package/lib/common/crypto/crypto-provider.d.cts +1 -1
- package/lib/common/crypto/signature-provider.d.cts +1 -1
- package/lib/common/crypto/subtle-crypto-provider.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.d.cts +1 -1
- package/lib/common/exceptions/rate-limit-exceeded.exception.d.cts +1 -1
- package/lib/common/exceptions/signature-verification.exception.d.cts +1 -1
- package/lib/common/exceptions/unauthorized.exception.d.cts +1 -1
- package/lib/common/exceptions/unprocessable-entity.exception.d.cts +1 -1
- package/lib/common/interfaces/app-info.interface.d.cts +1 -1
- package/lib/common/interfaces/event.interface.d.cts +1 -1
- package/lib/common/interfaces/get-options.interface.d.cts +1 -1
- package/lib/common/interfaces/http-client.interface.d.cts +1 -1
- package/lib/common/interfaces/index.d.cts +12 -11
- package/lib/common/interfaces/index.d.ts +2 -1
- package/lib/common/interfaces/list.interface.d.cts +1 -1
- package/lib/common/interfaces/pagination-options.interface.d.cts +1 -1
- package/lib/common/interfaces/patch-options.interface.d.cts +2 -0
- package/lib/common/interfaces/patch-options.interface.d.ts +12 -0
- package/lib/common/interfaces/patch-options.interface.js +1 -0
- package/lib/common/interfaces/post-options.interface.d.cts +1 -1
- package/lib/common/interfaces/put-options.interface.d.cts +1 -1
- package/lib/common/interfaces/request-exception.interface.d.cts +1 -1
- package/lib/common/interfaces/unknown-record.interface.d.cts +1 -1
- package/lib/common/interfaces/unprocessable-entity-error.interface.d.cts +1 -1
- package/lib/common/interfaces/workos-options.interface.d.cts +1 -1
- package/lib/common/interfaces/workos-response-error.interface.d.cts +1 -1
- package/lib/common/net/fetch-client.cjs +1 -1
- package/lib/common/net/fetch-client.d.cts +3 -2
- package/lib/common/net/fetch-client.d.ts +1 -0
- package/lib/common/net/fetch-client.js +11 -0
- package/lib/common/net/fetch-client.js.map +1 -1
- package/lib/common/net/http-client.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.d.cts +1 -1
- package/lib/common/serializers/index.d.cts +2 -2
- package/lib/common/serializers/list.serializer.d.cts +1 -1
- package/lib/common/utils/base64.cjs +1 -1
- package/lib/common/utils/fetch-and-deserialize.d.cts +4 -4
- package/lib/common/utils/leb128.cjs +1 -1
- package/lib/common/utils/pagination.d.cts +1 -1
- package/lib/common/utils/runtime-info.cjs +1 -1
- package/lib/{conflict.exception-CN3a7Qrw.cjs → conflict.exception-4m45wGr8.cjs} +1 -1
- package/lib/{conflict.exception-CN3a7Qrw.cjs.map → conflict.exception-4m45wGr8.cjs.map} +1 -1
- package/lib/{connection-type.enum-Cu3iqCqL.d.cts → connection-type.enum-BCSkvlg6.d.cts} +1 -1
- package/lib/{connection-type.enum-DPs-QB7_.cjs → connection-type.enum-CQncLVbr.cjs} +1 -1
- package/lib/{connection-type.enum-DPs-QB7_.cjs.map → connection-type.enum-CQncLVbr.cjs.map} +1 -1
- package/lib/{connection.interface-DvRENQyW.d.cts → connection.interface-D1HP4q90.d.cts} +2 -2
- package/lib/{connection.serializer-B_sjMnG8.d.cts → connection.serializer-B47qKsDN.d.cts} +2 -2
- package/lib/{create-audit-log-event-options.interface-BnHYA9HK.d.cts → create-audit-log-event-options.interface-B-eEsjZw.d.cts} +2 -2
- package/lib/{create-audit-log-event-options.serializer-CxeBsv3o.d.cts → create-audit-log-event-options.serializer-Byx8ZppH.d.cts} +2 -2
- package/lib/{create-audit-log-schema-options.interface-B-g6mGDr.d.cts → create-audit-log-schema-options.interface-VEGNQUoR.d.cts} +2 -2
- package/lib/{create-audit-log-schema-options.serializer-COT4AmMk.d.cts → create-audit-log-schema-options.serializer-vOYqa-AI.d.cts} +2 -2
- package/lib/{create-audit-log-schema.serializer-Ckh7kTCE.d.cts → create-audit-log-schema.serializer-CDSQiWrT.d.cts} +2 -2
- package/lib/{create-data-key.interface-l5swdCo_.d.cts → create-data-key.interface-uWGAAWZC.d.cts} +2 -2
- package/lib/create-environment-role-options.interface-BzAxMcvk.d.cts +14 -0
- package/lib/create-environment-role-options.serializer-Cgp-nj7R.d.cts +7 -0
- package/lib/create-environment-role-options.serializer-g9jwCPzJ.cjs +16 -0
- package/lib/create-environment-role-options.serializer-g9jwCPzJ.cjs.map +1 -0
- package/lib/{create-magic-auth-options.interface-DDSHQamS.d.cts → create-magic-auth-options.interface-KljIsFrM.d.cts} +1 -1
- package/lib/{create-magic-auth-options.serializer-S1w9rPAK.d.cts → create-magic-auth-options.serializer-JyHvOWXa.d.cts} +2 -2
- package/lib/{create-object.interface-bEH6nxNn.d.cts → create-object.interface-q1p30YMV.d.cts} +2 -2
- package/lib/{create-organization-api-key-options.serializer-CgC5GvyE.d.cts → create-organization-api-key-options.serializer-BBMfnAnt.d.cts} +2 -2
- package/lib/{create-organization-domain-options.interface-vmiHd4oy.d.cts → create-organization-domain-options.interface-BorRBhyO.d.cts} +1 -1
- package/lib/{create-organization-membership-options.interface-Degs7uYp.d.cts → create-organization-membership-options.interface-CT78k_RG.d.cts} +1 -1
- package/lib/{create-organization-options.serializer-BL90OMyI.d.cts → create-organization-options.serializer-CqgVu5DZ.d.cts} +2 -2
- package/lib/create-organization-role-options.interface-D47Tf3Ep.d.cts +14 -0
- package/lib/create-organization-role-options.serializer-DSv6cNfU.cjs +16 -0
- package/lib/create-organization-role-options.serializer-DSv6cNfU.cjs.map +1 -0
- package/lib/create-organization-role-options.serializer-gKd5As_7.d.cts +7 -0
- package/lib/{create-password-reset-options.interface-DHlRNbbw.d.cts → create-password-reset-options.interface-DugfAPGw.d.cts} +1 -1
- package/lib/{create-password-reset-options.serializer-6gqQIGCI.d.cts → create-password-reset-options.serializer-CF9UYm2X.d.cts} +2 -2
- package/lib/{create-passwordless-session-options.interface-Bb4f1yMI.d.cts → create-passwordless-session-options.interface-DCAzOCvV.d.cts} +1 -1
- 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-CmWENyEL.d.cts → create-resource-options.serializer-DblyocXR.d.cts} +2 -2
- package/lib/{create-user-options.interface-D_4g7FwE.d.cts → create-user-options.interface-ord6dU_x.d.cts} +2 -2
- package/lib/{create-user-options.serializer-CrOqZ2Sg.d.cts → create-user-options.serializer-DaIm8p-c.d.cts} +2 -2
- package/lib/{created-api-key.interface-DAzMzScM.d.cts → created-api-key.interface-DkDQVw2T.d.cts} +1 -1
- package/lib/{created-api-key.serializer-C_KGmm2w.d.cts → created-api-key.serializer-DKs_m9pB.d.cts} +2 -2
- package/lib/{crypto-provider-CIbAgUc-.d.cts → crypto-provider-CYvkctEg.d.cts} +1 -1
- package/lib/{decrypt-data-key.interface-DtA2snTS.d.cts → decrypt-data-key.interface-BwEc_O_A.d.cts} +1 -1
- package/lib/{delete-object.interface-EBnHDGAU.d.cts → delete-object.interface-B_P7yrm3.d.cts} +1 -1
- package/lib/{delete-resource-options.serializer-CAW9K14w.d.cts → delete-resource-options.serializer-D6e_dLrI.d.cts} +2 -2
- package/lib/{directory-group.interface-GMCt7YpS.d.cts → directory-group.interface-RhiHiiPX.d.cts} +1 -1
- package/lib/{directory-group.serializer-T0UTcH3V.d.cts → directory-group.serializer-BRcTw-sz.d.cts} +2 -2
- package/lib/directory-sync/directory-sync.d.cts +1 -1
- package/lib/directory-sync/interfaces/directory-group.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/directory-user.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/directory.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/index.d.cts +6 -6
- package/lib/directory-sync/interfaces/list-directories-options.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/list-directory-users-options.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/list-groups-options.interface.d.cts +1 -1
- package/lib/directory-sync/serializers/directory-group.serializer.d.cts +1 -1
- package/lib/directory-sync/serializers/directory-user.serializer.d.cts +1 -1
- package/lib/directory-sync/serializers/directory.serializer.d.cts +1 -1
- package/lib/directory-sync/serializers/index.d.cts +4 -4
- package/lib/directory-sync/serializers/list-directories-options.serializer.d.cts +1 -1
- package/lib/{directory-user.serializer-BRhPq1Zu.d.cts → directory-user.serializer-_FQdeNFr.d.cts} +2 -2
- package/lib/{directory.interface-DfilAjzZ.d.cts → directory.interface-RS2zVVSH.d.cts} +1 -1
- package/lib/{directory.serializer-CmsYM7zR.d.cts → directory.serializer-C4ye_GNZ.d.cts} +2 -2
- package/lib/{domain-data.interface-DuamoxCX.cjs → domain-data.interface-CAbxsOXR.cjs} +1 -1
- package/lib/{domain-data.interface-DuamoxCX.cjs.map → domain-data.interface-CAbxsOXR.cjs.map} +1 -1
- package/lib/{domain-data.interface-C5ooqStM.d.cts → domain-data.interface-CWu6PLZw.d.cts} +1 -1
- package/lib/{email-verification.interface-C76KCm8m.d.cts → email-verification.interface-DPOUBm9v.d.cts} +1 -1
- package/lib/{email-verification.serializer-DAd-BP98.d.cts → email-verification.serializer-BKwo8A4r.d.cts} +2 -2
- package/lib/{enroll-auth-factor-options.serializer-DZKqvpHa.d.cts → enroll-auth-factor-options.serializer-B0Kr8aWf.d.cts} +2 -2
- package/lib/{enroll-auth-factor.interface-Dm2hlIs4.d.cts → enroll-auth-factor.interface-EhGkRx_t.d.cts} +1 -1
- package/lib/{enroll-factor-options-DLuag4wH.d.cts → enroll-factor-options-IU9WQYZu.d.cts} +1 -1
- package/lib/environment-role.interface-B59FS29B.d.cts +34 -0
- package/lib/environment-role.serializer-3-YRsFp_.cjs +22 -0
- package/lib/environment-role.serializer-3-YRsFp_.cjs.map +1 -0
- package/lib/environment-role.serializer-C0AaYE8M.d.cts +7 -0
- package/lib/{event.serializer-BWtSuQAw.d.cts → event.serializer-QBoSs9f4.d.cts} +2 -2
- package/lib/events/events.d.cts +1 -1
- package/lib/events/interfaces/index.d.cts +1 -1
- package/lib/events/interfaces/list-events-options.interface.d.cts +1 -1
- package/lib/events/serializers/index.d.cts +1 -1
- package/lib/events/serializers/list-event-options.serializer.d.cts +1 -1
- package/lib/{factor.interface-Jwg0D7nP.d.cts → factor.interface-DebkGvZh.d.cts} +2 -2
- package/lib/{factor.interface-DY92_aec.d.cts → factor.interface-DzLmWxJJ.d.cts} +3 -3
- package/lib/{factor.serializer-CQ1w93Sn.d.cts → factor.serializer-CTHEanUk.d.cts} +2 -2
- package/lib/{factor.serializer-Dqa3WvHr.d.cts → factor.serializer-DGKMWcSc.d.cts} +2 -2
- package/lib/{factory-C5JFKrKt.cjs → factory-DfYLyJUA.cjs} +2 -2
- package/lib/{factory-C5JFKrKt.cjs.map → factory-DfYLyJUA.cjs.map} +1 -1
- package/lib/factory.cjs +2 -2
- package/lib/factory.d.cts +1 -1
- package/lib/{feature-flag.interface-5gR4Txsk.d.cts → feature-flag.interface-Dc9oPNTI.d.cts} +1 -1
- package/lib/{feature-flag.serializer-CXzLmsy8.d.cts → feature-flag.serializer-VHx8LryN.d.cts} +2 -2
- package/lib/feature-flags/feature-flags.d.cts +1 -1
- package/lib/feature-flags/interfaces/add-flag-target-options.interface.d.cts +1 -1
- package/lib/feature-flags/interfaces/feature-flag.interface.d.cts +1 -1
- package/lib/feature-flags/interfaces/index.d.cts +4 -4
- package/lib/feature-flags/interfaces/list-feature-flags-options.interface.d.cts +1 -1
- package/lib/feature-flags/interfaces/remove-flag-target-options.interface.d.cts +1 -1
- package/lib/feature-flags/serializers/feature-flag.serializer.d.cts +1 -1
- package/lib/feature-flags/serializers/index.d.cts +1 -1
- package/lib/{fetch-client-CSHUm64J.cjs → fetch-client-CP0ICYQG.cjs} +12 -1
- package/lib/fetch-client-CP0ICYQG.cjs.map +1 -0
- package/lib/fga/fga.d.cts +1 -1
- package/lib/fga/interfaces/check-op.enum.d.cts +1 -1
- package/lib/fga/interfaces/check.interface.d.cts +1 -1
- 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.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.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.d.cts +1 -1
- package/lib/fga/serializers/check-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/create-resource-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/delete-resource-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/index.d.cts +13 -13
- package/lib/fga/serializers/list-resources-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/list-warrants-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/list.serializer.d.cts +1 -1
- package/lib/fga/serializers/query-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/query-result.serializer.d.cts +1 -1
- package/lib/fga/serializers/resource.serializer.d.cts +1 -1
- package/lib/fga/serializers/warrant-token.serializer.d.cts +1 -1
- package/lib/fga/serializers/warrant.serializer.d.cts +1 -1
- package/lib/fga/serializers/write-warrant-options.serializer.d.cts +1 -1
- package/lib/fga/utils/fetch-and-deserialize-list.d.cts +4 -4
- package/lib/fga/utils/fga-paginatable.d.cts +1 -1
- package/lib/fga/utils/interface-check.d.cts +2 -2
- package/lib/{fga-paginatable-Bq_-XEib.d.cts → fga-paginatable-BGfH6hKb.d.cts} +5 -5
- package/lib/{generate-portal-link-intent.interface-CktTgyDC.d.cts → generate-portal-link-intent.interface-DvAjnRTH.d.cts} +1 -1
- package/lib/{generate-portal-link-intent.interface-1rRu8_0c.cjs → generate-portal-link-intent.interface-VhaOku0u.cjs} +1 -1
- package/lib/{generate-portal-link-intent.interface-1rRu8_0c.cjs.map → generate-portal-link-intent.interface-VhaOku0u.cjs.map} +1 -1
- package/lib/{generic-server.exception-_vsH8SZy.d.cts → generic-server.exception-BQuagq-c.d.cts} +2 -2
- package/lib/{get-access-token.interface-ClGvoDsn.d.cts → get-access-token.interface-C8vDOoS4.d.cts} +2 -2
- package/lib/{get-options.interface-C7_1wOuz.d.cts → get-options.interface-DtIaBrYo.d.cts} +1 -1
- package/lib/{get-profile-and-token-options.interface-Cc1l5_d-.d.cts → get-profile-and-token-options.interface-B4HEexcv.d.cts} +1 -1
- package/lib/{get-profile-options.interface-DpfzZ2dN.d.cts → get-profile-options.interface-BTqozSx_.d.cts} +1 -1
- package/lib/{get-token-CmiH1VJ9.d.cts → get-token-CRyPuAyd.d.cts} +1 -1
- package/lib/http-client-8EHeTnVH.cjs.map +1 -1
- package/lib/{http-client-DaKWM9mT.d.cts → http-client-Cs56_alu.d.cts} +3 -2
- package/lib/{http-client.interface-B_h_5jS-.d.cts → http-client.interface-DMi5johZ.d.cts} +1 -1
- package/lib/{identity.interface-s1eSJ1gQ.d.cts → identity.interface-fsQohx9t.d.cts} +1 -1
- package/lib/{impersonator.interface-eqT0OndP.d.cts → impersonator.interface-BLJ5uqT4.d.cts} +1 -1
- package/lib/{index-6gXqBDB6.d.cts → index-DBcxvLj5.d.cts} +186 -22
- package/lib/index.cjs +8 -7
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +142 -132
- package/lib/index.d.ts +17 -1
- package/lib/index.js.map +1 -1
- package/lib/index.worker.cjs +8 -7
- package/lib/index.worker.cjs.map +1 -1
- package/lib/index.worker.d.cts +120 -110
- package/lib/index.worker.d.ts +17 -1
- package/lib/index.worker.js.map +1 -1
- package/lib/{invitation.interface-zxREPPZu.d.cts → invitation.interface-BGj97ho-.d.cts} +1 -1
- package/lib/{invitation.serializer-BDPagMLH.d.cts → invitation.serializer-BrvOpgFx.d.cts} +2 -2
- package/lib/{key.interface-BdqBuDSH.d.cts → key.interface-CFC2qwl7.d.cts} +1 -1
- package/lib/{leb128-C_fBTjdc.cjs → leb128-CzuVP25R.cjs} +1 -1
- package/lib/{leb128-C_fBTjdc.cjs.map → leb128-CzuVP25R.cjs.map} +1 -1
- package/lib/{list-connections-options.interface-C7cH8ONj.d.cts → list-connections-options.interface-zYzKu8PV.d.cts} +3 -3
- package/lib/{list-connections-options.serializer-olslE-Fg.d.cts → list-connections-options.serializer-BQ887b-b.d.cts} +2 -2
- package/lib/{list-directories-options.interface-B9cTFdVu.d.cts → list-directories-options.interface-Bq6Ctiub.d.cts} +2 -2
- package/lib/{list-directories-options.serializer-J88SC3Uu.d.cts → list-directories-options.serializer-Btoh5Gla.d.cts} +2 -2
- package/lib/{list-directory-users-options.interface-DtPOs4E8.d.cts → list-directory-users-options.interface-B3hWSKfC.d.cts} +2 -2
- package/lib/{list-event-options.serializer-D3zKDeJK.d.cts → list-event-options.serializer-Dm8sSe0n.d.cts} +2 -2
- package/lib/{list-events-options.interface-AWaFt1WM.d.cts → list-events-options.interface-CUGdhgSG.d.cts} +2 -2
- package/lib/{list-feature-flags-options.interface-D7AIjm-0.d.cts → list-feature-flags-options.interface-DBQ7vrv_.d.cts} +2 -2
- package/lib/{list-groups-options.interface-CbQJvpyC.d.cts → list-groups-options.interface-U_gybSue.d.cts} +2 -2
- package/lib/{list-object-versions.interface-CAFLFrnR.d.cts → list-object-versions.interface-Rd5wqEPb.d.cts} +1 -1
- package/lib/{list-objects.interface-DVVXFKO9.d.cts → list-objects.interface-yOVh3Ifn.d.cts} +1 -1
- package/lib/list-organization-api-keys-options.interface-CveTG0uD.cjs +0 -0
- package/lib/{list-organization-api-keys-options.interface-B9Hg7VJE.d.cts → list-organization-api-keys-options.interface-YUTCTNS6.d.cts} +2 -2
- package/lib/{list-organization-feature-flags-options.interface-D6h35g9O.d.cts → list-organization-feature-flags-options.interface-DnLCq59G.d.cts} +2 -2
- package/lib/list-organization-feature-flags-options.interface-_x6kSSZY.cjs +0 -0
- package/lib/{list-organization-roles-options.interface-DTgBJtDm.d.cts → list-organization-roles-options.interface-BuvnLvwK.d.cts} +1 -1
- package/lib/list-organizations-options.interface-CO97CX3u.cjs +0 -0
- package/lib/{list-organizations-options.interface-BVUFUWd8.d.cts → list-organizations-options.interface-EgR4w6S9.d.cts} +2 -2
- package/lib/list-permissions-options.interface-DLk_ltrp.cjs +0 -0
- package/lib/{list-resources-options.serializer-CmH9ahEW.d.cts → list-resources-options.serializer-ChXI92JX.d.cts} +2 -2
- package/lib/{list-sessions-options.interface-BkSOP-aQ.d.cts → list-sessions-options.interface-3wEl-9ph.d.cts} +2 -2
- package/lib/{list-sessions-options.serializer-CZGaayZp.d.cts → list-sessions-options.serializer-DY3aSLdT.d.cts} +2 -2
- package/lib/{list-users-options.interface-DuJwLaE9.d.cts → list-users-options.interface-CwR5WeUq.d.cts} +2 -2
- package/lib/{list-warrants-options.serializer-CBntdUkf.d.cts → list-warrants-options.serializer-DghippBd.d.cts} +2 -2
- package/lib/list.interface-BRryI6pg.cjs +0 -0
- package/lib/{list.interface-BEUNlSvF.d.cts → list.interface-C8ZxDYyJ.d.cts} +1 -1
- package/lib/{list.interface-BDqDTWM8.d.cts → list.interface-CXp7D6FF.d.cts} +3 -3
- package/lib/{list.serializer-BucwpWfj.d.cts → list.serializer-BO40xS2N.d.cts} +3 -3
- package/lib/{list.serializer-DoX3epPr.d.cts → list.serializer-xzcXVR9t.d.cts} +2 -2
- package/lib/{locale.interface-DSiD6ntd.d.cts → locale.interface-DtJ_6jKP.d.cts} +1 -1
- package/lib/{logout-url-options.interface-Cw1qCccF.d.cts → logout-url-options.interface-DhTgF8Hk.d.cts} +1 -1
- package/lib/{magic-auth.interface-BrxHHiJN.d.cts → magic-auth.interface-BECeWMH_.d.cts} +1 -1
- package/lib/{magic-auth.serializer-BYyXRWbr.d.cts → magic-auth.serializer-DUVjoLsC.d.cts} +2 -2
- package/lib/mfa/interfaces/challenge-factor-options.d.cts +1 -1
- package/lib/mfa/interfaces/challenge.interface.d.cts +1 -1
- package/lib/mfa/interfaces/enroll-factor-options.d.cts +1 -1
- package/lib/mfa/interfaces/factor.interface.d.cts +1 -1
- package/lib/mfa/interfaces/index.d.cts +8 -8
- package/lib/mfa/interfaces/sms.interface.d.cts +1 -1
- package/lib/mfa/interfaces/totp.interface.d.cts +1 -1
- package/lib/mfa/interfaces/verify-challenge-options.d.cts +1 -1
- package/lib/mfa/interfaces/verify-challenge-response.d.cts +1 -1
- package/lib/mfa/mfa.d.cts +1 -1
- package/lib/mfa/serializers/challenge.serializer.d.cts +1 -1
- package/lib/mfa/serializers/factor.serializer.d.cts +1 -1
- package/lib/mfa/serializers/index.d.cts +3 -3
- package/lib/mfa/serializers/sms.serializer.d.cts +1 -1
- package/lib/mfa/serializers/totp.serializer.d.cts +1 -1
- package/lib/mfa/serializers/verify-response.serializer.d.cts +1 -1
- package/lib/{no-api-key-provided.exception-Cd9K6Mli.d.cts → no-api-key-provided.exception-hJIhxWx8.d.cts} +1 -1
- package/lib/{not-found.exception-GakjCm1p.d.cts → not-found.exception-BfAxXziV.d.cts} +2 -2
- package/lib/{oauth-tokens.interface-Bvew3EOR.d.cts → oauth-tokens.interface-BmW9Eh4w.d.cts} +1 -1
- package/lib/{oauth.exception-CFy4_2CF.d.cts → oauth.exception-Qx8LPHkD.d.cts} +2 -2
- package/lib/{object.interface-BjtGKl3u.d.cts → object.interface-CB8MiPSx.d.cts} +2 -2
- package/lib/object.interface-npvKCWKF.cjs +0 -0
- package/lib/{organization-domain.interface-BpDw6NNx.cjs → organization-domain.interface-B1AwHwAc.cjs} +1 -1
- package/lib/{organization-domain.interface-BpDw6NNx.cjs.map → organization-domain.interface-B1AwHwAc.cjs.map} +1 -1
- package/lib/{organization-domain.interface-C6EjTpuJ.d.cts → organization-domain.interface-ozdxzINN.d.cts} +1 -1
- package/lib/organization-domains/interfaces/create-organization-domain-options.interface.d.cts +1 -1
- package/lib/organization-domains/interfaces/index.cjs +1 -1
- package/lib/organization-domains/interfaces/index.d.cts +2 -2
- package/lib/organization-domains/interfaces/organization-domain.interface.cjs +1 -1
- package/lib/organization-domains/interfaces/organization-domain.interface.d.cts +1 -1
- package/lib/organization-domains/organization-domains.d.cts +1 -1
- package/lib/organization-domains/serializers/create-organization-domain-options.serializer.d.cts +1 -1
- package/lib/organization-domains/serializers/organization-domain.serializer.d.cts +1 -1
- package/lib/organization-role.interface-CLBM9aza.cjs +0 -0
- package/lib/organization-role.interface-evatb3Ca.d.cts +15 -0
- package/lib/organization-role.serializer-9lMyuYAJ.d.cts +9 -0
- package/lib/organization-role.serializer-BJI8i3kB.cjs +39 -0
- package/lib/organization-role.serializer-BJI8i3kB.cjs.map +1 -0
- package/lib/organization.interface-pY1iGerY.cjs +0 -0
- package/lib/{organization.interface-CdjQyAEW.d.cts → organization.interface-v9vB3M2o.d.cts} +2 -2
- package/lib/{organization.serializer-DJQ4yLMv.d.cts → organization.serializer-oavqZBEE.d.cts} +2 -2
- 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.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/{pagination-B-QDcg4e.d.cts → pagination-D--sr3e2.d.cts} +3 -3
- package/lib/pagination-options.interface-BoiKHHTH.cjs +0 -0
- package/lib/{pagination-options.interface-CUOgmBwZ.d.cts → pagination-options.interface-SKgiNnuZ.d.cts} +1 -1
- package/lib/{password-hash-type.interface-OhapFl0U.d.cts → password-hash-type.interface-vH25bPgH.d.cts} +1 -1
- package/lib/{password-reset.interface-Dcebp_7o.d.cts → password-reset.interface-Yi4hon-d.d.cts} +1 -1
- package/lib/{password-reset.serializer-OyBytEcC.d.cts → password-reset.serializer-DvGywW1e.d.cts} +2 -2
- package/lib/passwordless/interfaces/create-passwordless-session-options.interface.d.cts +1 -1
- package/lib/passwordless/interfaces/index.d.cts +3 -3
- package/lib/passwordless/interfaces/passwordless-session.interface.d.cts +1 -1
- package/lib/passwordless/interfaces/send-session-response.interface.d.cts +1 -1
- package/lib/passwordless/passwordless.d.cts +1 -1
- package/lib/passwordless/serializers/passwordless-session.serializer.d.cts +1 -1
- package/lib/{passwordless-session.interface-BsOH8Py1.d.cts → passwordless-session.interface-BgyPqlZF.d.cts} +1 -1
- package/lib/passwordless-session.interface-Bi9y87V7.cjs +0 -0
- package/lib/patch-options.interface-46BCssmo.d.cts +12 -0
- package/lib/patch-options.interface-Fd1jUcSo.cjs +0 -0
- package/lib/permission.interface-BBwAYH07.d.cts +40 -0
- package/lib/permission.interface-Dhx-jPkZ.cjs +0 -0
- package/lib/permission.serializer-DjWoIZ-K.cjs +21 -0
- package/lib/permission.serializer-DjWoIZ-K.cjs.map +1 -0
- package/lib/permission.serializer-RAI4SM7h.d.cts +7 -0
- package/lib/pipes/interfaces/access-token.interface.d.cts +1 -1
- package/lib/pipes/interfaces/get-access-token.interface.d.cts +1 -1
- package/lib/pipes/pipes.d.cts +1 -1
- package/lib/pipes/serializers/access-token.serializer.d.cts +1 -1
- package/lib/pipes/serializers/get-access-token.serializer.d.cts +1 -1
- package/lib/pkce/pkce.d.cts +1 -1
- package/lib/{pkce-CPU9dTCY.d.cts → pkce-n0rRYj_Q.d.cts} +1 -1
- package/lib/portal/interfaces/generate-portal-link-intent.interface.cjs +1 -1
- package/lib/portal/interfaces/generate-portal-link-intent.interface.d.cts +1 -1
- package/lib/portal/interfaces/index.cjs +1 -1
- package/lib/portal/interfaces/index.d.cts +1 -1
- package/lib/portal/portal.d.cts +1 -1
- package/lib/post-options.interface-BY7OUsfe.cjs +0 -0
- package/lib/{post-options.interface-DdsVDnGH.d.cts → post-options.interface-DlEjJsYu.d.cts} +1 -1
- package/lib/profile-and-token.interface-BrAmbRfi.cjs +0 -0
- package/lib/{profile-and-token.serializer-DgfsqiF_.d.cts → profile-and-token.serializer-BL6rgjRg.d.cts} +3 -3
- package/lib/profile.interface-CIhPFxjC.cjs +0 -0
- package/lib/{profile.serializer-BOeHpcqS.d.cts → profile.serializer-C-SA2vtS.d.cts} +3 -3
- package/lib/{put-options.interface-DR1xH3TR.d.cts → put-options.interface-7lk8rQLi.d.cts} +1 -1
- package/lib/put-options.interface-C0STQ8xm.cjs +0 -0
- package/lib/{query-options.serializer-BYZOvQyR.d.cts → query-options.serializer-rnZkdjgt.d.cts} +2 -2
- package/lib/{query-result.serializer-EnvPglcs.d.cts → query-result.serializer-B2dxUnKw.d.cts} +4 -4
- package/lib/{query.interface-Sw3Xfzzq.d.cts → query.interface-BuOZQoFM.d.cts} +4 -4
- package/lib/{rate-limit-exceeded.exception-t2HJjyVG.d.cts → rate-limit-exceeded.exception-CF4reeT2.d.cts} +2 -2
- package/lib/{read-object.interface-BDX81WQG.d.cts → read-object.interface-D0Poz3-p.d.cts} +3 -3
- package/lib/read-object.interface-RCcLbvry.cjs +0 -0
- package/lib/{refresh-and-seal-session-data.interface-DJk6xCxt.d.cts → refresh-and-seal-session-data.interface-BSKQWqmn.d.cts} +3 -3
- package/lib/{remove-flag-target-options.interface-CgLnzR8g.d.cts → remove-flag-target-options.interface-BZBcjHE7.d.cts} +1 -1
- package/lib/remove-flag-target-options.interface-CNzVf6zp.cjs +0 -0
- package/lib/remove-organization-role-permission-options.interface-BpQUw8lU.cjs +0 -0
- package/lib/remove-organization-role-permission-options.interface-ZMh36f0F.d.cts +7 -0
- package/lib/{request-exception.interface-ncoDfVCo.d.cts → request-exception.interface-DahTOGID.d.cts} +1 -1
- package/lib/{resend-invitation-options.interface-pOfbruPn.d.cts → resend-invitation-options.interface-BqrfHp3r.d.cts} +2 -2
- package/lib/{reset-password-options.interface-CT7QWPPM.d.cts → reset-password-options.interface-uWGx-EHg.d.cts} +1 -1
- package/lib/{reset-password-options.serializer-swg0rbQu.d.cts → reset-password-options.serializer-B814ASb4.d.cts} +2 -2
- package/lib/{resource-op.enum-Bzwtg0bG.d.cts → resource-op.enum-DvMR02yw.d.cts} +1 -1
- package/lib/{resource.interface-BHXuymiW.d.cts → resource.interface-BZ27Ar_A.d.cts} +3 -3
- package/lib/{resource.serializer-CVfysC_R.d.cts → resource.serializer-DO1Fpj-V.d.cts} +2 -2
- package/lib/{response-payload.interface-CC6ym1hG.d.cts → response-payload.interface-B6BBFm56.d.cts} +1 -1
- package/lib/response-payload.interface-tlU2hrOg.cjs +0 -0
- package/lib/{revoke-session-options.interface-Bvh2jHlb.d.cts → revoke-session-options.interface-20LkWyox.d.cts} +1 -1
- package/lib/role.interface-DIftS8f6.cjs +0 -0
- package/lib/roles/interfaces/index.d.cts +1 -1
- package/lib/roles/interfaces/role.interface.d.cts +1 -1
- package/lib/roles/interfaces/role.interface.d.ts +4 -11
- package/lib/roles/serializers/role.serializer.d.cts +1 -1
- package/lib/{runtime-info-D1rBs4px.cjs → runtime-info-CkgTBGi9.cjs} +1 -1
- package/lib/{runtime-info-D1rBs4px.cjs.map → runtime-info-CkgTBGi9.cjs.map} +1 -1
- package/lib/{send-invitation-options.interface-DhnvOLnv.d.cts → send-invitation-options.interface-C2RofyVU.d.cts} +2 -2
- package/lib/{send-session-response.interface-BpEozStf.d.cts → send-session-response.interface-CMl4tWw_.d.cts} +1 -1
- package/lib/send-session-response.interface-CVGhNzxv.cjs +0 -0
- package/lib/{send-verification-email-options.interface-DzN8alC-.d.cts → send-verification-email-options.interface-BtOygLys.d.cts} +1 -1
- package/lib/serializers-7jp-w6XR.cjs +0 -0
- package/lib/{session-handler-options.interface-CkCM0a1e.d.cts → session-handler-options.interface-BVTuA5uU.d.cts} +1 -1
- package/lib/{session.interface-DQZ0ufo_.d.cts → session.interface-zszewQtk.d.cts} +2 -2
- package/lib/{session.serializer-D56UJaJF.d.cts → session.serializer-DAUllV3H.d.cts} +2 -2
- package/lib/set-environment-role-permissions-options.interface-C04yO7oE.cjs +0 -0
- package/lib/set-environment-role-permissions-options.interface-CJm4G5CM.d.cts +7 -0
- package/lib/set-organization-role-permissions-options.interface-Dsm86677.cjs +0 -0
- package/lib/set-organization-role-permissions-options.interface-F54jbJ3q.d.cts +7 -0
- package/lib/{signature-verification.exception-CN2av9Wr.d.cts → signature-verification.exception-D2-xkCRS.d.cts} +1 -1
- package/lib/{sms.interface-CyWalgD9.d.cts → sms.interface-f_7eFA1B.d.cts} +1 -1
- package/lib/sso/interfaces/authorization-url-options.interface.d.cts +1 -1
- package/lib/sso/interfaces/connection-type.enum.cjs +1 -1
- package/lib/sso/interfaces/connection-type.enum.d.cts +1 -1
- package/lib/sso/interfaces/connection.interface.d.cts +1 -1
- package/lib/sso/interfaces/get-profile-and-token-options.interface.d.cts +1 -1
- package/lib/sso/interfaces/get-profile-options.interface.d.cts +1 -1
- package/lib/sso/interfaces/index.cjs +1 -1
- package/lib/sso/interfaces/index.d.cts +7 -8
- package/lib/sso/interfaces/list-connections-options.interface.d.cts +1 -1
- package/lib/sso/interfaces/profile-and-token.interface.d.cts +1 -1
- package/lib/sso/interfaces/profile.interface.d.cts +1 -1
- package/lib/sso/serializers/connection.serializer.d.cts +1 -1
- package/lib/sso/serializers/index.d.cts +4 -4
- package/lib/sso/serializers/list-connections-options.serializer.d.cts +1 -1
- package/lib/sso/serializers/profile-and-token.serializer.d.cts +1 -1
- package/lib/sso/serializers/profile.serializer.d.cts +1 -1
- package/lib/sso/sso.d.cts +1 -1
- package/lib/{totp.interface-CPAuCv4H.d.cts → totp.interface-4Tn9mcvR.d.cts} +1 -1
- package/lib/{unauthorized.exception-CjXkJx3p.d.cts → unauthorized.exception-B0Ma7wJ5.d.cts} +2 -2
- package/lib/{unknown-record.interface-C5Ru336Z.d.cts → unknown-record.interface-DSMWbzCc.d.cts} +1 -1
- package/lib/unprocessable-entity-error.interface-B2dNTbj0.cjs +0 -0
- package/lib/{unprocessable-entity-error.interface-Qwl8rD25.d.cts → unprocessable-entity-error.interface-CGfXN5Ma.d.cts} +1 -1
- package/lib/{unprocessable-entity.exception-N-3lqy5T.d.cts → unprocessable-entity.exception-rapwl2dZ.d.cts} +3 -3
- package/lib/update-environment-role-options.interface-dosXnOZd.d.cts +12 -0
- package/lib/update-environment-role-options.interface-i6KgrgfD.cjs +0 -0
- package/lib/update-environment-role-options.serializer-BNsh8m0U.d.cts +7 -0
- package/lib/update-environment-role-options.serializer-DowajKPM.cjs +15 -0
- package/lib/update-environment-role-options.serializer-DowajKPM.cjs.map +1 -0
- package/lib/update-object.interface-CSfFiDhx.cjs +0 -0
- package/lib/{update-object.interface-CNxG-_TG.d.cts → update-object.interface-H3nqYCkH.d.cts} +1 -1
- package/lib/{update-organization-membership-options.interface-DARsxhfh.d.cts → update-organization-membership-options.interface-vwSowDwp.d.cts} +1 -1
- package/lib/update-organization-options.interface-Bo0n5-X2.cjs +0 -0
- package/lib/{update-organization-options.interface-DmWBw_ag.d.cts → update-organization-options.interface-C5szqmv1.d.cts} +2 -2
- package/lib/{update-organization-options.serializer-2h0Jmja6.d.cts → update-organization-options.serializer-BMZ1uX4v.d.cts} +2 -2
- package/lib/update-organization-role-options.interface-BxoOYg6j.cjs +0 -0
- package/lib/update-organization-role-options.interface-rE638uDV.d.cts +12 -0
- package/lib/update-organization-role-options.serializer-P4807NCD.cjs +15 -0
- package/lib/update-organization-role-options.serializer-P4807NCD.cjs.map +1 -0
- package/lib/update-organization-role-options.serializer-v4U24skp.d.cts +7 -0
- package/lib/update-permission-options.interface-1DDWIS6-.d.cts +12 -0
- package/lib/update-permission-options.interface-Cc6sRKzk.cjs +0 -0
- package/lib/update-permission-options.serializer-DBaEseXC.cjs +15 -0
- package/lib/update-permission-options.serializer-DBaEseXC.cjs.map +1 -0
- package/lib/update-permission-options.serializer-LHPO0d7U.d.cts +7 -0
- package/lib/{update-user-options.interface-DzoNVMaL.d.cts → update-user-options.interface-yJ1zfqXv.d.cts} +2 -2
- package/lib/{update-user-options.serializer-BVSNgExg.d.cts → update-user-options.serializer-PMEBc0mh.d.cts} +2 -2
- package/lib/{update-user-password-options.interface-CG02MZA_.d.cts → update-user-password-options.interface-Bhwbi84x.d.cts} +1 -1
- package/lib/{update-user-password-options.serializer-y9laCvAH.d.cts → update-user-password-options.serializer-xFeYcrdn.d.cts} +2 -2
- package/lib/user-management/interfaces/authenticate-with-code-and-verifier-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-code-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-email-verification-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-magic-auth-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-options-base.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-organization-selection.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-password-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-refresh-token-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-refresh-token-public-client-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authenticate-with-totp-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authentication-event.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authentication-radar-risk-detected-event.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authentication-response.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authorization-url-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/create-magic-auth-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/create-organization-membership-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/create-password-reset-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/create-user-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/email-verification.interface.d.cts +1 -1
- package/lib/user-management/interfaces/enroll-auth-factor.interface.d.cts +1 -1
- package/lib/user-management/interfaces/factor.interface.d.cts +1 -1
- package/lib/user-management/interfaces/identity.interface.d.cts +1 -1
- package/lib/user-management/interfaces/impersonator.interface.d.cts +1 -1
- package/lib/user-management/interfaces/index.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.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.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.d.cts +2 -2
- package/lib/user-management/serializers/authenticate-with-magic-auth-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-organization-selection-options.serializer.d.cts +2 -2
- package/lib/user-management/serializers/authenticate-with-password-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-refresh-token-public-client-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-refresh-token.options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authenticate-with-totp-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authentication-event.serializer.d.cts +1 -1
- package/lib/user-management/serializers/authentication-radar-risk-event-serializer.d.cts +1 -1
- package/lib/user-management/serializers/authentication-response.serializer.d.cts +1 -1
- package/lib/user-management/serializers/create-magic-auth-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/create-organization-membership-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/create-password-reset-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/create-user-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/email-verification.serializer.d.cts +1 -1
- package/lib/user-management/serializers/enroll-auth-factor-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/factor.serializer.d.cts +1 -1
- package/lib/user-management/serializers/identity.serializer.d.cts +1 -1
- package/lib/user-management/serializers/index.d.cts +24 -24
- package/lib/user-management/serializers/invitation.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-invitations-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-organization-memberships-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-sessions-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-users-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/magic-auth.serializer.d.cts +1 -1
- package/lib/user-management/serializers/oauth-tokens.serializer.d.cts +1 -1
- package/lib/user-management/serializers/organization-membership.serializer.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.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.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.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.d.cts +1 -1
- package/lib/user-management/user-management.d.cts +1 -1
- package/lib/{user.interface-SwAIYLNB.d.cts → user.interface-BJY1-A6X.d.cts} +1 -1
- package/lib/{user.serializer-TrM0oX4Q.d.cts → user.serializer-Cm-81FKp.d.cts} +2 -2
- package/lib/validate-api-key.interface-CH-HBG4k.cjs +0 -0
- package/lib/{validate-api-key.interface-kzSfRmiM.d.cts → validate-api-key.interface-DNV_9W09.d.cts} +2 -2
- package/lib/{validate-api-key.serializer-B1ScKkFd.d.cts → validate-api-key.serializer-1ugfgyKZ.d.cts} +2 -2
- 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-o2v1Hjz7.cjs → vault-DFZlnEty.cjs} +5 -5
- package/lib/{vault-o2v1Hjz7.cjs.map → vault-DFZlnEty.cjs.map} +1 -1
- package/lib/{vault-key.serializer-DO9iKzMq.cjs → vault-key.serializer-CprnZmmD.cjs} +1 -1
- package/lib/{vault-key.serializer-DO9iKzMq.cjs.map → vault-key.serializer-CprnZmmD.cjs.map} +1 -1
- package/lib/{vault-object.serializer-EkelXJB9.cjs → vault-object.serializer-DdulnQ2X.cjs} +1 -1
- package/lib/{vault-object.serializer-EkelXJB9.cjs.map → vault-object.serializer-DdulnQ2X.cjs.map} +1 -1
- package/lib/{verify-challenge-options-CEFnAmwu.d.cts → verify-challenge-options-BNCpUNrV.d.cts} +1 -1
- package/lib/{verify-challenge-response-CAIHmhRm.d.cts → verify-challenge-response-DpXoIuSX.d.cts} +2 -2
- package/lib/{verify-email-options.interface-oOfTTYG0.d.cts → verify-email-options.interface-C0_VqDVK.d.cts} +1 -1
- package/lib/{verify-response.serializer-CuPqcouK.d.cts → verify-response.serializer-DLbxaA_Y.d.cts} +2 -2
- package/lib/{warning.interface-BVeaQsw5.d.cts → warning.interface-yJ1XNLbJ.d.cts} +1 -1
- package/lib/{warrant-op.enum-CBmWDuBs.d.cts → warrant-op.enum-Dj1dkgof.d.cts} +1 -1
- package/lib/{warrant-token.interface-D8P4GnoE.d.cts → warrant-token.interface-DPxaBIlh.d.cts} +1 -1
- package/lib/{warrant-token.serializer-9f0_Dze3.d.cts → warrant-token.serializer-C66i3W4C.d.cts} +2 -2
- package/lib/{warrant.interface-D0zCmerc.d.cts → warrant.interface-80A3Pew0.d.cts} +4 -4
- package/lib/{warrant.serializer-BDtDxpT8.d.cts → warrant.serializer-q9Ra6iEa.d.cts} +2 -2
- package/lib/webhooks/webhooks.d.cts +1 -1
- package/lib/{webhooks-yX64jTg5.d.cts → webhooks-BznN9ZsE.d.cts} +3 -3
- package/lib/widgets/interfaces/get-token.d.cts +1 -1
- package/lib/widgets/widgets.d.cts +1 -1
- package/lib/{workos-B9-XSQwo.cjs → workos-HBr0yoqZ.cjs} +32 -6
- package/lib/workos-HBr0yoqZ.cjs.map +1 -0
- package/lib/{workos-options.interface-CCcp8QzE.d.cts → workos-options.interface-DsrGUZeh.d.cts} +2 -2
- package/lib/workos-options.interface-Dyy5FyDG.cjs +0 -0
- package/lib/{workos-response-error.interface-BoJ6j8GQ.d.cts → workos-response-error.interface-CUW8-rVq.d.cts} +2 -2
- package/lib/workos-response-error.interface-DfARVQg0.cjs +0 -0
- package/lib/workos.cjs +1 -1
- 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-7ilOHTPE.d.cts → write-warrant-options.serializer-DYf63mng.d.cts} +2 -2
- package/package.json +1 -1
- package/lib/directory-user.interface-ctD0z-go.d.cts +0 -48
- package/lib/fetch-client-CSHUm64J.cjs.map +0 -1
- 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/organization-membership.interface-NCcAKBR2.d.cts +0 -33
- package/lib/profile-and-token.interface-D8SOsn-s.d.cts +0 -18
- package/lib/profile.interface-CiNXzRbL.d.cts +0 -42
- package/lib/role.interface-C76vJyRA.d.cts +0 -51
- package/lib/workos-B9-XSQwo.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/{authorization-url-options.interface-BwgfXKJJ.cjs → audit-log-export-options.interface-DnLNNH69.cjs} +0 -0
- /package/lib/{connection.interface-DdHu3-Vb.cjs → audit-log-export.interface-C-vo0He0.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-object.interface-XAc3ECaJ.cjs → authorization/interfaces/create-environment-role-options.interface.cjs} +0 -0
- /package/lib/{create-organization-api-key-options.interface-CwgMNhHl.cjs → authorization/interfaces/create-organization-role-options.interface.cjs} +0 -0
- /package/lib/{create-organization-domain-options.interface-BDicSgm6.cjs → authorization/interfaces/create-permission-options.interface.cjs} +0 -0
- /package/lib/{create-organization-options.interface-DOLMw97s.cjs → authorization/interfaces/environment-role.interface.cjs} +0 -0
- /package/lib/{create-passwordless-session-options.interface-DvyI9mMG.cjs → authorization/interfaces/index.cjs} +0 -0
- /package/lib/{created-api-key.interface-DPE383Qi.cjs → authorization/interfaces/list-permissions-options.interface.cjs} +0 -0
- /package/lib/{decrypt-data-key.interface-Dbus_8mg.cjs → authorization/interfaces/organization-role.interface.cjs} +0 -0
- /package/lib/{delete-object.interface-CvV-sAF0.cjs → authorization/interfaces/permission.interface.cjs} +0 -0
- /package/lib/{directory-group.interface-BuS9hrBR.cjs → authorization/interfaces/remove-organization-role-permission-options.interface.cjs} +0 -0
- /package/lib/{directory-user.interface-CWwLQBRy.cjs → authorization/interfaces/set-environment-role-permissions-options.interface.cjs} +0 -0
- /package/lib/{directory.interface-Zcir0uJP.cjs → authorization/interfaces/set-organization-role-permissions-options.interface.cjs} +0 -0
- /package/lib/{event.interface-kqYZsXwj.cjs → authorization/interfaces/update-environment-role-options.interface.cjs} +0 -0
- /package/lib/{feature-flag.interface-BcgqfCkE.cjs → authorization/interfaces/update-organization-role-options.interface.cjs} +0 -0
- /package/lib/{get-options.interface-BGUbmYqn.cjs → authorization/interfaces/update-permission-options.interface.cjs} +0 -0
- /package/lib/{create-audit-log-event-options.interface-_8tH04Ms.cjs → authorization-url-options.interface-C9Fxv_7o.cjs} +0 -0
- /package/lib/{get-profile-and-token-options.interface-BRzXwgpx.cjs → common/interfaces/patch-options.interface.cjs} +0 -0
- /package/lib/{get-profile-options.interface-CcwBWajg.cjs → connection.interface-Bizso5vL.cjs} +0 -0
- /package/lib/{http-client.interface-G36hqWVG.cjs → create-audit-log-event-options.interface-CV4irZpp.cjs} +0 -0
- /package/lib/{interfaces-BOHKsPOz.cjs → create-audit-log-schema-options.interface-CAfKAjBf.cjs} +0 -0
- /package/lib/{interfaces-B_wxDqjZ.cjs → create-data-key.interface-C2-NUWkZ.cjs} +0 -0
- /package/lib/{interfaces-CJfjuBro.cjs → create-environment-role-options.interface-kC_uHnZl.cjs} +0 -0
- /package/lib/{interfaces-dlLK1oAf.cjs → create-object.interface-jufKIYD_.cjs} +0 -0
- /package/lib/{key.interface-DTklEPap.cjs → create-organization-api-key-options.interface-DneHi7Es.cjs} +0 -0
- /package/lib/{list-connections-options.interface-B7pslHgu.cjs → create-organization-domain-options.interface-9xVPDedq.cjs} +0 -0
- /package/lib/{list-directories-options.interface-92fO4PKr.cjs → create-organization-options.interface-BQ-ynkFt.cjs} +0 -0
- /package/lib/{list-directory-users-options.interface-V6n1bfE0.cjs → create-organization-role-options.interface-BZevKU9l.cjs} +0 -0
- /package/lib/{list-events-options.interface-Ba5Wze0J.cjs → create-passwordless-session-options.interface-CUwrUUes.cjs} +0 -0
- /package/lib/{list-feature-flags-options.interface-BseB3Sxv.cjs → create-permission-options.interface-gNV8L40W.cjs} +0 -0
- /package/lib/{list-groups-options.interface-Bd6SDE85.cjs → created-api-key.interface-B9LIbGZn.cjs} +0 -0
- /package/lib/{list-object-versions.interface-Ds--dBPk.cjs → decrypt-data-key.interface-CC8-x3bk.cjs} +0 -0
- /package/lib/{list-objects.interface-B8yzYARh.cjs → delete-object.interface-maVx6Sss.cjs} +0 -0
- /package/lib/{list-organization-api-keys-options.interface-gN2_EC8Y.cjs → directory-group.interface-fI3Q18_V.cjs} +0 -0
- /package/lib/{list-organization-feature-flags-options.interface-CUV13_Kb.cjs → directory-user.interface-BDg3vEue.cjs} +0 -0
- /package/lib/{list-organizations-options.interface-CtphN7_M.cjs → directory.interface-BtqM2Oqa.cjs} +0 -0
- /package/lib/{list.interface-Y2SC7qfo.cjs → environment-role.interface-B1gHSYUW.cjs} +0 -0
- /package/lib/{object.interface-36k9_URU.cjs → event.interface-DJog_FVt.cjs} +0 -0
- /package/lib/{organization.interface-CsjbCMaa.cjs → feature-flag.interface-zWuZQ0AN.cjs} +0 -0
- /package/lib/{pagination-options.interface-CLNb6Om8.cjs → get-options.interface-PWSxSJWf.cjs} +0 -0
- /package/lib/{passwordless-session.interface-CV7rpVzo.cjs → get-profile-and-token-options.interface-B4AIgzHK.cjs} +0 -0
- /package/lib/{post-options.interface-ClNtDEaN.cjs → get-profile-options.interface-BL-ae6kv.cjs} +0 -0
- /package/lib/{profile-and-token.interface-CZMHm-ni.cjs → http-client.interface-q5tbZi3r.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/{profile.interface-BCfCOjmx.cjs → interfaces-Bj3jzkUk.cjs} +0 -0
- /package/lib/{put-options.interface-BDeO-5og.cjs → interfaces-D9rg42Qr.cjs} +0 -0
- /package/lib/{read-object.interface-f_81j5uM.cjs → interfaces-DlIGjxho.cjs} +0 -0
- /package/lib/{remove-flag-target-options.interface-DoGKEa5T.cjs → interfaces-MzGHd7Yh.cjs} +0 -0
- /package/lib/{response-payload.interface-Dd6I_nGn.cjs → key.interface-CHRr2LEz.cjs} +0 -0
- /package/lib/{role.interface-B3M8zitL.cjs → list-connections-options.interface-DVqutI5F.cjs} +0 -0
- /package/lib/{send-session-response.interface-BK1iekyV.cjs → list-directories-options.interface-eav9nzy3.cjs} +0 -0
- /package/lib/{unprocessable-entity-error.interface-qvpJv5Qa.cjs → list-directory-users-options.interface-DLqDVyl2.cjs} +0 -0
- /package/lib/{update-object.interface-DGOrDGsi.cjs → list-events-options.interface-0QWZL0Yw.cjs} +0 -0
- /package/lib/{update-organization-options.interface-DbUpLvun.cjs → list-feature-flags-options.interface-DVCuHMFE.cjs} +0 -0
- /package/lib/{validate-api-key.interface-JvCCei5M.cjs → list-groups-options.interface-By_UcNDc.cjs} +0 -0
- /package/lib/{workos-options.interface-DJkEWOSw.cjs → list-object-versions.interface-CZ3u9vAQ.cjs} +0 -0
- /package/lib/{workos-response-error.interface-CNjnix9d.cjs → list-objects.interface-DB0LHLG9.cjs} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as UnauthorizedException } from "../../unauthorized.exception-
|
|
1
|
+
import { t as UnauthorizedException } from "../../unauthorized.exception-B0Ma7wJ5.cjs";
|
|
2
2
|
export { UnauthorizedException };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as UnprocessableEntityException } from "../../unprocessable-entity.exception-
|
|
1
|
+
import { t as UnprocessableEntityException } from "../../unprocessable-entity.exception-rapwl2dZ.cjs";
|
|
2
2
|
export { UnprocessableEntityException };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as AppInfo } from "../../app-info.interface-
|
|
1
|
+
import { t as AppInfo } from "../../app-info.interface-DQRHsNPh.cjs";
|
|
2
2
|
export { AppInfo };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as DsyncGroupUserRemovedEventResponse, $t as RoleUpdatedEventResponse, A as AuthenticationSSOFailedEvent, At as OrganizationDomainUpdatedEvent, B as DsyncActivatedEvent, Bt as OrganizationMembershipUpdated, C as AuthenticationPasskeySucceededEventResponse, Ct as OrganizationCreatedResponse, D as AuthenticationPasswordSucceededEventResponse, Dt as OrganizationDomainCreatedEventResponse, E as AuthenticationPasswordSucceededEvent, Et as OrganizationDomainCreatedEvent, F as ConnectionActivatedEventResponse, Ft as OrganizationDomainVerifiedEventResponse, G as DsyncGroupCreatedEventResponse, Gt as PasswordResetCreatedEventResponse, H as DsyncDeletedEvent, Ht as OrganizationUpdatedEvent, I as ConnectionDeactivatedEvent, It as OrganizationMembershipCreated, J as DsyncGroupUpdatedEvent, Jt as RoleCreatedEvent, K as DsyncGroupDeletedEvent, Kt as PasswordResetSucceededEvent, L as ConnectionDeactivatedEventResponse, Lt as OrganizationMembershipCreatedResponse, M as AuthenticationSSOSucceededEvent, Mt as OrganizationDomainVerificationFailedEvent, N as AuthenticationSSOSucceededEventResponse, Nt as OrganizationDomainVerificationFailedEventResponse, O as AuthenticationRadarRiskDetectedEvent, Ot as OrganizationDomainDeletedEvent, P as ConnectionActivatedEvent, Pt as OrganizationDomainVerifiedEvent, Q as DsyncGroupUserRemovedEvent, Qt as RoleUpdatedEvent, R as ConnectionDeletedEvent, Rt as OrganizationMembershipDeleted, S as AuthenticationPasskeySucceededEvent, St as OrganizationCreatedEvent, T as AuthenticationPasswordFailedEventResponse, Tt as OrganizationDeletedResponse, U as DsyncDeletedEventResponse, Ut as OrganizationUpdatedResponse, V as DsyncActivatedEventResponse, Vt as OrganizationMembershipUpdatedResponse, W as DsyncGroupCreatedEvent, Wt as PasswordResetCreatedEvent, X as DsyncGroupUserAddedEvent, Xt as RoleDeletedEvent, Y as DsyncGroupUpdatedEventResponse, Yt as RoleCreatedEventResponse, Z as DsyncGroupUserAddedEventResponse, Zt as RoleDeletedEventResponse, _ as AuthenticationOAuthFailedEventResponse, _t as InvitationResentEventResponse, a as ApiKeyCreatedEventResponse, an as UserCreatedEventResponse, at as DsyncUserUpdatedEventResponse, b as AuthenticationPasskeyFailedEvent, bt as MagicAuthCreatedEvent, c as AuthenticationEmailVerificationSucceededEvent, cn as UserUpdatedEvent, ct as Event, d as AuthenticationMagicAuthFailedEventResponse, dt as EventResponse, en as SessionCreatedEvent, et as DsyncUserCreatedEvent, f as AuthenticationMagicAuthSucceededEvent, ft as InvitationAcceptedEvent, g as AuthenticationOAuthFailedEvent, gt as InvitationResentEvent, h as AuthenticationMfaSucceededEventResponse, ht as InvitationCreatedEventResponse, i as ApiKeyCreatedEvent, in as UserCreatedEvent, it as DsyncUserUpdatedEvent, j as AuthenticationSSOFailedEventResponse, jt as OrganizationDomainUpdatedEventResponse, k as AuthenticationRadarRiskDetectedEventResponse, kt as OrganizationDomainDeletedEventResponse, l as AuthenticationEmailVerificationSucceededEventResponse, ln as UserUpdatedEventResponse, lt as EventBase, m as AuthenticationMfaSucceededEvent, mt as InvitationCreatedEvent, nn as SessionRevokedEvent, nt as DsyncUserDeletedEvent, o as ApiKeyDeletedEvent, on as UserDeletedEvent, ot as EmailVerificationCreatedEvent, p as AuthenticationMagicAuthSucceededEventResponse, pt as InvitationAcceptedEventResponse, q as DsyncGroupDeletedEventResponse, qt as PasswordResetSucceededEventResponse, rn as SessionRevokedEventResponse, rt as DsyncUserDeletedEventResponse, s as ApiKeyDeletedEventResponse, sn as UserDeletedEventResponse, st as EmailVerificationCreatedEventResponse, tn as SessionCreatedEventResponse, tt as DsyncUserCreatedEventResponse, u as AuthenticationMagicAuthFailedEvent, ut as EventName, v as AuthenticationOAuthSucceededEvent, vt as InvitationRevokedEvent, w as AuthenticationPasswordFailedEvent, wt as OrganizationDeletedEvent, x as AuthenticationPasskeyFailedEventResponse, xt as MagicAuthCreatedEventResponse, y as AuthenticationOAuthSucceededEventResponse, yt as InvitationRevokedEventResponse, z as ConnectionDeletedEventResponse, zt as OrganizationMembershipDeletedResponse } from "../../index-
|
|
1
|
+
import { $ as DsyncGroupUserRemovedEventResponse, $t as RoleUpdatedEventResponse, A as AuthenticationSSOFailedEvent, At as OrganizationDomainUpdatedEvent, B as DsyncActivatedEvent, Bt as OrganizationMembershipUpdated, C as AuthenticationPasskeySucceededEventResponse, Ct as OrganizationCreatedResponse, D as AuthenticationPasswordSucceededEventResponse, Dt as OrganizationDomainCreatedEventResponse, E as AuthenticationPasswordSucceededEvent, Et as OrganizationDomainCreatedEvent, F as ConnectionActivatedEventResponse, Ft as OrganizationDomainVerifiedEventResponse, G as DsyncGroupCreatedEventResponse, Gt as PasswordResetCreatedEventResponse, H as DsyncDeletedEvent, Ht as OrganizationUpdatedEvent, I as ConnectionDeactivatedEvent, It as OrganizationMembershipCreated, J as DsyncGroupUpdatedEvent, Jt as RoleCreatedEvent, K as DsyncGroupDeletedEvent, Kt as PasswordResetSucceededEvent, L as ConnectionDeactivatedEventResponse, Lt as OrganizationMembershipCreatedResponse, M as AuthenticationSSOSucceededEvent, Mt as OrganizationDomainVerificationFailedEvent, N as AuthenticationSSOSucceededEventResponse, Nt as OrganizationDomainVerificationFailedEventResponse, O as AuthenticationRadarRiskDetectedEvent, Ot as OrganizationDomainDeletedEvent, P as ConnectionActivatedEvent, Pt as OrganizationDomainVerifiedEvent, Q as DsyncGroupUserRemovedEvent, Qt as RoleUpdatedEvent, R as ConnectionDeletedEvent, Rt as OrganizationMembershipDeleted, S as AuthenticationPasskeySucceededEvent, St as OrganizationCreatedEvent, T as AuthenticationPasswordFailedEventResponse, Tt as OrganizationDeletedResponse, U as DsyncDeletedEventResponse, Ut as OrganizationUpdatedResponse, V as DsyncActivatedEventResponse, Vt as OrganizationMembershipUpdatedResponse, W as DsyncGroupCreatedEvent, Wt as PasswordResetCreatedEvent, X as DsyncGroupUserAddedEvent, Xt as RoleDeletedEvent, Y as DsyncGroupUpdatedEventResponse, Yt as RoleCreatedEventResponse, Z as DsyncGroupUserAddedEventResponse, Zt as RoleDeletedEventResponse, _ as AuthenticationOAuthFailedEventResponse, _t as InvitationResentEventResponse, a as ApiKeyCreatedEventResponse, an as UserCreatedEventResponse, at as DsyncUserUpdatedEventResponse, b as AuthenticationPasskeyFailedEvent, bt as MagicAuthCreatedEvent, c as AuthenticationEmailVerificationSucceededEvent, cn as UserUpdatedEvent, ct as Event, d as AuthenticationMagicAuthFailedEventResponse, dt as EventResponse, en as SessionCreatedEvent, et as DsyncUserCreatedEvent, f as AuthenticationMagicAuthSucceededEvent, ft as InvitationAcceptedEvent, g as AuthenticationOAuthFailedEvent, gt as InvitationResentEvent, h as AuthenticationMfaSucceededEventResponse, ht as InvitationCreatedEventResponse, i as ApiKeyCreatedEvent, in as UserCreatedEvent, it as DsyncUserUpdatedEvent, j as AuthenticationSSOFailedEventResponse, jt as OrganizationDomainUpdatedEventResponse, k as AuthenticationRadarRiskDetectedEventResponse, kt as OrganizationDomainDeletedEventResponse, l as AuthenticationEmailVerificationSucceededEventResponse, ln as UserUpdatedEventResponse, lt as EventBase, m as AuthenticationMfaSucceededEvent, mt as InvitationCreatedEvent, nn as SessionRevokedEvent, nt as DsyncUserDeletedEvent, o as ApiKeyDeletedEvent, on as UserDeletedEvent, ot as EmailVerificationCreatedEvent, p as AuthenticationMagicAuthSucceededEventResponse, pt as InvitationAcceptedEventResponse, q as DsyncGroupDeletedEventResponse, qt as PasswordResetSucceededEventResponse, rn as SessionRevokedEventResponse, rt as DsyncUserDeletedEventResponse, s as ApiKeyDeletedEventResponse, sn as UserDeletedEventResponse, st as EmailVerificationCreatedEventResponse, tn as SessionCreatedEventResponse, tt as DsyncUserCreatedEventResponse, u as AuthenticationMagicAuthFailedEvent, ut as EventName, v as AuthenticationOAuthSucceededEvent, vt as InvitationRevokedEvent, w as AuthenticationPasswordFailedEvent, wt as OrganizationDeletedEvent, x as AuthenticationPasskeyFailedEventResponse, xt as MagicAuthCreatedEventResponse, y as AuthenticationOAuthSucceededEventResponse, yt as InvitationRevokedEventResponse, z as ConnectionDeletedEventResponse, zt as OrganizationMembershipDeletedResponse } from "../../index-DBcxvLj5.cjs";
|
|
2
2
|
export { ApiKeyCreatedEvent, ApiKeyCreatedEventResponse, ApiKeyDeletedEvent, ApiKeyDeletedEventResponse, AuthenticationEmailVerificationSucceededEvent, AuthenticationEmailVerificationSucceededEventResponse, AuthenticationMagicAuthFailedEvent, AuthenticationMagicAuthFailedEventResponse, AuthenticationMagicAuthSucceededEvent, AuthenticationMagicAuthSucceededEventResponse, AuthenticationMfaSucceededEvent, AuthenticationMfaSucceededEventResponse, AuthenticationOAuthFailedEvent, AuthenticationOAuthFailedEventResponse, AuthenticationOAuthSucceededEvent, AuthenticationOAuthSucceededEventResponse, AuthenticationPasskeyFailedEvent, AuthenticationPasskeyFailedEventResponse, AuthenticationPasskeySucceededEvent, AuthenticationPasskeySucceededEventResponse, AuthenticationPasswordFailedEvent, AuthenticationPasswordFailedEventResponse, AuthenticationPasswordSucceededEvent, AuthenticationPasswordSucceededEventResponse, AuthenticationRadarRiskDetectedEvent, AuthenticationRadarRiskDetectedEventResponse, AuthenticationSSOFailedEvent, AuthenticationSSOFailedEventResponse, AuthenticationSSOSucceededEvent, AuthenticationSSOSucceededEventResponse, ConnectionActivatedEvent, ConnectionActivatedEventResponse, ConnectionDeactivatedEvent, ConnectionDeactivatedEventResponse, ConnectionDeletedEvent, ConnectionDeletedEventResponse, DsyncActivatedEvent, DsyncActivatedEventResponse, DsyncDeletedEvent, DsyncDeletedEventResponse, DsyncGroupCreatedEvent, DsyncGroupCreatedEventResponse, DsyncGroupDeletedEvent, DsyncGroupDeletedEventResponse, DsyncGroupUpdatedEvent, DsyncGroupUpdatedEventResponse, DsyncGroupUserAddedEvent, DsyncGroupUserAddedEventResponse, DsyncGroupUserRemovedEvent, DsyncGroupUserRemovedEventResponse, DsyncUserCreatedEvent, DsyncUserCreatedEventResponse, DsyncUserDeletedEvent, DsyncUserDeletedEventResponse, DsyncUserUpdatedEvent, DsyncUserUpdatedEventResponse, EmailVerificationCreatedEvent, EmailVerificationCreatedEventResponse, Event, EventBase, EventName, EventResponse, InvitationAcceptedEvent, InvitationAcceptedEventResponse, InvitationCreatedEvent, InvitationCreatedEventResponse, InvitationResentEvent, InvitationResentEventResponse, InvitationRevokedEvent, InvitationRevokedEventResponse, MagicAuthCreatedEvent, MagicAuthCreatedEventResponse, OrganizationCreatedEvent, OrganizationCreatedResponse, OrganizationDeletedEvent, OrganizationDeletedResponse, OrganizationDomainCreatedEvent, OrganizationDomainCreatedEventResponse, OrganizationDomainDeletedEvent, OrganizationDomainDeletedEventResponse, OrganizationDomainUpdatedEvent, OrganizationDomainUpdatedEventResponse, OrganizationDomainVerificationFailedEvent, OrganizationDomainVerificationFailedEventResponse, OrganizationDomainVerifiedEvent, OrganizationDomainVerifiedEventResponse, OrganizationMembershipCreated, OrganizationMembershipCreatedResponse, OrganizationMembershipDeleted, OrganizationMembershipDeletedResponse, OrganizationMembershipUpdated, OrganizationMembershipUpdatedResponse, OrganizationUpdatedEvent, OrganizationUpdatedResponse, PasswordResetCreatedEvent, PasswordResetCreatedEventResponse, PasswordResetSucceededEvent, PasswordResetSucceededEventResponse, RoleCreatedEvent, RoleCreatedEventResponse, RoleDeletedEvent, RoleDeletedEventResponse, RoleUpdatedEvent, RoleUpdatedEventResponse, SessionCreatedEvent, SessionCreatedEventResponse, SessionRevokedEvent, SessionRevokedEventResponse, UserCreatedEvent, UserCreatedEventResponse, UserDeletedEvent, UserDeletedEventResponse, UserUpdatedEvent, UserUpdatedEventResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as GetOptions } from "../../get-options.interface-
|
|
1
|
+
import { t as GetOptions } from "../../get-options.interface-DtIaBrYo.cjs";
|
|
2
2
|
export { GetOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ResponseHeaderValue, i as RequestOptions, n as HttpClientResponseInterface, o as ResponseHeaders, r as RequestHeaders, t as HttpClientInterface } from "../../http-client.interface-
|
|
1
|
+
import { a as ResponseHeaderValue, i as RequestOptions, n as HttpClientResponseInterface, o as ResponseHeaders, r as RequestHeaders, t as HttpClientInterface } from "../../http-client.interface-DMi5johZ.cjs";
|
|
2
2
|
export { HttpClientInterface, HttpClientResponseInterface, RequestHeaders, RequestOptions, ResponseHeaderValue, ResponseHeaders };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { t as PaginationOptions } from "../../pagination-options.interface-
|
|
2
|
-
import { $ as DsyncGroupUserRemovedEventResponse, $t as RoleUpdatedEventResponse, A as AuthenticationSSOFailedEvent, At as OrganizationDomainUpdatedEvent, B as DsyncActivatedEvent, Bt as OrganizationMembershipUpdated, C as AuthenticationPasskeySucceededEventResponse, Ct as OrganizationCreatedResponse, D as AuthenticationPasswordSucceededEventResponse, Dt as OrganizationDomainCreatedEventResponse, E as AuthenticationPasswordSucceededEvent, Et as OrganizationDomainCreatedEvent, F as ConnectionActivatedEventResponse, Ft as OrganizationDomainVerifiedEventResponse, G as DsyncGroupCreatedEventResponse, Gt as PasswordResetCreatedEventResponse, H as DsyncDeletedEvent, Ht as OrganizationUpdatedEvent, I as ConnectionDeactivatedEvent, It as OrganizationMembershipCreated, J as DsyncGroupUpdatedEvent, Jt as RoleCreatedEvent, K as DsyncGroupDeletedEvent, Kt as PasswordResetSucceededEvent, L as ConnectionDeactivatedEventResponse, Lt as OrganizationMembershipCreatedResponse, M as AuthenticationSSOSucceededEvent, Mt as OrganizationDomainVerificationFailedEvent, N as AuthenticationSSOSucceededEventResponse, Nt as OrganizationDomainVerificationFailedEventResponse, O as AuthenticationRadarRiskDetectedEvent, Ot as OrganizationDomainDeletedEvent, P as ConnectionActivatedEvent, Pt as OrganizationDomainVerifiedEvent, Q as DsyncGroupUserRemovedEvent, Qt as RoleUpdatedEvent, R as ConnectionDeletedEvent, Rt as OrganizationMembershipDeleted, S as AuthenticationPasskeySucceededEvent, St as OrganizationCreatedEvent, T as AuthenticationPasswordFailedEventResponse, Tt as OrganizationDeletedResponse, U as DsyncDeletedEventResponse, Ut as OrganizationUpdatedResponse, V as DsyncActivatedEventResponse, Vt as OrganizationMembershipUpdatedResponse, W as DsyncGroupCreatedEvent, Wt as PasswordResetCreatedEvent, X as DsyncGroupUserAddedEvent, Xt as RoleDeletedEvent, Y as DsyncGroupUpdatedEventResponse, Yt as RoleCreatedEventResponse, Z as DsyncGroupUserAddedEventResponse, Zt as RoleDeletedEventResponse, _ as AuthenticationOAuthFailedEventResponse, _t as InvitationResentEventResponse, a as ApiKeyCreatedEventResponse, an as UserCreatedEventResponse, at as DsyncUserUpdatedEventResponse, b as AuthenticationPasskeyFailedEvent, bt as MagicAuthCreatedEvent, c as AuthenticationEmailVerificationSucceededEvent, cn as UserUpdatedEvent, ct as Event, d as AuthenticationMagicAuthFailedEventResponse, dt as EventResponse, en as SessionCreatedEvent, et as DsyncUserCreatedEvent, f as AuthenticationMagicAuthSucceededEvent, ft as InvitationAcceptedEvent, g as AuthenticationOAuthFailedEvent, gt as InvitationResentEvent, h as AuthenticationMfaSucceededEventResponse, ht as InvitationCreatedEventResponse, i as ApiKeyCreatedEvent, in as UserCreatedEvent, it as DsyncUserUpdatedEvent, j as AuthenticationSSOFailedEventResponse, jt as OrganizationDomainUpdatedEventResponse, k as AuthenticationRadarRiskDetectedEventResponse, kt as OrganizationDomainDeletedEventResponse, l as AuthenticationEmailVerificationSucceededEventResponse, ln as UserUpdatedEventResponse, lt as EventBase, m as AuthenticationMfaSucceededEvent, mt as InvitationCreatedEvent, nn as SessionRevokedEvent, nt as DsyncUserDeletedEvent, o as ApiKeyDeletedEvent, on as UserDeletedEvent, ot as EmailVerificationCreatedEvent, p as AuthenticationMagicAuthSucceededEventResponse, pt as InvitationAcceptedEventResponse, q as DsyncGroupDeletedEventResponse, qt as PasswordResetSucceededEventResponse, rn as SessionRevokedEventResponse, rt as DsyncUserDeletedEventResponse, s as ApiKeyDeletedEventResponse, sn as UserDeletedEventResponse, st as EmailVerificationCreatedEventResponse, tn as SessionCreatedEventResponse, tt as DsyncUserCreatedEventResponse, u as AuthenticationMagicAuthFailedEvent, ut as EventName, v as AuthenticationOAuthSucceededEvent, vt as InvitationRevokedEvent, w as AuthenticationPasswordFailedEvent, wt as OrganizationDeletedEvent, x as AuthenticationPasskeyFailedEventResponse, xt as MagicAuthCreatedEventResponse, y as AuthenticationOAuthSucceededEventResponse, yt as InvitationRevokedEventResponse, z as ConnectionDeletedEventResponse, zt as OrganizationMembershipDeletedResponse } from "../../index-
|
|
3
|
-
import { t as GetOptions } from "../../get-options.interface-
|
|
4
|
-
import { n as ListResponse, t as List } from "../../list.interface-
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
|
|
1
|
+
import { t as PaginationOptions } from "../../pagination-options.interface-SKgiNnuZ.cjs";
|
|
2
|
+
import { $ as DsyncGroupUserRemovedEventResponse, $t as RoleUpdatedEventResponse, A as AuthenticationSSOFailedEvent, At as OrganizationDomainUpdatedEvent, B as DsyncActivatedEvent, Bt as OrganizationMembershipUpdated, C as AuthenticationPasskeySucceededEventResponse, Ct as OrganizationCreatedResponse, D as AuthenticationPasswordSucceededEventResponse, Dt as OrganizationDomainCreatedEventResponse, E as AuthenticationPasswordSucceededEvent, Et as OrganizationDomainCreatedEvent, F as ConnectionActivatedEventResponse, Ft as OrganizationDomainVerifiedEventResponse, G as DsyncGroupCreatedEventResponse, Gt as PasswordResetCreatedEventResponse, H as DsyncDeletedEvent, Ht as OrganizationUpdatedEvent, I as ConnectionDeactivatedEvent, It as OrganizationMembershipCreated, J as DsyncGroupUpdatedEvent, Jt as RoleCreatedEvent, K as DsyncGroupDeletedEvent, Kt as PasswordResetSucceededEvent, L as ConnectionDeactivatedEventResponse, Lt as OrganizationMembershipCreatedResponse, M as AuthenticationSSOSucceededEvent, Mt as OrganizationDomainVerificationFailedEvent, N as AuthenticationSSOSucceededEventResponse, Nt as OrganizationDomainVerificationFailedEventResponse, O as AuthenticationRadarRiskDetectedEvent, Ot as OrganizationDomainDeletedEvent, P as ConnectionActivatedEvent, Pt as OrganizationDomainVerifiedEvent, Q as DsyncGroupUserRemovedEvent, Qt as RoleUpdatedEvent, R as ConnectionDeletedEvent, Rt as OrganizationMembershipDeleted, S as AuthenticationPasskeySucceededEvent, St as OrganizationCreatedEvent, T as AuthenticationPasswordFailedEventResponse, Tt as OrganizationDeletedResponse, U as DsyncDeletedEventResponse, Ut as OrganizationUpdatedResponse, V as DsyncActivatedEventResponse, Vt as OrganizationMembershipUpdatedResponse, W as DsyncGroupCreatedEvent, Wt as PasswordResetCreatedEvent, X as DsyncGroupUserAddedEvent, Xt as RoleDeletedEvent, Y as DsyncGroupUpdatedEventResponse, Yt as RoleCreatedEventResponse, Z as DsyncGroupUserAddedEventResponse, Zt as RoleDeletedEventResponse, _ as AuthenticationOAuthFailedEventResponse, _t as InvitationResentEventResponse, a as ApiKeyCreatedEventResponse, an as UserCreatedEventResponse, at as DsyncUserUpdatedEventResponse, b as AuthenticationPasskeyFailedEvent, bt as MagicAuthCreatedEvent, c as AuthenticationEmailVerificationSucceededEvent, cn as UserUpdatedEvent, ct as Event, d as AuthenticationMagicAuthFailedEventResponse, dt as EventResponse, en as SessionCreatedEvent, et as DsyncUserCreatedEvent, f as AuthenticationMagicAuthSucceededEvent, ft as InvitationAcceptedEvent, g as AuthenticationOAuthFailedEvent, gt as InvitationResentEvent, h as AuthenticationMfaSucceededEventResponse, ht as InvitationCreatedEventResponse, i as ApiKeyCreatedEvent, in as UserCreatedEvent, it as DsyncUserUpdatedEvent, j as AuthenticationSSOFailedEventResponse, jt as OrganizationDomainUpdatedEventResponse, k as AuthenticationRadarRiskDetectedEventResponse, kt as OrganizationDomainDeletedEventResponse, l as AuthenticationEmailVerificationSucceededEventResponse, ln as UserUpdatedEventResponse, lt as EventBase, m as AuthenticationMfaSucceededEvent, mt as InvitationCreatedEvent, nn as SessionRevokedEvent, nt as DsyncUserDeletedEvent, o as ApiKeyDeletedEvent, on as UserDeletedEvent, ot as EmailVerificationCreatedEvent, p as AuthenticationMagicAuthSucceededEventResponse, pt as InvitationAcceptedEventResponse, q as DsyncGroupDeletedEventResponse, qt as PasswordResetSucceededEventResponse, rn as SessionRevokedEventResponse, rt as DsyncUserDeletedEventResponse, s as ApiKeyDeletedEventResponse, sn as UserDeletedEventResponse, st as EmailVerificationCreatedEventResponse, tn as SessionCreatedEventResponse, tt as DsyncUserCreatedEventResponse, u as AuthenticationMagicAuthFailedEvent, ut as EventName, v as AuthenticationOAuthSucceededEvent, vt as InvitationRevokedEvent, w as AuthenticationPasswordFailedEvent, wt as OrganizationDeletedEvent, x as AuthenticationPasskeyFailedEventResponse, xt as MagicAuthCreatedEventResponse, y as AuthenticationOAuthSucceededEventResponse, yt as InvitationRevokedEventResponse, z as ConnectionDeletedEventResponse, zt as OrganizationMembershipDeletedResponse } from "../../index-DBcxvLj5.cjs";
|
|
3
|
+
import { t as GetOptions } from "../../get-options.interface-DtIaBrYo.cjs";
|
|
4
|
+
import { n as ListResponse, t as List } from "../../list.interface-C8ZxDYyJ.cjs";
|
|
5
|
+
import { t as PatchOptions } from "../../patch-options.interface-46BCssmo.cjs";
|
|
6
|
+
import { t as PostOptions } from "../../post-options.interface-DlEjJsYu.cjs";
|
|
7
|
+
import { t as PutOptions } from "../../put-options.interface-7lk8rQLi.cjs";
|
|
8
|
+
import { t as UnprocessableEntityError } from "../../unprocessable-entity-error.interface-CGfXN5Ma.cjs";
|
|
9
|
+
import { t as WorkOSOptions } from "../../workos-options.interface-DsrGUZeh.cjs";
|
|
10
|
+
import { t as WorkOSResponseError } from "../../workos-response-error.interface-CUW8-rVq.cjs";
|
|
11
|
+
import { a as ResponseHeaderValue, i as RequestOptions, n as HttpClientResponseInterface, o as ResponseHeaders, r as RequestHeaders, t as HttpClientInterface } from "../../http-client.interface-DMi5johZ.cjs";
|
|
12
|
+
export { ApiKeyCreatedEvent, ApiKeyCreatedEventResponse, ApiKeyDeletedEvent, ApiKeyDeletedEventResponse, AuthenticationEmailVerificationSucceededEvent, AuthenticationEmailVerificationSucceededEventResponse, AuthenticationMagicAuthFailedEvent, AuthenticationMagicAuthFailedEventResponse, AuthenticationMagicAuthSucceededEvent, AuthenticationMagicAuthSucceededEventResponse, AuthenticationMfaSucceededEvent, AuthenticationMfaSucceededEventResponse, AuthenticationOAuthFailedEvent, AuthenticationOAuthFailedEventResponse, AuthenticationOAuthSucceededEvent, AuthenticationOAuthSucceededEventResponse, AuthenticationPasskeyFailedEvent, AuthenticationPasskeyFailedEventResponse, AuthenticationPasskeySucceededEvent, AuthenticationPasskeySucceededEventResponse, AuthenticationPasswordFailedEvent, AuthenticationPasswordFailedEventResponse, AuthenticationPasswordSucceededEvent, AuthenticationPasswordSucceededEventResponse, AuthenticationRadarRiskDetectedEvent, AuthenticationRadarRiskDetectedEventResponse, AuthenticationSSOFailedEvent, AuthenticationSSOFailedEventResponse, AuthenticationSSOSucceededEvent, AuthenticationSSOSucceededEventResponse, ConnectionActivatedEvent, ConnectionActivatedEventResponse, ConnectionDeactivatedEvent, ConnectionDeactivatedEventResponse, ConnectionDeletedEvent, ConnectionDeletedEventResponse, DsyncActivatedEvent, DsyncActivatedEventResponse, DsyncDeletedEvent, DsyncDeletedEventResponse, DsyncGroupCreatedEvent, DsyncGroupCreatedEventResponse, DsyncGroupDeletedEvent, DsyncGroupDeletedEventResponse, DsyncGroupUpdatedEvent, DsyncGroupUpdatedEventResponse, DsyncGroupUserAddedEvent, DsyncGroupUserAddedEventResponse, DsyncGroupUserRemovedEvent, DsyncGroupUserRemovedEventResponse, DsyncUserCreatedEvent, DsyncUserCreatedEventResponse, DsyncUserDeletedEvent, DsyncUserDeletedEventResponse, DsyncUserUpdatedEvent, DsyncUserUpdatedEventResponse, EmailVerificationCreatedEvent, EmailVerificationCreatedEventResponse, Event, EventBase, EventName, EventResponse, GetOptions, HttpClientInterface, HttpClientResponseInterface, InvitationAcceptedEvent, InvitationAcceptedEventResponse, InvitationCreatedEvent, InvitationCreatedEventResponse, InvitationResentEvent, InvitationResentEventResponse, InvitationRevokedEvent, InvitationRevokedEventResponse, List, ListResponse, MagicAuthCreatedEvent, MagicAuthCreatedEventResponse, OrganizationCreatedEvent, OrganizationCreatedResponse, OrganizationDeletedEvent, OrganizationDeletedResponse, OrganizationDomainCreatedEvent, OrganizationDomainCreatedEventResponse, OrganizationDomainDeletedEvent, OrganizationDomainDeletedEventResponse, OrganizationDomainUpdatedEvent, OrganizationDomainUpdatedEventResponse, OrganizationDomainVerificationFailedEvent, OrganizationDomainVerificationFailedEventResponse, OrganizationDomainVerifiedEvent, OrganizationDomainVerifiedEventResponse, OrganizationMembershipCreated, OrganizationMembershipCreatedResponse, OrganizationMembershipDeleted, OrganizationMembershipDeletedResponse, OrganizationMembershipUpdated, OrganizationMembershipUpdatedResponse, OrganizationUpdatedEvent, OrganizationUpdatedResponse, PaginationOptions, PasswordResetCreatedEvent, PasswordResetCreatedEventResponse, PasswordResetSucceededEvent, PasswordResetSucceededEventResponse, PatchOptions, PostOptions, PutOptions, RequestHeaders, RequestOptions, ResponseHeaderValue, ResponseHeaders, RoleCreatedEvent, RoleCreatedEventResponse, RoleDeletedEvent, RoleDeletedEventResponse, RoleUpdatedEvent, RoleUpdatedEventResponse, SessionCreatedEvent, SessionCreatedEventResponse, SessionRevokedEvent, SessionRevokedEventResponse, UnprocessableEntityError, UserCreatedEvent, UserCreatedEventResponse, UserDeletedEvent, UserDeletedEventResponse, UserUpdatedEvent, UserUpdatedEventResponse, WorkOSOptions, WorkOSResponseError };
|
|
@@ -2,10 +2,11 @@ import { PaginationOptions } from "./pagination-options.interface.js";
|
|
|
2
2
|
import { ApiKeyCreatedEvent, ApiKeyCreatedEventResponse, ApiKeyDeletedEvent, ApiKeyDeletedEventResponse, AuthenticationEmailVerificationSucceededEvent, AuthenticationEmailVerificationSucceededEventResponse, AuthenticationMagicAuthFailedEvent, AuthenticationMagicAuthFailedEventResponse, AuthenticationMagicAuthSucceededEvent, AuthenticationMagicAuthSucceededEventResponse, AuthenticationMfaSucceededEvent, AuthenticationMfaSucceededEventResponse, AuthenticationOAuthFailedEvent, AuthenticationOAuthFailedEventResponse, AuthenticationOAuthSucceededEvent, AuthenticationOAuthSucceededEventResponse, AuthenticationPasskeyFailedEvent, AuthenticationPasskeyFailedEventResponse, AuthenticationPasskeySucceededEvent, AuthenticationPasskeySucceededEventResponse, AuthenticationPasswordFailedEvent, AuthenticationPasswordFailedEventResponse, AuthenticationPasswordSucceededEvent, AuthenticationPasswordSucceededEventResponse, AuthenticationRadarRiskDetectedEvent, AuthenticationRadarRiskDetectedEventResponse, AuthenticationSSOFailedEvent, AuthenticationSSOFailedEventResponse, AuthenticationSSOSucceededEvent, AuthenticationSSOSucceededEventResponse, ConnectionActivatedEvent, ConnectionActivatedEventResponse, ConnectionDeactivatedEvent, ConnectionDeactivatedEventResponse, ConnectionDeletedEvent, ConnectionDeletedEventResponse, DsyncActivatedEvent, DsyncActivatedEventResponse, DsyncDeletedEvent, DsyncDeletedEventResponse, DsyncGroupCreatedEvent, DsyncGroupCreatedEventResponse, DsyncGroupDeletedEvent, DsyncGroupDeletedEventResponse, DsyncGroupUpdatedEvent, DsyncGroupUpdatedEventResponse, DsyncGroupUserAddedEvent, DsyncGroupUserAddedEventResponse, DsyncGroupUserRemovedEvent, DsyncGroupUserRemovedEventResponse, DsyncUserCreatedEvent, DsyncUserCreatedEventResponse, DsyncUserDeletedEvent, DsyncUserDeletedEventResponse, DsyncUserUpdatedEvent, DsyncUserUpdatedEventResponse, EmailVerificationCreatedEvent, EmailVerificationCreatedEventResponse, Event, EventBase, EventName, EventResponse, InvitationAcceptedEvent, InvitationAcceptedEventResponse, InvitationCreatedEvent, InvitationCreatedEventResponse, InvitationResentEvent, InvitationResentEventResponse, InvitationRevokedEvent, InvitationRevokedEventResponse, MagicAuthCreatedEvent, MagicAuthCreatedEventResponse, OrganizationCreatedEvent, OrganizationCreatedResponse, OrganizationDeletedEvent, OrganizationDeletedResponse, OrganizationDomainCreatedEvent, OrganizationDomainCreatedEventResponse, OrganizationDomainDeletedEvent, OrganizationDomainDeletedEventResponse, OrganizationDomainUpdatedEvent, OrganizationDomainUpdatedEventResponse, OrganizationDomainVerificationFailedEvent, OrganizationDomainVerificationFailedEventResponse, OrganizationDomainVerifiedEvent, OrganizationDomainVerifiedEventResponse, OrganizationMembershipCreated, OrganizationMembershipCreatedResponse, OrganizationMembershipDeleted, OrganizationMembershipDeletedResponse, OrganizationMembershipUpdated, OrganizationMembershipUpdatedResponse, OrganizationUpdatedEvent, OrganizationUpdatedResponse, PasswordResetCreatedEvent, PasswordResetCreatedEventResponse, PasswordResetSucceededEvent, PasswordResetSucceededEventResponse, RoleCreatedEvent, RoleCreatedEventResponse, RoleDeletedEvent, RoleDeletedEventResponse, RoleUpdatedEvent, RoleUpdatedEventResponse, SessionCreatedEvent, SessionCreatedEventResponse, SessionRevokedEvent, SessionRevokedEventResponse, UserCreatedEvent, UserCreatedEventResponse, UserDeletedEvent, UserDeletedEventResponse, UserUpdatedEvent, UserUpdatedEventResponse } from "./event.interface.js";
|
|
3
3
|
import { GetOptions } from "./get-options.interface.js";
|
|
4
4
|
import { List, ListResponse } from "./list.interface.js";
|
|
5
|
+
import { PatchOptions } from "./patch-options.interface.js";
|
|
5
6
|
import { PostOptions } from "./post-options.interface.js";
|
|
6
7
|
import { PutOptions } from "./put-options.interface.js";
|
|
7
8
|
import { UnprocessableEntityError } from "./unprocessable-entity-error.interface.js";
|
|
8
9
|
import { WorkOSOptions } from "./workos-options.interface.js";
|
|
9
10
|
import { WorkOSResponseError } from "./workos-response-error.interface.js";
|
|
10
11
|
import { HttpClientInterface, HttpClientResponseInterface, RequestHeaders, RequestOptions, ResponseHeaderValue, ResponseHeaders } from "./http-client.interface.js";
|
|
11
|
-
export { ApiKeyCreatedEvent, ApiKeyCreatedEventResponse, ApiKeyDeletedEvent, ApiKeyDeletedEventResponse, AuthenticationEmailVerificationSucceededEvent, AuthenticationEmailVerificationSucceededEventResponse, AuthenticationMagicAuthFailedEvent, AuthenticationMagicAuthFailedEventResponse, AuthenticationMagicAuthSucceededEvent, AuthenticationMagicAuthSucceededEventResponse, AuthenticationMfaSucceededEvent, AuthenticationMfaSucceededEventResponse, AuthenticationOAuthFailedEvent, AuthenticationOAuthFailedEventResponse, AuthenticationOAuthSucceededEvent, AuthenticationOAuthSucceededEventResponse, AuthenticationPasskeyFailedEvent, AuthenticationPasskeyFailedEventResponse, AuthenticationPasskeySucceededEvent, AuthenticationPasskeySucceededEventResponse, AuthenticationPasswordFailedEvent, AuthenticationPasswordFailedEventResponse, AuthenticationPasswordSucceededEvent, AuthenticationPasswordSucceededEventResponse, AuthenticationRadarRiskDetectedEvent, AuthenticationRadarRiskDetectedEventResponse, AuthenticationSSOFailedEvent, AuthenticationSSOFailedEventResponse, AuthenticationSSOSucceededEvent, AuthenticationSSOSucceededEventResponse, ConnectionActivatedEvent, ConnectionActivatedEventResponse, ConnectionDeactivatedEvent, ConnectionDeactivatedEventResponse, ConnectionDeletedEvent, ConnectionDeletedEventResponse, DsyncActivatedEvent, DsyncActivatedEventResponse, DsyncDeletedEvent, DsyncDeletedEventResponse, DsyncGroupCreatedEvent, DsyncGroupCreatedEventResponse, DsyncGroupDeletedEvent, DsyncGroupDeletedEventResponse, DsyncGroupUpdatedEvent, DsyncGroupUpdatedEventResponse, DsyncGroupUserAddedEvent, DsyncGroupUserAddedEventResponse, DsyncGroupUserRemovedEvent, DsyncGroupUserRemovedEventResponse, DsyncUserCreatedEvent, DsyncUserCreatedEventResponse, DsyncUserDeletedEvent, DsyncUserDeletedEventResponse, DsyncUserUpdatedEvent, DsyncUserUpdatedEventResponse, EmailVerificationCreatedEvent, EmailVerificationCreatedEventResponse, Event, EventBase, EventName, EventResponse, GetOptions, HttpClientInterface, HttpClientResponseInterface, InvitationAcceptedEvent, InvitationAcceptedEventResponse, InvitationCreatedEvent, InvitationCreatedEventResponse, InvitationResentEvent, InvitationResentEventResponse, InvitationRevokedEvent, InvitationRevokedEventResponse, List, ListResponse, MagicAuthCreatedEvent, MagicAuthCreatedEventResponse, OrganizationCreatedEvent, OrganizationCreatedResponse, OrganizationDeletedEvent, OrganizationDeletedResponse, OrganizationDomainCreatedEvent, OrganizationDomainCreatedEventResponse, OrganizationDomainDeletedEvent, OrganizationDomainDeletedEventResponse, OrganizationDomainUpdatedEvent, OrganizationDomainUpdatedEventResponse, OrganizationDomainVerificationFailedEvent, OrganizationDomainVerificationFailedEventResponse, OrganizationDomainVerifiedEvent, OrganizationDomainVerifiedEventResponse, OrganizationMembershipCreated, OrganizationMembershipCreatedResponse, OrganizationMembershipDeleted, OrganizationMembershipDeletedResponse, OrganizationMembershipUpdated, OrganizationMembershipUpdatedResponse, OrganizationUpdatedEvent, OrganizationUpdatedResponse, PaginationOptions, PasswordResetCreatedEvent, PasswordResetCreatedEventResponse, PasswordResetSucceededEvent, PasswordResetSucceededEventResponse, PostOptions, PutOptions, RequestHeaders, RequestOptions, ResponseHeaderValue, ResponseHeaders, RoleCreatedEvent, RoleCreatedEventResponse, RoleDeletedEvent, RoleDeletedEventResponse, RoleUpdatedEvent, RoleUpdatedEventResponse, SessionCreatedEvent, SessionCreatedEventResponse, SessionRevokedEvent, SessionRevokedEventResponse, UnprocessableEntityError, UserCreatedEvent, UserCreatedEventResponse, UserDeletedEvent, UserDeletedEventResponse, UserUpdatedEvent, UserUpdatedEventResponse, WorkOSOptions, WorkOSResponseError };
|
|
12
|
+
export { ApiKeyCreatedEvent, ApiKeyCreatedEventResponse, ApiKeyDeletedEvent, ApiKeyDeletedEventResponse, AuthenticationEmailVerificationSucceededEvent, AuthenticationEmailVerificationSucceededEventResponse, AuthenticationMagicAuthFailedEvent, AuthenticationMagicAuthFailedEventResponse, AuthenticationMagicAuthSucceededEvent, AuthenticationMagicAuthSucceededEventResponse, AuthenticationMfaSucceededEvent, AuthenticationMfaSucceededEventResponse, AuthenticationOAuthFailedEvent, AuthenticationOAuthFailedEventResponse, AuthenticationOAuthSucceededEvent, AuthenticationOAuthSucceededEventResponse, AuthenticationPasskeyFailedEvent, AuthenticationPasskeyFailedEventResponse, AuthenticationPasskeySucceededEvent, AuthenticationPasskeySucceededEventResponse, AuthenticationPasswordFailedEvent, AuthenticationPasswordFailedEventResponse, AuthenticationPasswordSucceededEvent, AuthenticationPasswordSucceededEventResponse, AuthenticationRadarRiskDetectedEvent, AuthenticationRadarRiskDetectedEventResponse, AuthenticationSSOFailedEvent, AuthenticationSSOFailedEventResponse, AuthenticationSSOSucceededEvent, AuthenticationSSOSucceededEventResponse, ConnectionActivatedEvent, ConnectionActivatedEventResponse, ConnectionDeactivatedEvent, ConnectionDeactivatedEventResponse, ConnectionDeletedEvent, ConnectionDeletedEventResponse, DsyncActivatedEvent, DsyncActivatedEventResponse, DsyncDeletedEvent, DsyncDeletedEventResponse, DsyncGroupCreatedEvent, DsyncGroupCreatedEventResponse, DsyncGroupDeletedEvent, DsyncGroupDeletedEventResponse, DsyncGroupUpdatedEvent, DsyncGroupUpdatedEventResponse, DsyncGroupUserAddedEvent, DsyncGroupUserAddedEventResponse, DsyncGroupUserRemovedEvent, DsyncGroupUserRemovedEventResponse, DsyncUserCreatedEvent, DsyncUserCreatedEventResponse, DsyncUserDeletedEvent, DsyncUserDeletedEventResponse, DsyncUserUpdatedEvent, DsyncUserUpdatedEventResponse, EmailVerificationCreatedEvent, EmailVerificationCreatedEventResponse, Event, EventBase, EventName, EventResponse, GetOptions, HttpClientInterface, HttpClientResponseInterface, InvitationAcceptedEvent, InvitationAcceptedEventResponse, InvitationCreatedEvent, InvitationCreatedEventResponse, InvitationResentEvent, InvitationResentEventResponse, InvitationRevokedEvent, InvitationRevokedEventResponse, List, ListResponse, MagicAuthCreatedEvent, MagicAuthCreatedEventResponse, OrganizationCreatedEvent, OrganizationCreatedResponse, OrganizationDeletedEvent, OrganizationDeletedResponse, OrganizationDomainCreatedEvent, OrganizationDomainCreatedEventResponse, OrganizationDomainDeletedEvent, OrganizationDomainDeletedEventResponse, OrganizationDomainUpdatedEvent, OrganizationDomainUpdatedEventResponse, OrganizationDomainVerificationFailedEvent, OrganizationDomainVerificationFailedEventResponse, OrganizationDomainVerifiedEvent, OrganizationDomainVerifiedEventResponse, OrganizationMembershipCreated, OrganizationMembershipCreatedResponse, OrganizationMembershipDeleted, OrganizationMembershipDeletedResponse, OrganizationMembershipUpdated, OrganizationMembershipUpdatedResponse, OrganizationUpdatedEvent, OrganizationUpdatedResponse, PaginationOptions, PasswordResetCreatedEvent, PasswordResetCreatedEventResponse, PasswordResetSucceededEvent, PasswordResetSucceededEventResponse, PatchOptions, PostOptions, PutOptions, RequestHeaders, RequestOptions, ResponseHeaderValue, ResponseHeaders, RoleCreatedEvent, RoleCreatedEventResponse, RoleDeletedEvent, RoleDeletedEventResponse, RoleUpdatedEvent, RoleUpdatedEventResponse, SessionCreatedEvent, SessionCreatedEventResponse, SessionRevokedEvent, SessionRevokedEventResponse, UnprocessableEntityError, UserCreatedEvent, UserCreatedEventResponse, UserDeletedEvent, UserDeletedEventResponse, UserUpdatedEvent, UserUpdatedEventResponse, WorkOSOptions, WorkOSResponseError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ListResponse, t as List } from "../../list.interface-
|
|
1
|
+
import { n as ListResponse, t as List } from "../../list.interface-C8ZxDYyJ.cjs";
|
|
2
2
|
export { List, ListResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PaginationOptions } from "../../pagination-options.interface-
|
|
1
|
+
import { t as PaginationOptions } from "../../pagination-options.interface-SKgiNnuZ.cjs";
|
|
2
2
|
export { PaginationOptions };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/common/interfaces/patch-options.interface.d.ts
|
|
2
|
+
interface PatchOptions {
|
|
3
|
+
query?: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
6
|
+
idempotencyKey?: string;
|
|
7
|
+
/** Skip API key requirement check (for PKCE-safe methods) */
|
|
8
|
+
skipApiKeyCheck?: boolean;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { PatchOptions };
|
|
12
|
+
//# sourceMappingURL=patch-options.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PostOptions } from "../../post-options.interface-
|
|
1
|
+
import { t as PostOptions } from "../../post-options.interface-DlEjJsYu.cjs";
|
|
2
2
|
export { PostOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PutOptions } from "../../put-options.interface-
|
|
1
|
+
import { t as PutOptions } from "../../put-options.interface-7lk8rQLi.cjs";
|
|
2
2
|
export { PutOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as RequestException } from "../../request-exception.interface-
|
|
1
|
+
import { t as RequestException } from "../../request-exception.interface-DahTOGID.cjs";
|
|
2
2
|
export { RequestException };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as UnknownRecord } from "../../unknown-record.interface-
|
|
1
|
+
import { t as UnknownRecord } from "../../unknown-record.interface-DSMWbzCc.cjs";
|
|
2
2
|
export { UnknownRecord };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as UnprocessableEntityError } from "../../unprocessable-entity-error.interface-
|
|
1
|
+
import { t as UnprocessableEntityError } from "../../unprocessable-entity-error.interface-CGfXN5Ma.cjs";
|
|
2
2
|
export { UnprocessableEntityError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as WorkOSOptions } from "../../workos-options.interface-
|
|
1
|
+
import { t as WorkOSOptions } from "../../workos-options.interface-DsrGUZeh.cjs";
|
|
2
2
|
export { WorkOSOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as WorkOSResponseError } from "../../workos-response-error.interface-
|
|
1
|
+
import { t as WorkOSResponseError } from "../../workos-response-error.interface-CUW8-rVq.cjs";
|
|
2
2
|
export { WorkOSResponseError };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_fetch_client = require('../../fetch-client-
|
|
1
|
+
const require_fetch_client = require('../../fetch-client-CP0ICYQG.cjs');
|
|
2
2
|
|
|
3
3
|
exports.FetchHttpClient = require_fetch_client.FetchHttpClient;
|
|
4
4
|
exports.FetchHttpClientResponse = require_fetch_client.FetchHttpClientResponse;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as RequestOptions, n as HttpClientResponseInterface, o as ResponseHeaders, t as HttpClientInterface } from "../../http-client.interface-
|
|
2
|
-
import { r as HttpClientResponse, t as HttpClient } from "../../http-client-
|
|
1
|
+
import { i as RequestOptions, n as HttpClientResponseInterface, o as ResponseHeaders, t as HttpClientInterface } from "../../http-client.interface-DMi5johZ.cjs";
|
|
2
|
+
import { r as HttpClientResponse, t as HttpClient } from "../../http-client-Cs56_alu.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/common/net/fetch-client.d.ts
|
|
5
5
|
interface FetchHttpClientOptions extends RequestInit {
|
|
@@ -15,6 +15,7 @@ declare class FetchHttpClient extends HttpClient implements HttpClientInterface
|
|
|
15
15
|
get(path: string, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
16
16
|
post<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
17
17
|
put<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
18
|
+
patch<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
18
19
|
delete(path: string, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
19
20
|
private fetchRequest;
|
|
20
21
|
private fetchRequestWithRetry;
|
|
@@ -15,6 +15,7 @@ declare class FetchHttpClient extends HttpClient implements HttpClientInterface
|
|
|
15
15
|
get(path: string, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
16
16
|
post<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
17
17
|
put<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
18
|
+
patch<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
18
19
|
delete(path: string, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
19
20
|
private fetchRequest;
|
|
20
21
|
private fetchRequestWithRetry;
|
|
@@ -46,6 +46,17 @@ var FetchHttpClient = class extends HttpClient {
|
|
|
46
46
|
...options.headers
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
+
async patch(path, entity, options) {
|
|
50
|
+
const resourceURL = HttpClient.getResourceURL(this.baseURL, path, options.params);
|
|
51
|
+
if (HttpClient.isPathRetryable(path)) return await this.fetchRequestWithRetry(resourceURL, "PATCH", HttpClient.getBody(entity), {
|
|
52
|
+
...HttpClient.getContentTypeHeader(entity),
|
|
53
|
+
...options.headers
|
|
54
|
+
});
|
|
55
|
+
else return await this.fetchRequest(resourceURL, "PATCH", HttpClient.getBody(entity), {
|
|
56
|
+
...HttpClient.getContentTypeHeader(entity),
|
|
57
|
+
...options.headers
|
|
58
|
+
});
|
|
59
|
+
}
|
|
49
60
|
async delete(path, options) {
|
|
50
61
|
const resourceURL = HttpClient.getResourceURL(this.baseURL, path, options.params);
|
|
51
62
|
if (HttpClient.isPathRetryable(path)) return await this.fetchRequestWithRetry(resourceURL, "DELETE", null, options.headers);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-client.js","names":["baseURL: string","options?: FetchHttpClientOptions","responseJson: any","response: HttpClientResponseInterface","requestError: any","headersObj: ResponseHeaders"],"sources":["../../../src/common/net/fetch-client.ts"],"sourcesContent":["import {\n HttpClientInterface,\n HttpClientResponseInterface,\n RequestHeaders,\n RequestOptions,\n ResponseHeaders,\n} from '../interfaces/http-client.interface';\nimport { HttpClient, HttpClientError, HttpClientResponse } from './http-client';\nimport { ParseError } from '../exceptions/parse-error';\n\ninterface FetchHttpClientOptions extends RequestInit {\n timeout?: number;\n}\n\nconst DEFAULT_FETCH_TIMEOUT = 60_000; // 60 seconds\nexport class FetchHttpClient extends HttpClient implements HttpClientInterface {\n private readonly _fetchFn;\n\n constructor(\n readonly baseURL: string,\n readonly options?: FetchHttpClientOptions,\n fetchFn?: typeof fetch,\n ) {\n super(baseURL, options);\n\n // Default to global fetch if available\n if (!fetchFn) {\n if (!globalThis.fetch) {\n throw new Error(\n 'Fetch function not defined in the global scope and no replacement was provided.',\n );\n }\n fetchFn = globalThis.fetch;\n }\n\n this._fetchFn = fetchFn.bind(globalThis);\n }\n\n /** @override */\n getClientName(): string {\n return 'fetch';\n }\n\n async get(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface> {\n const resourceURL = HttpClient.getResourceURL(\n this.baseURL,\n path,\n options.params,\n );\n\n if (HttpClient.isPathRetryable(path)) {\n return await this.fetchRequestWithRetry(\n resourceURL,\n 'GET',\n null,\n options.headers,\n );\n } else {\n return await this.fetchRequest(resourceURL, 'GET', null, options.headers);\n }\n }\n\n async post<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface> {\n const resourceURL = HttpClient.getResourceURL(\n this.baseURL,\n path,\n options.params,\n );\n\n if (HttpClient.isPathRetryable(path)) {\n return await this.fetchRequestWithRetry(\n resourceURL,\n 'POST',\n HttpClient.getBody(entity),\n {\n ...HttpClient.getContentTypeHeader(entity),\n ...options.headers,\n },\n );\n } else {\n return await this.fetchRequest(\n resourceURL,\n 'POST',\n HttpClient.getBody(entity),\n {\n ...HttpClient.getContentTypeHeader(entity),\n ...options.headers,\n },\n );\n }\n }\n\n async put<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface> {\n const resourceURL = HttpClient.getResourceURL(\n this.baseURL,\n path,\n options.params,\n );\n\n if (HttpClient.isPathRetryable(path)) {\n return await this.fetchRequestWithRetry(\n resourceURL,\n 'PUT',\n HttpClient.getBody(entity),\n {\n ...HttpClient.getContentTypeHeader(entity),\n ...options.headers,\n },\n );\n } else {\n return await this.fetchRequest(\n resourceURL,\n 'PUT',\n HttpClient.getBody(entity),\n {\n ...HttpClient.getContentTypeHeader(entity),\n ...options.headers,\n },\n );\n }\n }\n\n async delete(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface> {\n const resourceURL = HttpClient.getResourceURL(\n this.baseURL,\n path,\n options.params,\n );\n\n if (HttpClient.isPathRetryable(path)) {\n return await this.fetchRequestWithRetry(\n resourceURL,\n 'DELETE',\n null,\n options.headers,\n );\n } else {\n return await this.fetchRequest(\n resourceURL,\n 'DELETE',\n null,\n options.headers,\n );\n }\n }\n\n private async fetchRequest(\n url: string,\n method: string,\n body?: any,\n headers?: RequestHeaders,\n ): Promise<HttpClientResponseInterface> {\n // For methods which expect payloads, we should always pass a body value\n // even when it is empty. Without this, some JS runtimes (eg. Deno) will\n // inject a second Content-Length header.\n const methodHasPayload =\n method === 'POST' || method === 'PUT' || method === 'PATCH';\n\n const requestBody = body || (methodHasPayload ? '' : undefined);\n\n const { 'User-Agent': userAgent } = (this.options?.headers ||\n {}) as RequestHeaders;\n\n // Access timeout from the options with default of 60 seconds\n const timeout = this.options?.timeout ?? DEFAULT_FETCH_TIMEOUT; // Default 60 seconds\n const abortController = new AbortController();\n const timeoutId = setTimeout(() => {\n abortController?.abort();\n }, timeout);\n\n try {\n const res = await this._fetchFn(url, {\n method,\n headers: {\n Accept: 'application/json, text/plain, */*',\n 'Content-Type': 'application/json',\n ...this.options?.headers,\n ...headers,\n 'User-Agent': this.addClientToUserAgent(\n (userAgent || 'workos-node').toString(),\n ),\n },\n body: requestBody,\n signal: abortController?.signal,\n });\n\n // Clear timeout if request completed successfully\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n\n if (!res.ok) {\n const requestID = res.headers.get('X-Request-ID') ?? '';\n const rawBody = await res.text();\n\n let responseJson: any;\n\n try {\n responseJson = JSON.parse(rawBody);\n } catch (error) {\n if (error instanceof SyntaxError) {\n throw new ParseError({\n message: error.message,\n rawBody,\n requestID,\n rawStatus: res.status,\n });\n }\n throw error;\n }\n\n throw new HttpClientError({\n message: res.statusText,\n response: {\n status: res.status,\n headers: res.headers,\n data: responseJson,\n },\n });\n }\n return new FetchHttpClientResponse(res);\n } catch (error) {\n // Clear timeout if request failed\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n\n // Handle timeout errors\n if (error instanceof Error && error.name === 'AbortError') {\n throw new HttpClientError({\n message: `Request timeout after ${timeout}ms`,\n response: {\n status: 408,\n headers: {},\n data: { error: 'Request timeout' },\n },\n });\n }\n\n throw error;\n }\n }\n\n private async fetchRequestWithRetry(\n url: string,\n method: string,\n body?: any,\n headers?: RequestHeaders,\n ): Promise<HttpClientResponseInterface> {\n let response: HttpClientResponseInterface;\n let retryAttempts = 1;\n\n const makeRequest = async (): Promise<HttpClientResponseInterface> => {\n let requestError: any = null;\n\n try {\n response = await this.fetchRequest(url, method, body, headers);\n } catch (e) {\n requestError = e;\n }\n\n if (this.shouldRetryRequest(requestError, retryAttempts)) {\n retryAttempts++;\n await this.sleep(retryAttempts);\n return makeRequest();\n }\n\n if (requestError != null) {\n throw requestError;\n }\n\n return response;\n };\n\n return makeRequest();\n }\n\n private shouldRetryRequest(requestError: any, retryAttempt: number): boolean {\n if (retryAttempt > this.MAX_RETRY_ATTEMPTS) {\n return false;\n }\n\n if (requestError != null) {\n if (requestError instanceof TypeError) {\n return true;\n }\n\n if (\n requestError instanceof HttpClientError &&\n this.RETRY_STATUS_CODES.includes(requestError.response.status)\n ) {\n return true;\n }\n }\n\n return false;\n }\n}\n\n// tslint:disable-next-line\nexport class FetchHttpClientResponse\n extends HttpClientResponse\n implements HttpClientResponseInterface\n{\n _res: Response;\n\n constructor(res: Response) {\n super(\n res.status,\n FetchHttpClientResponse._transformHeadersToObject(res.headers),\n );\n this._res = res;\n }\n\n getRawResponse(): Response {\n return this._res;\n }\n\n toJSON(): Promise<any> | null {\n const contentType = this._res.headers.get('content-type');\n const isJsonResponse = contentType?.includes('application/json');\n\n return isJsonResponse ? this._res.json() : null;\n }\n\n static _transformHeadersToObject(headers: Headers): ResponseHeaders {\n // Fetch uses a Headers instance so this must be converted to a barebones\n // JS object to meet the HttpClient interface.\n const headersObj: ResponseHeaders = {};\n for (const entry of Object.entries(headers)) {\n if (!Array.isArray(entry) || entry.length !== 2) {\n throw new Error(\n 'Response objects produced by the fetch function given to FetchHttpClient do not have an iterable headers map. Response#headers should be an iterable object.',\n );\n }\n\n headersObj[entry[0]] = entry[1];\n }\n\n return headersObj;\n }\n}\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"fetch-client.js","names":["baseURL: string","options?: FetchHttpClientOptions","responseJson: any","response: HttpClientResponseInterface","requestError: any","headersObj: ResponseHeaders"],"sources":["../../../src/common/net/fetch-client.ts"],"sourcesContent":["import {\n HttpClientInterface,\n HttpClientResponseInterface,\n RequestHeaders,\n RequestOptions,\n ResponseHeaders,\n} from '../interfaces/http-client.interface';\nimport { HttpClient, HttpClientError, HttpClientResponse } from './http-client';\nimport { ParseError } from '../exceptions/parse-error';\n\ninterface FetchHttpClientOptions extends RequestInit {\n timeout?: number;\n}\n\nconst DEFAULT_FETCH_TIMEOUT = 60_000; // 60 seconds\nexport class FetchHttpClient extends HttpClient implements HttpClientInterface {\n private readonly _fetchFn;\n\n constructor(\n readonly baseURL: string,\n readonly options?: FetchHttpClientOptions,\n fetchFn?: typeof fetch,\n ) {\n super(baseURL, options);\n\n // Default to global fetch if available\n if (!fetchFn) {\n if (!globalThis.fetch) {\n throw new Error(\n 'Fetch function not defined in the global scope and no replacement was provided.',\n );\n }\n fetchFn = globalThis.fetch;\n }\n\n this._fetchFn = fetchFn.bind(globalThis);\n }\n\n /** @override */\n getClientName(): string {\n return 'fetch';\n }\n\n async get(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface> {\n const resourceURL = HttpClient.getResourceURL(\n this.baseURL,\n path,\n options.params,\n );\n\n if (HttpClient.isPathRetryable(path)) {\n return await this.fetchRequestWithRetry(\n resourceURL,\n 'GET',\n null,\n options.headers,\n );\n } else {\n return await this.fetchRequest(resourceURL, 'GET', null, options.headers);\n }\n }\n\n async post<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface> {\n const resourceURL = HttpClient.getResourceURL(\n this.baseURL,\n path,\n options.params,\n );\n\n if (HttpClient.isPathRetryable(path)) {\n return await this.fetchRequestWithRetry(\n resourceURL,\n 'POST',\n HttpClient.getBody(entity),\n {\n ...HttpClient.getContentTypeHeader(entity),\n ...options.headers,\n },\n );\n } else {\n return await this.fetchRequest(\n resourceURL,\n 'POST',\n HttpClient.getBody(entity),\n {\n ...HttpClient.getContentTypeHeader(entity),\n ...options.headers,\n },\n );\n }\n }\n\n async put<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface> {\n const resourceURL = HttpClient.getResourceURL(\n this.baseURL,\n path,\n options.params,\n );\n\n if (HttpClient.isPathRetryable(path)) {\n return await this.fetchRequestWithRetry(\n resourceURL,\n 'PUT',\n HttpClient.getBody(entity),\n {\n ...HttpClient.getContentTypeHeader(entity),\n ...options.headers,\n },\n );\n } else {\n return await this.fetchRequest(\n resourceURL,\n 'PUT',\n HttpClient.getBody(entity),\n {\n ...HttpClient.getContentTypeHeader(entity),\n ...options.headers,\n },\n );\n }\n }\n\n async patch<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface> {\n const resourceURL = HttpClient.getResourceURL(\n this.baseURL,\n path,\n options.params,\n );\n\n if (HttpClient.isPathRetryable(path)) {\n return await this.fetchRequestWithRetry(\n resourceURL,\n 'PATCH',\n HttpClient.getBody(entity),\n {\n ...HttpClient.getContentTypeHeader(entity),\n ...options.headers,\n },\n );\n } else {\n return await this.fetchRequest(\n resourceURL,\n 'PATCH',\n HttpClient.getBody(entity),\n {\n ...HttpClient.getContentTypeHeader(entity),\n ...options.headers,\n },\n );\n }\n }\n\n async delete(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface> {\n const resourceURL = HttpClient.getResourceURL(\n this.baseURL,\n path,\n options.params,\n );\n\n if (HttpClient.isPathRetryable(path)) {\n return await this.fetchRequestWithRetry(\n resourceURL,\n 'DELETE',\n null,\n options.headers,\n );\n } else {\n return await this.fetchRequest(\n resourceURL,\n 'DELETE',\n null,\n options.headers,\n );\n }\n }\n\n private async fetchRequest(\n url: string,\n method: string,\n body?: any,\n headers?: RequestHeaders,\n ): Promise<HttpClientResponseInterface> {\n // For methods which expect payloads, we should always pass a body value\n // even when it is empty. Without this, some JS runtimes (eg. Deno) will\n // inject a second Content-Length header.\n const methodHasPayload =\n method === 'POST' || method === 'PUT' || method === 'PATCH';\n\n const requestBody = body || (methodHasPayload ? '' : undefined);\n\n const { 'User-Agent': userAgent } = (this.options?.headers ||\n {}) as RequestHeaders;\n\n // Access timeout from the options with default of 60 seconds\n const timeout = this.options?.timeout ?? DEFAULT_FETCH_TIMEOUT; // Default 60 seconds\n const abortController = new AbortController();\n const timeoutId = setTimeout(() => {\n abortController?.abort();\n }, timeout);\n\n try {\n const res = await this._fetchFn(url, {\n method,\n headers: {\n Accept: 'application/json, text/plain, */*',\n 'Content-Type': 'application/json',\n ...this.options?.headers,\n ...headers,\n 'User-Agent': this.addClientToUserAgent(\n (userAgent || 'workos-node').toString(),\n ),\n },\n body: requestBody,\n signal: abortController?.signal,\n });\n\n // Clear timeout if request completed successfully\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n\n if (!res.ok) {\n const requestID = res.headers.get('X-Request-ID') ?? '';\n const rawBody = await res.text();\n\n let responseJson: any;\n\n try {\n responseJson = JSON.parse(rawBody);\n } catch (error) {\n if (error instanceof SyntaxError) {\n throw new ParseError({\n message: error.message,\n rawBody,\n requestID,\n rawStatus: res.status,\n });\n }\n throw error;\n }\n\n throw new HttpClientError({\n message: res.statusText,\n response: {\n status: res.status,\n headers: res.headers,\n data: responseJson,\n },\n });\n }\n return new FetchHttpClientResponse(res);\n } catch (error) {\n // Clear timeout if request failed\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n\n // Handle timeout errors\n if (error instanceof Error && error.name === 'AbortError') {\n throw new HttpClientError({\n message: `Request timeout after ${timeout}ms`,\n response: {\n status: 408,\n headers: {},\n data: { error: 'Request timeout' },\n },\n });\n }\n\n throw error;\n }\n }\n\n private async fetchRequestWithRetry(\n url: string,\n method: string,\n body?: any,\n headers?: RequestHeaders,\n ): Promise<HttpClientResponseInterface> {\n let response: HttpClientResponseInterface;\n let retryAttempts = 1;\n\n const makeRequest = async (): Promise<HttpClientResponseInterface> => {\n let requestError: any = null;\n\n try {\n response = await this.fetchRequest(url, method, body, headers);\n } catch (e) {\n requestError = e;\n }\n\n if (this.shouldRetryRequest(requestError, retryAttempts)) {\n retryAttempts++;\n await this.sleep(retryAttempts);\n return makeRequest();\n }\n\n if (requestError != null) {\n throw requestError;\n }\n\n return response;\n };\n\n return makeRequest();\n }\n\n private shouldRetryRequest(requestError: any, retryAttempt: number): boolean {\n if (retryAttempt > this.MAX_RETRY_ATTEMPTS) {\n return false;\n }\n\n if (requestError != null) {\n if (requestError instanceof TypeError) {\n return true;\n }\n\n if (\n requestError instanceof HttpClientError &&\n this.RETRY_STATUS_CODES.includes(requestError.response.status)\n ) {\n return true;\n }\n }\n\n return false;\n }\n}\n\n// tslint:disable-next-line\nexport class FetchHttpClientResponse\n extends HttpClientResponse\n implements HttpClientResponseInterface\n{\n _res: Response;\n\n constructor(res: Response) {\n super(\n res.status,\n FetchHttpClientResponse._transformHeadersToObject(res.headers),\n );\n this._res = res;\n }\n\n getRawResponse(): Response {\n return this._res;\n }\n\n toJSON(): Promise<any> | null {\n const contentType = this._res.headers.get('content-type');\n const isJsonResponse = contentType?.includes('application/json');\n\n return isJsonResponse ? this._res.json() : null;\n }\n\n static _transformHeadersToObject(headers: Headers): ResponseHeaders {\n // Fetch uses a Headers instance so this must be converted to a barebones\n // JS object to meet the HttpClient interface.\n const headersObj: ResponseHeaders = {};\n for (const entry of Object.entries(headers)) {\n if (!Array.isArray(entry) || entry.length !== 2) {\n throw new Error(\n 'Response objects produced by the fetch function given to FetchHttpClient do not have an iterable headers map. Response#headers should be an iterable object.',\n );\n }\n\n headersObj[entry[0]] = entry[1];\n }\n\n return headersObj;\n }\n}\n"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as HttpClientError, r as HttpClientResponse, t as HttpClient } from "../../http-client-
|
|
1
|
+
import { n as HttpClientError, r as HttpClientResponse, t as HttpClient } from "../../http-client-Cs56_alu.cjs";
|
|
2
2
|
export { HttpClient, HttpClientError, HttpClientResponse };
|
|
@@ -14,6 +14,7 @@ declare abstract class HttpClient implements HttpClientInterface {
|
|
|
14
14
|
abstract get(path: string, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
15
15
|
abstract post<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
16
16
|
abstract put<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
17
|
+
abstract patch<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
17
18
|
abstract delete(path: string, options: RequestOptions): Promise<HttpClientResponseInterface>;
|
|
18
19
|
addClientToUserAgent(userAgent: string): string;
|
|
19
20
|
static getResourceURL(baseURL: string, path: string, params?: Record<string, any>): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client.js","names":["baseURL: string","options?: RequestInit","sanitizedQueryObj: Record<string, any>"],"sources":["../../../src/common/net/http-client.ts"],"sourcesContent":["import {\n HttpClientInterface,\n HttpClientResponseInterface,\n RequestHeaders,\n RequestOptions,\n ResponseHeaders,\n} from '../interfaces/http-client.interface';\n\nexport abstract class HttpClient implements HttpClientInterface {\n readonly MAX_RETRY_ATTEMPTS = 3;\n readonly BACKOFF_MULTIPLIER = 1.5;\n readonly MINIMUM_SLEEP_TIME_IN_MILLISECONDS = 500;\n readonly RETRY_STATUS_CODES = [408, 500, 502, 504];\n\n constructor(\n readonly baseURL: string,\n readonly options?: RequestInit,\n ) {}\n\n /** The HTTP client name used for diagnostics */\n getClientName(): string {\n throw new Error('getClientName not implemented');\n }\n\n abstract get(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract post<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract put<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract delete(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n addClientToUserAgent(userAgent: string): string {\n if (userAgent.indexOf(' ') > -1) {\n return userAgent.replace(/\\b\\s/, `/${this.getClientName()} `);\n } else {\n return (userAgent += `/${this.getClientName()}`);\n }\n }\n\n static getResourceURL(\n baseURL: string,\n path: string,\n params?: Record<string, any>,\n ) {\n const queryString = HttpClient.getQueryString(params);\n const url = new URL([path, queryString].filter(Boolean).join('?'), baseURL);\n return url.toString();\n }\n\n static getQueryString(queryObj?: Record<string, any>) {\n if (!queryObj) return undefined;\n\n const sanitizedQueryObj: Record<string, any> = {};\n\n Object.entries(queryObj).forEach(([param, value]) => {\n if (value !== '' && value !== undefined) sanitizedQueryObj[param] = value;\n });\n\n return new URLSearchParams(sanitizedQueryObj).toString();\n }\n\n static getContentTypeHeader(entity: any): RequestHeaders | undefined {\n if (entity instanceof URLSearchParams) {\n return {\n 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8',\n };\n }\n return undefined;\n }\n\n static getBody(entity: any): BodyInit | null | undefined {\n if (entity === null || entity instanceof URLSearchParams) {\n return entity;\n }\n\n return JSON.stringify(entity);\n }\n\n static isPathRetryable(path: string): boolean {\n return (\n path.startsWith('/fga/') ||\n path.startsWith('/vault/') ||\n path.startsWith('/audit_logs/events')\n );\n }\n\n private getSleepTimeInMilliseconds(retryAttempt: number): number {\n const sleepTime =\n this.MINIMUM_SLEEP_TIME_IN_MILLISECONDS *\n Math.pow(this.BACKOFF_MULTIPLIER, retryAttempt);\n const jitter = Math.random() + 0.5;\n return sleepTime * jitter;\n }\n\n sleep = (retryAttempt: number) =>\n new Promise((resolve) =>\n setTimeout(resolve, this.getSleepTimeInMilliseconds(retryAttempt)),\n );\n}\n\n// tslint:disable-next-line\nexport abstract class HttpClientResponse implements HttpClientResponseInterface {\n _statusCode: number;\n _headers: ResponseHeaders;\n\n constructor(statusCode: number, headers: ResponseHeaders) {\n this._statusCode = statusCode;\n this._headers = headers;\n }\n\n getStatusCode(): number {\n return this._statusCode;\n }\n\n getHeaders(): ResponseHeaders {\n return this._headers;\n }\n\n abstract getRawResponse(): unknown;\n\n abstract toJSON(): any | null;\n}\n\n// tslint:disable-next-line\nexport class HttpClientError<T> extends Error {\n readonly name: string = 'HttpClientError';\n readonly message: string = 'The request could not be completed.';\n readonly response: { status: number; headers: any; data: T };\n\n constructor({\n message,\n response,\n }: {\n message: string;\n readonly response: HttpClientError<T>['response'];\n }) {\n super(message);\n this.message = message;\n this.response = response;\n }\n}\n"],"mappings":";AAQA,IAAsB,aAAtB,MAAsB,WAA0C;CAC9D,AAAS,qBAAqB;CAC9B,AAAS,qBAAqB;CAC9B,AAAS,qCAAqC;CAC9C,AAAS,qBAAqB;EAAC;EAAK;EAAK;EAAK;EAAI;CAElD,YACE,AAASA,SACT,AAASC,SACT;EAFS;EACA;;;CAIX,gBAAwB;AACtB,QAAM,IAAI,MAAM,gCAAgC;;
|
|
1
|
+
{"version":3,"file":"http-client.js","names":["baseURL: string","options?: RequestInit","sanitizedQueryObj: Record<string, any>"],"sources":["../../../src/common/net/http-client.ts"],"sourcesContent":["import {\n HttpClientInterface,\n HttpClientResponseInterface,\n RequestHeaders,\n RequestOptions,\n ResponseHeaders,\n} from '../interfaces/http-client.interface';\n\nexport abstract class HttpClient implements HttpClientInterface {\n readonly MAX_RETRY_ATTEMPTS = 3;\n readonly BACKOFF_MULTIPLIER = 1.5;\n readonly MINIMUM_SLEEP_TIME_IN_MILLISECONDS = 500;\n readonly RETRY_STATUS_CODES = [408, 500, 502, 504];\n\n constructor(\n readonly baseURL: string,\n readonly options?: RequestInit,\n ) {}\n\n /** The HTTP client name used for diagnostics */\n getClientName(): string {\n throw new Error('getClientName not implemented');\n }\n\n abstract get(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract post<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract put<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract patch<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract delete(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n addClientToUserAgent(userAgent: string): string {\n if (userAgent.indexOf(' ') > -1) {\n return userAgent.replace(/\\b\\s/, `/${this.getClientName()} `);\n } else {\n return (userAgent += `/${this.getClientName()}`);\n }\n }\n\n static getResourceURL(\n baseURL: string,\n path: string,\n params?: Record<string, any>,\n ) {\n const queryString = HttpClient.getQueryString(params);\n const url = new URL([path, queryString].filter(Boolean).join('?'), baseURL);\n return url.toString();\n }\n\n static getQueryString(queryObj?: Record<string, any>) {\n if (!queryObj) return undefined;\n\n const sanitizedQueryObj: Record<string, any> = {};\n\n Object.entries(queryObj).forEach(([param, value]) => {\n if (value !== '' && value !== undefined) sanitizedQueryObj[param] = value;\n });\n\n return new URLSearchParams(sanitizedQueryObj).toString();\n }\n\n static getContentTypeHeader(entity: any): RequestHeaders | undefined {\n if (entity instanceof URLSearchParams) {\n return {\n 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8',\n };\n }\n return undefined;\n }\n\n static getBody(entity: any): BodyInit | null | undefined {\n if (entity === null || entity instanceof URLSearchParams) {\n return entity;\n }\n\n return JSON.stringify(entity);\n }\n\n static isPathRetryable(path: string): boolean {\n return (\n path.startsWith('/fga/') ||\n path.startsWith('/vault/') ||\n path.startsWith('/audit_logs/events')\n );\n }\n\n private getSleepTimeInMilliseconds(retryAttempt: number): number {\n const sleepTime =\n this.MINIMUM_SLEEP_TIME_IN_MILLISECONDS *\n Math.pow(this.BACKOFF_MULTIPLIER, retryAttempt);\n const jitter = Math.random() + 0.5;\n return sleepTime * jitter;\n }\n\n sleep = (retryAttempt: number) =>\n new Promise((resolve) =>\n setTimeout(resolve, this.getSleepTimeInMilliseconds(retryAttempt)),\n );\n}\n\n// tslint:disable-next-line\nexport abstract class HttpClientResponse implements HttpClientResponseInterface {\n _statusCode: number;\n _headers: ResponseHeaders;\n\n constructor(statusCode: number, headers: ResponseHeaders) {\n this._statusCode = statusCode;\n this._headers = headers;\n }\n\n getStatusCode(): number {\n return this._statusCode;\n }\n\n getHeaders(): ResponseHeaders {\n return this._headers;\n }\n\n abstract getRawResponse(): unknown;\n\n abstract toJSON(): any | null;\n}\n\n// tslint:disable-next-line\nexport class HttpClientError<T> extends Error {\n readonly name: string = 'HttpClientError';\n readonly message: string = 'The request could not be completed.';\n readonly response: { status: number; headers: any; data: T };\n\n constructor({\n message,\n response,\n }: {\n message: string;\n readonly response: HttpClientError<T>['response'];\n }) {\n super(message);\n this.message = message;\n this.response = response;\n }\n}\n"],"mappings":";AAQA,IAAsB,aAAtB,MAAsB,WAA0C;CAC9D,AAAS,qBAAqB;CAC9B,AAAS,qBAAqB;CAC9B,AAAS,qCAAqC;CAC9C,AAAS,qBAAqB;EAAC;EAAK;EAAK;EAAK;EAAI;CAElD,YACE,AAASA,SACT,AAASC,SACT;EAFS;EACA;;;CAIX,gBAAwB;AACtB,QAAM,IAAI,MAAM,gCAAgC;;CA+BlD,qBAAqB,WAA2B;AAC9C,MAAI,UAAU,QAAQ,IAAI,GAAG,GAC3B,QAAO,UAAU,QAAQ,QAAQ,IAAI,KAAK,eAAe,CAAC,GAAG;MAE7D,QAAQ,aAAa,IAAI,KAAK,eAAe;;CAIjD,OAAO,eACL,SACA,MACA,QACA;EACA,MAAM,cAAc,WAAW,eAAe,OAAO;AAErD,SADY,IAAI,IAAI,CAAC,MAAM,YAAY,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI,EAAE,QAAQ,CAChE,UAAU;;CAGvB,OAAO,eAAe,UAAgC;AACpD,MAAI,CAAC,SAAU,QAAO;EAEtB,MAAMC,oBAAyC,EAAE;AAEjD,SAAO,QAAQ,SAAS,CAAC,SAAS,CAAC,OAAO,WAAW;AACnD,OAAI,UAAU,MAAM,UAAU,OAAW,mBAAkB,SAAS;IACpE;AAEF,SAAO,IAAI,gBAAgB,kBAAkB,CAAC,UAAU;;CAG1D,OAAO,qBAAqB,QAAyC;AACnE,MAAI,kBAAkB,gBACpB,QAAO,EACL,gBAAgB,mDACjB;;CAKL,OAAO,QAAQ,QAA0C;AACvD,MAAI,WAAW,QAAQ,kBAAkB,gBACvC,QAAO;AAGT,SAAO,KAAK,UAAU,OAAO;;CAG/B,OAAO,gBAAgB,MAAuB;AAC5C,SACE,KAAK,WAAW,QAAQ,IACxB,KAAK,WAAW,UAAU,IAC1B,KAAK,WAAW,qBAAqB;;CAIzC,AAAQ,2BAA2B,cAA8B;AAK/D,SAHE,KAAK,qCACL,KAAK,IAAI,KAAK,oBAAoB,aAAa,IAClC,KAAK,QAAQ,GAAG;;CAIjC,SAAS,iBACP,IAAI,SAAS,YACX,WAAW,SAAS,KAAK,2BAA2B,aAAa,CAAC,CACnE;;AAIL,IAAsB,qBAAtB,MAAgF;CAC9E;CACA;CAEA,YAAY,YAAoB,SAA0B;AACxD,OAAK,cAAc;AACnB,OAAK,WAAW;;CAGlB,gBAAwB;AACtB,SAAO,KAAK;;CAGd,aAA8B;AAC5B,SAAO,KAAK;;;AAShB,IAAa,kBAAb,cAAwC,MAAM;CAC5C,AAAS,OAAe;CACxB,AAAS,UAAkB;CAC3B,AAAS;CAET,YAAY,EACV,SACA,YAIC;AACD,QAAM,QAAQ;AACd,OAAK,UAAU;AACf,OAAK,WAAW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as deserializeEvent } from "../../event.serializer-
|
|
1
|
+
import { t as deserializeEvent } from "../../event.serializer-QBoSs9f4.cjs";
|
|
2
2
|
export { deserializeEvent };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as deserializeEvent } from "../../event.serializer-
|
|
2
|
-
import { t as deserializeList } from "../../list.serializer-
|
|
1
|
+
import { t as deserializeEvent } from "../../event.serializer-QBoSs9f4.cjs";
|
|
2
|
+
import { t as deserializeList } from "../../list.serializer-xzcXVR9t.cjs";
|
|
3
3
|
export { deserializeEvent, deserializeList };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as deserializeList } from "../../list.serializer-
|
|
1
|
+
import { t as deserializeList } from "../../list.serializer-xzcXVR9t.cjs";
|
|
2
2
|
export { deserializeList };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as PaginationOptions } from "../../pagination-options.interface-
|
|
2
|
-
import { t as GetOptions } from "../../get-options.interface-
|
|
3
|
-
import { t as List } from "../../list.interface-
|
|
4
|
-
import { n as WorkOS } from "../../api-keys-
|
|
1
|
+
import { t as PaginationOptions } from "../../pagination-options.interface-SKgiNnuZ.cjs";
|
|
2
|
+
import { t as GetOptions } from "../../get-options.interface-DtIaBrYo.cjs";
|
|
3
|
+
import { t as List } from "../../list.interface-C8ZxDYyJ.cjs";
|
|
4
|
+
import { n as WorkOS } from "../../api-keys-4KSJ7vul.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/common/utils/fetch-and-deserialize.d.ts
|
|
7
7
|
declare const fetchAndDeserialize: <T, U>(workos: WorkOS, endpoint: string, deserializeFn: (data: T) => U, options?: PaginationOptions, requestOptions?: GetOptions) => Promise<List<U>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as AutoPaginatable } from "../../pagination-
|
|
1
|
+
import { t as AutoPaginatable } from "../../pagination-D--sr3e2.cjs";
|
|
2
2
|
export { AutoPaginatable };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conflict.exception-
|
|
1
|
+
{"version":3,"file":"conflict.exception-4m45wGr8.cjs","names":[],"sources":["../src/common/exceptions/conflict.exception.ts"],"sourcesContent":["import { RequestException } from '../interfaces/request-exception.interface';\n\nexport class ConflictException extends Error implements RequestException {\n readonly status = 409;\n readonly name = 'ConflictException';\n readonly requestID: string;\n\n constructor({\n error,\n message,\n requestID,\n }: {\n error?: string;\n message?: string;\n requestID: string;\n }) {\n super();\n\n this.requestID = requestID;\n\n if (message) {\n this.message = message;\n } else if (error) {\n this.message = `Error: ${error}`;\n } else {\n this.message = `An conflict has occurred on the server.`;\n }\n }\n}\n"],"mappings":";;AAEA,IAAa,oBAAb,cAAuC,MAAkC;CACvE,AAAS,SAAS;CAClB,AAAS,OAAO;CAChB,AAAS;CAET,YAAY,EACV,OACA,SACA,aAKC;AACD,SAAO;AAEP,OAAK,YAAY;AAEjB,MAAI,QACF,MAAK,UAAU;WACN,MACT,MAAK,UAAU,UAAU;MAEzB,MAAK,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection-type.enum-
|
|
1
|
+
{"version":3,"file":"connection-type.enum-CQncLVbr.cjs","names":[],"sources":["../src/sso/interfaces/connection-type.enum.ts"],"sourcesContent":["export enum ConnectionType {\n ADFSSAML = 'ADFSSAML',\n AdpOidc = 'AdpOidc',\n AppleOAuth = 'AppleOAuth',\n Auth0SAML = 'Auth0SAML',\n AzureSAML = 'AzureSAML',\n CasSAML = 'CasSAML',\n ClassLinkSAML = 'ClassLinkSAML',\n CloudflareSAML = 'CloudflareSAML',\n CyberArkSAML = 'CyberArkSAML',\n DuoSAML = 'DuoSAML',\n GenericOIDC = 'GenericOIDC',\n GenericSAML = 'GenericSAML',\n GitHubOAuth = 'GitHubOAuth',\n GoogleOAuth = 'GoogleOAuth',\n GoogleSAML = 'GoogleSAML',\n JumpCloudSAML = 'JumpCloudSAML',\n KeycloakSAML = 'KeycloakSAML',\n LastPassSAML = 'LastPassSAML',\n LoginGovOidc = 'LoginGovOidc',\n MagicLink = 'MagicLink',\n MicrosoftOAuth = 'MicrosoftOAuth',\n MiniOrangeSAML = 'MiniOrangeSAML',\n NetIqSAML = 'NetIqSAML',\n OktaSAML = 'OktaSAML',\n OneLoginSAML = 'OneLoginSAML',\n OracleSAML = 'OracleSAML',\n PingFederateSAML = 'PingFederateSAML',\n PingOneSAML = 'PingOneSAML',\n RipplingSAML = 'RipplingSAML',\n SalesforceOAuth = 'SalesforceOAuth',\n SalesforceSAML = 'SalesforceSAML',\n ShibbolethGenericSAML = 'ShibbolethGenericSAML',\n ShibbolethSAML = 'ShibbolethSAML',\n SimpleSamlPhpSAML = 'SimpleSamlPhpSAML',\n VMwareSAML = 'VMwareSAML',\n}\n"],"mappings":";;AAAA,IAAY,4DAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ConnectionType } from "./connection-type.enum-
|
|
1
|
+
import { t as ConnectionType } from "./connection-type.enum-BCSkvlg6.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/sso/interfaces/connection.interface.d.ts
|
|
4
4
|
interface ConnectionDomain {
|
|
@@ -30,4 +30,4 @@ interface ConnectionResponse {
|
|
|
30
30
|
}
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ConnectionDomain as n, ConnectionResponse as r, Connection as t };
|
|
33
|
-
//# sourceMappingURL=connection.interface-
|
|
33
|
+
//# sourceMappingURL=connection.interface-D1HP4q90.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as ConnectionResponse, t as Connection } from "./connection.interface-
|
|
1
|
+
import { r as ConnectionResponse, t as Connection } from "./connection.interface-D1HP4q90.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/sso/serializers/connection.serializer.d.ts
|
|
4
4
|
declare const deserializeConnection: (connection: ConnectionResponse) => Connection;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { deserializeConnection as t };
|
|
7
|
-
//# sourceMappingURL=connection.serializer-
|
|
7
|
+
//# sourceMappingURL=connection.serializer-B47qKsDN.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PostOptions } from "./post-options.interface-
|
|
1
|
+
import { t as PostOptions } from "./post-options.interface-DlEjJsYu.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/audit-logs/interfaces/create-audit-log-event-options.interface.d.ts
|
|
4
4
|
interface AuditLogActor {
|
|
@@ -40,4 +40,4 @@ interface SerializedCreateAuditLogEventOptions {
|
|
|
40
40
|
type CreateAuditLogEventRequestOptions = Pick<PostOptions, 'idempotencyKey'>;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { SerializedCreateAuditLogEventOptions as a, CreateAuditLogEventRequestOptions as i, AuditLogTarget as n, CreateAuditLogEventOptions as r, AuditLogActor as t };
|
|
43
|
-
//# sourceMappingURL=create-audit-log-event-options.interface-
|
|
43
|
+
//# sourceMappingURL=create-audit-log-event-options.interface-B-eEsjZw.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as SerializedCreateAuditLogEventOptions, r as CreateAuditLogEventOptions } from "./create-audit-log-event-options.interface-
|
|
1
|
+
import { a as SerializedCreateAuditLogEventOptions, r as CreateAuditLogEventOptions } from "./create-audit-log-event-options.interface-B-eEsjZw.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/audit-logs/serializers/create-audit-log-event-options.serializer.d.ts
|
|
4
4
|
declare const serializeCreateAuditLogEventOptions: (event: CreateAuditLogEventOptions) => SerializedCreateAuditLogEventOptions;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { serializeCreateAuditLogEventOptions as t };
|
|
7
|
-
//# sourceMappingURL=create-audit-log-event-options.serializer-
|
|
7
|
+
//# sourceMappingURL=create-audit-log-event-options.serializer-Byx8ZppH.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PostOptions } from "./post-options.interface-
|
|
1
|
+
import { t as PostOptions } from "./post-options.interface-DlEjJsYu.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/audit-logs/interfaces/create-audit-log-schema-options.interface.d.ts
|
|
4
4
|
type AuditLogSchemaMetadata = Record<string, {
|
|
@@ -64,4 +64,4 @@ interface CreateAuditLogSchemaResponse {
|
|
|
64
64
|
type CreateAuditLogSchemaRequestOptions = Pick<PostOptions, 'idempotencyKey'>;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { CreateAuditLogSchemaOptions as a, SerializedCreateAuditLogSchemaOptions as c, AuditLogTargetSchema as i, AuditLogSchema as n, CreateAuditLogSchemaRequestOptions as o, AuditLogSchemaMetadata as r, CreateAuditLogSchemaResponse as s, AuditLogActorSchema as t };
|
|
67
|
-
//# sourceMappingURL=create-audit-log-schema-options.interface-
|
|
67
|
+
//# sourceMappingURL=create-audit-log-schema-options.interface-VEGNQUoR.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as CreateAuditLogSchemaOptions, c as SerializedCreateAuditLogSchemaOptions } from "./create-audit-log-schema-options.interface-
|
|
1
|
+
import { a as CreateAuditLogSchemaOptions, c as SerializedCreateAuditLogSchemaOptions } from "./create-audit-log-schema-options.interface-VEGNQUoR.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/audit-logs/serializers/create-audit-log-schema-options.serializer.d.ts
|
|
4
4
|
declare const serializeCreateAuditLogSchemaOptions: (schema: CreateAuditLogSchemaOptions) => SerializedCreateAuditLogSchemaOptions;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { serializeCreateAuditLogSchemaOptions as t };
|
|
7
|
-
//# sourceMappingURL=create-audit-log-schema-options.serializer-
|
|
7
|
+
//# sourceMappingURL=create-audit-log-schema-options.serializer-vOYqa-AI.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as AuditLogSchema, s as CreateAuditLogSchemaResponse } from "./create-audit-log-schema-options.interface-
|
|
1
|
+
import { n as AuditLogSchema, s as CreateAuditLogSchemaResponse } from "./create-audit-log-schema-options.interface-VEGNQUoR.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/audit-logs/serializers/create-audit-log-schema.serializer.d.ts
|
|
4
4
|
declare const deserializeAuditLogSchema: (auditLogSchema: CreateAuditLogSchemaResponse) => AuditLogSchema;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { deserializeAuditLogSchema as t };
|
|
7
|
-
//# sourceMappingURL=create-audit-log-schema.serializer-
|
|
7
|
+
//# sourceMappingURL=create-audit-log-schema.serializer-CDSQiWrT.d.cts.map
|