auth0 5.1.0 → 5.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 (824) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +43 -0
  3. package/dist/cjs/management/BaseClient.d.ts +15 -4
  4. package/dist/cjs/management/BaseClient.js +50 -0
  5. package/dist/cjs/management/Client.d.ts +133 -127
  6. package/dist/cjs/management/Client.js +94 -83
  7. package/dist/cjs/management/api/errors/BadRequestError.d.ts +1 -1
  8. package/dist/cjs/management/api/errors/BadRequestError.js +5 -1
  9. package/dist/cjs/management/api/errors/ConflictError.d.ts +1 -1
  10. package/dist/cjs/management/api/errors/ConflictError.js +5 -1
  11. package/dist/cjs/management/api/errors/ContentTooLargeError.d.ts +1 -1
  12. package/dist/cjs/management/api/errors/ContentTooLargeError.js +5 -1
  13. package/dist/cjs/management/api/errors/ForbiddenError.d.ts +1 -1
  14. package/dist/cjs/management/api/errors/ForbiddenError.js +5 -1
  15. package/dist/cjs/management/api/errors/InternalServerError.d.ts +1 -1
  16. package/dist/cjs/management/api/errors/InternalServerError.js +5 -1
  17. package/dist/cjs/management/api/errors/NotFoundError.d.ts +1 -1
  18. package/dist/cjs/management/api/errors/NotFoundError.js +5 -1
  19. package/dist/cjs/management/api/errors/PaymentRequiredError.d.ts +1 -1
  20. package/dist/cjs/management/api/errors/PaymentRequiredError.js +5 -1
  21. package/dist/cjs/management/api/errors/PreconditionFailedError.d.ts +5 -0
  22. package/dist/cjs/management/api/errors/PreconditionFailedError.js +54 -0
  23. package/dist/cjs/management/api/errors/ServiceUnavailableError.d.ts +1 -1
  24. package/dist/cjs/management/api/errors/ServiceUnavailableError.js +5 -1
  25. package/dist/cjs/management/api/errors/TooManyRequestsError.d.ts +1 -1
  26. package/dist/cjs/management/api/errors/TooManyRequestsError.js +5 -1
  27. package/dist/cjs/management/api/errors/UnauthorizedError.d.ts +1 -1
  28. package/dist/cjs/management/api/errors/UnauthorizedError.js +5 -1
  29. package/dist/cjs/management/api/errors/index.d.ts +6 -5
  30. package/dist/cjs/management/api/errors/index.js +6 -5
  31. package/dist/cjs/management/api/index.d.ts +2 -2
  32. package/dist/cjs/management/api/index.js +2 -2
  33. package/dist/cjs/management/api/requests/requests.d.ts +307 -22
  34. package/dist/cjs/management/api/resources/actions/client/Client.d.ts +32 -30
  35. package/dist/cjs/management/api/resources/actions/client/Client.js +57 -139
  36. package/dist/cjs/management/api/resources/actions/resources/executions/client/Client.d.ts +8 -9
  37. package/dist/cjs/management/api/resources/actions/resources/executions/client/Client.js +14 -29
  38. package/dist/cjs/management/api/resources/actions/resources/index.d.ts +2 -1
  39. package/dist/cjs/management/api/resources/actions/resources/index.js +3 -2
  40. package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.d.ts +149 -0
  41. package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +569 -0
  42. package/dist/cjs/management/api/resources/actions/resources/modules/client/index.d.ts +1 -0
  43. package/dist/cjs/management/api/resources/actions/resources/modules/client/index.js +2 -0
  44. package/dist/cjs/management/api/resources/actions/resources/modules/index.d.ts +2 -0
  45. package/dist/cjs/management/api/resources/actions/resources/modules/index.js +18 -0
  46. package/dist/cjs/management/api/resources/actions/resources/modules/resources/index.d.ts +1 -0
  47. package/dist/cjs/management/api/resources/actions/resources/modules/resources/index.js +37 -0
  48. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.ts +66 -0
  49. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +252 -0
  50. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/index.d.ts +1 -0
  51. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/index.js +2 -0
  52. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/index.d.ts +1 -0
  53. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/index.js +17 -0
  54. package/dist/cjs/management/api/resources/actions/resources/triggers/client/Client.d.ts +11 -12
  55. package/dist/cjs/management/api/resources/actions/resources/triggers/client/Client.js +15 -30
  56. package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.d.ts +10 -11
  57. package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.js +22 -49
  58. package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.d.ts +12 -13
  59. package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.js +27 -66
  60. package/dist/cjs/management/api/resources/anomaly/client/Client.d.ts +9 -9
  61. package/dist/cjs/management/api/resources/anomaly/client/Client.js +7 -6
  62. package/dist/cjs/management/api/resources/anomaly/resources/blocks/client/Client.d.ts +10 -11
  63. package/dist/cjs/management/api/resources/anomaly/resources/blocks/client/Client.js +19 -46
  64. package/dist/cjs/management/api/resources/attackProtection/client/Client.d.ts +21 -21
  65. package/dist/cjs/management/api/resources/attackProtection/client/Client.js +11 -10
  66. package/dist/cjs/management/api/resources/attackProtection/resources/botDetection/client/Client.d.ts +10 -11
  67. package/dist/cjs/management/api/resources/attackProtection/resources/botDetection/client/Client.js +19 -46
  68. package/dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.d.ts +10 -11
  69. package/dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.js +19 -46
  70. package/dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.d.ts +10 -11
  71. package/dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.js +19 -46
  72. package/dist/cjs/management/api/resources/attackProtection/resources/captcha/client/Client.d.ts +10 -11
  73. package/dist/cjs/management/api/resources/attackProtection/resources/captcha/client/Client.js +19 -46
  74. package/dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.d.ts +10 -11
  75. package/dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.js +19 -46
  76. package/dist/cjs/management/api/resources/branding/client/Client.d.ts +19 -20
  77. package/dist/cjs/management/api/resources/branding/client/Client.js +25 -52
  78. package/dist/cjs/management/api/resources/branding/resources/index.d.ts +1 -1
  79. package/dist/cjs/management/api/resources/branding/resources/index.js +2 -2
  80. package/dist/cjs/management/api/resources/branding/resources/phone/client/Client.d.ts +12 -12
  81. package/dist/cjs/management/api/resources/branding/resources/phone/client/Client.js +8 -7
  82. package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.ts +18 -19
  83. package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.js +39 -114
  84. package/dist/cjs/management/api/resources/branding/resources/phone/resources/templates/client/Client.d.ts +20 -21
  85. package/dist/cjs/management/api/resources/branding/resources/phone/resources/templates/client/Client.js +44 -131
  86. package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.d.ts +12 -13
  87. package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.js +24 -63
  88. package/dist/cjs/management/api/resources/branding/resources/themes/client/Client.d.ts +16 -17
  89. package/dist/cjs/management/api/resources/branding/resources/themes/client/Client.js +34 -97
  90. package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +34 -18
  91. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +90 -80
  92. package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.d.ts +8 -9
  93. package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +14 -29
  94. package/dist/cjs/management/api/resources/clients/client/Client.d.ts +24 -25
  95. package/dist/cjs/management/api/resources/clients/client/Client.js +46 -121
  96. package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.d.ts +8 -9
  97. package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.js +14 -29
  98. package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.d.ts +24 -25
  99. package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.js +63 -126
  100. package/dist/cjs/management/api/resources/clients/resources/index.d.ts +1 -1
  101. package/dist/cjs/management/api/resources/clients/resources/index.js +2 -2
  102. package/dist/cjs/management/api/resources/connectionProfiles/client/Client.d.ts +128 -0
  103. package/dist/cjs/management/api/resources/connectionProfiles/client/Client.js +501 -0
  104. package/dist/cjs/management/api/resources/connectionProfiles/client/index.d.ts +1 -0
  105. package/dist/cjs/management/api/resources/connectionProfiles/client/index.js +2 -0
  106. package/dist/cjs/management/api/resources/connectionProfiles/index.d.ts +1 -0
  107. package/dist/cjs/management/api/resources/connectionProfiles/index.js +17 -0
  108. package/dist/cjs/management/api/resources/connections/client/Client.d.ts +38 -32
  109. package/dist/cjs/management/api/resources/connections/client/Client.js +56 -122
  110. package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.d.ts +10 -11
  111. package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.js +19 -46
  112. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +122 -0
  113. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +467 -0
  114. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/index.d.ts +1 -0
  115. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/index.js +2 -0
  116. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/index.d.ts +2 -0
  117. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/index.js +18 -0
  118. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/index.d.ts +1 -0
  119. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/index.js +37 -0
  120. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.d.ts +31 -0
  121. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.js +125 -0
  122. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/index.d.ts +1 -0
  123. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/index.js +2 -0
  124. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/index.d.ts +1 -0
  125. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/index.js +17 -0
  126. package/dist/cjs/management/api/resources/connections/resources/index.d.ts +1 -0
  127. package/dist/cjs/management/api/resources/connections/resources/index.js +2 -1
  128. package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.d.ts +10 -11
  129. package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.js +19 -46
  130. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.d.ts +19 -20
  131. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +35 -98
  132. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.ts +12 -13
  133. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.js +24 -63
  134. package/dist/cjs/management/api/resources/connections/resources/users/client/Client.d.ts +8 -9
  135. package/dist/cjs/management/api/resources/connections/resources/users/client/Client.js +14 -29
  136. package/dist/cjs/management/api/resources/customDomains/client/Client.d.ts +27 -22
  137. package/dist/cjs/management/api/resources/customDomains/client/Client.js +76 -143
  138. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.d.ts +13 -13
  139. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +29 -67
  140. package/dist/cjs/management/api/resources/emailTemplates/client/Client.d.ts +14 -15
  141. package/dist/cjs/management/api/resources/emailTemplates/client/Client.js +29 -80
  142. package/dist/cjs/management/api/resources/emails/client/Client.d.ts +9 -9
  143. package/dist/cjs/management/api/resources/emails/client/Client.js +7 -6
  144. package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.d.ts +14 -15
  145. package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.js +29 -80
  146. package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +24 -26
  147. package/dist/cjs/management/api/resources/eventStreams/client/Client.js +95 -161
  148. package/dist/cjs/management/api/resources/eventStreams/index.d.ts +1 -1
  149. package/dist/cjs/management/api/resources/eventStreams/index.js +1 -1
  150. package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.d.ts +11 -12
  151. package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.js +24 -51
  152. package/dist/cjs/management/api/resources/eventStreams/resources/redeliveries/client/Client.d.ts +11 -12
  153. package/dist/cjs/management/api/resources/eventStreams/resources/redeliveries/client/Client.js +24 -51
  154. package/dist/cjs/management/api/resources/flows/client/Client.d.ts +22 -23
  155. package/dist/cjs/management/api/resources/flows/client/Client.js +39 -102
  156. package/dist/cjs/management/api/resources/flows/index.d.ts +1 -0
  157. package/dist/cjs/management/api/resources/flows/index.js +1 -0
  158. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +17 -18
  159. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +41 -80
  160. package/dist/cjs/management/api/resources/flows/resources/executions/index.d.ts +1 -0
  161. package/dist/cjs/management/api/resources/flows/resources/executions/index.js +1 -0
  162. package/dist/cjs/management/api/resources/flows/resources/executions/types/index.d.ts +1 -0
  163. package/dist/cjs/management/api/resources/flows/resources/executions/types/index.js +17 -0
  164. package/dist/cjs/management/api/resources/flows/resources/executions/types/types.d.ts +4 -0
  165. package/dist/cjs/management/api/resources/flows/resources/executions/types/types.js +7 -0
  166. package/dist/cjs/management/api/resources/flows/resources/index.d.ts +1 -0
  167. package/dist/cjs/management/api/resources/flows/resources/index.js +4 -0
  168. package/dist/cjs/management/api/resources/flows/resources/vault/client/Client.d.ts +9 -9
  169. package/dist/cjs/management/api/resources/flows/resources/vault/client/Client.js +7 -6
  170. package/dist/cjs/management/api/resources/flows/resources/vault/resources/connections/client/Client.d.ts +16 -17
  171. package/dist/cjs/management/api/resources/flows/resources/vault/resources/connections/client/Client.js +37 -100
  172. package/dist/cjs/management/api/resources/flows/types/index.d.ts +1 -0
  173. package/dist/cjs/management/api/resources/flows/types/index.js +17 -0
  174. package/dist/cjs/management/api/resources/flows/types/types.d.ts +4 -0
  175. package/dist/cjs/management/api/resources/flows/types/types.js +7 -0
  176. package/dist/cjs/management/api/resources/forms/client/Client.d.ts +16 -17
  177. package/dist/cjs/management/api/resources/forms/client/Client.js +37 -100
  178. package/dist/cjs/management/api/resources/groups/client/Client.d.ts +56 -0
  179. package/dist/cjs/management/api/resources/groups/client/Client.js +224 -0
  180. package/dist/cjs/management/api/resources/groups/client/index.d.ts +1 -0
  181. package/dist/cjs/management/api/resources/groups/client/index.js +2 -0
  182. package/dist/cjs/management/api/resources/groups/index.d.ts +2 -0
  183. package/dist/cjs/management/api/resources/groups/index.js +18 -0
  184. package/dist/cjs/management/api/resources/groups/resources/index.d.ts +1 -0
  185. package/dist/cjs/management/api/resources/groups/resources/index.js +37 -0
  186. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.d.ts +34 -0
  187. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +148 -0
  188. package/dist/cjs/management/api/resources/groups/resources/members/client/index.d.ts +1 -0
  189. package/dist/cjs/management/api/resources/groups/resources/members/client/index.js +2 -0
  190. package/dist/cjs/management/api/resources/groups/resources/members/index.d.ts +1 -0
  191. package/dist/cjs/management/api/resources/groups/resources/members/index.js +17 -0
  192. package/dist/cjs/management/api/resources/guardian/client/Client.d.ts +15 -15
  193. package/dist/cjs/management/api/resources/guardian/client/Client.js +9 -8
  194. package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.d.ts +12 -13
  195. package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.js +24 -63
  196. package/dist/cjs/management/api/resources/guardian/resources/factors/client/Client.d.ts +22 -23
  197. package/dist/cjs/management/api/resources/guardian/resources/factors/client/Client.js +27 -54
  198. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/client/Client.d.ts +9 -9
  199. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/client/Client.js +7 -6
  200. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.d.ts +12 -13
  201. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.js +24 -63
  202. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/index.d.ts +1 -1
  203. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/index.js +2 -2
  204. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/client/Client.d.ts +22 -23
  205. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/client/Client.js +49 -148
  206. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.ts +75 -31
  207. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.js +249 -180
  208. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/client/Client.d.ts +18 -19
  209. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/client/Client.js +39 -114
  210. package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.d.ts +10 -11
  211. package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.js +19 -46
  212. package/dist/cjs/management/api/resources/hooks/client/Client.d.ts +19 -20
  213. package/dist/cjs/management/api/resources/hooks/client/Client.js +38 -101
  214. package/dist/cjs/management/api/resources/hooks/resources/secrets/client/Client.d.ts +14 -15
  215. package/dist/cjs/management/api/resources/hooks/resources/secrets/client/Client.js +29 -80
  216. package/dist/cjs/management/api/resources/index.d.ts +15 -12
  217. package/dist/cjs/management/api/resources/index.js +16 -13
  218. package/dist/cjs/management/api/resources/jobs/client/Client.d.ts +20 -21
  219. package/dist/cjs/management/api/resources/jobs/client/Client.js +22 -37
  220. package/dist/cjs/management/api/resources/jobs/index.d.ts +1 -1
  221. package/dist/cjs/management/api/resources/jobs/index.js +1 -1
  222. package/dist/cjs/management/api/resources/jobs/resources/errors/client/Client.d.ts +8 -9
  223. package/dist/cjs/management/api/resources/jobs/resources/errors/client/Client.js +14 -29
  224. package/dist/cjs/management/api/resources/jobs/resources/errors/index.d.ts +1 -1
  225. package/dist/cjs/management/api/resources/jobs/resources/errors/index.js +1 -1
  226. package/dist/cjs/management/api/resources/jobs/resources/usersExports/client/Client.d.ts +8 -9
  227. package/dist/cjs/management/api/resources/jobs/resources/usersExports/client/Client.js +14 -29
  228. package/dist/cjs/management/api/resources/jobs/resources/usersImports/client/Client.d.ts +8 -9
  229. package/dist/cjs/management/api/resources/jobs/resources/usersImports/client/Client.js +14 -29
  230. package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.d.ts +8 -9
  231. package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.js +14 -29
  232. package/dist/cjs/management/api/resources/keys/client/Client.d.ts +15 -15
  233. package/dist/cjs/management/api/resources/keys/client/Client.js +9 -8
  234. package/dist/cjs/management/api/resources/keys/resources/customSigning/client/Client.d.ts +12 -13
  235. package/dist/cjs/management/api/resources/keys/resources/customSigning/client/Client.js +24 -63
  236. package/dist/cjs/management/api/resources/keys/resources/encryption/client/Client.d.ts +20 -21
  237. package/dist/cjs/management/api/resources/keys/resources/encryption/client/Client.js +47 -134
  238. package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.d.ts +14 -15
  239. package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.js +29 -80
  240. package/dist/cjs/management/api/resources/logStreams/client/Client.d.ts +16 -17
  241. package/dist/cjs/management/api/resources/logStreams/client/Client.js +34 -97
  242. package/dist/cjs/management/api/resources/logs/client/Client.d.ts +10 -11
  243. package/dist/cjs/management/api/resources/logs/client/Client.js +22 -49
  244. package/dist/cjs/management/api/resources/networkAcls/client/Client.d.ts +18 -19
  245. package/dist/cjs/management/api/resources/networkAcls/client/Client.js +42 -117
  246. package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +33 -34
  247. package/dist/cjs/management/api/resources/organizations/client/Client.js +44 -119
  248. package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.d.ts +13 -14
  249. package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.js +32 -71
  250. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +40 -22
  251. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +116 -114
  252. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +16 -17
  253. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +37 -100
  254. package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.d.ts +16 -17
  255. package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +43 -94
  256. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +15 -16
  257. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +25 -64
  258. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +15 -16
  259. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +41 -80
  260. package/dist/cjs/management/api/resources/prompts/client/Client.d.ts +19 -20
  261. package/dist/cjs/management/api/resources/prompts/client/Client.js +25 -52
  262. package/dist/cjs/management/api/resources/prompts/resources/customText/client/Client.d.ts +10 -11
  263. package/dist/cjs/management/api/resources/prompts/resources/customText/client/Client.js +19 -46
  264. package/dist/cjs/management/api/resources/prompts/resources/index.d.ts +1 -1
  265. package/dist/cjs/management/api/resources/prompts/resources/index.js +2 -2
  266. package/dist/cjs/management/api/resources/prompts/resources/partials/client/Client.d.ts +10 -11
  267. package/dist/cjs/management/api/resources/prompts/resources/partials/client/Client.js +19 -46
  268. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.d.ts +16 -76
  269. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +37 -147
  270. package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +28 -11
  271. package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +84 -44
  272. package/dist/cjs/management/api/resources/resourceServers/client/Client.d.ts +16 -17
  273. package/dist/cjs/management/api/resources/resourceServers/client/Client.js +37 -100
  274. package/dist/cjs/management/api/resources/riskAssessments/client/Client.d.ts +9 -9
  275. package/dist/cjs/management/api/resources/riskAssessments/client/Client.js +7 -6
  276. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/client/Client.d.ts +13 -14
  277. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/client/Client.js +20 -47
  278. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.d.ts +10 -11
  279. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.js +19 -46
  280. package/dist/cjs/management/api/resources/roles/client/Client.d.ts +23 -23
  281. package/dist/cjs/management/api/resources/roles/client/Client.js +42 -102
  282. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.d.ts +12 -13
  283. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +27 -66
  284. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.d.ts +10 -11
  285. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +19 -46
  286. package/dist/cjs/management/api/resources/rules/client/Client.d.ts +16 -17
  287. package/dist/cjs/management/api/resources/rules/client/Client.js +37 -100
  288. package/dist/cjs/management/api/resources/rulesConfigs/client/Client.d.ts +12 -13
  289. package/dist/cjs/management/api/resources/rulesConfigs/client/Client.js +24 -63
  290. package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.d.ts +22 -23
  291. package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.js +39 -102
  292. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.ts +10 -11
  293. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.js +19 -46
  294. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts +10 -11
  295. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js +19 -46
  296. package/dist/cjs/management/api/resources/sessions/client/Client.d.ts +14 -15
  297. package/dist/cjs/management/api/resources/sessions/client/Client.js +29 -80
  298. package/dist/cjs/management/api/resources/stats/client/Client.d.ts +10 -11
  299. package/dist/cjs/management/api/resources/stats/client/Client.js +19 -46
  300. package/dist/cjs/management/api/resources/supplementalSignals/client/Client.d.ts +10 -11
  301. package/dist/cjs/management/api/resources/supplementalSignals/client/Client.js +19 -46
  302. package/dist/cjs/management/api/resources/tenants/client/Client.d.ts +9 -9
  303. package/dist/cjs/management/api/resources/tenants/client/Client.js +7 -6
  304. package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.d.ts +10 -11
  305. package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.js +19 -46
  306. package/dist/cjs/management/api/resources/tickets/client/Client.d.ts +10 -11
  307. package/dist/cjs/management/api/resources/tickets/client/Client.js +19 -46
  308. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.d.ts +30 -18
  309. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +49 -99
  310. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +20 -21
  311. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +44 -131
  312. package/dist/cjs/management/api/resources/userBlocks/client/Client.d.ts +14 -15
  313. package/dist/cjs/management/api/resources/userBlocks/client/Client.js +29 -80
  314. package/dist/cjs/management/api/resources/userGrants/client/Client.d.ts +12 -13
  315. package/dist/cjs/management/api/resources/userGrants/client/Client.js +27 -66
  316. package/dist/cjs/management/api/resources/users/client/Client.d.ts +67 -65
  317. package/dist/cjs/management/api/resources/users/client/Client.js +80 -174
  318. package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.d.ts +23 -24
  319. package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.js +63 -150
  320. package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.d.ts +8 -9
  321. package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.js +14 -29
  322. package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.d.ts +8 -9
  323. package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +14 -29
  324. package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.d.ts +8 -9
  325. package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.js +14 -29
  326. package/dist/cjs/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.d.ts +11 -12
  327. package/dist/cjs/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.js +24 -51
  328. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +34 -0
  329. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +148 -0
  330. package/dist/cjs/management/api/resources/users/resources/groups/client/index.d.ts +1 -0
  331. package/dist/cjs/management/api/resources/users/resources/groups/client/index.js +2 -0
  332. package/dist/cjs/management/api/resources/users/resources/groups/index.d.ts +1 -0
  333. package/dist/cjs/management/api/resources/users/resources/groups/index.js +17 -0
  334. package/dist/cjs/management/api/resources/users/resources/identities/client/Client.d.ts +11 -12
  335. package/dist/cjs/management/api/resources/users/resources/identities/client/Client.js +24 -51
  336. package/dist/cjs/management/api/resources/users/resources/index.d.ts +2 -1
  337. package/dist/cjs/management/api/resources/users/resources/index.js +3 -2
  338. package/dist/cjs/management/api/resources/users/resources/logs/client/Client.d.ts +8 -9
  339. package/dist/cjs/management/api/resources/users/resources/logs/client/Client.js +17 -32
  340. package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.d.ts +10 -11
  341. package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.js +19 -46
  342. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.d.ts +8 -9
  343. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +17 -32
  344. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.d.ts +12 -13
  345. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +27 -66
  346. package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.d.ts +12 -13
  347. package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.js +28 -55
  348. package/dist/cjs/management/api/resources/users/resources/riskAssessments/client/Client.d.ts +8 -9
  349. package/dist/cjs/management/api/resources/users/resources/riskAssessments/client/Client.js +14 -29
  350. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +12 -13
  351. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +27 -66
  352. package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.d.ts +12 -13
  353. package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.js +28 -55
  354. package/dist/cjs/management/api/resources/verifiableCredentials/client/Client.d.ts +9 -9
  355. package/dist/cjs/management/api/resources/verifiableCredentials/client/Client.js +7 -6
  356. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/client/Client.d.ts +9 -9
  357. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/client/Client.js +7 -6
  358. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.ts +16 -17
  359. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.js +34 -97
  360. package/dist/cjs/management/api/types/types.d.ts +13071 -8452
  361. package/dist/cjs/management/api/types/types.js +1822 -11
  362. package/dist/cjs/management/auth/BearerAuthProvider.d.ts +16 -0
  363. package/dist/cjs/management/auth/BearerAuthProvider.js +70 -0
  364. package/dist/cjs/management/auth/index.d.ts +1 -0
  365. package/dist/cjs/management/auth/index.js +5 -0
  366. package/dist/cjs/management/core/auth/AuthProvider.d.ts +4 -1
  367. package/dist/cjs/management/core/auth/BearerToken.d.ts +3 -1
  368. package/dist/cjs/management/core/auth/BearerToken.js +7 -6
  369. package/dist/cjs/management/core/auth/NoOpAuthProvider.d.ts +5 -0
  370. package/dist/cjs/management/core/auth/NoOpAuthProvider.js +9 -0
  371. package/dist/cjs/management/core/auth/index.d.ts +1 -0
  372. package/dist/cjs/management/core/auth/index.js +3 -1
  373. package/dist/cjs/management/core/exports.d.ts +2 -1
  374. package/dist/cjs/management/core/exports.js +2 -1
  375. package/dist/cjs/management/core/fetcher/BinaryResponse.d.ts +6 -7
  376. package/dist/cjs/management/core/fetcher/EndpointSupplier.d.ts +1 -1
  377. package/dist/cjs/management/core/fetcher/Fetcher.d.ts +7 -1
  378. package/dist/cjs/management/core/fetcher/Fetcher.js +202 -8
  379. package/dist/cjs/management/core/fetcher/getErrorResponseBody.js +2 -1
  380. package/dist/cjs/management/core/fetcher/getResponseBody.js +21 -7
  381. package/dist/cjs/management/core/fetcher/makeRequest.d.ts +1 -1
  382. package/dist/cjs/management/core/fetcher/makeRequest.js +2 -4
  383. package/dist/cjs/management/core/fetcher/requestWithRetries.js +3 -12
  384. package/dist/cjs/management/core/fetcher/signals.d.ts +1 -7
  385. package/dist/cjs/management/core/fetcher/signals.js +0 -12
  386. package/dist/cjs/management/core/file/file.js +1 -1
  387. package/dist/cjs/management/core/form-data-utils/FormDataWrapper.js +4 -4
  388. package/dist/cjs/management/core/index.d.ts +6 -5
  389. package/dist/cjs/management/core/index.js +7 -6
  390. package/dist/cjs/management/core/logging/exports.d.ts +18 -0
  391. package/dist/cjs/management/core/logging/exports.js +45 -0
  392. package/dist/cjs/management/core/logging/index.d.ts +1 -0
  393. package/dist/cjs/management/core/logging/index.js +17 -0
  394. package/dist/cjs/management/core/logging/logger.d.ts +126 -0
  395. package/dist/cjs/management/core/logging/logger.js +144 -0
  396. package/dist/cjs/management/core/pagination/CustomPager.d.ts +82 -0
  397. package/dist/cjs/management/core/pagination/CustomPager.js +176 -0
  398. package/dist/cjs/management/core/pagination/Page.d.ts +1 -1
  399. package/dist/cjs/management/core/pagination/exports.d.ts +1 -0
  400. package/dist/cjs/management/core/pagination/exports.js +3 -0
  401. package/dist/cjs/management/core/pagination/index.d.ts +1 -0
  402. package/dist/cjs/management/core/pagination/index.js +3 -1
  403. package/dist/cjs/management/core/runtime/runtime.js +11 -10
  404. package/dist/cjs/management/core/url/join.js +3 -4
  405. package/dist/cjs/management/errors/ManagementError.js +5 -1
  406. package/dist/cjs/management/errors/ManagementTimeoutError.js +5 -1
  407. package/dist/cjs/management/errors/handleNonStatusCodeError.d.ts +2 -0
  408. package/dist/cjs/management/errors/handleNonStatusCodeError.js +65 -0
  409. package/dist/cjs/management/version.d.ts +1 -1
  410. package/dist/cjs/management/version.js +1 -1
  411. package/dist/esm/management/BaseClient.d.mts +15 -4
  412. package/dist/esm/management/BaseClient.mjs +15 -1
  413. package/dist/esm/management/Client.d.mts +133 -127
  414. package/dist/esm/management/Client.mjs +95 -84
  415. package/dist/esm/management/api/errors/BadRequestError.d.mts +1 -1
  416. package/dist/esm/management/api/errors/BadRequestError.mjs +5 -1
  417. package/dist/esm/management/api/errors/ConflictError.d.mts +1 -1
  418. package/dist/esm/management/api/errors/ConflictError.mjs +5 -1
  419. package/dist/esm/management/api/errors/ContentTooLargeError.d.mts +1 -1
  420. package/dist/esm/management/api/errors/ContentTooLargeError.mjs +5 -1
  421. package/dist/esm/management/api/errors/ForbiddenError.d.mts +1 -1
  422. package/dist/esm/management/api/errors/ForbiddenError.mjs +5 -1
  423. package/dist/esm/management/api/errors/InternalServerError.d.mts +1 -1
  424. package/dist/esm/management/api/errors/InternalServerError.mjs +5 -1
  425. package/dist/esm/management/api/errors/NotFoundError.d.mts +1 -1
  426. package/dist/esm/management/api/errors/NotFoundError.mjs +5 -1
  427. package/dist/esm/management/api/errors/PaymentRequiredError.d.mts +1 -1
  428. package/dist/esm/management/api/errors/PaymentRequiredError.mjs +5 -1
  429. package/dist/esm/management/api/errors/PreconditionFailedError.d.mts +5 -0
  430. package/dist/esm/management/api/errors/PreconditionFailedError.mjs +17 -0
  431. package/dist/esm/management/api/errors/ServiceUnavailableError.d.mts +1 -1
  432. package/dist/esm/management/api/errors/ServiceUnavailableError.mjs +5 -1
  433. package/dist/esm/management/api/errors/TooManyRequestsError.d.mts +1 -1
  434. package/dist/esm/management/api/errors/TooManyRequestsError.mjs +5 -1
  435. package/dist/esm/management/api/errors/UnauthorizedError.d.mts +1 -1
  436. package/dist/esm/management/api/errors/UnauthorizedError.mjs +5 -1
  437. package/dist/esm/management/api/errors/index.d.mts +6 -5
  438. package/dist/esm/management/api/errors/index.mjs +6 -5
  439. package/dist/esm/management/api/index.d.mts +2 -2
  440. package/dist/esm/management/api/index.mjs +2 -2
  441. package/dist/esm/management/api/requests/requests.d.mts +307 -22
  442. package/dist/esm/management/api/resources/actions/client/Client.d.mts +32 -30
  443. package/dist/esm/management/api/resources/actions/client/Client.mjs +57 -139
  444. package/dist/esm/management/api/resources/actions/resources/executions/client/Client.d.mts +8 -9
  445. package/dist/esm/management/api/resources/actions/resources/executions/client/Client.mjs +13 -28
  446. package/dist/esm/management/api/resources/actions/resources/index.d.mts +2 -1
  447. package/dist/esm/management/api/resources/actions/resources/index.mjs +2 -1
  448. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.d.mts +149 -0
  449. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +532 -0
  450. package/dist/esm/management/api/resources/actions/resources/modules/client/index.d.mts +1 -0
  451. package/dist/esm/management/api/resources/actions/resources/modules/client/index.mjs +1 -0
  452. package/dist/esm/management/api/resources/actions/resources/modules/index.d.mts +2 -0
  453. package/dist/esm/management/api/resources/actions/resources/modules/index.mjs +2 -0
  454. package/dist/esm/management/api/resources/actions/resources/modules/resources/index.d.mts +1 -0
  455. package/dist/esm/management/api/resources/actions/resources/modules/resources/index.mjs +1 -0
  456. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.mts +66 -0
  457. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +215 -0
  458. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/index.d.mts +1 -0
  459. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/index.mjs +1 -0
  460. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/index.d.mts +1 -0
  461. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/index.mjs +1 -0
  462. package/dist/esm/management/api/resources/actions/resources/triggers/client/Client.d.mts +11 -12
  463. package/dist/esm/management/api/resources/actions/resources/triggers/client/Client.mjs +15 -30
  464. package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.d.mts +10 -11
  465. package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.mjs +21 -48
  466. package/dist/esm/management/api/resources/actions/resources/versions/client/Client.d.mts +12 -13
  467. package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +26 -65
  468. package/dist/esm/management/api/resources/anomaly/client/Client.d.mts +9 -9
  469. package/dist/esm/management/api/resources/anomaly/client/Client.mjs +6 -5
  470. package/dist/esm/management/api/resources/anomaly/resources/blocks/client/Client.d.mts +10 -11
  471. package/dist/esm/management/api/resources/anomaly/resources/blocks/client/Client.mjs +18 -45
  472. package/dist/esm/management/api/resources/attackProtection/client/Client.d.mts +21 -21
  473. package/dist/esm/management/api/resources/attackProtection/client/Client.mjs +14 -13
  474. package/dist/esm/management/api/resources/attackProtection/resources/botDetection/client/Client.d.mts +10 -11
  475. package/dist/esm/management/api/resources/attackProtection/resources/botDetection/client/Client.mjs +18 -45
  476. package/dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.d.mts +10 -11
  477. package/dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.mjs +18 -45
  478. package/dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.d.mts +10 -11
  479. package/dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.mjs +18 -45
  480. package/dist/esm/management/api/resources/attackProtection/resources/captcha/client/Client.d.mts +10 -11
  481. package/dist/esm/management/api/resources/attackProtection/resources/captcha/client/Client.mjs +18 -45
  482. package/dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.d.mts +10 -11
  483. package/dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.mjs +18 -45
  484. package/dist/esm/management/api/resources/branding/client/Client.d.mts +19 -20
  485. package/dist/esm/management/api/resources/branding/client/Client.mjs +24 -51
  486. package/dist/esm/management/api/resources/branding/resources/index.d.mts +1 -1
  487. package/dist/esm/management/api/resources/branding/resources/index.mjs +1 -1
  488. package/dist/esm/management/api/resources/branding/resources/phone/client/Client.d.mts +12 -12
  489. package/dist/esm/management/api/resources/branding/resources/phone/client/Client.mjs +8 -7
  490. package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.mts +18 -19
  491. package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +38 -113
  492. package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.d.mts +20 -21
  493. package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.mjs +43 -130
  494. package/dist/esm/management/api/resources/branding/resources/templates/client/Client.d.mts +12 -13
  495. package/dist/esm/management/api/resources/branding/resources/templates/client/Client.mjs +23 -62
  496. package/dist/esm/management/api/resources/branding/resources/themes/client/Client.d.mts +16 -17
  497. package/dist/esm/management/api/resources/branding/resources/themes/client/Client.mjs +33 -96
  498. package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +34 -18
  499. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +90 -80
  500. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.d.mts +8 -9
  501. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +13 -28
  502. package/dist/esm/management/api/resources/clients/client/Client.d.mts +24 -25
  503. package/dist/esm/management/api/resources/clients/client/Client.mjs +45 -120
  504. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.d.mts +8 -9
  505. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +13 -28
  506. package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.d.mts +24 -25
  507. package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.mjs +62 -125
  508. package/dist/esm/management/api/resources/clients/resources/index.d.mts +1 -1
  509. package/dist/esm/management/api/resources/clients/resources/index.mjs +1 -1
  510. package/dist/esm/management/api/resources/connectionProfiles/client/Client.d.mts +128 -0
  511. package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +464 -0
  512. package/dist/esm/management/api/resources/connectionProfiles/client/index.d.mts +1 -0
  513. package/dist/esm/management/api/resources/connectionProfiles/client/index.mjs +1 -0
  514. package/dist/esm/management/api/resources/connectionProfiles/index.d.mts +1 -0
  515. package/dist/esm/management/api/resources/connectionProfiles/index.mjs +1 -0
  516. package/dist/esm/management/api/resources/connections/client/Client.d.mts +38 -32
  517. package/dist/esm/management/api/resources/connections/client/Client.mjs +56 -122
  518. package/dist/esm/management/api/resources/connections/resources/clients/client/Client.d.mts +10 -11
  519. package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +18 -45
  520. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +122 -0
  521. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +430 -0
  522. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/index.d.mts +1 -0
  523. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/index.mjs +1 -0
  524. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/index.d.mts +2 -0
  525. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/index.mjs +2 -0
  526. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/index.d.mts +1 -0
  527. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/index.mjs +1 -0
  528. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.d.mts +31 -0
  529. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.mjs +88 -0
  530. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/index.d.mts +1 -0
  531. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/index.mjs +1 -0
  532. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/index.d.mts +1 -0
  533. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/index.mjs +1 -0
  534. package/dist/esm/management/api/resources/connections/resources/index.d.mts +1 -0
  535. package/dist/esm/management/api/resources/connections/resources/index.mjs +1 -0
  536. package/dist/esm/management/api/resources/connections/resources/keys/client/Client.d.mts +10 -11
  537. package/dist/esm/management/api/resources/connections/resources/keys/client/Client.mjs +18 -45
  538. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.d.mts +19 -20
  539. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +35 -98
  540. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.mts +12 -13
  541. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.mjs +23 -62
  542. package/dist/esm/management/api/resources/connections/resources/users/client/Client.d.mts +8 -9
  543. package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +13 -28
  544. package/dist/esm/management/api/resources/customDomains/client/Client.d.mts +27 -22
  545. package/dist/esm/management/api/resources/customDomains/client/Client.mjs +75 -142
  546. package/dist/esm/management/api/resources/deviceCredentials/client/Client.d.mts +13 -13
  547. package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +28 -66
  548. package/dist/esm/management/api/resources/emailTemplates/client/Client.d.mts +14 -15
  549. package/dist/esm/management/api/resources/emailTemplates/client/Client.mjs +28 -79
  550. package/dist/esm/management/api/resources/emails/client/Client.d.mts +9 -9
  551. package/dist/esm/management/api/resources/emails/client/Client.mjs +6 -5
  552. package/dist/esm/management/api/resources/emails/resources/provider/client/Client.d.mts +14 -15
  553. package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +28 -79
  554. package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +24 -26
  555. package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +96 -162
  556. package/dist/esm/management/api/resources/eventStreams/index.d.mts +1 -1
  557. package/dist/esm/management/api/resources/eventStreams/index.mjs +1 -1
  558. package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.d.mts +11 -12
  559. package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.mjs +23 -50
  560. package/dist/esm/management/api/resources/eventStreams/resources/redeliveries/client/Client.d.mts +11 -12
  561. package/dist/esm/management/api/resources/eventStreams/resources/redeliveries/client/Client.mjs +23 -50
  562. package/dist/esm/management/api/resources/flows/client/Client.d.mts +22 -23
  563. package/dist/esm/management/api/resources/flows/client/Client.mjs +40 -103
  564. package/dist/esm/management/api/resources/flows/index.d.mts +1 -0
  565. package/dist/esm/management/api/resources/flows/index.mjs +1 -0
  566. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +17 -18
  567. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +40 -79
  568. package/dist/esm/management/api/resources/flows/resources/executions/index.d.mts +1 -0
  569. package/dist/esm/management/api/resources/flows/resources/executions/index.mjs +1 -0
  570. package/dist/esm/management/api/resources/flows/resources/executions/types/index.d.mts +1 -0
  571. package/dist/esm/management/api/resources/flows/resources/executions/types/index.mjs +1 -0
  572. package/dist/esm/management/api/resources/flows/resources/executions/types/types.d.mts +4 -0
  573. package/dist/esm/management/api/resources/flows/resources/executions/types/types.mjs +4 -0
  574. package/dist/esm/management/api/resources/flows/resources/index.d.mts +1 -0
  575. package/dist/esm/management/api/resources/flows/resources/index.mjs +1 -0
  576. package/dist/esm/management/api/resources/flows/resources/vault/client/Client.d.mts +9 -9
  577. package/dist/esm/management/api/resources/flows/resources/vault/client/Client.mjs +6 -5
  578. package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.d.mts +16 -17
  579. package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.mjs +36 -99
  580. package/dist/esm/management/api/resources/flows/types/index.d.mts +1 -0
  581. package/dist/esm/management/api/resources/flows/types/index.mjs +1 -0
  582. package/dist/esm/management/api/resources/flows/types/types.d.mts +4 -0
  583. package/dist/esm/management/api/resources/flows/types/types.mjs +4 -0
  584. package/dist/esm/management/api/resources/forms/client/Client.d.mts +16 -17
  585. package/dist/esm/management/api/resources/forms/client/Client.mjs +36 -99
  586. package/dist/esm/management/api/resources/groups/client/Client.d.mts +56 -0
  587. package/dist/esm/management/api/resources/groups/client/Client.mjs +187 -0
  588. package/dist/esm/management/api/resources/groups/client/index.d.mts +1 -0
  589. package/dist/esm/management/api/resources/groups/client/index.mjs +1 -0
  590. package/dist/esm/management/api/resources/groups/index.d.mts +2 -0
  591. package/dist/esm/management/api/resources/groups/index.mjs +2 -0
  592. package/dist/esm/management/api/resources/groups/resources/index.d.mts +1 -0
  593. package/dist/esm/management/api/resources/groups/resources/index.mjs +1 -0
  594. package/dist/esm/management/api/resources/groups/resources/members/client/Client.d.mts +34 -0
  595. package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +111 -0
  596. package/dist/esm/management/api/resources/groups/resources/members/client/index.d.mts +1 -0
  597. package/dist/esm/management/api/resources/groups/resources/members/client/index.mjs +1 -0
  598. package/dist/esm/management/api/resources/groups/resources/members/index.d.mts +1 -0
  599. package/dist/esm/management/api/resources/groups/resources/members/index.mjs +1 -0
  600. package/dist/esm/management/api/resources/guardian/client/Client.d.mts +15 -15
  601. package/dist/esm/management/api/resources/guardian/client/Client.mjs +10 -9
  602. package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.d.mts +12 -13
  603. package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.mjs +23 -62
  604. package/dist/esm/management/api/resources/guardian/resources/factors/client/Client.d.mts +22 -23
  605. package/dist/esm/management/api/resources/guardian/resources/factors/client/Client.mjs +26 -53
  606. package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/client/Client.d.mts +9 -9
  607. package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/client/Client.mjs +6 -5
  608. package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.d.mts +12 -13
  609. package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.mjs +23 -62
  610. package/dist/esm/management/api/resources/guardian/resources/factors/resources/index.d.mts +1 -1
  611. package/dist/esm/management/api/resources/guardian/resources/factors/resources/index.mjs +1 -1
  612. package/dist/esm/management/api/resources/guardian/resources/factors/resources/phone/client/Client.d.mts +22 -23
  613. package/dist/esm/management/api/resources/guardian/resources/factors/resources/phone/client/Client.mjs +48 -147
  614. package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.mts +75 -31
  615. package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.mjs +248 -179
  616. package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.d.mts +18 -19
  617. package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.mjs +38 -113
  618. package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.d.mts +10 -11
  619. package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.mjs +18 -45
  620. package/dist/esm/management/api/resources/hooks/client/Client.d.mts +19 -20
  621. package/dist/esm/management/api/resources/hooks/client/Client.mjs +38 -101
  622. package/dist/esm/management/api/resources/hooks/resources/secrets/client/Client.d.mts +14 -15
  623. package/dist/esm/management/api/resources/hooks/resources/secrets/client/Client.mjs +28 -79
  624. package/dist/esm/management/api/resources/index.d.mts +15 -12
  625. package/dist/esm/management/api/resources/index.mjs +15 -12
  626. package/dist/esm/management/api/resources/jobs/client/Client.d.mts +20 -21
  627. package/dist/esm/management/api/resources/jobs/client/Client.mjs +21 -36
  628. package/dist/esm/management/api/resources/jobs/index.d.mts +1 -1
  629. package/dist/esm/management/api/resources/jobs/index.mjs +1 -1
  630. package/dist/esm/management/api/resources/jobs/resources/errors/client/Client.d.mts +8 -9
  631. package/dist/esm/management/api/resources/jobs/resources/errors/client/Client.mjs +13 -28
  632. package/dist/esm/management/api/resources/jobs/resources/errors/index.d.mts +1 -1
  633. package/dist/esm/management/api/resources/jobs/resources/errors/index.mjs +1 -1
  634. package/dist/esm/management/api/resources/jobs/resources/usersExports/client/Client.d.mts +8 -9
  635. package/dist/esm/management/api/resources/jobs/resources/usersExports/client/Client.mjs +13 -28
  636. package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.d.mts +8 -9
  637. package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.mjs +12 -27
  638. package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.d.mts +8 -9
  639. package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs +13 -28
  640. package/dist/esm/management/api/resources/keys/client/Client.d.mts +15 -15
  641. package/dist/esm/management/api/resources/keys/client/Client.mjs +10 -9
  642. package/dist/esm/management/api/resources/keys/resources/customSigning/client/Client.d.mts +12 -13
  643. package/dist/esm/management/api/resources/keys/resources/customSigning/client/Client.mjs +23 -62
  644. package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.d.mts +20 -21
  645. package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.mjs +46 -133
  646. package/dist/esm/management/api/resources/keys/resources/signing/client/Client.d.mts +14 -15
  647. package/dist/esm/management/api/resources/keys/resources/signing/client/Client.mjs +28 -79
  648. package/dist/esm/management/api/resources/logStreams/client/Client.d.mts +16 -17
  649. package/dist/esm/management/api/resources/logStreams/client/Client.mjs +33 -96
  650. package/dist/esm/management/api/resources/logs/client/Client.d.mts +10 -11
  651. package/dist/esm/management/api/resources/logs/client/Client.mjs +21 -48
  652. package/dist/esm/management/api/resources/networkAcls/client/Client.d.mts +18 -19
  653. package/dist/esm/management/api/resources/networkAcls/client/Client.mjs +41 -116
  654. package/dist/esm/management/api/resources/organizations/client/Client.d.mts +33 -34
  655. package/dist/esm/management/api/resources/organizations/client/Client.mjs +48 -123
  656. package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.d.mts +13 -14
  657. package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.mjs +31 -70
  658. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +40 -22
  659. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +115 -113
  660. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +16 -17
  661. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +36 -99
  662. package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.d.mts +16 -17
  663. package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +42 -93
  664. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +15 -16
  665. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +25 -64
  666. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +15 -16
  667. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +40 -79
  668. package/dist/esm/management/api/resources/prompts/client/Client.d.mts +19 -20
  669. package/dist/esm/management/api/resources/prompts/client/Client.mjs +24 -51
  670. package/dist/esm/management/api/resources/prompts/resources/customText/client/Client.d.mts +10 -11
  671. package/dist/esm/management/api/resources/prompts/resources/customText/client/Client.mjs +18 -45
  672. package/dist/esm/management/api/resources/prompts/resources/index.d.mts +1 -1
  673. package/dist/esm/management/api/resources/prompts/resources/index.mjs +1 -1
  674. package/dist/esm/management/api/resources/prompts/resources/partials/client/Client.d.mts +10 -11
  675. package/dist/esm/management/api/resources/prompts/resources/partials/client/Client.mjs +18 -45
  676. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.d.mts +16 -76
  677. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +36 -146
  678. package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +28 -11
  679. package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +83 -43
  680. package/dist/esm/management/api/resources/resourceServers/client/Client.d.mts +16 -17
  681. package/dist/esm/management/api/resources/resourceServers/client/Client.mjs +36 -99
  682. package/dist/esm/management/api/resources/riskAssessments/client/Client.d.mts +9 -9
  683. package/dist/esm/management/api/resources/riskAssessments/client/Client.mjs +6 -5
  684. package/dist/esm/management/api/resources/riskAssessments/resources/settings/client/Client.d.mts +13 -14
  685. package/dist/esm/management/api/resources/riskAssessments/resources/settings/client/Client.mjs +20 -47
  686. package/dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.d.mts +10 -11
  687. package/dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.mjs +18 -45
  688. package/dist/esm/management/api/resources/roles/client/Client.d.mts +23 -23
  689. package/dist/esm/management/api/resources/roles/client/Client.mjs +43 -103
  690. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.d.mts +12 -13
  691. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +26 -65
  692. package/dist/esm/management/api/resources/roles/resources/users/client/Client.d.mts +10 -11
  693. package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +18 -45
  694. package/dist/esm/management/api/resources/rules/client/Client.d.mts +16 -17
  695. package/dist/esm/management/api/resources/rules/client/Client.mjs +36 -99
  696. package/dist/esm/management/api/resources/rulesConfigs/client/Client.d.mts +12 -13
  697. package/dist/esm/management/api/resources/rulesConfigs/client/Client.mjs +23 -62
  698. package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.d.mts +22 -23
  699. package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.mjs +40 -103
  700. package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.mts +10 -11
  701. package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.mjs +18 -45
  702. package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.mts +10 -11
  703. package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs +18 -45
  704. package/dist/esm/management/api/resources/sessions/client/Client.d.mts +14 -15
  705. package/dist/esm/management/api/resources/sessions/client/Client.mjs +28 -79
  706. package/dist/esm/management/api/resources/stats/client/Client.d.mts +10 -11
  707. package/dist/esm/management/api/resources/stats/client/Client.mjs +18 -45
  708. package/dist/esm/management/api/resources/supplementalSignals/client/Client.d.mts +10 -11
  709. package/dist/esm/management/api/resources/supplementalSignals/client/Client.mjs +18 -45
  710. package/dist/esm/management/api/resources/tenants/client/Client.d.mts +9 -9
  711. package/dist/esm/management/api/resources/tenants/client/Client.mjs +6 -5
  712. package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.d.mts +10 -11
  713. package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.mjs +18 -45
  714. package/dist/esm/management/api/resources/tickets/client/Client.d.mts +10 -11
  715. package/dist/esm/management/api/resources/tickets/client/Client.mjs +18 -45
  716. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.d.mts +30 -18
  717. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +48 -98
  718. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +20 -21
  719. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +43 -130
  720. package/dist/esm/management/api/resources/userBlocks/client/Client.d.mts +14 -15
  721. package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +28 -79
  722. package/dist/esm/management/api/resources/userGrants/client/Client.d.mts +12 -13
  723. package/dist/esm/management/api/resources/userGrants/client/Client.mjs +26 -65
  724. package/dist/esm/management/api/resources/users/client/Client.d.mts +67 -65
  725. package/dist/esm/management/api/resources/users/client/Client.mjs +84 -178
  726. package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.d.mts +23 -24
  727. package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.mjs +62 -149
  728. package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.d.mts +8 -9
  729. package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.mjs +13 -28
  730. package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.d.mts +8 -9
  731. package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +13 -28
  732. package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.d.mts +8 -9
  733. package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.mjs +13 -28
  734. package/dist/esm/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.d.mts +11 -12
  735. package/dist/esm/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.mjs +23 -50
  736. package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +34 -0
  737. package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +111 -0
  738. package/dist/esm/management/api/resources/users/resources/groups/client/index.d.mts +1 -0
  739. package/dist/esm/management/api/resources/users/resources/groups/client/index.mjs +1 -0
  740. package/dist/esm/management/api/resources/users/resources/groups/index.d.mts +1 -0
  741. package/dist/esm/management/api/resources/users/resources/groups/index.mjs +1 -0
  742. package/dist/esm/management/api/resources/users/resources/identities/client/Client.d.mts +11 -12
  743. package/dist/esm/management/api/resources/users/resources/identities/client/Client.mjs +23 -50
  744. package/dist/esm/management/api/resources/users/resources/index.d.mts +2 -1
  745. package/dist/esm/management/api/resources/users/resources/index.mjs +2 -1
  746. package/dist/esm/management/api/resources/users/resources/logs/client/Client.d.mts +8 -9
  747. package/dist/esm/management/api/resources/users/resources/logs/client/Client.mjs +16 -31
  748. package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.d.mts +10 -11
  749. package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.mjs +18 -45
  750. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.d.mts +8 -9
  751. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +16 -31
  752. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.d.mts +12 -13
  753. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +26 -65
  754. package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.d.mts +12 -13
  755. package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.mjs +27 -54
  756. package/dist/esm/management/api/resources/users/resources/riskAssessments/client/Client.d.mts +8 -9
  757. package/dist/esm/management/api/resources/users/resources/riskAssessments/client/Client.mjs +13 -28
  758. package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +12 -13
  759. package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +26 -65
  760. package/dist/esm/management/api/resources/users/resources/sessions/client/Client.d.mts +12 -13
  761. package/dist/esm/management/api/resources/users/resources/sessions/client/Client.mjs +27 -54
  762. package/dist/esm/management/api/resources/verifiableCredentials/client/Client.d.mts +9 -9
  763. package/dist/esm/management/api/resources/verifiableCredentials/client/Client.mjs +6 -5
  764. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/client/Client.d.mts +9 -9
  765. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/client/Client.mjs +6 -5
  766. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.mts +16 -17
  767. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.mjs +33 -96
  768. package/dist/esm/management/api/types/types.d.mts +13071 -8452
  769. package/dist/esm/management/api/types/types.mjs +1812 -7
  770. package/dist/esm/management/auth/BearerAuthProvider.d.mts +16 -0
  771. package/dist/esm/management/auth/BearerAuthProvider.mjs +33 -0
  772. package/dist/esm/management/auth/index.d.mts +1 -0
  773. package/dist/esm/management/auth/index.mjs +1 -0
  774. package/dist/esm/management/core/auth/AuthProvider.d.mts +4 -1
  775. package/dist/esm/management/core/auth/BearerToken.d.mts +3 -1
  776. package/dist/esm/management/core/auth/BearerToken.mjs +7 -6
  777. package/dist/esm/management/core/auth/NoOpAuthProvider.d.mts +5 -0
  778. package/dist/esm/management/core/auth/NoOpAuthProvider.mjs +5 -0
  779. package/dist/esm/management/core/auth/index.d.mts +1 -0
  780. package/dist/esm/management/core/auth/index.mjs +1 -0
  781. package/dist/esm/management/core/exports.d.mts +2 -1
  782. package/dist/esm/management/core/exports.mjs +2 -1
  783. package/dist/esm/management/core/fetcher/BinaryResponse.d.mts +6 -7
  784. package/dist/esm/management/core/fetcher/EndpointSupplier.d.mts +1 -1
  785. package/dist/esm/management/core/fetcher/Fetcher.d.mts +7 -1
  786. package/dist/esm/management/core/fetcher/Fetcher.mjs +202 -8
  787. package/dist/esm/management/core/fetcher/getErrorResponseBody.mjs +2 -1
  788. package/dist/esm/management/core/fetcher/getResponseBody.mjs +21 -7
  789. package/dist/esm/management/core/fetcher/makeRequest.d.mts +1 -1
  790. package/dist/esm/management/core/fetcher/makeRequest.mjs +2 -4
  791. package/dist/esm/management/core/fetcher/requestWithRetries.mjs +3 -12
  792. package/dist/esm/management/core/fetcher/signals.d.mts +1 -7
  793. package/dist/esm/management/core/fetcher/signals.mjs +0 -12
  794. package/dist/esm/management/core/file/file.mjs +1 -1
  795. package/dist/esm/management/core/form-data-utils/FormDataWrapper.mjs +1 -1
  796. package/dist/esm/management/core/index.d.mts +6 -5
  797. package/dist/esm/management/core/index.mjs +6 -5
  798. package/dist/esm/management/core/logging/exports.d.mts +18 -0
  799. package/dist/esm/management/core/logging/exports.mjs +9 -0
  800. package/dist/esm/management/core/logging/index.d.mts +1 -0
  801. package/dist/esm/management/core/logging/index.mjs +1 -0
  802. package/dist/esm/management/core/logging/logger.d.mts +126 -0
  803. package/dist/esm/management/core/logging/logger.mjs +138 -0
  804. package/dist/esm/management/core/pagination/CustomPager.d.mts +82 -0
  805. package/dist/esm/management/core/pagination/CustomPager.mjs +172 -0
  806. package/dist/esm/management/core/pagination/Page.d.mts +1 -1
  807. package/dist/esm/management/core/pagination/exports.d.mts +1 -0
  808. package/dist/esm/management/core/pagination/exports.mjs +1 -1
  809. package/dist/esm/management/core/pagination/index.d.mts +1 -0
  810. package/dist/esm/management/core/pagination/index.mjs +1 -0
  811. package/dist/esm/management/core/runtime/runtime.mjs +11 -10
  812. package/dist/esm/management/core/url/join.mjs +3 -4
  813. package/dist/esm/management/errors/ManagementError.mjs +5 -1
  814. package/dist/esm/management/errors/ManagementTimeoutError.mjs +5 -1
  815. package/dist/esm/management/errors/handleNonStatusCodeError.d.mts +2 -0
  816. package/dist/esm/management/errors/handleNonStatusCodeError.mjs +29 -0
  817. package/dist/esm/management/version.d.mts +1 -1
  818. package/dist/esm/management/version.mjs +1 -1
  819. package/package.json +8 -8
  820. package/reference.md +5152 -2775
  821. package/dist/cjs/management/core/fetcher/ResponseWithBody.d.ts +0 -4
  822. package/dist/cjs/management/core/fetcher/ResponseWithBody.js +0 -6
  823. package/dist/esm/management/core/fetcher/ResponseWithBody.d.mts +0 -4
  824. package/dist/esm/management/core/fetcher/ResponseWithBody.mjs +0 -3
@@ -43,40 +43,42 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
43
43
  });
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
- exports.Factors = void 0;
47
- const environments = __importStar(require("../../../../../../environments.js"));
46
+ exports.FactorsClient = void 0;
47
+ const BaseClient_js_1 = require("../../../../../../BaseClient.js");
48
48
  const core = __importStar(require("../../../../../../core/index.js"));
49
- const Management = __importStar(require("../../../../../index.js"));
50
49
  const headers_js_1 = require("../../../../../../core/headers.js");
50
+ const environments = __importStar(require("../../../../../../environments.js"));
51
+ const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
51
52
  const errors = __importStar(require("../../../../../../errors/index.js"));
52
- const Client_js_1 = require("../resources/phone/client/Client.js");
53
- const Client_js_2 = require("../resources/pushNotification/client/Client.js");
54
- const Client_js_3 = require("../resources/sms/client/Client.js");
55
- const Client_js_4 = require("../resources/duo/client/Client.js");
56
- class Factors {
57
- constructor(_options) {
58
- this._options = _options;
53
+ const Management = __importStar(require("../../../../../index.js"));
54
+ const Client_js_1 = require("../resources/duo/client/Client.js");
55
+ const Client_js_2 = require("../resources/phone/client/Client.js");
56
+ const Client_js_3 = require("../resources/pushNotification/client/Client.js");
57
+ const Client_js_4 = require("../resources/sms/client/Client.js");
58
+ class FactorsClient {
59
+ constructor(options) {
60
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
59
61
  }
60
62
  get phone() {
61
63
  var _a;
62
- return ((_a = this._phone) !== null && _a !== void 0 ? _a : (this._phone = new Client_js_1.Phone(this._options)));
64
+ return ((_a = this._phone) !== null && _a !== void 0 ? _a : (this._phone = new Client_js_2.PhoneClient(this._options)));
63
65
  }
64
66
  get pushNotification() {
65
67
  var _a;
66
- return ((_a = this._pushNotification) !== null && _a !== void 0 ? _a : (this._pushNotification = new Client_js_2.PushNotification(this._options)));
68
+ return ((_a = this._pushNotification) !== null && _a !== void 0 ? _a : (this._pushNotification = new Client_js_3.PushNotificationClient(this._options)));
67
69
  }
68
70
  get sms() {
69
71
  var _a;
70
- return ((_a = this._sms) !== null && _a !== void 0 ? _a : (this._sms = new Client_js_3.Sms(this._options)));
72
+ return ((_a = this._sms) !== null && _a !== void 0 ? _a : (this._sms = new Client_js_4.SmsClient(this._options)));
71
73
  }
72
74
  get duo() {
73
75
  var _a;
74
- return ((_a = this._duo) !== null && _a !== void 0 ? _a : (this._duo = new Client_js_4.Duo(this._options)));
76
+ return ((_a = this._duo) !== null && _a !== void 0 ? _a : (this._duo = new Client_js_1.DuoClient(this._options)));
75
77
  }
76
78
  /**
77
79
  * Retrieve details of all <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors">multi-factor authentication factors</a> associated with your tenant.
78
80
  *
79
- * @param {Factors.RequestOptions} requestOptions - Request-specific configuration.
81
+ * @param {FactorsClient.RequestOptions} requestOptions - Request-specific configuration.
80
82
  *
81
83
  * @throws {@link Management.BadRequestError}
82
84
  * @throws {@link Management.UnauthorizedError}
@@ -91,7 +93,8 @@ class Factors {
91
93
  __list(requestOptions) {
92
94
  return __awaiter(this, void 0, void 0, function* () {
93
95
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
94
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
96
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
97
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
95
98
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
96
99
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors"),
97
100
  method: "GET",
@@ -101,6 +104,7 @@ class Factors {
101
104
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
102
105
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
103
106
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
107
+ logging: this._options.logging,
104
108
  });
105
109
  if (_response.ok) {
106
110
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -121,21 +125,7 @@ class Factors {
121
125
  });
122
126
  }
123
127
  }
124
- switch (_response.error.reason) {
125
- case "non-json":
126
- throw new errors.ManagementError({
127
- statusCode: _response.error.statusCode,
128
- body: _response.error.rawBody,
129
- rawResponse: _response.rawResponse,
130
- });
131
- case "timeout":
132
- throw new errors.ManagementTimeoutError("Timeout exceeded when calling GET /guardian/factors.");
133
- case "unknown":
134
- throw new errors.ManagementError({
135
- message: _response.error.errorMessage,
136
- rawResponse: _response.rawResponse,
137
- });
138
- }
128
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/guardian/factors");
139
129
  });
140
130
  }
141
131
  /**
@@ -143,7 +133,7 @@ class Factors {
143
133
  *
144
134
  * @param {Management.GuardianFactorNameEnum} name - Factor name. Can be `sms`, `push-notification`, `email`, `duo` `otp` `webauthn-roaming`, `webauthn-platform`, or `recovery-code`.
145
135
  * @param {Management.SetGuardianFactorRequestContent} request
146
- * @param {Factors.RequestOptions} requestOptions - Request-specific configuration.
136
+ * @param {FactorsClient.RequestOptions} requestOptions - Request-specific configuration.
147
137
  *
148
138
  * @throws {@link Management.BadRequestError}
149
139
  * @throws {@link Management.UnauthorizedError}
@@ -160,7 +150,8 @@ class Factors {
160
150
  __set(name, request, requestOptions) {
161
151
  return __awaiter(this, void 0, void 0, function* () {
162
152
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
163
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
153
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
154
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
164
155
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
165
156
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `guardian/factors/${core.url.encodePathParam(name)}`),
166
157
  method: "PUT",
@@ -173,6 +164,7 @@ class Factors {
173
164
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
174
165
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
175
166
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
167
+ logging: this._options.logging,
176
168
  });
177
169
  if (_response.ok) {
178
170
  return {
@@ -196,27 +188,8 @@ class Factors {
196
188
  });
197
189
  }
198
190
  }
199
- switch (_response.error.reason) {
200
- case "non-json":
201
- throw new errors.ManagementError({
202
- statusCode: _response.error.statusCode,
203
- body: _response.error.rawBody,
204
- rawResponse: _response.rawResponse,
205
- });
206
- case "timeout":
207
- throw new errors.ManagementTimeoutError("Timeout exceeded when calling PUT /guardian/factors/{name}.");
208
- case "unknown":
209
- throw new errors.ManagementError({
210
- message: _response.error.errorMessage,
211
- rawResponse: _response.rawResponse,
212
- });
213
- }
214
- });
215
- }
216
- _getAuthorizationHeader() {
217
- return __awaiter(this, void 0, void 0, function* () {
218
- return `Bearer ${yield core.Supplier.get(this._options.token)}`;
191
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/guardian/factors/{name}");
219
192
  });
220
193
  }
221
194
  }
222
- exports.Factors = Factors;
195
+ exports.FactorsClient = FactorsClient;
@@ -1,12 +1,12 @@
1
1
  import type { BaseClientOptions } from "../../../../../../../../BaseClient.js";
2
- import { Settings } from "../resources/settings/client/Client.js";
3
- export declare namespace Duo {
4
- interface Options extends BaseClientOptions {
5
- }
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.js";
3
+ import { SettingsClient } from "../resources/settings/client/Client.js";
4
+ export declare namespace DuoClient {
5
+ type Options = BaseClientOptions;
6
6
  }
7
- export declare class Duo {
8
- protected readonly _options: Duo.Options;
9
- protected _settings: Settings | undefined;
10
- constructor(_options: Duo.Options);
11
- get settings(): Settings;
7
+ export declare class DuoClient {
8
+ protected readonly _options: NormalizedClientOptionsWithAuth<DuoClient.Options>;
9
+ protected _settings: SettingsClient | undefined;
10
+ constructor(options: DuoClient.Options);
11
+ get settings(): SettingsClient;
12
12
  }
@@ -1,15 +1,16 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Duo = void 0;
4
+ exports.DuoClient = void 0;
5
+ const BaseClient_js_1 = require("../../../../../../../../BaseClient.js");
5
6
  const Client_js_1 = require("../resources/settings/client/Client.js");
6
- class Duo {
7
- constructor(_options) {
8
- this._options = _options;
7
+ class DuoClient {
8
+ constructor(options) {
9
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
9
10
  }
10
11
  get settings() {
11
12
  var _a;
12
- return ((_a = this._settings) !== null && _a !== void 0 ? _a : (this._settings = new Client_js_1.Settings(this._options)));
13
+ return ((_a = this._settings) !== null && _a !== void 0 ? _a : (this._settings = new Client_js_1.SettingsClient(this._options)));
13
14
  }
14
15
  }
15
- exports.Duo = Duo;
16
+ exports.DuoClient = DuoClient;
@@ -1,19 +1,19 @@
1
1
  import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../../../BaseClient.js";
2
3
  import * as core from "../../../../../../../../../../core/index.js";
3
4
  import * as Management from "../../../../../../../../../index.js";
4
- export declare namespace Settings {
5
- interface Options extends BaseClientOptions {
6
- }
5
+ export declare namespace SettingsClient {
6
+ type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
8
8
  }
9
9
  }
10
- export declare class Settings {
11
- protected readonly _options: Settings.Options;
12
- constructor(_options: Settings.Options);
10
+ export declare class SettingsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<SettingsClient.Options>;
12
+ constructor(options: SettingsClient.Options);
13
13
  /**
14
14
  * Retrieves the DUO account and factor configuration.
15
15
  *
16
- * @param {Settings.RequestOptions} requestOptions - Request-specific configuration.
16
+ * @param {SettingsClient.RequestOptions} requestOptions - Request-specific configuration.
17
17
  *
18
18
  * @throws {@link Management.BadRequestError}
19
19
  * @throws {@link Management.UnauthorizedError}
@@ -22,13 +22,13 @@ export declare class Settings {
22
22
  * @example
23
23
  * await client.guardian.factors.duo.settings.get()
24
24
  */
25
- get(requestOptions?: Settings.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorDuoSettingsResponseContent>;
25
+ get(requestOptions?: SettingsClient.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorDuoSettingsResponseContent>;
26
26
  private __get;
27
27
  /**
28
28
  * Set the DUO account configuration and other properties specific to this factor.
29
29
  *
30
30
  * @param {Management.SetGuardianFactorDuoSettingsRequestContent} request
31
- * @param {Settings.RequestOptions} requestOptions - Request-specific configuration.
31
+ * @param {SettingsClient.RequestOptions} requestOptions - Request-specific configuration.
32
32
  *
33
33
  * @throws {@link Management.BadRequestError}
34
34
  * @throws {@link Management.UnauthorizedError}
@@ -37,11 +37,11 @@ export declare class Settings {
37
37
  * @example
38
38
  * await client.guardian.factors.duo.settings.set()
39
39
  */
40
- set(request?: Management.SetGuardianFactorDuoSettingsRequestContent, requestOptions?: Settings.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorDuoSettingsResponseContent>;
40
+ set(request?: Management.SetGuardianFactorDuoSettingsRequestContent, requestOptions?: SettingsClient.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorDuoSettingsResponseContent>;
41
41
  private __set;
42
42
  /**
43
43
  * @param {Management.UpdateGuardianFactorDuoSettingsRequestContent} request
44
- * @param {Settings.RequestOptions} requestOptions - Request-specific configuration.
44
+ * @param {SettingsClient.RequestOptions} requestOptions - Request-specific configuration.
45
45
  *
46
46
  * @throws {@link Management.BadRequestError}
47
47
  * @throws {@link Management.UnauthorizedError}
@@ -50,7 +50,6 @@ export declare class Settings {
50
50
  * @example
51
51
  * await client.guardian.factors.duo.settings.update()
52
52
  */
53
- update(request?: Management.UpdateGuardianFactorDuoSettingsRequestContent, requestOptions?: Settings.RequestOptions): core.HttpResponsePromise<Management.UpdateGuardianFactorDuoSettingsResponseContent>;
53
+ update(request?: Management.UpdateGuardianFactorDuoSettingsRequestContent, requestOptions?: SettingsClient.RequestOptions): core.HttpResponsePromise<Management.UpdateGuardianFactorDuoSettingsResponseContent>;
54
54
  private __update;
55
- protected _getAuthorizationHeader(): Promise<string>;
56
55
  }
@@ -43,20 +43,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
43
43
  });
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
- exports.Settings = void 0;
47
- const environments = __importStar(require("../../../../../../../../../../environments.js"));
46
+ exports.SettingsClient = void 0;
47
+ const BaseClient_js_1 = require("../../../../../../../../../../BaseClient.js");
48
48
  const core = __importStar(require("../../../../../../../../../../core/index.js"));
49
- const Management = __importStar(require("../../../../../../../../../index.js"));
50
49
  const headers_js_1 = require("../../../../../../../../../../core/headers.js");
50
+ const environments = __importStar(require("../../../../../../../../../../environments.js"));
51
+ const handleNonStatusCodeError_js_1 = require("../../../../../../../../../../errors/handleNonStatusCodeError.js");
51
52
  const errors = __importStar(require("../../../../../../../../../../errors/index.js"));
52
- class Settings {
53
- constructor(_options) {
54
- this._options = _options;
53
+ const Management = __importStar(require("../../../../../../../../../index.js"));
54
+ class SettingsClient {
55
+ constructor(options) {
56
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
55
57
  }
56
58
  /**
57
59
  * Retrieves the DUO account and factor configuration.
58
60
  *
59
- * @param {Settings.RequestOptions} requestOptions - Request-specific configuration.
61
+ * @param {SettingsClient.RequestOptions} requestOptions - Request-specific configuration.
60
62
  *
61
63
  * @throws {@link Management.BadRequestError}
62
64
  * @throws {@link Management.UnauthorizedError}
@@ -71,7 +73,8 @@ class Settings {
71
73
  __get(requestOptions) {
72
74
  return __awaiter(this, void 0, void 0, function* () {
73
75
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
74
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
76
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
77
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
75
78
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
76
79
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/duo/settings"),
77
80
  method: "GET",
@@ -81,6 +84,7 @@ class Settings {
81
84
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
82
85
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
83
86
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
87
+ logging: this._options.logging,
84
88
  });
85
89
  if (_response.ok) {
86
90
  return {
@@ -104,28 +108,14 @@ class Settings {
104
108
  });
105
109
  }
106
110
  }
107
- switch (_response.error.reason) {
108
- case "non-json":
109
- throw new errors.ManagementError({
110
- statusCode: _response.error.statusCode,
111
- body: _response.error.rawBody,
112
- rawResponse: _response.rawResponse,
113
- });
114
- case "timeout":
115
- throw new errors.ManagementTimeoutError("Timeout exceeded when calling GET /guardian/factors/duo/settings.");
116
- case "unknown":
117
- throw new errors.ManagementError({
118
- message: _response.error.errorMessage,
119
- rawResponse: _response.rawResponse,
120
- });
121
- }
111
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/guardian/factors/duo/settings");
122
112
  });
123
113
  }
124
114
  /**
125
115
  * Set the DUO account configuration and other properties specific to this factor.
126
116
  *
127
117
  * @param {Management.SetGuardianFactorDuoSettingsRequestContent} request
128
- * @param {Settings.RequestOptions} requestOptions - Request-specific configuration.
118
+ * @param {SettingsClient.RequestOptions} requestOptions - Request-specific configuration.
129
119
  *
130
120
  * @throws {@link Management.BadRequestError}
131
121
  * @throws {@link Management.UnauthorizedError}
@@ -140,7 +130,8 @@ class Settings {
140
130
  __set() {
141
131
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
142
132
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
143
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
133
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
134
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
144
135
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
145
136
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/duo/settings"),
146
137
  method: "PUT",
@@ -153,6 +144,7 @@ class Settings {
153
144
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
154
145
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
155
146
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
147
+ logging: this._options.logging,
156
148
  });
157
149
  if (_response.ok) {
158
150
  return {
@@ -176,26 +168,12 @@ class Settings {
176
168
  });
177
169
  }
178
170
  }
179
- switch (_response.error.reason) {
180
- case "non-json":
181
- throw new errors.ManagementError({
182
- statusCode: _response.error.statusCode,
183
- body: _response.error.rawBody,
184
- rawResponse: _response.rawResponse,
185
- });
186
- case "timeout":
187
- throw new errors.ManagementTimeoutError("Timeout exceeded when calling PUT /guardian/factors/duo/settings.");
188
- case "unknown":
189
- throw new errors.ManagementError({
190
- message: _response.error.errorMessage,
191
- rawResponse: _response.rawResponse,
192
- });
193
- }
171
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/guardian/factors/duo/settings");
194
172
  });
195
173
  }
196
174
  /**
197
175
  * @param {Management.UpdateGuardianFactorDuoSettingsRequestContent} request
198
- * @param {Settings.RequestOptions} requestOptions - Request-specific configuration.
176
+ * @param {SettingsClient.RequestOptions} requestOptions - Request-specific configuration.
199
177
  *
200
178
  * @throws {@link Management.BadRequestError}
201
179
  * @throws {@link Management.UnauthorizedError}
@@ -210,7 +188,8 @@ class Settings {
210
188
  __update() {
211
189
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
212
190
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
213
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
191
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
192
+ let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
214
193
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
215
194
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/duo/settings"),
216
195
  method: "PATCH",
@@ -223,6 +202,7 @@ class Settings {
223
202
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
224
203
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
225
204
  fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
205
+ logging: this._options.logging,
226
206
  });
227
207
  if (_response.ok) {
228
208
  return {
@@ -246,27 +226,8 @@ class Settings {
246
226
  });
247
227
  }
248
228
  }
249
- switch (_response.error.reason) {
250
- case "non-json":
251
- throw new errors.ManagementError({
252
- statusCode: _response.error.statusCode,
253
- body: _response.error.rawBody,
254
- rawResponse: _response.rawResponse,
255
- });
256
- case "timeout":
257
- throw new errors.ManagementTimeoutError("Timeout exceeded when calling PATCH /guardian/factors/duo/settings.");
258
- case "unknown":
259
- throw new errors.ManagementError({
260
- message: _response.error.errorMessage,
261
- rawResponse: _response.rawResponse,
262
- });
263
- }
264
- });
265
- }
266
- _getAuthorizationHeader() {
267
- return __awaiter(this, void 0, void 0, function* () {
268
- return `Bearer ${yield core.Supplier.get(this._options.token)}`;
229
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/guardian/factors/duo/settings");
269
230
  });
270
231
  }
271
232
  }
272
- exports.Settings = Settings;
233
+ exports.SettingsClient = SettingsClient;
@@ -1,4 +1,4 @@
1
+ export * as duo from "./duo/index.js";
1
2
  export * as phone from "./phone/index.js";
2
3
  export * as pushNotification from "./pushNotification/index.js";
3
4
  export * as sms from "./sms/index.js";
4
- export * as duo from "./duo/index.js";
@@ -33,8 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.duo = exports.sms = exports.pushNotification = exports.phone = void 0;
36
+ exports.sms = exports.pushNotification = exports.phone = exports.duo = void 0;
37
+ exports.duo = __importStar(require("./duo/index.js"));
37
38
  exports.phone = __importStar(require("./phone/index.js"));
38
39
  exports.pushNotification = __importStar(require("./pushNotification/index.js"));
39
40
  exports.sms = __importStar(require("./sms/index.js"));
40
- exports.duo = __importStar(require("./duo/index.js"));
@@ -1,19 +1,19 @@
1
1
  import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.js";
2
3
  import * as core from "../../../../../../../../core/index.js";
3
4
  import * as Management from "../../../../../../../index.js";
4
- export declare namespace Phone {
5
- interface Options extends BaseClientOptions {
6
- }
5
+ export declare namespace PhoneClient {
6
+ type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
8
8
  }
9
9
  }
10
- export declare class Phone {
11
- protected readonly _options: Phone.Options;
12
- constructor(_options: Phone.Options);
10
+ export declare class PhoneClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<PhoneClient.Options>;
12
+ constructor(options: PhoneClient.Options);
13
13
  /**
14
14
  * Retrieve list of <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa">phone-type MFA factors</a> (i.e., sms and voice) that are enabled for your tenant.
15
15
  *
16
- * @param {Phone.RequestOptions} requestOptions - Request-specific configuration.
16
+ * @param {PhoneClient.RequestOptions} requestOptions - Request-specific configuration.
17
17
  *
18
18
  * @throws {@link Management.BadRequestError}
19
19
  * @throws {@link Management.UnauthorizedError}
@@ -22,13 +22,13 @@ export declare class Phone {
22
22
  * @example
23
23
  * await client.guardian.factors.phone.getMessageTypes()
24
24
  */
25
- getMessageTypes(requestOptions?: Phone.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorPhoneMessageTypesResponseContent>;
25
+ getMessageTypes(requestOptions?: PhoneClient.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorPhoneMessageTypesResponseContent>;
26
26
  private __getMessageTypes;
27
27
  /**
28
28
  * Replace the list of <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa">phone-type MFA factors</a> (i.e., sms and voice) that are enabled for your tenant.
29
29
  *
30
30
  * @param {Management.SetGuardianFactorPhoneMessageTypesRequestContent} request
31
- * @param {Phone.RequestOptions} requestOptions - Request-specific configuration.
31
+ * @param {PhoneClient.RequestOptions} requestOptions - Request-specific configuration.
32
32
  *
33
33
  * @throws {@link Management.BadRequestError}
34
34
  * @throws {@link Management.UnauthorizedError}
@@ -40,12 +40,12 @@ export declare class Phone {
40
40
  * message_types: ["sms"]
41
41
  * })
42
42
  */
43
- setMessageTypes(request: Management.SetGuardianFactorPhoneMessageTypesRequestContent, requestOptions?: Phone.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorPhoneMessageTypesResponseContent>;
43
+ setMessageTypes(request: Management.SetGuardianFactorPhoneMessageTypesRequestContent, requestOptions?: PhoneClient.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorPhoneMessageTypesResponseContent>;
44
44
  private __setMessageTypes;
45
45
  /**
46
46
  * Retrieve configuration details for a Twilio phone provider that has been set up in your tenant. To learn more, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa">Configure SMS and Voice Notifications for MFA</a>.
47
47
  *
48
- * @param {Phone.RequestOptions} requestOptions - Request-specific configuration.
48
+ * @param {PhoneClient.RequestOptions} requestOptions - Request-specific configuration.
49
49
  *
50
50
  * @throws {@link Management.BadRequestError}
51
51
  * @throws {@link Management.UnauthorizedError}
@@ -54,13 +54,13 @@ export declare class Phone {
54
54
  * @example
55
55
  * await client.guardian.factors.phone.getTwilioProvider()
56
56
  */
57
- getTwilioProvider(requestOptions?: Phone.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorsProviderPhoneTwilioResponseContent>;
57
+ getTwilioProvider(requestOptions?: PhoneClient.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorsProviderPhoneTwilioResponseContent>;
58
58
  private __getTwilioProvider;
59
59
  /**
60
60
  * Update the configuration of a Twilio phone provider that has been set up in your tenant. To learn more, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa">Configure SMS and Voice Notifications for MFA</a>.
61
61
  *
62
62
  * @param {Management.SetGuardianFactorsProviderPhoneTwilioRequestContent} request
63
- * @param {Phone.RequestOptions} requestOptions - Request-specific configuration.
63
+ * @param {PhoneClient.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @throws {@link Management.BadRequestError}
66
66
  * @throws {@link Management.UnauthorizedError}
@@ -69,12 +69,12 @@ export declare class Phone {
69
69
  * @example
70
70
  * await client.guardian.factors.phone.setTwilioProvider()
71
71
  */
72
- setTwilioProvider(request?: Management.SetGuardianFactorsProviderPhoneTwilioRequestContent, requestOptions?: Phone.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorsProviderPhoneTwilioResponseContent>;
72
+ setTwilioProvider(request?: Management.SetGuardianFactorsProviderPhoneTwilioRequestContent, requestOptions?: PhoneClient.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorsProviderPhoneTwilioResponseContent>;
73
73
  private __setTwilioProvider;
74
74
  /**
75
75
  * Retrieve details of the multi-factor authentication phone provider configured for your tenant.
76
76
  *
77
- * @param {Phone.RequestOptions} requestOptions - Request-specific configuration.
77
+ * @param {PhoneClient.RequestOptions} requestOptions - Request-specific configuration.
78
78
  *
79
79
  * @throws {@link Management.BadRequestError}
80
80
  * @throws {@link Management.UnauthorizedError}
@@ -83,11 +83,11 @@ export declare class Phone {
83
83
  * @example
84
84
  * await client.guardian.factors.phone.getSelectedProvider()
85
85
  */
86
- getSelectedProvider(requestOptions?: Phone.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorsProviderPhoneResponseContent>;
86
+ getSelectedProvider(requestOptions?: PhoneClient.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorsProviderPhoneResponseContent>;
87
87
  private __getSelectedProvider;
88
88
  /**
89
89
  * @param {Management.SetGuardianFactorsProviderPhoneRequestContent} request
90
- * @param {Phone.RequestOptions} requestOptions - Request-specific configuration.
90
+ * @param {PhoneClient.RequestOptions} requestOptions - Request-specific configuration.
91
91
  *
92
92
  * @throws {@link Management.BadRequestError}
93
93
  * @throws {@link Management.UnauthorizedError}
@@ -98,12 +98,12 @@ export declare class Phone {
98
98
  * provider: "auth0"
99
99
  * })
100
100
  */
101
- setProvider(request: Management.SetGuardianFactorsProviderPhoneRequestContent, requestOptions?: Phone.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorsProviderPhoneResponseContent>;
101
+ setProvider(request: Management.SetGuardianFactorsProviderPhoneRequestContent, requestOptions?: PhoneClient.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorsProviderPhoneResponseContent>;
102
102
  private __setProvider;
103
103
  /**
104
104
  * Retrieve details of the multi-factor authentication enrollment and verification templates for phone-type factors available in your tenant.
105
105
  *
106
- * @param {Phone.RequestOptions} requestOptions - Request-specific configuration.
106
+ * @param {PhoneClient.RequestOptions} requestOptions - Request-specific configuration.
107
107
  *
108
108
  * @throws {@link Management.BadRequestError}
109
109
  * @throws {@link Management.UnauthorizedError}
@@ -112,13 +112,13 @@ export declare class Phone {
112
112
  * @example
113
113
  * await client.guardian.factors.phone.getTemplates()
114
114
  */
115
- getTemplates(requestOptions?: Phone.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorPhoneTemplatesResponseContent>;
115
+ getTemplates(requestOptions?: PhoneClient.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorPhoneTemplatesResponseContent>;
116
116
  private __getTemplates;
117
117
  /**
118
118
  * Customize the messages sent to complete phone enrollment and verification (subscription required).
119
119
  *
120
120
  * @param {Management.SetGuardianFactorPhoneTemplatesRequestContent} request
121
- * @param {Phone.RequestOptions} requestOptions - Request-specific configuration.
121
+ * @param {PhoneClient.RequestOptions} requestOptions - Request-specific configuration.
122
122
  *
123
123
  * @throws {@link Management.BadRequestError}
124
124
  * @throws {@link Management.UnauthorizedError}
@@ -130,7 +130,6 @@ export declare class Phone {
130
130
  * verification_message: "verification_message"
131
131
  * })
132
132
  */
133
- setTemplates(request: Management.SetGuardianFactorPhoneTemplatesRequestContent, requestOptions?: Phone.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorPhoneTemplatesResponseContent>;
133
+ setTemplates(request: Management.SetGuardianFactorPhoneTemplatesRequestContent, requestOptions?: PhoneClient.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorPhoneTemplatesResponseContent>;
134
134
  private __setTemplates;
135
- protected _getAuthorizationHeader(): Promise<string>;
136
135
  }