@workos-inc/node 8.1.0 → 8.3.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.
Files changed (1571) hide show
  1. package/lib/access-token.interface-PK6QwTjk.d.cts +18 -0
  2. package/lib/access-token.serializer-C80IQpUd.cjs +20 -0
  3. package/lib/access-token.serializer-C80IQpUd.cjs.map +1 -0
  4. package/lib/action.interface-BwTWjDLU.d.cts +63 -0
  5. package/lib/action.serializer-J8blkXac.cjs +47 -0
  6. package/lib/action.serializer-J8blkXac.cjs.map +1 -0
  7. package/lib/actions/actions.cjs +1 -1
  8. package/lib/actions/actions.d.cts +1 -1
  9. package/lib/actions/interfaces/action.interface.d.cts +1 -1
  10. package/lib/actions/interfaces/index.d.cts +2 -2
  11. package/lib/actions/interfaces/response-payload.interface.d.cts +1 -1
  12. package/lib/actions/serializers/action.serializer.cjs +1 -1
  13. package/lib/actions/serializers/action.serializer.d.cts +1 -1
  14. package/lib/actions-BQWfMHLW.cjs +58 -0
  15. package/lib/actions-BQWfMHLW.cjs.map +1 -0
  16. package/lib/actions-CGa0wSPO.d.cts +41 -0
  17. package/lib/add-environment-role-permission-options.interface-Pk9Z0RBF.d.cts +7 -0
  18. package/lib/add-flag-target-options.interface-CJ7M40Wi.d.cts +8 -0
  19. package/lib/add-organization-role-permission-options.interface-Oc11Zzvq.d.cts +7 -0
  20. package/lib/api-key-required.exception-DTYoK0KE.d.cts +10 -0
  21. package/lib/api-key.interface-SUHnxEHj.d.cts +32 -0
  22. package/lib/api-key.serializer-DWK81bXa.d.cts +7 -0
  23. package/lib/api-keys/api-keys.d.cts +1 -1
  24. package/lib/api-keys/interfaces/api-key.interface.d.cts +1 -1
  25. package/lib/api-keys/interfaces/create-organization-api-key-options.interface.d.cts +1 -1
  26. package/lib/api-keys/interfaces/created-api-key.interface.d.cts +1 -1
  27. package/lib/api-keys/interfaces/index.d.cts +5 -5
  28. package/lib/api-keys/interfaces/list-organization-api-keys-options.interface.d.cts +1 -1
  29. package/lib/api-keys/interfaces/validate-api-key.interface.d.cts +1 -1
  30. package/lib/api-keys/serializers/api-key.serializer.d.cts +1 -1
  31. package/lib/api-keys/serializers/create-organization-api-key-options.serializer.cjs +1 -1
  32. package/lib/api-keys/serializers/create-organization-api-key-options.serializer.d.cts +1 -1
  33. package/lib/api-keys/serializers/created-api-key.serializer.cjs +1 -1
  34. package/lib/api-keys/serializers/created-api-key.serializer.d.cts +1 -1
  35. package/lib/api-keys/serializers/index.cjs +2 -2
  36. package/lib/api-keys/serializers/index.d.cts +4 -4
  37. package/lib/api-keys/serializers/validate-api-key.serializer.d.cts +1 -1
  38. package/lib/api-keys-CrR113By.d.cts +744 -0
  39. package/lib/app-info.interface-DQRHsNPh.d.cts +8 -0
  40. package/lib/audit-log-export-options.interface-BLw_RWFk.d.cts +22 -0
  41. package/lib/audit-log-export-options.serializer-8ESYq4aa.cjs +20 -0
  42. package/lib/audit-log-export-options.serializer-8ESYq4aa.cjs.map +1 -0
  43. package/lib/audit-log-export-options.serializer-ffwj8kRw.d.cts +7 -0
  44. package/lib/audit-log-export.interface-oDR72O0J.d.cts +20 -0
  45. package/lib/audit-log-export.serializer-DVMljTPL.d.cts +7 -0
  46. package/lib/audit-log-export.serializer-mFDU2Fxf.cjs +19 -0
  47. package/lib/audit-log-export.serializer-mFDU2Fxf.cjs.map +1 -0
  48. package/lib/audit-logs/audit-logs.cjs +1 -1
  49. package/lib/audit-logs/audit-logs.d.cts +1 -1
  50. package/lib/audit-logs/interfaces/audit-log-export-options.interface.d.cts +1 -1
  51. package/lib/audit-logs/interfaces/audit-log-export.interface.d.cts +1 -1
  52. package/lib/audit-logs/interfaces/create-audit-log-event-options.interface.d.cts +1 -1
  53. package/lib/audit-logs/interfaces/create-audit-log-schema-options.interface.d.cts +1 -1
  54. package/lib/audit-logs/interfaces/index.d.cts +4 -4
  55. package/lib/audit-logs/serializers/audit-log-export-options.serializer.cjs +1 -1
  56. package/lib/audit-logs/serializers/audit-log-export-options.serializer.d.cts +1 -1
  57. package/lib/audit-logs/serializers/audit-log-export.serializer.cjs +1 -1
  58. package/lib/audit-logs/serializers/audit-log-export.serializer.d.cts +1 -1
  59. package/lib/audit-logs/serializers/create-audit-log-event-options.serializer.cjs +1 -1
  60. package/lib/audit-logs/serializers/create-audit-log-event-options.serializer.d.cts +1 -1
  61. package/lib/audit-logs/serializers/create-audit-log-schema-options.serializer.cjs +1 -1
  62. package/lib/audit-logs/serializers/create-audit-log-schema-options.serializer.d.cts +1 -1
  63. package/lib/audit-logs/serializers/create-audit-log-schema.serializer.cjs +1 -1
  64. package/lib/audit-logs/serializers/create-audit-log-schema.serializer.d.cts +1 -1
  65. package/lib/audit-logs/serializers/index.cjs +5 -5
  66. package/lib/audit-logs/serializers/index.d.cts +5 -5
  67. package/lib/audit-logs-DiZN60g_.cjs +43 -0
  68. package/lib/audit-logs-DiZN60g_.cjs.map +1 -0
  69. package/lib/authenticate-with-code-and-verifier-options.interface-CifpWY0M.d.cts +17 -0
  70. package/lib/authenticate-with-code-and-verifier-options.serializer-BqSvuzAF.d.cts +8 -0
  71. package/lib/authenticate-with-code-options.interface-CtsvRTYS.d.cts +20 -0
  72. package/lib/authenticate-with-code-options.serializer-Blhrjiq0.d.cts +8 -0
  73. package/lib/authenticate-with-email-verification-options.interface-BCC2K9Zp.d.cts +18 -0
  74. package/lib/authenticate-with-email-verification.serializer-Bf1j1ew9.cjs +20 -0
  75. package/lib/authenticate-with-email-verification.serializer-Bf1j1ew9.cjs.map +1 -0
  76. package/lib/authenticate-with-magic-auth-options.interface-Dmxc0Aes.d.cts +22 -0
  77. package/lib/authenticate-with-magic-auth-options.serializer-DAjj_AJh.d.cts +8 -0
  78. package/lib/authenticate-with-options-base.interface-Dx_YCajX.d.cts +41 -0
  79. package/lib/authenticate-with-organization-selection-options.serializer-Did46zvW.cjs +20 -0
  80. package/lib/authenticate-with-organization-selection-options.serializer-Did46zvW.cjs.map +1 -0
  81. package/lib/authenticate-with-organization-selection.interface-DYOjeIvu.d.cts +18 -0
  82. package/lib/authenticate-with-password-options.interface-BbjZEbmt.d.cts +20 -0
  83. package/lib/authenticate-with-password-options.serializer-CFKO59Ra.d.cts +8 -0
  84. package/lib/authenticate-with-refresh-token-options.interface-CqS4TJ3X.d.cts +18 -0
  85. package/lib/authenticate-with-refresh-token-public-client-options.interface-TPswbB8Z.d.cts +16 -0
  86. package/lib/authenticate-with-refresh-token-public-client-options.serializer-Ccv24S4s.d.cts +8 -0
  87. package/lib/authenticate-with-refresh-token.options.serializer-Dhk9Zd7b.d.cts +9 -0
  88. package/lib/authenticate-with-session-cookie.interface-B4eQTrfN.cjs +17 -0
  89. package/lib/authenticate-with-session-cookie.interface-B4eQTrfN.cjs.map +1 -0
  90. package/lib/authenticate-with-session-cookie.interface-CoZAMXL_.d.cts +45 -0
  91. package/lib/authenticate-with-totp-options.interface-C0Jr3YDb.d.cts +20 -0
  92. package/lib/authenticate-with-totp-options.serializer-BcaV2QsQ.d.cts +8 -0
  93. package/lib/authentication-event.interface-0-TCj9ur.d.cts +28 -0
  94. package/lib/authentication-event.serializer-DX0bzXas.d.cts +7 -0
  95. package/lib/authentication-radar-risk-detected-event.interface-CcBMeCX7.d.cts +24 -0
  96. package/lib/authentication-response.interface-DITy4Tzw.d.cts +28 -0
  97. package/lib/authentication-response.serializer-DIJ8dZZS.d.cts +7 -0
  98. package/lib/authorization/authorization.cjs +3 -0
  99. package/lib/authorization/authorization.d.cts +2 -0
  100. package/lib/authorization/authorization.d.ts +45 -0
  101. package/lib/authorization/authorization.js +106 -0
  102. package/lib/authorization/authorization.js.map +1 -0
  103. package/lib/authorization/index.cjs +4 -0
  104. package/lib/authorization/index.d.cts +17 -0
  105. package/lib/authorization/index.d.ts +17 -0
  106. package/lib/authorization/index.js +3 -0
  107. package/lib/authorization/interfaces/add-environment-role-permission-options.interface.d.cts +2 -0
  108. package/lib/authorization/interfaces/add-environment-role-permission-options.interface.d.ts +7 -0
  109. package/lib/authorization/interfaces/add-environment-role-permission-options.interface.js +1 -0
  110. package/lib/authorization/interfaces/add-organization-role-permission-options.interface.d.cts +2 -0
  111. package/lib/authorization/interfaces/add-organization-role-permission-options.interface.d.ts +7 -0
  112. package/lib/authorization/interfaces/add-organization-role-permission-options.interface.js +1 -0
  113. package/lib/authorization/interfaces/create-environment-role-options.interface.d.cts +2 -0
  114. package/lib/authorization/interfaces/create-environment-role-options.interface.d.ts +14 -0
  115. package/lib/authorization/interfaces/create-environment-role-options.interface.js +1 -0
  116. package/lib/authorization/interfaces/create-organization-role-options.interface.d.cts +2 -0
  117. package/lib/authorization/interfaces/create-organization-role-options.interface.d.ts +14 -0
  118. package/lib/authorization/interfaces/create-organization-role-options.interface.js +1 -0
  119. package/lib/authorization/interfaces/create-permission-options.interface.d.cts +2 -0
  120. package/lib/authorization/interfaces/create-permission-options.interface.d.ts +14 -0
  121. package/lib/authorization/interfaces/create-permission-options.interface.js +1 -0
  122. package/lib/authorization/interfaces/environment-role.interface.d.cts +2 -0
  123. package/lib/authorization/interfaces/environment-role.interface.d.ts +34 -0
  124. package/lib/authorization/interfaces/environment-role.interface.js +1 -0
  125. package/lib/authorization/interfaces/index.d.cts +16 -0
  126. package/lib/authorization/interfaces/index.d.ts +16 -0
  127. package/lib/authorization/interfaces/index.js +1 -0
  128. package/lib/authorization/interfaces/list-permissions-options.interface.d.cts +2 -0
  129. package/lib/authorization/interfaces/list-permissions-options.interface.d.ts +7 -0
  130. package/lib/authorization/interfaces/list-permissions-options.interface.js +1 -0
  131. package/lib/authorization/interfaces/organization-role.interface.d.cts +2 -0
  132. package/lib/authorization/interfaces/organization-role.interface.d.ts +15 -0
  133. package/lib/authorization/interfaces/organization-role.interface.js +1 -0
  134. package/lib/authorization/interfaces/permission.interface.d.cts +2 -0
  135. package/lib/authorization/interfaces/permission.interface.d.ts +40 -0
  136. package/lib/authorization/interfaces/permission.interface.js +1 -0
  137. package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.d.cts +2 -0
  138. package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.d.ts +7 -0
  139. package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.js +1 -0
  140. package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.d.cts +2 -0
  141. package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.d.ts +7 -0
  142. package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.js +1 -0
  143. package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.d.cts +2 -0
  144. package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.d.ts +7 -0
  145. package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.js +1 -0
  146. package/lib/authorization/interfaces/update-environment-role-options.interface.d.cts +2 -0
  147. package/lib/authorization/interfaces/update-environment-role-options.interface.d.ts +12 -0
  148. package/lib/authorization/interfaces/update-environment-role-options.interface.js +1 -0
  149. package/lib/authorization/interfaces/update-organization-role-options.interface.d.cts +2 -0
  150. package/lib/authorization/interfaces/update-organization-role-options.interface.d.ts +12 -0
  151. package/lib/authorization/interfaces/update-organization-role-options.interface.js +1 -0
  152. package/lib/authorization/interfaces/update-permission-options.interface.d.cts +2 -0
  153. package/lib/authorization/interfaces/update-permission-options.interface.d.ts +12 -0
  154. package/lib/authorization/interfaces/update-permission-options.interface.js +1 -0
  155. package/lib/authorization/serializers/create-environment-role-options.serializer.cjs +3 -0
  156. package/lib/authorization/serializers/create-environment-role-options.serializer.d.cts +2 -0
  157. package/lib/authorization/serializers/create-environment-role-options.serializer.d.ts +7 -0
  158. package/lib/authorization/serializers/create-environment-role-options.serializer.js +10 -0
  159. package/lib/authorization/serializers/create-environment-role-options.serializer.js.map +1 -0
  160. package/lib/authorization/serializers/create-organization-role-options.serializer.cjs +3 -0
  161. package/lib/authorization/serializers/create-organization-role-options.serializer.d.cts +2 -0
  162. package/lib/authorization/serializers/create-organization-role-options.serializer.d.ts +7 -0
  163. package/lib/authorization/serializers/create-organization-role-options.serializer.js +10 -0
  164. package/lib/authorization/serializers/create-organization-role-options.serializer.js.map +1 -0
  165. package/lib/authorization/serializers/create-permission-options.serializer.cjs +3 -0
  166. package/lib/authorization/serializers/create-permission-options.serializer.d.cts +2 -0
  167. package/lib/authorization/serializers/create-permission-options.serializer.d.ts +7 -0
  168. package/lib/authorization/serializers/create-permission-options.serializer.js +10 -0
  169. package/lib/authorization/serializers/create-permission-options.serializer.js.map +1 -0
  170. package/lib/authorization/serializers/environment-role.serializer.cjs +3 -0
  171. package/lib/authorization/serializers/environment-role.serializer.d.cts +2 -0
  172. package/lib/authorization/serializers/environment-role.serializer.d.ts +7 -0
  173. package/lib/authorization/serializers/environment-role.serializer.js +16 -0
  174. package/lib/authorization/serializers/environment-role.serializer.js.map +1 -0
  175. package/lib/authorization/serializers/index.cjs +20 -0
  176. package/lib/authorization/serializers/index.d.cts +10 -0
  177. package/lib/authorization/serializers/index.d.ts +10 -0
  178. package/lib/authorization/serializers/index.js +11 -0
  179. package/lib/authorization/serializers/organization-role.serializer.cjs +4 -0
  180. package/lib/authorization/serializers/organization-role.serializer.d.cts +2 -0
  181. package/lib/authorization/serializers/organization-role.serializer.d.ts +9 -0
  182. package/lib/authorization/serializers/organization-role.serializer.js +27 -0
  183. package/lib/authorization/serializers/organization-role.serializer.js.map +1 -0
  184. package/lib/authorization/serializers/permission.serializer.cjs +3 -0
  185. package/lib/authorization/serializers/permission.serializer.d.cts +2 -0
  186. package/lib/authorization/serializers/permission.serializer.d.ts +7 -0
  187. package/lib/authorization/serializers/permission.serializer.js +15 -0
  188. package/lib/authorization/serializers/permission.serializer.js.map +1 -0
  189. package/lib/authorization/serializers/update-environment-role-options.serializer.cjs +3 -0
  190. package/lib/authorization/serializers/update-environment-role-options.serializer.d.cts +2 -0
  191. package/lib/authorization/serializers/update-environment-role-options.serializer.d.ts +7 -0
  192. package/lib/authorization/serializers/update-environment-role-options.serializer.js +9 -0
  193. package/lib/authorization/serializers/update-environment-role-options.serializer.js.map +1 -0
  194. package/lib/authorization/serializers/update-organization-role-options.serializer.cjs +3 -0
  195. package/lib/authorization/serializers/update-organization-role-options.serializer.d.cts +2 -0
  196. package/lib/authorization/serializers/update-organization-role-options.serializer.d.ts +7 -0
  197. package/lib/authorization/serializers/update-organization-role-options.serializer.js +9 -0
  198. package/lib/authorization/serializers/update-organization-role-options.serializer.js.map +1 -0
  199. package/lib/authorization/serializers/update-permission-options.serializer.cjs +3 -0
  200. package/lib/authorization/serializers/update-permission-options.serializer.d.cts +2 -0
  201. package/lib/authorization/serializers/update-permission-options.serializer.d.ts +7 -0
  202. package/lib/authorization/serializers/update-permission-options.serializer.js +9 -0
  203. package/lib/authorization/serializers/update-permission-options.serializer.js.map +1 -0
  204. package/lib/authorization-CK0d-2Tg.cjs +111 -0
  205. package/lib/authorization-CK0d-2Tg.cjs.map +1 -0
  206. package/lib/authorization-url-options.interface-BwBNFg0Z.d.cts +45 -0
  207. package/lib/authorization-url-options.interface-C5ABtdiE.d.cts +55 -0
  208. package/lib/bad-request.exception-BWL7y3t5.d.cts +25 -0
  209. package/lib/base64-8aJjmiTE.cjs +44 -0
  210. package/lib/base64-8aJjmiTE.cjs.map +1 -0
  211. package/lib/batch-write-resources-options.serializer-CC48gIZp.cjs +23 -0
  212. package/lib/batch-write-resources-options.serializer-CC48gIZp.cjs.map +1 -0
  213. package/lib/batch-write-resources-options.serializer-G63Eiv-r.d.cts +7 -0
  214. package/lib/challenge-factor-options-DQBD-OBq.d.cts +10 -0
  215. package/lib/challenge.interface-CGUxrdzT.d.cts +22 -0
  216. package/lib/challenge.serializer-C9JkzvE8.d.cts +7 -0
  217. package/lib/challenge.serializer-Dzoig6Tb.cjs +20 -0
  218. package/lib/challenge.serializer-Dzoig6Tb.cjs.map +1 -0
  219. package/lib/check-op.enum-1gyp3mY_.d.cts +8 -0
  220. package/lib/check-op.enum-CJmiI-EV.cjs +16 -0
  221. package/lib/check-op.enum-CJmiI-EV.cjs.map +1 -0
  222. package/lib/check-options.serializer-C7So55Kd.d.cts +9 -0
  223. package/lib/check-options.serializer-DlNVIJoZ.cjs +69 -0
  224. package/lib/check-options.serializer-DlNVIJoZ.cjs.map +1 -0
  225. package/lib/check.interface-Bqtu_Kmu.cjs +33 -0
  226. package/lib/check.interface-Bqtu_Kmu.cjs.map +1 -0
  227. package/lib/check.interface-oac-oCtg.d.cts +88 -0
  228. package/lib/common/crypto/crypto-provider.cjs +1 -1
  229. package/lib/common/crypto/crypto-provider.d.cts +1 -1
  230. package/lib/common/crypto/seal.cjs +1 -1
  231. package/lib/common/crypto/signature-provider.cjs +1 -1
  232. package/lib/common/crypto/signature-provider.d.cts +1 -1
  233. package/lib/common/crypto/subtle-crypto-provider.cjs +1 -1
  234. package/lib/common/crypto/subtle-crypto-provider.d.cts +1 -1
  235. package/lib/common/exceptions/api-key-required.exception.d.cts +1 -1
  236. package/lib/common/exceptions/bad-request.exception.d.cts +1 -1
  237. package/lib/common/exceptions/conflict.exception.cjs +1 -1
  238. package/lib/common/exceptions/conflict.exception.d.cts +1 -1
  239. package/lib/common/exceptions/generic-server.exception.d.cts +1 -1
  240. package/lib/common/exceptions/index.d.cts +10 -10
  241. package/lib/common/exceptions/no-api-key-provided.exception.d.cts +1 -1
  242. package/lib/common/exceptions/not-found.exception.d.cts +1 -1
  243. package/lib/common/exceptions/oauth.exception.d.cts +1 -1
  244. package/lib/common/exceptions/parse-error.cjs +1 -1
  245. package/lib/common/exceptions/parse-error.d.cts +1 -1
  246. package/lib/common/exceptions/rate-limit-exceeded.exception.d.cts +1 -1
  247. package/lib/common/exceptions/signature-verification.exception.d.cts +1 -1
  248. package/lib/common/exceptions/unauthorized.exception.d.cts +1 -1
  249. package/lib/common/exceptions/unprocessable-entity.exception.d.cts +1 -1
  250. package/lib/common/interfaces/app-info.interface.d.cts +1 -1
  251. package/lib/common/interfaces/event.interface.d.cts +2 -2
  252. package/lib/common/interfaces/event.interface.d.ts +54 -4
  253. package/lib/common/interfaces/get-options.interface.d.cts +1 -1
  254. package/lib/common/interfaces/http-client.interface.d.cts +1 -1
  255. package/lib/common/interfaces/index.d.cts +12 -11
  256. package/lib/common/interfaces/index.d.ts +3 -2
  257. package/lib/common/interfaces/list.interface.d.cts +1 -1
  258. package/lib/common/interfaces/pagination-options.interface.d.cts +1 -1
  259. package/lib/common/interfaces/patch-options.interface.d.cts +2 -0
  260. package/lib/common/interfaces/patch-options.interface.d.ts +12 -0
  261. package/lib/common/interfaces/patch-options.interface.js +1 -0
  262. package/lib/common/interfaces/post-options.interface.d.cts +1 -1
  263. package/lib/common/interfaces/put-options.interface.d.cts +1 -1
  264. package/lib/common/interfaces/request-exception.interface.d.cts +1 -1
  265. package/lib/common/interfaces/unknown-record.interface.d.cts +1 -1
  266. package/lib/common/interfaces/unprocessable-entity-error.interface.d.cts +1 -1
  267. package/lib/common/interfaces/workos-options.interface.d.cts +1 -1
  268. package/lib/common/interfaces/workos-response-error.interface.d.cts +1 -1
  269. package/lib/common/net/fetch-client.cjs +1 -1
  270. package/lib/common/net/fetch-client.d.cts +3 -2
  271. package/lib/common/net/fetch-client.d.ts +1 -0
  272. package/lib/common/net/fetch-client.js +11 -0
  273. package/lib/common/net/fetch-client.js.map +1 -1
  274. package/lib/common/net/http-client.cjs +1 -1
  275. package/lib/common/net/http-client.d.cts +1 -1
  276. package/lib/common/net/http-client.d.ts +1 -0
  277. package/lib/common/net/http-client.js.map +1 -1
  278. package/lib/common/serializers/event.serializer.cjs +1 -1
  279. package/lib/common/serializers/event.serializer.d.cts +1 -1
  280. package/lib/common/serializers/event.serializer.js +16 -0
  281. package/lib/common/serializers/event.serializer.js.map +1 -1
  282. package/lib/common/serializers/index.cjs +2 -2
  283. package/lib/common/serializers/index.d.cts +2 -2
  284. package/lib/common/serializers/list.serializer.cjs +1 -1
  285. package/lib/common/serializers/list.serializer.d.cts +1 -1
  286. package/lib/common/utils/base64.cjs +1 -1
  287. package/lib/common/utils/env.cjs +1 -1
  288. package/lib/common/utils/fetch-and-deserialize.cjs +1 -1
  289. package/lib/common/utils/fetch-and-deserialize.d.cts +4 -4
  290. package/lib/common/utils/leb128.cjs +1 -1
  291. package/lib/common/utils/pagination.d.cts +1 -1
  292. package/lib/common/utils/query-string.cjs +1 -1
  293. package/lib/common/utils/runtime-info.cjs +1 -1
  294. package/lib/common/utils/unreachable.cjs +1 -1
  295. package/lib/conflict.exception-4m45wGr8.cjs +23 -0
  296. package/lib/conflict.exception-4m45wGr8.cjs.map +1 -0
  297. package/lib/connection-type.enum-BCSkvlg6.d.cts +41 -0
  298. package/lib/connection-type.enum-CQncLVbr.cjs +49 -0
  299. package/lib/connection-type.enum-CQncLVbr.cjs.map +1 -0
  300. package/lib/connection.interface-D1HP4q90.d.cts +33 -0
  301. package/lib/connection.serializer-B47qKsDN.d.cts +7 -0
  302. package/lib/create-audit-log-event-options.interface-B-eEsjZw.d.cts +43 -0
  303. package/lib/create-audit-log-event-options.serializer-Byx8ZppH.d.cts +7 -0
  304. package/lib/create-audit-log-event-options.serializer-CIEpbo2R.cjs +23 -0
  305. package/lib/create-audit-log-event-options.serializer-CIEpbo2R.cjs.map +1 -0
  306. package/lib/create-audit-log-schema-options.interface-VEGNQUoR.d.cts +67 -0
  307. package/lib/create-audit-log-schema-options.serializer-BY__IgYQ.cjs +38 -0
  308. package/lib/create-audit-log-schema-options.serializer-BY__IgYQ.cjs.map +1 -0
  309. package/lib/create-audit-log-schema-options.serializer-vOYqa-AI.d.cts +7 -0
  310. package/lib/create-audit-log-schema.serializer-CBjhgiOY.cjs +32 -0
  311. package/lib/create-audit-log-schema.serializer-CBjhgiOY.cjs.map +1 -0
  312. package/lib/create-audit-log-schema.serializer-CDSQiWrT.d.cts +7 -0
  313. package/lib/create-data-key.interface-uWGAAWZC.d.cts +15 -0
  314. package/lib/create-environment-role-options.interface-BzAxMcvk.d.cts +14 -0
  315. package/lib/create-environment-role-options.serializer-C_4tdn3G.cjs +16 -0
  316. package/lib/create-environment-role-options.serializer-C_4tdn3G.cjs.map +1 -0
  317. package/lib/create-environment-role-options.serializer-Cgp-nj7R.d.cts +7 -0
  318. package/lib/create-magic-auth-options.interface-KljIsFrM.d.cts +12 -0
  319. package/lib/create-magic-auth-options.serializer-JyHvOWXa.d.cts +7 -0
  320. package/lib/create-object.interface-q1p30YMV.d.cts +16 -0
  321. package/lib/create-organization-api-key-options.serializer-BTBsCCJf.d.cts +7 -0
  322. package/lib/create-organization-api-key-options.serializer-Bd5XkHe-.cjs +17 -0
  323. package/lib/create-organization-api-key-options.serializer-Bd5XkHe-.cjs.map +1 -0
  324. package/lib/create-organization-domain-options.interface-BorRBhyO.d.cts +12 -0
  325. package/lib/create-organization-domain-options.serializer-B64Zeqrn.cjs +15 -0
  326. package/lib/create-organization-domain-options.serializer-B64Zeqrn.cjs.map +1 -0
  327. package/lib/create-organization-membership-options.interface-CT78k_RG.d.cts +16 -0
  328. package/lib/create-organization-membership-options.serializer-J20uU0fe.cjs +17 -0
  329. package/lib/create-organization-membership-options.serializer-J20uU0fe.cjs.map +1 -0
  330. package/lib/create-organization-options.serializer-9aeLeXNW.d.cts +7 -0
  331. package/lib/create-organization-role-options.interface-D47Tf3Ep.d.cts +14 -0
  332. package/lib/create-organization-role-options.serializer-CX2ND-mF.cjs +16 -0
  333. package/lib/create-organization-role-options.serializer-CX2ND-mF.cjs.map +1 -0
  334. package/lib/create-organization-role-options.serializer-gKd5As_7.d.cts +7 -0
  335. package/lib/create-password-reset-options.interface-DugfAPGw.d.cts +10 -0
  336. package/lib/create-password-reset-options.serializer-CF9UYm2X.d.cts +7 -0
  337. package/lib/create-passwordless-session-options.interface-DCAzOCvV.d.cts +20 -0
  338. package/lib/create-permission-options.interface-ClaSX7df.d.cts +14 -0
  339. package/lib/create-permission-options.serializer-BJKj9O3y.cjs +16 -0
  340. package/lib/create-permission-options.serializer-BJKj9O3y.cjs.map +1 -0
  341. package/lib/create-permission-options.serializer-DAxJac9X.d.cts +7 -0
  342. package/lib/create-resource-options.serializer-DblyocXR.d.cts +7 -0
  343. package/lib/create-resource-options.serializer-N1fy1b2S.cjs +17 -0
  344. package/lib/create-resource-options.serializer-N1fy1b2S.cjs.map +1 -0
  345. package/lib/create-user-options.interface-ord6dU_x.d.cts +28 -0
  346. package/lib/create-user-options.serializer-DaIm8p-c.d.cts +7 -0
  347. package/lib/created-api-key.interface-DkDQVw2T.d.cts +34 -0
  348. package/lib/created-api-key.serializer-CUt_hj_z.cjs +25 -0
  349. package/lib/created-api-key.serializer-CUt_hj_z.cjs.map +1 -0
  350. package/lib/created-api-key.serializer-DKs_m9pB.d.cts +7 -0
  351. package/lib/crypto-provider-Bg3tRE2P.cjs +18 -0
  352. package/lib/crypto-provider-Bg3tRE2P.cjs.map +1 -0
  353. package/lib/crypto-provider-CYvkctEg.d.cts +75 -0
  354. package/lib/decrypt-data-key.interface-BwEc_O_A.d.cts +11 -0
  355. package/lib/delete-object.interface-B_P7yrm3.d.cts +7 -0
  356. package/lib/delete-resource-options.serializer-D6e_dLrI.d.cts +7 -0
  357. package/lib/delete-resource-options.serializer-DJCtDzLP.cjs +16 -0
  358. package/lib/delete-resource-options.serializer-DJCtDzLP.cjs.map +1 -0
  359. package/lib/directory-group.interface-RhiHiiPX.d.cts +24 -0
  360. package/lib/directory-group.serializer-BRcTw-sz.d.cts +8 -0
  361. package/lib/directory-sync/directory-sync.cjs +1 -1
  362. package/lib/directory-sync/directory-sync.d.cts +1 -1
  363. package/lib/directory-sync/interfaces/directory-group.interface.d.cts +1 -1
  364. package/lib/directory-sync/interfaces/directory-user.interface.d.cts +1 -1
  365. package/lib/directory-sync/interfaces/directory.interface.d.cts +1 -1
  366. package/lib/directory-sync/interfaces/index.d.cts +6 -6
  367. package/lib/directory-sync/interfaces/list-directories-options.interface.d.cts +1 -1
  368. package/lib/directory-sync/interfaces/list-directory-users-options.interface.d.cts +1 -1
  369. package/lib/directory-sync/interfaces/list-groups-options.interface.d.cts +1 -1
  370. package/lib/directory-sync/serializers/directory-group.serializer.d.cts +1 -1
  371. package/lib/directory-sync/serializers/directory-user.serializer.d.cts +1 -1
  372. package/lib/directory-sync/serializers/directory.serializer.d.cts +1 -1
  373. package/lib/directory-sync/serializers/index.d.cts +4 -4
  374. package/lib/directory-sync/serializers/list-directories-options.serializer.d.cts +1 -1
  375. package/lib/directory-sync-pnubY2JS.cjs +46 -0
  376. package/lib/directory-sync-pnubY2JS.cjs.map +1 -0
  377. package/lib/directory-user.serializer-C9Ef-WmY.d.cts +9 -0
  378. package/lib/directory.interface-RS2zVVSH.d.cts +60 -0
  379. package/lib/directory.serializer-C4ye_GNZ.d.cts +10 -0
  380. package/lib/domain-data.interface-CAbxsOXR.cjs +16 -0
  381. package/lib/domain-data.interface-CAbxsOXR.cjs.map +1 -0
  382. package/lib/domain-data.interface-CWu6PLZw.d.cts +12 -0
  383. package/lib/email-verification.interface-DPOUBm9v.d.cts +42 -0
  384. package/lib/email-verification.serializer-BKwo8A4r.d.cts +8 -0
  385. package/lib/enroll-auth-factor-options.serializer-B0Kr8aWf.d.cts +7 -0
  386. package/lib/enroll-auth-factor.interface-EhGkRx_t.d.cts +17 -0
  387. package/lib/enroll-factor-options-IU9WQYZu.d.cts +14 -0
  388. package/lib/env-BRem2_1e.cjs +62 -0
  389. package/lib/env-BRem2_1e.cjs.map +1 -0
  390. package/lib/environment-role.interface-B59FS29B.d.cts +34 -0
  391. package/lib/environment-role.serializer-7K6a1PBm.cjs +22 -0
  392. package/lib/environment-role.serializer-7K6a1PBm.cjs.map +1 -0
  393. package/lib/environment-role.serializer-C0AaYE8M.d.cts +7 -0
  394. package/lib/event.serializer-CsTEEdRG.d.cts +7 -0
  395. package/lib/event.serializer-tSz5HYz3.cjs +196 -0
  396. package/lib/event.serializer-tSz5HYz3.cjs.map +1 -0
  397. package/lib/events/events.cjs +1 -1
  398. package/lib/events/events.d.cts +1 -1
  399. package/lib/events/interfaces/index.d.cts +1 -1
  400. package/lib/events/interfaces/list-events-options.interface.d.cts +1 -1
  401. package/lib/events/serializers/index.cjs +1 -1
  402. package/lib/events/serializers/index.d.cts +1 -1
  403. package/lib/events/serializers/list-event-options.serializer.cjs +1 -1
  404. package/lib/events/serializers/list-event-options.serializer.d.cts +1 -1
  405. package/lib/events-DUwPz2Dc.cjs +23 -0
  406. package/lib/events-DUwPz2Dc.cjs.map +1 -0
  407. package/lib/factor.interface-DebkGvZh.d.cts +42 -0
  408. package/lib/factor.interface-DzLmWxJJ.d.cts +44 -0
  409. package/lib/factor.serializer-CTHEanUk.d.cts +8 -0
  410. package/lib/factor.serializer-DGKMWcSc.d.cts +8 -0
  411. package/lib/factor.serializer-S_m_uTAP.cjs +37 -0
  412. package/lib/factor.serializer-S_m_uTAP.cjs.map +1 -0
  413. package/lib/factory-DxjFq3Zg.cjs +15 -0
  414. package/lib/factory-DxjFq3Zg.cjs.map +1 -0
  415. package/lib/factory.cjs +6 -6
  416. package/lib/factory.d.cts +1 -1
  417. package/lib/feature-flag.interface-Dc9oPNTI.d.cts +28 -0
  418. package/lib/feature-flag.serializer-VHx8LryN.d.cts +7 -0
  419. package/lib/feature-flag.serializer-iuO0V07A.cjs +23 -0
  420. package/lib/feature-flag.serializer-iuO0V07A.cjs.map +1 -0
  421. package/lib/feature-flags/feature-flags.cjs +1 -1
  422. package/lib/feature-flags/feature-flags.d.cts +1 -1
  423. package/lib/feature-flags/interfaces/add-flag-target-options.interface.d.cts +1 -1
  424. package/lib/feature-flags/interfaces/feature-flag.interface.d.cts +1 -1
  425. package/lib/feature-flags/interfaces/index.d.cts +4 -4
  426. package/lib/feature-flags/interfaces/list-feature-flags-options.interface.d.cts +1 -1
  427. package/lib/feature-flags/interfaces/remove-flag-target-options.interface.d.cts +1 -1
  428. package/lib/feature-flags/serializers/feature-flag.serializer.cjs +1 -1
  429. package/lib/feature-flags/serializers/feature-flag.serializer.d.cts +1 -1
  430. package/lib/feature-flags/serializers/index.cjs +1 -1
  431. package/lib/feature-flags/serializers/index.d.cts +1 -1
  432. package/lib/feature-flags-C-2fqPKn.cjs +42 -0
  433. package/lib/feature-flags-C-2fqPKn.cjs.map +1 -0
  434. package/lib/fetch-and-deserialize-B6lbfouV.cjs +25 -0
  435. package/lib/fetch-and-deserialize-B6lbfouV.cjs.map +1 -0
  436. package/lib/fetch-and-deserialize-list-C7zY6BRV.cjs +19 -0
  437. package/lib/fetch-and-deserialize-list-C7zY6BRV.cjs.map +1 -0
  438. package/lib/fetch-client-CiqtLSDr.cjs +189 -0
  439. package/lib/fetch-client-CiqtLSDr.cjs.map +1 -0
  440. package/lib/fga/fga.cjs +1 -1
  441. package/lib/fga/fga.d.cts +1 -1
  442. package/lib/fga/interfaces/check-op.enum.cjs +1 -1
  443. package/lib/fga/interfaces/check-op.enum.d.cts +1 -1
  444. package/lib/fga/interfaces/check.interface.cjs +1 -1
  445. package/lib/fga/interfaces/check.interface.d.cts +1 -1
  446. package/lib/fga/interfaces/index.cjs +4 -4
  447. package/lib/fga/interfaces/index.d.cts +8 -8
  448. package/lib/fga/interfaces/list.interface.d.cts +1 -1
  449. package/lib/fga/interfaces/query.interface.d.cts +1 -1
  450. package/lib/fga/interfaces/resource-op.enum.cjs +1 -1
  451. package/lib/fga/interfaces/resource-op.enum.d.cts +1 -1
  452. package/lib/fga/interfaces/resource.interface.d.cts +1 -1
  453. package/lib/fga/interfaces/warning.interface.d.cts +1 -1
  454. package/lib/fga/interfaces/warrant-op.enum.cjs +1 -1
  455. package/lib/fga/interfaces/warrant-op.enum.d.cts +1 -1
  456. package/lib/fga/interfaces/warrant-token.interface.d.cts +1 -1
  457. package/lib/fga/interfaces/warrant.interface.d.cts +1 -1
  458. package/lib/fga/serializers/batch-write-resources-options.serializer.cjs +1 -1
  459. package/lib/fga/serializers/batch-write-resources-options.serializer.d.cts +1 -1
  460. package/lib/fga/serializers/check-options.serializer.cjs +1 -1
  461. package/lib/fga/serializers/check-options.serializer.d.cts +1 -1
  462. package/lib/fga/serializers/create-resource-options.serializer.cjs +1 -1
  463. package/lib/fga/serializers/create-resource-options.serializer.d.cts +1 -1
  464. package/lib/fga/serializers/delete-resource-options.serializer.cjs +1 -1
  465. package/lib/fga/serializers/delete-resource-options.serializer.d.cts +1 -1
  466. package/lib/fga/serializers/index.cjs +13 -13
  467. package/lib/fga/serializers/index.d.cts +13 -13
  468. package/lib/fga/serializers/list-resources-options.serializer.cjs +1 -1
  469. package/lib/fga/serializers/list-resources-options.serializer.d.cts +1 -1
  470. package/lib/fga/serializers/list-warrants-options.serializer.cjs +1 -1
  471. package/lib/fga/serializers/list-warrants-options.serializer.d.cts +1 -1
  472. package/lib/fga/serializers/list.serializer.cjs +1 -1
  473. package/lib/fga/serializers/list.serializer.d.cts +1 -1
  474. package/lib/fga/serializers/query-options.serializer.cjs +1 -1
  475. package/lib/fga/serializers/query-options.serializer.d.cts +1 -1
  476. package/lib/fga/serializers/query-result.serializer.cjs +1 -1
  477. package/lib/fga/serializers/query-result.serializer.d.cts +1 -1
  478. package/lib/fga/serializers/resource.serializer.cjs +1 -1
  479. package/lib/fga/serializers/resource.serializer.d.cts +1 -1
  480. package/lib/fga/serializers/warrant-token.serializer.cjs +1 -1
  481. package/lib/fga/serializers/warrant-token.serializer.d.cts +1 -1
  482. package/lib/fga/serializers/warrant.serializer.cjs +1 -1
  483. package/lib/fga/serializers/warrant.serializer.d.cts +1 -1
  484. package/lib/fga/serializers/write-warrant-options.serializer.cjs +1 -1
  485. package/lib/fga/serializers/write-warrant-options.serializer.d.cts +1 -1
  486. package/lib/fga/utils/fetch-and-deserialize-list.cjs +1 -1
  487. package/lib/fga/utils/fetch-and-deserialize-list.d.cts +4 -4
  488. package/lib/fga/utils/fga-paginatable.cjs +1 -1
  489. package/lib/fga/utils/fga-paginatable.d.cts +1 -1
  490. package/lib/fga/utils/interface-check.cjs +1 -1
  491. package/lib/fga/utils/interface-check.d.cts +2 -2
  492. package/lib/fga-DWvTVn5k.cjs +83 -0
  493. package/lib/fga-DWvTVn5k.cjs.map +1 -0
  494. package/lib/fga-paginatable-BAls8pYD.cjs +22 -0
  495. package/lib/fga-paginatable-BAls8pYD.cjs.map +1 -0
  496. package/lib/fga-paginatable-BGfH6hKb.d.cts +14 -0
  497. package/lib/generate-portal-link-intent.interface-DvAjnRTH.d.cts +12 -0
  498. package/lib/generate-portal-link-intent.interface-VhaOku0u.cjs +20 -0
  499. package/lib/generate-portal-link-intent.interface-VhaOku0u.cjs.map +1 -0
  500. package/lib/generic-server.exception-BQuagq-c.d.cts +14 -0
  501. package/lib/get-access-token.interface-C8vDOoS4.d.cts +32 -0
  502. package/lib/get-access-token.serializer-DgAG_4iQ.cjs +34 -0
  503. package/lib/get-access-token.serializer-DgAG_4iQ.cjs.map +1 -0
  504. package/lib/get-options.interface-DtIaBrYo.d.cts +11 -0
  505. package/lib/get-profile-and-token-options.interface-B4HEexcv.d.cts +14 -0
  506. package/lib/get-profile-options.interface-BTqozSx_.d.cts +7 -0
  507. package/lib/get-token-CRyPuAyd.d.cts +23 -0
  508. package/lib/get-token-cdbfCycJ.cjs +23 -0
  509. package/lib/get-token-cdbfCycJ.cjs.map +1 -0
  510. package/lib/http-client-Cs56_alu.d.cts +55 -0
  511. package/lib/http-client-J_x7lZuh.cjs +96 -0
  512. package/lib/http-client-J_x7lZuh.cjs.map +1 -0
  513. package/lib/http-client.interface-DMi5johZ.d.cts +24 -0
  514. package/lib/identity.interface-fsQohx9t.d.cts +14 -0
  515. package/lib/identity.serializer-aL8fr6V6.cjs +20 -0
  516. package/lib/identity.serializer-aL8fr6V6.cjs.map +1 -0
  517. package/lib/impersonator.interface-BLJ5uqT4.d.cts +12 -0
  518. package/lib/index-DHEILHGo.d.cts +770 -0
  519. package/lib/index.cjs +21 -20
  520. package/lib/index.cjs.map +1 -1
  521. package/lib/index.d.cts +142 -132
  522. package/lib/index.d.ts +18 -2
  523. package/lib/index.js.map +1 -1
  524. package/lib/index.worker.cjs +21 -20
  525. package/lib/index.worker.cjs.map +1 -1
  526. package/lib/index.worker.d.cts +120 -110
  527. package/lib/index.worker.d.ts +18 -2
  528. package/lib/index.worker.js.map +1 -1
  529. package/lib/interface-check-jNs7TVqZ.cjs +23 -0
  530. package/lib/interface-check-jNs7TVqZ.cjs.map +1 -0
  531. package/lib/invitation.interface-BGj97ho-.d.cts +64 -0
  532. package/lib/invitation.serializer-BrvOpgFx.d.cts +8 -0
  533. package/lib/jose-B0lH7z8y.cjs +27 -0
  534. package/lib/jose-B0lH7z8y.cjs.map +1 -0
  535. package/lib/key.interface-CFC2qwl7.d.cts +16 -0
  536. package/lib/leb128-CzuVP25R.cjs +82 -0
  537. package/lib/leb128-CzuVP25R.cjs.map +1 -0
  538. package/lib/list-connections-options.interface-zYzKu8PV.d.cts +17 -0
  539. package/lib/list-connections-options.serializer-BQ887b-b.d.cts +7 -0
  540. package/lib/list-directories-options.interface-Bq6Ctiub.d.cts +14 -0
  541. package/lib/list-directories-options.serializer-Btoh5Gla.d.cts +7 -0
  542. package/lib/list-directory-users-options.interface-B3hWSKfC.d.cts +10 -0
  543. package/lib/list-event-options.serializer-DV-MYHc5.cjs +19 -0
  544. package/lib/list-event-options.serializer-DV-MYHc5.cjs.map +1 -0
  545. package/lib/list-event-options.serializer-fmtS_CRv.d.cts +7 -0
  546. package/lib/list-events-options.interface-BimW6YlK.d.cts +22 -0
  547. package/lib/list-feature-flags-options.interface-DBQ7vrv_.d.cts +7 -0
  548. package/lib/list-groups-options.interface-U_gybSue.d.cts +10 -0
  549. package/lib/list-invitations-options.serializer-BBeD69mZ.cjs +19 -0
  550. package/lib/list-invitations-options.serializer-BBeD69mZ.cjs.map +1 -0
  551. package/lib/list-object-versions.interface-Rd5wqEPb.d.cts +12 -0
  552. package/lib/list-objects.interface-yOVh3Ifn.d.cts +9 -0
  553. package/lib/list-organization-api-keys-options.interface-YUTCTNS6.d.cts +9 -0
  554. package/lib/list-organization-feature-flags-options.interface-DnLCq59G.d.cts +9 -0
  555. package/lib/list-organization-memberships-options.serializer-DHBnW5rP.cjs +20 -0
  556. package/lib/list-organization-memberships-options.serializer-DHBnW5rP.cjs.map +1 -0
  557. package/lib/list-organization-roles-options.interface-BuvnLvwK.d.cts +7 -0
  558. package/lib/list-organizations-options.interface-EgR4w6S9.d.cts +9 -0
  559. package/lib/list-resources-options.serializer-CJG4qFwy.cjs +19 -0
  560. package/lib/list-resources-options.serializer-CJG4qFwy.cjs.map +1 -0
  561. package/lib/list-resources-options.serializer-ChXI92JX.d.cts +7 -0
  562. package/lib/list-sessions-options.interface-3wEl-9ph.d.cts +8 -0
  563. package/lib/list-sessions-options.serializer-DY3aSLdT.d.cts +7 -0
  564. package/lib/list-users-options.interface-CwR5WeUq.d.cts +14 -0
  565. package/lib/list-users-options.serializer-NjRJdnZI.cjs +19 -0
  566. package/lib/list-users-options.serializer-NjRJdnZI.cjs.map +1 -0
  567. package/lib/list-warrants-options.serializer-Da2XBD1V.cjs +21 -0
  568. package/lib/list-warrants-options.serializer-Da2XBD1V.cjs.map +1 -0
  569. package/lib/list-warrants-options.serializer-DghippBd.d.cts +7 -0
  570. package/lib/list.interface-C8ZxDYyJ.d.cts +20 -0
  571. package/lib/list.interface-CXp7D6FF.d.cts +13 -0
  572. package/lib/list.serializer-BO40xS2N.d.cts +10 -0
  573. package/lib/list.serializer-DJP9g3te.cjs +17 -0
  574. package/lib/list.serializer-DJP9g3te.cjs.map +1 -0
  575. package/lib/list.serializer-DeffIsv5.cjs +16 -0
  576. package/lib/list.serializer-DeffIsv5.cjs.map +1 -0
  577. package/lib/list.serializer-xzcXVR9t.d.cts +7 -0
  578. package/lib/locale.interface-DtJ_6jKP.d.cts +5 -0
  579. package/lib/logout-url-options.interface-DhTgF8Hk.d.cts +8 -0
  580. package/lib/magic-auth.interface-BECeWMH_.d.cts +42 -0
  581. package/lib/magic-auth.serializer-DUVjoLsC.d.cts +8 -0
  582. package/lib/mfa/interfaces/challenge-factor-options.d.cts +1 -1
  583. package/lib/mfa/interfaces/challenge.interface.d.cts +1 -1
  584. package/lib/mfa/interfaces/enroll-factor-options.d.cts +1 -1
  585. package/lib/mfa/interfaces/factor.interface.d.cts +1 -1
  586. package/lib/mfa/interfaces/index.d.cts +8 -8
  587. package/lib/mfa/interfaces/sms.interface.d.cts +1 -1
  588. package/lib/mfa/interfaces/totp.interface.d.cts +1 -1
  589. package/lib/mfa/interfaces/verify-challenge-options.d.cts +1 -1
  590. package/lib/mfa/interfaces/verify-challenge-response.d.cts +1 -1
  591. package/lib/mfa/mfa.cjs +1 -1
  592. package/lib/mfa/mfa.d.cts +1 -1
  593. package/lib/mfa/serializers/challenge.serializer.cjs +1 -1
  594. package/lib/mfa/serializers/challenge.serializer.d.cts +1 -1
  595. package/lib/mfa/serializers/factor.serializer.cjs +1 -1
  596. package/lib/mfa/serializers/factor.serializer.d.cts +1 -1
  597. package/lib/mfa/serializers/index.cjs +3 -3
  598. package/lib/mfa/serializers/index.d.cts +3 -3
  599. package/lib/mfa/serializers/sms.serializer.cjs +1 -1
  600. package/lib/mfa/serializers/sms.serializer.d.cts +1 -1
  601. package/lib/mfa/serializers/totp.serializer.d.cts +1 -1
  602. package/lib/mfa/serializers/verify-response.serializer.cjs +1 -1
  603. package/lib/mfa/serializers/verify-response.serializer.d.cts +1 -1
  604. package/lib/mfa-sqTC0oK9.cjs +50 -0
  605. package/lib/mfa-sqTC0oK9.cjs.map +1 -0
  606. package/lib/no-api-key-provided.exception-hJIhxWx8.d.cts +9 -0
  607. package/lib/not-found.exception-BfAxXziV.d.cts +24 -0
  608. package/lib/oauth-tokens.interface-BmW9Eh4w.d.cts +16 -0
  609. package/lib/oauth.exception-Qx8LPHkD.d.cts +15 -0
  610. package/lib/object.interface-CB8MiPSx.d.cts +35 -0
  611. package/lib/organization-domain.interface-B1AwHwAc.cjs +28 -0
  612. package/lib/organization-domain.interface-B1AwHwAc.cjs.map +1 -0
  613. package/lib/organization-domain.interface-ozdxzINN.d.cts +35 -0
  614. package/lib/organization-domains/interfaces/create-organization-domain-options.interface.d.cts +1 -1
  615. package/lib/organization-domains/interfaces/index.cjs +1 -1
  616. package/lib/organization-domains/interfaces/index.d.cts +2 -2
  617. package/lib/organization-domains/interfaces/organization-domain.interface.cjs +1 -1
  618. package/lib/organization-domains/interfaces/organization-domain.interface.d.cts +1 -1
  619. package/lib/organization-domains/organization-domains.cjs +1 -1
  620. package/lib/organization-domains/organization-domains.d.cts +1 -1
  621. package/lib/organization-domains/serializers/create-organization-domain-options.serializer.cjs +1 -1
  622. package/lib/organization-domains/serializers/create-organization-domain-options.serializer.d.cts +1 -1
  623. package/lib/organization-domains/serializers/organization-domain.serializer.d.cts +1 -1
  624. package/lib/organization-domains-DjSUcSTL.cjs +33 -0
  625. package/lib/organization-domains-DjSUcSTL.cjs.map +1 -0
  626. package/lib/organization-role.interface-evatb3Ca.d.cts +15 -0
  627. package/lib/organization-role.serializer-DhVM4XE8.d.cts +9 -0
  628. package/lib/organization-role.serializer-lsSLexV6.cjs +39 -0
  629. package/lib/organization-role.serializer-lsSLexV6.cjs.map +1 -0
  630. package/lib/organization.interface-v9vB3M2o.d.cts +30 -0
  631. package/lib/organization.serializer-oavqZBEE.d.cts +7 -0
  632. package/lib/organizations/interfaces/create-organization-options.interface.d.cts +1 -1
  633. package/lib/organizations/interfaces/domain-data.interface.cjs +1 -1
  634. package/lib/organizations/interfaces/domain-data.interface.d.cts +1 -1
  635. package/lib/organizations/interfaces/index.cjs +1 -1
  636. package/lib/organizations/interfaces/index.d.cts +6 -6
  637. package/lib/organizations/interfaces/list-organization-feature-flags-options.interface.d.cts +1 -1
  638. package/lib/organizations/interfaces/list-organization-roles-options.interface.d.cts +1 -1
  639. package/lib/organizations/interfaces/list-organizations-options.interface.d.cts +1 -1
  640. package/lib/organizations/interfaces/organization.interface.d.cts +1 -1
  641. package/lib/organizations/interfaces/update-organization-options.interface.d.cts +1 -1
  642. package/lib/organizations/organizations.cjs +1 -1
  643. package/lib/organizations/organizations.d.cts +1 -1
  644. package/lib/organizations/serializers/create-organization-options.serializer.d.cts +1 -1
  645. package/lib/organizations/serializers/index.d.cts +3 -3
  646. package/lib/organizations/serializers/organization.serializer.d.cts +1 -1
  647. package/lib/organizations/serializers/update-organization-options.serializer.d.cts +1 -1
  648. package/lib/organizations-YJmyTBI7.cjs +70 -0
  649. package/lib/organizations-YJmyTBI7.cjs.map +1 -0
  650. package/lib/pagination-D--sr3e2.d.cts +25 -0
  651. package/lib/pagination-options.interface-SKgiNnuZ.d.cts +10 -0
  652. package/lib/parse-error-DGjhb0xQ.cjs +24 -0
  653. package/lib/parse-error-DGjhb0xQ.cjs.map +1 -0
  654. package/lib/password-hash-type.interface-vH25bPgH.d.cts +5 -0
  655. package/lib/password-reset.interface-Yi4hon-d.d.cts +40 -0
  656. package/lib/password-reset.serializer-DvGywW1e.d.cts +8 -0
  657. package/lib/passwordless/interfaces/create-passwordless-session-options.interface.d.cts +1 -1
  658. package/lib/passwordless/interfaces/index.d.cts +3 -3
  659. package/lib/passwordless/interfaces/passwordless-session.interface.d.cts +1 -1
  660. package/lib/passwordless/interfaces/send-session-response.interface.d.cts +1 -1
  661. package/lib/passwordless/passwordless.cjs +1 -1
  662. package/lib/passwordless/passwordless.d.cts +1 -1
  663. package/lib/passwordless/serializers/passwordless-session.serializer.cjs +1 -1
  664. package/lib/passwordless/serializers/passwordless-session.serializer.d.cts +1 -1
  665. package/lib/passwordless-DTlsaF8V.cjs +29 -0
  666. package/lib/passwordless-DTlsaF8V.cjs.map +1 -0
  667. package/lib/passwordless-session.interface-BgyPqlZF.d.cts +18 -0
  668. package/lib/passwordless-session.serializer-CcFomvWf.cjs +18 -0
  669. package/lib/passwordless-session.serializer-CcFomvWf.cjs.map +1 -0
  670. package/lib/patch-options.interface-46BCssmo.d.cts +12 -0
  671. package/lib/permission.interface-BBwAYH07.d.cts +40 -0
  672. package/lib/permission.serializer-BehT5Z93.cjs +21 -0
  673. package/lib/permission.serializer-BehT5Z93.cjs.map +1 -0
  674. package/lib/permission.serializer-RAI4SM7h.d.cts +7 -0
  675. package/lib/pipes/interfaces/access-token.interface.d.cts +1 -1
  676. package/lib/pipes/interfaces/get-access-token.interface.d.cts +1 -1
  677. package/lib/pipes/pipes.cjs +1 -1
  678. package/lib/pipes/pipes.d.cts +1 -1
  679. package/lib/pipes/serializers/access-token.serializer.cjs +1 -1
  680. package/lib/pipes/serializers/access-token.serializer.d.cts +1 -1
  681. package/lib/pipes/serializers/get-access-token.serializer.cjs +1 -1
  682. package/lib/pipes/serializers/get-access-token.serializer.d.cts +1 -1
  683. package/lib/pipes-CRAGN38U.cjs +21 -0
  684. package/lib/pipes-CRAGN38U.cjs.map +1 -0
  685. package/lib/pkce/pkce.d.cts +1 -1
  686. package/lib/pkce-n0rRYj_Q.d.cts +38 -0
  687. package/lib/portal/interfaces/generate-portal-link-intent.interface.cjs +1 -1
  688. package/lib/portal/interfaces/generate-portal-link-intent.interface.d.cts +1 -1
  689. package/lib/portal/interfaces/index.cjs +1 -1
  690. package/lib/portal/interfaces/index.d.cts +1 -1
  691. package/lib/portal/portal.cjs +1 -1
  692. package/lib/portal/portal.d.cts +1 -1
  693. package/lib/portal-BjIQRDuq.cjs +25 -0
  694. package/lib/portal-BjIQRDuq.cjs.map +1 -0
  695. package/lib/post-options.interface-DlEjJsYu.d.cts +13 -0
  696. package/lib/profile-and-token.serializer-Bpr1CB7T.d.cts +8 -0
  697. package/lib/profile.serializer-QeTKhj3R.d.cts +8 -0
  698. package/lib/put-options.interface-7lk8rQLi.d.cts +12 -0
  699. package/lib/query-options.serializer-lpbxqWwr.cjs +19 -0
  700. package/lib/query-options.serializer-lpbxqWwr.cjs.map +1 -0
  701. package/lib/query-options.serializer-rnZkdjgt.d.cts +7 -0
  702. package/lib/query-result.serializer-B2dxUnKw.d.cts +12 -0
  703. package/lib/query-result.serializer-BfOCrnKb.cjs +28 -0
  704. package/lib/query-result.serializer-BfOCrnKb.cjs.map +1 -0
  705. package/lib/query-string-B9WibUJl.cjs +40 -0
  706. package/lib/query-string-B9WibUJl.cjs.map +1 -0
  707. package/lib/query.interface-BuOZQoFM.d.cts +35 -0
  708. package/lib/rate-limit-exceeded.exception-CF4reeT2.d.cts +18 -0
  709. package/lib/read-object.interface-D0Poz3-p.d.cts +25 -0
  710. package/lib/refresh-and-seal-session-data.interface-BSKQWqmn.d.cts +24 -0
  711. package/lib/refresh-and-seal-session-data.interface-zT1i8_J0.cjs +19 -0
  712. package/lib/refresh-and-seal-session-data.interface-zT1i8_J0.cjs.map +1 -0
  713. package/lib/remove-flag-target-options.interface-BZBcjHE7.d.cts +8 -0
  714. package/lib/remove-organization-role-permission-options.interface-ZMh36f0F.d.cts +7 -0
  715. package/lib/request-exception.interface-DahTOGID.d.cts +9 -0
  716. package/lib/resend-invitation-options.interface-BqrfHp3r.d.cts +12 -0
  717. package/lib/resend-invitation-options.serializer-DnsrXnYw.cjs +12 -0
  718. package/lib/resend-invitation-options.serializer-DnsrXnYw.cjs.map +1 -0
  719. package/lib/reset-password-options.interface-ePAbD4TN.cjs +0 -0
  720. package/lib/reset-password-options.interface-uWGx-EHg.d.cts +12 -0
  721. package/lib/reset-password-options.serializer-B814ASb4.d.cts +7 -0
  722. package/lib/resource-op.enum-DvMR02yw.d.cts +8 -0
  723. package/lib/resource-op.enum-ZN9cNRlL.cjs +16 -0
  724. package/lib/resource-op.enum-ZN9cNRlL.cjs.map +1 -0
  725. package/lib/resource.interface-BZ27Ar_A.d.cts +77 -0
  726. package/lib/resource.interface-CvM11E0d.cjs +0 -0
  727. package/lib/resource.serializer-BiDk7ATq.cjs +25 -0
  728. package/lib/resource.serializer-BiDk7ATq.cjs.map +1 -0
  729. package/lib/resource.serializer-DO1Fpj-V.d.cts +8 -0
  730. package/lib/response-payload.interface-B6BBFm56.d.cts +26 -0
  731. package/lib/response-payload.interface-tlU2hrOg.cjs +0 -0
  732. package/lib/revoke-session-options.interface-20LkWyox.d.cts +11 -0
  733. package/lib/revoke-session-options.interface-DNh6uGcR.cjs +12 -0
  734. package/lib/revoke-session-options.interface-DNh6uGcR.cjs.map +1 -0
  735. package/lib/role.interface-DIftS8f6.cjs +0 -0
  736. package/lib/role.serializer-BtM19-S9.cjs +22 -0
  737. package/lib/role.serializer-BtM19-S9.cjs.map +1 -0
  738. package/lib/roles/interfaces/index.d.cts +1 -1
  739. package/lib/roles/interfaces/role.interface.d.cts +1 -1
  740. package/lib/roles/interfaces/role.interface.d.ts +4 -11
  741. package/lib/roles/serializers/role.serializer.cjs +1 -1
  742. package/lib/roles/serializers/role.serializer.d.cts +1 -1
  743. package/lib/runtime-info-1sRVT3y-.cjs +56 -0
  744. package/lib/runtime-info-1sRVT3y-.cjs.map +1 -0
  745. package/lib/seal-B34v5bmh.cjs +315 -0
  746. package/lib/seal-B34v5bmh.cjs.map +1 -0
  747. package/lib/send-invitation-options.interface-C2RofyVU.d.cts +22 -0
  748. package/lib/send-invitation-options.interface-Kcf-k9PB.cjs +0 -0
  749. package/lib/send-invitation-options.serializer-D5x3ss8t.cjs +19 -0
  750. package/lib/send-invitation-options.serializer-D5x3ss8t.cjs.map +1 -0
  751. package/lib/send-session-response.interface-CMl4tWw_.d.cts +8 -0
  752. package/lib/send-session-response.interface-CVGhNzxv.cjs +0 -0
  753. package/lib/send-verification-email-options.interface-BDFFU_hE.cjs +0 -0
  754. package/lib/send-verification-email-options.interface-BtOygLys.d.cts +7 -0
  755. package/lib/serializers-7jp-w6XR.cjs +0 -0
  756. package/lib/serializers-BYNFscuJ.cjs +0 -0
  757. package/lib/serializers-BwPEoKGa.cjs +0 -0
  758. package/lib/serializers-ByG5nPfP.cjs +0 -0
  759. package/lib/serializers-CF5AFJRO.cjs +0 -0
  760. package/lib/serializers-CTAQ2MNs.cjs +0 -0
  761. package/lib/serializers-ConfEXvy.cjs +0 -0
  762. package/lib/serializers-D2Dn6RC1.cjs +0 -0
  763. package/lib/session-D_vnUDl1.cjs +144 -0
  764. package/lib/session-D_vnUDl1.cjs.map +1 -0
  765. package/lib/session-handler-options.interface-BVTuA5uU.d.cts +9 -0
  766. package/lib/session.interface-BZJrUkM4.cjs +0 -0
  767. package/lib/session.interface-zszewQtk.d.cts +38 -0
  768. package/lib/session.serializer-DAUllV3H.d.cts +7 -0
  769. package/lib/set-environment-role-permissions-options.interface-C04yO7oE.cjs +0 -0
  770. package/lib/set-environment-role-permissions-options.interface-CJm4G5CM.d.cts +7 -0
  771. package/lib/set-organization-role-permissions-options.interface-Dsm86677.cjs +0 -0
  772. package/lib/set-organization-role-permissions-options.interface-F54jbJ3q.d.cts +7 -0
  773. package/lib/signature-provider-CdkJsGc8.cjs +38 -0
  774. package/lib/signature-provider-CdkJsGc8.cjs.map +1 -0
  775. package/lib/signature-verification.exception-D2-xkCRS.d.cts +8 -0
  776. package/lib/sms.interface-f_7eFA1B.d.cts +10 -0
  777. package/lib/sms.serializer-DH2jsPuC.cjs +12 -0
  778. package/lib/sms.serializer-DH2jsPuC.cjs.map +1 -0
  779. package/lib/sso/interfaces/authorization-url-options.interface.d.cts +1 -1
  780. package/lib/sso/interfaces/connection-type.enum.cjs +1 -1
  781. package/lib/sso/interfaces/connection-type.enum.d.cts +1 -1
  782. package/lib/sso/interfaces/connection.interface.d.cts +1 -1
  783. package/lib/sso/interfaces/get-profile-and-token-options.interface.d.cts +1 -1
  784. package/lib/sso/interfaces/get-profile-options.interface.d.cts +1 -1
  785. package/lib/sso/interfaces/index.cjs +1 -1
  786. package/lib/sso/interfaces/index.d.cts +7 -8
  787. package/lib/sso/interfaces/list-connections-options.interface.d.cts +1 -1
  788. package/lib/sso/interfaces/profile-and-token.interface.d.cts +1 -1
  789. package/lib/sso/interfaces/profile.interface.d.cts +1 -1
  790. package/lib/sso/serializers/connection.serializer.d.cts +1 -1
  791. package/lib/sso/serializers/index.d.cts +4 -4
  792. package/lib/sso/serializers/list-connections-options.serializer.d.cts +1 -1
  793. package/lib/sso/serializers/profile-and-token.serializer.d.cts +1 -1
  794. package/lib/sso/serializers/profile.serializer.d.cts +1 -1
  795. package/lib/sso/sso.cjs +1 -1
  796. package/lib/sso/sso.d.cts +1 -1
  797. package/lib/sso-DgPiUuie.cjs +135 -0
  798. package/lib/sso-DgPiUuie.cjs.map +1 -0
  799. package/lib/subtle-crypto-provider-BMf63Lhz.cjs +99 -0
  800. package/lib/subtle-crypto-provider-BMf63Lhz.cjs.map +1 -0
  801. package/lib/totp.interface-4Tn9mcvR.d.cts +22 -0
  802. package/lib/unauthorized.exception-B0Ma7wJ5.d.cts +13 -0
  803. package/lib/unknown-record.interface-DSMWbzCc.d.cts +5 -0
  804. package/lib/unprocessable-entity-error.interface-B2dNTbj0.cjs +0 -0
  805. package/lib/unprocessable-entity-error.interface-CGfXN5Ma.d.cts +8 -0
  806. package/lib/unprocessable-entity.exception-rapwl2dZ.d.cts +25 -0
  807. package/lib/unreachable-CWBbz4U6.cjs +23 -0
  808. package/lib/unreachable-CWBbz4U6.cjs.map +1 -0
  809. package/lib/update-environment-role-options.interface-dosXnOZd.d.cts +12 -0
  810. package/lib/update-environment-role-options.interface-i6KgrgfD.cjs +0 -0
  811. package/lib/update-environment-role-options.serializer-BNsh8m0U.d.cts +7 -0
  812. package/lib/update-environment-role-options.serializer-CBZS-b8e.cjs +15 -0
  813. package/lib/update-environment-role-options.serializer-CBZS-b8e.cjs.map +1 -0
  814. package/lib/update-object.interface-CSfFiDhx.cjs +0 -0
  815. package/lib/update-object.interface-H3nqYCkH.d.cts +13 -0
  816. package/lib/update-organization-membership-options.interface-DI05j1eb.cjs +0 -0
  817. package/lib/update-organization-membership-options.interface-vwSowDwp.d.cts +12 -0
  818. package/lib/update-organization-membership-options.serializer-BL-XfapK.cjs +15 -0
  819. package/lib/update-organization-membership-options.serializer-BL-XfapK.cjs.map +1 -0
  820. package/lib/update-organization-options.interface-Bo0n5-X2.cjs +0 -0
  821. package/lib/update-organization-options.interface-C5szqmv1.d.cts +21 -0
  822. package/lib/update-organization-options.serializer-BMZ1uX4v.d.cts +7 -0
  823. package/lib/update-organization-role-options.interface-BxoOYg6j.cjs +0 -0
  824. package/lib/update-organization-role-options.interface-rE638uDV.d.cts +12 -0
  825. package/lib/update-organization-role-options.serializer-C09TvDoL.cjs +15 -0
  826. package/lib/update-organization-role-options.serializer-C09TvDoL.cjs.map +1 -0
  827. package/lib/update-organization-role-options.serializer-v4U24skp.d.cts +7 -0
  828. package/lib/update-permission-options.interface-1DDWIS6-.d.cts +12 -0
  829. package/lib/update-permission-options.interface-Cc6sRKzk.cjs +0 -0
  830. package/lib/update-permission-options.serializer-DBaEseXC.cjs +15 -0
  831. package/lib/update-permission-options.serializer-DBaEseXC.cjs.map +1 -0
  832. package/lib/update-permission-options.serializer-LHPO0d7U.d.cts +7 -0
  833. package/lib/update-user-options.interface-CS28Uw1c.cjs +0 -0
  834. package/lib/update-user-options.interface-yJ1zfqXv.d.cts +31 -0
  835. package/lib/update-user-options.serializer-PMEBc0mh.d.cts +7 -0
  836. package/lib/update-user-password-options.interface-Bhwbi84x.d.cts +11 -0
  837. package/lib/update-user-password-options.interface-Bx71Wh7d.cjs +0 -0
  838. package/lib/update-user-password-options.serializer-xFeYcrdn.d.cts +7 -0
  839. package/lib/user-management/interfaces/authenticate-with-code-and-verifier-options.interface.d.cts +1 -1
  840. package/lib/user-management/interfaces/authenticate-with-code-options.interface.d.cts +1 -1
  841. package/lib/user-management/interfaces/authenticate-with-email-verification-options.interface.d.cts +1 -1
  842. package/lib/user-management/interfaces/authenticate-with-magic-auth-options.interface.d.cts +1 -1
  843. package/lib/user-management/interfaces/authenticate-with-options-base.interface.d.cts +1 -1
  844. package/lib/user-management/interfaces/authenticate-with-organization-selection.interface.d.cts +1 -1
  845. package/lib/user-management/interfaces/authenticate-with-password-options.interface.d.cts +1 -1
  846. package/lib/user-management/interfaces/authenticate-with-refresh-token-options.interface.d.cts +1 -1
  847. package/lib/user-management/interfaces/authenticate-with-refresh-token-public-client-options.interface.d.cts +1 -1
  848. package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.cjs +1 -1
  849. package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.d.cts +1 -1
  850. package/lib/user-management/interfaces/authenticate-with-totp-options.interface.d.cts +1 -1
  851. package/lib/user-management/interfaces/authentication-event.interface.d.cts +1 -1
  852. package/lib/user-management/interfaces/authentication-radar-risk-detected-event.interface.d.cts +1 -1
  853. package/lib/user-management/interfaces/authentication-response.interface.d.cts +1 -1
  854. package/lib/user-management/interfaces/authorization-url-options.interface.d.cts +1 -1
  855. package/lib/user-management/interfaces/create-magic-auth-options.interface.d.cts +1 -1
  856. package/lib/user-management/interfaces/create-organization-membership-options.interface.d.cts +1 -1
  857. package/lib/user-management/interfaces/create-password-reset-options.interface.d.cts +1 -1
  858. package/lib/user-management/interfaces/create-user-options.interface.d.cts +1 -1
  859. package/lib/user-management/interfaces/email-verification.interface.d.cts +1 -1
  860. package/lib/user-management/interfaces/enroll-auth-factor.interface.d.cts +1 -1
  861. package/lib/user-management/interfaces/factor.interface.d.cts +1 -1
  862. package/lib/user-management/interfaces/identity.interface.d.cts +1 -1
  863. package/lib/user-management/interfaces/impersonator.interface.d.cts +1 -1
  864. package/lib/user-management/interfaces/index.cjs +3 -3
  865. package/lib/user-management/interfaces/index.d.cts +45 -46
  866. package/lib/user-management/interfaces/invitation.interface.d.cts +1 -1
  867. package/lib/user-management/interfaces/list-auth-factors-options.interface.d.cts +1 -1
  868. package/lib/user-management/interfaces/list-invitations-options.interface.d.cts +1 -1
  869. package/lib/user-management/interfaces/list-organization-memberships-options.interface.d.cts +1 -1
  870. package/lib/user-management/interfaces/list-sessions-options.interface.d.cts +1 -1
  871. package/lib/user-management/interfaces/list-user-feature-flags-options.interface.d.cts +1 -1
  872. package/lib/user-management/interfaces/list-users-options.interface.d.cts +1 -1
  873. package/lib/user-management/interfaces/locale.interface.d.cts +1 -1
  874. package/lib/user-management/interfaces/logout-url-options.interface.d.cts +1 -1
  875. package/lib/user-management/interfaces/magic-auth.interface.d.cts +1 -1
  876. package/lib/user-management/interfaces/oauth-tokens.interface.d.cts +1 -1
  877. package/lib/user-management/interfaces/organization-membership.interface.d.cts +1 -1
  878. package/lib/user-management/interfaces/password-hash-type.interface.d.cts +1 -1
  879. package/lib/user-management/interfaces/password-reset.interface.d.cts +1 -1
  880. package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.cjs +1 -1
  881. package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.d.cts +1 -1
  882. package/lib/user-management/interfaces/resend-invitation-options.interface.d.cts +1 -1
  883. package/lib/user-management/interfaces/reset-password-options.interface.d.cts +1 -1
  884. package/lib/user-management/interfaces/revoke-session-options.interface.cjs +1 -1
  885. package/lib/user-management/interfaces/revoke-session-options.interface.d.cts +1 -1
  886. package/lib/user-management/interfaces/send-invitation-options.interface.d.cts +1 -1
  887. package/lib/user-management/interfaces/send-verification-email-options.interface.d.cts +1 -1
  888. package/lib/user-management/interfaces/session-handler-options.interface.d.cts +1 -1
  889. package/lib/user-management/interfaces/session.interface.d.cts +1 -1
  890. package/lib/user-management/interfaces/update-organization-membership-options.interface.d.cts +1 -1
  891. package/lib/user-management/interfaces/update-user-options.interface.d.cts +1 -1
  892. package/lib/user-management/interfaces/update-user-password-options.interface.d.cts +1 -1
  893. package/lib/user-management/interfaces/user.interface.d.cts +1 -1
  894. package/lib/user-management/interfaces/verify-email-options.interface.d.cts +1 -1
  895. package/lib/user-management/serializers/authenticate-with-code-and-verifier-options.serializer.d.cts +1 -1
  896. package/lib/user-management/serializers/authenticate-with-code-options.serializer.d.cts +1 -1
  897. package/lib/user-management/serializers/authenticate-with-email-verification.serializer.cjs +1 -1
  898. package/lib/user-management/serializers/authenticate-with-email-verification.serializer.d.cts +2 -2
  899. package/lib/user-management/serializers/authenticate-with-magic-auth-options.serializer.d.cts +1 -1
  900. package/lib/user-management/serializers/authenticate-with-organization-selection-options.serializer.cjs +1 -1
  901. package/lib/user-management/serializers/authenticate-with-organization-selection-options.serializer.d.cts +2 -2
  902. package/lib/user-management/serializers/authenticate-with-password-options.serializer.d.cts +1 -1
  903. package/lib/user-management/serializers/authenticate-with-refresh-token-public-client-options.serializer.d.cts +1 -1
  904. package/lib/user-management/serializers/authenticate-with-refresh-token.options.serializer.d.cts +1 -1
  905. package/lib/user-management/serializers/authenticate-with-totp-options.serializer.d.cts +1 -1
  906. package/lib/user-management/serializers/authentication-event.serializer.d.cts +1 -1
  907. package/lib/user-management/serializers/authentication-radar-risk-event-serializer.d.cts +1 -1
  908. package/lib/user-management/serializers/authentication-response.serializer.d.cts +1 -1
  909. package/lib/user-management/serializers/create-magic-auth-options.serializer.d.cts +1 -1
  910. package/lib/user-management/serializers/create-organization-membership-options.serializer.cjs +1 -1
  911. package/lib/user-management/serializers/create-organization-membership-options.serializer.d.cts +1 -1
  912. package/lib/user-management/serializers/create-password-reset-options.serializer.d.cts +1 -1
  913. package/lib/user-management/serializers/create-user-options.serializer.d.cts +1 -1
  914. package/lib/user-management/serializers/email-verification.serializer.d.cts +1 -1
  915. package/lib/user-management/serializers/enroll-auth-factor-options.serializer.d.cts +1 -1
  916. package/lib/user-management/serializers/factor.serializer.d.cts +1 -1
  917. package/lib/user-management/serializers/identity.serializer.cjs +1 -1
  918. package/lib/user-management/serializers/identity.serializer.d.cts +1 -1
  919. package/lib/user-management/serializers/index.d.cts +24 -24
  920. package/lib/user-management/serializers/invitation.serializer.d.cts +1 -1
  921. package/lib/user-management/serializers/list-invitations-options.serializer.cjs +1 -1
  922. package/lib/user-management/serializers/list-invitations-options.serializer.d.cts +1 -1
  923. package/lib/user-management/serializers/list-organization-memberships-options.serializer.cjs +1 -1
  924. package/lib/user-management/serializers/list-organization-memberships-options.serializer.d.cts +1 -1
  925. package/lib/user-management/serializers/list-sessions-options.serializer.d.cts +1 -1
  926. package/lib/user-management/serializers/list-users-options.serializer.cjs +1 -1
  927. package/lib/user-management/serializers/list-users-options.serializer.d.cts +1 -1
  928. package/lib/user-management/serializers/magic-auth.serializer.d.cts +1 -1
  929. package/lib/user-management/serializers/oauth-tokens.serializer.d.cts +1 -1
  930. package/lib/user-management/serializers/organization-membership.serializer.d.cts +1 -1
  931. package/lib/user-management/serializers/password-reset.serializer.d.cts +1 -1
  932. package/lib/user-management/serializers/resend-invitation-options.serializer.cjs +1 -1
  933. package/lib/user-management/serializers/resend-invitation-options.serializer.d.cts +1 -1
  934. package/lib/user-management/serializers/reset-password-options.serializer.d.cts +1 -1
  935. package/lib/user-management/serializers/role.serializer.d.cts +1 -1
  936. package/lib/user-management/serializers/send-invitation-options.serializer.cjs +1 -1
  937. package/lib/user-management/serializers/send-invitation-options.serializer.d.cts +1 -1
  938. package/lib/user-management/serializers/session.serializer.d.cts +1 -1
  939. package/lib/user-management/serializers/update-organization-membership-options.serializer.cjs +1 -1
  940. package/lib/user-management/serializers/update-organization-membership-options.serializer.d.cts +1 -1
  941. package/lib/user-management/serializers/update-user-options.serializer.d.cts +1 -1
  942. package/lib/user-management/serializers/update-user-password-options.serializer.d.cts +1 -1
  943. package/lib/user-management/serializers/user.serializer.d.cts +1 -1
  944. package/lib/user-management/session.cjs +2 -2
  945. package/lib/user-management/session.d.cts +1 -1
  946. package/lib/user-management/user-management.cjs +3 -3
  947. package/lib/user-management/user-management.d.cts +1 -1
  948. package/lib/user-management-BiK0k4qR.cjs +539 -0
  949. package/lib/user-management-BiK0k4qR.cjs.map +1 -0
  950. package/lib/user.interface-BJY1-A6X.d.cts +34 -0
  951. package/lib/user.interface-Db9w7KTg.cjs +0 -0
  952. package/lib/user.serializer-Cm-81FKp.d.cts +7 -0
  953. package/lib/utils/jose.cjs +1 -1
  954. package/lib/validate-api-key.interface-CH-HBG4k.cjs +0 -0
  955. package/lib/validate-api-key.interface-DNV_9W09.d.cts +15 -0
  956. package/lib/validate-api-key.serializer-1ugfgyKZ.d.cts +7 -0
  957. package/lib/vault/interfaces/index.d.cts +10 -10
  958. package/lib/vault/interfaces/key/create-data-key.interface.d.cts +1 -1
  959. package/lib/vault/interfaces/key/decrypt-data-key.interface.d.cts +1 -1
  960. package/lib/vault/interfaces/key.interface.d.cts +1 -1
  961. package/lib/vault/interfaces/object/create-object.interface.d.cts +1 -1
  962. package/lib/vault/interfaces/object/delete-object.interface.d.cts +1 -1
  963. package/lib/vault/interfaces/object/list-object-versions.interface.d.cts +1 -1
  964. package/lib/vault/interfaces/object/list-objects.interface.d.cts +1 -1
  965. package/lib/vault/interfaces/object/read-object.interface.d.cts +1 -1
  966. package/lib/vault/interfaces/object/update-object.interface.d.cts +1 -1
  967. package/lib/vault/interfaces/object.interface.d.cts +1 -1
  968. package/lib/vault/serializers/vault-key.serializer.cjs +1 -1
  969. package/lib/vault/serializers/vault-key.serializer.d.cts +3 -3
  970. package/lib/vault/serializers/vault-object.serializer.cjs +1 -1
  971. package/lib/vault/serializers/vault-object.serializer.d.cts +7 -7
  972. package/lib/vault/vault.cjs +1 -1
  973. package/lib/vault/vault.d.cts +1 -1
  974. package/lib/vault-DFZlnEty.cjs +106 -0
  975. package/lib/vault-DFZlnEty.cjs.map +1 -0
  976. package/lib/vault-key.serializer-CprnZmmD.cjs +29 -0
  977. package/lib/vault-key.serializer-CprnZmmD.cjs.map +1 -0
  978. package/lib/vault-object.serializer-DdulnQ2X.cjs +84 -0
  979. package/lib/vault-object.serializer-DdulnQ2X.cjs.map +1 -0
  980. package/lib/verify-challenge-options-BNCpUNrV.d.cts +8 -0
  981. package/lib/verify-challenge-response-DpXoIuSX.d.cts +14 -0
  982. package/lib/verify-email-options.interface-C0_VqDVK.d.cts +11 -0
  983. package/lib/verify-email-options.interface-DNBDrwqZ.cjs +0 -0
  984. package/lib/verify-response.serializer-DLbxaA_Y.d.cts +7 -0
  985. package/lib/verify-response.serializer-DnBMVXXn.cjs +16 -0
  986. package/lib/verify-response.serializer-DnBMVXXn.cjs.map +1 -0
  987. package/lib/warning.interface-yJ1XNLbJ.d.cts +13 -0
  988. package/lib/warrant-op.enum-B2CZD0r0.cjs +16 -0
  989. package/lib/warrant-op.enum-B2CZD0r0.cjs.map +1 -0
  990. package/lib/warrant-op.enum-Dj1dkgof.d.cts +8 -0
  991. package/lib/warrant-token.interface-CT-IebpW.cjs +0 -0
  992. package/lib/warrant-token.interface-DPxaBIlh.d.cts +10 -0
  993. package/lib/warrant-token.serializer-C66i3W4C.d.cts +7 -0
  994. package/lib/warrant-token.serializer-CjWnRVCi.cjs +12 -0
  995. package/lib/warrant-token.serializer-CjWnRVCi.cjs.map +1 -0
  996. package/lib/warrant.interface-80A3Pew0.d.cts +71 -0
  997. package/lib/warrant.interface-DdHBsjB0.cjs +0 -0
  998. package/lib/warrant.serializer-CpeeZzCI.cjs +22 -0
  999. package/lib/warrant.serializer-CpeeZzCI.cjs.map +1 -0
  1000. package/lib/warrant.serializer-q9Ra6iEa.d.cts +7 -0
  1001. package/lib/webhooks/webhooks.cjs +1 -1
  1002. package/lib/webhooks/webhooks.d.cts +1 -1
  1003. package/lib/webhooks-BNPP-kiP.cjs +38 -0
  1004. package/lib/webhooks-BNPP-kiP.cjs.map +1 -0
  1005. package/lib/webhooks-BlEjg80a.d.cts +35 -0
  1006. package/lib/widgets/interfaces/get-token.cjs +1 -1
  1007. package/lib/widgets/interfaces/get-token.d.cts +1 -1
  1008. package/lib/widgets/widgets.cjs +1 -1
  1009. package/lib/widgets/widgets.d.cts +1 -1
  1010. package/lib/widgets-BRJb0-Zr.cjs +21 -0
  1011. package/lib/widgets-BRJb0-Zr.cjs.map +1 -0
  1012. package/lib/workos-CU67HvQn.cjs +332 -0
  1013. package/lib/workos-CU67HvQn.cjs.map +1 -0
  1014. package/lib/workos-options.interface-DsrGUZeh.d.cts +17 -0
  1015. package/lib/workos-options.interface-Dyy5FyDG.cjs +0 -0
  1016. package/lib/workos-response-error.interface-CUW8-rVq.d.cts +13 -0
  1017. package/lib/workos-response-error.interface-DfARVQg0.cjs +0 -0
  1018. package/lib/workos.cjs +5 -5
  1019. package/lib/workos.d.cts +1 -1
  1020. package/lib/workos.d.ts +6 -0
  1021. package/lib/workos.js +27 -1
  1022. package/lib/workos.js.map +1 -1
  1023. package/lib/write-warrant-options.serializer-BuW_6XA_.cjs +26 -0
  1024. package/lib/write-warrant-options.serializer-BuW_6XA_.cjs.map +1 -0
  1025. package/lib/write-warrant-options.serializer-DYf63mng.d.cts +7 -0
  1026. package/package.json +1 -1
  1027. package/lib/access-token.interface-CRaRBZsU.d.cts +0 -18
  1028. package/lib/access-token.serializer-BTB3otha.cjs +0 -20
  1029. package/lib/access-token.serializer-BTB3otha.cjs.map +0 -1
  1030. package/lib/action.interface-DuyarN1t.d.cts +0 -63
  1031. package/lib/action.serializer-BGWv6ab1.cjs +0 -47
  1032. package/lib/action.serializer-BGWv6ab1.cjs.map +0 -1
  1033. package/lib/actions-DTMrvfa0.d.cts +0 -41
  1034. package/lib/actions-DuKUPx9Z.cjs +0 -58
  1035. package/lib/actions-DuKUPx9Z.cjs.map +0 -1
  1036. package/lib/add-flag-target-options.interface-CSZH3Ukq.d.cts +0 -8
  1037. package/lib/api-key-required.exception-B3Qy27bt.d.cts +0 -10
  1038. package/lib/api-key.interface-Bc1XdCvA.d.cts +0 -32
  1039. package/lib/api-key.serializer-CFSEdidV.d.cts +0 -7
  1040. package/lib/api-keys-DMUGmsZs.d.cts +0 -705
  1041. package/lib/app-info.interface-CETHNJs2.d.cts +0 -8
  1042. package/lib/audit-log-export-options.interface-DyG_8W4Y.d.cts +0 -22
  1043. package/lib/audit-log-export-options.serializer-BFTh7oaz.cjs +0 -20
  1044. package/lib/audit-log-export-options.serializer-BFTh7oaz.cjs.map +0 -1
  1045. package/lib/audit-log-export-options.serializer-Cnxrfmfn.d.cts +0 -7
  1046. package/lib/audit-log-export.interface-Cgko18qD.d.cts +0 -20
  1047. package/lib/audit-log-export.serializer-Byj3fn9x.cjs +0 -19
  1048. package/lib/audit-log-export.serializer-Byj3fn9x.cjs.map +0 -1
  1049. package/lib/audit-log-export.serializer-CUII4Y4i.d.cts +0 -7
  1050. package/lib/audit-logs-CnDObwhP.cjs +0 -43
  1051. package/lib/audit-logs-CnDObwhP.cjs.map +0 -1
  1052. package/lib/authenticate-with-code-and-verifier-options.interface-D2SVWZby.d.cts +0 -17
  1053. package/lib/authenticate-with-code-and-verifier-options.serializer-BaPf8uVv.d.cts +0 -8
  1054. package/lib/authenticate-with-code-options.interface-_PQBLQ-f.d.cts +0 -20
  1055. package/lib/authenticate-with-code-options.serializer-gTbr4N1f.d.cts +0 -8
  1056. package/lib/authenticate-with-email-verification-options.interface-Duq7TpqS.d.cts +0 -18
  1057. package/lib/authenticate-with-email-verification.serializer-DkvyobQ9.cjs +0 -20
  1058. package/lib/authenticate-with-email-verification.serializer-DkvyobQ9.cjs.map +0 -1
  1059. package/lib/authenticate-with-magic-auth-options.interface-B4zDB7Px.d.cts +0 -22
  1060. package/lib/authenticate-with-magic-auth-options.serializer-BIqxsKdv.d.cts +0 -8
  1061. package/lib/authenticate-with-options-base.interface-B47-j3MI.d.cts +0 -41
  1062. package/lib/authenticate-with-organization-selection-options.serializer-BgFxJgiU.cjs +0 -20
  1063. package/lib/authenticate-with-organization-selection-options.serializer-BgFxJgiU.cjs.map +0 -1
  1064. package/lib/authenticate-with-organization-selection.interface-BwhjlciB.d.cts +0 -18
  1065. package/lib/authenticate-with-password-options.interface-CfCSnrac.d.cts +0 -20
  1066. package/lib/authenticate-with-password-options.serializer-CJKEMwi6.d.cts +0 -8
  1067. package/lib/authenticate-with-refresh-token-options.interface-DSYu4cDc.d.cts +0 -18
  1068. package/lib/authenticate-with-refresh-token-public-client-options.interface-N18YC9dn.d.cts +0 -16
  1069. package/lib/authenticate-with-refresh-token-public-client-options.serializer-Bf8QhT2D.d.cts +0 -8
  1070. package/lib/authenticate-with-refresh-token.options.serializer-BEz5Vf-W.d.cts +0 -9
  1071. package/lib/authenticate-with-session-cookie.interface-BfanVwPO.d.cts +0 -45
  1072. package/lib/authenticate-with-session-cookie.interface-wRJr18ep.cjs +0 -17
  1073. package/lib/authenticate-with-session-cookie.interface-wRJr18ep.cjs.map +0 -1
  1074. package/lib/authenticate-with-totp-options.interface-LhACZ5GS.d.cts +0 -20
  1075. package/lib/authenticate-with-totp-options.serializer-rMi4rFLn.d.cts +0 -8
  1076. package/lib/authentication-event.interface-DXEILc55.d.cts +0 -28
  1077. package/lib/authentication-event.serializer-CovU_aZ3.d.cts +0 -7
  1078. package/lib/authentication-radar-risk-detected-event.interface-CcuNPOCx.d.cts +0 -24
  1079. package/lib/authentication-response.interface-CZE2FVdd.d.cts +0 -28
  1080. package/lib/authentication-response.serializer-mhp8UqVs.d.cts +0 -7
  1081. package/lib/authorization-url-options.interface-BbIXXS2F.d.cts +0 -45
  1082. package/lib/authorization-url-options.interface-Cs9dWC8D.d.cts +0 -55
  1083. package/lib/bad-request.exception-KjLJBnk8.d.cts +0 -25
  1084. package/lib/base64-Bch1KFsQ.cjs +0 -44
  1085. package/lib/base64-Bch1KFsQ.cjs.map +0 -1
  1086. package/lib/batch-write-resources-options.serializer-BaW6EWzS.cjs +0 -23
  1087. package/lib/batch-write-resources-options.serializer-BaW6EWzS.cjs.map +0 -1
  1088. package/lib/batch-write-resources-options.serializer-q2EamfTe.d.cts +0 -7
  1089. package/lib/challenge-factor-options-88fR92i-.d.cts +0 -10
  1090. package/lib/challenge.interface-DUM9qMGp.d.cts +0 -22
  1091. package/lib/challenge.serializer-BYPoaw59.d.cts +0 -7
  1092. package/lib/challenge.serializer-CiNDM6Ny.cjs +0 -20
  1093. package/lib/challenge.serializer-CiNDM6Ny.cjs.map +0 -1
  1094. package/lib/check-op.enum-BwJZx-i9.d.cts +0 -8
  1095. package/lib/check-op.enum-DXKGh2oy.cjs +0 -16
  1096. package/lib/check-op.enum-DXKGh2oy.cjs.map +0 -1
  1097. package/lib/check-options.serializer-7EswFQ_P.cjs +0 -69
  1098. package/lib/check-options.serializer-7EswFQ_P.cjs.map +0 -1
  1099. package/lib/check-options.serializer-BPqbwhK1.d.cts +0 -9
  1100. package/lib/check.interface-B2pzNanW.cjs +0 -33
  1101. package/lib/check.interface-B2pzNanW.cjs.map +0 -1
  1102. package/lib/check.interface-CYFe8m8j.d.cts +0 -88
  1103. package/lib/conflict.exception-CN3a7Qrw.cjs +0 -23
  1104. package/lib/conflict.exception-CN3a7Qrw.cjs.map +0 -1
  1105. package/lib/connection-type.enum-Cu3iqCqL.d.cts +0 -41
  1106. package/lib/connection-type.enum-DPs-QB7_.cjs +0 -49
  1107. package/lib/connection-type.enum-DPs-QB7_.cjs.map +0 -1
  1108. package/lib/connection.interface-DvRENQyW.d.cts +0 -33
  1109. package/lib/connection.serializer-B_sjMnG8.d.cts +0 -7
  1110. package/lib/create-audit-log-event-options.interface-BnHYA9HK.d.cts +0 -43
  1111. package/lib/create-audit-log-event-options.serializer-CxeBsv3o.d.cts +0 -7
  1112. package/lib/create-audit-log-event-options.serializer-DZTgmGP0.cjs +0 -23
  1113. package/lib/create-audit-log-event-options.serializer-DZTgmGP0.cjs.map +0 -1
  1114. package/lib/create-audit-log-schema-options.interface-B-g6mGDr.d.cts +0 -67
  1115. package/lib/create-audit-log-schema-options.serializer-COT4AmMk.d.cts +0 -7
  1116. package/lib/create-audit-log-schema-options.serializer-DduNDNmZ.cjs +0 -38
  1117. package/lib/create-audit-log-schema-options.serializer-DduNDNmZ.cjs.map +0 -1
  1118. package/lib/create-audit-log-schema.serializer-Ckh7kTCE.d.cts +0 -7
  1119. package/lib/create-audit-log-schema.serializer-_lWlYDLV.cjs +0 -32
  1120. package/lib/create-audit-log-schema.serializer-_lWlYDLV.cjs.map +0 -1
  1121. package/lib/create-data-key.interface-l5swdCo_.d.cts +0 -15
  1122. package/lib/create-magic-auth-options.interface-DDSHQamS.d.cts +0 -12
  1123. package/lib/create-magic-auth-options.serializer-S1w9rPAK.d.cts +0 -7
  1124. package/lib/create-object.interface-bEH6nxNn.d.cts +0 -16
  1125. package/lib/create-organization-api-key-options.serializer-Bd5IjZMz.cjs +0 -17
  1126. package/lib/create-organization-api-key-options.serializer-Bd5IjZMz.cjs.map +0 -1
  1127. package/lib/create-organization-api-key-options.serializer-CgC5GvyE.d.cts +0 -7
  1128. package/lib/create-organization-domain-options.interface-vmiHd4oy.d.cts +0 -12
  1129. package/lib/create-organization-domain-options.serializer-DywoyU7B.cjs +0 -15
  1130. package/lib/create-organization-domain-options.serializer-DywoyU7B.cjs.map +0 -1
  1131. package/lib/create-organization-membership-options.interface-Degs7uYp.d.cts +0 -16
  1132. package/lib/create-organization-membership-options.serializer-Da3OXX5I.cjs +0 -17
  1133. package/lib/create-organization-membership-options.serializer-Da3OXX5I.cjs.map +0 -1
  1134. package/lib/create-organization-options.serializer-BL90OMyI.d.cts +0 -7
  1135. package/lib/create-password-reset-options.interface-DHlRNbbw.d.cts +0 -10
  1136. package/lib/create-password-reset-options.serializer-6gqQIGCI.d.cts +0 -7
  1137. package/lib/create-passwordless-session-options.interface-Bb4f1yMI.d.cts +0 -20
  1138. package/lib/create-resource-options.serializer-CjLPXso6.cjs +0 -17
  1139. package/lib/create-resource-options.serializer-CjLPXso6.cjs.map +0 -1
  1140. package/lib/create-resource-options.serializer-CmWENyEL.d.cts +0 -7
  1141. package/lib/create-user-options.interface-D_4g7FwE.d.cts +0 -28
  1142. package/lib/create-user-options.serializer-CrOqZ2Sg.d.cts +0 -7
  1143. package/lib/created-api-key.interface-DAzMzScM.d.cts +0 -34
  1144. package/lib/created-api-key.serializer-C_KGmm2w.d.cts +0 -7
  1145. package/lib/created-api-key.serializer-TAY4jtUj.cjs +0 -25
  1146. package/lib/created-api-key.serializer-TAY4jtUj.cjs.map +0 -1
  1147. package/lib/crypto-provider-C895awiY.cjs +0 -18
  1148. package/lib/crypto-provider-C895awiY.cjs.map +0 -1
  1149. package/lib/crypto-provider-CIbAgUc-.d.cts +0 -75
  1150. package/lib/decrypt-data-key.interface-DtA2snTS.d.cts +0 -11
  1151. package/lib/delete-object.interface-EBnHDGAU.d.cts +0 -7
  1152. package/lib/delete-resource-options.serializer-CAW9K14w.d.cts +0 -7
  1153. package/lib/delete-resource-options.serializer-CFyX75Zh.cjs +0 -16
  1154. package/lib/delete-resource-options.serializer-CFyX75Zh.cjs.map +0 -1
  1155. package/lib/directory-group.interface-GMCt7YpS.d.cts +0 -24
  1156. package/lib/directory-group.serializer-T0UTcH3V.d.cts +0 -8
  1157. package/lib/directory-sync-DKBetghA.cjs +0 -46
  1158. package/lib/directory-sync-DKBetghA.cjs.map +0 -1
  1159. package/lib/directory-user.interface-ctD0z-go.d.cts +0 -48
  1160. package/lib/directory-user.serializer-BRhPq1Zu.d.cts +0 -9
  1161. package/lib/directory.interface-DfilAjzZ.d.cts +0 -60
  1162. package/lib/directory.serializer-CmsYM7zR.d.cts +0 -10
  1163. package/lib/domain-data.interface-C5ooqStM.d.cts +0 -12
  1164. package/lib/domain-data.interface-DuamoxCX.cjs +0 -16
  1165. package/lib/domain-data.interface-DuamoxCX.cjs.map +0 -1
  1166. package/lib/email-verification.interface-C76KCm8m.d.cts +0 -42
  1167. package/lib/email-verification.serializer-DAd-BP98.d.cts +0 -8
  1168. package/lib/enroll-auth-factor-options.serializer-DZKqvpHa.d.cts +0 -7
  1169. package/lib/enroll-auth-factor.interface-Dm2hlIs4.d.cts +0 -17
  1170. package/lib/enroll-factor-options-DLuag4wH.d.cts +0 -14
  1171. package/lib/env-CCN5u8Rv.cjs +0 -62
  1172. package/lib/env-CCN5u8Rv.cjs.map +0 -1
  1173. package/lib/event.serializer-B2GuXosD.cjs +0 -180
  1174. package/lib/event.serializer-B2GuXosD.cjs.map +0 -1
  1175. package/lib/event.serializer-BWtSuQAw.d.cts +0 -7
  1176. package/lib/events-lqbh0x1u.cjs +0 -23
  1177. package/lib/events-lqbh0x1u.cjs.map +0 -1
  1178. package/lib/factor.interface-DY92_aec.d.cts +0 -44
  1179. package/lib/factor.interface-Jwg0D7nP.d.cts +0 -42
  1180. package/lib/factor.serializer-CQ1w93Sn.d.cts +0 -8
  1181. package/lib/factor.serializer-CqXuPE9e.cjs +0 -37
  1182. package/lib/factor.serializer-CqXuPE9e.cjs.map +0 -1
  1183. package/lib/factor.serializer-Dqa3WvHr.d.cts +0 -8
  1184. package/lib/factory-C5JFKrKt.cjs +0 -15
  1185. package/lib/factory-C5JFKrKt.cjs.map +0 -1
  1186. package/lib/feature-flag.interface-5gR4Txsk.d.cts +0 -28
  1187. package/lib/feature-flag.serializer-CXzLmsy8.d.cts +0 -7
  1188. package/lib/feature-flag.serializer-DhnZDZE3.cjs +0 -23
  1189. package/lib/feature-flag.serializer-DhnZDZE3.cjs.map +0 -1
  1190. package/lib/feature-flags-w4M2jmZ4.cjs +0 -42
  1191. package/lib/feature-flags-w4M2jmZ4.cjs.map +0 -1
  1192. package/lib/fetch-and-deserialize-Cw0qruaA.cjs +0 -25
  1193. package/lib/fetch-and-deserialize-Cw0qruaA.cjs.map +0 -1
  1194. package/lib/fetch-and-deserialize-list-fKCIhUCS.cjs +0 -19
  1195. package/lib/fetch-and-deserialize-list-fKCIhUCS.cjs.map +0 -1
  1196. package/lib/fetch-client-CSHUm64J.cjs +0 -178
  1197. package/lib/fetch-client-CSHUm64J.cjs.map +0 -1
  1198. package/lib/fga-DDQcYlFx.cjs +0 -83
  1199. package/lib/fga-DDQcYlFx.cjs.map +0 -1
  1200. package/lib/fga-paginatable-Bq_-XEib.d.cts +0 -14
  1201. package/lib/fga-paginatable-CcnmklhZ.cjs +0 -22
  1202. package/lib/fga-paginatable-CcnmklhZ.cjs.map +0 -1
  1203. package/lib/generate-portal-link-intent.interface-1rRu8_0c.cjs +0 -20
  1204. package/lib/generate-portal-link-intent.interface-1rRu8_0c.cjs.map +0 -1
  1205. package/lib/generate-portal-link-intent.interface-CktTgyDC.d.cts +0 -12
  1206. package/lib/generic-server.exception-_vsH8SZy.d.cts +0 -14
  1207. package/lib/get-access-token.interface-ClGvoDsn.d.cts +0 -32
  1208. package/lib/get-access-token.serializer-DgmyudCD.cjs +0 -34
  1209. package/lib/get-access-token.serializer-DgmyudCD.cjs.map +0 -1
  1210. package/lib/get-options.interface-C7_1wOuz.d.cts +0 -11
  1211. package/lib/get-profile-and-token-options.interface-Cc1l5_d-.d.cts +0 -14
  1212. package/lib/get-profile-options.interface-DpfzZ2dN.d.cts +0 -7
  1213. package/lib/get-token-2lecb0Cy.cjs +0 -23
  1214. package/lib/get-token-2lecb0Cy.cjs.map +0 -1
  1215. package/lib/get-token-CmiH1VJ9.d.cts +0 -23
  1216. package/lib/http-client-8EHeTnVH.cjs +0 -96
  1217. package/lib/http-client-8EHeTnVH.cjs.map +0 -1
  1218. package/lib/http-client-DaKWM9mT.d.cts +0 -54
  1219. package/lib/http-client.interface-B_h_5jS-.d.cts +0 -24
  1220. package/lib/identity.interface-s1eSJ1gQ.d.cts +0 -14
  1221. package/lib/identity.serializer-Bzox6cAy.cjs +0 -20
  1222. package/lib/identity.serializer-Bzox6cAy.cjs.map +0 -1
  1223. package/lib/impersonator.interface-eqT0OndP.d.cts +0 -12
  1224. package/lib/index-6gXqBDB6.d.cts +0 -557
  1225. package/lib/index-DLlyc54K.d.cts +0 -1
  1226. package/lib/index-D_m6yoT-.d.cts +0 -1
  1227. package/lib/index-Fr9oBTRC.d.cts +0 -1
  1228. package/lib/interface-check-CTSXH7TS.cjs +0 -23
  1229. package/lib/interface-check-CTSXH7TS.cjs.map +0 -1
  1230. package/lib/invitation.interface-zxREPPZu.d.cts +0 -64
  1231. package/lib/invitation.serializer-BDPagMLH.d.cts +0 -8
  1232. package/lib/jose-D4-VExnk.cjs +0 -27
  1233. package/lib/jose-D4-VExnk.cjs.map +0 -1
  1234. package/lib/key.interface-BdqBuDSH.d.cts +0 -16
  1235. package/lib/leb128-C_fBTjdc.cjs +0 -82
  1236. package/lib/leb128-C_fBTjdc.cjs.map +0 -1
  1237. package/lib/list-connections-options.interface-C7cH8ONj.d.cts +0 -17
  1238. package/lib/list-connections-options.serializer-olslE-Fg.d.cts +0 -7
  1239. package/lib/list-directories-options.interface-B9cTFdVu.d.cts +0 -14
  1240. package/lib/list-directories-options.serializer-J88SC3Uu.d.cts +0 -7
  1241. package/lib/list-directory-users-options.interface-DtPOs4E8.d.cts +0 -10
  1242. package/lib/list-event-options.serializer-D3zKDeJK.d.cts +0 -7
  1243. package/lib/list-event-options.serializer-bbZhjMlc.cjs +0 -19
  1244. package/lib/list-event-options.serializer-bbZhjMlc.cjs.map +0 -1
  1245. package/lib/list-events-options.interface-AWaFt1WM.d.cts +0 -22
  1246. package/lib/list-feature-flags-options.interface-D7AIjm-0.d.cts +0 -7
  1247. package/lib/list-groups-options.interface-CbQJvpyC.d.cts +0 -10
  1248. package/lib/list-invitations-options.serializer-DyJeeVXk.cjs +0 -19
  1249. package/lib/list-invitations-options.serializer-DyJeeVXk.cjs.map +0 -1
  1250. package/lib/list-object-versions.interface-CAFLFrnR.d.cts +0 -12
  1251. package/lib/list-objects.interface-DVVXFKO9.d.cts +0 -9
  1252. package/lib/list-organization-api-keys-options.interface-B9Hg7VJE.d.cts +0 -9
  1253. package/lib/list-organization-feature-flags-options.interface-D6h35g9O.d.cts +0 -9
  1254. package/lib/list-organization-memberships-options.serializer-eZn-qTI8.cjs +0 -20
  1255. package/lib/list-organization-memberships-options.serializer-eZn-qTI8.cjs.map +0 -1
  1256. package/lib/list-organization-roles-options.interface-DTgBJtDm.d.cts +0 -7
  1257. package/lib/list-organizations-options.interface-BVUFUWd8.d.cts +0 -9
  1258. package/lib/list-resources-options.serializer-BmYs9Vf0.cjs +0 -19
  1259. package/lib/list-resources-options.serializer-BmYs9Vf0.cjs.map +0 -1
  1260. package/lib/list-resources-options.serializer-CmH9ahEW.d.cts +0 -7
  1261. package/lib/list-sessions-options.interface-BkSOP-aQ.d.cts +0 -8
  1262. package/lib/list-sessions-options.serializer-CZGaayZp.d.cts +0 -7
  1263. package/lib/list-users-options.interface-DuJwLaE9.d.cts +0 -14
  1264. package/lib/list-users-options.serializer-CAQrhvH0.cjs +0 -19
  1265. package/lib/list-users-options.serializer-CAQrhvH0.cjs.map +0 -1
  1266. package/lib/list-warrants-options.serializer-Bd-WDleA.cjs +0 -21
  1267. package/lib/list-warrants-options.serializer-Bd-WDleA.cjs.map +0 -1
  1268. package/lib/list-warrants-options.serializer-CBntdUkf.d.cts +0 -7
  1269. package/lib/list.interface-BDqDTWM8.d.cts +0 -13
  1270. package/lib/list.interface-BEUNlSvF.d.cts +0 -20
  1271. package/lib/list.serializer-BY9yE1pB.cjs +0 -16
  1272. package/lib/list.serializer-BY9yE1pB.cjs.map +0 -1
  1273. package/lib/list.serializer-BucwpWfj.d.cts +0 -10
  1274. package/lib/list.serializer-CTHSrCW_.cjs +0 -17
  1275. package/lib/list.serializer-CTHSrCW_.cjs.map +0 -1
  1276. package/lib/list.serializer-DoX3epPr.d.cts +0 -7
  1277. package/lib/locale.interface-DSiD6ntd.d.cts +0 -5
  1278. package/lib/logout-url-options.interface-Cw1qCccF.d.cts +0 -8
  1279. package/lib/magic-auth.interface-BrxHHiJN.d.cts +0 -42
  1280. package/lib/magic-auth.serializer-BYyXRWbr.d.cts +0 -8
  1281. package/lib/mfa-BbisUIpM.cjs +0 -50
  1282. package/lib/mfa-BbisUIpM.cjs.map +0 -1
  1283. package/lib/no-api-key-provided.exception-Cd9K6Mli.d.cts +0 -9
  1284. package/lib/not-found.exception-GakjCm1p.d.cts +0 -24
  1285. package/lib/oauth-tokens.interface-Bvew3EOR.d.cts +0 -16
  1286. package/lib/oauth.exception-CFy4_2CF.d.cts +0 -15
  1287. package/lib/object.interface-BjtGKl3u.d.cts +0 -35
  1288. package/lib/organization-domain.interface-BpDw6NNx.cjs +0 -28
  1289. package/lib/organization-domain.interface-BpDw6NNx.cjs.map +0 -1
  1290. package/lib/organization-domain.interface-C6EjTpuJ.d.cts +0 -35
  1291. package/lib/organization-domains-BRGEKO06.cjs +0 -33
  1292. package/lib/organization-domains-BRGEKO06.cjs.map +0 -1
  1293. package/lib/organization-membership.interface-NCcAKBR2.d.cts +0 -33
  1294. package/lib/organization.interface-CdjQyAEW.d.cts +0 -30
  1295. package/lib/organization.serializer-DJQ4yLMv.d.cts +0 -7
  1296. package/lib/organizations-CqJIT1Q5.cjs +0 -70
  1297. package/lib/organizations-CqJIT1Q5.cjs.map +0 -1
  1298. package/lib/pagination-B-QDcg4e.d.cts +0 -25
  1299. package/lib/pagination-options.interface-CUOgmBwZ.d.cts +0 -10
  1300. package/lib/parse-error-B7u-PJ1K.cjs +0 -24
  1301. package/lib/parse-error-B7u-PJ1K.cjs.map +0 -1
  1302. package/lib/password-hash-type.interface-OhapFl0U.d.cts +0 -5
  1303. package/lib/password-reset.interface-Dcebp_7o.d.cts +0 -40
  1304. package/lib/password-reset.serializer-OyBytEcC.d.cts +0 -8
  1305. package/lib/passwordless-DEThp5fE.cjs +0 -29
  1306. package/lib/passwordless-DEThp5fE.cjs.map +0 -1
  1307. package/lib/passwordless-session.interface-BsOH8Py1.d.cts +0 -18
  1308. package/lib/passwordless-session.serializer-CASCZ8yC.cjs +0 -18
  1309. package/lib/passwordless-session.serializer-CASCZ8yC.cjs.map +0 -1
  1310. package/lib/pipes-BACoDN0N.cjs +0 -21
  1311. package/lib/pipes-BACoDN0N.cjs.map +0 -1
  1312. package/lib/pkce-CPU9dTCY.d.cts +0 -38
  1313. package/lib/portal-DeMgODuk.cjs +0 -25
  1314. package/lib/portal-DeMgODuk.cjs.map +0 -1
  1315. package/lib/post-options.interface-DdsVDnGH.d.cts +0 -13
  1316. package/lib/profile-and-token.interface-D8SOsn-s.d.cts +0 -18
  1317. package/lib/profile-and-token.serializer-DgfsqiF_.d.cts +0 -8
  1318. package/lib/profile.interface-CiNXzRbL.d.cts +0 -42
  1319. package/lib/profile.serializer-BOeHpcqS.d.cts +0 -8
  1320. package/lib/put-options.interface-DR1xH3TR.d.cts +0 -12
  1321. package/lib/query-options.serializer-BYZOvQyR.d.cts +0 -7
  1322. package/lib/query-options.serializer-Chg3TZdD.cjs +0 -19
  1323. package/lib/query-options.serializer-Chg3TZdD.cjs.map +0 -1
  1324. package/lib/query-result.serializer-CQqFGng9.cjs +0 -28
  1325. package/lib/query-result.serializer-CQqFGng9.cjs.map +0 -1
  1326. package/lib/query-result.serializer-EnvPglcs.d.cts +0 -12
  1327. package/lib/query-string-DvY-MOOT.cjs +0 -40
  1328. package/lib/query-string-DvY-MOOT.cjs.map +0 -1
  1329. package/lib/query.interface-Sw3Xfzzq.d.cts +0 -35
  1330. package/lib/rate-limit-exceeded.exception-t2HJjyVG.d.cts +0 -18
  1331. package/lib/read-object.interface-BDX81WQG.d.cts +0 -25
  1332. package/lib/refresh-and-seal-session-data.interface-BC_uVnK1.cjs +0 -19
  1333. package/lib/refresh-and-seal-session-data.interface-BC_uVnK1.cjs.map +0 -1
  1334. package/lib/refresh-and-seal-session-data.interface-DJk6xCxt.d.cts +0 -24
  1335. package/lib/remove-flag-target-options.interface-CgLnzR8g.d.cts +0 -8
  1336. package/lib/request-exception.interface-ncoDfVCo.d.cts +0 -9
  1337. package/lib/resend-invitation-options.interface-pOfbruPn.d.cts +0 -12
  1338. package/lib/resend-invitation-options.serializer-gi3hyBeV.cjs +0 -12
  1339. package/lib/resend-invitation-options.serializer-gi3hyBeV.cjs.map +0 -1
  1340. package/lib/reset-password-options.interface-CT7QWPPM.d.cts +0 -12
  1341. package/lib/reset-password-options.serializer-swg0rbQu.d.cts +0 -7
  1342. package/lib/resource-op.enum-Bzwtg0bG.d.cts +0 -8
  1343. package/lib/resource-op.enum-iS-Tf1WO.cjs +0 -16
  1344. package/lib/resource-op.enum-iS-Tf1WO.cjs.map +0 -1
  1345. package/lib/resource.interface-BHXuymiW.d.cts +0 -77
  1346. package/lib/resource.serializer-CVfysC_R.d.cts +0 -8
  1347. package/lib/resource.serializer-DQA6JSVB.cjs +0 -25
  1348. package/lib/resource.serializer-DQA6JSVB.cjs.map +0 -1
  1349. package/lib/response-payload.interface-CC6ym1hG.d.cts +0 -26
  1350. package/lib/revoke-session-options.interface-Bvh2jHlb.d.cts +0 -11
  1351. package/lib/revoke-session-options.interface-adU7deuN.cjs +0 -12
  1352. package/lib/revoke-session-options.interface-adU7deuN.cjs.map +0 -1
  1353. package/lib/role.interface-C76vJyRA.d.cts +0 -51
  1354. package/lib/role.serializer-DVr857zo.cjs +0 -22
  1355. package/lib/role.serializer-DVr857zo.cjs.map +0 -1
  1356. package/lib/runtime-info-D1rBs4px.cjs +0 -56
  1357. package/lib/runtime-info-D1rBs4px.cjs.map +0 -1
  1358. package/lib/seal-Dl5Et6Vv.cjs +0 -315
  1359. package/lib/seal-Dl5Et6Vv.cjs.map +0 -1
  1360. package/lib/send-invitation-options.interface-DhnvOLnv.d.cts +0 -22
  1361. package/lib/send-invitation-options.serializer-BX9N-pl6.cjs +0 -19
  1362. package/lib/send-invitation-options.serializer-BX9N-pl6.cjs.map +0 -1
  1363. package/lib/send-session-response.interface-BpEozStf.d.cts +0 -8
  1364. package/lib/send-verification-email-options.interface-DzN8alC-.d.cts +0 -7
  1365. package/lib/session-BspC-lF9.cjs +0 -144
  1366. package/lib/session-BspC-lF9.cjs.map +0 -1
  1367. package/lib/session-handler-options.interface-CkCM0a1e.d.cts +0 -9
  1368. package/lib/session.interface-DQZ0ufo_.d.cts +0 -38
  1369. package/lib/session.serializer-D56UJaJF.d.cts +0 -7
  1370. package/lib/signature-provider-Dx4cy5vI.cjs +0 -38
  1371. package/lib/signature-provider-Dx4cy5vI.cjs.map +0 -1
  1372. package/lib/signature-verification.exception-CN2av9Wr.d.cts +0 -8
  1373. package/lib/sms.interface-CyWalgD9.d.cts +0 -10
  1374. package/lib/sms.serializer-X3xntG8l.cjs +0 -12
  1375. package/lib/sms.serializer-X3xntG8l.cjs.map +0 -1
  1376. package/lib/sso-BGdbsFSR.cjs +0 -135
  1377. package/lib/sso-BGdbsFSR.cjs.map +0 -1
  1378. package/lib/subtle-crypto-provider-z15sJdtL.cjs +0 -99
  1379. package/lib/subtle-crypto-provider-z15sJdtL.cjs.map +0 -1
  1380. package/lib/totp.interface-CPAuCv4H.d.cts +0 -22
  1381. package/lib/unauthorized.exception-CjXkJx3p.d.cts +0 -13
  1382. package/lib/unknown-record.interface-C5Ru336Z.d.cts +0 -5
  1383. package/lib/unprocessable-entity-error.interface-Qwl8rD25.d.cts +0 -8
  1384. package/lib/unprocessable-entity.exception-N-3lqy5T.d.cts +0 -25
  1385. package/lib/unreachable-HIg8NPjR.cjs +0 -23
  1386. package/lib/unreachable-HIg8NPjR.cjs.map +0 -1
  1387. package/lib/update-object.interface-CNxG-_TG.d.cts +0 -13
  1388. package/lib/update-organization-membership-options.interface-DARsxhfh.d.cts +0 -12
  1389. package/lib/update-organization-membership-options.serializer-J0-AHdSc.cjs +0 -15
  1390. package/lib/update-organization-membership-options.serializer-J0-AHdSc.cjs.map +0 -1
  1391. package/lib/update-organization-options.interface-DmWBw_ag.d.cts +0 -21
  1392. package/lib/update-organization-options.serializer-2h0Jmja6.d.cts +0 -7
  1393. package/lib/update-user-options.interface-DzoNVMaL.d.cts +0 -31
  1394. package/lib/update-user-options.serializer-BVSNgExg.d.cts +0 -7
  1395. package/lib/update-user-password-options.interface-CG02MZA_.d.cts +0 -11
  1396. package/lib/update-user-password-options.serializer-y9laCvAH.d.cts +0 -7
  1397. package/lib/user-management-DCbkjgk8.cjs +0 -539
  1398. package/lib/user-management-DCbkjgk8.cjs.map +0 -1
  1399. package/lib/user.interface-SwAIYLNB.d.cts +0 -34
  1400. package/lib/user.serializer-TrM0oX4Q.d.cts +0 -7
  1401. package/lib/validate-api-key.interface-kzSfRmiM.d.cts +0 -15
  1402. package/lib/validate-api-key.serializer-B1ScKkFd.d.cts +0 -7
  1403. package/lib/vault-key.serializer-DO9iKzMq.cjs +0 -29
  1404. package/lib/vault-key.serializer-DO9iKzMq.cjs.map +0 -1
  1405. package/lib/vault-o2v1Hjz7.cjs +0 -106
  1406. package/lib/vault-o2v1Hjz7.cjs.map +0 -1
  1407. package/lib/vault-object.serializer-EkelXJB9.cjs +0 -84
  1408. package/lib/vault-object.serializer-EkelXJB9.cjs.map +0 -1
  1409. package/lib/verify-challenge-options-CEFnAmwu.d.cts +0 -8
  1410. package/lib/verify-challenge-response-CAIHmhRm.d.cts +0 -14
  1411. package/lib/verify-email-options.interface-oOfTTYG0.d.cts +0 -11
  1412. package/lib/verify-response.serializer-CuPqcouK.d.cts +0 -7
  1413. package/lib/verify-response.serializer-Ga6sZ_he.cjs +0 -16
  1414. package/lib/verify-response.serializer-Ga6sZ_he.cjs.map +0 -1
  1415. package/lib/warning.interface-BVeaQsw5.d.cts +0 -13
  1416. package/lib/warrant-op.enum-Bqzp9GRk.cjs +0 -16
  1417. package/lib/warrant-op.enum-Bqzp9GRk.cjs.map +0 -1
  1418. package/lib/warrant-op.enum-CBmWDuBs.d.cts +0 -8
  1419. package/lib/warrant-token.interface-D8P4GnoE.d.cts +0 -10
  1420. package/lib/warrant-token.serializer-9f0_Dze3.d.cts +0 -7
  1421. package/lib/warrant-token.serializer-DFNcFGQN.cjs +0 -12
  1422. package/lib/warrant-token.serializer-DFNcFGQN.cjs.map +0 -1
  1423. package/lib/warrant.interface-D0zCmerc.d.cts +0 -71
  1424. package/lib/warrant.serializer-BDtDxpT8.d.cts +0 -7
  1425. package/lib/warrant.serializer-BnF9sWUb.cjs +0 -22
  1426. package/lib/warrant.serializer-BnF9sWUb.cjs.map +0 -1
  1427. package/lib/webhooks-CPFNC99w.cjs +0 -38
  1428. package/lib/webhooks-CPFNC99w.cjs.map +0 -1
  1429. package/lib/webhooks-yX64jTg5.d.cts +0 -35
  1430. package/lib/widgets-UYWIfPS5.cjs +0 -21
  1431. package/lib/widgets-UYWIfPS5.cjs.map +0 -1
  1432. package/lib/workos-B9-XSQwo.cjs +0 -306
  1433. package/lib/workos-B9-XSQwo.cjs.map +0 -1
  1434. package/lib/workos-options.interface-CCcp8QzE.d.cts +0 -17
  1435. package/lib/workos-response-error.interface-BoJ6j8GQ.d.cts +0 -13
  1436. package/lib/write-warrant-options.serializer-7ilOHTPE.d.cts +0 -7
  1437. package/lib/write-warrant-options.serializer-CJo81yBS.cjs +0 -26
  1438. package/lib/write-warrant-options.serializer-CJo81yBS.cjs.map +0 -1
  1439. /package/lib/{action.interface-Cu7rq4Zn.cjs → action.interface-Cp_zjlbq.cjs} +0 -0
  1440. /package/lib/{add-flag-target-options.interface-DYw3tzj6.cjs → add-environment-role-permission-options.interface-Iu9Ch9C8.cjs} +0 -0
  1441. /package/lib/{api-key.interface-Cj7nrZxv.cjs → add-flag-target-options.interface-DIrECf_q.cjs} +0 -0
  1442. /package/lib/{audit-log-export-options.interface-BoAAvEGM.cjs → add-organization-role-permission-options.interface-CaoNd2oC.cjs} +0 -0
  1443. /package/lib/{audit-log-export.interface-DI6VGuUN.cjs → api-key.interface-CKbSjD5i.cjs} +0 -0
  1444. /package/lib/{authenticate-with-code-and-verifier-options.interface-Dx_BHLhw.cjs → audit-log-export-options.interface-DnLNNH69.cjs} +0 -0
  1445. /package/lib/{authenticate-with-code-options.interface-R6K1Vhe2.cjs → audit-log-export.interface-C-vo0He0.cjs} +0 -0
  1446. /package/lib/{authenticate-with-email-verification-options.interface-B5rAPOaX.cjs → authenticate-with-code-and-verifier-options.interface-BtQJ_bZ2.cjs} +0 -0
  1447. /package/lib/{authenticate-with-magic-auth-options.interface-BN61GmkA.cjs → authenticate-with-code-options.interface-Cdjhe1KQ.cjs} +0 -0
  1448. /package/lib/{authenticate-with-options-base.interface-OnfF-7oV.cjs → authenticate-with-email-verification-options.interface-Qo2pZU1Z.cjs} +0 -0
  1449. /package/lib/{authenticate-with-organization-selection.interface-DW-NpTwE.cjs → authenticate-with-magic-auth-options.interface-DfLPcjHB.cjs} +0 -0
  1450. /package/lib/{authenticate-with-password-options.interface-Cyd9Mg9f.cjs → authenticate-with-options-base.interface-Dmse1U8k.cjs} +0 -0
  1451. /package/lib/{authenticate-with-refresh-token-options.interface-DtToMftX.cjs → authenticate-with-organization-selection.interface-CdD1Rxpb.cjs} +0 -0
  1452. /package/lib/{authenticate-with-refresh-token-public-client-options.interface-BosOmcNC.cjs → authenticate-with-password-options.interface-CrrEcybu.cjs} +0 -0
  1453. /package/lib/{authenticate-with-totp-options.interface-NZ3FlPUp.cjs → authenticate-with-refresh-token-options.interface-BWDjl5Ix.cjs} +0 -0
  1454. /package/lib/{authentication-event.interface-D2d3yA2C.cjs → authenticate-with-refresh-token-public-client-options.interface-BT7t8bV7.cjs} +0 -0
  1455. /package/lib/{authentication-radar-risk-detected-event.interface-CUQwIbCE.cjs → authenticate-with-totp-options.interface-BN1BsXUK.cjs} +0 -0
  1456. /package/lib/{authentication-response.interface-DDQn5MT0.cjs → authentication-event.interface-tO5OaPx1.cjs} +0 -0
  1457. /package/lib/{authorization-url-options.interface-BwgfXKJJ.cjs → authentication-radar-risk-detected-event.interface-Cr1dhnQs.cjs} +0 -0
  1458. /package/lib/{authorization-url-options.interface-CpQQiakb.cjs → authentication-response.interface-Boc89IyY.cjs} +0 -0
  1459. /package/lib/{create-audit-log-schema-options.interface-FaXjgwQA.cjs → authorization/interfaces/add-environment-role-permission-options.interface.cjs} +0 -0
  1460. /package/lib/{create-data-key.interface-CMDlEDHC.cjs → authorization/interfaces/add-organization-role-permission-options.interface.cjs} +0 -0
  1461. /package/lib/{create-magic-auth-options.interface-DUm3MfqV.cjs → authorization/interfaces/create-environment-role-options.interface.cjs} +0 -0
  1462. /package/lib/{create-object.interface-XAc3ECaJ.cjs → authorization/interfaces/create-organization-role-options.interface.cjs} +0 -0
  1463. /package/lib/{create-organization-api-key-options.interface-CwgMNhHl.cjs → authorization/interfaces/create-permission-options.interface.cjs} +0 -0
  1464. /package/lib/{create-organization-domain-options.interface-BDicSgm6.cjs → authorization/interfaces/environment-role.interface.cjs} +0 -0
  1465. /package/lib/{create-organization-membership-options.interface-D6p-ZR1H.cjs → authorization/interfaces/index.cjs} +0 -0
  1466. /package/lib/{create-organization-options.interface-DOLMw97s.cjs → authorization/interfaces/list-permissions-options.interface.cjs} +0 -0
  1467. /package/lib/{create-password-reset-options.interface-BwbNVK63.cjs → authorization/interfaces/organization-role.interface.cjs} +0 -0
  1468. /package/lib/{create-passwordless-session-options.interface-DvyI9mMG.cjs → authorization/interfaces/permission.interface.cjs} +0 -0
  1469. /package/lib/{create-user-options.interface-B1BsHBrW.cjs → authorization/interfaces/remove-organization-role-permission-options.interface.cjs} +0 -0
  1470. /package/lib/{created-api-key.interface-DPE383Qi.cjs → authorization/interfaces/set-environment-role-permissions-options.interface.cjs} +0 -0
  1471. /package/lib/{decrypt-data-key.interface-Dbus_8mg.cjs → authorization/interfaces/set-organization-role-permissions-options.interface.cjs} +0 -0
  1472. /package/lib/{delete-object.interface-CvV-sAF0.cjs → authorization/interfaces/update-environment-role-options.interface.cjs} +0 -0
  1473. /package/lib/{directory-group.interface-BuS9hrBR.cjs → authorization/interfaces/update-organization-role-options.interface.cjs} +0 -0
  1474. /package/lib/{directory-user.interface-CWwLQBRy.cjs → authorization/interfaces/update-permission-options.interface.cjs} +0 -0
  1475. /package/lib/{connection.interface-DdHu3-Vb.cjs → authorization-url-options.interface-C9Fxv_7o.cjs} +0 -0
  1476. /package/lib/{create-audit-log-event-options.interface-_8tH04Ms.cjs → authorization-url-options.interface-Dhxhc6na.cjs} +0 -0
  1477. /package/lib/{directory.interface-Zcir0uJP.cjs → common/interfaces/patch-options.interface.cjs} +0 -0
  1478. /package/lib/{email-verification.interface-ChKIDS-L.cjs → connection.interface-Bizso5vL.cjs} +0 -0
  1479. /package/lib/{enroll-auth-factor.interface-CW5tMY5z.cjs → create-audit-log-event-options.interface-CV4irZpp.cjs} +0 -0
  1480. /package/lib/{event.interface-kqYZsXwj.cjs → create-audit-log-schema-options.interface-CAfKAjBf.cjs} +0 -0
  1481. /package/lib/{factor.interface-DXV18z-y.cjs → create-data-key.interface-C2-NUWkZ.cjs} +0 -0
  1482. /package/lib/{feature-flag.interface-BcgqfCkE.cjs → create-environment-role-options.interface-kC_uHnZl.cjs} +0 -0
  1483. /package/lib/{get-options.interface-BGUbmYqn.cjs → create-magic-auth-options.interface-CSOTMcli.cjs} +0 -0
  1484. /package/lib/{get-profile-and-token-options.interface-BRzXwgpx.cjs → create-object.interface-jufKIYD_.cjs} +0 -0
  1485. /package/lib/{get-profile-options.interface-CcwBWajg.cjs → create-organization-api-key-options.interface-DneHi7Es.cjs} +0 -0
  1486. /package/lib/{http-client.interface-G36hqWVG.cjs → create-organization-domain-options.interface-9xVPDedq.cjs} +0 -0
  1487. /package/lib/{identity.interface-ByIvTffv.cjs → create-organization-membership-options.interface-CaQYvh6M.cjs} +0 -0
  1488. /package/lib/{impersonator.interface-Cf6hV6Sl.cjs → create-organization-options.interface-BQ-ynkFt.cjs} +0 -0
  1489. /package/lib/{interfaces-B2GoLcEd.cjs → create-organization-role-options.interface-BZevKU9l.cjs} +0 -0
  1490. /package/lib/{interfaces-BOHKsPOz.cjs → create-password-reset-options.interface-CvQ8OPUP.cjs} +0 -0
  1491. /package/lib/{interfaces-BYxjU24Y.cjs → create-passwordless-session-options.interface-CUwrUUes.cjs} +0 -0
  1492. /package/lib/{interfaces-B_wxDqjZ.cjs → create-permission-options.interface-gNV8L40W.cjs} +0 -0
  1493. /package/lib/{interfaces-CJfjuBro.cjs → create-user-options.interface-Clu2DRMm.cjs} +0 -0
  1494. /package/lib/{interfaces-dlLK1oAf.cjs → created-api-key.interface-B9LIbGZn.cjs} +0 -0
  1495. /package/lib/{invitation.interface-mC_8BuA9.cjs → decrypt-data-key.interface-CC8-x3bk.cjs} +0 -0
  1496. /package/lib/{key.interface-DTklEPap.cjs → delete-object.interface-maVx6Sss.cjs} +0 -0
  1497. /package/lib/{list-auth-factors-options.interface-DKlym4v6.cjs → directory-group.interface-fI3Q18_V.cjs} +0 -0
  1498. /package/lib/{list-connections-options.interface-B7pslHgu.cjs → directory-user.interface-BDg3vEue.cjs} +0 -0
  1499. /package/lib/{list-directories-options.interface-92fO4PKr.cjs → directory.interface-BtqM2Oqa.cjs} +0 -0
  1500. /package/lib/{list-directory-users-options.interface-V6n1bfE0.cjs → email-verification.interface-wQQsh5oJ.cjs} +0 -0
  1501. /package/lib/{list-events-options.interface-Ba5Wze0J.cjs → enroll-auth-factor.interface-DtoEIL35.cjs} +0 -0
  1502. /package/lib/{list-feature-flags-options.interface-BseB3Sxv.cjs → environment-role.interface-B1gHSYUW.cjs} +0 -0
  1503. /package/lib/{list-groups-options.interface-Bd6SDE85.cjs → event.interface-DJog_FVt.cjs} +0 -0
  1504. /package/lib/{list-invitations-options.interface-BP7cTrWE.cjs → factor.interface-DYEY2DmK.cjs} +0 -0
  1505. /package/lib/{list-object-versions.interface-Ds--dBPk.cjs → feature-flag.interface-zWuZQ0AN.cjs} +0 -0
  1506. /package/lib/{list-objects.interface-B8yzYARh.cjs → get-options.interface-PWSxSJWf.cjs} +0 -0
  1507. /package/lib/{list-organization-api-keys-options.interface-gN2_EC8Y.cjs → get-profile-and-token-options.interface-B4AIgzHK.cjs} +0 -0
  1508. /package/lib/{list-organization-feature-flags-options.interface-CUV13_Kb.cjs → get-profile-options.interface-BL-ae6kv.cjs} +0 -0
  1509. /package/lib/{list-organization-memberships-options.interface-B3j0iJtf.cjs → http-client.interface-q5tbZi3r.cjs} +0 -0
  1510. /package/lib/{list-organizations-options.interface-CtphN7_M.cjs → identity.interface-CENecjOJ.cjs} +0 -0
  1511. /package/lib/{list-sessions-options.interface-CxrAFAFB.cjs → impersonator.interface-D2BWTjld.cjs} +0 -0
  1512. /package/lib/{index-3zexvj-W.d.cts → index-1uLygO4P.d.cts} +0 -0
  1513. /package/lib/{index-B78SvkL4.d.cts → index-B6gmSQ17.d.cts} +0 -0
  1514. /package/lib/{index-BsCObK9R.d.cts → index-BcBOa3hp.d.cts} +0 -0
  1515. /package/lib/{index-CIdqvOeJ.d.cts → index-BxzRAt8C.d.cts} +0 -0
  1516. /package/lib/{index-CTbcD7SV.d.cts → index-CGSBYMIY.d.cts} +0 -0
  1517. /package/lib/{index-CZB6MMOU.d.cts → index-CNyG9oqt.d.cts} +0 -0
  1518. /package/lib/{index-Cx2IQJ5y.d.cts → index-CRoJq_Lc.d.cts} +0 -0
  1519. /package/lib/{index-D5dJgt97.d.cts → index-D-yUU_Re.d.cts} +0 -0
  1520. /package/lib/{index-DC1O7WeZ.d.cts → index-DBTRFl_2.d.cts} +0 -0
  1521. /package/lib/{index-DCTKnOHe.d.cts → index-Daxn2RpI.d.cts} +0 -0
  1522. /package/lib/{index-DEWiUzoU.d.cts → index-W8XcuB-8.d.cts} +0 -0
  1523. /package/lib/{list-user-feature-flags-options.interface-BffT3Bgy.cjs → interfaces-Bj3jzkUk.cjs} +0 -0
  1524. /package/lib/{list-users-options.interface-CZSIN83o.cjs → interfaces-D9rg42Qr.cjs} +0 -0
  1525. /package/lib/{list.interface-Y2SC7qfo.cjs → interfaces-D_GTYFG5.cjs} +0 -0
  1526. /package/lib/{locale.interface-CEpymw1t.cjs → interfaces-DlIGjxho.cjs} +0 -0
  1527. /package/lib/{logout-url-options.interface-DWdskc6a.cjs → interfaces-MzGHd7Yh.cjs} +0 -0
  1528. /package/lib/{magic-auth.interface-fz8MN6h7.cjs → interfaces-zQuVtXTa.cjs} +0 -0
  1529. /package/lib/{oauth-tokens.interface-B-4Pi0sR.cjs → invitation.interface-Dz6VF1sU.cjs} +0 -0
  1530. /package/lib/{object.interface-36k9_URU.cjs → key.interface-CHRr2LEz.cjs} +0 -0
  1531. /package/lib/{organization-membership.interface-D1wrotmQ.cjs → list-auth-factors-options.interface-L62JljVx.cjs} +0 -0
  1532. /package/lib/{organization.interface-CsjbCMaa.cjs → list-connections-options.interface-DVqutI5F.cjs} +0 -0
  1533. /package/lib/{pagination-options.interface-CLNb6Om8.cjs → list-directories-options.interface-eav9nzy3.cjs} +0 -0
  1534. /package/lib/{password-reset.interface-CnDQOmWv.cjs → list-directory-users-options.interface-DLqDVyl2.cjs} +0 -0
  1535. /package/lib/{passwordless-session.interface-CV7rpVzo.cjs → list-events-options.interface-0QWZL0Yw.cjs} +0 -0
  1536. /package/lib/{post-options.interface-ClNtDEaN.cjs → list-feature-flags-options.interface-DVCuHMFE.cjs} +0 -0
  1537. /package/lib/{profile-and-token.interface-CZMHm-ni.cjs → list-groups-options.interface-By_UcNDc.cjs} +0 -0
  1538. /package/lib/{profile.interface-BCfCOjmx.cjs → list-invitations-options.interface-BSkj-ZNH.cjs} +0 -0
  1539. /package/lib/{put-options.interface-BDeO-5og.cjs → list-object-versions.interface-CZ3u9vAQ.cjs} +0 -0
  1540. /package/lib/{query.interface-DBrke9TG.cjs → list-objects.interface-DB0LHLG9.cjs} +0 -0
  1541. /package/lib/{read-object.interface-f_81j5uM.cjs → list-organization-api-keys-options.interface-CveTG0uD.cjs} +0 -0
  1542. /package/lib/{remove-flag-target-options.interface-DoGKEa5T.cjs → list-organization-feature-flags-options.interface-_x6kSSZY.cjs} +0 -0
  1543. /package/lib/{resend-invitation-options.interface-BvKYcUMa.cjs → list-organization-memberships-options.interface-DQEYYc8q.cjs} +0 -0
  1544. /package/lib/{reset-password-options.interface-C8NDiT__.cjs → list-organizations-options.interface-CO97CX3u.cjs} +0 -0
  1545. /package/lib/{resource.interface-Dk75RqTQ.cjs → list-permissions-options.interface-DLk_ltrp.cjs} +0 -0
  1546. /package/lib/{response-payload.interface-Dd6I_nGn.cjs → list-sessions-options.interface-DRc1NZdD.cjs} +0 -0
  1547. /package/lib/{role.interface-B3M8zitL.cjs → list-user-feature-flags-options.interface-CgqawmKH.cjs} +0 -0
  1548. /package/lib/{send-invitation-options.interface-C6iq0iBA.cjs → list-users-options.interface-C5sgnUd6.cjs} +0 -0
  1549. /package/lib/{send-session-response.interface-BK1iekyV.cjs → list.interface-BRryI6pg.cjs} +0 -0
  1550. /package/lib/{send-verification-email-options.interface-BUkQm-56.cjs → locale.interface-BTUQlgqX.cjs} +0 -0
  1551. /package/lib/{serializers-1RdL3mOO.cjs → logout-url-options.interface-lD0JqUBq.cjs} +0 -0
  1552. /package/lib/{serializers-AObKGeJ9.cjs → magic-auth.interface-D8jgzoGD.cjs} +0 -0
  1553. /package/lib/{serializers-BGydYdNv.cjs → oauth-tokens.interface-BBMvv6jR.cjs} +0 -0
  1554. /package/lib/{serializers-Bd8zRjMr.cjs → object.interface-npvKCWKF.cjs} +0 -0
  1555. /package/lib/{serializers-BdASmY_9.cjs → organization-membership.interface-CYxOpTIM.cjs} +0 -0
  1556. /package/lib/{serializers-D7IALzFJ.cjs → organization-role.interface-CLBM9aza.cjs} +0 -0
  1557. /package/lib/{serializers-L67xhHGh.cjs → organization.interface-pY1iGerY.cjs} +0 -0
  1558. /package/lib/{session.interface-CJL0YhXF.cjs → pagination-options.interface-BoiKHHTH.cjs} +0 -0
  1559. /package/lib/{unprocessable-entity-error.interface-qvpJv5Qa.cjs → password-reset.interface-s_bWZdDk.cjs} +0 -0
  1560. /package/lib/{update-object.interface-DGOrDGsi.cjs → passwordless-session.interface-Bi9y87V7.cjs} +0 -0
  1561. /package/lib/{update-organization-membership-options.interface-BB8dVzxD.cjs → patch-options.interface-Fd1jUcSo.cjs} +0 -0
  1562. /package/lib/{update-organization-options.interface-DbUpLvun.cjs → permission.interface-Dhx-jPkZ.cjs} +0 -0
  1563. /package/lib/{update-user-options.interface-hZd8eW6q.cjs → post-options.interface-BY7OUsfe.cjs} +0 -0
  1564. /package/lib/{update-user-password-options.interface-B9BC-Hv9.cjs → profile-and-token.interface-BrAmbRfi.cjs} +0 -0
  1565. /package/lib/{user.interface-Bln_2b82.cjs → profile.interface-CIhPFxjC.cjs} +0 -0
  1566. /package/lib/{validate-api-key.interface-JvCCei5M.cjs → put-options.interface-C0STQ8xm.cjs} +0 -0
  1567. /package/lib/{verify-email-options.interface-DPQfAOwk.cjs → query.interface-C37Vr290.cjs} +0 -0
  1568. /package/lib/{warrant-token.interface-BpOppNeH.cjs → read-object.interface-RCcLbvry.cjs} +0 -0
  1569. /package/lib/{warrant.interface-BgyqZr7M.cjs → remove-flag-target-options.interface-CNzVf6zp.cjs} +0 -0
  1570. /package/lib/{workos-options.interface-DJkEWOSw.cjs → remove-organization-role-permission-options.interface-BpQUw8lU.cjs} +0 -0
  1571. /package/lib/{workos-response-error.interface-CNjnix9d.cjs → resend-invitation-options.interface-U-F_hXjY.cjs} +0 -0
@@ -0,0 +1,539 @@
1
+ const require_pagination = require('./pagination-BG1uBuL4.cjs');
2
+ const require_authenticate_with_code_options_serializer = require('./authenticate-with-code-options.serializer-BMz_1tBW.cjs');
3
+ const require_authenticate_with_code_and_verifier_options_serializer = require('./authenticate-with-code-and-verifier-options.serializer-BEILlMya.cjs');
4
+ const require_authenticate_with_magic_auth_options_serializer = require('./authenticate-with-magic-auth-options.serializer-CYU4H_5p.cjs');
5
+ const require_authenticate_with_password_options_serializer = require('./authenticate-with-password-options.serializer-DPYtf-9Q.cjs');
6
+ const require_authenticate_with_refresh_token_options_serializer = require('./authenticate-with-refresh-token.options.serializer-Ba3QVuMY.cjs');
7
+ const require_authenticate_with_refresh_token_public_client_options_serializer = require('./authenticate-with-refresh-token-public-client-options.serializer-BUO_bMxj.cjs');
8
+ const require_authenticate_with_totp_options_serializer = require('./authenticate-with-totp-options.serializer-Dv5iQHm4.cjs');
9
+ const require_user_serializer = require('./user.serializer-Y5EM8MeK.cjs');
10
+ const require_authentication_response_serializer = require('./authentication-response.serializer-DCSj_OPJ.cjs');
11
+ const require_create_magic_auth_options_serializer = require('./create-magic-auth-options.serializer-DN24SZEy.cjs');
12
+ const require_create_password_reset_options_serializer = require('./create-password-reset-options.serializer-C9rwv-Gj.cjs');
13
+ const require_email_verification_serializer = require('./email-verification.serializer-e6Mbvjvd.cjs');
14
+ const require_enroll_auth_factor_options_serializer = require('./enroll-auth-factor-options.serializer-BBfKN5IU.cjs');
15
+ const require_factor_serializer = require('./factor.serializer-CiRgOFhH.cjs');
16
+ const require_invitation_serializer = require('./invitation.serializer-BEVUkLP9.cjs');
17
+ const require_list_sessions_options_serializer = require('./list-sessions-options.serializer-DXI2uV_8.cjs');
18
+ const require_magic_auth_serializer = require('./magic-auth.serializer-By4HyvgZ.cjs');
19
+ const require_password_reset_serializer = require('./password-reset.serializer-D8Kbnirv.cjs');
20
+ const require_reset_password_options_serializer = require('./reset-password-options.serializer-6VTahIzL.cjs');
21
+ const require_session_serializer = require('./session.serializer-Dmj9Hm3q.cjs');
22
+ const require_create_user_options_serializer = require('./create-user-options.serializer-CphvVoaV.cjs');
23
+ const require_update_user_options_serializer = require('./update-user-options.serializer-H11lRdjH.cjs');
24
+ const require_organization_membership_serializer = require('./organization-membership.serializer-DVtJVaRT.cjs');
25
+ const require_fetch_and_deserialize = require('./fetch-and-deserialize-B6lbfouV.cjs');
26
+ const require_feature_flag_serializer = require('./feature-flag.serializer-iuO0V07A.cjs');
27
+ const require_query_string = require('./query-string-B9WibUJl.cjs');
28
+ const require_challenge_serializer = require('./challenge.serializer-Dzoig6Tb.cjs');
29
+ const require_seal = require('./seal-B34v5bmh.cjs');
30
+ const require_env = require('./env-BRem2_1e.cjs');
31
+ const require_authenticate_with_session_cookie_interface = require('./authenticate-with-session-cookie.interface-B4eQTrfN.cjs');
32
+ const require_revoke_session_options_interface = require('./revoke-session-options.interface-DNh6uGcR.cjs');
33
+ const require_authenticate_with_email_verification_serializer = require('./authenticate-with-email-verification.serializer-Bf1j1ew9.cjs');
34
+ const require_authenticate_with_organization_selection_options_serializer = require('./authenticate-with-organization-selection-options.serializer-Did46zvW.cjs');
35
+ const require_create_organization_membership_options_serializer = require('./create-organization-membership-options.serializer-J20uU0fe.cjs');
36
+ const require_identity_serializer = require('./identity.serializer-aL8fr6V6.cjs');
37
+ const require_list_invitations_options_serializer = require('./list-invitations-options.serializer-BBeD69mZ.cjs');
38
+ const require_list_organization_memberships_options_serializer = require('./list-organization-memberships-options.serializer-DHBnW5rP.cjs');
39
+ const require_list_users_options_serializer = require('./list-users-options.serializer-NjRJdnZI.cjs');
40
+ const require_resend_invitation_options_serializer = require('./resend-invitation-options.serializer-DnsrXnYw.cjs');
41
+ const require_send_invitation_options_serializer = require('./send-invitation-options.serializer-D5x3ss8t.cjs');
42
+ const require_update_organization_membership_options_serializer = require('./update-organization-membership-options.serializer-BL-XfapK.cjs');
43
+ const require_jose = require('./jose-B0lH7z8y.cjs');
44
+ const require_session = require('./session-D_vnUDl1.cjs');
45
+
46
+ //#region src/user-management/user-management.ts
47
+ var UserManagement = class {
48
+ _jwks;
49
+ clientId;
50
+ constructor(workos) {
51
+ this.workos = workos;
52
+ const { clientId } = workos.options;
53
+ this.clientId = clientId;
54
+ }
55
+ /**
56
+ * Resolve clientId from method options or fall back to constructor-provided value.
57
+ * @throws TypeError if clientId is not available from either source
58
+ */
59
+ resolveClientId(clientId) {
60
+ const resolved = clientId ?? this.clientId;
61
+ if (!resolved) throw new TypeError("clientId is required. Provide it in method options or when initializing WorkOS.");
62
+ return resolved;
63
+ }
64
+ async getJWKS() {
65
+ const { createRemoteJWKSet } = await require_jose.getJose();
66
+ if (!this.clientId) return;
67
+ this._jwks ??= createRemoteJWKSet(new URL(this.getJwksUrl(this.clientId)), { cooldownDuration: 1e3 * 60 * 5 });
68
+ return this._jwks;
69
+ }
70
+ /**
71
+ * Loads a sealed session using the provided session data and cookie password.
72
+ *
73
+ * @param options - The options for loading the sealed session.
74
+ * @param options.sessionData - The sealed session data.
75
+ * @param options.cookiePassword - The password used to encrypt the session data.
76
+ * @returns The session class.
77
+ */
78
+ loadSealedSession(options) {
79
+ return new require_session.CookieSession(this, options.sessionData, options.cookiePassword);
80
+ }
81
+ async getUser(userId) {
82
+ const { data } = await this.workos.get(`/user_management/users/${userId}`);
83
+ return require_user_serializer.deserializeUser(data);
84
+ }
85
+ async getUserByExternalId(externalId) {
86
+ const { data } = await this.workos.get(`/user_management/users/external_id/${externalId}`);
87
+ return require_user_serializer.deserializeUser(data);
88
+ }
89
+ async listUsers(options) {
90
+ return new require_pagination.AutoPaginatable(await require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/user_management/users", require_user_serializer.deserializeUser, options ? require_list_users_options_serializer.serializeListUsersOptions(options) : void 0), (params) => require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/user_management/users", require_user_serializer.deserializeUser, params), options ? require_list_users_options_serializer.serializeListUsersOptions(options) : void 0);
91
+ }
92
+ async createUser(payload) {
93
+ const { data } = await this.workos.post("/user_management/users", require_create_user_options_serializer.serializeCreateUserOptions(payload));
94
+ return require_user_serializer.deserializeUser(data);
95
+ }
96
+ async authenticateWithMagicAuth(payload) {
97
+ const { session, clientId, ...remainingPayload } = payload;
98
+ const resolvedClientId = this.resolveClientId(clientId);
99
+ const { data } = await this.workos.post("/user_management/authenticate", require_authenticate_with_magic_auth_options_serializer.serializeAuthenticateWithMagicAuthOptions({
100
+ ...remainingPayload,
101
+ clientId: resolvedClientId,
102
+ clientSecret: this.workos.key
103
+ }));
104
+ return this.prepareAuthenticationResponse({
105
+ authenticationResponse: require_authentication_response_serializer.deserializeAuthenticationResponse(data),
106
+ session
107
+ });
108
+ }
109
+ async authenticateWithPassword(payload) {
110
+ const { session, clientId, ...remainingPayload } = payload;
111
+ const resolvedClientId = this.resolveClientId(clientId);
112
+ const { data } = await this.workos.post("/user_management/authenticate", require_authenticate_with_password_options_serializer.serializeAuthenticateWithPasswordOptions({
113
+ ...remainingPayload,
114
+ clientId: resolvedClientId,
115
+ clientSecret: this.workos.key
116
+ }));
117
+ return this.prepareAuthenticationResponse({
118
+ authenticationResponse: require_authentication_response_serializer.deserializeAuthenticationResponse(data),
119
+ session
120
+ });
121
+ }
122
+ /**
123
+ * Exchange an authorization code for tokens.
124
+ *
125
+ * Auto-detects public vs confidential client mode:
126
+ * - If codeVerifier is provided: Uses PKCE flow (public client)
127
+ * - If no codeVerifier: Uses client_secret from API key (confidential client)
128
+ * - If both: Uses both client_secret AND codeVerifier (confidential client with PKCE)
129
+ *
130
+ * Using PKCE with confidential clients is recommended by OAuth 2.1 for defense
131
+ * in depth and provides additional CSRF protection on the authorization flow.
132
+ *
133
+ * @throws Error if neither codeVerifier nor API key is available
134
+ */
135
+ async authenticateWithCode(payload) {
136
+ const { session, clientId, codeVerifier, ...remainingPayload } = payload;
137
+ const resolvedClientId = this.resolveClientId(clientId);
138
+ if (codeVerifier !== void 0 && codeVerifier.trim() === "") throw new TypeError("codeVerifier cannot be an empty string. Generate a valid PKCE pair using workos.pkce.generate().");
139
+ const hasApiKey = !!this.workos.key;
140
+ if (!!!codeVerifier && !hasApiKey) throw new TypeError("authenticateWithCode requires either a codeVerifier (for public clients) or an API key configured on the WorkOS instance (for confidential clients).");
141
+ const { data } = await this.workos.post("/user_management/authenticate", require_authenticate_with_code_options_serializer.serializeAuthenticateWithCodeOptions({
142
+ ...remainingPayload,
143
+ clientId: resolvedClientId,
144
+ codeVerifier,
145
+ clientSecret: hasApiKey ? this.workos.key : void 0
146
+ }), { skipApiKeyCheck: !hasApiKey });
147
+ return this.prepareAuthenticationResponse({
148
+ authenticationResponse: require_authentication_response_serializer.deserializeAuthenticationResponse(data),
149
+ session
150
+ });
151
+ }
152
+ /**
153
+ * Exchange an authorization code for tokens using PKCE (public client flow).
154
+ * Use this instead of authenticateWithCode() when the client cannot securely
155
+ * store a client_secret (browser, mobile, CLI, desktop apps).
156
+ *
157
+ * @param payload.clientId - Your WorkOS client ID
158
+ * @param payload.code - The authorization code from the OAuth callback
159
+ * @param payload.codeVerifier - The PKCE code verifier used to generate the code challenge
160
+ */
161
+ async authenticateWithCodeAndVerifier(payload) {
162
+ const { session, clientId, ...remainingPayload } = payload;
163
+ const resolvedClientId = this.resolveClientId(clientId);
164
+ const { data } = await this.workos.post("/user_management/authenticate", require_authenticate_with_code_and_verifier_options_serializer.serializeAuthenticateWithCodeAndVerifierOptions({
165
+ ...remainingPayload,
166
+ clientId: resolvedClientId
167
+ }), { skipApiKeyCheck: true });
168
+ return this.prepareAuthenticationResponse({
169
+ authenticationResponse: require_authentication_response_serializer.deserializeAuthenticationResponse(data),
170
+ session
171
+ });
172
+ }
173
+ /**
174
+ * Refresh an access token using a refresh token.
175
+ * Automatically detects public client mode - if no API key is configured,
176
+ * omits client_secret from the request.
177
+ */
178
+ async authenticateWithRefreshToken(payload) {
179
+ const { session, clientId, ...remainingPayload } = payload;
180
+ const resolvedClientId = this.resolveClientId(clientId);
181
+ const isPublicClient = !this.workos.key;
182
+ const body = isPublicClient ? require_authenticate_with_refresh_token_public_client_options_serializer.serializeAuthenticateWithRefreshTokenPublicClientOptions({
183
+ ...remainingPayload,
184
+ clientId: resolvedClientId
185
+ }) : require_authenticate_with_refresh_token_options_serializer.serializeAuthenticateWithRefreshTokenOptions({
186
+ ...remainingPayload,
187
+ clientId: resolvedClientId,
188
+ clientSecret: this.workos.key
189
+ });
190
+ const { data } = await this.workos.post("/user_management/authenticate", body, { skipApiKeyCheck: isPublicClient });
191
+ return this.prepareAuthenticationResponse({
192
+ authenticationResponse: require_authentication_response_serializer.deserializeAuthenticationResponse(data),
193
+ session
194
+ });
195
+ }
196
+ async authenticateWithTotp(payload) {
197
+ const { session, clientId, ...remainingPayload } = payload;
198
+ const resolvedClientId = this.resolveClientId(clientId);
199
+ const { data } = await this.workos.post("/user_management/authenticate", require_authenticate_with_totp_options_serializer.serializeAuthenticateWithTotpOptions({
200
+ ...remainingPayload,
201
+ clientId: resolvedClientId,
202
+ clientSecret: this.workos.key
203
+ }));
204
+ return this.prepareAuthenticationResponse({
205
+ authenticationResponse: require_authentication_response_serializer.deserializeAuthenticationResponse(data),
206
+ session
207
+ });
208
+ }
209
+ async authenticateWithEmailVerification(payload) {
210
+ const { session, clientId, ...remainingPayload } = payload;
211
+ const resolvedClientId = this.resolveClientId(clientId);
212
+ const { data } = await this.workos.post("/user_management/authenticate", require_authenticate_with_email_verification_serializer.serializeAuthenticateWithEmailVerificationOptions({
213
+ ...remainingPayload,
214
+ clientId: resolvedClientId,
215
+ clientSecret: this.workos.key
216
+ }));
217
+ return this.prepareAuthenticationResponse({
218
+ authenticationResponse: require_authentication_response_serializer.deserializeAuthenticationResponse(data),
219
+ session
220
+ });
221
+ }
222
+ async authenticateWithOrganizationSelection(payload) {
223
+ const { session, clientId, ...remainingPayload } = payload;
224
+ const resolvedClientId = this.resolveClientId(clientId);
225
+ const { data } = await this.workos.post("/user_management/authenticate", require_authenticate_with_organization_selection_options_serializer.serializeAuthenticateWithOrganizationSelectionOptions({
226
+ ...remainingPayload,
227
+ clientId: resolvedClientId,
228
+ clientSecret: this.workos.key
229
+ }));
230
+ return this.prepareAuthenticationResponse({
231
+ authenticationResponse: require_authentication_response_serializer.deserializeAuthenticationResponse(data),
232
+ session
233
+ });
234
+ }
235
+ async authenticateWithSessionCookie({ sessionData, cookiePassword = require_env.getEnv("WORKOS_COOKIE_PASSWORD") }) {
236
+ if (!cookiePassword) throw new Error("Cookie password is required");
237
+ if (!await this.getJWKS()) throw new Error("Must provide clientId to initialize JWKS");
238
+ const { decodeJwt } = await require_jose.getJose();
239
+ if (!sessionData) return {
240
+ authenticated: false,
241
+ reason: require_authenticate_with_session_cookie_interface.AuthenticateWithSessionCookieFailureReason.NO_SESSION_COOKIE_PROVIDED
242
+ };
243
+ const session = await require_seal.unsealData(sessionData, { password: cookiePassword });
244
+ if (!session.accessToken) return {
245
+ authenticated: false,
246
+ reason: require_authenticate_with_session_cookie_interface.AuthenticateWithSessionCookieFailureReason.INVALID_SESSION_COOKIE
247
+ };
248
+ if (!await this.isValidJwt(session.accessToken)) return {
249
+ authenticated: false,
250
+ reason: require_authenticate_with_session_cookie_interface.AuthenticateWithSessionCookieFailureReason.INVALID_JWT
251
+ };
252
+ const { sid: sessionId, org_id: organizationId, role, roles, permissions, entitlements, feature_flags: featureFlags } = decodeJwt(session.accessToken);
253
+ return {
254
+ authenticated: true,
255
+ sessionId,
256
+ organizationId,
257
+ role,
258
+ roles,
259
+ user: session.user,
260
+ permissions,
261
+ entitlements,
262
+ featureFlags,
263
+ accessToken: session.accessToken,
264
+ authenticationMethod: session.authenticationMethod
265
+ };
266
+ }
267
+ async isValidJwt(accessToken) {
268
+ const jwks = await this.getJWKS();
269
+ const { jwtVerify } = await require_jose.getJose();
270
+ if (!jwks) throw new Error("Must provide clientId to initialize JWKS");
271
+ try {
272
+ await jwtVerify(accessToken, jwks);
273
+ return true;
274
+ } catch (e) {
275
+ if (e instanceof Error && "code" in e && typeof e.code === "string" && (e.code.startsWith("ERR_JWT_") || e.code.startsWith("ERR_JWS_"))) return false;
276
+ throw e;
277
+ }
278
+ }
279
+ async prepareAuthenticationResponse({ authenticationResponse, session }) {
280
+ if (session?.sealSession) {
281
+ if (!this.workos.key) throw new Error("Session sealing requires server-side usage with an API key. Public clients should store tokens directly (e.g., secure storage on mobile, keychain on desktop).");
282
+ return {
283
+ ...authenticationResponse,
284
+ sealedSession: await this.sealSessionDataFromAuthenticationResponse({
285
+ authenticationResponse,
286
+ cookiePassword: session.cookiePassword
287
+ })
288
+ };
289
+ }
290
+ return authenticationResponse;
291
+ }
292
+ async sealSessionDataFromAuthenticationResponse({ authenticationResponse, cookiePassword }) {
293
+ if (!cookiePassword) throw new Error("Cookie password is required");
294
+ const { decodeJwt } = await require_jose.getJose();
295
+ const { org_id: organizationIdFromAccessToken } = decodeJwt(authenticationResponse.accessToken);
296
+ return require_seal.sealData({
297
+ organizationId: organizationIdFromAccessToken,
298
+ user: authenticationResponse.user,
299
+ accessToken: authenticationResponse.accessToken,
300
+ refreshToken: authenticationResponse.refreshToken,
301
+ authenticationMethod: authenticationResponse.authenticationMethod,
302
+ impersonator: authenticationResponse.impersonator
303
+ }, { password: cookiePassword });
304
+ }
305
+ async getSessionFromCookie({ sessionData, cookiePassword = require_env.getEnv("WORKOS_COOKIE_PASSWORD") }) {
306
+ if (!cookiePassword) throw new Error("Cookie password is required");
307
+ if (sessionData) return require_seal.unsealData(sessionData, { password: cookiePassword });
308
+ }
309
+ async getEmailVerification(emailVerificationId) {
310
+ const { data } = await this.workos.get(`/user_management/email_verification/${emailVerificationId}`);
311
+ return require_email_verification_serializer.deserializeEmailVerification(data);
312
+ }
313
+ async sendVerificationEmail({ userId }) {
314
+ const { data } = await this.workos.post(`/user_management/users/${userId}/email_verification/send`, {});
315
+ return { user: require_user_serializer.deserializeUser(data.user) };
316
+ }
317
+ async getMagicAuth(magicAuthId) {
318
+ const { data } = await this.workos.get(`/user_management/magic_auth/${magicAuthId}`);
319
+ return require_magic_auth_serializer.deserializeMagicAuth(data);
320
+ }
321
+ async createMagicAuth(options) {
322
+ const { data } = await this.workos.post("/user_management/magic_auth", require_create_magic_auth_options_serializer.serializeCreateMagicAuthOptions({ ...options }));
323
+ return require_magic_auth_serializer.deserializeMagicAuth(data);
324
+ }
325
+ async verifyEmail({ code, userId }) {
326
+ const { data } = await this.workos.post(`/user_management/users/${userId}/email_verification/confirm`, { code });
327
+ return { user: require_user_serializer.deserializeUser(data.user) };
328
+ }
329
+ async getPasswordReset(passwordResetId) {
330
+ const { data } = await this.workos.get(`/user_management/password_reset/${passwordResetId}`);
331
+ return require_password_reset_serializer.deserializePasswordReset(data);
332
+ }
333
+ async createPasswordReset(options) {
334
+ const { data } = await this.workos.post("/user_management/password_reset", require_create_password_reset_options_serializer.serializeCreatePasswordResetOptions({ ...options }));
335
+ return require_password_reset_serializer.deserializePasswordReset(data);
336
+ }
337
+ async resetPassword(payload) {
338
+ const { data } = await this.workos.post("/user_management/password_reset/confirm", require_reset_password_options_serializer.serializeResetPasswordOptions(payload));
339
+ return { user: require_user_serializer.deserializeUser(data.user) };
340
+ }
341
+ async updateUser(payload) {
342
+ const { data } = await this.workos.put(`/user_management/users/${payload.userId}`, require_update_user_options_serializer.serializeUpdateUserOptions(payload));
343
+ return require_user_serializer.deserializeUser(data);
344
+ }
345
+ async enrollAuthFactor(payload) {
346
+ const { data } = await this.workos.post(`/user_management/users/${payload.userId}/auth_factors`, require_enroll_auth_factor_options_serializer.serializeEnrollAuthFactorOptions(payload));
347
+ return {
348
+ authenticationFactor: require_factor_serializer.deserializeFactorWithSecrets(data.authentication_factor),
349
+ authenticationChallenge: require_challenge_serializer.deserializeChallenge(data.authentication_challenge)
350
+ };
351
+ }
352
+ async listAuthFactors(options) {
353
+ const { userId, ...restOfOptions } = options;
354
+ return new require_pagination.AutoPaginatable(await require_fetch_and_deserialize.fetchAndDeserialize(this.workos, `/user_management/users/${userId}/auth_factors`, require_factor_serializer.deserializeFactor, restOfOptions), (params) => require_fetch_and_deserialize.fetchAndDeserialize(this.workos, `/user_management/users/${userId}/auth_factors`, require_factor_serializer.deserializeFactor, params), restOfOptions);
355
+ }
356
+ async listUserFeatureFlags(options) {
357
+ const { userId, ...paginationOptions } = options;
358
+ return new require_pagination.AutoPaginatable(await require_fetch_and_deserialize.fetchAndDeserialize(this.workos, `/user_management/users/${userId}/feature-flags`, require_feature_flag_serializer.deserializeFeatureFlag, paginationOptions), (params) => require_fetch_and_deserialize.fetchAndDeserialize(this.workos, `/user_management/users/${userId}/feature-flags`, require_feature_flag_serializer.deserializeFeatureFlag, params), paginationOptions);
359
+ }
360
+ async listSessions(userId, options) {
361
+ return new require_pagination.AutoPaginatable(await require_fetch_and_deserialize.fetchAndDeserialize(this.workos, `/user_management/users/${userId}/sessions`, require_session_serializer.deserializeSession, options ? require_list_sessions_options_serializer.serializeListSessionsOptions(options) : void 0), (params) => require_fetch_and_deserialize.fetchAndDeserialize(this.workos, `/user_management/users/${userId}/sessions`, require_session_serializer.deserializeSession, params), options ? require_list_sessions_options_serializer.serializeListSessionsOptions(options) : void 0);
362
+ }
363
+ async deleteUser(userId) {
364
+ await this.workos.delete(`/user_management/users/${userId}`);
365
+ }
366
+ async getUserIdentities(userId) {
367
+ if (!userId) throw new TypeError(`Incomplete arguments. Need to specify 'userId'.`);
368
+ const { data } = await this.workos.get(`/user_management/users/${userId}/identities`);
369
+ return require_identity_serializer.deserializeIdentities(data);
370
+ }
371
+ async getOrganizationMembership(organizationMembershipId) {
372
+ const { data } = await this.workos.get(`/user_management/organization_memberships/${organizationMembershipId}`);
373
+ return require_organization_membership_serializer.deserializeOrganizationMembership(data);
374
+ }
375
+ async listOrganizationMemberships(options) {
376
+ const serializedOptions = require_list_organization_memberships_options_serializer.serializeListOrganizationMembershipsOptions(options);
377
+ return new require_pagination.AutoPaginatable(await require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/user_management/organization_memberships", require_organization_membership_serializer.deserializeOrganizationMembership, serializedOptions), (params) => require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/user_management/organization_memberships", require_organization_membership_serializer.deserializeOrganizationMembership, params), serializedOptions);
378
+ }
379
+ async createOrganizationMembership(options) {
380
+ const { data } = await this.workos.post("/user_management/organization_memberships", require_create_organization_membership_options_serializer.serializeCreateOrganizationMembershipOptions(options));
381
+ return require_organization_membership_serializer.deserializeOrganizationMembership(data);
382
+ }
383
+ async updateOrganizationMembership(organizationMembershipId, options) {
384
+ const { data } = await this.workos.put(`/user_management/organization_memberships/${organizationMembershipId}`, require_update_organization_membership_options_serializer.serializeUpdateOrganizationMembershipOptions(options));
385
+ return require_organization_membership_serializer.deserializeOrganizationMembership(data);
386
+ }
387
+ async deleteOrganizationMembership(organizationMembershipId) {
388
+ await this.workos.delete(`/user_management/organization_memberships/${organizationMembershipId}`);
389
+ }
390
+ async deactivateOrganizationMembership(organizationMembershipId) {
391
+ const { data } = await this.workos.put(`/user_management/organization_memberships/${organizationMembershipId}/deactivate`, {});
392
+ return require_organization_membership_serializer.deserializeOrganizationMembership(data);
393
+ }
394
+ async reactivateOrganizationMembership(organizationMembershipId) {
395
+ const { data } = await this.workos.put(`/user_management/organization_memberships/${organizationMembershipId}/reactivate`, {});
396
+ return require_organization_membership_serializer.deserializeOrganizationMembership(data);
397
+ }
398
+ async getInvitation(invitationId) {
399
+ const { data } = await this.workos.get(`/user_management/invitations/${invitationId}`);
400
+ return require_invitation_serializer.deserializeInvitation(data);
401
+ }
402
+ async findInvitationByToken(invitationToken) {
403
+ const { data } = await this.workos.get(`/user_management/invitations/by_token/${invitationToken}`);
404
+ return require_invitation_serializer.deserializeInvitation(data);
405
+ }
406
+ async listInvitations(options) {
407
+ return new require_pagination.AutoPaginatable(await require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/user_management/invitations", require_invitation_serializer.deserializeInvitation, options ? require_list_invitations_options_serializer.serializeListInvitationsOptions(options) : void 0), (params) => require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/user_management/invitations", require_invitation_serializer.deserializeInvitation, params), options ? require_list_invitations_options_serializer.serializeListInvitationsOptions(options) : void 0);
408
+ }
409
+ async sendInvitation(payload) {
410
+ const { data } = await this.workos.post("/user_management/invitations", require_send_invitation_options_serializer.serializeSendInvitationOptions({ ...payload }));
411
+ return require_invitation_serializer.deserializeInvitation(data);
412
+ }
413
+ async acceptInvitation(invitationId) {
414
+ const { data } = await this.workos.post(`/user_management/invitations/${invitationId}/accept`, null);
415
+ return require_invitation_serializer.deserializeInvitation(data);
416
+ }
417
+ async revokeInvitation(invitationId) {
418
+ const { data } = await this.workos.post(`/user_management/invitations/${invitationId}/revoke`, null);
419
+ return require_invitation_serializer.deserializeInvitation(data);
420
+ }
421
+ async resendInvitation(invitationId, options) {
422
+ const { data } = await this.workos.post(`/user_management/invitations/${invitationId}/resend`, options ? require_resend_invitation_options_serializer.serializeResendInvitationOptions(options) : {});
423
+ return require_invitation_serializer.deserializeInvitation(data);
424
+ }
425
+ async revokeSession(payload) {
426
+ await this.workos.post("/user_management/sessions/revoke", require_revoke_session_options_interface.serializeRevokeSessionOptions(payload));
427
+ }
428
+ /**
429
+ * Generate an OAuth 2.0 authorization URL.
430
+ *
431
+ * For public clients (browser, mobile, CLI), include PKCE parameters:
432
+ * - Generate PKCE using workos.pkce.generate()
433
+ * - Pass codeChallenge and codeChallengeMethod here
434
+ * - Store codeVerifier and pass to authenticateWithCode() later
435
+ *
436
+ * Or use getAuthorizationUrlWithPKCE() which handles PKCE automatically.
437
+ */
438
+ getAuthorizationUrl(options) {
439
+ const { connectionId, codeChallenge, codeChallengeMethod, clientId, domainHint, loginHint, organizationId, provider, providerQueryParams, providerScopes, prompt, redirectUri, state, screenHint } = options;
440
+ const resolvedClientId = this.resolveClientId(clientId);
441
+ if (!provider && !connectionId && !organizationId) throw new TypeError(`Incomplete arguments. Need to specify either a 'connectionId', 'organizationId', or 'provider'.`);
442
+ if (provider !== "authkit" && screenHint) throw new TypeError(`'screenHint' is only supported for 'authkit' provider`);
443
+ const query = require_query_string.toQueryString({
444
+ connection_id: connectionId,
445
+ code_challenge: codeChallenge,
446
+ code_challenge_method: codeChallengeMethod,
447
+ organization_id: organizationId,
448
+ domain_hint: domainHint,
449
+ login_hint: loginHint,
450
+ provider,
451
+ provider_query_params: providerQueryParams,
452
+ provider_scopes: providerScopes,
453
+ prompt,
454
+ client_id: resolvedClientId,
455
+ redirect_uri: redirectUri,
456
+ response_type: "code",
457
+ state,
458
+ screen_hint: screenHint
459
+ });
460
+ return `${this.workos.baseURL}/user_management/authorize?${query}`;
461
+ }
462
+ /**
463
+ * Generate an OAuth 2.0 authorization URL with automatic PKCE.
464
+ *
465
+ * This method generates PKCE parameters internally and returns them along with
466
+ * the authorization URL. Use this for public clients (CLI apps, Electron, mobile)
467
+ * that cannot securely store a client secret.
468
+ *
469
+ * @returns Object containing url, state, and codeVerifier
470
+ *
471
+ * @example
472
+ * ```typescript
473
+ * const { url, state, codeVerifier } = await workos.userManagement.getAuthorizationUrlWithPKCE({
474
+ * provider: 'authkit',
475
+ * clientId: 'client_123',
476
+ * redirectUri: 'myapp://callback',
477
+ * });
478
+ *
479
+ * // Store state and codeVerifier securely, then redirect user to url
480
+ * // After callback, exchange the code:
481
+ * const response = await workos.userManagement.authenticateWithCode({
482
+ * code: authorizationCode,
483
+ * codeVerifier,
484
+ * clientId: 'client_123',
485
+ * });
486
+ * ```
487
+ */
488
+ async getAuthorizationUrlWithPKCE(options) {
489
+ const { clientId, connectionId, domainHint, loginHint, organizationId, provider, providerQueryParams, providerScopes, prompt, redirectUri, screenHint } = options;
490
+ const resolvedClientId = this.resolveClientId(clientId);
491
+ if (!provider && !connectionId && !organizationId) throw new TypeError(`Incomplete arguments. Need to specify either a 'connectionId', 'organizationId', or 'provider'.`);
492
+ if (provider !== "authkit" && screenHint) throw new TypeError(`'screenHint' is only supported for 'authkit' provider`);
493
+ const pkce = await this.workos.pkce.generate();
494
+ const state = this.workos.pkce.generateCodeVerifier(43);
495
+ const query = require_query_string.toQueryString({
496
+ connection_id: connectionId,
497
+ code_challenge: pkce.codeChallenge,
498
+ code_challenge_method: "S256",
499
+ organization_id: organizationId,
500
+ domain_hint: domainHint,
501
+ login_hint: loginHint,
502
+ provider,
503
+ provider_query_params: providerQueryParams,
504
+ provider_scopes: providerScopes,
505
+ prompt,
506
+ client_id: resolvedClientId,
507
+ redirect_uri: redirectUri,
508
+ response_type: "code",
509
+ state,
510
+ screen_hint: screenHint
511
+ });
512
+ return {
513
+ url: `${this.workos.baseURL}/user_management/authorize?${query}`,
514
+ state,
515
+ codeVerifier: pkce.codeVerifier
516
+ };
517
+ }
518
+ getLogoutUrl(options) {
519
+ const { sessionId, returnTo } = options;
520
+ if (!sessionId) throw new TypeError(`Incomplete arguments. Need to specify 'sessionId'.`);
521
+ const url = new URL("/user_management/sessions/logout", this.workos.baseURL);
522
+ url.searchParams.set("session_id", sessionId);
523
+ if (returnTo) url.searchParams.set("return_to", returnTo);
524
+ return url.toString();
525
+ }
526
+ getJwksUrl(clientId) {
527
+ if (!clientId) throw new TypeError("clientId must be a valid clientId");
528
+ return `${this.workos.baseURL}/sso/jwks/${clientId}`;
529
+ }
530
+ };
531
+
532
+ //#endregion
533
+ Object.defineProperty(exports, 'UserManagement', {
534
+ enumerable: true,
535
+ get: function () {
536
+ return UserManagement;
537
+ }
538
+ });
539
+ //# sourceMappingURL=user-management-BiK0k4qR.cjs.map