auth0 5.8.0 → 5.9.1

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 +2 -2
  324. package/reference.md +164 -9
@@ -90,7 +90,11 @@ class ConnectionsClient {
90
90
  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, `organizations/${core.url.encodePathParam(id)}/connections`),
91
91
  method: "GET",
92
92
  headers: _headers,
93
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
93
+ queryString: core.url
94
+ .queryBuilder()
95
+ .addMany(_queryParams)
96
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
97
+ .build(),
94
98
  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,
95
99
  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,
96
100
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -166,7 +170,7 @@ class ConnectionsClient {
166
170
  method: "POST",
167
171
  headers: _headers,
168
172
  contentType: "application/json",
169
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
173
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
170
174
  requestType: "json",
171
175
  body: request,
172
176
  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,
@@ -229,7 +233,7 @@ class ConnectionsClient {
229
233
  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, `organizations/${core.url.encodePathParam(id)}/connections/${core.url.encodePathParam(connection_id)}`),
230
234
  method: "GET",
231
235
  headers: _headers,
232
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
236
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
233
237
  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,
234
238
  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,
235
239
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -287,7 +291,7 @@ class ConnectionsClient {
287
291
  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, `organizations/${core.url.encodePathParam(id)}/connections/${core.url.encodePathParam(connection_id)}`),
288
292
  method: "DELETE",
289
293
  headers: _headers,
290
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
294
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
291
295
  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,
292
296
  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,
293
297
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -343,7 +347,7 @@ class ConnectionsClient {
343
347
  method: "PATCH",
344
348
  headers: _headers,
345
349
  contentType: "application/json",
346
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
350
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
347
351
  requestType: "json",
348
352
  body: request,
349
353
  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,
@@ -90,7 +90,11 @@ class DiscoveryDomainsClient {
90
90
  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, `organizations/${core.url.encodePathParam(id)}/discovery-domains`),
91
91
  method: "GET",
92
92
  headers: _headers,
93
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
93
+ queryString: core.url
94
+ .queryBuilder()
95
+ .addMany(_queryParams)
96
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
97
+ .build(),
94
98
  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,
95
99
  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,
96
100
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -169,7 +173,7 @@ class DiscoveryDomainsClient {
169
173
  method: "POST",
170
174
  headers: _headers,
171
175
  contentType: "application/json",
172
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
176
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
173
177
  requestType: "json",
174
178
  body: request,
175
179
  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,
@@ -238,7 +242,7 @@ class DiscoveryDomainsClient {
238
242
  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, `organizations/${core.url.encodePathParam(id)}/discovery-domains/name/${core.url.encodePathParam(discovery_domain)}`),
239
243
  method: "GET",
240
244
  headers: _headers,
241
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
245
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
242
246
  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,
243
247
  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,
244
248
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -303,7 +307,7 @@ class DiscoveryDomainsClient {
303
307
  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, `organizations/${core.url.encodePathParam(id)}/discovery-domains/${core.url.encodePathParam(discovery_domain_id)}`),
304
308
  method: "GET",
305
309
  headers: _headers,
306
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
310
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
307
311
  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,
308
312
  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,
309
313
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -366,7 +370,7 @@ class DiscoveryDomainsClient {
366
370
  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, `organizations/${core.url.encodePathParam(id)}/discovery-domains/${core.url.encodePathParam(discovery_domain_id)}`),
367
371
  method: "DELETE",
368
372
  headers: _headers,
369
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
373
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
370
374
  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,
371
375
  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,
372
376
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -424,7 +428,7 @@ class DiscoveryDomainsClient {
424
428
  method: "PATCH",
425
429
  headers: _headers,
426
430
  contentType: "application/json",
427
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
431
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
428
432
  requestType: "json",
429
433
  body: request,
430
434
  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,
@@ -90,7 +90,11 @@ class EnabledConnectionsClient {
90
90
  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, `organizations/${core.url.encodePathParam(id)}/enabled_connections`),
91
91
  method: "GET",
92
92
  headers: _headers,
93
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
93
+ queryString: core.url
94
+ .queryBuilder()
95
+ .addMany(_queryParams)
96
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
97
+ .build(),
94
98
  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,
95
99
  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,
96
100
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -169,7 +173,7 @@ class EnabledConnectionsClient {
169
173
  method: "POST",
170
174
  headers: _headers,
171
175
  contentType: "application/json",
172
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
176
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
173
177
  requestType: "json",
174
178
  body: request,
175
179
  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,
@@ -231,7 +235,7 @@ class EnabledConnectionsClient {
231
235
  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, `organizations/${core.url.encodePathParam(id)}/enabled_connections/${core.url.encodePathParam(connectionId)}`),
232
236
  method: "GET",
233
237
  headers: _headers,
234
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
238
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
235
239
  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,
236
240
  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,
237
241
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -292,7 +296,7 @@ class EnabledConnectionsClient {
292
296
  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, `organizations/${core.url.encodePathParam(id)}/enabled_connections/${core.url.encodePathParam(connectionId)}`),
293
297
  method: "DELETE",
294
298
  headers: _headers,
295
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
299
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
296
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,
297
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,
298
302
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -352,7 +356,7 @@ class EnabledConnectionsClient {
352
356
  method: "PATCH",
353
357
  headers: _headers,
354
358
  contentType: "application/json",
355
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
359
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
356
360
  requestType: "json",
357
361
  body: request,
358
362
  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,
@@ -97,7 +97,11 @@ class InvitationsClient {
97
97
  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, `organizations/${core.url.encodePathParam(id)}/invitations`),
98
98
  method: "GET",
99
99
  headers: _headers,
100
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
100
+ queryString: core.url
101
+ .queryBuilder()
102
+ .addMany(_queryParams)
103
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
104
+ .build(),
101
105
  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,
102
106
  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,
103
107
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -183,7 +187,7 @@ class InvitationsClient {
183
187
  method: "POST",
184
188
  headers: _headers,
185
189
  contentType: "application/json",
186
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
190
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
187
191
  requestType: "json",
188
192
  body: request,
189
193
  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,
@@ -256,7 +260,11 @@ class InvitationsClient {
256
260
  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, `organizations/${core.url.encodePathParam(id)}/invitations/${core.url.encodePathParam(invitation_id)}`),
257
261
  method: "GET",
258
262
  headers: _headers,
259
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
263
+ queryString: core.url
264
+ .queryBuilder()
265
+ .addMany(_queryParams)
266
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
267
+ .build(),
260
268
  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,
261
269
  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,
262
270
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -317,7 +325,7 @@ class InvitationsClient {
317
325
  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, `organizations/${core.url.encodePathParam(id)}/invitations/${core.url.encodePathParam(invitation_id)}`),
318
326
  method: "DELETE",
319
327
  headers: _headers,
320
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
328
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
321
329
  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,
322
330
  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,
323
331
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -118,7 +118,11 @@ class MembersClient {
118
118
  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, `organizations/${core.url.encodePathParam(id)}/members`),
119
119
  method: "GET",
120
120
  headers: _headers,
121
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
121
+ queryString: core.url
122
+ .queryBuilder()
123
+ .addMany(_queryParams)
124
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
125
+ .build(),
122
126
  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,
123
127
  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,
124
128
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -195,7 +199,7 @@ class MembersClient {
195
199
  method: "POST",
196
200
  headers: _headers,
197
201
  contentType: "application/json",
198
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
202
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
199
203
  requestType: "json",
200
204
  body: request,
201
205
  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,
@@ -256,7 +260,7 @@ class MembersClient {
256
260
  method: "DELETE",
257
261
  headers: _headers,
258
262
  contentType: "application/json",
259
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
263
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
260
264
  requestType: "json",
261
265
  body: request,
262
266
  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,
@@ -93,7 +93,11 @@ class RolesClient {
93
93
  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, `organizations/${core.url.encodePathParam(id)}/members/${core.url.encodePathParam(user_id)}/roles`),
94
94
  method: "GET",
95
95
  headers: _headers,
96
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
96
+ queryString: core.url
97
+ .queryBuilder()
98
+ .addMany(_queryParams)
99
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
100
+ .build(),
97
101
  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,
98
102
  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,
99
103
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -174,7 +178,7 @@ class RolesClient {
174
178
  method: "POST",
175
179
  headers: _headers,
176
180
  contentType: "application/json",
177
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
181
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
178
182
  requestType: "json",
179
183
  body: request,
180
184
  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,
@@ -242,7 +246,7 @@ class RolesClient {
242
246
  method: "DELETE",
243
247
  headers: _headers,
244
248
  contentType: "application/json",
245
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
249
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
246
250
  requestType: "json",
247
251
  body: request,
248
252
  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,
@@ -94,7 +94,7 @@ class PromptsClient {
94
94
  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, "prompts"),
95
95
  method: "GET",
96
96
  headers: _headers,
97
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
97
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
98
98
  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,
99
99
  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,
100
100
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -153,7 +153,7 @@ class PromptsClient {
153
153
  method: "PATCH",
154
154
  headers: _headers,
155
155
  contentType: "application/json",
156
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
156
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
157
157
  requestType: "json",
158
158
  body: request,
159
159
  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,
@@ -83,7 +83,7 @@ class CustomTextClient {
83
83
  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, `prompts/${core.url.encodePathParam(prompt)}/custom-text/${core.url.encodePathParam(language)}`),
84
84
  method: "GET",
85
85
  headers: _headers,
86
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
86
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
87
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,
88
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,
89
89
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -150,7 +150,7 @@ class CustomTextClient {
150
150
  method: "PUT",
151
151
  headers: _headers,
152
152
  contentType: "application/json",
153
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
153
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
154
154
  requestType: "json",
155
155
  body: request,
156
156
  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,
@@ -82,7 +82,7 @@ class PartialsClient {
82
82
  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, `prompts/${core.url.encodePathParam(prompt)}/partials`),
83
83
  method: "GET",
84
84
  headers: _headers,
85
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
85
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
86
86
  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,
87
87
  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,
88
88
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -148,7 +148,7 @@ class PartialsClient {
148
148
  method: "PUT",
149
149
  headers: _headers,
150
150
  contentType: "application/json",
151
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
151
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
152
152
  requestType: "json",
153
153
  body: request,
154
154
  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,
@@ -100,7 +100,11 @@ class RenderingClient {
100
100
  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, "prompts/rendering"),
101
101
  method: "GET",
102
102
  headers: _headers,
103
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
103
+ queryString: core.url
104
+ .queryBuilder()
105
+ .addMany(_queryParams)
106
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
107
+ .build(),
104
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,
105
109
  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,
106
110
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -182,7 +186,7 @@ class RenderingClient {
182
186
  method: "PATCH",
183
187
  headers: _headers,
184
188
  contentType: "application/json",
185
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
189
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
186
190
  requestType: "json",
187
191
  body: request,
188
192
  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,
@@ -249,7 +253,7 @@ class RenderingClient {
249
253
  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, `prompts/${core.url.encodePathParam(prompt)}/screen/${core.url.encodePathParam(screen)}/rendering`),
250
254
  method: "GET",
251
255
  headers: _headers,
252
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
256
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
253
257
  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,
254
258
  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,
255
259
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -314,7 +318,7 @@ class RenderingClient {
314
318
  method: "PATCH",
315
319
  headers: _headers,
316
320
  contentType: "application/json",
317
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
321
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
318
322
  requestType: "json",
319
323
  body: request,
320
324
  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,
@@ -33,12 +33,29 @@ export declare class RefreshTokensClient {
33
33
  * })
34
34
  */
35
35
  list(request: Management.GetRefreshTokensRequestParameters, requestOptions?: RefreshTokensClient.RequestOptions): Promise<core.Page<Management.RefreshTokenResponseContent, Management.GetRefreshTokensPaginatedResponseContent>>;
36
+ /**
37
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
38
+ *
39
+ * @param {Management.RevokeRefreshTokensRequestContent} request
40
+ * @param {RefreshTokensClient.RequestOptions} requestOptions - Request-specific configuration.
41
+ *
42
+ * @throws {@link Management.BadRequestError}
43
+ * @throws {@link Management.UnauthorizedError}
44
+ * @throws {@link Management.ForbiddenError}
45
+ * @throws {@link Management.TooManyRequestsError}
46
+ *
47
+ * @example
48
+ * await client.refreshTokens.revoke()
49
+ */
50
+ revoke(request?: Management.RevokeRefreshTokensRequestContent, requestOptions?: RefreshTokensClient.RequestOptions): core.HttpResponsePromise<void>;
51
+ private __revoke;
36
52
  /**
37
53
  * Retrieve refresh token information.
38
54
  *
39
55
  * @param {string} id - ID refresh token to retrieve
40
56
  * @param {RefreshTokensClient.RequestOptions} requestOptions - Request-specific configuration.
41
57
  *
58
+ * @throws {@link Management.BadRequestError}
42
59
  * @throws {@link Management.UnauthorizedError}
43
60
  * @throws {@link Management.ForbiddenError}
44
61
  * @throws {@link Management.NotFoundError}
@@ -96,7 +96,11 @@ class RefreshTokensClient {
96
96
  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, "refresh-tokens"),
97
97
  method: "GET",
98
98
  headers: _headers,
99
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
99
+ queryString: core.url
100
+ .queryBuilder()
101
+ .addMany(_queryParams)
102
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
103
+ .build(),
100
104
  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,
101
105
  maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
102
106
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -143,12 +147,73 @@ class RefreshTokensClient {
143
147
  });
144
148
  });
145
149
  }
150
+ /**
151
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
152
+ *
153
+ * @param {Management.RevokeRefreshTokensRequestContent} request
154
+ * @param {RefreshTokensClient.RequestOptions} requestOptions - Request-specific configuration.
155
+ *
156
+ * @throws {@link Management.BadRequestError}
157
+ * @throws {@link Management.UnauthorizedError}
158
+ * @throws {@link Management.ForbiddenError}
159
+ * @throws {@link Management.TooManyRequestsError}
160
+ *
161
+ * @example
162
+ * await client.refreshTokens.revoke()
163
+ */
164
+ revoke(request = {}, requestOptions) {
165
+ return core.HttpResponsePromise.fromPromise(this.__revoke(request, requestOptions));
166
+ }
167
+ __revoke() {
168
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
169
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
170
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
171
+ 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);
172
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
173
+ 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, "refresh-tokens/revoke"),
174
+ method: "POST",
175
+ headers: _headers,
176
+ contentType: "application/json",
177
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
178
+ requestType: "json",
179
+ body: request,
180
+ 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,
181
+ 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,
182
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
183
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
184
+ logging: this._options.logging,
185
+ });
186
+ if (_response.ok) {
187
+ return { data: undefined, rawResponse: _response.rawResponse };
188
+ }
189
+ if (_response.error.reason === "status-code") {
190
+ switch (_response.error.statusCode) {
191
+ case 400:
192
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
193
+ case 401:
194
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
195
+ case 403:
196
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
197
+ case 429:
198
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
199
+ default:
200
+ throw new errors.ManagementError({
201
+ statusCode: _response.error.statusCode,
202
+ body: _response.error.body,
203
+ rawResponse: _response.rawResponse,
204
+ });
205
+ }
206
+ }
207
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/refresh-tokens/revoke");
208
+ });
209
+ }
146
210
  /**
147
211
  * Retrieve refresh token information.
148
212
  *
149
213
  * @param {string} id - ID refresh token to retrieve
150
214
  * @param {RefreshTokensClient.RequestOptions} requestOptions - Request-specific configuration.
151
215
  *
216
+ * @throws {@link Management.BadRequestError}
152
217
  * @throws {@link Management.UnauthorizedError}
153
218
  * @throws {@link Management.ForbiddenError}
154
219
  * @throws {@link Management.NotFoundError}
@@ -169,7 +234,7 @@ class RefreshTokensClient {
169
234
  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, `refresh-tokens/${core.url.encodePathParam(id)}`),
170
235
  method: "GET",
171
236
  headers: _headers,
172
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
237
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
173
238
  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,
174
239
  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,
175
240
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -184,6 +249,8 @@ class RefreshTokensClient {
184
249
  }
185
250
  if (_response.error.reason === "status-code") {
186
251
  switch (_response.error.statusCode) {
252
+ case 400:
253
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
187
254
  case 401:
188
255
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
189
256
  case 403:
@@ -229,7 +296,7 @@ class RefreshTokensClient {
229
296
  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, `refresh-tokens/${core.url.encodePathParam(id)}`),
230
297
  method: "DELETE",
231
298
  headers: _headers,
232
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
299
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
233
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,
234
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,
235
302
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -289,7 +356,7 @@ class RefreshTokensClient {
289
356
  method: "PATCH",
290
357
  headers: _headers,
291
358
  contentType: "application/json",
292
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
359
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
293
360
  requestType: "json",
294
361
  body: request,
295
362
  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,
@@ -23,6 +23,7 @@ export declare class ResourceServersClient {
23
23
  *
24
24
  * @example
25
25
  * await client.resourceServers.list({
26
+ * identifiers: ["identifiers"],
26
27
  * page: 1,
27
28
  * per_page: 1,
28
29
  * include_totals: true,