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
@@ -70,6 +70,7 @@ class EffectiveRolesClient {
70
70
  * @throws {@link Management.BadRequestError}
71
71
  * @throws {@link Management.UnauthorizedError}
72
72
  * @throws {@link Management.ForbiddenError}
73
+ * @throws {@link Management.NotFoundError}
73
74
  * @throws {@link Management.TooManyRequestsError}
74
75
  *
75
76
  * @example
@@ -118,6 +119,8 @@ class EffectiveRolesClient {
118
119
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
119
120
  case 403:
120
121
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
122
+ case 404:
123
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
121
124
  case 429:
122
125
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
123
126
  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
@@ -65,6 +65,7 @@ class GroupsClient {
65
65
  * @throws {@link Management.BadRequestError}
66
66
  * @throws {@link Management.UnauthorizedError}
67
67
  * @throws {@link Management.ForbiddenError}
68
+ * @throws {@link Management.NotFoundError}
68
69
  * @throws {@link Management.TooManyRequestsError}
69
70
  *
70
71
  * @example
@@ -115,6 +116,8 @@ class GroupsClient {
115
116
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
116
117
  case 403:
117
118
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
119
+ case 404:
120
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
118
121
  case 429:
119
122
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
120
123
  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
@@ -65,6 +65,7 @@ class GroupsClient {
65
65
  * @throws {@link Management.BadRequestError}
66
66
  * @throws {@link Management.UnauthorizedError}
67
67
  * @throws {@link Management.ForbiddenError}
68
+ * @throws {@link Management.NotFoundError}
68
69
  * @throws {@link Management.TooManyRequestsError}
69
70
  *
70
71
  * @example
@@ -117,6 +118,8 @@ class GroupsClient {
117
118
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
118
119
  case 403:
119
120
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
121
+ case 404:
122
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
120
123
  case 429:
121
124
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
122
125
  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
@@ -64,6 +64,7 @@ class OrganizationsClient {
64
64
  *
65
65
  * @throws {@link Management.UnauthorizedError}
66
66
  * @throws {@link Management.ForbiddenError}
67
+ * @throws {@link Management.NotFoundError}
67
68
  * @throws {@link Management.TooManyRequestsError}
68
69
  *
69
70
  * @example
@@ -112,6 +113,8 @@ class OrganizationsClient {
112
113
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
113
114
  case 403:
114
115
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
116
+ case 404:
117
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
115
118
  case 429:
116
119
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
117
120
  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
@@ -154,6 +154,7 @@ class PermissionsClient {
154
154
  * @throws {@link Management.BadRequestError}
155
155
  * @throws {@link Management.UnauthorizedError}
156
156
  * @throws {@link Management.ForbiddenError}
157
+ * @throws {@link Management.NotFoundError}
157
158
  * @throws {@link Management.TooManyRequestsError}
158
159
  *
159
160
  * @example
@@ -197,6 +198,8 @@ class PermissionsClient {
197
198
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
198
199
  case 403:
199
200
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
201
+ case 404:
202
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
200
203
  case 429:
201
204
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
202
205
  default:
@@ -220,6 +223,7 @@ class PermissionsClient {
220
223
  * @throws {@link Management.BadRequestError}
221
224
  * @throws {@link Management.UnauthorizedError}
222
225
  * @throws {@link Management.ForbiddenError}
226
+ * @throws {@link Management.NotFoundError}
223
227
  * @throws {@link Management.TooManyRequestsError}
224
228
  *
225
229
  * @example
@@ -263,6 +267,8 @@ class PermissionsClient {
263
267
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
264
268
  case 403:
265
269
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
270
+ case 404:
271
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
266
272
  case 429:
267
273
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
268
274
  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
@@ -158,6 +158,7 @@ class RolesClient {
158
158
  * @throws {@link Management.BadRequestError}
159
159
  * @throws {@link Management.UnauthorizedError}
160
160
  * @throws {@link Management.ForbiddenError}
161
+ * @throws {@link Management.NotFoundError}
161
162
  * @throws {@link Management.TooManyRequestsError}
162
163
  *
163
164
  * @example
@@ -198,6 +199,8 @@ class RolesClient {
198
199
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
199
200
  case 403:
200
201
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
202
+ case 404:
203
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
201
204
  case 429:
202
205
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
203
206
  default:
@@ -222,6 +225,7 @@ class RolesClient {
222
225
  *
223
226
  * @throws {@link Management.UnauthorizedError}
224
227
  * @throws {@link Management.ForbiddenError}
228
+ * @throws {@link Management.NotFoundError}
225
229
  * @throws {@link Management.TooManyRequestsError}
226
230
  *
227
231
  * @example
@@ -260,6 +264,8 @@ class RolesClient {
260
264
  throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
261
265
  case 403:
262
266
  throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
267
+ case 404:
268
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
263
269
  case 429:
264
270
  throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
265
271
  default:
@@ -1158,6 +1158,7 @@ export declare const AculContextEnum: {
1158
1158
  readonly UntrustedDataAuthorizationParamsUiLocales: "untrusted_data.authorization_params.ui_locales";
1159
1159
  readonly UserOrganizations: "user.organizations";
1160
1160
  readonly TransactionCustomDomainDomain: "transaction.custom_domain.domain";
1161
+ readonly Experiment: "experiment";
1161
1162
  };
1162
1163
  export type AculContextEnum = (typeof AculContextEnum)[keyof typeof AculContextEnum];
1163
1164
  /**
@@ -1476,21 +1477,6 @@ export interface BrandingFont {
1476
1477
  /** URL for the custom font. The URL must point to a font file and not a stylesheet. Must use HTTPS. */
1477
1478
  url?: string | undefined;
1478
1479
  }
1479
- /**
1480
- * Identifier input display settings.
1481
- */
1482
- export interface BrandingIdentifiers {
1483
- login_display?: Management.BrandingLoginDisplayEnum | undefined;
1484
- /** Whether OTP autocomplete (autocomplete="one-time-code") is enabled. */
1485
- otp_autocomplete?: boolean | undefined;
1486
- phone_display?: Management.BrandingPhoneDisplay | undefined;
1487
- }
1488
- /** Controls identifier input presentation on the login flow. Defaults to "unified" for legacy tenants, "separate" for tenants created post-GA of this feature. */
1489
- export declare const BrandingLoginDisplayEnum: {
1490
- readonly Unified: "unified";
1491
- readonly Separate: "separate";
1492
- };
1493
- export type BrandingLoginDisplayEnum = (typeof BrandingLoginDisplayEnum)[keyof typeof BrandingLoginDisplayEnum];
1494
1480
  /**
1495
1481
  * Page Background Color or Gradient.
1496
1482
  * Property contains either `null` to unset, a solid color as a string value `#FFFFFF`, or a gradient as an object.
@@ -1505,26 +1491,6 @@ export type BrandingLoginDisplayEnum = (typeof BrandingLoginDisplayEnum)[keyof t
1505
1491
  * ```
1506
1492
  */
1507
1493
  export type BrandingPageBackground = (string | null) | undefined | (Record<string, unknown> | null) | undefined;
1508
- /**
1509
- * Phone number display settings.
1510
- */
1511
- export interface BrandingPhoneDisplay {
1512
- masking?: Management.BrandingPhoneMaskingEnum | undefined;
1513
- formatting?: Management.BrandingPhoneFormattingEnum | undefined;
1514
- }
1515
- /** Controls the format used when displaying phone numbers. */
1516
- export declare const BrandingPhoneFormattingEnum: {
1517
- readonly Regional: "regional";
1518
- readonly International: "international";
1519
- };
1520
- export type BrandingPhoneFormattingEnum = (typeof BrandingPhoneFormattingEnum)[keyof typeof BrandingPhoneFormattingEnum];
1521
- /** Controls how phone numbers are masked when displayed back to users. */
1522
- export declare const BrandingPhoneMaskingEnum: {
1523
- readonly ShowAll: "show_all";
1524
- readonly HideCountryCode: "hide_country_code";
1525
- readonly MaskDigits: "mask_digits";
1526
- };
1527
- export type BrandingPhoneMaskingEnum = (typeof BrandingPhoneMaskingEnum)[keyof typeof BrandingPhoneMaskingEnum];
1528
1494
  export interface BrandingThemeBorders {
1529
1495
  /** Button border radius */
1530
1496
  button_border_radius: number;
@@ -2677,6 +2643,8 @@ export interface ClientMyOrganizationPatchConfiguration {
2677
2643
  /** The allowed connection strategies for the My Organization Configuration. */
2678
2644
  allowed_strategies: Management.ClientMyOrganizationConfigurationAllowedStrategiesEnum[];
2679
2645
  connection_deletion_behavior: Management.ClientMyOrganizationDeletionBehaviorEnum;
2646
+ /** The client ID this client uses while creating invitations through My Organization API. */
2647
+ invitation_landing_client_id?: string | undefined;
2680
2648
  }
2681
2649
  /**
2682
2650
  * Configuration related to the My Organization Configuration for the client.
@@ -2689,6 +2657,8 @@ export interface ClientMyOrganizationPostConfiguration {
2689
2657
  /** The allowed connection strategies for the My Organization Configuration. */
2690
2658
  allowed_strategies: Management.ClientMyOrganizationConfigurationAllowedStrategiesEnum[];
2691
2659
  connection_deletion_behavior: Management.ClientMyOrganizationDeletionBehaviorEnum;
2660
+ /** The client ID this client uses while creating invitations through My Organization API. */
2661
+ invitation_landing_client_id?: string | undefined;
2692
2662
  }
2693
2663
  /**
2694
2664
  * Configuration related to the My Organization Configuration for the client.
@@ -2701,6 +2671,8 @@ export interface ClientMyOrganizationResponseConfiguration {
2701
2671
  /** The allowed connection strategies for the My Organization Configuration. */
2702
2672
  allowed_strategies: Management.ClientMyOrganizationConfigurationAllowedStrategiesEnum[];
2703
2673
  connection_deletion_behavior: Management.ClientMyOrganizationDeletionBehaviorEnum;
2674
+ /** The client ID this client uses while creating invitations through My Organization API. */
2675
+ invitation_landing_client_id?: string | undefined;
2704
2676
  }
2705
2677
  /**
2706
2678
  * Configuration for OIDC backchannel logout initiators
@@ -3693,6 +3665,10 @@ export type ConnectionIdTokenEncryptionAlgValuesSupported = string[];
3693
3665
  * JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].
3694
3666
  */
3695
3667
  export type ConnectionIdTokenEncryptionEncValuesSupported = string[];
3668
+ /**
3669
+ * Indicates whether the identity provider supports session expiry via the id_token. If true, the system will use the session_expiry claim in the id_token to determine session expiry.
3670
+ */
3671
+ export type ConnectionIdTokenSessionExpirySupported = boolean;
3696
3672
  /** Algorithm allowed to verify the ID tokens. */
3697
3673
  export declare const ConnectionIdTokenSignedResponseAlgEnum: {
3698
3674
  readonly Es256: "ES256";
@@ -4229,6 +4205,7 @@ export interface ConnectionOptionsCommonOidc {
4229
4205
  dpop_signing_alg?: Management.ConnectionDpopSigningAlgEnum | undefined;
4230
4206
  federated_connections_access_tokens?: (Management.ConnectionFederatedConnectionsAccessTokens | null) | undefined;
4231
4207
  icon_url?: Management.ConnectionIconUrl | undefined;
4208
+ id_token_session_expiry_supported?: Management.ConnectionIdTokenSessionExpirySupported | undefined;
4232
4209
  id_token_signed_response_algs?: ((Management.ConnectionIdTokenSignedResponseAlgs | undefined) | null) | undefined;
4233
4210
  issuer?: Management.ConnectionIssuer | undefined;
4234
4211
  jwks_uri?: Management.ConnectionJwksUri | undefined;
@@ -5502,6 +5479,7 @@ export interface ConnectionPropertiesOptions {
5502
5479
  token_endpoint_auth_method?: (Management.ConnectionTokenEndpointAuthMethodEnum | null) | undefined;
5503
5480
  token_endpoint_auth_signing_alg?: (Management.ConnectionTokenEndpointAuthSigningAlgEnum | null) | undefined;
5504
5481
  token_endpoint_jwtca_aud_format?: Management.ConnectionTokenEndpointJwtcaAudFormatEnumOidc | undefined;
5482
+ id_token_session_expiry_supported?: Management.ConnectionIdTokenSessionExpirySupported | undefined;
5505
5483
  /** Accepts any additional properties */
5506
5484
  [key: string]: any;
5507
5485
  }
@@ -6806,6 +6784,15 @@ export type ConnectionWaadProtocolEnumAzureAd = (typeof ConnectionWaadProtocolEn
6806
6784
  * Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed.
6807
6785
  */
6808
6786
  export type ConnectionsMetadata = Record<string, string | null>;
6787
+ /**
6788
+ * Content Security Policy configuration with multi-policy support.
6789
+ */
6790
+ export interface ContentSecurityPolicyConfig {
6791
+ /** Whether CSP is enabled. */
6792
+ enabled?: boolean | undefined;
6793
+ policies?: Management.CspPolicies | undefined;
6794
+ reporting_infrastructure?: (Management.CspReportingInfrastructure | null) | undefined;
6795
+ }
6809
6796
  export interface CreateActionModuleResponseContent {
6810
6797
  /** The unique ID of the module. */
6811
6798
  id?: string | undefined;
@@ -8564,7 +8551,7 @@ export interface CreatePhoneProviderSendTestResponseContent {
8564
8551
  message?: string | undefined;
8565
8552
  }
8566
8553
  export interface CreatePhoneTemplateResponseContent {
8567
- id: string;
8554
+ id?: string | undefined;
8568
8555
  channel?: string | undefined;
8569
8556
  customizable?: boolean | undefined;
8570
8557
  tenant?: string | undefined;
@@ -8883,6 +8870,79 @@ export interface CredentialId {
8883
8870
  /** Credential ID */
8884
8871
  id: string;
8885
8872
  }
8873
+ /**
8874
+ * CSP directives map. Keys are directive names, values are arrays of directive values.
8875
+ */
8876
+ export type CspDirectives = Record<string, string[]>;
8877
+ export declare const CspFlag: {
8878
+ readonly UpgradeInsecureRequests: "upgrade-insecure-requests";
8879
+ readonly BlockAllMixedContent: "block-all-mixed-content";
8880
+ };
8881
+ export type CspFlag = (typeof CspFlag)[keyof typeof CspFlag];
8882
+ /**
8883
+ * CSP flags (bare directives without values).
8884
+ */
8885
+ export type CspFlags = Management.CspFlag[];
8886
+ /**
8887
+ * Array of CSP policies (enforcing and/or reporting).
8888
+ */
8889
+ export type CspPolicies = Management.CspPolicy[];
8890
+ /**
8891
+ * A single CSP policy with mode, directives, flags, and optional reporting.
8892
+ */
8893
+ export interface CspPolicy {
8894
+ mode?: Management.CspPolicyMode | undefined;
8895
+ directives?: Management.CspDirectives | undefined;
8896
+ flags?: Management.CspFlags | undefined;
8897
+ reporting?: (Management.CspPolicyReporting | null) | undefined;
8898
+ }
8899
+ /** Policy mode: enforcing or reporting. */
8900
+ export declare const CspPolicyMode: {
8901
+ readonly Enforcing: "enforcing";
8902
+ readonly Reporting: "reporting";
8903
+ };
8904
+ export type CspPolicyMode = (typeof CspPolicyMode)[keyof typeof CspPolicyMode];
8905
+ /**
8906
+ * Per-policy reporting configuration.
8907
+ */
8908
+ export interface CspPolicyReporting {
8909
+ /** HTTPS endpoint for CSP violation reports. */
8910
+ report_uri?: string | undefined;
8911
+ /** Report-To group name for modern reporting. */
8912
+ report_to_group?: string | undefined;
8913
+ }
8914
+ /**
8915
+ * Report-To header configuration.
8916
+ */
8917
+ export interface CspReportTo {
8918
+ /** Reporting group identifier. */
8919
+ group?: string | undefined;
8920
+ /** Maximum age in seconds for the Report-To header. */
8921
+ max_age?: number | undefined;
8922
+ endpoints?: Management.CspReportToEndpoints | undefined;
8923
+ }
8924
+ /**
8925
+ * A single reporting endpoint.
8926
+ */
8927
+ export interface CspReportToEndpoint {
8928
+ /** HTTPS URL for the reporting endpoint. */
8929
+ url?: string | undefined;
8930
+ }
8931
+ /**
8932
+ * Array of reporting endpoints.
8933
+ */
8934
+ export type CspReportToEndpoints = Management.CspReportToEndpoint[];
8935
+ /**
8936
+ * Reporting-Endpoints header configuration (key-value pairs).
8937
+ */
8938
+ export type CspReportingEndpoints = Record<string, string>;
8939
+ /**
8940
+ * Global reporting infrastructure configuration.
8941
+ */
8942
+ export interface CspReportingInfrastructure {
8943
+ report_to?: (Management.CspReportTo | null) | undefined;
8944
+ reporting_endpoints?: Management.CspReportingEndpoints | undefined;
8945
+ }
8886
8946
  export interface CustomDomain {
8887
8947
  /** ID of the custom domain. */
8888
8948
  custom_domain_id: string;
@@ -15981,7 +16041,6 @@ export interface GetBrandingResponseContent {
15981
16041
  favicon_url?: string | undefined;
15982
16042
  /** URL for the logo. Must use HTTPS. */
15983
16043
  logo_url?: string | undefined;
15984
- identifiers?: Management.BrandingIdentifiers | undefined;
15985
16044
  font?: Management.BrandingFont | undefined;
15986
16045
  /** Accepts any additional properties */
15987
16046
  [key: string]: any;
@@ -16796,7 +16855,7 @@ export interface GetOrganizationResponseContent {
16796
16855
  */
16797
16856
  export type GetPartialsResponseContent = Record<string, unknown>;
16798
16857
  export interface GetPhoneTemplateResponseContent {
16799
- id: string;
16858
+ id?: string | undefined;
16800
16859
  channel?: string | undefined;
16801
16860
  customizable?: boolean | undefined;
16802
16861
  tenant?: string | undefined;
@@ -17067,6 +17126,7 @@ export interface GetTenantSettingsResponseContent {
17067
17126
  default_redirection_uri?: string | undefined;
17068
17127
  /** Supported locales for the user interface. */
17069
17128
  enabled_locales?: Management.SupportedLocales[] | undefined;
17129
+ security_headers?: (Management.TenantSettingsNullableSecurityHeaders | null) | undefined;
17070
17130
  session_cookie?: (Management.SessionCookieSchema | null) | undefined;
17071
17131
  sessions?: (Management.TenantSettingsSessions | null) | undefined;
17072
17132
  oidc_logout?: Management.TenantOidcLogoutSettings | undefined;
@@ -17094,6 +17154,8 @@ export interface GetTenantSettingsResponseContent {
17094
17154
  phone_consolidated_experience?: boolean | undefined;
17095
17155
  /** Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. */
17096
17156
  enable_ai_guide?: boolean | undefined;
17157
+ /** Whether session metadata is included in specific tenant logs (slo, oidc_backchannel_logout_failed, oidc_backchannel_logout_succeeded). */
17158
+ include_session_metadata_in_tenant_logs?: boolean | undefined;
17097
17159
  dynamic_client_registration_security_mode?: Management.TenantSettingsDynamicClientRegistrationSecurityMode | undefined;
17098
17160
  country_codes?: Management.TenantSettingsCountryCodesResponse | undefined;
17099
17161
  }
@@ -19035,7 +19097,7 @@ export interface PhoneProviderSchemaMasked {
19035
19097
  updated_at?: string | undefined;
19036
19098
  }
19037
19099
  export interface PhoneTemplate {
19038
- id: string;
19100
+ id?: string | undefined;
19039
19101
  channel?: string | undefined;
19040
19102
  customizable?: boolean | undefined;
19041
19103
  tenant?: string | undefined;
@@ -19179,6 +19241,7 @@ export declare const PromptGroupNameEnum: {
19179
19241
  readonly Captcha: "captcha";
19180
19242
  readonly BruteForceProtection: "brute-force-protection";
19181
19243
  readonly AsyncApprovalFlow: "async-approval-flow";
19244
+ readonly Confirmation: "confirmation";
19182
19245
  };
19183
19246
  export type PromptGroupNameEnum = (typeof PromptGroupNameEnum)[keyof typeof PromptGroupNameEnum];
19184
19247
  /** Language to update. */
@@ -19424,7 +19487,7 @@ export interface RegisterCimdClientResponseContent {
19424
19487
  }
19425
19488
  export type ResetPhoneTemplateRequestContent = unknown;
19426
19489
  export interface ResetPhoneTemplateResponseContent {
19427
- id: string;
19490
+ id?: string | undefined;
19428
19491
  channel?: string | undefined;
19429
19492
  customizable?: boolean | undefined;
19430
19493
  tenant?: string | undefined;
@@ -19933,6 +19996,7 @@ export declare const ScreenGroupNameEnum: {
19933
19996
  readonly AsyncApprovalError: "async-approval-error";
19934
19997
  readonly AsyncApprovalAccepted: "async-approval-accepted";
19935
19998
  readonly AsyncApprovalDenied: "async-approval-denied";
19999
+ readonly Confirmation: "confirmation";
19936
20000
  readonly AsyncApprovalWrongUser: "async-approval-wrong-user";
19937
20001
  };
19938
20002
  export type ScreenGroupNameEnum = (typeof ScreenGroupNameEnum)[keyof typeof ScreenGroupNameEnum];
@@ -20733,6 +20797,13 @@ export interface TenantSettingsMtls {
20733
20797
  /** If true, enables mTLS endpoint aliases */
20734
20798
  enable_endpoint_aliases?: boolean | undefined;
20735
20799
  }
20800
+ /**
20801
+ * Security headers configuration for tenant responses.
20802
+ */
20803
+ export interface TenantSettingsNullableSecurityHeaders {
20804
+ content_security_policy?: (Management.ContentSecurityPolicyConfig | null) | undefined;
20805
+ x_xss_protection?: (Management.XssProtectionConfig | null) | undefined;
20806
+ }
20736
20807
  /**
20737
20808
  * Change Password page customization.
20738
20809
  */
@@ -21058,21 +21129,6 @@ export interface UpdateBrandingFont {
21058
21129
  /** URL for the custom font. The URL must point to a font file and not a stylesheet. Must use HTTPS. */
21059
21130
  url?: (string | null) | undefined;
21060
21131
  }
21061
- /**
21062
- * Identifier input display settings.
21063
- */
21064
- export interface UpdateBrandingIdentifiers {
21065
- login_display?: Management.UpdateBrandingLoginDisplayEnum | undefined;
21066
- /** Whether OTP autocomplete (autocomplete="one-time-code") is enabled. */
21067
- otp_autocomplete?: boolean | undefined;
21068
- phone_display?: (Management.UpdateBrandingPhoneDisplay | null) | undefined;
21069
- }
21070
- /** Controls identifier input presentation on the login flow. Defaults to "unified" for legacy tenants, "separate" for tenants created post-GA of this feature. */
21071
- export declare const UpdateBrandingLoginDisplayEnum: {
21072
- readonly Unified: "unified";
21073
- readonly Separate: "separate";
21074
- };
21075
- export type UpdateBrandingLoginDisplayEnum = (typeof UpdateBrandingLoginDisplayEnum)[keyof typeof UpdateBrandingLoginDisplayEnum];
21076
21132
  /**
21077
21133
  * Page Background Color or Gradient.
21078
21134
  * Property contains either `null` to unset, a solid color as a string value `#FFFFFF`, or a gradient as an object.
@@ -21087,26 +21143,6 @@ export type UpdateBrandingLoginDisplayEnum = (typeof UpdateBrandingLoginDisplayE
21087
21143
  * ```
21088
21144
  */
21089
21145
  export type UpdateBrandingPageBackground = (string | null) | undefined | (Record<string, unknown> | null) | undefined;
21090
- /**
21091
- * Phone number display settings.
21092
- */
21093
- export interface UpdateBrandingPhoneDisplay {
21094
- masking: Management.UpdateBrandingPhoneMaskingEnum;
21095
- formatting: Management.UpdateBrandingPhoneFormattingEnum;
21096
- }
21097
- /** Controls the format used when displaying phone numbers. */
21098
- export declare const UpdateBrandingPhoneFormattingEnum: {
21099
- readonly Regional: "regional";
21100
- readonly International: "international";
21101
- };
21102
- export type UpdateBrandingPhoneFormattingEnum = (typeof UpdateBrandingPhoneFormattingEnum)[keyof typeof UpdateBrandingPhoneFormattingEnum];
21103
- /** Controls how phone numbers are masked when displayed back to users. */
21104
- export declare const UpdateBrandingPhoneMaskingEnum: {
21105
- readonly ShowAll: "show_all";
21106
- readonly HideCountryCode: "hide_country_code";
21107
- readonly MaskDigits: "mask_digits";
21108
- };
21109
- export type UpdateBrandingPhoneMaskingEnum = (typeof UpdateBrandingPhoneMaskingEnum)[keyof typeof UpdateBrandingPhoneMaskingEnum];
21110
21146
  /**
21111
21147
  * Phone provider configuration schema
21112
21148
  */
@@ -21130,7 +21166,6 @@ export interface UpdateBrandingResponseContent {
21130
21166
  favicon_url?: string | undefined;
21131
21167
  /** URL for the logo. Must use HTTPS. */
21132
21168
  logo_url?: string | undefined;
21133
- identifiers?: Management.BrandingIdentifiers | undefined;
21134
21169
  font?: Management.BrandingFont | undefined;
21135
21170
  /** Accepts any additional properties */
21136
21171
  [key: string]: any;
@@ -21346,6 +21381,7 @@ export interface UpdateConnectionOptions {
21346
21381
  token_endpoint_auth_method?: (Management.ConnectionTokenEndpointAuthMethodEnum | null) | undefined;
21347
21382
  token_endpoint_auth_signing_alg?: (Management.ConnectionTokenEndpointAuthSigningAlgEnum | null) | undefined;
21348
21383
  token_endpoint_jwtca_aud_format?: Management.ConnectionTokenEndpointJwtcaAudFormatEnumOidc | undefined;
21384
+ id_token_session_expiry_supported?: Management.ConnectionIdTokenSessionExpirySupported | undefined;
21349
21385
  /** Accepts any additional properties */
21350
21386
  [key: string]: any;
21351
21387
  }
@@ -21990,7 +22026,7 @@ export interface UpdateOrganizationResponseContent {
21990
22026
  [key: string]: any;
21991
22027
  }
21992
22028
  export interface UpdatePhoneTemplateResponseContent {
21993
- id: string;
22029
+ id?: string | undefined;
21994
22030
  channel?: string | undefined;
21995
22031
  customizable?: boolean | undefined;
21996
22032
  tenant?: string | undefined;
@@ -22217,6 +22253,7 @@ export interface UpdateTenantSettingsResponseContent {
22217
22253
  default_redirection_uri?: string | undefined;
22218
22254
  /** Supported locales for the user interface. */
22219
22255
  enabled_locales?: Management.SupportedLocales[] | undefined;
22256
+ security_headers?: (Management.TenantSettingsNullableSecurityHeaders | null) | undefined;
22220
22257
  session_cookie?: (Management.SessionCookieSchema | null) | undefined;
22221
22258
  sessions?: (Management.TenantSettingsSessions | null) | undefined;
22222
22259
  oidc_logout?: Management.TenantOidcLogoutSettings | undefined;
@@ -22244,6 +22281,8 @@ export interface UpdateTenantSettingsResponseContent {
22244
22281
  phone_consolidated_experience?: boolean | undefined;
22245
22282
  /** Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. */
22246
22283
  enable_ai_guide?: boolean | undefined;
22284
+ /** Whether session metadata is included in specific tenant logs (slo, oidc_backchannel_logout_failed, oidc_backchannel_logout_succeeded). */
22285
+ include_session_metadata_in_tenant_logs?: boolean | undefined;
22247
22286
  dynamic_client_registration_security_mode?: Management.TenantSettingsDynamicClientRegistrationSecurityMode | undefined;
22248
22287
  country_codes?: Management.TenantSettingsCountryCodesResponse | undefined;
22249
22288
  }
@@ -22933,3 +22972,18 @@ export declare const X509CertificateCredentialTypeEnum: {
22933
22972
  readonly X509Cert: "x509_cert";
22934
22973
  };
22935
22974
  export type X509CertificateCredentialTypeEnum = (typeof X509CertificateCredentialTypeEnum)[keyof typeof X509CertificateCredentialTypeEnum];
22975
+ /**
22976
+ * X-XSS-Protection header configuration (deprecated header, use CSP instead).
22977
+ */
22978
+ export interface XssProtectionConfig {
22979
+ /** Whether X-XSS-Protection header is enabled. */
22980
+ enabled?: boolean | undefined;
22981
+ mode?: Management.XssProtectionMode | undefined;
22982
+ /** HTTPS endpoint for X-XSS-Protection violation reports. */
22983
+ report_uri?: string | undefined;
22984
+ }
22985
+ /** X-XSS-Protection mode: block. */
22986
+ export declare const XssProtectionMode: {
22987
+ readonly Block: "block";
22988
+ };
22989
+ export type XssProtectionMode = (typeof XssProtectionMode)[keyof typeof XssProtectionMode];