@workos-inc/node 8.5.0 → 8.6.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/{action.interface-C0C0S3AC.d.cts → action.interface-BAKF6gfV.d.cts} +2 -2
- package/lib/{action.serializer-CWhwCinS.cjs → action.serializer-DAcb-o-1.cjs} +2 -2
- package/lib/{action.serializer-CWhwCinS.cjs.map → action.serializer-DAcb-o-1.cjs.map} +1 -1
- package/lib/actions/actions.cjs +1 -1
- package/lib/actions/actions.d.cts +1 -1
- package/lib/actions/interfaces/action.interface.d.cts +1 -1
- package/lib/actions/interfaces/index.d.cts +1 -1
- package/lib/actions/serializers/action.serializer.cjs +1 -1
- package/lib/actions/serializers/action.serializer.d.cts +1 -1
- package/lib/{actions-CVHQXngv.cjs → actions-DRojhekm.cjs} +2 -2
- package/lib/{actions-CVHQXngv.cjs.map → actions-DRojhekm.cjs.map} +1 -1
- package/lib/{actions-DuQ9dqQv.d.cts → actions-yS4tXCm5.d.cts} +2 -2
- package/lib/api-keys/api-keys.d.cts +1 -1
- package/lib/api-keys/interfaces/create-organization-api-key-options.interface.d.cts +1 -1
- package/lib/api-keys/interfaces/index.d.cts +2 -2
- package/lib/api-keys/interfaces/list-organization-api-keys-options.interface.d.cts +1 -1
- package/lib/api-keys/serializers/create-organization-api-key-options.serializer.d.cts +1 -1
- package/lib/api-keys/serializers/index.d.cts +1 -1
- package/lib/{api-keys-OJfN1xfX.d.cts → api-keys-CSDwj0TW.d.cts} +30 -30
- package/lib/audit-logs/audit-logs.d.cts +1 -1
- package/lib/{authentication-event.serializer-mddvaOjb.cjs → authentication-event.serializer-CqD91u8L.cjs} +2 -2
- package/lib/authentication-event.serializer-CqD91u8L.cjs.map +1 -0
- package/lib/authorization/authorization.d.cts +1 -1
- package/lib/authorization/index.d.cts +7 -7
- package/lib/authorization/interfaces/index.d.cts +6 -6
- package/lib/authorization/interfaces/list-authorization-resources-options.interface.d.cts +1 -1
- package/lib/authorization/interfaces/list-memberships-for-resource-by-external-id-options.interface.d.cts +1 -1
- package/lib/authorization/interfaces/list-memberships-for-resource-options.interface.d.cts +1 -1
- package/lib/authorization/interfaces/list-permissions-options.interface.d.cts +1 -1
- package/lib/authorization/interfaces/list-resources-for-membership-options.interface.d.cts +1 -1
- package/lib/authorization/interfaces/list-role-assignments-options.interface.d.cts +1 -1
- package/lib/authorization/serializers/index.d.cts +4 -4
- package/lib/authorization/serializers/list-authorization-resources-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/list-memberships-for-resource-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/list-resources-for-membership-options.serializer.d.cts +1 -1
- package/lib/authorization/serializers/organization-role.serializer.d.cts +1 -1
- package/lib/{batch-write-resources-options.serializer-AOQbeleT.d.cts → batch-write-resources-options.serializer-GM8V5Aal.d.cts} +2 -2
- package/lib/{check-options.serializer-5pk3sfuU.d.cts → check-options.serializer-Cas9qPez.d.cts} +2 -2
- package/lib/{check.interface-CiNYxsPC.d.cts → check.interface-DChTIYQh.d.cts} +3 -3
- package/lib/common/interfaces/event.interface.d.cts +1 -1
- package/lib/common/interfaces/index.d.cts +3 -3
- package/lib/common/interfaces/list.interface.d.cts +1 -1
- package/lib/common/interfaces/list.interface.d.ts +4 -4
- package/lib/common/interfaces/pagination-options.interface.d.cts +1 -1
- package/lib/common/interfaces/pagination-options.interface.d.ts +2 -2
- package/lib/common/net/fetch-client.cjs +1 -1
- package/lib/common/net/http-client.cjs +1 -1
- package/lib/common/net/http-client.js +1 -1
- package/lib/common/net/http-client.js.map +1 -1
- package/lib/common/serializers/event.serializer.cjs +1 -1
- package/lib/common/serializers/event.serializer.d.cts +1 -1
- package/lib/common/serializers/index.cjs +1 -1
- package/lib/common/serializers/index.d.cts +3 -3
- package/lib/common/serializers/list.serializer.d.cts +1 -1
- package/lib/common/serializers/pagination-options.serializer.d.cts +1 -1
- package/lib/common/utils/fetch-and-deserialize.d.cts +3 -3
- package/lib/common/utils/pagination.d.cts +1 -1
- package/lib/common/utils/pagination.d.ts +2 -2
- package/lib/{connection.serializer-phS0D1t9.cjs → connection.serializer-sFgaPd28.cjs} +2 -2
- package/lib/connection.serializer-sFgaPd28.cjs.map +1 -0
- package/lib/{create-organization-api-key-options.serializer-BF4uMC-l.d.cts → create-organization-api-key-options.serializer-uJAPlCtK.d.cts} +2 -2
- package/lib/{create-organization-options.serializer-DLUDlaQA.d.cts → create-organization-options.serializer-B6uBWIo2.d.cts} +2 -2
- package/lib/{create-resource-options.serializer-wt7jffzB.d.cts → create-resource-options.serializer-DvsMM37G.d.cts} +2 -2
- package/lib/{delete-resource-options.serializer-C_7j-llT.d.cts → delete-resource-options.serializer-B7q-mf-L.d.cts} +2 -2
- package/lib/directory-sync/directory-sync.cjs +1 -1
- package/lib/directory-sync/directory-sync.d.cts +1 -1
- package/lib/directory-sync/interfaces/directory-user.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/index.d.cts +4 -4
- package/lib/directory-sync/interfaces/list-directories-options.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/list-directory-users-options.interface.d.cts +1 -1
- package/lib/directory-sync/interfaces/list-groups-options.interface.d.cts +1 -1
- package/lib/directory-sync/serializers/directory-user.serializer.cjs +1 -1
- package/lib/directory-sync/serializers/directory-user.serializer.d.cts +1 -1
- package/lib/directory-sync/serializers/directory-user.serializer.js +4 -4
- package/lib/directory-sync/serializers/directory-user.serializer.js.map +1 -1
- package/lib/directory-sync/serializers/index.cjs +1 -1
- package/lib/directory-sync/serializers/index.d.cts +2 -2
- package/lib/directory-sync/serializers/list-directories-options.serializer.d.cts +1 -1
- package/lib/{directory-sync-BGWLeGge.cjs → directory-sync-ClseMB3c.cjs} +2 -2
- package/lib/{directory-sync-BGWLeGge.cjs.map → directory-sync-ClseMB3c.cjs.map} +1 -1
- package/lib/{directory-user.serializer-UTYCZSSB.cjs → directory-user.serializer-BSflXAKm.cjs} +5 -5
- package/lib/directory-user.serializer-BSflXAKm.cjs.map +1 -0
- package/lib/{directory-user.serializer-BYRUfzrl.d.cts → directory-user.serializer-XxQp-UAE.d.cts} +2 -2
- package/lib/{event.serializer-sODBRJP0.cjs → event.serializer-Cn5xAuN9.cjs} +7 -7
- package/lib/{event.serializer-sODBRJP0.cjs.map → event.serializer-Cn5xAuN9.cjs.map} +1 -1
- package/lib/{event.serializer-CUdxp9OM.d.cts → event.serializer-UUziUbH3.d.cts} +2 -2
- package/lib/events/events.cjs +1 -1
- package/lib/events/events.d.cts +1 -1
- package/lib/events/interfaces/index.d.cts +1 -1
- package/lib/events/interfaces/list-events-options.interface.d.cts +1 -1
- package/lib/events/serializers/index.d.cts +1 -1
- package/lib/events/serializers/list-event-options.serializer.d.cts +1 -1
- package/lib/{events-CgfiCVFD.cjs → events-DDmTI2cj.cjs} +2 -2
- package/lib/{events-CgfiCVFD.cjs.map → events-DDmTI2cj.cjs.map} +1 -1
- package/lib/{factory-DWGULNUv.cjs → factory-CzXPjI1E.cjs} +2 -2
- package/lib/{factory-DWGULNUv.cjs.map → factory-CzXPjI1E.cjs.map} +1 -1
- package/lib/factory.cjs +3 -3
- package/lib/factory.d.cts +1 -1
- package/lib/feature-flags/feature-flags.d.cts +1 -1
- package/lib/feature-flags/interfaces/index.d.cts +1 -1
- package/lib/feature-flags/interfaces/list-feature-flags-options.interface.d.cts +1 -1
- package/lib/{fetch-client-Br9ipQ8n.cjs → fetch-client-BGoo0snw.cjs} +2 -2
- package/lib/{fetch-client-Br9ipQ8n.cjs.map → fetch-client-BGoo0snw.cjs.map} +1 -1
- package/lib/fga/fga.d.cts +1 -1
- package/lib/fga/interfaces/check.interface.d.cts +1 -1
- package/lib/fga/interfaces/index.d.cts +4 -4
- package/lib/fga/interfaces/list.interface.d.cts +1 -1
- package/lib/fga/interfaces/query.interface.d.cts +1 -1
- package/lib/fga/interfaces/resource.interface.d.cts +1 -1
- package/lib/fga/interfaces/warrant.interface.d.cts +1 -1
- package/lib/fga/interfaces/warrant.interface.d.ts +2 -2
- package/lib/fga/serializers/batch-write-resources-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/check-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/create-resource-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/delete-resource-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/index.d.cts +12 -12
- package/lib/fga/serializers/list-resources-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/list-warrants-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/list.serializer.d.cts +1 -1
- package/lib/fga/serializers/query-options.serializer.d.cts +1 -1
- package/lib/fga/serializers/query-result.serializer.d.cts +1 -1
- package/lib/fga/serializers/resource.serializer.d.cts +1 -1
- package/lib/fga/serializers/warrant.serializer.d.cts +1 -1
- package/lib/fga/serializers/write-warrant-options.serializer.d.cts +1 -1
- package/lib/fga/utils/fetch-and-deserialize-list.d.cts +4 -4
- package/lib/fga/utils/fga-paginatable.d.cts +1 -1
- package/lib/fga/utils/interface-check.d.cts +2 -2
- package/lib/{fga-paginatable-DYGgFxzL.d.cts → fga-paginatable-joDdx-bk.d.cts} +4 -4
- package/lib/{generate-portal-link-intent.interface-BQMOkPft.d.cts → generate-portal-link-intent.interface-DM9FRX0P.d.cts} +2 -1
- package/lib/{generate-portal-link-intent.interface-CCKgsr2O.cjs → generate-portal-link-intent.interface-K2TgL9nP.cjs} +2 -1
- package/lib/generate-portal-link-intent.interface-K2TgL9nP.cjs.map +1 -0
- package/lib/{http-client-DZQxEd4J.cjs → http-client-DTfNcqaR.cjs} +2 -2
- package/lib/http-client-DTfNcqaR.cjs.map +1 -0
- package/lib/{index-BIw0X_SV.d.cts → index-DYVTG9fR.d.cts} +2 -2
- package/lib/index.cjs +7 -7
- package/lib/index.d.cts +30 -30
- package/lib/index.worker.cjs +7 -7
- package/lib/index.worker.d.cts +25 -25
- package/lib/{list-authorization-resources-options.interface-DGEUHL6V.d.cts → list-authorization-resources-options.interface-Bi7-RuXa.d.cts} +2 -2
- package/lib/{list-authorization-resources-options.serializer-LWnyxV9R.d.cts → list-authorization-resources-options.serializer-Bcr7oINk.d.cts} +2 -2
- package/lib/{list-connections-options.interface-DVXp4re1.d.cts → list-connections-options.interface-DMjyCQNt.d.cts} +2 -2
- package/lib/{list-connections-options.serializer-oZKaQIbM.d.cts → list-connections-options.serializer-CrF1Ymfh.d.cts} +2 -2
- package/lib/{list-directories-options.interface-CcEf0ljy.d.cts → list-directories-options.interface-BQt9KBRx.d.cts} +2 -2
- package/lib/{list-directories-options.serializer-wDBlMx46.d.cts → list-directories-options.serializer-C9goOgkU.d.cts} +2 -2
- package/lib/{list-directory-users-options.interface-ByCIBUjA.d.cts → list-directory-users-options.interface-DoyU-KHK.d.cts} +2 -2
- package/lib/{list-event-options.serializer-DFGqBMuU.d.cts → list-event-options.serializer-C_A6oxeu.d.cts} +2 -2
- package/lib/{list-events-options.interface-D6nLmJQl.d.cts → list-events-options.interface-Iyr1CHB0.d.cts} +2 -2
- package/lib/{list-feature-flags-options.interface-BDzOTdye.d.cts → list-feature-flags-options.interface-BCSWpNdc.d.cts} +2 -2
- package/lib/{list-groups-options.interface-DjW5LHiP.d.cts → list-groups-options.interface-b3GVqSII.d.cts} +2 -2
- package/lib/{list-memberships-for-resource-by-external-id-options.interface-2SPYpjXz.d.cts → list-memberships-for-resource-by-external-id-options.interface-J1_qZirj.d.cts} +2 -2
- package/lib/{list-memberships-for-resource-options.interface-DYjL4T-O.d.cts → list-memberships-for-resource-options.interface-WKyR83kP.d.cts} +2 -2
- package/lib/{list-memberships-for-resource-options.serializer-CZyTun33.d.cts → list-memberships-for-resource-options.serializer-DNDxpu2K.d.cts} +3 -3
- package/lib/{list-organization-api-keys-options.interface-DP6NjvYw.d.cts → list-organization-api-keys-options.interface-CsxRRYj6.d.cts} +2 -2
- package/lib/{list-organization-feature-flags-options.interface-BuY-zNS_.d.cts → list-organization-feature-flags-options.interface-M3Jmv5_Z.d.cts} +2 -2
- package/lib/{list-organizations-options.interface-CR5m7YfR.d.cts → list-organizations-options.interface-n4qDIe17.d.cts} +2 -2
- package/lib/{list-resources-for-membership-options.interface-BxIdPPlj.d.cts → list-resources-for-membership-options.interface-CCuX2l-i.d.cts} +2 -2
- package/lib/{list-resources-for-membership-options.serializer-Cz9gPByQ.d.cts → list-resources-for-membership-options.serializer-L3x4ttf1.d.cts} +2 -2
- package/lib/{list-resources-options.serializer-rf5arsbR.d.cts → list-resources-options.serializer-BR7F9KEZ.d.cts} +2 -2
- package/lib/{list-role-assignments-options.interface-CitVe5-E.d.cts → list-role-assignments-options.interface-G1byAUOU.d.cts} +2 -2
- package/lib/{list-sessions-options.interface-rRvxj4no.d.cts → list-sessions-options.interface-CZdBtY49.d.cts} +2 -2
- package/lib/{list-sessions-options.serializer-Bt-16Y8Y.d.cts → list-sessions-options.serializer-BVgXGaUW.d.cts} +2 -2
- package/lib/{list-users-options.interface-BrZWq49H.d.cts → list-users-options.interface-Bmgojx_R.d.cts} +2 -2
- package/lib/{list-warrants-options.serializer-DXo_srPx.d.cts → list-warrants-options.serializer-C1T1ysdg.d.cts} +2 -2
- package/lib/{list.interface-BMsjwGOu.d.cts → list.interface-D2Q6nKBO.d.cts} +5 -5
- package/lib/{list.interface-BzCMY9Yg.d.cts → list.interface-dnxfqUTZ.d.cts} +2 -2
- package/lib/{list.serializer-BGYIG8Hl.d.cts → list.serializer-CvYFfpso.d.cts} +3 -3
- package/lib/{list.serializer-DPAtA6zK.d.cts → list.serializer-DQ9MJjpQ.d.cts} +2 -2
- package/lib/mfa/mfa.d.cts +1 -1
- package/lib/{organization-domain.serializer-BuecMdCg.cjs → organization-domain.serializer-DVylNcLm.cjs} +2 -2
- package/lib/organization-domain.serializer-DVylNcLm.cjs.map +1 -0
- package/lib/organization-domains/organization-domains.cjs +1 -1
- package/lib/organization-domains/organization-domains.d.cts +1 -1
- package/lib/organization-domains/serializers/organization-domain.serializer.cjs +1 -1
- package/lib/organization-domains/serializers/organization-domain.serializer.js +1 -1
- package/lib/organization-domains/serializers/organization-domain.serializer.js.map +1 -1
- package/lib/{organization-domains-BINLS8SW.cjs → organization-domains-DhcxuHzd.cjs} +2 -2
- package/lib/{organization-domains-BINLS8SW.cjs.map → organization-domains-DhcxuHzd.cjs.map} +1 -1
- package/lib/{organization-role.serializer-CXvUe32C.d.cts → organization-role.serializer-DTDhk4Nh.d.cts} +2 -2
- package/lib/{organization.serializer-DM6Xkk2V.cjs → organization.serializer-CVNQSfQH.cjs} +2 -2
- package/lib/{organization.serializer-DM6Xkk2V.cjs.map → organization.serializer-CVNQSfQH.cjs.map} +1 -1
- package/lib/organizations/interfaces/create-organization-options.interface.d.cts +1 -1
- package/lib/organizations/interfaces/index.d.cts +3 -3
- package/lib/organizations/interfaces/list-organization-feature-flags-options.interface.d.cts +1 -1
- package/lib/organizations/interfaces/list-organizations-options.interface.d.cts +1 -1
- package/lib/organizations/organizations.cjs +1 -1
- package/lib/organizations/organizations.d.cts +1 -1
- package/lib/organizations/serializers/create-organization-options.serializer.d.cts +1 -1
- package/lib/organizations/serializers/index.cjs +1 -1
- package/lib/organizations/serializers/index.d.cts +1 -1
- package/lib/organizations/serializers/organization.serializer.cjs +1 -1
- package/lib/{organizations-BvnCc0n6.cjs → organizations-DBZSzZs0.cjs} +2 -2
- package/lib/{organizations-BvnCc0n6.cjs.map → organizations-DBZSzZs0.cjs.map} +1 -1
- package/lib/{pagination-DARFXAuP.d.cts → pagination-HWQZtuX6.d.cts} +5 -5
- package/lib/{pagination-options.interface--3MwpP52.d.cts → pagination-options.interface-BzIEA3yY.d.cts} +3 -3
- package/lib/{pagination-options.serializer-DmyeFigF.d.cts → pagination-options.serializer-uFxSSjyn.d.cts} +2 -2
- package/lib/passwordless/passwordless.d.cts +1 -1
- package/lib/pipes/pipes.d.cts +1 -1
- package/lib/portal/interfaces/generate-portal-link-intent.interface.cjs +1 -1
- package/lib/portal/interfaces/generate-portal-link-intent.interface.d.cts +1 -1
- package/lib/portal/interfaces/generate-portal-link-intent.interface.d.ts +1 -0
- package/lib/portal/interfaces/generate-portal-link-intent.interface.js +1 -0
- package/lib/portal/interfaces/generate-portal-link-intent.interface.js.map +1 -1
- package/lib/portal/interfaces/index.cjs +1 -1
- package/lib/portal/interfaces/index.d.cts +1 -1
- package/lib/portal/portal.d.cts +1 -1
- package/lib/{profile-and-token.serializer-OV839v64.d.cts → profile-and-token.serializer-BrOalmOt.d.cts} +2 -2
- package/lib/{profile-and-token.serializer-CUFdGpX3.cjs → profile-and-token.serializer-DfWI_L92.cjs} +2 -2
- package/lib/{profile-and-token.serializer-CUFdGpX3.cjs.map → profile-and-token.serializer-DfWI_L92.cjs.map} +1 -1
- package/lib/profile.serializer-DM0Zpbrc.cjs +26 -0
- package/lib/profile.serializer-DM0Zpbrc.cjs.map +1 -0
- package/lib/{profile.serializer-CMW0xbca.d.cts → profile.serializer-EDpJlY-r.d.cts} +2 -2
- package/lib/{query-options.serializer-Cjv6DV1k.d.cts → query-options.serializer-DrRDm7He.d.cts} +2 -2
- package/lib/{query-result.serializer-Dy0eBy0g.d.cts → query-result.serializer-CJnHUV8v.d.cts} +3 -3
- package/lib/{query.interface-BSHlqTYK.d.cts → query.interface-DvI8OOX6.d.cts} +3 -3
- package/lib/{read-object.interface-BwzjcSVm.d.cts → read-object.interface-bYptR15L.d.cts} +2 -2
- package/lib/{resource.interface-D-MMSzFn.d.cts → resource.interface-DSxkG9Jg.d.cts} +2 -2
- package/lib/{resource.serializer-CNYCg5zr.d.cts → resource.serializer-DbjYmqjL.d.cts} +2 -2
- package/lib/roles/interfaces/index.d.cts +1 -1
- package/lib/roles/interfaces/role.interface.d.cts +1 -1
- package/lib/roles/serializers/role.serializer.d.cts +1 -1
- package/lib/{session.serializer-Dmj9Hm3q.cjs → session.serializer-B63NxvRH.cjs} +3 -3
- package/lib/session.serializer-B63NxvRH.cjs.map +1 -0
- package/lib/sso/interfaces/index.d.cts +2 -2
- package/lib/sso/interfaces/list-connections-options.interface.d.cts +1 -1
- package/lib/sso/interfaces/profile-and-token.interface.d.cts +1 -1
- package/lib/sso/interfaces/profile.interface.d.cts +1 -1
- package/lib/sso/serializers/connection.serializer.cjs +1 -1
- package/lib/sso/serializers/connection.serializer.js +1 -1
- package/lib/sso/serializers/connection.serializer.js.map +1 -1
- package/lib/sso/serializers/index.cjs +3 -3
- package/lib/sso/serializers/index.d.cts +3 -3
- package/lib/sso/serializers/list-connections-options.serializer.d.cts +1 -1
- package/lib/sso/serializers/profile-and-token.serializer.cjs +1 -1
- package/lib/sso/serializers/profile-and-token.serializer.d.cts +1 -1
- package/lib/sso/serializers/profile.serializer.cjs +1 -1
- package/lib/sso/serializers/profile.serializer.d.cts +1 -1
- package/lib/sso/serializers/profile.serializer.js +8 -8
- package/lib/sso/serializers/profile.serializer.js.map +1 -1
- package/lib/sso/sso.cjs +1 -1
- package/lib/sso/sso.d.cts +1 -1
- package/lib/{sso-FWyObHDp.cjs → sso-CagxPT-U.cjs} +4 -4
- package/lib/{sso-FWyObHDp.cjs.map → sso-CagxPT-U.cjs.map} +1 -1
- package/lib/user-management/interfaces/index.d.cts +3 -3
- package/lib/user-management/interfaces/list-auth-factors-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-invitations-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-organization-memberships-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-sessions-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-user-feature-flags-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/list-users-options.interface.d.cts +1 -1
- package/lib/user-management/interfaces/organization-membership.interface.d.cts +1 -1
- package/lib/user-management/serializers/authentication-event.serializer.cjs +1 -1
- package/lib/user-management/serializers/authentication-event.serializer.js +1 -1
- package/lib/user-management/serializers/authentication-event.serializer.js.map +1 -1
- package/lib/user-management/serializers/index.cjs +2 -2
- package/lib/user-management/serializers/index.d.cts +1 -1
- package/lib/user-management/serializers/list-invitations-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-organization-memberships-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-sessions-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/list-users-options.serializer.d.cts +1 -1
- package/lib/user-management/serializers/organization-membership.serializer.d.cts +1 -1
- package/lib/user-management/serializers/role.serializer.d.cts +1 -1
- package/lib/user-management/serializers/session.serializer.cjs +1 -1
- package/lib/user-management/serializers/session.serializer.js +2 -2
- package/lib/user-management/serializers/session.serializer.js.map +1 -1
- package/lib/user-management/session.d.cts +1 -1
- package/lib/user-management/user-management.cjs +1 -1
- package/lib/user-management/user-management.d.cts +1 -1
- package/lib/{user-management-CTQFnn4h.cjs → user-management-DEOOSelF.cjs} +2 -2
- package/lib/{user-management-CTQFnn4h.cjs.map → user-management-DEOOSelF.cjs.map} +1 -1
- package/lib/vault/interfaces/index.d.cts +1 -1
- package/lib/vault/interfaces/object/read-object.interface.d.cts +1 -1
- package/lib/vault/interfaces/object/read-object.interface.d.ts +1 -1
- package/lib/vault/serializers/vault-object.serializer.cjs +1 -1
- package/lib/vault/serializers/vault-object.serializer.d.cts +2 -2
- package/lib/vault/serializers/vault-object.serializer.js +3 -3
- package/lib/vault/serializers/vault-object.serializer.js.map +1 -1
- package/lib/vault/vault.cjs +1 -1
- package/lib/vault/vault.d.cts +1 -1
- package/lib/{vault-tqn3i5Ms.cjs → vault-BR8gbCEq.cjs} +2 -2
- package/lib/{vault-tqn3i5Ms.cjs.map → vault-BR8gbCEq.cjs.map} +1 -1
- package/lib/{vault-object.serializer-CwmJwCnO.cjs → vault-object.serializer-Cx7rAuca.cjs} +4 -4
- package/lib/vault-object.serializer-Cx7rAuca.cjs.map +1 -0
- package/lib/{warrant.interface-DPnDplf7.d.cts → warrant.interface-DgQN4yxm.d.cts} +4 -4
- package/lib/{warrant.serializer-DSuf7fH7.d.cts → warrant.serializer-BX6Tonfl.d.cts} +2 -2
- package/lib/webhooks/webhooks.cjs +1 -1
- package/lib/webhooks/webhooks.d.cts +1 -1
- package/lib/{webhooks-B1jXr6Fj.d.cts → webhooks-2-hbZwWC.d.cts} +2 -2
- package/lib/{webhooks-BxQxp6AJ.cjs → webhooks-DX8LtZMD.cjs} +2 -2
- package/lib/{webhooks-BxQxp6AJ.cjs.map → webhooks-DX8LtZMD.cjs.map} +1 -1
- package/lib/widgets/widgets.d.cts +1 -1
- package/lib/{workos-y5BVhQQQ.cjs → workos-CEha64Qs.cjs} +13 -13
- package/lib/{workos-y5BVhQQQ.cjs.map → workos-CEha64Qs.cjs.map} +1 -1
- package/lib/workos.cjs +2 -2
- package/lib/workos.d.cts +1 -1
- package/lib/workos.js +1 -1
- package/lib/workos.js.map +1 -1
- package/lib/{write-warrant-options.serializer-BVsqqyjn.d.cts → write-warrant-options.serializer-Bk5t0x2w.d.cts} +2 -2
- package/package.json +1 -1
- package/lib/authentication-event.serializer-mddvaOjb.cjs.map +0 -1
- package/lib/connection.serializer-phS0D1t9.cjs.map +0 -1
- package/lib/directory-user.serializer-UTYCZSSB.cjs.map +0 -1
- package/lib/generate-portal-link-intent.interface-CCKgsr2O.cjs.map +0 -1
- package/lib/http-client-DZQxEd4J.cjs.map +0 -1
- package/lib/organization-domain.serializer-BuecMdCg.cjs.map +0 -1
- package/lib/profile.serializer-BDlm0TRU.cjs +0 -26
- package/lib/profile.serializer-BDlm0TRU.cjs.map +0 -1
- package/lib/session.serializer-Dmj9Hm3q.cjs.map +0 -1
- package/lib/vault-object.serializer-CwmJwCnO.cjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as PaginationOptions } from "../../pagination-options.interface
|
|
2
|
-
import { $ as DsyncGroupUserRemovedEventResponse, $t as PasswordResetSucceededEventResponse, A as AuthenticationSSOFailedEvent, At as OrganizationDomainUpdatedEvent, B as DsyncActivatedEvent, Bt as OrganizationMembershipUpdated, C as AuthenticationPasskeySucceededEventResponse, Ct as OrganizationCreatedResponse, D as AuthenticationPasswordSucceededEventResponse, Dt as OrganizationDomainCreatedEventResponse, E as AuthenticationPasswordSucceededEvent, Et as OrganizationDomainCreatedEvent, F as ConnectionActivatedEventResponse, Ft as OrganizationDomainVerifiedEventResponse, G as DsyncGroupCreatedEventResponse, Gt as OrganizationRoleDeletedEventResponse, H as DsyncDeletedEvent, Ht as OrganizationRoleCreatedEvent, I as ConnectionDeactivatedEvent, It as OrganizationMembershipCreated, J as DsyncGroupUpdatedEvent, Jt as OrganizationUpdatedEvent, K as DsyncGroupDeletedEvent, Kt as OrganizationRoleUpdatedEvent, L as ConnectionDeactivatedEventResponse, Lt as OrganizationMembershipCreatedResponse, M as AuthenticationSSOSucceededEvent, Mt as OrganizationDomainVerificationFailedEvent, N as AuthenticationSSOSucceededEventResponse, Nt as OrganizationDomainVerificationFailedEventResponse, O as AuthenticationRadarRiskDetectedEvent, Ot as OrganizationDomainDeletedEvent, P as ConnectionActivatedEvent, Pt as OrganizationDomainVerifiedEvent, Q as DsyncGroupUserRemovedEvent, Qt as PasswordResetSucceededEvent, R as ConnectionDeletedEvent, Rt as OrganizationMembershipDeleted, S as AuthenticationPasskeySucceededEvent, St as OrganizationCreatedEvent, T as AuthenticationPasswordFailedEventResponse, Tt as OrganizationDeletedResponse, U as DsyncDeletedEventResponse, Ut as OrganizationRoleCreatedEventResponse, V as DsyncActivatedEventResponse, Vt as OrganizationMembershipUpdatedResponse, W as DsyncGroupCreatedEvent, Wt as OrganizationRoleDeletedEvent, X as DsyncGroupUserAddedEvent, Xt as PasswordResetCreatedEvent, Y as DsyncGroupUpdatedEventResponse, Yt as OrganizationUpdatedResponse, Z as DsyncGroupUserAddedEventResponse, Zt as PasswordResetCreatedEventResponse, _ as AuthenticationOAuthFailedEventResponse, _n as UserCreatedEventResponse, _t as InvitationResentEventResponse, a as ApiKeyCreatedEventResponse, an as PermissionUpdatedEventResponse, at as DsyncUserUpdatedEventResponse, b as AuthenticationPasskeyFailedEvent, bn as UserUpdatedEvent, bt as MagicAuthCreatedEvent, c as AuthenticationEmailVerificationSucceededEvent, cn as RoleDeletedEvent, ct as Event, d as AuthenticationMagicAuthFailedEventResponse, dn as RoleUpdatedEventResponse, dt as EventResponse, en as PermissionCreatedEvent, et as DsyncUserCreatedEvent, f as AuthenticationMagicAuthSucceededEvent, fn as SessionCreatedEvent, ft as InvitationAcceptedEvent, g as AuthenticationOAuthFailedEvent, gn as UserCreatedEvent, gt as InvitationResentEvent, h as AuthenticationMfaSucceededEventResponse, hn as SessionRevokedEventResponse, ht as InvitationCreatedEventResponse, i as ApiKeyCreatedEvent, in as PermissionUpdatedEvent, it as DsyncUserUpdatedEvent, j as AuthenticationSSOFailedEventResponse, jt as OrganizationDomainUpdatedEventResponse, k as AuthenticationRadarRiskDetectedEventResponse, kt as OrganizationDomainDeletedEventResponse, l as AuthenticationEmailVerificationSucceededEventResponse, ln as RoleDeletedEventResponse, lt as EventBase, m as AuthenticationMfaSucceededEvent, mn as SessionRevokedEvent, mt as InvitationCreatedEvent, nn as PermissionDeletedEvent, nt as DsyncUserDeletedEvent, o as ApiKeyRevokedEvent, on as RoleCreatedEvent, ot as EmailVerificationCreatedEvent, p as AuthenticationMagicAuthSucceededEventResponse, pn as SessionCreatedEventResponse, pt as InvitationAcceptedEventResponse, q as DsyncGroupDeletedEventResponse, qt as OrganizationRoleUpdatedEventResponse, rn as PermissionDeletedEventResponse, rt as DsyncUserDeletedEventResponse, s as ApiKeyRevokedEventResponse, sn as RoleCreatedEventResponse, st as EmailVerificationCreatedEventResponse, tn as PermissionCreatedEventResponse, tt as DsyncUserCreatedEventResponse, u as AuthenticationMagicAuthFailedEvent, un as RoleUpdatedEvent, ut as EventName, v as AuthenticationOAuthSucceededEvent, vn as UserDeletedEvent, vt as InvitationRevokedEvent, w as AuthenticationPasswordFailedEvent, wt as OrganizationDeletedEvent, x as AuthenticationPasskeyFailedEventResponse, xn as UserUpdatedEventResponse, xt as MagicAuthCreatedEventResponse, y as AuthenticationOAuthSucceededEventResponse, yn as UserDeletedEventResponse, yt as InvitationRevokedEventResponse, z as ConnectionDeletedEventResponse, zt as OrganizationMembershipDeletedResponse } from "../../index-
|
|
1
|
+
import { t as PaginationOptions } from "../../pagination-options.interface-BzIEA3yY.cjs";
|
|
2
|
+
import { $ as DsyncGroupUserRemovedEventResponse, $t as PasswordResetSucceededEventResponse, A as AuthenticationSSOFailedEvent, At as OrganizationDomainUpdatedEvent, B as DsyncActivatedEvent, Bt as OrganizationMembershipUpdated, C as AuthenticationPasskeySucceededEventResponse, Ct as OrganizationCreatedResponse, D as AuthenticationPasswordSucceededEventResponse, Dt as OrganizationDomainCreatedEventResponse, E as AuthenticationPasswordSucceededEvent, Et as OrganizationDomainCreatedEvent, F as ConnectionActivatedEventResponse, Ft as OrganizationDomainVerifiedEventResponse, G as DsyncGroupCreatedEventResponse, Gt as OrganizationRoleDeletedEventResponse, H as DsyncDeletedEvent, Ht as OrganizationRoleCreatedEvent, I as ConnectionDeactivatedEvent, It as OrganizationMembershipCreated, J as DsyncGroupUpdatedEvent, Jt as OrganizationUpdatedEvent, K as DsyncGroupDeletedEvent, Kt as OrganizationRoleUpdatedEvent, L as ConnectionDeactivatedEventResponse, Lt as OrganizationMembershipCreatedResponse, M as AuthenticationSSOSucceededEvent, Mt as OrganizationDomainVerificationFailedEvent, N as AuthenticationSSOSucceededEventResponse, Nt as OrganizationDomainVerificationFailedEventResponse, O as AuthenticationRadarRiskDetectedEvent, Ot as OrganizationDomainDeletedEvent, P as ConnectionActivatedEvent, Pt as OrganizationDomainVerifiedEvent, Q as DsyncGroupUserRemovedEvent, Qt as PasswordResetSucceededEvent, R as ConnectionDeletedEvent, Rt as OrganizationMembershipDeleted, S as AuthenticationPasskeySucceededEvent, St as OrganizationCreatedEvent, T as AuthenticationPasswordFailedEventResponse, Tt as OrganizationDeletedResponse, U as DsyncDeletedEventResponse, Ut as OrganizationRoleCreatedEventResponse, V as DsyncActivatedEventResponse, Vt as OrganizationMembershipUpdatedResponse, W as DsyncGroupCreatedEvent, Wt as OrganizationRoleDeletedEvent, X as DsyncGroupUserAddedEvent, Xt as PasswordResetCreatedEvent, Y as DsyncGroupUpdatedEventResponse, Yt as OrganizationUpdatedResponse, Z as DsyncGroupUserAddedEventResponse, Zt as PasswordResetCreatedEventResponse, _ as AuthenticationOAuthFailedEventResponse, _n as UserCreatedEventResponse, _t as InvitationResentEventResponse, a as ApiKeyCreatedEventResponse, an as PermissionUpdatedEventResponse, at as DsyncUserUpdatedEventResponse, b as AuthenticationPasskeyFailedEvent, bn as UserUpdatedEvent, bt as MagicAuthCreatedEvent, c as AuthenticationEmailVerificationSucceededEvent, cn as RoleDeletedEvent, ct as Event, d as AuthenticationMagicAuthFailedEventResponse, dn as RoleUpdatedEventResponse, dt as EventResponse, en as PermissionCreatedEvent, et as DsyncUserCreatedEvent, f as AuthenticationMagicAuthSucceededEvent, fn as SessionCreatedEvent, ft as InvitationAcceptedEvent, g as AuthenticationOAuthFailedEvent, gn as UserCreatedEvent, gt as InvitationResentEvent, h as AuthenticationMfaSucceededEventResponse, hn as SessionRevokedEventResponse, ht as InvitationCreatedEventResponse, i as ApiKeyCreatedEvent, in as PermissionUpdatedEvent, it as DsyncUserUpdatedEvent, j as AuthenticationSSOFailedEventResponse, jt as OrganizationDomainUpdatedEventResponse, k as AuthenticationRadarRiskDetectedEventResponse, kt as OrganizationDomainDeletedEventResponse, l as AuthenticationEmailVerificationSucceededEventResponse, ln as RoleDeletedEventResponse, lt as EventBase, m as AuthenticationMfaSucceededEvent, mn as SessionRevokedEvent, mt as InvitationCreatedEvent, nn as PermissionDeletedEvent, nt as DsyncUserDeletedEvent, o as ApiKeyRevokedEvent, on as RoleCreatedEvent, ot as EmailVerificationCreatedEvent, p as AuthenticationMagicAuthSucceededEventResponse, pn as SessionCreatedEventResponse, pt as InvitationAcceptedEventResponse, q as DsyncGroupDeletedEventResponse, qt as OrganizationRoleUpdatedEventResponse, rn as PermissionDeletedEventResponse, rt as DsyncUserDeletedEventResponse, s as ApiKeyRevokedEventResponse, sn as RoleCreatedEventResponse, st as EmailVerificationCreatedEventResponse, tn as PermissionCreatedEventResponse, tt as DsyncUserCreatedEventResponse, u as AuthenticationMagicAuthFailedEvent, un as RoleUpdatedEvent, ut as EventName, v as AuthenticationOAuthSucceededEvent, vn as UserDeletedEvent, vt as InvitationRevokedEvent, w as AuthenticationPasswordFailedEvent, wt as OrganizationDeletedEvent, x as AuthenticationPasskeyFailedEventResponse, xn as UserUpdatedEventResponse, xt as MagicAuthCreatedEventResponse, y as AuthenticationOAuthSucceededEventResponse, yn as UserDeletedEventResponse, yt as InvitationRevokedEventResponse, z as ConnectionDeletedEventResponse, zt as OrganizationMembershipDeletedResponse } from "../../index-DYVTG9fR.cjs";
|
|
3
3
|
import { t as GetOptions } from "../../get-options.interface-DoL0T9e1.cjs";
|
|
4
|
-
import { n as ListResponse, t as List } from "../../list.interface-
|
|
4
|
+
import { n as ListResponse, t as List } from "../../list.interface-D2Q6nKBO.cjs";
|
|
5
5
|
import { t as PatchOptions } from "../../patch-options.interface-BAVaR96y.cjs";
|
|
6
6
|
import { t as PostOptions } from "../../post-options.interface-D8yUBVGr.cjs";
|
|
7
7
|
import { t as PutOptions } from "../../put-options.interface-JSNS5evI.cjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ListResponse, t as List } from "../../list.interface-
|
|
1
|
+
import { n as ListResponse, t as List } from "../../list.interface-D2Q6nKBO.cjs";
|
|
2
2
|
export { List, ListResponse };
|
|
@@ -3,16 +3,16 @@ interface ListResponse<T> {
|
|
|
3
3
|
readonly object: 'list';
|
|
4
4
|
data: T[];
|
|
5
5
|
list_metadata: {
|
|
6
|
-
before?: string;
|
|
7
|
-
after?: string;
|
|
6
|
+
before?: string | null;
|
|
7
|
+
after?: string | null;
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
interface List<T> {
|
|
11
11
|
readonly object: 'list';
|
|
12
12
|
data: T[];
|
|
13
13
|
listMetadata: {
|
|
14
|
-
before?: string;
|
|
15
|
-
after?: string;
|
|
14
|
+
before?: string | null;
|
|
15
|
+
after?: string | null;
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PaginationOptions } from "../../pagination-options.interface
|
|
1
|
+
import { t as PaginationOptions } from "../../pagination-options.interface-BzIEA3yY.cjs";
|
|
2
2
|
export { PaginationOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_fetch_client = require('../../fetch-client-
|
|
1
|
+
const require_fetch_client = require('../../fetch-client-BGoo0snw.cjs');
|
|
2
2
|
|
|
3
3
|
exports.FetchHttpClient = require_fetch_client.FetchHttpClient;
|
|
4
4
|
exports.FetchHttpClientResponse = require_fetch_client.FetchHttpClientResponse;
|
|
@@ -29,7 +29,7 @@ var HttpClient = class HttpClient {
|
|
|
29
29
|
if (!queryObj) return void 0;
|
|
30
30
|
const sanitizedQueryObj = {};
|
|
31
31
|
Object.entries(queryObj).forEach(([param, value]) => {
|
|
32
|
-
if (value !==
|
|
32
|
+
if (value !== null && value !== void 0 && value !== "") sanitizedQueryObj[param] = value;
|
|
33
33
|
});
|
|
34
34
|
return new URLSearchParams(sanitizedQueryObj).toString();
|
|
35
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-client.js","names":["baseURL: string","options?: RequestInit","sanitizedQueryObj: Record<string, any>"],"sources":["../../../src/common/net/http-client.ts"],"sourcesContent":["import {\n HttpClientInterface,\n HttpClientResponseInterface,\n RequestHeaders,\n RequestOptions,\n ResponseHeaders,\n} from '../interfaces/http-client.interface';\n\nexport abstract class HttpClient implements HttpClientInterface {\n readonly MAX_RETRY_ATTEMPTS = 3;\n readonly BACKOFF_MULTIPLIER = 1.5;\n readonly MINIMUM_SLEEP_TIME_IN_MILLISECONDS = 500;\n readonly RETRY_STATUS_CODES = [408, 500, 502, 504];\n\n constructor(\n readonly baseURL: string,\n readonly options?: RequestInit,\n ) {}\n\n /** The HTTP client name used for diagnostics */\n getClientName(): string {\n throw new Error('getClientName not implemented');\n }\n\n abstract get(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract post<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract put<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract patch<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract delete(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract deleteWithBody<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n addClientToUserAgent(userAgent: string): string {\n if (userAgent.indexOf(' ') > -1) {\n return userAgent.replace(/\\b\\s/, `/${this.getClientName()} `);\n } else {\n return (userAgent += `/${this.getClientName()}`);\n }\n }\n\n static getResourceURL(\n baseURL: string,\n path: string,\n params?: Record<string, any>,\n ) {\n const queryString = HttpClient.getQueryString(params);\n const url = new URL([path, queryString].filter(Boolean).join('?'), baseURL);\n return url.toString();\n }\n\n static getQueryString(queryObj?: Record<string, any>) {\n if (!queryObj) return undefined;\n\n const sanitizedQueryObj: Record<string, any> = {};\n\n Object.entries(queryObj).forEach(([param, value]) => {\n if (value !==
|
|
1
|
+
{"version":3,"file":"http-client.js","names":["baseURL: string","options?: RequestInit","sanitizedQueryObj: Record<string, any>"],"sources":["../../../src/common/net/http-client.ts"],"sourcesContent":["import {\n HttpClientInterface,\n HttpClientResponseInterface,\n RequestHeaders,\n RequestOptions,\n ResponseHeaders,\n} from '../interfaces/http-client.interface';\n\nexport abstract class HttpClient implements HttpClientInterface {\n readonly MAX_RETRY_ATTEMPTS = 3;\n readonly BACKOFF_MULTIPLIER = 1.5;\n readonly MINIMUM_SLEEP_TIME_IN_MILLISECONDS = 500;\n readonly RETRY_STATUS_CODES = [408, 500, 502, 504];\n\n constructor(\n readonly baseURL: string,\n readonly options?: RequestInit,\n ) {}\n\n /** The HTTP client name used for diagnostics */\n getClientName(): string {\n throw new Error('getClientName not implemented');\n }\n\n abstract get(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract post<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract put<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract patch<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract delete(\n path: string,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n abstract deleteWithBody<Entity = any>(\n path: string,\n entity: Entity,\n options: RequestOptions,\n ): Promise<HttpClientResponseInterface>;\n\n addClientToUserAgent(userAgent: string): string {\n if (userAgent.indexOf(' ') > -1) {\n return userAgent.replace(/\\b\\s/, `/${this.getClientName()} `);\n } else {\n return (userAgent += `/${this.getClientName()}`);\n }\n }\n\n static getResourceURL(\n baseURL: string,\n path: string,\n params?: Record<string, any>,\n ) {\n const queryString = HttpClient.getQueryString(params);\n const url = new URL([path, queryString].filter(Boolean).join('?'), baseURL);\n return url.toString();\n }\n\n static getQueryString(queryObj?: Record<string, any>) {\n if (!queryObj) return undefined;\n\n const sanitizedQueryObj: Record<string, any> = {};\n\n Object.entries(queryObj).forEach(([param, value]) => {\n if (value !== null && value !== undefined && value !== '') {\n sanitizedQueryObj[param] = value;\n }\n });\n\n return new URLSearchParams(sanitizedQueryObj).toString();\n }\n\n static getContentTypeHeader(entity: any): RequestHeaders | undefined {\n if (entity instanceof URLSearchParams) {\n return {\n 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8',\n };\n }\n return undefined;\n }\n\n static getBody(entity: any): BodyInit | null | undefined {\n if (entity === null || entity instanceof URLSearchParams) {\n return entity;\n }\n\n return JSON.stringify(entity);\n }\n\n static isPathRetryable(path: string): boolean {\n return (\n path.startsWith('/fga/') ||\n path.startsWith('/vault/') ||\n path.startsWith('/audit_logs/events')\n );\n }\n\n private getSleepTimeInMilliseconds(retryAttempt: number): number {\n const sleepTime =\n this.MINIMUM_SLEEP_TIME_IN_MILLISECONDS *\n Math.pow(this.BACKOFF_MULTIPLIER, retryAttempt);\n const jitter = Math.random() + 0.5;\n return sleepTime * jitter;\n }\n\n sleep = (retryAttempt: number) =>\n new Promise((resolve) =>\n setTimeout(resolve, this.getSleepTimeInMilliseconds(retryAttempt)),\n );\n}\n\n// tslint:disable-next-line\nexport abstract class HttpClientResponse implements HttpClientResponseInterface {\n _statusCode: number;\n _headers: ResponseHeaders;\n\n constructor(statusCode: number, headers: ResponseHeaders) {\n this._statusCode = statusCode;\n this._headers = headers;\n }\n\n getStatusCode(): number {\n return this._statusCode;\n }\n\n getHeaders(): ResponseHeaders {\n return this._headers;\n }\n\n abstract getRawResponse(): unknown;\n\n abstract toJSON(): any | null;\n}\n\n// tslint:disable-next-line\nexport class HttpClientError<T> extends Error {\n readonly name: string = 'HttpClientError';\n readonly message: string = 'The request could not be completed.';\n readonly response: { status: number; headers: any; data: T };\n\n constructor({\n message,\n response,\n }: {\n message: string;\n readonly response: HttpClientError<T>['response'];\n }) {\n super(message);\n this.message = message;\n this.response = response;\n }\n}\n"],"mappings":";AAQA,IAAsB,aAAtB,MAAsB,WAA0C;CAC9D,AAAS,qBAAqB;CAC9B,AAAS,qBAAqB;CAC9B,AAAS,qCAAqC;CAC9C,AAAS,qBAAqB;EAAC;EAAK;EAAK;EAAK;EAAI;CAElD,YACE,AAASA,SACT,AAASC,SACT;EAFS;EACA;;;CAIX,gBAAwB;AACtB,QAAM,IAAI,MAAM,gCAAgC;;CAqClD,qBAAqB,WAA2B;AAC9C,MAAI,UAAU,QAAQ,IAAI,GAAG,GAC3B,QAAO,UAAU,QAAQ,QAAQ,IAAI,KAAK,eAAe,CAAC,GAAG;MAE7D,QAAQ,aAAa,IAAI,KAAK,eAAe;;CAIjD,OAAO,eACL,SACA,MACA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AK,WAAW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as deserializeEvent } from "../../event.serializer-
|
|
1
|
+
import { t as deserializeEvent } from "../../event.serializer-UUziUbH3.cjs";
|
|
2
2
|
export { deserializeEvent };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_event_serializer = require('../../event.serializer-
|
|
1
|
+
const require_event_serializer = require('../../event.serializer-Cn5xAuN9.cjs');
|
|
2
2
|
const require_list_serializer = require('../../list.serializer-DeffIsv5.cjs');
|
|
3
3
|
const require_pagination_options_serializer = require('../../pagination-options.serializer-BV8g5B38.cjs');
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as deserializeEvent } from "../../event.serializer-
|
|
2
|
-
import { t as deserializeList } from "../../list.serializer-
|
|
3
|
-
import { t as serializePaginationOptions } from "../../pagination-options.serializer-
|
|
1
|
+
import { t as deserializeEvent } from "../../event.serializer-UUziUbH3.cjs";
|
|
2
|
+
import { t as deserializeList } from "../../list.serializer-DQ9MJjpQ.cjs";
|
|
3
|
+
import { t as serializePaginationOptions } from "../../pagination-options.serializer-uFxSSjyn.cjs";
|
|
4
4
|
export { deserializeEvent, deserializeList, serializePaginationOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as deserializeList } from "../../list.serializer-
|
|
1
|
+
import { t as deserializeList } from "../../list.serializer-DQ9MJjpQ.cjs";
|
|
2
2
|
export { deserializeList };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as serializePaginationOptions } from "../../pagination-options.serializer-
|
|
1
|
+
import { t as serializePaginationOptions } from "../../pagination-options.serializer-uFxSSjyn.cjs";
|
|
2
2
|
export { serializePaginationOptions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as PaginationOptions } from "../../pagination-options.interface
|
|
1
|
+
import { t as PaginationOptions } from "../../pagination-options.interface-BzIEA3yY.cjs";
|
|
2
2
|
import { t as GetOptions } from "../../get-options.interface-DoL0T9e1.cjs";
|
|
3
|
-
import { t as List } from "../../list.interface-
|
|
4
|
-
import { n as WorkOS } from "../../api-keys-
|
|
3
|
+
import { t as List } from "../../list.interface-D2Q6nKBO.cjs";
|
|
4
|
+
import { n as WorkOS } from "../../api-keys-CSDwj0TW.cjs";
|
|
5
5
|
|
|
6
6
|
//#region src/common/utils/fetch-and-deserialize.d.ts
|
|
7
7
|
declare const fetchAndDeserialize: <T, U>(workos: WorkOS, endpoint: string, deserializeFn: (data: T) => U, options?: PaginationOptions, requestOptions?: GetOptions) => Promise<List<U>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as AutoPaginatable } from "../../pagination-
|
|
1
|
+
import { t as AutoPaginatable } from "../../pagination-HWQZtuX6.cjs";
|
|
2
2
|
export { AutoPaginatable };
|
|
@@ -10,8 +10,8 @@ declare class AutoPaginatable<ResourceType, ParametersType extends PaginationOpt
|
|
|
10
10
|
constructor(list: List<ResourceType>, apiCall: (params: PaginationOptions) => Promise<List<ResourceType>>, options?: ParametersType);
|
|
11
11
|
get data(): ResourceType[];
|
|
12
12
|
get listMetadata(): {
|
|
13
|
-
before?: string;
|
|
14
|
-
after?: string;
|
|
13
|
+
before?: string | null;
|
|
14
|
+
after?: string | null;
|
|
15
15
|
};
|
|
16
16
|
private generatePages;
|
|
17
17
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const deserializeConnection = (connection) => ({
|
|
4
4
|
object: connection.object,
|
|
5
5
|
id: connection.id,
|
|
6
|
-
organizationId: connection.organization_id,
|
|
6
|
+
...connection.organization_id !== void 0 && { organizationId: connection.organization_id },
|
|
7
7
|
name: connection.name,
|
|
8
8
|
type: connection.connection_type,
|
|
9
9
|
state: connection.state,
|
|
@@ -19,4 +19,4 @@ Object.defineProperty(exports, 'deserializeConnection', {
|
|
|
19
19
|
return deserializeConnection;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
//# sourceMappingURL=connection.serializer-
|
|
22
|
+
//# sourceMappingURL=connection.serializer-sFgaPd28.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection.serializer-sFgaPd28.cjs","names":[],"sources":["../src/sso/serializers/connection.serializer.ts"],"sourcesContent":["import { Connection, ConnectionResponse } from '../interfaces';\n\nexport const deserializeConnection = (\n connection: ConnectionResponse,\n): Connection => ({\n object: connection.object,\n id: connection.id,\n ...(connection.organization_id !== undefined && {\n organizationId: connection.organization_id,\n }),\n name: connection.name,\n type: connection.connection_type,\n state: connection.state,\n domains: connection.domains,\n createdAt: connection.created_at,\n updatedAt: connection.updated_at,\n});\n"],"mappings":";;AAEA,MAAa,yBACX,gBACgB;CAChB,QAAQ,WAAW;CACnB,IAAI,WAAW;CACf,GAAI,WAAW,oBAAoB,UAAa,EAC9C,gBAAgB,WAAW,iBAC5B;CACD,MAAM,WAAW;CACjB,MAAM,WAAW;CACjB,OAAO,WAAW;CAClB,SAAS,WAAW;CACpB,WAAW,WAAW;CACtB,WAAW,WAAW;CACvB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Sn as CreateOrganizationApiKeyOptions, wn as SerializedCreateOrganizationApiKeyOptions } from "./index-
|
|
1
|
+
import { Sn as CreateOrganizationApiKeyOptions, wn as SerializedCreateOrganizationApiKeyOptions } from "./index-DYVTG9fR.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/api-keys/serializers/create-organization-api-key-options.serializer.d.ts
|
|
4
4
|
declare function serializeCreateOrganizationApiKeyOptions(options: CreateOrganizationApiKeyOptions): SerializedCreateOrganizationApiKeyOptions;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { serializeCreateOrganizationApiKeyOptions as t };
|
|
7
|
-
//# sourceMappingURL=create-organization-api-key-options.serializer-
|
|
7
|
+
//# sourceMappingURL=create-organization-api-key-options.serializer-uJAPlCtK.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as SerializedCreateOrganizationOptions, t as CreateOrganizationOptions } from "./index-
|
|
1
|
+
import { r as SerializedCreateOrganizationOptions, t as CreateOrganizationOptions } from "./index-DYVTG9fR.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/organizations/serializers/create-organization-options.serializer.d.ts
|
|
4
4
|
declare const serializeCreateOrganizationOptions: (options: CreateOrganizationOptions) => SerializedCreateOrganizationOptions;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { serializeCreateOrganizationOptions as t };
|
|
7
|
-
//# sourceMappingURL=create-organization-options.serializer-
|
|
7
|
+
//# sourceMappingURL=create-organization-options.serializer-B6uBWIo2.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as SerializedCreateResourceOptions, r as CreateResourceOptions } from "./resource.interface-
|
|
1
|
+
import { f as SerializedCreateResourceOptions, r as CreateResourceOptions } from "./resource.interface-DSxkG9Jg.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/fga/serializers/create-resource-options.serializer.d.ts
|
|
4
4
|
declare const serializeCreateResourceOptions: (options: CreateResourceOptions) => SerializedCreateResourceOptions;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { serializeCreateResourceOptions as t };
|
|
7
|
-
//# sourceMappingURL=create-resource-options.serializer-
|
|
7
|
+
//# sourceMappingURL=create-resource-options.serializer-DvsMM37G.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as DeleteResourceOptions, p as SerializedDeleteResourceOptions } from "./resource.interface-
|
|
1
|
+
import { i as DeleteResourceOptions, p as SerializedDeleteResourceOptions } from "./resource.interface-DSxkG9Jg.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/fga/serializers/delete-resource-options.serializer.d.ts
|
|
4
4
|
declare const serializeDeleteResourceOptions: (options: DeleteResourceOptions) => SerializedDeleteResourceOptions;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { serializeDeleteResourceOptions as t };
|
|
7
|
-
//# sourceMappingURL=delete-resource-options.serializer-
|
|
7
|
+
//# sourceMappingURL=delete-resource-options.serializer-B7q-mf-L.d.cts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as DirectorySync } from "../api-keys-
|
|
1
|
+
import { E as DirectorySync } from "../api-keys-CSDwj0TW.cjs";
|
|
2
2
|
export { DirectorySync };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gn as DirectoryUser, Jn as DirectoryUserWithGroupsResponse, Kn as DirectoryUserResponse, Wn as DefaultCustomAttributes, qn as DirectoryUserWithGroups } from "../../index-
|
|
1
|
+
import { Gn as DirectoryUser, Jn as DirectoryUserWithGroupsResponse, Kn as DirectoryUserResponse, Wn as DefaultCustomAttributes, qn as DirectoryUserWithGroups } from "../../index-DYVTG9fR.cjs";
|
|
2
2
|
export { DefaultCustomAttributes, DirectoryUser, DirectoryUserResponse, DirectoryUserWithGroups, DirectoryUserWithGroupsResponse };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as DirectoryType, i as DirectoryStateResponse, n as DirectoryResponse, o as EventDirectory, r as DirectoryState, s as EventDirectoryResponse, t as Directory } from "../../directory.interface-oSn1IaAq.cjs";
|
|
2
2
|
import { n as DirectoryGroupResponse, t as DirectoryGroup } from "../../directory-group.interface-Ds7hJJCb.cjs";
|
|
3
|
-
import { n as SerializedListDirectoriesOptions, t as ListDirectoriesOptions } from "../../list-directories-options.interface-
|
|
4
|
-
import { t as ListDirectoryGroupsOptions } from "../../list-groups-options.interface-
|
|
5
|
-
import { t as ListDirectoryUsersOptions } from "../../list-directory-users-options.interface-
|
|
6
|
-
import { Gn as DirectoryUser, Jn as DirectoryUserWithGroupsResponse, Kn as DirectoryUserResponse, Wn as DefaultCustomAttributes, qn as DirectoryUserWithGroups } from "../../index-
|
|
3
|
+
import { n as SerializedListDirectoriesOptions, t as ListDirectoriesOptions } from "../../list-directories-options.interface-BQt9KBRx.cjs";
|
|
4
|
+
import { t as ListDirectoryGroupsOptions } from "../../list-groups-options.interface-b3GVqSII.cjs";
|
|
5
|
+
import { t as ListDirectoryUsersOptions } from "../../list-directory-users-options.interface-DoyU-KHK.cjs";
|
|
6
|
+
import { Gn as DirectoryUser, Jn as DirectoryUserWithGroupsResponse, Kn as DirectoryUserResponse, Wn as DefaultCustomAttributes, qn as DirectoryUserWithGroups } from "../../index-DYVTG9fR.cjs";
|
|
7
7
|
export { DefaultCustomAttributes, Directory, DirectoryGroup, DirectoryGroupResponse, DirectoryResponse, DirectoryState, DirectoryStateResponse, DirectoryType, DirectoryUser, DirectoryUserResponse, DirectoryUserWithGroups, DirectoryUserWithGroupsResponse, EventDirectory, EventDirectoryResponse, ListDirectoriesOptions, ListDirectoryGroupsOptions, ListDirectoryUsersOptions, SerializedListDirectoriesOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SerializedListDirectoriesOptions, t as ListDirectoriesOptions } from "../../list-directories-options.interface-
|
|
1
|
+
import { n as SerializedListDirectoriesOptions, t as ListDirectoriesOptions } from "../../list-directories-options.interface-BQt9KBRx.cjs";
|
|
2
2
|
export { ListDirectoriesOptions, SerializedListDirectoriesOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ListDirectoryUsersOptions } from "../../list-directory-users-options.interface-
|
|
1
|
+
import { t as ListDirectoryUsersOptions } from "../../list-directory-users-options.interface-DoyU-KHK.cjs";
|
|
2
2
|
export { ListDirectoryUsersOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ListDirectoryGroupsOptions } from "../../list-groups-options.interface-
|
|
1
|
+
import { t as ListDirectoryGroupsOptions } from "../../list-groups-options.interface-b3GVqSII.cjs";
|
|
2
2
|
export { ListDirectoryGroupsOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_directory_user_serializer = require('../../directory-user.serializer-
|
|
1
|
+
const require_directory_user_serializer = require('../../directory-user.serializer-BSflXAKm.cjs');
|
|
2
2
|
|
|
3
3
|
exports.deserializeDirectoryUser = require_directory_user_serializer.deserializeDirectoryUser;
|
|
4
4
|
exports.deserializeDirectoryUserWithGroups = require_directory_user_serializer.deserializeDirectoryUserWithGroups;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as deserializeDirectoryUserWithGroups, r as deserializeUpdatedEventDirectoryUser, t as deserializeDirectoryUser } from "../../directory-user.serializer-
|
|
1
|
+
import { n as deserializeDirectoryUserWithGroups, r as deserializeUpdatedEventDirectoryUser, t as deserializeDirectoryUser } from "../../directory-user.serializer-XxQp-UAE.cjs";
|
|
2
2
|
export { deserializeDirectoryUser, deserializeDirectoryUserWithGroups, deserializeUpdatedEventDirectoryUser };
|
|
@@ -13,8 +13,8 @@ const deserializeDirectoryUser = (directoryUser) => ({
|
|
|
13
13
|
email: directoryUser.email,
|
|
14
14
|
lastName: directoryUser.last_name,
|
|
15
15
|
state: directoryUser.state,
|
|
16
|
-
role: directoryUser.role,
|
|
17
|
-
roles: directoryUser.roles,
|
|
16
|
+
...directoryUser.role !== void 0 && { role: directoryUser.role },
|
|
17
|
+
...directoryUser.roles !== void 0 && { roles: directoryUser.roles },
|
|
18
18
|
createdAt: directoryUser.created_at,
|
|
19
19
|
updatedAt: directoryUser.updated_at
|
|
20
20
|
});
|
|
@@ -34,8 +34,8 @@ const deserializeUpdatedEventDirectoryUser = (directoryUser) => ({
|
|
|
34
34
|
email: directoryUser.email,
|
|
35
35
|
lastName: directoryUser.last_name,
|
|
36
36
|
state: directoryUser.state,
|
|
37
|
-
role: directoryUser.role,
|
|
38
|
-
roles: directoryUser.roles,
|
|
37
|
+
...directoryUser.role !== void 0 && { role: directoryUser.role },
|
|
38
|
+
...directoryUser.roles !== void 0 && { roles: directoryUser.roles },
|
|
39
39
|
createdAt: directoryUser.created_at,
|
|
40
40
|
updatedAt: directoryUser.updated_at,
|
|
41
41
|
previousAttributes: directoryUser.previous_attributes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directory-user.serializer.js","names":[],"sources":["../../../src/directory-sync/serializers/directory-user.serializer.ts"],"sourcesContent":["import {\n DefaultCustomAttributes,\n DirectoryUser,\n DirectoryUserResponse,\n DirectoryUserWithGroups,\n DirectoryUserWithGroupsResponse,\n} from '../interfaces';\nimport { deserializeDirectoryGroup } from './directory-group.serializer';\n\nexport const deserializeDirectoryUser = <\n TCustomAttributes extends object = DefaultCustomAttributes,\n>(\n directoryUser:\n | DirectoryUserResponse<TCustomAttributes>\n | DirectoryUserWithGroupsResponse<TCustomAttributes>,\n): DirectoryUser<TCustomAttributes> => ({\n object: directoryUser.object,\n id: directoryUser.id,\n directoryId: directoryUser.directory_id,\n organizationId: directoryUser.organization_id,\n rawAttributes: directoryUser.raw_attributes,\n customAttributes: directoryUser.custom_attributes,\n idpId: directoryUser.idp_id,\n firstName: directoryUser.first_name,\n email: directoryUser.email,\n lastName: directoryUser.last_name,\n state: directoryUser.state,\n role: directoryUser.role,\n roles: directoryUser.roles,\n createdAt: directoryUser.created_at,\n updatedAt: directoryUser.updated_at,\n});\n\nexport const deserializeDirectoryUserWithGroups = <\n TCustomAttributes extends object = DefaultCustomAttributes,\n>(\n directoryUserWithGroups: DirectoryUserWithGroupsResponse<TCustomAttributes>,\n): DirectoryUserWithGroups<TCustomAttributes> => ({\n ...deserializeDirectoryUser(directoryUserWithGroups),\n groups: directoryUserWithGroups.groups.map(deserializeDirectoryGroup),\n});\n\nexport const deserializeUpdatedEventDirectoryUser = (\n directoryUser: DirectoryUserResponse & Record<'previous_attributes', any>,\n): DirectoryUser & Record<'previousAttributes', any> => ({\n object: 'directory_user',\n id: directoryUser.id,\n directoryId: directoryUser.directory_id,\n organizationId: directoryUser.organization_id,\n rawAttributes: directoryUser.raw_attributes,\n customAttributes: directoryUser.custom_attributes,\n idpId: directoryUser.idp_id,\n firstName: directoryUser.first_name,\n email: directoryUser.email,\n lastName: directoryUser.last_name,\n state: directoryUser.state,\n role: directoryUser.role,\n roles: directoryUser.roles,\n createdAt: directoryUser.created_at,\n updatedAt: directoryUser.updated_at,\n previousAttributes: directoryUser.previous_attributes,\n});\n"],"mappings":";;;AASA,MAAa,4BAGX,mBAGsC;CACtC,QAAQ,cAAc;CACtB,IAAI,cAAc;CAClB,aAAa,cAAc;CAC3B,gBAAgB,cAAc;CAC9B,eAAe,cAAc;CAC7B,kBAAkB,cAAc;CAChC,OAAO,cAAc;CACrB,WAAW,cAAc;CACzB,OAAO,cAAc;CACrB,UAAU,cAAc;CACxB,OAAO,cAAc;CACrB,MAAM,cAAc;
|
|
1
|
+
{"version":3,"file":"directory-user.serializer.js","names":[],"sources":["../../../src/directory-sync/serializers/directory-user.serializer.ts"],"sourcesContent":["import {\n DefaultCustomAttributes,\n DirectoryUser,\n DirectoryUserResponse,\n DirectoryUserWithGroups,\n DirectoryUserWithGroupsResponse,\n} from '../interfaces';\nimport { deserializeDirectoryGroup } from './directory-group.serializer';\n\nexport const deserializeDirectoryUser = <\n TCustomAttributes extends object = DefaultCustomAttributes,\n>(\n directoryUser:\n | DirectoryUserResponse<TCustomAttributes>\n | DirectoryUserWithGroupsResponse<TCustomAttributes>,\n): DirectoryUser<TCustomAttributes> => ({\n object: directoryUser.object,\n id: directoryUser.id,\n directoryId: directoryUser.directory_id,\n organizationId: directoryUser.organization_id,\n rawAttributes: directoryUser.raw_attributes,\n customAttributes: directoryUser.custom_attributes,\n idpId: directoryUser.idp_id,\n firstName: directoryUser.first_name,\n email: directoryUser.email,\n lastName: directoryUser.last_name,\n state: directoryUser.state,\n ...(directoryUser.role !== undefined && { role: directoryUser.role }),\n ...(directoryUser.roles !== undefined && { roles: directoryUser.roles }),\n createdAt: directoryUser.created_at,\n updatedAt: directoryUser.updated_at,\n});\n\nexport const deserializeDirectoryUserWithGroups = <\n TCustomAttributes extends object = DefaultCustomAttributes,\n>(\n directoryUserWithGroups: DirectoryUserWithGroupsResponse<TCustomAttributes>,\n): DirectoryUserWithGroups<TCustomAttributes> => ({\n ...deserializeDirectoryUser(directoryUserWithGroups),\n groups: directoryUserWithGroups.groups.map(deserializeDirectoryGroup),\n});\n\nexport const deserializeUpdatedEventDirectoryUser = (\n directoryUser: DirectoryUserResponse & Record<'previous_attributes', any>,\n): DirectoryUser & Record<'previousAttributes', any> => ({\n object: 'directory_user',\n id: directoryUser.id,\n directoryId: directoryUser.directory_id,\n organizationId: directoryUser.organization_id,\n rawAttributes: directoryUser.raw_attributes,\n customAttributes: directoryUser.custom_attributes,\n idpId: directoryUser.idp_id,\n firstName: directoryUser.first_name,\n email: directoryUser.email,\n lastName: directoryUser.last_name,\n state: directoryUser.state,\n ...(directoryUser.role !== undefined && { role: directoryUser.role }),\n ...(directoryUser.roles !== undefined && { roles: directoryUser.roles }),\n createdAt: directoryUser.created_at,\n updatedAt: directoryUser.updated_at,\n previousAttributes: directoryUser.previous_attributes,\n});\n"],"mappings":";;;AASA,MAAa,4BAGX,mBAGsC;CACtC,QAAQ,cAAc;CACtB,IAAI,cAAc;CAClB,aAAa,cAAc;CAC3B,gBAAgB,cAAc;CAC9B,eAAe,cAAc;CAC7B,kBAAkB,cAAc;CAChC,OAAO,cAAc;CACrB,WAAW,cAAc;CACzB,OAAO,cAAc;CACrB,UAAU,cAAc;CACxB,OAAO,cAAc;CACrB,GAAI,cAAc,SAAS,UAAa,EAAE,MAAM,cAAc,MAAM;CACpE,GAAI,cAAc,UAAU,UAAa,EAAE,OAAO,cAAc,OAAO;CACvE,WAAW,cAAc;CACzB,WAAW,cAAc;CAC1B;AAED,MAAa,sCAGX,6BACgD;CAChD,GAAG,yBAAyB,wBAAwB;CACpD,QAAQ,wBAAwB,OAAO,IAAI,0BAA0B;CACtE;AAED,MAAa,wCACX,mBACuD;CACvD,QAAQ;CACR,IAAI,cAAc;CAClB,aAAa,cAAc;CAC3B,gBAAgB,cAAc;CAC9B,eAAe,cAAc;CAC7B,kBAAkB,cAAc;CAChC,OAAO,cAAc;CACrB,WAAW,cAAc;CACzB,OAAO,cAAc;CACrB,UAAU,cAAc;CACxB,OAAO,cAAc;CACrB,GAAI,cAAc,SAAS,UAAa,EAAE,MAAM,cAAc,MAAM;CACpE,GAAI,cAAc,UAAU,UAAa,EAAE,OAAO,cAAc,OAAO;CACvE,WAAW,cAAc;CACzB,WAAW,cAAc;CACzB,oBAAoB,cAAc;CACnC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_directory_group_serializer = require('../../directory-group.serializer-DbTTdVPB.cjs');
|
|
2
|
-
const require_directory_user_serializer = require('../../directory-user.serializer-
|
|
2
|
+
const require_directory_user_serializer = require('../../directory-user.serializer-BSflXAKm.cjs');
|
|
3
3
|
const require_directory_serializer = require('../../directory.serializer-j1RV_J7z.cjs');
|
|
4
4
|
const require_list_directories_options_serializer = require('../../list-directories-options.serializer-DIkuNuJB.cjs');
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as deserializeUpdatedEventDirectoryGroup, t as deserializeDirectoryGroup } from "../../directory-group.serializer-0TKalsuT.cjs";
|
|
2
|
-
import { n as deserializeDirectoryUserWithGroups, r as deserializeUpdatedEventDirectoryUser, t as deserializeDirectoryUser } from "../../directory-user.serializer-
|
|
2
|
+
import { n as deserializeDirectoryUserWithGroups, r as deserializeUpdatedEventDirectoryUser, t as deserializeDirectoryUser } from "../../directory-user.serializer-XxQp-UAE.cjs";
|
|
3
3
|
import { i as deserializeEventDirectory, n as deserializeDirectory, r as deserializeDirectoryState, t as deserializeDeletedEventDirectory } from "../../directory.serializer-v_PXRd7z.cjs";
|
|
4
|
-
import { t as serializeListDirectoriesOptions } from "../../list-directories-options.serializer-
|
|
4
|
+
import { t as serializeListDirectoriesOptions } from "../../list-directories-options.serializer-C9goOgkU.cjs";
|
|
5
5
|
export { deserializeDeletedEventDirectory, deserializeDirectory, deserializeDirectoryGroup, deserializeDirectoryState, deserializeDirectoryUser, deserializeDirectoryUserWithGroups, deserializeEventDirectory, deserializeUpdatedEventDirectoryGroup, deserializeUpdatedEventDirectoryUser, serializeListDirectoriesOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as serializeListDirectoriesOptions } from "../../list-directories-options.serializer-
|
|
1
|
+
import { t as serializeListDirectoriesOptions } from "../../list-directories-options.serializer-C9goOgkU.cjs";
|
|
2
2
|
export { serializeListDirectoriesOptions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_pagination = require('./pagination-BG1uBuL4.cjs');
|
|
2
2
|
const require_directory_group_serializer = require('./directory-group.serializer-DbTTdVPB.cjs');
|
|
3
|
-
const require_directory_user_serializer = require('./directory-user.serializer-
|
|
3
|
+
const require_directory_user_serializer = require('./directory-user.serializer-BSflXAKm.cjs');
|
|
4
4
|
const require_directory_serializer = require('./directory.serializer-j1RV_J7z.cjs');
|
|
5
5
|
const require_list_directories_options_serializer = require('./list-directories-options.serializer-DIkuNuJB.cjs');
|
|
6
6
|
const require_fetch_and_deserialize = require('./fetch-and-deserialize-Ba2wR4ur.cjs');
|
|
@@ -43,4 +43,4 @@ Object.defineProperty(exports, 'DirectorySync', {
|
|
|
43
43
|
return DirectorySync;
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
//# sourceMappingURL=directory-sync-
|
|
46
|
+
//# sourceMappingURL=directory-sync-ClseMB3c.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directory-sync-
|
|
1
|
+
{"version":3,"file":"directory-sync-ClseMB3c.cjs","names":["workos: WorkOS","AutoPaginatable","fetchAndDeserialize","deserializeDirectory","serializeListDirectoriesOptions","deserializeDirectoryGroup","deserializeDirectoryUserWithGroups"],"sources":["../src/directory-sync/directory-sync.ts"],"sourcesContent":["import { WorkOS } from '../workos';\nimport { AutoPaginatable } from '../common/utils/pagination';\nimport {\n DefaultCustomAttributes,\n Directory,\n DirectoryGroup,\n DirectoryGroupResponse,\n DirectoryResponse,\n DirectoryUserWithGroups,\n DirectoryUserWithGroupsResponse,\n ListDirectoriesOptions,\n ListDirectoryGroupsOptions,\n ListDirectoryUsersOptions,\n SerializedListDirectoriesOptions,\n} from './interfaces';\nimport {\n deserializeDirectory,\n deserializeDirectoryGroup,\n deserializeDirectoryUserWithGroups,\n serializeListDirectoriesOptions,\n} from './serializers';\nimport { fetchAndDeserialize } from '../common/utils/fetch-and-deserialize';\n\nexport class DirectorySync {\n constructor(private readonly workos: WorkOS) {}\n\n async listDirectories(\n options?: ListDirectoriesOptions,\n ): Promise<AutoPaginatable<Directory, SerializedListDirectoriesOptions>> {\n return new AutoPaginatable(\n await fetchAndDeserialize<DirectoryResponse, Directory>(\n this.workos,\n '/directories',\n deserializeDirectory,\n options ? serializeListDirectoriesOptions(options) : undefined,\n ),\n (params) =>\n fetchAndDeserialize<DirectoryResponse, Directory>(\n this.workos,\n '/directories',\n deserializeDirectory,\n params,\n ),\n options ? serializeListDirectoriesOptions(options) : undefined,\n );\n }\n\n async getDirectory(id: string): Promise<Directory> {\n const { data } = await this.workos.get<DirectoryResponse>(\n `/directories/${id}`,\n );\n\n return deserializeDirectory(data);\n }\n\n async deleteDirectory(id: string) {\n await this.workos.delete(`/directories/${id}`);\n }\n\n async listGroups(\n options: ListDirectoryGroupsOptions,\n ): Promise<AutoPaginatable<DirectoryGroup, ListDirectoryGroupsOptions>> {\n return new AutoPaginatable(\n await fetchAndDeserialize<DirectoryGroupResponse, DirectoryGroup>(\n this.workos,\n '/directory_groups',\n deserializeDirectoryGroup,\n options,\n ),\n (params) =>\n fetchAndDeserialize<DirectoryGroupResponse, DirectoryGroup>(\n this.workos,\n '/directory_groups',\n deserializeDirectoryGroup,\n params,\n ),\n options,\n );\n }\n\n async listUsers<TCustomAttributes extends object = DefaultCustomAttributes>(\n options: ListDirectoryUsersOptions,\n ): Promise<\n AutoPaginatable<\n DirectoryUserWithGroups<TCustomAttributes>,\n ListDirectoryUsersOptions\n >\n > {\n return new AutoPaginatable(\n await fetchAndDeserialize<\n DirectoryUserWithGroupsResponse<TCustomAttributes>,\n DirectoryUserWithGroups<TCustomAttributes>\n >(\n this.workos,\n '/directory_users',\n deserializeDirectoryUserWithGroups,\n options,\n ),\n (params) =>\n fetchAndDeserialize<\n DirectoryUserWithGroupsResponse<TCustomAttributes>,\n DirectoryUserWithGroups<TCustomAttributes>\n >(\n this.workos,\n '/directory_users',\n deserializeDirectoryUserWithGroups,\n params,\n ),\n options,\n );\n }\n\n async getUser<TCustomAttributes extends object = DefaultCustomAttributes>(\n user: string,\n ): Promise<DirectoryUserWithGroups<TCustomAttributes>> {\n const { data } = await this.workos.get<\n DirectoryUserWithGroupsResponse<TCustomAttributes>\n >(`/directory_users/${user}`);\n\n return deserializeDirectoryUserWithGroups(data);\n }\n\n async getGroup(group: string): Promise<DirectoryGroup> {\n const { data } = await this.workos.get<DirectoryGroupResponse>(\n `/directory_groups/${group}`,\n );\n\n return deserializeDirectoryGroup(data);\n }\n}\n"],"mappings":";;;;;;;;AAuBA,IAAa,gBAAb,MAA2B;CACzB,YAAY,AAAiBA,QAAgB;EAAhB;;CAE7B,MAAM,gBACJ,SACuE;AACvE,SAAO,IAAIC,mCACT,MAAMC,kDACJ,KAAK,QACL,gBACAC,mDACA,UAAUC,4EAAgC,QAAQ,GAAG,OACtD,GACA,WACCF,kDACE,KAAK,QACL,gBACAC,mDACA,OACD,EACH,UAAUC,4EAAgC,QAAQ,GAAG,OACtD;;CAGH,MAAM,aAAa,IAAgC;EACjD,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,IACjC,gBAAgB,KACjB;AAED,SAAOD,kDAAqB,KAAK;;CAGnC,MAAM,gBAAgB,IAAY;AAChC,QAAM,KAAK,OAAO,OAAO,gBAAgB,KAAK;;CAGhD,MAAM,WACJ,SACsE;AACtE,SAAO,IAAIF,mCACT,MAAMC,kDACJ,KAAK,QACL,qBACAG,8DACA,QACD,GACA,WACCH,kDACE,KAAK,QACL,qBACAG,8DACA,OACD,EACH,QACD;;CAGH,MAAM,UACJ,SAMA;AACA,SAAO,IAAIJ,mCACT,MAAMC,kDAIJ,KAAK,QACL,oBACAI,sEACA,QACD,GACA,WACCJ,kDAIE,KAAK,QACL,oBACAI,sEACA,OACD,EACH,QACD;;CAGH,MAAM,QACJ,MACqD;EACrD,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,IAEjC,oBAAoB,OAAO;AAE7B,SAAOA,qEAAmC,KAAK;;CAGjD,MAAM,SAAS,OAAwC;EACrD,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,IACjC,qBAAqB,QACtB;AAED,SAAOD,6DAA0B,KAAK"}
|
package/lib/{directory-user.serializer-UTYCZSSB.cjs → directory-user.serializer-BSflXAKm.cjs}
RENAMED
|
@@ -13,8 +13,8 @@ const deserializeDirectoryUser = (directoryUser) => ({
|
|
|
13
13
|
email: directoryUser.email,
|
|
14
14
|
lastName: directoryUser.last_name,
|
|
15
15
|
state: directoryUser.state,
|
|
16
|
-
role: directoryUser.role,
|
|
17
|
-
roles: directoryUser.roles,
|
|
16
|
+
...directoryUser.role !== void 0 && { role: directoryUser.role },
|
|
17
|
+
...directoryUser.roles !== void 0 && { roles: directoryUser.roles },
|
|
18
18
|
createdAt: directoryUser.created_at,
|
|
19
19
|
updatedAt: directoryUser.updated_at
|
|
20
20
|
});
|
|
@@ -34,8 +34,8 @@ const deserializeUpdatedEventDirectoryUser = (directoryUser) => ({
|
|
|
34
34
|
email: directoryUser.email,
|
|
35
35
|
lastName: directoryUser.last_name,
|
|
36
36
|
state: directoryUser.state,
|
|
37
|
-
role: directoryUser.role,
|
|
38
|
-
roles: directoryUser.roles,
|
|
37
|
+
...directoryUser.role !== void 0 && { role: directoryUser.role },
|
|
38
|
+
...directoryUser.roles !== void 0 && { roles: directoryUser.roles },
|
|
39
39
|
createdAt: directoryUser.created_at,
|
|
40
40
|
updatedAt: directoryUser.updated_at,
|
|
41
41
|
previousAttributes: directoryUser.previous_attributes
|
|
@@ -60,4 +60,4 @@ Object.defineProperty(exports, 'deserializeUpdatedEventDirectoryUser', {
|
|
|
60
60
|
return deserializeUpdatedEventDirectoryUser;
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
//# sourceMappingURL=directory-user.serializer-
|
|
63
|
+
//# sourceMappingURL=directory-user.serializer-BSflXAKm.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directory-user.serializer-BSflXAKm.cjs","names":["deserializeDirectoryGroup"],"sources":["../src/directory-sync/serializers/directory-user.serializer.ts"],"sourcesContent":["import {\n DefaultCustomAttributes,\n DirectoryUser,\n DirectoryUserResponse,\n DirectoryUserWithGroups,\n DirectoryUserWithGroupsResponse,\n} from '../interfaces';\nimport { deserializeDirectoryGroup } from './directory-group.serializer';\n\nexport const deserializeDirectoryUser = <\n TCustomAttributes extends object = DefaultCustomAttributes,\n>(\n directoryUser:\n | DirectoryUserResponse<TCustomAttributes>\n | DirectoryUserWithGroupsResponse<TCustomAttributes>,\n): DirectoryUser<TCustomAttributes> => ({\n object: directoryUser.object,\n id: directoryUser.id,\n directoryId: directoryUser.directory_id,\n organizationId: directoryUser.organization_id,\n rawAttributes: directoryUser.raw_attributes,\n customAttributes: directoryUser.custom_attributes,\n idpId: directoryUser.idp_id,\n firstName: directoryUser.first_name,\n email: directoryUser.email,\n lastName: directoryUser.last_name,\n state: directoryUser.state,\n ...(directoryUser.role !== undefined && { role: directoryUser.role }),\n ...(directoryUser.roles !== undefined && { roles: directoryUser.roles }),\n createdAt: directoryUser.created_at,\n updatedAt: directoryUser.updated_at,\n});\n\nexport const deserializeDirectoryUserWithGroups = <\n TCustomAttributes extends object = DefaultCustomAttributes,\n>(\n directoryUserWithGroups: DirectoryUserWithGroupsResponse<TCustomAttributes>,\n): DirectoryUserWithGroups<TCustomAttributes> => ({\n ...deserializeDirectoryUser(directoryUserWithGroups),\n groups: directoryUserWithGroups.groups.map(deserializeDirectoryGroup),\n});\n\nexport const deserializeUpdatedEventDirectoryUser = (\n directoryUser: DirectoryUserResponse & Record<'previous_attributes', any>,\n): DirectoryUser & Record<'previousAttributes', any> => ({\n object: 'directory_user',\n id: directoryUser.id,\n directoryId: directoryUser.directory_id,\n organizationId: directoryUser.organization_id,\n rawAttributes: directoryUser.raw_attributes,\n customAttributes: directoryUser.custom_attributes,\n idpId: directoryUser.idp_id,\n firstName: directoryUser.first_name,\n email: directoryUser.email,\n lastName: directoryUser.last_name,\n state: directoryUser.state,\n ...(directoryUser.role !== undefined && { role: directoryUser.role }),\n ...(directoryUser.roles !== undefined && { roles: directoryUser.roles }),\n createdAt: directoryUser.created_at,\n updatedAt: directoryUser.updated_at,\n previousAttributes: directoryUser.previous_attributes,\n});\n"],"mappings":";;;AASA,MAAa,4BAGX,mBAGsC;CACtC,QAAQ,cAAc;CACtB,IAAI,cAAc;CAClB,aAAa,cAAc;CAC3B,gBAAgB,cAAc;CAC9B,eAAe,cAAc;CAC7B,kBAAkB,cAAc;CAChC,OAAO,cAAc;CACrB,WAAW,cAAc;CACzB,OAAO,cAAc;CACrB,UAAU,cAAc;CACxB,OAAO,cAAc;CACrB,GAAI,cAAc,SAAS,UAAa,EAAE,MAAM,cAAc,MAAM;CACpE,GAAI,cAAc,UAAU,UAAa,EAAE,OAAO,cAAc,OAAO;CACvE,WAAW,cAAc;CACzB,WAAW,cAAc;CAC1B;AAED,MAAa,sCAGX,6BACgD;CAChD,GAAG,yBAAyB,wBAAwB;CACpD,QAAQ,wBAAwB,OAAO,IAAIA,6DAA0B;CACtE;AAED,MAAa,wCACX,mBACuD;CACvD,QAAQ;CACR,IAAI,cAAc;CAClB,aAAa,cAAc;CAC3B,gBAAgB,cAAc;CAC9B,eAAe,cAAc;CAC7B,kBAAkB,cAAc;CAChC,OAAO,cAAc;CACrB,WAAW,cAAc;CACzB,OAAO,cAAc;CACrB,UAAU,cAAc;CACxB,OAAO,cAAc;CACrB,GAAI,cAAc,SAAS,UAAa,EAAE,MAAM,cAAc,MAAM;CACpE,GAAI,cAAc,UAAU,UAAa,EAAE,OAAO,cAAc,OAAO;CACvE,WAAW,cAAc;CACzB,WAAW,cAAc;CACzB,oBAAoB,cAAc;CACnC"}
|
package/lib/{directory-user.serializer-BYRUfzrl.d.cts → directory-user.serializer-XxQp-UAE.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gn as DirectoryUser, Jn as DirectoryUserWithGroupsResponse, Kn as DirectoryUserResponse, Wn as DefaultCustomAttributes, qn as DirectoryUserWithGroups } from "./index-
|
|
1
|
+
import { Gn as DirectoryUser, Jn as DirectoryUserWithGroupsResponse, Kn as DirectoryUserResponse, Wn as DefaultCustomAttributes, qn as DirectoryUserWithGroups } from "./index-DYVTG9fR.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/directory-sync/serializers/directory-user.serializer.d.ts
|
|
4
4
|
declare const deserializeDirectoryUser: <TCustomAttributes extends object = DefaultCustomAttributes>(directoryUser: DirectoryUserResponse<TCustomAttributes> | DirectoryUserWithGroupsResponse<TCustomAttributes>) => DirectoryUser<TCustomAttributes>;
|
|
@@ -6,4 +6,4 @@ declare const deserializeDirectoryUserWithGroups: <TCustomAttributes extends obj
|
|
|
6
6
|
declare const deserializeUpdatedEventDirectoryUser: (directoryUser: DirectoryUserResponse & Record<"previous_attributes", any>) => DirectoryUser & Record<"previousAttributes", any>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { deserializeDirectoryUserWithGroups as n, deserializeUpdatedEventDirectoryUser as r, deserializeDirectoryUser as t };
|
|
9
|
-
//# sourceMappingURL=directory-user.serializer-
|
|
9
|
+
//# sourceMappingURL=directory-user.serializer-XxQp-UAE.d.cts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
const require_api_key_serializer = require('./api-key.serializer-384tUKDU.cjs');
|
|
2
2
|
const require_directory_group_serializer = require('./directory-group.serializer-DbTTdVPB.cjs');
|
|
3
|
-
const require_directory_user_serializer = require('./directory-user.serializer-
|
|
3
|
+
const require_directory_user_serializer = require('./directory-user.serializer-BSflXAKm.cjs');
|
|
4
4
|
const require_directory_serializer = require('./directory.serializer-j1RV_J7z.cjs');
|
|
5
|
-
const require_organization_domain_serializer = require('./organization-domain.serializer-
|
|
6
|
-
const require_organization_serializer = require('./organization.serializer-
|
|
7
|
-
const require_connection_serializer = require('./connection.serializer-
|
|
8
|
-
const require_authentication_event_serializer = require('./authentication-event.serializer-
|
|
5
|
+
const require_organization_domain_serializer = require('./organization-domain.serializer-DVylNcLm.cjs');
|
|
6
|
+
const require_organization_serializer = require('./organization.serializer-CVNQSfQH.cjs');
|
|
7
|
+
const require_connection_serializer = require('./connection.serializer-sFgaPd28.cjs');
|
|
8
|
+
const require_authentication_event_serializer = require('./authentication-event.serializer-CqD91u8L.cjs');
|
|
9
9
|
const require_user_serializer = require('./user.serializer-Y5EM8MeK.cjs');
|
|
10
10
|
const require_email_verification_serializer = require('./email-verification.serializer-e6Mbvjvd.cjs');
|
|
11
11
|
const require_invitation_serializer = require('./invitation.serializer-BEVUkLP9.cjs');
|
|
12
12
|
const require_magic_auth_serializer = require('./magic-auth.serializer-By4HyvgZ.cjs');
|
|
13
13
|
const require_password_reset_serializer = require('./password-reset.serializer-D8Kbnirv.cjs');
|
|
14
|
-
const require_session_serializer = require('./session.serializer-
|
|
14
|
+
const require_session_serializer = require('./session.serializer-B63NxvRH.cjs');
|
|
15
15
|
const require_organization_membership_serializer = require('./organization-membership.serializer-CgjS5BwK.cjs');
|
|
16
16
|
const require_role_serializer = require('./role.serializer-yTKLys-u.cjs');
|
|
17
17
|
const require_authentication_radar_risk_event_serializer = require('./authentication-radar-risk-event-serializer-CDBrk7yn.cjs');
|
|
@@ -193,4 +193,4 @@ Object.defineProperty(exports, 'deserializeEvent', {
|
|
|
193
193
|
return deserializeEvent;
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
|
-
//# sourceMappingURL=event.serializer-
|
|
196
|
+
//# sourceMappingURL=event.serializer-Cn5xAuN9.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.serializer-sODBRJP0.cjs","names":["eventBase: EventBase","deserializeAuthenticationEvent","deserializeAuthenticationRadarRiskDetectedEvent","deserializeConnection","deserializeEventDirectory","deserializeDeletedEventDirectory","deserializeDirectoryGroup","deserializeUpdatedEventDirectoryGroup","deserializeDirectoryUser","deserializeUpdatedEventDirectoryUser","deserializeEmailVerificationEvent","deserializeInvitationEvent","deserializeMagicAuthEvent","deserializePasswordResetEvent","deserializeUser","deserializeOrganizationMembership","deserializeRoleEvent","deserializeOrganizationRoleEvent","deserializePermission","deserializeSession","deserializeOrganization","deserializeOrganizationDomain","deserializeApiKey"],"sources":["../src/common/serializers/event.serializer.ts"],"sourcesContent":["import {\n deserializeDeletedEventDirectory,\n deserializeDirectoryUser,\n deserializeEventDirectory,\n deserializeDirectoryGroup,\n deserializeUpdatedEventDirectoryGroup,\n deserializeUpdatedEventDirectoryUser,\n} from '../../directory-sync/serializers';\nimport { deserializeOrganization } from '../../organizations/serializers';\nimport { deserializeConnection } from '../../sso/serializers';\nimport {\n deserializeAuthenticationEvent,\n deserializeEmailVerificationEvent,\n deserializeInvitationEvent,\n deserializeMagicAuthEvent,\n deserializePasswordResetEvent,\n deserializeUser,\n} from '../../user-management/serializers';\nimport { deserializeOrganizationDomain } from '../../organization-domains/serializers/organization-domain.serializer';\nimport { deserializeOrganizationMembership } from '../../user-management/serializers/organization-membership.serializer';\nimport { deserializeRoleEvent } from '../../user-management/serializers/role.serializer';\nimport { deserializeSession } from '../../user-management/serializers/session.serializer';\nimport { Event, EventBase, EventResponse } from '../interfaces';\nimport { deserializeAuthenticationRadarRiskDetectedEvent } from '../../user-management/serializers/authentication-radar-risk-event-serializer';\nimport { deserializeApiKey } from '../../api-keys/serializers/api-key.serializer';\nimport { deserializeOrganizationRoleEvent } from '../../authorization/serializers/organization-role.serializer';\nimport { deserializePermission } from '../../authorization/serializers/permission.serializer';\n\nexport const deserializeEvent = (event: EventResponse): Event => {\n const eventBase: EventBase = {\n id: event.id,\n createdAt: event.created_at,\n context: event.context,\n };\n\n switch (event.event) {\n case 'authentication.email_verification_succeeded':\n case 'authentication.magic_auth_failed':\n case 'authentication.magic_auth_succeeded':\n case 'authentication.mfa_succeeded':\n case 'authentication.oauth_failed':\n case 'authentication.oauth_succeeded':\n case 'authentication.passkey_failed':\n case 'authentication.passkey_succeeded':\n case 'authentication.password_failed':\n case 'authentication.password_succeeded':\n case 'authentication.sso_failed':\n case 'authentication.sso_succeeded':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeAuthenticationEvent(event.data),\n };\n case 'authentication.radar_risk_detected':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeAuthenticationRadarRiskDetectedEvent(event.data),\n };\n case 'connection.activated':\n case 'connection.deactivated':\n case 'connection.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeConnection(event.data),\n };\n case 'dsync.activated':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeEventDirectory(event.data),\n };\n case 'dsync.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeDeletedEventDirectory(event.data),\n };\n case 'dsync.group.created':\n case 'dsync.group.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeDirectoryGroup(event.data),\n };\n case 'dsync.group.updated':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeUpdatedEventDirectoryGroup(event.data),\n };\n case 'dsync.group.user_added':\n case 'dsync.group.user_removed':\n return {\n ...eventBase,\n event: event.event,\n data: {\n directoryId: event.data.directory_id,\n user: deserializeDirectoryUser(event.data.user),\n group: deserializeDirectoryGroup(event.data.group),\n },\n };\n case 'dsync.user.created':\n case 'dsync.user.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeDirectoryUser(event.data),\n };\n case 'dsync.user.updated':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeUpdatedEventDirectoryUser(event.data),\n };\n case 'email_verification.created':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeEmailVerificationEvent(event.data),\n };\n case 'invitation.accepted':\n case 'invitation.created':\n case 'invitation.revoked':\n case 'invitation.resent':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeInvitationEvent(event.data),\n };\n case 'magic_auth.created':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeMagicAuthEvent(event.data),\n };\n case 'password_reset.created':\n case 'password_reset.succeeded':\n return {\n ...eventBase,\n event: event.event,\n data: deserializePasswordResetEvent(event.data),\n };\n case 'user.created':\n case 'user.updated':\n case 'user.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeUser(event.data),\n };\n case 'organization_membership.created':\n case 'organization_membership.deleted':\n case 'organization_membership.updated':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeOrganizationMembership(event.data),\n };\n case 'role.created':\n case 'role.deleted':\n case 'role.updated':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeRoleEvent(event.data),\n };\n case 'organization_role.created':\n case 'organization_role.updated':\n case 'organization_role.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeOrganizationRoleEvent(event.data),\n };\n case 'permission.created':\n case 'permission.updated':\n case 'permission.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializePermission(event.data),\n };\n case 'session.created':\n case 'session.revoked':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeSession(event.data),\n };\n case 'organization.created':\n case 'organization.updated':\n case 'organization.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeOrganization(event.data),\n };\n case 'organization_domain.verified':\n case 'organization_domain.verification_failed':\n case 'organization_domain.created':\n case 'organization_domain.updated':\n case 'organization_domain.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeOrganizationDomain(event.data),\n };\n case 'api_key.created':\n case 'api_key.revoked':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeApiKey(event.data),\n };\n }\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA4BA,MAAa,oBAAoB,UAAgC;CAC/D,MAAMA,YAAuB;EAC3B,IAAI,MAAM;EACV,WAAW,MAAM;EACjB,SAAS,MAAM;EAChB;AAED,SAAQ,MAAM,OAAd;EACE,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL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MAAM,KAAK;GACpC"}
|
|
1
|
+
{"version":3,"file":"event.serializer-Cn5xAuN9.cjs","names":["eventBase: EventBase","deserializeAuthenticationEvent","deserializeAuthenticationRadarRiskDetectedEvent","deserializeConnection","deserializeEventDirectory","deserializeDeletedEventDirectory","deserializeDirectoryGroup","deserializeUpdatedEventDirectoryGroup","deserializeDirectoryUser","deserializeUpdatedEventDirectoryUser","deserializeEmailVerificationEvent","deserializeInvitationEvent","deserializeMagicAuthEvent","deserializePasswordResetEvent","deserializeUser","deserializeOrganizationMembership","deserializeRoleEvent","deserializeOrganizationRoleEvent","deserializePermission","deserializeSession","deserializeOrganization","deserializeOrganizationDomain","deserializeApiKey"],"sources":["../src/common/serializers/event.serializer.ts"],"sourcesContent":["import {\n deserializeDeletedEventDirectory,\n deserializeDirectoryUser,\n deserializeEventDirectory,\n deserializeDirectoryGroup,\n deserializeUpdatedEventDirectoryGroup,\n deserializeUpdatedEventDirectoryUser,\n} from '../../directory-sync/serializers';\nimport { deserializeOrganization } from '../../organizations/serializers';\nimport { deserializeConnection } from '../../sso/serializers';\nimport {\n deserializeAuthenticationEvent,\n deserializeEmailVerificationEvent,\n deserializeInvitationEvent,\n deserializeMagicAuthEvent,\n deserializePasswordResetEvent,\n deserializeUser,\n} from '../../user-management/serializers';\nimport { deserializeOrganizationDomain } from '../../organization-domains/serializers/organization-domain.serializer';\nimport { deserializeOrganizationMembership } from '../../user-management/serializers/organization-membership.serializer';\nimport { deserializeRoleEvent } from '../../user-management/serializers/role.serializer';\nimport { deserializeSession } from '../../user-management/serializers/session.serializer';\nimport { Event, EventBase, EventResponse } from '../interfaces';\nimport { deserializeAuthenticationRadarRiskDetectedEvent } from '../../user-management/serializers/authentication-radar-risk-event-serializer';\nimport { deserializeApiKey } from '../../api-keys/serializers/api-key.serializer';\nimport { deserializeOrganizationRoleEvent } from '../../authorization/serializers/organization-role.serializer';\nimport { deserializePermission } from '../../authorization/serializers/permission.serializer';\n\nexport const deserializeEvent = (event: EventResponse): Event => {\n const eventBase: EventBase = {\n id: event.id,\n createdAt: event.created_at,\n context: event.context,\n };\n\n switch (event.event) {\n case 'authentication.email_verification_succeeded':\n case 'authentication.magic_auth_failed':\n case 'authentication.magic_auth_succeeded':\n case 'authentication.mfa_succeeded':\n case 'authentication.oauth_failed':\n case 'authentication.oauth_succeeded':\n case 'authentication.passkey_failed':\n case 'authentication.passkey_succeeded':\n case 'authentication.password_failed':\n case 'authentication.password_succeeded':\n case 'authentication.sso_failed':\n case 'authentication.sso_succeeded':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeAuthenticationEvent(event.data),\n };\n case 'authentication.radar_risk_detected':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeAuthenticationRadarRiskDetectedEvent(event.data),\n };\n case 'connection.activated':\n case 'connection.deactivated':\n case 'connection.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeConnection(event.data),\n };\n case 'dsync.activated':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeEventDirectory(event.data),\n };\n case 'dsync.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeDeletedEventDirectory(event.data),\n };\n case 'dsync.group.created':\n case 'dsync.group.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeDirectoryGroup(event.data),\n };\n case 'dsync.group.updated':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeUpdatedEventDirectoryGroup(event.data),\n };\n case 'dsync.group.user_added':\n case 'dsync.group.user_removed':\n return {\n ...eventBase,\n event: event.event,\n data: {\n directoryId: event.data.directory_id,\n user: deserializeDirectoryUser(event.data.user),\n group: deserializeDirectoryGroup(event.data.group),\n },\n };\n case 'dsync.user.created':\n case 'dsync.user.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeDirectoryUser(event.data),\n };\n case 'dsync.user.updated':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeUpdatedEventDirectoryUser(event.data),\n };\n case 'email_verification.created':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeEmailVerificationEvent(event.data),\n };\n case 'invitation.accepted':\n case 'invitation.created':\n case 'invitation.revoked':\n case 'invitation.resent':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeInvitationEvent(event.data),\n };\n case 'magic_auth.created':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeMagicAuthEvent(event.data),\n };\n case 'password_reset.created':\n case 'password_reset.succeeded':\n return {\n ...eventBase,\n event: event.event,\n data: deserializePasswordResetEvent(event.data),\n };\n case 'user.created':\n case 'user.updated':\n case 'user.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeUser(event.data),\n };\n case 'organization_membership.created':\n case 'organization_membership.deleted':\n case 'organization_membership.updated':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeOrganizationMembership(event.data),\n };\n case 'role.created':\n case 'role.deleted':\n case 'role.updated':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeRoleEvent(event.data),\n };\n case 'organization_role.created':\n case 'organization_role.updated':\n case 'organization_role.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeOrganizationRoleEvent(event.data),\n };\n case 'permission.created':\n case 'permission.updated':\n case 'permission.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializePermission(event.data),\n };\n case 'session.created':\n case 'session.revoked':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeSession(event.data),\n };\n case 'organization.created':\n case 'organization.updated':\n case 'organization.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeOrganization(event.data),\n };\n case 'organization_domain.verified':\n case 'organization_domain.verification_failed':\n case 'organization_domain.created':\n case 'organization_domain.updated':\n case 'organization_domain.deleted':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeOrganizationDomain(event.data),\n };\n case 'api_key.created':\n case 'api_key.revoked':\n return {\n ...eventBase,\n event: event.event,\n data: deserializeApiKey(event.data),\n };\n }\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA4BA,MAAa,oBAAoB,UAAgC;CAC/D,MAAMA,YAAuB;EAC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