@workos-inc/node 8.0.0 → 8.2.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 (1375) hide show
  1. package/lib/access-token.interface-PK6QwTjk.d.cts +18 -0
  2. package/lib/action.interface-D1_tZFKt.d.cts +63 -0
  3. package/lib/action.serializer-BGWv6ab1.cjs +47 -0
  4. package/lib/action.serializer-BGWv6ab1.cjs.map +1 -0
  5. package/lib/actions/actions.cjs +1 -1
  6. package/lib/actions/actions.d.cts +1 -1
  7. package/lib/actions/interfaces/action.interface.d.cts +1 -1
  8. package/lib/actions/interfaces/index.d.cts +2 -2
  9. package/lib/actions/interfaces/response-payload.interface.d.cts +1 -1
  10. package/lib/actions/serializers/action.serializer.cjs +1 -1
  11. package/lib/actions/serializers/action.serializer.d.cts +1 -1
  12. package/lib/actions-DuKUPx9Z.cjs +58 -0
  13. package/lib/actions-DuKUPx9Z.cjs.map +1 -0
  14. package/lib/actions-dIejjUW1.d.cts +41 -0
  15. package/lib/add-environment-role-permission-options.interface-Pk9Z0RBF.d.cts +7 -0
  16. package/lib/add-flag-target-options.interface-CJ7M40Wi.d.cts +8 -0
  17. package/lib/add-organization-role-permission-options.interface-Oc11Zzvq.d.cts +7 -0
  18. package/lib/api-key-required.exception-DTYoK0KE.d.cts +10 -0
  19. package/lib/api-key.interface-SUHnxEHj.d.cts +32 -0
  20. package/lib/api-key.serializer-DWK81bXa.d.cts +7 -0
  21. package/lib/api-keys/api-keys.d.cts +1 -1
  22. package/lib/api-keys/interfaces/api-key.interface.d.cts +1 -1
  23. package/lib/api-keys/interfaces/create-organization-api-key-options.interface.d.cts +1 -1
  24. package/lib/api-keys/interfaces/created-api-key.interface.d.cts +1 -1
  25. package/lib/api-keys/interfaces/index.d.cts +5 -5
  26. package/lib/api-keys/interfaces/list-organization-api-keys-options.interface.d.cts +1 -1
  27. package/lib/api-keys/interfaces/validate-api-key.interface.d.cts +1 -1
  28. package/lib/api-keys/serializers/api-key.serializer.d.cts +1 -1
  29. package/lib/api-keys/serializers/create-organization-api-key-options.serializer.d.cts +1 -1
  30. package/lib/api-keys/serializers/created-api-key.serializer.d.cts +1 -1
  31. package/lib/api-keys/serializers/index.d.cts +4 -4
  32. package/lib/api-keys/serializers/validate-api-key.serializer.d.cts +1 -1
  33. package/lib/api-keys-4KSJ7vul.d.cts +744 -0
  34. package/lib/app-info.interface-DQRHsNPh.d.cts +8 -0
  35. package/lib/audit-log-export-options.interface-BLw_RWFk.d.cts +22 -0
  36. package/lib/audit-log-export-options.serializer-ffwj8kRw.d.cts +7 -0
  37. package/lib/audit-log-export.interface-oDR72O0J.d.cts +20 -0
  38. package/lib/audit-log-export.serializer-DVMljTPL.d.cts +7 -0
  39. package/lib/audit-logs/audit-logs.d.cts +1 -1
  40. package/lib/audit-logs/interfaces/audit-log-export-options.interface.d.cts +1 -1
  41. package/lib/audit-logs/interfaces/audit-log-export.interface.d.cts +1 -1
  42. package/lib/audit-logs/interfaces/create-audit-log-event-options.interface.d.cts +1 -1
  43. package/lib/audit-logs/interfaces/create-audit-log-schema-options.interface.d.cts +1 -1
  44. package/lib/audit-logs/interfaces/index.d.cts +4 -4
  45. package/lib/audit-logs/serializers/audit-log-export-options.serializer.d.cts +1 -1
  46. package/lib/audit-logs/serializers/audit-log-export.serializer.d.cts +1 -1
  47. package/lib/audit-logs/serializers/create-audit-log-event-options.serializer.d.cts +1 -1
  48. package/lib/audit-logs/serializers/create-audit-log-schema-options.serializer.d.cts +1 -1
  49. package/lib/audit-logs/serializers/create-audit-log-schema.serializer.d.cts +1 -1
  50. package/lib/audit-logs/serializers/index.d.cts +5 -5
  51. package/lib/authenticate-with-code-and-verifier-options.interface-CifpWY0M.d.cts +17 -0
  52. package/lib/authenticate-with-code-and-verifier-options.serializer-BqSvuzAF.d.cts +8 -0
  53. package/lib/authenticate-with-code-options.interface-CtsvRTYS.d.cts +20 -0
  54. package/lib/authenticate-with-code-options.serializer-Blhrjiq0.d.cts +8 -0
  55. package/lib/authenticate-with-email-verification-options.interface-BCC2K9Zp.d.cts +18 -0
  56. package/lib/authenticate-with-magic-auth-options.interface-Dmxc0Aes.d.cts +22 -0
  57. package/lib/authenticate-with-magic-auth-options.serializer-DAjj_AJh.d.cts +8 -0
  58. package/lib/authenticate-with-options-base.interface-Dx_YCajX.d.cts +41 -0
  59. package/lib/authenticate-with-organization-selection.interface-DYOjeIvu.d.cts +18 -0
  60. package/lib/authenticate-with-password-options.interface-BbjZEbmt.d.cts +20 -0
  61. package/lib/authenticate-with-password-options.serializer-CFKO59Ra.d.cts +8 -0
  62. package/lib/authenticate-with-refresh-token-options.interface-CqS4TJ3X.d.cts +18 -0
  63. package/lib/authenticate-with-refresh-token-public-client-options.interface-TPswbB8Z.d.cts +16 -0
  64. package/lib/authenticate-with-refresh-token-public-client-options.serializer-Ccv24S4s.d.cts +8 -0
  65. package/lib/authenticate-with-refresh-token.options.serializer-Dhk9Zd7b.d.cts +9 -0
  66. package/lib/authenticate-with-session-cookie.interface-CoZAMXL_.d.cts +45 -0
  67. package/lib/authenticate-with-totp-options.interface-C0Jr3YDb.d.cts +20 -0
  68. package/lib/authenticate-with-totp-options.serializer-BcaV2QsQ.d.cts +8 -0
  69. package/lib/authentication-event.interface-0-TCj9ur.d.cts +28 -0
  70. package/lib/authentication-event.serializer-DX0bzXas.d.cts +7 -0
  71. package/lib/authentication-radar-risk-detected-event.interface-CcBMeCX7.d.cts +24 -0
  72. package/lib/authentication-response.interface-DITy4Tzw.d.cts +28 -0
  73. package/lib/authentication-response.serializer-DIJ8dZZS.d.cts +7 -0
  74. package/lib/authorization/authorization.cjs +3 -0
  75. package/lib/authorization/authorization.d.cts +2 -0
  76. package/lib/authorization/authorization.d.ts +45 -0
  77. package/lib/authorization/authorization.js +106 -0
  78. package/lib/authorization/authorization.js.map +1 -0
  79. package/lib/authorization/index.cjs +4 -0
  80. package/lib/authorization/index.d.cts +17 -0
  81. package/lib/authorization/index.d.ts +17 -0
  82. package/lib/authorization/index.js +3 -0
  83. package/lib/authorization/interfaces/add-environment-role-permission-options.interface.d.cts +2 -0
  84. package/lib/authorization/interfaces/add-environment-role-permission-options.interface.d.ts +7 -0
  85. package/lib/authorization/interfaces/add-environment-role-permission-options.interface.js +1 -0
  86. package/lib/authorization/interfaces/add-organization-role-permission-options.interface.d.cts +2 -0
  87. package/lib/authorization/interfaces/add-organization-role-permission-options.interface.d.ts +7 -0
  88. package/lib/authorization/interfaces/add-organization-role-permission-options.interface.js +1 -0
  89. package/lib/authorization/interfaces/create-environment-role-options.interface.d.cts +2 -0
  90. package/lib/authorization/interfaces/create-environment-role-options.interface.d.ts +14 -0
  91. package/lib/authorization/interfaces/create-environment-role-options.interface.js +1 -0
  92. package/lib/authorization/interfaces/create-organization-role-options.interface.d.cts +2 -0
  93. package/lib/authorization/interfaces/create-organization-role-options.interface.d.ts +14 -0
  94. package/lib/authorization/interfaces/create-organization-role-options.interface.js +1 -0
  95. package/lib/authorization/interfaces/create-permission-options.interface.d.cts +2 -0
  96. package/lib/authorization/interfaces/create-permission-options.interface.d.ts +14 -0
  97. package/lib/authorization/interfaces/create-permission-options.interface.js +1 -0
  98. package/lib/authorization/interfaces/environment-role.interface.d.cts +2 -0
  99. package/lib/authorization/interfaces/environment-role.interface.d.ts +34 -0
  100. package/lib/authorization/interfaces/environment-role.interface.js +1 -0
  101. package/lib/authorization/interfaces/index.d.cts +16 -0
  102. package/lib/authorization/interfaces/index.d.ts +16 -0
  103. package/lib/authorization/interfaces/index.js +1 -0
  104. package/lib/authorization/interfaces/list-permissions-options.interface.d.cts +2 -0
  105. package/lib/authorization/interfaces/list-permissions-options.interface.d.ts +7 -0
  106. package/lib/authorization/interfaces/list-permissions-options.interface.js +1 -0
  107. package/lib/authorization/interfaces/organization-role.interface.d.cts +2 -0
  108. package/lib/authorization/interfaces/organization-role.interface.d.ts +15 -0
  109. package/lib/authorization/interfaces/organization-role.interface.js +1 -0
  110. package/lib/authorization/interfaces/permission.interface.d.cts +2 -0
  111. package/lib/authorization/interfaces/permission.interface.d.ts +40 -0
  112. package/lib/authorization/interfaces/permission.interface.js +1 -0
  113. package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.d.cts +2 -0
  114. package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.d.ts +7 -0
  115. package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.js +1 -0
  116. package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.d.cts +2 -0
  117. package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.d.ts +7 -0
  118. package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.js +1 -0
  119. package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.d.cts +2 -0
  120. package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.d.ts +7 -0
  121. package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.js +1 -0
  122. package/lib/authorization/interfaces/update-environment-role-options.interface.d.cts +2 -0
  123. package/lib/authorization/interfaces/update-environment-role-options.interface.d.ts +12 -0
  124. package/lib/authorization/interfaces/update-environment-role-options.interface.js +1 -0
  125. package/lib/authorization/interfaces/update-organization-role-options.interface.d.cts +2 -0
  126. package/lib/authorization/interfaces/update-organization-role-options.interface.d.ts +12 -0
  127. package/lib/authorization/interfaces/update-organization-role-options.interface.js +1 -0
  128. package/lib/authorization/interfaces/update-permission-options.interface.d.cts +2 -0
  129. package/lib/authorization/interfaces/update-permission-options.interface.d.ts +12 -0
  130. package/lib/authorization/interfaces/update-permission-options.interface.js +1 -0
  131. package/lib/authorization/serializers/create-environment-role-options.serializer.cjs +3 -0
  132. package/lib/authorization/serializers/create-environment-role-options.serializer.d.cts +2 -0
  133. package/lib/authorization/serializers/create-environment-role-options.serializer.d.ts +7 -0
  134. package/lib/authorization/serializers/create-environment-role-options.serializer.js +10 -0
  135. package/lib/authorization/serializers/create-environment-role-options.serializer.js.map +1 -0
  136. package/lib/authorization/serializers/create-organization-role-options.serializer.cjs +3 -0
  137. package/lib/authorization/serializers/create-organization-role-options.serializer.d.cts +2 -0
  138. package/lib/authorization/serializers/create-organization-role-options.serializer.d.ts +7 -0
  139. package/lib/authorization/serializers/create-organization-role-options.serializer.js +10 -0
  140. package/lib/authorization/serializers/create-organization-role-options.serializer.js.map +1 -0
  141. package/lib/authorization/serializers/create-permission-options.serializer.cjs +3 -0
  142. package/lib/authorization/serializers/create-permission-options.serializer.d.cts +2 -0
  143. package/lib/authorization/serializers/create-permission-options.serializer.d.ts +7 -0
  144. package/lib/authorization/serializers/create-permission-options.serializer.js +10 -0
  145. package/lib/authorization/serializers/create-permission-options.serializer.js.map +1 -0
  146. package/lib/authorization/serializers/environment-role.serializer.cjs +3 -0
  147. package/lib/authorization/serializers/environment-role.serializer.d.cts +2 -0
  148. package/lib/authorization/serializers/environment-role.serializer.d.ts +7 -0
  149. package/lib/authorization/serializers/environment-role.serializer.js +16 -0
  150. package/lib/authorization/serializers/environment-role.serializer.js.map +1 -0
  151. package/lib/authorization/serializers/index.cjs +20 -0
  152. package/lib/authorization/serializers/index.d.cts +10 -0
  153. package/lib/authorization/serializers/index.d.ts +10 -0
  154. package/lib/authorization/serializers/index.js +11 -0
  155. package/lib/authorization/serializers/organization-role.serializer.cjs +4 -0
  156. package/lib/authorization/serializers/organization-role.serializer.d.cts +2 -0
  157. package/lib/authorization/serializers/organization-role.serializer.d.ts +9 -0
  158. package/lib/authorization/serializers/organization-role.serializer.js +27 -0
  159. package/lib/authorization/serializers/organization-role.serializer.js.map +1 -0
  160. package/lib/authorization/serializers/permission.serializer.cjs +3 -0
  161. package/lib/authorization/serializers/permission.serializer.d.cts +2 -0
  162. package/lib/authorization/serializers/permission.serializer.d.ts +7 -0
  163. package/lib/authorization/serializers/permission.serializer.js +15 -0
  164. package/lib/authorization/serializers/permission.serializer.js.map +1 -0
  165. package/lib/authorization/serializers/update-environment-role-options.serializer.cjs +3 -0
  166. package/lib/authorization/serializers/update-environment-role-options.serializer.d.cts +2 -0
  167. package/lib/authorization/serializers/update-environment-role-options.serializer.d.ts +7 -0
  168. package/lib/authorization/serializers/update-environment-role-options.serializer.js +9 -0
  169. package/lib/authorization/serializers/update-environment-role-options.serializer.js.map +1 -0
  170. package/lib/authorization/serializers/update-organization-role-options.serializer.cjs +3 -0
  171. package/lib/authorization/serializers/update-organization-role-options.serializer.d.cts +2 -0
  172. package/lib/authorization/serializers/update-organization-role-options.serializer.d.ts +7 -0
  173. package/lib/authorization/serializers/update-organization-role-options.serializer.js +9 -0
  174. package/lib/authorization/serializers/update-organization-role-options.serializer.js.map +1 -0
  175. package/lib/authorization/serializers/update-permission-options.serializer.cjs +3 -0
  176. package/lib/authorization/serializers/update-permission-options.serializer.d.cts +2 -0
  177. package/lib/authorization/serializers/update-permission-options.serializer.d.ts +7 -0
  178. package/lib/authorization/serializers/update-permission-options.serializer.js +9 -0
  179. package/lib/authorization/serializers/update-permission-options.serializer.js.map +1 -0
  180. package/lib/authorization-BQtSYdHQ.cjs +111 -0
  181. package/lib/authorization-BQtSYdHQ.cjs.map +1 -0
  182. package/lib/authorization-url-options.interface-BwBNFg0Z.d.cts +45 -0
  183. package/lib/authorization-url-options.interface-C5ABtdiE.d.cts +55 -0
  184. package/lib/bad-request.exception-BWL7y3t5.d.cts +25 -0
  185. package/lib/base64-8aJjmiTE.cjs +44 -0
  186. package/lib/base64-8aJjmiTE.cjs.map +1 -0
  187. package/lib/batch-write-resources-options.serializer-BaW6EWzS.cjs +23 -0
  188. package/lib/batch-write-resources-options.serializer-BaW6EWzS.cjs.map +1 -0
  189. package/lib/batch-write-resources-options.serializer-G63Eiv-r.d.cts +7 -0
  190. package/lib/challenge-factor-options-DQBD-OBq.d.cts +10 -0
  191. package/lib/challenge.interface-CGUxrdzT.d.cts +22 -0
  192. package/lib/challenge.serializer-C9JkzvE8.d.cts +7 -0
  193. package/lib/check-op.enum-1gyp3mY_.d.cts +8 -0
  194. package/lib/check-op.enum-DXKGh2oy.cjs +16 -0
  195. package/lib/check-op.enum-DXKGh2oy.cjs.map +1 -0
  196. package/lib/check-options.serializer-7EswFQ_P.cjs +69 -0
  197. package/lib/check-options.serializer-7EswFQ_P.cjs.map +1 -0
  198. package/lib/check-options.serializer-C7So55Kd.d.cts +9 -0
  199. package/lib/check.interface-B2pzNanW.cjs +33 -0
  200. package/lib/check.interface-B2pzNanW.cjs.map +1 -0
  201. package/lib/check.interface-oac-oCtg.d.cts +88 -0
  202. package/lib/common/crypto/crypto-provider.cjs +1 -1
  203. package/lib/common/crypto/crypto-provider.d.cts +1 -1
  204. package/lib/common/crypto/signature-provider.d.cts +1 -1
  205. package/lib/common/crypto/subtle-crypto-provider.cjs +1 -1
  206. package/lib/common/crypto/subtle-crypto-provider.d.cts +1 -1
  207. package/lib/common/exceptions/api-key-required.exception.d.cts +1 -1
  208. package/lib/common/exceptions/bad-request.exception.d.cts +1 -1
  209. package/lib/common/exceptions/conflict.exception.cjs +1 -1
  210. package/lib/common/exceptions/conflict.exception.d.cts +1 -1
  211. package/lib/common/exceptions/generic-server.exception.d.cts +1 -1
  212. package/lib/common/exceptions/index.d.cts +10 -10
  213. package/lib/common/exceptions/no-api-key-provided.exception.d.cts +1 -1
  214. package/lib/common/exceptions/not-found.exception.d.cts +1 -1
  215. package/lib/common/exceptions/oauth.exception.d.cts +1 -1
  216. package/lib/common/exceptions/parse-error.cjs +1 -1
  217. package/lib/common/exceptions/parse-error.d.cts +1 -1
  218. package/lib/common/exceptions/rate-limit-exceeded.exception.d.cts +1 -1
  219. package/lib/common/exceptions/signature-verification.exception.d.cts +1 -1
  220. package/lib/common/exceptions/unauthorized.exception.d.cts +1 -1
  221. package/lib/common/exceptions/unprocessable-entity.exception.d.cts +1 -1
  222. package/lib/common/interfaces/app-info.interface.d.cts +1 -1
  223. package/lib/common/interfaces/event.interface.d.cts +1 -1
  224. package/lib/common/interfaces/get-options.interface.d.cts +1 -1
  225. package/lib/common/interfaces/http-client.interface.d.cts +1 -1
  226. package/lib/common/interfaces/index.d.cts +12 -11
  227. package/lib/common/interfaces/index.d.ts +2 -1
  228. package/lib/common/interfaces/list.interface.d.cts +1 -1
  229. package/lib/common/interfaces/pagination-options.interface.d.cts +1 -1
  230. package/lib/common/interfaces/patch-options.interface.d.cts +2 -0
  231. package/lib/common/interfaces/patch-options.interface.d.ts +12 -0
  232. package/lib/common/interfaces/patch-options.interface.js +1 -0
  233. package/lib/common/interfaces/post-options.interface.d.cts +1 -1
  234. package/lib/common/interfaces/put-options.interface.d.cts +1 -1
  235. package/lib/common/interfaces/request-exception.interface.d.cts +1 -1
  236. package/lib/common/interfaces/unknown-record.interface.d.cts +1 -1
  237. package/lib/common/interfaces/unprocessable-entity-error.interface.d.cts +1 -1
  238. package/lib/common/interfaces/workos-options.interface.d.cts +1 -1
  239. package/lib/common/interfaces/workos-response-error.interface.d.cts +1 -1
  240. package/lib/common/net/fetch-client.cjs +1 -1
  241. package/lib/common/net/fetch-client.d.cts +3 -2
  242. package/lib/common/net/fetch-client.d.ts +1 -0
  243. package/lib/common/net/fetch-client.js +11 -0
  244. package/lib/common/net/fetch-client.js.map +1 -1
  245. package/lib/common/net/http-client.cjs +1 -1
  246. package/lib/common/net/http-client.d.cts +1 -1
  247. package/lib/common/net/http-client.d.ts +1 -0
  248. package/lib/common/net/http-client.js.map +1 -1
  249. package/lib/common/serializers/event.serializer.cjs +1 -1
  250. package/lib/common/serializers/event.serializer.d.cts +1 -1
  251. package/lib/common/serializers/index.cjs +1 -1
  252. package/lib/common/serializers/index.d.cts +2 -2
  253. package/lib/common/serializers/list.serializer.d.cts +1 -1
  254. package/lib/common/utils/base64.cjs +1 -1
  255. package/lib/common/utils/fetch-and-deserialize.d.cts +4 -4
  256. package/lib/common/utils/leb128.cjs +1 -1
  257. package/lib/common/utils/pagination.d.cts +1 -1
  258. package/lib/common/utils/runtime-info.cjs +1 -1
  259. package/lib/common/utils/unreachable.cjs +1 -1
  260. package/lib/conflict.exception-4m45wGr8.cjs +23 -0
  261. package/lib/conflict.exception-4m45wGr8.cjs.map +1 -0
  262. package/lib/connection-type.enum-BCSkvlg6.d.cts +41 -0
  263. package/lib/connection-type.enum-CQncLVbr.cjs +49 -0
  264. package/lib/connection-type.enum-CQncLVbr.cjs.map +1 -0
  265. package/lib/connection.interface-D1HP4q90.d.cts +33 -0
  266. package/lib/connection.serializer-B47qKsDN.d.cts +7 -0
  267. package/lib/create-audit-log-event-options.interface-B-eEsjZw.d.cts +43 -0
  268. package/lib/create-audit-log-event-options.serializer-Byx8ZppH.d.cts +7 -0
  269. package/lib/create-audit-log-schema-options.interface-VEGNQUoR.d.cts +67 -0
  270. package/lib/create-audit-log-schema-options.serializer-vOYqa-AI.d.cts +7 -0
  271. package/lib/create-audit-log-schema.serializer-CDSQiWrT.d.cts +7 -0
  272. package/lib/create-data-key.interface-uWGAAWZC.d.cts +15 -0
  273. package/lib/create-environment-role-options.interface-BzAxMcvk.d.cts +14 -0
  274. package/lib/create-environment-role-options.serializer-Cgp-nj7R.d.cts +7 -0
  275. package/lib/create-environment-role-options.serializer-g9jwCPzJ.cjs +16 -0
  276. package/lib/create-environment-role-options.serializer-g9jwCPzJ.cjs.map +1 -0
  277. package/lib/create-magic-auth-options.interface-KljIsFrM.d.cts +12 -0
  278. package/lib/create-magic-auth-options.serializer-JyHvOWXa.d.cts +7 -0
  279. package/lib/create-object.interface-q1p30YMV.d.cts +16 -0
  280. package/lib/create-organization-api-key-options.serializer-BBMfnAnt.d.cts +7 -0
  281. package/lib/create-organization-domain-options.interface-BorRBhyO.d.cts +12 -0
  282. package/lib/create-organization-membership-options.interface-CT78k_RG.d.cts +16 -0
  283. package/lib/create-organization-options.serializer-CqgVu5DZ.d.cts +7 -0
  284. package/lib/create-organization-role-options.interface-D47Tf3Ep.d.cts +14 -0
  285. package/lib/create-organization-role-options.serializer-DSv6cNfU.cjs +16 -0
  286. package/lib/create-organization-role-options.serializer-DSv6cNfU.cjs.map +1 -0
  287. package/lib/create-organization-role-options.serializer-gKd5As_7.d.cts +7 -0
  288. package/lib/create-password-reset-options.interface-DugfAPGw.d.cts +10 -0
  289. package/lib/create-password-reset-options.serializer-CF9UYm2X.d.cts +7 -0
  290. package/lib/create-passwordless-session-options.interface-DCAzOCvV.d.cts +20 -0
  291. package/lib/create-permission-options.interface-ClaSX7df.d.cts +14 -0
  292. package/lib/create-permission-options.serializer-BJKj9O3y.cjs +16 -0
  293. package/lib/create-permission-options.serializer-BJKj9O3y.cjs.map +1 -0
  294. package/lib/create-permission-options.serializer-DAxJac9X.d.cts +7 -0
  295. package/lib/create-resource-options.serializer-CjLPXso6.cjs +17 -0
  296. package/lib/create-resource-options.serializer-CjLPXso6.cjs.map +1 -0
  297. package/lib/create-resource-options.serializer-DblyocXR.d.cts +7 -0
  298. package/lib/create-user-options.interface-ord6dU_x.d.cts +28 -0
  299. package/lib/create-user-options.serializer-DaIm8p-c.d.cts +7 -0
  300. package/lib/created-api-key.interface-DkDQVw2T.d.cts +34 -0
  301. package/lib/created-api-key.serializer-DKs_m9pB.d.cts +7 -0
  302. package/lib/crypto-provider-C895awiY.cjs +18 -0
  303. package/lib/crypto-provider-C895awiY.cjs.map +1 -0
  304. package/lib/crypto-provider-CYvkctEg.d.cts +75 -0
  305. package/lib/decrypt-data-key.interface-BwEc_O_A.d.cts +11 -0
  306. package/lib/delete-object.interface-B_P7yrm3.d.cts +7 -0
  307. package/lib/delete-resource-options.serializer-CFyX75Zh.cjs +16 -0
  308. package/lib/delete-resource-options.serializer-CFyX75Zh.cjs.map +1 -0
  309. package/lib/delete-resource-options.serializer-D6e_dLrI.d.cts +7 -0
  310. package/lib/directory-group.interface-RhiHiiPX.d.cts +24 -0
  311. package/lib/directory-group.serializer-BRcTw-sz.d.cts +8 -0
  312. package/lib/directory-sync/directory-sync.d.cts +1 -1
  313. package/lib/directory-sync/interfaces/directory-group.interface.d.cts +1 -1
  314. package/lib/directory-sync/interfaces/directory-user.interface.d.cts +1 -1
  315. package/lib/directory-sync/interfaces/directory.interface.d.cts +1 -1
  316. package/lib/directory-sync/interfaces/index.d.cts +6 -6
  317. package/lib/directory-sync/interfaces/list-directories-options.interface.d.cts +1 -1
  318. package/lib/directory-sync/interfaces/list-directory-users-options.interface.d.cts +1 -1
  319. package/lib/directory-sync/interfaces/list-groups-options.interface.d.cts +1 -1
  320. package/lib/directory-sync/serializers/directory-group.serializer.d.cts +1 -1
  321. package/lib/directory-sync/serializers/directory-user.serializer.d.cts +1 -1
  322. package/lib/directory-sync/serializers/directory.serializer.d.cts +1 -1
  323. package/lib/directory-sync/serializers/index.d.cts +4 -4
  324. package/lib/directory-sync/serializers/list-directories-options.serializer.d.cts +1 -1
  325. package/lib/directory-user.serializer-_FQdeNFr.d.cts +9 -0
  326. package/lib/directory.interface-RS2zVVSH.d.cts +60 -0
  327. package/lib/directory.serializer-C4ye_GNZ.d.cts +10 -0
  328. package/lib/domain-data.interface-CAbxsOXR.cjs +16 -0
  329. package/lib/domain-data.interface-CAbxsOXR.cjs.map +1 -0
  330. package/lib/domain-data.interface-CWu6PLZw.d.cts +12 -0
  331. package/lib/email-verification.interface-DPOUBm9v.d.cts +42 -0
  332. package/lib/email-verification.serializer-BKwo8A4r.d.cts +8 -0
  333. package/lib/enroll-auth-factor-options.serializer-B0Kr8aWf.d.cts +7 -0
  334. package/lib/enroll-auth-factor.interface-EhGkRx_t.d.cts +17 -0
  335. package/lib/enroll-factor-options-IU9WQYZu.d.cts +14 -0
  336. package/lib/environment-role.interface-B59FS29B.d.cts +34 -0
  337. package/lib/environment-role.serializer-3-YRsFp_.cjs +22 -0
  338. package/lib/environment-role.serializer-3-YRsFp_.cjs.map +1 -0
  339. package/lib/environment-role.serializer-C0AaYE8M.d.cts +7 -0
  340. package/lib/event.serializer-B2GuXosD.cjs +180 -0
  341. package/lib/event.serializer-B2GuXosD.cjs.map +1 -0
  342. package/lib/event.serializer-QBoSs9f4.d.cts +7 -0
  343. package/lib/events/events.cjs +1 -1
  344. package/lib/events/events.d.cts +1 -1
  345. package/lib/events/interfaces/index.d.cts +1 -1
  346. package/lib/events/interfaces/list-events-options.interface.d.cts +1 -1
  347. package/lib/events/serializers/index.d.cts +1 -1
  348. package/lib/events/serializers/list-event-options.serializer.d.cts +1 -1
  349. package/lib/events-lqbh0x1u.cjs +23 -0
  350. package/lib/events-lqbh0x1u.cjs.map +1 -0
  351. package/lib/factor.interface-DebkGvZh.d.cts +42 -0
  352. package/lib/factor.interface-DzLmWxJJ.d.cts +44 -0
  353. package/lib/factor.serializer-CTHEanUk.d.cts +8 -0
  354. package/lib/factor.serializer-DGKMWcSc.d.cts +8 -0
  355. package/lib/factory-DfYLyJUA.cjs +15 -0
  356. package/lib/factory-DfYLyJUA.cjs.map +1 -0
  357. package/lib/factory.cjs +6 -6
  358. package/lib/factory.d.cts +1 -1
  359. package/lib/feature-flag.interface-Dc9oPNTI.d.cts +28 -0
  360. package/lib/feature-flag.serializer-VHx8LryN.d.cts +7 -0
  361. package/lib/feature-flags/feature-flags.cjs +1 -1
  362. package/lib/feature-flags/feature-flags.d.cts +1 -1
  363. package/lib/feature-flags/interfaces/add-flag-target-options.interface.d.cts +1 -1
  364. package/lib/feature-flags/interfaces/feature-flag.interface.d.cts +1 -1
  365. package/lib/feature-flags/interfaces/index.d.cts +4 -4
  366. package/lib/feature-flags/interfaces/list-feature-flags-options.interface.d.cts +1 -1
  367. package/lib/feature-flags/interfaces/remove-flag-target-options.interface.d.cts +1 -1
  368. package/lib/feature-flags/serializers/feature-flag.serializer.d.cts +1 -1
  369. package/lib/feature-flags/serializers/index.d.cts +1 -1
  370. package/lib/feature-flags-w4M2jmZ4.cjs +42 -0
  371. package/lib/feature-flags-w4M2jmZ4.cjs.map +1 -0
  372. package/lib/fetch-and-deserialize-list-fKCIhUCS.cjs +19 -0
  373. package/lib/fetch-and-deserialize-list-fKCIhUCS.cjs.map +1 -0
  374. package/lib/fetch-client-CP0ICYQG.cjs +189 -0
  375. package/lib/fetch-client-CP0ICYQG.cjs.map +1 -0
  376. package/lib/fga/fga.cjs +1 -1
  377. package/lib/fga/fga.d.cts +1 -1
  378. package/lib/fga/interfaces/check-op.enum.cjs +1 -1
  379. package/lib/fga/interfaces/check-op.enum.d.cts +1 -1
  380. package/lib/fga/interfaces/check.interface.cjs +1 -1
  381. package/lib/fga/interfaces/check.interface.d.cts +1 -1
  382. package/lib/fga/interfaces/index.cjs +4 -4
  383. package/lib/fga/interfaces/index.d.cts +8 -8
  384. package/lib/fga/interfaces/list.interface.d.cts +1 -1
  385. package/lib/fga/interfaces/query.interface.d.cts +1 -1
  386. package/lib/fga/interfaces/resource-op.enum.cjs +1 -1
  387. package/lib/fga/interfaces/resource-op.enum.d.cts +1 -1
  388. package/lib/fga/interfaces/resource.interface.d.cts +1 -1
  389. package/lib/fga/interfaces/warning.interface.d.cts +1 -1
  390. package/lib/fga/interfaces/warrant-op.enum.cjs +1 -1
  391. package/lib/fga/interfaces/warrant-op.enum.d.cts +1 -1
  392. package/lib/fga/interfaces/warrant-token.interface.d.cts +1 -1
  393. package/lib/fga/interfaces/warrant.interface.d.cts +1 -1
  394. package/lib/fga/serializers/batch-write-resources-options.serializer.cjs +1 -1
  395. package/lib/fga/serializers/batch-write-resources-options.serializer.d.cts +1 -1
  396. package/lib/fga/serializers/check-options.serializer.cjs +1 -1
  397. package/lib/fga/serializers/check-options.serializer.d.cts +1 -1
  398. package/lib/fga/serializers/create-resource-options.serializer.cjs +1 -1
  399. package/lib/fga/serializers/create-resource-options.serializer.d.cts +1 -1
  400. package/lib/fga/serializers/delete-resource-options.serializer.cjs +1 -1
  401. package/lib/fga/serializers/delete-resource-options.serializer.d.cts +1 -1
  402. package/lib/fga/serializers/index.cjs +13 -13
  403. package/lib/fga/serializers/index.d.cts +13 -13
  404. package/lib/fga/serializers/list-resources-options.serializer.cjs +1 -1
  405. package/lib/fga/serializers/list-resources-options.serializer.d.cts +1 -1
  406. package/lib/fga/serializers/list-warrants-options.serializer.cjs +1 -1
  407. package/lib/fga/serializers/list-warrants-options.serializer.d.cts +1 -1
  408. package/lib/fga/serializers/list.serializer.cjs +1 -1
  409. package/lib/fga/serializers/list.serializer.d.cts +1 -1
  410. package/lib/fga/serializers/query-options.serializer.cjs +1 -1
  411. package/lib/fga/serializers/query-options.serializer.d.cts +1 -1
  412. package/lib/fga/serializers/query-result.serializer.cjs +1 -1
  413. package/lib/fga/serializers/query-result.serializer.d.cts +1 -1
  414. package/lib/fga/serializers/resource.serializer.cjs +1 -1
  415. package/lib/fga/serializers/resource.serializer.d.cts +1 -1
  416. package/lib/fga/serializers/warrant-token.serializer.cjs +1 -1
  417. package/lib/fga/serializers/warrant-token.serializer.d.cts +1 -1
  418. package/lib/fga/serializers/warrant.serializer.cjs +1 -1
  419. package/lib/fga/serializers/warrant.serializer.d.cts +1 -1
  420. package/lib/fga/serializers/write-warrant-options.serializer.cjs +1 -1
  421. package/lib/fga/serializers/write-warrant-options.serializer.d.cts +1 -1
  422. package/lib/fga/utils/fetch-and-deserialize-list.cjs +1 -1
  423. package/lib/fga/utils/fetch-and-deserialize-list.d.cts +4 -4
  424. package/lib/fga/utils/fga-paginatable.cjs +1 -1
  425. package/lib/fga/utils/fga-paginatable.d.cts +1 -1
  426. package/lib/fga/utils/interface-check.cjs +1 -1
  427. package/lib/fga/utils/interface-check.d.cts +2 -2
  428. package/lib/fga-DDQcYlFx.cjs +83 -0
  429. package/lib/fga-DDQcYlFx.cjs.map +1 -0
  430. package/lib/fga-paginatable-BGfH6hKb.d.cts +14 -0
  431. package/lib/fga-paginatable-CcnmklhZ.cjs +22 -0
  432. package/lib/fga-paginatable-CcnmklhZ.cjs.map +1 -0
  433. package/lib/generate-portal-link-intent.interface-DvAjnRTH.d.cts +12 -0
  434. package/lib/generate-portal-link-intent.interface-VhaOku0u.cjs +20 -0
  435. package/lib/generate-portal-link-intent.interface-VhaOku0u.cjs.map +1 -0
  436. package/lib/generic-server.exception-BQuagq-c.d.cts +14 -0
  437. package/lib/get-access-token.interface-C8vDOoS4.d.cts +32 -0
  438. package/lib/get-options.interface-DtIaBrYo.d.cts +11 -0
  439. package/lib/get-profile-and-token-options.interface-B4HEexcv.d.cts +14 -0
  440. package/lib/get-profile-options.interface-BTqozSx_.d.cts +7 -0
  441. package/lib/get-token-2lecb0Cy.cjs +23 -0
  442. package/lib/get-token-2lecb0Cy.cjs.map +1 -0
  443. package/lib/get-token-CRyPuAyd.d.cts +23 -0
  444. package/lib/http-client-8EHeTnVH.cjs +96 -0
  445. package/lib/http-client-8EHeTnVH.cjs.map +1 -0
  446. package/lib/http-client-Cs56_alu.d.cts +55 -0
  447. package/lib/http-client.interface-DMi5johZ.d.cts +24 -0
  448. package/lib/identity.interface-fsQohx9t.d.cts +14 -0
  449. package/lib/impersonator.interface-BLJ5uqT4.d.cts +12 -0
  450. package/lib/index-DBcxvLj5.d.cts +721 -0
  451. package/lib/index.cjs +19 -18
  452. package/lib/index.cjs.map +1 -1
  453. package/lib/index.d.cts +142 -130
  454. package/lib/index.d.ts +19 -1
  455. package/lib/index.js.map +1 -1
  456. package/lib/index.worker.cjs +19 -18
  457. package/lib/index.worker.cjs.map +1 -1
  458. package/lib/index.worker.d.cts +120 -108
  459. package/lib/index.worker.d.ts +19 -1
  460. package/lib/index.worker.js.map +1 -1
  461. package/lib/interface-check-CTSXH7TS.cjs +23 -0
  462. package/lib/interface-check-CTSXH7TS.cjs.map +1 -0
  463. package/lib/invitation.interface-BGj97ho-.d.cts +64 -0
  464. package/lib/invitation.serializer-BrvOpgFx.d.cts +8 -0
  465. package/lib/jose-D4-VExnk.cjs +27 -0
  466. package/lib/jose-D4-VExnk.cjs.map +1 -0
  467. package/lib/key.interface-CFC2qwl7.d.cts +16 -0
  468. package/lib/leb128-CzuVP25R.cjs +82 -0
  469. package/lib/leb128-CzuVP25R.cjs.map +1 -0
  470. package/lib/list-connections-options.interface-zYzKu8PV.d.cts +17 -0
  471. package/lib/list-connections-options.serializer-BQ887b-b.d.cts +7 -0
  472. package/lib/list-directories-options.interface-Bq6Ctiub.d.cts +14 -0
  473. package/lib/list-directories-options.serializer-Btoh5Gla.d.cts +7 -0
  474. package/lib/list-directory-users-options.interface-B3hWSKfC.d.cts +10 -0
  475. package/lib/list-event-options.serializer-Dm8sSe0n.d.cts +7 -0
  476. package/lib/list-events-options.interface-CUGdhgSG.d.cts +22 -0
  477. package/lib/list-feature-flags-options.interface-DBQ7vrv_.d.cts +7 -0
  478. package/lib/list-groups-options.interface-U_gybSue.d.cts +10 -0
  479. package/lib/list-object-versions.interface-Rd5wqEPb.d.cts +12 -0
  480. package/lib/list-objects.interface-yOVh3Ifn.d.cts +9 -0
  481. package/lib/list-organization-api-keys-options.interface-YUTCTNS6.d.cts +9 -0
  482. package/lib/list-organization-feature-flags-options.interface-DnLCq59G.d.cts +9 -0
  483. package/lib/list-organization-roles-options.interface-BuvnLvwK.d.cts +7 -0
  484. package/lib/list-organizations-options.interface-EgR4w6S9.d.cts +9 -0
  485. package/lib/list-resources-options.serializer-BmYs9Vf0.cjs +19 -0
  486. package/lib/list-resources-options.serializer-BmYs9Vf0.cjs.map +1 -0
  487. package/lib/list-resources-options.serializer-ChXI92JX.d.cts +7 -0
  488. package/lib/list-sessions-options.interface-3wEl-9ph.d.cts +8 -0
  489. package/lib/list-sessions-options.serializer-DY3aSLdT.d.cts +7 -0
  490. package/lib/list-users-options.interface-CwR5WeUq.d.cts +14 -0
  491. package/lib/list-warrants-options.serializer-Bd-WDleA.cjs +21 -0
  492. package/lib/list-warrants-options.serializer-Bd-WDleA.cjs.map +1 -0
  493. package/lib/list-warrants-options.serializer-DghippBd.d.cts +7 -0
  494. package/lib/list.interface-C8ZxDYyJ.d.cts +20 -0
  495. package/lib/list.interface-CXp7D6FF.d.cts +13 -0
  496. package/lib/list.serializer-BO40xS2N.d.cts +10 -0
  497. package/lib/list.serializer-CTHSrCW_.cjs +17 -0
  498. package/lib/list.serializer-CTHSrCW_.cjs.map +1 -0
  499. package/lib/list.serializer-xzcXVR9t.d.cts +7 -0
  500. package/lib/locale.interface-DtJ_6jKP.d.cts +5 -0
  501. package/lib/logout-url-options.interface-DhTgF8Hk.d.cts +8 -0
  502. package/lib/magic-auth.interface-BECeWMH_.d.cts +42 -0
  503. package/lib/magic-auth.serializer-DUVjoLsC.d.cts +8 -0
  504. package/lib/mfa/interfaces/challenge-factor-options.d.cts +1 -1
  505. package/lib/mfa/interfaces/challenge.interface.d.cts +1 -1
  506. package/lib/mfa/interfaces/enroll-factor-options.d.cts +1 -1
  507. package/lib/mfa/interfaces/factor.interface.d.cts +1 -1
  508. package/lib/mfa/interfaces/index.d.cts +8 -8
  509. package/lib/mfa/interfaces/sms.interface.d.cts +1 -1
  510. package/lib/mfa/interfaces/totp.interface.d.cts +1 -1
  511. package/lib/mfa/interfaces/verify-challenge-options.d.cts +1 -1
  512. package/lib/mfa/interfaces/verify-challenge-response.d.cts +1 -1
  513. package/lib/mfa/mfa.d.cts +1 -1
  514. package/lib/mfa/serializers/challenge.serializer.d.cts +1 -1
  515. package/lib/mfa/serializers/factor.serializer.d.cts +1 -1
  516. package/lib/mfa/serializers/index.d.cts +3 -3
  517. package/lib/mfa/serializers/sms.serializer.d.cts +1 -1
  518. package/lib/mfa/serializers/totp.serializer.d.cts +1 -1
  519. package/lib/mfa/serializers/verify-response.serializer.d.cts +1 -1
  520. package/lib/no-api-key-provided.exception-hJIhxWx8.d.cts +9 -0
  521. package/lib/not-found.exception-BfAxXziV.d.cts +24 -0
  522. package/lib/oauth-tokens.interface-BmW9Eh4w.d.cts +16 -0
  523. package/lib/oauth.exception-Qx8LPHkD.d.cts +15 -0
  524. package/lib/object.interface-CB8MiPSx.d.cts +35 -0
  525. package/lib/organization-domain.interface-B1AwHwAc.cjs +28 -0
  526. package/lib/organization-domain.interface-B1AwHwAc.cjs.map +1 -0
  527. package/lib/organization-domain.interface-ozdxzINN.d.cts +35 -0
  528. package/lib/organization-domains/interfaces/create-organization-domain-options.interface.d.cts +1 -1
  529. package/lib/organization-domains/interfaces/index.cjs +1 -1
  530. package/lib/organization-domains/interfaces/index.d.cts +2 -2
  531. package/lib/organization-domains/interfaces/organization-domain.interface.cjs +1 -1
  532. package/lib/organization-domains/interfaces/organization-domain.interface.d.cts +1 -1
  533. package/lib/organization-domains/organization-domains.d.cts +1 -1
  534. package/lib/organization-domains/serializers/create-organization-domain-options.serializer.d.cts +1 -1
  535. package/lib/organization-domains/serializers/organization-domain.serializer.d.cts +1 -1
  536. package/lib/organization-membership.serializer-DVtJVaRT.cjs +24 -0
  537. package/lib/organization-membership.serializer-DVtJVaRT.cjs.map +1 -0
  538. package/lib/organization-role.interface-evatb3Ca.d.cts +15 -0
  539. package/lib/organization-role.serializer-9lMyuYAJ.d.cts +9 -0
  540. package/lib/organization-role.serializer-BJI8i3kB.cjs +39 -0
  541. package/lib/organization-role.serializer-BJI8i3kB.cjs.map +1 -0
  542. package/lib/organization.interface-v9vB3M2o.d.cts +30 -0
  543. package/lib/organization.serializer-oavqZBEE.d.cts +7 -0
  544. package/lib/organizations/interfaces/create-organization-options.interface.d.cts +1 -1
  545. package/lib/organizations/interfaces/domain-data.interface.cjs +1 -1
  546. package/lib/organizations/interfaces/domain-data.interface.d.cts +1 -1
  547. package/lib/organizations/interfaces/index.cjs +1 -1
  548. package/lib/organizations/interfaces/index.d.cts +6 -6
  549. package/lib/organizations/interfaces/list-organization-feature-flags-options.interface.d.cts +1 -1
  550. package/lib/organizations/interfaces/list-organization-roles-options.interface.d.cts +1 -1
  551. package/lib/organizations/interfaces/list-organizations-options.interface.d.cts +1 -1
  552. package/lib/organizations/interfaces/organization.interface.d.cts +1 -1
  553. package/lib/organizations/interfaces/update-organization-options.interface.d.cts +1 -1
  554. package/lib/organizations/organizations.cjs +1 -1
  555. package/lib/organizations/organizations.d.cts +1 -1
  556. package/lib/organizations/organizations.d.ts +1 -1
  557. package/lib/organizations/organizations.js +1 -1
  558. package/lib/organizations/organizations.js.map +1 -1
  559. package/lib/organizations/serializers/create-organization-options.serializer.d.cts +1 -1
  560. package/lib/organizations/serializers/index.d.cts +3 -3
  561. package/lib/organizations/serializers/organization.serializer.d.cts +1 -1
  562. package/lib/organizations/serializers/update-organization-options.serializer.d.cts +1 -1
  563. package/lib/organizations-CqJIT1Q5.cjs +70 -0
  564. package/lib/organizations-CqJIT1Q5.cjs.map +1 -0
  565. package/lib/pagination-D--sr3e2.d.cts +25 -0
  566. package/lib/pagination-options.interface-SKgiNnuZ.d.cts +10 -0
  567. package/lib/parse-error-B7u-PJ1K.cjs +24 -0
  568. package/lib/parse-error-B7u-PJ1K.cjs.map +1 -0
  569. package/lib/password-hash-type.interface-vH25bPgH.d.cts +5 -0
  570. package/lib/password-reset.interface-Yi4hon-d.d.cts +40 -0
  571. package/lib/password-reset.serializer-DvGywW1e.d.cts +8 -0
  572. package/lib/passwordless/interfaces/create-passwordless-session-options.interface.d.cts +1 -1
  573. package/lib/passwordless/interfaces/index.d.cts +3 -3
  574. package/lib/passwordless/interfaces/passwordless-session.interface.d.cts +1 -1
  575. package/lib/passwordless/interfaces/send-session-response.interface.d.cts +1 -1
  576. package/lib/passwordless/passwordless.d.cts +1 -1
  577. package/lib/passwordless/serializers/passwordless-session.serializer.d.cts +1 -1
  578. package/lib/passwordless-session.interface-BgyPqlZF.d.cts +18 -0
  579. package/lib/patch-options.interface-46BCssmo.d.cts +12 -0
  580. package/lib/permission.interface-BBwAYH07.d.cts +40 -0
  581. package/lib/permission.serializer-DjWoIZ-K.cjs +21 -0
  582. package/lib/permission.serializer-DjWoIZ-K.cjs.map +1 -0
  583. package/lib/permission.serializer-RAI4SM7h.d.cts +7 -0
  584. package/lib/pipes/interfaces/access-token.interface.d.cts +1 -1
  585. package/lib/pipes/interfaces/get-access-token.interface.d.cts +1 -1
  586. package/lib/pipes/pipes.d.cts +1 -1
  587. package/lib/pipes/serializers/access-token.serializer.d.cts +1 -1
  588. package/lib/pipes/serializers/get-access-token.serializer.d.cts +1 -1
  589. package/lib/pkce/pkce.d.cts +1 -1
  590. package/lib/pkce-n0rRYj_Q.d.cts +38 -0
  591. package/lib/portal/interfaces/generate-portal-link-intent.interface.cjs +1 -1
  592. package/lib/portal/interfaces/generate-portal-link-intent.interface.d.cts +1 -1
  593. package/lib/portal/interfaces/index.cjs +1 -1
  594. package/lib/portal/interfaces/index.d.cts +1 -1
  595. package/lib/portal/portal.d.cts +1 -1
  596. package/lib/post-options.interface-DlEjJsYu.d.cts +13 -0
  597. package/lib/profile-and-token.interface-BrAmbRfi.cjs +0 -0
  598. package/lib/profile-and-token.serializer-BL6rgjRg.d.cts +8 -0
  599. package/lib/profile.interface-CIhPFxjC.cjs +0 -0
  600. package/lib/profile.serializer-C-SA2vtS.d.cts +8 -0
  601. package/lib/put-options.interface-7lk8rQLi.d.cts +12 -0
  602. package/lib/put-options.interface-C0STQ8xm.cjs +0 -0
  603. package/lib/query-options.serializer-Chg3TZdD.cjs +19 -0
  604. package/lib/query-options.serializer-Chg3TZdD.cjs.map +1 -0
  605. package/lib/query-options.serializer-rnZkdjgt.d.cts +7 -0
  606. package/lib/query-result.serializer-B2dxUnKw.d.cts +12 -0
  607. package/lib/query-result.serializer-CQqFGng9.cjs +28 -0
  608. package/lib/query-result.serializer-CQqFGng9.cjs.map +1 -0
  609. package/lib/query.interface-BuOZQoFM.d.cts +35 -0
  610. package/lib/query.interface-DBrke9TG.cjs +0 -0
  611. package/lib/rate-limit-exceeded.exception-CF4reeT2.d.cts +18 -0
  612. package/lib/read-object.interface-D0Poz3-p.d.cts +25 -0
  613. package/lib/read-object.interface-RCcLbvry.cjs +0 -0
  614. package/lib/refresh-and-seal-session-data.interface-BC_uVnK1.cjs +19 -0
  615. package/lib/refresh-and-seal-session-data.interface-BC_uVnK1.cjs.map +1 -0
  616. package/lib/refresh-and-seal-session-data.interface-BSKQWqmn.d.cts +24 -0
  617. package/lib/remove-flag-target-options.interface-BZBcjHE7.d.cts +8 -0
  618. package/lib/remove-flag-target-options.interface-CNzVf6zp.cjs +0 -0
  619. package/lib/remove-organization-role-permission-options.interface-BpQUw8lU.cjs +0 -0
  620. package/lib/remove-organization-role-permission-options.interface-ZMh36f0F.d.cts +7 -0
  621. package/lib/request-exception.interface-DahTOGID.d.cts +9 -0
  622. package/lib/resend-invitation-options.interface-BqrfHp3r.d.cts +12 -0
  623. package/lib/resend-invitation-options.interface-BvKYcUMa.cjs +0 -0
  624. package/lib/resend-invitation-options.serializer-gi3hyBeV.cjs +12 -0
  625. package/lib/resend-invitation-options.serializer-gi3hyBeV.cjs.map +1 -0
  626. package/lib/reset-password-options.interface-C8NDiT__.cjs +0 -0
  627. package/lib/reset-password-options.interface-uWGx-EHg.d.cts +12 -0
  628. package/lib/reset-password-options.serializer-B814ASb4.d.cts +7 -0
  629. package/lib/resource-op.enum-DvMR02yw.d.cts +8 -0
  630. package/lib/resource-op.enum-iS-Tf1WO.cjs +16 -0
  631. package/lib/resource-op.enum-iS-Tf1WO.cjs.map +1 -0
  632. package/lib/resource.interface-BZ27Ar_A.d.cts +77 -0
  633. package/lib/resource.interface-Dk75RqTQ.cjs +0 -0
  634. package/lib/resource.serializer-DO1Fpj-V.d.cts +8 -0
  635. package/lib/resource.serializer-DQA6JSVB.cjs +25 -0
  636. package/lib/resource.serializer-DQA6JSVB.cjs.map +1 -0
  637. package/lib/response-payload.interface-B6BBFm56.d.cts +26 -0
  638. package/lib/response-payload.interface-tlU2hrOg.cjs +0 -0
  639. package/lib/revoke-session-options.interface-20LkWyox.d.cts +11 -0
  640. package/lib/role.interface-DIftS8f6.cjs +0 -0
  641. package/lib/roles/interfaces/index.d.cts +1 -1
  642. package/lib/roles/interfaces/role.interface.d.cts +1 -1
  643. package/lib/roles/interfaces/role.interface.d.ts +4 -11
  644. package/lib/roles/serializers/role.serializer.d.cts +1 -1
  645. package/lib/runtime-info-CkgTBGi9.cjs +56 -0
  646. package/lib/runtime-info-CkgTBGi9.cjs.map +1 -0
  647. package/lib/send-invitation-options.interface-C2RofyVU.d.cts +22 -0
  648. package/lib/send-invitation-options.interface-C6iq0iBA.cjs +0 -0
  649. package/lib/send-invitation-options.serializer-BX9N-pl6.cjs +19 -0
  650. package/lib/send-invitation-options.serializer-BX9N-pl6.cjs.map +1 -0
  651. package/lib/send-session-response.interface-CMl4tWw_.d.cts +8 -0
  652. package/lib/send-session-response.interface-CVGhNzxv.cjs +0 -0
  653. package/lib/send-verification-email-options.interface-BUkQm-56.cjs +0 -0
  654. package/lib/send-verification-email-options.interface-BtOygLys.d.cts +7 -0
  655. package/lib/serializers-7jp-w6XR.cjs +0 -0
  656. package/lib/serializers-Bd8zRjMr.cjs +0 -0
  657. package/lib/session-BspC-lF9.cjs +144 -0
  658. package/lib/session-BspC-lF9.cjs.map +1 -0
  659. package/lib/session-handler-options.interface-BVTuA5uU.d.cts +9 -0
  660. package/lib/session.interface-CJL0YhXF.cjs +0 -0
  661. package/lib/session.interface-zszewQtk.d.cts +38 -0
  662. package/lib/session.serializer-DAUllV3H.d.cts +7 -0
  663. package/lib/set-environment-role-permissions-options.interface-C04yO7oE.cjs +0 -0
  664. package/lib/set-environment-role-permissions-options.interface-CJm4G5CM.d.cts +7 -0
  665. package/lib/set-organization-role-permissions-options.interface-Dsm86677.cjs +0 -0
  666. package/lib/set-organization-role-permissions-options.interface-F54jbJ3q.d.cts +7 -0
  667. package/lib/signature-verification.exception-D2-xkCRS.d.cts +8 -0
  668. package/lib/sms.interface-f_7eFA1B.d.cts +10 -0
  669. package/lib/sso/interfaces/authorization-url-options.interface.d.cts +1 -1
  670. package/lib/sso/interfaces/connection-type.enum.cjs +1 -1
  671. package/lib/sso/interfaces/connection-type.enum.d.cts +1 -1
  672. package/lib/sso/interfaces/connection.interface.d.cts +1 -1
  673. package/lib/sso/interfaces/get-profile-and-token-options.interface.d.cts +1 -1
  674. package/lib/sso/interfaces/get-profile-options.interface.d.cts +1 -1
  675. package/lib/sso/interfaces/index.cjs +1 -1
  676. package/lib/sso/interfaces/index.d.cts +7 -8
  677. package/lib/sso/interfaces/list-connections-options.interface.d.cts +1 -1
  678. package/lib/sso/interfaces/profile-and-token.interface.d.cts +1 -1
  679. package/lib/sso/interfaces/profile.interface.d.cts +1 -1
  680. package/lib/sso/serializers/connection.serializer.d.cts +1 -1
  681. package/lib/sso/serializers/index.d.cts +4 -4
  682. package/lib/sso/serializers/list-connections-options.serializer.d.cts +1 -1
  683. package/lib/sso/serializers/profile-and-token.serializer.d.cts +1 -1
  684. package/lib/sso/serializers/profile.serializer.d.cts +1 -1
  685. package/lib/sso/sso.d.cts +1 -1
  686. package/lib/subtle-crypto-provider-z15sJdtL.cjs +99 -0
  687. package/lib/subtle-crypto-provider-z15sJdtL.cjs.map +1 -0
  688. package/lib/totp.interface-4Tn9mcvR.d.cts +22 -0
  689. package/lib/unauthorized.exception-B0Ma7wJ5.d.cts +13 -0
  690. package/lib/unknown-record.interface-DSMWbzCc.d.cts +5 -0
  691. package/lib/unprocessable-entity-error.interface-B2dNTbj0.cjs +0 -0
  692. package/lib/unprocessable-entity-error.interface-CGfXN5Ma.d.cts +8 -0
  693. package/lib/unprocessable-entity.exception-rapwl2dZ.d.cts +25 -0
  694. package/lib/unreachable-HIg8NPjR.cjs +23 -0
  695. package/lib/unreachable-HIg8NPjR.cjs.map +1 -0
  696. package/lib/update-environment-role-options.interface-dosXnOZd.d.cts +12 -0
  697. package/lib/update-environment-role-options.interface-i6KgrgfD.cjs +0 -0
  698. package/lib/update-environment-role-options.serializer-BNsh8m0U.d.cts +7 -0
  699. package/lib/update-environment-role-options.serializer-DowajKPM.cjs +15 -0
  700. package/lib/update-environment-role-options.serializer-DowajKPM.cjs.map +1 -0
  701. package/lib/update-object.interface-CSfFiDhx.cjs +0 -0
  702. package/lib/update-object.interface-H3nqYCkH.d.cts +13 -0
  703. package/lib/update-organization-membership-options.interface-BB8dVzxD.cjs +0 -0
  704. package/lib/update-organization-membership-options.interface-vwSowDwp.d.cts +12 -0
  705. package/lib/update-organization-membership-options.serializer-J0-AHdSc.cjs +15 -0
  706. package/lib/update-organization-membership-options.serializer-J0-AHdSc.cjs.map +1 -0
  707. package/lib/update-organization-options.interface-Bo0n5-X2.cjs +0 -0
  708. package/lib/update-organization-options.interface-C5szqmv1.d.cts +21 -0
  709. package/lib/update-organization-options.serializer-BMZ1uX4v.d.cts +7 -0
  710. package/lib/update-organization-role-options.interface-BxoOYg6j.cjs +0 -0
  711. package/lib/update-organization-role-options.interface-rE638uDV.d.cts +12 -0
  712. package/lib/update-organization-role-options.serializer-P4807NCD.cjs +15 -0
  713. package/lib/update-organization-role-options.serializer-P4807NCD.cjs.map +1 -0
  714. package/lib/update-organization-role-options.serializer-v4U24skp.d.cts +7 -0
  715. package/lib/update-permission-options.interface-1DDWIS6-.d.cts +12 -0
  716. package/lib/update-permission-options.interface-Cc6sRKzk.cjs +0 -0
  717. package/lib/update-permission-options.serializer-DBaEseXC.cjs +15 -0
  718. package/lib/update-permission-options.serializer-DBaEseXC.cjs.map +1 -0
  719. package/lib/update-permission-options.serializer-LHPO0d7U.d.cts +7 -0
  720. package/lib/update-user-options.interface-hZd8eW6q.cjs +0 -0
  721. package/lib/update-user-options.interface-yJ1zfqXv.d.cts +31 -0
  722. package/lib/update-user-options.serializer-PMEBc0mh.d.cts +7 -0
  723. package/lib/update-user-password-options.interface-B9BC-Hv9.cjs +0 -0
  724. package/lib/update-user-password-options.interface-Bhwbi84x.d.cts +11 -0
  725. package/lib/update-user-password-options.serializer-xFeYcrdn.d.cts +7 -0
  726. package/lib/user-management/interfaces/authenticate-with-code-and-verifier-options.interface.d.cts +1 -1
  727. package/lib/user-management/interfaces/authenticate-with-code-options.interface.d.cts +1 -1
  728. package/lib/user-management/interfaces/authenticate-with-email-verification-options.interface.d.cts +1 -1
  729. package/lib/user-management/interfaces/authenticate-with-magic-auth-options.interface.d.cts +1 -1
  730. package/lib/user-management/interfaces/authenticate-with-options-base.interface.d.cts +1 -1
  731. package/lib/user-management/interfaces/authenticate-with-organization-selection.interface.d.cts +1 -1
  732. package/lib/user-management/interfaces/authenticate-with-password-options.interface.d.cts +1 -1
  733. package/lib/user-management/interfaces/authenticate-with-refresh-token-options.interface.d.cts +1 -1
  734. package/lib/user-management/interfaces/authenticate-with-refresh-token-public-client-options.interface.d.cts +1 -1
  735. package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.d.cts +1 -1
  736. package/lib/user-management/interfaces/authenticate-with-totp-options.interface.d.cts +1 -1
  737. package/lib/user-management/interfaces/authentication-event.interface.d.cts +1 -1
  738. package/lib/user-management/interfaces/authentication-radar-risk-detected-event.interface.d.cts +1 -1
  739. package/lib/user-management/interfaces/authentication-response.interface.d.cts +1 -1
  740. package/lib/user-management/interfaces/authorization-url-options.interface.d.cts +1 -1
  741. package/lib/user-management/interfaces/create-magic-auth-options.interface.d.cts +1 -1
  742. package/lib/user-management/interfaces/create-organization-membership-options.interface.d.cts +1 -1
  743. package/lib/user-management/interfaces/create-password-reset-options.interface.d.cts +1 -1
  744. package/lib/user-management/interfaces/create-user-options.interface.d.cts +1 -1
  745. package/lib/user-management/interfaces/email-verification.interface.d.cts +1 -1
  746. package/lib/user-management/interfaces/enroll-auth-factor.interface.d.cts +1 -1
  747. package/lib/user-management/interfaces/factor.interface.d.cts +1 -1
  748. package/lib/user-management/interfaces/identity.interface.d.cts +1 -1
  749. package/lib/user-management/interfaces/impersonator.interface.d.cts +1 -1
  750. package/lib/user-management/interfaces/index.cjs +1 -1
  751. package/lib/user-management/interfaces/index.d.cts +46 -45
  752. package/lib/user-management/interfaces/index.d.ts +3 -1
  753. package/lib/user-management/interfaces/invitation.interface.d.cts +1 -1
  754. package/lib/user-management/interfaces/list-auth-factors-options.interface.d.cts +1 -1
  755. package/lib/user-management/interfaces/list-invitations-options.interface.d.cts +1 -1
  756. package/lib/user-management/interfaces/list-organization-memberships-options.interface.d.cts +1 -1
  757. package/lib/user-management/interfaces/list-sessions-options.interface.d.cts +1 -1
  758. package/lib/user-management/interfaces/list-user-feature-flags-options.interface.d.cts +1 -1
  759. package/lib/user-management/interfaces/list-users-options.interface.d.cts +1 -1
  760. package/lib/user-management/interfaces/locale.interface.cjs +0 -0
  761. package/lib/user-management/interfaces/locale.interface.d.cts +2 -0
  762. package/lib/user-management/interfaces/locale.interface.d.ts +5 -0
  763. package/lib/user-management/interfaces/locale.interface.js +1 -0
  764. package/lib/user-management/interfaces/logout-url-options.interface.d.cts +1 -1
  765. package/lib/user-management/interfaces/magic-auth.interface.d.cts +1 -1
  766. package/lib/user-management/interfaces/oauth-tokens.interface.d.cts +1 -1
  767. package/lib/user-management/interfaces/organization-membership.interface.d.cts +1 -1
  768. package/lib/user-management/interfaces/organization-membership.interface.d.ts +2 -0
  769. package/lib/user-management/interfaces/password-hash-type.interface.d.cts +1 -1
  770. package/lib/user-management/interfaces/password-reset.interface.d.cts +1 -1
  771. package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.cjs +1 -1
  772. package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.d.cts +1 -1
  773. package/lib/user-management/interfaces/resend-invitation-options.interface.cjs +0 -0
  774. package/lib/user-management/interfaces/resend-invitation-options.interface.d.cts +2 -0
  775. package/lib/user-management/interfaces/resend-invitation-options.interface.d.ts +12 -0
  776. package/lib/user-management/interfaces/resend-invitation-options.interface.js +1 -0
  777. package/lib/user-management/interfaces/reset-password-options.interface.d.cts +1 -1
  778. package/lib/user-management/interfaces/revoke-session-options.interface.d.cts +1 -1
  779. package/lib/user-management/interfaces/send-invitation-options.interface.d.cts +1 -1
  780. package/lib/user-management/interfaces/send-invitation-options.interface.d.ts +4 -0
  781. package/lib/user-management/interfaces/send-verification-email-options.interface.d.cts +1 -1
  782. package/lib/user-management/interfaces/session-handler-options.interface.d.cts +1 -1
  783. package/lib/user-management/interfaces/session.interface.d.cts +1 -1
  784. package/lib/user-management/interfaces/update-organization-membership-options.interface.d.cts +1 -1
  785. package/lib/user-management/interfaces/update-user-options.interface.d.cts +1 -1
  786. package/lib/user-management/interfaces/update-user-password-options.interface.d.cts +1 -1
  787. package/lib/user-management/interfaces/user.interface.d.cts +1 -1
  788. package/lib/user-management/interfaces/verify-email-options.interface.d.cts +1 -1
  789. package/lib/user-management/serializers/authenticate-with-code-and-verifier-options.serializer.d.cts +1 -1
  790. package/lib/user-management/serializers/authenticate-with-code-options.serializer.d.cts +1 -1
  791. package/lib/user-management/serializers/authenticate-with-email-verification.serializer.d.cts +2 -2
  792. package/lib/user-management/serializers/authenticate-with-magic-auth-options.serializer.d.cts +1 -1
  793. package/lib/user-management/serializers/authenticate-with-organization-selection-options.serializer.d.cts +2 -2
  794. package/lib/user-management/serializers/authenticate-with-password-options.serializer.d.cts +1 -1
  795. package/lib/user-management/serializers/authenticate-with-refresh-token-public-client-options.serializer.d.cts +1 -1
  796. package/lib/user-management/serializers/authenticate-with-refresh-token.options.serializer.d.cts +1 -1
  797. package/lib/user-management/serializers/authenticate-with-totp-options.serializer.d.cts +1 -1
  798. package/lib/user-management/serializers/authentication-event.serializer.d.cts +1 -1
  799. package/lib/user-management/serializers/authentication-radar-risk-event-serializer.d.cts +1 -1
  800. package/lib/user-management/serializers/authentication-response.serializer.d.cts +1 -1
  801. package/lib/user-management/serializers/create-magic-auth-options.serializer.d.cts +1 -1
  802. package/lib/user-management/serializers/create-organization-membership-options.serializer.d.cts +1 -1
  803. package/lib/user-management/serializers/create-password-reset-options.serializer.d.cts +1 -1
  804. package/lib/user-management/serializers/create-user-options.serializer.d.cts +1 -1
  805. package/lib/user-management/serializers/email-verification.serializer.d.cts +1 -1
  806. package/lib/user-management/serializers/enroll-auth-factor-options.serializer.d.cts +1 -1
  807. package/lib/user-management/serializers/factor.serializer.d.cts +1 -1
  808. package/lib/user-management/serializers/identity.serializer.d.cts +1 -1
  809. package/lib/user-management/serializers/index.d.cts +24 -24
  810. package/lib/user-management/serializers/invitation.serializer.d.cts +1 -1
  811. package/lib/user-management/serializers/list-invitations-options.serializer.d.cts +1 -1
  812. package/lib/user-management/serializers/list-organization-memberships-options.serializer.d.cts +1 -1
  813. package/lib/user-management/serializers/list-sessions-options.serializer.d.cts +1 -1
  814. package/lib/user-management/serializers/list-users-options.serializer.d.cts +1 -1
  815. package/lib/user-management/serializers/magic-auth.serializer.d.cts +1 -1
  816. package/lib/user-management/serializers/oauth-tokens.serializer.d.cts +1 -1
  817. package/lib/user-management/serializers/organization-membership.serializer.cjs +1 -1
  818. package/lib/user-management/serializers/organization-membership.serializer.d.cts +1 -1
  819. package/lib/user-management/serializers/organization-membership.serializer.js +2 -1
  820. package/lib/user-management/serializers/organization-membership.serializer.js.map +1 -1
  821. package/lib/user-management/serializers/password-reset.serializer.d.cts +1 -1
  822. package/lib/user-management/serializers/resend-invitation-options.serializer.cjs +3 -0
  823. package/lib/user-management/serializers/resend-invitation-options.serializer.d.cts +7 -0
  824. package/lib/user-management/serializers/resend-invitation-options.serializer.d.ts +7 -0
  825. package/lib/user-management/serializers/resend-invitation-options.serializer.js +6 -0
  826. package/lib/user-management/serializers/resend-invitation-options.serializer.js.map +1 -0
  827. package/lib/user-management/serializers/reset-password-options.serializer.d.cts +1 -1
  828. package/lib/user-management/serializers/role.serializer.d.cts +1 -1
  829. package/lib/user-management/serializers/send-invitation-options.serializer.cjs +1 -1
  830. package/lib/user-management/serializers/send-invitation-options.serializer.d.cts +1 -1
  831. package/lib/user-management/serializers/send-invitation-options.serializer.js +2 -1
  832. package/lib/user-management/serializers/send-invitation-options.serializer.js.map +1 -1
  833. package/lib/user-management/serializers/session.serializer.d.cts +1 -1
  834. package/lib/user-management/serializers/update-organization-membership-options.serializer.cjs +1 -1
  835. package/lib/user-management/serializers/update-organization-membership-options.serializer.d.cts +1 -1
  836. package/lib/user-management/serializers/update-user-options.serializer.d.cts +1 -1
  837. package/lib/user-management/serializers/update-user-password-options.serializer.d.cts +1 -1
  838. package/lib/user-management/serializers/user.serializer.d.cts +1 -1
  839. package/lib/user-management/session.cjs +2 -2
  840. package/lib/user-management/session.d.cts +1 -1
  841. package/lib/user-management/user-management.cjs +3 -3
  842. package/lib/user-management/user-management.d.cts +1 -1
  843. package/lib/user-management/user-management.d.ts +2 -1
  844. package/lib/user-management/user-management.js +3 -2
  845. package/lib/user-management/user-management.js.map +1 -1
  846. package/lib/user-management-DCbkjgk8.cjs +539 -0
  847. package/lib/user-management-DCbkjgk8.cjs.map +1 -0
  848. package/lib/user.interface-BJY1-A6X.d.cts +34 -0
  849. package/lib/user.interface-Bln_2b82.cjs +0 -0
  850. package/lib/user.serializer-Cm-81FKp.d.cts +7 -0
  851. package/lib/utils/jose.cjs +1 -1
  852. package/lib/validate-api-key.interface-CH-HBG4k.cjs +0 -0
  853. package/lib/validate-api-key.interface-DNV_9W09.d.cts +15 -0
  854. package/lib/validate-api-key.serializer-1ugfgyKZ.d.cts +7 -0
  855. package/lib/vault/interfaces/index.d.cts +10 -10
  856. package/lib/vault/interfaces/key/create-data-key.interface.d.cts +1 -1
  857. package/lib/vault/interfaces/key/decrypt-data-key.interface.d.cts +1 -1
  858. package/lib/vault/interfaces/key.interface.d.cts +1 -1
  859. package/lib/vault/interfaces/object/create-object.interface.d.cts +1 -1
  860. package/lib/vault/interfaces/object/delete-object.interface.d.cts +1 -1
  861. package/lib/vault/interfaces/object/list-object-versions.interface.d.cts +1 -1
  862. package/lib/vault/interfaces/object/list-objects.interface.d.cts +1 -1
  863. package/lib/vault/interfaces/object/read-object.interface.d.cts +1 -1
  864. package/lib/vault/interfaces/object/update-object.interface.d.cts +1 -1
  865. package/lib/vault/interfaces/object.interface.d.cts +1 -1
  866. package/lib/vault/serializers/vault-key.serializer.cjs +1 -1
  867. package/lib/vault/serializers/vault-key.serializer.d.cts +3 -3
  868. package/lib/vault/serializers/vault-object.serializer.cjs +1 -1
  869. package/lib/vault/serializers/vault-object.serializer.d.cts +7 -7
  870. package/lib/vault/vault.cjs +1 -1
  871. package/lib/vault/vault.d.cts +1 -1
  872. package/lib/vault-DFZlnEty.cjs +106 -0
  873. package/lib/vault-DFZlnEty.cjs.map +1 -0
  874. package/lib/vault-key.serializer-CprnZmmD.cjs +29 -0
  875. package/lib/vault-key.serializer-CprnZmmD.cjs.map +1 -0
  876. package/lib/vault-object.serializer-DdulnQ2X.cjs +84 -0
  877. package/lib/vault-object.serializer-DdulnQ2X.cjs.map +1 -0
  878. package/lib/verify-challenge-options-BNCpUNrV.d.cts +8 -0
  879. package/lib/verify-challenge-response-DpXoIuSX.d.cts +14 -0
  880. package/lib/verify-email-options.interface-C0_VqDVK.d.cts +11 -0
  881. package/lib/verify-email-options.interface-DPQfAOwk.cjs +0 -0
  882. package/lib/verify-response.serializer-DLbxaA_Y.d.cts +7 -0
  883. package/lib/warning.interface-yJ1XNLbJ.d.cts +13 -0
  884. package/lib/warrant-op.enum-Bqzp9GRk.cjs +16 -0
  885. package/lib/warrant-op.enum-Bqzp9GRk.cjs.map +1 -0
  886. package/lib/warrant-op.enum-Dj1dkgof.d.cts +8 -0
  887. package/lib/warrant-token.interface-BpOppNeH.cjs +0 -0
  888. package/lib/warrant-token.interface-DPxaBIlh.d.cts +10 -0
  889. package/lib/warrant-token.serializer-C66i3W4C.d.cts +7 -0
  890. package/lib/warrant-token.serializer-DFNcFGQN.cjs +12 -0
  891. package/lib/warrant-token.serializer-DFNcFGQN.cjs.map +1 -0
  892. package/lib/warrant.interface-80A3Pew0.d.cts +71 -0
  893. package/lib/warrant.interface-BgyqZr7M.cjs +0 -0
  894. package/lib/warrant.serializer-BnF9sWUb.cjs +22 -0
  895. package/lib/warrant.serializer-BnF9sWUb.cjs.map +1 -0
  896. package/lib/warrant.serializer-q9Ra6iEa.d.cts +7 -0
  897. package/lib/webhooks/webhooks.cjs +1 -1
  898. package/lib/webhooks/webhooks.d.cts +1 -1
  899. package/lib/webhooks-BznN9ZsE.d.cts +35 -0
  900. package/lib/webhooks-CPFNC99w.cjs +38 -0
  901. package/lib/webhooks-CPFNC99w.cjs.map +1 -0
  902. package/lib/widgets/interfaces/get-token.cjs +1 -1
  903. package/lib/widgets/interfaces/get-token.d.cts +1 -1
  904. package/lib/widgets/widgets.cjs +1 -1
  905. package/lib/widgets/widgets.d.cts +1 -1
  906. package/lib/widgets-UYWIfPS5.cjs +21 -0
  907. package/lib/widgets-UYWIfPS5.cjs.map +1 -0
  908. package/lib/workos-HBr0yoqZ.cjs +332 -0
  909. package/lib/workos-HBr0yoqZ.cjs.map +1 -0
  910. package/lib/workos-options.interface-DsrGUZeh.d.cts +17 -0
  911. package/lib/workos-options.interface-Dyy5FyDG.cjs +0 -0
  912. package/lib/workos-response-error.interface-CUW8-rVq.d.cts +13 -0
  913. package/lib/workos-response-error.interface-DfARVQg0.cjs +0 -0
  914. package/lib/workos.cjs +5 -5
  915. package/lib/workos.d.cts +1 -1
  916. package/lib/workos.d.ts +6 -0
  917. package/lib/workos.js +27 -1
  918. package/lib/workos.js.map +1 -1
  919. package/lib/write-warrant-options.serializer-CJo81yBS.cjs +26 -0
  920. package/lib/write-warrant-options.serializer-CJo81yBS.cjs.map +1 -0
  921. package/lib/write-warrant-options.serializer-DYf63mng.d.cts +7 -0
  922. package/package.json +1 -1
  923. package/lib/access-token.interface-qb42DvMJ.d.cts +0 -18
  924. package/lib/action.interface-BLCbp-cT.d.cts +0 -63
  925. package/lib/action.serializer-CkMp2PpV.cjs +0 -47
  926. package/lib/action.serializer-CkMp2PpV.cjs.map +0 -1
  927. package/lib/actions-_-g7Idem.cjs +0 -58
  928. package/lib/actions-_-g7Idem.cjs.map +0 -1
  929. package/lib/actions-d_uq5P1L.d.cts +0 -41
  930. package/lib/add-flag-target-options.interface-DboHvXBu.d.cts +0 -8
  931. package/lib/api-key-required.exception-BOy1dF_S.d.cts +0 -10
  932. package/lib/api-key.interface-BHBINSO0.d.cts +0 -32
  933. package/lib/api-key.serializer-C50uuFpr.d.cts +0 -7
  934. package/lib/api-keys-mDyp4q6k.d.cts +0 -704
  935. package/lib/app-info.interface-C9ji_GUR.d.cts +0 -8
  936. package/lib/audit-log-export-options.interface-leXX6r-l.d.cts +0 -22
  937. package/lib/audit-log-export-options.serializer-Dvk0Vdn_.d.cts +0 -7
  938. package/lib/audit-log-export.interface-BOAyjgev.d.cts +0 -20
  939. package/lib/audit-log-export.serializer-DFqm5z_A.d.cts +0 -7
  940. package/lib/authenticate-with-code-and-verifier-options.interface-iYkG5mK5.d.cts +0 -17
  941. package/lib/authenticate-with-code-and-verifier-options.serializer-CooMcqC8.d.cts +0 -8
  942. package/lib/authenticate-with-code-options.interface-DQJr1pXz.d.cts +0 -20
  943. package/lib/authenticate-with-code-options.serializer-DfPtLDiz.d.cts +0 -8
  944. package/lib/authenticate-with-email-verification-options.interface-CrR9oRqC.d.cts +0 -18
  945. package/lib/authenticate-with-magic-auth-options.interface-CpVi8mtn.d.cts +0 -22
  946. package/lib/authenticate-with-magic-auth-options.serializer-B77kBerw.d.cts +0 -8
  947. package/lib/authenticate-with-options-base.interface-2DXtG4VP.d.cts +0 -41
  948. package/lib/authenticate-with-organization-selection.interface-BsFnw663.d.cts +0 -18
  949. package/lib/authenticate-with-password-options.interface-C96-JI_J.d.cts +0 -20
  950. package/lib/authenticate-with-password-options.serializer-Cu_SGAgE.d.cts +0 -8
  951. package/lib/authenticate-with-refresh-token-options.interface-CM1TufRB.d.cts +0 -18
  952. package/lib/authenticate-with-refresh-token-public-client-options.interface-D7hLjjWc.d.cts +0 -16
  953. package/lib/authenticate-with-refresh-token-public-client-options.serializer-BDGklXEB.d.cts +0 -8
  954. package/lib/authenticate-with-refresh-token.options.serializer-BnSt0VcK.d.cts +0 -9
  955. package/lib/authenticate-with-session-cookie.interface-tn2KA4cA.d.cts +0 -45
  956. package/lib/authenticate-with-totp-options.interface-16qWKCD0.d.cts +0 -20
  957. package/lib/authenticate-with-totp-options.serializer-CpfE1aHW.d.cts +0 -8
  958. package/lib/authentication-event.interface-B2DjMTcP.d.cts +0 -28
  959. package/lib/authentication-event.serializer-B2f7AREO.d.cts +0 -7
  960. package/lib/authentication-radar-risk-detected-event.interface-WzOM1Ikg.d.cts +0 -24
  961. package/lib/authentication-response.interface-DsUweGqC.d.cts +0 -28
  962. package/lib/authentication-response.serializer-Cvgyw-Ny.d.cts +0 -7
  963. package/lib/authorization-url-options.interface-ZrBipUt2.d.cts +0 -55
  964. package/lib/authorization-url-options.interface-eEOWfbHw.d.cts +0 -45
  965. package/lib/bad-request.exception-Dt5w75jb.d.cts +0 -25
  966. package/lib/base64-BROQtK6X.cjs +0 -44
  967. package/lib/base64-BROQtK6X.cjs.map +0 -1
  968. package/lib/batch-write-resources-options.serializer-BxUrYV3Z.d.cts +0 -7
  969. package/lib/batch-write-resources-options.serializer-CffA5DfH.cjs +0 -23
  970. package/lib/batch-write-resources-options.serializer-CffA5DfH.cjs.map +0 -1
  971. package/lib/challenge-factor-options-pbaZ9sT0.d.cts +0 -10
  972. package/lib/challenge.interface-BRyoywSw.d.cts +0 -22
  973. package/lib/challenge.serializer-DuO1FONN.d.cts +0 -7
  974. package/lib/check-op.enum-4IPdgcR_.cjs +0 -16
  975. package/lib/check-op.enum-4IPdgcR_.cjs.map +0 -1
  976. package/lib/check-op.enum-BxjDvXvG.d.cts +0 -8
  977. package/lib/check-options.serializer-B72dqHn5.cjs +0 -69
  978. package/lib/check-options.serializer-B72dqHn5.cjs.map +0 -1
  979. package/lib/check-options.serializer-BaiGXU5C.d.cts +0 -9
  980. package/lib/check.interface-BdAPzYtJ.d.cts +0 -88
  981. package/lib/check.interface-WnywQ3Nn.cjs +0 -33
  982. package/lib/check.interface-WnywQ3Nn.cjs.map +0 -1
  983. package/lib/conflict.exception-D66_QI9c.cjs +0 -23
  984. package/lib/conflict.exception-D66_QI9c.cjs.map +0 -1
  985. package/lib/connection-type.enum-CZfRWY9b.cjs +0 -49
  986. package/lib/connection-type.enum-CZfRWY9b.cjs.map +0 -1
  987. package/lib/connection-type.enum-CjWDQ5dq.d.cts +0 -41
  988. package/lib/connection.interface-DV7VmsKj.d.cts +0 -33
  989. package/lib/connection.serializer-Biy7KKu3.d.cts +0 -7
  990. package/lib/create-audit-log-event-options.interface-Cwth3loK.d.cts +0 -43
  991. package/lib/create-audit-log-event-options.serializer-DAT6w82I.d.cts +0 -7
  992. package/lib/create-audit-log-schema-options.interface-OCEBwyPY.d.cts +0 -67
  993. package/lib/create-audit-log-schema-options.serializer-Nxw9eaic.d.cts +0 -7
  994. package/lib/create-audit-log-schema.serializer-DHzQ5j3s.d.cts +0 -7
  995. package/lib/create-data-key.interface-B8yGESmB.d.cts +0 -15
  996. package/lib/create-magic-auth-options.interface-DK-rMcbs.d.cts +0 -12
  997. package/lib/create-magic-auth-options.serializer-C3YLOz8M.d.cts +0 -7
  998. package/lib/create-object.interface-BeH56LqJ.d.cts +0 -16
  999. package/lib/create-organization-api-key-options.serializer-BsRjnrYe.d.cts +0 -7
  1000. package/lib/create-organization-domain-options.interface-CYOQi45i.d.cts +0 -12
  1001. package/lib/create-organization-membership-options.interface-D_ChTOCZ.d.cts +0 -16
  1002. package/lib/create-organization-options.serializer-BP9YqXCb.d.cts +0 -7
  1003. package/lib/create-password-reset-options.interface-FlupefEp.d.cts +0 -10
  1004. package/lib/create-password-reset-options.serializer-BXKZ6exA.d.cts +0 -7
  1005. package/lib/create-passwordless-session-options.interface-DRRdook4.d.cts +0 -20
  1006. package/lib/create-resource-options.serializer-CW1mImuQ.cjs +0 -17
  1007. package/lib/create-resource-options.serializer-CW1mImuQ.cjs.map +0 -1
  1008. package/lib/create-resource-options.serializer-x9S7UBJu.d.cts +0 -7
  1009. package/lib/create-user-options.interface-D_FyRPT6.d.cts +0 -28
  1010. package/lib/create-user-options.serializer-DbOQgaMH.d.cts +0 -7
  1011. package/lib/created-api-key.interface-DJC0Hbil.d.cts +0 -34
  1012. package/lib/created-api-key.serializer-CUESZReh.d.cts +0 -7
  1013. package/lib/crypto-provider-DHQpgiJI.cjs +0 -18
  1014. package/lib/crypto-provider-DHQpgiJI.cjs.map +0 -1
  1015. package/lib/crypto-provider-xt721c-E.d.cts +0 -75
  1016. package/lib/decrypt-data-key.interface-BMyadMdM.d.cts +0 -11
  1017. package/lib/delete-object.interface-VOtMiRor.d.cts +0 -7
  1018. package/lib/delete-resource-options.serializer-1OtbZ7Xw.cjs +0 -16
  1019. package/lib/delete-resource-options.serializer-1OtbZ7Xw.cjs.map +0 -1
  1020. package/lib/delete-resource-options.serializer-DXYb24lH.d.cts +0 -7
  1021. package/lib/directory-group.interface-BXhORoZV.d.cts +0 -24
  1022. package/lib/directory-group.serializer-CTJJy0Kb.d.cts +0 -8
  1023. package/lib/directory-user.interface-B0cSpVBk.d.cts +0 -48
  1024. package/lib/directory-user.serializer-CotaPd_A.d.cts +0 -9
  1025. package/lib/directory.interface-CKBneEhg.d.cts +0 -60
  1026. package/lib/directory.serializer-BhYUCxaX.d.cts +0 -10
  1027. package/lib/domain-data.interface-jRo-qP_g.cjs +0 -16
  1028. package/lib/domain-data.interface-jRo-qP_g.cjs.map +0 -1
  1029. package/lib/domain-data.interface-pTi_WT5Q.d.cts +0 -12
  1030. package/lib/email-verification.interface-CAc4zz7F.d.cts +0 -42
  1031. package/lib/email-verification.serializer-C_AlrH3-.d.cts +0 -8
  1032. package/lib/enroll-auth-factor-options.serializer-BZEtsmCx.d.cts +0 -7
  1033. package/lib/enroll-auth-factor.interface-BtYeuUBZ.d.cts +0 -17
  1034. package/lib/enroll-factor-options-CmyPkn2h.d.cts +0 -14
  1035. package/lib/event.serializer-D7YBgSw3.d.cts +0 -7
  1036. package/lib/event.serializer-DDxhlKpU.cjs +0 -180
  1037. package/lib/event.serializer-DDxhlKpU.cjs.map +0 -1
  1038. package/lib/events-DznbKxXA.cjs +0 -23
  1039. package/lib/events-DznbKxXA.cjs.map +0 -1
  1040. package/lib/factor.interface-Dsk_wYCN.d.cts +0 -44
  1041. package/lib/factor.interface-DyQxGS-X.d.cts +0 -42
  1042. package/lib/factor.serializer-B6Y-wFb5.d.cts +0 -8
  1043. package/lib/factor.serializer-UAz7NTzS.d.cts +0 -8
  1044. package/lib/factory-C447nn53.cjs +0 -15
  1045. package/lib/factory-C447nn53.cjs.map +0 -1
  1046. package/lib/feature-flag.interface-Btv6VfMI.d.cts +0 -28
  1047. package/lib/feature-flag.serializer-dWnsMPwY.d.cts +0 -7
  1048. package/lib/feature-flags-Be_HjF1A.cjs +0 -42
  1049. package/lib/feature-flags-Be_HjF1A.cjs.map +0 -1
  1050. package/lib/fetch-and-deserialize-list-BxNZs_lh.cjs +0 -19
  1051. package/lib/fetch-and-deserialize-list-BxNZs_lh.cjs.map +0 -1
  1052. package/lib/fetch-client-DdnJdHyo.cjs +0 -178
  1053. package/lib/fetch-client-DdnJdHyo.cjs.map +0 -1
  1054. package/lib/fga-BzThcM6n.cjs +0 -83
  1055. package/lib/fga-BzThcM6n.cjs.map +0 -1
  1056. package/lib/fga-paginatable-DEDsjb3U.cjs +0 -22
  1057. package/lib/fga-paginatable-DEDsjb3U.cjs.map +0 -1
  1058. package/lib/fga-paginatable-dk4rWGGN.d.cts +0 -14
  1059. package/lib/generate-portal-link-intent.interface-BhUMhTmF.d.cts +0 -12
  1060. package/lib/generate-portal-link-intent.interface-D-_01JcM.cjs +0 -20
  1061. package/lib/generate-portal-link-intent.interface-D-_01JcM.cjs.map +0 -1
  1062. package/lib/generic-server.exception-DcQ8s8I4.d.cts +0 -14
  1063. package/lib/get-access-token.interface-CWupD3RW.d.cts +0 -32
  1064. package/lib/get-options.interface-DAECfi3y.d.cts +0 -11
  1065. package/lib/get-profile-and-token-options.interface-CgiTXQNg.d.cts +0 -14
  1066. package/lib/get-profile-options.interface-CF_TcBM6.d.cts +0 -7
  1067. package/lib/get-token-BN39vk9z.cjs +0 -23
  1068. package/lib/get-token-BN39vk9z.cjs.map +0 -1
  1069. package/lib/get-token-DzJWaKpa.d.cts +0 -23
  1070. package/lib/http-client-B9cq9YMH.d.cts +0 -54
  1071. package/lib/http-client-BLYDc7_a.cjs +0 -96
  1072. package/lib/http-client-BLYDc7_a.cjs.map +0 -1
  1073. package/lib/http-client.interface-B_lhFBGb.d.cts +0 -24
  1074. package/lib/identity.interface-QfHtZhoz.d.cts +0 -14
  1075. package/lib/impersonator.interface-Vr4-B1pz.d.cts +0 -12
  1076. package/lib/index-CovDHv7q.d.cts +0 -557
  1077. package/lib/index-SnTQxaLp.d.cts +0 -1
  1078. package/lib/index-hRUJhHRh.d.cts +0 -1
  1079. package/lib/index-kVnxSapa.d.cts +0 -1
  1080. package/lib/interface-check-Cq-1Jdi8.cjs +0 -23
  1081. package/lib/interface-check-Cq-1Jdi8.cjs.map +0 -1
  1082. package/lib/invitation.interface-BQMsYCSZ.d.cts +0 -64
  1083. package/lib/invitation.serializer-D7GsMvuH.d.cts +0 -8
  1084. package/lib/jose-D0f0CVnA.cjs +0 -27
  1085. package/lib/jose-D0f0CVnA.cjs.map +0 -1
  1086. package/lib/key.interface-lG6YylXY.d.cts +0 -16
  1087. package/lib/leb128-DgwAOCuj.cjs +0 -82
  1088. package/lib/leb128-DgwAOCuj.cjs.map +0 -1
  1089. package/lib/list-connections-options.interface-C_4eo9BU.d.cts +0 -17
  1090. package/lib/list-connections-options.serializer-DfJliOZZ.d.cts +0 -7
  1091. package/lib/list-directories-options.interface-B_Or3OFG.d.cts +0 -14
  1092. package/lib/list-directories-options.serializer-C2zUlVDI.d.cts +0 -7
  1093. package/lib/list-directory-users-options.interface-C7vYk_oi.d.cts +0 -10
  1094. package/lib/list-event-options.serializer-JusR1KRI.d.cts +0 -7
  1095. package/lib/list-events-options.interface-CD82jAU0.d.cts +0 -22
  1096. package/lib/list-feature-flags-options.interface-TNRLg_eE.d.cts +0 -7
  1097. package/lib/list-groups-options.interface-DSOFN2vw.d.cts +0 -10
  1098. package/lib/list-object-versions.interface-Bcum-UM6.d.cts +0 -12
  1099. package/lib/list-objects.interface-3h292QrX.d.cts +0 -9
  1100. package/lib/list-organization-api-keys-options.interface-BHiZwa0X.d.cts +0 -9
  1101. package/lib/list-organization-feature-flags-options.interface-lBZ9xl9J.d.cts +0 -9
  1102. package/lib/list-organization-roles-options.interface-CDmO2AJ9.d.cts +0 -7
  1103. package/lib/list-organizations-options.interface-fSvcaRDB.d.cts +0 -9
  1104. package/lib/list-resources-options.serializer-B01VCK2u.d.cts +0 -7
  1105. package/lib/list-resources-options.serializer-DGgWhS-1.cjs +0 -19
  1106. package/lib/list-resources-options.serializer-DGgWhS-1.cjs.map +0 -1
  1107. package/lib/list-sessions-options.interface-B2gN9ZV4.d.cts +0 -8
  1108. package/lib/list-sessions-options.serializer-BZDbMjgP.d.cts +0 -7
  1109. package/lib/list-users-options.interface-D2fACxr-.d.cts +0 -14
  1110. package/lib/list-warrants-options.serializer-BsPCfAmS.d.cts +0 -7
  1111. package/lib/list-warrants-options.serializer-DajLG33H.cjs +0 -21
  1112. package/lib/list-warrants-options.serializer-DajLG33H.cjs.map +0 -1
  1113. package/lib/list.interface-BA88zMzn.d.cts +0 -13
  1114. package/lib/list.interface-D5DXp24q.d.cts +0 -20
  1115. package/lib/list.serializer-Bz6Gh8tU.cjs +0 -17
  1116. package/lib/list.serializer-Bz6Gh8tU.cjs.map +0 -1
  1117. package/lib/list.serializer-Du5A8dpa.d.cts +0 -7
  1118. package/lib/list.serializer-mTuQPSVS.d.cts +0 -10
  1119. package/lib/logout-url-options.interface-CE3bWJ1r.d.cts +0 -8
  1120. package/lib/magic-auth.interface-DHluxaz0.d.cts +0 -42
  1121. package/lib/magic-auth.serializer-C2zJUZve.d.cts +0 -8
  1122. package/lib/no-api-key-provided.exception-C7hM-2nF.d.cts +0 -9
  1123. package/lib/not-found.exception-Dx6q9fB_.d.cts +0 -24
  1124. package/lib/oauth-tokens.interface-BnEjos_G.d.cts +0 -16
  1125. package/lib/oauth.exception-CevJbHCU.d.cts +0 -15
  1126. package/lib/object.interface-DK7EXEsK.d.cts +0 -35
  1127. package/lib/organization-domain.interface-CrAOoSPo.d.cts +0 -35
  1128. package/lib/organization-domain.interface-F741XB-4.cjs +0 -28
  1129. package/lib/organization-domain.interface-F741XB-4.cjs.map +0 -1
  1130. package/lib/organization-membership.interface-ERgG2p4e.d.cts +0 -31
  1131. package/lib/organization-membership.serializer-CYvdEErJ.cjs +0 -23
  1132. package/lib/organization-membership.serializer-CYvdEErJ.cjs.map +0 -1
  1133. package/lib/organization.interface-i6mWA3uA.d.cts +0 -30
  1134. package/lib/organization.serializer-BLDEzQ1R.d.cts +0 -7
  1135. package/lib/organizations-D95AsD1T.cjs +0 -70
  1136. package/lib/organizations-D95AsD1T.cjs.map +0 -1
  1137. package/lib/pagination-CJNMwJck.d.cts +0 -25
  1138. package/lib/pagination-options.interface-Dan4Zh3s.d.cts +0 -10
  1139. package/lib/parse-error-Bbj9GQ8a.cjs +0 -24
  1140. package/lib/parse-error-Bbj9GQ8a.cjs.map +0 -1
  1141. package/lib/password-hash-type.interface-CxNrEyUW.d.cts +0 -5
  1142. package/lib/password-reset.interface-ClJw8CpQ.d.cts +0 -40
  1143. package/lib/password-reset.serializer-b_eJxueA.d.cts +0 -8
  1144. package/lib/passwordless-session.interface-DNuCWNwX.d.cts +0 -18
  1145. package/lib/pkce-CjBivwLM.d.cts +0 -38
  1146. package/lib/post-options.interface-BPsfRqbS.d.cts +0 -13
  1147. package/lib/profile-and-token.interface-ZhaI1B_G.d.cts +0 -18
  1148. package/lib/profile-and-token.serializer-jvVxElaa.d.cts +0 -8
  1149. package/lib/profile.interface-CPseQwyu.d.cts +0 -42
  1150. package/lib/profile.serializer-DdojQSTs.d.cts +0 -8
  1151. package/lib/put-options.interface-CZQMFl9I.d.cts +0 -12
  1152. package/lib/query-options.serializer-D8fa8ATB.cjs +0 -19
  1153. package/lib/query-options.serializer-D8fa8ATB.cjs.map +0 -1
  1154. package/lib/query-options.serializer-Diz_h8yQ.d.cts +0 -7
  1155. package/lib/query-result.serializer-CNtZi5XJ.cjs +0 -28
  1156. package/lib/query-result.serializer-CNtZi5XJ.cjs.map +0 -1
  1157. package/lib/query-result.serializer-PmDR_3q_.d.cts +0 -12
  1158. package/lib/query.interface-CRFxU55p.d.cts +0 -35
  1159. package/lib/rate-limit-exceeded.exception-BIPgOZUD.d.cts +0 -18
  1160. package/lib/read-object.interface-BB42mvW3.d.cts +0 -25
  1161. package/lib/refresh-and-seal-session-data.interface-CseekR4v.cjs +0 -19
  1162. package/lib/refresh-and-seal-session-data.interface-CseekR4v.cjs.map +0 -1
  1163. package/lib/refresh-and-seal-session-data.interface-Dj5I8yeH.d.cts +0 -24
  1164. package/lib/remove-flag-target-options.interface-GeGGkSC5.d.cts +0 -8
  1165. package/lib/request-exception.interface-BmJyrOWP.d.cts +0 -9
  1166. package/lib/reset-password-options.interface-CLFu671o.d.cts +0 -12
  1167. package/lib/reset-password-options.serializer-CHPuZk8c.d.cts +0 -7
  1168. package/lib/resource-op.enum-B88boilW.cjs +0 -16
  1169. package/lib/resource-op.enum-B88boilW.cjs.map +0 -1
  1170. package/lib/resource-op.enum-DvX5Qafv.d.cts +0 -8
  1171. package/lib/resource.interface-DoGgkV2d.d.cts +0 -77
  1172. package/lib/resource.serializer-BPTEBds3.d.cts +0 -8
  1173. package/lib/resource.serializer-D7crN0bg.cjs +0 -25
  1174. package/lib/resource.serializer-D7crN0bg.cjs.map +0 -1
  1175. package/lib/response-payload.interface-CC-y4Nv6.d.cts +0 -26
  1176. package/lib/revoke-session-options.interface-VAEw2kUV.d.cts +0 -11
  1177. package/lib/role.interface-BfMq5Bju.d.cts +0 -51
  1178. package/lib/runtime-info-tyLXDYg5.cjs +0 -56
  1179. package/lib/runtime-info-tyLXDYg5.cjs.map +0 -1
  1180. package/lib/send-invitation-options.interface-BfUo_y42.d.cts +0 -18
  1181. package/lib/send-invitation-options.serializer-DW0HMDNN.cjs +0 -18
  1182. package/lib/send-invitation-options.serializer-DW0HMDNN.cjs.map +0 -1
  1183. package/lib/send-session-response.interface-B5S6VASb.d.cts +0 -8
  1184. package/lib/send-verification-email-options.interface-I508oiKZ.d.cts +0 -7
  1185. package/lib/session-9omTtyoD.cjs +0 -144
  1186. package/lib/session-9omTtyoD.cjs.map +0 -1
  1187. package/lib/session-handler-options.interface-DxF6E6ug.d.cts +0 -9
  1188. package/lib/session.interface-BL6GFmCP.d.cts +0 -38
  1189. package/lib/session.serializer-DfnhKR5i.d.cts +0 -7
  1190. package/lib/signature-verification.exception-Bdz2blO4.d.cts +0 -8
  1191. package/lib/sms.interface-CCvvcYpl.d.cts +0 -10
  1192. package/lib/subtle-crypto-provider-B-Ywls_E.cjs +0 -99
  1193. package/lib/subtle-crypto-provider-B-Ywls_E.cjs.map +0 -1
  1194. package/lib/totp.interface-DYAiNCIp.d.cts +0 -22
  1195. package/lib/unauthorized.exception-BfjoWRNu.d.cts +0 -13
  1196. package/lib/unknown-record.interface-BeldI97Y.d.cts +0 -5
  1197. package/lib/unprocessable-entity-error.interface-Cetcw8CZ.d.cts +0 -8
  1198. package/lib/unprocessable-entity.exception-Bfdn63On.d.cts +0 -25
  1199. package/lib/unreachable-BhX3Wm6O.cjs +0 -23
  1200. package/lib/unreachable-BhX3Wm6O.cjs.map +0 -1
  1201. package/lib/update-object.interface-DSpX1DVE.d.cts +0 -13
  1202. package/lib/update-organization-membership-options.interface-dgLTrwtU.d.cts +0 -12
  1203. package/lib/update-organization-membership-options.serializer-CMMOZfnN.cjs +0 -15
  1204. package/lib/update-organization-membership-options.serializer-CMMOZfnN.cjs.map +0 -1
  1205. package/lib/update-organization-options.interface-BsgwfPaF.d.cts +0 -21
  1206. package/lib/update-organization-options.serializer-5Out0brr.d.cts +0 -7
  1207. package/lib/update-user-options.interface-aM2-YVW5.d.cts +0 -31
  1208. package/lib/update-user-options.serializer-6lvzxDwS.d.cts +0 -7
  1209. package/lib/update-user-password-options.interface-Buytvx58.d.cts +0 -11
  1210. package/lib/update-user-password-options.serializer-D35YAk--.d.cts +0 -7
  1211. package/lib/user-management-B-wNbU8Q.cjs +0 -538
  1212. package/lib/user-management-B-wNbU8Q.cjs.map +0 -1
  1213. package/lib/user.interface-Dw_0nNpw.d.cts +0 -34
  1214. package/lib/user.serializer-DJ3rbRrA.d.cts +0 -7
  1215. package/lib/validate-api-key.interface-TBdiN_K_.d.cts +0 -15
  1216. package/lib/validate-api-key.serializer-DJFc2ovX.d.cts +0 -7
  1217. package/lib/vault-BlHYnRoU.cjs +0 -106
  1218. package/lib/vault-BlHYnRoU.cjs.map +0 -1
  1219. package/lib/vault-key.serializer-eYptLXG-.cjs +0 -29
  1220. package/lib/vault-key.serializer-eYptLXG-.cjs.map +0 -1
  1221. package/lib/vault-object.serializer-BZEXkPbG.cjs +0 -84
  1222. package/lib/vault-object.serializer-BZEXkPbG.cjs.map +0 -1
  1223. package/lib/verify-challenge-options-CbIfj-xU.d.cts +0 -8
  1224. package/lib/verify-challenge-response-BmtVdUEW.d.cts +0 -14
  1225. package/lib/verify-email-options.interface-C84HHtMI.d.cts +0 -11
  1226. package/lib/verify-response.serializer-BzA1MzhA.d.cts +0 -7
  1227. package/lib/warning.interface-CSsg4mki.d.cts +0 -13
  1228. package/lib/warrant-op.enum-DlS3mxL5.d.cts +0 -8
  1229. package/lib/warrant-op.enum-GglqG3OS.cjs +0 -16
  1230. package/lib/warrant-op.enum-GglqG3OS.cjs.map +0 -1
  1231. package/lib/warrant-token.interface-R40zmb_I.d.cts +0 -10
  1232. package/lib/warrant-token.serializer-5-8n-V0R.d.cts +0 -7
  1233. package/lib/warrant-token.serializer-DcPHu0QA.cjs +0 -12
  1234. package/lib/warrant-token.serializer-DcPHu0QA.cjs.map +0 -1
  1235. package/lib/warrant.interface-BTyeqwIZ.d.cts +0 -71
  1236. package/lib/warrant.serializer-CoOLXomy.cjs +0 -22
  1237. package/lib/warrant.serializer-CoOLXomy.cjs.map +0 -1
  1238. package/lib/warrant.serializer-gpAVldox.d.cts +0 -7
  1239. package/lib/webhooks-Cg-vwv-K.cjs +0 -38
  1240. package/lib/webhooks-Cg-vwv-K.cjs.map +0 -1
  1241. package/lib/webhooks-Cu--UoJt.d.cts +0 -35
  1242. package/lib/widgets-DgRdyRWv.cjs +0 -21
  1243. package/lib/widgets-DgRdyRWv.cjs.map +0 -1
  1244. package/lib/workos-Q8jFdPPy.cjs +0 -306
  1245. package/lib/workos-Q8jFdPPy.cjs.map +0 -1
  1246. package/lib/workos-options.interface-UI0n58Db.d.cts +0 -17
  1247. package/lib/workos-response-error.interface-BWAYi8L4.d.cts +0 -13
  1248. package/lib/write-warrant-options.serializer-ZEtUaK3t.cjs +0 -26
  1249. package/lib/write-warrant-options.serializer-ZEtUaK3t.cjs.map +0 -1
  1250. package/lib/write-warrant-options.serializer-sFJLAscw.d.cts +0 -7
  1251. /package/lib/{action.interface-CkOAE1pY.cjs → action.interface-Cp_zjlbq.cjs} +0 -0
  1252. /package/lib/{add-flag-target-options.interface-dMGv3yj3.cjs → add-environment-role-permission-options.interface-Iu9Ch9C8.cjs} +0 -0
  1253. /package/lib/{api-key.interface-Dp44lU0l.cjs → add-flag-target-options.interface-DIrECf_q.cjs} +0 -0
  1254. /package/lib/{audit-log-export-options.interface-C0qji-yn.cjs → add-organization-role-permission-options.interface-CaoNd2oC.cjs} +0 -0
  1255. /package/lib/{audit-log-export.interface-L9dgSkYy.cjs → api-key.interface-CKbSjD5i.cjs} +0 -0
  1256. /package/lib/{authenticate-with-code-and-verifier-options.interface-BYx47_xz.cjs → audit-log-export-options.interface-DnLNNH69.cjs} +0 -0
  1257. /package/lib/{authenticate-with-code-options.interface-BopjXJqx.cjs → audit-log-export.interface-C-vo0He0.cjs} +0 -0
  1258. /package/lib/{authenticate-with-email-verification-options.interface-BHYcF7qE.cjs → authenticate-with-code-and-verifier-options.interface-Dx_BHLhw.cjs} +0 -0
  1259. /package/lib/{authenticate-with-magic-auth-options.interface-D4f0rE9c.cjs → authenticate-with-code-options.interface-R6K1Vhe2.cjs} +0 -0
  1260. /package/lib/{authenticate-with-options-base.interface-DON2cMpD.cjs → authenticate-with-email-verification-options.interface-B5rAPOaX.cjs} +0 -0
  1261. /package/lib/{authenticate-with-organization-selection.interface-7wYlcuE4.cjs → authenticate-with-magic-auth-options.interface-BN61GmkA.cjs} +0 -0
  1262. /package/lib/{authenticate-with-password-options.interface-BhYKWEov.cjs → authenticate-with-options-base.interface-OnfF-7oV.cjs} +0 -0
  1263. /package/lib/{authenticate-with-refresh-token-options.interface-DHIVPm61.cjs → authenticate-with-organization-selection.interface-DW-NpTwE.cjs} +0 -0
  1264. /package/lib/{authenticate-with-refresh-token-public-client-options.interface-CkimjQl3.cjs → authenticate-with-password-options.interface-Cyd9Mg9f.cjs} +0 -0
  1265. /package/lib/{authenticate-with-totp-options.interface-BIrXLPem.cjs → authenticate-with-refresh-token-options.interface-DtToMftX.cjs} +0 -0
  1266. /package/lib/{authentication-event.interface-EapgQlPG.cjs → authenticate-with-refresh-token-public-client-options.interface-BosOmcNC.cjs} +0 -0
  1267. /package/lib/{authentication-radar-risk-detected-event.interface-BKZBuc9D.cjs → authenticate-with-totp-options.interface-NZ3FlPUp.cjs} +0 -0
  1268. /package/lib/{authentication-response.interface-Bdr_R5sj.cjs → authentication-event.interface-D2d3yA2C.cjs} +0 -0
  1269. /package/lib/{authorization-url-options.interface-C6Y5Gwm7.cjs → authentication-radar-risk-detected-event.interface-CUQwIbCE.cjs} +0 -0
  1270. /package/lib/{authorization-url-options.interface-Cjohf5tR.cjs → authentication-response.interface-DDQn5MT0.cjs} +0 -0
  1271. /package/lib/{create-audit-log-schema-options.interface-Bbg2hLgB.cjs → authorization/interfaces/add-environment-role-permission-options.interface.cjs} +0 -0
  1272. /package/lib/{create-data-key.interface-gbc99HQ1.cjs → authorization/interfaces/add-organization-role-permission-options.interface.cjs} +0 -0
  1273. /package/lib/{create-magic-auth-options.interface-De9IkCQF.cjs → authorization/interfaces/create-environment-role-options.interface.cjs} +0 -0
  1274. /package/lib/{create-object.interface-CSsrC5NL.cjs → authorization/interfaces/create-organization-role-options.interface.cjs} +0 -0
  1275. /package/lib/{create-organization-api-key-options.interface-9iLvdEx0.cjs → authorization/interfaces/create-permission-options.interface.cjs} +0 -0
  1276. /package/lib/{create-organization-domain-options.interface-D1Ttuqb6.cjs → authorization/interfaces/environment-role.interface.cjs} +0 -0
  1277. /package/lib/{create-organization-membership-options.interface-CBXXA0Gm.cjs → authorization/interfaces/index.cjs} +0 -0
  1278. /package/lib/{create-organization-options.interface-D7xVl5sq.cjs → authorization/interfaces/list-permissions-options.interface.cjs} +0 -0
  1279. /package/lib/{create-password-reset-options.interface-B2Rw4p5_.cjs → authorization/interfaces/organization-role.interface.cjs} +0 -0
  1280. /package/lib/{create-passwordless-session-options.interface-B1BOSDIV.cjs → authorization/interfaces/permission.interface.cjs} +0 -0
  1281. /package/lib/{create-user-options.interface-CX80nkXN.cjs → authorization/interfaces/remove-organization-role-permission-options.interface.cjs} +0 -0
  1282. /package/lib/{created-api-key.interface-DkHwRpkj.cjs → authorization/interfaces/set-environment-role-permissions-options.interface.cjs} +0 -0
  1283. /package/lib/{decrypt-data-key.interface-BpqQk6v6.cjs → authorization/interfaces/set-organization-role-permissions-options.interface.cjs} +0 -0
  1284. /package/lib/{delete-object.interface-DXRirEIi.cjs → authorization/interfaces/update-environment-role-options.interface.cjs} +0 -0
  1285. /package/lib/{directory-group.interface-B4ic7sA3.cjs → authorization/interfaces/update-organization-role-options.interface.cjs} +0 -0
  1286. /package/lib/{directory-user.interface-Ci4KBF1c.cjs → authorization/interfaces/update-permission-options.interface.cjs} +0 -0
  1287. /package/lib/{connection.interface-CSyly4pO.cjs → authorization-url-options.interface-C9Fxv_7o.cjs} +0 -0
  1288. /package/lib/{create-audit-log-event-options.interface-CbozGiMJ.cjs → authorization-url-options.interface-CpQQiakb.cjs} +0 -0
  1289. /package/lib/{directory.interface-DZqZAP7j.cjs → common/interfaces/patch-options.interface.cjs} +0 -0
  1290. /package/lib/{email-verification.interface-B9puXDAs.cjs → connection.interface-Bizso5vL.cjs} +0 -0
  1291. /package/lib/{enroll-auth-factor.interface-cLereKiZ.cjs → create-audit-log-event-options.interface-CV4irZpp.cjs} +0 -0
  1292. /package/lib/{event.interface-DQMKDuc9.cjs → create-audit-log-schema-options.interface-CAfKAjBf.cjs} +0 -0
  1293. /package/lib/{factor.interface-Uxx5A9bu.cjs → create-data-key.interface-C2-NUWkZ.cjs} +0 -0
  1294. /package/lib/{feature-flag.interface-Ug-r9a4Y.cjs → create-environment-role-options.interface-kC_uHnZl.cjs} +0 -0
  1295. /package/lib/{get-options.interface-C2z2r1ix.cjs → create-magic-auth-options.interface-DUm3MfqV.cjs} +0 -0
  1296. /package/lib/{get-profile-and-token-options.interface-DI-Q8ebI.cjs → create-object.interface-jufKIYD_.cjs} +0 -0
  1297. /package/lib/{get-profile-options.interface-DjUysY00.cjs → create-organization-api-key-options.interface-DneHi7Es.cjs} +0 -0
  1298. /package/lib/{http-client.interface-DVx4DGRo.cjs → create-organization-domain-options.interface-9xVPDedq.cjs} +0 -0
  1299. /package/lib/{identity.interface-pMR3VyDs.cjs → create-organization-membership-options.interface-D6p-ZR1H.cjs} +0 -0
  1300. /package/lib/{impersonator.interface-C8ENsrgh.cjs → create-organization-options.interface-BQ-ynkFt.cjs} +0 -0
  1301. /package/lib/{interfaces-BOHKsPOz.cjs → create-organization-role-options.interface-BZevKU9l.cjs} +0 -0
  1302. /package/lib/{interfaces-BSEjYu3J.cjs → create-password-reset-options.interface-BwbNVK63.cjs} +0 -0
  1303. /package/lib/{interfaces-D9mIJVCc.cjs → create-passwordless-session-options.interface-CUwrUUes.cjs} +0 -0
  1304. /package/lib/{interfaces-D_qyT71O.cjs → create-permission-options.interface-gNV8L40W.cjs} +0 -0
  1305. /package/lib/{interfaces-hquSk6kj.cjs → create-user-options.interface-B1BsHBrW.cjs} +0 -0
  1306. /package/lib/{interfaces-lw3tA1Ig.cjs → created-api-key.interface-B9LIbGZn.cjs} +0 -0
  1307. /package/lib/{invitation.interface-DuJQvENh.cjs → decrypt-data-key.interface-CC8-x3bk.cjs} +0 -0
  1308. /package/lib/{key.interface-fwN2JSVT.cjs → delete-object.interface-maVx6Sss.cjs} +0 -0
  1309. /package/lib/{list-auth-factors-options.interface-C_MNm3jN.cjs → directory-group.interface-fI3Q18_V.cjs} +0 -0
  1310. /package/lib/{list-connections-options.interface-YNk1YDor.cjs → directory-user.interface-BDg3vEue.cjs} +0 -0
  1311. /package/lib/{list-directories-options.interface-CI0d7UHw.cjs → directory.interface-BtqM2Oqa.cjs} +0 -0
  1312. /package/lib/{list-directory-users-options.interface-B-cXq46X.cjs → email-verification.interface-ChKIDS-L.cjs} +0 -0
  1313. /package/lib/{list-events-options.interface-C8jfNxm0.cjs → enroll-auth-factor.interface-CW5tMY5z.cjs} +0 -0
  1314. /package/lib/{list-feature-flags-options.interface-CfqDXcyU.cjs → environment-role.interface-B1gHSYUW.cjs} +0 -0
  1315. /package/lib/{list-groups-options.interface-XF1YACqA.cjs → event.interface-DJog_FVt.cjs} +0 -0
  1316. /package/lib/{list-invitations-options.interface-BVUPp5YW.cjs → factor.interface-DXV18z-y.cjs} +0 -0
  1317. /package/lib/{list-object-versions.interface-RY6pD26h.cjs → feature-flag.interface-zWuZQ0AN.cjs} +0 -0
  1318. /package/lib/{list-objects.interface-Bp30QMX7.cjs → get-options.interface-PWSxSJWf.cjs} +0 -0
  1319. /package/lib/{list-organization-api-keys-options.interface-CHwMsqCG.cjs → get-profile-and-token-options.interface-B4AIgzHK.cjs} +0 -0
  1320. /package/lib/{list-organization-feature-flags-options.interface-BBYYH_hi.cjs → get-profile-options.interface-BL-ae6kv.cjs} +0 -0
  1321. /package/lib/{list-organization-memberships-options.interface-OSYPLSDa.cjs → http-client.interface-q5tbZi3r.cjs} +0 -0
  1322. /package/lib/{list-organizations-options.interface-BDvmneTo.cjs → identity.interface-ByIvTffv.cjs} +0 -0
  1323. /package/lib/{list-sessions-options.interface-CNUdzKGT.cjs → impersonator.interface-Cf6hV6Sl.cjs} +0 -0
  1324. /package/lib/{index-BXAFTIXq.d.cts → index-1uLygO4P.d.cts} +0 -0
  1325. /package/lib/{index-By33K0bY.d.cts → index-B6gmSQ17.d.cts} +0 -0
  1326. /package/lib/{index-CKltkU46.d.cts → index-BcBOa3hp.d.cts} +0 -0
  1327. /package/lib/{index-DCiA8mC0.d.cts → index-BxzRAt8C.d.cts} +0 -0
  1328. /package/lib/{index-DPFAF2L8.d.cts → index-CGSBYMIY.d.cts} +0 -0
  1329. /package/lib/{index-DbQcfgDj.d.cts → index-CNyG9oqt.d.cts} +0 -0
  1330. /package/lib/{index-DiJBdvWV.d.cts → index-CRoJq_Lc.d.cts} +0 -0
  1331. /package/lib/{index-DuB_GnHY.d.cts → index-D-yUU_Re.d.cts} +0 -0
  1332. /package/lib/{index-DyFAE6ok.d.cts → index-DBTRFl_2.d.cts} +0 -0
  1333. /package/lib/{index-J9AgzEVC.d.cts → index-Daxn2RpI.d.cts} +0 -0
  1334. /package/lib/{index-Kx-CLSKd.d.cts → index-W8XcuB-8.d.cts} +0 -0
  1335. /package/lib/{list-user-feature-flags-options.interface-D8wcWYlx.cjs → interfaces-B2GoLcEd.cjs} +0 -0
  1336. /package/lib/{list-users-options.interface-DIk86usi.cjs → interfaces-BYxjU24Y.cjs} +0 -0
  1337. /package/lib/{list.interface-CANtyNNL.cjs → interfaces-Bj3jzkUk.cjs} +0 -0
  1338. /package/lib/{logout-url-options.interface-XJrvh9Um.cjs → interfaces-D9rg42Qr.cjs} +0 -0
  1339. /package/lib/{magic-auth.interface-OAoqBOq3.cjs → interfaces-DlIGjxho.cjs} +0 -0
  1340. /package/lib/{oauth-tokens.interface-DN0gza6B.cjs → interfaces-MzGHd7Yh.cjs} +0 -0
  1341. /package/lib/{object.interface-ouK-CMDg.cjs → invitation.interface-mC_8BuA9.cjs} +0 -0
  1342. /package/lib/{organization-membership.interface-lE9RCqTV.cjs → key.interface-CHRr2LEz.cjs} +0 -0
  1343. /package/lib/{organization.interface-CVqDknbl.cjs → list-auth-factors-options.interface-DKlym4v6.cjs} +0 -0
  1344. /package/lib/{pagination-options.interface-B5F27Ki8.cjs → list-connections-options.interface-DVqutI5F.cjs} +0 -0
  1345. /package/lib/{password-reset.interface-OhYRauB2.cjs → list-directories-options.interface-eav9nzy3.cjs} +0 -0
  1346. /package/lib/{passwordless-session.interface-C5Jxlpb4.cjs → list-directory-users-options.interface-DLqDVyl2.cjs} +0 -0
  1347. /package/lib/{post-options.interface-Dq51f5lQ.cjs → list-events-options.interface-0QWZL0Yw.cjs} +0 -0
  1348. /package/lib/{profile-and-token.interface-DWS2cGa3.cjs → list-feature-flags-options.interface-DVCuHMFE.cjs} +0 -0
  1349. /package/lib/{profile.interface-CDRlx1GK.cjs → list-groups-options.interface-By_UcNDc.cjs} +0 -0
  1350. /package/lib/{put-options.interface-gBaevIoJ.cjs → list-invitations-options.interface-BP7cTrWE.cjs} +0 -0
  1351. /package/lib/{query.interface-Bzmz5paB.cjs → list-object-versions.interface-CZ3u9vAQ.cjs} +0 -0
  1352. /package/lib/{read-object.interface-23WBJJxF.cjs → list-objects.interface-DB0LHLG9.cjs} +0 -0
  1353. /package/lib/{remove-flag-target-options.interface-Cku-Z1m-.cjs → list-organization-api-keys-options.interface-CveTG0uD.cjs} +0 -0
  1354. /package/lib/{reset-password-options.interface-Cnc8Tptm.cjs → list-organization-feature-flags-options.interface-_x6kSSZY.cjs} +0 -0
  1355. /package/lib/{resource.interface-B_62uGB9.cjs → list-organization-memberships-options.interface-B3j0iJtf.cjs} +0 -0
  1356. /package/lib/{response-payload.interface-Bw5H70BX.cjs → list-organizations-options.interface-CO97CX3u.cjs} +0 -0
  1357. /package/lib/{role.interface-DokcsdG6.cjs → list-permissions-options.interface-DLk_ltrp.cjs} +0 -0
  1358. /package/lib/{send-invitation-options.interface-BKFjdXV9.cjs → list-sessions-options.interface-CxrAFAFB.cjs} +0 -0
  1359. /package/lib/{send-session-response.interface-DikznICv.cjs → list-user-feature-flags-options.interface-BffT3Bgy.cjs} +0 -0
  1360. /package/lib/{send-verification-email-options.interface-ouroaASB.cjs → list-users-options.interface-CZSIN83o.cjs} +0 -0
  1361. /package/lib/{serializers-CshbWgH5.cjs → list.interface-BRryI6pg.cjs} +0 -0
  1362. /package/lib/{session.interface-DRZhbyZ-.cjs → locale.interface-CEpymw1t.cjs} +0 -0
  1363. /package/lib/{unprocessable-entity-error.interface-CBG2g2iU.cjs → logout-url-options.interface-DWdskc6a.cjs} +0 -0
  1364. /package/lib/{update-object.interface-Nms9NiU9.cjs → magic-auth.interface-fz8MN6h7.cjs} +0 -0
  1365. /package/lib/{update-organization-membership-options.interface-JtvQDljv.cjs → oauth-tokens.interface-B-4Pi0sR.cjs} +0 -0
  1366. /package/lib/{update-organization-options.interface-4n3qEX9i.cjs → object.interface-npvKCWKF.cjs} +0 -0
  1367. /package/lib/{update-user-options.interface-Docd9AML.cjs → organization-membership.interface-D1wrotmQ.cjs} +0 -0
  1368. /package/lib/{update-user-password-options.interface-Bqpsk-Qq.cjs → organization-role.interface-CLBM9aza.cjs} +0 -0
  1369. /package/lib/{user.interface-CQjmDTsg.cjs → organization.interface-pY1iGerY.cjs} +0 -0
  1370. /package/lib/{validate-api-key.interface-CK407BWa.cjs → pagination-options.interface-BoiKHHTH.cjs} +0 -0
  1371. /package/lib/{verify-email-options.interface-BBcp932Q.cjs → password-reset.interface-CnDQOmWv.cjs} +0 -0
  1372. /package/lib/{warrant-token.interface-BQ9A2-XP.cjs → passwordless-session.interface-Bi9y87V7.cjs} +0 -0
  1373. /package/lib/{warrant.interface-DJHgzeER.cjs → patch-options.interface-Fd1jUcSo.cjs} +0 -0
  1374. /package/lib/{workos-options.interface-BCUwoqgS.cjs → permission.interface-Dhx-jPkZ.cjs} +0 -0
  1375. /package/lib/{workos-response-error.interface-oYjLN9ok.cjs → post-options.interface-BY7OUsfe.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-Cw0qruaA.cjs');
26
+ const require_feature_flag_serializer = require('./feature-flag.serializer-DhnZDZE3.cjs');
27
+ const require_query_string = require('./query-string-DvY-MOOT.cjs');
28
+ const require_challenge_serializer = require('./challenge.serializer-CiNDM6Ny.cjs');
29
+ const require_seal = require('./seal-Dl5Et6Vv.cjs');
30
+ const require_env = require('./env-CCN5u8Rv.cjs');
31
+ const require_authenticate_with_session_cookie_interface = require('./authenticate-with-session-cookie.interface-wRJr18ep.cjs');
32
+ const require_revoke_session_options_interface = require('./revoke-session-options.interface-adU7deuN.cjs');
33
+ const require_authenticate_with_email_verification_serializer = require('./authenticate-with-email-verification.serializer-DkvyobQ9.cjs');
34
+ const require_authenticate_with_organization_selection_options_serializer = require('./authenticate-with-organization-selection-options.serializer-BgFxJgiU.cjs');
35
+ const require_create_organization_membership_options_serializer = require('./create-organization-membership-options.serializer-Da3OXX5I.cjs');
36
+ const require_identity_serializer = require('./identity.serializer-Bzox6cAy.cjs');
37
+ const require_list_invitations_options_serializer = require('./list-invitations-options.serializer-DyJeeVXk.cjs');
38
+ const require_list_organization_memberships_options_serializer = require('./list-organization-memberships-options.serializer-eZn-qTI8.cjs');
39
+ const require_list_users_options_serializer = require('./list-users-options.serializer-CAQrhvH0.cjs');
40
+ const require_resend_invitation_options_serializer = require('./resend-invitation-options.serializer-gi3hyBeV.cjs');
41
+ const require_send_invitation_options_serializer = require('./send-invitation-options.serializer-BX9N-pl6.cjs');
42
+ const require_update_organization_membership_options_serializer = require('./update-organization-membership-options.serializer-J0-AHdSc.cjs');
43
+ const require_jose = require('./jose-D4-VExnk.cjs');
44
+ const require_session = require('./session-BspC-lF9.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-DCbkjgk8.cjs.map