@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
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { Profile, ProfileResponse } from "./profile.interface.cjs";
|
|
4
|
-
|
|
5
|
-
//#region src/sso/interfaces/profile-and-token.interface.d.ts
|
|
6
|
-
interface ProfileAndToken<CustomAttributesType extends UnknownRecord> {
|
|
7
|
-
accessToken: string;
|
|
8
|
-
profile: Profile<CustomAttributesType>;
|
|
9
|
-
oauthTokens?: OauthTokens;
|
|
10
|
-
}
|
|
11
|
-
interface ProfileAndTokenResponse<CustomAttributesType extends UnknownRecord> {
|
|
12
|
-
access_token: string;
|
|
13
|
-
profile: ProfileResponse<CustomAttributesType>;
|
|
14
|
-
oauth_tokens?: OauthTokensResponse;
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
|
-
export { ProfileAndToken, ProfileAndTokenResponse };
|
|
18
|
-
//# sourceMappingURL=profile-and-token.interface.d.cts.map
|
|
1
|
+
import { n as ProfileAndTokenResponse, t as ProfileAndToken } from "../../profile-and-token.interface-ZhaI1B_G.cjs";
|
|
2
|
+
export { ProfileAndToken, ProfileAndTokenResponse };
|
|
@@ -1,42 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { UnknownRecord } from "../../common/interfaces/unknown-record.interface.cjs";
|
|
4
|
-
|
|
5
|
-
//#region src/sso/interfaces/profile.interface.d.ts
|
|
6
|
-
interface Profile<CustomAttributesType extends UnknownRecord> {
|
|
7
|
-
id: string;
|
|
8
|
-
idpId: string;
|
|
9
|
-
organizationId?: string;
|
|
10
|
-
connectionId: string;
|
|
11
|
-
connectionType: ConnectionType;
|
|
12
|
-
email: string;
|
|
13
|
-
firstName?: string;
|
|
14
|
-
lastName?: string;
|
|
15
|
-
role?: RoleResponse;
|
|
16
|
-
roles?: RoleResponse[];
|
|
17
|
-
groups?: string[];
|
|
18
|
-
customAttributes?: CustomAttributesType;
|
|
19
|
-
rawAttributes?: {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
interface ProfileResponse<CustomAttributesType extends UnknownRecord> {
|
|
24
|
-
id: string;
|
|
25
|
-
idp_id: string;
|
|
26
|
-
organization_id?: string;
|
|
27
|
-
connection_id: string;
|
|
28
|
-
connection_type: ConnectionType;
|
|
29
|
-
email: string;
|
|
30
|
-
first_name?: string;
|
|
31
|
-
last_name?: string;
|
|
32
|
-
role?: RoleResponse;
|
|
33
|
-
roles?: RoleResponse[];
|
|
34
|
-
groups?: string[];
|
|
35
|
-
custom_attributes?: CustomAttributesType;
|
|
36
|
-
raw_attributes?: {
|
|
37
|
-
[key: string]: any;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
//#endregion
|
|
41
|
-
export { Profile, ProfileResponse };
|
|
42
|
-
//# sourceMappingURL=profile.interface.d.cts.map
|
|
1
|
+
import { n as ProfileResponse, t as Profile } from "../../profile.interface-CPseQwyu.cjs";
|
|
2
|
+
export { Profile, ProfileResponse };
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
+
const require_connection_serializer = require('../../connection.serializer-phS0D1t9.cjs');
|
|
1
2
|
|
|
2
|
-
|
|
3
|
-
const deserializeConnection = (connection) => ({
|
|
4
|
-
object: connection.object,
|
|
5
|
-
id: connection.id,
|
|
6
|
-
organizationId: connection.organization_id,
|
|
7
|
-
name: connection.name,
|
|
8
|
-
type: connection.connection_type,
|
|
9
|
-
state: connection.state,
|
|
10
|
-
domains: connection.domains,
|
|
11
|
-
createdAt: connection.created_at,
|
|
12
|
-
updatedAt: connection.updated_at
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
exports.deserializeConnection = deserializeConnection;
|
|
17
|
-
//# sourceMappingURL=connection.serializer.cjs.map
|
|
3
|
+
exports.deserializeConnection = require_connection_serializer.deserializeConnection;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/sso/serializers/connection.serializer.d.ts
|
|
4
|
-
declare const deserializeConnection: (connection: ConnectionResponse) => Connection;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { deserializeConnection };
|
|
7
|
-
//# sourceMappingURL=connection.serializer.d.cts.map
|
|
1
|
+
import { t as deserializeConnection } from "../../connection.serializer-Biy7KKu3.cjs";
|
|
2
|
+
export { deserializeConnection };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
1
|
+
const require_connection_serializer = require('../../connection.serializer-phS0D1t9.cjs');
|
|
2
|
+
const require_list_connections_options_serializer = require('../../list-connections-options.serializer-B9jyhBCh.cjs');
|
|
3
|
+
const require_profile_serializer = require('../../profile.serializer-BDlm0TRU.cjs');
|
|
4
|
+
const require_profile_and_token_serializer = require('../../profile-and-token.serializer-CUFdGpX3.cjs');
|
|
5
5
|
|
|
6
|
-
exports.deserializeConnection =
|
|
7
|
-
exports.deserializeProfile =
|
|
8
|
-
exports.deserializeProfileAndToken =
|
|
9
|
-
exports.serializeListConnectionsOptions =
|
|
6
|
+
exports.deserializeConnection = require_connection_serializer.deserializeConnection;
|
|
7
|
+
exports.deserializeProfile = require_profile_serializer.deserializeProfile;
|
|
8
|
+
exports.deserializeProfileAndToken = require_profile_and_token_serializer.deserializeProfileAndToken;
|
|
9
|
+
exports.serializeListConnectionsOptions = require_list_connections_options_serializer.serializeListConnectionsOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { deserializeConnection } from "
|
|
2
|
-
import { serializeListConnectionsOptions } from "
|
|
3
|
-
import { deserializeProfileAndToken } from "
|
|
4
|
-
import { deserializeProfile } from "
|
|
1
|
+
import { t as deserializeConnection } from "../../connection.serializer-Biy7KKu3.cjs";
|
|
2
|
+
import { t as serializeListConnectionsOptions } from "../../list-connections-options.serializer-DfJliOZZ.cjs";
|
|
3
|
+
import { t as deserializeProfileAndToken } from "../../profile-and-token.serializer-jvVxElaa.cjs";
|
|
4
|
+
import { t as deserializeProfile } from "../../profile.serializer-DdojQSTs.cjs";
|
|
5
5
|
export { deserializeConnection, deserializeProfile, deserializeProfileAndToken, serializeListConnectionsOptions };
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
+
const require_list_connections_options_serializer = require('../../list-connections-options.serializer-B9jyhBCh.cjs');
|
|
1
2
|
|
|
2
|
-
|
|
3
|
-
const serializeListConnectionsOptions = (options) => ({
|
|
4
|
-
connection_type: options.connectionType,
|
|
5
|
-
domain: options.domain,
|
|
6
|
-
organization_id: options.organizationId,
|
|
7
|
-
limit: options.limit,
|
|
8
|
-
before: options.before,
|
|
9
|
-
after: options.after,
|
|
10
|
-
order: options.order
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
exports.serializeListConnectionsOptions = serializeListConnectionsOptions;
|
|
15
|
-
//# sourceMappingURL=list-connections-options.serializer.cjs.map
|
|
3
|
+
exports.serializeListConnectionsOptions = require_list_connections_options_serializer.serializeListConnectionsOptions;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/sso/serializers/list-connections-options.serializer.d.ts
|
|
4
|
-
declare const serializeListConnectionsOptions: (options: ListConnectionsOptions) => SerializedListConnectionsOptions;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { serializeListConnectionsOptions };
|
|
7
|
-
//# sourceMappingURL=list-connections-options.serializer.d.cts.map
|
|
1
|
+
import { t as serializeListConnectionsOptions } from "../../list-connections-options.serializer-DfJliOZZ.cjs";
|
|
2
|
+
export { serializeListConnectionsOptions };
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_sso_serializers_profile_serializer = require('./profile.serializer.cjs');
|
|
1
|
+
const require_profile_and_token_serializer = require('../../profile-and-token.serializer-CUFdGpX3.cjs');
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
const deserializeProfileAndToken = (profileAndToken) => ({
|
|
6
|
-
accessToken: profileAndToken.access_token,
|
|
7
|
-
profile: require_sso_serializers_profile_serializer.deserializeProfile(profileAndToken.profile),
|
|
8
|
-
oauthTokens: require_user_management_serializers_oauth_tokens_serializer.deserializeOauthTokens(profileAndToken.oauth_tokens)
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
//#endregion
|
|
12
|
-
exports.deserializeProfileAndToken = deserializeProfileAndToken;
|
|
13
|
-
//# sourceMappingURL=profile-and-token.serializer.cjs.map
|
|
3
|
+
exports.deserializeProfileAndToken = require_profile_and_token_serializer.deserializeProfileAndToken;
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region src/sso/serializers/profile-and-token.serializer.d.ts
|
|
5
|
-
declare const deserializeProfileAndToken: <CustomAttributesType extends UnknownRecord>(profileAndToken: ProfileAndTokenResponse<CustomAttributesType>) => ProfileAndToken<CustomAttributesType>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { deserializeProfileAndToken };
|
|
8
|
-
//# sourceMappingURL=profile-and-token.serializer.d.cts.map
|
|
1
|
+
import { t as deserializeProfileAndToken } from "../../profile-and-token.serializer-jvVxElaa.cjs";
|
|
2
|
+
export { deserializeProfileAndToken };
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
+
const require_profile_serializer = require('../../profile.serializer-BDlm0TRU.cjs');
|
|
1
2
|
|
|
2
|
-
|
|
3
|
-
const deserializeProfile = (profile) => ({
|
|
4
|
-
id: profile.id,
|
|
5
|
-
idpId: profile.idp_id,
|
|
6
|
-
organizationId: profile.organization_id,
|
|
7
|
-
connectionId: profile.connection_id,
|
|
8
|
-
connectionType: profile.connection_type,
|
|
9
|
-
email: profile.email,
|
|
10
|
-
firstName: profile.first_name,
|
|
11
|
-
lastName: profile.last_name,
|
|
12
|
-
role: profile.role,
|
|
13
|
-
roles: profile.roles,
|
|
14
|
-
groups: profile.groups,
|
|
15
|
-
customAttributes: profile.custom_attributes,
|
|
16
|
-
rawAttributes: profile.raw_attributes
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
exports.deserializeProfile = deserializeProfile;
|
|
21
|
-
//# sourceMappingURL=profile.serializer.cjs.map
|
|
3
|
+
exports.deserializeProfile = require_profile_serializer.deserializeProfile;
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region src/sso/serializers/profile.serializer.d.ts
|
|
5
|
-
declare const deserializeProfile: <CustomAttributesType extends UnknownRecord>(profile: ProfileResponse<CustomAttributesType>) => Profile<CustomAttributesType>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { deserializeProfile };
|
|
8
|
-
//# sourceMappingURL=profile.serializer.d.cts.map
|
|
1
|
+
import { t as deserializeProfile } from "../../profile.serializer-DdojQSTs.cjs";
|
|
2
|
+
export { deserializeProfile };
|
package/lib/sso/sso.cjs
CHANGED
|
@@ -1,130 +1,3 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_sso_serializers_connection_serializer = require('./serializers/connection.serializer.cjs');
|
|
3
|
-
const require_sso_serializers_list_connections_options_serializer = require('./serializers/list-connections-options.serializer.cjs');
|
|
4
|
-
const require_sso_serializers_profile_serializer = require('./serializers/profile.serializer.cjs');
|
|
5
|
-
const require_sso_serializers_profile_and_token_serializer = require('./serializers/profile-and-token.serializer.cjs');
|
|
6
|
-
const require_common_utils_fetch_and_deserialize = require('../common/utils/fetch-and-deserialize.cjs');
|
|
7
|
-
const require_common_utils_query_string = require('../common/utils/query-string.cjs');
|
|
1
|
+
const require_sso = require('../sso-BGdbsFSR.cjs');
|
|
8
2
|
|
|
9
|
-
|
|
10
|
-
var SSO = class {
|
|
11
|
-
constructor(workos) {
|
|
12
|
-
this.workos = workos;
|
|
13
|
-
}
|
|
14
|
-
async listConnections(options) {
|
|
15
|
-
return new require_common_utils_pagination.AutoPaginatable(await require_common_utils_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/connections", require_sso_serializers_connection_serializer.deserializeConnection, options ? require_sso_serializers_list_connections_options_serializer.serializeListConnectionsOptions(options) : void 0), (params) => require_common_utils_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/connections", require_sso_serializers_connection_serializer.deserializeConnection, params), options ? require_sso_serializers_list_connections_options_serializer.serializeListConnectionsOptions(options) : void 0);
|
|
16
|
-
}
|
|
17
|
-
async deleteConnection(id) {
|
|
18
|
-
await this.workos.delete(`/connections/${id}`);
|
|
19
|
-
}
|
|
20
|
-
getAuthorizationUrl(options) {
|
|
21
|
-
const { codeChallenge, codeChallengeMethod, connection, clientId, domainHint, loginHint, organization, provider, providerQueryParams, providerScopes, redirectUri, state } = options;
|
|
22
|
-
if (!provider && !connection && !organization) throw new TypeError(`Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`);
|
|
23
|
-
const query = require_common_utils_query_string.toQueryString({
|
|
24
|
-
code_challenge: codeChallenge,
|
|
25
|
-
code_challenge_method: codeChallengeMethod,
|
|
26
|
-
connection,
|
|
27
|
-
organization,
|
|
28
|
-
domain_hint: domainHint,
|
|
29
|
-
login_hint: loginHint,
|
|
30
|
-
provider,
|
|
31
|
-
provider_query_params: providerQueryParams,
|
|
32
|
-
provider_scopes: providerScopes,
|
|
33
|
-
client_id: clientId,
|
|
34
|
-
redirect_uri: redirectUri,
|
|
35
|
-
response_type: "code",
|
|
36
|
-
state
|
|
37
|
-
});
|
|
38
|
-
return `${this.workos.baseURL}/sso/authorize?${query}`;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Generates an authorization URL with PKCE parameters automatically generated.
|
|
42
|
-
* Use this for public clients (CLI apps, Electron, mobile) that cannot
|
|
43
|
-
* securely store a client secret.
|
|
44
|
-
*
|
|
45
|
-
* @returns Object containing url, state, and codeVerifier
|
|
46
|
-
*
|
|
47
|
-
* @example
|
|
48
|
-
* ```typescript
|
|
49
|
-
* const { url, state, codeVerifier } = await workos.sso.getAuthorizationUrlWithPKCE({
|
|
50
|
-
* connection: 'conn_123',
|
|
51
|
-
* clientId: 'client_123',
|
|
52
|
-
* redirectUri: 'myapp://callback',
|
|
53
|
-
* });
|
|
54
|
-
*
|
|
55
|
-
* // Store state and codeVerifier securely, then redirect user to url
|
|
56
|
-
* // After callback, exchange the code:
|
|
57
|
-
* const { profile, accessToken } = await workos.sso.getProfileAndToken({
|
|
58
|
-
* code: authorizationCode,
|
|
59
|
-
* codeVerifier,
|
|
60
|
-
* clientId: 'client_123',
|
|
61
|
-
* });
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
async getAuthorizationUrlWithPKCE(options) {
|
|
65
|
-
const { connection, clientId, domainHint, loginHint, organization, provider, providerQueryParams, providerScopes, redirectUri } = options;
|
|
66
|
-
if (!provider && !connection && !organization) throw new TypeError(`Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`);
|
|
67
|
-
const pkce = await this.workos.pkce.generate();
|
|
68
|
-
const state = this.workos.pkce.generateCodeVerifier(43);
|
|
69
|
-
const query = require_common_utils_query_string.toQueryString({
|
|
70
|
-
code_challenge: pkce.codeChallenge,
|
|
71
|
-
code_challenge_method: "S256",
|
|
72
|
-
connection,
|
|
73
|
-
organization,
|
|
74
|
-
domain_hint: domainHint,
|
|
75
|
-
login_hint: loginHint,
|
|
76
|
-
provider,
|
|
77
|
-
provider_query_params: providerQueryParams,
|
|
78
|
-
provider_scopes: providerScopes,
|
|
79
|
-
client_id: clientId,
|
|
80
|
-
redirect_uri: redirectUri,
|
|
81
|
-
response_type: "code",
|
|
82
|
-
state
|
|
83
|
-
});
|
|
84
|
-
return {
|
|
85
|
-
url: `${this.workos.baseURL}/sso/authorize?${query}`,
|
|
86
|
-
state,
|
|
87
|
-
codeVerifier: pkce.codeVerifier
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
async getConnection(id) {
|
|
91
|
-
const { data } = await this.workos.get(`/connections/${id}`);
|
|
92
|
-
return require_sso_serializers_connection_serializer.deserializeConnection(data);
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Exchange an authorization code for a profile and access token.
|
|
96
|
-
*
|
|
97
|
-
* Auto-detects public vs confidential client mode:
|
|
98
|
-
* - If codeVerifier is provided: Uses PKCE flow (public client)
|
|
99
|
-
* - If no codeVerifier: Uses client_secret from API key (confidential client)
|
|
100
|
-
* - If both: Uses both client_secret AND codeVerifier (confidential client with PKCE)
|
|
101
|
-
*
|
|
102
|
-
* Using PKCE with confidential clients is recommended by OAuth 2.1 for defense
|
|
103
|
-
* in depth and provides additional CSRF protection on the authorization flow.
|
|
104
|
-
*
|
|
105
|
-
* @throws Error if neither codeVerifier nor API key is available
|
|
106
|
-
*/
|
|
107
|
-
async getProfileAndToken({ code, clientId, codeVerifier }) {
|
|
108
|
-
if (codeVerifier !== void 0 && codeVerifier.trim() === "") throw new TypeError("codeVerifier cannot be an empty string. Generate a valid PKCE pair using workos.pkce.generate().");
|
|
109
|
-
const hasApiKey = !!this.workos.key;
|
|
110
|
-
const hasPKCE = !!codeVerifier;
|
|
111
|
-
if (!hasPKCE && !hasApiKey) throw new TypeError("getProfileAndToken requires either a codeVerifier (for public clients) or an API key configured on the WorkOS instance (for confidential clients).");
|
|
112
|
-
const form = new URLSearchParams({
|
|
113
|
-
client_id: clientId,
|
|
114
|
-
grant_type: "authorization_code",
|
|
115
|
-
code
|
|
116
|
-
});
|
|
117
|
-
if (hasPKCE) form.set("code_verifier", codeVerifier);
|
|
118
|
-
if (hasApiKey) form.set("client_secret", this.workos.key);
|
|
119
|
-
const { data } = await this.workos.post("/sso/token", form, { skipApiKeyCheck: !hasApiKey });
|
|
120
|
-
return require_sso_serializers_profile_and_token_serializer.deserializeProfileAndToken(data);
|
|
121
|
-
}
|
|
122
|
-
async getProfile({ accessToken }) {
|
|
123
|
-
const { data } = await this.workos.get("/sso/profile", { accessToken });
|
|
124
|
-
return require_sso_serializers_profile_serializer.deserializeProfile(data);
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
//#endregion
|
|
129
|
-
exports.SSO = SSO;
|
|
130
|
-
//# sourceMappingURL=sso.cjs.map
|
|
3
|
+
exports.SSO = require_sso.SSO;
|
package/lib/sso/sso.d.cts
CHANGED
|
@@ -1,69 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { GetProfileOptions } from "./interfaces/get-profile-options.interface.cjs";
|
|
4
|
-
import { GetProfileAndTokenOptions } from "./interfaces/get-profile-and-token-options.interface.cjs";
|
|
5
|
-
import { ListConnectionsOptions, SerializedListConnectionsOptions } from "./interfaces/list-connections-options.interface.cjs";
|
|
6
|
-
import { UnknownRecord } from "../common/interfaces/unknown-record.interface.cjs";
|
|
7
|
-
import { Profile } from "./interfaces/profile.interface.cjs";
|
|
8
|
-
import { ProfileAndToken } from "./interfaces/profile-and-token.interface.cjs";
|
|
9
|
-
import { AutoPaginatable } from "../common/utils/pagination.cjs";
|
|
10
|
-
import { WorkOS } from "../workos.cjs";
|
|
11
|
-
|
|
12
|
-
//#region src/sso/sso.d.ts
|
|
13
|
-
declare class SSO {
|
|
14
|
-
private readonly workos;
|
|
15
|
-
constructor(workos: WorkOS);
|
|
16
|
-
listConnections(options?: ListConnectionsOptions): Promise<AutoPaginatable<Connection, SerializedListConnectionsOptions>>;
|
|
17
|
-
deleteConnection(id: string): Promise<void>;
|
|
18
|
-
getAuthorizationUrl(options: SSOAuthorizationURLOptions): string;
|
|
19
|
-
/**
|
|
20
|
-
* Generates an authorization URL with PKCE parameters automatically generated.
|
|
21
|
-
* Use this for public clients (CLI apps, Electron, mobile) that cannot
|
|
22
|
-
* securely store a client secret.
|
|
23
|
-
*
|
|
24
|
-
* @returns Object containing url, state, and codeVerifier
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* ```typescript
|
|
28
|
-
* const { url, state, codeVerifier } = await workos.sso.getAuthorizationUrlWithPKCE({
|
|
29
|
-
* connection: 'conn_123',
|
|
30
|
-
* clientId: 'client_123',
|
|
31
|
-
* redirectUri: 'myapp://callback',
|
|
32
|
-
* });
|
|
33
|
-
*
|
|
34
|
-
* // Store state and codeVerifier securely, then redirect user to url
|
|
35
|
-
* // After callback, exchange the code:
|
|
36
|
-
* const { profile, accessToken } = await workos.sso.getProfileAndToken({
|
|
37
|
-
* code: authorizationCode,
|
|
38
|
-
* codeVerifier,
|
|
39
|
-
* clientId: 'client_123',
|
|
40
|
-
* });
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
|
-
getAuthorizationUrlWithPKCE(options: Omit<SSOAuthorizationURLOptions, 'codeChallenge' | 'codeChallengeMethod' | 'state'>): Promise<SSOPKCEAuthorizationURLResult>;
|
|
44
|
-
getConnection(id: string): Promise<Connection>;
|
|
45
|
-
/**
|
|
46
|
-
* Exchange an authorization code for a profile and access token.
|
|
47
|
-
*
|
|
48
|
-
* Auto-detects public vs confidential client mode:
|
|
49
|
-
* - If codeVerifier is provided: Uses PKCE flow (public client)
|
|
50
|
-
* - If no codeVerifier: Uses client_secret from API key (confidential client)
|
|
51
|
-
* - If both: Uses both client_secret AND codeVerifier (confidential client with PKCE)
|
|
52
|
-
*
|
|
53
|
-
* Using PKCE with confidential clients is recommended by OAuth 2.1 for defense
|
|
54
|
-
* in depth and provides additional CSRF protection on the authorization flow.
|
|
55
|
-
*
|
|
56
|
-
* @throws Error if neither codeVerifier nor API key is available
|
|
57
|
-
*/
|
|
58
|
-
getProfileAndToken<CustomAttributesType extends UnknownRecord = UnknownRecord>({
|
|
59
|
-
code,
|
|
60
|
-
clientId,
|
|
61
|
-
codeVerifier
|
|
62
|
-
}: GetProfileAndTokenOptions): Promise<ProfileAndToken<CustomAttributesType>>;
|
|
63
|
-
getProfile<CustomAttributesType extends UnknownRecord = UnknownRecord>({
|
|
64
|
-
accessToken
|
|
65
|
-
}: GetProfileOptions): Promise<Profile<CustomAttributesType>>;
|
|
66
|
-
}
|
|
67
|
-
//#endregion
|
|
68
|
-
export { SSO };
|
|
69
|
-
//# sourceMappingURL=sso.d.cts.map
|
|
1
|
+
import { v as SSO } from "../api-keys-mDyp4q6k.cjs";
|
|
2
|
+
export { SSO };
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
const require_pagination = require('./pagination-BG1uBuL4.cjs');
|
|
2
|
+
const require_connection_serializer = require('./connection.serializer-phS0D1t9.cjs');
|
|
3
|
+
const require_list_connections_options_serializer = require('./list-connections-options.serializer-B9jyhBCh.cjs');
|
|
4
|
+
const require_profile_serializer = require('./profile.serializer-BDlm0TRU.cjs');
|
|
5
|
+
const require_profile_and_token_serializer = require('./profile-and-token.serializer-CUFdGpX3.cjs');
|
|
6
|
+
const require_fetch_and_deserialize = require('./fetch-and-deserialize-Cw0qruaA.cjs');
|
|
7
|
+
const require_query_string = require('./query-string-DvY-MOOT.cjs');
|
|
8
|
+
|
|
9
|
+
//#region src/sso/sso.ts
|
|
10
|
+
var SSO = class {
|
|
11
|
+
constructor(workos) {
|
|
12
|
+
this.workos = workos;
|
|
13
|
+
}
|
|
14
|
+
async listConnections(options) {
|
|
15
|
+
return new require_pagination.AutoPaginatable(await require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/connections", require_connection_serializer.deserializeConnection, options ? require_list_connections_options_serializer.serializeListConnectionsOptions(options) : void 0), (params) => require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/connections", require_connection_serializer.deserializeConnection, params), options ? require_list_connections_options_serializer.serializeListConnectionsOptions(options) : void 0);
|
|
16
|
+
}
|
|
17
|
+
async deleteConnection(id) {
|
|
18
|
+
await this.workos.delete(`/connections/${id}`);
|
|
19
|
+
}
|
|
20
|
+
getAuthorizationUrl(options) {
|
|
21
|
+
const { codeChallenge, codeChallengeMethod, connection, clientId, domainHint, loginHint, organization, provider, providerQueryParams, providerScopes, redirectUri, state } = options;
|
|
22
|
+
if (!provider && !connection && !organization) throw new TypeError(`Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`);
|
|
23
|
+
const query = require_query_string.toQueryString({
|
|
24
|
+
code_challenge: codeChallenge,
|
|
25
|
+
code_challenge_method: codeChallengeMethod,
|
|
26
|
+
connection,
|
|
27
|
+
organization,
|
|
28
|
+
domain_hint: domainHint,
|
|
29
|
+
login_hint: loginHint,
|
|
30
|
+
provider,
|
|
31
|
+
provider_query_params: providerQueryParams,
|
|
32
|
+
provider_scopes: providerScopes,
|
|
33
|
+
client_id: clientId,
|
|
34
|
+
redirect_uri: redirectUri,
|
|
35
|
+
response_type: "code",
|
|
36
|
+
state
|
|
37
|
+
});
|
|
38
|
+
return `${this.workos.baseURL}/sso/authorize?${query}`;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Generates an authorization URL with PKCE parameters automatically generated.
|
|
42
|
+
* Use this for public clients (CLI apps, Electron, mobile) that cannot
|
|
43
|
+
* securely store a client secret.
|
|
44
|
+
*
|
|
45
|
+
* @returns Object containing url, state, and codeVerifier
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```typescript
|
|
49
|
+
* const { url, state, codeVerifier } = await workos.sso.getAuthorizationUrlWithPKCE({
|
|
50
|
+
* connection: 'conn_123',
|
|
51
|
+
* clientId: 'client_123',
|
|
52
|
+
* redirectUri: 'myapp://callback',
|
|
53
|
+
* });
|
|
54
|
+
*
|
|
55
|
+
* // Store state and codeVerifier securely, then redirect user to url
|
|
56
|
+
* // After callback, exchange the code:
|
|
57
|
+
* const { profile, accessToken } = await workos.sso.getProfileAndToken({
|
|
58
|
+
* code: authorizationCode,
|
|
59
|
+
* codeVerifier,
|
|
60
|
+
* clientId: 'client_123',
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
async getAuthorizationUrlWithPKCE(options) {
|
|
65
|
+
const { connection, clientId, domainHint, loginHint, organization, provider, providerQueryParams, providerScopes, redirectUri } = options;
|
|
66
|
+
if (!provider && !connection && !organization) throw new TypeError(`Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`);
|
|
67
|
+
const pkce = await this.workos.pkce.generate();
|
|
68
|
+
const state = this.workos.pkce.generateCodeVerifier(43);
|
|
69
|
+
const query = require_query_string.toQueryString({
|
|
70
|
+
code_challenge: pkce.codeChallenge,
|
|
71
|
+
code_challenge_method: "S256",
|
|
72
|
+
connection,
|
|
73
|
+
organization,
|
|
74
|
+
domain_hint: domainHint,
|
|
75
|
+
login_hint: loginHint,
|
|
76
|
+
provider,
|
|
77
|
+
provider_query_params: providerQueryParams,
|
|
78
|
+
provider_scopes: providerScopes,
|
|
79
|
+
client_id: clientId,
|
|
80
|
+
redirect_uri: redirectUri,
|
|
81
|
+
response_type: "code",
|
|
82
|
+
state
|
|
83
|
+
});
|
|
84
|
+
return {
|
|
85
|
+
url: `${this.workos.baseURL}/sso/authorize?${query}`,
|
|
86
|
+
state,
|
|
87
|
+
codeVerifier: pkce.codeVerifier
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
async getConnection(id) {
|
|
91
|
+
const { data } = await this.workos.get(`/connections/${id}`);
|
|
92
|
+
return require_connection_serializer.deserializeConnection(data);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Exchange an authorization code for a profile and access token.
|
|
96
|
+
*
|
|
97
|
+
* Auto-detects public vs confidential client mode:
|
|
98
|
+
* - If codeVerifier is provided: Uses PKCE flow (public client)
|
|
99
|
+
* - If no codeVerifier: Uses client_secret from API key (confidential client)
|
|
100
|
+
* - If both: Uses both client_secret AND codeVerifier (confidential client with PKCE)
|
|
101
|
+
*
|
|
102
|
+
* Using PKCE with confidential clients is recommended by OAuth 2.1 for defense
|
|
103
|
+
* in depth and provides additional CSRF protection on the authorization flow.
|
|
104
|
+
*
|
|
105
|
+
* @throws Error if neither codeVerifier nor API key is available
|
|
106
|
+
*/
|
|
107
|
+
async getProfileAndToken({ code, clientId, codeVerifier }) {
|
|
108
|
+
if (codeVerifier !== void 0 && codeVerifier.trim() === "") throw new TypeError("codeVerifier cannot be an empty string. Generate a valid PKCE pair using workos.pkce.generate().");
|
|
109
|
+
const hasApiKey = !!this.workos.key;
|
|
110
|
+
const hasPKCE = !!codeVerifier;
|
|
111
|
+
if (!hasPKCE && !hasApiKey) throw new TypeError("getProfileAndToken requires either a codeVerifier (for public clients) or an API key configured on the WorkOS instance (for confidential clients).");
|
|
112
|
+
const form = new URLSearchParams({
|
|
113
|
+
client_id: clientId,
|
|
114
|
+
grant_type: "authorization_code",
|
|
115
|
+
code
|
|
116
|
+
});
|
|
117
|
+
if (hasPKCE) form.set("code_verifier", codeVerifier);
|
|
118
|
+
if (hasApiKey) form.set("client_secret", this.workos.key);
|
|
119
|
+
const { data } = await this.workos.post("/sso/token", form, { skipApiKeyCheck: !hasApiKey });
|
|
120
|
+
return require_profile_and_token_serializer.deserializeProfileAndToken(data);
|
|
121
|
+
}
|
|
122
|
+
async getProfile({ accessToken }) {
|
|
123
|
+
const { data } = await this.workos.get("/sso/profile", { accessToken });
|
|
124
|
+
return require_profile_serializer.deserializeProfile(data);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
//#endregion
|
|
129
|
+
Object.defineProperty(exports, 'SSO', {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () {
|
|
132
|
+
return SSO;
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
//# sourceMappingURL=sso-BGdbsFSR.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sso-BGdbsFSR.cjs","names":["workos: WorkOS","AutoPaginatable","fetchAndDeserialize","deserializeConnection","serializeListConnectionsOptions","toQueryString","deserializeProfileAndToken","deserializeProfile"],"sources":["../src/sso/sso.ts"],"sourcesContent":["import { UnknownRecord } from '../common/interfaces/unknown-record.interface';\nimport { fetchAndDeserialize } from '../common/utils/fetch-and-deserialize';\nimport { AutoPaginatable } from '../common/utils/pagination';\nimport { toQueryString } from '../common/utils/query-string';\nimport { WorkOS } from '../workos';\nimport {\n Connection,\n ConnectionResponse,\n GetProfileAndTokenOptions,\n GetProfileOptions,\n ListConnectionsOptions,\n Profile,\n ProfileAndToken,\n ProfileAndTokenResponse,\n ProfileResponse,\n SSOAuthorizationURLOptions,\n SSOPKCEAuthorizationURLResult,\n SerializedListConnectionsOptions,\n} from './interfaces';\nimport {\n deserializeConnection,\n deserializeProfile,\n deserializeProfileAndToken,\n serializeListConnectionsOptions,\n} from './serializers';\n\nexport class SSO {\n constructor(private readonly workos: WorkOS) {}\n\n async listConnections(\n options?: ListConnectionsOptions,\n ): Promise<AutoPaginatable<Connection, SerializedListConnectionsOptions>> {\n return new AutoPaginatable(\n await fetchAndDeserialize<ConnectionResponse, Connection>(\n this.workos,\n '/connections',\n deserializeConnection,\n options ? serializeListConnectionsOptions(options) : undefined,\n ),\n (params) =>\n fetchAndDeserialize<ConnectionResponse, Connection>(\n this.workos,\n '/connections',\n deserializeConnection,\n params,\n ),\n options ? serializeListConnectionsOptions(options) : undefined,\n );\n }\n async deleteConnection(id: string) {\n await this.workos.delete(`/connections/${id}`);\n }\n\n getAuthorizationUrl(options: SSOAuthorizationURLOptions): string {\n const {\n codeChallenge,\n codeChallengeMethod,\n connection,\n clientId,\n domainHint,\n loginHint,\n organization,\n provider,\n providerQueryParams,\n providerScopes,\n redirectUri,\n state,\n } = options;\n\n if (!provider && !connection && !organization) {\n throw new TypeError(\n `Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`,\n );\n }\n\n const query = toQueryString({\n code_challenge: codeChallenge,\n code_challenge_method: codeChallengeMethod,\n connection,\n organization,\n domain_hint: domainHint,\n login_hint: loginHint,\n provider,\n provider_query_params: providerQueryParams,\n provider_scopes: providerScopes,\n client_id: clientId,\n redirect_uri: redirectUri,\n response_type: 'code',\n state,\n });\n\n return `${this.workos.baseURL}/sso/authorize?${query}`;\n }\n\n /**\n * Generates an authorization URL with PKCE parameters automatically generated.\n * Use this for public clients (CLI apps, Electron, mobile) that cannot\n * securely store a client secret.\n *\n * @returns Object containing url, state, and codeVerifier\n *\n * @example\n * ```typescript\n * const { url, state, codeVerifier } = await workos.sso.getAuthorizationUrlWithPKCE({\n * connection: 'conn_123',\n * clientId: 'client_123',\n * redirectUri: 'myapp://callback',\n * });\n *\n * // Store state and codeVerifier securely, then redirect user to url\n * // After callback, exchange the code:\n * const { profile, accessToken } = await workos.sso.getProfileAndToken({\n * code: authorizationCode,\n * codeVerifier,\n * clientId: 'client_123',\n * });\n * ```\n */\n async getAuthorizationUrlWithPKCE(\n options: Omit<\n SSOAuthorizationURLOptions,\n 'codeChallenge' | 'codeChallengeMethod' | 'state'\n >,\n ): Promise<SSOPKCEAuthorizationURLResult> {\n const {\n connection,\n clientId,\n domainHint,\n loginHint,\n organization,\n provider,\n providerQueryParams,\n providerScopes,\n redirectUri,\n } = options;\n\n if (!provider && !connection && !organization) {\n throw new TypeError(\n `Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`,\n );\n }\n\n // Generate PKCE parameters\n const pkce = await this.workos.pkce.generate();\n\n // Generate secure random state\n const state = this.workos.pkce.generateCodeVerifier(43);\n\n const query = toQueryString({\n code_challenge: pkce.codeChallenge,\n code_challenge_method: 'S256',\n connection,\n organization,\n domain_hint: domainHint,\n login_hint: loginHint,\n provider,\n provider_query_params: providerQueryParams,\n provider_scopes: providerScopes,\n client_id: clientId,\n redirect_uri: redirectUri,\n response_type: 'code',\n state,\n });\n\n const url = `${this.workos.baseURL}/sso/authorize?${query}`;\n\n return { url, state, codeVerifier: pkce.codeVerifier };\n }\n\n async getConnection(id: string): Promise<Connection> {\n const { data } = await this.workos.get<ConnectionResponse>(\n `/connections/${id}`,\n );\n\n return deserializeConnection(data);\n }\n\n /**\n * Exchange an authorization code for a profile and access token.\n *\n * Auto-detects public vs confidential client mode:\n * - If codeVerifier is provided: Uses PKCE flow (public client)\n * - If no codeVerifier: Uses client_secret from API key (confidential client)\n * - If both: Uses both client_secret AND codeVerifier (confidential client with PKCE)\n *\n * Using PKCE with confidential clients is recommended by OAuth 2.1 for defense\n * in depth and provides additional CSRF protection on the authorization flow.\n *\n * @throws Error if neither codeVerifier nor API key is available\n */\n async getProfileAndToken<\n CustomAttributesType extends UnknownRecord = UnknownRecord,\n >({\n code,\n clientId,\n codeVerifier,\n }: GetProfileAndTokenOptions): Promise<\n ProfileAndToken<CustomAttributesType>\n > {\n // Validate codeVerifier is not an empty string (common mistake)\n if (codeVerifier !== undefined && codeVerifier.trim() === '') {\n throw new TypeError(\n 'codeVerifier cannot be an empty string. ' +\n 'Generate a valid PKCE pair using workos.pkce.generate().',\n );\n }\n\n const hasApiKey = !!this.workos.key;\n const hasPKCE = !!codeVerifier;\n\n if (!hasPKCE && !hasApiKey) {\n throw new TypeError(\n 'getProfileAndToken requires either a codeVerifier (for public clients) ' +\n 'or an API key configured on the WorkOS instance (for confidential clients).',\n );\n }\n\n const form = new URLSearchParams({\n client_id: clientId,\n grant_type: 'authorization_code',\n code,\n });\n\n // Support PKCE with confidential clients (OAuth 2.1 best practice)\n // Both can be sent together for defense in depth\n if (hasPKCE) {\n form.set('code_verifier', codeVerifier);\n }\n if (hasApiKey) {\n form.set('client_secret', this.workos.key as string);\n }\n\n const { data } = await this.workos.post<\n ProfileAndTokenResponse<CustomAttributesType>\n >('/sso/token', form, { skipApiKeyCheck: !hasApiKey });\n\n return deserializeProfileAndToken(data);\n }\n\n async getProfile<CustomAttributesType extends UnknownRecord = UnknownRecord>({\n accessToken,\n }: GetProfileOptions): Promise<Profile<CustomAttributesType>> {\n const { data } = await this.workos.get<\n ProfileResponse<CustomAttributesType>\n >('/sso/profile', {\n accessToken,\n });\n\n return deserializeProfile(data);\n }\n}\n"],"mappings":";;;;;;;;;AA0BA,IAAa,MAAb,MAAiB;CACf,YAAY,AAAiBA,QAAgB;EAAhB;;CAE7B,MAAM,gBACJ,SACwE;AACxE,SAAO,IAAIC,mCACT,MAAMC,kDACJ,KAAK,QACL,gBACAC,qDACA,UAAUC,4EAAgC,QAAQ,GAAG,OACtD,GACA,WACCF,kDACE,KAAK,QACL,gBACAC,qDACA,OACD,EACH,UAAUC,4EAAgC,QAAQ,GAAG,OACtD;;CAEH,MAAM,iBAAiB,IAAY;AACjC,QAAM,KAAK,OAAO,OAAO,gBAAgB,KAAK;;CAGhD,oBAAoB,SAA6C;EAC/D,MAAM,EACJ,eACA,qBACA,YACA,UACA,YACA,WACA,cACA,UACA,qBACA,gBACA,aACA,UACE;AAEJ,MAAI,CAAC,YAAY,CAAC,cAAc,CAAC,aAC/B,OAAM,IAAI,UACR,8FACD;EAGH,MAAM,QAAQC,mCAAc;GAC1B,gBAAgB;GAChB,uBAAuB;GACvB;GACA;GACA,aAAa;GACb,YAAY;GACZ;GACA,uBAAuB;GACvB,iBAAiB;GACjB,WAAW;GACX,cAAc;GACd,eAAe;GACf;GACD,CAAC;AAEF,SAAO,GAAG,KAAK,OAAO,QAAQ,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BjD,MAAM,4BACJ,SAIwC;EACxC,MAAM,EACJ,YACA,UACA,YACA,WACA,cACA,UACA,qBACA,gBACA,gBACE;AAEJ,MAAI,CAAC,YAAY,CAAC,cAAc,CAAC,aAC/B,OAAM,IAAI,UACR,8FACD;EAIH,MAAM,OAAO,MAAM,KAAK,OAAO,KAAK,UAAU;EAG9C,MAAM,QAAQ,KAAK,OAAO,KAAK,qBAAqB,GAAG;EAEvD,MAAM,QAAQA,mCAAc;GAC1B,gBAAgB,KAAK;GACrB,uBAAuB;GACvB;GACA;GACA,aAAa;GACb,YAAY;GACZ;GACA,uBAAuB;GACvB,iBAAiB;GACjB,WAAW;GACX,cAAc;GACd,eAAe;GACf;GACD,CAAC;AAIF,SAAO;GAAE,KAFG,GAAG,KAAK,OAAO,QAAQ,iBAAiB;GAEtC;GAAO,cAAc,KAAK;GAAc;;CAGxD,MAAM,cAAc,IAAiC;EACnD,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,IACjC,gBAAgB,KACjB;AAED,SAAOF,oDAAsB,KAAK;;;;;;;;;;;;;;;CAgBpC,MAAM,mBAEJ,EACA,MACA,UACA,gBAGA;AAEA,MAAI,iBAAiB,UAAa,aAAa,MAAM,KAAK,GACxD,OAAM,IAAI,UACR,mGAED;EAGH,MAAM,YAAY,CAAC,CAAC,KAAK,OAAO;EAChC,MAAM,UAAU,CAAC,CAAC;AAElB,MAAI,CAAC,WAAW,CAAC,UACf,OAAM,IAAI,UACR,qJAED;EAGH,MAAM,OAAO,IAAI,gBAAgB;GAC/B,WAAW;GACX,YAAY;GACZ;GACD,CAAC;AAIF,MAAI,QACF,MAAK,IAAI,iBAAiB,aAAa;AAEzC,MAAI,UACF,MAAK,IAAI,iBAAiB,KAAK,OAAO,IAAc;EAGtD,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,KAEjC,cAAc,MAAM,EAAE,iBAAiB,CAAC,WAAW,CAAC;AAEtD,SAAOG,gEAA2B,KAAK;;CAGzC,MAAM,WAAuE,EAC3E,eAC4D;EAC5D,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,IAEjC,gBAAgB,EAChB,aACD,CAAC;AAEF,SAAOC,8CAAmB,KAAK"}
|