auth0 5.9.1 → 5.11.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 (394) hide show
  1. package/dist/cjs/management/BaseClient.d.ts +3 -0
  2. package/dist/cjs/management/BaseClient.js +15 -0
  3. package/dist/cjs/management/Client.d.ts +3 -0
  4. package/dist/cjs/management/Client.js +41 -36
  5. package/dist/cjs/management/api/requests/requests.d.ts +281 -3
  6. package/dist/cjs/management/api/resources/actions/client/Client.d.ts +1 -1
  7. package/dist/cjs/management/api/resources/actions/client/Client.js +1 -1
  8. package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.d.ts +16 -16
  9. package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.js +16 -16
  10. package/dist/cjs/management/api/resources/clients/client/Client.d.ts +12 -3
  11. package/dist/cjs/management/api/resources/clients/client/Client.js +12 -3
  12. package/dist/cjs/management/api/resources/connections/client/Client.d.ts +17 -19
  13. package/dist/cjs/management/api/resources/connections/client/Client.js +17 -19
  14. package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.d.ts +2 -2
  15. package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.js +2 -2
  16. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.d.ts +4 -4
  17. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +4 -4
  18. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.ts +2 -2
  19. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.js +2 -2
  20. package/dist/cjs/management/api/resources/customDomains/client/Client.d.ts +19 -12
  21. package/dist/cjs/management/api/resources/customDomains/client/Client.js +19 -12
  22. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.d.ts +3 -3
  23. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +3 -3
  24. package/dist/cjs/management/api/resources/groups/client/Client.d.ts +3 -0
  25. package/dist/cjs/management/api/resources/groups/client/Client.js +5 -0
  26. package/dist/cjs/management/api/resources/groups/resources/index.d.ts +1 -0
  27. package/dist/cjs/management/api/resources/groups/resources/index.js +2 -1
  28. package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.d.ts +71 -0
  29. package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.js +270 -0
  30. package/dist/cjs/management/api/resources/groups/resources/roles/client/index.d.ts +1 -0
  31. package/dist/cjs/management/api/resources/groups/resources/roles/client/index.js +2 -0
  32. package/dist/cjs/management/api/resources/groups/resources/roles/index.d.ts +1 -0
  33. package/dist/cjs/management/api/resources/groups/resources/roles/index.js +17 -0
  34. package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.d.ts +2 -5
  35. package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.js +2 -5
  36. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.ts +3 -3
  37. package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.js +3 -3
  38. package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.d.ts +10 -12
  39. package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.js +10 -12
  40. package/dist/cjs/management/api/resources/hooks/client/Client.d.ts +2 -2
  41. package/dist/cjs/management/api/resources/hooks/client/Client.js +2 -2
  42. package/dist/cjs/management/api/resources/index.d.ts +1 -0
  43. package/dist/cjs/management/api/resources/index.js +2 -1
  44. package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.d.ts +1 -1
  45. package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.js +1 -1
  46. package/dist/cjs/management/api/resources/logs/client/Client.d.ts +17 -20
  47. package/dist/cjs/management/api/resources/logs/client/Client.js +17 -20
  48. package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +14 -13
  49. package/dist/cjs/management/api/resources/organizations/client/Client.js +20 -17
  50. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +1 -1
  51. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +1 -1
  52. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +2 -2
  53. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +2 -2
  54. package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.d.ts +35 -0
  55. package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.js +146 -0
  56. package/dist/cjs/management/api/resources/organizations/resources/groups/client/index.d.ts +1 -0
  57. package/dist/cjs/management/api/resources/organizations/resources/groups/client/index.js +2 -0
  58. package/dist/cjs/management/api/resources/organizations/resources/groups/index.d.ts +2 -0
  59. package/dist/cjs/management/api/resources/organizations/resources/groups/index.js +18 -0
  60. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/index.d.ts +1 -0
  61. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/index.js +37 -0
  62. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.ts +74 -0
  63. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.js +273 -0
  64. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/index.d.ts +1 -0
  65. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/index.js +2 -0
  66. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/index.d.ts +1 -0
  67. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/index.js +17 -0
  68. package/dist/cjs/management/api/resources/organizations/resources/index.d.ts +1 -0
  69. package/dist/cjs/management/api/resources/organizations/resources/index.js +2 -1
  70. package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.d.ts +2 -2
  71. package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +2 -2
  72. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +9 -12
  73. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +13 -14
  74. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.ts +36 -0
  75. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.js +147 -0
  76. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.d.ts +1 -0
  77. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.js +2 -0
  78. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.d.ts +2 -0
  79. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.js +18 -0
  80. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.d.ts +1 -0
  81. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.js +37 -0
  82. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.d.ts +12 -0
  83. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.js +16 -0
  84. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.d.ts +1 -0
  85. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.js +2 -0
  86. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.d.ts +2 -0
  87. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.js +18 -0
  88. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +34 -0
  89. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +144 -0
  90. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.ts +1 -0
  91. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.js +2 -0
  92. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.d.ts +1 -0
  93. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.js +17 -0
  94. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.d.ts +1 -0
  95. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.js +37 -0
  96. package/dist/cjs/management/api/resources/organizations/resources/members/resources/index.d.ts +1 -0
  97. package/dist/cjs/management/api/resources/organizations/resources/members/resources/index.js +2 -1
  98. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +2 -2
  99. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +2 -2
  100. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.d.ts +2 -2
  101. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +2 -2
  102. package/dist/cjs/management/api/resources/rateLimitPolicies/client/Client.d.ts +102 -0
  103. package/dist/cjs/management/api/resources/rateLimitPolicies/client/Client.js +397 -0
  104. package/dist/cjs/management/api/resources/rateLimitPolicies/client/index.d.ts +1 -0
  105. package/dist/cjs/management/api/resources/rateLimitPolicies/client/index.js +2 -0
  106. package/dist/cjs/management/api/resources/rateLimitPolicies/index.d.ts +1 -0
  107. package/dist/cjs/management/api/resources/rateLimitPolicies/index.js +17 -0
  108. package/dist/cjs/management/api/resources/roles/client/Client.d.ts +9 -6
  109. package/dist/cjs/management/api/resources/roles/client/Client.js +15 -10
  110. package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.d.ts +71 -0
  111. package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.js +270 -0
  112. package/dist/cjs/management/api/resources/roles/resources/groups/client/index.d.ts +1 -0
  113. package/dist/cjs/management/api/resources/roles/resources/groups/client/index.js +2 -0
  114. package/dist/cjs/management/api/resources/roles/resources/groups/index.d.ts +1 -0
  115. package/dist/cjs/management/api/resources/roles/resources/groups/index.js +17 -0
  116. package/dist/cjs/management/api/resources/roles/resources/index.d.ts +1 -0
  117. package/dist/cjs/management/api/resources/roles/resources/index.js +2 -1
  118. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.d.ts +2 -2
  119. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +2 -2
  120. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.d.ts +11 -13
  121. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +11 -13
  122. package/dist/cjs/management/api/resources/rules/client/Client.d.ts +4 -4
  123. package/dist/cjs/management/api/resources/rules/client/Client.js +4 -4
  124. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +1 -1
  125. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +1 -1
  126. package/dist/cjs/management/api/resources/userBlocks/client/Client.d.ts +6 -6
  127. package/dist/cjs/management/api/resources/userBlocks/client/Client.js +6 -6
  128. package/dist/cjs/management/api/resources/users/client/Client.d.ts +82 -51
  129. package/dist/cjs/management/api/resources/users/client/Client.js +110 -75
  130. package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.d.ts +1 -1
  131. package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.js +1 -1
  132. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/Client.d.ts +37 -0
  133. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/Client.js +151 -0
  134. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/index.d.ts +1 -0
  135. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/index.js +2 -0
  136. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/index.d.ts +2 -0
  137. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/index.js +18 -0
  138. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/index.d.ts +1 -0
  139. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/index.js +37 -0
  140. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.d.ts +12 -0
  141. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.js +16 -0
  142. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.d.ts +1 -0
  143. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.js +2 -0
  144. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/index.d.ts +2 -0
  145. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/index.js +18 -0
  146. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.d.ts +1 -0
  147. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.js +37 -0
  148. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.d.ts +35 -0
  149. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.js +148 -0
  150. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.d.ts +1 -0
  151. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.js +2 -0
  152. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.d.ts +1 -0
  153. package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.js +17 -0
  154. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.d.ts +35 -0
  155. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.js +146 -0
  156. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/index.d.ts +1 -0
  157. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/index.js +2 -0
  158. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/index.d.ts +2 -0
  159. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/index.js +18 -0
  160. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/index.d.ts +1 -0
  161. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/index.js +37 -0
  162. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.d.ts +12 -0
  163. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.js +16 -0
  164. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.d.ts +1 -0
  165. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.js +2 -0
  166. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/index.d.ts +2 -0
  167. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/index.js +18 -0
  168. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +33 -0
  169. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +143 -0
  170. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.ts +1 -0
  171. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.js +2 -0
  172. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.d.ts +1 -0
  173. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.js +17 -0
  174. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.d.ts +1 -0
  175. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.js +37 -0
  176. package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.d.ts +1 -1
  177. package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.js +1 -1
  178. package/dist/cjs/management/api/resources/users/resources/identities/client/Client.d.ts +26 -25
  179. package/dist/cjs/management/api/resources/users/resources/identities/client/Client.js +26 -25
  180. package/dist/cjs/management/api/resources/users/resources/index.d.ts +2 -0
  181. package/dist/cjs/management/api/resources/users/resources/index.js +3 -1
  182. package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.d.ts +2 -2
  183. package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.js +2 -2
  184. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.d.ts +1 -1
  185. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +1 -1
  186. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +6 -4
  187. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +10 -4
  188. package/dist/cjs/management/api/types/types.d.ts +503 -53
  189. package/dist/cjs/management/api/types/types.js +133 -14
  190. package/dist/cjs/management/core/auth/AuthProvider.d.ts +1 -0
  191. package/dist/cjs/management/core/auth/AuthProvider.js +7 -0
  192. package/dist/cjs/management/core/auth/index.d.ts +1 -1
  193. package/dist/cjs/management/core/auth/index.js +3 -1
  194. package/dist/cjs/management/core/fetcher/requestWithRetries.js +4 -1
  195. package/dist/cjs/management/version.d.ts +1 -1
  196. package/dist/cjs/management/version.js +1 -1
  197. package/dist/esm/management/BaseClient.d.mts +3 -0
  198. package/dist/esm/management/BaseClient.mjs +15 -0
  199. package/dist/esm/management/Client.d.mts +3 -0
  200. package/dist/esm/management/Client.mjs +5 -0
  201. package/dist/esm/management/api/requests/requests.d.mts +281 -3
  202. package/dist/esm/management/api/resources/actions/client/Client.d.mts +1 -1
  203. package/dist/esm/management/api/resources/actions/client/Client.mjs +1 -1
  204. package/dist/esm/management/api/resources/branding/resources/templates/client/Client.d.mts +16 -16
  205. package/dist/esm/management/api/resources/branding/resources/templates/client/Client.mjs +16 -16
  206. package/dist/esm/management/api/resources/clients/client/Client.d.mts +12 -3
  207. package/dist/esm/management/api/resources/clients/client/Client.mjs +12 -3
  208. package/dist/esm/management/api/resources/connections/client/Client.d.mts +17 -19
  209. package/dist/esm/management/api/resources/connections/client/Client.mjs +17 -19
  210. package/dist/esm/management/api/resources/connections/resources/clients/client/Client.d.mts +2 -2
  211. package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +2 -2
  212. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.d.mts +4 -4
  213. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +4 -4
  214. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.mts +2 -2
  215. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.mjs +2 -2
  216. package/dist/esm/management/api/resources/customDomains/client/Client.d.mts +19 -12
  217. package/dist/esm/management/api/resources/customDomains/client/Client.mjs +19 -12
  218. package/dist/esm/management/api/resources/deviceCredentials/client/Client.d.mts +3 -3
  219. package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +3 -3
  220. package/dist/esm/management/api/resources/groups/client/Client.d.mts +3 -0
  221. package/dist/esm/management/api/resources/groups/client/Client.mjs +5 -0
  222. package/dist/esm/management/api/resources/groups/resources/index.d.mts +1 -0
  223. package/dist/esm/management/api/resources/groups/resources/index.mjs +1 -0
  224. package/dist/esm/management/api/resources/groups/resources/roles/client/Client.d.mts +71 -0
  225. package/dist/esm/management/api/resources/groups/resources/roles/client/Client.mjs +233 -0
  226. package/dist/esm/management/api/resources/groups/resources/roles/client/index.d.mts +1 -0
  227. package/dist/esm/management/api/resources/groups/resources/roles/client/index.mjs +1 -0
  228. package/dist/esm/management/api/resources/groups/resources/roles/index.d.mts +1 -0
  229. package/dist/esm/management/api/resources/groups/resources/roles/index.mjs +1 -0
  230. package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.d.mts +2 -5
  231. package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.mjs +2 -5
  232. package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.mts +3 -3
  233. package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.mjs +3 -3
  234. package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.d.mts +10 -12
  235. package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.mjs +10 -12
  236. package/dist/esm/management/api/resources/hooks/client/Client.d.mts +2 -2
  237. package/dist/esm/management/api/resources/hooks/client/Client.mjs +2 -2
  238. package/dist/esm/management/api/resources/index.d.mts +1 -0
  239. package/dist/esm/management/api/resources/index.mjs +1 -0
  240. package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.d.mts +1 -1
  241. package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs +1 -1
  242. package/dist/esm/management/api/resources/logs/client/Client.d.mts +17 -20
  243. package/dist/esm/management/api/resources/logs/client/Client.mjs +17 -20
  244. package/dist/esm/management/api/resources/organizations/client/Client.d.mts +14 -13
  245. package/dist/esm/management/api/resources/organizations/client/Client.mjs +16 -13
  246. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +1 -1
  247. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +1 -1
  248. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +2 -2
  249. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +2 -2
  250. package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.d.mts +35 -0
  251. package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.mjs +109 -0
  252. package/dist/esm/management/api/resources/organizations/resources/groups/client/index.d.mts +1 -0
  253. package/dist/esm/management/api/resources/organizations/resources/groups/client/index.mjs +1 -0
  254. package/dist/esm/management/api/resources/organizations/resources/groups/index.d.mts +2 -0
  255. package/dist/esm/management/api/resources/organizations/resources/groups/index.mjs +2 -0
  256. package/dist/esm/management/api/resources/organizations/resources/groups/resources/index.d.mts +1 -0
  257. package/dist/esm/management/api/resources/organizations/resources/groups/resources/index.mjs +1 -0
  258. package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.mts +74 -0
  259. package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.mjs +236 -0
  260. package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/index.d.mts +1 -0
  261. package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/index.mjs +1 -0
  262. package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/index.d.mts +1 -0
  263. package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/index.mjs +1 -0
  264. package/dist/esm/management/api/resources/organizations/resources/index.d.mts +1 -0
  265. package/dist/esm/management/api/resources/organizations/resources/index.mjs +1 -0
  266. package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.d.mts +2 -2
  267. package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +2 -2
  268. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +9 -12
  269. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +11 -12
  270. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.mts +36 -0
  271. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.mjs +110 -0
  272. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.d.mts +1 -0
  273. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.mjs +1 -0
  274. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.d.mts +2 -0
  275. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.mjs +2 -0
  276. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.d.mts +1 -0
  277. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.mjs +1 -0
  278. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.d.mts +12 -0
  279. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.mjs +12 -0
  280. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.d.mts +1 -0
  281. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.mjs +1 -0
  282. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.d.mts +2 -0
  283. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.mjs +2 -0
  284. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +34 -0
  285. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +107 -0
  286. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.mts +1 -0
  287. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.mjs +1 -0
  288. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.d.mts +1 -0
  289. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.mjs +1 -0
  290. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.d.mts +1 -0
  291. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.mjs +1 -0
  292. package/dist/esm/management/api/resources/organizations/resources/members/resources/index.d.mts +1 -0
  293. package/dist/esm/management/api/resources/organizations/resources/members/resources/index.mjs +1 -0
  294. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +2 -2
  295. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +2 -2
  296. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.d.mts +2 -2
  297. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +2 -2
  298. package/dist/esm/management/api/resources/rateLimitPolicies/client/Client.d.mts +102 -0
  299. package/dist/esm/management/api/resources/rateLimitPolicies/client/Client.mjs +360 -0
  300. package/dist/esm/management/api/resources/rateLimitPolicies/client/index.d.mts +1 -0
  301. package/dist/esm/management/api/resources/rateLimitPolicies/client/index.mjs +1 -0
  302. package/dist/esm/management/api/resources/rateLimitPolicies/index.d.mts +1 -0
  303. package/dist/esm/management/api/resources/rateLimitPolicies/index.mjs +1 -0
  304. package/dist/esm/management/api/resources/roles/client/Client.d.mts +9 -6
  305. package/dist/esm/management/api/resources/roles/client/Client.mjs +11 -6
  306. package/dist/esm/management/api/resources/roles/resources/groups/client/Client.d.mts +71 -0
  307. package/dist/esm/management/api/resources/roles/resources/groups/client/Client.mjs +233 -0
  308. package/dist/esm/management/api/resources/roles/resources/groups/client/index.d.mts +1 -0
  309. package/dist/esm/management/api/resources/roles/resources/groups/client/index.mjs +1 -0
  310. package/dist/esm/management/api/resources/roles/resources/groups/index.d.mts +1 -0
  311. package/dist/esm/management/api/resources/roles/resources/groups/index.mjs +1 -0
  312. package/dist/esm/management/api/resources/roles/resources/index.d.mts +1 -0
  313. package/dist/esm/management/api/resources/roles/resources/index.mjs +1 -0
  314. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.d.mts +2 -2
  315. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +2 -2
  316. package/dist/esm/management/api/resources/roles/resources/users/client/Client.d.mts +11 -13
  317. package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +11 -13
  318. package/dist/esm/management/api/resources/rules/client/Client.d.mts +4 -4
  319. package/dist/esm/management/api/resources/rules/client/Client.mjs +4 -4
  320. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +1 -1
  321. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +1 -1
  322. package/dist/esm/management/api/resources/userBlocks/client/Client.d.mts +6 -6
  323. package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +6 -6
  324. package/dist/esm/management/api/resources/users/client/Client.d.mts +82 -51
  325. package/dist/esm/management/api/resources/users/client/Client.mjs +86 -51
  326. package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.d.mts +1 -1
  327. package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.mjs +1 -1
  328. package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/Client.d.mts +37 -0
  329. package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/Client.mjs +114 -0
  330. package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/index.d.mts +1 -0
  331. package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/index.mjs +1 -0
  332. package/dist/esm/management/api/resources/users/resources/effectivePermissions/index.d.mts +2 -0
  333. package/dist/esm/management/api/resources/users/resources/effectivePermissions/index.mjs +2 -0
  334. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/index.d.mts +1 -0
  335. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/index.mjs +1 -0
  336. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.d.mts +12 -0
  337. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.mjs +12 -0
  338. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.d.mts +1 -0
  339. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.mjs +1 -0
  340. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/index.d.mts +2 -0
  341. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/index.mjs +2 -0
  342. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.d.mts +1 -0
  343. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.mjs +1 -0
  344. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.d.mts +35 -0
  345. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.mjs +111 -0
  346. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.d.mts +1 -0
  347. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.mjs +1 -0
  348. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.d.mts +1 -0
  349. package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.mjs +1 -0
  350. package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.d.mts +35 -0
  351. package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.mjs +109 -0
  352. package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/index.d.mts +1 -0
  353. package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/index.mjs +1 -0
  354. package/dist/esm/management/api/resources/users/resources/effectiveRoles/index.d.mts +2 -0
  355. package/dist/esm/management/api/resources/users/resources/effectiveRoles/index.mjs +2 -0
  356. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/index.d.mts +1 -0
  357. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/index.mjs +1 -0
  358. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.d.mts +12 -0
  359. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.mjs +12 -0
  360. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.d.mts +1 -0
  361. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.mjs +1 -0
  362. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/index.d.mts +2 -0
  363. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/index.mjs +2 -0
  364. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +33 -0
  365. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +106 -0
  366. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.mts +1 -0
  367. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.mjs +1 -0
  368. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.d.mts +1 -0
  369. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.mjs +1 -0
  370. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.d.mts +1 -0
  371. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.mjs +1 -0
  372. package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.d.mts +1 -1
  373. package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.mjs +1 -1
  374. package/dist/esm/management/api/resources/users/resources/identities/client/Client.d.mts +26 -25
  375. package/dist/esm/management/api/resources/users/resources/identities/client/Client.mjs +26 -25
  376. package/dist/esm/management/api/resources/users/resources/index.d.mts +2 -0
  377. package/dist/esm/management/api/resources/users/resources/index.mjs +2 -0
  378. package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.d.mts +2 -2
  379. package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.mjs +2 -2
  380. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.d.mts +1 -1
  381. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +1 -1
  382. package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +6 -4
  383. package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +10 -4
  384. package/dist/esm/management/api/types/types.d.mts +503 -53
  385. package/dist/esm/management/api/types/types.mjs +120 -1
  386. package/dist/esm/management/core/auth/AuthProvider.d.mts +1 -0
  387. package/dist/esm/management/core/auth/AuthProvider.mjs +6 -1
  388. package/dist/esm/management/core/auth/index.d.mts +1 -1
  389. package/dist/esm/management/core/auth/index.mjs +1 -0
  390. package/dist/esm/management/core/fetcher/requestWithRetries.mjs +4 -1
  391. package/dist/esm/management/version.d.mts +1 -1
  392. package/dist/esm/management/version.mjs +1 -1
  393. package/package.json +3 -3
  394. package/reference.md +3564 -1868
@@ -0,0 +1,233 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
12
+ import * as core from "../../../../../../core/index.mjs";
13
+ import { mergeHeaders } from "../../../../../../core/headers.mjs";
14
+ import * as environments from "../../../../../../environments.mjs";
15
+ import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
16
+ import * as errors from "../../../../../../errors/index.mjs";
17
+ import * as Management from "../../../../../index.mjs";
18
+ export class RolesClient {
19
+ constructor(options) {
20
+ this._options = normalizeClientOptionsWithAuth(options);
21
+ }
22
+ /**
23
+ * Lists the <a href="https://auth0.com/docs/manage-users/access-control/rbac">roles</a> assigned to a group.
24
+ *
25
+ * @param {string} id - Unique identifier for the group (service-generated).
26
+ * @param {Management.ListGroupRolesRequestParameters} request
27
+ * @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
28
+ *
29
+ * @throws {@link Management.BadRequestError}
30
+ * @throws {@link Management.UnauthorizedError}
31
+ * @throws {@link Management.ForbiddenError}
32
+ * @throws {@link Management.TooManyRequestsError}
33
+ *
34
+ * @example
35
+ * await client.groups.roles.list("id", {
36
+ * from: "from",
37
+ * take: 1
38
+ * })
39
+ */
40
+ list(id_1) {
41
+ return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
42
+ const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
43
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
44
+ const { from: from_, take = 50 } = request;
45
+ const _queryParams = {
46
+ from: from_,
47
+ take,
48
+ };
49
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
50
+ let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
51
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
52
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `groups/${core.url.encodePathParam(id)}/roles`),
53
+ method: "GET",
54
+ headers: _headers,
55
+ queryString: core.url
56
+ .queryBuilder()
57
+ .addMany(_queryParams)
58
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
59
+ .build(),
60
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
61
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
62
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
63
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
64
+ logging: this._options.logging,
65
+ });
66
+ if (_response.ok) {
67
+ return {
68
+ data: _response.body,
69
+ rawResponse: _response.rawResponse,
70
+ };
71
+ }
72
+ if (_response.error.reason === "status-code") {
73
+ switch (_response.error.statusCode) {
74
+ case 400:
75
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
76
+ case 401:
77
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
78
+ case 403:
79
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
80
+ case 429:
81
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
82
+ default:
83
+ throw new errors.ManagementError({
84
+ statusCode: _response.error.statusCode,
85
+ body: _response.error.body,
86
+ rawResponse: _response.rawResponse,
87
+ });
88
+ }
89
+ }
90
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/groups/{id}/roles");
91
+ }));
92
+ const dataWithRawResponse = yield list(request).withRawResponse();
93
+ return new core.Page({
94
+ response: dataWithRawResponse.data,
95
+ rawResponse: dataWithRawResponse.rawResponse,
96
+ hasNextPage: (response) => (response === null || response === void 0 ? void 0 : response.next) != null && !(typeof (response === null || response === void 0 ? void 0 : response.next) === "string" && (response === null || response === void 0 ? void 0 : response.next) === ""),
97
+ getItems: (response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.roles) !== null && _a !== void 0 ? _a : []; },
98
+ loadPage: (response) => {
99
+ return list(core.setObjectProperty(request, "from", response === null || response === void 0 ? void 0 : response.next));
100
+ },
101
+ });
102
+ });
103
+ }
104
+ /**
105
+ * Assign one or more <a href="https://auth0.com/docs/manage-users/access-control/rbac">roles</a> to a specified group.
106
+ *
107
+ * @param {string} id - Unique identifier for the group (service-generated).
108
+ * @param {Management.CreateGroupRolesRequestParameters} request
109
+ * @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
110
+ *
111
+ * @throws {@link Management.BadRequestError}
112
+ * @throws {@link Management.UnauthorizedError}
113
+ * @throws {@link Management.ForbiddenError}
114
+ * @throws {@link Management.NotFoundError}
115
+ * @throws {@link Management.TooManyRequestsError}
116
+ *
117
+ * @example
118
+ * await client.groups.roles.create("id", {
119
+ * roles: ["roles"]
120
+ * })
121
+ */
122
+ create(id, request, requestOptions) {
123
+ return core.HttpResponsePromise.fromPromise(this.__create(id, request, requestOptions));
124
+ }
125
+ __create(id, request, requestOptions) {
126
+ return __awaiter(this, void 0, void 0, function* () {
127
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
128
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
129
+ let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
130
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
131
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `groups/${core.url.encodePathParam(id)}/roles`),
132
+ method: "POST",
133
+ headers: _headers,
134
+ contentType: "application/json",
135
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
136
+ requestType: "json",
137
+ body: request,
138
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
139
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
140
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
141
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
142
+ logging: this._options.logging,
143
+ });
144
+ if (_response.ok) {
145
+ return { data: undefined, rawResponse: _response.rawResponse };
146
+ }
147
+ if (_response.error.reason === "status-code") {
148
+ switch (_response.error.statusCode) {
149
+ case 400:
150
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
151
+ case 401:
152
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
153
+ case 403:
154
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
155
+ case 404:
156
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
157
+ case 429:
158
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
159
+ default:
160
+ throw new errors.ManagementError({
161
+ statusCode: _response.error.statusCode,
162
+ body: _response.error.body,
163
+ rawResponse: _response.rawResponse,
164
+ });
165
+ }
166
+ }
167
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/groups/{id}/roles");
168
+ });
169
+ }
170
+ /**
171
+ * Unassign one or more <a href="https://auth0.com/docs/manage-users/access-control/rbac">roles</a> from a specified group.
172
+ *
173
+ * @param {string} id - Unique identifier for the group (service-generated).
174
+ * @param {Management.DeleteGroupRolesRequestContent} request
175
+ * @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
176
+ *
177
+ * @throws {@link Management.BadRequestError}
178
+ * @throws {@link Management.UnauthorizedError}
179
+ * @throws {@link Management.ForbiddenError}
180
+ * @throws {@link Management.TooManyRequestsError}
181
+ *
182
+ * @example
183
+ * await client.groups.roles.delete("id", {
184
+ * roles: ["roles"]
185
+ * })
186
+ */
187
+ delete(id, request, requestOptions) {
188
+ return core.HttpResponsePromise.fromPromise(this.__delete(id, request, requestOptions));
189
+ }
190
+ __delete(id, request, requestOptions) {
191
+ return __awaiter(this, void 0, void 0, function* () {
192
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
193
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
194
+ let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
195
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
196
+ 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)}/roles`),
197
+ method: "DELETE",
198
+ headers: _headers,
199
+ contentType: "application/json",
200
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
201
+ requestType: "json",
202
+ body: request,
203
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
204
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
205
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
206
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
207
+ logging: this._options.logging,
208
+ });
209
+ if (_response.ok) {
210
+ return { data: undefined, rawResponse: _response.rawResponse };
211
+ }
212
+ if (_response.error.reason === "status-code") {
213
+ switch (_response.error.statusCode) {
214
+ case 400:
215
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
216
+ case 401:
217
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
218
+ case 403:
219
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
220
+ case 429:
221
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
222
+ default:
223
+ throw new errors.ManagementError({
224
+ statusCode: _response.error.statusCode,
225
+ body: _response.error.body,
226
+ rawResponse: _response.rawResponse,
227
+ });
228
+ }
229
+ }
230
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/groups/{id}/roles");
231
+ });
232
+ }
233
+ }
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -11,10 +11,7 @@ export declare class EnrollmentsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<EnrollmentsClient.Options>;
12
12
  constructor(options: EnrollmentsClient.Options);
13
13
  /**
14
- * Create a <a href="https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets">multi-factor authentication (MFA) enrollment ticket</a>, and optionally send an email with the created ticket, to a given user.
15
- * Create a <a href="https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets">multi-factor authentication (MFA) enrollment ticket</a>, and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.<br/>
16
- *
17
- * Note: Users cannot enroll in Email as a factor through custom enrollment tickets.
14
+ * Create a [multi-factor authentication (MFA) enrollment ticket](https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets), and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.
18
15
  *
19
16
  * @param {Management.CreateGuardianEnrollmentTicketRequestContent} request
20
17
  * @param {EnrollmentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -47,7 +44,7 @@ export declare class EnrollmentsClient {
47
44
  get(id: string, requestOptions?: EnrollmentsClient.RequestOptions): core.HttpResponsePromise<Management.GetGuardianEnrollmentResponseContent>;
48
45
  private __get;
49
46
  /**
50
- * Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa">Reset User Multi-Factor Authentication and Recovery Codes</a>.
47
+ * Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review [Reset User Multi-Factor Authentication and Recovery Codes](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa).
51
48
  *
52
49
  * @param {string} id - ID of the enrollment to be deleted.
53
50
  * @param {EnrollmentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,10 +20,7 @@ export class EnrollmentsClient {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
- * Create a <a href="https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets">multi-factor authentication (MFA) enrollment ticket</a>, and optionally send an email with the created ticket, to a given user.
24
- * Create a <a href="https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets">multi-factor authentication (MFA) enrollment ticket</a>, and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.<br/>
25
- *
26
- * Note: Users cannot enroll in Email as a factor through custom enrollment tickets.
23
+ * Create a [multi-factor authentication (MFA) enrollment ticket](https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets), and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.
27
24
  *
28
25
  * @param {Management.CreateGuardianEnrollmentTicketRequestContent} request
29
26
  * @param {EnrollmentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -145,7 +142,7 @@ export class EnrollmentsClient {
145
142
  });
146
143
  }
147
144
  /**
148
- * Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa">Reset User Multi-Factor Authentication and Recovery Codes</a>.
145
+ * Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review [Reset User Multi-Factor Authentication and Recovery Codes](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa).
149
146
  *
150
147
  * @param {string} id - ID of the enrollment to be deleted.
151
148
  * @param {EnrollmentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -115,7 +115,7 @@ export declare class PushNotificationClient {
115
115
  updateFcmv1Provider(request?: Management.UpdateGuardianFactorsProviderPushNotificationFcmv1RequestContent, requestOptions?: PushNotificationClient.RequestOptions): core.HttpResponsePromise<Management.UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent>;
116
116
  private __updateFcmv1Provider;
117
117
  /**
118
- * Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa">Configure Push Notifications for MFA</a>.
118
+ * Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review [Configure Push Notifications for MFA](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa).
119
119
  *
120
120
  * @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
121
121
  *
@@ -129,7 +129,7 @@ export declare class PushNotificationClient {
129
129
  getSnsProvider(requestOptions?: PushNotificationClient.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorsProviderSnsResponseContent>;
130
130
  private __getSnsProvider;
131
131
  /**
132
- * Configure the <a href="https://auth0.com/docs/multifactor-authentication/developer/sns-configuration">AWS SNS push notification provider configuration</a> (subscription required).
132
+ * Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
133
133
  *
134
134
  * @param {Management.SetGuardianFactorsProviderPushNotificationSnsRequestContent} request
135
135
  * @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -144,7 +144,7 @@ export declare class PushNotificationClient {
144
144
  setSnsProvider(request?: Management.SetGuardianFactorsProviderPushNotificationSnsRequestContent, requestOptions?: PushNotificationClient.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorsProviderPushNotificationSnsResponseContent>;
145
145
  private __setSnsProvider;
146
146
  /**
147
- * Configure the <a href="https://auth0.com/docs/multifactor-authentication/developer/sns-configuration">AWS SNS push notification provider configuration</a> (subscription required).
147
+ * Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
148
148
  *
149
149
  * @param {Management.UpdateGuardianFactorsProviderPushNotificationSnsRequestContent} request
150
150
  * @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -436,7 +436,7 @@ export class PushNotificationClient {
436
436
  });
437
437
  }
438
438
  /**
439
- * Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa">Configure Push Notifications for MFA</a>.
439
+ * Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review [Configure Push Notifications for MFA](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa).
440
440
  *
441
441
  * @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
442
442
  *
@@ -492,7 +492,7 @@ export class PushNotificationClient {
492
492
  });
493
493
  }
494
494
  /**
495
- * Configure the <a href="https://auth0.com/docs/multifactor-authentication/developer/sns-configuration">AWS SNS push notification provider configuration</a> (subscription required).
495
+ * Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
496
496
  *
497
497
  * @param {Management.SetGuardianFactorsProviderPushNotificationSnsRequestContent} request
498
498
  * @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -552,7 +552,7 @@ export class PushNotificationClient {
552
552
  });
553
553
  }
554
554
  /**
555
- * Configure the <a href="https://auth0.com/docs/multifactor-authentication/developer/sns-configuration">AWS SNS push notification provider configuration</a> (subscription required).
555
+ * Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
556
556
  *
557
557
  * @param {Management.UpdateGuardianFactorsProviderPushNotificationSnsRequestContent} request
558
558
  * @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -11,15 +11,14 @@ export declare class PoliciesClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<PoliciesClient.Options>;
12
12
  constructor(options: PoliciesClient.Options);
13
13
  /**
14
- * Retrieve the <a href="https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa">multi-factor authentication (MFA) policies</a> configured for your tenant.
14
+ * Retrieve the [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) configured for your tenant.
15
15
  *
16
16
  * The following policies are supported:
17
- * <ul>
18
- * <li><code>all-applications</code> policy prompts with MFA for all logins.</li>
19
- * <li><code>confidence-score</code> policy prompts with MFA only for low confidence logins.</li>
20
- * </ul>
21
17
  *
22
- * <b>Note</b>: The <code>confidence-score</code> policy is part of the <a href="https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa">Adaptive MFA feature</a>. Adaptive MFA requires an add-on for the Enterprise plan; review <a href="https://auth0.com/pricing">Auth0 Pricing</a> for more details.
18
+ * - `all-applications` policy prompts with MFA for all logins.
19
+ * - `confidence-score` policy prompts with MFA only for low confidence logins.
20
+ *
21
+ * **Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details.
23
22
  *
24
23
  * @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
25
24
  *
@@ -33,15 +32,14 @@ export declare class PoliciesClient {
33
32
  list(requestOptions?: PoliciesClient.RequestOptions): core.HttpResponsePromise<Management.ListGuardianPoliciesResponseContent>;
34
33
  private __list;
35
34
  /**
36
- * Set <a href="https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa">multi-factor authentication (MFA) policies</a> for your tenant.
35
+ * Set [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) for your tenant.
37
36
  *
38
37
  * The following policies are supported:
39
- * <ul>
40
- * <li><code>all-applications</code> policy prompts with MFA for all logins.</li>
41
- * <li><code>confidence-score</code> policy prompts with MFA only for low confidence logins.</li>
42
- * </ul>
43
38
  *
44
- * <b>Note</b>: The <code>confidence-score</code> policy is part of the <a href="https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa">Adaptive MFA feature</a>. Adaptive MFA requires an add-on for the Enterprise plan; review <a href="https://auth0.com/pricing">Auth0 Pricing</a> for more details.
39
+ * - `all-applications` policy prompts with MFA for all logins.
40
+ * - `confidence-score` policy prompts with MFA only for low confidence logins.
41
+ *
42
+ * **Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details.
45
43
  *
46
44
  * @param {Management.SetGuardianPoliciesRequestContent} request
47
45
  * @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,15 +20,14 @@ export class PoliciesClient {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
- * Retrieve the <a href="https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa">multi-factor authentication (MFA) policies</a> configured for your tenant.
23
+ * Retrieve the [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) configured for your tenant.
24
24
  *
25
25
  * The following policies are supported:
26
- * <ul>
27
- * <li><code>all-applications</code> policy prompts with MFA for all logins.</li>
28
- * <li><code>confidence-score</code> policy prompts with MFA only for low confidence logins.</li>
29
- * </ul>
30
26
  *
31
- * <b>Note</b>: The <code>confidence-score</code> policy is part of the <a href="https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa">Adaptive MFA feature</a>. Adaptive MFA requires an add-on for the Enterprise plan; review <a href="https://auth0.com/pricing">Auth0 Pricing</a> for more details.
27
+ * - `all-applications` policy prompts with MFA for all logins.
28
+ * - `confidence-score` policy prompts with MFA only for low confidence logins.
29
+ *
30
+ * **Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details.
32
31
  *
33
32
  * @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
34
33
  *
@@ -84,15 +83,14 @@ export class PoliciesClient {
84
83
  });
85
84
  }
86
85
  /**
87
- * Set <a href="https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa">multi-factor authentication (MFA) policies</a> for your tenant.
86
+ * Set [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) for your tenant.
88
87
  *
89
88
  * The following policies are supported:
90
- * <ul>
91
- * <li><code>all-applications</code> policy prompts with MFA for all logins.</li>
92
- * <li><code>confidence-score</code> policy prompts with MFA only for low confidence logins.</li>
93
- * </ul>
94
89
  *
95
- * <b>Note</b>: The <code>confidence-score</code> policy is part of the <a href="https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa">Adaptive MFA feature</a>. Adaptive MFA requires an add-on for the Enterprise plan; review <a href="https://auth0.com/pricing">Auth0 Pricing</a> for more details.
90
+ * - `all-applications` policy prompts with MFA for all logins.
91
+ * - `confidence-score` policy prompts with MFA only for low confidence logins.
92
+ *
93
+ * **Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details.
96
94
  *
97
95
  * @param {Management.SetGuardianPoliciesRequestContent} request
98
96
  * @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -14,7 +14,7 @@ export declare class HooksClient {
14
14
  constructor(options: HooksClient.Options);
15
15
  get secrets(): SecretsClient;
16
16
  /**
17
- * Retrieve all <a href="https://auth0.com/docs/hooks">hooks</a>. Accepts a list of fields to include or exclude in the result.
17
+ * Retrieve all [hooks](https://auth0.com/docs/hooks). Accepts a list of fields to include or exclude in the result.
18
18
  *
19
19
  * @param {Management.ListHooksRequestParameters} request
20
20
  * @param {HooksClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -58,7 +58,7 @@ export declare class HooksClient {
58
58
  create(request: Management.CreateHookRequestContent, requestOptions?: HooksClient.RequestOptions): core.HttpResponsePromise<Management.CreateHookResponseContent>;
59
59
  private __create;
60
60
  /**
61
- * Retrieve <a href="https://auth0.com/docs/hooks">a hook</a> by its ID. Accepts a list of fields to include in the result.
61
+ * Retrieve [a hook](https://auth0.com/docs/hooks) by its ID. Accepts a list of fields to include in the result.
62
62
  *
63
63
  * @param {string} id - ID of the hook to retrieve.
64
64
  * @param {Management.GetHookRequestParameters} request
@@ -25,7 +25,7 @@ export class HooksClient {
25
25
  return ((_a = this._secrets) !== null && _a !== void 0 ? _a : (this._secrets = new SecretsClient(this._options)));
26
26
  }
27
27
  /**
28
- * Retrieve all <a href="https://auth0.com/docs/hooks">hooks</a>. Accepts a list of fields to include or exclude in the result.
28
+ * Retrieve all [hooks](https://auth0.com/docs/hooks). Accepts a list of fields to include or exclude in the result.
29
29
  *
30
30
  * @param {Management.ListHooksRequestParameters} request
31
31
  * @param {HooksClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -186,7 +186,7 @@ export class HooksClient {
186
186
  });
187
187
  }
188
188
  /**
189
- * Retrieve <a href="https://auth0.com/docs/hooks">a hook</a> by its ID. Accepts a list of fields to include in the result.
189
+ * Retrieve [a hook](https://auth0.com/docs/hooks) by its ID. Accepts a list of fields to include in the result.
190
190
  *
191
191
  * @param {string} id - ID of the hook to retrieve.
192
192
  * @param {Management.GetHookRequestParameters} request
@@ -25,6 +25,7 @@ export * as logStreams from "./logStreams/index.mjs";
25
25
  export * as networkAcls from "./networkAcls/index.mjs";
26
26
  export * as organizations from "./organizations/index.mjs";
27
27
  export * as prompts from "./prompts/index.mjs";
28
+ export * as rateLimitPolicies from "./rateLimitPolicies/index.mjs";
28
29
  export * as refreshTokens from "./refreshTokens/index.mjs";
29
30
  export * as resourceServers from "./resourceServers/index.mjs";
30
31
  export * as riskAssessments from "./riskAssessments/index.mjs";
@@ -25,6 +25,7 @@ export * as logStreams from "./logStreams/index.mjs";
25
25
  export * as networkAcls from "./networkAcls/index.mjs";
26
26
  export * as organizations from "./organizations/index.mjs";
27
27
  export * as prompts from "./prompts/index.mjs";
28
+ export * as rateLimitPolicies from "./rateLimitPolicies/index.mjs";
28
29
  export * as refreshTokens from "./refreshTokens/index.mjs";
29
30
  export * as resourceServers from "./resourceServers/index.mjs";
30
31
  export * as riskAssessments from "./riskAssessments/index.mjs";
@@ -11,7 +11,7 @@ export declare class VerificationEmailClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<VerificationEmailClient.Options>;
12
12
  constructor(options: VerificationEmailClient.Options);
13
13
  /**
14
- * Send an email to the specified user that asks them to click a link to <a href="https://auth0.com/docs/email/custom#verification-email">verify their email address</a>.
14
+ * Send an email to the specified user that asks them to click a link to [verify their email address](https://auth0.com/docs/email/custom#verification-email).
15
15
  *
16
16
  * Note: You must have the `Status` toggle enabled for the verification email template for the email to be sent.
17
17
  *
@@ -20,7 +20,7 @@ export class VerificationEmailClient {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
- * Send an email to the specified user that asks them to click a link to <a href="https://auth0.com/docs/email/custom#verification-email">verify their email address</a>.
23
+ * Send an email to the specified user that asks them to click a link to [verify their email address](https://auth0.com/docs/email/custom#verification-email).
24
24
  *
25
25
  * Note: You must have the `Status` toggle enabled for the verification email template for the email to be sent.
26
26
  *
@@ -13,33 +13,30 @@ export declare class LogsClient {
13
13
  /**
14
14
  * Retrieve log entries that match the specified search criteria (or all log entries if no criteria specified).
15
15
  *
16
- * Set custom search criteria using the <code>q</code> parameter, or search from a specific log ID (<i>"search from checkpoint"</i>).
16
+ * Set custom search criteria using the `q` parameter, or search from a specific log ID (_"search from checkpoint"_).
17
17
  *
18
- * For more information on all possible event types, their respective acronyms, and descriptions, see <a href="https://auth0.com/docs/logs/log-event-type-codes">Log Event Type Codes</a>.
18
+ * For more information on all possible event types, their respective acronyms, and descriptions, see [Log Event Type Codes](https://auth0.com/docs/logs/log-event-type-codes).
19
19
  *
20
- * <h5>To set custom search criteria, use the following parameters:</h5>
20
+ * **To set custom search criteria, use the following parameters:**
21
21
  *
22
- * <ul>
23
- * <li><b>q:</b> Search Criteria using <a href="https://auth0.com/docs/logs/log-search-query-syntax">Query String Syntax</a></li>
24
- * <li><b>page:</b> Page index of the results to return. First page is 0.</li>
25
- * <li><b>per_page:</b> Number of results per page.</li>
26
- * <li><b>sort:</b> Field to use for sorting appended with `:1` for ascending and `:-1` for descending. e.g. `date:-1`</li>
27
- * <li><b>fields:</b> Comma-separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields.</li>
28
- * <li><b>include_fields:</b> Whether specified fields are to be included (true) or excluded (false).</li>
29
- * <li><b>include_totals:</b> Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). <b>Deprecated:</b> this field is deprecated and should be removed from use. See <a href="https://auth0.com/docs/product-lifecycle/deprecations-and-migrations/migrate-to-tenant-log-search-v3#pagination">Search Engine V3 Breaking Changes</a></li>
30
- * </ul>
22
+ * - **q:** Search Criteria using [Query String Syntax](https://auth0.com/docs/logs/log-search-query-syntax)
23
+ * - **page:** Page index of the results to return. First page is 0.
24
+ * - **per_page:** Number of results per page.
25
+ * - **sort:** Field to use for sorting appended with `:1` for ascending and `:-1` for descending. e.g. `date:-1`
26
+ * - **fields:** Comma-separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields.
27
+ * - **include_fields:** Whether specified fields are to be included (true) or excluded (false).
28
+ * - **include_totals:** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). **Deprecated:** this field is deprecated and should be removed from use. See [Search Engine V3 Breaking Changes](https://auth0.com/docs/product-lifecycle/deprecations-and-migrations/migrate-to-tenant-log-search-v3#pagination)
31
29
  *
32
- * For more information on the list of fields that can be used in <code>fields</code> and <code>sort</code>, see <a href="https://auth0.com/docs/logs/log-search-query-syntax#searchable-fields">Searchable Fields</a>.
30
+ * For more information on the list of fields that can be used in `fields` and `sort`, see [Searchable Fields](https://auth0.com/docs/logs/log-search-query-syntax#searchable-fields).
33
31
  *
34
- * Auth0 <a href="https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#limitations">limits the number of logs</a> you can return by search criteria to 100 logs per request. Furthermore, you may paginate only through 1,000 search results. If you exceed this threshold, please redefine your search or use the <a href="https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#retrieve-logs-by-checkpoint">get logs by checkpoint method</a>.
32
+ * Auth0 [limits the number of logs](https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#limitations) you can return by search criteria to 100 logs per request. Furthermore, you may paginate only through 1,000 search results. If you exceed this threshold, please redefine your search or use the [get logs by checkpoint method](https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#retrieve-logs-by-checkpoint).
35
33
  *
36
- * <h5>To search from a checkpoint log ID, use the following parameters:</h5>
37
- * <ul>
38
- * <li><b>from:</b> Log Event ID from which to start retrieving logs. You can limit the number of logs returned using the <code>take</code> parameter. If you use <code>from</code> at the same time as <code>q</code>, <code>from</code> takes precedence and <code>q</code> is ignored.</li>
39
- * <li><b>take:</b> Number of entries to retrieve when using the <code>from</code> parameter.</li>
40
- * </ul>
34
+ * **To search from a checkpoint log ID, use the following parameters:**
41
35
  *
42
- * <strong>Important:</strong> When fetching logs from a checkpoint log ID, any parameter other than <code>from</code> and <code>take</code> will be ignored, and date ordering is not guaranteed.
36
+ * - **from:** Log Event ID from which to start retrieving logs. You can limit the number of logs returned using the `take` parameter. If you use `from` at the same time as `q`, `from` takes precedence and `q` is ignored.
37
+ * - **take:** Number of entries to retrieve when using the `from` parameter.
38
+ *
39
+ * **Important:** When fetching logs from a checkpoint log ID, any parameter other than `from` and `take` will be ignored, and date ordering is not guaranteed.
43
40
  *
44
41
  * @param {Management.ListLogsRequestParameters} request
45
42
  * @param {LogsClient.RequestOptions} requestOptions - Request-specific configuration.