auth0 5.8.0 → 5.9.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 (324) hide show
  1. package/dist/cjs/management/Client.d.ts +3 -0
  2. package/dist/cjs/management/Client.js +67 -62
  3. package/dist/cjs/management/api/errors/GoneError.d.ts +5 -0
  4. package/dist/cjs/management/api/errors/GoneError.js +54 -0
  5. package/dist/cjs/management/api/errors/index.d.ts +1 -0
  6. package/dist/cjs/management/api/errors/index.js +1 -0
  7. package/dist/cjs/management/api/requests/requests.d.ts +55 -9
  8. package/dist/cjs/management/api/resources/actions/client/Client.js +15 -7
  9. package/dist/cjs/management/api/resources/actions/resources/executions/client/Client.js +1 -1
  10. package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +15 -7
  11. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +7 -3
  12. package/dist/cjs/management/api/resources/actions/resources/triggers/client/Client.js +1 -1
  13. package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.js +6 -2
  14. package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.js +7 -3
  15. package/dist/cjs/management/api/resources/anomaly/resources/blocks/client/Client.js +2 -2
  16. package/dist/cjs/management/api/resources/attackProtection/resources/botDetection/client/Client.js +2 -2
  17. package/dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.js +2 -2
  18. package/dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.js +2 -2
  19. package/dist/cjs/management/api/resources/attackProtection/resources/captcha/client/Client.js +2 -2
  20. package/dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.js +2 -2
  21. package/dist/cjs/management/api/resources/branding/client/Client.js +2 -2
  22. package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.js +10 -6
  23. package/dist/cjs/management/api/resources/branding/resources/phone/resources/templates/client/Client.js +11 -7
  24. package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.js +3 -3
  25. package/dist/cjs/management/api/resources/branding/resources/themes/client/Client.js +5 -5
  26. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +9 -5
  27. package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +5 -1
  28. package/dist/cjs/management/api/resources/clients/client/Client.js +16 -8
  29. package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.d.ts +1 -0
  30. package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.js +6 -1
  31. package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.js +5 -5
  32. package/dist/cjs/management/api/resources/connectionProfiles/client/Client.js +11 -7
  33. package/dist/cjs/management/api/resources/connections/client/Client.d.ts +1 -0
  34. package/dist/cjs/management/api/resources/connections/client/Client.js +15 -6
  35. package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.js +6 -2
  36. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +16 -8
  37. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.js +1 -1
  38. package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.js +3 -3
  39. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +10 -6
  40. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.js +3 -3
  41. package/dist/cjs/management/api/resources/connections/resources/users/client/Client.js +5 -1
  42. package/dist/cjs/management/api/resources/customDomains/client/Client.js +13 -9
  43. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +7 -3
  44. package/dist/cjs/management/api/resources/emailTemplates/client/Client.js +4 -4
  45. package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.js +8 -4
  46. package/dist/cjs/management/api/resources/eventStreams/client/Client.js +10 -6
  47. package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.js +6 -2
  48. package/dist/cjs/management/api/resources/eventStreams/resources/redeliveries/client/Client.js +2 -2
  49. package/dist/cjs/management/api/resources/events/client/Client.d.ts +18 -0
  50. package/dist/cjs/management/api/resources/events/client/Client.js +135 -0
  51. package/dist/cjs/management/api/resources/events/client/index.d.ts +1 -0
  52. package/dist/cjs/management/api/resources/events/client/index.js +2 -0
  53. package/dist/cjs/management/api/resources/events/index.d.ts +1 -0
  54. package/dist/cjs/management/api/resources/events/index.js +17 -0
  55. package/dist/cjs/management/api/resources/flows/client/Client.d.ts +4 -1
  56. package/dist/cjs/management/api/resources/flows/client/Client.js +17 -6
  57. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +3 -1
  58. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +14 -4
  59. package/dist/cjs/management/api/resources/flows/resources/vault/resources/connections/client/Client.js +9 -5
  60. package/dist/cjs/management/api/resources/forms/client/Client.d.ts +5 -2
  61. package/dist/cjs/management/api/resources/forms/client/Client.js +18 -7
  62. package/dist/cjs/management/api/resources/groups/client/Client.d.ts +1 -0
  63. package/dist/cjs/management/api/resources/groups/client/Client.js +10 -4
  64. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +5 -1
  65. package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.js +3 -3
  66. package/dist/cjs/management/api/resources/guardian/resources/factors/client/Client.js +2 -2
  67. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.js +3 -3
  68. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/client/Client.js +8 -8
  69. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.js +12 -12
  70. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/client/Client.js +6 -6
  71. package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.js +2 -2
  72. package/dist/cjs/management/api/resources/hooks/client/Client.js +13 -5
  73. package/dist/cjs/management/api/resources/hooks/resources/secrets/client/Client.js +4 -4
  74. package/dist/cjs/management/api/resources/index.d.ts +1 -0
  75. package/dist/cjs/management/api/resources/index.js +2 -1
  76. package/dist/cjs/management/api/resources/jobs/client/Client.js +1 -1
  77. package/dist/cjs/management/api/resources/jobs/resources/errors/client/Client.js +1 -1
  78. package/dist/cjs/management/api/resources/jobs/resources/usersExports/client/Client.js +1 -1
  79. package/dist/cjs/management/api/resources/jobs/resources/usersImports/client/Client.js +1 -1
  80. package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.js +1 -1
  81. package/dist/cjs/management/api/resources/keys/resources/customSigning/client/Client.js +3 -3
  82. package/dist/cjs/management/api/resources/keys/resources/encryption/client/Client.js +11 -7
  83. package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.js +4 -4
  84. package/dist/cjs/management/api/resources/logStreams/client/Client.js +5 -5
  85. package/dist/cjs/management/api/resources/logs/client/Client.js +6 -2
  86. package/dist/cjs/management/api/resources/networkAcls/client/Client.js +10 -6
  87. package/dist/cjs/management/api/resources/organizations/client/Client.js +10 -6
  88. package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.d.ts +1 -0
  89. package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.js +8 -3
  90. package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +9 -5
  91. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +10 -6
  92. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +9 -5
  93. package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +12 -4
  94. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +7 -3
  95. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +7 -3
  96. package/dist/cjs/management/api/resources/prompts/client/Client.js +2 -2
  97. package/dist/cjs/management/api/resources/prompts/resources/customText/client/Client.js +2 -2
  98. package/dist/cjs/management/api/resources/prompts/resources/partials/client/Client.js +2 -2
  99. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +8 -4
  100. package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +17 -0
  101. package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +71 -4
  102. package/dist/cjs/management/api/resources/resourceServers/client/Client.d.ts +1 -0
  103. package/dist/cjs/management/api/resources/resourceServers/client/Client.js +14 -5
  104. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/client/Client.js +2 -2
  105. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.js +2 -2
  106. package/dist/cjs/management/api/resources/roles/client/Client.js +9 -5
  107. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +7 -3
  108. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +6 -2
  109. package/dist/cjs/management/api/resources/rules/client/Client.js +13 -5
  110. package/dist/cjs/management/api/resources/rulesConfigs/client/Client.js +3 -3
  111. package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.js +9 -5
  112. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.ts +2 -2
  113. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.js +4 -4
  114. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts +2 -2
  115. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js +4 -4
  116. package/dist/cjs/management/api/resources/sessions/client/Client.js +4 -4
  117. package/dist/cjs/management/api/resources/stats/client/Client.js +6 -2
  118. package/dist/cjs/management/api/resources/supplementalSignals/client/Client.js +2 -2
  119. package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.js +6 -2
  120. package/dist/cjs/management/api/resources/tickets/client/Client.js +2 -2
  121. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +9 -5
  122. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +1 -1
  123. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +12 -8
  124. package/dist/cjs/management/api/resources/userBlocks/client/Client.js +16 -4
  125. package/dist/cjs/management/api/resources/userGrants/client/Client.js +11 -3
  126. package/dist/cjs/management/api/resources/users/client/Client.js +20 -8
  127. package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.js +11 -7
  128. package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.js +1 -1
  129. package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +5 -1
  130. package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.js +1 -1
  131. package/dist/cjs/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.js +2 -2
  132. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +5 -1
  133. package/dist/cjs/management/api/resources/users/resources/identities/client/Client.js +2 -2
  134. package/dist/cjs/management/api/resources/users/resources/logs/client/Client.js +5 -1
  135. package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.js +2 -2
  136. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +5 -1
  137. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +7 -3
  138. package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.js +6 -2
  139. package/dist/cjs/management/api/resources/users/resources/riskAssessments/client/Client.js +1 -1
  140. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +7 -3
  141. package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.js +6 -2
  142. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.ts +1 -1
  143. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.js +10 -6
  144. package/dist/cjs/management/api/types/types.d.ts +3454 -133
  145. package/dist/cjs/management/api/types/types.js +614 -11
  146. package/dist/cjs/management/core/fetcher/Fetcher.d.ts +6 -0
  147. package/dist/cjs/management/core/fetcher/Fetcher.js +9 -8
  148. package/dist/cjs/management/core/index.d.ts +1 -0
  149. package/dist/cjs/management/core/index.js +1 -0
  150. package/dist/cjs/management/core/stream/Stream.d.ts +56 -0
  151. package/dist/cjs/management/core/stream/Stream.js +267 -0
  152. package/dist/cjs/management/core/stream/index.d.ts +1 -0
  153. package/dist/cjs/management/core/stream/index.js +5 -0
  154. package/dist/cjs/management/core/url/QueryStringBuilder.d.ts +47 -0
  155. package/dist/cjs/management/core/url/QueryStringBuilder.js +83 -0
  156. package/dist/cjs/management/core/url/index.d.ts +1 -0
  157. package/dist/cjs/management/core/url/index.js +3 -1
  158. package/dist/cjs/management/core/url/qs.d.ts +2 -1
  159. package/dist/cjs/management/core/url/qs.js +24 -12
  160. package/dist/cjs/management/version.d.ts +1 -1
  161. package/dist/cjs/management/version.js +1 -1
  162. package/dist/esm/management/Client.d.mts +3 -0
  163. package/dist/esm/management/Client.mjs +5 -0
  164. package/dist/esm/management/api/errors/GoneError.d.mts +5 -0
  165. package/dist/esm/management/api/errors/GoneError.mjs +17 -0
  166. package/dist/esm/management/api/errors/index.d.mts +1 -0
  167. package/dist/esm/management/api/errors/index.mjs +1 -0
  168. package/dist/esm/management/api/requests/requests.d.mts +55 -9
  169. package/dist/esm/management/api/resources/actions/client/Client.mjs +15 -7
  170. package/dist/esm/management/api/resources/actions/resources/executions/client/Client.mjs +1 -1
  171. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +15 -7
  172. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +7 -3
  173. package/dist/esm/management/api/resources/actions/resources/triggers/client/Client.mjs +1 -1
  174. package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.mjs +6 -2
  175. package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +7 -3
  176. package/dist/esm/management/api/resources/anomaly/resources/blocks/client/Client.mjs +2 -2
  177. package/dist/esm/management/api/resources/attackProtection/resources/botDetection/client/Client.mjs +2 -2
  178. package/dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.mjs +2 -2
  179. package/dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.mjs +2 -2
  180. package/dist/esm/management/api/resources/attackProtection/resources/captcha/client/Client.mjs +2 -2
  181. package/dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.mjs +2 -2
  182. package/dist/esm/management/api/resources/branding/client/Client.mjs +2 -2
  183. package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +10 -6
  184. package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.mjs +11 -7
  185. package/dist/esm/management/api/resources/branding/resources/templates/client/Client.mjs +3 -3
  186. package/dist/esm/management/api/resources/branding/resources/themes/client/Client.mjs +5 -5
  187. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +9 -5
  188. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +5 -1
  189. package/dist/esm/management/api/resources/clients/client/Client.mjs +16 -8
  190. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.d.mts +1 -0
  191. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +6 -1
  192. package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.mjs +5 -5
  193. package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +11 -7
  194. package/dist/esm/management/api/resources/connections/client/Client.d.mts +1 -0
  195. package/dist/esm/management/api/resources/connections/client/Client.mjs +15 -6
  196. package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +6 -2
  197. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +16 -8
  198. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.mjs +1 -1
  199. package/dist/esm/management/api/resources/connections/resources/keys/client/Client.mjs +3 -3
  200. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +10 -6
  201. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.mjs +3 -3
  202. package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +5 -1
  203. package/dist/esm/management/api/resources/customDomains/client/Client.mjs +13 -9
  204. package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +7 -3
  205. package/dist/esm/management/api/resources/emailTemplates/client/Client.mjs +4 -4
  206. package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +8 -4
  207. package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +10 -6
  208. package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.mjs +6 -2
  209. package/dist/esm/management/api/resources/eventStreams/resources/redeliveries/client/Client.mjs +2 -2
  210. package/dist/esm/management/api/resources/events/client/Client.d.mts +18 -0
  211. package/dist/esm/management/api/resources/events/client/Client.mjs +98 -0
  212. package/dist/esm/management/api/resources/events/client/index.d.mts +1 -0
  213. package/dist/esm/management/api/resources/events/client/index.mjs +1 -0
  214. package/dist/esm/management/api/resources/events/index.d.mts +1 -0
  215. package/dist/esm/management/api/resources/events/index.mjs +1 -0
  216. package/dist/esm/management/api/resources/flows/client/Client.d.mts +4 -1
  217. package/dist/esm/management/api/resources/flows/client/Client.mjs +17 -6
  218. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +3 -1
  219. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +14 -4
  220. package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.mjs +9 -5
  221. package/dist/esm/management/api/resources/forms/client/Client.d.mts +5 -2
  222. package/dist/esm/management/api/resources/forms/client/Client.mjs +18 -7
  223. package/dist/esm/management/api/resources/groups/client/Client.d.mts +1 -0
  224. package/dist/esm/management/api/resources/groups/client/Client.mjs +10 -4
  225. package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +5 -1
  226. package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.mjs +3 -3
  227. package/dist/esm/management/api/resources/guardian/resources/factors/client/Client.mjs +2 -2
  228. package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.mjs +3 -3
  229. package/dist/esm/management/api/resources/guardian/resources/factors/resources/phone/client/Client.mjs +8 -8
  230. package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.mjs +12 -12
  231. package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.mjs +6 -6
  232. package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.mjs +2 -2
  233. package/dist/esm/management/api/resources/hooks/client/Client.mjs +13 -5
  234. package/dist/esm/management/api/resources/hooks/resources/secrets/client/Client.mjs +4 -4
  235. package/dist/esm/management/api/resources/index.d.mts +1 -0
  236. package/dist/esm/management/api/resources/index.mjs +1 -0
  237. package/dist/esm/management/api/resources/jobs/client/Client.mjs +1 -1
  238. package/dist/esm/management/api/resources/jobs/resources/errors/client/Client.mjs +1 -1
  239. package/dist/esm/management/api/resources/jobs/resources/usersExports/client/Client.mjs +1 -1
  240. package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.mjs +1 -1
  241. package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs +1 -1
  242. package/dist/esm/management/api/resources/keys/resources/customSigning/client/Client.mjs +3 -3
  243. package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.mjs +11 -7
  244. package/dist/esm/management/api/resources/keys/resources/signing/client/Client.mjs +4 -4
  245. package/dist/esm/management/api/resources/logStreams/client/Client.mjs +5 -5
  246. package/dist/esm/management/api/resources/logs/client/Client.mjs +6 -2
  247. package/dist/esm/management/api/resources/networkAcls/client/Client.mjs +10 -6
  248. package/dist/esm/management/api/resources/organizations/client/Client.mjs +10 -6
  249. package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.d.mts +1 -0
  250. package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.mjs +8 -3
  251. package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +9 -5
  252. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +10 -6
  253. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +9 -5
  254. package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +12 -4
  255. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +7 -3
  256. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +7 -3
  257. package/dist/esm/management/api/resources/prompts/client/Client.mjs +2 -2
  258. package/dist/esm/management/api/resources/prompts/resources/customText/client/Client.mjs +2 -2
  259. package/dist/esm/management/api/resources/prompts/resources/partials/client/Client.mjs +2 -2
  260. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +8 -4
  261. package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +17 -0
  262. package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +71 -4
  263. package/dist/esm/management/api/resources/resourceServers/client/Client.d.mts +1 -0
  264. package/dist/esm/management/api/resources/resourceServers/client/Client.mjs +14 -5
  265. package/dist/esm/management/api/resources/riskAssessments/resources/settings/client/Client.mjs +2 -2
  266. package/dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.mjs +2 -2
  267. package/dist/esm/management/api/resources/roles/client/Client.mjs +9 -5
  268. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +7 -3
  269. package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +6 -2
  270. package/dist/esm/management/api/resources/rules/client/Client.mjs +13 -5
  271. package/dist/esm/management/api/resources/rulesConfigs/client/Client.mjs +3 -3
  272. package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.mjs +9 -5
  273. package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.mts +2 -2
  274. package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.mjs +4 -4
  275. package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.mts +2 -2
  276. package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs +4 -4
  277. package/dist/esm/management/api/resources/sessions/client/Client.mjs +4 -4
  278. package/dist/esm/management/api/resources/stats/client/Client.mjs +6 -2
  279. package/dist/esm/management/api/resources/supplementalSignals/client/Client.mjs +2 -2
  280. package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.mjs +6 -2
  281. package/dist/esm/management/api/resources/tickets/client/Client.mjs +2 -2
  282. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +9 -5
  283. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +1 -1
  284. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +12 -8
  285. package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +16 -4
  286. package/dist/esm/management/api/resources/userGrants/client/Client.mjs +11 -3
  287. package/dist/esm/management/api/resources/users/client/Client.mjs +20 -8
  288. package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.mjs +11 -7
  289. package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.mjs +1 -1
  290. package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +5 -1
  291. package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.mjs +1 -1
  292. package/dist/esm/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.mjs +2 -2
  293. package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +5 -1
  294. package/dist/esm/management/api/resources/users/resources/identities/client/Client.mjs +2 -2
  295. package/dist/esm/management/api/resources/users/resources/logs/client/Client.mjs +5 -1
  296. package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.mjs +2 -2
  297. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +5 -1
  298. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +7 -3
  299. package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.mjs +6 -2
  300. package/dist/esm/management/api/resources/users/resources/riskAssessments/client/Client.mjs +1 -1
  301. package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +7 -3
  302. package/dist/esm/management/api/resources/users/resources/sessions/client/Client.mjs +6 -2
  303. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.mts +1 -1
  304. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.mjs +10 -6
  305. package/dist/esm/management/api/types/types.d.mts +3454 -133
  306. package/dist/esm/management/api/types/types.mjs +605 -5
  307. package/dist/esm/management/core/fetcher/Fetcher.d.mts +6 -0
  308. package/dist/esm/management/core/fetcher/Fetcher.mjs +9 -8
  309. package/dist/esm/management/core/index.d.mts +1 -0
  310. package/dist/esm/management/core/index.mjs +1 -0
  311. package/dist/esm/management/core/stream/Stream.d.mts +56 -0
  312. package/dist/esm/management/core/stream/Stream.mjs +262 -0
  313. package/dist/esm/management/core/stream/index.d.mts +1 -0
  314. package/dist/esm/management/core/stream/index.mjs +1 -0
  315. package/dist/esm/management/core/url/QueryStringBuilder.d.mts +47 -0
  316. package/dist/esm/management/core/url/QueryStringBuilder.mjs +80 -0
  317. package/dist/esm/management/core/url/index.d.mts +1 -0
  318. package/dist/esm/management/core/url/index.mjs +1 -0
  319. package/dist/esm/management/core/url/qs.d.mts +2 -1
  320. package/dist/esm/management/core/url/qs.mjs +24 -12
  321. package/dist/esm/management/version.d.mts +1 -1
  322. package/dist/esm/management/version.mjs +1 -1
  323. package/package.json +1 -1
  324. package/reference.md +164 -9
@@ -0,0 +1,5 @@
1
+ import * as core from "../../core/index.mjs";
2
+ import * as errors from "../../errors/index.mjs";
3
+ export declare class GoneError extends errors.ManagementError {
4
+ constructor(body?: unknown, rawResponse?: core.RawResponse);
5
+ }
@@ -0,0 +1,17 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as errors from "../../errors/index.mjs";
3
+ export class GoneError extends errors.ManagementError {
4
+ constructor(body, rawResponse) {
5
+ super({
6
+ message: "GoneError",
7
+ statusCode: 410,
8
+ body: body,
9
+ rawResponse: rawResponse,
10
+ });
11
+ Object.setPrototypeOf(this, new.target.prototype);
12
+ if (Error.captureStackTrace) {
13
+ Error.captureStackTrace(this, this.constructor);
14
+ }
15
+ this.name = this.constructor.name;
16
+ }
17
+ }
@@ -2,6 +2,7 @@ export * from "./BadRequestError.mjs";
2
2
  export * from "./ConflictError.mjs";
3
3
  export * from "./ContentTooLargeError.mjs";
4
4
  export * from "./ForbiddenError.mjs";
5
+ export * from "./GoneError.mjs";
5
6
  export * from "./InternalServerError.mjs";
6
7
  export * from "./NotFoundError.mjs";
7
8
  export * from "./PaymentRequiredError.mjs";
@@ -2,6 +2,7 @@ export * from "./BadRequestError.mjs";
2
2
  export * from "./ConflictError.mjs";
3
3
  export * from "./ContentTooLargeError.mjs";
4
4
  export * from "./ForbiddenError.mjs";
5
+ export * from "./GoneError.mjs";
5
6
  export * from "./InternalServerError.mjs";
6
7
  export * from "./NotFoundError.mjs";
7
8
  export * from "./PaymentRequiredError.mjs";
@@ -103,6 +103,7 @@ export interface UpdateBrandingRequestContent {
103
103
  favicon_url?: string | null;
104
104
  /** URL for the logo. Must use HTTPS. */
105
105
  logo_url?: string | null;
106
+ identifiers?: Management.UpdateBrandingIdentifiers | null;
106
107
  font?: Management.UpdateBrandingFont | null;
107
108
  }
108
109
  /**
@@ -130,7 +131,7 @@ export interface ListClientGrantsRequestParameters {
130
131
  allow_any_organization?: Management.ClientGrantAllowAnyOrganizationEnum | null;
131
132
  /** The type of application access the client grant allows. */
132
133
  subject_type?: Management.ClientGrantSubjectTypeEnum | null;
133
- /** Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. */
134
+ /** Applies this client grant as the default for all clients in the specified group. The only accepted value is <a href="https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants#default-permissions-for-third-party-applications">`third_party_clients`</a>, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. */
134
135
  default_for?: Management.ClientGrantDefaultForEnum | null;
135
136
  }
136
137
  /**
@@ -473,6 +474,7 @@ export interface UpdateConnectionProfileRequestContent {
473
474
  * {
474
475
  * from: "from",
475
476
  * take: 1,
477
+ * strategy: ["ad"],
476
478
  * name: "name",
477
479
  * fields: "fields",
478
480
  * include_fields: true
@@ -769,12 +771,29 @@ export interface CreateEventStreamTestEventRequestContent {
769
771
  event_type: Management.EventStreamTestEventTypeEnum;
770
772
  data?: Management.TestEventDataContent;
771
773
  }
774
+ /**
775
+ * @example
776
+ * {
777
+ * from: "from",
778
+ * from_timestamp: "from_timestamp",
779
+ * event_type: ["group.created"]
780
+ * }
781
+ */
782
+ export interface SubscribeEventsRequestParameters {
783
+ /** Opaque token representing position in the stream. If not provided, stream will start from the latest events. */
784
+ from?: string | null;
785
+ /** RFC-3339 timestamp indicating where to start streaming events from. This should only be used on the initial query when a cursor may not be available. Subsequent requests should use the cursor (from) as it will be more accurate. */
786
+ from_timestamp?: string | null;
787
+ /** Event type(s) to listen for. Specify multiple times for multiple types (e.g., ?event_type=user.created&event_type=user.updated). If not provided, all event types will be streamed. */
788
+ event_type?: (Management.EventStreamSubscribeEventsEventTypeEnum | null) | (Management.EventStreamSubscribeEventsEventTypeEnum | null)[];
789
+ }
772
790
  /**
773
791
  * @example
774
792
  * {
775
793
  * page: 1,
776
794
  * per_page: 1,
777
795
  * include_totals: true,
796
+ * hydrate: ["form_count"],
778
797
  * synchronous: true
779
798
  * }
780
799
  */
@@ -802,7 +821,9 @@ export interface CreateFlowRequestContent {
802
821
  }
803
822
  /**
804
823
  * @example
805
- * {}
824
+ * {
825
+ * hydrate: ["form_count"]
826
+ * }
806
827
  */
807
828
  export interface GetFlowRequestParameters {
808
829
  /** hydration param */
@@ -821,7 +842,8 @@ export interface UpdateFlowRequestContent {
821
842
  * {
822
843
  * page: 1,
823
844
  * per_page: 1,
824
- * include_totals: true
845
+ * include_totals: true,
846
+ * hydrate: ["flow_count"]
825
847
  * }
826
848
  */
827
849
  export interface ListFormsRequestParameters {
@@ -852,7 +874,9 @@ export interface CreateFormRequestContent {
852
874
  }
853
875
  /**
854
876
  * @example
855
- * {}
877
+ * {
878
+ * hydrate: ["flow_count"]
879
+ * }
856
880
  */
857
881
  export interface GetFormRequestParameters {
858
882
  /** Query parameter to hydrate the response with additional data */
@@ -913,6 +937,7 @@ export interface DeleteUserGrantByUserIdRequestParameters {
913
937
  * connection_id: "connection_id",
914
938
  * name: "name",
915
939
  * external_id: "external_id",
940
+ * search: "search",
916
941
  * fields: "fields",
917
942
  * include_fields: true,
918
943
  * from: "from",
@@ -926,6 +951,8 @@ export interface ListGroupsRequestParameters {
926
951
  name?: string | null;
927
952
  /** Filter groups by external ID. */
928
953
  external_id?: string | null;
954
+ /** Search for groups by name or external ID. */
955
+ search?: string | null;
929
956
  /** A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields */
930
957
  fields?: string | null;
931
958
  /** Whether specified fields are to be included (true) or excluded (false). */
@@ -1197,6 +1224,18 @@ export interface GetRefreshTokensRequestParameters {
1197
1224
  /** Whether specified fields are to be included (true) or excluded (false). */
1198
1225
  include_fields?: boolean | null;
1199
1226
  }
1227
+ /**
1228
+ * @example
1229
+ * {}
1230
+ */
1231
+ export interface RevokeRefreshTokensRequestContent {
1232
+ /** Array of refresh token IDs to revoke. Limited to 100 at a time. */
1233
+ ids?: string[];
1234
+ /** Revoke all refresh tokens for this user. */
1235
+ user_id?: string;
1236
+ /** Revoke all refresh tokens for this client. */
1237
+ client_id?: string;
1238
+ }
1200
1239
  /**
1201
1240
  * @example
1202
1241
  * {}
@@ -1208,6 +1247,7 @@ export interface UpdateRefreshTokenRequestContent {
1208
1247
  /**
1209
1248
  * @example
1210
1249
  * {
1250
+ * identifiers: ["identifiers"],
1211
1251
  * page: 1,
1212
1252
  * per_page: 1,
1213
1253
  * include_totals: true,
@@ -1258,6 +1298,7 @@ export interface CreateResourceServerRequestContent {
1258
1298
  authorization_details?: unknown[] | null;
1259
1299
  proof_of_possession?: Management.ResourceServerProofOfPossession | null;
1260
1300
  subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
1301
+ authorization_policy?: Management.ResourceServerAuthorizationPolicy | null;
1261
1302
  }
1262
1303
  /**
1263
1304
  * @example
@@ -1297,6 +1338,7 @@ export interface UpdateResourceServerRequestContent {
1297
1338
  authorization_details?: unknown[] | null;
1298
1339
  proof_of_possession?: Management.ResourceServerProofOfPossession | null;
1299
1340
  subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
1341
+ authorization_policy?: Management.ResourceServerAuthorizationPolicy | null;
1300
1342
  }
1301
1343
  /**
1302
1344
  * @example
@@ -1446,9 +1488,9 @@ export interface CreateSelfServiceProfileRequestContent {
1446
1488
  /** The description of the self-service Profile. */
1447
1489
  description?: string;
1448
1490
  branding?: Management.SelfServiceProfileBrandingProperties;
1449
- /** List of IdP strategies that will be shown to users during the Self-Service SSO flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] */
1491
+ /** List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] */
1450
1492
  allowed_strategies?: Management.SelfServiceProfileAllowedStrategyEnum[];
1451
- /** List of attributes to be mapped that will be shown to the user during the SS-SSO flow. */
1493
+ /** List of attributes to be mapped that will be shown to the user during the Self-Service Enterprise Configuration flow. */
1452
1494
  user_attributes?: Management.SelfServiceProfileUserAttribute[];
1453
1495
  /** ID of the user-attribute-profile to associate with this self-service profile. */
1454
1496
  user_attribute_profile_id?: string;
@@ -1462,7 +1504,7 @@ export interface UpdateSelfServiceProfileRequestContent {
1462
1504
  name?: string;
1463
1505
  description?: (Management.SelfServiceProfileDescription | undefined) | null;
1464
1506
  branding?: Management.SelfServiceProfileBranding | undefined;
1465
- /** List of IdP strategies that will be shown to users during the Self-Service SSO flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] */
1507
+ /** List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] */
1466
1508
  allowed_strategies?: Management.SelfServiceProfileAllowedStrategyEnum[];
1467
1509
  user_attributes?: (Management.SelfServiceProfileUserAttributes | undefined) | null;
1468
1510
  /** ID of the user-attribute-profile to associate with this self-service profile. */
@@ -2324,6 +2366,7 @@ export interface PatchClientCredentialRequestContent {
2324
2366
  /**
2325
2367
  * @example
2326
2368
  * {
2369
+ * strategy: ["ad"],
2327
2370
  * from: "from",
2328
2371
  * take: 1,
2329
2372
  * fields: "fields",
@@ -2537,7 +2580,9 @@ export interface ListFlowExecutionsRequestParameters {
2537
2580
  }
2538
2581
  /**
2539
2582
  * @example
2540
- * {}
2583
+ * {
2584
+ * hydrate: ["debug"]
2585
+ * }
2541
2586
  */
2542
2587
  export interface GetFlowExecutionRequestParameters {
2543
2588
  /** Hydration param */
@@ -2891,6 +2936,7 @@ export interface ImportEncryptionKeyRequestContent {
2891
2936
  * {
2892
2937
  * audience: "audience",
2893
2938
  * client_id: "client_id",
2939
+ * grant_ids: ["grant_ids"],
2894
2940
  * page: 1,
2895
2941
  * per_page: 1,
2896
2942
  * include_totals: true
@@ -3346,7 +3392,7 @@ export interface AssignRoleUsersRequestContent {
3346
3392
  * {}
3347
3393
  */
3348
3394
  export interface CreateSelfServiceProfileSsoTicketRequestContent {
3349
- /** If provided, this will allow editing of the provided connection during the SSO Flow */
3395
+ /** If provided, this will allow editing of the provided connection during the Self-Service Enterprise Configuration flow */
3350
3396
  connection_id?: string;
3351
3397
  connection_config?: Management.SelfServiceProfileSsoTicketConnectionConfig;
3352
3398
  /** List of client_ids that the connection will be enabled for. */
@@ -79,7 +79,11 @@ export class ActionsClient {
79
79
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "actions/actions"),
80
80
  method: "GET",
81
81
  headers: _headers,
82
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
82
+ queryString: core.url
83
+ .queryBuilder()
84
+ .addMany(_queryParams)
85
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
86
+ .build(),
83
87
  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,
84
88
  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,
85
89
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -158,7 +162,7 @@ export class ActionsClient {
158
162
  method: "POST",
159
163
  headers: _headers,
160
164
  contentType: "application/json",
161
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
165
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
162
166
  requestType: "json",
163
167
  body: request,
164
168
  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,
@@ -221,7 +225,7 @@ export class ActionsClient {
221
225
  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, `actions/actions/${core.url.encodePathParam(id)}`),
222
226
  method: "GET",
223
227
  headers: _headers,
224
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
228
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
225
229
  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,
226
230
  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,
227
231
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -288,7 +292,11 @@ export class ActionsClient {
288
292
  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, `actions/actions/${core.url.encodePathParam(id)}`),
289
293
  method: "DELETE",
290
294
  headers: _headers,
291
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
295
+ queryString: core.url
296
+ .queryBuilder()
297
+ .addMany(_queryParams)
298
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
299
+ .build(),
292
300
  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,
293
301
  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,
294
302
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -350,7 +358,7 @@ export class ActionsClient {
350
358
  method: "PATCH",
351
359
  headers: _headers,
352
360
  contentType: "application/json",
353
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
361
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
354
362
  requestType: "json",
355
363
  body: request,
356
364
  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,
@@ -414,7 +422,7 @@ export class ActionsClient {
414
422
  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, `actions/actions/${core.url.encodePathParam(id)}/deploy`),
415
423
  method: "POST",
416
424
  headers: _headers,
417
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
425
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
418
426
  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,
419
427
  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,
420
428
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -480,7 +488,7 @@ export class ActionsClient {
480
488
  method: "POST",
481
489
  headers: _headers,
482
490
  contentType: "application/json",
483
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
491
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
484
492
  requestType: "json",
485
493
  body: request,
486
494
  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,
@@ -46,7 +46,7 @@ export class ExecutionsClient {
46
46
  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, `actions/executions/${core.url.encodePathParam(id)}`),
47
47
  method: "GET",
48
48
  headers: _headers,
49
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
49
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
50
50
  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,
51
51
  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,
52
52
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -56,7 +56,11 @@ export class ModulesClient {
56
56
  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, "actions/modules"),
57
57
  method: "GET",
58
58
  headers: _headers,
59
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
59
+ queryString: core.url
60
+ .queryBuilder()
61
+ .addMany(_queryParams)
62
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
63
+ .build(),
60
64
  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,
61
65
  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,
62
66
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -134,7 +138,7 @@ export class ModulesClient {
134
138
  method: "POST",
135
139
  headers: _headers,
136
140
  contentType: "application/json",
137
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
141
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
138
142
  requestType: "json",
139
143
  body: request,
140
144
  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,
@@ -199,7 +203,7 @@ export class ModulesClient {
199
203
  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, `actions/modules/${core.url.encodePathParam(id)}`),
200
204
  method: "GET",
201
205
  headers: _headers,
202
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
206
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
203
207
  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,
204
208
  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,
205
209
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -263,7 +267,7 @@ export class ModulesClient {
263
267
  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, `actions/modules/${core.url.encodePathParam(id)}`),
264
268
  method: "DELETE",
265
269
  headers: _headers,
266
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
270
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
267
271
  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,
268
272
  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,
269
273
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -328,7 +332,7 @@ export class ModulesClient {
328
332
  method: "PATCH",
329
333
  headers: _headers,
330
334
  contentType: "application/json",
331
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
335
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
332
336
  requestType: "json",
333
337
  body: request,
334
338
  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,
@@ -402,7 +406,11 @@ export class ModulesClient {
402
406
  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, `actions/modules/${core.url.encodePathParam(id)}/actions`),
403
407
  method: "GET",
404
408
  headers: _headers,
405
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
409
+ queryString: core.url
410
+ .queryBuilder()
411
+ .addMany(_queryParams)
412
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
413
+ .build(),
406
414
  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,
407
415
  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,
408
416
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -483,7 +491,7 @@ export class ModulesClient {
483
491
  method: "POST",
484
492
  headers: _headers,
485
493
  contentType: "application/json",
486
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
494
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
487
495
  requestType: "json",
488
496
  body: request,
489
497
  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,
@@ -53,7 +53,11 @@ export class VersionsClient {
53
53
  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, `actions/modules/${core.url.encodePathParam(id)}/versions`),
54
54
  method: "GET",
55
55
  headers: _headers,
56
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
56
+ queryString: core.url
57
+ .queryBuilder()
58
+ .addMany(_queryParams)
59
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
60
+ .build(),
57
61
  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,
58
62
  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,
59
63
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -130,7 +134,7 @@ export class VersionsClient {
130
134
  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, `actions/modules/${core.url.encodePathParam(id)}/versions`),
131
135
  method: "POST",
132
136
  headers: _headers,
133
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
137
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
134
138
  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,
135
139
  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,
136
140
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -196,7 +200,7 @@ export class VersionsClient {
196
200
  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, `actions/modules/${core.url.encodePathParam(id)}/versions/${core.url.encodePathParam(versionId)}`),
197
201
  method: "GET",
198
202
  headers: _headers,
199
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
203
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
200
204
  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,
201
205
  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,
202
206
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -49,7 +49,7 @@ export class TriggersClient {
49
49
  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, "actions/triggers"),
50
50
  method: "GET",
51
51
  headers: _headers,
52
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
52
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
53
53
  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,
54
54
  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,
55
55
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -52,7 +52,11 @@ export class BindingsClient {
52
52
  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, `actions/triggers/${core.url.encodePathParam(triggerId)}/bindings`),
53
53
  method: "GET",
54
54
  headers: _headers,
55
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
55
+ queryString: core.url
56
+ .queryBuilder()
57
+ .addMany(_queryParams)
58
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
59
+ .build(),
56
60
  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,
57
61
  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,
58
62
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -127,7 +131,7 @@ export class BindingsClient {
127
131
  method: "PATCH",
128
132
  headers: _headers,
129
133
  contentType: "application/json",
130
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
134
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
131
135
  requestType: "json",
132
136
  body: request,
133
137
  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,
@@ -52,7 +52,11 @@ export class VersionsClient {
52
52
  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, `actions/actions/${core.url.encodePathParam(actionId)}/versions`),
53
53
  method: "GET",
54
54
  headers: _headers,
55
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
55
+ queryString: core.url
56
+ .queryBuilder()
57
+ .addMany(_queryParams)
58
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
59
+ .build(),
56
60
  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,
57
61
  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,
58
62
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -127,7 +131,7 @@ export class VersionsClient {
127
131
  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, `actions/actions/${core.url.encodePathParam(actionId)}/versions/${core.url.encodePathParam(id)}`),
128
132
  method: "GET",
129
133
  headers: _headers,
130
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
134
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
131
135
  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,
132
136
  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,
133
137
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -192,7 +196,7 @@ export class VersionsClient {
192
196
  method: "POST",
193
197
  headers: _headers,
194
198
  contentType: "application/json",
195
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
199
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
196
200
  requestType: "json",
197
201
  body: request,
198
202
  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,
@@ -46,7 +46,7 @@ export class BlocksClient {
46
46
  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, `anomaly/blocks/ips/${core.url.encodePathParam(id)}`),
47
47
  method: "GET",
48
48
  headers: _headers,
49
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
49
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
50
50
  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,
51
51
  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,
52
52
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -105,7 +105,7 @@ export class BlocksClient {
105
105
  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, `anomaly/blocks/ips/${core.url.encodePathParam(id)}`),
106
106
  method: "DELETE",
107
107
  headers: _headers,
108
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
108
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
109
109
  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,
110
110
  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,
111
111
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -44,7 +44,7 @@ export class BotDetectionClient {
44
44
  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/bot-detection"),
45
45
  method: "GET",
46
46
  headers: _headers,
47
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
47
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
48
48
  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,
49
49
  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,
50
50
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -106,7 +106,7 @@ export class BotDetectionClient {
106
106
  method: "PATCH",
107
107
  headers: _headers,
108
108
  contentType: "application/json",
109
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
109
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
110
110
  requestType: "json",
111
111
  body: request,
112
112
  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,
@@ -43,7 +43,7 @@ export class BreachedPasswordDetectionClient {
43
43
  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/breached-password-detection"),
44
44
  method: "GET",
45
45
  headers: _headers,
46
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
46
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
47
47
  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,
48
48
  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,
49
49
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -102,7 +102,7 @@ export class BreachedPasswordDetectionClient {
102
102
  method: "PATCH",
103
103
  headers: _headers,
104
104
  contentType: "application/json",
105
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
105
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
106
106
  requestType: "json",
107
107
  body: request,
108
108
  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,
@@ -43,7 +43,7 @@ export class BruteForceProtectionClient {
43
43
  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/brute-force-protection"),
44
44
  method: "GET",
45
45
  headers: _headers,
46
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
46
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
47
47
  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,
48
48
  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,
49
49
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -102,7 +102,7 @@ export class BruteForceProtectionClient {
102
102
  method: "PATCH",
103
103
  headers: _headers,
104
104
  contentType: "application/json",
105
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
105
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
106
106
  requestType: "json",
107
107
  body: request,
108
108
  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,
@@ -44,7 +44,7 @@ export class CaptchaClient {
44
44
  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"),
45
45
  method: "GET",
46
46
  headers: _headers,
47
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
47
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
48
48
  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,
49
49
  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,
50
50
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -105,7 +105,7 @@ export class CaptchaClient {
105
105
  method: "PATCH",
106
106
  headers: _headers,
107
107
  contentType: "application/json",
108
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
108
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
109
109
  requestType: "json",
110
110
  body: request,
111
111
  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,