auth0 5.11.0 → 5.12.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 (152) hide show
  1. package/dist/cjs/lib/retry.d.ts +7 -2
  2. package/dist/cjs/lib/retry.js +35 -5
  3. package/dist/cjs/management/api/requests/requests.d.ts +12 -2
  4. package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.ts +6 -6
  5. package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.js +6 -6
  6. package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +4 -4
  7. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +4 -4
  8. package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.d.ts +1 -0
  9. package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +3 -0
  10. package/dist/cjs/management/api/resources/clients/client/Client.d.ts +68 -85
  11. package/dist/cjs/management/api/resources/clients/client/Client.js +68 -85
  12. package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.d.ts +4 -9
  13. package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.js +4 -9
  14. package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.d.ts +38 -14
  15. package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.js +38 -14
  16. package/dist/cjs/management/api/resources/connectionProfiles/client/Client.d.ts +1 -0
  17. package/dist/cjs/management/api/resources/connectionProfiles/client/Client.js +3 -0
  18. package/dist/cjs/management/api/resources/connections/resources/users/client/Client.d.ts +1 -0
  19. package/dist/cjs/management/api/resources/connections/resources/users/client/Client.js +3 -0
  20. package/dist/cjs/management/api/resources/customDomains/client/Client.d.ts +1 -0
  21. package/dist/cjs/management/api/resources/customDomains/client/Client.js +3 -0
  22. package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.d.ts +50 -81
  23. package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.js +50 -81
  24. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.d.ts +1 -0
  25. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +3 -0
  26. package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.d.ts +5 -3
  27. package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.js +9 -3
  28. package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +2 -0
  29. package/dist/cjs/management/api/resources/organizations/client/Client.js +6 -0
  30. package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.d.ts +1 -0
  31. package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +3 -0
  32. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +5 -0
  33. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +15 -0
  34. package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.d.ts +1 -0
  35. package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.js +3 -0
  36. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.ts +3 -0
  37. package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.js +9 -0
  38. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +1 -0
  39. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +3 -0
  40. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.ts +1 -0
  41. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.js +3 -0
  42. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +1 -0
  43. package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +3 -0
  44. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +1 -0
  45. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +3 -0
  46. package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +1 -1
  47. package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +1 -1
  48. package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.d.ts +2 -0
  49. package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.js +6 -0
  50. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.d.ts +1 -0
  51. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +3 -0
  52. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts +1 -0
  53. package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js +3 -0
  54. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.d.ts +10 -12
  55. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +12 -12
  56. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +1 -0
  57. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +3 -0
  58. package/dist/cjs/management/api/resources/userGrants/client/Client.d.ts +1 -1
  59. package/dist/cjs/management/api/resources/userGrants/client/Client.js +1 -1
  60. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.d.ts +1 -0
  61. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.js +3 -0
  62. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +1 -0
  63. package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +3 -0
  64. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +1 -0
  65. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +3 -0
  66. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.d.ts +1 -0
  67. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +3 -0
  68. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.d.ts +2 -0
  69. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +6 -0
  70. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +2 -0
  71. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +6 -0
  72. package/dist/cjs/management/api/types/types.d.ts +131 -77
  73. package/dist/cjs/management/api/types/types.js +29 -45
  74. package/dist/cjs/management/version.d.ts +1 -1
  75. package/dist/cjs/management/version.js +1 -1
  76. package/dist/esm/lib/retry.d.mts +7 -2
  77. package/dist/esm/lib/retry.mjs +35 -5
  78. package/dist/esm/management/api/requests/requests.d.mts +12 -2
  79. package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.mts +6 -6
  80. package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +6 -6
  81. package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +4 -4
  82. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +4 -4
  83. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.d.mts +1 -0
  84. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +3 -0
  85. package/dist/esm/management/api/resources/clients/client/Client.d.mts +68 -85
  86. package/dist/esm/management/api/resources/clients/client/Client.mjs +68 -85
  87. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.d.mts +4 -9
  88. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +4 -9
  89. package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.d.mts +38 -14
  90. package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.mjs +38 -14
  91. package/dist/esm/management/api/resources/connectionProfiles/client/Client.d.mts +1 -0
  92. package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +3 -0
  93. package/dist/esm/management/api/resources/connections/resources/users/client/Client.d.mts +1 -0
  94. package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +3 -0
  95. package/dist/esm/management/api/resources/customDomains/client/Client.d.mts +1 -0
  96. package/dist/esm/management/api/resources/customDomains/client/Client.mjs +3 -0
  97. package/dist/esm/management/api/resources/emails/resources/provider/client/Client.d.mts +50 -81
  98. package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +50 -81
  99. package/dist/esm/management/api/resources/groups/resources/members/client/Client.d.mts +1 -0
  100. package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +3 -0
  101. package/dist/esm/management/api/resources/groups/resources/roles/client/Client.d.mts +5 -3
  102. package/dist/esm/management/api/resources/groups/resources/roles/client/Client.mjs +9 -3
  103. package/dist/esm/management/api/resources/organizations/client/Client.d.mts +2 -0
  104. package/dist/esm/management/api/resources/organizations/client/Client.mjs +6 -0
  105. package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.d.mts +1 -0
  106. package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +3 -0
  107. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +5 -0
  108. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +15 -0
  109. package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.d.mts +1 -0
  110. package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.mjs +3 -0
  111. package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.mts +3 -0
  112. package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.mjs +9 -0
  113. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +1 -0
  114. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +3 -0
  115. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.mts +1 -0
  116. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.mjs +3 -0
  117. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +1 -0
  118. package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +3 -0
  119. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +1 -0
  120. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +3 -0
  121. package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +1 -1
  122. package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +1 -1
  123. package/dist/esm/management/api/resources/roles/resources/groups/client/Client.d.mts +2 -0
  124. package/dist/esm/management/api/resources/roles/resources/groups/client/Client.mjs +6 -0
  125. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.d.mts +1 -0
  126. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +3 -0
  127. package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.mts +1 -0
  128. package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs +3 -0
  129. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.d.mts +10 -12
  130. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +12 -12
  131. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +1 -0
  132. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +3 -0
  133. package/dist/esm/management/api/resources/userGrants/client/Client.d.mts +1 -1
  134. package/dist/esm/management/api/resources/userGrants/client/Client.mjs +1 -1
  135. package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.d.mts +1 -0
  136. package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.mjs +3 -0
  137. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +1 -0
  138. package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +3 -0
  139. package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +1 -0
  140. package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +3 -0
  141. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.d.mts +1 -0
  142. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +3 -0
  143. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.d.mts +2 -0
  144. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +6 -0
  145. package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +2 -0
  146. package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +6 -0
  147. package/dist/esm/management/api/types/types.d.mts +131 -77
  148. package/dist/esm/management/api/types/types.mjs +16 -32
  149. package/dist/esm/management/version.d.mts +1 -1
  150. package/dist/esm/management/version.mjs +1 -1
  151. package/package.json +1 -1
  152. package/reference.md +223 -261
@@ -13,15 +13,14 @@ export declare class TokenExchangeProfilesClient {
13
13
  /**
14
14
  * Retrieve a list of all Token Exchange Profiles available in your tenant.
15
15
  *
16
- * By using this feature, you agree to the applicable Free Trial terms in <a href="https://www.okta.com/legal/">Okta’s Master Subscription Agreement</a>. It is your responsibility to securely validate the user’s subject_token. See <a href="https://auth0.com/docs/authenticate/custom-token-exchange">User Guide</a> for more details.
16
+ * By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
17
17
  *
18
18
  * This endpoint supports Checkpoint pagination. To search by checkpoint, use the following parameters:
19
- * <ul>
20
- * <li><code>from</code>: Optional id from which to start selection.</li>
21
- * <li><code>take</code>: The total amount of entries to retrieve when using the from parameter. Defaults to 50.</li>
22
- * </ul>
23
19
  *
24
- * <b>Note</b>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.
20
+ * - `from`: Optional id from which to start selection.
21
+ * - `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50.
22
+ *
23
+ * **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
25
24
  *
26
25
  * @param {Management.TokenExchangeProfilesListRequest} request
27
26
  * @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -41,7 +40,7 @@ export declare class TokenExchangeProfilesClient {
41
40
  /**
42
41
  * Create a new Token Exchange Profile within your tenant.
43
42
  *
44
- * By using this feature, you agree to the applicable Free Trial terms in <a href="https://www.okta.com/legal/">Okta’s Master Subscription Agreement</a>. It is your responsibility to securely validate the user’s subject_token. See <a href="https://auth0.com/docs/authenticate/custom-token-exchange">User Guide</a> for more details.
43
+ * By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
45
44
  *
46
45
  * @param {Management.CreateTokenExchangeProfileRequestContent} request
47
46
  * @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -65,7 +64,7 @@ export declare class TokenExchangeProfilesClient {
65
64
  /**
66
65
  * Retrieve details about a single Token Exchange Profile specified by ID.
67
66
  *
68
- * By using this feature, you agree to the applicable Free Trial terms in <a href="https://www.okta.com/legal/">Okta’s Master Subscription Agreement</a>. It is your responsibility to securely validate the user’s subject_token. See <a href="https://auth0.com/docs/authenticate/custom-token-exchange">User Guide</a> for more details.
67
+ * By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
69
68
  *
70
69
  * @param {string} id - ID of the Token Exchange Profile to retrieve.
71
70
  * @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -84,8 +83,7 @@ export declare class TokenExchangeProfilesClient {
84
83
  /**
85
84
  * Delete a Token Exchange Profile within your tenant.
86
85
  *
87
- * By using this feature, you agree to the applicable Free Trial terms in <a href="https://www.okta.com/legal/">Okta's Master Subscription Agreement</a>. It is your responsibility to securely validate the user's subject_token. See <a href="https://auth0.com/docs/authenticate/custom-token-exchange">User Guide</a> for more details.
88
- *
86
+ * By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
89
87
  *
90
88
  * @param {string} id - ID of the Token Exchange Profile to delete.
91
89
  * @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -102,8 +100,7 @@ export declare class TokenExchangeProfilesClient {
102
100
  /**
103
101
  * Update a Token Exchange Profile within your tenant.
104
102
  *
105
- * By using this feature, you agree to the applicable Free Trial terms in <a href="https://www.okta.com/legal/">Okta's Master Subscription Agreement</a>. It is your responsibility to securely validate the user's subject_token. See <a href="https://auth0.com/docs/authenticate/custom-token-exchange">User Guide</a> for more details.
106
- *
103
+ * By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
107
104
  *
108
105
  * @param {string} id - ID of the Token Exchange Profile to update.
109
106
  * @param {Management.UpdateTokenExchangeProfileRequestContent} request
@@ -113,6 +110,7 @@ export declare class TokenExchangeProfilesClient {
113
110
  * @throws {@link Management.UnauthorizedError}
114
111
  * @throws {@link Management.ForbiddenError}
115
112
  * @throws {@link Management.NotFoundError}
113
+ * @throws {@link Management.ConflictError}
116
114
  * @throws {@link Management.TooManyRequestsError}
117
115
  *
118
116
  * @example
@@ -22,15 +22,14 @@ export class TokenExchangeProfilesClient {
22
22
  /**
23
23
  * Retrieve a list of all Token Exchange Profiles available in your tenant.
24
24
  *
25
- * By using this feature, you agree to the applicable Free Trial terms in <a href="https://www.okta.com/legal/">Okta’s Master Subscription Agreement</a>. It is your responsibility to securely validate the user’s subject_token. See <a href="https://auth0.com/docs/authenticate/custom-token-exchange">User Guide</a> for more details.
25
+ * By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
26
26
  *
27
27
  * This endpoint supports Checkpoint pagination. To search by checkpoint, use the following parameters:
28
- * <ul>
29
- * <li><code>from</code>: Optional id from which to start selection.</li>
30
- * <li><code>take</code>: The total amount of entries to retrieve when using the from parameter. Defaults to 50.</li>
31
- * </ul>
32
28
  *
33
- * <b>Note</b>: The first time you call this endpoint using checkpoint pagination, omit the <code>from</code> parameter. If there are more results, a <code>next</code> value is included in the response. You can use this for subsequent API calls. When <code>next</code> is no longer included in the response, no pages are remaining.
29
+ * - `from`: Optional id from which to start selection.
30
+ * - `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50.
31
+ *
32
+ * **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
34
33
  *
35
34
  * @param {Management.TokenExchangeProfilesListRequest} request
36
35
  * @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -113,7 +112,7 @@ export class TokenExchangeProfilesClient {
113
112
  /**
114
113
  * Create a new Token Exchange Profile within your tenant.
115
114
  *
116
- * By using this feature, you agree to the applicable Free Trial terms in <a href="https://www.okta.com/legal/">Okta’s Master Subscription Agreement</a>. It is your responsibility to securely validate the user’s subject_token. See <a href="https://auth0.com/docs/authenticate/custom-token-exchange">User Guide</a> for more details.
115
+ * By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
117
116
  *
118
117
  * @param {Management.CreateTokenExchangeProfileRequestContent} request
119
118
  * @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -186,7 +185,7 @@ export class TokenExchangeProfilesClient {
186
185
  /**
187
186
  * Retrieve details about a single Token Exchange Profile specified by ID.
188
187
  *
189
- * By using this feature, you agree to the applicable Free Trial terms in <a href="https://www.okta.com/legal/">Okta’s Master Subscription Agreement</a>. It is your responsibility to securely validate the user’s subject_token. See <a href="https://auth0.com/docs/authenticate/custom-token-exchange">User Guide</a> for more details.
188
+ * By using this feature, you agree to the applicable Free Trial terms in [Okta’s Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user’s subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
190
189
  *
191
190
  * @param {string} id - ID of the Token Exchange Profile to retrieve.
192
191
  * @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -251,8 +250,7 @@ export class TokenExchangeProfilesClient {
251
250
  /**
252
251
  * Delete a Token Exchange Profile within your tenant.
253
252
  *
254
- * By using this feature, you agree to the applicable Free Trial terms in <a href="https://www.okta.com/legal/">Okta's Master Subscription Agreement</a>. It is your responsibility to securely validate the user's subject_token. See <a href="https://auth0.com/docs/authenticate/custom-token-exchange">User Guide</a> for more details.
255
- *
253
+ * By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
256
254
  *
257
255
  * @param {string} id - ID of the Token Exchange Profile to delete.
258
256
  * @param {TokenExchangeProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -308,8 +306,7 @@ export class TokenExchangeProfilesClient {
308
306
  /**
309
307
  * Update a Token Exchange Profile within your tenant.
310
308
  *
311
- * By using this feature, you agree to the applicable Free Trial terms in <a href="https://www.okta.com/legal/">Okta's Master Subscription Agreement</a>. It is your responsibility to securely validate the user's subject_token. See <a href="https://auth0.com/docs/authenticate/custom-token-exchange">User Guide</a> for more details.
312
- *
309
+ * By using this feature, you agree to the applicable Free Trial terms in [Okta's Master Subscription Agreement](https://www.okta.com/legal/). It is your responsibility to securely validate the user's subject_token. See [User Guide](https://auth0.com/docs/authenticate/custom-token-exchange) for more details.
313
310
  *
314
311
  * @param {string} id - ID of the Token Exchange Profile to update.
315
312
  * @param {Management.UpdateTokenExchangeProfileRequestContent} request
@@ -319,6 +316,7 @@ export class TokenExchangeProfilesClient {
319
316
  * @throws {@link Management.UnauthorizedError}
320
317
  * @throws {@link Management.ForbiddenError}
321
318
  * @throws {@link Management.NotFoundError}
319
+ * @throws {@link Management.ConflictError}
322
320
  * @throws {@link Management.TooManyRequestsError}
323
321
  *
324
322
  * @example
@@ -359,6 +357,8 @@ export class TokenExchangeProfilesClient {
359
357
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
360
358
  case 404:
361
359
  throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
360
+ case 409:
361
+ throw new Management.ConflictError(_response.error.body, _response.rawResponse);
362
362
  case 429:
363
363
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
364
364
  default:
@@ -126,6 +126,7 @@ export declare class UserAttributeProfilesClient {
126
126
  * @throws {@link Management.BadRequestError}
127
127
  * @throws {@link Management.UnauthorizedError}
128
128
  * @throws {@link Management.ForbiddenError}
129
+ * @throws {@link Management.NotFoundError}
129
130
  * @throws {@link Management.TooManyRequestsError}
130
131
  *
131
132
  * @example
@@ -416,6 +416,7 @@ export class UserAttributeProfilesClient {
416
416
  * @throws {@link Management.BadRequestError}
417
417
  * @throws {@link Management.UnauthorizedError}
418
418
  * @throws {@link Management.ForbiddenError}
419
+ * @throws {@link Management.NotFoundError}
419
420
  * @throws {@link Management.TooManyRequestsError}
420
421
  *
421
422
  * @example
@@ -457,6 +458,8 @@ export class UserAttributeProfilesClient {
457
458
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
458
459
  case 403:
459
460
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
461
+ case 404:
462
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
460
463
  case 429:
461
464
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
462
465
  default:
@@ -11,7 +11,7 @@ export declare class UserGrantsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<UserGrantsClient.Options>;
12
12
  constructor(options: UserGrantsClient.Options);
13
13
  /**
14
- * Retrieve the <a href="https://auth0.com/docs/api-auth/which-oauth-flow-to-use">grants</a> associated with your account.
14
+ * Retrieve the [grants](https://auth0.com/docs/api-auth/which-oauth-flow-to-use) associated with your account.
15
15
  *
16
16
  * @param {Management.ListUserGrantsRequestParameters} request
17
17
  * @param {UserGrantsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,7 +20,7 @@ export class UserGrantsClient {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
- * Retrieve the <a href="https://auth0.com/docs/api-auth/which-oauth-flow-to-use">grants</a> associated with your account.
23
+ * Retrieve the [grants](https://auth0.com/docs/api-auth/which-oauth-flow-to-use) associated with your account.
24
24
  *
25
25
  * @param {Management.ListUserGrantsRequestParameters} request
26
26
  * @param {UserGrantsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -23,6 +23,7 @@ export declare class EffectiveRolesClient {
23
23
  * @throws {@link Management.BadRequestError}
24
24
  * @throws {@link Management.UnauthorizedError}
25
25
  * @throws {@link Management.ForbiddenError}
26
+ * @throws {@link Management.NotFoundError}
26
27
  * @throws {@link Management.TooManyRequestsError}
27
28
  *
28
29
  * @example
@@ -34,6 +34,7 @@ export class EffectiveRolesClient {
34
34
  * @throws {@link Management.BadRequestError}
35
35
  * @throws {@link Management.UnauthorizedError}
36
36
  * @throws {@link Management.ForbiddenError}
37
+ * @throws {@link Management.NotFoundError}
37
38
  * @throws {@link Management.TooManyRequestsError}
38
39
  *
39
40
  * @example
@@ -82,6 +83,8 @@ export class EffectiveRolesClient {
82
83
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
83
84
  case 403:
84
85
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
86
+ case 404:
87
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
85
88
  case 429:
86
89
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
87
90
  default:
@@ -20,6 +20,7 @@ export declare class GroupsClient {
20
20
  * @throws {@link Management.BadRequestError}
21
21
  * @throws {@link Management.UnauthorizedError}
22
22
  * @throws {@link Management.ForbiddenError}
23
+ * @throws {@link Management.NotFoundError}
23
24
  * @throws {@link Management.TooManyRequestsError}
24
25
  *
25
26
  * @example
@@ -29,6 +29,7 @@ export class GroupsClient {
29
29
  * @throws {@link Management.BadRequestError}
30
30
  * @throws {@link Management.UnauthorizedError}
31
31
  * @throws {@link Management.ForbiddenError}
32
+ * @throws {@link Management.NotFoundError}
32
33
  * @throws {@link Management.TooManyRequestsError}
33
34
  *
34
35
  * @example
@@ -79,6 +80,8 @@ export class GroupsClient {
79
80
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
80
81
  case 403:
81
82
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
83
+ case 404:
84
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
82
85
  case 429:
83
86
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
84
87
  default:
@@ -20,6 +20,7 @@ export declare class GroupsClient {
20
20
  * @throws {@link Management.BadRequestError}
21
21
  * @throws {@link Management.UnauthorizedError}
22
22
  * @throws {@link Management.ForbiddenError}
23
+ * @throws {@link Management.NotFoundError}
23
24
  * @throws {@link Management.TooManyRequestsError}
24
25
  *
25
26
  * @example
@@ -29,6 +29,7 @@ export class GroupsClient {
29
29
  * @throws {@link Management.BadRequestError}
30
30
  * @throws {@link Management.UnauthorizedError}
31
31
  * @throws {@link Management.ForbiddenError}
32
+ * @throws {@link Management.NotFoundError}
32
33
  * @throws {@link Management.TooManyRequestsError}
33
34
  *
34
35
  * @example
@@ -81,6 +82,8 @@ export class GroupsClient {
81
82
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
82
83
  case 403:
83
84
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
85
+ case 404:
86
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
84
87
  case 429:
85
88
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
86
89
  default:
@@ -19,6 +19,7 @@ export declare class OrganizationsClient {
19
19
  *
20
20
  * @throws {@link Management.UnauthorizedError}
21
21
  * @throws {@link Management.ForbiddenError}
22
+ * @throws {@link Management.NotFoundError}
22
23
  * @throws {@link Management.TooManyRequestsError}
23
24
  *
24
25
  * @example
@@ -28,6 +28,7 @@ export class OrganizationsClient {
28
28
  *
29
29
  * @throws {@link Management.UnauthorizedError}
30
30
  * @throws {@link Management.ForbiddenError}
31
+ * @throws {@link Management.NotFoundError}
31
32
  * @throws {@link Management.TooManyRequestsError}
32
33
  *
33
34
  * @example
@@ -76,6 +77,8 @@ export class OrganizationsClient {
76
77
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
77
78
  case 403:
78
79
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
80
+ case 404:
81
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
79
82
  case 429:
80
83
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
81
84
  default:
@@ -41,6 +41,7 @@ export declare class PermissionsClient {
41
41
  * @throws {@link Management.BadRequestError}
42
42
  * @throws {@link Management.UnauthorizedError}
43
43
  * @throws {@link Management.ForbiddenError}
44
+ * @throws {@link Management.NotFoundError}
44
45
  * @throws {@link Management.TooManyRequestsError}
45
46
  *
46
47
  * @example
@@ -63,6 +64,7 @@ export declare class PermissionsClient {
63
64
  * @throws {@link Management.BadRequestError}
64
65
  * @throws {@link Management.UnauthorizedError}
65
66
  * @throws {@link Management.ForbiddenError}
67
+ * @throws {@link Management.NotFoundError}
66
68
  * @throws {@link Management.TooManyRequestsError}
67
69
  *
68
70
  * @example
@@ -118,6 +118,7 @@ export class PermissionsClient {
118
118
  * @throws {@link Management.BadRequestError}
119
119
  * @throws {@link Management.UnauthorizedError}
120
120
  * @throws {@link Management.ForbiddenError}
121
+ * @throws {@link Management.NotFoundError}
121
122
  * @throws {@link Management.TooManyRequestsError}
122
123
  *
123
124
  * @example
@@ -161,6 +162,8 @@ export class PermissionsClient {
161
162
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
162
163
  case 403:
163
164
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
165
+ case 404:
166
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
164
167
  case 429:
165
168
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
166
169
  default:
@@ -184,6 +187,7 @@ export class PermissionsClient {
184
187
  * @throws {@link Management.BadRequestError}
185
188
  * @throws {@link Management.UnauthorizedError}
186
189
  * @throws {@link Management.ForbiddenError}
190
+ * @throws {@link Management.NotFoundError}
187
191
  * @throws {@link Management.TooManyRequestsError}
188
192
  *
189
193
  * @example
@@ -227,6 +231,8 @@ export class PermissionsClient {
227
231
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
228
232
  case 403:
229
233
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
234
+ case 404:
235
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
230
236
  case 429:
231
237
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
232
238
  default:
@@ -45,6 +45,7 @@ export declare class RolesClient {
45
45
  * @throws {@link Management.BadRequestError}
46
46
  * @throws {@link Management.UnauthorizedError}
47
47
  * @throws {@link Management.ForbiddenError}
48
+ * @throws {@link Management.NotFoundError}
48
49
  * @throws {@link Management.TooManyRequestsError}
49
50
  *
50
51
  * @example
@@ -65,6 +66,7 @@ export declare class RolesClient {
65
66
  *
66
67
  * @throws {@link Management.UnauthorizedError}
67
68
  * @throws {@link Management.ForbiddenError}
69
+ * @throws {@link Management.NotFoundError}
68
70
  * @throws {@link Management.TooManyRequestsError}
69
71
  *
70
72
  * @example
@@ -122,6 +122,7 @@ export class RolesClient {
122
122
  * @throws {@link Management.BadRequestError}
123
123
  * @throws {@link Management.UnauthorizedError}
124
124
  * @throws {@link Management.ForbiddenError}
125
+ * @throws {@link Management.NotFoundError}
125
126
  * @throws {@link Management.TooManyRequestsError}
126
127
  *
127
128
  * @example
@@ -162,6 +163,8 @@ export class RolesClient {
162
163
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
163
164
  case 403:
164
165
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
166
+ case 404:
167
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
165
168
  case 429:
166
169
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
167
170
  default:
@@ -186,6 +189,7 @@ export class RolesClient {
186
189
  *
187
190
  * @throws {@link Management.UnauthorizedError}
188
191
  * @throws {@link Management.ForbiddenError}
192
+ * @throws {@link Management.NotFoundError}
189
193
  * @throws {@link Management.TooManyRequestsError}
190
194
  *
191
195
  * @example
@@ -224,6 +228,8 @@ export class RolesClient {
224
228
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
225
229
  case 403:
226
230
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
231
+ case 404:
232
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
227
233
  case 429:
228
234
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
229
235
  default: