auth0 5.7.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 (326) 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 +56 -10
  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.d.ts +465 -300
  85. package/dist/cjs/management/api/resources/logStreams/client/Client.js +470 -305
  86. package/dist/cjs/management/api/resources/logs/client/Client.js +6 -2
  87. package/dist/cjs/management/api/resources/networkAcls/client/Client.js +10 -6
  88. package/dist/cjs/management/api/resources/organizations/client/Client.js +10 -6
  89. package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.d.ts +1 -0
  90. package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.js +8 -3
  91. package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +9 -5
  92. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +10 -6
  93. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +9 -5
  94. package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +12 -4
  95. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +7 -3
  96. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +7 -3
  97. package/dist/cjs/management/api/resources/prompts/client/Client.js +2 -2
  98. package/dist/cjs/management/api/resources/prompts/resources/customText/client/Client.js +2 -2
  99. package/dist/cjs/management/api/resources/prompts/resources/partials/client/Client.js +2 -2
  100. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +8 -4
  101. package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +17 -0
  102. package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +71 -4
  103. package/dist/cjs/management/api/resources/resourceServers/client/Client.d.ts +1 -0
  104. package/dist/cjs/management/api/resources/resourceServers/client/Client.js +14 -5
  105. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/client/Client.js +2 -2
  106. package/dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.js +2 -2
  107. package/dist/cjs/management/api/resources/roles/client/Client.js +9 -5
  108. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +7 -3
  109. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +6 -2
  110. package/dist/cjs/management/api/resources/rules/client/Client.js +13 -5
  111. package/dist/cjs/management/api/resources/rulesConfigs/client/Client.js +3 -3
  112. package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.js +9 -5
  113. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.ts +2 -2
  114. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.js +4 -4
  115. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts +2 -2
  116. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js +4 -4
  117. package/dist/cjs/management/api/resources/sessions/client/Client.js +4 -4
  118. package/dist/cjs/management/api/resources/stats/client/Client.js +6 -2
  119. package/dist/cjs/management/api/resources/supplementalSignals/client/Client.js +2 -2
  120. package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.js +6 -2
  121. package/dist/cjs/management/api/resources/tickets/client/Client.js +2 -2
  122. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +9 -5
  123. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +1 -1
  124. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +12 -8
  125. package/dist/cjs/management/api/resources/userBlocks/client/Client.js +16 -4
  126. package/dist/cjs/management/api/resources/userGrants/client/Client.js +11 -3
  127. package/dist/cjs/management/api/resources/users/client/Client.js +20 -8
  128. package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.js +11 -7
  129. package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.js +1 -1
  130. package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +5 -1
  131. package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.js +1 -1
  132. package/dist/cjs/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.js +2 -2
  133. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +5 -1
  134. package/dist/cjs/management/api/resources/users/resources/identities/client/Client.js +2 -2
  135. package/dist/cjs/management/api/resources/users/resources/logs/client/Client.js +5 -1
  136. package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.js +2 -2
  137. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +5 -1
  138. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +7 -3
  139. package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.js +6 -2
  140. package/dist/cjs/management/api/resources/users/resources/riskAssessments/client/Client.js +1 -1
  141. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +7 -3
  142. package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.js +6 -2
  143. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.ts +1 -1
  144. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.js +10 -6
  145. package/dist/cjs/management/api/types/types.d.ts +3481 -148
  146. package/dist/cjs/management/api/types/types.js +623 -15
  147. package/dist/cjs/management/core/fetcher/Fetcher.d.ts +6 -0
  148. package/dist/cjs/management/core/fetcher/Fetcher.js +9 -8
  149. package/dist/cjs/management/core/index.d.ts +1 -0
  150. package/dist/cjs/management/core/index.js +1 -0
  151. package/dist/cjs/management/core/stream/Stream.d.ts +56 -0
  152. package/dist/cjs/management/core/stream/Stream.js +267 -0
  153. package/dist/cjs/management/core/stream/index.d.ts +1 -0
  154. package/dist/cjs/management/core/stream/index.js +5 -0
  155. package/dist/cjs/management/core/url/QueryStringBuilder.d.ts +47 -0
  156. package/dist/cjs/management/core/url/QueryStringBuilder.js +83 -0
  157. package/dist/cjs/management/core/url/index.d.ts +1 -0
  158. package/dist/cjs/management/core/url/index.js +3 -1
  159. package/dist/cjs/management/core/url/qs.d.ts +2 -1
  160. package/dist/cjs/management/core/url/qs.js +24 -12
  161. package/dist/cjs/management/version.d.ts +1 -1
  162. package/dist/cjs/management/version.js +1 -1
  163. package/dist/esm/management/Client.d.mts +3 -0
  164. package/dist/esm/management/Client.mjs +5 -0
  165. package/dist/esm/management/api/errors/GoneError.d.mts +5 -0
  166. package/dist/esm/management/api/errors/GoneError.mjs +17 -0
  167. package/dist/esm/management/api/errors/index.d.mts +1 -0
  168. package/dist/esm/management/api/errors/index.mjs +1 -0
  169. package/dist/esm/management/api/requests/requests.d.mts +56 -10
  170. package/dist/esm/management/api/resources/actions/client/Client.mjs +15 -7
  171. package/dist/esm/management/api/resources/actions/resources/executions/client/Client.mjs +1 -1
  172. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +15 -7
  173. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +7 -3
  174. package/dist/esm/management/api/resources/actions/resources/triggers/client/Client.mjs +1 -1
  175. package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.mjs +6 -2
  176. package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +7 -3
  177. package/dist/esm/management/api/resources/anomaly/resources/blocks/client/Client.mjs +2 -2
  178. package/dist/esm/management/api/resources/attackProtection/resources/botDetection/client/Client.mjs +2 -2
  179. package/dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.mjs +2 -2
  180. package/dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.mjs +2 -2
  181. package/dist/esm/management/api/resources/attackProtection/resources/captcha/client/Client.mjs +2 -2
  182. package/dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.mjs +2 -2
  183. package/dist/esm/management/api/resources/branding/client/Client.mjs +2 -2
  184. package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +10 -6
  185. package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.mjs +11 -7
  186. package/dist/esm/management/api/resources/branding/resources/templates/client/Client.mjs +3 -3
  187. package/dist/esm/management/api/resources/branding/resources/themes/client/Client.mjs +5 -5
  188. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +9 -5
  189. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +5 -1
  190. package/dist/esm/management/api/resources/clients/client/Client.mjs +16 -8
  191. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.d.mts +1 -0
  192. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +6 -1
  193. package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.mjs +5 -5
  194. package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +11 -7
  195. package/dist/esm/management/api/resources/connections/client/Client.d.mts +1 -0
  196. package/dist/esm/management/api/resources/connections/client/Client.mjs +15 -6
  197. package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +6 -2
  198. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +16 -8
  199. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.mjs +1 -1
  200. package/dist/esm/management/api/resources/connections/resources/keys/client/Client.mjs +3 -3
  201. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +10 -6
  202. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.mjs +3 -3
  203. package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +5 -1
  204. package/dist/esm/management/api/resources/customDomains/client/Client.mjs +13 -9
  205. package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +7 -3
  206. package/dist/esm/management/api/resources/emailTemplates/client/Client.mjs +4 -4
  207. package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +8 -4
  208. package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +10 -6
  209. package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.mjs +6 -2
  210. package/dist/esm/management/api/resources/eventStreams/resources/redeliveries/client/Client.mjs +2 -2
  211. package/dist/esm/management/api/resources/events/client/Client.d.mts +18 -0
  212. package/dist/esm/management/api/resources/events/client/Client.mjs +98 -0
  213. package/dist/esm/management/api/resources/events/client/index.d.mts +1 -0
  214. package/dist/esm/management/api/resources/events/client/index.mjs +1 -0
  215. package/dist/esm/management/api/resources/events/index.d.mts +1 -0
  216. package/dist/esm/management/api/resources/events/index.mjs +1 -0
  217. package/dist/esm/management/api/resources/flows/client/Client.d.mts +4 -1
  218. package/dist/esm/management/api/resources/flows/client/Client.mjs +17 -6
  219. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +3 -1
  220. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +14 -4
  221. package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.mjs +9 -5
  222. package/dist/esm/management/api/resources/forms/client/Client.d.mts +5 -2
  223. package/dist/esm/management/api/resources/forms/client/Client.mjs +18 -7
  224. package/dist/esm/management/api/resources/groups/client/Client.d.mts +1 -0
  225. package/dist/esm/management/api/resources/groups/client/Client.mjs +10 -4
  226. package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +5 -1
  227. package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.mjs +3 -3
  228. package/dist/esm/management/api/resources/guardian/resources/factors/client/Client.mjs +2 -2
  229. package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.mjs +3 -3
  230. package/dist/esm/management/api/resources/guardian/resources/factors/resources/phone/client/Client.mjs +8 -8
  231. package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.mjs +12 -12
  232. package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.mjs +6 -6
  233. package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.mjs +2 -2
  234. package/dist/esm/management/api/resources/hooks/client/Client.mjs +13 -5
  235. package/dist/esm/management/api/resources/hooks/resources/secrets/client/Client.mjs +4 -4
  236. package/dist/esm/management/api/resources/index.d.mts +1 -0
  237. package/dist/esm/management/api/resources/index.mjs +1 -0
  238. package/dist/esm/management/api/resources/jobs/client/Client.mjs +1 -1
  239. package/dist/esm/management/api/resources/jobs/resources/errors/client/Client.mjs +1 -1
  240. package/dist/esm/management/api/resources/jobs/resources/usersExports/client/Client.mjs +1 -1
  241. package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.mjs +1 -1
  242. package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs +1 -1
  243. package/dist/esm/management/api/resources/keys/resources/customSigning/client/Client.mjs +3 -3
  244. package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.mjs +11 -7
  245. package/dist/esm/management/api/resources/keys/resources/signing/client/Client.mjs +4 -4
  246. package/dist/esm/management/api/resources/logStreams/client/Client.d.mts +465 -300
  247. package/dist/esm/management/api/resources/logStreams/client/Client.mjs +470 -305
  248. package/dist/esm/management/api/resources/logs/client/Client.mjs +6 -2
  249. package/dist/esm/management/api/resources/networkAcls/client/Client.mjs +10 -6
  250. package/dist/esm/management/api/resources/organizations/client/Client.mjs +10 -6
  251. package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.d.mts +1 -0
  252. package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.mjs +8 -3
  253. package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +9 -5
  254. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +10 -6
  255. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +9 -5
  256. package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +12 -4
  257. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +7 -3
  258. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +7 -3
  259. package/dist/esm/management/api/resources/prompts/client/Client.mjs +2 -2
  260. package/dist/esm/management/api/resources/prompts/resources/customText/client/Client.mjs +2 -2
  261. package/dist/esm/management/api/resources/prompts/resources/partials/client/Client.mjs +2 -2
  262. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +8 -4
  263. package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +17 -0
  264. package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +71 -4
  265. package/dist/esm/management/api/resources/resourceServers/client/Client.d.mts +1 -0
  266. package/dist/esm/management/api/resources/resourceServers/client/Client.mjs +14 -5
  267. package/dist/esm/management/api/resources/riskAssessments/resources/settings/client/Client.mjs +2 -2
  268. package/dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.mjs +2 -2
  269. package/dist/esm/management/api/resources/roles/client/Client.mjs +9 -5
  270. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +7 -3
  271. package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +6 -2
  272. package/dist/esm/management/api/resources/rules/client/Client.mjs +13 -5
  273. package/dist/esm/management/api/resources/rulesConfigs/client/Client.mjs +3 -3
  274. package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.mjs +9 -5
  275. package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.mts +2 -2
  276. package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.mjs +4 -4
  277. package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.mts +2 -2
  278. package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs +4 -4
  279. package/dist/esm/management/api/resources/sessions/client/Client.mjs +4 -4
  280. package/dist/esm/management/api/resources/stats/client/Client.mjs +6 -2
  281. package/dist/esm/management/api/resources/supplementalSignals/client/Client.mjs +2 -2
  282. package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.mjs +6 -2
  283. package/dist/esm/management/api/resources/tickets/client/Client.mjs +2 -2
  284. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +9 -5
  285. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +1 -1
  286. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +12 -8
  287. package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +16 -4
  288. package/dist/esm/management/api/resources/userGrants/client/Client.mjs +11 -3
  289. package/dist/esm/management/api/resources/users/client/Client.mjs +20 -8
  290. package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.mjs +11 -7
  291. package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.mjs +1 -1
  292. package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +5 -1
  293. package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.mjs +1 -1
  294. package/dist/esm/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.mjs +2 -2
  295. package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +5 -1
  296. package/dist/esm/management/api/resources/users/resources/identities/client/Client.mjs +2 -2
  297. package/dist/esm/management/api/resources/users/resources/logs/client/Client.mjs +5 -1
  298. package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.mjs +2 -2
  299. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +5 -1
  300. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +7 -3
  301. package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.mjs +6 -2
  302. package/dist/esm/management/api/resources/users/resources/riskAssessments/client/Client.mjs +1 -1
  303. package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +7 -3
  304. package/dist/esm/management/api/resources/users/resources/sessions/client/Client.mjs +6 -2
  305. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.mts +1 -1
  306. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.mjs +10 -6
  307. package/dist/esm/management/api/types/types.d.mts +3481 -148
  308. package/dist/esm/management/api/types/types.mjs +610 -5
  309. package/dist/esm/management/core/fetcher/Fetcher.d.mts +6 -0
  310. package/dist/esm/management/core/fetcher/Fetcher.mjs +9 -8
  311. package/dist/esm/management/core/index.d.mts +1 -0
  312. package/dist/esm/management/core/index.mjs +1 -0
  313. package/dist/esm/management/core/stream/Stream.d.mts +56 -0
  314. package/dist/esm/management/core/stream/Stream.mjs +262 -0
  315. package/dist/esm/management/core/stream/index.d.mts +1 -0
  316. package/dist/esm/management/core/stream/index.mjs +1 -0
  317. package/dist/esm/management/core/url/QueryStringBuilder.d.mts +47 -0
  318. package/dist/esm/management/core/url/QueryStringBuilder.mjs +80 -0
  319. package/dist/esm/management/core/url/index.d.mts +1 -0
  320. package/dist/esm/management/core/url/index.mjs +1 -0
  321. package/dist/esm/management/core/url/qs.d.mts +2 -1
  322. package/dist/esm/management/core/url/qs.mjs +24 -12
  323. package/dist/esm/management/version.d.mts +1 -1
  324. package/dist/esm/management/version.mjs +1 -1
  325. package/package.json +1 -1
  326. package/reference.md +668 -331
@@ -56,7 +56,11 @@ export class MembersClient {
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, `groups/${core.url.encodePathParam(id)}/members`),
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,
@@ -51,7 +51,7 @@ export class EnrollmentsClient {
51
51
  method: "POST",
52
52
  headers: _headers,
53
53
  contentType: "application/json",
54
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
54
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
55
55
  requestType: "json",
56
56
  body: request,
57
57
  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,
@@ -112,7 +112,7 @@ export class EnrollmentsClient {
112
112
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `guardian/enrollments/${core.url.encodePathParam(id)}`),
113
113
  method: "GET",
114
114
  headers: _headers,
115
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
115
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
116
116
  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,
117
117
  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,
118
118
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -169,7 +169,7 @@ export class EnrollmentsClient {
169
169
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `guardian/enrollments/${core.url.encodePathParam(id)}`),
170
170
  method: "DELETE",
171
171
  headers: _headers,
172
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
172
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
173
173
  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
174
  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
175
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -63,7 +63,7 @@ export class FactorsClient {
63
63
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors"),
64
64
  method: "GET",
65
65
  headers: _headers,
66
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
66
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
67
67
  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,
68
68
  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,
69
69
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -121,7 +121,7 @@ export class FactorsClient {
121
121
  method: "PUT",
122
122
  headers: _headers,
123
123
  contentType: "application/json",
124
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
124
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
125
125
  requestType: "json",
126
126
  body: request,
127
127
  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 SettingsClient {
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, "guardian/factors/duo/settings"),
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,
@@ -101,7 +101,7 @@ export class SettingsClient {
101
101
  method: "PUT",
102
102
  headers: _headers,
103
103
  contentType: "application/json",
104
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
104
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
105
105
  requestType: "json",
106
106
  body: request,
107
107
  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,
@@ -159,7 +159,7 @@ export class SettingsClient {
159
159
  method: "PATCH",
160
160
  headers: _headers,
161
161
  contentType: "application/json",
162
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
162
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
163
163
  requestType: "json",
164
164
  body: request,
165
165
  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 PhoneClient {
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, "guardian/factors/phone/message-types"),
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,
@@ -104,7 +104,7 @@ export class PhoneClient {
104
104
  method: "PUT",
105
105
  headers: _headers,
106
106
  contentType: "application/json",
107
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
107
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
108
108
  requestType: "json",
109
109
  body: request,
110
110
  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,
@@ -164,7 +164,7 @@ export class PhoneClient {
164
164
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/phone/providers/twilio"),
165
165
  method: "GET",
166
166
  headers: _headers,
167
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
167
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
168
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,
169
169
  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,
170
170
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -222,7 +222,7 @@ export class PhoneClient {
222
222
  method: "PUT",
223
223
  headers: _headers,
224
224
  contentType: "application/json",
225
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
225
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
226
226
  requestType: "json",
227
227
  body: request,
228
228
  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,
@@ -280,7 +280,7 @@ export class PhoneClient {
280
280
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/phone/selected-provider"),
281
281
  method: "GET",
282
282
  headers: _headers,
283
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
283
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
284
284
  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,
285
285
  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,
286
286
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -338,7 +338,7 @@ export class PhoneClient {
338
338
  method: "PUT",
339
339
  headers: _headers,
340
340
  contentType: "application/json",
341
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
341
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
342
342
  requestType: "json",
343
343
  body: request,
344
344
  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,
@@ -396,7 +396,7 @@ export class PhoneClient {
396
396
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/phone/templates"),
397
397
  method: "GET",
398
398
  headers: _headers,
399
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
399
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
400
400
  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,
401
401
  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,
402
402
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -457,7 +457,7 @@ export class PhoneClient {
457
457
  method: "PUT",
458
458
  headers: _headers,
459
459
  contentType: "application/json",
460
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
460
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
461
461
  requestType: "json",
462
462
  body: request,
463
463
  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 PushNotificationClient {
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, "guardian/factors/push-notification/providers/apns"),
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,
@@ -101,7 +101,7 @@ export class PushNotificationClient {
101
101
  method: "PUT",
102
102
  headers: _headers,
103
103
  contentType: "application/json",
104
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
104
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
105
105
  requestType: "json",
106
106
  body: request,
107
107
  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,
@@ -161,7 +161,7 @@ export class PushNotificationClient {
161
161
  method: "PATCH",
162
162
  headers: _headers,
163
163
  contentType: "application/json",
164
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
164
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
165
165
  requestType: "json",
166
166
  body: request,
167
167
  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 +221,7 @@ export class PushNotificationClient {
221
221
  method: "PUT",
222
222
  headers: _headers,
223
223
  contentType: "application/json",
224
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
224
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
225
225
  requestType: "json",
226
226
  body: request,
227
227
  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,
@@ -281,7 +281,7 @@ export class PushNotificationClient {
281
281
  method: "PATCH",
282
282
  headers: _headers,
283
283
  contentType: "application/json",
284
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
284
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
285
285
  requestType: "json",
286
286
  body: request,
287
287
  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,
@@ -341,7 +341,7 @@ export class PushNotificationClient {
341
341
  method: "PUT",
342
342
  headers: _headers,
343
343
  contentType: "application/json",
344
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
344
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
345
345
  requestType: "json",
346
346
  body: request,
347
347
  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,
@@ -401,7 +401,7 @@ export class PushNotificationClient {
401
401
  method: "PATCH",
402
402
  headers: _headers,
403
403
  contentType: "application/json",
404
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
404
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
405
405
  requestType: "json",
406
406
  body: request,
407
407
  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,
@@ -459,7 +459,7 @@ export class PushNotificationClient {
459
459
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/push-notification/providers/sns"),
460
460
  method: "GET",
461
461
  headers: _headers,
462
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
462
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
463
463
  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,
464
464
  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,
465
465
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -517,7 +517,7 @@ export class PushNotificationClient {
517
517
  method: "PUT",
518
518
  headers: _headers,
519
519
  contentType: "application/json",
520
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
520
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
521
521
  requestType: "json",
522
522
  body: request,
523
523
  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,
@@ -577,7 +577,7 @@ export class PushNotificationClient {
577
577
  method: "PATCH",
578
578
  headers: _headers,
579
579
  contentType: "application/json",
580
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
580
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
581
581
  requestType: "json",
582
582
  body: request,
583
583
  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,
@@ -635,7 +635,7 @@ export class PushNotificationClient {
635
635
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/push-notification/selected-provider"),
636
636
  method: "GET",
637
637
  headers: _headers,
638
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
638
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
639
639
  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,
640
640
  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,
641
641
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -695,7 +695,7 @@ export class PushNotificationClient {
695
695
  method: "PUT",
696
696
  headers: _headers,
697
697
  contentType: "application/json",
698
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
698
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
699
699
  requestType: "json",
700
700
  body: request,
701
701
  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,
@@ -45,7 +45,7 @@ export class SmsClient {
45
45
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/sms/providers/twilio"),
46
46
  method: "GET",
47
47
  headers: _headers,
48
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
48
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
49
49
  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,
50
50
  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,
51
51
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -105,7 +105,7 @@ export class SmsClient {
105
105
  method: "PUT",
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,
@@ -165,7 +165,7 @@ export class SmsClient {
165
165
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/sms/selected-provider"),
166
166
  method: "GET",
167
167
  headers: _headers,
168
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
168
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
169
169
  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,
170
170
  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,
171
171
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -227,7 +227,7 @@ export class SmsClient {
227
227
  method: "PUT",
228
228
  headers: _headers,
229
229
  contentType: "application/json",
230
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
230
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
231
231
  requestType: "json",
232
232
  body: request,
233
233
  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,
@@ -287,7 +287,7 @@ export class SmsClient {
287
287
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/factors/sms/templates"),
288
288
  method: "GET",
289
289
  headers: _headers,
290
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
290
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
291
291
  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
292
  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
293
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -350,7 +350,7 @@ export class SmsClient {
350
350
  method: "PUT",
351
351
  headers: _headers,
352
352
  contentType: "application/json",
353
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
353
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
354
354
  requestType: "json",
355
355
  body: request,
356
356
  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,7 +51,7 @@ export class PoliciesClient {
51
51
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "guardian/policies"),
52
52
  method: "GET",
53
53
  headers: _headers,
54
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
54
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
55
55
  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,
56
56
  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,
57
57
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -117,7 +117,7 @@ export class PoliciesClient {
117
117
  method: "PUT",
118
118
  headers: _headers,
119
119
  contentType: "application/json",
120
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
120
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
121
121
  requestType: "json",
122
122
  body: request,
123
123
  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,
@@ -65,7 +65,11 @@ export class HooksClient {
65
65
  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, "hooks"),
66
66
  method: "GET",
67
67
  headers: _headers,
68
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
68
+ queryString: core.url
69
+ .queryBuilder()
70
+ .addMany(_queryParams)
71
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
72
+ .build(),
69
73
  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,
70
74
  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,
71
75
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -146,7 +150,7 @@ export class HooksClient {
146
150
  method: "POST",
147
151
  headers: _headers,
148
152
  contentType: "application/json",
149
- 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(),
150
154
  requestType: "json",
151
155
  body: request,
152
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,
@@ -215,7 +219,11 @@ export class HooksClient {
215
219
  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, `hooks/${core.url.encodePathParam(id)}`),
216
220
  method: "GET",
217
221
  headers: _headers,
218
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
222
+ queryString: core.url
223
+ .queryBuilder()
224
+ .addMany(_queryParams)
225
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
226
+ .build(),
219
227
  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,
220
228
  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,
221
229
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -274,7 +282,7 @@ export class HooksClient {
274
282
  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, `hooks/${core.url.encodePathParam(id)}`),
275
283
  method: "DELETE",
276
284
  headers: _headers,
277
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
285
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
278
286
  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,
279
287
  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,
280
288
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -335,7 +343,7 @@ export class HooksClient {
335
343
  method: "PATCH",
336
344
  headers: _headers,
337
345
  contentType: "application/json",
338
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
346
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
339
347
  requestType: "json",
340
348
  body: request,
341
349
  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 SecretsClient {
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, `hooks/${core.url.encodePathParam(id)}/secrets`),
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,
@@ -113,7 +113,7 @@ export class SecretsClient {
113
113
  method: "POST",
114
114
  headers: _headers,
115
115
  contentType: "application/json",
116
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
116
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
117
117
  requestType: "json",
118
118
  body: request,
119
119
  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,
@@ -176,7 +176,7 @@ export class SecretsClient {
176
176
  method: "DELETE",
177
177
  headers: _headers,
178
178
  contentType: "application/json",
179
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
179
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
180
180
  requestType: "json",
181
181
  body: request,
182
182
  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,
@@ -241,7 +241,7 @@ export class SecretsClient {
241
241
  method: "PATCH",
242
242
  headers: _headers,
243
243
  contentType: "application/json",
244
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
244
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
245
245
  requestType: "json",
246
246
  body: request,
247
247
  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,
@@ -10,6 +10,7 @@ export * as customDomains from "./customDomains/index.mjs";
10
10
  export * as deviceCredentials from "./deviceCredentials/index.mjs";
11
11
  export * as emails from "./emails/index.mjs";
12
12
  export * as emailTemplates from "./emailTemplates/index.mjs";
13
+ export * as events from "./events/index.mjs";
13
14
  export * as eventStreams from "./eventStreams/index.mjs";
14
15
  export * from "./eventStreams/types/index.mjs";
15
16
  export * as flows from "./flows/index.mjs";
@@ -10,6 +10,7 @@ export * as customDomains from "./customDomains/index.mjs";
10
10
  export * as deviceCredentials from "./deviceCredentials/index.mjs";
11
11
  export * as emails from "./emails/index.mjs";
12
12
  export * as emailTemplates from "./emailTemplates/index.mjs";
13
+ export * as events from "./events/index.mjs";
13
14
  export * as eventStreams from "./eventStreams/index.mjs";
14
15
  export * from "./eventStreams/types/index.mjs";
15
16
  export * as flows from "./flows/index.mjs";
@@ -66,7 +66,7 @@ export class JobsClient {
66
66
  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, `jobs/${core.url.encodePathParam(id)}`),
67
67
  method: "GET",
68
68
  headers: _headers,
69
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
69
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
70
70
  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,
71
71
  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,
72
72
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -46,7 +46,7 @@ export class ErrorsClient {
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, `jobs/${core.url.encodePathParam(id)}/errors`),
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,
@@ -46,7 +46,7 @@ export class UsersExportsClient {
46
46
  method: "POST",
47
47
  headers: _headers,
48
48
  contentType: "application/json",
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
  requestType: "json",
51
51
  body: request,
52
52
  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,
@@ -64,7 +64,7 @@ export class UsersImportsClient {
64
64
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ManagementEnvironment.Default, "jobs/users-imports"),
65
65
  method: "POST",
66
66
  headers: _headers,
67
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
67
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
68
68
  requestType: "file",
69
69
  duplex: _maybeEncodedRequest.duplex,
70
70
  body: _maybeEncodedRequest.body,
@@ -50,7 +50,7 @@ export class VerificationEmailClient {
50
50
  method: "POST",
51
51
  headers: _headers,
52
52
  contentType: "application/json",
53
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
53
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
54
54
  requestType: "json",
55
55
  body: request,
56
56
  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 CustomSigningClient {
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, "keys/custom-signing"),
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,
@@ -109,7 +109,7 @@ export class CustomSigningClient {
109
109
  method: "PUT",
110
110
  headers: _headers,
111
111
  contentType: "application/json",
112
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
112
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
113
113
  requestType: "json",
114
114
  body: request,
115
115
  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,
@@ -169,7 +169,7 @@ export class CustomSigningClient {
169
169
  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, "keys/custom-signing"),
170
170
  method: "DELETE",
171
171
  headers: _headers,
172
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
172
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
173
173
  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
174
  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
175
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,