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,72 +56,77 @@ class LogStreamsClient {
56
56
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
59
- * Retrieve details on <a href="https://auth0.com/docs/logs/streams">log streams</a>.
60
- * <h5>Sample Response</h5><pre><code>[{
61
- * "id": "string",
62
- * "name": "string",
63
- * "type": "eventbridge",
64
- * "status": "active|paused|suspended",
65
- * "sink": {
66
- * "awsAccountId": "string",
67
- * "awsRegion": "string",
68
- * "awsPartnerEventSource": "string"
69
- * }
59
+ * Retrieve details on [log streams](https://auth0.com/docs/logs/streams).
60
+ *
61
+ * **Sample Response**
62
+ *
63
+ * ```json
64
+ * [{
65
+ * "id": "string",
66
+ * "name": "string",
67
+ * "type": "eventbridge",
68
+ * "status": "active|paused|suspended",
69
+ * "sink": {
70
+ * "awsAccountId": "string",
71
+ * "awsRegion": "string",
72
+ * "awsPartnerEventSource": "string"
73
+ * }
70
74
  * }, {
71
- * "id": "string",
72
- * "name": "string",
73
- * "type": "http",
74
- * "status": "active|paused|suspended",
75
- * "sink": {
76
- * "httpContentFormat": "JSONLINES|JSONARRAY",
77
- * "httpContentType": "string",
78
- * "httpEndpoint": "string",
79
- * "httpAuthorization": "string"
80
- * }
75
+ * "id": "string",
76
+ * "name": "string",
77
+ * "type": "http",
78
+ * "status": "active|paused|suspended",
79
+ * "sink": {
80
+ * "httpContentFormat": "JSONLINES|JSONARRAY",
81
+ * "httpContentType": "string",
82
+ * "httpEndpoint": "string",
83
+ * "httpAuthorization": "string"
84
+ * }
81
85
  * },
82
86
  * {
83
- * "id": "string",
84
- * "name": "string",
85
- * "type": "eventgrid",
86
- * "status": "active|paused|suspended",
87
- * "sink": {
88
- * "azureSubscriptionId": "string",
89
- * "azureResourceGroup": "string",
90
- * "azureRegion": "string",
91
- * "azurePartnerTopic": "string"
92
- * }
87
+ * "id": "string",
88
+ * "name": "string",
89
+ * "type": "eventgrid",
90
+ * "status": "active|paused|suspended",
91
+ * "sink": {
92
+ * "azureSubscriptionId": "string",
93
+ * "azureResourceGroup": "string",
94
+ * "azureRegion": "string",
95
+ * "azurePartnerTopic": "string"
96
+ * }
93
97
  * },
94
98
  * {
95
- * "id": "string",
96
- * "name": "string",
97
- * "type": "splunk",
98
- * "status": "active|paused|suspended",
99
- * "sink": {
100
- * "splunkDomain": "string",
101
- * "splunkToken": "string",
102
- * "splunkPort": "string",
103
- * "splunkSecure": "boolean"
104
- * }
99
+ * "id": "string",
100
+ * "name": "string",
101
+ * "type": "splunk",
102
+ * "status": "active|paused|suspended",
103
+ * "sink": {
104
+ * "splunkDomain": "string",
105
+ * "splunkToken": "string",
106
+ * "splunkPort": "string",
107
+ * "splunkSecure": "boolean"
108
+ * }
105
109
  * },
106
110
  * {
107
- * "id": "string",
108
- * "name": "string",
109
- * "type": "sumo",
110
- * "status": "active|paused|suspended",
111
- * "sink": {
112
- * "sumoSourceAddress": "string",
113
- * }
111
+ * "id": "string",
112
+ * "name": "string",
113
+ * "type": "sumo",
114
+ * "status": "active|paused|suspended",
115
+ * "sink": {
116
+ * "sumoSourceAddress": "string"
117
+ * }
114
118
  * },
115
119
  * {
116
- * "id": "string",
117
- * "name": "string",
118
- * "type": "datadog",
119
- * "status": "active|paused|suspended",
120
- * "sink": {
121
- * "datadogRegion": "string",
122
- * "datadogApiKey": "string"
123
- * }
124
- * }]</code></pre>
120
+ * "id": "string",
121
+ * "name": "string",
122
+ * "type": "datadog",
123
+ * "status": "active|paused|suspended",
124
+ * "sink": {
125
+ * "datadogRegion": "string",
126
+ * "datadogApiKey": "string"
127
+ * }
128
+ * }]
129
+ * ```
125
130
  *
126
131
  * @param {LogStreamsClient.RequestOptions} requestOptions - Request-specific configuration.
127
132
  *
@@ -145,7 +150,7 @@ class LogStreamsClient {
145
150
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "log-streams"),
146
151
  method: "GET",
147
152
  headers: _headers,
148
- 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(),
149
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,
150
155
  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,
151
156
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -178,131 +183,202 @@ class LogStreamsClient {
178
183
  }
179
184
  /**
180
185
  * Create a log stream.
181
- * <h5>Log Stream Types</h5> The <code>type</code> of log stream being created determines the properties required in the <code>sink</code> payload.
182
- * <h5>HTTP Stream</h5> For an <code>http</code> Stream, the <code>sink</code> properties are listed in the payload below
183
- * Request: <pre><code>{
184
- * "name": "string",
185
- * "type": "http",
186
- * "sink": {
187
- * "httpEndpoint": "string",
188
- * "httpContentType": "string",
189
- * "httpContentFormat": "JSONLINES|JSONARRAY",
190
- * "httpAuthorization": "string"
191
- * }
192
- * }</code></pre>
193
- * Response: <pre><code>{
194
- * "id": "string",
195
- * "name": "string",
196
- * "type": "http",
197
- * "status": "active",
198
- * "sink": {
199
- * "httpEndpoint": "string",
200
- * "httpContentType": "string",
201
- * "httpContentFormat": "JSONLINES|JSONARRAY",
202
- * "httpAuthorization": "string"
203
- * }
204
- * }</code></pre>
205
- * <h5>Amazon EventBridge Stream</h5> For an <code>eventbridge</code> Stream, the <code>sink</code> properties are listed in the payload below
206
- * Request: <pre><code>{
207
- * "name": "string",
208
- * "type": "eventbridge",
209
- * "sink": {
210
- * "awsRegion": "string",
211
- * "awsAccountId": "string"
212
- * }
213
- * }</code></pre>
214
- * The response will include an additional field <code>awsPartnerEventSource</code> in the <code>sink</code>: <pre><code>{
215
- * "id": "string",
216
- * "name": "string",
217
- * "type": "eventbridge",
218
- * "status": "active",
219
- * "sink": {
220
- * "awsAccountId": "string",
221
- * "awsRegion": "string",
222
- * "awsPartnerEventSource": "string"
223
- * }
224
- * }</code></pre>
225
- * <h5>Azure Event Grid Stream</h5> For an <code>Azure Event Grid</code> Stream, the <code>sink</code> properties are listed in the payload below
226
- * Request: <pre><code>{
227
- * "name": "string",
228
- * "type": "eventgrid",
229
- * "sink": {
230
- * "azureSubscriptionId": "string",
231
- * "azureResourceGroup": "string",
232
- * "azureRegion": "string"
233
- * }
234
- * }</code></pre>
235
- * Response: <pre><code>{
236
- * "id": "string",
237
- * "name": "string",
238
- * "type": "http",
239
- * "status": "active",
240
- * "sink": {
241
- * "azureSubscriptionId": "string",
242
- * "azureResourceGroup": "string",
243
- * "azureRegion": "string",
244
- * "azurePartnerTopic": "string"
245
- * }
246
- * }</code></pre>
247
- * <h5>Datadog Stream</h5> For a <code>Datadog</code> Stream, the <code>sink</code> properties are listed in the payload below
248
- * Request: <pre><code>{
249
- * "name": "string",
250
- * "type": "datadog",
251
- * "sink": {
252
- * "datadogRegion": "string",
253
- * "datadogApiKey": "string"
254
- * }
255
- * }</code></pre>
256
- * Response: <pre><code>{
257
- * "id": "string",
258
- * "name": "string",
259
- * "type": "datadog",
260
- * "status": "active",
261
- * "sink": {
262
- * "datadogRegion": "string",
263
- * "datadogApiKey": "string"
264
- * }
265
- * }</code></pre>
266
- * <h5>Splunk Stream</h5> For a <code>Splunk</code> Stream, the <code>sink</code> properties are listed in the payload below
267
- * Request: <pre><code>{
268
- * "name": "string",
269
- * "type": "splunk",
270
- * "sink": {
271
- * "splunkDomain": "string",
272
- * "splunkToken": "string",
273
- * "splunkPort": "string",
274
- * "splunkSecure": "boolean"
275
- * }
276
- * }</code></pre>
277
- * Response: <pre><code>{
278
- * "id": "string",
279
- * "name": "string",
280
- * "type": "splunk",
281
- * "status": "active",
282
- * "sink": {
283
- * "splunkDomain": "string",
284
- * "splunkToken": "string",
285
- * "splunkPort": "string",
286
- * "splunkSecure": "boolean"
287
- * }
288
- * }</code></pre>
289
- * <h5>Sumo Logic Stream</h5> For a <code>Sumo Logic</code> Stream, the <code>sink</code> properties are listed in the payload below
290
- * Request: <pre><code>{
291
- * "name": "string",
292
- * "type": "sumo",
293
- * "sink": {
294
- * "sumoSourceAddress": "string",
295
- * }
296
- * }</code></pre>
297
- * Response: <pre><code>{
298
- * "id": "string",
299
- * "name": "string",
300
- * "type": "sumo",
301
- * "status": "active",
302
- * "sink": {
303
- * "sumoSourceAddress": "string",
304
- * }
305
- * }</code></pre>
186
+ *
187
+ * **Log Stream Types**
188
+ *
189
+ * The `type` of log stream being created determines the properties required in the `sink` payload.
190
+ *
191
+ * **HTTP Stream**
192
+ *
193
+ * For an `http` Stream, the `sink` properties are listed in the payload below.
194
+ *
195
+ * **Request:**
196
+ * ```json
197
+ * {
198
+ * "name": "string",
199
+ * "type": "http",
200
+ * "sink": {
201
+ * "httpEndpoint": "string",
202
+ * "httpContentType": "string",
203
+ * "httpContentFormat": "JSONLINES|JSONARRAY",
204
+ * "httpAuthorization": "string"
205
+ * }
206
+ * }
207
+ * ```
208
+ *
209
+ * **Response:**
210
+ * ```json
211
+ * {
212
+ * "id": "string",
213
+ * "name": "string",
214
+ * "type": "http",
215
+ * "status": "active",
216
+ * "sink": {
217
+ * "httpEndpoint": "string",
218
+ * "httpContentType": "string",
219
+ * "httpContentFormat": "JSONLINES|JSONARRAY",
220
+ * "httpAuthorization": "string"
221
+ * }
222
+ * }
223
+ * ```
224
+ *
225
+ * **Amazon EventBridge Stream**
226
+ *
227
+ * For an `eventbridge` Stream, the `sink` properties are listed in the payload below.
228
+ *
229
+ * **Request:**
230
+ * ```json
231
+ * {
232
+ * "name": "string",
233
+ * "type": "eventbridge",
234
+ * "sink": {
235
+ * "awsRegion": "string",
236
+ * "awsAccountId": "string"
237
+ * }
238
+ * }
239
+ * ```
240
+ *
241
+ * The response will include an additional field `awsPartnerEventSource` in the `sink`:
242
+ *
243
+ * **Response:**
244
+ * ```json
245
+ * {
246
+ * "id": "string",
247
+ * "name": "string",
248
+ * "type": "eventbridge",
249
+ * "status": "active",
250
+ * "sink": {
251
+ * "awsAccountId": "string",
252
+ * "awsRegion": "string",
253
+ * "awsPartnerEventSource": "string"
254
+ * }
255
+ * }
256
+ * ```
257
+ *
258
+ * **Azure Event Grid Stream**
259
+ *
260
+ * For an `Azure Event Grid` Stream, the `sink` properties are listed in the payload below.
261
+ *
262
+ * **Request:**
263
+ * ```json
264
+ * {
265
+ * "name": "string",
266
+ * "type": "eventgrid",
267
+ * "sink": {
268
+ * "azureSubscriptionId": "string",
269
+ * "azureResourceGroup": "string",
270
+ * "azureRegion": "string"
271
+ * }
272
+ * }
273
+ * ```
274
+ *
275
+ * **Response:**
276
+ * ```json
277
+ * {
278
+ * "id": "string",
279
+ * "name": "string",
280
+ * "type": "http",
281
+ * "status": "active",
282
+ * "sink": {
283
+ * "azureSubscriptionId": "string",
284
+ * "azureResourceGroup": "string",
285
+ * "azureRegion": "string",
286
+ * "azurePartnerTopic": "string"
287
+ * }
288
+ * }
289
+ * ```
290
+ *
291
+ * **Datadog Stream**
292
+ *
293
+ * For a `Datadog` Stream, the `sink` properties are listed in the payload below.
294
+ *
295
+ * **Request:**
296
+ * ```json
297
+ * {
298
+ * "name": "string",
299
+ * "type": "datadog",
300
+ * "sink": {
301
+ * "datadogRegion": "string",
302
+ * "datadogApiKey": "string"
303
+ * }
304
+ * }
305
+ * ```
306
+ *
307
+ * **Response:**
308
+ * ```json
309
+ * {
310
+ * "id": "string",
311
+ * "name": "string",
312
+ * "type": "datadog",
313
+ * "status": "active",
314
+ * "sink": {
315
+ * "datadogRegion": "string",
316
+ * "datadogApiKey": "string"
317
+ * }
318
+ * }
319
+ * ```
320
+ *
321
+ * **Splunk Stream**
322
+ *
323
+ * For a `Splunk` Stream, the `sink` properties are listed in the payload below.
324
+ *
325
+ * **Request:**
326
+ * ```json
327
+ * {
328
+ * "name": "string",
329
+ * "type": "splunk",
330
+ * "sink": {
331
+ * "splunkDomain": "string",
332
+ * "splunkToken": "string",
333
+ * "splunkPort": "string",
334
+ * "splunkSecure": "boolean"
335
+ * }
336
+ * }
337
+ * ```
338
+ *
339
+ * **Response:**
340
+ * ```json
341
+ * {
342
+ * "id": "string",
343
+ * "name": "string",
344
+ * "type": "splunk",
345
+ * "status": "active",
346
+ * "sink": {
347
+ * "splunkDomain": "string",
348
+ * "splunkToken": "string",
349
+ * "splunkPort": "string",
350
+ * "splunkSecure": "boolean"
351
+ * }
352
+ * }
353
+ * ```
354
+ *
355
+ * **Sumo Logic Stream**
356
+ *
357
+ * For a `Sumo Logic` Stream, the `sink` properties are listed in the payload below.
358
+ *
359
+ * **Request:**
360
+ * ```json
361
+ * {
362
+ * "name": "string",
363
+ * "type": "sumo",
364
+ * "sink": {
365
+ * "sumoSourceAddress": "string"
366
+ * }
367
+ * }
368
+ * ```
369
+ *
370
+ * **Response:**
371
+ * ```json
372
+ * {
373
+ * "id": "string",
374
+ * "name": "string",
375
+ * "type": "sumo",
376
+ * "status": "active",
377
+ * "sink": {
378
+ * "sumoSourceAddress": "string"
379
+ * }
380
+ * }
381
+ * ```
306
382
  *
307
383
  * @param {Management.CreateLogStreamRequestContent} request
308
384
  * @param {LogStreamsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -334,7 +410,7 @@ class LogStreamsClient {
334
410
  method: "POST",
335
411
  headers: _headers,
336
412
  contentType: "application/json",
337
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
413
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
338
414
  requestType: "json",
339
415
  body: request,
340
416
  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,
@@ -374,107 +450,157 @@ class LogStreamsClient {
374
450
  }
375
451
  /**
376
452
  * Retrieve a log stream configuration and status.
377
- * <h5>Sample responses</h5><h5>Amazon EventBridge Log Stream</h5><pre><code>{
378
- * "id": "string",
379
- * "name": "string",
380
- * "type": "eventbridge",
381
- * "status": "active|paused|suspended",
382
- * "sink": {
383
- * "awsAccountId": "string",
384
- * "awsRegion": "string",
385
- * "awsPartnerEventSource": "string"
386
- * }
387
- * }</code></pre> <h5>HTTP Log Stream</h5><pre><code>{
388
- * "id": "string",
389
- * "name": "string",
390
- * "type": "http",
391
- * "status": "active|paused|suspended",
392
- * "sink": {
393
- * "httpContentFormat": "JSONLINES|JSONARRAY",
394
- * "httpContentType": "string",
395
- * "httpEndpoint": "string",
396
- * "httpAuthorization": "string"
397
- * }
398
- * }</code></pre> <h5>Datadog Log Stream</h5><pre><code>{
399
- * "id": "string",
400
- * "name": "string",
401
- * "type": "datadog",
402
- * "status": "active|paused|suspended",
403
- * "sink": {
404
- * "datadogRegion": "string",
405
- * "datadogApiKey": "string"
406
- * }
407
- *
408
- * }</code></pre><h5>Mixpanel</h5>
409
- *
410
- * Request: <pre><code>{
411
- * "name": "string",
412
- * "type": "mixpanel",
413
- * "sink": {
414
- * "mixpanelRegion": "string", // "us" | "eu",
415
- * "mixpanelProjectId": "string",
416
- * "mixpanelServiceAccountUsername": "string",
417
- * "mixpanelServiceAccountPassword": "string"
418
- * }
419
- * } </code></pre>
420
- *
421
- *
422
- * Response: <pre><code>{
423
- * "id": "string",
424
- * "name": "string",
425
- * "type": "mixpanel",
426
- * "status": "active",
427
- * "sink": {
428
- * "mixpanelRegion": "string", // "us" | "eu",
429
- * "mixpanelProjectId": "string",
430
- * "mixpanelServiceAccountUsername": "string",
431
- * "mixpanelServiceAccountPassword": "string" // the following is redacted on return
432
- * }
433
- * } </code></pre>
434
- *
435
- * <h5>Segment</h5>
436
- *
437
- * Request: <pre><code> {
438
- * "name": "string",
439
- * "type": "segment",
440
- * "sink": {
441
- * "segmentWriteKey": "string"
442
- * }
443
- * }</code></pre>
444
- *
445
- * Response: <pre><code>{
446
- * "id": "string",
447
- * "name": "string",
448
- * "type": "segment",
449
- * "status": "active",
450
- * "sink": {
451
- * "segmentWriteKey": "string"
452
- * }
453
- * } </code></pre>
454
- *
455
- * <h5>Splunk Log Stream</h5><pre><code>{
456
- * "id": "string",
457
- * "name": "string",
458
- * "type": "splunk",
459
- * "status": "active|paused|suspended",
460
- * "sink": {
461
- * "splunkDomain": "string",
462
- * "splunkToken": "string",
463
- * "splunkPort": "string",
464
- * "splunkSecure": "boolean"
465
- * }
466
- * }</code></pre> <h5>Sumo Logic Log Stream</h5><pre><code>{
467
- * "id": "string",
468
- * "name": "string",
469
- * "type": "sumo",
470
- * "status": "active|paused|suspended",
471
- * "sink": {
472
- * "sumoSourceAddress": "string",
473
- * }
474
- * }</code></pre> <h5>Status</h5> The <code>status</code> of a log stream maybe any of the following:
475
- * 1. <code>active</code> - Stream is currently enabled.
476
- * 2. <code>paused</code> - Stream is currently user disabled and will not attempt log delivery.
477
- * 3. <code>suspended</code> - Stream is currently disabled because of errors and will not attempt log delivery.
453
+ *
454
+ * **Sample responses**
455
+ *
456
+ * **Amazon EventBridge Log Stream**
457
+ *
458
+ * ```json
459
+ * {
460
+ * "id": "string",
461
+ * "name": "string",
462
+ * "type": "eventbridge",
463
+ * "status": "active|paused|suspended",
464
+ * "sink": {
465
+ * "awsAccountId": "string",
466
+ * "awsRegion": "string",
467
+ * "awsPartnerEventSource": "string"
468
+ * }
469
+ * }
470
+ * ```
471
+ *
472
+ * **HTTP Log Stream**
473
+ *
474
+ * ```json
475
+ * {
476
+ * "id": "string",
477
+ * "name": "string",
478
+ * "type": "http",
479
+ * "status": "active|paused|suspended",
480
+ * "sink": {
481
+ * "httpContentFormat": "JSONLINES|JSONARRAY",
482
+ * "httpContentType": "string",
483
+ * "httpEndpoint": "string",
484
+ * "httpAuthorization": "string"
485
+ * }
486
+ * }
487
+ * ```
488
+ *
489
+ * **Datadog Log Stream**
490
+ *
491
+ * ```json
492
+ * {
493
+ * "id": "string",
494
+ * "name": "string",
495
+ * "type": "datadog",
496
+ * "status": "active|paused|suspended",
497
+ * "sink": {
498
+ * "datadogRegion": "string",
499
+ * "datadogApiKey": "string"
500
+ * }
501
+ * }
502
+ * ```
503
+ *
504
+ * **Mixpanel**
505
+ *
506
+ * **Request:**
507
+ *
508
+ * ```json
509
+ * {
510
+ * "name": "string",
511
+ * "type": "mixpanel",
512
+ * "sink": {
513
+ * "mixpanelRegion": "string",
514
+ * "mixpanelProjectId": "string",
515
+ * "mixpanelServiceAccountUsername": "string",
516
+ * "mixpanelServiceAccountPassword": "string"
517
+ * }
518
+ * }
519
+ * ```
520
+ *
521
+ * **Response:**
522
+ *
523
+ * ```json
524
+ * {
525
+ * "id": "string",
526
+ * "name": "string",
527
+ * "type": "mixpanel",
528
+ * "status": "active",
529
+ * "sink": {
530
+ * "mixpanelRegion": "string",
531
+ * "mixpanelProjectId": "string",
532
+ * "mixpanelServiceAccountUsername": "string",
533
+ * "mixpanelServiceAccountPassword": "string"
534
+ * }
535
+ * }
536
+ * ```
537
+ *
538
+ * **Segment**
539
+ *
540
+ * **Request:**
541
+ *
542
+ * ```json
543
+ * {
544
+ * "name": "string",
545
+ * "type": "segment",
546
+ * "sink": {
547
+ * "segmentWriteKey": "string"
548
+ * }
549
+ * }
550
+ * ```
551
+ *
552
+ * **Response:**
553
+ *
554
+ * ```json
555
+ * {
556
+ * "id": "string",
557
+ * "name": "string",
558
+ * "type": "segment",
559
+ * "status": "active",
560
+ * "sink": {
561
+ * "segmentWriteKey": "string"
562
+ * }
563
+ * }
564
+ * ```
565
+ *
566
+ * **Splunk Log Stream**
567
+ *
568
+ * ```json
569
+ * {
570
+ * "id": "string",
571
+ * "name": "string",
572
+ * "type": "splunk",
573
+ * "status": "active|paused|suspended",
574
+ * "sink": {
575
+ * "splunkDomain": "string",
576
+ * "splunkToken": "string",
577
+ * "splunkPort": "string",
578
+ * "splunkSecure": "boolean"
579
+ * }
580
+ * }
581
+ * ```
582
+ *
583
+ * **Sumo Logic Log Stream**
584
+ *
585
+ * ```json
586
+ * {
587
+ * "id": "string",
588
+ * "name": "string",
589
+ * "type": "sumo",
590
+ * "status": "active|paused|suspended",
591
+ * "sink": {
592
+ * "sumoSourceAddress": "string"
593
+ * }
594
+ * }
595
+ * ```
596
+ *
597
+ * **Status**
598
+ *
599
+ * The `status` of a log stream maybe any of the following:
600
+ *
601
+ * 1. `active` - Stream is currently enabled.
602
+ * 2. `paused` - Stream is currently user disabled and will not attempt log delivery.
603
+ * 3. `suspended` - Stream is currently disabled because of errors and will not attempt log delivery.
478
604
  *
479
605
  * @param {string} id - The id of the log stream to get
480
606
  * @param {LogStreamsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -499,7 +625,7 @@ class LogStreamsClient {
499
625
  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, `log-streams/${core.url.encodePathParam(id)}`),
500
626
  method: "GET",
501
627
  headers: _headers,
502
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
628
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
503
629
  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,
504
630
  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,
505
631
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -560,7 +686,7 @@ class LogStreamsClient {
560
686
  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, `log-streams/${core.url.encodePathParam(id)}`),
561
687
  method: "DELETE",
562
688
  headers: _headers,
563
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
689
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
564
690
  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,
565
691
  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,
566
692
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -595,40 +721,79 @@ class LogStreamsClient {
595
721
  }
596
722
  /**
597
723
  * Update a log stream.
598
- * <h4>Examples of how to use the PATCH endpoint.</h4> The following fields may be updated in a PATCH operation: <ul><li>name</li><li>status</li><li>sink</li></ul> Note: For log streams of type <code>eventbridge</code> and <code>eventgrid</code>, updating the <code>sink</code> is not permitted.
599
- * <h5>Update the status of a log stream</h5><pre><code>{
600
- * "status": "active|paused"
601
- * }</code></pre>
602
- * <h5>Update the name of a log stream</h5><pre><code>{
603
- * "name": "string"
604
- * }</code></pre>
605
- * <h5>Update the sink properties of a stream of type <code>http</code></h5><pre><code>{
724
+ *
725
+ * **Examples of how to use the PATCH endpoint.**
726
+ *
727
+ * The following fields may be updated in a PATCH operation:
728
+ *
729
+ * - name
730
+ * - status
731
+ * - sink
732
+ *
733
+ * Note: For log streams of type `eventbridge` and `eventgrid`, updating the `sink` is not permitted.
734
+ *
735
+ * **Update the status of a log stream**
736
+ *
737
+ * ```json
738
+ * {
739
+ * "status": "active|paused"
740
+ * }
741
+ * ```
742
+ *
743
+ * **Update the name of a log stream**
744
+ *
745
+ * ```json
746
+ * {
747
+ * "name": "string"
748
+ * }
749
+ * ```
750
+ *
751
+ * **Update the sink properties of a stream of type `http`**
752
+ *
753
+ * ```json
754
+ * {
606
755
  * "sink": {
607
756
  * "httpEndpoint": "string",
608
757
  * "httpContentType": "string",
609
758
  * "httpContentFormat": "JSONARRAY|JSONLINES",
610
759
  * "httpAuthorization": "string"
611
760
  * }
612
- * }</code></pre>
613
- * <h5>Update the sink properties of a stream of type <code>datadog</code></h5><pre><code>{
761
+ * }
762
+ * ```
763
+ *
764
+ * **Update the sink properties of a stream of type `datadog`**
765
+ *
766
+ * ```json
767
+ * {
614
768
  * "sink": {
615
- * "datadogRegion": "string",
616
- * "datadogApiKey": "string"
769
+ * "datadogRegion": "string",
770
+ * "datadogApiKey": "string"
617
771
  * }
618
- * }</code></pre>
619
- * <h5>Update the sink properties of a stream of type <code>splunk</code></h5><pre><code>{
772
+ * }
773
+ * ```
774
+ *
775
+ * **Update the sink properties of a stream of type `splunk`**
776
+ *
777
+ * ```json
778
+ * {
620
779
  * "sink": {
621
780
  * "splunkDomain": "string",
622
781
  * "splunkToken": "string",
623
782
  * "splunkPort": "string",
624
783
  * "splunkSecure": "boolean"
625
784
  * }
626
- * }</code></pre>
627
- * <h5>Update the sink properties of a stream of type <code>sumo</code></h5><pre><code>{
785
+ * }
786
+ * ```
787
+ *
788
+ * **Update the sink properties of a stream of type `sumo`**
789
+ *
790
+ * ```json
791
+ * {
628
792
  * "sink": {
629
793
  * "sumoSourceAddress": "string"
630
794
  * }
631
- * }</code></pre>
795
+ * }
796
+ * ```
632
797
  *
633
798
  * @param {string} id - The id of the log stream to get
634
799
  * @param {Management.UpdateLogStreamRequestContent} request
@@ -655,7 +820,7 @@ class LogStreamsClient {
655
820
  method: "PATCH",
656
821
  headers: _headers,
657
822
  contentType: "application/json",
658
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
823
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
659
824
  requestType: "json",
660
825
  body: request,
661
826
  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,