auth0 7.5.0 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (660) hide show
  1. package/dist/cjs/management/BaseClient.d.ts +14 -0
  2. package/dist/cjs/management/BaseClient.js +13 -1
  3. package/dist/cjs/management/api/requests/requests.d.ts +4 -36
  4. package/dist/cjs/management/api/resources/actions/client/Client.d.ts +14 -0
  5. package/dist/cjs/management/api/resources/actions/client/Client.js +30 -10
  6. package/dist/cjs/management/api/resources/actions/resources/executions/client/Client.d.ts +2 -0
  7. package/dist/cjs/management/api/resources/actions/resources/executions/client/Client.js +3 -1
  8. package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.d.ts +14 -0
  9. package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +37 -12
  10. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.ts +6 -0
  11. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +16 -5
  12. package/dist/cjs/management/api/resources/actions/resources/triggers/client/Client.d.ts +2 -0
  13. package/dist/cjs/management/api/resources/actions/resources/triggers/client/Client.js +2 -0
  14. package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.d.ts +4 -0
  15. package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.js +15 -5
  16. package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.d.ts +6 -0
  17. package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.js +18 -6
  18. package/dist/cjs/management/api/resources/agents/client/Client.d.ts +10 -0
  19. package/dist/cjs/management/api/resources/agents/client/Client.js +16 -5
  20. package/dist/cjs/management/api/resources/anomaly/resources/blocks/client/Client.d.ts +4 -0
  21. package/dist/cjs/management/api/resources/anomaly/resources/blocks/client/Client.js +6 -2
  22. package/dist/cjs/management/api/resources/attackProtection/client/Client.d.ts +0 -3
  23. package/dist/cjs/management/api/resources/attackProtection/client/Client.js +4 -9
  24. package/dist/cjs/management/api/resources/attackProtection/resources/botDetection/client/Client.d.ts +4 -0
  25. package/dist/cjs/management/api/resources/attackProtection/resources/botDetection/client/Client.js +6 -1
  26. package/dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.d.ts +4 -0
  27. package/dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.js +6 -1
  28. package/dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.d.ts +4 -0
  29. package/dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.js +6 -1
  30. package/dist/cjs/management/api/resources/attackProtection/resources/captcha/client/Client.d.ts +4 -0
  31. package/dist/cjs/management/api/resources/attackProtection/resources/captcha/client/Client.js +6 -1
  32. package/dist/cjs/management/api/resources/attackProtection/resources/index.d.ts +0 -1
  33. package/dist/cjs/management/api/resources/attackProtection/resources/index.js +1 -2
  34. package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.d.ts +4 -0
  35. package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.js +6 -1
  36. package/dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.d.ts +4 -0
  37. package/dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.js +6 -1
  38. package/dist/cjs/management/api/resources/branding/client/Client.d.ts +4 -0
  39. package/dist/cjs/management/api/resources/branding/client/Client.js +6 -1
  40. package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.ts +12 -0
  41. package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.js +20 -7
  42. package/dist/cjs/management/api/resources/branding/resources/phone/resources/templates/client/Client.d.ts +14 -0
  43. package/dist/cjs/management/api/resources/branding/resources/phone/resources/templates/client/Client.js +24 -9
  44. package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.d.ts +6 -0
  45. package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.js +8 -1
  46. package/dist/cjs/management/api/resources/branding/resources/themes/client/Client.d.ts +10 -0
  47. package/dist/cjs/management/api/resources/branding/resources/themes/client/Client.js +16 -5
  48. package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +12 -0
  49. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +18 -5
  50. package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.d.ts +2 -0
  51. package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +3 -1
  52. package/dist/cjs/management/api/resources/clientProfiles/client/Client.d.ts +10 -0
  53. package/dist/cjs/management/api/resources/clientProfiles/client/Client.js +16 -5
  54. package/dist/cjs/management/api/resources/clients/client/Client.d.ts +18 -0
  55. package/dist/cjs/management/api/resources/clients/client/Client.js +34 -10
  56. package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.d.ts +2 -0
  57. package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.js +3 -1
  58. package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.d.ts +10 -0
  59. package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.js +18 -7
  60. package/dist/cjs/management/api/resources/connectionProfiles/client/Client.d.ts +14 -0
  61. package/dist/cjs/management/api/resources/connectionProfiles/client/Client.js +21 -6
  62. package/dist/cjs/management/api/resources/connections/client/Client.d.ts +12 -0
  63. package/dist/cjs/management/api/resources/connections/client/Client.js +19 -6
  64. package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.d.ts +4 -0
  65. package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.js +8 -3
  66. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +20 -0
  67. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +35 -14
  68. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.d.ts +2 -0
  69. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.js +3 -1
  70. package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.d.ts +6 -0
  71. package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.js +12 -5
  72. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.d.ts +12 -0
  73. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +20 -7
  74. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.ts +6 -0
  75. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.js +11 -4
  76. package/dist/cjs/management/api/resources/connections/resources/users/client/Client.d.ts +2 -0
  77. package/dist/cjs/management/api/resources/connections/resources/users/client/Client.js +3 -1
  78. package/dist/cjs/management/api/resources/customDomains/client/Client.d.ts +18 -0
  79. package/dist/cjs/management/api/resources/customDomains/client/Client.js +27 -8
  80. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.d.ts +6 -0
  81. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +16 -4
  82. package/dist/cjs/management/api/resources/emailTemplates/client/Client.d.ts +8 -0
  83. package/dist/cjs/management/api/resources/emailTemplates/client/Client.js +15 -6
  84. package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.d.ts +8 -0
  85. package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.js +11 -2
  86. package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +12 -0
  87. package/dist/cjs/management/api/resources/eventStreams/client/Client.js +20 -7
  88. package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.d.ts +4 -0
  89. package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.js +6 -2
  90. package/dist/cjs/management/api/resources/eventStreams/resources/redeliveries/client/Client.d.ts +4 -0
  91. package/dist/cjs/management/api/resources/eventStreams/resources/redeliveries/client/Client.js +8 -3
  92. package/dist/cjs/management/api/resources/events/client/Client.js +31 -1
  93. package/dist/cjs/management/api/resources/experimentation/resources/experiments/client/Client.d.ts +16 -1
  94. package/dist/cjs/management/api/resources/experimentation/resources/experiments/client/Client.js +25 -9
  95. package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/client/Client.d.ts +10 -0
  96. package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/client/Client.js +16 -5
  97. package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.d.ts +10 -0
  98. package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.js +18 -7
  99. package/dist/cjs/management/api/resources/experimentation/resources/segments/client/Client.d.ts +10 -0
  100. package/dist/cjs/management/api/resources/experimentation/resources/segments/client/Client.js +16 -5
  101. package/dist/cjs/management/api/resources/flows/client/Client.d.ts +10 -0
  102. package/dist/cjs/management/api/resources/flows/client/Client.js +23 -7
  103. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +6 -0
  104. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +9 -3
  105. package/dist/cjs/management/api/resources/flows/resources/vault/resources/connections/client/Client.d.ts +10 -0
  106. package/dist/cjs/management/api/resources/flows/resources/vault/resources/connections/client/Client.js +23 -7
  107. package/dist/cjs/management/api/resources/forms/client/Client.d.ts +10 -0
  108. package/dist/cjs/management/api/resources/forms/client/Client.js +23 -7
  109. package/dist/cjs/management/api/resources/groups/client/Client.d.ts +6 -0
  110. package/dist/cjs/management/api/resources/groups/client/Client.js +8 -2
  111. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.d.ts +2 -0
  112. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +3 -1
  113. package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.d.ts +6 -0
  114. package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.js +12 -5
  115. package/dist/cjs/management/api/resources/guardian/client/Client.d.ts +4 -0
  116. package/dist/cjs/management/api/resources/guardian/client/Client.js +6 -1
  117. package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.d.ts +6 -0
  118. package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.js +10 -3
  119. package/dist/cjs/management/api/resources/guardian/resources/factors/client/Client.d.ts +5 -1
  120. package/dist/cjs/management/api/resources/guardian/resources/factors/client/Client.js +8 -3
  121. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.d.ts +6 -0
  122. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.js +9 -2
  123. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/email/client/Client.d.ts +4 -0
  124. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/email/client/Client.js +6 -1
  125. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/client/Client.d.ts +20 -0
  126. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/client/Client.js +26 -5
  127. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.ts +24 -0
  128. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.js +34 -9
  129. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/client/Client.d.ts +12 -0
  130. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/client/Client.js +16 -3
  131. package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.d.ts +4 -0
  132. package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.js +6 -1
  133. package/dist/cjs/management/api/resources/hooks/client/Client.d.ts +10 -0
  134. package/dist/cjs/management/api/resources/hooks/client/Client.js +23 -7
  135. package/dist/cjs/management/api/resources/hooks/resources/secrets/client/Client.d.ts +8 -0
  136. package/dist/cjs/management/api/resources/hooks/resources/secrets/client/Client.js +16 -7
  137. package/dist/cjs/management/api/resources/jobs/client/Client.d.ts +2 -0
  138. package/dist/cjs/management/api/resources/jobs/client/Client.js +3 -1
  139. package/dist/cjs/management/api/resources/jobs/resources/errors/client/Client.d.ts +2 -0
  140. package/dist/cjs/management/api/resources/jobs/resources/errors/client/Client.js +3 -1
  141. package/dist/cjs/management/api/resources/jobs/resources/usersExports/client/Client.d.ts +2 -0
  142. package/dist/cjs/management/api/resources/jobs/resources/usersExports/client/Client.js +4 -1
  143. package/dist/cjs/management/api/resources/jobs/resources/usersImports/client/Client.d.ts +2 -0
  144. package/dist/cjs/management/api/resources/jobs/resources/usersImports/client/Client.js +2 -0
  145. package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.d.ts +2 -0
  146. package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.js +4 -1
  147. package/dist/cjs/management/api/resources/keys/resources/customSigning/client/Client.d.ts +6 -0
  148. package/dist/cjs/management/api/resources/keys/resources/customSigning/client/Client.js +8 -1
  149. package/dist/cjs/management/api/resources/keys/resources/encryption/client/Client.d.ts +14 -0
  150. package/dist/cjs/management/api/resources/keys/resources/encryption/client/Client.js +28 -8
  151. package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/Client.d.ts +8 -0
  152. package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/Client.js +12 -3
  153. package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.d.ts +8 -0
  154. package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.js +10 -2
  155. package/dist/cjs/management/api/resources/logStreams/client/Client.d.ts +10 -0
  156. package/dist/cjs/management/api/resources/logStreams/client/Client.js +16 -5
  157. package/dist/cjs/management/api/resources/logs/client/Client.d.ts +4 -0
  158. package/dist/cjs/management/api/resources/logs/client/Client.js +12 -3
  159. package/dist/cjs/management/api/resources/networkAcls/client/Client.d.ts +12 -0
  160. package/dist/cjs/management/api/resources/networkAcls/client/Client.js +27 -9
  161. package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +14 -0
  162. package/dist/cjs/management/api/resources/organizations/client/Client.js +21 -6
  163. package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.d.ts +6 -0
  164. package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.js +18 -6
  165. package/dist/cjs/management/api/resources/organizations/resources/clients/client/Client.d.ts +10 -0
  166. package/dist/cjs/management/api/resources/organizations/resources/clients/client/Client.js +19 -8
  167. package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.d.ts +10 -0
  168. package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +25 -9
  169. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +12 -0
  170. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +21 -8
  171. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +10 -0
  172. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +25 -9
  173. package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.d.ts +2 -0
  174. package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.js +3 -1
  175. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.ts +6 -0
  176. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.js +12 -5
  177. package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.d.ts +8 -0
  178. package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +21 -7
  179. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +6 -0
  180. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +12 -5
  181. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.ts +2 -0
  182. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.js +3 -1
  183. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +2 -0
  184. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +3 -1
  185. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +6 -0
  186. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +19 -7
  187. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/Client.d.ts +2 -0
  188. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/Client.js +3 -1
  189. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/members/client/Client.d.ts +2 -0
  190. package/dist/cjs/management/api/resources/organizations/resources/roles/resources/members/client/Client.js +3 -1
  191. package/dist/cjs/management/api/resources/prompts/client/Client.d.ts +4 -0
  192. package/dist/cjs/management/api/resources/prompts/client/Client.js +6 -1
  193. package/dist/cjs/management/api/resources/prompts/resources/customText/client/Client.d.ts +4 -0
  194. package/dist/cjs/management/api/resources/prompts/resources/customText/client/Client.js +8 -3
  195. package/dist/cjs/management/api/resources/prompts/resources/partials/client/Client.d.ts +4 -0
  196. package/dist/cjs/management/api/resources/prompts/resources/partials/client/Client.js +8 -3
  197. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.d.ts +8 -0
  198. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +20 -6
  199. package/dist/cjs/management/api/resources/rateLimitPolicies/client/Client.d.ts +10 -0
  200. package/dist/cjs/management/api/resources/rateLimitPolicies/client/Client.js +16 -5
  201. package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +10 -0
  202. package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +16 -5
  203. package/dist/cjs/management/api/resources/resourceServers/client/Client.d.ts +12 -0
  204. package/dist/cjs/management/api/resources/resourceServers/client/Client.js +25 -7
  205. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/client/Client.d.ts +4 -0
  206. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/client/Client.js +6 -1
  207. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.d.ts +4 -0
  208. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.js +6 -1
  209. package/dist/cjs/management/api/resources/roles/client/Client.d.ts +10 -0
  210. package/dist/cjs/management/api/resources/roles/client/Client.js +23 -7
  211. package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.d.ts +6 -0
  212. package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.js +12 -5
  213. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.d.ts +6 -0
  214. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +19 -7
  215. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.d.ts +4 -0
  216. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +8 -3
  217. package/dist/cjs/management/api/resources/rules/client/Client.d.ts +10 -0
  218. package/dist/cjs/management/api/resources/rules/client/Client.js +23 -7
  219. package/dist/cjs/management/api/resources/rulesConfigs/client/Client.d.ts +6 -0
  220. package/dist/cjs/management/api/resources/rulesConfigs/client/Client.js +10 -3
  221. package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.d.ts +10 -0
  222. package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.js +23 -7
  223. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.ts +4 -0
  224. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.js +8 -3
  225. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts +4 -0
  226. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js +8 -3
  227. package/dist/cjs/management/api/resources/sessions/client/Client.d.ts +8 -0
  228. package/dist/cjs/management/api/resources/sessions/client/Client.js +14 -5
  229. package/dist/cjs/management/api/resources/stats/client/Client.d.ts +4 -0
  230. package/dist/cjs/management/api/resources/stats/client/Client.js +4 -0
  231. package/dist/cjs/management/api/resources/supplementalSignals/client/Client.d.ts +4 -0
  232. package/dist/cjs/management/api/resources/supplementalSignals/client/Client.js +6 -1
  233. package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.d.ts +4 -0
  234. package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.js +6 -1
  235. package/dist/cjs/management/api/resources/tickets/client/Client.d.ts +4 -0
  236. package/dist/cjs/management/api/resources/tickets/client/Client.js +7 -2
  237. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.d.ts +10 -0
  238. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +16 -5
  239. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +14 -0
  240. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +21 -6
  241. package/dist/cjs/management/api/resources/userBlocks/client/Client.d.ts +8 -0
  242. package/dist/cjs/management/api/resources/userBlocks/client/Client.js +10 -2
  243. package/dist/cjs/management/api/resources/userGrants/client/Client.d.ts +6 -0
  244. package/dist/cjs/management/api/resources/userGrants/client/Client.js +14 -3
  245. package/dist/cjs/management/api/resources/users/client/Client.d.ts +16 -0
  246. package/dist/cjs/management/api/resources/users/client/Client.js +32 -10
  247. package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.d.ts +14 -0
  248. package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.js +32 -12
  249. package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.d.ts +2 -0
  250. package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.js +3 -1
  251. package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.d.ts +2 -0
  252. package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +3 -1
  253. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/Client.d.ts +2 -0
  254. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/Client.js +3 -1
  255. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.d.ts +2 -0
  256. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.js +3 -1
  257. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.d.ts +2 -0
  258. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.js +3 -1
  259. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +2 -0
  260. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +3 -1
  261. package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.d.ts +2 -0
  262. package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.js +3 -1
  263. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +2 -0
  264. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +3 -1
  265. package/dist/cjs/management/api/resources/users/resources/identities/client/Client.d.ts +4 -0
  266. package/dist/cjs/management/api/resources/users/resources/identities/client/Client.js +8 -3
  267. package/dist/cjs/management/api/resources/users/resources/logs/client/Client.d.ts +2 -0
  268. package/dist/cjs/management/api/resources/users/resources/logs/client/Client.js +10 -3
  269. package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.d.ts +4 -0
  270. package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.js +6 -2
  271. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.d.ts +2 -0
  272. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +10 -3
  273. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.d.ts +6 -0
  274. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +19 -7
  275. package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.d.ts +4 -0
  276. package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.js +6 -2
  277. package/dist/cjs/management/api/resources/users/resources/riskAssessments/client/Client.d.ts +2 -0
  278. package/dist/cjs/management/api/resources/users/resources/riskAssessments/client/Client.js +5 -2
  279. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +6 -0
  280. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +19 -7
  281. package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.d.ts +4 -0
  282. package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.js +6 -2
  283. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.ts +10 -0
  284. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.js +16 -5
  285. package/dist/cjs/management/api/types/types.d.ts +75 -188
  286. package/dist/cjs/management/api/types/types.js +53 -32
  287. package/dist/cjs/management/core/fetcher/Fetcher.js +42 -95
  288. package/dist/cjs/management/core/fetcher/getErrorResponseBody.js +20 -7
  289. package/dist/cjs/management/core/fetcher/getResponseBody.d.ts +16 -0
  290. package/dist/cjs/management/core/fetcher/getResponseBody.js +27 -22
  291. package/dist/cjs/management/core/fetcher/makePassthroughRequest.js +46 -8
  292. package/dist/cjs/management/core/fetcher/makeRequest.d.ts +6 -1
  293. package/dist/cjs/management/core/fetcher/makeRequest.js +38 -5
  294. package/dist/cjs/management/core/fetcher/redactUrl.d.ts +2 -0
  295. package/dist/cjs/management/core/fetcher/redactUrl.js +88 -0
  296. package/dist/cjs/management/core/fetcher/requestWithRetries.d.ts +1 -1
  297. package/dist/cjs/management/core/fetcher/requestWithRetries.js +23 -2
  298. package/dist/cjs/management/core/fetcher/signals.d.ts +1 -0
  299. package/dist/cjs/management/core/fetcher/signals.js +3 -2
  300. package/dist/cjs/management/core/file/file.js +3 -0
  301. package/dist/cjs/management/core/form-data-utils/FormDataWrapper.js +3 -0
  302. package/dist/cjs/management/core/requestBody.d.ts +12 -0
  303. package/dist/cjs/management/core/requestBody.js +26 -0
  304. package/dist/cjs/management/core/runtime/index.d.ts +1 -1
  305. package/dist/cjs/management/core/runtime/index.js +2 -1
  306. package/dist/cjs/management/core/runtime/runtime.d.ts +19 -0
  307. package/dist/cjs/management/core/runtime/runtime.js +74 -2
  308. package/dist/cjs/management/core/stream/Stream.d.ts +48 -1
  309. package/dist/cjs/management/core/stream/Stream.js +330 -84
  310. package/dist/cjs/management/core/stream/index.d.ts +1 -0
  311. package/dist/cjs/management/core/url/encodePathParam.d.ts +3 -1
  312. package/dist/cjs/management/core/url/encodePathParam.js +8 -2
  313. package/dist/cjs/management/core/url/qs.js +2 -2
  314. package/dist/cjs/management/core/utils/setObjectProperty.d.ts +6 -5
  315. package/dist/cjs/management/core/utils/setObjectProperty.js +16 -10
  316. package/dist/cjs/management/errors/ManagementError.d.ts +1 -0
  317. package/dist/cjs/management/errors/ManagementError.js +18 -0
  318. package/dist/cjs/management/errors/ManagementTimeoutError.d.ts +2 -2
  319. package/dist/cjs/management/errors/ManagementTimeoutError.js +39 -5
  320. package/dist/cjs/management/version.d.ts +1 -1
  321. package/dist/cjs/management/version.js +1 -1
  322. package/dist/esm/management/BaseClient.d.mts +14 -0
  323. package/dist/esm/management/BaseClient.mjs +13 -1
  324. package/dist/esm/management/api/requests/requests.d.mts +4 -36
  325. package/dist/esm/management/api/resources/actions/client/Client.d.mts +14 -0
  326. package/dist/esm/management/api/resources/actions/client/Client.mjs +30 -10
  327. package/dist/esm/management/api/resources/actions/resources/executions/client/Client.d.mts +2 -0
  328. package/dist/esm/management/api/resources/actions/resources/executions/client/Client.mjs +3 -1
  329. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.d.mts +14 -0
  330. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +37 -12
  331. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.mts +6 -0
  332. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +16 -5
  333. package/dist/esm/management/api/resources/actions/resources/triggers/client/Client.d.mts +2 -0
  334. package/dist/esm/management/api/resources/actions/resources/triggers/client/Client.mjs +2 -0
  335. package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.d.mts +4 -0
  336. package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.mjs +15 -5
  337. package/dist/esm/management/api/resources/actions/resources/versions/client/Client.d.mts +6 -0
  338. package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +18 -6
  339. package/dist/esm/management/api/resources/agents/client/Client.d.mts +10 -0
  340. package/dist/esm/management/api/resources/agents/client/Client.mjs +16 -5
  341. package/dist/esm/management/api/resources/anomaly/resources/blocks/client/Client.d.mts +4 -0
  342. package/dist/esm/management/api/resources/anomaly/resources/blocks/client/Client.mjs +6 -2
  343. package/dist/esm/management/api/resources/attackProtection/client/Client.d.mts +0 -3
  344. package/dist/esm/management/api/resources/attackProtection/client/Client.mjs +0 -5
  345. package/dist/esm/management/api/resources/attackProtection/resources/botDetection/client/Client.d.mts +4 -0
  346. package/dist/esm/management/api/resources/attackProtection/resources/botDetection/client/Client.mjs +6 -1
  347. package/dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.d.mts +4 -0
  348. package/dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.mjs +6 -1
  349. package/dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.d.mts +4 -0
  350. package/dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.mjs +6 -1
  351. package/dist/esm/management/api/resources/attackProtection/resources/captcha/client/Client.d.mts +4 -0
  352. package/dist/esm/management/api/resources/attackProtection/resources/captcha/client/Client.mjs +6 -1
  353. package/dist/esm/management/api/resources/attackProtection/resources/index.d.mts +0 -1
  354. package/dist/esm/management/api/resources/attackProtection/resources/index.mjs +0 -1
  355. package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.d.mts +4 -0
  356. package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.mjs +6 -1
  357. package/dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.d.mts +4 -0
  358. package/dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.mjs +6 -1
  359. package/dist/esm/management/api/resources/branding/client/Client.d.mts +4 -0
  360. package/dist/esm/management/api/resources/branding/client/Client.mjs +6 -1
  361. package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.mts +12 -0
  362. package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +20 -7
  363. package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.d.mts +14 -0
  364. package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.mjs +24 -9
  365. package/dist/esm/management/api/resources/branding/resources/templates/client/Client.d.mts +6 -0
  366. package/dist/esm/management/api/resources/branding/resources/templates/client/Client.mjs +8 -1
  367. package/dist/esm/management/api/resources/branding/resources/themes/client/Client.d.mts +10 -0
  368. package/dist/esm/management/api/resources/branding/resources/themes/client/Client.mjs +16 -5
  369. package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +12 -0
  370. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +18 -5
  371. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.d.mts +2 -0
  372. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +3 -1
  373. package/dist/esm/management/api/resources/clientProfiles/client/Client.d.mts +10 -0
  374. package/dist/esm/management/api/resources/clientProfiles/client/Client.mjs +16 -5
  375. package/dist/esm/management/api/resources/clients/client/Client.d.mts +18 -0
  376. package/dist/esm/management/api/resources/clients/client/Client.mjs +34 -10
  377. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.d.mts +2 -0
  378. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +3 -1
  379. package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.d.mts +10 -0
  380. package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.mjs +18 -7
  381. package/dist/esm/management/api/resources/connectionProfiles/client/Client.d.mts +14 -0
  382. package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +21 -6
  383. package/dist/esm/management/api/resources/connections/client/Client.d.mts +12 -0
  384. package/dist/esm/management/api/resources/connections/client/Client.mjs +19 -6
  385. package/dist/esm/management/api/resources/connections/resources/clients/client/Client.d.mts +4 -0
  386. package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +8 -3
  387. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +20 -0
  388. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +35 -14
  389. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.d.mts +2 -0
  390. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.mjs +3 -1
  391. package/dist/esm/management/api/resources/connections/resources/keys/client/Client.d.mts +6 -0
  392. package/dist/esm/management/api/resources/connections/resources/keys/client/Client.mjs +12 -5
  393. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.d.mts +12 -0
  394. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +20 -7
  395. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.mts +6 -0
  396. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.mjs +11 -4
  397. package/dist/esm/management/api/resources/connections/resources/users/client/Client.d.mts +2 -0
  398. package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +3 -1
  399. package/dist/esm/management/api/resources/customDomains/client/Client.d.mts +18 -0
  400. package/dist/esm/management/api/resources/customDomains/client/Client.mjs +27 -8
  401. package/dist/esm/management/api/resources/deviceCredentials/client/Client.d.mts +6 -0
  402. package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +16 -4
  403. package/dist/esm/management/api/resources/emailTemplates/client/Client.d.mts +8 -0
  404. package/dist/esm/management/api/resources/emailTemplates/client/Client.mjs +15 -6
  405. package/dist/esm/management/api/resources/emails/resources/provider/client/Client.d.mts +8 -0
  406. package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +11 -2
  407. package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +12 -0
  408. package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +20 -7
  409. package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.d.mts +4 -0
  410. package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.mjs +6 -2
  411. package/dist/esm/management/api/resources/eventStreams/resources/redeliveries/client/Client.d.mts +4 -0
  412. package/dist/esm/management/api/resources/eventStreams/resources/redeliveries/client/Client.mjs +8 -3
  413. package/dist/esm/management/api/resources/events/client/Client.mjs +31 -1
  414. package/dist/esm/management/api/resources/experimentation/resources/experiments/client/Client.d.mts +16 -1
  415. package/dist/esm/management/api/resources/experimentation/resources/experiments/client/Client.mjs +25 -9
  416. package/dist/esm/management/api/resources/experimentation/resources/featureFlags/client/Client.d.mts +10 -0
  417. package/dist/esm/management/api/resources/experimentation/resources/featureFlags/client/Client.mjs +16 -5
  418. package/dist/esm/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.d.mts +10 -0
  419. package/dist/esm/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.mjs +18 -7
  420. package/dist/esm/management/api/resources/experimentation/resources/segments/client/Client.d.mts +10 -0
  421. package/dist/esm/management/api/resources/experimentation/resources/segments/client/Client.mjs +16 -5
  422. package/dist/esm/management/api/resources/flows/client/Client.d.mts +10 -0
  423. package/dist/esm/management/api/resources/flows/client/Client.mjs +23 -7
  424. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +6 -0
  425. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +9 -3
  426. package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.d.mts +10 -0
  427. package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.mjs +23 -7
  428. package/dist/esm/management/api/resources/forms/client/Client.d.mts +10 -0
  429. package/dist/esm/management/api/resources/forms/client/Client.mjs +23 -7
  430. package/dist/esm/management/api/resources/groups/client/Client.d.mts +6 -0
  431. package/dist/esm/management/api/resources/groups/client/Client.mjs +8 -2
  432. package/dist/esm/management/api/resources/groups/resources/members/client/Client.d.mts +2 -0
  433. package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +3 -1
  434. package/dist/esm/management/api/resources/groups/resources/roles/client/Client.d.mts +6 -0
  435. package/dist/esm/management/api/resources/groups/resources/roles/client/Client.mjs +12 -5
  436. package/dist/esm/management/api/resources/guardian/client/Client.d.mts +4 -0
  437. package/dist/esm/management/api/resources/guardian/client/Client.mjs +6 -1
  438. package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.d.mts +6 -0
  439. package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.mjs +10 -3
  440. package/dist/esm/management/api/resources/guardian/resources/factors/client/Client.d.mts +5 -1
  441. package/dist/esm/management/api/resources/guardian/resources/factors/client/Client.mjs +8 -3
  442. package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.d.mts +6 -0
  443. package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.mjs +9 -2
  444. package/dist/esm/management/api/resources/guardian/resources/factors/resources/email/client/Client.d.mts +4 -0
  445. package/dist/esm/management/api/resources/guardian/resources/factors/resources/email/client/Client.mjs +6 -1
  446. package/dist/esm/management/api/resources/guardian/resources/factors/resources/phone/client/Client.d.mts +20 -0
  447. package/dist/esm/management/api/resources/guardian/resources/factors/resources/phone/client/Client.mjs +26 -5
  448. package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.mts +24 -0
  449. package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.mjs +34 -9
  450. package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.d.mts +12 -0
  451. package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.mjs +16 -3
  452. package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.d.mts +4 -0
  453. package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.mjs +6 -1
  454. package/dist/esm/management/api/resources/hooks/client/Client.d.mts +10 -0
  455. package/dist/esm/management/api/resources/hooks/client/Client.mjs +23 -7
  456. package/dist/esm/management/api/resources/hooks/resources/secrets/client/Client.d.mts +8 -0
  457. package/dist/esm/management/api/resources/hooks/resources/secrets/client/Client.mjs +16 -7
  458. package/dist/esm/management/api/resources/jobs/client/Client.d.mts +2 -0
  459. package/dist/esm/management/api/resources/jobs/client/Client.mjs +3 -1
  460. package/dist/esm/management/api/resources/jobs/resources/errors/client/Client.d.mts +2 -0
  461. package/dist/esm/management/api/resources/jobs/resources/errors/client/Client.mjs +3 -1
  462. package/dist/esm/management/api/resources/jobs/resources/usersExports/client/Client.d.mts +2 -0
  463. package/dist/esm/management/api/resources/jobs/resources/usersExports/client/Client.mjs +4 -1
  464. package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.d.mts +2 -0
  465. package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.mjs +2 -0
  466. package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.d.mts +2 -0
  467. package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs +4 -1
  468. package/dist/esm/management/api/resources/keys/resources/customSigning/client/Client.d.mts +6 -0
  469. package/dist/esm/management/api/resources/keys/resources/customSigning/client/Client.mjs +8 -1
  470. package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.d.mts +14 -0
  471. package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.mjs +28 -8
  472. package/dist/esm/management/api/resources/keys/resources/networkAcls/client/Client.d.mts +8 -0
  473. package/dist/esm/management/api/resources/keys/resources/networkAcls/client/Client.mjs +12 -3
  474. package/dist/esm/management/api/resources/keys/resources/signing/client/Client.d.mts +8 -0
  475. package/dist/esm/management/api/resources/keys/resources/signing/client/Client.mjs +10 -2
  476. package/dist/esm/management/api/resources/logStreams/client/Client.d.mts +10 -0
  477. package/dist/esm/management/api/resources/logStreams/client/Client.mjs +16 -5
  478. package/dist/esm/management/api/resources/logs/client/Client.d.mts +4 -0
  479. package/dist/esm/management/api/resources/logs/client/Client.mjs +12 -3
  480. package/dist/esm/management/api/resources/networkAcls/client/Client.d.mts +12 -0
  481. package/dist/esm/management/api/resources/networkAcls/client/Client.mjs +27 -9
  482. package/dist/esm/management/api/resources/organizations/client/Client.d.mts +14 -0
  483. package/dist/esm/management/api/resources/organizations/client/Client.mjs +21 -6
  484. package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.d.mts +6 -0
  485. package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.mjs +18 -6
  486. package/dist/esm/management/api/resources/organizations/resources/clients/client/Client.d.mts +10 -0
  487. package/dist/esm/management/api/resources/organizations/resources/clients/client/Client.mjs +19 -8
  488. package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.d.mts +10 -0
  489. package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +25 -9
  490. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +12 -0
  491. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +21 -8
  492. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +10 -0
  493. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +25 -9
  494. package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.d.mts +2 -0
  495. package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.mjs +3 -1
  496. package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.mts +6 -0
  497. package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.mjs +12 -5
  498. package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.d.mts +8 -0
  499. package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +21 -7
  500. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +6 -0
  501. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +12 -5
  502. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.mts +2 -0
  503. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.mjs +3 -1
  504. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +2 -0
  505. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +3 -1
  506. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +6 -0
  507. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +19 -7
  508. package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/Client.d.mts +2 -0
  509. package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/Client.mjs +3 -1
  510. package/dist/esm/management/api/resources/organizations/resources/roles/resources/members/client/Client.d.mts +2 -0
  511. package/dist/esm/management/api/resources/organizations/resources/roles/resources/members/client/Client.mjs +3 -1
  512. package/dist/esm/management/api/resources/prompts/client/Client.d.mts +4 -0
  513. package/dist/esm/management/api/resources/prompts/client/Client.mjs +6 -1
  514. package/dist/esm/management/api/resources/prompts/resources/customText/client/Client.d.mts +4 -0
  515. package/dist/esm/management/api/resources/prompts/resources/customText/client/Client.mjs +8 -3
  516. package/dist/esm/management/api/resources/prompts/resources/partials/client/Client.d.mts +4 -0
  517. package/dist/esm/management/api/resources/prompts/resources/partials/client/Client.mjs +8 -3
  518. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.d.mts +8 -0
  519. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +20 -6
  520. package/dist/esm/management/api/resources/rateLimitPolicies/client/Client.d.mts +10 -0
  521. package/dist/esm/management/api/resources/rateLimitPolicies/client/Client.mjs +16 -5
  522. package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +10 -0
  523. package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +16 -5
  524. package/dist/esm/management/api/resources/resourceServers/client/Client.d.mts +12 -0
  525. package/dist/esm/management/api/resources/resourceServers/client/Client.mjs +25 -7
  526. package/dist/esm/management/api/resources/riskAssessments/resources/settings/client/Client.d.mts +4 -0
  527. package/dist/esm/management/api/resources/riskAssessments/resources/settings/client/Client.mjs +6 -1
  528. package/dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.d.mts +4 -0
  529. package/dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.mjs +6 -1
  530. package/dist/esm/management/api/resources/roles/client/Client.d.mts +10 -0
  531. package/dist/esm/management/api/resources/roles/client/Client.mjs +23 -7
  532. package/dist/esm/management/api/resources/roles/resources/groups/client/Client.d.mts +6 -0
  533. package/dist/esm/management/api/resources/roles/resources/groups/client/Client.mjs +12 -5
  534. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.d.mts +6 -0
  535. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +19 -7
  536. package/dist/esm/management/api/resources/roles/resources/users/client/Client.d.mts +4 -0
  537. package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +8 -3
  538. package/dist/esm/management/api/resources/rules/client/Client.d.mts +10 -0
  539. package/dist/esm/management/api/resources/rules/client/Client.mjs +23 -7
  540. package/dist/esm/management/api/resources/rulesConfigs/client/Client.d.mts +6 -0
  541. package/dist/esm/management/api/resources/rulesConfigs/client/Client.mjs +10 -3
  542. package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.d.mts +10 -0
  543. package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.mjs +23 -7
  544. package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.mts +4 -0
  545. package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.mjs +8 -3
  546. package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.mts +4 -0
  547. package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs +8 -3
  548. package/dist/esm/management/api/resources/sessions/client/Client.d.mts +8 -0
  549. package/dist/esm/management/api/resources/sessions/client/Client.mjs +14 -5
  550. package/dist/esm/management/api/resources/stats/client/Client.d.mts +4 -0
  551. package/dist/esm/management/api/resources/stats/client/Client.mjs +4 -0
  552. package/dist/esm/management/api/resources/supplementalSignals/client/Client.d.mts +4 -0
  553. package/dist/esm/management/api/resources/supplementalSignals/client/Client.mjs +6 -1
  554. package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.d.mts +4 -0
  555. package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.mjs +6 -1
  556. package/dist/esm/management/api/resources/tickets/client/Client.d.mts +4 -0
  557. package/dist/esm/management/api/resources/tickets/client/Client.mjs +7 -2
  558. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.d.mts +10 -0
  559. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +16 -5
  560. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +14 -0
  561. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +21 -6
  562. package/dist/esm/management/api/resources/userBlocks/client/Client.d.mts +8 -0
  563. package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +10 -2
  564. package/dist/esm/management/api/resources/userGrants/client/Client.d.mts +6 -0
  565. package/dist/esm/management/api/resources/userGrants/client/Client.mjs +14 -3
  566. package/dist/esm/management/api/resources/users/client/Client.d.mts +16 -0
  567. package/dist/esm/management/api/resources/users/client/Client.mjs +32 -10
  568. package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.d.mts +14 -0
  569. package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.mjs +32 -12
  570. package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.d.mts +2 -0
  571. package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.mjs +3 -1
  572. package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.d.mts +2 -0
  573. package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +3 -1
  574. package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/Client.d.mts +2 -0
  575. package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/Client.mjs +3 -1
  576. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.d.mts +2 -0
  577. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.mjs +3 -1
  578. package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.d.mts +2 -0
  579. package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.mjs +3 -1
  580. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +2 -0
  581. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +3 -1
  582. package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.d.mts +2 -0
  583. package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.mjs +3 -1
  584. package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +2 -0
  585. package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +3 -1
  586. package/dist/esm/management/api/resources/users/resources/identities/client/Client.d.mts +4 -0
  587. package/dist/esm/management/api/resources/users/resources/identities/client/Client.mjs +8 -3
  588. package/dist/esm/management/api/resources/users/resources/logs/client/Client.d.mts +2 -0
  589. package/dist/esm/management/api/resources/users/resources/logs/client/Client.mjs +10 -3
  590. package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.d.mts +4 -0
  591. package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.mjs +6 -2
  592. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.d.mts +2 -0
  593. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +10 -3
  594. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.d.mts +6 -0
  595. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +19 -7
  596. package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.d.mts +4 -0
  597. package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.mjs +6 -2
  598. package/dist/esm/management/api/resources/users/resources/riskAssessments/client/Client.d.mts +2 -0
  599. package/dist/esm/management/api/resources/users/resources/riskAssessments/client/Client.mjs +5 -2
  600. package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +6 -0
  601. package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +19 -7
  602. package/dist/esm/management/api/resources/users/resources/sessions/client/Client.d.mts +4 -0
  603. package/dist/esm/management/api/resources/users/resources/sessions/client/Client.mjs +6 -2
  604. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.mts +10 -0
  605. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.mjs +16 -5
  606. package/dist/esm/management/api/types/types.d.mts +75 -188
  607. package/dist/esm/management/api/types/types.mjs +32 -11
  608. package/dist/esm/management/core/fetcher/Fetcher.mjs +36 -89
  609. package/dist/esm/management/core/fetcher/getErrorResponseBody.mjs +21 -8
  610. package/dist/esm/management/core/fetcher/getResponseBody.d.mts +16 -0
  611. package/dist/esm/management/core/fetcher/getResponseBody.mjs +26 -22
  612. package/dist/esm/management/core/fetcher/makePassthroughRequest.mjs +46 -8
  613. package/dist/esm/management/core/fetcher/makeRequest.d.mts +6 -1
  614. package/dist/esm/management/core/fetcher/makeRequest.mjs +38 -6
  615. package/dist/esm/management/core/fetcher/redactUrl.d.mts +2 -0
  616. package/dist/esm/management/core/fetcher/redactUrl.mjs +84 -0
  617. package/dist/esm/management/core/fetcher/requestWithRetries.d.mts +1 -1
  618. package/dist/esm/management/core/fetcher/requestWithRetries.mjs +23 -2
  619. package/dist/esm/management/core/fetcher/signals.d.mts +1 -0
  620. package/dist/esm/management/core/fetcher/signals.mjs +1 -1
  621. package/dist/esm/management/core/file/file.mjs +3 -0
  622. package/dist/esm/management/core/form-data-utils/FormDataWrapper.mjs +3 -0
  623. package/dist/esm/management/core/requestBody.d.mts +12 -0
  624. package/dist/esm/management/core/requestBody.mjs +23 -0
  625. package/dist/esm/management/core/runtime/index.d.mts +1 -1
  626. package/dist/esm/management/core/runtime/index.mjs +1 -1
  627. package/dist/esm/management/core/runtime/runtime.d.mts +19 -0
  628. package/dist/esm/management/core/runtime/runtime.mjs +73 -2
  629. package/dist/esm/management/core/stream/Stream.d.mts +48 -1
  630. package/dist/esm/management/core/stream/Stream.mjs +330 -84
  631. package/dist/esm/management/core/stream/index.d.mts +1 -0
  632. package/dist/esm/management/core/url/encodePathParam.d.mts +3 -1
  633. package/dist/esm/management/core/url/encodePathParam.mjs +8 -2
  634. package/dist/esm/management/core/url/qs.mjs +2 -2
  635. package/dist/esm/management/core/utils/setObjectProperty.d.mts +6 -5
  636. package/dist/esm/management/core/utils/setObjectProperty.mjs +16 -10
  637. package/dist/esm/management/errors/ManagementError.d.mts +1 -0
  638. package/dist/esm/management/errors/ManagementError.mjs +18 -0
  639. package/dist/esm/management/errors/ManagementTimeoutError.d.mts +2 -2
  640. package/dist/esm/management/errors/ManagementTimeoutError.mjs +6 -5
  641. package/dist/esm/management/version.d.mts +1 -1
  642. package/dist/esm/management/version.mjs +1 -1
  643. package/package.json +1 -12
  644. package/reference.md +84 -405
  645. package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.d.ts +0 -105
  646. package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.js +0 -388
  647. package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/index.d.ts +0 -1
  648. package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/index.js +0 -2
  649. package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/exports.d.ts +0 -2
  650. package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/exports.js +0 -21
  651. package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/index.d.ts +0 -1
  652. package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/index.js +0 -17
  653. package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.d.mts +0 -105
  654. package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.mjs +0 -351
  655. package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/index.d.mts +0 -1
  656. package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/index.mjs +0 -1
  657. package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/exports.d.mts +0 -2
  658. package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/exports.mjs +0 -3
  659. package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/index.d.mts +0 -1
  660. package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/index.mjs +0 -1
@@ -1,105 +0,0 @@
1
- import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
2
- import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
- import * as core from "../../../../../../core/index.js";
4
- import * as Management from "../../../../../index.js";
5
- export declare namespace CaptchaPoliciesClient {
6
- type Options = BaseClientOptions;
7
- interface RequestOptions extends BaseRequestOptions {
8
- }
9
- }
10
- export declare class CaptchaPoliciesClient {
11
- protected readonly _options: NormalizedClientOptionsWithAuth<CaptchaPoliciesClient.Options>;
12
- constructor(options: CaptchaPoliciesClient.Options);
13
- /**
14
- * Retrieve all CAPTCHA attack protection policies for the tenant, sorted by priority ascending.
15
- *
16
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
17
- *
18
- * @throws {@link Management.BadRequestError}
19
- * @throws {@link Management.UnauthorizedError}
20
- * @throws {@link Management.ForbiddenError}
21
- * @throws {@link Management.NotFoundError}
22
- * @throws {@link Management.TooManyRequestsError}
23
- *
24
- * @example
25
- * await client.attackProtection.captchaPolicies.list()
26
- */
27
- list(requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.ListAttackProtectionCaptchaPoliciesResponseContent>;
28
- private __list;
29
- /**
30
- * Create a new CAPTCHA attack protection policy for the tenant. The maximum number of policies per tenant is determined by the tenant's subscription.
31
- *
32
- * @param {Management.CreateAttackProtectionCaptchaPolicyRequestContent} request
33
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
34
- *
35
- * @throws {@link Management.BadRequestError}
36
- * @throws {@link Management.UnauthorizedError}
37
- * @throws {@link Management.ForbiddenError}
38
- * @throws {@link Management.NotFoundError}
39
- * @throws {@link Management.ConflictError}
40
- * @throws {@link Management.TooManyRequestsError}
41
- *
42
- * @example
43
- * await client.attackProtection.captchaPolicies.create({
44
- * name: "name",
45
- * priority: 1,
46
- * match: {},
47
- * action: {}
48
- * })
49
- */
50
- create(request: Management.CreateAttackProtectionCaptchaPolicyRequestContent, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
51
- private __create;
52
- /**
53
- * Retrieve a single CAPTCHA attack protection policy for the tenant by ID.
54
- *
55
- * @param {string} id - ID of the CAPTCHA attack protection policy.
56
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
57
- *
58
- * @throws {@link Management.BadRequestError}
59
- * @throws {@link Management.UnauthorizedError}
60
- * @throws {@link Management.ForbiddenError}
61
- * @throws {@link Management.NotFoundError}
62
- * @throws {@link Management.TooManyRequestsError}
63
- *
64
- * @example
65
- * await client.attackProtection.captchaPolicies.get("id")
66
- */
67
- get(id: string, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
68
- private __get;
69
- /**
70
- * Delete a CAPTCHA attack protection policy for the tenant.
71
- *
72
- * @param {string} id - ID of the CAPTCHA attack protection policy.
73
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
74
- *
75
- * @throws {@link Management.BadRequestError}
76
- * @throws {@link Management.UnauthorizedError}
77
- * @throws {@link Management.ForbiddenError}
78
- * @throws {@link Management.NotFoundError}
79
- * @throws {@link Management.TooManyRequestsError}
80
- *
81
- * @example
82
- * await client.attackProtection.captchaPolicies.delete("id")
83
- */
84
- delete(id: string, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<void>;
85
- private __delete;
86
- /**
87
- * Partially update a CAPTCHA attack protection policy. Only the provided fields are modified. A provided match or action replaces the stored value in full rather than merging with it; within action, a provider secret or API key that is omitted from a provided provider block keeps its stored value.
88
- *
89
- * @param {string} id - ID of the CAPTCHA attack protection policy.
90
- * @param {Management.UpdateAttackProtectionCaptchaPolicyRequestContent} request
91
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
92
- *
93
- * @throws {@link Management.BadRequestError}
94
- * @throws {@link Management.UnauthorizedError}
95
- * @throws {@link Management.ForbiddenError}
96
- * @throws {@link Management.NotFoundError}
97
- * @throws {@link Management.ConflictError}
98
- * @throws {@link Management.TooManyRequestsError}
99
- *
100
- * @example
101
- * await client.attackProtection.captchaPolicies.update("id")
102
- */
103
- update(id: string, request?: Management.UpdateAttackProtectionCaptchaPolicyRequestContent, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
104
- private __update;
105
- }
@@ -1,388 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
- return new (P || (P = Promise))(function (resolve, reject) {
39
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
- step((generator = generator.apply(thisArg, _arguments || [])).next());
43
- });
44
- };
45
- Object.defineProperty(exports, "__esModule", { value: true });
46
- exports.CaptchaPoliciesClient = void 0;
47
- const BaseClient_js_1 = require("../../../../../../BaseClient.js");
48
- const core = __importStar(require("../../../../../../core/index.js"));
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");
52
- const errors = __importStar(require("../../../../../../errors/index.js"));
53
- const Management = __importStar(require("../../../../../index.js"));
54
- class CaptchaPoliciesClient {
55
- constructor(options) {
56
- this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
- }
58
- /**
59
- * Retrieve all CAPTCHA attack protection policies for the tenant, sorted by priority ascending.
60
- *
61
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
62
- *
63
- * @throws {@link Management.BadRequestError}
64
- * @throws {@link Management.UnauthorizedError}
65
- * @throws {@link Management.ForbiddenError}
66
- * @throws {@link Management.NotFoundError}
67
- * @throws {@link Management.TooManyRequestsError}
68
- *
69
- * @example
70
- * await client.attackProtection.captchaPolicies.list()
71
- */
72
- list(requestOptions) {
73
- return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
74
- }
75
- __list(requestOptions) {
76
- return __awaiter(this, void 0, void 0, function* () {
77
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
78
- const _authRequest = yield this._options.authProvider.getAuthRequest();
79
- 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);
80
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
81
- 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, "attack-protection/captcha/policies"),
82
- method: "GET",
83
- headers: _headers,
84
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
85
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
86
- 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,
87
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
88
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
89
- logging: this._options.logging,
90
- });
91
- if (_response.ok) {
92
- return {
93
- data: _response.body,
94
- rawResponse: _response.rawResponse,
95
- };
96
- }
97
- if (_response.error.reason === "status-code") {
98
- switch (_response.error.statusCode) {
99
- case 400:
100
- throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
101
- case 401:
102
- throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
103
- case 403:
104
- throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
105
- case 404:
106
- throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
107
- case 429:
108
- throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
109
- default:
110
- throw new errors.ManagementError({
111
- statusCode: _response.error.statusCode,
112
- body: _response.error.body,
113
- rawResponse: _response.rawResponse,
114
- });
115
- }
116
- }
117
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/attack-protection/captcha/policies");
118
- });
119
- }
120
- /**
121
- * Create a new CAPTCHA attack protection policy for the tenant. The maximum number of policies per tenant is determined by the tenant's subscription.
122
- *
123
- * @param {Management.CreateAttackProtectionCaptchaPolicyRequestContent} request
124
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
125
- *
126
- * @throws {@link Management.BadRequestError}
127
- * @throws {@link Management.UnauthorizedError}
128
- * @throws {@link Management.ForbiddenError}
129
- * @throws {@link Management.NotFoundError}
130
- * @throws {@link Management.ConflictError}
131
- * @throws {@link Management.TooManyRequestsError}
132
- *
133
- * @example
134
- * await client.attackProtection.captchaPolicies.create({
135
- * name: "name",
136
- * priority: 1,
137
- * match: {},
138
- * action: {}
139
- * })
140
- */
141
- create(request, requestOptions) {
142
- return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
143
- }
144
- __create(request, requestOptions) {
145
- return __awaiter(this, void 0, void 0, function* () {
146
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
147
- const _authRequest = yield this._options.authProvider.getAuthRequest();
148
- 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);
149
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
150
- 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, "attack-protection/captcha/policies"),
151
- method: "POST",
152
- headers: _headers,
153
- contentType: "application/json",
154
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
155
- requestType: "json",
156
- body: request,
157
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
158
- 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,
159
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
160
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
161
- logging: this._options.logging,
162
- });
163
- if (_response.ok) {
164
- return {
165
- data: _response.body,
166
- rawResponse: _response.rawResponse,
167
- };
168
- }
169
- if (_response.error.reason === "status-code") {
170
- switch (_response.error.statusCode) {
171
- case 400:
172
- throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
173
- case 401:
174
- throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
175
- case 403:
176
- throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
177
- case 404:
178
- throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
179
- case 409:
180
- throw new Management.ConflictError(_response.error.body, _response.rawResponse);
181
- case 429:
182
- throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
183
- default:
184
- throw new errors.ManagementError({
185
- statusCode: _response.error.statusCode,
186
- body: _response.error.body,
187
- rawResponse: _response.rawResponse,
188
- });
189
- }
190
- }
191
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/attack-protection/captcha/policies");
192
- });
193
- }
194
- /**
195
- * Retrieve a single CAPTCHA attack protection policy for the tenant by ID.
196
- *
197
- * @param {string} id - ID of the CAPTCHA attack protection policy.
198
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
199
- *
200
- * @throws {@link Management.BadRequestError}
201
- * @throws {@link Management.UnauthorizedError}
202
- * @throws {@link Management.ForbiddenError}
203
- * @throws {@link Management.NotFoundError}
204
- * @throws {@link Management.TooManyRequestsError}
205
- *
206
- * @example
207
- * await client.attackProtection.captchaPolicies.get("id")
208
- */
209
- get(id, requestOptions) {
210
- return core.HttpResponsePromise.fromPromise(this.__get(id, requestOptions));
211
- }
212
- __get(id, requestOptions) {
213
- return __awaiter(this, void 0, void 0, function* () {
214
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
215
- const _authRequest = yield this._options.authProvider.getAuthRequest();
216
- 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);
217
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
218
- 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, `attack-protection/captcha/policies/${core.url.encodePathParam(id)}`),
219
- method: "GET",
220
- headers: _headers,
221
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
222
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
223
- 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
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
225
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
226
- logging: this._options.logging,
227
- });
228
- if (_response.ok) {
229
- return {
230
- data: _response.body,
231
- rawResponse: _response.rawResponse,
232
- };
233
- }
234
- if (_response.error.reason === "status-code") {
235
- switch (_response.error.statusCode) {
236
- case 400:
237
- throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
238
- case 401:
239
- throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
240
- case 403:
241
- throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
242
- case 404:
243
- throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
244
- case 429:
245
- throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
246
- default:
247
- throw new errors.ManagementError({
248
- statusCode: _response.error.statusCode,
249
- body: _response.error.body,
250
- rawResponse: _response.rawResponse,
251
- });
252
- }
253
- }
254
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/attack-protection/captcha/policies/{id}");
255
- });
256
- }
257
- /**
258
- * Delete a CAPTCHA attack protection policy for the tenant.
259
- *
260
- * @param {string} id - ID of the CAPTCHA attack protection policy.
261
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
262
- *
263
- * @throws {@link Management.BadRequestError}
264
- * @throws {@link Management.UnauthorizedError}
265
- * @throws {@link Management.ForbiddenError}
266
- * @throws {@link Management.NotFoundError}
267
- * @throws {@link Management.TooManyRequestsError}
268
- *
269
- * @example
270
- * await client.attackProtection.captchaPolicies.delete("id")
271
- */
272
- delete(id, requestOptions) {
273
- return core.HttpResponsePromise.fromPromise(this.__delete(id, requestOptions));
274
- }
275
- __delete(id, requestOptions) {
276
- return __awaiter(this, void 0, void 0, function* () {
277
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
278
- const _authRequest = yield this._options.authProvider.getAuthRequest();
279
- 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);
280
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
281
- 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, `attack-protection/captcha/policies/${core.url.encodePathParam(id)}`),
282
- method: "DELETE",
283
- headers: _headers,
284
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
285
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
286
- 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,
287
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
288
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
289
- logging: this._options.logging,
290
- });
291
- if (_response.ok) {
292
- return { data: undefined, rawResponse: _response.rawResponse };
293
- }
294
- if (_response.error.reason === "status-code") {
295
- switch (_response.error.statusCode) {
296
- case 400:
297
- throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
298
- case 401:
299
- throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
300
- case 403:
301
- throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
302
- case 404:
303
- throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
304
- case 429:
305
- throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
306
- default:
307
- throw new errors.ManagementError({
308
- statusCode: _response.error.statusCode,
309
- body: _response.error.body,
310
- rawResponse: _response.rawResponse,
311
- });
312
- }
313
- }
314
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/attack-protection/captcha/policies/{id}");
315
- });
316
- }
317
- /**
318
- * Partially update a CAPTCHA attack protection policy. Only the provided fields are modified. A provided match or action replaces the stored value in full rather than merging with it; within action, a provider secret or API key that is omitted from a provided provider block keeps its stored value.
319
- *
320
- * @param {string} id - ID of the CAPTCHA attack protection policy.
321
- * @param {Management.UpdateAttackProtectionCaptchaPolicyRequestContent} request
322
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
323
- *
324
- * @throws {@link Management.BadRequestError}
325
- * @throws {@link Management.UnauthorizedError}
326
- * @throws {@link Management.ForbiddenError}
327
- * @throws {@link Management.NotFoundError}
328
- * @throws {@link Management.ConflictError}
329
- * @throws {@link Management.TooManyRequestsError}
330
- *
331
- * @example
332
- * await client.attackProtection.captchaPolicies.update("id")
333
- */
334
- update(id, request = {}, requestOptions) {
335
- return core.HttpResponsePromise.fromPromise(this.__update(id, request, requestOptions));
336
- }
337
- __update(id_1) {
338
- return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
339
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
340
- const _authRequest = yield this._options.authProvider.getAuthRequest();
341
- 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);
342
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
343
- 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, `attack-protection/captcha/policies/${core.url.encodePathParam(id)}`),
344
- method: "PATCH",
345
- headers: _headers,
346
- contentType: "application/json",
347
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
348
- requestType: "json",
349
- body: request,
350
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
351
- 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,
352
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
353
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
354
- logging: this._options.logging,
355
- });
356
- if (_response.ok) {
357
- return {
358
- data: _response.body,
359
- rawResponse: _response.rawResponse,
360
- };
361
- }
362
- if (_response.error.reason === "status-code") {
363
- switch (_response.error.statusCode) {
364
- case 400:
365
- throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
366
- case 401:
367
- throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
368
- case 403:
369
- throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
370
- case 404:
371
- throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
372
- case 409:
373
- throw new Management.ConflictError(_response.error.body, _response.rawResponse);
374
- case 429:
375
- throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
376
- default:
377
- throw new errors.ManagementError({
378
- statusCode: _response.error.statusCode,
379
- body: _response.error.body,
380
- rawResponse: _response.rawResponse,
381
- });
382
- }
383
- }
384
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/attack-protection/captcha/policies/{id}");
385
- });
386
- }
387
- }
388
- exports.CaptchaPoliciesClient = CaptchaPoliciesClient;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export { CaptchaPoliciesClient } from "./client/Client.js";
2
- export * from "./client/index.js";
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
- };
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.CaptchaPoliciesClient = void 0;
19
- var Client_js_1 = require("./client/Client.js");
20
- Object.defineProperty(exports, "CaptchaPoliciesClient", { enumerable: true, get: function () { return Client_js_1.CaptchaPoliciesClient; } });
21
- __exportStar(require("./client/index.js"), exports);
@@ -1 +0,0 @@
1
- export * from "./client/index.js";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./client/index.js"), exports);
@@ -1,105 +0,0 @@
1
- import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.mjs";
2
- import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
3
- import * as core from "../../../../../../core/index.mjs";
4
- import * as Management from "../../../../../index.mjs";
5
- export declare namespace CaptchaPoliciesClient {
6
- type Options = BaseClientOptions;
7
- interface RequestOptions extends BaseRequestOptions {
8
- }
9
- }
10
- export declare class CaptchaPoliciesClient {
11
- protected readonly _options: NormalizedClientOptionsWithAuth<CaptchaPoliciesClient.Options>;
12
- constructor(options: CaptchaPoliciesClient.Options);
13
- /**
14
- * Retrieve all CAPTCHA attack protection policies for the tenant, sorted by priority ascending.
15
- *
16
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
17
- *
18
- * @throws {@link Management.BadRequestError}
19
- * @throws {@link Management.UnauthorizedError}
20
- * @throws {@link Management.ForbiddenError}
21
- * @throws {@link Management.NotFoundError}
22
- * @throws {@link Management.TooManyRequestsError}
23
- *
24
- * @example
25
- * await client.attackProtection.captchaPolicies.list()
26
- */
27
- list(requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.ListAttackProtectionCaptchaPoliciesResponseContent>;
28
- private __list;
29
- /**
30
- * Create a new CAPTCHA attack protection policy for the tenant. The maximum number of policies per tenant is determined by the tenant's subscription.
31
- *
32
- * @param {Management.CreateAttackProtectionCaptchaPolicyRequestContent} request
33
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
34
- *
35
- * @throws {@link Management.BadRequestError}
36
- * @throws {@link Management.UnauthorizedError}
37
- * @throws {@link Management.ForbiddenError}
38
- * @throws {@link Management.NotFoundError}
39
- * @throws {@link Management.ConflictError}
40
- * @throws {@link Management.TooManyRequestsError}
41
- *
42
- * @example
43
- * await client.attackProtection.captchaPolicies.create({
44
- * name: "name",
45
- * priority: 1,
46
- * match: {},
47
- * action: {}
48
- * })
49
- */
50
- create(request: Management.CreateAttackProtectionCaptchaPolicyRequestContent, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
51
- private __create;
52
- /**
53
- * Retrieve a single CAPTCHA attack protection policy for the tenant by ID.
54
- *
55
- * @param {string} id - ID of the CAPTCHA attack protection policy.
56
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
57
- *
58
- * @throws {@link Management.BadRequestError}
59
- * @throws {@link Management.UnauthorizedError}
60
- * @throws {@link Management.ForbiddenError}
61
- * @throws {@link Management.NotFoundError}
62
- * @throws {@link Management.TooManyRequestsError}
63
- *
64
- * @example
65
- * await client.attackProtection.captchaPolicies.get("id")
66
- */
67
- get(id: string, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
68
- private __get;
69
- /**
70
- * Delete a CAPTCHA attack protection policy for the tenant.
71
- *
72
- * @param {string} id - ID of the CAPTCHA attack protection policy.
73
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
74
- *
75
- * @throws {@link Management.BadRequestError}
76
- * @throws {@link Management.UnauthorizedError}
77
- * @throws {@link Management.ForbiddenError}
78
- * @throws {@link Management.NotFoundError}
79
- * @throws {@link Management.TooManyRequestsError}
80
- *
81
- * @example
82
- * await client.attackProtection.captchaPolicies.delete("id")
83
- */
84
- delete(id: string, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<void>;
85
- private __delete;
86
- /**
87
- * Partially update a CAPTCHA attack protection policy. Only the provided fields are modified. A provided match or action replaces the stored value in full rather than merging with it; within action, a provider secret or API key that is omitted from a provided provider block keeps its stored value.
88
- *
89
- * @param {string} id - ID of the CAPTCHA attack protection policy.
90
- * @param {Management.UpdateAttackProtectionCaptchaPolicyRequestContent} request
91
- * @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
92
- *
93
- * @throws {@link Management.BadRequestError}
94
- * @throws {@link Management.UnauthorizedError}
95
- * @throws {@link Management.ForbiddenError}
96
- * @throws {@link Management.NotFoundError}
97
- * @throws {@link Management.ConflictError}
98
- * @throws {@link Management.TooManyRequestsError}
99
- *
100
- * @example
101
- * await client.attackProtection.captchaPolicies.update("id")
102
- */
103
- update(id: string, request?: Management.UpdateAttackProtectionCaptchaPolicyRequestContent, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
104
- private __update;
105
- }