@workos-inc/node 8.1.0 → 8.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1571) hide show
  1. package/lib/access-token.interface-PK6QwTjk.d.cts +18 -0
  2. package/lib/access-token.serializer-C80IQpUd.cjs +20 -0
  3. package/lib/access-token.serializer-C80IQpUd.cjs.map +1 -0
  4. package/lib/action.interface-BwTWjDLU.d.cts +63 -0
  5. package/lib/action.serializer-J8blkXac.cjs +47 -0
  6. package/lib/action.serializer-J8blkXac.cjs.map +1 -0
  7. package/lib/actions/actions.cjs +1 -1
  8. package/lib/actions/actions.d.cts +1 -1
  9. package/lib/actions/interfaces/action.interface.d.cts +1 -1
  10. package/lib/actions/interfaces/index.d.cts +2 -2
  11. package/lib/actions/interfaces/response-payload.interface.d.cts +1 -1
  12. package/lib/actions/serializers/action.serializer.cjs +1 -1
  13. package/lib/actions/serializers/action.serializer.d.cts +1 -1
  14. package/lib/actions-BQWfMHLW.cjs +58 -0
  15. package/lib/actions-BQWfMHLW.cjs.map +1 -0
  16. package/lib/actions-CGa0wSPO.d.cts +41 -0
  17. package/lib/add-environment-role-permission-options.interface-Pk9Z0RBF.d.cts +7 -0
  18. package/lib/add-flag-target-options.interface-CJ7M40Wi.d.cts +8 -0
  19. package/lib/add-organization-role-permission-options.interface-Oc11Zzvq.d.cts +7 -0
  20. package/lib/api-key-required.exception-DTYoK0KE.d.cts +10 -0
  21. package/lib/api-key.interface-SUHnxEHj.d.cts +32 -0
  22. package/lib/api-key.serializer-DWK81bXa.d.cts +7 -0
  23. package/lib/api-keys/api-keys.d.cts +1 -1
  24. package/lib/api-keys/interfaces/api-key.interface.d.cts +1 -1
  25. package/lib/api-keys/interfaces/create-organization-api-key-options.interface.d.cts +1 -1
  26. package/lib/api-keys/interfaces/created-api-key.interface.d.cts +1 -1
  27. package/lib/api-keys/interfaces/index.d.cts +5 -5
  28. package/lib/api-keys/interfaces/list-organization-api-keys-options.interface.d.cts +1 -1
  29. package/lib/api-keys/interfaces/validate-api-key.interface.d.cts +1 -1
  30. package/lib/api-keys/serializers/api-key.serializer.d.cts +1 -1
  31. package/lib/api-keys/serializers/create-organization-api-key-options.serializer.cjs +1 -1
  32. package/lib/api-keys/serializers/create-organization-api-key-options.serializer.d.cts +1 -1
  33. package/lib/api-keys/serializers/created-api-key.serializer.cjs +1 -1
  34. package/lib/api-keys/serializers/created-api-key.serializer.d.cts +1 -1
  35. package/lib/api-keys/serializers/index.cjs +2 -2
  36. package/lib/api-keys/serializers/index.d.cts +4 -4
  37. package/lib/api-keys/serializers/validate-api-key.serializer.d.cts +1 -1
  38. package/lib/api-keys-CrR113By.d.cts +744 -0
  39. package/lib/app-info.interface-DQRHsNPh.d.cts +8 -0
  40. package/lib/audit-log-export-options.interface-BLw_RWFk.d.cts +22 -0
  41. package/lib/audit-log-export-options.serializer-8ESYq4aa.cjs +20 -0
  42. package/lib/audit-log-export-options.serializer-8ESYq4aa.cjs.map +1 -0
  43. package/lib/audit-log-export-options.serializer-ffwj8kRw.d.cts +7 -0
  44. package/lib/audit-log-export.interface-oDR72O0J.d.cts +20 -0
  45. package/lib/audit-log-export.serializer-DVMljTPL.d.cts +7 -0
  46. package/lib/audit-log-export.serializer-mFDU2Fxf.cjs +19 -0
  47. package/lib/audit-log-export.serializer-mFDU2Fxf.cjs.map +1 -0
  48. package/lib/audit-logs/audit-logs.cjs +1 -1
  49. package/lib/audit-logs/audit-logs.d.cts +1 -1
  50. package/lib/audit-logs/interfaces/audit-log-export-options.interface.d.cts +1 -1
  51. package/lib/audit-logs/interfaces/audit-log-export.interface.d.cts +1 -1
  52. package/lib/audit-logs/interfaces/create-audit-log-event-options.interface.d.cts +1 -1
  53. package/lib/audit-logs/interfaces/create-audit-log-schema-options.interface.d.cts +1 -1
  54. package/lib/audit-logs/interfaces/index.d.cts +4 -4
  55. package/lib/audit-logs/serializers/audit-log-export-options.serializer.cjs +1 -1
  56. package/lib/audit-logs/serializers/audit-log-export-options.serializer.d.cts +1 -1
  57. package/lib/audit-logs/serializers/audit-log-export.serializer.cjs +1 -1
  58. package/lib/audit-logs/serializers/audit-log-export.serializer.d.cts +1 -1
  59. package/lib/audit-logs/serializers/create-audit-log-event-options.serializer.cjs +1 -1
  60. package/lib/audit-logs/serializers/create-audit-log-event-options.serializer.d.cts +1 -1
  61. package/lib/audit-logs/serializers/create-audit-log-schema-options.serializer.cjs +1 -1
  62. package/lib/audit-logs/serializers/create-audit-log-schema-options.serializer.d.cts +1 -1
  63. package/lib/audit-logs/serializers/create-audit-log-schema.serializer.cjs +1 -1
  64. package/lib/audit-logs/serializers/create-audit-log-schema.serializer.d.cts +1 -1
  65. package/lib/audit-logs/serializers/index.cjs +5 -5
  66. package/lib/audit-logs/serializers/index.d.cts +5 -5
  67. package/lib/audit-logs-DiZN60g_.cjs +43 -0
  68. package/lib/audit-logs-DiZN60g_.cjs.map +1 -0
  69. package/lib/authenticate-with-code-and-verifier-options.interface-CifpWY0M.d.cts +17 -0
  70. package/lib/authenticate-with-code-and-verifier-options.serializer-BqSvuzAF.d.cts +8 -0
  71. package/lib/authenticate-with-code-options.interface-CtsvRTYS.d.cts +20 -0
  72. package/lib/authenticate-with-code-options.serializer-Blhrjiq0.d.cts +8 -0
  73. package/lib/authenticate-with-email-verification-options.interface-BCC2K9Zp.d.cts +18 -0
  74. package/lib/authenticate-with-email-verification.serializer-Bf1j1ew9.cjs +20 -0
  75. package/lib/authenticate-with-email-verification.serializer-Bf1j1ew9.cjs.map +1 -0
  76. package/lib/authenticate-with-magic-auth-options.interface-Dmxc0Aes.d.cts +22 -0
  77. package/lib/authenticate-with-magic-auth-options.serializer-DAjj_AJh.d.cts +8 -0
  78. package/lib/authenticate-with-options-base.interface-Dx_YCajX.d.cts +41 -0
  79. package/lib/authenticate-with-organization-selection-options.serializer-Did46zvW.cjs +20 -0
  80. package/lib/authenticate-with-organization-selection-options.serializer-Did46zvW.cjs.map +1 -0
  81. package/lib/authenticate-with-organization-selection.interface-DYOjeIvu.d.cts +18 -0
  82. package/lib/authenticate-with-password-options.interface-BbjZEbmt.d.cts +20 -0
  83. package/lib/authenticate-with-password-options.serializer-CFKO59Ra.d.cts +8 -0
  84. package/lib/authenticate-with-refresh-token-options.interface-CqS4TJ3X.d.cts +18 -0
  85. package/lib/authenticate-with-refresh-token-public-client-options.interface-TPswbB8Z.d.cts +16 -0
  86. package/lib/authenticate-with-refresh-token-public-client-options.serializer-Ccv24S4s.d.cts +8 -0
  87. package/lib/authenticate-with-refresh-token.options.serializer-Dhk9Zd7b.d.cts +9 -0
  88. package/lib/authenticate-with-session-cookie.interface-B4eQTrfN.cjs +17 -0
  89. package/lib/authenticate-with-session-cookie.interface-B4eQTrfN.cjs.map +1 -0
  90. package/lib/authenticate-with-session-cookie.interface-CoZAMXL_.d.cts +45 -0
  91. package/lib/authenticate-with-totp-options.interface-C0Jr3YDb.d.cts +20 -0
  92. package/lib/authenticate-with-totp-options.serializer-BcaV2QsQ.d.cts +8 -0
  93. package/lib/authentication-event.interface-0-TCj9ur.d.cts +28 -0
  94. package/lib/authentication-event.serializer-DX0bzXas.d.cts +7 -0
  95. package/lib/authentication-radar-risk-detected-event.interface-CcBMeCX7.d.cts +24 -0
  96. package/lib/authentication-response.interface-DITy4Tzw.d.cts +28 -0
  97. package/lib/authentication-response.serializer-DIJ8dZZS.d.cts +7 -0
  98. package/lib/authorization/authorization.cjs +3 -0
  99. package/lib/authorization/authorization.d.cts +2 -0
  100. package/lib/authorization/authorization.d.ts +45 -0
  101. package/lib/authorization/authorization.js +106 -0
  102. package/lib/authorization/authorization.js.map +1 -0
  103. package/lib/authorization/index.cjs +4 -0
  104. package/lib/authorization/index.d.cts +17 -0
  105. package/lib/authorization/index.d.ts +17 -0
  106. package/lib/authorization/index.js +3 -0
  107. package/lib/authorization/interfaces/add-environment-role-permission-options.interface.d.cts +2 -0
  108. package/lib/authorization/interfaces/add-environment-role-permission-options.interface.d.ts +7 -0
  109. package/lib/authorization/interfaces/add-environment-role-permission-options.interface.js +1 -0
  110. package/lib/authorization/interfaces/add-organization-role-permission-options.interface.d.cts +2 -0
  111. package/lib/authorization/interfaces/add-organization-role-permission-options.interface.d.ts +7 -0
  112. package/lib/authorization/interfaces/add-organization-role-permission-options.interface.js +1 -0
  113. package/lib/authorization/interfaces/create-environment-role-options.interface.d.cts +2 -0
  114. package/lib/authorization/interfaces/create-environment-role-options.interface.d.ts +14 -0
  115. package/lib/authorization/interfaces/create-environment-role-options.interface.js +1 -0
  116. package/lib/authorization/interfaces/create-organization-role-options.interface.d.cts +2 -0
  117. package/lib/authorization/interfaces/create-organization-role-options.interface.d.ts +14 -0
  118. package/lib/authorization/interfaces/create-organization-role-options.interface.js +1 -0
  119. package/lib/authorization/interfaces/create-permission-options.interface.d.cts +2 -0
  120. package/lib/authorization/interfaces/create-permission-options.interface.d.ts +14 -0
  121. package/lib/authorization/interfaces/create-permission-options.interface.js +1 -0
  122. package/lib/authorization/interfaces/environment-role.interface.d.cts +2 -0
  123. package/lib/authorization/interfaces/environment-role.interface.d.ts +34 -0
  124. package/lib/authorization/interfaces/environment-role.interface.js +1 -0
  125. package/lib/authorization/interfaces/index.d.cts +16 -0
  126. package/lib/authorization/interfaces/index.d.ts +16 -0
  127. package/lib/authorization/interfaces/index.js +1 -0
  128. package/lib/authorization/interfaces/list-permissions-options.interface.d.cts +2 -0
  129. package/lib/authorization/interfaces/list-permissions-options.interface.d.ts +7 -0
  130. package/lib/authorization/interfaces/list-permissions-options.interface.js +1 -0
  131. package/lib/authorization/interfaces/organization-role.interface.d.cts +2 -0
  132. package/lib/authorization/interfaces/organization-role.interface.d.ts +15 -0
  133. package/lib/authorization/interfaces/organization-role.interface.js +1 -0
  134. package/lib/authorization/interfaces/permission.interface.d.cts +2 -0
  135. package/lib/authorization/interfaces/permission.interface.d.ts +40 -0
  136. package/lib/authorization/interfaces/permission.interface.js +1 -0
  137. package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.d.cts +2 -0
  138. package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.d.ts +7 -0
  139. package/lib/authorization/interfaces/remove-organization-role-permission-options.interface.js +1 -0
  140. package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.d.cts +2 -0
  141. package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.d.ts +7 -0
  142. package/lib/authorization/interfaces/set-environment-role-permissions-options.interface.js +1 -0
  143. package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.d.cts +2 -0
  144. package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.d.ts +7 -0
  145. package/lib/authorization/interfaces/set-organization-role-permissions-options.interface.js +1 -0
  146. package/lib/authorization/interfaces/update-environment-role-options.interface.d.cts +2 -0
  147. package/lib/authorization/interfaces/update-environment-role-options.interface.d.ts +12 -0
  148. package/lib/authorization/interfaces/update-environment-role-options.interface.js +1 -0
  149. package/lib/authorization/interfaces/update-organization-role-options.interface.d.cts +2 -0
  150. package/lib/authorization/interfaces/update-organization-role-options.interface.d.ts +12 -0
  151. package/lib/authorization/interfaces/update-organization-role-options.interface.js +1 -0
  152. package/lib/authorization/interfaces/update-permission-options.interface.d.cts +2 -0
  153. package/lib/authorization/interfaces/update-permission-options.interface.d.ts +12 -0
  154. package/lib/authorization/interfaces/update-permission-options.interface.js +1 -0
  155. package/lib/authorization/serializers/create-environment-role-options.serializer.cjs +3 -0
  156. package/lib/authorization/serializers/create-environment-role-options.serializer.d.cts +2 -0
  157. package/lib/authorization/serializers/create-environment-role-options.serializer.d.ts +7 -0
  158. package/lib/authorization/serializers/create-environment-role-options.serializer.js +10 -0
  159. package/lib/authorization/serializers/create-environment-role-options.serializer.js.map +1 -0
  160. package/lib/authorization/serializers/create-organization-role-options.serializer.cjs +3 -0
  161. package/lib/authorization/serializers/create-organization-role-options.serializer.d.cts +2 -0
  162. package/lib/authorization/serializers/create-organization-role-options.serializer.d.ts +7 -0
  163. package/lib/authorization/serializers/create-organization-role-options.serializer.js +10 -0
  164. package/lib/authorization/serializers/create-organization-role-options.serializer.js.map +1 -0
  165. package/lib/authorization/serializers/create-permission-options.serializer.cjs +3 -0
  166. package/lib/authorization/serializers/create-permission-options.serializer.d.cts +2 -0
  167. package/lib/authorization/serializers/create-permission-options.serializer.d.ts +7 -0
  168. package/lib/authorization/serializers/create-permission-options.serializer.js +10 -0
  169. package/lib/authorization/serializers/create-permission-options.serializer.js.map +1 -0
  170. package/lib/authorization/serializers/environment-role.serializer.cjs +3 -0
  171. package/lib/authorization/serializers/environment-role.serializer.d.cts +2 -0
  172. package/lib/authorization/serializers/environment-role.serializer.d.ts +7 -0
  173. package/lib/authorization/serializers/environment-role.serializer.js +16 -0
  174. package/lib/authorization/serializers/environment-role.serializer.js.map +1 -0
  175. package/lib/authorization/serializers/index.cjs +20 -0
  176. package/lib/authorization/serializers/index.d.cts +10 -0
  177. package/lib/authorization/serializers/index.d.ts +10 -0
  178. package/lib/authorization/serializers/index.js +11 -0
  179. package/lib/authorization/serializers/organization-role.serializer.cjs +4 -0
  180. package/lib/authorization/serializers/organization-role.serializer.d.cts +2 -0
  181. package/lib/authorization/serializers/organization-role.serializer.d.ts +9 -0
  182. package/lib/authorization/serializers/organization-role.serializer.js +27 -0
  183. package/lib/authorization/serializers/organization-role.serializer.js.map +1 -0
  184. package/lib/authorization/serializers/permission.serializer.cjs +3 -0
  185. package/lib/authorization/serializers/permission.serializer.d.cts +2 -0
  186. package/lib/authorization/serializers/permission.serializer.d.ts +7 -0
  187. package/lib/authorization/serializers/permission.serializer.js +15 -0
  188. package/lib/authorization/serializers/permission.serializer.js.map +1 -0
  189. package/lib/authorization/serializers/update-environment-role-options.serializer.cjs +3 -0
  190. package/lib/authorization/serializers/update-environment-role-options.serializer.d.cts +2 -0
  191. package/lib/authorization/serializers/update-environment-role-options.serializer.d.ts +7 -0
  192. package/lib/authorization/serializers/update-environment-role-options.serializer.js +9 -0
  193. package/lib/authorization/serializers/update-environment-role-options.serializer.js.map +1 -0
  194. package/lib/authorization/serializers/update-organization-role-options.serializer.cjs +3 -0
  195. package/lib/authorization/serializers/update-organization-role-options.serializer.d.cts +2 -0
  196. package/lib/authorization/serializers/update-organization-role-options.serializer.d.ts +7 -0
  197. package/lib/authorization/serializers/update-organization-role-options.serializer.js +9 -0
  198. package/lib/authorization/serializers/update-organization-role-options.serializer.js.map +1 -0
  199. package/lib/authorization/serializers/update-permission-options.serializer.cjs +3 -0
  200. package/lib/authorization/serializers/update-permission-options.serializer.d.cts +2 -0
  201. package/lib/authorization/serializers/update-permission-options.serializer.d.ts +7 -0
  202. package/lib/authorization/serializers/update-permission-options.serializer.js +9 -0
  203. package/lib/authorization/serializers/update-permission-options.serializer.js.map +1 -0
  204. package/lib/authorization-CK0d-2Tg.cjs +111 -0
  205. package/lib/authorization-CK0d-2Tg.cjs.map +1 -0
  206. package/lib/authorization-url-options.interface-BwBNFg0Z.d.cts +45 -0
  207. package/lib/authorization-url-options.interface-C5ABtdiE.d.cts +55 -0
  208. package/lib/bad-request.exception-BWL7y3t5.d.cts +25 -0
  209. package/lib/base64-8aJjmiTE.cjs +44 -0
  210. package/lib/base64-8aJjmiTE.cjs.map +1 -0
  211. package/lib/batch-write-resources-options.serializer-CC48gIZp.cjs +23 -0
  212. package/lib/batch-write-resources-options.serializer-CC48gIZp.cjs.map +1 -0
  213. package/lib/batch-write-resources-options.serializer-G63Eiv-r.d.cts +7 -0
  214. package/lib/challenge-factor-options-DQBD-OBq.d.cts +10 -0
  215. package/lib/challenge.interface-CGUxrdzT.d.cts +22 -0
  216. package/lib/challenge.serializer-C9JkzvE8.d.cts +7 -0
  217. package/lib/challenge.serializer-Dzoig6Tb.cjs +20 -0
  218. package/lib/challenge.serializer-Dzoig6Tb.cjs.map +1 -0
  219. package/lib/check-op.enum-1gyp3mY_.d.cts +8 -0
  220. package/lib/check-op.enum-CJmiI-EV.cjs +16 -0
  221. package/lib/check-op.enum-CJmiI-EV.cjs.map +1 -0
  222. package/lib/check-options.serializer-C7So55Kd.d.cts +9 -0
  223. package/lib/check-options.serializer-DlNVIJoZ.cjs +69 -0
  224. package/lib/check-options.serializer-DlNVIJoZ.cjs.map +1 -0
  225. package/lib/check.interface-Bqtu_Kmu.cjs +33 -0
  226. package/lib/check.interface-Bqtu_Kmu.cjs.map +1 -0
  227. package/lib/check.interface-oac-oCtg.d.cts +88 -0
  228. package/lib/common/crypto/crypto-provider.cjs +1 -1
  229. package/lib/common/crypto/crypto-provider.d.cts +1 -1
  230. package/lib/common/crypto/seal.cjs +1 -1
  231. package/lib/common/crypto/signature-provider.cjs +1 -1
  232. package/lib/common/crypto/signature-provider.d.cts +1 -1
  233. package/lib/common/crypto/subtle-crypto-provider.cjs +1 -1
  234. package/lib/common/crypto/subtle-crypto-provider.d.cts +1 -1
  235. package/lib/common/exceptions/api-key-required.exception.d.cts +1 -1
  236. package/lib/common/exceptions/bad-request.exception.d.cts +1 -1
  237. package/lib/common/exceptions/conflict.exception.cjs +1 -1
  238. package/lib/common/exceptions/conflict.exception.d.cts +1 -1
  239. package/lib/common/exceptions/generic-server.exception.d.cts +1 -1
  240. package/lib/common/exceptions/index.d.cts +10 -10
  241. package/lib/common/exceptions/no-api-key-provided.exception.d.cts +1 -1
  242. package/lib/common/exceptions/not-found.exception.d.cts +1 -1
  243. package/lib/common/exceptions/oauth.exception.d.cts +1 -1
  244. package/lib/common/exceptions/parse-error.cjs +1 -1
  245. package/lib/common/exceptions/parse-error.d.cts +1 -1
  246. package/lib/common/exceptions/rate-limit-exceeded.exception.d.cts +1 -1
  247. package/lib/common/exceptions/signature-verification.exception.d.cts +1 -1
  248. package/lib/common/exceptions/unauthorized.exception.d.cts +1 -1
  249. package/lib/common/exceptions/unprocessable-entity.exception.d.cts +1 -1
  250. package/lib/common/interfaces/app-info.interface.d.cts +1 -1
  251. package/lib/common/interfaces/event.interface.d.cts +2 -2
  252. package/lib/common/interfaces/event.interface.d.ts +54 -4
  253. package/lib/common/interfaces/get-options.interface.d.cts +1 -1
  254. package/lib/common/interfaces/http-client.interface.d.cts +1 -1
  255. package/lib/common/interfaces/index.d.cts +12 -11
  256. package/lib/common/interfaces/index.d.ts +3 -2
  257. package/lib/common/interfaces/list.interface.d.cts +1 -1
  258. package/lib/common/interfaces/pagination-options.interface.d.cts +1 -1
  259. package/lib/common/interfaces/patch-options.interface.d.cts +2 -0
  260. package/lib/common/interfaces/patch-options.interface.d.ts +12 -0
  261. package/lib/common/interfaces/patch-options.interface.js +1 -0
  262. package/lib/common/interfaces/post-options.interface.d.cts +1 -1
  263. package/lib/common/interfaces/put-options.interface.d.cts +1 -1
  264. package/lib/common/interfaces/request-exception.interface.d.cts +1 -1
  265. package/lib/common/interfaces/unknown-record.interface.d.cts +1 -1
  266. package/lib/common/interfaces/unprocessable-entity-error.interface.d.cts +1 -1
  267. package/lib/common/interfaces/workos-options.interface.d.cts +1 -1
  268. package/lib/common/interfaces/workos-response-error.interface.d.cts +1 -1
  269. package/lib/common/net/fetch-client.cjs +1 -1
  270. package/lib/common/net/fetch-client.d.cts +3 -2
  271. package/lib/common/net/fetch-client.d.ts +1 -0
  272. package/lib/common/net/fetch-client.js +11 -0
  273. package/lib/common/net/fetch-client.js.map +1 -1
  274. package/lib/common/net/http-client.cjs +1 -1
  275. package/lib/common/net/http-client.d.cts +1 -1
  276. package/lib/common/net/http-client.d.ts +1 -0
  277. package/lib/common/net/http-client.js.map +1 -1
  278. package/lib/common/serializers/event.serializer.cjs +1 -1
  279. package/lib/common/serializers/event.serializer.d.cts +1 -1
  280. package/lib/common/serializers/event.serializer.js +16 -0
  281. package/lib/common/serializers/event.serializer.js.map +1 -1
  282. package/lib/common/serializers/index.cjs +2 -2
  283. package/lib/common/serializers/index.d.cts +2 -2
  284. package/lib/common/serializers/list.serializer.cjs +1 -1
  285. package/lib/common/serializers/list.serializer.d.cts +1 -1
  286. package/lib/common/utils/base64.cjs +1 -1
  287. package/lib/common/utils/env.cjs +1 -1
  288. package/lib/common/utils/fetch-and-deserialize.cjs +1 -1
  289. package/lib/common/utils/fetch-and-deserialize.d.cts +4 -4
  290. package/lib/common/utils/leb128.cjs +1 -1
  291. package/lib/common/utils/pagination.d.cts +1 -1
  292. package/lib/common/utils/query-string.cjs +1 -1
  293. package/lib/common/utils/runtime-info.cjs +1 -1
  294. package/lib/common/utils/unreachable.cjs +1 -1
  295. package/lib/conflict.exception-4m45wGr8.cjs +23 -0
  296. package/lib/conflict.exception-4m45wGr8.cjs.map +1 -0
  297. package/lib/connection-type.enum-BCSkvlg6.d.cts +41 -0
  298. package/lib/connection-type.enum-CQncLVbr.cjs +49 -0
  299. package/lib/connection-type.enum-CQncLVbr.cjs.map +1 -0
  300. package/lib/connection.interface-D1HP4q90.d.cts +33 -0
  301. package/lib/connection.serializer-B47qKsDN.d.cts +7 -0
  302. package/lib/create-audit-log-event-options.interface-B-eEsjZw.d.cts +43 -0
  303. package/lib/create-audit-log-event-options.serializer-Byx8ZppH.d.cts +7 -0
  304. package/lib/create-audit-log-event-options.serializer-CIEpbo2R.cjs +23 -0
  305. package/lib/create-audit-log-event-options.serializer-CIEpbo2R.cjs.map +1 -0
  306. package/lib/create-audit-log-schema-options.interface-VEGNQUoR.d.cts +67 -0
  307. package/lib/create-audit-log-schema-options.serializer-BY__IgYQ.cjs +38 -0
  308. package/lib/create-audit-log-schema-options.serializer-BY__IgYQ.cjs.map +1 -0
  309. package/lib/create-audit-log-schema-options.serializer-vOYqa-AI.d.cts +7 -0
  310. package/lib/create-audit-log-schema.serializer-CBjhgiOY.cjs +32 -0
  311. package/lib/create-audit-log-schema.serializer-CBjhgiOY.cjs.map +1 -0
  312. package/lib/create-audit-log-schema.serializer-CDSQiWrT.d.cts +7 -0
  313. package/lib/create-data-key.interface-uWGAAWZC.d.cts +15 -0
  314. package/lib/create-environment-role-options.interface-BzAxMcvk.d.cts +14 -0
  315. package/lib/create-environment-role-options.serializer-C_4tdn3G.cjs +16 -0
  316. package/lib/create-environment-role-options.serializer-C_4tdn3G.cjs.map +1 -0
  317. package/lib/create-environment-role-options.serializer-Cgp-nj7R.d.cts +7 -0
  318. package/lib/create-magic-auth-options.interface-KljIsFrM.d.cts +12 -0
  319. package/lib/create-magic-auth-options.serializer-JyHvOWXa.d.cts +7 -0
  320. package/lib/create-object.interface-q1p30YMV.d.cts +16 -0
  321. package/lib/create-organization-api-key-options.serializer-BTBsCCJf.d.cts +7 -0
  322. package/lib/create-organization-api-key-options.serializer-Bd5XkHe-.cjs +17 -0
  323. package/lib/create-organization-api-key-options.serializer-Bd5XkHe-.cjs.map +1 -0
  324. package/lib/create-organization-domain-options.interface-BorRBhyO.d.cts +12 -0
  325. package/lib/create-organization-domain-options.serializer-B64Zeqrn.cjs +15 -0
  326. package/lib/create-organization-domain-options.serializer-B64Zeqrn.cjs.map +1 -0
  327. package/lib/create-organization-membership-options.interface-CT78k_RG.d.cts +16 -0
  328. package/lib/create-organization-membership-options.serializer-J20uU0fe.cjs +17 -0
  329. package/lib/create-organization-membership-options.serializer-J20uU0fe.cjs.map +1 -0
  330. package/lib/create-organization-options.serializer-9aeLeXNW.d.cts +7 -0
  331. package/lib/create-organization-role-options.interface-D47Tf3Ep.d.cts +14 -0
  332. package/lib/create-organization-role-options.serializer-CX2ND-mF.cjs +16 -0
  333. package/lib/create-organization-role-options.serializer-CX2ND-mF.cjs.map +1 -0
  334. package/lib/create-organization-role-options.serializer-gKd5As_7.d.cts +7 -0
  335. package/lib/create-password-reset-options.interface-DugfAPGw.d.cts +10 -0
  336. package/lib/create-password-reset-options.serializer-CF9UYm2X.d.cts +7 -0
  337. package/lib/create-passwordless-session-options.interface-DCAzOCvV.d.cts +20 -0
  338. package/lib/create-permission-options.interface-ClaSX7df.d.cts +14 -0
  339. package/lib/create-permission-options.serializer-BJKj9O3y.cjs +16 -0
  340. package/lib/create-permission-options.serializer-BJKj9O3y.cjs.map +1 -0
  341. package/lib/create-permission-options.serializer-DAxJac9X.d.cts +7 -0
  342. package/lib/create-resource-options.serializer-DblyocXR.d.cts +7 -0
  343. package/lib/create-resource-options.serializer-N1fy1b2S.cjs +17 -0
  344. package/lib/create-resource-options.serializer-N1fy1b2S.cjs.map +1 -0
  345. package/lib/create-user-options.interface-ord6dU_x.d.cts +28 -0
  346. package/lib/create-user-options.serializer-DaIm8p-c.d.cts +7 -0
  347. package/lib/created-api-key.interface-DkDQVw2T.d.cts +34 -0
  348. package/lib/created-api-key.serializer-CUt_hj_z.cjs +25 -0
  349. package/lib/created-api-key.serializer-CUt_hj_z.cjs.map +1 -0
  350. package/lib/created-api-key.serializer-DKs_m9pB.d.cts +7 -0
  351. package/lib/crypto-provider-Bg3tRE2P.cjs +18 -0
  352. package/lib/crypto-provider-Bg3tRE2P.cjs.map +1 -0
  353. package/lib/crypto-provider-CYvkctEg.d.cts +75 -0
  354. package/lib/decrypt-data-key.interface-BwEc_O_A.d.cts +11 -0
  355. package/lib/delete-object.interface-B_P7yrm3.d.cts +7 -0
  356. package/lib/delete-resource-options.serializer-D6e_dLrI.d.cts +7 -0
  357. package/lib/delete-resource-options.serializer-DJCtDzLP.cjs +16 -0
  358. package/lib/delete-resource-options.serializer-DJCtDzLP.cjs.map +1 -0
  359. package/lib/directory-group.interface-RhiHiiPX.d.cts +24 -0
  360. package/lib/directory-group.serializer-BRcTw-sz.d.cts +8 -0
  361. package/lib/directory-sync/directory-sync.cjs +1 -1
  362. package/lib/directory-sync/directory-sync.d.cts +1 -1
  363. package/lib/directory-sync/interfaces/directory-group.interface.d.cts +1 -1
  364. package/lib/directory-sync/interfaces/directory-user.interface.d.cts +1 -1
  365. package/lib/directory-sync/interfaces/directory.interface.d.cts +1 -1
  366. package/lib/directory-sync/interfaces/index.d.cts +6 -6
  367. package/lib/directory-sync/interfaces/list-directories-options.interface.d.cts +1 -1
  368. package/lib/directory-sync/interfaces/list-directory-users-options.interface.d.cts +1 -1
  369. package/lib/directory-sync/interfaces/list-groups-options.interface.d.cts +1 -1
  370. package/lib/directory-sync/serializers/directory-group.serializer.d.cts +1 -1
  371. package/lib/directory-sync/serializers/directory-user.serializer.d.cts +1 -1
  372. package/lib/directory-sync/serializers/directory.serializer.d.cts +1 -1
  373. package/lib/directory-sync/serializers/index.d.cts +4 -4
  374. package/lib/directory-sync/serializers/list-directories-options.serializer.d.cts +1 -1
  375. package/lib/directory-sync-pnubY2JS.cjs +46 -0
  376. package/lib/directory-sync-pnubY2JS.cjs.map +1 -0
  377. package/lib/directory-user.serializer-C9Ef-WmY.d.cts +9 -0
  378. package/lib/directory.interface-RS2zVVSH.d.cts +60 -0
  379. package/lib/directory.serializer-C4ye_GNZ.d.cts +10 -0
  380. package/lib/domain-data.interface-CAbxsOXR.cjs +16 -0
  381. package/lib/domain-data.interface-CAbxsOXR.cjs.map +1 -0
  382. package/lib/domain-data.interface-CWu6PLZw.d.cts +12 -0
  383. package/lib/email-verification.interface-DPOUBm9v.d.cts +42 -0
  384. package/lib/email-verification.serializer-BKwo8A4r.d.cts +8 -0
  385. package/lib/enroll-auth-factor-options.serializer-B0Kr8aWf.d.cts +7 -0
  386. package/lib/enroll-auth-factor.interface-EhGkRx_t.d.cts +17 -0
  387. package/lib/enroll-factor-options-IU9WQYZu.d.cts +14 -0
  388. package/lib/env-BRem2_1e.cjs +62 -0
  389. package/lib/env-BRem2_1e.cjs.map +1 -0
  390. package/lib/environment-role.interface-B59FS29B.d.cts +34 -0
  391. package/lib/environment-role.serializer-7K6a1PBm.cjs +22 -0
  392. package/lib/environment-role.serializer-7K6a1PBm.cjs.map +1 -0
  393. package/lib/environment-role.serializer-C0AaYE8M.d.cts +7 -0
  394. package/lib/event.serializer-CsTEEdRG.d.cts +7 -0
  395. package/lib/event.serializer-tSz5HYz3.cjs +196 -0
  396. package/lib/event.serializer-tSz5HYz3.cjs.map +1 -0
  397. package/lib/events/events.cjs +1 -1
  398. package/lib/events/events.d.cts +1 -1
  399. package/lib/events/interfaces/index.d.cts +1 -1
  400. package/lib/events/interfaces/list-events-options.interface.d.cts +1 -1
  401. package/lib/events/serializers/index.cjs +1 -1
  402. package/lib/events/serializers/index.d.cts +1 -1
  403. package/lib/events/serializers/list-event-options.serializer.cjs +1 -1
  404. package/lib/events/serializers/list-event-options.serializer.d.cts +1 -1
  405. package/lib/events-DUwPz2Dc.cjs +23 -0
  406. package/lib/events-DUwPz2Dc.cjs.map +1 -0
  407. package/lib/factor.interface-DebkGvZh.d.cts +42 -0
  408. package/lib/factor.interface-DzLmWxJJ.d.cts +44 -0
  409. package/lib/factor.serializer-CTHEanUk.d.cts +8 -0
  410. package/lib/factor.serializer-DGKMWcSc.d.cts +8 -0
  411. package/lib/factor.serializer-S_m_uTAP.cjs +37 -0
  412. package/lib/factor.serializer-S_m_uTAP.cjs.map +1 -0
  413. package/lib/factory-DxjFq3Zg.cjs +15 -0
  414. package/lib/factory-DxjFq3Zg.cjs.map +1 -0
  415. package/lib/factory.cjs +6 -6
  416. package/lib/factory.d.cts +1 -1
  417. package/lib/feature-flag.interface-Dc9oPNTI.d.cts +28 -0
  418. package/lib/feature-flag.serializer-VHx8LryN.d.cts +7 -0
  419. package/lib/feature-flag.serializer-iuO0V07A.cjs +23 -0
  420. package/lib/feature-flag.serializer-iuO0V07A.cjs.map +1 -0
  421. package/lib/feature-flags/feature-flags.cjs +1 -1
  422. package/lib/feature-flags/feature-flags.d.cts +1 -1
  423. package/lib/feature-flags/interfaces/add-flag-target-options.interface.d.cts +1 -1
  424. package/lib/feature-flags/interfaces/feature-flag.interface.d.cts +1 -1
  425. package/lib/feature-flags/interfaces/index.d.cts +4 -4
  426. package/lib/feature-flags/interfaces/list-feature-flags-options.interface.d.cts +1 -1
  427. package/lib/feature-flags/interfaces/remove-flag-target-options.interface.d.cts +1 -1
  428. package/lib/feature-flags/serializers/feature-flag.serializer.cjs +1 -1
  429. package/lib/feature-flags/serializers/feature-flag.serializer.d.cts +1 -1
  430. package/lib/feature-flags/serializers/index.cjs +1 -1
  431. package/lib/feature-flags/serializers/index.d.cts +1 -1
  432. package/lib/feature-flags-C-2fqPKn.cjs +42 -0
  433. package/lib/feature-flags-C-2fqPKn.cjs.map +1 -0
  434. package/lib/fetch-and-deserialize-B6lbfouV.cjs +25 -0
  435. package/lib/fetch-and-deserialize-B6lbfouV.cjs.map +1 -0
  436. package/lib/fetch-and-deserialize-list-C7zY6BRV.cjs +19 -0
  437. package/lib/fetch-and-deserialize-list-C7zY6BRV.cjs.map +1 -0
  438. package/lib/fetch-client-CiqtLSDr.cjs +189 -0
  439. package/lib/fetch-client-CiqtLSDr.cjs.map +1 -0
  440. package/lib/fga/fga.cjs +1 -1
  441. package/lib/fga/fga.d.cts +1 -1
  442. package/lib/fga/interfaces/check-op.enum.cjs +1 -1
  443. package/lib/fga/interfaces/check-op.enum.d.cts +1 -1
  444. package/lib/fga/interfaces/check.interface.cjs +1 -1
  445. package/lib/fga/interfaces/check.interface.d.cts +1 -1
  446. package/lib/fga/interfaces/index.cjs +4 -4
  447. package/lib/fga/interfaces/index.d.cts +8 -8
  448. package/lib/fga/interfaces/list.interface.d.cts +1 -1
  449. package/lib/fga/interfaces/query.interface.d.cts +1 -1
  450. package/lib/fga/interfaces/resource-op.enum.cjs +1 -1
  451. package/lib/fga/interfaces/resource-op.enum.d.cts +1 -1
  452. package/lib/fga/interfaces/resource.interface.d.cts +1 -1
  453. package/lib/fga/interfaces/warning.interface.d.cts +1 -1
  454. package/lib/fga/interfaces/warrant-op.enum.cjs +1 -1
  455. package/lib/fga/interfaces/warrant-op.enum.d.cts +1 -1
  456. package/lib/fga/interfaces/warrant-token.interface.d.cts +1 -1
  457. package/lib/fga/interfaces/warrant.interface.d.cts +1 -1
  458. package/lib/fga/serializers/batch-write-resources-options.serializer.cjs +1 -1
  459. package/lib/fga/serializers/batch-write-resources-options.serializer.d.cts +1 -1
  460. package/lib/fga/serializers/check-options.serializer.cjs +1 -1
  461. package/lib/fga/serializers/check-options.serializer.d.cts +1 -1
  462. package/lib/fga/serializers/create-resource-options.serializer.cjs +1 -1
  463. package/lib/fga/serializers/create-resource-options.serializer.d.cts +1 -1
  464. package/lib/fga/serializers/delete-resource-options.serializer.cjs +1 -1
  465. package/lib/fga/serializers/delete-resource-options.serializer.d.cts +1 -1
  466. package/lib/fga/serializers/index.cjs +13 -13
  467. package/lib/fga/serializers/index.d.cts +13 -13
  468. package/lib/fga/serializers/list-resources-options.serializer.cjs +1 -1
  469. package/lib/fga/serializers/list-resources-options.serializer.d.cts +1 -1
  470. package/lib/fga/serializers/list-warrants-options.serializer.cjs +1 -1
  471. package/lib/fga/serializers/list-warrants-options.serializer.d.cts +1 -1
  472. package/lib/fga/serializers/list.serializer.cjs +1 -1
  473. package/lib/fga/serializers/list.serializer.d.cts +1 -1
  474. package/lib/fga/serializers/query-options.serializer.cjs +1 -1
  475. package/lib/fga/serializers/query-options.serializer.d.cts +1 -1
  476. package/lib/fga/serializers/query-result.serializer.cjs +1 -1
  477. package/lib/fga/serializers/query-result.serializer.d.cts +1 -1
  478. package/lib/fga/serializers/resource.serializer.cjs +1 -1
  479. package/lib/fga/serializers/resource.serializer.d.cts +1 -1
  480. package/lib/fga/serializers/warrant-token.serializer.cjs +1 -1
  481. package/lib/fga/serializers/warrant-token.serializer.d.cts +1 -1
  482. package/lib/fga/serializers/warrant.serializer.cjs +1 -1
  483. package/lib/fga/serializers/warrant.serializer.d.cts +1 -1
  484. package/lib/fga/serializers/write-warrant-options.serializer.cjs +1 -1
  485. package/lib/fga/serializers/write-warrant-options.serializer.d.cts +1 -1
  486. package/lib/fga/utils/fetch-and-deserialize-list.cjs +1 -1
  487. package/lib/fga/utils/fetch-and-deserialize-list.d.cts +4 -4
  488. package/lib/fga/utils/fga-paginatable.cjs +1 -1
  489. package/lib/fga/utils/fga-paginatable.d.cts +1 -1
  490. package/lib/fga/utils/interface-check.cjs +1 -1
  491. package/lib/fga/utils/interface-check.d.cts +2 -2
  492. package/lib/fga-DWvTVn5k.cjs +83 -0
  493. package/lib/fga-DWvTVn5k.cjs.map +1 -0
  494. package/lib/fga-paginatable-BAls8pYD.cjs +22 -0
  495. package/lib/fga-paginatable-BAls8pYD.cjs.map +1 -0
  496. package/lib/fga-paginatable-BGfH6hKb.d.cts +14 -0
  497. package/lib/generate-portal-link-intent.interface-DvAjnRTH.d.cts +12 -0
  498. package/lib/generate-portal-link-intent.interface-VhaOku0u.cjs +20 -0
  499. package/lib/generate-portal-link-intent.interface-VhaOku0u.cjs.map +1 -0
  500. package/lib/generic-server.exception-BQuagq-c.d.cts +14 -0
  501. package/lib/get-access-token.interface-C8vDOoS4.d.cts +32 -0
  502. package/lib/get-access-token.serializer-DgAG_4iQ.cjs +34 -0
  503. package/lib/get-access-token.serializer-DgAG_4iQ.cjs.map +1 -0
  504. package/lib/get-options.interface-DtIaBrYo.d.cts +11 -0
  505. package/lib/get-profile-and-token-options.interface-B4HEexcv.d.cts +14 -0
  506. package/lib/get-profile-options.interface-BTqozSx_.d.cts +7 -0
  507. package/lib/get-token-CRyPuAyd.d.cts +23 -0
  508. package/lib/get-token-cdbfCycJ.cjs +23 -0
  509. package/lib/get-token-cdbfCycJ.cjs.map +1 -0
  510. package/lib/http-client-Cs56_alu.d.cts +55 -0
  511. package/lib/http-client-J_x7lZuh.cjs +96 -0
  512. package/lib/http-client-J_x7lZuh.cjs.map +1 -0
  513. package/lib/http-client.interface-DMi5johZ.d.cts +24 -0
  514. package/lib/identity.interface-fsQohx9t.d.cts +14 -0
  515. package/lib/identity.serializer-aL8fr6V6.cjs +20 -0
  516. package/lib/identity.serializer-aL8fr6V6.cjs.map +1 -0
  517. package/lib/impersonator.interface-BLJ5uqT4.d.cts +12 -0
  518. package/lib/index-DHEILHGo.d.cts +770 -0
  519. package/lib/index.cjs +21 -20
  520. package/lib/index.cjs.map +1 -1
  521. package/lib/index.d.cts +142 -132
  522. package/lib/index.d.ts +18 -2
  523. package/lib/index.js.map +1 -1
  524. package/lib/index.worker.cjs +21 -20
  525. package/lib/index.worker.cjs.map +1 -1
  526. package/lib/index.worker.d.cts +120 -110
  527. package/lib/index.worker.d.ts +18 -2
  528. package/lib/index.worker.js.map +1 -1
  529. package/lib/interface-check-jNs7TVqZ.cjs +23 -0
  530. package/lib/interface-check-jNs7TVqZ.cjs.map +1 -0
  531. package/lib/invitation.interface-BGj97ho-.d.cts +64 -0
  532. package/lib/invitation.serializer-BrvOpgFx.d.cts +8 -0
  533. package/lib/jose-B0lH7z8y.cjs +27 -0
  534. package/lib/jose-B0lH7z8y.cjs.map +1 -0
  535. package/lib/key.interface-CFC2qwl7.d.cts +16 -0
  536. package/lib/leb128-CzuVP25R.cjs +82 -0
  537. package/lib/leb128-CzuVP25R.cjs.map +1 -0
  538. package/lib/list-connections-options.interface-zYzKu8PV.d.cts +17 -0
  539. package/lib/list-connections-options.serializer-BQ887b-b.d.cts +7 -0
  540. package/lib/list-directories-options.interface-Bq6Ctiub.d.cts +14 -0
  541. package/lib/list-directories-options.serializer-Btoh5Gla.d.cts +7 -0
  542. package/lib/list-directory-users-options.interface-B3hWSKfC.d.cts +10 -0
  543. package/lib/list-event-options.serializer-DV-MYHc5.cjs +19 -0
  544. package/lib/list-event-options.serializer-DV-MYHc5.cjs.map +1 -0
  545. package/lib/list-event-options.serializer-fmtS_CRv.d.cts +7 -0
  546. package/lib/list-events-options.interface-BimW6YlK.d.cts +22 -0
  547. package/lib/list-feature-flags-options.interface-DBQ7vrv_.d.cts +7 -0
  548. package/lib/list-groups-options.interface-U_gybSue.d.cts +10 -0
  549. package/lib/list-invitations-options.serializer-BBeD69mZ.cjs +19 -0
  550. package/lib/list-invitations-options.serializer-BBeD69mZ.cjs.map +1 -0
  551. package/lib/list-object-versions.interface-Rd5wqEPb.d.cts +12 -0
  552. package/lib/list-objects.interface-yOVh3Ifn.d.cts +9 -0
  553. package/lib/list-organization-api-keys-options.interface-YUTCTNS6.d.cts +9 -0
  554. package/lib/list-organization-feature-flags-options.interface-DnLCq59G.d.cts +9 -0
  555. package/lib/list-organization-memberships-options.serializer-DHBnW5rP.cjs +20 -0
  556. package/lib/list-organization-memberships-options.serializer-DHBnW5rP.cjs.map +1 -0
  557. package/lib/list-organization-roles-options.interface-BuvnLvwK.d.cts +7 -0
  558. package/lib/list-organizations-options.interface-EgR4w6S9.d.cts +9 -0
  559. package/lib/list-resources-options.serializer-CJG4qFwy.cjs +19 -0
  560. package/lib/list-resources-options.serializer-CJG4qFwy.cjs.map +1 -0
  561. package/lib/list-resources-options.serializer-ChXI92JX.d.cts +7 -0
  562. package/lib/list-sessions-options.interface-3wEl-9ph.d.cts +8 -0
  563. package/lib/list-sessions-options.serializer-DY3aSLdT.d.cts +7 -0
  564. package/lib/list-users-options.interface-CwR5WeUq.d.cts +14 -0
  565. package/lib/list-users-options.serializer-NjRJdnZI.cjs +19 -0
  566. package/lib/list-users-options.serializer-NjRJdnZI.cjs.map +1 -0
  567. package/lib/list-warrants-options.serializer-Da2XBD1V.cjs +21 -0
  568. package/lib/list-warrants-options.serializer-Da2XBD1V.cjs.map +1 -0
  569. package/lib/list-warrants-options.serializer-DghippBd.d.cts +7 -0
  570. package/lib/list.interface-C8ZxDYyJ.d.cts +20 -0
  571. package/lib/list.interface-CXp7D6FF.d.cts +13 -0
  572. package/lib/list.serializer-BO40xS2N.d.cts +10 -0
  573. package/lib/list.serializer-DJP9g3te.cjs +17 -0
  574. package/lib/list.serializer-DJP9g3te.cjs.map +1 -0
  575. package/lib/list.serializer-DeffIsv5.cjs +16 -0
  576. package/lib/list.serializer-DeffIsv5.cjs.map +1 -0
  577. package/lib/list.serializer-xzcXVR9t.d.cts +7 -0
  578. package/lib/locale.interface-DtJ_6jKP.d.cts +5 -0
  579. package/lib/logout-url-options.interface-DhTgF8Hk.d.cts +8 -0
  580. package/lib/magic-auth.interface-BECeWMH_.d.cts +42 -0
  581. package/lib/magic-auth.serializer-DUVjoLsC.d.cts +8 -0
  582. package/lib/mfa/interfaces/challenge-factor-options.d.cts +1 -1
  583. package/lib/mfa/interfaces/challenge.interface.d.cts +1 -1
  584. package/lib/mfa/interfaces/enroll-factor-options.d.cts +1 -1
  585. package/lib/mfa/interfaces/factor.interface.d.cts +1 -1
  586. package/lib/mfa/interfaces/index.d.cts +8 -8
  587. package/lib/mfa/interfaces/sms.interface.d.cts +1 -1
  588. package/lib/mfa/interfaces/totp.interface.d.cts +1 -1
  589. package/lib/mfa/interfaces/verify-challenge-options.d.cts +1 -1
  590. package/lib/mfa/interfaces/verify-challenge-response.d.cts +1 -1
  591. package/lib/mfa/mfa.cjs +1 -1
  592. package/lib/mfa/mfa.d.cts +1 -1
  593. package/lib/mfa/serializers/challenge.serializer.cjs +1 -1
  594. package/lib/mfa/serializers/challenge.serializer.d.cts +1 -1
  595. package/lib/mfa/serializers/factor.serializer.cjs +1 -1
  596. package/lib/mfa/serializers/factor.serializer.d.cts +1 -1
  597. package/lib/mfa/serializers/index.cjs +3 -3
  598. package/lib/mfa/serializers/index.d.cts +3 -3
  599. package/lib/mfa/serializers/sms.serializer.cjs +1 -1
  600. package/lib/mfa/serializers/sms.serializer.d.cts +1 -1
  601. package/lib/mfa/serializers/totp.serializer.d.cts +1 -1
  602. package/lib/mfa/serializers/verify-response.serializer.cjs +1 -1
  603. package/lib/mfa/serializers/verify-response.serializer.d.cts +1 -1
  604. package/lib/mfa-sqTC0oK9.cjs +50 -0
  605. package/lib/mfa-sqTC0oK9.cjs.map +1 -0
  606. package/lib/no-api-key-provided.exception-hJIhxWx8.d.cts +9 -0
  607. package/lib/not-found.exception-BfAxXziV.d.cts +24 -0
  608. package/lib/oauth-tokens.interface-BmW9Eh4w.d.cts +16 -0
  609. package/lib/oauth.exception-Qx8LPHkD.d.cts +15 -0
  610. package/lib/object.interface-CB8MiPSx.d.cts +35 -0
  611. package/lib/organization-domain.interface-B1AwHwAc.cjs +28 -0
  612. package/lib/organization-domain.interface-B1AwHwAc.cjs.map +1 -0
  613. package/lib/organization-domain.interface-ozdxzINN.d.cts +35 -0
  614. package/lib/organization-domains/interfaces/create-organization-domain-options.interface.d.cts +1 -1
  615. package/lib/organization-domains/interfaces/index.cjs +1 -1
  616. package/lib/organization-domains/interfaces/index.d.cts +2 -2
  617. package/lib/organization-domains/interfaces/organization-domain.interface.cjs +1 -1
  618. package/lib/organization-domains/interfaces/organization-domain.interface.d.cts +1 -1
  619. package/lib/organization-domains/organization-domains.cjs +1 -1
  620. package/lib/organization-domains/organization-domains.d.cts +1 -1
  621. package/lib/organization-domains/serializers/create-organization-domain-options.serializer.cjs +1 -1
  622. package/lib/organization-domains/serializers/create-organization-domain-options.serializer.d.cts +1 -1
  623. package/lib/organization-domains/serializers/organization-domain.serializer.d.cts +1 -1
  624. package/lib/organization-domains-DjSUcSTL.cjs +33 -0
  625. package/lib/organization-domains-DjSUcSTL.cjs.map +1 -0
  626. package/lib/organization-role.interface-evatb3Ca.d.cts +15 -0
  627. package/lib/organization-role.serializer-DhVM4XE8.d.cts +9 -0
  628. package/lib/organization-role.serializer-lsSLexV6.cjs +39 -0
  629. package/lib/organization-role.serializer-lsSLexV6.cjs.map +1 -0
  630. package/lib/organization.interface-v9vB3M2o.d.cts +30 -0
  631. package/lib/organization.serializer-oavqZBEE.d.cts +7 -0
  632. package/lib/organizations/interfaces/create-organization-options.interface.d.cts +1 -1
  633. package/lib/organizations/interfaces/domain-data.interface.cjs +1 -1
  634. package/lib/organizations/interfaces/domain-data.interface.d.cts +1 -1
  635. package/lib/organizations/interfaces/index.cjs +1 -1
  636. package/lib/organizations/interfaces/index.d.cts +6 -6
  637. package/lib/organizations/interfaces/list-organization-feature-flags-options.interface.d.cts +1 -1
  638. package/lib/organizations/interfaces/list-organization-roles-options.interface.d.cts +1 -1
  639. package/lib/organizations/interfaces/list-organizations-options.interface.d.cts +1 -1
  640. package/lib/organizations/interfaces/organization.interface.d.cts +1 -1
  641. package/lib/organizations/interfaces/update-organization-options.interface.d.cts +1 -1
  642. package/lib/organizations/organizations.cjs +1 -1
  643. package/lib/organizations/organizations.d.cts +1 -1
  644. package/lib/organizations/serializers/create-organization-options.serializer.d.cts +1 -1
  645. package/lib/organizations/serializers/index.d.cts +3 -3
  646. package/lib/organizations/serializers/organization.serializer.d.cts +1 -1
  647. package/lib/organizations/serializers/update-organization-options.serializer.d.cts +1 -1
  648. package/lib/organizations-YJmyTBI7.cjs +70 -0
  649. package/lib/organizations-YJmyTBI7.cjs.map +1 -0
  650. package/lib/pagination-D--sr3e2.d.cts +25 -0
  651. package/lib/pagination-options.interface-SKgiNnuZ.d.cts +10 -0
  652. package/lib/parse-error-DGjhb0xQ.cjs +24 -0
  653. package/lib/parse-error-DGjhb0xQ.cjs.map +1 -0
  654. package/lib/password-hash-type.interface-vH25bPgH.d.cts +5 -0
  655. package/lib/password-reset.interface-Yi4hon-d.d.cts +40 -0
  656. package/lib/password-reset.serializer-DvGywW1e.d.cts +8 -0
  657. package/lib/passwordless/interfaces/create-passwordless-session-options.interface.d.cts +1 -1
  658. package/lib/passwordless/interfaces/index.d.cts +3 -3
  659. package/lib/passwordless/interfaces/passwordless-session.interface.d.cts +1 -1
  660. package/lib/passwordless/interfaces/send-session-response.interface.d.cts +1 -1
  661. package/lib/passwordless/passwordless.cjs +1 -1
  662. package/lib/passwordless/passwordless.d.cts +1 -1
  663. package/lib/passwordless/serializers/passwordless-session.serializer.cjs +1 -1
  664. package/lib/passwordless/serializers/passwordless-session.serializer.d.cts +1 -1
  665. package/lib/passwordless-DTlsaF8V.cjs +29 -0
  666. package/lib/passwordless-DTlsaF8V.cjs.map +1 -0
  667. package/lib/passwordless-session.interface-BgyPqlZF.d.cts +18 -0
  668. package/lib/passwordless-session.serializer-CcFomvWf.cjs +18 -0
  669. package/lib/passwordless-session.serializer-CcFomvWf.cjs.map +1 -0
  670. package/lib/patch-options.interface-46BCssmo.d.cts +12 -0
  671. package/lib/permission.interface-BBwAYH07.d.cts +40 -0
  672. package/lib/permission.serializer-BehT5Z93.cjs +21 -0
  673. package/lib/permission.serializer-BehT5Z93.cjs.map +1 -0
  674. package/lib/permission.serializer-RAI4SM7h.d.cts +7 -0
  675. package/lib/pipes/interfaces/access-token.interface.d.cts +1 -1
  676. package/lib/pipes/interfaces/get-access-token.interface.d.cts +1 -1
  677. package/lib/pipes/pipes.cjs +1 -1
  678. package/lib/pipes/pipes.d.cts +1 -1
  679. package/lib/pipes/serializers/access-token.serializer.cjs +1 -1
  680. package/lib/pipes/serializers/access-token.serializer.d.cts +1 -1
  681. package/lib/pipes/serializers/get-access-token.serializer.cjs +1 -1
  682. package/lib/pipes/serializers/get-access-token.serializer.d.cts +1 -1
  683. package/lib/pipes-CRAGN38U.cjs +21 -0
  684. package/lib/pipes-CRAGN38U.cjs.map +1 -0
  685. package/lib/pkce/pkce.d.cts +1 -1
  686. package/lib/pkce-n0rRYj_Q.d.cts +38 -0
  687. package/lib/portal/interfaces/generate-portal-link-intent.interface.cjs +1 -1
  688. package/lib/portal/interfaces/generate-portal-link-intent.interface.d.cts +1 -1
  689. package/lib/portal/interfaces/index.cjs +1 -1
  690. package/lib/portal/interfaces/index.d.cts +1 -1
  691. package/lib/portal/portal.cjs +1 -1
  692. package/lib/portal/portal.d.cts +1 -1
  693. package/lib/portal-BjIQRDuq.cjs +25 -0
  694. package/lib/portal-BjIQRDuq.cjs.map +1 -0
  695. package/lib/post-options.interface-DlEjJsYu.d.cts +13 -0
  696. package/lib/profile-and-token.serializer-Bpr1CB7T.d.cts +8 -0
  697. package/lib/profile.serializer-QeTKhj3R.d.cts +8 -0
  698. package/lib/put-options.interface-7lk8rQLi.d.cts +12 -0
  699. package/lib/query-options.serializer-lpbxqWwr.cjs +19 -0
  700. package/lib/query-options.serializer-lpbxqWwr.cjs.map +1 -0
  701. package/lib/query-options.serializer-rnZkdjgt.d.cts +7 -0
  702. package/lib/query-result.serializer-B2dxUnKw.d.cts +12 -0
  703. package/lib/query-result.serializer-BfOCrnKb.cjs +28 -0
  704. package/lib/query-result.serializer-BfOCrnKb.cjs.map +1 -0
  705. package/lib/query-string-B9WibUJl.cjs +40 -0
  706. package/lib/query-string-B9WibUJl.cjs.map +1 -0
  707. package/lib/query.interface-BuOZQoFM.d.cts +35 -0
  708. package/lib/rate-limit-exceeded.exception-CF4reeT2.d.cts +18 -0
  709. package/lib/read-object.interface-D0Poz3-p.d.cts +25 -0
  710. package/lib/refresh-and-seal-session-data.interface-BSKQWqmn.d.cts +24 -0
  711. package/lib/refresh-and-seal-session-data.interface-zT1i8_J0.cjs +19 -0
  712. package/lib/refresh-and-seal-session-data.interface-zT1i8_J0.cjs.map +1 -0
  713. package/lib/remove-flag-target-options.interface-BZBcjHE7.d.cts +8 -0
  714. package/lib/remove-organization-role-permission-options.interface-ZMh36f0F.d.cts +7 -0
  715. package/lib/request-exception.interface-DahTOGID.d.cts +9 -0
  716. package/lib/resend-invitation-options.interface-BqrfHp3r.d.cts +12 -0
  717. package/lib/resend-invitation-options.serializer-DnsrXnYw.cjs +12 -0
  718. package/lib/resend-invitation-options.serializer-DnsrXnYw.cjs.map +1 -0
  719. package/lib/reset-password-options.interface-ePAbD4TN.cjs +0 -0
  720. package/lib/reset-password-options.interface-uWGx-EHg.d.cts +12 -0
  721. package/lib/reset-password-options.serializer-B814ASb4.d.cts +7 -0
  722. package/lib/resource-op.enum-DvMR02yw.d.cts +8 -0
  723. package/lib/resource-op.enum-ZN9cNRlL.cjs +16 -0
  724. package/lib/resource-op.enum-ZN9cNRlL.cjs.map +1 -0
  725. package/lib/resource.interface-BZ27Ar_A.d.cts +77 -0
  726. package/lib/resource.interface-CvM11E0d.cjs +0 -0
  727. package/lib/resource.serializer-BiDk7ATq.cjs +25 -0
  728. package/lib/resource.serializer-BiDk7ATq.cjs.map +1 -0
  729. package/lib/resource.serializer-DO1Fpj-V.d.cts +8 -0
  730. package/lib/response-payload.interface-B6BBFm56.d.cts +26 -0
  731. package/lib/response-payload.interface-tlU2hrOg.cjs +0 -0
  732. package/lib/revoke-session-options.interface-20LkWyox.d.cts +11 -0
  733. package/lib/revoke-session-options.interface-DNh6uGcR.cjs +12 -0
  734. package/lib/revoke-session-options.interface-DNh6uGcR.cjs.map +1 -0
  735. package/lib/role.interface-DIftS8f6.cjs +0 -0
  736. package/lib/role.serializer-BtM19-S9.cjs +22 -0
  737. package/lib/role.serializer-BtM19-S9.cjs.map +1 -0
  738. package/lib/roles/interfaces/index.d.cts +1 -1
  739. package/lib/roles/interfaces/role.interface.d.cts +1 -1
  740. package/lib/roles/interfaces/role.interface.d.ts +4 -11
  741. package/lib/roles/serializers/role.serializer.cjs +1 -1
  742. package/lib/roles/serializers/role.serializer.d.cts +1 -1
  743. package/lib/runtime-info-1sRVT3y-.cjs +56 -0
  744. package/lib/runtime-info-1sRVT3y-.cjs.map +1 -0
  745. package/lib/seal-B34v5bmh.cjs +315 -0
  746. package/lib/seal-B34v5bmh.cjs.map +1 -0
  747. package/lib/send-invitation-options.interface-C2RofyVU.d.cts +22 -0
  748. package/lib/send-invitation-options.interface-Kcf-k9PB.cjs +0 -0
  749. package/lib/send-invitation-options.serializer-D5x3ss8t.cjs +19 -0
  750. package/lib/send-invitation-options.serializer-D5x3ss8t.cjs.map +1 -0
  751. package/lib/send-session-response.interface-CMl4tWw_.d.cts +8 -0
  752. package/lib/send-session-response.interface-CVGhNzxv.cjs +0 -0
  753. package/lib/send-verification-email-options.interface-BDFFU_hE.cjs +0 -0
  754. package/lib/send-verification-email-options.interface-BtOygLys.d.cts +7 -0
  755. package/lib/serializers-7jp-w6XR.cjs +0 -0
  756. package/lib/serializers-BYNFscuJ.cjs +0 -0
  757. package/lib/serializers-BwPEoKGa.cjs +0 -0
  758. package/lib/serializers-ByG5nPfP.cjs +0 -0
  759. package/lib/serializers-CF5AFJRO.cjs +0 -0
  760. package/lib/serializers-CTAQ2MNs.cjs +0 -0
  761. package/lib/serializers-ConfEXvy.cjs +0 -0
  762. package/lib/serializers-D2Dn6RC1.cjs +0 -0
  763. package/lib/session-D_vnUDl1.cjs +144 -0
  764. package/lib/session-D_vnUDl1.cjs.map +1 -0
  765. package/lib/session-handler-options.interface-BVTuA5uU.d.cts +9 -0
  766. package/lib/session.interface-BZJrUkM4.cjs +0 -0
  767. package/lib/session.interface-zszewQtk.d.cts +38 -0
  768. package/lib/session.serializer-DAUllV3H.d.cts +7 -0
  769. package/lib/set-environment-role-permissions-options.interface-C04yO7oE.cjs +0 -0
  770. package/lib/set-environment-role-permissions-options.interface-CJm4G5CM.d.cts +7 -0
  771. package/lib/set-organization-role-permissions-options.interface-Dsm86677.cjs +0 -0
  772. package/lib/set-organization-role-permissions-options.interface-F54jbJ3q.d.cts +7 -0
  773. package/lib/signature-provider-CdkJsGc8.cjs +38 -0
  774. package/lib/signature-provider-CdkJsGc8.cjs.map +1 -0
  775. package/lib/signature-verification.exception-D2-xkCRS.d.cts +8 -0
  776. package/lib/sms.interface-f_7eFA1B.d.cts +10 -0
  777. package/lib/sms.serializer-DH2jsPuC.cjs +12 -0
  778. package/lib/sms.serializer-DH2jsPuC.cjs.map +1 -0
  779. package/lib/sso/interfaces/authorization-url-options.interface.d.cts +1 -1
  780. package/lib/sso/interfaces/connection-type.enum.cjs +1 -1
  781. package/lib/sso/interfaces/connection-type.enum.d.cts +1 -1
  782. package/lib/sso/interfaces/connection.interface.d.cts +1 -1
  783. package/lib/sso/interfaces/get-profile-and-token-options.interface.d.cts +1 -1
  784. package/lib/sso/interfaces/get-profile-options.interface.d.cts +1 -1
  785. package/lib/sso/interfaces/index.cjs +1 -1
  786. package/lib/sso/interfaces/index.d.cts +7 -8
  787. package/lib/sso/interfaces/list-connections-options.interface.d.cts +1 -1
  788. package/lib/sso/interfaces/profile-and-token.interface.d.cts +1 -1
  789. package/lib/sso/interfaces/profile.interface.d.cts +1 -1
  790. package/lib/sso/serializers/connection.serializer.d.cts +1 -1
  791. package/lib/sso/serializers/index.d.cts +4 -4
  792. package/lib/sso/serializers/list-connections-options.serializer.d.cts +1 -1
  793. package/lib/sso/serializers/profile-and-token.serializer.d.cts +1 -1
  794. package/lib/sso/serializers/profile.serializer.d.cts +1 -1
  795. package/lib/sso/sso.cjs +1 -1
  796. package/lib/sso/sso.d.cts +1 -1
  797. package/lib/sso-DgPiUuie.cjs +135 -0
  798. package/lib/sso-DgPiUuie.cjs.map +1 -0
  799. package/lib/subtle-crypto-provider-BMf63Lhz.cjs +99 -0
  800. package/lib/subtle-crypto-provider-BMf63Lhz.cjs.map +1 -0
  801. package/lib/totp.interface-4Tn9mcvR.d.cts +22 -0
  802. package/lib/unauthorized.exception-B0Ma7wJ5.d.cts +13 -0
  803. package/lib/unknown-record.interface-DSMWbzCc.d.cts +5 -0
  804. package/lib/unprocessable-entity-error.interface-B2dNTbj0.cjs +0 -0
  805. package/lib/unprocessable-entity-error.interface-CGfXN5Ma.d.cts +8 -0
  806. package/lib/unprocessable-entity.exception-rapwl2dZ.d.cts +25 -0
  807. package/lib/unreachable-CWBbz4U6.cjs +23 -0
  808. package/lib/unreachable-CWBbz4U6.cjs.map +1 -0
  809. package/lib/update-environment-role-options.interface-dosXnOZd.d.cts +12 -0
  810. package/lib/update-environment-role-options.interface-i6KgrgfD.cjs +0 -0
  811. package/lib/update-environment-role-options.serializer-BNsh8m0U.d.cts +7 -0
  812. package/lib/update-environment-role-options.serializer-CBZS-b8e.cjs +15 -0
  813. package/lib/update-environment-role-options.serializer-CBZS-b8e.cjs.map +1 -0
  814. package/lib/update-object.interface-CSfFiDhx.cjs +0 -0
  815. package/lib/update-object.interface-H3nqYCkH.d.cts +13 -0
  816. package/lib/update-organization-membership-options.interface-DI05j1eb.cjs +0 -0
  817. package/lib/update-organization-membership-options.interface-vwSowDwp.d.cts +12 -0
  818. package/lib/update-organization-membership-options.serializer-BL-XfapK.cjs +15 -0
  819. package/lib/update-organization-membership-options.serializer-BL-XfapK.cjs.map +1 -0
  820. package/lib/update-organization-options.interface-Bo0n5-X2.cjs +0 -0
  821. package/lib/update-organization-options.interface-C5szqmv1.d.cts +21 -0
  822. package/lib/update-organization-options.serializer-BMZ1uX4v.d.cts +7 -0
  823. package/lib/update-organization-role-options.interface-BxoOYg6j.cjs +0 -0
  824. package/lib/update-organization-role-options.interface-rE638uDV.d.cts +12 -0
  825. package/lib/update-organization-role-options.serializer-C09TvDoL.cjs +15 -0
  826. package/lib/update-organization-role-options.serializer-C09TvDoL.cjs.map +1 -0
  827. package/lib/update-organization-role-options.serializer-v4U24skp.d.cts +7 -0
  828. package/lib/update-permission-options.interface-1DDWIS6-.d.cts +12 -0
  829. package/lib/update-permission-options.interface-Cc6sRKzk.cjs +0 -0
  830. package/lib/update-permission-options.serializer-DBaEseXC.cjs +15 -0
  831. package/lib/update-permission-options.serializer-DBaEseXC.cjs.map +1 -0
  832. package/lib/update-permission-options.serializer-LHPO0d7U.d.cts +7 -0
  833. package/lib/update-user-options.interface-CS28Uw1c.cjs +0 -0
  834. package/lib/update-user-options.interface-yJ1zfqXv.d.cts +31 -0
  835. package/lib/update-user-options.serializer-PMEBc0mh.d.cts +7 -0
  836. package/lib/update-user-password-options.interface-Bhwbi84x.d.cts +11 -0
  837. package/lib/update-user-password-options.interface-Bx71Wh7d.cjs +0 -0
  838. package/lib/update-user-password-options.serializer-xFeYcrdn.d.cts +7 -0
  839. package/lib/user-management/interfaces/authenticate-with-code-and-verifier-options.interface.d.cts +1 -1
  840. package/lib/user-management/interfaces/authenticate-with-code-options.interface.d.cts +1 -1
  841. package/lib/user-management/interfaces/authenticate-with-email-verification-options.interface.d.cts +1 -1
  842. package/lib/user-management/interfaces/authenticate-with-magic-auth-options.interface.d.cts +1 -1
  843. package/lib/user-management/interfaces/authenticate-with-options-base.interface.d.cts +1 -1
  844. package/lib/user-management/interfaces/authenticate-with-organization-selection.interface.d.cts +1 -1
  845. package/lib/user-management/interfaces/authenticate-with-password-options.interface.d.cts +1 -1
  846. package/lib/user-management/interfaces/authenticate-with-refresh-token-options.interface.d.cts +1 -1
  847. package/lib/user-management/interfaces/authenticate-with-refresh-token-public-client-options.interface.d.cts +1 -1
  848. package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.cjs +1 -1
  849. package/lib/user-management/interfaces/authenticate-with-session-cookie.interface.d.cts +1 -1
  850. package/lib/user-management/interfaces/authenticate-with-totp-options.interface.d.cts +1 -1
  851. package/lib/user-management/interfaces/authentication-event.interface.d.cts +1 -1
  852. package/lib/user-management/interfaces/authentication-radar-risk-detected-event.interface.d.cts +1 -1
  853. package/lib/user-management/interfaces/authentication-response.interface.d.cts +1 -1
  854. package/lib/user-management/interfaces/authorization-url-options.interface.d.cts +1 -1
  855. package/lib/user-management/interfaces/create-magic-auth-options.interface.d.cts +1 -1
  856. package/lib/user-management/interfaces/create-organization-membership-options.interface.d.cts +1 -1
  857. package/lib/user-management/interfaces/create-password-reset-options.interface.d.cts +1 -1
  858. package/lib/user-management/interfaces/create-user-options.interface.d.cts +1 -1
  859. package/lib/user-management/interfaces/email-verification.interface.d.cts +1 -1
  860. package/lib/user-management/interfaces/enroll-auth-factor.interface.d.cts +1 -1
  861. package/lib/user-management/interfaces/factor.interface.d.cts +1 -1
  862. package/lib/user-management/interfaces/identity.interface.d.cts +1 -1
  863. package/lib/user-management/interfaces/impersonator.interface.d.cts +1 -1
  864. package/lib/user-management/interfaces/index.cjs +3 -3
  865. package/lib/user-management/interfaces/index.d.cts +45 -46
  866. package/lib/user-management/interfaces/invitation.interface.d.cts +1 -1
  867. package/lib/user-management/interfaces/list-auth-factors-options.interface.d.cts +1 -1
  868. package/lib/user-management/interfaces/list-invitations-options.interface.d.cts +1 -1
  869. package/lib/user-management/interfaces/list-organization-memberships-options.interface.d.cts +1 -1
  870. package/lib/user-management/interfaces/list-sessions-options.interface.d.cts +1 -1
  871. package/lib/user-management/interfaces/list-user-feature-flags-options.interface.d.cts +1 -1
  872. package/lib/user-management/interfaces/list-users-options.interface.d.cts +1 -1
  873. package/lib/user-management/interfaces/locale.interface.d.cts +1 -1
  874. package/lib/user-management/interfaces/logout-url-options.interface.d.cts +1 -1
  875. package/lib/user-management/interfaces/magic-auth.interface.d.cts +1 -1
  876. package/lib/user-management/interfaces/oauth-tokens.interface.d.cts +1 -1
  877. package/lib/user-management/interfaces/organization-membership.interface.d.cts +1 -1
  878. package/lib/user-management/interfaces/password-hash-type.interface.d.cts +1 -1
  879. package/lib/user-management/interfaces/password-reset.interface.d.cts +1 -1
  880. package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.cjs +1 -1
  881. package/lib/user-management/interfaces/refresh-and-seal-session-data.interface.d.cts +1 -1
  882. package/lib/user-management/interfaces/resend-invitation-options.interface.d.cts +1 -1
  883. package/lib/user-management/interfaces/reset-password-options.interface.d.cts +1 -1
  884. package/lib/user-management/interfaces/revoke-session-options.interface.cjs +1 -1
  885. package/lib/user-management/interfaces/revoke-session-options.interface.d.cts +1 -1
  886. package/lib/user-management/interfaces/send-invitation-options.interface.d.cts +1 -1
  887. package/lib/user-management/interfaces/send-verification-email-options.interface.d.cts +1 -1
  888. package/lib/user-management/interfaces/session-handler-options.interface.d.cts +1 -1
  889. package/lib/user-management/interfaces/session.interface.d.cts +1 -1
  890. package/lib/user-management/interfaces/update-organization-membership-options.interface.d.cts +1 -1
  891. package/lib/user-management/interfaces/update-user-options.interface.d.cts +1 -1
  892. package/lib/user-management/interfaces/update-user-password-options.interface.d.cts +1 -1
  893. package/lib/user-management/interfaces/user.interface.d.cts +1 -1
  894. package/lib/user-management/interfaces/verify-email-options.interface.d.cts +1 -1
  895. package/lib/user-management/serializers/authenticate-with-code-and-verifier-options.serializer.d.cts +1 -1
  896. package/lib/user-management/serializers/authenticate-with-code-options.serializer.d.cts +1 -1
  897. package/lib/user-management/serializers/authenticate-with-email-verification.serializer.cjs +1 -1
  898. package/lib/user-management/serializers/authenticate-with-email-verification.serializer.d.cts +2 -2
  899. package/lib/user-management/serializers/authenticate-with-magic-auth-options.serializer.d.cts +1 -1
  900. package/lib/user-management/serializers/authenticate-with-organization-selection-options.serializer.cjs +1 -1
  901. package/lib/user-management/serializers/authenticate-with-organization-selection-options.serializer.d.cts +2 -2
  902. package/lib/user-management/serializers/authenticate-with-password-options.serializer.d.cts +1 -1
  903. package/lib/user-management/serializers/authenticate-with-refresh-token-public-client-options.serializer.d.cts +1 -1
  904. package/lib/user-management/serializers/authenticate-with-refresh-token.options.serializer.d.cts +1 -1
  905. package/lib/user-management/serializers/authenticate-with-totp-options.serializer.d.cts +1 -1
  906. package/lib/user-management/serializers/authentication-event.serializer.d.cts +1 -1
  907. package/lib/user-management/serializers/authentication-radar-risk-event-serializer.d.cts +1 -1
  908. package/lib/user-management/serializers/authentication-response.serializer.d.cts +1 -1
  909. package/lib/user-management/serializers/create-magic-auth-options.serializer.d.cts +1 -1
  910. package/lib/user-management/serializers/create-organization-membership-options.serializer.cjs +1 -1
  911. package/lib/user-management/serializers/create-organization-membership-options.serializer.d.cts +1 -1
  912. package/lib/user-management/serializers/create-password-reset-options.serializer.d.cts +1 -1
  913. package/lib/user-management/serializers/create-user-options.serializer.d.cts +1 -1
  914. package/lib/user-management/serializers/email-verification.serializer.d.cts +1 -1
  915. package/lib/user-management/serializers/enroll-auth-factor-options.serializer.d.cts +1 -1
  916. package/lib/user-management/serializers/factor.serializer.d.cts +1 -1
  917. package/lib/user-management/serializers/identity.serializer.cjs +1 -1
  918. package/lib/user-management/serializers/identity.serializer.d.cts +1 -1
  919. package/lib/user-management/serializers/index.d.cts +24 -24
  920. package/lib/user-management/serializers/invitation.serializer.d.cts +1 -1
  921. package/lib/user-management/serializers/list-invitations-options.serializer.cjs +1 -1
  922. package/lib/user-management/serializers/list-invitations-options.serializer.d.cts +1 -1
  923. package/lib/user-management/serializers/list-organization-memberships-options.serializer.cjs +1 -1
  924. package/lib/user-management/serializers/list-organization-memberships-options.serializer.d.cts +1 -1
  925. package/lib/user-management/serializers/list-sessions-options.serializer.d.cts +1 -1
  926. package/lib/user-management/serializers/list-users-options.serializer.cjs +1 -1
  927. package/lib/user-management/serializers/list-users-options.serializer.d.cts +1 -1
  928. package/lib/user-management/serializers/magic-auth.serializer.d.cts +1 -1
  929. package/lib/user-management/serializers/oauth-tokens.serializer.d.cts +1 -1
  930. package/lib/user-management/serializers/organization-membership.serializer.d.cts +1 -1
  931. package/lib/user-management/serializers/password-reset.serializer.d.cts +1 -1
  932. package/lib/user-management/serializers/resend-invitation-options.serializer.cjs +1 -1
  933. package/lib/user-management/serializers/resend-invitation-options.serializer.d.cts +1 -1
  934. package/lib/user-management/serializers/reset-password-options.serializer.d.cts +1 -1
  935. package/lib/user-management/serializers/role.serializer.d.cts +1 -1
  936. package/lib/user-management/serializers/send-invitation-options.serializer.cjs +1 -1
  937. package/lib/user-management/serializers/send-invitation-options.serializer.d.cts +1 -1
  938. package/lib/user-management/serializers/session.serializer.d.cts +1 -1
  939. package/lib/user-management/serializers/update-organization-membership-options.serializer.cjs +1 -1
  940. package/lib/user-management/serializers/update-organization-membership-options.serializer.d.cts +1 -1
  941. package/lib/user-management/serializers/update-user-options.serializer.d.cts +1 -1
  942. package/lib/user-management/serializers/update-user-password-options.serializer.d.cts +1 -1
  943. package/lib/user-management/serializers/user.serializer.d.cts +1 -1
  944. package/lib/user-management/session.cjs +2 -2
  945. package/lib/user-management/session.d.cts +1 -1
  946. package/lib/user-management/user-management.cjs +3 -3
  947. package/lib/user-management/user-management.d.cts +1 -1
  948. package/lib/user-management-BiK0k4qR.cjs +539 -0
  949. package/lib/user-management-BiK0k4qR.cjs.map +1 -0
  950. package/lib/user.interface-BJY1-A6X.d.cts +34 -0
  951. package/lib/user.interface-Db9w7KTg.cjs +0 -0
  952. package/lib/user.serializer-Cm-81FKp.d.cts +7 -0
  953. package/lib/utils/jose.cjs +1 -1
  954. package/lib/validate-api-key.interface-CH-HBG4k.cjs +0 -0
  955. package/lib/validate-api-key.interface-DNV_9W09.d.cts +15 -0
  956. package/lib/validate-api-key.serializer-1ugfgyKZ.d.cts +7 -0
  957. package/lib/vault/interfaces/index.d.cts +10 -10
  958. package/lib/vault/interfaces/key/create-data-key.interface.d.cts +1 -1
  959. package/lib/vault/interfaces/key/decrypt-data-key.interface.d.cts +1 -1
  960. package/lib/vault/interfaces/key.interface.d.cts +1 -1
  961. package/lib/vault/interfaces/object/create-object.interface.d.cts +1 -1
  962. package/lib/vault/interfaces/object/delete-object.interface.d.cts +1 -1
  963. package/lib/vault/interfaces/object/list-object-versions.interface.d.cts +1 -1
  964. package/lib/vault/interfaces/object/list-objects.interface.d.cts +1 -1
  965. package/lib/vault/interfaces/object/read-object.interface.d.cts +1 -1
  966. package/lib/vault/interfaces/object/update-object.interface.d.cts +1 -1
  967. package/lib/vault/interfaces/object.interface.d.cts +1 -1
  968. package/lib/vault/serializers/vault-key.serializer.cjs +1 -1
  969. package/lib/vault/serializers/vault-key.serializer.d.cts +3 -3
  970. package/lib/vault/serializers/vault-object.serializer.cjs +1 -1
  971. package/lib/vault/serializers/vault-object.serializer.d.cts +7 -7
  972. package/lib/vault/vault.cjs +1 -1
  973. package/lib/vault/vault.d.cts +1 -1
  974. package/lib/vault-DFZlnEty.cjs +106 -0
  975. package/lib/vault-DFZlnEty.cjs.map +1 -0
  976. package/lib/vault-key.serializer-CprnZmmD.cjs +29 -0
  977. package/lib/vault-key.serializer-CprnZmmD.cjs.map +1 -0
  978. package/lib/vault-object.serializer-DdulnQ2X.cjs +84 -0
  979. package/lib/vault-object.serializer-DdulnQ2X.cjs.map +1 -0
  980. package/lib/verify-challenge-options-BNCpUNrV.d.cts +8 -0
  981. package/lib/verify-challenge-response-DpXoIuSX.d.cts +14 -0
  982. package/lib/verify-email-options.interface-C0_VqDVK.d.cts +11 -0
  983. package/lib/verify-email-options.interface-DNBDrwqZ.cjs +0 -0
  984. package/lib/verify-response.serializer-DLbxaA_Y.d.cts +7 -0
  985. package/lib/verify-response.serializer-DnBMVXXn.cjs +16 -0
  986. package/lib/verify-response.serializer-DnBMVXXn.cjs.map +1 -0
  987. package/lib/warning.interface-yJ1XNLbJ.d.cts +13 -0
  988. package/lib/warrant-op.enum-B2CZD0r0.cjs +16 -0
  989. package/lib/warrant-op.enum-B2CZD0r0.cjs.map +1 -0
  990. package/lib/warrant-op.enum-Dj1dkgof.d.cts +8 -0
  991. package/lib/warrant-token.interface-CT-IebpW.cjs +0 -0
  992. package/lib/warrant-token.interface-DPxaBIlh.d.cts +10 -0
  993. package/lib/warrant-token.serializer-C66i3W4C.d.cts +7 -0
  994. package/lib/warrant-token.serializer-CjWnRVCi.cjs +12 -0
  995. package/lib/warrant-token.serializer-CjWnRVCi.cjs.map +1 -0
  996. package/lib/warrant.interface-80A3Pew0.d.cts +71 -0
  997. package/lib/warrant.interface-DdHBsjB0.cjs +0 -0
  998. package/lib/warrant.serializer-CpeeZzCI.cjs +22 -0
  999. package/lib/warrant.serializer-CpeeZzCI.cjs.map +1 -0
  1000. package/lib/warrant.serializer-q9Ra6iEa.d.cts +7 -0
  1001. package/lib/webhooks/webhooks.cjs +1 -1
  1002. package/lib/webhooks/webhooks.d.cts +1 -1
  1003. package/lib/webhooks-BNPP-kiP.cjs +38 -0
  1004. package/lib/webhooks-BNPP-kiP.cjs.map +1 -0
  1005. package/lib/webhooks-BlEjg80a.d.cts +35 -0
  1006. package/lib/widgets/interfaces/get-token.cjs +1 -1
  1007. package/lib/widgets/interfaces/get-token.d.cts +1 -1
  1008. package/lib/widgets/widgets.cjs +1 -1
  1009. package/lib/widgets/widgets.d.cts +1 -1
  1010. package/lib/widgets-BRJb0-Zr.cjs +21 -0
  1011. package/lib/widgets-BRJb0-Zr.cjs.map +1 -0
  1012. package/lib/workos-CU67HvQn.cjs +332 -0
  1013. package/lib/workos-CU67HvQn.cjs.map +1 -0
  1014. package/lib/workos-options.interface-DsrGUZeh.d.cts +17 -0
  1015. package/lib/workos-options.interface-Dyy5FyDG.cjs +0 -0
  1016. package/lib/workos-response-error.interface-CUW8-rVq.d.cts +13 -0
  1017. package/lib/workos-response-error.interface-DfARVQg0.cjs +0 -0
  1018. package/lib/workos.cjs +5 -5
  1019. package/lib/workos.d.cts +1 -1
  1020. package/lib/workos.d.ts +6 -0
  1021. package/lib/workos.js +27 -1
  1022. package/lib/workos.js.map +1 -1
  1023. package/lib/write-warrant-options.serializer-BuW_6XA_.cjs +26 -0
  1024. package/lib/write-warrant-options.serializer-BuW_6XA_.cjs.map +1 -0
  1025. package/lib/write-warrant-options.serializer-DYf63mng.d.cts +7 -0
  1026. package/package.json +1 -1
  1027. package/lib/access-token.interface-CRaRBZsU.d.cts +0 -18
  1028. package/lib/access-token.serializer-BTB3otha.cjs +0 -20
  1029. package/lib/access-token.serializer-BTB3otha.cjs.map +0 -1
  1030. package/lib/action.interface-DuyarN1t.d.cts +0 -63
  1031. package/lib/action.serializer-BGWv6ab1.cjs +0 -47
  1032. package/lib/action.serializer-BGWv6ab1.cjs.map +0 -1
  1033. package/lib/actions-DTMrvfa0.d.cts +0 -41
  1034. package/lib/actions-DuKUPx9Z.cjs +0 -58
  1035. package/lib/actions-DuKUPx9Z.cjs.map +0 -1
  1036. package/lib/add-flag-target-options.interface-CSZH3Ukq.d.cts +0 -8
  1037. package/lib/api-key-required.exception-B3Qy27bt.d.cts +0 -10
  1038. package/lib/api-key.interface-Bc1XdCvA.d.cts +0 -32
  1039. package/lib/api-key.serializer-CFSEdidV.d.cts +0 -7
  1040. package/lib/api-keys-DMUGmsZs.d.cts +0 -705
  1041. package/lib/app-info.interface-CETHNJs2.d.cts +0 -8
  1042. package/lib/audit-log-export-options.interface-DyG_8W4Y.d.cts +0 -22
  1043. package/lib/audit-log-export-options.serializer-BFTh7oaz.cjs +0 -20
  1044. package/lib/audit-log-export-options.serializer-BFTh7oaz.cjs.map +0 -1
  1045. package/lib/audit-log-export-options.serializer-Cnxrfmfn.d.cts +0 -7
  1046. package/lib/audit-log-export.interface-Cgko18qD.d.cts +0 -20
  1047. package/lib/audit-log-export.serializer-Byj3fn9x.cjs +0 -19
  1048. package/lib/audit-log-export.serializer-Byj3fn9x.cjs.map +0 -1
  1049. package/lib/audit-log-export.serializer-CUII4Y4i.d.cts +0 -7
  1050. package/lib/audit-logs-CnDObwhP.cjs +0 -43
  1051. package/lib/audit-logs-CnDObwhP.cjs.map +0 -1
  1052. package/lib/authenticate-with-code-and-verifier-options.interface-D2SVWZby.d.cts +0 -17
  1053. package/lib/authenticate-with-code-and-verifier-options.serializer-BaPf8uVv.d.cts +0 -8
  1054. package/lib/authenticate-with-code-options.interface-_PQBLQ-f.d.cts +0 -20
  1055. package/lib/authenticate-with-code-options.serializer-gTbr4N1f.d.cts +0 -8
  1056. package/lib/authenticate-with-email-verification-options.interface-Duq7TpqS.d.cts +0 -18
  1057. package/lib/authenticate-with-email-verification.serializer-DkvyobQ9.cjs +0 -20
  1058. package/lib/authenticate-with-email-verification.serializer-DkvyobQ9.cjs.map +0 -1
  1059. package/lib/authenticate-with-magic-auth-options.interface-B4zDB7Px.d.cts +0 -22
  1060. package/lib/authenticate-with-magic-auth-options.serializer-BIqxsKdv.d.cts +0 -8
  1061. package/lib/authenticate-with-options-base.interface-B47-j3MI.d.cts +0 -41
  1062. package/lib/authenticate-with-organization-selection-options.serializer-BgFxJgiU.cjs +0 -20
  1063. package/lib/authenticate-with-organization-selection-options.serializer-BgFxJgiU.cjs.map +0 -1
  1064. package/lib/authenticate-with-organization-selection.interface-BwhjlciB.d.cts +0 -18
  1065. package/lib/authenticate-with-password-options.interface-CfCSnrac.d.cts +0 -20
  1066. package/lib/authenticate-with-password-options.serializer-CJKEMwi6.d.cts +0 -8
  1067. package/lib/authenticate-with-refresh-token-options.interface-DSYu4cDc.d.cts +0 -18
  1068. package/lib/authenticate-with-refresh-token-public-client-options.interface-N18YC9dn.d.cts +0 -16
  1069. package/lib/authenticate-with-refresh-token-public-client-options.serializer-Bf8QhT2D.d.cts +0 -8
  1070. package/lib/authenticate-with-refresh-token.options.serializer-BEz5Vf-W.d.cts +0 -9
  1071. package/lib/authenticate-with-session-cookie.interface-BfanVwPO.d.cts +0 -45
  1072. package/lib/authenticate-with-session-cookie.interface-wRJr18ep.cjs +0 -17
  1073. package/lib/authenticate-with-session-cookie.interface-wRJr18ep.cjs.map +0 -1
  1074. package/lib/authenticate-with-totp-options.interface-LhACZ5GS.d.cts +0 -20
  1075. package/lib/authenticate-with-totp-options.serializer-rMi4rFLn.d.cts +0 -8
  1076. package/lib/authentication-event.interface-DXEILc55.d.cts +0 -28
  1077. package/lib/authentication-event.serializer-CovU_aZ3.d.cts +0 -7
  1078. package/lib/authentication-radar-risk-detected-event.interface-CcuNPOCx.d.cts +0 -24
  1079. package/lib/authentication-response.interface-CZE2FVdd.d.cts +0 -28
  1080. package/lib/authentication-response.serializer-mhp8UqVs.d.cts +0 -7
  1081. package/lib/authorization-url-options.interface-BbIXXS2F.d.cts +0 -45
  1082. package/lib/authorization-url-options.interface-Cs9dWC8D.d.cts +0 -55
  1083. package/lib/bad-request.exception-KjLJBnk8.d.cts +0 -25
  1084. package/lib/base64-Bch1KFsQ.cjs +0 -44
  1085. package/lib/base64-Bch1KFsQ.cjs.map +0 -1
  1086. package/lib/batch-write-resources-options.serializer-BaW6EWzS.cjs +0 -23
  1087. package/lib/batch-write-resources-options.serializer-BaW6EWzS.cjs.map +0 -1
  1088. package/lib/batch-write-resources-options.serializer-q2EamfTe.d.cts +0 -7
  1089. package/lib/challenge-factor-options-88fR92i-.d.cts +0 -10
  1090. package/lib/challenge.interface-DUM9qMGp.d.cts +0 -22
  1091. package/lib/challenge.serializer-BYPoaw59.d.cts +0 -7
  1092. package/lib/challenge.serializer-CiNDM6Ny.cjs +0 -20
  1093. package/lib/challenge.serializer-CiNDM6Ny.cjs.map +0 -1
  1094. package/lib/check-op.enum-BwJZx-i9.d.cts +0 -8
  1095. package/lib/check-op.enum-DXKGh2oy.cjs +0 -16
  1096. package/lib/check-op.enum-DXKGh2oy.cjs.map +0 -1
  1097. package/lib/check-options.serializer-7EswFQ_P.cjs +0 -69
  1098. package/lib/check-options.serializer-7EswFQ_P.cjs.map +0 -1
  1099. package/lib/check-options.serializer-BPqbwhK1.d.cts +0 -9
  1100. package/lib/check.interface-B2pzNanW.cjs +0 -33
  1101. package/lib/check.interface-B2pzNanW.cjs.map +0 -1
  1102. package/lib/check.interface-CYFe8m8j.d.cts +0 -88
  1103. package/lib/conflict.exception-CN3a7Qrw.cjs +0 -23
  1104. package/lib/conflict.exception-CN3a7Qrw.cjs.map +0 -1
  1105. package/lib/connection-type.enum-Cu3iqCqL.d.cts +0 -41
  1106. package/lib/connection-type.enum-DPs-QB7_.cjs +0 -49
  1107. package/lib/connection-type.enum-DPs-QB7_.cjs.map +0 -1
  1108. package/lib/connection.interface-DvRENQyW.d.cts +0 -33
  1109. package/lib/connection.serializer-B_sjMnG8.d.cts +0 -7
  1110. package/lib/create-audit-log-event-options.interface-BnHYA9HK.d.cts +0 -43
  1111. package/lib/create-audit-log-event-options.serializer-CxeBsv3o.d.cts +0 -7
  1112. package/lib/create-audit-log-event-options.serializer-DZTgmGP0.cjs +0 -23
  1113. package/lib/create-audit-log-event-options.serializer-DZTgmGP0.cjs.map +0 -1
  1114. package/lib/create-audit-log-schema-options.interface-B-g6mGDr.d.cts +0 -67
  1115. package/lib/create-audit-log-schema-options.serializer-COT4AmMk.d.cts +0 -7
  1116. package/lib/create-audit-log-schema-options.serializer-DduNDNmZ.cjs +0 -38
  1117. package/lib/create-audit-log-schema-options.serializer-DduNDNmZ.cjs.map +0 -1
  1118. package/lib/create-audit-log-schema.serializer-Ckh7kTCE.d.cts +0 -7
  1119. package/lib/create-audit-log-schema.serializer-_lWlYDLV.cjs +0 -32
  1120. package/lib/create-audit-log-schema.serializer-_lWlYDLV.cjs.map +0 -1
  1121. package/lib/create-data-key.interface-l5swdCo_.d.cts +0 -15
  1122. package/lib/create-magic-auth-options.interface-DDSHQamS.d.cts +0 -12
  1123. package/lib/create-magic-auth-options.serializer-S1w9rPAK.d.cts +0 -7
  1124. package/lib/create-object.interface-bEH6nxNn.d.cts +0 -16
  1125. package/lib/create-organization-api-key-options.serializer-Bd5IjZMz.cjs +0 -17
  1126. package/lib/create-organization-api-key-options.serializer-Bd5IjZMz.cjs.map +0 -1
  1127. package/lib/create-organization-api-key-options.serializer-CgC5GvyE.d.cts +0 -7
  1128. package/lib/create-organization-domain-options.interface-vmiHd4oy.d.cts +0 -12
  1129. package/lib/create-organization-domain-options.serializer-DywoyU7B.cjs +0 -15
  1130. package/lib/create-organization-domain-options.serializer-DywoyU7B.cjs.map +0 -1
  1131. package/lib/create-organization-membership-options.interface-Degs7uYp.d.cts +0 -16
  1132. package/lib/create-organization-membership-options.serializer-Da3OXX5I.cjs +0 -17
  1133. package/lib/create-organization-membership-options.serializer-Da3OXX5I.cjs.map +0 -1
  1134. package/lib/create-organization-options.serializer-BL90OMyI.d.cts +0 -7
  1135. package/lib/create-password-reset-options.interface-DHlRNbbw.d.cts +0 -10
  1136. package/lib/create-password-reset-options.serializer-6gqQIGCI.d.cts +0 -7
  1137. package/lib/create-passwordless-session-options.interface-Bb4f1yMI.d.cts +0 -20
  1138. package/lib/create-resource-options.serializer-CjLPXso6.cjs +0 -17
  1139. package/lib/create-resource-options.serializer-CjLPXso6.cjs.map +0 -1
  1140. package/lib/create-resource-options.serializer-CmWENyEL.d.cts +0 -7
  1141. package/lib/create-user-options.interface-D_4g7FwE.d.cts +0 -28
  1142. package/lib/create-user-options.serializer-CrOqZ2Sg.d.cts +0 -7
  1143. package/lib/created-api-key.interface-DAzMzScM.d.cts +0 -34
  1144. package/lib/created-api-key.serializer-C_KGmm2w.d.cts +0 -7
  1145. package/lib/created-api-key.serializer-TAY4jtUj.cjs +0 -25
  1146. package/lib/created-api-key.serializer-TAY4jtUj.cjs.map +0 -1
  1147. package/lib/crypto-provider-C895awiY.cjs +0 -18
  1148. package/lib/crypto-provider-C895awiY.cjs.map +0 -1
  1149. package/lib/crypto-provider-CIbAgUc-.d.cts +0 -75
  1150. package/lib/decrypt-data-key.interface-DtA2snTS.d.cts +0 -11
  1151. package/lib/delete-object.interface-EBnHDGAU.d.cts +0 -7
  1152. package/lib/delete-resource-options.serializer-CAW9K14w.d.cts +0 -7
  1153. package/lib/delete-resource-options.serializer-CFyX75Zh.cjs +0 -16
  1154. package/lib/delete-resource-options.serializer-CFyX75Zh.cjs.map +0 -1
  1155. package/lib/directory-group.interface-GMCt7YpS.d.cts +0 -24
  1156. package/lib/directory-group.serializer-T0UTcH3V.d.cts +0 -8
  1157. package/lib/directory-sync-DKBetghA.cjs +0 -46
  1158. package/lib/directory-sync-DKBetghA.cjs.map +0 -1
  1159. package/lib/directory-user.interface-ctD0z-go.d.cts +0 -48
  1160. package/lib/directory-user.serializer-BRhPq1Zu.d.cts +0 -9
  1161. package/lib/directory.interface-DfilAjzZ.d.cts +0 -60
  1162. package/lib/directory.serializer-CmsYM7zR.d.cts +0 -10
  1163. package/lib/domain-data.interface-C5ooqStM.d.cts +0 -12
  1164. package/lib/domain-data.interface-DuamoxCX.cjs +0 -16
  1165. package/lib/domain-data.interface-DuamoxCX.cjs.map +0 -1
  1166. package/lib/email-verification.interface-C76KCm8m.d.cts +0 -42
  1167. package/lib/email-verification.serializer-DAd-BP98.d.cts +0 -8
  1168. package/lib/enroll-auth-factor-options.serializer-DZKqvpHa.d.cts +0 -7
  1169. package/lib/enroll-auth-factor.interface-Dm2hlIs4.d.cts +0 -17
  1170. package/lib/enroll-factor-options-DLuag4wH.d.cts +0 -14
  1171. package/lib/env-CCN5u8Rv.cjs +0 -62
  1172. package/lib/env-CCN5u8Rv.cjs.map +0 -1
  1173. package/lib/event.serializer-B2GuXosD.cjs +0 -180
  1174. package/lib/event.serializer-B2GuXosD.cjs.map +0 -1
  1175. package/lib/event.serializer-BWtSuQAw.d.cts +0 -7
  1176. package/lib/events-lqbh0x1u.cjs +0 -23
  1177. package/lib/events-lqbh0x1u.cjs.map +0 -1
  1178. package/lib/factor.interface-DY92_aec.d.cts +0 -44
  1179. package/lib/factor.interface-Jwg0D7nP.d.cts +0 -42
  1180. package/lib/factor.serializer-CQ1w93Sn.d.cts +0 -8
  1181. package/lib/factor.serializer-CqXuPE9e.cjs +0 -37
  1182. package/lib/factor.serializer-CqXuPE9e.cjs.map +0 -1
  1183. package/lib/factor.serializer-Dqa3WvHr.d.cts +0 -8
  1184. package/lib/factory-C5JFKrKt.cjs +0 -15
  1185. package/lib/factory-C5JFKrKt.cjs.map +0 -1
  1186. package/lib/feature-flag.interface-5gR4Txsk.d.cts +0 -28
  1187. package/lib/feature-flag.serializer-CXzLmsy8.d.cts +0 -7
  1188. package/lib/feature-flag.serializer-DhnZDZE3.cjs +0 -23
  1189. package/lib/feature-flag.serializer-DhnZDZE3.cjs.map +0 -1
  1190. package/lib/feature-flags-w4M2jmZ4.cjs +0 -42
  1191. package/lib/feature-flags-w4M2jmZ4.cjs.map +0 -1
  1192. package/lib/fetch-and-deserialize-Cw0qruaA.cjs +0 -25
  1193. package/lib/fetch-and-deserialize-Cw0qruaA.cjs.map +0 -1
  1194. package/lib/fetch-and-deserialize-list-fKCIhUCS.cjs +0 -19
  1195. package/lib/fetch-and-deserialize-list-fKCIhUCS.cjs.map +0 -1
  1196. package/lib/fetch-client-CSHUm64J.cjs +0 -178
  1197. package/lib/fetch-client-CSHUm64J.cjs.map +0 -1
  1198. package/lib/fga-DDQcYlFx.cjs +0 -83
  1199. package/lib/fga-DDQcYlFx.cjs.map +0 -1
  1200. package/lib/fga-paginatable-Bq_-XEib.d.cts +0 -14
  1201. package/lib/fga-paginatable-CcnmklhZ.cjs +0 -22
  1202. package/lib/fga-paginatable-CcnmklhZ.cjs.map +0 -1
  1203. package/lib/generate-portal-link-intent.interface-1rRu8_0c.cjs +0 -20
  1204. package/lib/generate-portal-link-intent.interface-1rRu8_0c.cjs.map +0 -1
  1205. package/lib/generate-portal-link-intent.interface-CktTgyDC.d.cts +0 -12
  1206. package/lib/generic-server.exception-_vsH8SZy.d.cts +0 -14
  1207. package/lib/get-access-token.interface-ClGvoDsn.d.cts +0 -32
  1208. package/lib/get-access-token.serializer-DgmyudCD.cjs +0 -34
  1209. package/lib/get-access-token.serializer-DgmyudCD.cjs.map +0 -1
  1210. package/lib/get-options.interface-C7_1wOuz.d.cts +0 -11
  1211. package/lib/get-profile-and-token-options.interface-Cc1l5_d-.d.cts +0 -14
  1212. package/lib/get-profile-options.interface-DpfzZ2dN.d.cts +0 -7
  1213. package/lib/get-token-2lecb0Cy.cjs +0 -23
  1214. package/lib/get-token-2lecb0Cy.cjs.map +0 -1
  1215. package/lib/get-token-CmiH1VJ9.d.cts +0 -23
  1216. package/lib/http-client-8EHeTnVH.cjs +0 -96
  1217. package/lib/http-client-8EHeTnVH.cjs.map +0 -1
  1218. package/lib/http-client-DaKWM9mT.d.cts +0 -54
  1219. package/lib/http-client.interface-B_h_5jS-.d.cts +0 -24
  1220. package/lib/identity.interface-s1eSJ1gQ.d.cts +0 -14
  1221. package/lib/identity.serializer-Bzox6cAy.cjs +0 -20
  1222. package/lib/identity.serializer-Bzox6cAy.cjs.map +0 -1
  1223. package/lib/impersonator.interface-eqT0OndP.d.cts +0 -12
  1224. package/lib/index-6gXqBDB6.d.cts +0 -557
  1225. package/lib/index-DLlyc54K.d.cts +0 -1
  1226. package/lib/index-D_m6yoT-.d.cts +0 -1
  1227. package/lib/index-Fr9oBTRC.d.cts +0 -1
  1228. package/lib/interface-check-CTSXH7TS.cjs +0 -23
  1229. package/lib/interface-check-CTSXH7TS.cjs.map +0 -1
  1230. package/lib/invitation.interface-zxREPPZu.d.cts +0 -64
  1231. package/lib/invitation.serializer-BDPagMLH.d.cts +0 -8
  1232. package/lib/jose-D4-VExnk.cjs +0 -27
  1233. package/lib/jose-D4-VExnk.cjs.map +0 -1
  1234. package/lib/key.interface-BdqBuDSH.d.cts +0 -16
  1235. package/lib/leb128-C_fBTjdc.cjs +0 -82
  1236. package/lib/leb128-C_fBTjdc.cjs.map +0 -1
  1237. package/lib/list-connections-options.interface-C7cH8ONj.d.cts +0 -17
  1238. package/lib/list-connections-options.serializer-olslE-Fg.d.cts +0 -7
  1239. package/lib/list-directories-options.interface-B9cTFdVu.d.cts +0 -14
  1240. package/lib/list-directories-options.serializer-J88SC3Uu.d.cts +0 -7
  1241. package/lib/list-directory-users-options.interface-DtPOs4E8.d.cts +0 -10
  1242. package/lib/list-event-options.serializer-D3zKDeJK.d.cts +0 -7
  1243. package/lib/list-event-options.serializer-bbZhjMlc.cjs +0 -19
  1244. package/lib/list-event-options.serializer-bbZhjMlc.cjs.map +0 -1
  1245. package/lib/list-events-options.interface-AWaFt1WM.d.cts +0 -22
  1246. package/lib/list-feature-flags-options.interface-D7AIjm-0.d.cts +0 -7
  1247. package/lib/list-groups-options.interface-CbQJvpyC.d.cts +0 -10
  1248. package/lib/list-invitations-options.serializer-DyJeeVXk.cjs +0 -19
  1249. package/lib/list-invitations-options.serializer-DyJeeVXk.cjs.map +0 -1
  1250. package/lib/list-object-versions.interface-CAFLFrnR.d.cts +0 -12
  1251. package/lib/list-objects.interface-DVVXFKO9.d.cts +0 -9
  1252. package/lib/list-organization-api-keys-options.interface-B9Hg7VJE.d.cts +0 -9
  1253. package/lib/list-organization-feature-flags-options.interface-D6h35g9O.d.cts +0 -9
  1254. package/lib/list-organization-memberships-options.serializer-eZn-qTI8.cjs +0 -20
  1255. package/lib/list-organization-memberships-options.serializer-eZn-qTI8.cjs.map +0 -1
  1256. package/lib/list-organization-roles-options.interface-DTgBJtDm.d.cts +0 -7
  1257. package/lib/list-organizations-options.interface-BVUFUWd8.d.cts +0 -9
  1258. package/lib/list-resources-options.serializer-BmYs9Vf0.cjs +0 -19
  1259. package/lib/list-resources-options.serializer-BmYs9Vf0.cjs.map +0 -1
  1260. package/lib/list-resources-options.serializer-CmH9ahEW.d.cts +0 -7
  1261. package/lib/list-sessions-options.interface-BkSOP-aQ.d.cts +0 -8
  1262. package/lib/list-sessions-options.serializer-CZGaayZp.d.cts +0 -7
  1263. package/lib/list-users-options.interface-DuJwLaE9.d.cts +0 -14
  1264. package/lib/list-users-options.serializer-CAQrhvH0.cjs +0 -19
  1265. package/lib/list-users-options.serializer-CAQrhvH0.cjs.map +0 -1
  1266. package/lib/list-warrants-options.serializer-Bd-WDleA.cjs +0 -21
  1267. package/lib/list-warrants-options.serializer-Bd-WDleA.cjs.map +0 -1
  1268. package/lib/list-warrants-options.serializer-CBntdUkf.d.cts +0 -7
  1269. package/lib/list.interface-BDqDTWM8.d.cts +0 -13
  1270. package/lib/list.interface-BEUNlSvF.d.cts +0 -20
  1271. package/lib/list.serializer-BY9yE1pB.cjs +0 -16
  1272. package/lib/list.serializer-BY9yE1pB.cjs.map +0 -1
  1273. package/lib/list.serializer-BucwpWfj.d.cts +0 -10
  1274. package/lib/list.serializer-CTHSrCW_.cjs +0 -17
  1275. package/lib/list.serializer-CTHSrCW_.cjs.map +0 -1
  1276. package/lib/list.serializer-DoX3epPr.d.cts +0 -7
  1277. package/lib/locale.interface-DSiD6ntd.d.cts +0 -5
  1278. package/lib/logout-url-options.interface-Cw1qCccF.d.cts +0 -8
  1279. package/lib/magic-auth.interface-BrxHHiJN.d.cts +0 -42
  1280. package/lib/magic-auth.serializer-BYyXRWbr.d.cts +0 -8
  1281. package/lib/mfa-BbisUIpM.cjs +0 -50
  1282. package/lib/mfa-BbisUIpM.cjs.map +0 -1
  1283. package/lib/no-api-key-provided.exception-Cd9K6Mli.d.cts +0 -9
  1284. package/lib/not-found.exception-GakjCm1p.d.cts +0 -24
  1285. package/lib/oauth-tokens.interface-Bvew3EOR.d.cts +0 -16
  1286. package/lib/oauth.exception-CFy4_2CF.d.cts +0 -15
  1287. package/lib/object.interface-BjtGKl3u.d.cts +0 -35
  1288. package/lib/organization-domain.interface-BpDw6NNx.cjs +0 -28
  1289. package/lib/organization-domain.interface-BpDw6NNx.cjs.map +0 -1
  1290. package/lib/organization-domain.interface-C6EjTpuJ.d.cts +0 -35
  1291. package/lib/organization-domains-BRGEKO06.cjs +0 -33
  1292. package/lib/organization-domains-BRGEKO06.cjs.map +0 -1
  1293. package/lib/organization-membership.interface-NCcAKBR2.d.cts +0 -33
  1294. package/lib/organization.interface-CdjQyAEW.d.cts +0 -30
  1295. package/lib/organization.serializer-DJQ4yLMv.d.cts +0 -7
  1296. package/lib/organizations-CqJIT1Q5.cjs +0 -70
  1297. package/lib/organizations-CqJIT1Q5.cjs.map +0 -1
  1298. package/lib/pagination-B-QDcg4e.d.cts +0 -25
  1299. package/lib/pagination-options.interface-CUOgmBwZ.d.cts +0 -10
  1300. package/lib/parse-error-B7u-PJ1K.cjs +0 -24
  1301. package/lib/parse-error-B7u-PJ1K.cjs.map +0 -1
  1302. package/lib/password-hash-type.interface-OhapFl0U.d.cts +0 -5
  1303. package/lib/password-reset.interface-Dcebp_7o.d.cts +0 -40
  1304. package/lib/password-reset.serializer-OyBytEcC.d.cts +0 -8
  1305. package/lib/passwordless-DEThp5fE.cjs +0 -29
  1306. package/lib/passwordless-DEThp5fE.cjs.map +0 -1
  1307. package/lib/passwordless-session.interface-BsOH8Py1.d.cts +0 -18
  1308. package/lib/passwordless-session.serializer-CASCZ8yC.cjs +0 -18
  1309. package/lib/passwordless-session.serializer-CASCZ8yC.cjs.map +0 -1
  1310. package/lib/pipes-BACoDN0N.cjs +0 -21
  1311. package/lib/pipes-BACoDN0N.cjs.map +0 -1
  1312. package/lib/pkce-CPU9dTCY.d.cts +0 -38
  1313. package/lib/portal-DeMgODuk.cjs +0 -25
  1314. package/lib/portal-DeMgODuk.cjs.map +0 -1
  1315. package/lib/post-options.interface-DdsVDnGH.d.cts +0 -13
  1316. package/lib/profile-and-token.interface-D8SOsn-s.d.cts +0 -18
  1317. package/lib/profile-and-token.serializer-DgfsqiF_.d.cts +0 -8
  1318. package/lib/profile.interface-CiNXzRbL.d.cts +0 -42
  1319. package/lib/profile.serializer-BOeHpcqS.d.cts +0 -8
  1320. package/lib/put-options.interface-DR1xH3TR.d.cts +0 -12
  1321. package/lib/query-options.serializer-BYZOvQyR.d.cts +0 -7
  1322. package/lib/query-options.serializer-Chg3TZdD.cjs +0 -19
  1323. package/lib/query-options.serializer-Chg3TZdD.cjs.map +0 -1
  1324. package/lib/query-result.serializer-CQqFGng9.cjs +0 -28
  1325. package/lib/query-result.serializer-CQqFGng9.cjs.map +0 -1
  1326. package/lib/query-result.serializer-EnvPglcs.d.cts +0 -12
  1327. package/lib/query-string-DvY-MOOT.cjs +0 -40
  1328. package/lib/query-string-DvY-MOOT.cjs.map +0 -1
  1329. package/lib/query.interface-Sw3Xfzzq.d.cts +0 -35
  1330. package/lib/rate-limit-exceeded.exception-t2HJjyVG.d.cts +0 -18
  1331. package/lib/read-object.interface-BDX81WQG.d.cts +0 -25
  1332. package/lib/refresh-and-seal-session-data.interface-BC_uVnK1.cjs +0 -19
  1333. package/lib/refresh-and-seal-session-data.interface-BC_uVnK1.cjs.map +0 -1
  1334. package/lib/refresh-and-seal-session-data.interface-DJk6xCxt.d.cts +0 -24
  1335. package/lib/remove-flag-target-options.interface-CgLnzR8g.d.cts +0 -8
  1336. package/lib/request-exception.interface-ncoDfVCo.d.cts +0 -9
  1337. package/lib/resend-invitation-options.interface-pOfbruPn.d.cts +0 -12
  1338. package/lib/resend-invitation-options.serializer-gi3hyBeV.cjs +0 -12
  1339. package/lib/resend-invitation-options.serializer-gi3hyBeV.cjs.map +0 -1
  1340. package/lib/reset-password-options.interface-CT7QWPPM.d.cts +0 -12
  1341. package/lib/reset-password-options.serializer-swg0rbQu.d.cts +0 -7
  1342. package/lib/resource-op.enum-Bzwtg0bG.d.cts +0 -8
  1343. package/lib/resource-op.enum-iS-Tf1WO.cjs +0 -16
  1344. package/lib/resource-op.enum-iS-Tf1WO.cjs.map +0 -1
  1345. package/lib/resource.interface-BHXuymiW.d.cts +0 -77
  1346. package/lib/resource.serializer-CVfysC_R.d.cts +0 -8
  1347. package/lib/resource.serializer-DQA6JSVB.cjs +0 -25
  1348. package/lib/resource.serializer-DQA6JSVB.cjs.map +0 -1
  1349. package/lib/response-payload.interface-CC6ym1hG.d.cts +0 -26
  1350. package/lib/revoke-session-options.interface-Bvh2jHlb.d.cts +0 -11
  1351. package/lib/revoke-session-options.interface-adU7deuN.cjs +0 -12
  1352. package/lib/revoke-session-options.interface-adU7deuN.cjs.map +0 -1
  1353. package/lib/role.interface-C76vJyRA.d.cts +0 -51
  1354. package/lib/role.serializer-DVr857zo.cjs +0 -22
  1355. package/lib/role.serializer-DVr857zo.cjs.map +0 -1
  1356. package/lib/runtime-info-D1rBs4px.cjs +0 -56
  1357. package/lib/runtime-info-D1rBs4px.cjs.map +0 -1
  1358. package/lib/seal-Dl5Et6Vv.cjs +0 -315
  1359. package/lib/seal-Dl5Et6Vv.cjs.map +0 -1
  1360. package/lib/send-invitation-options.interface-DhnvOLnv.d.cts +0 -22
  1361. package/lib/send-invitation-options.serializer-BX9N-pl6.cjs +0 -19
  1362. package/lib/send-invitation-options.serializer-BX9N-pl6.cjs.map +0 -1
  1363. package/lib/send-session-response.interface-BpEozStf.d.cts +0 -8
  1364. package/lib/send-verification-email-options.interface-DzN8alC-.d.cts +0 -7
  1365. package/lib/session-BspC-lF9.cjs +0 -144
  1366. package/lib/session-BspC-lF9.cjs.map +0 -1
  1367. package/lib/session-handler-options.interface-CkCM0a1e.d.cts +0 -9
  1368. package/lib/session.interface-DQZ0ufo_.d.cts +0 -38
  1369. package/lib/session.serializer-D56UJaJF.d.cts +0 -7
  1370. package/lib/signature-provider-Dx4cy5vI.cjs +0 -38
  1371. package/lib/signature-provider-Dx4cy5vI.cjs.map +0 -1
  1372. package/lib/signature-verification.exception-CN2av9Wr.d.cts +0 -8
  1373. package/lib/sms.interface-CyWalgD9.d.cts +0 -10
  1374. package/lib/sms.serializer-X3xntG8l.cjs +0 -12
  1375. package/lib/sms.serializer-X3xntG8l.cjs.map +0 -1
  1376. package/lib/sso-BGdbsFSR.cjs +0 -135
  1377. package/lib/sso-BGdbsFSR.cjs.map +0 -1
  1378. package/lib/subtle-crypto-provider-z15sJdtL.cjs +0 -99
  1379. package/lib/subtle-crypto-provider-z15sJdtL.cjs.map +0 -1
  1380. package/lib/totp.interface-CPAuCv4H.d.cts +0 -22
  1381. package/lib/unauthorized.exception-CjXkJx3p.d.cts +0 -13
  1382. package/lib/unknown-record.interface-C5Ru336Z.d.cts +0 -5
  1383. package/lib/unprocessable-entity-error.interface-Qwl8rD25.d.cts +0 -8
  1384. package/lib/unprocessable-entity.exception-N-3lqy5T.d.cts +0 -25
  1385. package/lib/unreachable-HIg8NPjR.cjs +0 -23
  1386. package/lib/unreachable-HIg8NPjR.cjs.map +0 -1
  1387. package/lib/update-object.interface-CNxG-_TG.d.cts +0 -13
  1388. package/lib/update-organization-membership-options.interface-DARsxhfh.d.cts +0 -12
  1389. package/lib/update-organization-membership-options.serializer-J0-AHdSc.cjs +0 -15
  1390. package/lib/update-organization-membership-options.serializer-J0-AHdSc.cjs.map +0 -1
  1391. package/lib/update-organization-options.interface-DmWBw_ag.d.cts +0 -21
  1392. package/lib/update-organization-options.serializer-2h0Jmja6.d.cts +0 -7
  1393. package/lib/update-user-options.interface-DzoNVMaL.d.cts +0 -31
  1394. package/lib/update-user-options.serializer-BVSNgExg.d.cts +0 -7
  1395. package/lib/update-user-password-options.interface-CG02MZA_.d.cts +0 -11
  1396. package/lib/update-user-password-options.serializer-y9laCvAH.d.cts +0 -7
  1397. package/lib/user-management-DCbkjgk8.cjs +0 -539
  1398. package/lib/user-management-DCbkjgk8.cjs.map +0 -1
  1399. package/lib/user.interface-SwAIYLNB.d.cts +0 -34
  1400. package/lib/user.serializer-TrM0oX4Q.d.cts +0 -7
  1401. package/lib/validate-api-key.interface-kzSfRmiM.d.cts +0 -15
  1402. package/lib/validate-api-key.serializer-B1ScKkFd.d.cts +0 -7
  1403. package/lib/vault-key.serializer-DO9iKzMq.cjs +0 -29
  1404. package/lib/vault-key.serializer-DO9iKzMq.cjs.map +0 -1
  1405. package/lib/vault-o2v1Hjz7.cjs +0 -106
  1406. package/lib/vault-o2v1Hjz7.cjs.map +0 -1
  1407. package/lib/vault-object.serializer-EkelXJB9.cjs +0 -84
  1408. package/lib/vault-object.serializer-EkelXJB9.cjs.map +0 -1
  1409. package/lib/verify-challenge-options-CEFnAmwu.d.cts +0 -8
  1410. package/lib/verify-challenge-response-CAIHmhRm.d.cts +0 -14
  1411. package/lib/verify-email-options.interface-oOfTTYG0.d.cts +0 -11
  1412. package/lib/verify-response.serializer-CuPqcouK.d.cts +0 -7
  1413. package/lib/verify-response.serializer-Ga6sZ_he.cjs +0 -16
  1414. package/lib/verify-response.serializer-Ga6sZ_he.cjs.map +0 -1
  1415. package/lib/warning.interface-BVeaQsw5.d.cts +0 -13
  1416. package/lib/warrant-op.enum-Bqzp9GRk.cjs +0 -16
  1417. package/lib/warrant-op.enum-Bqzp9GRk.cjs.map +0 -1
  1418. package/lib/warrant-op.enum-CBmWDuBs.d.cts +0 -8
  1419. package/lib/warrant-token.interface-D8P4GnoE.d.cts +0 -10
  1420. package/lib/warrant-token.serializer-9f0_Dze3.d.cts +0 -7
  1421. package/lib/warrant-token.serializer-DFNcFGQN.cjs +0 -12
  1422. package/lib/warrant-token.serializer-DFNcFGQN.cjs.map +0 -1
  1423. package/lib/warrant.interface-D0zCmerc.d.cts +0 -71
  1424. package/lib/warrant.serializer-BDtDxpT8.d.cts +0 -7
  1425. package/lib/warrant.serializer-BnF9sWUb.cjs +0 -22
  1426. package/lib/warrant.serializer-BnF9sWUb.cjs.map +0 -1
  1427. package/lib/webhooks-CPFNC99w.cjs +0 -38
  1428. package/lib/webhooks-CPFNC99w.cjs.map +0 -1
  1429. package/lib/webhooks-yX64jTg5.d.cts +0 -35
  1430. package/lib/widgets-UYWIfPS5.cjs +0 -21
  1431. package/lib/widgets-UYWIfPS5.cjs.map +0 -1
  1432. package/lib/workos-B9-XSQwo.cjs +0 -306
  1433. package/lib/workos-B9-XSQwo.cjs.map +0 -1
  1434. package/lib/workos-options.interface-CCcp8QzE.d.cts +0 -17
  1435. package/lib/workos-response-error.interface-BoJ6j8GQ.d.cts +0 -13
  1436. package/lib/write-warrant-options.serializer-7ilOHTPE.d.cts +0 -7
  1437. package/lib/write-warrant-options.serializer-CJo81yBS.cjs +0 -26
  1438. package/lib/write-warrant-options.serializer-CJo81yBS.cjs.map +0 -1
  1439. /package/lib/{action.interface-Cu7rq4Zn.cjs → action.interface-Cp_zjlbq.cjs} +0 -0
  1440. /package/lib/{add-flag-target-options.interface-DYw3tzj6.cjs → add-environment-role-permission-options.interface-Iu9Ch9C8.cjs} +0 -0
  1441. /package/lib/{api-key.interface-Cj7nrZxv.cjs → add-flag-target-options.interface-DIrECf_q.cjs} +0 -0
  1442. /package/lib/{audit-log-export-options.interface-BoAAvEGM.cjs → add-organization-role-permission-options.interface-CaoNd2oC.cjs} +0 -0
  1443. /package/lib/{audit-log-export.interface-DI6VGuUN.cjs → api-key.interface-CKbSjD5i.cjs} +0 -0
  1444. /package/lib/{authenticate-with-code-and-verifier-options.interface-Dx_BHLhw.cjs → audit-log-export-options.interface-DnLNNH69.cjs} +0 -0
  1445. /package/lib/{authenticate-with-code-options.interface-R6K1Vhe2.cjs → audit-log-export.interface-C-vo0He0.cjs} +0 -0
  1446. /package/lib/{authenticate-with-email-verification-options.interface-B5rAPOaX.cjs → authenticate-with-code-and-verifier-options.interface-BtQJ_bZ2.cjs} +0 -0
  1447. /package/lib/{authenticate-with-magic-auth-options.interface-BN61GmkA.cjs → authenticate-with-code-options.interface-Cdjhe1KQ.cjs} +0 -0
  1448. /package/lib/{authenticate-with-options-base.interface-OnfF-7oV.cjs → authenticate-with-email-verification-options.interface-Qo2pZU1Z.cjs} +0 -0
  1449. /package/lib/{authenticate-with-organization-selection.interface-DW-NpTwE.cjs → authenticate-with-magic-auth-options.interface-DfLPcjHB.cjs} +0 -0
  1450. /package/lib/{authenticate-with-password-options.interface-Cyd9Mg9f.cjs → authenticate-with-options-base.interface-Dmse1U8k.cjs} +0 -0
  1451. /package/lib/{authenticate-with-refresh-token-options.interface-DtToMftX.cjs → authenticate-with-organization-selection.interface-CdD1Rxpb.cjs} +0 -0
  1452. /package/lib/{authenticate-with-refresh-token-public-client-options.interface-BosOmcNC.cjs → authenticate-with-password-options.interface-CrrEcybu.cjs} +0 -0
  1453. /package/lib/{authenticate-with-totp-options.interface-NZ3FlPUp.cjs → authenticate-with-refresh-token-options.interface-BWDjl5Ix.cjs} +0 -0
  1454. /package/lib/{authentication-event.interface-D2d3yA2C.cjs → authenticate-with-refresh-token-public-client-options.interface-BT7t8bV7.cjs} +0 -0
  1455. /package/lib/{authentication-radar-risk-detected-event.interface-CUQwIbCE.cjs → authenticate-with-totp-options.interface-BN1BsXUK.cjs} +0 -0
  1456. /package/lib/{authentication-response.interface-DDQn5MT0.cjs → authentication-event.interface-tO5OaPx1.cjs} +0 -0
  1457. /package/lib/{authorization-url-options.interface-BwgfXKJJ.cjs → authentication-radar-risk-detected-event.interface-Cr1dhnQs.cjs} +0 -0
  1458. /package/lib/{authorization-url-options.interface-CpQQiakb.cjs → authentication-response.interface-Boc89IyY.cjs} +0 -0
  1459. /package/lib/{create-audit-log-schema-options.interface-FaXjgwQA.cjs → authorization/interfaces/add-environment-role-permission-options.interface.cjs} +0 -0
  1460. /package/lib/{create-data-key.interface-CMDlEDHC.cjs → authorization/interfaces/add-organization-role-permission-options.interface.cjs} +0 -0
  1461. /package/lib/{create-magic-auth-options.interface-DUm3MfqV.cjs → authorization/interfaces/create-environment-role-options.interface.cjs} +0 -0
  1462. /package/lib/{create-object.interface-XAc3ECaJ.cjs → authorization/interfaces/create-organization-role-options.interface.cjs} +0 -0
  1463. /package/lib/{create-organization-api-key-options.interface-CwgMNhHl.cjs → authorization/interfaces/create-permission-options.interface.cjs} +0 -0
  1464. /package/lib/{create-organization-domain-options.interface-BDicSgm6.cjs → authorization/interfaces/environment-role.interface.cjs} +0 -0
  1465. /package/lib/{create-organization-membership-options.interface-D6p-ZR1H.cjs → authorization/interfaces/index.cjs} +0 -0
  1466. /package/lib/{create-organization-options.interface-DOLMw97s.cjs → authorization/interfaces/list-permissions-options.interface.cjs} +0 -0
  1467. /package/lib/{create-password-reset-options.interface-BwbNVK63.cjs → authorization/interfaces/organization-role.interface.cjs} +0 -0
  1468. /package/lib/{create-passwordless-session-options.interface-DvyI9mMG.cjs → authorization/interfaces/permission.interface.cjs} +0 -0
  1469. /package/lib/{create-user-options.interface-B1BsHBrW.cjs → authorization/interfaces/remove-organization-role-permission-options.interface.cjs} +0 -0
  1470. /package/lib/{created-api-key.interface-DPE383Qi.cjs → authorization/interfaces/set-environment-role-permissions-options.interface.cjs} +0 -0
  1471. /package/lib/{decrypt-data-key.interface-Dbus_8mg.cjs → authorization/interfaces/set-organization-role-permissions-options.interface.cjs} +0 -0
  1472. /package/lib/{delete-object.interface-CvV-sAF0.cjs → authorization/interfaces/update-environment-role-options.interface.cjs} +0 -0
  1473. /package/lib/{directory-group.interface-BuS9hrBR.cjs → authorization/interfaces/update-organization-role-options.interface.cjs} +0 -0
  1474. /package/lib/{directory-user.interface-CWwLQBRy.cjs → authorization/interfaces/update-permission-options.interface.cjs} +0 -0
  1475. /package/lib/{connection.interface-DdHu3-Vb.cjs → authorization-url-options.interface-C9Fxv_7o.cjs} +0 -0
  1476. /package/lib/{create-audit-log-event-options.interface-_8tH04Ms.cjs → authorization-url-options.interface-Dhxhc6na.cjs} +0 -0
  1477. /package/lib/{directory.interface-Zcir0uJP.cjs → common/interfaces/patch-options.interface.cjs} +0 -0
  1478. /package/lib/{email-verification.interface-ChKIDS-L.cjs → connection.interface-Bizso5vL.cjs} +0 -0
  1479. /package/lib/{enroll-auth-factor.interface-CW5tMY5z.cjs → create-audit-log-event-options.interface-CV4irZpp.cjs} +0 -0
  1480. /package/lib/{event.interface-kqYZsXwj.cjs → create-audit-log-schema-options.interface-CAfKAjBf.cjs} +0 -0
  1481. /package/lib/{factor.interface-DXV18z-y.cjs → create-data-key.interface-C2-NUWkZ.cjs} +0 -0
  1482. /package/lib/{feature-flag.interface-BcgqfCkE.cjs → create-environment-role-options.interface-kC_uHnZl.cjs} +0 -0
  1483. /package/lib/{get-options.interface-BGUbmYqn.cjs → create-magic-auth-options.interface-CSOTMcli.cjs} +0 -0
  1484. /package/lib/{get-profile-and-token-options.interface-BRzXwgpx.cjs → create-object.interface-jufKIYD_.cjs} +0 -0
  1485. /package/lib/{get-profile-options.interface-CcwBWajg.cjs → create-organization-api-key-options.interface-DneHi7Es.cjs} +0 -0
  1486. /package/lib/{http-client.interface-G36hqWVG.cjs → create-organization-domain-options.interface-9xVPDedq.cjs} +0 -0
  1487. /package/lib/{identity.interface-ByIvTffv.cjs → create-organization-membership-options.interface-CaQYvh6M.cjs} +0 -0
  1488. /package/lib/{impersonator.interface-Cf6hV6Sl.cjs → create-organization-options.interface-BQ-ynkFt.cjs} +0 -0
  1489. /package/lib/{interfaces-B2GoLcEd.cjs → create-organization-role-options.interface-BZevKU9l.cjs} +0 -0
  1490. /package/lib/{interfaces-BOHKsPOz.cjs → create-password-reset-options.interface-CvQ8OPUP.cjs} +0 -0
  1491. /package/lib/{interfaces-BYxjU24Y.cjs → create-passwordless-session-options.interface-CUwrUUes.cjs} +0 -0
  1492. /package/lib/{interfaces-B_wxDqjZ.cjs → create-permission-options.interface-gNV8L40W.cjs} +0 -0
  1493. /package/lib/{interfaces-CJfjuBro.cjs → create-user-options.interface-Clu2DRMm.cjs} +0 -0
  1494. /package/lib/{interfaces-dlLK1oAf.cjs → created-api-key.interface-B9LIbGZn.cjs} +0 -0
  1495. /package/lib/{invitation.interface-mC_8BuA9.cjs → decrypt-data-key.interface-CC8-x3bk.cjs} +0 -0
  1496. /package/lib/{key.interface-DTklEPap.cjs → delete-object.interface-maVx6Sss.cjs} +0 -0
  1497. /package/lib/{list-auth-factors-options.interface-DKlym4v6.cjs → directory-group.interface-fI3Q18_V.cjs} +0 -0
  1498. /package/lib/{list-connections-options.interface-B7pslHgu.cjs → directory-user.interface-BDg3vEue.cjs} +0 -0
  1499. /package/lib/{list-directories-options.interface-92fO4PKr.cjs → directory.interface-BtqM2Oqa.cjs} +0 -0
  1500. /package/lib/{list-directory-users-options.interface-V6n1bfE0.cjs → email-verification.interface-wQQsh5oJ.cjs} +0 -0
  1501. /package/lib/{list-events-options.interface-Ba5Wze0J.cjs → enroll-auth-factor.interface-DtoEIL35.cjs} +0 -0
  1502. /package/lib/{list-feature-flags-options.interface-BseB3Sxv.cjs → environment-role.interface-B1gHSYUW.cjs} +0 -0
  1503. /package/lib/{list-groups-options.interface-Bd6SDE85.cjs → event.interface-DJog_FVt.cjs} +0 -0
  1504. /package/lib/{list-invitations-options.interface-BP7cTrWE.cjs → factor.interface-DYEY2DmK.cjs} +0 -0
  1505. /package/lib/{list-object-versions.interface-Ds--dBPk.cjs → feature-flag.interface-zWuZQ0AN.cjs} +0 -0
  1506. /package/lib/{list-objects.interface-B8yzYARh.cjs → get-options.interface-PWSxSJWf.cjs} +0 -0
  1507. /package/lib/{list-organization-api-keys-options.interface-gN2_EC8Y.cjs → get-profile-and-token-options.interface-B4AIgzHK.cjs} +0 -0
  1508. /package/lib/{list-organization-feature-flags-options.interface-CUV13_Kb.cjs → get-profile-options.interface-BL-ae6kv.cjs} +0 -0
  1509. /package/lib/{list-organization-memberships-options.interface-B3j0iJtf.cjs → http-client.interface-q5tbZi3r.cjs} +0 -0
  1510. /package/lib/{list-organizations-options.interface-CtphN7_M.cjs → identity.interface-CENecjOJ.cjs} +0 -0
  1511. /package/lib/{list-sessions-options.interface-CxrAFAFB.cjs → impersonator.interface-D2BWTjld.cjs} +0 -0
  1512. /package/lib/{index-3zexvj-W.d.cts → index-1uLygO4P.d.cts} +0 -0
  1513. /package/lib/{index-B78SvkL4.d.cts → index-B6gmSQ17.d.cts} +0 -0
  1514. /package/lib/{index-BsCObK9R.d.cts → index-BcBOa3hp.d.cts} +0 -0
  1515. /package/lib/{index-CIdqvOeJ.d.cts → index-BxzRAt8C.d.cts} +0 -0
  1516. /package/lib/{index-CTbcD7SV.d.cts → index-CGSBYMIY.d.cts} +0 -0
  1517. /package/lib/{index-CZB6MMOU.d.cts → index-CNyG9oqt.d.cts} +0 -0
  1518. /package/lib/{index-Cx2IQJ5y.d.cts → index-CRoJq_Lc.d.cts} +0 -0
  1519. /package/lib/{index-D5dJgt97.d.cts → index-D-yUU_Re.d.cts} +0 -0
  1520. /package/lib/{index-DC1O7WeZ.d.cts → index-DBTRFl_2.d.cts} +0 -0
  1521. /package/lib/{index-DCTKnOHe.d.cts → index-Daxn2RpI.d.cts} +0 -0
  1522. /package/lib/{index-DEWiUzoU.d.cts → index-W8XcuB-8.d.cts} +0 -0
  1523. /package/lib/{list-user-feature-flags-options.interface-BffT3Bgy.cjs → interfaces-Bj3jzkUk.cjs} +0 -0
  1524. /package/lib/{list-users-options.interface-CZSIN83o.cjs → interfaces-D9rg42Qr.cjs} +0 -0
  1525. /package/lib/{list.interface-Y2SC7qfo.cjs → interfaces-D_GTYFG5.cjs} +0 -0
  1526. /package/lib/{locale.interface-CEpymw1t.cjs → interfaces-DlIGjxho.cjs} +0 -0
  1527. /package/lib/{logout-url-options.interface-DWdskc6a.cjs → interfaces-MzGHd7Yh.cjs} +0 -0
  1528. /package/lib/{magic-auth.interface-fz8MN6h7.cjs → interfaces-zQuVtXTa.cjs} +0 -0
  1529. /package/lib/{oauth-tokens.interface-B-4Pi0sR.cjs → invitation.interface-Dz6VF1sU.cjs} +0 -0
  1530. /package/lib/{object.interface-36k9_URU.cjs → key.interface-CHRr2LEz.cjs} +0 -0
  1531. /package/lib/{organization-membership.interface-D1wrotmQ.cjs → list-auth-factors-options.interface-L62JljVx.cjs} +0 -0
  1532. /package/lib/{organization.interface-CsjbCMaa.cjs → list-connections-options.interface-DVqutI5F.cjs} +0 -0
  1533. /package/lib/{pagination-options.interface-CLNb6Om8.cjs → list-directories-options.interface-eav9nzy3.cjs} +0 -0
  1534. /package/lib/{password-reset.interface-CnDQOmWv.cjs → list-directory-users-options.interface-DLqDVyl2.cjs} +0 -0
  1535. /package/lib/{passwordless-session.interface-CV7rpVzo.cjs → list-events-options.interface-0QWZL0Yw.cjs} +0 -0
  1536. /package/lib/{post-options.interface-ClNtDEaN.cjs → list-feature-flags-options.interface-DVCuHMFE.cjs} +0 -0
  1537. /package/lib/{profile-and-token.interface-CZMHm-ni.cjs → list-groups-options.interface-By_UcNDc.cjs} +0 -0
  1538. /package/lib/{profile.interface-BCfCOjmx.cjs → list-invitations-options.interface-BSkj-ZNH.cjs} +0 -0
  1539. /package/lib/{put-options.interface-BDeO-5og.cjs → list-object-versions.interface-CZ3u9vAQ.cjs} +0 -0
  1540. /package/lib/{query.interface-DBrke9TG.cjs → list-objects.interface-DB0LHLG9.cjs} +0 -0
  1541. /package/lib/{read-object.interface-f_81j5uM.cjs → list-organization-api-keys-options.interface-CveTG0uD.cjs} +0 -0
  1542. /package/lib/{remove-flag-target-options.interface-DoGKEa5T.cjs → list-organization-feature-flags-options.interface-_x6kSSZY.cjs} +0 -0
  1543. /package/lib/{resend-invitation-options.interface-BvKYcUMa.cjs → list-organization-memberships-options.interface-DQEYYc8q.cjs} +0 -0
  1544. /package/lib/{reset-password-options.interface-C8NDiT__.cjs → list-organizations-options.interface-CO97CX3u.cjs} +0 -0
  1545. /package/lib/{resource.interface-Dk75RqTQ.cjs → list-permissions-options.interface-DLk_ltrp.cjs} +0 -0
  1546. /package/lib/{response-payload.interface-Dd6I_nGn.cjs → list-sessions-options.interface-DRc1NZdD.cjs} +0 -0
  1547. /package/lib/{role.interface-B3M8zitL.cjs → list-user-feature-flags-options.interface-CgqawmKH.cjs} +0 -0
  1548. /package/lib/{send-invitation-options.interface-C6iq0iBA.cjs → list-users-options.interface-C5sgnUd6.cjs} +0 -0
  1549. /package/lib/{send-session-response.interface-BK1iekyV.cjs → list.interface-BRryI6pg.cjs} +0 -0
  1550. /package/lib/{send-verification-email-options.interface-BUkQm-56.cjs → locale.interface-BTUQlgqX.cjs} +0 -0
  1551. /package/lib/{serializers-1RdL3mOO.cjs → logout-url-options.interface-lD0JqUBq.cjs} +0 -0
  1552. /package/lib/{serializers-AObKGeJ9.cjs → magic-auth.interface-D8jgzoGD.cjs} +0 -0
  1553. /package/lib/{serializers-BGydYdNv.cjs → oauth-tokens.interface-BBMvv6jR.cjs} +0 -0
  1554. /package/lib/{serializers-Bd8zRjMr.cjs → object.interface-npvKCWKF.cjs} +0 -0
  1555. /package/lib/{serializers-BdASmY_9.cjs → organization-membership.interface-CYxOpTIM.cjs} +0 -0
  1556. /package/lib/{serializers-D7IALzFJ.cjs → organization-role.interface-CLBM9aza.cjs} +0 -0
  1557. /package/lib/{serializers-L67xhHGh.cjs → organization.interface-pY1iGerY.cjs} +0 -0
  1558. /package/lib/{session.interface-CJL0YhXF.cjs → pagination-options.interface-BoiKHHTH.cjs} +0 -0
  1559. /package/lib/{unprocessable-entity-error.interface-qvpJv5Qa.cjs → password-reset.interface-s_bWZdDk.cjs} +0 -0
  1560. /package/lib/{update-object.interface-DGOrDGsi.cjs → passwordless-session.interface-Bi9y87V7.cjs} +0 -0
  1561. /package/lib/{update-organization-membership-options.interface-BB8dVzxD.cjs → patch-options.interface-Fd1jUcSo.cjs} +0 -0
  1562. /package/lib/{update-organization-options.interface-DbUpLvun.cjs → permission.interface-Dhx-jPkZ.cjs} +0 -0
  1563. /package/lib/{update-user-options.interface-hZd8eW6q.cjs → post-options.interface-BY7OUsfe.cjs} +0 -0
  1564. /package/lib/{update-user-password-options.interface-B9BC-Hv9.cjs → profile-and-token.interface-BrAmbRfi.cjs} +0 -0
  1565. /package/lib/{user.interface-Bln_2b82.cjs → profile.interface-CIhPFxjC.cjs} +0 -0
  1566. /package/lib/{validate-api-key.interface-JvCCei5M.cjs → put-options.interface-C0STQ8xm.cjs} +0 -0
  1567. /package/lib/{verify-email-options.interface-DPQfAOwk.cjs → query.interface-C37Vr290.cjs} +0 -0
  1568. /package/lib/{warrant-token.interface-BpOppNeH.cjs → read-object.interface-RCcLbvry.cjs} +0 -0
  1569. /package/lib/{warrant.interface-BgyqZr7M.cjs → remove-flag-target-options.interface-CNzVf6zp.cjs} +0 -0
  1570. /package/lib/{workos-options.interface-DJkEWOSw.cjs → remove-organization-role-permission-options.interface-BpQUw8lU.cjs} +0 -0
  1571. /package/lib/{workos-response-error.interface-CNjnix9d.cjs → resend-invitation-options.interface-U-F_hXjY.cjs} +0 -0
@@ -0,0 +1,38 @@
1
+ import { t as Impersonator } from "./impersonator.interface-BLJ5uqT4.cjs";
2
+
3
+ //#region src/user-management/interfaces/session.interface.d.ts
4
+ type AuthMethod = 'external_auth' | 'impersonation' | 'magic_code' | 'migrated_session' | 'oauth' | 'passkey' | 'password' | 'sso' | 'unknown';
5
+ type SessionStatus = 'active' | 'expired' | 'revoked';
6
+ interface Session {
7
+ object: 'session';
8
+ id: string;
9
+ userId: string;
10
+ ipAddress: string | null;
11
+ userAgent: string | null;
12
+ organizationId?: string;
13
+ impersonator?: Impersonator;
14
+ authMethod: AuthMethod;
15
+ status: SessionStatus;
16
+ expiresAt: string;
17
+ endedAt: string | null;
18
+ createdAt: string;
19
+ updatedAt: string;
20
+ }
21
+ interface SessionResponse {
22
+ object: 'session';
23
+ id: string;
24
+ user_id: string;
25
+ ip_address: string | null;
26
+ user_agent: string | null;
27
+ organization_id?: string;
28
+ impersonator?: Impersonator;
29
+ auth_method: AuthMethod;
30
+ status: SessionStatus;
31
+ expires_at: string;
32
+ ended_at: string | null;
33
+ created_at: string;
34
+ updated_at: string;
35
+ }
36
+ //#endregion
37
+ export { SessionStatus as i, Session as n, SessionResponse as r, AuthMethod as t };
38
+ //# sourceMappingURL=session.interface-zszewQtk.d.cts.map
@@ -0,0 +1,7 @@
1
+ import { n as Session, r as SessionResponse } from "./session.interface-zszewQtk.cjs";
2
+
3
+ //#region src/user-management/serializers/session.serializer.d.ts
4
+ declare const deserializeSession: (session: SessionResponse) => Session;
5
+ //#endregion
6
+ export { deserializeSession as t };
7
+ //# sourceMappingURL=session.serializer-DAUllV3H.d.cts.map
@@ -0,0 +1,7 @@
1
+ //#region src/authorization/interfaces/set-environment-role-permissions-options.interface.d.ts
2
+ interface SetEnvironmentRolePermissionsOptions {
3
+ permissions: string[];
4
+ }
5
+ //#endregion
6
+ export { SetEnvironmentRolePermissionsOptions as t };
7
+ //# sourceMappingURL=set-environment-role-permissions-options.interface-CJm4G5CM.d.cts.map
@@ -0,0 +1,7 @@
1
+ //#region src/authorization/interfaces/set-organization-role-permissions-options.interface.d.ts
2
+ interface SetOrganizationRolePermissionsOptions {
3
+ permissions: string[];
4
+ }
5
+ //#endregion
6
+ export { SetOrganizationRolePermissionsOptions as t };
7
+ //# sourceMappingURL=set-organization-role-permissions-options.interface-F54jbJ3q.d.cts.map
@@ -0,0 +1,38 @@
1
+ const require_signature_verification_exception = require('./signature-verification.exception-Dc1gSCYD.cjs');
2
+
3
+ //#region src/common/crypto/signature-provider.ts
4
+ var SignatureProvider = class {
5
+ cryptoProvider;
6
+ constructor(cryptoProvider) {
7
+ this.cryptoProvider = cryptoProvider;
8
+ }
9
+ async verifyHeader({ payload, sigHeader, secret, tolerance = 18e4 }) {
10
+ const [timestamp, signatureHash] = this.getTimestampAndSignatureHash(sigHeader);
11
+ if (!signatureHash || Object.keys(signatureHash).length === 0) throw new require_signature_verification_exception.SignatureVerificationException("No signature hash found with expected scheme v1");
12
+ if (parseInt(timestamp, 10) < Date.now() - tolerance) throw new require_signature_verification_exception.SignatureVerificationException("Timestamp outside the tolerance zone");
13
+ const expectedSig = await this.computeSignature(timestamp, payload, secret);
14
+ if (await this.cryptoProvider.secureCompare(expectedSig, signatureHash) === false) throw new require_signature_verification_exception.SignatureVerificationException("Signature hash does not match the expected signature hash for payload");
15
+ return true;
16
+ }
17
+ getTimestampAndSignatureHash(sigHeader) {
18
+ const [t, v1] = sigHeader.split(",");
19
+ if (typeof t === "undefined" || typeof v1 === "undefined") throw new require_signature_verification_exception.SignatureVerificationException("Signature or timestamp missing");
20
+ const { 1: timestamp } = t.split("=");
21
+ const { 1: signatureHash } = v1.split("=");
22
+ return [timestamp, signatureHash];
23
+ }
24
+ async computeSignature(timestamp, payload, secret) {
25
+ payload = JSON.stringify(payload);
26
+ const signedPayload = `${timestamp}.${payload}`;
27
+ return await this.cryptoProvider.computeHMACSignatureAsync(signedPayload, secret);
28
+ }
29
+ };
30
+
31
+ //#endregion
32
+ Object.defineProperty(exports, 'SignatureProvider', {
33
+ enumerable: true,
34
+ get: function () {
35
+ return SignatureProvider;
36
+ }
37
+ });
38
+ //# sourceMappingURL=signature-provider-CdkJsGc8.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signature-provider-CdkJsGc8.cjs","names":["SignatureVerificationException"],"sources":["../src/common/crypto/signature-provider.ts"],"sourcesContent":["import { SignatureVerificationException } from '../exceptions';\nimport { CryptoProvider } from './crypto-provider';\n\nexport class SignatureProvider {\n private cryptoProvider: CryptoProvider;\n\n constructor(cryptoProvider: CryptoProvider) {\n this.cryptoProvider = cryptoProvider;\n }\n\n async verifyHeader({\n payload,\n sigHeader,\n secret,\n tolerance = 180000,\n }: {\n payload: any;\n sigHeader: string;\n secret: string;\n tolerance?: number;\n }): Promise<boolean> {\n const [timestamp, signatureHash] =\n this.getTimestampAndSignatureHash(sigHeader);\n\n if (!signatureHash || Object.keys(signatureHash).length === 0) {\n throw new SignatureVerificationException(\n 'No signature hash found with expected scheme v1',\n );\n }\n\n if (parseInt(timestamp, 10) < Date.now() - tolerance) {\n throw new SignatureVerificationException(\n 'Timestamp outside the tolerance zone',\n );\n }\n\n const expectedSig = await this.computeSignature(timestamp, payload, secret);\n if (\n (await this.cryptoProvider.secureCompare(expectedSig, signatureHash)) ===\n false\n ) {\n throw new SignatureVerificationException(\n 'Signature hash does not match the expected signature hash for payload',\n );\n }\n return true;\n }\n\n getTimestampAndSignatureHash(sigHeader: string): [string, string] {\n const signature = sigHeader;\n const [t, v1] = signature.split(',');\n if (typeof t === 'undefined' || typeof v1 === 'undefined') {\n throw new SignatureVerificationException(\n 'Signature or timestamp missing',\n );\n }\n const { 1: timestamp } = t.split('=');\n const { 1: signatureHash } = v1.split('=');\n\n return [timestamp, signatureHash];\n }\n\n async computeSignature(\n timestamp: any,\n payload: any,\n secret: string,\n ): Promise<string> {\n payload = JSON.stringify(payload);\n const signedPayload = `${timestamp}.${payload}`;\n\n return await this.cryptoProvider.computeHMACSignatureAsync(\n signedPayload,\n secret,\n );\n }\n}\n"],"mappings":";;;AAGA,IAAa,oBAAb,MAA+B;CAC7B,AAAQ;CAER,YAAY,gBAAgC;AAC1C,OAAK,iBAAiB;;CAGxB,MAAM,aAAa,EACjB,SACA,WACA,QACA,YAAY,QAMO;EACnB,MAAM,CAAC,WAAW,iBAChB,KAAK,6BAA6B,UAAU;AAE9C,MAAI,CAAC,iBAAiB,OAAO,KAAK,cAAc,CAAC,WAAW,EAC1D,OAAM,IAAIA,wEACR,kDACD;AAGH,MAAI,SAAS,WAAW,GAAG,GAAG,KAAK,KAAK,GAAG,UACzC,OAAM,IAAIA,wEACR,uCACD;EAGH,MAAM,cAAc,MAAM,KAAK,iBAAiB,WAAW,SAAS,OAAO;AAC3E,MACG,MAAM,KAAK,eAAe,cAAc,aAAa,cAAc,KACpE,MAEA,OAAM,IAAIA,wEACR,wEACD;AAEH,SAAO;;CAGT,6BAA6B,WAAqC;EAEhE,MAAM,CAAC,GAAG,MADQ,UACQ,MAAM,IAAI;AACpC,MAAI,OAAO,MAAM,eAAe,OAAO,OAAO,YAC5C,OAAM,IAAIA,wEACR,iCACD;EAEH,MAAM,EAAE,GAAG,cAAc,EAAE,MAAM,IAAI;EACrC,MAAM,EAAE,GAAG,kBAAkB,GAAG,MAAM,IAAI;AAE1C,SAAO,CAAC,WAAW,cAAc;;CAGnC,MAAM,iBACJ,WACA,SACA,QACiB;AACjB,YAAU,KAAK,UAAU,QAAQ;EACjC,MAAM,gBAAgB,GAAG,UAAU,GAAG;AAEtC,SAAO,MAAM,KAAK,eAAe,0BAC/B,eACA,OACD"}
@@ -0,0 +1,8 @@
1
+ //#region src/common/exceptions/signature-verification.exception.d.ts
2
+ declare class SignatureVerificationException extends Error {
3
+ readonly name = "SignatureVerificationException";
4
+ constructor(message: string);
5
+ }
6
+ //#endregion
7
+ export { SignatureVerificationException as t };
8
+ //# sourceMappingURL=signature-verification.exception-D2-xkCRS.d.cts.map
@@ -0,0 +1,10 @@
1
+ //#region src/mfa/interfaces/sms.interface.d.ts
2
+ interface Sms {
3
+ phoneNumber: string;
4
+ }
5
+ interface SmsResponse {
6
+ phone_number: string;
7
+ }
8
+ //#endregion
9
+ export { SmsResponse as n, Sms as t };
10
+ //# sourceMappingURL=sms.interface-f_7eFA1B.d.cts.map
@@ -0,0 +1,12 @@
1
+
2
+ //#region src/mfa/serializers/sms.serializer.ts
3
+ const deserializeSms = (sms) => ({ phoneNumber: sms.phone_number });
4
+
5
+ //#endregion
6
+ Object.defineProperty(exports, 'deserializeSms', {
7
+ enumerable: true,
8
+ get: function () {
9
+ return deserializeSms;
10
+ }
11
+ });
12
+ //# sourceMappingURL=sms.serializer-DH2jsPuC.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sms.serializer-DH2jsPuC.cjs","names":[],"sources":["../src/mfa/serializers/sms.serializer.ts"],"sourcesContent":["import { Sms, SmsResponse } from '../interfaces';\n\nexport const deserializeSms = (sms: SmsResponse): Sms => ({\n phoneNumber: sms.phone_number,\n});\n"],"mappings":";;AAEA,MAAa,kBAAkB,SAA2B,EACxD,aAAa,IAAI,cAClB"}
@@ -1,2 +1,2 @@
1
- import { n as SSOPKCEAuthorizationURLResult, t as SSOAuthorizationURLOptions } from "../../authorization-url-options.interface-Cs9dWC8D.cjs";
1
+ import { n as SSOPKCEAuthorizationURLResult, t as SSOAuthorizationURLOptions } from "../../authorization-url-options.interface-C5ABtdiE.cjs";
2
2
  export { SSOAuthorizationURLOptions, SSOPKCEAuthorizationURLResult };
@@ -1,3 +1,3 @@
1
- const require_connection_type_enum = require('../../connection-type.enum-DPs-QB7_.cjs');
1
+ const require_connection_type_enum = require('../../connection-type.enum-CQncLVbr.cjs');
2
2
 
3
3
  exports.ConnectionType = require_connection_type_enum.ConnectionType;
@@ -1,2 +1,2 @@
1
- import { t as ConnectionType } from "../../connection-type.enum-Cu3iqCqL.cjs";
1
+ import { t as ConnectionType } from "../../connection-type.enum-BCSkvlg6.cjs";
2
2
  export { ConnectionType };
@@ -1,2 +1,2 @@
1
- import { n as ConnectionDomain, r as ConnectionResponse, t as Connection } from "../../connection.interface-DvRENQyW.cjs";
1
+ import { n as ConnectionDomain, r as ConnectionResponse, t as Connection } from "../../connection.interface-D1HP4q90.cjs";
2
2
  export { Connection, ConnectionDomain, ConnectionResponse };
@@ -1,2 +1,2 @@
1
- import { t as GetProfileAndTokenOptions } from "../../get-profile-and-token-options.interface-Cc1l5_d-.cjs";
1
+ import { t as GetProfileAndTokenOptions } from "../../get-profile-and-token-options.interface-B4HEexcv.cjs";
2
2
  export { GetProfileAndTokenOptions };
@@ -1,2 +1,2 @@
1
- import { t as GetProfileOptions } from "../../get-profile-options.interface-DpfzZ2dN.cjs";
1
+ import { t as GetProfileOptions } from "../../get-profile-options.interface-BTqozSx_.cjs";
2
2
  export { GetProfileOptions };
@@ -1,3 +1,3 @@
1
- const require_connection_type_enum = require('../../connection-type.enum-DPs-QB7_.cjs');
1
+ const require_connection_type_enum = require('../../connection-type.enum-CQncLVbr.cjs');
2
2
 
3
3
  exports.ConnectionType = require_connection_type_enum.ConnectionType;
@@ -1,9 +1,8 @@
1
- import { n as SSOPKCEAuthorizationURLResult, t as SSOAuthorizationURLOptions } from "../../authorization-url-options.interface-Cs9dWC8D.cjs";
2
- import { t as ConnectionType } from "../../connection-type.enum-Cu3iqCqL.cjs";
3
- import { n as ConnectionDomain, r as ConnectionResponse, t as Connection } from "../../connection.interface-DvRENQyW.cjs";
4
- import { t as GetProfileOptions } from "../../get-profile-options.interface-DpfzZ2dN.cjs";
5
- import { t as GetProfileAndTokenOptions } from "../../get-profile-and-token-options.interface-Cc1l5_d-.cjs";
6
- import { n as SerializedListConnectionsOptions, t as ListConnectionsOptions } from "../../list-connections-options.interface-C7cH8ONj.cjs";
7
- import { n as ProfileResponse, t as Profile } from "../../profile.interface-CiNXzRbL.cjs";
8
- import { n as ProfileAndTokenResponse, t as ProfileAndToken } from "../../profile-and-token.interface-D8SOsn-s.cjs";
1
+ import { Fn as ProfileAndTokenResponse, In as Profile, Ln as ProfileResponse, Pn as ProfileAndToken } from "../../index-DHEILHGo.cjs";
2
+ import { n as SSOPKCEAuthorizationURLResult, t as SSOAuthorizationURLOptions } from "../../authorization-url-options.interface-C5ABtdiE.cjs";
3
+ import { t as ConnectionType } from "../../connection-type.enum-BCSkvlg6.cjs";
4
+ import { n as ConnectionDomain, r as ConnectionResponse, t as Connection } from "../../connection.interface-D1HP4q90.cjs";
5
+ import { t as GetProfileOptions } from "../../get-profile-options.interface-BTqozSx_.cjs";
6
+ import { t as GetProfileAndTokenOptions } from "../../get-profile-and-token-options.interface-B4HEexcv.cjs";
7
+ import { n as SerializedListConnectionsOptions, t as ListConnectionsOptions } from "../../list-connections-options.interface-zYzKu8PV.cjs";
9
8
  export { Connection, ConnectionDomain, ConnectionResponse, ConnectionType, GetProfileAndTokenOptions, GetProfileOptions, ListConnectionsOptions, Profile, ProfileAndToken, ProfileAndTokenResponse, ProfileResponse, SSOAuthorizationURLOptions, SSOPKCEAuthorizationURLResult, SerializedListConnectionsOptions };
@@ -1,2 +1,2 @@
1
- import { n as SerializedListConnectionsOptions, t as ListConnectionsOptions } from "../../list-connections-options.interface-C7cH8ONj.cjs";
1
+ import { n as SerializedListConnectionsOptions, t as ListConnectionsOptions } from "../../list-connections-options.interface-zYzKu8PV.cjs";
2
2
  export { ListConnectionsOptions, SerializedListConnectionsOptions };
@@ -1,2 +1,2 @@
1
- import { n as ProfileAndTokenResponse, t as ProfileAndToken } from "../../profile-and-token.interface-D8SOsn-s.cjs";
1
+ import { Fn as ProfileAndTokenResponse, Pn as ProfileAndToken } from "../../index-DHEILHGo.cjs";
2
2
  export { ProfileAndToken, ProfileAndTokenResponse };
@@ -1,2 +1,2 @@
1
- import { n as ProfileResponse, t as Profile } from "../../profile.interface-CiNXzRbL.cjs";
1
+ import { In as Profile, Ln as ProfileResponse } from "../../index-DHEILHGo.cjs";
2
2
  export { Profile, ProfileResponse };
@@ -1,2 +1,2 @@
1
- import { t as deserializeConnection } from "../../connection.serializer-B_sjMnG8.cjs";
1
+ import { t as deserializeConnection } from "../../connection.serializer-B47qKsDN.cjs";
2
2
  export { deserializeConnection };
@@ -1,5 +1,5 @@
1
- import { t as deserializeConnection } from "../../connection.serializer-B_sjMnG8.cjs";
2
- import { t as serializeListConnectionsOptions } from "../../list-connections-options.serializer-olslE-Fg.cjs";
3
- import { t as deserializeProfileAndToken } from "../../profile-and-token.serializer-DgfsqiF_.cjs";
4
- import { t as deserializeProfile } from "../../profile.serializer-BOeHpcqS.cjs";
1
+ import { t as deserializeConnection } from "../../connection.serializer-B47qKsDN.cjs";
2
+ import { t as serializeListConnectionsOptions } from "../../list-connections-options.serializer-BQ887b-b.cjs";
3
+ import { t as deserializeProfileAndToken } from "../../profile-and-token.serializer-Bpr1CB7T.cjs";
4
+ import { t as deserializeProfile } from "../../profile.serializer-QeTKhj3R.cjs";
5
5
  export { deserializeConnection, deserializeProfile, deserializeProfileAndToken, serializeListConnectionsOptions };
@@ -1,2 +1,2 @@
1
- import { t as serializeListConnectionsOptions } from "../../list-connections-options.serializer-olslE-Fg.cjs";
1
+ import { t as serializeListConnectionsOptions } from "../../list-connections-options.serializer-BQ887b-b.cjs";
2
2
  export { serializeListConnectionsOptions };
@@ -1,2 +1,2 @@
1
- import { t as deserializeProfileAndToken } from "../../profile-and-token.serializer-DgfsqiF_.cjs";
1
+ import { t as deserializeProfileAndToken } from "../../profile-and-token.serializer-Bpr1CB7T.cjs";
2
2
  export { deserializeProfileAndToken };
@@ -1,2 +1,2 @@
1
- import { t as deserializeProfile } from "../../profile.serializer-BOeHpcqS.cjs";
1
+ import { t as deserializeProfile } from "../../profile.serializer-QeTKhj3R.cjs";
2
2
  export { deserializeProfile };
package/lib/sso/sso.cjs CHANGED
@@ -1,3 +1,3 @@
1
- const require_sso = require('../sso-BGdbsFSR.cjs');
1
+ const require_sso = require('../sso-DgPiUuie.cjs');
2
2
 
3
3
  exports.SSO = require_sso.SSO;
package/lib/sso/sso.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { v as SSO } from "../api-keys-DMUGmsZs.cjs";
1
+ import { y as SSO } from "../api-keys-CrR113By.cjs";
2
2
  export { SSO };
@@ -0,0 +1,135 @@
1
+ const require_pagination = require('./pagination-BG1uBuL4.cjs');
2
+ const require_connection_serializer = require('./connection.serializer-phS0D1t9.cjs');
3
+ const require_list_connections_options_serializer = require('./list-connections-options.serializer-B9jyhBCh.cjs');
4
+ const require_profile_serializer = require('./profile.serializer-BDlm0TRU.cjs');
5
+ const require_profile_and_token_serializer = require('./profile-and-token.serializer-CUFdGpX3.cjs');
6
+ const require_fetch_and_deserialize = require('./fetch-and-deserialize-B6lbfouV.cjs');
7
+ const require_query_string = require('./query-string-B9WibUJl.cjs');
8
+
9
+ //#region src/sso/sso.ts
10
+ var SSO = class {
11
+ constructor(workos) {
12
+ this.workos = workos;
13
+ }
14
+ async listConnections(options) {
15
+ return new require_pagination.AutoPaginatable(await require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/connections", require_connection_serializer.deserializeConnection, options ? require_list_connections_options_serializer.serializeListConnectionsOptions(options) : void 0), (params) => require_fetch_and_deserialize.fetchAndDeserialize(this.workos, "/connections", require_connection_serializer.deserializeConnection, params), options ? require_list_connections_options_serializer.serializeListConnectionsOptions(options) : void 0);
16
+ }
17
+ async deleteConnection(id) {
18
+ await this.workos.delete(`/connections/${id}`);
19
+ }
20
+ getAuthorizationUrl(options) {
21
+ const { codeChallenge, codeChallengeMethod, connection, clientId, domainHint, loginHint, organization, provider, providerQueryParams, providerScopes, redirectUri, state } = options;
22
+ if (!provider && !connection && !organization) throw new TypeError(`Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`);
23
+ const query = require_query_string.toQueryString({
24
+ code_challenge: codeChallenge,
25
+ code_challenge_method: codeChallengeMethod,
26
+ connection,
27
+ organization,
28
+ domain_hint: domainHint,
29
+ login_hint: loginHint,
30
+ provider,
31
+ provider_query_params: providerQueryParams,
32
+ provider_scopes: providerScopes,
33
+ client_id: clientId,
34
+ redirect_uri: redirectUri,
35
+ response_type: "code",
36
+ state
37
+ });
38
+ return `${this.workos.baseURL}/sso/authorize?${query}`;
39
+ }
40
+ /**
41
+ * Generates an authorization URL with PKCE parameters automatically generated.
42
+ * Use this for public clients (CLI apps, Electron, mobile) that cannot
43
+ * securely store a client secret.
44
+ *
45
+ * @returns Object containing url, state, and codeVerifier
46
+ *
47
+ * @example
48
+ * ```typescript
49
+ * const { url, state, codeVerifier } = await workos.sso.getAuthorizationUrlWithPKCE({
50
+ * connection: 'conn_123',
51
+ * clientId: 'client_123',
52
+ * redirectUri: 'myapp://callback',
53
+ * });
54
+ *
55
+ * // Store state and codeVerifier securely, then redirect user to url
56
+ * // After callback, exchange the code:
57
+ * const { profile, accessToken } = await workos.sso.getProfileAndToken({
58
+ * code: authorizationCode,
59
+ * codeVerifier,
60
+ * clientId: 'client_123',
61
+ * });
62
+ * ```
63
+ */
64
+ async getAuthorizationUrlWithPKCE(options) {
65
+ const { connection, clientId, domainHint, loginHint, organization, provider, providerQueryParams, providerScopes, redirectUri } = options;
66
+ if (!provider && !connection && !organization) throw new TypeError(`Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`);
67
+ const pkce = await this.workos.pkce.generate();
68
+ const state = this.workos.pkce.generateCodeVerifier(43);
69
+ const query = require_query_string.toQueryString({
70
+ code_challenge: pkce.codeChallenge,
71
+ code_challenge_method: "S256",
72
+ connection,
73
+ organization,
74
+ domain_hint: domainHint,
75
+ login_hint: loginHint,
76
+ provider,
77
+ provider_query_params: providerQueryParams,
78
+ provider_scopes: providerScopes,
79
+ client_id: clientId,
80
+ redirect_uri: redirectUri,
81
+ response_type: "code",
82
+ state
83
+ });
84
+ return {
85
+ url: `${this.workos.baseURL}/sso/authorize?${query}`,
86
+ state,
87
+ codeVerifier: pkce.codeVerifier
88
+ };
89
+ }
90
+ async getConnection(id) {
91
+ const { data } = await this.workos.get(`/connections/${id}`);
92
+ return require_connection_serializer.deserializeConnection(data);
93
+ }
94
+ /**
95
+ * Exchange an authorization code for a profile and access token.
96
+ *
97
+ * Auto-detects public vs confidential client mode:
98
+ * - If codeVerifier is provided: Uses PKCE flow (public client)
99
+ * - If no codeVerifier: Uses client_secret from API key (confidential client)
100
+ * - If both: Uses both client_secret AND codeVerifier (confidential client with PKCE)
101
+ *
102
+ * Using PKCE with confidential clients is recommended by OAuth 2.1 for defense
103
+ * in depth and provides additional CSRF protection on the authorization flow.
104
+ *
105
+ * @throws Error if neither codeVerifier nor API key is available
106
+ */
107
+ async getProfileAndToken({ code, clientId, codeVerifier }) {
108
+ if (codeVerifier !== void 0 && codeVerifier.trim() === "") throw new TypeError("codeVerifier cannot be an empty string. Generate a valid PKCE pair using workos.pkce.generate().");
109
+ const hasApiKey = !!this.workos.key;
110
+ const hasPKCE = !!codeVerifier;
111
+ if (!hasPKCE && !hasApiKey) throw new TypeError("getProfileAndToken requires either a codeVerifier (for public clients) or an API key configured on the WorkOS instance (for confidential clients).");
112
+ const form = new URLSearchParams({
113
+ client_id: clientId,
114
+ grant_type: "authorization_code",
115
+ code
116
+ });
117
+ if (hasPKCE) form.set("code_verifier", codeVerifier);
118
+ if (hasApiKey) form.set("client_secret", this.workos.key);
119
+ const { data } = await this.workos.post("/sso/token", form, { skipApiKeyCheck: !hasApiKey });
120
+ return require_profile_and_token_serializer.deserializeProfileAndToken(data);
121
+ }
122
+ async getProfile({ accessToken }) {
123
+ const { data } = await this.workos.get("/sso/profile", { accessToken });
124
+ return require_profile_serializer.deserializeProfile(data);
125
+ }
126
+ };
127
+
128
+ //#endregion
129
+ Object.defineProperty(exports, 'SSO', {
130
+ enumerable: true,
131
+ get: function () {
132
+ return SSO;
133
+ }
134
+ });
135
+ //# sourceMappingURL=sso-DgPiUuie.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sso-DgPiUuie.cjs","names":["workos: WorkOS","AutoPaginatable","fetchAndDeserialize","deserializeConnection","serializeListConnectionsOptions","toQueryString","deserializeProfileAndToken","deserializeProfile"],"sources":["../src/sso/sso.ts"],"sourcesContent":["import { UnknownRecord } from '../common/interfaces/unknown-record.interface';\nimport { fetchAndDeserialize } from '../common/utils/fetch-and-deserialize';\nimport { AutoPaginatable } from '../common/utils/pagination';\nimport { toQueryString } from '../common/utils/query-string';\nimport { WorkOS } from '../workos';\nimport {\n Connection,\n ConnectionResponse,\n GetProfileAndTokenOptions,\n GetProfileOptions,\n ListConnectionsOptions,\n Profile,\n ProfileAndToken,\n ProfileAndTokenResponse,\n ProfileResponse,\n SSOAuthorizationURLOptions,\n SSOPKCEAuthorizationURLResult,\n SerializedListConnectionsOptions,\n} from './interfaces';\nimport {\n deserializeConnection,\n deserializeProfile,\n deserializeProfileAndToken,\n serializeListConnectionsOptions,\n} from './serializers';\n\nexport class SSO {\n constructor(private readonly workos: WorkOS) {}\n\n async listConnections(\n options?: ListConnectionsOptions,\n ): Promise<AutoPaginatable<Connection, SerializedListConnectionsOptions>> {\n return new AutoPaginatable(\n await fetchAndDeserialize<ConnectionResponse, Connection>(\n this.workos,\n '/connections',\n deserializeConnection,\n options ? serializeListConnectionsOptions(options) : undefined,\n ),\n (params) =>\n fetchAndDeserialize<ConnectionResponse, Connection>(\n this.workos,\n '/connections',\n deserializeConnection,\n params,\n ),\n options ? serializeListConnectionsOptions(options) : undefined,\n );\n }\n async deleteConnection(id: string) {\n await this.workos.delete(`/connections/${id}`);\n }\n\n getAuthorizationUrl(options: SSOAuthorizationURLOptions): string {\n const {\n codeChallenge,\n codeChallengeMethod,\n connection,\n clientId,\n domainHint,\n loginHint,\n organization,\n provider,\n providerQueryParams,\n providerScopes,\n redirectUri,\n state,\n } = options;\n\n if (!provider && !connection && !organization) {\n throw new TypeError(\n `Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`,\n );\n }\n\n const query = toQueryString({\n code_challenge: codeChallenge,\n code_challenge_method: codeChallengeMethod,\n connection,\n organization,\n domain_hint: domainHint,\n login_hint: loginHint,\n provider,\n provider_query_params: providerQueryParams,\n provider_scopes: providerScopes,\n client_id: clientId,\n redirect_uri: redirectUri,\n response_type: 'code',\n state,\n });\n\n return `${this.workos.baseURL}/sso/authorize?${query}`;\n }\n\n /**\n * Generates an authorization URL with PKCE parameters automatically generated.\n * Use this for public clients (CLI apps, Electron, mobile) that cannot\n * securely store a client secret.\n *\n * @returns Object containing url, state, and codeVerifier\n *\n * @example\n * ```typescript\n * const { url, state, codeVerifier } = await workos.sso.getAuthorizationUrlWithPKCE({\n * connection: 'conn_123',\n * clientId: 'client_123',\n * redirectUri: 'myapp://callback',\n * });\n *\n * // Store state and codeVerifier securely, then redirect user to url\n * // After callback, exchange the code:\n * const { profile, accessToken } = await workos.sso.getProfileAndToken({\n * code: authorizationCode,\n * codeVerifier,\n * clientId: 'client_123',\n * });\n * ```\n */\n async getAuthorizationUrlWithPKCE(\n options: Omit<\n SSOAuthorizationURLOptions,\n 'codeChallenge' | 'codeChallengeMethod' | 'state'\n >,\n ): Promise<SSOPKCEAuthorizationURLResult> {\n const {\n connection,\n clientId,\n domainHint,\n loginHint,\n organization,\n provider,\n providerQueryParams,\n providerScopes,\n redirectUri,\n } = options;\n\n if (!provider && !connection && !organization) {\n throw new TypeError(\n `Incomplete arguments. Need to specify either a 'connection', 'organization', or 'provider'.`,\n );\n }\n\n // Generate PKCE parameters\n const pkce = await this.workos.pkce.generate();\n\n // Generate secure random state\n const state = this.workos.pkce.generateCodeVerifier(43);\n\n const query = toQueryString({\n code_challenge: pkce.codeChallenge,\n code_challenge_method: 'S256',\n connection,\n organization,\n domain_hint: domainHint,\n login_hint: loginHint,\n provider,\n provider_query_params: providerQueryParams,\n provider_scopes: providerScopes,\n client_id: clientId,\n redirect_uri: redirectUri,\n response_type: 'code',\n state,\n });\n\n const url = `${this.workos.baseURL}/sso/authorize?${query}`;\n\n return { url, state, codeVerifier: pkce.codeVerifier };\n }\n\n async getConnection(id: string): Promise<Connection> {\n const { data } = await this.workos.get<ConnectionResponse>(\n `/connections/${id}`,\n );\n\n return deserializeConnection(data);\n }\n\n /**\n * Exchange an authorization code for a profile and access token.\n *\n * Auto-detects public vs confidential client mode:\n * - If codeVerifier is provided: Uses PKCE flow (public client)\n * - If no codeVerifier: Uses client_secret from API key (confidential client)\n * - If both: Uses both client_secret AND codeVerifier (confidential client with PKCE)\n *\n * Using PKCE with confidential clients is recommended by OAuth 2.1 for defense\n * in depth and provides additional CSRF protection on the authorization flow.\n *\n * @throws Error if neither codeVerifier nor API key is available\n */\n async getProfileAndToken<\n CustomAttributesType extends UnknownRecord = UnknownRecord,\n >({\n code,\n clientId,\n codeVerifier,\n }: GetProfileAndTokenOptions): Promise<\n ProfileAndToken<CustomAttributesType>\n > {\n // Validate codeVerifier is not an empty string (common mistake)\n if (codeVerifier !== undefined && codeVerifier.trim() === '') {\n throw new TypeError(\n 'codeVerifier cannot be an empty string. ' +\n 'Generate a valid PKCE pair using workos.pkce.generate().',\n );\n }\n\n const hasApiKey = !!this.workos.key;\n const hasPKCE = !!codeVerifier;\n\n if (!hasPKCE && !hasApiKey) {\n throw new TypeError(\n 'getProfileAndToken requires either a codeVerifier (for public clients) ' +\n 'or an API key configured on the WorkOS instance (for confidential clients).',\n );\n }\n\n const form = new URLSearchParams({\n client_id: clientId,\n grant_type: 'authorization_code',\n code,\n });\n\n // Support PKCE with confidential clients (OAuth 2.1 best practice)\n // Both can be sent together for defense in depth\n if (hasPKCE) {\n form.set('code_verifier', codeVerifier);\n }\n if (hasApiKey) {\n form.set('client_secret', this.workos.key as string);\n }\n\n const { data } = await this.workos.post<\n ProfileAndTokenResponse<CustomAttributesType>\n >('/sso/token', form, { skipApiKeyCheck: !hasApiKey });\n\n return deserializeProfileAndToken(data);\n }\n\n async getProfile<CustomAttributesType extends UnknownRecord = UnknownRecord>({\n accessToken,\n }: GetProfileOptions): Promise<Profile<CustomAttributesType>> {\n const { data } = await this.workos.get<\n ProfileResponse<CustomAttributesType>\n >('/sso/profile', {\n accessToken,\n });\n\n return deserializeProfile(data);\n }\n}\n"],"mappings":";;;;;;;;;AA0BA,IAAa,MAAb,MAAiB;CACf,YAAY,AAAiBA,QAAgB;EAAhB;;CAE7B,MAAM,gBACJ,SACwE;AACxE,SAAO,IAAIC,mCACT,MAAMC,kDACJ,KAAK,QACL,gBACAC,qDACA,UAAUC,4EAAgC,QAAQ,GAAG,OACtD,GACA,WACCF,kDACE,KAAK,QACL,gBACAC,qDACA,OACD,EACH,UAAUC,4EAAgC,QAAQ,GAAG,OACtD;;CAEH,MAAM,iBAAiB,IAAY;AACjC,QAAM,KAAK,OAAO,OAAO,gBAAgB,KAAK;;CAGhD,oBAAoB,SAA6C;EAC/D,MAAM,EACJ,eACA,qBACA,YACA,UACA,YACA,WACA,cACA,UACA,qBACA,gBACA,aACA,UACE;AAEJ,MAAI,CAAC,YAAY,CAAC,cAAc,CAAC,aAC/B,OAAM,IAAI,UACR,8FACD;EAGH,MAAM,QAAQC,mCAAc;GAC1B,gBAAgB;GAChB,uBAAuB;GACvB;GACA;GACA,aAAa;GACb,YAAY;GACZ;GACA,uBAAuB;GACvB,iBAAiB;GACjB,WAAW;GACX,cAAc;GACd,eAAe;GACf;GACD,CAAC;AAEF,SAAO,GAAG,KAAK,OAAO,QAAQ,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BjD,MAAM,4BACJ,SAIwC;EACxC,MAAM,EACJ,YACA,UACA,YACA,WACA,cACA,UACA,qBACA,gBACA,gBACE;AAEJ,MAAI,CAAC,YAAY,CAAC,cAAc,CAAC,aAC/B,OAAM,IAAI,UACR,8FACD;EAIH,MAAM,OAAO,MAAM,KAAK,OAAO,KAAK,UAAU;EAG9C,MAAM,QAAQ,KAAK,OAAO,KAAK,qBAAqB,GAAG;EAEvD,MAAM,QAAQA,mCAAc;GAC1B,gBAAgB,KAAK;GACrB,uBAAuB;GACvB;GACA;GACA,aAAa;GACb,YAAY;GACZ;GACA,uBAAuB;GACvB,iBAAiB;GACjB,WAAW;GACX,cAAc;GACd,eAAe;GACf;GACD,CAAC;AAIF,SAAO;GAAE,KAFG,GAAG,KAAK,OAAO,QAAQ,iBAAiB;GAEtC;GAAO,cAAc,KAAK;GAAc;;CAGxD,MAAM,cAAc,IAAiC;EACnD,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,IACjC,gBAAgB,KACjB;AAED,SAAOF,oDAAsB,KAAK;;;;;;;;;;;;;;;CAgBpC,MAAM,mBAEJ,EACA,MACA,UACA,gBAGA;AAEA,MAAI,iBAAiB,UAAa,aAAa,MAAM,KAAK,GACxD,OAAM,IAAI,UACR,mGAED;EAGH,MAAM,YAAY,CAAC,CAAC,KAAK,OAAO;EAChC,MAAM,UAAU,CAAC,CAAC;AAElB,MAAI,CAAC,WAAW,CAAC,UACf,OAAM,IAAI,UACR,qJAED;EAGH,MAAM,OAAO,IAAI,gBAAgB;GAC/B,WAAW;GACX,YAAY;GACZ;GACD,CAAC;AAIF,MAAI,QACF,MAAK,IAAI,iBAAiB,aAAa;AAEzC,MAAI,UACF,MAAK,IAAI,iBAAiB,KAAK,OAAO,IAAc;EAGtD,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,KAEjC,cAAc,MAAM,EAAE,iBAAiB,CAAC,WAAW,CAAC;AAEtD,SAAOG,gEAA2B,KAAK;;CAGzC,MAAM,WAAuE,EAC3E,eAC4D;EAC5D,MAAM,EAAE,SAAS,MAAM,KAAK,OAAO,IAEjC,gBAAgB,EAChB,aACD,CAAC;AAEF,SAAOC,8CAAmB,KAAK"}
@@ -0,0 +1,99 @@
1
+ const require_crypto_provider = require('./crypto-provider-Bg3tRE2P.cjs');
2
+
3
+ //#region src/common/crypto/subtle-crypto-provider.ts
4
+ /**
5
+ * `CryptoProvider which uses the SubtleCrypto interface of the Web Crypto API.
6
+ *
7
+ * This only supports asynchronous operations.
8
+ */
9
+ var SubtleCryptoProvider = class extends require_crypto_provider.CryptoProvider {
10
+ subtleCrypto;
11
+ constructor(subtleCrypto) {
12
+ super();
13
+ this.subtleCrypto = subtleCrypto || crypto.subtle;
14
+ }
15
+ computeHMACSignature(_payload, _secret) {
16
+ throw new Error("SubleCryptoProvider cannot be used in a synchronous context.");
17
+ }
18
+ /** @override */
19
+ async computeHMACSignatureAsync(payload, secret) {
20
+ const encoder = new TextEncoder();
21
+ const key = await this.subtleCrypto.importKey("raw", encoder.encode(secret), {
22
+ name: "HMAC",
23
+ hash: { name: "SHA-256" }
24
+ }, false, ["sign"]);
25
+ const signatureBuffer = await this.subtleCrypto.sign("hmac", key, encoder.encode(payload));
26
+ const signatureBytes = new Uint8Array(signatureBuffer);
27
+ const signatureHexCodes = new Array(signatureBytes.length);
28
+ for (let i = 0; i < signatureBytes.length; i++) signatureHexCodes[i] = byteHexMapping[signatureBytes[i]];
29
+ return signatureHexCodes.join("");
30
+ }
31
+ /** @override */
32
+ async secureCompare(stringA, stringB) {
33
+ const bufferA = this.encoder.encode(stringA);
34
+ const bufferB = this.encoder.encode(stringB);
35
+ if (bufferA.length !== bufferB.length) return false;
36
+ const algorithm = {
37
+ name: "HMAC",
38
+ hash: "SHA-256"
39
+ };
40
+ const key = await crypto.subtle.generateKey(algorithm, false, ["sign", "verify"]);
41
+ const hmac = await crypto.subtle.sign(algorithm, key, bufferA);
42
+ return await crypto.subtle.verify(algorithm, key, hmac, bufferB);
43
+ }
44
+ async encrypt(plaintext, key, iv, aad) {
45
+ const actualIv = iv || crypto.getRandomValues(new Uint8Array(32));
46
+ const cryptoKey = await this.subtleCrypto.importKey("raw", key, { name: "AES-GCM" }, false, ["encrypt"]);
47
+ const encryptParams = {
48
+ name: "AES-GCM",
49
+ iv: actualIv
50
+ };
51
+ if (aad) encryptParams.additionalData = aad;
52
+ const encryptedData = await this.subtleCrypto.encrypt(encryptParams, cryptoKey, plaintext);
53
+ const encryptedBytes = new Uint8Array(encryptedData);
54
+ const tagStart = encryptedBytes.length - 16;
55
+ const tag = encryptedBytes.slice(tagStart);
56
+ return {
57
+ ciphertext: encryptedBytes.slice(0, tagStart),
58
+ iv: actualIv,
59
+ tag
60
+ };
61
+ }
62
+ async decrypt(ciphertext, key, iv, tag, aad) {
63
+ const combinedData = new Uint8Array(ciphertext.length + tag.length);
64
+ combinedData.set(ciphertext, 0);
65
+ combinedData.set(tag, ciphertext.length);
66
+ const cryptoKey = await this.subtleCrypto.importKey("raw", key, { name: "AES-GCM" }, false, ["decrypt"]);
67
+ const decryptParams = {
68
+ name: "AES-GCM",
69
+ iv
70
+ };
71
+ if (aad) decryptParams.additionalData = aad;
72
+ const decryptedData = await this.subtleCrypto.decrypt(decryptParams, cryptoKey, combinedData);
73
+ return new Uint8Array(decryptedData);
74
+ }
75
+ randomBytes(length) {
76
+ const bytes = new Uint8Array(length);
77
+ crypto.getRandomValues(bytes);
78
+ return bytes;
79
+ }
80
+ randomUUID() {
81
+ if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") return crypto.randomUUID();
82
+ const bytes = this.randomBytes(16);
83
+ bytes[6] = bytes[6] & 15 | 64;
84
+ bytes[8] = bytes[8] & 63 | 128;
85
+ const hex = Array.from(bytes, (b) => byteHexMapping[b]).join("");
86
+ return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
87
+ }
88
+ };
89
+ const byteHexMapping = new Array(256);
90
+ for (let i = 0; i < byteHexMapping.length; i++) byteHexMapping[i] = i.toString(16).padStart(2, "0");
91
+
92
+ //#endregion
93
+ Object.defineProperty(exports, 'SubtleCryptoProvider', {
94
+ enumerable: true,
95
+ get: function () {
96
+ return SubtleCryptoProvider;
97
+ }
98
+ });
99
+ //# sourceMappingURL=subtle-crypto-provider-BMf63Lhz.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subtle-crypto-provider-BMf63Lhz.cjs","names":["CryptoProvider","encryptParams: AesGcmParams","decryptParams: AesGcmParams"],"sources":["../src/common/crypto/subtle-crypto-provider.ts"],"sourcesContent":["import { CryptoProvider } from './crypto-provider';\n\n/**\n * `CryptoProvider which uses the SubtleCrypto interface of the Web Crypto API.\n *\n * This only supports asynchronous operations.\n */\nexport class SubtleCryptoProvider extends CryptoProvider {\n subtleCrypto: SubtleCrypto;\n\n constructor(subtleCrypto?: SubtleCrypto) {\n super();\n\n // If no subtle crypto is interface, default to the global namespace. This\n // is to allow custom interfaces (eg. using the Node webcrypto interface in\n // tests).\n this.subtleCrypto = subtleCrypto || crypto.subtle;\n }\n\n computeHMACSignature(_payload: string, _secret: string): string {\n throw new Error(\n 'SubleCryptoProvider cannot be used in a synchronous context.',\n );\n }\n\n /** @override */\n async computeHMACSignatureAsync(\n payload: string,\n secret: string,\n ): Promise<string> {\n const encoder = new TextEncoder();\n\n const key = await this.subtleCrypto.importKey(\n 'raw',\n encoder.encode(secret),\n {\n name: 'HMAC',\n hash: { name: 'SHA-256' },\n },\n false,\n ['sign'],\n );\n\n const signatureBuffer = await this.subtleCrypto.sign(\n 'hmac',\n key,\n encoder.encode(payload),\n );\n\n // crypto.subtle returns the signature in base64 format. This must be\n // encoded in hex to match the CryptoProvider contract. We map each byte in\n // the buffer to its corresponding hex octet and then combine into a string.\n const signatureBytes = new Uint8Array(signatureBuffer);\n const signatureHexCodes = new Array(signatureBytes.length);\n\n for (let i = 0; i < signatureBytes.length; i++) {\n signatureHexCodes[i] = byteHexMapping[signatureBytes[i]];\n }\n\n return signatureHexCodes.join('');\n }\n\n /** @override */\n async secureCompare(stringA: string, stringB: string): Promise<boolean> {\n const bufferA = this.encoder.encode(stringA);\n const bufferB = this.encoder.encode(stringB);\n\n if (bufferA.length !== bufferB.length) {\n return false;\n }\n\n const algorithm = { name: 'HMAC', hash: 'SHA-256' };\n const key = (await crypto.subtle.generateKey(algorithm, false, [\n 'sign',\n 'verify',\n ])) as CryptoKey;\n const hmac = await crypto.subtle.sign(algorithm, key, bufferA);\n const equal = await crypto.subtle.verify(algorithm, key, hmac, bufferB);\n\n return equal;\n }\n\n async encrypt(\n plaintext: Uint8Array,\n key: Uint8Array,\n iv?: Uint8Array,\n aad?: Uint8Array,\n ): Promise<{\n ciphertext: Uint8Array;\n iv: Uint8Array;\n tag: Uint8Array;\n }> {\n const actualIv = iv || crypto.getRandomValues(new Uint8Array(32));\n\n const cryptoKey = await this.subtleCrypto.importKey(\n 'raw',\n key as BufferSource,\n { name: 'AES-GCM' },\n false,\n ['encrypt'],\n );\n\n const encryptParams: AesGcmParams = {\n name: 'AES-GCM',\n iv: actualIv as BufferSource,\n };\n\n if (aad) {\n encryptParams.additionalData = aad as BufferSource;\n }\n\n const encryptedData = await this.subtleCrypto.encrypt(\n encryptParams,\n cryptoKey,\n plaintext as BufferSource,\n );\n\n const encryptedBytes = new Uint8Array(encryptedData);\n\n // Extract tag (last 16 bytes)\n const tagSize = 16;\n const tagStart = encryptedBytes.length - tagSize;\n const tag = encryptedBytes.slice(tagStart);\n const ciphertext = encryptedBytes.slice(0, tagStart);\n\n return {\n ciphertext,\n iv: actualIv,\n tag,\n };\n }\n\n async decrypt(\n ciphertext: Uint8Array,\n key: Uint8Array,\n iv: Uint8Array,\n tag: Uint8Array,\n aad?: Uint8Array,\n ): Promise<Uint8Array> {\n // SubtleCrypto expects tag to be appended to ciphertext for AES-GCM\n const combinedData = new Uint8Array(ciphertext.length + tag.length);\n combinedData.set(ciphertext, 0);\n combinedData.set(tag, ciphertext.length);\n\n const cryptoKey = await this.subtleCrypto.importKey(\n 'raw',\n key as BufferSource,\n { name: 'AES-GCM' },\n false,\n ['decrypt'],\n );\n\n const decryptParams: AesGcmParams = {\n name: 'AES-GCM',\n iv: iv as BufferSource,\n };\n\n if (aad) {\n decryptParams.additionalData = aad as BufferSource;\n }\n\n const decryptedData = await this.subtleCrypto.decrypt(\n decryptParams,\n cryptoKey,\n combinedData,\n );\n\n return new Uint8Array(decryptedData);\n }\n\n randomBytes(length: number): Uint8Array {\n const bytes = new Uint8Array(length);\n crypto.getRandomValues(bytes);\n return bytes;\n }\n\n randomUUID(): string {\n if (\n typeof crypto !== 'undefined' &&\n typeof crypto.randomUUID === 'function'\n ) {\n return crypto.randomUUID();\n }\n\n // Fallback for environments without crypto.randomUUID\n const bytes = this.randomBytes(16);\n // tslint:disable-next-line:no-bitwise\n bytes[6] = (bytes[6] & 0x0f) | 0x40; // version 4\n // tslint:disable-next-line:no-bitwise\n bytes[8] = (bytes[8] & 0x3f) | 0x80; // variant\n\n const hex = Array.from(bytes, (b) => byteHexMapping[b]).join('');\n return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(\n 12,\n 16,\n )}-${hex.slice(16, 20)}-${hex.slice(20)}`;\n }\n}\n\n// Cached mapping of byte to hex representation. We do this once to avoid re-\n// computing every time we need to convert the result of a signature to hex.\nconst byteHexMapping = new Array(256);\nfor (let i = 0; i < byteHexMapping.length; i++) {\n byteHexMapping[i] = i.toString(16).padStart(2, '0');\n}\n"],"mappings":";;;;;;;;AAOA,IAAa,uBAAb,cAA0CA,uCAAe;CACvD;CAEA,YAAY,cAA6B;AACvC,SAAO;AAKP,OAAK,eAAe,gBAAgB,OAAO;;CAG7C,qBAAqB,UAAkB,SAAyB;AAC9D,QAAM,IAAI,MACR,+DACD;;;CAIH,MAAM,0BACJ,SACA,QACiB;EACjB,MAAM,UAAU,IAAI,aAAa;EAEjC,MAAM,MAAM,MAAM,KAAK,aAAa,UAClC,OACA,QAAQ,OAAO,OAAO,EACtB;GACE,MAAM;GACN,MAAM,EAAE,MAAM,WAAW;GAC1B,EACD,OACA,CAAC,OAAO,CACT;EAED,MAAM,kBAAkB,MAAM,KAAK,aAAa,KAC9C,QACA,KACA,QAAQ,OAAO,QAAQ,CACxB;EAKD,MAAM,iBAAiB,IAAI,WAAW,gBAAgB;EACtD,MAAM,oBAAoB,IAAI,MAAM,eAAe,OAAO;AAE1D,OAAK,IAAI,IAAI,GAAG,IAAI,eAAe,QAAQ,IACzC,mBAAkB,KAAK,eAAe,eAAe;AAGvD,SAAO,kBAAkB,KAAK,GAAG;;;CAInC,MAAM,cAAc,SAAiB,SAAmC;EACtE,MAAM,UAAU,KAAK,QAAQ,OAAO,QAAQ;EAC5C,MAAM,UAAU,KAAK,QAAQ,OAAO,QAAQ;AAE5C,MAAI,QAAQ,WAAW,QAAQ,OAC7B,QAAO;EAGT,MAAM,YAAY;GAAE,MAAM;GAAQ,MAAM;GAAW;EACnD,MAAM,MAAO,MAAM,OAAO,OAAO,YAAY,WAAW,OAAO,CAC7D,QACA,SACD,CAAC;EACF,MAAM,OAAO,MAAM,OAAO,OAAO,KAAK,WAAW,KAAK,QAAQ;AAG9D,SAFc,MAAM,OAAO,OAAO,OAAO,WAAW,KAAK,MAAM,QAAQ;;CAKzE,MAAM,QACJ,WACA,KACA,IACA,KAKC;EACD,MAAM,WAAW,MAAM,OAAO,gBAAgB,IAAI,WAAW,GAAG,CAAC;EAEjE,MAAM,YAAY,MAAM,KAAK,aAAa,UACxC,OACA,KACA,EAAE,MAAM,WAAW,EACnB,OACA,CAAC,UAAU,CACZ;EAED,MAAMC,gBAA8B;GAClC,MAAM;GACN,IAAI;GACL;AAED,MAAI,IACF,eAAc,iBAAiB;EAGjC,MAAM,gBAAgB,MAAM,KAAK,aAAa,QAC5C,eACA,WACA,UACD;EAED,MAAM,iBAAiB,IAAI,WAAW,cAAc;EAIpD,MAAM,WAAW,eAAe,SADhB;EAEhB,MAAM,MAAM,eAAe,MAAM,SAAS;AAG1C,SAAO;GACL,YAHiB,eAAe,MAAM,GAAG,SAAS;GAIlD,IAAI;GACJ;GACD;;CAGH,MAAM,QACJ,YACA,KACA,IACA,KACA,KACqB;EAErB,MAAM,eAAe,IAAI,WAAW,WAAW,SAAS,IAAI,OAAO;AACnE,eAAa,IAAI,YAAY,EAAE;AAC/B,eAAa,IAAI,KAAK,WAAW,OAAO;EAExC,MAAM,YAAY,MAAM,KAAK,aAAa,UACxC,OACA,KACA,EAAE,MAAM,WAAW,EACnB,OACA,CAAC,UAAU,CACZ;EAED,MAAMC,gBAA8B;GAClC,MAAM;GACF;GACL;AAED,MAAI,IACF,eAAc,iBAAiB;EAGjC,MAAM,gBAAgB,MAAM,KAAK,aAAa,QAC5C,eACA,WACA,aACD;AAED,SAAO,IAAI,WAAW,cAAc;;CAGtC,YAAY,QAA4B;EACtC,MAAM,QAAQ,IAAI,WAAW,OAAO;AACpC,SAAO,gBAAgB,MAAM;AAC7B,SAAO;;CAGT,aAAqB;AACnB,MACE,OAAO,WAAW,eAClB,OAAO,OAAO,eAAe,WAE7B,QAAO,OAAO,YAAY;EAI5B,MAAM,QAAQ,KAAK,YAAY,GAAG;AAElC,QAAM,KAAM,MAAM,KAAK,KAAQ;AAE/B,QAAM,KAAM,MAAM,KAAK,KAAQ;EAE/B,MAAM,MAAM,MAAM,KAAK,QAAQ,MAAM,eAAe,GAAG,CAAC,KAAK,GAAG;AAChE,SAAO,GAAG,IAAI,MAAM,GAAG,EAAE,CAAC,GAAG,IAAI,MAAM,GAAG,GAAG,CAAC,GAAG,IAAI,MACnD,IACA,GACD,CAAC,GAAG,IAAI,MAAM,IAAI,GAAG,CAAC,GAAG,IAAI,MAAM,GAAG;;;AAM3C,MAAM,iBAAiB,IAAI,MAAM,IAAI;AACrC,KAAK,IAAI,IAAI,GAAG,IAAI,eAAe,QAAQ,IACzC,gBAAe,KAAK,EAAE,SAAS,GAAG,CAAC,SAAS,GAAG,IAAI"}
@@ -0,0 +1,22 @@
1
+ //#region src/mfa/interfaces/totp.interface.d.ts
2
+ interface Totp {
3
+ issuer: string;
4
+ user: string;
5
+ }
6
+ interface TotpWithSecrets extends Totp {
7
+ qrCode: string;
8
+ secret: string;
9
+ uri: string;
10
+ }
11
+ interface TotpResponse {
12
+ issuer: string;
13
+ user: string;
14
+ }
15
+ interface TotpWithSecretsResponse extends TotpResponse {
16
+ qr_code: string;
17
+ secret: string;
18
+ uri: string;
19
+ }
20
+ //#endregion
21
+ export { TotpWithSecretsResponse as i, TotpResponse as n, TotpWithSecrets as r, Totp as t };
22
+ //# sourceMappingURL=totp.interface-4Tn9mcvR.d.cts.map
@@ -0,0 +1,13 @@
1
+ import { t as RequestException } from "./request-exception.interface-DahTOGID.cjs";
2
+
3
+ //#region src/common/exceptions/unauthorized.exception.d.ts
4
+ declare class UnauthorizedException extends Error implements RequestException {
5
+ readonly requestID: string;
6
+ readonly status = 401;
7
+ readonly name = "UnauthorizedException";
8
+ readonly message: string;
9
+ constructor(requestID: string);
10
+ }
11
+ //#endregion
12
+ export { UnauthorizedException as t };
13
+ //# sourceMappingURL=unauthorized.exception-B0Ma7wJ5.d.cts.map
@@ -0,0 +1,5 @@
1
+ //#region src/common/interfaces/unknown-record.interface.d.ts
2
+ type UnknownRecord = Record<string, unknown>;
3
+ //#endregion
4
+ export { UnknownRecord as t };
5
+ //# sourceMappingURL=unknown-record.interface-DSMWbzCc.d.cts.map
@@ -0,0 +1,8 @@
1
+ //#region src/common/interfaces/unprocessable-entity-error.interface.d.ts
2
+ interface UnprocessableEntityError {
3
+ field: string;
4
+ code: string;
5
+ }
6
+ //#endregion
7
+ export { UnprocessableEntityError as t };
8
+ //# sourceMappingURL=unprocessable-entity-error.interface-CGfXN5Ma.d.cts.map