@workos-inc/node 8.0.0-rc.9 → 8.0.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-qb42DvMJ.d.cts +18 -0
- package/lib/access-token.serializer-BTB3otha.cjs +20 -0
- package/lib/access-token.serializer-BTB3otha.cjs.map +1 -0
- package/lib/action.interface-BLCbp-cT.d.cts +63 -0
- package/lib/action.interface-CkOAE1pY.cjs +0 -0
- package/lib/action.serializer-CkMp2PpV.cjs +47 -0
- package/lib/action.serializer-CkMp2PpV.cjs.map +1 -0
- package/lib/actions/actions.cjs +2 -52
- package/lib/actions/actions.d.cts +2 -41
- package/lib/actions/interfaces/action.interface.d.cts +2 -63
- package/lib/actions/interfaces/index.d.cts +2 -2
- package/lib/actions/interfaces/response-payload.interface.d.cts +2 -26
- package/lib/actions/serializers/action.serializer.cjs +2 -41
- package/lib/actions/serializers/action.serializer.d.cts +1 -1
- package/lib/actions-_-g7Idem.cjs +58 -0
- package/lib/actions-_-g7Idem.cjs.map +1 -0
- package/lib/actions-d_uq5P1L.d.cts +41 -0
- package/lib/add-flag-target-options.interface-DboHvXBu.d.cts +8 -0
- package/lib/add-flag-target-options.interface-dMGv3yj3.cjs +0 -0
- package/lib/api-key-required.exception-BOy1dF_S.d.cts +10 -0
- package/lib/api-key-required.exception-hy_QT4YB.cjs +20 -0
- package/lib/api-key-required.exception-hy_QT4YB.cjs.map +1 -0
- package/lib/api-key.interface-BHBINSO0.d.cts +32 -0
- package/lib/api-key.interface-Dp44lU0l.cjs +0 -0
- package/lib/api-key.serializer-384tUKDU.cjs +24 -0
- package/lib/api-key.serializer-384tUKDU.cjs.map +1 -0
- package/lib/api-key.serializer-C50uuFpr.d.cts +7 -0
- package/lib/api-keys/api-keys.cjs +2 -18
- package/lib/api-keys/api-keys.d.cts +2 -13
- package/lib/api-keys/interfaces/api-key.interface.d.cts +2 -32
- package/lib/api-keys/interfaces/create-organization-api-key-options.interface.d.cts +2 -16
- package/lib/api-keys/interfaces/created-api-key.interface.d.cts +2 -34
- package/lib/api-keys/interfaces/index.d.cts +5 -5
- package/lib/api-keys/interfaces/list-organization-api-keys-options.interface.d.cts +2 -9
- package/lib/api-keys/interfaces/validate-api-key.interface.d.cts +2 -15
- package/lib/api-keys/serializers/api-key.serializer.cjs +2 -18
- package/lib/api-keys/serializers/api-key.serializer.d.cts +2 -7
- package/lib/api-keys/serializers/create-organization-api-key-options.serializer.cjs +2 -11
- package/lib/api-keys/serializers/create-organization-api-key-options.serializer.d.cts +2 -7
- package/lib/api-keys/serializers/created-api-key.serializer.cjs +2 -19
- package/lib/api-keys/serializers/created-api-key.serializer.d.cts +2 -7
- package/lib/api-keys/serializers/index.cjs +8 -8
- package/lib/api-keys/serializers/index.d.cts +4 -4
- package/lib/api-keys/serializers/validate-api-key.serializer.cjs +2 -9
- package/lib/api-keys/serializers/validate-api-key.serializer.d.cts +2 -7
- package/lib/api-keys-DpNACVjB.cjs +24 -0
- package/lib/api-keys-DpNACVjB.cjs.map +1 -0
- package/lib/api-keys-mDyp4q6k.d.cts +704 -0
- package/lib/app-info.interface-C9ji_GUR.d.cts +8 -0
- package/lib/audit-log-export-options.interface-C0qji-yn.cjs +0 -0
- package/lib/audit-log-export-options.interface-leXX6r-l.d.cts +22 -0
- package/lib/audit-log-export-options.serializer-BFTh7oaz.cjs +20 -0
- package/lib/audit-log-export-options.serializer-BFTh7oaz.cjs.map +1 -0
- package/lib/audit-log-export-options.serializer-Dvk0Vdn_.d.cts +7 -0
- package/lib/audit-log-export.interface-BOAyjgev.d.cts +20 -0
- package/lib/audit-log-export.interface-L9dgSkYy.cjs +0 -0
- package/lib/audit-log-export.serializer-Byj3fn9x.cjs +19 -0
- package/lib/audit-log-export.serializer-Byj3fn9x.cjs.map +1 -0
- package/lib/audit-log-export.serializer-DFqm5z_A.d.cts +7 -0
- package/lib/audit-logs/audit-logs.cjs +2 -37
- package/lib/audit-logs/audit-logs.d.cts +2 -18
- package/lib/audit-logs/interfaces/audit-log-export-options.interface.d.cts +2 -22
- package/lib/audit-logs/interfaces/audit-log-export.interface.d.cts +2 -20
- package/lib/audit-logs/interfaces/create-audit-log-event-options.interface.d.cts +2 -43
- package/lib/audit-logs/interfaces/create-audit-log-schema-options.interface.d.cts +2 -67
- package/lib/audit-logs/interfaces/index.d.cts +4 -4
- package/lib/audit-logs/serializers/audit-log-export-options.serializer.cjs +2 -14
- package/lib/audit-logs/serializers/audit-log-export-options.serializer.d.cts +2 -7
- package/lib/audit-logs/serializers/audit-log-export.serializer.cjs +2 -13
- package/lib/audit-logs/serializers/audit-log-export.serializer.d.cts +2 -7
- package/lib/audit-logs/serializers/create-audit-log-event-options.serializer.cjs +2 -17
- package/lib/audit-logs/serializers/create-audit-log-event-options.serializer.d.cts +2 -7
- package/lib/audit-logs/serializers/create-audit-log-schema-options.serializer.cjs +2 -32
- package/lib/audit-logs/serializers/create-audit-log-schema-options.serializer.d.cts +2 -7
- package/lib/audit-logs/serializers/create-audit-log-schema.serializer.cjs +2 -26
- package/lib/audit-logs/serializers/create-audit-log-schema.serializer.d.cts +2 -7
- package/lib/audit-logs/serializers/index.cjs +10 -10
- package/lib/audit-logs/serializers/index.d.cts +5 -5
- package/lib/audit-logs-CnDObwhP.cjs +43 -0
- package/lib/audit-logs-CnDObwhP.cjs.map +1 -0
- package/lib/authenticate-with-code-and-verifier-options.interface-BYx47_xz.cjs +0 -0
- package/lib/authenticate-with-code-and-verifier-options.interface-iYkG5mK5.d.cts +17 -0
- package/lib/authenticate-with-code-and-verifier-options.serializer-BEILlMya.cjs +20 -0
- package/lib/authenticate-with-code-and-verifier-options.serializer-BEILlMya.cjs.map +1 -0
- package/lib/authenticate-with-code-and-verifier-options.serializer-CooMcqC8.d.cts +8 -0
- package/lib/authenticate-with-code-options.interface-BopjXJqx.cjs +0 -0
- package/lib/authenticate-with-code-options.interface-DQJr1pXz.d.cts +20 -0
- package/lib/authenticate-with-code-options.serializer-BMz_1tBW.cjs +21 -0
- package/lib/authenticate-with-code-options.serializer-BMz_1tBW.cjs.map +1 -0
- package/lib/authenticate-with-code-options.serializer-DfPtLDiz.d.cts +8 -0
- package/lib/authenticate-with-email-verification-options.interface-BHYcF7qE.cjs +0 -0
- package/lib/authenticate-with-email-verification-options.interface-CrR9oRqC.d.cts +18 -0
- package/lib/authenticate-with-email-verification.serializer-DkvyobQ9.cjs +20 -0
- package/lib/authenticate-with-email-verification.serializer-DkvyobQ9.cjs.map +1 -0
- package/lib/authenticate-with-magic-auth-options.interface-CpVi8mtn.d.cts +22 -0
- package/lib/authenticate-with-magic-auth-options.interface-D4f0rE9c.cjs +0 -0
- package/lib/authenticate-with-magic-auth-options.serializer-B77kBerw.d.cts +8 -0
- package/lib/authenticate-with-magic-auth-options.serializer-CYU4H_5p.cjs +22 -0
- package/lib/authenticate-with-magic-auth-options.serializer-CYU4H_5p.cjs.map +1 -0
- package/lib/authenticate-with-options-base.interface-2DXtG4VP.d.cts +41 -0
- package/lib/authenticate-with-options-base.interface-DON2cMpD.cjs +0 -0
- package/lib/authenticate-with-organization-selection-options.serializer-BgFxJgiU.cjs +20 -0
- package/lib/authenticate-with-organization-selection-options.serializer-BgFxJgiU.cjs.map +1 -0
- package/lib/authenticate-with-organization-selection.interface-7wYlcuE4.cjs +0 -0
- package/lib/authenticate-with-organization-selection.interface-BsFnw663.d.cts +18 -0
- package/lib/authenticate-with-password-options.interface-BhYKWEov.cjs +0 -0
- package/lib/authenticate-with-password-options.interface-C96-JI_J.d.cts +20 -0
- package/lib/authenticate-with-password-options.serializer-Cu_SGAgE.d.cts +8 -0
- package/lib/authenticate-with-password-options.serializer-DPYtf-9Q.cjs +21 -0
- package/lib/authenticate-with-password-options.serializer-DPYtf-9Q.cjs.map +1 -0
- package/lib/authenticate-with-refresh-token-options.interface-CM1TufRB.d.cts +18 -0
- package/lib/authenticate-with-refresh-token-options.interface-DHIVPm61.cjs +0 -0
- package/lib/authenticate-with-refresh-token-public-client-options.interface-CkimjQl3.cjs +0 -0
- package/lib/authenticate-with-refresh-token-public-client-options.interface-D7hLjjWc.d.cts +16 -0
- package/lib/authenticate-with-refresh-token-public-client-options.serializer-BDGklXEB.d.cts +8 -0
- package/lib/authenticate-with-refresh-token-public-client-options.serializer-BUO_bMxj.cjs +19 -0
- package/lib/authenticate-with-refresh-token-public-client-options.serializer-BUO_bMxj.cjs.map +1 -0
- package/lib/authenticate-with-refresh-token.options.serializer-Ba3QVuMY.cjs +20 -0
- package/lib/authenticate-with-refresh-token.options.serializer-Ba3QVuMY.cjs.map +1 -0
- package/lib/authenticate-with-refresh-token.options.serializer-BnSt0VcK.d.cts +9 -0
- package/lib/authenticate-with-session-cookie.interface-tn2KA4cA.d.cts +45 -0
- package/lib/authenticate-with-session-cookie.interface-wRJr18ep.cjs +17 -0
- package/lib/authenticate-with-session-cookie.interface-wRJr18ep.cjs.map +1 -0
- package/lib/authenticate-with-totp-options.interface-16qWKCD0.d.cts +20 -0
- package/lib/authenticate-with-totp-options.interface-BIrXLPem.cjs +0 -0
- package/lib/authenticate-with-totp-options.serializer-CpfE1aHW.d.cts +8 -0
- package/lib/authenticate-with-totp-options.serializer-Dv5iQHm4.cjs +21 -0
- package/lib/authenticate-with-totp-options.serializer-Dv5iQHm4.cjs.map +1 -0
- package/lib/authentication-event.interface-B2DjMTcP.d.cts +28 -0
- package/lib/authentication-event.interface-EapgQlPG.cjs +0 -0
- package/lib/authentication-event.serializer-B2f7AREO.d.cts +7 -0
- package/lib/authentication-event.serializer-mddvaOjb.cjs +20 -0
- package/lib/authentication-event.serializer-mddvaOjb.cjs.map +1 -0
- package/lib/authentication-radar-risk-detected-event.interface-BKZBuc9D.cjs +0 -0
- package/lib/authentication-radar-risk-detected-event.interface-WzOM1Ikg.d.cts +24 -0
- package/lib/authentication-radar-risk-event-serializer-CDBrk7yn.cjs +21 -0
- package/lib/authentication-radar-risk-event-serializer-CDBrk7yn.cjs.map +1 -0
- package/lib/authentication-response.interface-Bdr_R5sj.cjs +0 -0
- package/lib/authentication-response.interface-DsUweGqC.d.cts +28 -0
- package/lib/authentication-response.serializer-Cvgyw-Ny.d.cts +7 -0
- package/lib/authentication-response.serializer-DCSj_OPJ.cjs +26 -0
- package/lib/authentication-response.serializer-DCSj_OPJ.cjs.map +1 -0
- package/lib/authorization-url-options.interface-C6Y5Gwm7.cjs +0 -0
- package/lib/authorization-url-options.interface-Cjohf5tR.cjs +0 -0
- package/lib/authorization-url-options.interface-ZrBipUt2.d.cts +55 -0
- package/lib/authorization-url-options.interface-eEOWfbHw.d.cts +45 -0
- package/lib/bad-request.exception-BmjHrQEZ.cjs +26 -0
- package/lib/bad-request.exception-BmjHrQEZ.cjs.map +1 -0
- package/lib/bad-request.exception-Dt5w75jb.d.cts +25 -0
- package/lib/base64-BROQtK6X.cjs +44 -0
- package/lib/base64-BROQtK6X.cjs.map +1 -0
- package/lib/batch-write-resources-options.serializer-BxUrYV3Z.d.cts +7 -0
- package/lib/batch-write-resources-options.serializer-CffA5DfH.cjs +23 -0
- package/lib/batch-write-resources-options.serializer-CffA5DfH.cjs.map +1 -0
- package/lib/challenge-factor-options-pbaZ9sT0.d.cts +10 -0
- package/lib/challenge.interface-BRyoywSw.d.cts +22 -0
- package/lib/challenge.serializer-CiNDM6Ny.cjs +20 -0
- package/lib/challenge.serializer-CiNDM6Ny.cjs.map +1 -0
- package/lib/challenge.serializer-DuO1FONN.d.cts +7 -0
- package/lib/check-op.enum-4IPdgcR_.cjs +16 -0
- package/lib/check-op.enum-4IPdgcR_.cjs.map +1 -0
- package/lib/check-op.enum-BxjDvXvG.d.cts +8 -0
- package/lib/check-options.serializer-B72dqHn5.cjs +69 -0
- package/lib/check-options.serializer-B72dqHn5.cjs.map +1 -0
- package/lib/check-options.serializer-BaiGXU5C.d.cts +9 -0
- package/lib/check.interface-BdAPzYtJ.d.cts +88 -0
- package/lib/check.interface-WnywQ3Nn.cjs +33 -0
- package/lib/check.interface-WnywQ3Nn.cjs.map +1 -0
- package/lib/common/crypto/crypto-provider.cjs +2 -12
- package/lib/common/crypto/crypto-provider.d.cts +2 -75
- package/lib/common/crypto/seal.cjs +3 -43
- package/lib/common/crypto/seal.js +1 -1
- package/lib/common/crypto/signature-provider.cjs +2 -32
- package/lib/common/crypto/signature-provider.d.cts +1 -1
- package/lib/common/crypto/subtle-crypto-provider.cjs +2 -93
- package/lib/common/crypto/subtle-crypto-provider.d.cts +1 -1
- package/lib/common/exceptions/api-key-required.exception.cjs +2 -14
- package/lib/common/exceptions/api-key-required.exception.d.cts +2 -10
- package/lib/common/exceptions/bad-request.exception.cjs +2 -20
- package/lib/common/exceptions/bad-request.exception.d.cts +2 -25
- package/lib/common/exceptions/conflict.exception.cjs +2 -17
- package/lib/common/exceptions/conflict.exception.d.cts +1 -1
- package/lib/common/exceptions/generic-server.exception.cjs +2 -16
- package/lib/common/exceptions/generic-server.exception.d.cts +2 -14
- package/lib/common/exceptions/index.cjs +20 -20
- package/lib/common/exceptions/index.d.cts +10 -10
- package/lib/common/exceptions/no-api-key-provided.exception.cjs +2 -10
- package/lib/common/exceptions/no-api-key-provided.exception.d.cts +2 -9
- package/lib/common/exceptions/not-found.exception.cjs +2 -18
- package/lib/common/exceptions/not-found.exception.d.cts +2 -24
- package/lib/common/exceptions/oauth.exception.cjs +2 -19
- package/lib/common/exceptions/oauth.exception.d.cts +2 -15
- package/lib/common/exceptions/parse-error.cjs +2 -18
- package/lib/common/exceptions/parse-error.d.cts +1 -1
- package/lib/common/exceptions/rate-limit-exceeded.exception.cjs +2 -13
- package/lib/common/exceptions/rate-limit-exceeded.exception.d.cts +2 -18
- package/lib/common/exceptions/signature-verification.exception.cjs +2 -11
- package/lib/common/exceptions/signature-verification.exception.d.cts +2 -8
- package/lib/common/exceptions/unauthorized.exception.cjs +2 -15
- package/lib/common/exceptions/unauthorized.exception.d.cts +2 -13
- package/lib/common/exceptions/unprocessable-entity.exception.cjs +2 -22
- package/lib/common/exceptions/unprocessable-entity.exception.d.cts +2 -25
- package/lib/common/interfaces/app-info.interface.d.cts +2 -8
- package/lib/common/interfaces/event.interface.d.cts +2 -489
- package/lib/common/interfaces/event.interface.d.ts +2 -0
- package/lib/common/interfaces/get-options.interface.d.cts +2 -11
- package/lib/common/interfaces/http-client.interface.d.cts +2 -24
- package/lib/common/interfaces/index.d.cts +10 -10
- package/lib/common/interfaces/list.interface.d.cts +2 -20
- package/lib/common/interfaces/pagination-options.interface.d.cts +2 -10
- package/lib/common/interfaces/post-options.interface.d.cts +2 -13
- package/lib/common/interfaces/put-options.interface.d.cts +2 -12
- package/lib/common/interfaces/request-exception.interface.d.cts +2 -9
- package/lib/common/interfaces/unknown-record.interface.d.cts +2 -5
- package/lib/common/interfaces/unprocessable-entity-error.interface.d.cts +2 -8
- package/lib/common/interfaces/workos-options.interface.d.cts +2 -17
- package/lib/common/interfaces/workos-response-error.interface.d.cts +2 -13
- package/lib/common/net/fetch-client.cjs +3 -167
- package/lib/common/net/fetch-client.d.cts +2 -2
- package/lib/common/net/http-client.cjs +4 -80
- package/lib/common/net/http-client.d.cts +2 -54
- package/lib/common/serializers/event.serializer.cjs +2 -173
- package/lib/common/serializers/event.serializer.d.cts +2 -7
- package/lib/common/serializers/event.serializer.js +2 -1
- package/lib/common/serializers/event.serializer.js.map +1 -1
- package/lib/common/serializers/index.cjs +4 -4
- package/lib/common/serializers/index.d.cts +2 -2
- package/lib/common/serializers/list.serializer.cjs +2 -10
- package/lib/common/serializers/list.serializer.d.cts +2 -7
- package/lib/common/utils/base64.cjs +3 -33
- package/lib/common/utils/env.cjs +3 -51
- package/lib/common/utils/fetch-and-deserialize.cjs +2 -19
- package/lib/common/utils/fetch-and-deserialize.d.cts +4 -4
- package/lib/common/utils/leb128.cjs +3 -71
- package/lib/common/utils/pagination.cjs +2 -42
- package/lib/common/utils/pagination.d.cts +2 -25
- package/lib/common/utils/query-string.cjs +2 -34
- package/lib/common/utils/runtime-info.cjs +2 -50
- package/lib/common/utils/unreachable.cjs +2 -17
- package/lib/conflict.exception-D66_QI9c.cjs +23 -0
- package/lib/conflict.exception-D66_QI9c.cjs.map +1 -0
- package/lib/connection-type.enum-CZfRWY9b.cjs +49 -0
- package/lib/connection-type.enum-CZfRWY9b.cjs.map +1 -0
- package/lib/connection-type.enum-CjWDQ5dq.d.cts +41 -0
- package/lib/connection.interface-CSyly4pO.cjs +0 -0
- package/lib/connection.interface-DV7VmsKj.d.cts +33 -0
- package/lib/connection.serializer-Biy7KKu3.d.cts +7 -0
- package/lib/connection.serializer-phS0D1t9.cjs +22 -0
- package/lib/connection.serializer-phS0D1t9.cjs.map +1 -0
- package/lib/create-audit-log-event-options.interface-CbozGiMJ.cjs +0 -0
- package/lib/create-audit-log-event-options.interface-Cwth3loK.d.cts +43 -0
- package/lib/create-audit-log-event-options.serializer-DAT6w82I.d.cts +7 -0
- package/lib/create-audit-log-event-options.serializer-DZTgmGP0.cjs +23 -0
- package/lib/create-audit-log-event-options.serializer-DZTgmGP0.cjs.map +1 -0
- package/lib/create-audit-log-schema-options.interface-Bbg2hLgB.cjs +0 -0
- package/lib/create-audit-log-schema-options.interface-OCEBwyPY.d.cts +67 -0
- package/lib/create-audit-log-schema-options.serializer-DduNDNmZ.cjs +38 -0
- package/lib/create-audit-log-schema-options.serializer-DduNDNmZ.cjs.map +1 -0
- package/lib/create-audit-log-schema-options.serializer-Nxw9eaic.d.cts +7 -0
- package/lib/create-audit-log-schema.serializer-DHzQ5j3s.d.cts +7 -0
- package/lib/create-audit-log-schema.serializer-_lWlYDLV.cjs +32 -0
- package/lib/create-audit-log-schema.serializer-_lWlYDLV.cjs.map +1 -0
- package/lib/create-data-key.interface-B8yGESmB.d.cts +15 -0
- package/lib/create-data-key.interface-gbc99HQ1.cjs +0 -0
- package/lib/create-magic-auth-options.interface-DK-rMcbs.d.cts +12 -0
- package/lib/create-magic-auth-options.interface-De9IkCQF.cjs +0 -0
- package/lib/create-magic-auth-options.serializer-C3YLOz8M.d.cts +7 -0
- package/lib/create-magic-auth-options.serializer-DN24SZEy.cjs +15 -0
- package/lib/create-magic-auth-options.serializer-DN24SZEy.cjs.map +1 -0
- package/lib/create-object.interface-BeH56LqJ.d.cts +16 -0
- package/lib/create-object.interface-CSsrC5NL.cjs +0 -0
- package/lib/create-organization-api-key-options.interface-9iLvdEx0.cjs +0 -0
- package/lib/create-organization-api-key-options.serializer-Bd5IjZMz.cjs +17 -0
- package/lib/create-organization-api-key-options.serializer-Bd5IjZMz.cjs.map +1 -0
- package/lib/create-organization-api-key-options.serializer-BsRjnrYe.d.cts +7 -0
- package/lib/create-organization-domain-options.interface-CYOQi45i.d.cts +12 -0
- package/lib/create-organization-domain-options.interface-D1Ttuqb6.cjs +0 -0
- package/lib/create-organization-domain-options.serializer-DywoyU7B.cjs +15 -0
- package/lib/create-organization-domain-options.serializer-DywoyU7B.cjs.map +1 -0
- package/lib/create-organization-membership-options.interface-CBXXA0Gm.cjs +0 -0
- package/lib/create-organization-membership-options.interface-D_ChTOCZ.d.cts +16 -0
- package/lib/create-organization-membership-options.serializer-Da3OXX5I.cjs +17 -0
- package/lib/create-organization-membership-options.serializer-Da3OXX5I.cjs.map +1 -0
- package/lib/create-organization-options.interface-D7xVl5sq.cjs +0 -0
- package/lib/create-organization-options.serializer-BP9YqXCb.d.cts +7 -0
- package/lib/create-organization-options.serializer-Bg38u3Y_.cjs +17 -0
- package/lib/create-organization-options.serializer-Bg38u3Y_.cjs.map +1 -0
- package/lib/create-password-reset-options.interface-B2Rw4p5_.cjs +0 -0
- package/lib/create-password-reset-options.interface-FlupefEp.d.cts +10 -0
- package/lib/create-password-reset-options.serializer-BXKZ6exA.d.cts +7 -0
- package/lib/create-password-reset-options.serializer-C9rwv-Gj.cjs +12 -0
- package/lib/create-password-reset-options.serializer-C9rwv-Gj.cjs.map +1 -0
- package/lib/create-passwordless-session-options.interface-B1BOSDIV.cjs +0 -0
- package/lib/create-passwordless-session-options.interface-DRRdook4.d.cts +20 -0
- package/lib/create-resource-options.serializer-CW1mImuQ.cjs +17 -0
- package/lib/create-resource-options.serializer-CW1mImuQ.cjs.map +1 -0
- package/lib/create-resource-options.serializer-x9S7UBJu.d.cts +7 -0
- package/lib/create-user-options.interface-CX80nkXN.cjs +0 -0
- package/lib/create-user-options.interface-D_FyRPT6.d.cts +28 -0
- package/lib/create-user-options.serializer-CphvVoaV.cjs +22 -0
- package/lib/create-user-options.serializer-CphvVoaV.cjs.map +1 -0
- package/lib/create-user-options.serializer-DbOQgaMH.d.cts +7 -0
- package/lib/created-api-key.interface-DJC0Hbil.d.cts +34 -0
- package/lib/created-api-key.interface-DkHwRpkj.cjs +0 -0
- package/lib/created-api-key.serializer-CUESZReh.d.cts +7 -0
- package/lib/created-api-key.serializer-TAY4jtUj.cjs +25 -0
- package/lib/created-api-key.serializer-TAY4jtUj.cjs.map +1 -0
- package/lib/crypto-provider-DHQpgiJI.cjs +18 -0
- package/lib/crypto-provider-DHQpgiJI.cjs.map +1 -0
- package/lib/crypto-provider-xt721c-E.d.cts +75 -0
- package/lib/decrypt-data-key.interface-BMyadMdM.d.cts +11 -0
- package/lib/decrypt-data-key.interface-BpqQk6v6.cjs +0 -0
- package/lib/delete-object.interface-DXRirEIi.cjs +0 -0
- package/lib/delete-object.interface-VOtMiRor.d.cts +7 -0
- package/lib/delete-resource-options.serializer-1OtbZ7Xw.cjs +16 -0
- package/lib/delete-resource-options.serializer-1OtbZ7Xw.cjs.map +1 -0
- package/lib/delete-resource-options.serializer-DXYb24lH.d.cts +7 -0
- package/lib/directory-group.interface-B4ic7sA3.cjs +0 -0
- package/lib/directory-group.interface-BXhORoZV.d.cts +24 -0
- package/lib/directory-group.serializer-CTJJy0Kb.d.cts +8 -0
- package/lib/directory-group.serializer-DbTTdVPB.cjs +38 -0
- package/lib/directory-group.serializer-DbTTdVPB.cjs.map +1 -0
- package/lib/directory-sync/directory-sync.cjs +2 -40
- package/lib/directory-sync/directory-sync.d.cts +2 -24
- package/lib/directory-sync/interfaces/directory-group.interface.d.cts +2 -24
- package/lib/directory-sync/interfaces/directory-user.interface.d.cts +2 -48
- package/lib/directory-sync/interfaces/directory.interface.d.cts +2 -60
- package/lib/directory-sync/interfaces/index.d.cts +6 -6
- package/lib/directory-sync/interfaces/list-directories-options.interface.d.cts +2 -14
- package/lib/directory-sync/interfaces/list-directory-users-options.interface.d.cts +2 -10
- package/lib/directory-sync/interfaces/list-groups-options.interface.d.cts +2 -10
- package/lib/directory-sync/serializers/directory-group.serializer.cjs +3 -27
- package/lib/directory-sync/serializers/directory-group.serializer.d.cts +2 -8
- package/lib/directory-sync/serializers/directory-user.serializer.cjs +4 -47
- package/lib/directory-sync/serializers/directory-user.serializer.d.cts +2 -9
- package/lib/directory-sync/serializers/directory.serializer.cjs +5 -47
- package/lib/directory-sync/serializers/directory.serializer.d.cts +2 -10
- package/lib/directory-sync/serializers/index.cjs +14 -14
- package/lib/directory-sync/serializers/index.d.cts +4 -4
- package/lib/directory-sync/serializers/list-directories-options.serializer.cjs +2 -13
- package/lib/directory-sync/serializers/list-directories-options.serializer.d.cts +2 -7
- package/lib/directory-sync-DKBetghA.cjs +46 -0
- package/lib/directory-sync-DKBetghA.cjs.map +1 -0
- package/lib/directory-user.interface-B0cSpVBk.d.cts +48 -0
- package/lib/directory-user.interface-Ci4KBF1c.cjs +0 -0
- package/lib/directory-user.serializer-CotaPd_A.d.cts +9 -0
- package/lib/directory-user.serializer-UTYCZSSB.cjs +63 -0
- package/lib/directory-user.serializer-UTYCZSSB.cjs.map +1 -0
- package/lib/directory.interface-CKBneEhg.d.cts +60 -0
- package/lib/directory.interface-DZqZAP7j.cjs +0 -0
- package/lib/directory.serializer-BhYUCxaX.d.cts +10 -0
- package/lib/directory.serializer-j1RV_J7z.cjs +68 -0
- package/lib/directory.serializer-j1RV_J7z.cjs.map +1 -0
- package/lib/domain-data.interface-jRo-qP_g.cjs +16 -0
- package/lib/domain-data.interface-jRo-qP_g.cjs.map +1 -0
- package/lib/domain-data.interface-pTi_WT5Q.d.cts +12 -0
- package/lib/email-verification.interface-B9puXDAs.cjs +0 -0
- package/lib/email-verification.interface-CAc4zz7F.d.cts +42 -0
- package/lib/email-verification.serializer-C_AlrH3-.d.cts +8 -0
- package/lib/email-verification.serializer-e6Mbvjvd.cjs +36 -0
- package/lib/email-verification.serializer-e6Mbvjvd.cjs.map +1 -0
- package/lib/enroll-auth-factor-options.serializer-BBfKN5IU.cjs +17 -0
- package/lib/enroll-auth-factor-options.serializer-BBfKN5IU.cjs.map +1 -0
- package/lib/enroll-auth-factor-options.serializer-BZEtsmCx.d.cts +7 -0
- package/lib/enroll-auth-factor.interface-BtYeuUBZ.d.cts +17 -0
- package/lib/enroll-auth-factor.interface-cLereKiZ.cjs +0 -0
- package/lib/enroll-factor-options-CmyPkn2h.d.cts +14 -0
- package/lib/env-CCN5u8Rv.cjs +62 -0
- package/lib/env-CCN5u8Rv.cjs.map +1 -0
- package/lib/event.interface-DQMKDuc9.cjs +0 -0
- package/lib/event.serializer-D7YBgSw3.d.cts +7 -0
- package/lib/event.serializer-DDxhlKpU.cjs +180 -0
- package/lib/event.serializer-DDxhlKpU.cjs.map +1 -0
- package/lib/events/events.cjs +2 -17
- package/lib/events/events.d.cts +2 -14
- package/lib/events/interfaces/index.d.cts +1 -1
- package/lib/events/interfaces/list-events-options.interface.d.cts +2 -22
- package/lib/events/serializers/index.cjs +2 -2
- package/lib/events/serializers/index.d.cts +1 -1
- package/lib/events/serializers/list-event-options.serializer.cjs +2 -13
- package/lib/events/serializers/list-event-options.serializer.d.cts +2 -7
- package/lib/events-DznbKxXA.cjs +23 -0
- package/lib/events-DznbKxXA.cjs.map +1 -0
- package/lib/exceptions-DHjMOdn0.cjs +0 -0
- package/lib/factor.interface-Dsk_wYCN.d.cts +44 -0
- package/lib/factor.interface-DyQxGS-X.d.cts +42 -0
- package/lib/factor.interface-Uxx5A9bu.cjs +0 -0
- package/lib/factor.serializer-B6Y-wFb5.d.cts +8 -0
- package/lib/factor.serializer-CiRgOFhH.cjs +36 -0
- package/lib/factor.serializer-CiRgOFhH.cjs.map +1 -0
- package/lib/factor.serializer-CqXuPE9e.cjs +37 -0
- package/lib/factor.serializer-CqXuPE9e.cjs.map +1 -0
- package/lib/factor.serializer-UAz7NTzS.d.cts +8 -0
- package/lib/factory-C447nn53.cjs +15 -0
- package/lib/factory-C447nn53.cjs.map +1 -0
- package/lib/factory.cjs +7 -9
- package/lib/factory.d.cts +2 -83
- package/lib/feature-flag.interface-Btv6VfMI.d.cts +28 -0
- package/lib/feature-flag.interface-Ug-r9a4Y.cjs +0 -0
- package/lib/feature-flag.serializer-DhnZDZE3.cjs +23 -0
- package/lib/feature-flag.serializer-DhnZDZE3.cjs.map +1 -0
- package/lib/feature-flag.serializer-dWnsMPwY.d.cts +7 -0
- package/lib/feature-flags/feature-flags.cjs +2 -36
- package/lib/feature-flags/feature-flags.d.cts +2 -21
- package/lib/feature-flags/interfaces/add-flag-target-options.interface.d.cts +2 -8
- package/lib/feature-flags/interfaces/feature-flag.interface.d.cts +2 -28
- package/lib/feature-flags/interfaces/index.d.cts +4 -4
- package/lib/feature-flags/interfaces/list-feature-flags-options.interface.d.cts +2 -7
- package/lib/feature-flags/interfaces/remove-flag-target-options.interface.d.cts +2 -8
- package/lib/feature-flags/serializers/feature-flag.serializer.cjs +2 -17
- package/lib/feature-flags/serializers/feature-flag.serializer.d.cts +2 -7
- package/lib/feature-flags/serializers/index.cjs +2 -2
- package/lib/feature-flags/serializers/index.d.cts +1 -1
- package/lib/feature-flags-Be_HjF1A.cjs +42 -0
- package/lib/feature-flags-Be_HjF1A.cjs.map +1 -0
- package/lib/fetch-and-deserialize-Cw0qruaA.cjs +25 -0
- package/lib/fetch-and-deserialize-Cw0qruaA.cjs.map +1 -0
- package/lib/fetch-and-deserialize-list-BxNZs_lh.cjs +19 -0
- package/lib/fetch-and-deserialize-list-BxNZs_lh.cjs.map +1 -0
- package/lib/fetch-client-DdnJdHyo.cjs +178 -0
- package/lib/fetch-client-DdnJdHyo.cjs.map +1 -0
- package/lib/fga/fga.cjs +2 -77
- package/lib/fga/fga.d.cts +2 -29
- package/lib/fga/interfaces/check-op.enum.cjs +2 -10
- package/lib/fga/interfaces/check-op.enum.d.cts +2 -8
- package/lib/fga/interfaces/check.interface.cjs +2 -27
- package/lib/fga/interfaces/check.interface.d.cts +2 -88
- package/lib/fga/interfaces/index.cjs +8 -8
- package/lib/fga/interfaces/index.d.cts +8 -8
- package/lib/fga/interfaces/list.interface.d.cts +2 -13
- package/lib/fga/interfaces/query.interface.d.cts +2 -35
- package/lib/fga/interfaces/resource-op.enum.cjs +2 -10
- package/lib/fga/interfaces/resource-op.enum.d.cts +2 -8
- package/lib/fga/interfaces/resource.interface.d.cts +2 -77
- package/lib/fga/interfaces/warning.interface.d.cts +2 -13
- package/lib/fga/interfaces/warrant-op.enum.cjs +2 -10
- package/lib/fga/interfaces/warrant-op.enum.d.cts +2 -8
- package/lib/fga/interfaces/warrant-token.interface.d.cts +2 -10
- package/lib/fga/interfaces/warrant.interface.d.cts +2 -71
- package/lib/fga/serializers/batch-write-resources-options.serializer.cjs +2 -17
- package/lib/fga/serializers/batch-write-resources-options.serializer.d.cts +2 -7
- package/lib/fga/serializers/check-options.serializer.cjs +4 -53
- package/lib/fga/serializers/check-options.serializer.d.cts +2 -9
- package/lib/fga/serializers/create-resource-options.serializer.cjs +2 -11
- package/lib/fga/serializers/create-resource-options.serializer.d.cts +2 -7
- package/lib/fga/serializers/delete-resource-options.serializer.cjs +2 -10
- package/lib/fga/serializers/delete-resource-options.serializer.d.cts +2 -7
- package/lib/fga/serializers/index.cjs +29 -29
- package/lib/fga/serializers/index.d.cts +13 -13
- package/lib/fga/serializers/list-resources-options.serializer.cjs +2 -13
- package/lib/fga/serializers/list-resources-options.serializer.d.cts +2 -7
- package/lib/fga/serializers/list-warrants-options.serializer.cjs +2 -15
- package/lib/fga/serializers/list-warrants-options.serializer.d.cts +2 -7
- package/lib/fga/serializers/list.serializer.cjs +2 -11
- package/lib/fga/serializers/list.serializer.d.cts +2 -10
- package/lib/fga/serializers/query-options.serializer.cjs +2 -13
- package/lib/fga/serializers/query-options.serializer.d.cts +2 -7
- package/lib/fga/serializers/query-result.serializer.cjs +2 -22
- package/lib/fga/serializers/query-result.serializer.d.cts +2 -12
- package/lib/fga/serializers/resource.serializer.cjs +3 -14
- package/lib/fga/serializers/resource.serializer.d.cts +2 -8
- package/lib/fga/serializers/warrant-token.serializer.cjs +2 -6
- package/lib/fga/serializers/warrant-token.serializer.d.cts +2 -7
- package/lib/fga/serializers/warrant.serializer.cjs +2 -16
- package/lib/fga/serializers/warrant.serializer.d.cts +2 -7
- package/lib/fga/serializers/write-warrant-options.serializer.cjs +2 -20
- package/lib/fga/serializers/write-warrant-options.serializer.d.cts +2 -7
- package/lib/fga/utils/fetch-and-deserialize-list.cjs +2 -13
- package/lib/fga/utils/fetch-and-deserialize-list.d.cts +4 -4
- package/lib/fga/utils/fga-paginatable.cjs +2 -16
- package/lib/fga/utils/fga-paginatable.d.cts +2 -14
- package/lib/fga/utils/interface-check.cjs +3 -12
- package/lib/fga/utils/interface-check.d.cts +2 -2
- package/lib/fga-BzThcM6n.cjs +83 -0
- package/lib/fga-BzThcM6n.cjs.map +1 -0
- package/lib/fga-paginatable-DEDsjb3U.cjs +22 -0
- package/lib/fga-paginatable-DEDsjb3U.cjs.map +1 -0
- package/lib/fga-paginatable-dk4rWGGN.d.cts +14 -0
- package/lib/generate-portal-link-intent.interface-BhUMhTmF.d.cts +12 -0
- package/lib/generate-portal-link-intent.interface-D-_01JcM.cjs +20 -0
- package/lib/generate-portal-link-intent.interface-D-_01JcM.cjs.map +1 -0
- package/lib/generic-server.exception-CQ1bI6ng.cjs +22 -0
- package/lib/generic-server.exception-CQ1bI6ng.cjs.map +1 -0
- package/lib/generic-server.exception-DcQ8s8I4.d.cts +14 -0
- package/lib/get-access-token.interface-CWupD3RW.d.cts +32 -0
- package/lib/get-access-token.serializer-DgmyudCD.cjs +34 -0
- package/lib/get-access-token.serializer-DgmyudCD.cjs.map +1 -0
- package/lib/get-options.interface-C2z2r1ix.cjs +0 -0
- package/lib/get-options.interface-DAECfi3y.d.cts +11 -0
- package/lib/get-profile-and-token-options.interface-CgiTXQNg.d.cts +14 -0
- package/lib/get-profile-and-token-options.interface-DI-Q8ebI.cjs +0 -0
- package/lib/get-profile-options.interface-CF_TcBM6.d.cts +7 -0
- package/lib/get-profile-options.interface-DjUysY00.cjs +0 -0
- package/lib/get-token-BN39vk9z.cjs +23 -0
- package/lib/get-token-BN39vk9z.cjs.map +1 -0
- package/lib/get-token-DzJWaKpa.d.cts +23 -0
- package/lib/http-client-B9cq9YMH.d.cts +54 -0
- package/lib/http-client-BLYDc7_a.cjs +96 -0
- package/lib/http-client-BLYDc7_a.cjs.map +1 -0
- package/lib/http-client.interface-B_lhFBGb.d.cts +24 -0
- package/lib/http-client.interface-DVx4DGRo.cjs +0 -0
- package/lib/identity.interface-QfHtZhoz.d.cts +14 -0
- package/lib/identity.interface-pMR3VyDs.cjs +0 -0
- package/lib/identity.serializer-Bzox6cAy.cjs +20 -0
- package/lib/identity.serializer-Bzox6cAy.cjs.map +1 -0
- package/lib/impersonator.interface-C8ENsrgh.cjs +0 -0
- package/lib/impersonator.interface-Vr4-B1pz.d.cts +12 -0
- package/lib/index-BXAFTIXq.d.cts +1 -0
- package/lib/index-By33K0bY.d.cts +1 -0
- package/lib/index-CKltkU46.d.cts +1 -0
- package/lib/index-CovDHv7q.d.cts +557 -0
- package/lib/index-DCiA8mC0.d.cts +1 -0
- package/lib/index-DPFAF2L8.d.cts +1 -0
- package/lib/index-DbQcfgDj.d.cts +1 -0
- package/lib/index-DiJBdvWV.d.cts +1 -0
- package/lib/index-DuB_GnHY.d.cts +1 -0
- package/lib/index-DyFAE6ok.d.cts +1 -0
- package/lib/index-J9AgzEVC.d.cts +1 -0
- package/lib/index-Kx-CLSKd.d.cts +1 -0
- package/lib/index-SnTQxaLp.d.cts +1 -0
- package/lib/index-hRUJhHRh.d.cts +1 -0
- package/lib/index-kVnxSapa.d.cts +1 -0
- package/lib/index.cjs +70 -57
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +129 -136
- package/lib/index.worker.cjs +67 -57
- package/lib/index.worker.cjs.map +1 -1
- package/lib/index.worker.d.cts +108 -133
- package/lib/interface-check-Cq-1Jdi8.cjs +23 -0
- package/lib/interface-check-Cq-1Jdi8.cjs.map +1 -0
- package/lib/interfaces-BOHKsPOz.cjs +0 -0
- package/lib/interfaces-BSEjYu3J.cjs +0 -0
- package/lib/interfaces-D9mIJVCc.cjs +0 -0
- package/lib/interfaces-D_qyT71O.cjs +0 -0
- package/lib/interfaces-hquSk6kj.cjs +0 -0
- package/lib/interfaces-lw3tA1Ig.cjs +0 -0
- package/lib/invitation.interface-BQMsYCSZ.d.cts +64 -0
- package/lib/invitation.interface-DuJQvENh.cjs +0 -0
- package/lib/invitation.serializer-BEVUkLP9.cjs +47 -0
- package/lib/invitation.serializer-BEVUkLP9.cjs.map +1 -0
- package/lib/invitation.serializer-D7GsMvuH.d.cts +8 -0
- package/lib/jose-D0f0CVnA.cjs +27 -0
- package/lib/jose-D0f0CVnA.cjs.map +1 -0
- package/lib/key.interface-fwN2JSVT.cjs +0 -0
- package/lib/key.interface-lG6YylXY.d.cts +16 -0
- package/lib/leb128-DgwAOCuj.cjs +82 -0
- package/lib/leb128-DgwAOCuj.cjs.map +1 -0
- package/lib/list-auth-factors-options.interface-C_MNm3jN.cjs +0 -0
- package/lib/list-connections-options.interface-C_4eo9BU.d.cts +17 -0
- package/lib/list-connections-options.interface-YNk1YDor.cjs +0 -0
- package/lib/list-connections-options.serializer-B9jyhBCh.cjs +20 -0
- package/lib/list-connections-options.serializer-B9jyhBCh.cjs.map +1 -0
- package/lib/list-connections-options.serializer-DfJliOZZ.d.cts +7 -0
- package/lib/list-directories-options.interface-B_Or3OFG.d.cts +14 -0
- package/lib/list-directories-options.interface-CI0d7UHw.cjs +0 -0
- package/lib/list-directories-options.serializer-C2zUlVDI.d.cts +7 -0
- package/lib/list-directories-options.serializer-DIkuNuJB.cjs +19 -0
- package/lib/list-directories-options.serializer-DIkuNuJB.cjs.map +1 -0
- package/lib/list-directory-users-options.interface-B-cXq46X.cjs +0 -0
- package/lib/list-directory-users-options.interface-C7vYk_oi.d.cts +10 -0
- package/lib/list-event-options.serializer-JusR1KRI.d.cts +7 -0
- package/lib/list-event-options.serializer-bbZhjMlc.cjs +19 -0
- package/lib/list-event-options.serializer-bbZhjMlc.cjs.map +1 -0
- package/lib/list-events-options.interface-C8jfNxm0.cjs +0 -0
- package/lib/list-events-options.interface-CD82jAU0.d.cts +22 -0
- package/lib/list-feature-flags-options.interface-CfqDXcyU.cjs +0 -0
- package/lib/list-feature-flags-options.interface-TNRLg_eE.d.cts +7 -0
- package/lib/list-groups-options.interface-DSOFN2vw.d.cts +10 -0
- package/lib/list-groups-options.interface-XF1YACqA.cjs +0 -0
- package/lib/list-invitations-options.interface-BVUPp5YW.cjs +0 -0
- package/lib/list-invitations-options.serializer-DyJeeVXk.cjs +19 -0
- package/lib/list-invitations-options.serializer-DyJeeVXk.cjs.map +1 -0
- package/lib/list-object-versions.interface-Bcum-UM6.d.cts +12 -0
- package/lib/list-object-versions.interface-RY6pD26h.cjs +0 -0
- package/lib/list-objects.interface-3h292QrX.d.cts +9 -0
- package/lib/list-objects.interface-Bp30QMX7.cjs +0 -0
- package/lib/list-organization-api-keys-options.interface-BHiZwa0X.d.cts +9 -0
- package/lib/list-organization-api-keys-options.interface-CHwMsqCG.cjs +0 -0
- package/lib/list-organization-feature-flags-options.interface-BBYYH_hi.cjs +0 -0
- package/lib/list-organization-feature-flags-options.interface-lBZ9xl9J.d.cts +9 -0
- package/lib/list-organization-memberships-options.interface-OSYPLSDa.cjs +0 -0
- package/lib/list-organization-memberships-options.serializer-eZn-qTI8.cjs +20 -0
- package/lib/list-organization-memberships-options.serializer-eZn-qTI8.cjs.map +1 -0
- package/lib/list-organization-roles-options.interface-CDmO2AJ9.d.cts +7 -0
- package/lib/list-organizations-options.interface-BDvmneTo.cjs +0 -0
- package/lib/list-organizations-options.interface-fSvcaRDB.d.cts +9 -0
- package/lib/list-resources-options.serializer-B01VCK2u.d.cts +7 -0
- package/lib/list-resources-options.serializer-DGgWhS-1.cjs +19 -0
- package/lib/list-resources-options.serializer-DGgWhS-1.cjs.map +1 -0
- package/lib/list-sessions-options.interface-B2gN9ZV4.d.cts +8 -0
- package/lib/list-sessions-options.interface-CNUdzKGT.cjs +0 -0
- package/lib/list-sessions-options.serializer-BZDbMjgP.d.cts +7 -0
- package/lib/list-sessions-options.serializer-DXI2uV_8.cjs +12 -0
- package/lib/list-sessions-options.serializer-DXI2uV_8.cjs.map +1 -0
- package/lib/list-user-feature-flags-options.interface-D8wcWYlx.cjs +0 -0
- package/lib/list-users-options.interface-D2fACxr-.d.cts +14 -0
- package/lib/list-users-options.interface-DIk86usi.cjs +0 -0
- package/lib/list-users-options.serializer-CAQrhvH0.cjs +19 -0
- package/lib/list-users-options.serializer-CAQrhvH0.cjs.map +1 -0
- package/lib/list-warrants-options.serializer-BsPCfAmS.d.cts +7 -0
- package/lib/list-warrants-options.serializer-DajLG33H.cjs +21 -0
- package/lib/list-warrants-options.serializer-DajLG33H.cjs.map +1 -0
- package/lib/list.interface-BA88zMzn.d.cts +13 -0
- package/lib/list.interface-CANtyNNL.cjs +0 -0
- package/lib/list.interface-D5DXp24q.d.cts +20 -0
- package/lib/list.serializer-BY9yE1pB.cjs +16 -0
- package/lib/list.serializer-BY9yE1pB.cjs.map +1 -0
- package/lib/list.serializer-Bz6Gh8tU.cjs +17 -0
- package/lib/list.serializer-Bz6Gh8tU.cjs.map +1 -0
- package/lib/list.serializer-Du5A8dpa.d.cts +7 -0
- package/lib/list.serializer-mTuQPSVS.d.cts +10 -0
- package/lib/logout-url-options.interface-CE3bWJ1r.d.cts +8 -0
- package/lib/logout-url-options.interface-XJrvh9Um.cjs +0 -0
- package/lib/magic-auth.interface-DHluxaz0.d.cts +42 -0
- package/lib/magic-auth.interface-OAoqBOq3.cjs +0 -0
- package/lib/magic-auth.serializer-By4HyvgZ.cjs +36 -0
- package/lib/magic-auth.serializer-By4HyvgZ.cjs.map +1 -0
- package/lib/magic-auth.serializer-C2zJUZve.d.cts +8 -0
- package/lib/mfa/interfaces/challenge-factor-options.d.cts +2 -10
- package/lib/mfa/interfaces/challenge.interface.d.cts +2 -22
- package/lib/mfa/interfaces/enroll-factor-options.d.cts +2 -14
- package/lib/mfa/interfaces/factor.interface.d.cts +2 -44
- package/lib/mfa/interfaces/index.cjs +8 -0
- package/lib/mfa/interfaces/index.d.cts +8 -8
- package/lib/mfa/interfaces/sms.interface.d.cts +2 -10
- package/lib/mfa/interfaces/totp.interface.d.cts +2 -22
- package/lib/mfa/interfaces/verify-challenge-options.d.cts +2 -8
- package/lib/mfa/interfaces/verify-challenge-response.d.cts +2 -14
- package/lib/mfa/mfa.cjs +2 -44
- package/lib/mfa/mfa.d.cts +2 -21
- package/lib/mfa/serializers/challenge.serializer.cjs +2 -14
- package/lib/mfa/serializers/challenge.serializer.d.cts +2 -7
- package/lib/mfa/serializers/factor.serializer.cjs +3 -26
- package/lib/mfa/serializers/factor.serializer.d.cts +2 -8
- package/lib/mfa/serializers/index.cjs +7 -7
- package/lib/mfa/serializers/index.d.cts +3 -3
- package/lib/mfa/serializers/sms.serializer.cjs +2 -6
- package/lib/mfa/serializers/sms.serializer.d.cts +1 -1
- package/lib/mfa/serializers/totp.serializer.cjs +3 -21
- package/lib/mfa/serializers/totp.serializer.d.cts +1 -1
- package/lib/mfa/serializers/verify-response.serializer.cjs +2 -10
- package/lib/mfa/serializers/verify-response.serializer.d.cts +2 -7
- package/lib/mfa-BbisUIpM.cjs +50 -0
- package/lib/mfa-BbisUIpM.cjs.map +1 -0
- package/lib/no-api-key-provided.exception-C7hM-2nF.d.cts +9 -0
- package/lib/no-api-key-provided.exception-CAJnPlPr.cjs +16 -0
- package/lib/no-api-key-provided.exception-CAJnPlPr.cjs.map +1 -0
- package/lib/not-found.exception-BcKq0hWv.cjs +24 -0
- package/lib/not-found.exception-BcKq0hWv.cjs.map +1 -0
- package/lib/not-found.exception-Dx6q9fB_.d.cts +24 -0
- package/lib/oauth-tokens.interface-BnEjos_G.d.cts +16 -0
- package/lib/oauth-tokens.interface-DN0gza6B.cjs +0 -0
- package/lib/oauth-tokens.serializer-BmyyKwrh.cjs +17 -0
- package/lib/oauth-tokens.serializer-BmyyKwrh.cjs.map +1 -0
- package/lib/oauth.exception-BJAv3tg-.cjs +25 -0
- package/lib/oauth.exception-BJAv3tg-.cjs.map +1 -0
- package/lib/oauth.exception-CevJbHCU.d.cts +15 -0
- package/lib/object.interface-DK7EXEsK.d.cts +35 -0
- package/lib/object.interface-ouK-CMDg.cjs +0 -0
- package/lib/organization-domain.interface-CrAOoSPo.d.cts +35 -0
- package/lib/organization-domain.interface-F741XB-4.cjs +28 -0
- package/lib/organization-domain.interface-F741XB-4.cjs.map +1 -0
- package/lib/organization-domain.serializer-BuecMdCg.cjs +22 -0
- package/lib/organization-domain.serializer-BuecMdCg.cjs.map +1 -0
- package/lib/organization-domains/interfaces/create-organization-domain-options.interface.d.cts +2 -12
- package/lib/organization-domains/interfaces/index.cjs +3 -3
- package/lib/organization-domains/interfaces/index.d.cts +2 -2
- package/lib/organization-domains/interfaces/organization-domain.interface.cjs +3 -17
- package/lib/organization-domains/interfaces/organization-domain.interface.d.cts +2 -35
- package/lib/organization-domains/organization-domains.cjs +2 -27
- package/lib/organization-domains/organization-domains.d.cts +2 -16
- package/lib/organization-domains/serializers/create-organization-domain-options.serializer.cjs +2 -9
- package/lib/organization-domains/serializers/create-organization-domain-options.serializer.d.cts +1 -1
- package/lib/organization-domains/serializers/organization-domain.serializer.cjs +2 -16
- package/lib/organization-domains/serializers/organization-domain.serializer.d.cts +1 -1
- package/lib/organization-domains-BRGEKO06.cjs +33 -0
- package/lib/organization-domains-BRGEKO06.cjs.map +1 -0
- package/lib/organization-membership.interface-ERgG2p4e.d.cts +31 -0
- package/lib/organization-membership.interface-lE9RCqTV.cjs +0 -0
- package/lib/organization-membership.serializer-CYvdEErJ.cjs +23 -0
- package/lib/organization-membership.serializer-CYvdEErJ.cjs.map +1 -0
- package/lib/organization.interface-CVqDknbl.cjs +0 -0
- package/lib/organization.interface-i6mWA3uA.d.cts +30 -0
- package/lib/organization.serializer-BLDEzQ1R.d.cts +7 -0
- package/lib/organization.serializer-DM6Xkk2V.cjs +24 -0
- package/lib/organization.serializer-DM6Xkk2V.cjs.map +1 -0
- package/lib/organizations/interfaces/create-organization-options.interface.d.cts +2 -20
- package/lib/organizations/interfaces/domain-data.interface.cjs +2 -10
- package/lib/organizations/interfaces/domain-data.interface.d.cts +2 -12
- package/lib/organizations/interfaces/index.cjs +2 -2
- package/lib/organizations/interfaces/index.d.cts +6 -6
- package/lib/organizations/interfaces/list-organization-feature-flags-options.interface.d.cts +2 -9
- package/lib/organizations/interfaces/list-organization-roles-options.interface.d.cts +2 -7
- package/lib/organizations/interfaces/list-organizations-options.interface.d.cts +2 -9
- package/lib/organizations/interfaces/organization.interface.d.cts +2 -30
- package/lib/organizations/interfaces/update-organization-options.interface.d.cts +2 -21
- package/lib/organizations/organizations.cjs +2 -64
- package/lib/organizations/organizations.d.cts +2 -33
- package/lib/organizations/serializers/create-organization-options.serializer.cjs +2 -11
- package/lib/organizations/serializers/create-organization-options.serializer.d.cts +2 -7
- package/lib/organizations/serializers/index.cjs +6 -6
- package/lib/organizations/serializers/index.d.cts +3 -3
- package/lib/organizations/serializers/organization.serializer.cjs +2 -18
- package/lib/organizations/serializers/organization.serializer.d.cts +2 -7
- package/lib/organizations/serializers/update-organization-options.serializer.cjs +2 -12
- package/lib/organizations/serializers/update-organization-options.serializer.d.cts +2 -7
- package/lib/organizations-D95AsD1T.cjs +70 -0
- package/lib/organizations-D95AsD1T.cjs.map +1 -0
- package/lib/pagination-BG1uBuL4.cjs +48 -0
- package/lib/pagination-BG1uBuL4.cjs.map +1 -0
- package/lib/pagination-CJNMwJck.d.cts +25 -0
- package/lib/pagination-options.interface-B5F27Ki8.cjs +0 -0
- package/lib/pagination-options.interface-Dan4Zh3s.d.cts +10 -0
- package/lib/parse-error-Bbj9GQ8a.cjs +24 -0
- package/lib/parse-error-Bbj9GQ8a.cjs.map +1 -0
- package/lib/password-hash-type.interface-CxNrEyUW.d.cts +5 -0
- package/lib/password-reset.interface-ClJw8CpQ.d.cts +40 -0
- package/lib/password-reset.interface-OhYRauB2.cjs +0 -0
- package/lib/password-reset.serializer-D8Kbnirv.cjs +35 -0
- package/lib/password-reset.serializer-D8Kbnirv.cjs.map +1 -0
- package/lib/password-reset.serializer-b_eJxueA.d.cts +8 -0
- package/lib/passwordless/interfaces/create-passwordless-session-options.interface.d.cts +2 -20
- package/lib/passwordless/interfaces/index.d.cts +3 -3
- package/lib/passwordless/interfaces/passwordless-session.interface.d.cts +2 -18
- package/lib/passwordless/interfaces/send-session-response.interface.d.cts +2 -8
- package/lib/passwordless/passwordless.cjs +2 -23
- package/lib/passwordless/passwordless.d.cts +2 -19
- package/lib/passwordless/serializers/passwordless-session.serializer.cjs +2 -12
- package/lib/passwordless/serializers/passwordless-session.serializer.d.cts +1 -1
- package/lib/passwordless-DEThp5fE.cjs +29 -0
- package/lib/passwordless-DEThp5fE.cjs.map +1 -0
- package/lib/passwordless-session.interface-C5Jxlpb4.cjs +0 -0
- package/lib/passwordless-session.interface-DNuCWNwX.d.cts +18 -0
- package/lib/passwordless-session.serializer-CASCZ8yC.cjs +18 -0
- package/lib/passwordless-session.serializer-CASCZ8yC.cjs.map +1 -0
- package/lib/pipes/interfaces/access-token.interface.d.cts +2 -18
- package/lib/pipes/interfaces/get-access-token.interface.d.cts +2 -32
- package/lib/pipes/pipes.cjs +2 -15
- package/lib/pipes/pipes.d.cts +2 -17
- package/lib/pipes/serializers/access-token.serializer.cjs +2 -14
- package/lib/pipes/serializers/access-token.serializer.d.cts +1 -1
- package/lib/pipes/serializers/get-access-token.serializer.cjs +3 -23
- package/lib/pipes/serializers/get-access-token.serializer.d.cts +1 -1
- package/lib/pipes-BACoDN0N.cjs +21 -0
- package/lib/pipes-BACoDN0N.cjs.map +1 -0
- package/lib/pkce/pkce.cjs +2 -53
- package/lib/pkce/pkce.d.cts +2 -38
- package/lib/pkce-Bu_KcDMw.cjs +59 -0
- package/lib/pkce-Bu_KcDMw.cjs.map +1 -0
- package/lib/pkce-CjBivwLM.d.cts +38 -0
- package/lib/portal/interfaces/generate-portal-link-intent.interface.cjs +2 -14
- package/lib/portal/interfaces/generate-portal-link-intent.interface.d.cts +2 -12
- package/lib/portal/interfaces/index.cjs +2 -2
- package/lib/portal/interfaces/index.d.cts +1 -1
- package/lib/portal/portal.cjs +2 -19
- package/lib/portal/portal.d.cts +2 -24
- package/lib/portal-DeMgODuk.cjs +25 -0
- package/lib/portal-DeMgODuk.cjs.map +1 -0
- package/lib/post-options.interface-BPsfRqbS.d.cts +13 -0
- package/lib/post-options.interface-Dq51f5lQ.cjs +0 -0
- package/lib/profile-and-token.interface-DWS2cGa3.cjs +0 -0
- package/lib/profile-and-token.interface-ZhaI1B_G.d.cts +18 -0
- package/lib/profile-and-token.serializer-CUFdGpX3.cjs +18 -0
- package/lib/profile-and-token.serializer-CUFdGpX3.cjs.map +1 -0
- package/lib/profile-and-token.serializer-jvVxElaa.d.cts +8 -0
- package/lib/profile.interface-CDRlx1GK.cjs +0 -0
- package/lib/profile.interface-CPseQwyu.d.cts +42 -0
- package/lib/profile.serializer-BDlm0TRU.cjs +26 -0
- package/lib/profile.serializer-BDlm0TRU.cjs.map +1 -0
- package/lib/profile.serializer-DdojQSTs.d.cts +8 -0
- package/lib/put-options.interface-CZQMFl9I.d.cts +12 -0
- package/lib/put-options.interface-gBaevIoJ.cjs +0 -0
- package/lib/query-options.serializer-D8fa8ATB.cjs +19 -0
- package/lib/query-options.serializer-D8fa8ATB.cjs.map +1 -0
- package/lib/query-options.serializer-Diz_h8yQ.d.cts +7 -0
- package/lib/query-result.serializer-CNtZi5XJ.cjs +28 -0
- package/lib/query-result.serializer-CNtZi5XJ.cjs.map +1 -0
- package/lib/query-result.serializer-PmDR_3q_.d.cts +12 -0
- package/lib/query-string-DvY-MOOT.cjs +40 -0
- package/lib/query-string-DvY-MOOT.cjs.map +1 -0
- package/lib/query.interface-Bzmz5paB.cjs +0 -0
- package/lib/query.interface-CRFxU55p.d.cts +35 -0
- package/lib/rate-limit-exceeded.exception-BIPgOZUD.d.cts +18 -0
- package/lib/rate-limit-exceeded.exception-DwIKSjgt.cjs +19 -0
- package/lib/rate-limit-exceeded.exception-DwIKSjgt.cjs.map +1 -0
- package/lib/read-object.interface-23WBJJxF.cjs +0 -0
- package/lib/read-object.interface-BB42mvW3.d.cts +25 -0
- package/lib/refresh-and-seal-session-data.interface-CseekR4v.cjs +19 -0
- package/lib/refresh-and-seal-session-data.interface-CseekR4v.cjs.map +1 -0
- package/lib/refresh-and-seal-session-data.interface-Dj5I8yeH.d.cts +24 -0
- package/lib/remove-flag-target-options.interface-Cku-Z1m-.cjs +0 -0
- package/lib/remove-flag-target-options.interface-GeGGkSC5.d.cts +8 -0
- package/lib/request-exception.interface-BmJyrOWP.d.cts +9 -0
- package/lib/reset-password-options.interface-CLFu671o.d.cts +12 -0
- package/lib/reset-password-options.interface-Cnc8Tptm.cjs +0 -0
- package/lib/reset-password-options.serializer-6VTahIzL.cjs +15 -0
- package/lib/reset-password-options.serializer-6VTahIzL.cjs.map +1 -0
- package/lib/reset-password-options.serializer-CHPuZk8c.d.cts +7 -0
- package/lib/resource-op.enum-B88boilW.cjs +16 -0
- package/lib/resource-op.enum-B88boilW.cjs.map +1 -0
- package/lib/resource-op.enum-DvX5Qafv.d.cts +8 -0
- package/lib/resource.interface-B_62uGB9.cjs +0 -0
- package/lib/resource.interface-DoGgkV2d.d.cts +77 -0
- package/lib/resource.serializer-BPTEBds3.d.cts +8 -0
- package/lib/resource.serializer-D7crN0bg.cjs +25 -0
- package/lib/resource.serializer-D7crN0bg.cjs.map +1 -0
- package/lib/response-payload.interface-Bw5H70BX.cjs +0 -0
- package/lib/response-payload.interface-CC-y4Nv6.d.cts +26 -0
- package/lib/revoke-session-options.interface-VAEw2kUV.d.cts +11 -0
- package/lib/revoke-session-options.interface-adU7deuN.cjs +12 -0
- package/lib/revoke-session-options.interface-adU7deuN.cjs.map +1 -0
- package/lib/role.interface-BfMq5Bju.d.cts +51 -0
- package/lib/role.interface-DokcsdG6.cjs +0 -0
- package/lib/role.serializer-DVr857zo.cjs +22 -0
- package/lib/role.serializer-DVr857zo.cjs.map +1 -0
- package/lib/role.serializer-yTKLys-u.cjs +18 -0
- package/lib/role.serializer-yTKLys-u.cjs.map +1 -0
- package/lib/roles/interfaces/index.d.cts +1 -1
- package/lib/roles/interfaces/role.interface.d.cts +2 -51
- package/lib/roles/serializers/role.serializer.cjs +2 -16
- package/lib/roles/serializers/role.serializer.d.cts +1 -1
- package/lib/runtime-info-tyLXDYg5.cjs +56 -0
- package/lib/runtime-info-tyLXDYg5.cjs.map +1 -0
- package/lib/{node_modules/iron-webcrypto/index.js → seal-Dl5Et6Vv.cjs} +102 -3
- package/lib/seal-Dl5Et6Vv.cjs.map +1 -0
- package/lib/send-invitation-options.interface-BKFjdXV9.cjs +0 -0
- package/lib/send-invitation-options.interface-BfUo_y42.d.cts +18 -0
- package/lib/send-invitation-options.serializer-DW0HMDNN.cjs +18 -0
- package/lib/send-invitation-options.serializer-DW0HMDNN.cjs.map +1 -0
- package/lib/send-session-response.interface-B5S6VASb.d.cts +8 -0
- package/lib/send-session-response.interface-DikznICv.cjs +0 -0
- package/lib/send-verification-email-options.interface-I508oiKZ.d.cts +7 -0
- package/lib/send-verification-email-options.interface-ouroaASB.cjs +0 -0
- package/lib/serializers-1DJGR2Bq.cjs +0 -0
- package/lib/serializers-1RdL3mOO.cjs +0 -0
- package/lib/serializers-AObKGeJ9.cjs +0 -0
- package/lib/serializers-BGydYdNv.cjs +0 -0
- package/lib/serializers-BdASmY_9.cjs +0 -0
- package/lib/serializers-Cg02bBkh.cjs +0 -0
- package/lib/serializers-CshbWgH5.cjs +0 -0
- package/lib/serializers-D7IALzFJ.cjs +0 -0
- package/lib/serializers-L67xhHGh.cjs +0 -0
- package/lib/serializers-mApGhp2E.cjs +0 -0
- package/lib/serializers-trBM15Pj.cjs +0 -0
- package/lib/session-9omTtyoD.cjs +144 -0
- package/lib/session-9omTtyoD.cjs.map +1 -0
- package/lib/session-handler-options.interface-DxF6E6ug.d.cts +9 -0
- package/lib/session.interface-BL6GFmCP.d.cts +38 -0
- package/lib/session.interface-DRZhbyZ-.cjs +0 -0
- package/lib/session.serializer-DfnhKR5i.d.cts +7 -0
- package/lib/session.serializer-Dmj9Hm3q.cjs +26 -0
- package/lib/session.serializer-Dmj9Hm3q.cjs.map +1 -0
- package/lib/signature-provider-Dx4cy5vI.cjs +38 -0
- package/lib/signature-provider-Dx4cy5vI.cjs.map +1 -0
- package/lib/signature-verification.exception-Bdz2blO4.d.cts +8 -0
- package/lib/signature-verification.exception-Dc1gSCYD.cjs +17 -0
- package/lib/signature-verification.exception-Dc1gSCYD.cjs.map +1 -0
- package/lib/sms.interface-CCvvcYpl.d.cts +10 -0
- package/lib/sms.serializer-X3xntG8l.cjs +12 -0
- package/lib/sms.serializer-X3xntG8l.cjs.map +1 -0
- package/lib/sso/interfaces/authorization-url-options.interface.d.cts +2 -55
- package/lib/sso/interfaces/connection-type.enum.cjs +2 -43
- package/lib/sso/interfaces/connection-type.enum.d.cts +2 -41
- package/lib/sso/interfaces/connection.interface.d.cts +2 -33
- package/lib/sso/interfaces/get-profile-and-token-options.interface.d.cts +2 -14
- package/lib/sso/interfaces/get-profile-options.interface.d.cts +2 -7
- package/lib/sso/interfaces/index.cjs +2 -2
- package/lib/sso/interfaces/index.d.cts +9 -9
- package/lib/sso/interfaces/list-connections-options.interface.d.cts +2 -17
- package/lib/sso/interfaces/profile-and-token.interface.d.cts +2 -18
- package/lib/sso/interfaces/profile.interface.d.cts +2 -42
- package/lib/sso/serializers/connection.serializer.cjs +2 -16
- package/lib/sso/serializers/connection.serializer.d.cts +2 -7
- package/lib/sso/serializers/index.cjs +8 -8
- package/lib/sso/serializers/index.d.cts +4 -4
- package/lib/sso/serializers/list-connections-options.serializer.cjs +2 -14
- package/lib/sso/serializers/list-connections-options.serializer.d.cts +2 -7
- package/lib/sso/serializers/profile-and-token.serializer.cjs +2 -12
- package/lib/sso/serializers/profile-and-token.serializer.d.cts +2 -8
- package/lib/sso/serializers/profile.serializer.cjs +2 -20
- package/lib/sso/serializers/profile.serializer.d.cts +2 -8
- package/lib/sso/sso.cjs +2 -129
- package/lib/sso/sso.d.cts +2 -69
- package/lib/sso-BGdbsFSR.cjs +135 -0
- package/lib/sso-BGdbsFSR.cjs.map +1 -0
- package/lib/subtle-crypto-provider-B-Ywls_E.cjs +99 -0
- package/lib/subtle-crypto-provider-B-Ywls_E.cjs.map +1 -0
- package/lib/totp.interface-DYAiNCIp.d.cts +22 -0
- package/lib/totp.serializer-DlQAVrBt.cjs +32 -0
- package/lib/totp.serializer-DlQAVrBt.cjs.map +1 -0
- package/lib/unauthorized.exception-BfjoWRNu.d.cts +13 -0
- package/lib/unauthorized.exception-hTKkIjP4.cjs +21 -0
- package/lib/unauthorized.exception-hTKkIjP4.cjs.map +1 -0
- package/lib/unknown-record.interface-BeldI97Y.d.cts +5 -0
- package/lib/unprocessable-entity-error.interface-CBG2g2iU.cjs +0 -0
- package/lib/unprocessable-entity-error.interface-Cetcw8CZ.d.cts +8 -0
- package/lib/unprocessable-entity.exception-BdCyQCYX.cjs +28 -0
- package/lib/unprocessable-entity.exception-BdCyQCYX.cjs.map +1 -0
- package/lib/unprocessable-entity.exception-Bfdn63On.d.cts +25 -0
- package/lib/unreachable-BhX3Wm6O.cjs +23 -0
- package/lib/unreachable-BhX3Wm6O.cjs.map +1 -0
- package/lib/update-object.interface-DSpX1DVE.d.cts +13 -0
- package/lib/update-object.interface-Nms9NiU9.cjs +0 -0
- package/lib/update-organization-membership-options.interface-JtvQDljv.cjs +0 -0
- package/lib/update-organization-membership-options.interface-dgLTrwtU.d.cts +12 -0
- package/lib/update-organization-membership-options.serializer-CMMOZfnN.cjs +15 -0
- package/lib/update-organization-membership-options.serializer-CMMOZfnN.cjs.map +1 -0
- package/lib/update-organization-options.interface-4n3qEX9i.cjs +0 -0
- package/lib/update-organization-options.interface-BsgwfPaF.d.cts +21 -0
- package/lib/update-organization-options.serializer-5Out0brr.d.cts +7 -0
- package/lib/update-organization-options.serializer-DWh4RlX3.cjs +18 -0
- package/lib/update-organization-options.serializer-DWh4RlX3.cjs.map +1 -0
- package/lib/update-user-options.interface-Docd9AML.cjs +0 -0
- package/lib/update-user-options.interface-aM2-YVW5.d.cts +31 -0
- package/lib/update-user-options.serializer-6lvzxDwS.d.cts +7 -0
- package/lib/update-user-options.serializer-H11lRdjH.cjs +23 -0
- package/lib/update-user-options.serializer-H11lRdjH.cjs.map +1 -0
- package/lib/update-user-password-options.interface-Bqpsk-Qq.cjs +0 -0
- package/lib/update-user-password-options.interface-Buytvx58.d.cts +11 -0
- package/lib/update-user-password-options.serializer-CY9Ckmqw.cjs +12 -0
- package/lib/update-user-password-options.serializer-CY9Ckmqw.cjs.map +1 -0
- package/lib/update-user-password-options.serializer-D35YAk--.d.cts +7 -0
- package/lib/user-management/interfaces/authenticate-with-code-and-verifier-options.interface.d.cts +2 -17
- package/lib/user-management/interfaces/authenticate-with-code-options.interface.d.cts +2 -20
- package/lib/user-management/interfaces/authenticate-with-email-verification-options.interface.d.cts +2 -18
- package/lib/user-management/interfaces/authenticate-with-magic-auth-options.interface.d.cts +2 -22
- package/lib/user-management/interfaces/authenticate-with-options-base.interface.d.cts +2 -41
- package/lib/user-management/interfaces/authenticate-with-organization-selection.interface.d.cts +2 -18
- package/lib/user-management/interfaces/authenticate-with-password-options.interface.d.cts +2 -20
- package/lib/user-management/interfaces/authenticate-with-refresh-token-options.interface.d.cts +2 -18
- package/lib/user-management/interfaces/authenticate-with-refresh-token-public-client-options.interface.d.cts +2 -16
- package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.cjs +2 -11
- package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.d.cts +2 -45
- package/lib/user-management/interfaces/authenticate-with-totp-options.interface.d.cts +2 -20
- package/lib/user-management/interfaces/authentication-event.interface.d.cts +2 -28
- package/lib/user-management/interfaces/authentication-radar-risk-detected-event.interface.d.cts +2 -24
- package/lib/user-management/interfaces/authentication-response.interface.d.cts +2 -28
- package/lib/user-management/interfaces/authorization-url-options.interface.d.cts +2 -45
- package/lib/user-management/interfaces/create-magic-auth-options.interface.d.cts +2 -12
- package/lib/user-management/interfaces/create-organization-membership-options.interface.d.cts +2 -16
- package/lib/user-management/interfaces/create-password-reset-options.interface.d.cts +2 -10
- package/lib/user-management/interfaces/create-user-options.interface.d.cts +2 -28
- package/lib/user-management/interfaces/email-verification.interface.d.cts +2 -42
- package/lib/user-management/interfaces/enroll-auth-factor.interface.d.cts +2 -17
- package/lib/user-management/interfaces/factor.interface.d.cts +2 -42
- package/lib/user-management/interfaces/identity.interface.d.cts +2 -14
- package/lib/user-management/interfaces/impersonator.interface.d.cts +2 -12
- package/lib/user-management/interfaces/index.cjs +6 -6
- package/lib/user-management/interfaces/index.d.cts +44 -47
- package/lib/user-management/interfaces/invitation.interface.d.cts +2 -64
- package/lib/user-management/interfaces/list-auth-factors-options.interface.d.cts +2 -9
- package/lib/user-management/interfaces/list-invitations-options.interface.d.cts +2 -14
- package/lib/user-management/interfaces/list-organization-memberships-options.interface.d.cts +2 -21
- package/lib/user-management/interfaces/list-sessions-options.interface.d.cts +2 -8
- package/lib/user-management/interfaces/list-user-feature-flags-options.interface.d.cts +2 -9
- package/lib/user-management/interfaces/list-users-options.interface.d.cts +2 -14
- package/lib/user-management/interfaces/logout-url-options.interface.d.cts +2 -8
- package/lib/user-management/interfaces/magic-auth.interface.d.cts +2 -42
- package/lib/user-management/interfaces/oauth-tokens.interface.d.cts +2 -16
- package/lib/user-management/interfaces/organization-membership.interface.d.cts +2 -31
- package/lib/user-management/interfaces/password-hash-type.interface.d.cts +2 -5
- package/lib/user-management/interfaces/password-reset.interface.d.cts +2 -40
- package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.cjs +2 -13
- package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.d.cts +2 -24
- package/lib/user-management/interfaces/reset-password-options.interface.d.cts +2 -12
- package/lib/user-management/interfaces/revoke-session-options.interface.cjs +2 -6
- package/lib/user-management/interfaces/revoke-session-options.interface.d.cts +2 -11
- package/lib/user-management/interfaces/send-invitation-options.interface.d.cts +2 -18
- package/lib/user-management/interfaces/send-verification-email-options.interface.d.cts +2 -7
- package/lib/user-management/interfaces/session-handler-options.interface.d.cts +2 -9
- package/lib/user-management/interfaces/session.interface.d.cts +2 -38
- package/lib/user-management/interfaces/update-organization-membership-options.interface.d.cts +2 -12
- package/lib/user-management/interfaces/update-user-options.interface.d.cts +2 -31
- package/lib/user-management/interfaces/update-user-password-options.interface.d.cts +2 -11
- package/lib/user-management/interfaces/user.interface.d.cts +2 -34
- package/lib/user-management/interfaces/verify-email-options.interface.d.cts +2 -11
- package/lib/user-management/serializers/authenticate-with-code-and-verifier-options.serializer.cjs +2 -14
- package/lib/user-management/serializers/authenticate-with-code-and-verifier-options.serializer.d.cts +2 -8
- package/lib/user-management/serializers/authenticate-with-code-options.serializer.cjs +2 -15
- package/lib/user-management/serializers/authenticate-with-code-options.serializer.d.cts +2 -8
- package/lib/user-management/serializers/authenticate-with-email-verification.serializer.cjs +2 -14
- 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.cjs +2 -16
- package/lib/user-management/serializers/authenticate-with-magic-auth-options.serializer.d.cts +2 -8
- package/lib/user-management/serializers/authenticate-with-organization-selection-options.serializer.cjs +2 -14
- 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.cjs +2 -15
- package/lib/user-management/serializers/authenticate-with-password-options.serializer.d.cts +2 -8
- package/lib/user-management/serializers/authenticate-with-refresh-token-public-client-options.serializer.cjs +2 -13
- package/lib/user-management/serializers/authenticate-with-refresh-token-public-client-options.serializer.d.cts +2 -8
- package/lib/user-management/serializers/authenticate-with-refresh-token.options.serializer.cjs +2 -14
- package/lib/user-management/serializers/authenticate-with-refresh-token.options.serializer.d.cts +2 -9
- package/lib/user-management/serializers/authenticate-with-totp-options.serializer.cjs +2 -15
- package/lib/user-management/serializers/authenticate-with-totp-options.serializer.d.cts +2 -8
- package/lib/user-management/serializers/authentication-event.serializer.cjs +2 -14
- package/lib/user-management/serializers/authentication-event.serializer.d.cts +2 -7
- package/lib/user-management/serializers/authentication-radar-risk-event-serializer.cjs +2 -15
- package/lib/user-management/serializers/authentication-radar-risk-event-serializer.d.cts +1 -1
- package/lib/user-management/serializers/authentication-response.serializer.cjs +2 -20
- package/lib/user-management/serializers/authentication-response.serializer.d.cts +2 -7
- package/lib/user-management/serializers/create-magic-auth-options.serializer.cjs +2 -9
- package/lib/user-management/serializers/create-magic-auth-options.serializer.d.cts +2 -7
- package/lib/user-management/serializers/create-organization-membership-options.serializer.cjs +2 -11
- package/lib/user-management/serializers/create-organization-membership-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/create-password-reset-options.serializer.cjs +2 -6
- package/lib/user-management/serializers/create-password-reset-options.serializer.d.cts +2 -7
- package/lib/user-management/serializers/create-user-options.serializer.cjs +2 -16
- package/lib/user-management/serializers/create-user-options.serializer.d.cts +2 -7
- package/lib/user-management/serializers/email-verification.serializer.cjs +3 -25
- package/lib/user-management/serializers/email-verification.serializer.d.cts +2 -8
- package/lib/user-management/serializers/enroll-auth-factor-options.serializer.cjs +2 -11
- package/lib/user-management/serializers/enroll-auth-factor-options.serializer.d.cts +2 -7
- package/lib/user-management/serializers/factor.serializer.cjs +3 -25
- package/lib/user-management/serializers/factor.serializer.d.cts +2 -8
- package/lib/user-management/serializers/identity.serializer.cjs +2 -14
- package/lib/user-management/serializers/identity.serializer.d.cts +1 -1
- package/lib/user-management/serializers/index.cjs +53 -53
- package/lib/user-management/serializers/index.d.cts +24 -24
- package/lib/user-management/serializers/invitation.serializer.cjs +3 -36
- package/lib/user-management/serializers/invitation.serializer.d.cts +2 -8
- package/lib/user-management/serializers/list-invitations-options.serializer.cjs +2 -13
- package/lib/user-management/serializers/list-invitations-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-organization-memberships-options.serializer.cjs +2 -14
- package/lib/user-management/serializers/list-organization-memberships-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-sessions-options.serializer.cjs +2 -6
- package/lib/user-management/serializers/list-sessions-options.serializer.d.cts +2 -7
- package/lib/user-management/serializers/list-users-options.serializer.cjs +2 -13
- package/lib/user-management/serializers/list-users-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/magic-auth.serializer.cjs +3 -25
- package/lib/user-management/serializers/magic-auth.serializer.d.cts +2 -8
- package/lib/user-management/serializers/oauth-tokens.serializer.cjs +2 -11
- package/lib/user-management/serializers/oauth-tokens.serializer.d.cts +1 -1
- package/lib/user-management/serializers/organization-membership.serializer.cjs +2 -17
- package/lib/user-management/serializers/organization-membership.serializer.d.cts +1 -1
- package/lib/user-management/serializers/password-reset.serializer.cjs +3 -24
- package/lib/user-management/serializers/password-reset.serializer.d.cts +2 -8
- package/lib/user-management/serializers/reset-password-options.serializer.cjs +2 -9
- package/lib/user-management/serializers/reset-password-options.serializer.d.cts +2 -7
- package/lib/user-management/serializers/role.serializer.cjs +2 -12
- package/lib/user-management/serializers/role.serializer.d.cts +1 -1
- package/lib/user-management/serializers/send-invitation-options.serializer.cjs +2 -12
- package/lib/user-management/serializers/send-invitation-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/session.serializer.cjs +2 -20
- package/lib/user-management/serializers/session.serializer.d.cts +2 -7
- package/lib/user-management/serializers/update-organization-membership-options.serializer.cjs +2 -9
- package/lib/user-management/serializers/update-organization-membership-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/update-user-options.serializer.cjs +2 -17
- package/lib/user-management/serializers/update-user-options.serializer.d.cts +2 -7
- package/lib/user-management/serializers/update-user-password-options.serializer.cjs +2 -6
- package/lib/user-management/serializers/update-user-password-options.serializer.d.cts +2 -7
- package/lib/user-management/serializers/user.serializer.cjs +2 -20
- package/lib/user-management/serializers/user.serializer.d.cts +2 -7
- package/lib/user-management/session.cjs +3 -138
- package/lib/user-management/session.d.cts +2 -44
- package/lib/user-management/user-management.cjs +4 -532
- package/lib/user-management/user-management.d.cts +2 -210
- package/lib/user-management-B-wNbU8Q.cjs +538 -0
- package/lib/user-management-B-wNbU8Q.cjs.map +1 -0
- package/lib/user.interface-CQjmDTsg.cjs +0 -0
- package/lib/user.interface-Dw_0nNpw.d.cts +34 -0
- package/lib/user.serializer-DJ3rbRrA.d.cts +7 -0
- package/lib/user.serializer-Y5EM8MeK.cjs +26 -0
- package/lib/user.serializer-Y5EM8MeK.cjs.map +1 -0
- package/lib/utils/jose.cjs +2 -21
- package/lib/validate-api-key.interface-CK407BWa.cjs +0 -0
- package/lib/validate-api-key.interface-TBdiN_K_.d.cts +15 -0
- package/lib/validate-api-key.serializer-Cwpx9odk.cjs +15 -0
- package/lib/validate-api-key.serializer-Cwpx9odk.cjs.map +1 -0
- package/lib/validate-api-key.serializer-DJFc2ovX.d.cts +7 -0
- package/lib/vault/interfaces/index.d.cts +10 -10
- package/lib/vault/interfaces/key/create-data-key.interface.d.cts +2 -15
- package/lib/vault/interfaces/key/decrypt-data-key.interface.d.cts +2 -11
- package/lib/vault/interfaces/key.interface.d.cts +2 -16
- package/lib/vault/interfaces/object/create-object.interface.d.cts +2 -16
- package/lib/vault/interfaces/object/delete-object.interface.d.cts +2 -7
- package/lib/vault/interfaces/object/list-object-versions.interface.d.cts +2 -12
- package/lib/vault/interfaces/object/list-objects.interface.d.cts +2 -9
- package/lib/vault/interfaces/object/read-object.interface.d.cts +2 -25
- package/lib/vault/interfaces/object/update-object.interface.d.cts +2 -13
- package/lib/vault/interfaces/object.interface.d.cts +2 -35
- package/lib/vault/serializers/vault-key.serializer.cjs +3 -18
- package/lib/vault/serializers/vault-key.serializer.d.cts +3 -3
- package/lib/vault/serializers/vault-object.serializer.cjs +7 -53
- package/lib/vault/serializers/vault-object.serializer.d.cts +7 -7
- package/lib/vault/vault.cjs +2 -100
- package/lib/vault/vault.d.cts +2 -34
- package/lib/vault-BlHYnRoU.cjs +106 -0
- package/lib/vault-BlHYnRoU.cjs.map +1 -0
- package/lib/vault-key.serializer-eYptLXG-.cjs +29 -0
- package/lib/vault-key.serializer-eYptLXG-.cjs.map +1 -0
- package/lib/vault-object.serializer-BZEXkPbG.cjs +84 -0
- package/lib/vault-object.serializer-BZEXkPbG.cjs.map +1 -0
- package/lib/verify-challenge-options-CbIfj-xU.d.cts +8 -0
- package/lib/verify-challenge-response-BmtVdUEW.d.cts +14 -0
- package/lib/verify-email-options.interface-BBcp932Q.cjs +0 -0
- package/lib/verify-email-options.interface-C84HHtMI.d.cts +11 -0
- package/lib/verify-response.serializer-BzA1MzhA.d.cts +7 -0
- package/lib/verify-response.serializer-Ga6sZ_he.cjs +16 -0
- package/lib/verify-response.serializer-Ga6sZ_he.cjs.map +1 -0
- package/lib/warning.interface-CSsg4mki.d.cts +13 -0
- package/lib/warrant-op.enum-DlS3mxL5.d.cts +8 -0
- package/lib/warrant-op.enum-GglqG3OS.cjs +16 -0
- package/lib/warrant-op.enum-GglqG3OS.cjs.map +1 -0
- package/lib/warrant-token.interface-BQ9A2-XP.cjs +0 -0
- package/lib/warrant-token.interface-R40zmb_I.d.cts +10 -0
- package/lib/warrant-token.serializer-5-8n-V0R.d.cts +7 -0
- package/lib/warrant-token.serializer-DcPHu0QA.cjs +12 -0
- package/lib/warrant-token.serializer-DcPHu0QA.cjs.map +1 -0
- package/lib/warrant.interface-BTyeqwIZ.d.cts +71 -0
- package/lib/warrant.interface-DJHgzeER.cjs +0 -0
- package/lib/warrant.serializer-CoOLXomy.cjs +22 -0
- package/lib/warrant.serializer-CoOLXomy.cjs.map +1 -0
- package/lib/warrant.serializer-gpAVldox.d.cts +7 -0
- package/lib/webhooks/webhooks.cjs +2 -32
- package/lib/webhooks/webhooks.d.cts +2 -35
- package/lib/webhooks-Cg-vwv-K.cjs +38 -0
- package/lib/webhooks-Cg-vwv-K.cjs.map +1 -0
- package/lib/webhooks-Cu--UoJt.d.cts +35 -0
- package/lib/widgets/interfaces/get-token.cjs +3 -12
- package/lib/widgets/interfaces/get-token.d.cts +2 -23
- package/lib/widgets/widgets.cjs +2 -15
- package/lib/widgets/widgets.d.cts +2 -12
- package/lib/widgets-DgRdyRWv.cjs +21 -0
- package/lib/widgets-DgRdyRWv.cjs.map +1 -0
- package/lib/workos-Q8jFdPPy.cjs +306 -0
- package/lib/workos-Q8jFdPPy.cjs.map +1 -0
- package/lib/workos-options.interface-BCUwoqgS.cjs +0 -0
- package/lib/workos-options.interface-UI0n58Db.d.cts +17 -0
- package/lib/workos-response-error.interface-BWAYi8L4.d.cts +13 -0
- package/lib/workos-response-error.interface-oYjLN9ok.cjs +0 -0
- package/lib/workos.cjs +6 -300
- package/lib/workos.d.cts +2 -101
- package/lib/workos.js +1 -1
- package/lib/workos.js.map +1 -1
- package/lib/write-warrant-options.serializer-ZEtUaK3t.cjs +26 -0
- package/lib/write-warrant-options.serializer-ZEtUaK3t.cjs.map +1 -0
- package/lib/write-warrant-options.serializer-sFJLAscw.d.cts +7 -0
- package/package.json +1 -1
- package/lib/actions/actions.cjs.map +0 -1
- package/lib/actions/serializers/action.serializer.cjs.map +0 -1
- package/lib/api-keys/api-keys.cjs.map +0 -1
- package/lib/api-keys/serializers/api-key.serializer.cjs.map +0 -1
- package/lib/api-keys/serializers/create-organization-api-key-options.serializer.cjs.map +0 -1
- package/lib/api-keys/serializers/created-api-key.serializer.cjs.map +0 -1
- package/lib/api-keys/serializers/validate-api-key.serializer.cjs.map +0 -1
- package/lib/audit-logs/audit-logs.cjs.map +0 -1
- package/lib/audit-logs/serializers/audit-log-export-options.serializer.cjs.map +0 -1
- package/lib/audit-logs/serializers/audit-log-export.serializer.cjs.map +0 -1
- package/lib/audit-logs/serializers/create-audit-log-event-options.serializer.cjs.map +0 -1
- package/lib/audit-logs/serializers/create-audit-log-schema-options.serializer.cjs.map +0 -1
- package/lib/audit-logs/serializers/create-audit-log-schema.serializer.cjs.map +0 -1
- package/lib/common/crypto/crypto-provider.cjs.map +0 -1
- package/lib/common/crypto/seal.cjs.map +0 -1
- package/lib/common/crypto/signature-provider.cjs.map +0 -1
- package/lib/common/crypto/subtle-crypto-provider.cjs.map +0 -1
- package/lib/common/exceptions/api-key-required.exception.cjs.map +0 -1
- package/lib/common/exceptions/bad-request.exception.cjs.map +0 -1
- package/lib/common/exceptions/conflict.exception.cjs.map +0 -1
- package/lib/common/exceptions/generic-server.exception.cjs.map +0 -1
- package/lib/common/exceptions/no-api-key-provided.exception.cjs.map +0 -1
- package/lib/common/exceptions/not-found.exception.cjs.map +0 -1
- package/lib/common/exceptions/oauth.exception.cjs.map +0 -1
- package/lib/common/exceptions/parse-error.cjs.map +0 -1
- package/lib/common/exceptions/rate-limit-exceeded.exception.cjs.map +0 -1
- package/lib/common/exceptions/signature-verification.exception.cjs.map +0 -1
- package/lib/common/exceptions/unauthorized.exception.cjs.map +0 -1
- package/lib/common/exceptions/unprocessable-entity.exception.cjs.map +0 -1
- package/lib/common/net/fetch-client.cjs.map +0 -1
- package/lib/common/net/http-client.cjs.map +0 -1
- package/lib/common/serializers/event.serializer.cjs.map +0 -1
- package/lib/common/serializers/list.serializer.cjs.map +0 -1
- package/lib/common/utils/base64.cjs.map +0 -1
- package/lib/common/utils/env.cjs.map +0 -1
- package/lib/common/utils/fetch-and-deserialize.cjs.map +0 -1
- package/lib/common/utils/leb128.cjs.map +0 -1
- package/lib/common/utils/pagination.cjs.map +0 -1
- package/lib/common/utils/query-string.cjs.map +0 -1
- package/lib/common/utils/runtime-info.cjs.map +0 -1
- package/lib/common/utils/unreachable.cjs.map +0 -1
- package/lib/directory-sync/directory-sync.cjs.map +0 -1
- package/lib/directory-sync/serializers/directory-group.serializer.cjs.map +0 -1
- package/lib/directory-sync/serializers/directory-user.serializer.cjs.map +0 -1
- package/lib/directory-sync/serializers/directory.serializer.cjs.map +0 -1
- package/lib/directory-sync/serializers/list-directories-options.serializer.cjs.map +0 -1
- package/lib/events/events.cjs.map +0 -1
- package/lib/events/serializers/list-event-options.serializer.cjs.map +0 -1
- package/lib/factory.cjs.map +0 -1
- package/lib/feature-flags/feature-flags.cjs.map +0 -1
- package/lib/feature-flags/serializers/feature-flag.serializer.cjs.map +0 -1
- package/lib/fga/fga.cjs.map +0 -1
- package/lib/fga/interfaces/check-op.enum.cjs.map +0 -1
- package/lib/fga/interfaces/check.interface.cjs.map +0 -1
- package/lib/fga/interfaces/resource-op.enum.cjs.map +0 -1
- package/lib/fga/interfaces/warrant-op.enum.cjs.map +0 -1
- package/lib/fga/serializers/batch-write-resources-options.serializer.cjs.map +0 -1
- package/lib/fga/serializers/check-options.serializer.cjs.map +0 -1
- package/lib/fga/serializers/create-resource-options.serializer.cjs.map +0 -1
- package/lib/fga/serializers/delete-resource-options.serializer.cjs.map +0 -1
- package/lib/fga/serializers/list-resources-options.serializer.cjs.map +0 -1
- package/lib/fga/serializers/list-warrants-options.serializer.cjs.map +0 -1
- package/lib/fga/serializers/list.serializer.cjs.map +0 -1
- package/lib/fga/serializers/query-options.serializer.cjs.map +0 -1
- package/lib/fga/serializers/query-result.serializer.cjs.map +0 -1
- package/lib/fga/serializers/resource.serializer.cjs.map +0 -1
- package/lib/fga/serializers/warrant-token.serializer.cjs.map +0 -1
- package/lib/fga/serializers/warrant.serializer.cjs.map +0 -1
- package/lib/fga/serializers/write-warrant-options.serializer.cjs.map +0 -1
- package/lib/fga/utils/fetch-and-deserialize-list.cjs.map +0 -1
- package/lib/fga/utils/fga-paginatable.cjs.map +0 -1
- package/lib/fga/utils/interface-check.cjs.map +0 -1
- package/lib/mfa/mfa.cjs.map +0 -1
- package/lib/mfa/serializers/challenge.serializer.cjs.map +0 -1
- package/lib/mfa/serializers/factor.serializer.cjs.map +0 -1
- package/lib/mfa/serializers/sms.serializer.cjs.map +0 -1
- package/lib/mfa/serializers/totp.serializer.cjs.map +0 -1
- package/lib/mfa/serializers/verify-response.serializer.cjs.map +0 -1
- package/lib/node_modules/iron-webcrypto/index.cjs +0 -218
- package/lib/node_modules/iron-webcrypto/index.cjs.map +0 -1
- package/lib/node_modules/iron-webcrypto/index.js.map +0 -1
- package/lib/node_modules/uint8array-extras/index.cjs +0 -55
- package/lib/node_modules/uint8array-extras/index.cjs.map +0 -1
- package/lib/node_modules/uint8array-extras/index.js +0 -52
- package/lib/node_modules/uint8array-extras/index.js.map +0 -1
- package/lib/organization-domains/interfaces/organization-domain.interface.cjs.map +0 -1
- package/lib/organization-domains/organization-domains.cjs.map +0 -1
- package/lib/organization-domains/serializers/create-organization-domain-options.serializer.cjs.map +0 -1
- package/lib/organization-domains/serializers/organization-domain.serializer.cjs.map +0 -1
- package/lib/organizations/interfaces/domain-data.interface.cjs.map +0 -1
- package/lib/organizations/organizations.cjs.map +0 -1
- package/lib/organizations/serializers/create-organization-options.serializer.cjs.map +0 -1
- package/lib/organizations/serializers/organization.serializer.cjs.map +0 -1
- package/lib/organizations/serializers/update-organization-options.serializer.cjs.map +0 -1
- package/lib/passwordless/passwordless.cjs.map +0 -1
- package/lib/passwordless/serializers/passwordless-session.serializer.cjs.map +0 -1
- package/lib/pipes/pipes.cjs.map +0 -1
- package/lib/pipes/serializers/access-token.serializer.cjs.map +0 -1
- package/lib/pipes/serializers/get-access-token.serializer.cjs.map +0 -1
- package/lib/pkce/pkce.cjs.map +0 -1
- package/lib/portal/interfaces/generate-portal-link-intent.interface.cjs.map +0 -1
- package/lib/portal/portal.cjs.map +0 -1
- package/lib/roles/serializers/role.serializer.cjs.map +0 -1
- package/lib/sso/interfaces/connection-type.enum.cjs.map +0 -1
- package/lib/sso/serializers/connection.serializer.cjs.map +0 -1
- package/lib/sso/serializers/list-connections-options.serializer.cjs.map +0 -1
- package/lib/sso/serializers/profile-and-token.serializer.cjs.map +0 -1
- package/lib/sso/serializers/profile.serializer.cjs.map +0 -1
- package/lib/sso/sso.cjs.map +0 -1
- package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.cjs.map +0 -1
- package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.cjs.map +0 -1
- package/lib/user-management/interfaces/revoke-session-options.interface.cjs.map +0 -1
- package/lib/user-management/serializers/authenticate-with-code-and-verifier-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authenticate-with-code-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authenticate-with-email-verification.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authenticate-with-magic-auth-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authenticate-with-organization-selection-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authenticate-with-password-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authenticate-with-refresh-token-public-client-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authenticate-with-refresh-token.options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authenticate-with-totp-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authentication-event.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authentication-radar-risk-event-serializer.cjs.map +0 -1
- package/lib/user-management/serializers/authentication-response.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/create-magic-auth-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/create-organization-membership-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/create-password-reset-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/create-user-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/email-verification.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/enroll-auth-factor-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/factor.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/identity.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/invitation.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/list-invitations-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/list-organization-memberships-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/list-sessions-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/list-users-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/magic-auth.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/oauth-tokens.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/organization-membership.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/password-reset.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/reset-password-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/role.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/send-invitation-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/session.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/update-organization-membership-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/update-user-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/update-user-password-options.serializer.cjs.map +0 -1
- package/lib/user-management/serializers/user.serializer.cjs.map +0 -1
- package/lib/user-management/session.cjs.map +0 -1
- package/lib/user-management/user-management.cjs.map +0 -1
- package/lib/utils/jose.cjs.map +0 -1
- package/lib/vault/serializers/vault-key.serializer.cjs.map +0 -1
- package/lib/vault/serializers/vault-object.serializer.cjs.map +0 -1
- package/lib/vault/vault.cjs.map +0 -1
- package/lib/webhooks/webhooks.cjs.map +0 -1
- package/lib/widgets/interfaces/get-token.cjs.map +0 -1
- package/lib/widgets/widgets.cjs.map +0 -1
- package/lib/workos.cjs.map +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/pipes/interfaces/access-token.interface.d.ts
|
|
2
|
+
interface AccessToken {
|
|
3
|
+
object: 'access_token';
|
|
4
|
+
accessToken: string;
|
|
5
|
+
expiresAt: Date | null;
|
|
6
|
+
scopes: string[];
|
|
7
|
+
missingScopes: string[];
|
|
8
|
+
}
|
|
9
|
+
interface SerializedAccessToken {
|
|
10
|
+
object: 'access_token';
|
|
11
|
+
access_token: string;
|
|
12
|
+
expires_at: string | null;
|
|
13
|
+
scopes: string[];
|
|
14
|
+
missing_scopes: string[];
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { SerializedAccessToken as n, AccessToken as t };
|
|
18
|
+
//# sourceMappingURL=access-token.interface-qb42DvMJ.d.cts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/pipes/serializers/access-token.serializer.ts
|
|
3
|
+
function deserializeAccessToken(serialized) {
|
|
4
|
+
return {
|
|
5
|
+
object: "access_token",
|
|
6
|
+
accessToken: serialized.access_token,
|
|
7
|
+
expiresAt: serialized.expires_at ? new Date(Date.parse(serialized.expires_at)) : null,
|
|
8
|
+
scopes: serialized.scopes,
|
|
9
|
+
missingScopes: serialized.missing_scopes
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
Object.defineProperty(exports, 'deserializeAccessToken', {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return deserializeAccessToken;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=access-token.serializer-BTB3otha.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access-token.serializer-BTB3otha.cjs","names":[],"sources":["../src/pipes/serializers/access-token.serializer.ts"],"sourcesContent":["import {\n AccessToken,\n SerializedAccessToken,\n} from '../interfaces/access-token.interface';\n\nexport function deserializeAccessToken(\n serialized: SerializedAccessToken,\n): AccessToken {\n return {\n object: 'access_token',\n accessToken: serialized.access_token,\n expiresAt: serialized.expires_at\n ? new Date(Date.parse(serialized.expires_at))\n : null,\n scopes: serialized.scopes,\n missingScopes: serialized.missing_scopes,\n };\n}\n"],"mappings":";;AAKA,SAAgB,uBACd,YACa;AACb,QAAO;EACL,QAAQ;EACR,aAAa,WAAW;EACxB,WAAW,WAAW,aAClB,IAAI,KAAK,KAAK,MAAM,WAAW,WAAW,CAAC,GAC3C;EACJ,QAAQ,WAAW;EACnB,eAAe,WAAW;EAC3B"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { n as UserResponse, t as User } from "./user.interface-Dw_0nNpw.cjs";
|
|
2
|
+
import { i as InvitationResponse, t as Invitation } from "./invitation.interface-BQMsYCSZ.cjs";
|
|
3
|
+
import { n as OrganizationMembershipResponse, t as OrganizationMembership } from "./organization-membership.interface-ERgG2p4e.cjs";
|
|
4
|
+
import { n as OrganizationResponse, t as Organization } from "./organization.interface-i6mWA3uA.cjs";
|
|
5
|
+
|
|
6
|
+
//#region src/actions/interfaces/action.interface.d.ts
|
|
7
|
+
interface AuthenticationActionContext {
|
|
8
|
+
id: string;
|
|
9
|
+
object: 'authentication_action_context';
|
|
10
|
+
user: User;
|
|
11
|
+
organization?: Organization;
|
|
12
|
+
organizationMembership?: OrganizationMembership;
|
|
13
|
+
ipAddress?: string;
|
|
14
|
+
userAgent?: string;
|
|
15
|
+
deviceFingerprint?: string;
|
|
16
|
+
issuer?: string;
|
|
17
|
+
}
|
|
18
|
+
interface UserData {
|
|
19
|
+
object: 'user_data';
|
|
20
|
+
email: string;
|
|
21
|
+
firstName: string;
|
|
22
|
+
lastName: string;
|
|
23
|
+
}
|
|
24
|
+
interface UserRegistrationActionContext {
|
|
25
|
+
id: string;
|
|
26
|
+
object: 'user_registration_action_context';
|
|
27
|
+
userData: UserData;
|
|
28
|
+
invitation?: Invitation;
|
|
29
|
+
ipAddress?: string;
|
|
30
|
+
userAgent?: string;
|
|
31
|
+
deviceFingerprint?: string;
|
|
32
|
+
}
|
|
33
|
+
type ActionContext = AuthenticationActionContext | UserRegistrationActionContext;
|
|
34
|
+
interface AuthenticationActionPayload {
|
|
35
|
+
id: string;
|
|
36
|
+
object: 'authentication_action_context';
|
|
37
|
+
user: UserResponse;
|
|
38
|
+
organization?: OrganizationResponse;
|
|
39
|
+
organization_membership?: OrganizationMembershipResponse;
|
|
40
|
+
ip_address?: string;
|
|
41
|
+
user_agent?: string;
|
|
42
|
+
device_fingerprint?: string;
|
|
43
|
+
issuer?: string;
|
|
44
|
+
}
|
|
45
|
+
interface UserDataPayload {
|
|
46
|
+
object: 'user_data';
|
|
47
|
+
email: string;
|
|
48
|
+
first_name: string;
|
|
49
|
+
last_name: string;
|
|
50
|
+
}
|
|
51
|
+
interface UserRegistrationActionPayload {
|
|
52
|
+
id: string;
|
|
53
|
+
object: 'user_registration_action_context';
|
|
54
|
+
user_data: UserDataPayload;
|
|
55
|
+
invitation?: InvitationResponse;
|
|
56
|
+
ip_address?: string;
|
|
57
|
+
user_agent?: string;
|
|
58
|
+
device_fingerprint?: string;
|
|
59
|
+
}
|
|
60
|
+
type ActionPayload = AuthenticationActionPayload | UserRegistrationActionPayload;
|
|
61
|
+
//#endregion
|
|
62
|
+
export { UserRegistrationActionPayload as a, UserDataPayload as i, ActionPayload as n, UserData as r, ActionContext as t };
|
|
63
|
+
//# sourceMappingURL=action.interface-BLCbp-cT.d.cts.map
|
|
File without changes
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const require_organization_serializer = require('./organization.serializer-DM6Xkk2V.cjs');
|
|
2
|
+
const require_user_serializer = require('./user.serializer-Y5EM8MeK.cjs');
|
|
3
|
+
const require_invitation_serializer = require('./invitation.serializer-BEVUkLP9.cjs');
|
|
4
|
+
const require_organization_membership_serializer = require('./organization-membership.serializer-CYvdEErJ.cjs');
|
|
5
|
+
|
|
6
|
+
//#region src/actions/serializers/action.serializer.ts
|
|
7
|
+
const deserializeUserData = (userData) => {
|
|
8
|
+
return {
|
|
9
|
+
object: userData.object,
|
|
10
|
+
email: userData.email,
|
|
11
|
+
firstName: userData.first_name,
|
|
12
|
+
lastName: userData.last_name
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
const deserializeAction = (actionPayload) => {
|
|
16
|
+
switch (actionPayload.object) {
|
|
17
|
+
case "user_registration_action_context": return {
|
|
18
|
+
id: actionPayload.id,
|
|
19
|
+
object: actionPayload.object,
|
|
20
|
+
userData: deserializeUserData(actionPayload.user_data),
|
|
21
|
+
invitation: actionPayload.invitation ? require_invitation_serializer.deserializeInvitation(actionPayload.invitation) : void 0,
|
|
22
|
+
ipAddress: actionPayload.ip_address,
|
|
23
|
+
userAgent: actionPayload.user_agent,
|
|
24
|
+
deviceFingerprint: actionPayload.device_fingerprint
|
|
25
|
+
};
|
|
26
|
+
case "authentication_action_context": return {
|
|
27
|
+
id: actionPayload.id,
|
|
28
|
+
object: actionPayload.object,
|
|
29
|
+
user: require_user_serializer.deserializeUser(actionPayload.user),
|
|
30
|
+
organization: actionPayload.organization ? require_organization_serializer.deserializeOrganization(actionPayload.organization) : void 0,
|
|
31
|
+
organizationMembership: actionPayload.organization_membership ? require_organization_membership_serializer.deserializeOrganizationMembership(actionPayload.organization_membership) : void 0,
|
|
32
|
+
ipAddress: actionPayload.ip_address,
|
|
33
|
+
userAgent: actionPayload.user_agent,
|
|
34
|
+
deviceFingerprint: actionPayload.device_fingerprint,
|
|
35
|
+
issuer: actionPayload.issuer
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
Object.defineProperty(exports, 'deserializeAction', {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () {
|
|
44
|
+
return deserializeAction;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
//# sourceMappingURL=action.serializer-CkMp2PpV.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.serializer-CkMp2PpV.cjs","names":["deserializeInvitation","deserializeUser","deserializeOrganization","deserializeOrganizationMembership"],"sources":["../src/actions/serializers/action.serializer.ts"],"sourcesContent":["import { deserializeOrganization } from '../../organizations/serializers/organization.serializer';\nimport {\n deserializeInvitation,\n deserializeUser,\n} from '../../user-management/serializers';\nimport { deserializeOrganizationMembership } from '../../user-management/serializers/organization-membership.serializer';\nimport {\n ActionContext,\n ActionPayload,\n UserData,\n UserDataPayload,\n} from '../interfaces/action.interface';\n\nconst deserializeUserData = (userData: UserDataPayload): UserData => {\n return {\n object: userData.object,\n email: userData.email,\n firstName: userData.first_name,\n lastName: userData.last_name,\n };\n};\n\nexport const deserializeAction = (\n actionPayload: ActionPayload,\n): ActionContext => {\n switch (actionPayload.object) {\n case 'user_registration_action_context':\n return {\n id: actionPayload.id,\n object: actionPayload.object,\n userData: deserializeUserData(actionPayload.user_data),\n invitation: actionPayload.invitation\n ? deserializeInvitation(actionPayload.invitation)\n : undefined,\n\n ipAddress: actionPayload.ip_address,\n userAgent: actionPayload.user_agent,\n deviceFingerprint: actionPayload.device_fingerprint,\n };\n case 'authentication_action_context':\n return {\n id: actionPayload.id,\n object: actionPayload.object,\n user: deserializeUser(actionPayload.user),\n organization: actionPayload.organization\n ? deserializeOrganization(actionPayload.organization)\n : undefined,\n organizationMembership: actionPayload.organization_membership\n ? deserializeOrganizationMembership(\n actionPayload.organization_membership,\n )\n : undefined,\n ipAddress: actionPayload.ip_address,\n userAgent: actionPayload.user_agent,\n deviceFingerprint: actionPayload.device_fingerprint,\n issuer: actionPayload.issuer,\n };\n }\n};\n"],"mappings":";;;;;;AAaA,MAAM,uBAAuB,aAAwC;AACnE,QAAO;EACL,QAAQ,SAAS;EACjB,OAAO,SAAS;EAChB,WAAW,SAAS;EACpB,UAAU,SAAS;EACpB;;AAGH,MAAa,qBACX,kBACkB;AAClB,SAAQ,cAAc,QAAtB;EACE,KAAK,mCACH,QAAO;GACL,IAAI,cAAc;GAClB,QAAQ,cAAc;GACtB,UAAU,oBAAoB,cAAc,UAAU;GACtD,YAAY,cAAc,aACtBA,oDAAsB,cAAc,WAAW,GAC/C;GAEJ,WAAW,cAAc;GACzB,WAAW,cAAc;GACzB,mBAAmB,cAAc;GAClC;EACH,KAAK,gCACH,QAAO;GACL,IAAI,cAAc;GAClB,QAAQ,cAAc;GACtB,MAAMC,wCAAgB,cAAc,KAAK;GACzC,cAAc,cAAc,eACxBC,wDAAwB,cAAc,aAAa,GACnD;GACJ,wBAAwB,cAAc,0BAClCC,6EACE,cAAc,wBACf,GACD;GACJ,WAAW,cAAc;GACzB,WAAW,cAAc;GACzB,mBAAmB,cAAc;GACjC,QAAQ,cAAc;GACvB"}
|
package/lib/actions/actions.cjs
CHANGED
|
@@ -1,53 +1,3 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_common_utils_unreachable = require('../common/utils/unreachable.cjs');
|
|
3
|
-
const require_actions_serializers_action_serializer = require('./serializers/action.serializer.cjs');
|
|
1
|
+
const require_actions = require('../actions-_-g7Idem.cjs');
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
var Actions = class {
|
|
7
|
-
signatureProvider;
|
|
8
|
-
constructor(cryptoProvider) {
|
|
9
|
-
this.signatureProvider = new require_common_crypto_signature_provider.SignatureProvider(cryptoProvider);
|
|
10
|
-
}
|
|
11
|
-
get computeSignature() {
|
|
12
|
-
return this.signatureProvider.computeSignature.bind(this.signatureProvider);
|
|
13
|
-
}
|
|
14
|
-
get verifyHeader() {
|
|
15
|
-
return this.signatureProvider.verifyHeader.bind(this.signatureProvider);
|
|
16
|
-
}
|
|
17
|
-
serializeType(type) {
|
|
18
|
-
switch (type) {
|
|
19
|
-
case "authentication": return "authentication_action_response";
|
|
20
|
-
case "user_registration": return "user_registration_action_response";
|
|
21
|
-
default: return require_common_utils_unreachable.unreachable(type);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
async signResponse(data, secret) {
|
|
25
|
-
let errorMessage;
|
|
26
|
-
const { verdict, type } = data;
|
|
27
|
-
if (verdict === "Deny" && data.errorMessage) errorMessage = data.errorMessage;
|
|
28
|
-
const responsePayload = {
|
|
29
|
-
timestamp: Date.now(),
|
|
30
|
-
verdict,
|
|
31
|
-
...verdict === "Deny" && data.errorMessage && { error_message: errorMessage }
|
|
32
|
-
};
|
|
33
|
-
return {
|
|
34
|
-
object: this.serializeType(type),
|
|
35
|
-
payload: responsePayload,
|
|
36
|
-
signature: await this.computeSignature(responsePayload.timestamp, responsePayload, secret)
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
async constructAction({ payload, sigHeader, secret, tolerance = 3e4 }) {
|
|
40
|
-
const options = {
|
|
41
|
-
payload,
|
|
42
|
-
sigHeader,
|
|
43
|
-
secret,
|
|
44
|
-
tolerance
|
|
45
|
-
};
|
|
46
|
-
await this.verifyHeader(options);
|
|
47
|
-
return require_actions_serializers_action_serializer.deserializeAction(payload);
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
//#endregion
|
|
52
|
-
exports.Actions = Actions;
|
|
53
|
-
//# sourceMappingURL=actions.cjs.map
|
|
3
|
+
exports.Actions = require_actions.Actions;
|
|
@@ -1,41 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { AuthenticationActionResponseData, ResponsePayload, UserRegistrationActionResponseData } from "./interfaces/response-payload.interface.cjs";
|
|
4
|
-
|
|
5
|
-
//#region src/actions/actions.d.ts
|
|
6
|
-
declare class Actions {
|
|
7
|
-
private signatureProvider;
|
|
8
|
-
constructor(cryptoProvider: CryptoProvider);
|
|
9
|
-
private get computeSignature();
|
|
10
|
-
get verifyHeader(): ({
|
|
11
|
-
payload,
|
|
12
|
-
sigHeader,
|
|
13
|
-
secret,
|
|
14
|
-
tolerance
|
|
15
|
-
}: {
|
|
16
|
-
payload: any;
|
|
17
|
-
sigHeader: string;
|
|
18
|
-
secret: string;
|
|
19
|
-
tolerance?: number;
|
|
20
|
-
}) => Promise<boolean>;
|
|
21
|
-
serializeType(type: AuthenticationActionResponseData['type'] | UserRegistrationActionResponseData['type']): "authentication_action_response" | "user_registration_action_response";
|
|
22
|
-
signResponse(data: AuthenticationActionResponseData | UserRegistrationActionResponseData, secret: string): Promise<{
|
|
23
|
-
object: string;
|
|
24
|
-
payload: ResponsePayload;
|
|
25
|
-
signature: string;
|
|
26
|
-
}>;
|
|
27
|
-
constructAction({
|
|
28
|
-
payload,
|
|
29
|
-
sigHeader,
|
|
30
|
-
secret,
|
|
31
|
-
tolerance
|
|
32
|
-
}: {
|
|
33
|
-
payload: unknown;
|
|
34
|
-
sigHeader: string;
|
|
35
|
-
secret: string;
|
|
36
|
-
tolerance?: number;
|
|
37
|
-
}): Promise<ActionContext>;
|
|
38
|
-
}
|
|
39
|
-
//#endregion
|
|
40
|
-
export { Actions };
|
|
41
|
-
//# sourceMappingURL=actions.d.cts.map
|
|
1
|
+
import { t as Actions } from "../actions-d_uq5P1L.cjs";
|
|
2
|
+
export { Actions };
|
|
@@ -1,63 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { OrganizationMembership, OrganizationMembershipResponse } from "../../user-management/interfaces/organization-membership.interface.cjs";
|
|
4
|
-
import { Organization, OrganizationResponse } from "../../organizations/interfaces/organization.interface.cjs";
|
|
5
|
-
|
|
6
|
-
//#region src/actions/interfaces/action.interface.d.ts
|
|
7
|
-
interface AuthenticationActionContext {
|
|
8
|
-
id: string;
|
|
9
|
-
object: 'authentication_action_context';
|
|
10
|
-
user: User;
|
|
11
|
-
organization?: Organization;
|
|
12
|
-
organizationMembership?: OrganizationMembership;
|
|
13
|
-
ipAddress?: string;
|
|
14
|
-
userAgent?: string;
|
|
15
|
-
deviceFingerprint?: string;
|
|
16
|
-
issuer?: string;
|
|
17
|
-
}
|
|
18
|
-
interface UserData {
|
|
19
|
-
object: 'user_data';
|
|
20
|
-
email: string;
|
|
21
|
-
firstName: string;
|
|
22
|
-
lastName: string;
|
|
23
|
-
}
|
|
24
|
-
interface UserRegistrationActionContext {
|
|
25
|
-
id: string;
|
|
26
|
-
object: 'user_registration_action_context';
|
|
27
|
-
userData: UserData;
|
|
28
|
-
invitation?: Invitation;
|
|
29
|
-
ipAddress?: string;
|
|
30
|
-
userAgent?: string;
|
|
31
|
-
deviceFingerprint?: string;
|
|
32
|
-
}
|
|
33
|
-
type ActionContext = AuthenticationActionContext | UserRegistrationActionContext;
|
|
34
|
-
interface AuthenticationActionPayload {
|
|
35
|
-
id: string;
|
|
36
|
-
object: 'authentication_action_context';
|
|
37
|
-
user: UserResponse;
|
|
38
|
-
organization?: OrganizationResponse;
|
|
39
|
-
organization_membership?: OrganizationMembershipResponse;
|
|
40
|
-
ip_address?: string;
|
|
41
|
-
user_agent?: string;
|
|
42
|
-
device_fingerprint?: string;
|
|
43
|
-
issuer?: string;
|
|
44
|
-
}
|
|
45
|
-
interface UserDataPayload {
|
|
46
|
-
object: 'user_data';
|
|
47
|
-
email: string;
|
|
48
|
-
first_name: string;
|
|
49
|
-
last_name: string;
|
|
50
|
-
}
|
|
51
|
-
interface UserRegistrationActionPayload {
|
|
52
|
-
id: string;
|
|
53
|
-
object: 'user_registration_action_context';
|
|
54
|
-
user_data: UserDataPayload;
|
|
55
|
-
invitation?: InvitationResponse;
|
|
56
|
-
ip_address?: string;
|
|
57
|
-
user_agent?: string;
|
|
58
|
-
device_fingerprint?: string;
|
|
59
|
-
}
|
|
60
|
-
type ActionPayload = AuthenticationActionPayload | UserRegistrationActionPayload;
|
|
61
|
-
//#endregion
|
|
62
|
-
export { ActionContext, ActionPayload, UserData, UserDataPayload, UserRegistrationActionPayload };
|
|
63
|
-
//# sourceMappingURL=action.interface.d.cts.map
|
|
1
|
+
import { a as UserRegistrationActionPayload, i as UserDataPayload, n as ActionPayload, r as UserData, t as ActionContext } from "../../action.interface-BLCbp-cT.cjs";
|
|
2
|
+
export { ActionContext, ActionPayload, UserData, UserDataPayload, UserRegistrationActionPayload };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as UserRegistrationActionPayload, i as UserDataPayload, n as ActionPayload, r as UserData, t as ActionContext } from "../../action.interface-BLCbp-cT.cjs";
|
|
2
|
+
import { n as ResponsePayload, r as UserRegistrationActionResponseData, t as AuthenticationActionResponseData } from "../../response-payload.interface-CC-y4Nv6.cjs";
|
|
3
3
|
export { ActionContext, ActionPayload, AuthenticationActionResponseData, ResponsePayload, UserData, UserDataPayload, UserRegistrationActionPayload, UserRegistrationActionResponseData };
|
|
@@ -1,26 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
timestamp: number;
|
|
4
|
-
verdict?: 'Allow' | 'Deny';
|
|
5
|
-
errorMessage?: string;
|
|
6
|
-
}
|
|
7
|
-
interface AllowResponseData {
|
|
8
|
-
verdict: 'Allow';
|
|
9
|
-
}
|
|
10
|
-
interface DenyResponseData {
|
|
11
|
-
verdict: 'Deny';
|
|
12
|
-
errorMessage?: string;
|
|
13
|
-
}
|
|
14
|
-
type AuthenticationActionResponseData = (AllowResponseData & {
|
|
15
|
-
type: 'authentication';
|
|
16
|
-
}) | (DenyResponseData & {
|
|
17
|
-
type: 'authentication';
|
|
18
|
-
});
|
|
19
|
-
type UserRegistrationActionResponseData = (AllowResponseData & {
|
|
20
|
-
type: 'user_registration';
|
|
21
|
-
}) | (DenyResponseData & {
|
|
22
|
-
type: 'user_registration';
|
|
23
|
-
});
|
|
24
|
-
//#endregion
|
|
25
|
-
export { AuthenticationActionResponseData, ResponsePayload, UserRegistrationActionResponseData };
|
|
26
|
-
//# sourceMappingURL=response-payload.interface.d.cts.map
|
|
1
|
+
import { n as ResponsePayload, r as UserRegistrationActionResponseData, t as AuthenticationActionResponseData } from "../../response-payload.interface-CC-y4Nv6.cjs";
|
|
2
|
+
export { AuthenticationActionResponseData, ResponsePayload, UserRegistrationActionResponseData };
|
|
@@ -1,42 +1,3 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_user_management_serializers_user_serializer = require('../../user-management/serializers/user.serializer.cjs');
|
|
3
|
-
const require_user_management_serializers_invitation_serializer = require('../../user-management/serializers/invitation.serializer.cjs');
|
|
4
|
-
const require_user_management_serializers_organization_membership_serializer = require('../../user-management/serializers/organization-membership.serializer.cjs');
|
|
1
|
+
const require_action_serializer = require('../../action.serializer-CkMp2PpV.cjs');
|
|
5
2
|
|
|
6
|
-
|
|
7
|
-
const deserializeUserData = (userData) => {
|
|
8
|
-
return {
|
|
9
|
-
object: userData.object,
|
|
10
|
-
email: userData.email,
|
|
11
|
-
firstName: userData.first_name,
|
|
12
|
-
lastName: userData.last_name
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
const deserializeAction = (actionPayload) => {
|
|
16
|
-
switch (actionPayload.object) {
|
|
17
|
-
case "user_registration_action_context": return {
|
|
18
|
-
id: actionPayload.id,
|
|
19
|
-
object: actionPayload.object,
|
|
20
|
-
userData: deserializeUserData(actionPayload.user_data),
|
|
21
|
-
invitation: actionPayload.invitation ? require_user_management_serializers_invitation_serializer.deserializeInvitation(actionPayload.invitation) : void 0,
|
|
22
|
-
ipAddress: actionPayload.ip_address,
|
|
23
|
-
userAgent: actionPayload.user_agent,
|
|
24
|
-
deviceFingerprint: actionPayload.device_fingerprint
|
|
25
|
-
};
|
|
26
|
-
case "authentication_action_context": return {
|
|
27
|
-
id: actionPayload.id,
|
|
28
|
-
object: actionPayload.object,
|
|
29
|
-
user: require_user_management_serializers_user_serializer.deserializeUser(actionPayload.user),
|
|
30
|
-
organization: actionPayload.organization ? require_organizations_serializers_organization_serializer.deserializeOrganization(actionPayload.organization) : void 0,
|
|
31
|
-
organizationMembership: actionPayload.organization_membership ? require_user_management_serializers_organization_membership_serializer.deserializeOrganizationMembership(actionPayload.organization_membership) : void 0,
|
|
32
|
-
ipAddress: actionPayload.ip_address,
|
|
33
|
-
userAgent: actionPayload.user_agent,
|
|
34
|
-
deviceFingerprint: actionPayload.device_fingerprint,
|
|
35
|
-
issuer: actionPayload.issuer
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
//#endregion
|
|
41
|
-
exports.deserializeAction = deserializeAction;
|
|
42
|
-
//# sourceMappingURL=action.serializer.cjs.map
|
|
3
|
+
exports.deserializeAction = require_action_serializer.deserializeAction;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as ActionPayload, t as ActionContext } from "../../action.interface-BLCbp-cT.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/serializers/action.serializer.d.ts
|
|
4
4
|
declare const deserializeAction: (actionPayload: ActionPayload) => ActionContext;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
const require_signature_provider = require('./signature-provider-Dx4cy5vI.cjs');
|
|
2
|
+
const require_unreachable = require('./unreachable-BhX3Wm6O.cjs');
|
|
3
|
+
const require_action_serializer = require('./action.serializer-CkMp2PpV.cjs');
|
|
4
|
+
|
|
5
|
+
//#region src/actions/actions.ts
|
|
6
|
+
var Actions = class {
|
|
7
|
+
signatureProvider;
|
|
8
|
+
constructor(cryptoProvider) {
|
|
9
|
+
this.signatureProvider = new require_signature_provider.SignatureProvider(cryptoProvider);
|
|
10
|
+
}
|
|
11
|
+
get computeSignature() {
|
|
12
|
+
return this.signatureProvider.computeSignature.bind(this.signatureProvider);
|
|
13
|
+
}
|
|
14
|
+
get verifyHeader() {
|
|
15
|
+
return this.signatureProvider.verifyHeader.bind(this.signatureProvider);
|
|
16
|
+
}
|
|
17
|
+
serializeType(type) {
|
|
18
|
+
switch (type) {
|
|
19
|
+
case "authentication": return "authentication_action_response";
|
|
20
|
+
case "user_registration": return "user_registration_action_response";
|
|
21
|
+
default: return require_unreachable.unreachable(type);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
async signResponse(data, secret) {
|
|
25
|
+
let errorMessage;
|
|
26
|
+
const { verdict, type } = data;
|
|
27
|
+
if (verdict === "Deny" && data.errorMessage) errorMessage = data.errorMessage;
|
|
28
|
+
const responsePayload = {
|
|
29
|
+
timestamp: Date.now(),
|
|
30
|
+
verdict,
|
|
31
|
+
...verdict === "Deny" && data.errorMessage && { error_message: errorMessage }
|
|
32
|
+
};
|
|
33
|
+
return {
|
|
34
|
+
object: this.serializeType(type),
|
|
35
|
+
payload: responsePayload,
|
|
36
|
+
signature: await this.computeSignature(responsePayload.timestamp, responsePayload, secret)
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
async constructAction({ payload, sigHeader, secret, tolerance = 3e4 }) {
|
|
40
|
+
const options = {
|
|
41
|
+
payload,
|
|
42
|
+
sigHeader,
|
|
43
|
+
secret,
|
|
44
|
+
tolerance
|
|
45
|
+
};
|
|
46
|
+
await this.verifyHeader(options);
|
|
47
|
+
return require_action_serializer.deserializeAction(payload);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
//#endregion
|
|
52
|
+
Object.defineProperty(exports, 'Actions', {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () {
|
|
55
|
+
return Actions;
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
//# sourceMappingURL=actions-_-g7Idem.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions-_-g7Idem.cjs","names":["SignatureProvider","unreachable","errorMessage: string | undefined","responsePayload: ResponsePayload","deserializeAction"],"sources":["../src/actions/actions.ts"],"sourcesContent":["import { CryptoProvider } from '../common/crypto/crypto-provider';\nimport { SignatureProvider } from '../common/crypto/signature-provider';\nimport { unreachable } from '../common/utils/unreachable';\nimport { ActionContext, ActionPayload } from './interfaces/action.interface';\nimport {\n AuthenticationActionResponseData,\n ResponsePayload,\n UserRegistrationActionResponseData,\n} from './interfaces/response-payload.interface';\nimport { deserializeAction } from './serializers/action.serializer';\n\nexport class Actions {\n private signatureProvider: SignatureProvider;\n\n constructor(cryptoProvider: CryptoProvider) {\n this.signatureProvider = new SignatureProvider(cryptoProvider);\n }\n\n private get computeSignature() {\n return this.signatureProvider.computeSignature.bind(this.signatureProvider);\n }\n\n get verifyHeader() {\n return this.signatureProvider.verifyHeader.bind(this.signatureProvider);\n }\n\n serializeType(\n type:\n | AuthenticationActionResponseData['type']\n | UserRegistrationActionResponseData['type'],\n ) {\n switch (type) {\n case 'authentication':\n return 'authentication_action_response';\n case 'user_registration':\n return 'user_registration_action_response';\n default:\n return unreachable(type);\n }\n }\n\n async signResponse(\n data: AuthenticationActionResponseData | UserRegistrationActionResponseData,\n secret: string,\n ) {\n let errorMessage: string | undefined;\n const { verdict, type } = data;\n\n if (verdict === 'Deny' && data.errorMessage) {\n errorMessage = data.errorMessage;\n }\n\n const responsePayload: ResponsePayload = {\n timestamp: Date.now(),\n verdict,\n ...(verdict === 'Deny' &&\n data.errorMessage && { error_message: errorMessage }),\n };\n\n const response = {\n object: this.serializeType(type),\n payload: responsePayload,\n signature: await this.computeSignature(\n responsePayload.timestamp,\n responsePayload,\n secret,\n ),\n };\n\n return response;\n }\n\n async constructAction({\n payload,\n sigHeader,\n secret,\n tolerance = 30000,\n }: {\n payload: unknown;\n sigHeader: string;\n secret: string;\n tolerance?: number;\n }): Promise<ActionContext> {\n const options = { payload, sigHeader, secret, tolerance };\n await this.verifyHeader(options);\n\n return deserializeAction(payload as ActionPayload);\n }\n}\n"],"mappings":";;;;;AAWA,IAAa,UAAb,MAAqB;CACnB,AAAQ;CAER,YAAY,gBAAgC;AAC1C,OAAK,oBAAoB,IAAIA,6CAAkB,eAAe;;CAGhE,IAAY,mBAAmB;AAC7B,SAAO,KAAK,kBAAkB,iBAAiB,KAAK,KAAK,kBAAkB;;CAG7E,IAAI,eAAe;AACjB,SAAO,KAAK,kBAAkB,aAAa,KAAK,KAAK,kBAAkB;;CAGzE,cACE,MAGA;AACA,UAAQ,MAAR;GACE,KAAK,iBACH,QAAO;GACT,KAAK,oBACH,QAAO;GACT,QACE,QAAOC,gCAAY,KAAK;;;CAI9B,MAAM,aACJ,MACA,QACA;EACA,IAAIC;EACJ,MAAM,EAAE,SAAS,SAAS;AAE1B,MAAI,YAAY,UAAU,KAAK,aAC7B,gBAAe,KAAK;EAGtB,MAAMC,kBAAmC;GACvC,WAAW,KAAK,KAAK;GACrB;GACA,GAAI,YAAY,UACd,KAAK,gBAAgB,EAAE,eAAe,cAAc;GACvD;AAYD,SAViB;GACf,QAAQ,KAAK,cAAc,KAAK;GAChC,SAAS;GACT,WAAW,MAAM,KAAK,iBACpB,gBAAgB,WAChB,iBACA,OACD;GACF;;CAKH,MAAM,gBAAgB,EACpB,SACA,WACA,QACA,YAAY,OAMa;EACzB,MAAM,UAAU;GAAE;GAAS;GAAW;GAAQ;GAAW;AACzD,QAAM,KAAK,aAAa,QAAQ;AAEhC,SAAOC,4CAAkB,QAAyB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { t as CryptoProvider } from "./crypto-provider-xt721c-E.cjs";
|
|
2
|
+
import { t as ActionContext } from "./action.interface-BLCbp-cT.cjs";
|
|
3
|
+
import { n as ResponsePayload, r as UserRegistrationActionResponseData, t as AuthenticationActionResponseData } from "./response-payload.interface-CC-y4Nv6.cjs";
|
|
4
|
+
|
|
5
|
+
//#region src/actions/actions.d.ts
|
|
6
|
+
declare class Actions {
|
|
7
|
+
private signatureProvider;
|
|
8
|
+
constructor(cryptoProvider: CryptoProvider);
|
|
9
|
+
private get computeSignature();
|
|
10
|
+
get verifyHeader(): ({
|
|
11
|
+
payload,
|
|
12
|
+
sigHeader,
|
|
13
|
+
secret,
|
|
14
|
+
tolerance
|
|
15
|
+
}: {
|
|
16
|
+
payload: any;
|
|
17
|
+
sigHeader: string;
|
|
18
|
+
secret: string;
|
|
19
|
+
tolerance?: number;
|
|
20
|
+
}) => Promise<boolean>;
|
|
21
|
+
serializeType(type: AuthenticationActionResponseData['type'] | UserRegistrationActionResponseData['type']): "authentication_action_response" | "user_registration_action_response";
|
|
22
|
+
signResponse(data: AuthenticationActionResponseData | UserRegistrationActionResponseData, secret: string): Promise<{
|
|
23
|
+
object: string;
|
|
24
|
+
payload: ResponsePayload;
|
|
25
|
+
signature: string;
|
|
26
|
+
}>;
|
|
27
|
+
constructAction({
|
|
28
|
+
payload,
|
|
29
|
+
sigHeader,
|
|
30
|
+
secret,
|
|
31
|
+
tolerance
|
|
32
|
+
}: {
|
|
33
|
+
payload: unknown;
|
|
34
|
+
sigHeader: string;
|
|
35
|
+
secret: string;
|
|
36
|
+
tolerance?: number;
|
|
37
|
+
}): Promise<ActionContext>;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { Actions as t };
|
|
41
|
+
//# sourceMappingURL=actions-d_uq5P1L.d.cts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/feature-flags/interfaces/add-flag-target-options.interface.d.ts
|
|
2
|
+
interface AddFlagTargetOptions {
|
|
3
|
+
slug: string;
|
|
4
|
+
targetId: string;
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AddFlagTargetOptions as t };
|
|
8
|
+
//# sourceMappingURL=add-flag-target-options.interface-DboHvXBu.d.cts.map
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/common/exceptions/api-key-required.exception.d.ts
|
|
2
|
+
declare class ApiKeyRequiredException extends Error {
|
|
3
|
+
readonly status = 403;
|
|
4
|
+
readonly name = "ApiKeyRequiredException";
|
|
5
|
+
readonly path: string;
|
|
6
|
+
constructor(path: string);
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ApiKeyRequiredException as t };
|
|
10
|
+
//# sourceMappingURL=api-key-required.exception-BOy1dF_S.d.cts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/common/exceptions/api-key-required.exception.ts
|
|
3
|
+
var ApiKeyRequiredException = class extends Error {
|
|
4
|
+
status = 403;
|
|
5
|
+
name = "ApiKeyRequiredException";
|
|
6
|
+
path;
|
|
7
|
+
constructor(path) {
|
|
8
|
+
super(`API key required for "${path}". For server-side apps, initialize with: new WorkOS("sk_..."). For browser/mobile/CLI apps, use authenticateWithCodeAndVerifier() and authenticateWithRefreshToken() which work without an API key.`);
|
|
9
|
+
this.path = path;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
Object.defineProperty(exports, 'ApiKeyRequiredException', {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return ApiKeyRequiredException;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=api-key-required.exception-hy_QT4YB.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-key-required.exception-hy_QT4YB.cjs","names":[],"sources":["../src/common/exceptions/api-key-required.exception.ts"],"sourcesContent":["export class ApiKeyRequiredException extends Error {\n readonly status = 403;\n readonly name = 'ApiKeyRequiredException';\n readonly path: string;\n\n constructor(path: string) {\n super(\n `API key required for \"${path}\". ` +\n `For server-side apps, initialize with: new WorkOS(\"sk_...\"). ` +\n `For browser/mobile/CLI apps, use authenticateWithCodeAndVerifier() and authenticateWithRefreshToken() which work without an API key.`,\n );\n this.path = path;\n }\n}\n"],"mappings":";;AAAA,IAAa,0BAAb,cAA6C,MAAM;CACjD,AAAS,SAAS;CAClB,AAAS,OAAO;CAChB,AAAS;CAET,YAAY,MAAc;AACxB,QACE,yBAAyB,KAAK,sMAG/B;AACD,OAAK,OAAO"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region src/api-keys/interfaces/api-key.interface.d.ts
|
|
2
|
+
interface ApiKey {
|
|
3
|
+
object: 'api_key';
|
|
4
|
+
id: string;
|
|
5
|
+
owner: {
|
|
6
|
+
type: 'organization';
|
|
7
|
+
id: string;
|
|
8
|
+
};
|
|
9
|
+
name: string;
|
|
10
|
+
obfuscatedValue: string;
|
|
11
|
+
lastUsedAt: string | null;
|
|
12
|
+
permissions: string[];
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
}
|
|
16
|
+
interface SerializedApiKey {
|
|
17
|
+
object: 'api_key';
|
|
18
|
+
id: string;
|
|
19
|
+
owner: {
|
|
20
|
+
type: 'organization';
|
|
21
|
+
id: string;
|
|
22
|
+
};
|
|
23
|
+
name: string;
|
|
24
|
+
obfuscated_value: string;
|
|
25
|
+
last_used_at: string | null;
|
|
26
|
+
permissions: string[];
|
|
27
|
+
created_at: string;
|
|
28
|
+
updated_at: string;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { SerializedApiKey as n, ApiKey as t };
|
|
32
|
+
//# sourceMappingURL=api-key.interface-BHBINSO0.d.cts.map
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/api-keys/serializers/api-key.serializer.ts
|
|
3
|
+
function deserializeApiKey(apiKey) {
|
|
4
|
+
return {
|
|
5
|
+
object: apiKey.object,
|
|
6
|
+
id: apiKey.id,
|
|
7
|
+
owner: apiKey.owner,
|
|
8
|
+
name: apiKey.name,
|
|
9
|
+
obfuscatedValue: apiKey.obfuscated_value,
|
|
10
|
+
lastUsedAt: apiKey.last_used_at,
|
|
11
|
+
permissions: apiKey.permissions,
|
|
12
|
+
createdAt: apiKey.created_at,
|
|
13
|
+
updatedAt: apiKey.updated_at
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
Object.defineProperty(exports, 'deserializeApiKey', {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return deserializeApiKey;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=api-key.serializer-384tUKDU.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-key.serializer-384tUKDU.cjs","names":[],"sources":["../src/api-keys/serializers/api-key.serializer.ts"],"sourcesContent":["import { ApiKey, SerializedApiKey } from '../interfaces/api-key.interface';\n\nexport function deserializeApiKey(apiKey: SerializedApiKey): ApiKey {\n return {\n object: apiKey.object,\n id: apiKey.id,\n owner: apiKey.owner,\n name: apiKey.name,\n obfuscatedValue: apiKey.obfuscated_value,\n lastUsedAt: apiKey.last_used_at,\n permissions: apiKey.permissions,\n createdAt: apiKey.created_at,\n updatedAt: apiKey.updated_at,\n };\n}\n"],"mappings":";;AAEA,SAAgB,kBAAkB,QAAkC;AAClE,QAAO;EACL,QAAQ,OAAO;EACf,IAAI,OAAO;EACX,OAAO,OAAO;EACd,MAAM,OAAO;EACb,iBAAiB,OAAO;EACxB,YAAY,OAAO;EACnB,aAAa,OAAO;EACpB,WAAW,OAAO;EAClB,WAAW,OAAO;EACnB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { n as SerializedApiKey, t as ApiKey } from "./api-key.interface-BHBINSO0.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/api-keys/serializers/api-key.serializer.d.ts
|
|
4
|
+
declare function deserializeApiKey(apiKey: SerializedApiKey): ApiKey;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { deserializeApiKey as t };
|
|
7
|
+
//# sourceMappingURL=api-key.serializer-C50uuFpr.d.cts.map
|