@workos-inc/node 8.6.0 → 8.8.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-C6LZCoKM.d.cts → access-token.interface-Buok__jV.d.cts} +1 -1
- package/lib/{action.interface-BAKF6gfV.d.cts → action.interface-BNRvZ9Od.d.cts} +3 -3
- 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-yS4tXCm5.d.cts → actions-C0f6paNq.d.cts} +3 -3
- package/lib/{add-flag-target-options.interface-Bwr2zybt.d.cts → add-flag-target-options.interface-9IQ0-3hu.d.cts} +1 -1
- package/lib/{api-key-required.exception-BR-OrqJz.d.cts → api-key-required.exception-DUX_xJyw.d.cts} +1 -1
- package/lib/{api-key.serializer-2aE2Ya1t.d.cts → api-key.serializer-DM6_cVFr.d.cts} +1 -1
- package/lib/api-keys/api-keys.d.cts +1 -1
- package/lib/api-keys/interfaces/create-organization-api-key-options.interface.d.cts +1 -1
- package/lib/api-keys/interfaces/index.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-CSDwj0TW.d.cts → api-keys-Dm4rmZx0.d.cts} +62 -63
- package/lib/{app-info.interface-C8Yk9_lU.d.cts → app-info.interface-DXCu_oOm.d.cts} +1 -1
- package/lib/{assign-role-options.serializer-CZ8yPE31.d.cts → assign-role-options.serializer-B2EB0RUA.d.cts} +1 -1
- package/lib/{audit-log-export-options.interface--M_PWQFX.d.cts → audit-log-export-options.interface-DFCYxLnl.d.cts} +1 -1
- package/lib/{audit-log-export-options.serializer-BOeLgBJq.d.cts → audit-log-export-options.serializer-BTNHRx_Y.d.cts} +2 -2
- package/lib/{audit-log-export.interface-DD4KnnW3.d.cts → audit-log-export.interface-DdSK_HSO.d.cts} +1 -1
- package/lib/{audit-log-export.serializer-BKTHwAcR.d.cts → audit-log-export.serializer-pz3S0J_1.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.serializer-DvwpALlU.d.cts → authenticate-with-code-and-verifier-options.serializer-CqSRBDhV.d.cts} +1 -1
- package/lib/{authenticate-with-code-options.serializer-k5aSKScw.d.cts → authenticate-with-code-options.serializer-59xsqmhD.d.cts} +1 -1
- package/lib/{authenticate-with-magic-auth-options.serializer-CTabjcIp.d.cts → authenticate-with-magic-auth-options.serializer-9MhQMc3z.d.cts} +1 -1
- package/lib/{authenticate-with-password-options.serializer-Dzjg_r_v.d.cts → authenticate-with-password-options.serializer-KtTlJKNW.d.cts} +1 -1
- package/lib/{authenticate-with-refresh-token-public-client-options.serializer-D5G70-Wh.d.cts → authenticate-with-refresh-token-public-client-options.serializer-BKRVqmNa.d.cts} +1 -1
- package/lib/{authenticate-with-refresh-token.options.serializer-DSpCTh6M.d.cts → authenticate-with-refresh-token.options.serializer-CXsmQ8PX.d.cts} +1 -1
- package/lib/{authenticate-with-session-cookie.interface--Ugw1Meh.d.cts → authenticate-with-session-cookie.interface-B7cOhTzF.d.cts} +2 -2
- package/lib/{authenticate-with-totp-options.serializer-BV9NMqo_.d.cts → authenticate-with-totp-options.serializer-D9zV4n4M.d.cts} +1 -1
- package/lib/{authentication-event.serializer-BHTuuzSf.d.cts → authentication-event.serializer-CNGLraV3.d.cts} +1 -1
- package/lib/{authentication-response.interface-B5XOTdYu.d.cts → authentication-response.interface-m3ftdeH0.d.cts} +2 -2
- package/lib/{authentication-response.serializer-CL0jlYDc.d.cts → authentication-response.serializer-QesVvEKA.d.cts} +2 -2
- package/lib/authorization/authorization.cjs +1 -1
- package/lib/authorization/authorization.d.cts +1 -1
- package/lib/authorization/index.cjs +1 -1
- package/lib/authorization/index.d.cts +7 -7
- package/lib/authorization/interfaces/create-environment-role-options.interface.d.cts +1 -1
- package/lib/authorization/interfaces/create-environment-role-options.interface.d.ts +2 -0
- package/lib/authorization/interfaces/create-permission-options.interface.d.cts +1 -1
- package/lib/authorization/interfaces/create-permission-options.interface.d.ts +2 -0
- package/lib/authorization/interfaces/environment-role.interface.d.cts +1 -1
- package/lib/authorization/interfaces/environment-role.interface.d.ts +2 -0
- package/lib/authorization/interfaces/index.d.cts +6 -6
- package/lib/authorization/interfaces/list-permissions-options.interface.d.cts +1 -1
- package/lib/authorization/interfaces/organization-role.interface.d.cts +1 -1
- package/lib/authorization/interfaces/organization-role.interface.d.ts +1 -0
- package/lib/authorization/interfaces/permission.interface.d.cts +1 -1
- package/lib/authorization/interfaces/permission.interface.d.ts +2 -0
- package/lib/authorization/serializers/assign-role-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/authorization-check-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/authorization-resource.serializer.d.cts +1 -1
- package/lib/authorization/serializers/create-authorization-resource-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/create-environment-role-options.serializer.cjs +1 -1
- package/lib/authorization/serializers/create-environment-role-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/create-environment-role-options.serializer.js +2 -1
- package/lib/authorization/serializers/create-environment-role-options.serializer.js.map +1 -1
- package/lib/authorization/serializers/create-organization-role-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/create-permission-options.serializer.cjs +1 -1
- package/lib/authorization/serializers/create-permission-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/create-permission-options.serializer.js +2 -1
- package/lib/authorization/serializers/create-permission-options.serializer.js.map +1 -1
- package/lib/authorization/serializers/environment-role.serializer.cjs +1 -1
- package/lib/authorization/serializers/environment-role.serializer.d.cts +1 -1
- package/lib/authorization/serializers/environment-role.serializer.js +1 -0
- package/lib/authorization/serializers/environment-role.serializer.js.map +1 -1
- package/lib/authorization/serializers/index.cjs +8 -8
- package/lib/authorization/serializers/index.d.cts +20 -20
- package/lib/authorization/serializers/list-authorization-resources-options.serializer.cjs +1 -1
- package/lib/authorization/serializers/list-authorization-resources-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/list-memberships-for-resource-options.serializer.cjs +1 -1
- package/lib/authorization/serializers/list-memberships-for-resource-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/list-resources-for-membership-options.serializer.cjs +1 -1
- package/lib/authorization/serializers/list-resources-for-membership-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/organization-role.serializer.cjs +1 -1
- package/lib/authorization/serializers/organization-role.serializer.d.cts +1 -1
- package/lib/authorization/serializers/organization-role.serializer.js +2 -0
- package/lib/authorization/serializers/organization-role.serializer.js.map +1 -1
- package/lib/authorization/serializers/permission.serializer.cjs +1 -1
- package/lib/authorization/serializers/permission.serializer.d.cts +1 -1
- package/lib/authorization/serializers/permission.serializer.js +1 -0
- package/lib/authorization/serializers/permission.serializer.js.map +1 -1
- package/lib/authorization/serializers/remove-role-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/role-assignment.serializer.d.cts +1 -1
- package/lib/authorization/serializers/update-authorization-resource-by-external-id-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/update-authorization-resource-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/update-environment-role-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/update-organization-role-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/update-permission-options.serializer.d.cts +1 -1
- package/lib/{authorization-Ccp2pNRF.cjs → authorization-CFjcVm0f.cjs} +9 -9
- package/lib/{authorization-Ccp2pNRF.cjs.map → authorization-CFjcVm0f.cjs.map} +1 -1
- package/lib/{authorization-check-options.serializer-BU8vA2RG.d.cts → authorization-check-options.serializer-Bf0LA_aB.d.cts} +1 -1
- package/lib/{authorization-resource.serializer-D2-I6HsO.d.cts → authorization-resource.serializer-DuD1RYA6.d.cts} +1 -1
- package/lib/{bad-request.exception-Dr0eSa0O.d.cts → bad-request.exception-CvMc1eG9.d.cts} +2 -2
- package/lib/{batch-write-resources-options.serializer-GM8V5Aal.d.cts → batch-write-resources-options.serializer-D9yfiBPL.d.cts} +2 -2
- package/lib/{challenge-factor-options-1PMSJeef.d.cts → challenge-factor-options-CpnZRyry.d.cts} +1 -1
- package/lib/{challenge.interface-UNMAxHWR.d.cts → challenge.interface-Dm34-dD_.d.cts} +1 -1
- package/lib/{challenge.serializer-DgCPxnMb.d.cts → challenge.serializer-SFcuZrJh.d.cts} +2 -2
- package/lib/{check-op.enum-rHoL_au9.d.cts → check-op.enum-BTWiIyiU.d.cts} +1 -1
- package/lib/{check-options.serializer-Cas9qPez.d.cts → check-options.serializer-hi-dJNM4.d.cts} +2 -2
- package/lib/{check.interface-DChTIYQh.d.cts → check.interface-DPdIqzqP.d.cts} +6 -6
- 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.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 +2 -2
- package/lib/common/interfaces/event.interface.d.ts +36 -3
- 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 +11 -11
- package/lib/common/interfaces/index.d.ts +2 -2
- package/lib/common/interfaces/list.interface.d.cts +1 -1
- package/lib/common/interfaces/patch-options.interface.d.cts +1 -1
- 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/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.d.cts +2 -2
- package/lib/common/net/http-client.d.cts +1 -1
- package/lib/common/serializers/event.serializer.cjs +1 -1
- package/lib/common/serializers/event.serializer.d.cts +1 -1
- package/lib/common/serializers/event.serializer.js +9 -0
- package/lib/common/serializers/event.serializer.js.map +1 -1
- package/lib/common/serializers/index.cjs +3 -3
- package/lib/common/serializers/index.d.cts +3 -3
- package/lib/common/serializers/list.serializer.cjs +1 -1
- package/lib/common/serializers/list.serializer.d.cts +1 -1
- package/lib/common/serializers/pagination-options.serializer.cjs +1 -1
- package/lib/common/serializers/pagination-options.serializer.d.cts +1 -1
- package/lib/common/utils/fetch-and-deserialize.cjs +1 -1
- package/lib/common/utils/fetch-and-deserialize.d.cts +3 -3
- package/lib/common/utils/pagination.d.cts +1 -1
- package/lib/{connection.serializer-CrL-OTu7.d.cts → connection.serializer-CGJCBj9L.d.cts} +1 -1
- package/lib/{create-audit-log-event-options.interface-BMImi3Ph.d.cts → create-audit-log-event-options.interface-AUzJbhUa.d.cts} +2 -2
- package/lib/{create-audit-log-event-options.serializer-BN3OcEy6.d.cts → create-audit-log-event-options.serializer-DGww7GcD.d.cts} +2 -2
- package/lib/{create-audit-log-schema-options.interface-DEw2JEw9.d.cts → create-audit-log-schema-options.interface-Df-CtTwA.d.cts} +2 -2
- package/lib/{create-audit-log-schema-options.serializer-DPBryixD.d.cts → create-audit-log-schema-options.serializer-CaSOIAav.d.cts} +2 -2
- package/lib/{create-audit-log-schema.serializer-W9V-e22z.d.cts → create-audit-log-schema.serializer-BdNu3wTv.d.cts} +2 -2
- package/lib/{create-authorization-resource-options.serializer-IpNLeVGk.d.cts → create-authorization-resource-options.serializer-CQtLzCwY.d.cts} +1 -1
- package/lib/{create-data-key.interface-B-aytYEd.d.cts → create-data-key.interface-CfdPFOII.d.cts} +2 -2
- package/lib/{create-environment-role-options.interface-D4HEg3bl.d.cts → create-environment-role-options.interface-D11JXavu.d.cts} +3 -1
- package/lib/{create-environment-role-options.serializer-C93Da-yB.cjs → create-environment-role-options.serializer-D20r9n5i.cjs} +3 -2
- package/lib/{create-environment-role-options.serializer-C93Da-yB.cjs.map → create-environment-role-options.serializer-D20r9n5i.cjs.map} +1 -1
- package/lib/{create-environment-role-options.serializer-iP8V6vTu.d.cts → create-environment-role-options.serializer-D9jwEbsi.d.cts} +2 -2
- package/lib/{create-magic-auth-options.serializer-DEGZ1Mas.d.cts → create-magic-auth-options.serializer-AED3cEHj.d.cts} +1 -1
- package/lib/{create-object.interface-Bm7L0wKq.d.cts → create-object.interface-BEWdAoAU.d.cts} +2 -2
- package/lib/{create-organization-api-key-options.serializer-uJAPlCtK.d.cts → create-organization-api-key-options.serializer-CQtSExUA.d.cts} +2 -2
- package/lib/{create-organization-options.serializer-B6uBWIo2.d.cts → create-organization-options.serializer-CMwM3Ein.d.cts} +2 -2
- package/lib/{create-organization-role-options.serializer-DHxEokgq.d.cts → create-organization-role-options.serializer-Dn8Za-db.d.cts} +1 -1
- package/lib/{create-password-reset-options.serializer-CbLK2YKw.d.cts → create-password-reset-options.serializer-uVAM5C0R.d.cts} +1 -1
- package/lib/{create-passwordless-session-options.interface-BPq-a_ff.d.cts → create-passwordless-session-options.interface-Br1VMTUt.d.cts} +1 -1
- package/lib/{create-permission-options.interface-D-ZUSfo3.d.cts → create-permission-options.interface-y-mOu7Hr.d.cts} +3 -1
- package/lib/{create-permission-options.serializer-XB51F9aI.d.cts → create-permission-options.serializer-BEHbKULX.d.cts} +2 -2
- package/lib/{create-permission-options.serializer-DxzSil89.cjs → create-permission-options.serializer-CsTRgSuq.cjs} +3 -2
- package/lib/{create-permission-options.serializer-DxzSil89.cjs.map → create-permission-options.serializer-CsTRgSuq.cjs.map} +1 -1
- package/lib/{create-resource-options.serializer-DvsMM37G.d.cts → create-resource-options.serializer-CFYaAMS-.d.cts} +2 -2
- package/lib/{create-user-options.serializer-BP4YGU-1.d.cts → create-user-options.serializer-emvIoxXk.d.cts} +1 -1
- package/lib/{created-api-key.serializer-Btz_bpl-.d.cts → created-api-key.serializer-4hpzVn79.d.cts} +1 -1
- package/lib/{decrypt-data-key.interface-BuI1is1m.d.cts → decrypt-data-key.interface-COPJw2aD.d.cts} +1 -1
- package/lib/{delete-object.interface-BJMqWLai.d.cts → delete-object.interface-C9gnNWU-.d.cts} +1 -1
- package/lib/{delete-resource-options.serializer-B7q-mf-L.d.cts → delete-resource-options.serializer-BNUcqHfb.d.cts} +2 -2
- package/lib/{directory-group.serializer-0TKalsuT.d.cts → directory-group.serializer-BVxAKXJj.d.cts} +1 -1
- package/lib/directory-sync/directory-sync.cjs +1 -1
- package/lib/directory-sync/directory-sync.d.cts +1 -1
- package/lib/directory-sync/interfaces/directory-user.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/index.d.cts +1 -1
- package/lib/directory-sync/serializers/directory-group.serializer.d.cts +1 -1
- package/lib/directory-sync/serializers/directory-user.serializer.d.cts +1 -1
- package/lib/directory-sync/serializers/directory.serializer.d.cts +1 -1
- package/lib/directory-sync/serializers/index.d.cts +4 -4
- package/lib/directory-sync/serializers/list-directories-options.serializer.d.cts +1 -1
- package/lib/{directory-sync-ClseMB3c.cjs → directory-sync-DShb6WkQ.cjs} +2 -2
- package/lib/{directory-sync-ClseMB3c.cjs.map → directory-sync-DShb6WkQ.cjs.map} +1 -1
- package/lib/{directory-user.serializer-XxQp-UAE.d.cts → directory-user.serializer-C7zA6zc6.d.cts} +2 -2
- package/lib/{directory.serializer-v_PXRd7z.d.cts → directory.serializer-0ObI8z0b.d.cts} +1 -1
- package/lib/{domain-data.interface-DM-kcHV9.d.cts → domain-data.interface-D9PEhuHc.d.cts} +1 -1
- package/lib/{email-verification.serializer-WFRMhGvJ.d.cts → email-verification.serializer-D3lfBeXl.d.cts} +1 -1
- package/lib/{enroll-auth-factor-options.serializer-D4C-tOTm.d.cts → enroll-auth-factor-options.serializer-h49b6m0i.d.cts} +1 -1
- package/lib/{enroll-factor-options-Dj9Vl-kp.d.cts → enroll-factor-options-BcgxXHrj.d.cts} +1 -1
- package/lib/{environment-role.interface-D1iWLXE9.d.cts → environment-role.interface-CF223Nhw.d.cts} +3 -1
- package/lib/{environment-role.serializer-CIiNX92v.cjs → environment-role.serializer-DbhO-b6n.cjs} +2 -1
- package/lib/{environment-role.serializer-CIiNX92v.cjs.map → environment-role.serializer-DbhO-b6n.cjs.map} +1 -1
- package/lib/{environment-role.serializer-BC82fir5.d.cts → environment-role.serializer-wsFAqA2X.d.cts} +2 -2
- package/lib/{event.serializer-Cn5xAuN9.cjs → event.serializer-DQe8qLHH.cjs} +12 -3
- package/lib/event.serializer-DQe8qLHH.cjs.map +1 -0
- package/lib/{event.serializer-UUziUbH3.d.cts → event.serializer-DxSHOkfb.d.cts} +2 -2
- package/lib/events/events.cjs +1 -1
- package/lib/events/events.d.cts +1 -1
- package/lib/events/interfaces/index.d.cts +1 -1
- package/lib/events/interfaces/list-events-options.interface.d.cts +1 -1
- package/lib/events/serializers/index.cjs +1 -1
- package/lib/events/serializers/index.d.cts +1 -1
- package/lib/events/serializers/list-event-options.serializer.cjs +1 -1
- package/lib/events/serializers/list-event-options.serializer.d.cts +1 -1
- package/lib/{events-DDmTI2cj.cjs → events-CPdcLR1v.cjs} +4 -4
- package/lib/{events-DDmTI2cj.cjs.map → events-CPdcLR1v.cjs.map} +1 -1
- package/lib/{factor.interface-DPOR4t5-.d.cts → factor.interface-BhhyEdaN.d.cts} +2 -2
- package/lib/{factor.serializer-DozaVLbI.d.cts → factor.serializer-BTeTtrWD.d.cts} +1 -1
- package/lib/{factor.serializer-CJyyyOEq.d.cts → factor.serializer-CRMo_hH_.d.cts} +2 -2
- package/lib/{factory-CzXPjI1E.cjs → factory-BrmcomOW.cjs} +2 -2
- package/lib/{factory-CzXPjI1E.cjs.map → factory-BrmcomOW.cjs.map} +1 -1
- package/lib/factory.cjs +3 -3
- package/lib/factory.d.cts +1 -1
- package/lib/{feature-flag.interface-DDrAgky3.d.cts → feature-flag.interface-4Ikij0w0.d.cts} +1 -1
- package/lib/{feature-flag.serializer-3aiAgB2_.d.cts → feature-flag.serializer-D6oOUHys.d.cts} +2 -2
- package/lib/{feature-flag.serializer-Cs7qjKgp.cjs → feature-flag.serializer-DqXUiZd4.cjs} +1 -1
- package/lib/{feature-flag.serializer-Cs7qjKgp.cjs.map → feature-flag.serializer-DqXUiZd4.cjs.map} +1 -1
- package/lib/feature-flags/feature-flags.cjs +1 -1
- package/lib/feature-flags/feature-flags.d.cts +1 -1
- package/lib/feature-flags/feature-flags.d.ts +2 -2
- package/lib/feature-flags/feature-flags.js +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/index.d.ts +1 -1
- package/lib/feature-flags/interfaces/list-feature-flags-options.interface.d.cts +1 -1
- package/lib/feature-flags/interfaces/remove-flag-target-options.interface.d.cts +1 -1
- package/lib/feature-flags/serializers/feature-flag.serializer.cjs +1 -1
- package/lib/feature-flags/serializers/feature-flag.serializer.d.cts +1 -1
- package/lib/feature-flags/serializers/index.cjs +1 -1
- package/lib/feature-flags/serializers/index.d.cts +1 -1
- package/lib/{feature-flags-D0BnuozI.cjs → feature-flags-2wzyH7on.cjs} +3 -3
- package/lib/{feature-flags-D0BnuozI.cjs.map → feature-flags-2wzyH7on.cjs.map} +1 -1
- package/lib/{fetch-and-deserialize-Ba2wR4ur.cjs → fetch-and-deserialize-wAuupni3.cjs} +2 -2
- package/lib/{fetch-and-deserialize-Ba2wR4ur.cjs.map → fetch-and-deserialize-wAuupni3.cjs.map} +1 -1
- package/lib/fga/fga.cjs +1 -1
- 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 +3 -3
- package/lib/fga/utils/fga-paginatable.d.cts +1 -1
- package/lib/fga/utils/interface-check.d.cts +2 -2
- package/lib/{fga-BXWRwaKi.cjs → fga-BPfLQ33S.cjs} +2 -2
- package/lib/{fga-BXWRwaKi.cjs.map → fga-BPfLQ33S.cjs.map} +1 -1
- package/lib/{fga-paginatable-joDdx-bk.d.cts → fga-paginatable-DXVZwFzX.d.cts} +4 -4
- package/lib/{generate-portal-link-intent.interface-DM9FRX0P.d.cts → generate-portal-link-intent.interface-C2mac0-y.d.cts} +1 -1
- package/lib/{generic-server.exception-C_jhVvki.d.cts → generic-server.exception-oSIJnqHy.d.cts} +2 -2
- package/lib/{get-access-token.interface-COCgEGF_.d.cts → get-access-token.interface-CC9W-m-U.d.cts} +2 -2
- package/lib/{get-options.interface-DoL0T9e1.d.cts → get-options.interface-BsU2gWu0.d.cts} +1 -1
- package/lib/get-token-CVW25jmW.cjs.map +1 -1
- package/lib/{get-token-xmqdj8Zh.d.cts → get-token-CZxt-NOl.d.cts} +2 -2
- package/lib/{http-client-tGbZ0v6f.d.cts → http-client-COq13zAE.d.cts} +2 -2
- package/lib/{http-client.interface-B5Hj5nF-.d.cts → http-client.interface-6Fw3v3Tg.d.cts} +1 -1
- package/lib/{index-DYVTG9fR.d.cts → index-DMn9159G.d.cts} +48 -11
- package/lib/index.cjs +6 -5
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +73 -74
- package/lib/index.d.ts +7 -6
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/index.worker.cjs +4 -4
- package/lib/index.worker.d.cts +57 -57
- package/lib/index.worker.d.ts +2 -2
- package/lib/{invitation.serializer-EDopn96N.d.cts → invitation.serializer-B8q8nnmR.d.cts} +1 -1
- package/lib/{key.interface-DWikImzG.d.cts → key.interface-YLV_plqn.d.cts} +1 -1
- package/lib/{list-authorization-resources-options.serializer-Bcr7oINk.d.cts → list-authorization-resources-options.serializer-B2GBZjY-.d.cts} +1 -1
- package/lib/{list-authorization-resources-options.serializer-BnhrvHcU.cjs → list-authorization-resources-options.serializer-DvKRcWey.cjs} +2 -2
- package/lib/{list-authorization-resources-options.serializer-BnhrvHcU.cjs.map → list-authorization-resources-options.serializer-DvKRcWey.cjs.map} +1 -1
- package/lib/{list-connections-options.serializer-CrF1Ymfh.d.cts → list-connections-options.serializer-C2ETSFny.d.cts} +1 -1
- package/lib/{list-directories-options.serializer-C9goOgkU.d.cts → list-directories-options.serializer-C9gqK1ls.d.cts} +1 -1
- package/lib/{list-event-options.serializer-qthqqVlR.cjs → list-event-options.serializer-BMuLbsuv.cjs} +1 -1
- package/lib/{list-event-options.serializer-qthqqVlR.cjs.map → list-event-options.serializer-BMuLbsuv.cjs.map} +1 -1
- package/lib/{list-event-options.serializer-C_A6oxeu.d.cts → list-event-options.serializer-PQ-fI1Yt.d.cts} +2 -2
- package/lib/{list-events-options.interface-Iyr1CHB0.d.cts → list-events-options.interface-Dyxyr76K.d.cts} +2 -2
- package/lib/{list-memberships-for-resource-options.serializer-DNDxpu2K.d.cts → list-memberships-for-resource-options.serializer-aQpL3LF9.d.cts} +1 -1
- package/lib/{list-memberships-for-resource-options.serializer-DdyDG2lm.cjs → list-memberships-for-resource-options.serializer-iaykx8Lw.cjs} +2 -2
- package/lib/{list-memberships-for-resource-options.serializer-DdyDG2lm.cjs.map → list-memberships-for-resource-options.serializer-iaykx8Lw.cjs.map} +1 -1
- package/lib/{list-object-versions.interface-BIpsoYSF.d.cts → list-object-versions.interface-CbrhRrmz.d.cts} +1 -1
- package/lib/{list-objects.interface-5d1Vw7Kl.d.cts → list-objects.interface-CtunUutg.d.cts} +1 -1
- package/lib/{list-organization-feature-flags-options.interface-M3Jmv5_Z.d.cts → list-organization-feature-flags-options.interface-PoBPTz4g.d.cts} +1 -1
- package/lib/{list-organization-roles-options.interface-DmY9jVcp.d.cts → list-organization-roles-options.interface-DejI9E8H.d.cts} +1 -1
- package/lib/{list-organizations-options.interface-n4qDIe17.d.cts → list-organizations-options.interface-Bwx3In4U.d.cts} +1 -1
- package/lib/{list-resources-for-membership-options.serializer-L3x4ttf1.d.cts → list-resources-for-membership-options.serializer-01hwgS6y.d.cts} +1 -1
- package/lib/{list-resources-for-membership-options.serializer--NGDy2ss.cjs → list-resources-for-membership-options.serializer-6TItLFPj.cjs} +2 -2
- package/lib/{list-resources-for-membership-options.serializer--NGDy2ss.cjs.map → list-resources-for-membership-options.serializer-6TItLFPj.cjs.map} +1 -1
- package/lib/{list-resources-options.serializer-BR7F9KEZ.d.cts → list-resources-options.serializer-DGVmkcZe.d.cts} +2 -2
- package/lib/{list-sessions-options.serializer-BVgXGaUW.d.cts → list-sessions-options.serializer-Cx_PvDl8.d.cts} +1 -1
- package/lib/{list-warrants-options.serializer-C1T1ysdg.d.cts → list-warrants-options.serializer-DDlu-iU1.d.cts} +2 -2
- package/lib/{list.interface-dnxfqUTZ.d.cts → list.interface-Bbp2ZBpM.d.cts} +3 -3
- package/lib/{list.interface-D2Q6nKBO.d.cts → list.interface-I2r4xhuH.d.cts} +1 -1
- package/lib/{list.serializer-CvYFfpso.d.cts → list.serializer-C0xM3Q5_.d.cts} +3 -3
- package/lib/{list.serializer-DQ9MJjpQ.d.cts → list.serializer-DILm4JiZ.d.cts} +2 -2
- package/lib/{list.serializer-DeffIsv5.cjs → list.serializer-DMdl1FBx.cjs} +1 -1
- package/lib/{list.serializer-DeffIsv5.cjs.map → list.serializer-DMdl1FBx.cjs.map} +1 -1
- package/lib/{magic-auth.serializer-DAydIP4V.d.cts → magic-auth.serializer-Cmv0WqFM.d.cts} +1 -1
- 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 +7 -7
- package/lib/mfa/interfaces/sms.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/verify-response.serializer.d.cts +1 -1
- package/lib/{no-api-key-provided.exception-CVdb8QHN.d.cts → no-api-key-provided.exception-D4MBm8QH.d.cts} +1 -1
- package/lib/{not-found.exception-7qN1H4Nf.d.cts → not-found.exception-CTDvvvLQ.d.cts} +2 -2
- package/lib/{oauth.exception-C3PMJZOl.d.cts → oauth.exception-DsPKFu_J.d.cts} +2 -2
- package/lib/{object.interface-C0gQ84EY.d.cts → object.interface-Do9xg7Zv.d.cts} +2 -2
- package/lib/organization-domains/organization-domains.d.cts +1 -1
- package/lib/{organization-role.interface-DXjTJ0Z5.d.cts → organization-role.interface-B3bzv4On.d.cts} +2 -1
- package/lib/{organization-role.serializer-DFNkyIDQ.cjs → organization-role.serializer-6bXBqqj5.cjs} +3 -1
- package/lib/organization-role.serializer-6bXBqqj5.cjs.map +1 -0
- package/lib/{organization-role.serializer-DTDhk4Nh.d.cts → organization-role.serializer-TtMCd2mh.d.cts} +3 -3
- package/lib/{organization.interface-qvSYAhMT.d.cts → organization.interface-Dxz3SLtZ.d.cts} +1 -1
- package/lib/{organization.serializer-C5kF4Tqo.d.cts → organization.serializer-DS1-IEd8.d.cts} +2 -2
- package/lib/organizations/interfaces/create-organization-options.interface.d.cts +1 -1
- package/lib/organizations/interfaces/domain-data.interface.d.cts +1 -1
- package/lib/organizations/interfaces/index.d.cts +6 -6
- package/lib/organizations/interfaces/list-organization-feature-flags-options.interface.d.cts +1 -1
- package/lib/organizations/interfaces/list-organization-roles-options.interface.d.cts +1 -1
- package/lib/organizations/interfaces/list-organizations-options.interface.d.cts +1 -1
- package/lib/organizations/interfaces/organization.interface.d.cts +1 -1
- package/lib/organizations/interfaces/update-organization-options.interface.d.cts +1 -1
- package/lib/organizations/organizations.cjs +1 -1
- package/lib/organizations/organizations.d.cts +1 -1
- package/lib/organizations/organizations.d.ts +1 -1
- package/lib/organizations/organizations.js +1 -1
- package/lib/organizations/serializers/create-organization-options.serializer.d.cts +1 -1
- package/lib/organizations/serializers/index.d.cts +3 -3
- package/lib/organizations/serializers/organization.serializer.d.cts +1 -1
- package/lib/organizations/serializers/update-organization-options.serializer.d.cts +1 -1
- package/lib/{organizations-DBZSzZs0.cjs → organizations-Cj9rLRWq.cjs} +4 -4
- package/lib/{organizations-DBZSzZs0.cjs.map → organizations-Cj9rLRWq.cjs.map} +1 -1
- package/lib/package.js +6 -0
- package/lib/package.js.map +1 -0
- package/lib/{pagination-HWQZtuX6.d.cts → pagination-B70j26ip.d.cts} +2 -2
- package/lib/{pagination-options.serializer-uFxSSjyn.d.cts → pagination-options.serializer-1IbIwtWv.d.cts} +1 -1
- package/lib/{pagination-options.serializer-BV8g5B38.cjs → pagination-options.serializer-BpBYvO9v.cjs} +1 -1
- package/lib/{pagination-options.serializer-BV8g5B38.cjs.map → pagination-options.serializer-BpBYvO9v.cjs.map} +1 -1
- package/lib/{password-reset.serializer-grZ1VGba.d.cts → password-reset.serializer-C_NzVwDv.d.cts} +1 -1
- 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-DBPNZsQp.d.cts → passwordless-session.interface-BPynm7tz.d.cts} +1 -1
- package/lib/{patch-options.interface-BAVaR96y.d.cts → patch-options.interface-sduP5vFr.d.cts} +1 -1
- package/lib/{permission.interface-DUgNctyv.d.cts → permission.interface-OPWiA8hK.d.cts} +3 -1
- package/lib/{permission.serializer-GO1NbZki.d.cts → permission.serializer-Bw7vv2Ur.d.cts} +2 -2
- package/lib/{permission.serializer-BehT5Z93.cjs → permission.serializer-Cxa376w7.cjs} +2 -1
- package/lib/permission.serializer-Cxa376w7.cjs.map +1 -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-CkDcEdoo.d.cts → pkce-BNs390-T.d.cts} +1 -1
- package/lib/portal/interfaces/generate-portal-link-intent.interface.d.cts +1 -1
- package/lib/portal/interfaces/index.d.cts +1 -1
- package/lib/portal/portal.d.cts +1 -1
- package/lib/{post-options.interface-D8yUBVGr.d.cts → post-options.interface-BR5jQA4x.d.cts} +1 -1
- package/lib/{profile-and-token.serializer-BrOalmOt.d.cts → profile-and-token.serializer-JsmgThjS.d.cts} +2 -2
- package/lib/{profile.serializer-EDpJlY-r.d.cts → profile.serializer-CsrFiJX7.d.cts} +2 -2
- package/lib/{put-options.interface-JSNS5evI.d.cts → put-options.interface-VXax1_sR.d.cts} +1 -1
- package/lib/{query-options.serializer-DrRDm7He.d.cts → query-options.serializer-DffmenXK.d.cts} +2 -2
- package/lib/{query-result.serializer-CJnHUV8v.d.cts → query-result.serializer-DFKCaIAe.d.cts} +4 -4
- package/lib/{query.interface-DvI8OOX6.d.cts → query.interface-Bn03fUFS.d.cts} +3 -3
- package/lib/{rate-limit-exceeded.exception-LIdF3qZq.d.cts → rate-limit-exceeded.exception-BkM54IsX.d.cts} +2 -2
- package/lib/{read-object.interface-bYptR15L.d.cts → read-object.interface-iqgpJxLj.d.cts} +3 -3
- package/lib/{refresh-and-seal-session-data.interface-CfKqrf2N.d.cts → refresh-and-seal-session-data.interface-B_CoeTQF.d.cts} +3 -3
- package/lib/{remove-flag-target-options.interface-BlZtU4Qf.d.cts → remove-flag-target-options.interface-D4j_miMD.d.cts} +1 -1
- package/lib/{remove-role-options.serializer-Cq-gQ6eh.d.cts → remove-role-options.serializer-MXH-zTEQ.d.cts} +1 -1
- package/lib/{request-exception.interface-DXrL5xJL.d.cts → request-exception.interface-CuuezHgg.d.cts} +1 -1
- package/lib/{reset-password-options.serializer-B9Dv28B5.d.cts → reset-password-options.serializer-B-yKukZL.d.cts} +1 -1
- package/lib/{resource-op.enum-CNibFpd3.d.cts → resource-op.enum-DpcuVeOX.d.cts} +1 -1
- package/lib/{resource.interface-DSxkG9Jg.d.cts → resource.interface-DdilIYi7.d.cts} +2 -2
- package/lib/{resource.serializer-DbjYmqjL.d.cts → resource.serializer-Das8RBBH.d.cts} +2 -2
- package/lib/{response-payload.interface-DwFDDgXN.d.cts → response-payload.interface-BxqIcrma.d.cts} +1 -1
- package/lib/{role-assignment.serializer-ddyzkw8N.d.cts → role-assignment.serializer-CNEsj7hN.d.cts} +1 -1
- package/lib/{role.serializer-BJE162aA.cjs → role.serializer-BmSjBq3i.cjs} +1 -1
- package/lib/{role.serializer-BJE162aA.cjs.map → role.serializer-BmSjBq3i.cjs.map} +1 -1
- 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 +1 -0
- package/lib/roles/serializers/role.serializer.cjs +1 -1
- package/lib/roles/serializers/role.serializer.d.cts +1 -1
- package/lib/{send-session-response.interface-Bu76CdzC.d.cts → send-session-response.interface-DrY_UidP.d.cts} +1 -1
- package/lib/{session-handler-options.interface-DJRJes_5.d.cts → session-handler-options.interface-i1Q3y3CN.d.cts} +1 -1
- package/lib/{session.interface-DEkXnpLu.d.cts → session.interface-gNED15L3.d.cts} +2 -2
- package/lib/{session.serializer-BL-7BJfq.d.cts → session.serializer-CdQMlueA.d.cts} +2 -2
- package/lib/{signature-verification.exception-DDuwGSbj.d.cts → signature-verification.exception-BGEX3tOK.d.cts} +1 -1
- package/lib/{sms.interface-yD1fgT7s.d.cts → sms.interface-CmOBSCNB.d.cts} +1 -1
- package/lib/sso/interfaces/index.d.cts +1 -1
- package/lib/sso/interfaces/profile-and-token.interface.d.cts +1 -1
- package/lib/sso/interfaces/profile.interface.d.cts +1 -1
- package/lib/sso/serializers/connection.serializer.d.cts +1 -1
- package/lib/sso/serializers/index.d.cts +4 -4
- package/lib/sso/serializers/list-connections-options.serializer.d.cts +1 -1
- package/lib/sso/serializers/profile-and-token.serializer.d.cts +1 -1
- package/lib/sso/serializers/profile.serializer.d.cts +1 -1
- package/lib/sso/sso.cjs +1 -1
- package/lib/sso/sso.d.cts +1 -1
- package/lib/{sso-CagxPT-U.cjs → sso-D_9tMqlC.cjs} +2 -2
- package/lib/{sso-CagxPT-U.cjs.map → sso-D_9tMqlC.cjs.map} +1 -1
- package/lib/{unauthorized.exception-DJ5xylS-.d.cts → unauthorized.exception-D6PAzuDw.d.cts} +2 -2
- package/lib/{unprocessable-entity-error.interface-Cz6BURFm.d.cts → unprocessable-entity-error.interface-sHivwO3Z.d.cts} +1 -1
- package/lib/{unprocessable-entity.exception-C-wX8JBR.d.cts → unprocessable-entity.exception-B6blaqq0.d.cts} +3 -3
- package/lib/{update-authorization-resource-by-external-id-options.serializer-mJfmRL1W.d.cts → update-authorization-resource-by-external-id-options.serializer-CKKinNuy.d.cts} +1 -1
- package/lib/{update-authorization-resource-options.serializer-DXLx8new.d.cts → update-authorization-resource-options.serializer-BGRYW1ci.d.cts} +1 -1
- package/lib/{update-environment-role-options.serializer-BaPLpNDa.d.cts → update-environment-role-options.serializer-2Ov89Yww.d.cts} +1 -1
- package/lib/{update-object.interface-C8y9e8Lt.d.cts → update-object.interface-EhYczOkX.d.cts} +1 -1
- package/lib/{update-organization-options.interface-BiK4pXHm.d.cts → update-organization-options.interface-Dz9Iuz5W.d.cts} +2 -2
- package/lib/{update-organization-options.serializer-D8RJ1sqA.d.cts → update-organization-options.serializer-vLJg7x0x.d.cts} +2 -2
- package/lib/{update-organization-role-options.serializer-01r1UnNA.d.cts → update-organization-role-options.serializer-CbdE5-dZ.d.cts} +1 -1
- package/lib/{update-permission-options.serializer-gE63Z8CH.d.cts → update-permission-options.serializer-CvF0WPcI.d.cts} +1 -1
- package/lib/{update-user-options.serializer-DCtFirLd.d.cts → update-user-options.serializer-C7da_R08.d.cts} +1 -1
- package/lib/{update-user-password-options.serializer-CCVVrUCy.d.cts → update-user-password-options.serializer-D67Lr4m1.d.cts} +1 -1
- package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authentication-response.interface.d.cts +1 -1
- package/lib/user-management/interfaces/authentication-response.interface.d.ts +1 -1
- package/lib/user-management/interfaces/index.d.cts +5 -5
- 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-user-feature-flags-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/organization-membership.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/session-handler-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/session.interface.d.cts +1 -1
- package/lib/user-management/interfaces/session.interface.d.ts +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-magic-auth-options.serializer.d.cts +1 -1
- 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-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-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/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/magic-auth.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/reset-password-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/role.serializer.d.cts +1 -1
- package/lib/user-management/serializers/session.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.cjs +1 -1
- package/lib/user-management/user-management.d.cts +1 -1
- package/lib/user-management/user-management.d.ts +1 -1
- package/lib/user-management/user-management.js +1 -1
- package/lib/{user-management-DEOOSelF.cjs → user-management-CJj1rMco.cjs} +3 -3
- package/lib/{user-management-DEOOSelF.cjs.map → user-management-CJj1rMco.cjs.map} +1 -1
- package/lib/{user.serializer-B8Yr_r6n.d.cts → user.serializer-BFpDaajW.d.cts} +1 -1
- package/lib/{validate-api-key.serializer-DJMNSZRi.d.cts → validate-api-key.serializer-D5zYUCcH.d.cts} +1 -1
- 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.d.cts +3 -3
- package/lib/vault/serializers/vault-object.serializer.d.cts +7 -7
- package/lib/vault/vault.d.cts +1 -1
- package/lib/{verify-challenge-options-Cnd5QHmo.d.cts → verify-challenge-options-CkbCUSJv.d.cts} +1 -1
- package/lib/{verify-challenge-response-Cxjr42mg.d.cts → verify-challenge-response-Dlb5HPTC.d.cts} +2 -2
- package/lib/{verify-response.serializer-l6VbQpg3.d.cts → verify-response.serializer-CFug_fb9.d.cts} +2 -2
- package/lib/{warning.interface-D8U1ON2d.d.cts → warning.interface-9qt63wBc.d.cts} +1 -1
- package/lib/{warrant-op.enum-2bx2ed9X.d.cts → warrant-op.enum-CYwLWhRz.d.cts} +1 -1
- package/lib/{warrant-token.interface-NdVyFw9l.d.cts → warrant-token.interface-BhaSf4pQ.d.cts} +1 -1
- package/lib/{warrant-token.serializer-DPrcN4qY.d.cts → warrant-token.serializer-ron-g41a.d.cts} +2 -2
- package/lib/{warrant.interface-DgQN4yxm.d.cts → warrant.interface-5GMD1PlN.d.cts} +4 -4
- package/lib/{warrant.serializer-BX6Tonfl.d.cts → warrant.serializer-OpTafbUe.d.cts} +2 -2
- package/lib/webhooks/webhooks.cjs +1 -1
- package/lib/webhooks/webhooks.d.cts +1 -1
- package/lib/{webhooks-2-hbZwWC.d.cts → webhooks-mSGRW8EE.d.cts} +2 -2
- package/lib/{webhooks-DX8LtZMD.cjs → webhooks-wNAbF-1o.cjs} +2 -2
- package/lib/{webhooks-DX8LtZMD.cjs.map → webhooks-wNAbF-1o.cjs.map} +1 -1
- package/lib/widgets/interfaces/get-token.d.cts +1 -1
- package/lib/widgets/interfaces/get-token.d.ts +1 -1
- package/lib/widgets/interfaces/get-token.js.map +1 -1
- package/lib/widgets/widgets.d.cts +1 -1
- package/lib/{workos-CEha64Qs.cjs → workos-DXlhXDRn.cjs} +18 -15
- package/lib/workos-DXlhXDRn.cjs.map +1 -0
- package/lib/{workos-options.interface-PcLJpyIn.d.cts → workos-options.interface-BJncPCQs.d.cts} +2 -2
- package/lib/{workos-response-error.interface-u0ZMPUFj.d.cts → workos-response-error.interface-D4GX2qD0.d.cts} +2 -2
- package/lib/workos.cjs +2 -2
- package/lib/workos.d.cts +1 -1
- package/lib/workos.js +5 -5
- package/lib/workos.js.map +1 -1
- package/lib/{write-warrant-options.serializer-Bk5t0x2w.d.cts → write-warrant-options.serializer-BQP-4p5X.d.cts} +2 -2
- package/package.json +1 -2
- package/lib/event.serializer-Cn5xAuN9.cjs.map +0 -1
- package/lib/index-QaV06Orc.d.cts +0 -1
- package/lib/list-feature-flags-options.interface-BCSWpNdc.d.cts +0 -7
- package/lib/organization-role.serializer-DFNkyIDQ.cjs.map +0 -1
- package/lib/permission.serializer-BehT5Z93.cjs.map +0 -1
- package/lib/workos-CEha64Qs.cjs.map +0 -1
- /package/lib/{index-5sePSnuT.d.cts → index-1uLygO4P.d.cts} +0 -0
- /package/lib/{index-AOdzNy7G.d.cts → index-C2USAKUY.d.cts} +0 -0
- /package/lib/{index-B8KvrSri.d.cts → index-CNyG9oqt.d.cts} +0 -0
- /package/lib/{index-BM6C8eiF.d.cts → index-CTeAtTHc.d.cts} +0 -0
- /package/lib/{index-BarF0VGQ.d.cts → index-CYPjsxnw.d.cts} +0 -0
- /package/lib/{index-BkwoKYuA.d.cts → index-CgPSnPe-.d.cts} +0 -0
- /package/lib/{index-D6_7i5mv.d.cts → index-Cj2mBhkk.d.cts} +0 -0
- /package/lib/{index-DPFAF2L8.d.cts → index-DA_5qJSj.d.cts} +0 -0
- /package/lib/{index-DZvf9ts3.d.cts → index-DITken1Q.d.cts} +0 -0
- /package/lib/{serializers-CQ9KUAbO.cjs → serializers-AObKGeJ9.cjs} +0 -0
- /package/lib/{serializers-VqoW2jFY.cjs → serializers-BdASmY_9.cjs} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"permission.serializer-BehT5Z93.cjs","names":[],"sources":["../src/authorization/serializers/permission.serializer.ts"],"sourcesContent":["import {\n Permission,\n PermissionResponse,\n} from '../interfaces/permission.interface';\n\nexport const deserializePermission = (\n permission: PermissionResponse,\n): Permission => ({\n object: permission.object,\n id: permission.id,\n slug: permission.slug,\n name: permission.name,\n description: permission.description,\n system: permission.system,\n createdAt: permission.created_at,\n updatedAt: permission.updated_at,\n});\n"],"mappings":";;AAKA,MAAa,yBACX,gBACgB;CAChB,QAAQ,WAAW;CACnB,IAAI,WAAW;CACf,MAAM,WAAW;CACjB,MAAM,WAAW;CACjB,aAAa,WAAW;CACxB,QAAQ,WAAW;CACnB,WAAW,WAAW;CACtB,WAAW,WAAW;CACvB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workos-CEha64Qs.cjs","names":["ApiKeys","AuditLogs","Authorization","DirectorySync","Events","FeatureFlags","FGA","Mfa","Organizations","OrganizationDomains","Passwordless","Pipes","Portal","SSO","Vault","Widgets","getEnv","protocol: string","apiHostname: string","port: number | undefined","PKCE","UserManagement","userAgent: string","getRuntimeInfo","Webhooks","Actions","SubtleCryptoProvider","headers: Record<string, string>","FetchHttpClient","ApiKeyRequiredException","requestHeaders: Record<string, string>","res: HttpClientResponseInterface","ParseError","HttpClientError","UnauthorizedException","ConflictException","UnprocessableEntityException","NotFoundException","RateLimitExceededException","error","OauthException","BadRequestException","GenericServerException"],"sources":["../src/workos.ts"],"sourcesContent":["import {\n ApiKeyRequiredException,\n GenericServerException,\n NotFoundException,\n UnauthorizedException,\n UnprocessableEntityException,\n OauthException,\n RateLimitExceededException,\n} from './common/exceptions';\nimport { PKCE } from './pkce/pkce';\nimport {\n GetOptions,\n HttpClientResponseInterface,\n PatchOptions,\n PostOptions,\n PutOptions,\n WorkOSOptions,\n WorkOSResponseError,\n} from './common/interfaces';\nimport { ApiKeys } from './api-keys/api-keys';\nimport { DirectorySync } from './directory-sync/directory-sync';\nimport { Events } from './events/events';\nimport { Organizations } from './organizations/organizations';\nimport { OrganizationDomains } from './organization-domains/organization-domains';\nimport { Passwordless } from './passwordless/passwordless';\nimport { Pipes } from './pipes/pipes';\nimport { Portal } from './portal/portal';\nimport { SSO } from './sso/sso';\nimport { Webhooks } from './webhooks/webhooks';\nimport { Mfa } from './mfa/mfa';\nimport { AuditLogs } from './audit-logs/audit-logs';\nimport { UserManagement } from './user-management/user-management';\nimport { FGA } from './fga/fga';\nimport { BadRequestException } from './common/exceptions/bad-request.exception';\nimport { FeatureFlags } from './feature-flags/feature-flags';\n\nimport { HttpClient, HttpClientError } from './common/net/http-client';\nimport { SubtleCryptoProvider } from './common/crypto/subtle-crypto-provider';\nimport { FetchHttpClient } from './common/net/fetch-client';\nimport { Widgets } from './widgets/widgets';\nimport { Actions } from './actions/actions';\nimport { Authorization } from './authorization/authorization';\nimport { Vault } from './vault/vault';\nimport { ConflictException } from './common/exceptions/conflict.exception';\nimport { CryptoProvider } from './common/crypto/crypto-provider';\nimport { ParseError } from './common/exceptions/parse-error';\nimport { getEnv } from './common/utils/env';\nimport { getRuntimeInfo } from './common/utils/runtime-info';\n\nconst VERSION = '8.6.0';\n\nconst DEFAULT_HOSTNAME = 'api.workos.com';\n\nconst HEADER_AUTHORIZATION = 'Authorization';\nconst HEADER_IDEMPOTENCY_KEY = 'Idempotency-Key';\nconst HEADER_WARRANT_TOKEN = 'Warrant-Token';\n\nexport class WorkOS {\n readonly baseURL: string;\n readonly client: HttpClient;\n readonly clientId?: string;\n readonly key?: string;\n readonly options: WorkOSOptions;\n readonly pkce: PKCE;\n\n private readonly hasApiKey: boolean;\n\n readonly actions: Actions;\n readonly apiKeys = new ApiKeys(this);\n readonly auditLogs = new AuditLogs(this);\n readonly authorization = new Authorization(this);\n readonly directorySync = new DirectorySync(this);\n readonly events = new Events(this);\n readonly featureFlags = new FeatureFlags(this);\n readonly fga = new FGA(this);\n readonly mfa = new Mfa(this);\n readonly organizations = new Organizations(this);\n readonly organizationDomains = new OrganizationDomains(this);\n readonly passwordless = new Passwordless(this);\n readonly pipes = new Pipes(this);\n readonly portal = new Portal(this);\n readonly sso = new SSO(this);\n readonly userManagement: UserManagement;\n readonly vault = new Vault(this);\n readonly webhooks: Webhooks;\n readonly widgets = new Widgets(this);\n\n /**\n * Create a new WorkOS client.\n *\n * @param keyOrOptions - API key string, or options object\n * @param maybeOptions - Options when first argument is API key\n *\n * @example\n * // Server-side with API key (string)\n * const workos = new WorkOS('sk_...');\n *\n * @example\n * // Server-side with API key (object)\n * const workos = new WorkOS({ apiKey: 'sk_...', clientId: 'client_...' });\n *\n * @example\n * // PKCE/public client (no API key)\n * const workos = new WorkOS({ clientId: 'client_...' });\n */\n constructor(\n keyOrOptions?: string | WorkOSOptions,\n maybeOptions?: WorkOSOptions,\n ) {\n if (typeof keyOrOptions === 'object') {\n this.key = keyOrOptions.apiKey;\n this.options = keyOrOptions;\n } else {\n this.key = keyOrOptions;\n this.options = maybeOptions ?? {};\n }\n\n if (!this.key) {\n this.key = getEnv('WORKOS_API_KEY');\n }\n\n this.hasApiKey = !!this.key;\n\n if (this.options.https === undefined) {\n this.options.https = true;\n }\n\n this.clientId = this.options.clientId;\n if (!this.clientId) {\n this.clientId = getEnv('WORKOS_CLIENT_ID');\n }\n\n if (!this.hasApiKey && !this.clientId) {\n throw new Error(\n 'WorkOS requires either an API key or a clientId. ' +\n 'For server-side: new WorkOS(\"sk_...\") or new WorkOS({ apiKey: \"sk_...\" }). ' +\n 'For PKCE/public clients: new WorkOS({ clientId: \"client_...\" })',\n );\n }\n\n const protocol: string = this.options.https ? 'https' : 'http';\n const apiHostname: string = this.options.apiHostname || DEFAULT_HOSTNAME;\n const port: number | undefined = this.options.port;\n this.baseURL = `${protocol}://${apiHostname}`;\n\n if (port) {\n this.baseURL = this.baseURL + `:${port}`;\n }\n\n this.pkce = new PKCE();\n\n this.webhooks = this.createWebhookClient();\n this.actions = this.createActionsClient();\n\n // Must initialize UserManagement after baseURL is configured\n this.userManagement = new UserManagement(this);\n\n const userAgent = this.createUserAgent(this.options);\n\n this.client = this.createHttpClient(this.options, userAgent);\n }\n\n private createUserAgent(options: WorkOSOptions): string {\n let userAgent: string = `workos-node/${VERSION}`;\n\n const { name: runtimeName, version: runtimeVersion } = getRuntimeInfo();\n userAgent += ` (${runtimeName}${runtimeVersion ? `/${runtimeVersion}` : ''})`;\n\n if (options.appInfo) {\n const { name, version } = options.appInfo;\n userAgent += ` ${name}: ${version}`;\n }\n\n return userAgent;\n }\n\n createWebhookClient() {\n return new Webhooks(this.getCryptoProvider());\n }\n\n createActionsClient() {\n return new Actions(this.getCryptoProvider());\n }\n\n getCryptoProvider(): CryptoProvider {\n return new SubtleCryptoProvider();\n }\n\n createHttpClient(options: WorkOSOptions, userAgent: string) {\n const headers: Record<string, string> = {\n 'User-Agent': userAgent,\n };\n\n const configHeaders = options.config?.headers;\n if (\n configHeaders &&\n typeof configHeaders === 'object' &&\n !Array.isArray(configHeaders) &&\n !(configHeaders instanceof Headers)\n ) {\n Object.assign(headers, configHeaders);\n }\n\n if (this.key) {\n headers['Authorization'] = `Bearer ${this.key}`;\n }\n\n return new FetchHttpClient(this.baseURL, {\n ...options.config,\n timeout: options.timeout,\n headers,\n }) as HttpClient;\n }\n\n get version() {\n return VERSION;\n }\n\n /**\n * Require API key for methods that need it.\n * @param methodName - Name of the method requiring API key (for error message)\n * @throws ApiKeyRequiredException if no API key was provided\n */\n requireApiKey(methodName: string): void {\n if (!this.hasApiKey) {\n throw new ApiKeyRequiredException(methodName);\n }\n }\n\n async post<Result = any, Entity = any>(\n path: string,\n entity: Entity,\n options: PostOptions = {},\n ): Promise<{ data: Result }> {\n if (!options.skipApiKeyCheck) {\n this.requireApiKey(path);\n }\n\n const requestHeaders: Record<string, string> = {};\n\n if (options.idempotencyKey) {\n requestHeaders[HEADER_IDEMPOTENCY_KEY] = options.idempotencyKey;\n }\n\n if (options.warrantToken) {\n requestHeaders[HEADER_WARRANT_TOKEN] = options.warrantToken;\n }\n\n let res: HttpClientResponseInterface;\n\n try {\n res = await this.client.post<Entity>(path, entity, {\n params: options.query,\n headers: requestHeaders,\n });\n } catch (error) {\n this.handleHttpError({ path, error });\n throw error;\n }\n\n try {\n return { data: await res.toJSON() };\n } catch (error) {\n await this.handleParseError(error, res);\n throw error;\n }\n }\n\n async get<Result = any>(\n path: string,\n options: GetOptions = {},\n ): Promise<{ data: Result }> {\n if (!options.skipApiKeyCheck) {\n this.requireApiKey(path);\n }\n\n const requestHeaders: Record<string, string> = {};\n\n if (options.accessToken) {\n requestHeaders[HEADER_AUTHORIZATION] = `Bearer ${options.accessToken}`;\n }\n\n if (options.warrantToken) {\n requestHeaders[HEADER_WARRANT_TOKEN] = options.warrantToken;\n }\n\n let res: HttpClientResponseInterface;\n try {\n res = await this.client.get(path, {\n params: options.query,\n headers: requestHeaders,\n });\n } catch (error) {\n this.handleHttpError({ path, error });\n\n throw error;\n }\n\n try {\n return { data: await res.toJSON() };\n } catch (error) {\n await this.handleParseError(error, res);\n throw error;\n }\n }\n\n async put<Result = any, Entity = any>(\n path: string,\n entity: Entity,\n options: PutOptions = {},\n ): Promise<{ data: Result }> {\n if (!options.skipApiKeyCheck) {\n this.requireApiKey(path);\n }\n\n const requestHeaders: Record<string, string> = {};\n\n if (options.idempotencyKey) {\n requestHeaders[HEADER_IDEMPOTENCY_KEY] = options.idempotencyKey;\n }\n\n let res: HttpClientResponseInterface;\n\n try {\n res = await this.client.put<Entity>(path, entity, {\n params: options.query,\n headers: requestHeaders,\n });\n } catch (error) {\n this.handleHttpError({ path, error });\n\n throw error;\n }\n\n try {\n return { data: await res.toJSON() };\n } catch (error) {\n await this.handleParseError(error, res);\n throw error;\n }\n }\n\n async patch<Result = any, Entity = any>(\n path: string,\n entity: Entity,\n options: PatchOptions = {},\n ): Promise<{ data: Result }> {\n if (!options.skipApiKeyCheck) {\n this.requireApiKey(path);\n }\n\n const requestHeaders: Record<string, string> = {};\n\n if (options.idempotencyKey) {\n requestHeaders[HEADER_IDEMPOTENCY_KEY] = options.idempotencyKey;\n }\n\n let res: HttpClientResponseInterface;\n\n try {\n res = await this.client.patch<Entity>(path, entity, {\n params: options.query,\n headers: requestHeaders,\n });\n } catch (error) {\n this.handleHttpError({ path, error });\n\n throw error;\n }\n\n try {\n return { data: await res.toJSON() };\n } catch (error) {\n await this.handleParseError(error, res);\n throw error;\n }\n }\n\n async delete(path: string, query?: any): Promise<void> {\n this.requireApiKey(path);\n\n try {\n await this.client.delete(path, {\n params: query,\n });\n } catch (error) {\n this.handleHttpError({ path, error });\n\n throw error;\n }\n }\n\n async deleteWithBody<Entity = any>(\n path: string,\n entity: Entity,\n ): Promise<void> {\n this.requireApiKey(path);\n\n try {\n await this.client.deleteWithBody(path, entity, {});\n } catch (error) {\n this.handleHttpError({ path, error });\n\n throw error;\n }\n }\n\n emitWarning(warning: string) {\n // tslint:disable-next-line:no-console\n console.warn(`WorkOS: ${warning}`);\n }\n\n private async handleParseError(\n error: unknown,\n res: HttpClientResponseInterface,\n ) {\n if (error instanceof SyntaxError) {\n const rawResponse = res.getRawResponse() as Response;\n const requestID = rawResponse.headers.get('X-Request-ID') ?? '';\n const rawStatus = rawResponse.status;\n const rawBody = await rawResponse.text();\n throw new ParseError({\n message: error.message,\n rawBody,\n rawStatus,\n requestID,\n });\n }\n }\n\n private handleHttpError({ path, error }: { path: string; error: unknown }) {\n if (!(error instanceof HttpClientError)) {\n throw new Error(`Unexpected error: ${error}`, { cause: error });\n }\n\n const { response } = error as HttpClientError<WorkOSResponseError>;\n\n if (response) {\n const { status, data, headers } = response;\n\n const requestID = headers['X-Request-ID'] ?? '';\n const {\n code,\n error_description: errorDescription,\n error,\n errors,\n message,\n } = data;\n\n switch (status) {\n case 401: {\n throw new UnauthorizedException(requestID);\n }\n case 409: {\n throw new ConflictException({ requestID, message, error });\n }\n case 422: {\n throw new UnprocessableEntityException({\n code,\n errors,\n message,\n requestID,\n });\n }\n case 404: {\n throw new NotFoundException({\n code,\n message,\n path,\n requestID,\n });\n }\n case 429: {\n const retryAfter = headers.get('Retry-After');\n\n throw new RateLimitExceededException(\n data.message,\n requestID,\n retryAfter ? Number(retryAfter) : null,\n );\n }\n default: {\n if (error || errorDescription) {\n throw new OauthException(\n status,\n requestID,\n error,\n errorDescription,\n data,\n );\n } else if (code && errors) {\n // Note: ideally this should be mapped directly with a `400` status code.\n // However, this would break existing logic for the `OauthException` exception.\n throw new BadRequestException({\n code,\n errors,\n message,\n requestID,\n });\n } else {\n throw new GenericServerException(\n status,\n data.message,\n data,\n requestID,\n );\n }\n }\n }\n }\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDA,MAAM,UAAU;AAEhB,MAAM,mBAAmB;AAEzB,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAC/B,MAAM,uBAAuB;AAE7B,IAAa,SAAb,MAAoB;CAClB,AAAS;CACT,AAAS;CACT,AAAS;CACT,AAAS;CACT,AAAS;CACT,AAAS;CAET,AAAiB;CAEjB,AAAS;CACT,AAAS,UAAU,IAAIA,yBAAQ,KAAK;CACpC,AAAS,YAAY,IAAIC,6BAAU,KAAK;CACxC,AAAS,gBAAgB,IAAIC,oCAAc,KAAK;CAChD,AAAS,gBAAgB,IAAIC,qCAAc,KAAK;CAChD,AAAS,SAAS,IAAIC,sBAAO,KAAK;CAClC,AAAS,eAAe,IAAIC,mCAAa,KAAK;CAC9C,AAAS,MAAM,IAAIC,gBAAI,KAAK;CAC5B,AAAS,MAAM,IAAIC,gBAAI,KAAK;CAC5B,AAAS,gBAAgB,IAAIC,oCAAc,KAAK;CAChD,AAAS,sBAAsB,IAAIC,iDAAoB,KAAK;CAC5D,AAAS,eAAe,IAAIC,kCAAa,KAAK;CAC9C,AAAS,QAAQ,IAAIC,oBAAM,KAAK;CAChC,AAAS,SAAS,IAAIC,sBAAO,KAAK;CAClC,AAAS,MAAM,IAAIC,gBAAI,KAAK;CAC5B,AAAS;CACT,AAAS,QAAQ,IAAIC,oBAAM,KAAK;CAChC,AAAS;CACT,AAAS,UAAU,IAAIC,wBAAQ,KAAK;;;;;;;;;;;;;;;;;;;CAoBpC,YACE,cACA,cACA;AACA,MAAI,OAAO,iBAAiB,UAAU;AACpC,QAAK,MAAM,aAAa;AACxB,QAAK,UAAU;SACV;AACL,QAAK,M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AAM,IAAIC,oEAA6B;KACrC;KACA;KACA;KACA;KACD,CAAC;IAEJ,KAAK,IACH,OAAM,IAAIC,8CAAkB;KAC1B;KACA;KACA;KACA;KACD,CAAC;IAEJ,KAAK,KAAK;KACR,MAAM,aAAa,QAAQ,IAAI,cAAc;AAE7C,WAAM,IAAIC,iEACR,KAAK,SACL,WACA,aAAa,OAAO,WAAW,GAAG,KACnC;;IAEH,QACE,KAAIC,WAAS,iBACX,OAAM,IAAIC,uCACR,QACA,WACAD,SACA,kBACA,KACD;aACQ,QAAQ,OAGjB,OAAM,IAAIE,kDAAoB;KAC5B;KACA;KACA;KACA;KACD,CAAC;QAEF,OAAM,IAAIC,wDACR,QACA,KAAK,SACL,MACA,UACD"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|