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
@@ -20,7 +20,7 @@ export class EnrollmentsClient {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
- * Retrieve the first <a href="https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors">multi-factor authentication</a> enrollment that a specific user has confirmed.
23
+ * Retrieve the first [multi-factor authentication](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors) enrollment that a specific user has confirmed.
24
24
  *
25
25
  * @param {string} id - ID of the user to list enrollments for.
26
26
  * @param {EnrollmentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -15,30 +15,31 @@ export declare class IdentitiesClient {
15
15
  *
16
16
  * Note: There are two ways of invoking the endpoint:
17
17
  *
18
- * <ul>
19
- * <li>With the authenticated primary account's JWT in the Authorization header, which has the <code>update:current_user_identities</code> scope:
20
- * <pre>
21
- * POST /api/v2/users/PRIMARY_ACCOUNT_USER_ID/identities
22
- * Authorization: "Bearer PRIMARY_ACCOUNT_JWT"
23
- * {
24
- * "link_with": "SECONDARY_ACCOUNT_JWT"
25
- * }
26
- * </pre>
27
- * In this case, only the <code>link_with</code> param is required in the body, which also contains the JWT obtained upon the secondary account's authentication.
28
- * </li>
29
- * <li>With a token generated by the API V2 containing the <code>update:users</code> scope:
30
- * <pre>
31
- * POST /api/v2/users/PRIMARY_ACCOUNT_USER_ID/identities
32
- * Authorization: "Bearer YOUR_API_V2_TOKEN"
33
- * {
34
- * "provider": "SECONDARY_ACCOUNT_PROVIDER",
35
- * "connection_id": "SECONDARY_ACCOUNT_CONNECTION_ID(OPTIONAL)",
36
- * "user_id": "SECONDARY_ACCOUNT_USER_ID"
37
- * }
38
- * </pre>
39
- * In this case you need to send <code>provider</code> and <code>user_id</code> in the body. Optionally you can also send the <code>connection_id</code> param which is suitable for identifying a particular database connection for the 'auth0' provider.
40
- * </li>
41
- * </ul>
18
+ * - With the authenticated primary account's JWT in the Authorization header, which has the `update:current_user_identities` scope:
19
+ *
20
+ * ```http
21
+ * POST /api/v2/users/PRIMARY_ACCOUNT_USER_ID/identities
22
+ * Authorization: "Bearer PRIMARY_ACCOUNT_JWT"
23
+ * {
24
+ * "link_with": "SECONDARY_ACCOUNT_JWT"
25
+ * }
26
+ * ```
27
+ *
28
+ * In this case, only the `link_with` param is required in the body, which also contains the JWT obtained upon the secondary account's authentication.
29
+ *
30
+ * - With a token generated by the API V2 containing the `update:users` scope:
31
+ *
32
+ * ```http
33
+ * POST /api/v2/users/PRIMARY_ACCOUNT_USER_ID/identities
34
+ * Authorization: "Bearer YOUR_API_V2_TOKEN"
35
+ * {
36
+ * "provider": "SECONDARY_ACCOUNT_PROVIDER",
37
+ * "connection_id": "SECONDARY_ACCOUNT_CONNECTION_ID(OPTIONAL)",
38
+ * "user_id": "SECONDARY_ACCOUNT_USER_ID"
39
+ * }
40
+ * ```
41
+ *
42
+ * In this case you need to send `provider` and `user_id` in the body. Optionally you can also send the `connection_id` param which is suitable for identifying a particular database connection for the 'auth0' provider.
42
43
  *
43
44
  * @param {string} id - ID of the primary user account to link a second user account to.
44
45
  * @param {Management.LinkUserIdentityRequestContent} request
@@ -58,7 +59,7 @@ export declare class IdentitiesClient {
58
59
  /**
59
60
  * Unlink a specific secondary account from a target user. This action requires the ID of both the target user and the secondary account.
60
61
  *
61
- * Unlinking the secondary account removes it from the identities array of the target user and creates a new standalone profile for the secondary account. To learn more, review <a href="https://auth0.com/docs/manage-users/user-accounts/user-account-linking/unlink-user-accounts">Unlink User Accounts</a>.
62
+ * Unlinking the secondary account removes it from the identities array of the target user and creates a new standalone profile for the secondary account. To learn more, review [Unlink User Accounts](https://auth0.com/docs/manage-users/user-accounts/user-account-linking/unlink-user-accounts).
62
63
  *
63
64
  * @param {string} id - ID of the primary user account.
64
65
  * @param {Management.UserIdentityProviderEnum} provider - Identity provider name of the secondary linked account (e.g. `google-oauth2`).
@@ -24,30 +24,31 @@ export class IdentitiesClient {
24
24
  *
25
25
  * Note: There are two ways of invoking the endpoint:
26
26
  *
27
- * <ul>
28
- * <li>With the authenticated primary account's JWT in the Authorization header, which has the <code>update:current_user_identities</code> scope:
29
- * <pre>
30
- * POST /api/v2/users/PRIMARY_ACCOUNT_USER_ID/identities
31
- * Authorization: "Bearer PRIMARY_ACCOUNT_JWT"
32
- * {
33
- * "link_with": "SECONDARY_ACCOUNT_JWT"
34
- * }
35
- * </pre>
36
- * In this case, only the <code>link_with</code> param is required in the body, which also contains the JWT obtained upon the secondary account's authentication.
37
- * </li>
38
- * <li>With a token generated by the API V2 containing the <code>update:users</code> scope:
39
- * <pre>
40
- * POST /api/v2/users/PRIMARY_ACCOUNT_USER_ID/identities
41
- * Authorization: "Bearer YOUR_API_V2_TOKEN"
42
- * {
43
- * "provider": "SECONDARY_ACCOUNT_PROVIDER",
44
- * "connection_id": "SECONDARY_ACCOUNT_CONNECTION_ID(OPTIONAL)",
45
- * "user_id": "SECONDARY_ACCOUNT_USER_ID"
46
- * }
47
- * </pre>
48
- * In this case you need to send <code>provider</code> and <code>user_id</code> in the body. Optionally you can also send the <code>connection_id</code> param which is suitable for identifying a particular database connection for the 'auth0' provider.
49
- * </li>
50
- * </ul>
27
+ * - With the authenticated primary account's JWT in the Authorization header, which has the `update:current_user_identities` scope:
28
+ *
29
+ * ```http
30
+ * POST /api/v2/users/PRIMARY_ACCOUNT_USER_ID/identities
31
+ * Authorization: "Bearer PRIMARY_ACCOUNT_JWT"
32
+ * {
33
+ * "link_with": "SECONDARY_ACCOUNT_JWT"
34
+ * }
35
+ * ```
36
+ *
37
+ * In this case, only the `link_with` param is required in the body, which also contains the JWT obtained upon the secondary account's authentication.
38
+ *
39
+ * - With a token generated by the API V2 containing the `update:users` scope:
40
+ *
41
+ * ```http
42
+ * POST /api/v2/users/PRIMARY_ACCOUNT_USER_ID/identities
43
+ * Authorization: "Bearer YOUR_API_V2_TOKEN"
44
+ * {
45
+ * "provider": "SECONDARY_ACCOUNT_PROVIDER",
46
+ * "connection_id": "SECONDARY_ACCOUNT_CONNECTION_ID(OPTIONAL)",
47
+ * "user_id": "SECONDARY_ACCOUNT_USER_ID"
48
+ * }
49
+ * ```
50
+ *
51
+ * In this case you need to send `provider` and `user_id` in the body. Optionally you can also send the `connection_id` param which is suitable for identifying a particular database connection for the 'auth0' provider.
51
52
  *
52
53
  * @param {string} id - ID of the primary user account to link a second user account to.
53
54
  * @param {Management.LinkUserIdentityRequestContent} request
@@ -113,7 +114,7 @@ export class IdentitiesClient {
113
114
  /**
114
115
  * Unlink a specific secondary account from a target user. This action requires the ID of both the target user and the secondary account.
115
116
  *
116
- * Unlinking the secondary account removes it from the identities array of the target user and creates a new standalone profile for the secondary account. To learn more, review <a href="https://auth0.com/docs/manage-users/user-accounts/user-account-linking/unlink-user-accounts">Unlink User Accounts</a>.
117
+ * Unlinking the secondary account removes it from the identities array of the target user and creates a new standalone profile for the secondary account. To learn more, review [Unlink User Accounts](https://auth0.com/docs/manage-users/user-accounts/user-account-linking/unlink-user-accounts).
117
118
  *
118
119
  * @param {string} id - ID of the primary user account.
119
120
  * @param {Management.UserIdentityProviderEnum} provider - Identity provider name of the secondary linked account (e.g. `google-oauth2`).
@@ -1,6 +1,8 @@
1
1
  export * as authenticationMethods from "./authenticationMethods/index.mjs";
2
2
  export * as authenticators from "./authenticators/index.mjs";
3
3
  export * as connectedAccounts from "./connectedAccounts/index.mjs";
4
+ export * as effectivePermissions from "./effectivePermissions/index.mjs";
5
+ export * as effectiveRoles from "./effectiveRoles/index.mjs";
4
6
  export * as enrollments from "./enrollments/index.mjs";
5
7
  export * as federatedConnectionsTokensets from "./federatedConnectionsTokensets/index.mjs";
6
8
  export * as groups from "./groups/index.mjs";
@@ -1,6 +1,8 @@
1
1
  export * as authenticationMethods from "./authenticationMethods/index.mjs";
2
2
  export * as authenticators from "./authenticators/index.mjs";
3
3
  export * as connectedAccounts from "./connectedAccounts/index.mjs";
4
+ export * as effectivePermissions from "./effectivePermissions/index.mjs";
5
+ export * as effectiveRoles from "./effectiveRoles/index.mjs";
4
6
  export * as enrollments from "./enrollments/index.mjs";
5
7
  export * as federatedConnectionsTokensets from "./federatedConnectionsTokensets/index.mjs";
6
8
  export * as groups from "./groups/index.mjs";
@@ -11,7 +11,7 @@ export declare class MultifactorClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<MultifactorClient.Options>;
12
12
  constructor(options: MultifactorClient.Options);
13
13
  /**
14
- * Invalidate all remembered browsers across all <a href="https://auth0.com/docs/multifactor-authentication">authentication factors</a> for a user.
14
+ * Invalidate all remembered browsers across all [authentication factors](https://auth0.com/docs/multifactor-authentication) for a user.
15
15
  *
16
16
  * @param {string} id - ID of the user to invalidate all remembered browsers and authentication factors for.
17
17
  * @param {MultifactorClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -26,7 +26,7 @@ export declare class MultifactorClient {
26
26
  invalidateRememberBrowser(id: string, requestOptions?: MultifactorClient.RequestOptions): core.HttpResponsePromise<void>;
27
27
  private __invalidateRememberBrowser;
28
28
  /**
29
- * Remove a <a href="https://auth0.com/docs/multifactor-authentication">multifactor</a> authentication configuration from a user's account. This forces the user to manually reconfigure the multi-factor provider.
29
+ * Remove a [multifactor](https://auth0.com/docs/multifactor-authentication) authentication configuration from a user's account. This forces the user to manually reconfigure the multi-factor provider.
30
30
  *
31
31
  * @param {string} id - ID of the user to remove a multifactor configuration from.
32
32
  * @param {Management.UserMultifactorProviderEnum} provider - The multi-factor provider. Supported values 'duo' or 'google-authenticator'
@@ -20,7 +20,7 @@ export class MultifactorClient {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
- * Invalidate all remembered browsers across all <a href="https://auth0.com/docs/multifactor-authentication">authentication factors</a> for a user.
23
+ * Invalidate all remembered browsers across all [authentication factors](https://auth0.com/docs/multifactor-authentication) for a user.
24
24
  *
25
25
  * @param {string} id - ID of the user to invalidate all remembered browsers and authentication factors for.
26
26
  * @param {MultifactorClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -74,7 +74,7 @@ export class MultifactorClient {
74
74
  });
75
75
  }
76
76
  /**
77
- * Remove a <a href="https://auth0.com/docs/multifactor-authentication">multifactor</a> authentication configuration from a user's account. This forces the user to manually reconfigure the multi-factor provider.
77
+ * Remove a [multifactor](https://auth0.com/docs/multifactor-authentication) authentication configuration from a user's account. This forces the user to manually reconfigure the multi-factor provider.
78
78
  *
79
79
  * @param {string} id - ID of the user to remove a multifactor configuration from.
80
80
  * @param {Management.UserMultifactorProviderEnum} provider - The multi-factor provider. Supported values 'duo' or 'google-authenticator'
@@ -11,7 +11,7 @@ export declare class OrganizationsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<OrganizationsClient.Options>;
12
12
  constructor(options: OrganizationsClient.Options);
13
13
  /**
14
- * Retrieve list of the specified user's current Organization memberships. User must be specified by user ID. For more information, review <a href="https://auth0.com/docs/manage-users/organizations">Auth0 Organizations</a>.
14
+ * Retrieve list of the specified user's current Organization memberships. User must be specified by user ID. For more information, review [Auth0 Organizations](https://auth0.com/docs/manage-users/organizations).
15
15
  *
16
16
  * @param {string} id - ID of the user to retrieve the organizations for.
17
17
  * @param {Management.ListUserOrganizationsRequestParameters} request
@@ -20,7 +20,7 @@ export class OrganizationsClient {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
- * Retrieve list of the specified user's current Organization memberships. User must be specified by user ID. For more information, review <a href="https://auth0.com/docs/manage-users/organizations">Auth0 Organizations</a>.
23
+ * Retrieve list of the specified user's current Organization memberships. User must be specified by user ID. For more information, review [Auth0 Organizations](https://auth0.com/docs/manage-users/organizations).
24
24
  *
25
25
  * @param {string} id - ID of the user to retrieve the organizations for.
26
26
  * @param {Management.ListUserOrganizationsRequestParameters} request
@@ -13,14 +13,16 @@ export declare class RolesClient {
13
13
  /**
14
14
  * Retrieve detailed list of all user roles currently assigned to a user.
15
15
  *
16
- * <b>Note</b>: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: <a href="https://auth0.com/docs/api/management/v2/organizations/get-organization-member-roles">Get user roles assigned to an Organization member</a>.
16
+ * **Note**: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: [Get user roles assigned to an Organization member](https://auth0.com/docs/api/management/v2/organizations/get-organization-member-roles).
17
17
  *
18
18
  * @param {string} id - ID of the user to list roles for.
19
19
  * @param {Management.ListUserRolesRequestParameters} request
20
20
  * @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
21
21
  *
22
+ * @throws {@link Management.BadRequestError}
22
23
  * @throws {@link Management.UnauthorizedError}
23
24
  * @throws {@link Management.ForbiddenError}
25
+ * @throws {@link Management.NotFoundError}
24
26
  * @throws {@link Management.TooManyRequestsError}
25
27
  *
26
28
  * @example
@@ -32,9 +34,9 @@ export declare class RolesClient {
32
34
  */
33
35
  list(id: string, request?: Management.ListUserRolesRequestParameters, requestOptions?: RolesClient.RequestOptions): Promise<core.Page<Management.Role, Management.ListUserRolesOffsetPaginatedResponseContent>>;
34
36
  /**
35
- * Assign one or more existing user roles to a user. For more information, review <a href="https://auth0.com/docs/manage-users/access-control/rbac">Role-Based Access Control</a>.
37
+ * Assign one or more existing user roles to a user. For more information, review [Role-Based Access Control](https://auth0.com/docs/manage-users/access-control/rbac).
36
38
  *
37
- * <b>Note</b>: New roles cannot be created through this action. Additionally, this action is used to assign roles to a user in the context of your whole tenant. To assign roles in the context of a specific Organization, use the following endpoint: <a href="https://auth0.com/docs/api/management/v2/organizations/post-organization-member-roles">Assign user roles to an Organization member</a>.
39
+ * **Note**: New roles cannot be created through this action. Additionally, this action is used to assign roles to a user in the context of your whole tenant. To assign roles in the context of a specific Organization, use the following endpoint: [Assign user roles to an Organization member](https://auth0.com/docs/api/management/v2/organizations/post-organization-member-roles).
38
40
  *
39
41
  * @param {string} id - ID of the user to associate roles with.
40
42
  * @param {Management.AssignUserRolesRequestContent} request
@@ -55,7 +57,7 @@ export declare class RolesClient {
55
57
  /**
56
58
  * Remove one or more specified user roles assigned to a user.
57
59
  *
58
- * <b>Note</b>: This action removes a role from a user in the context of your whole tenant. If you want to unassign a role from a user in the context of a specific Organization, use the following endpoint: <a href="https://auth0.com/docs/api/management/v2/organizations/delete-organization-member-roles">Delete user roles from an Organization member</a>.
60
+ * **Note**: This action removes a role from a user in the context of your whole tenant. If you want to unassign a role from a user in the context of a specific Organization, use the following endpoint: [Delete user roles from an Organization member](https://auth0.com/docs/api/management/v2/organizations/delete-organization-member-roles).
59
61
  *
60
62
  * @param {string} id - ID of the user to remove roles from.
61
63
  * @param {Management.DeleteUserRolesRequestContent} request
@@ -22,14 +22,16 @@ export class RolesClient {
22
22
  /**
23
23
  * Retrieve detailed list of all user roles currently assigned to a user.
24
24
  *
25
- * <b>Note</b>: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: <a href="https://auth0.com/docs/api/management/v2/organizations/get-organization-member-roles">Get user roles assigned to an Organization member</a>.
25
+ * **Note**: This action retrieves all roles assigned to a user in the context of your whole tenant. To retrieve Organization-specific roles, use the following endpoint: [Get user roles assigned to an Organization member](https://auth0.com/docs/api/management/v2/organizations/get-organization-member-roles).
26
26
  *
27
27
  * @param {string} id - ID of the user to list roles for.
28
28
  * @param {Management.ListUserRolesRequestParameters} request
29
29
  * @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
30
30
  *
31
+ * @throws {@link Management.BadRequestError}
31
32
  * @throws {@link Management.UnauthorizedError}
32
33
  * @throws {@link Management.ForbiddenError}
34
+ * @throws {@link Management.NotFoundError}
33
35
  * @throws {@link Management.TooManyRequestsError}
34
36
  *
35
37
  * @example
@@ -74,10 +76,14 @@ export class RolesClient {
74
76
  }
75
77
  if (_response.error.reason === "status-code") {
76
78
  switch (_response.error.statusCode) {
79
+ case 400:
80
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
77
81
  case 401:
78
82
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
79
83
  case 403:
80
84
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
85
+ case 404:
86
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
81
87
  case 429:
82
88
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
83
89
  default:
@@ -105,9 +111,9 @@ export class RolesClient {
105
111
  });
106
112
  }
107
113
  /**
108
- * Assign one or more existing user roles to a user. For more information, review <a href="https://auth0.com/docs/manage-users/access-control/rbac">Role-Based Access Control</a>.
114
+ * Assign one or more existing user roles to a user. For more information, review [Role-Based Access Control](https://auth0.com/docs/manage-users/access-control/rbac).
109
115
  *
110
- * <b>Note</b>: New roles cannot be created through this action. Additionally, this action is used to assign roles to a user in the context of your whole tenant. To assign roles in the context of a specific Organization, use the following endpoint: <a href="https://auth0.com/docs/api/management/v2/organizations/post-organization-member-roles">Assign user roles to an Organization member</a>.
116
+ * **Note**: New roles cannot be created through this action. Additionally, this action is used to assign roles to a user in the context of your whole tenant. To assign roles in the context of a specific Organization, use the following endpoint: [Assign user roles to an Organization member](https://auth0.com/docs/api/management/v2/organizations/post-organization-member-roles).
111
117
  *
112
118
  * @param {string} id - ID of the user to associate roles with.
113
119
  * @param {Management.AssignUserRolesRequestContent} request
@@ -172,7 +178,7 @@ export class RolesClient {
172
178
  /**
173
179
  * Remove one or more specified user roles assigned to a user.
174
180
  *
175
- * <b>Note</b>: This action removes a role from a user in the context of your whole tenant. If you want to unassign a role from a user in the context of a specific Organization, use the following endpoint: <a href="https://auth0.com/docs/api/management/v2/organizations/delete-organization-member-roles">Delete user roles from an Organization member</a>.
181
+ * **Note**: This action removes a role from a user in the context of your whole tenant. If you want to unassign a role from a user in the context of a specific Organization, use the following endpoint: [Delete user roles from an Organization member](https://auth0.com/docs/api/management/v2/organizations/delete-organization-member-roles).
176
182
  *
177
183
  * @param {string} id - ID of the user to remove roles from.
178
184
  * @param {Management.DeleteUserRolesRequestContent} request