auth0 5.2.0 → 5.3.1

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 (165) hide show
  1. package/LICENSE +1 -1
  2. package/dist/cjs/management/Client.d.ts +3 -0
  3. package/dist/cjs/management/Client.js +59 -54
  4. package/dist/cjs/management/api/errors/PreconditionFailedError.d.ts +5 -0
  5. package/dist/cjs/management/api/errors/PreconditionFailedError.js +54 -0
  6. package/dist/cjs/management/api/errors/index.d.ts +1 -0
  7. package/dist/cjs/management/api/errors/index.js +1 -0
  8. package/dist/cjs/management/api/requests/requests.d.ts +212 -134
  9. package/dist/cjs/management/api/requests/requests.js +0 -108
  10. package/dist/cjs/management/api/resources/actions/client/Client.d.ts +3 -0
  11. package/dist/cjs/management/api/resources/actions/client/Client.js +9 -4
  12. package/dist/cjs/management/api/resources/actions/resources/index.d.ts +1 -0
  13. package/dist/cjs/management/api/resources/actions/resources/index.js +2 -1
  14. package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.d.ts +149 -0
  15. package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +569 -0
  16. package/dist/cjs/management/api/resources/actions/resources/modules/client/index.d.ts +1 -0
  17. package/dist/cjs/management/api/resources/actions/resources/modules/client/index.js +2 -0
  18. package/dist/cjs/management/api/resources/actions/resources/modules/index.d.ts +2 -0
  19. package/dist/cjs/management/api/resources/actions/resources/modules/index.js +18 -0
  20. package/dist/cjs/management/api/resources/actions/resources/modules/resources/index.d.ts +1 -0
  21. package/dist/cjs/management/api/resources/actions/resources/modules/resources/index.js +37 -0
  22. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.ts +69 -0
  23. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +275 -0
  24. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/index.d.ts +1 -0
  25. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/index.js +2 -0
  26. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/index.d.ts +1 -0
  27. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/index.js +17 -0
  28. package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.d.ts +2 -2
  29. package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.js +1 -1
  30. package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +17 -0
  31. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +61 -0
  32. package/dist/cjs/management/api/resources/connections/client/Client.d.ts +7 -3
  33. package/dist/cjs/management/api/resources/connections/client/Client.js +9 -5
  34. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +18 -0
  35. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +80 -0
  36. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.d.ts +1 -0
  37. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +2 -1
  38. package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +1 -2
  39. package/dist/cjs/management/api/resources/eventStreams/client/Client.js +59 -50
  40. package/dist/cjs/management/api/resources/flows/client/Client.d.ts +2 -2
  41. package/dist/cjs/management/api/resources/flows/client/Client.js +1 -1
  42. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +4 -4
  43. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +2 -2
  44. package/dist/cjs/management/api/resources/groups/client/Client.d.ts +56 -0
  45. package/dist/cjs/management/api/resources/groups/client/Client.js +224 -0
  46. package/dist/cjs/management/api/resources/groups/client/index.d.ts +1 -0
  47. package/dist/cjs/management/api/resources/groups/client/index.js +2 -0
  48. package/dist/cjs/management/api/resources/groups/index.d.ts +2 -0
  49. package/dist/cjs/management/api/resources/groups/index.js +18 -0
  50. package/dist/cjs/management/api/resources/groups/resources/index.d.ts +1 -0
  51. package/dist/cjs/management/api/resources/groups/resources/index.js +37 -0
  52. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.d.ts +34 -0
  53. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +148 -0
  54. package/dist/cjs/management/api/resources/groups/resources/members/client/index.d.ts +1 -0
  55. package/dist/cjs/management/api/resources/groups/resources/members/client/index.js +2 -0
  56. package/dist/cjs/management/api/resources/groups/resources/members/index.d.ts +1 -0
  57. package/dist/cjs/management/api/resources/groups/resources/members/index.js +17 -0
  58. package/dist/cjs/management/api/resources/index.d.ts +1 -0
  59. package/dist/cjs/management/api/resources/index.js +2 -1
  60. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +20 -1
  61. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +66 -1
  62. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.d.ts +1 -1
  63. package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +18 -0
  64. package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +67 -0
  65. package/dist/cjs/management/api/resources/roles/client/Client.d.ts +1 -0
  66. package/dist/cjs/management/api/resources/roles/client/Client.js +3 -0
  67. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.d.ts +2 -1
  68. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +3 -2
  69. package/dist/cjs/management/api/resources/users/client/Client.d.ts +3 -0
  70. package/dist/cjs/management/api/resources/users/client/Client.js +23 -18
  71. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +34 -0
  72. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +148 -0
  73. package/dist/cjs/management/api/resources/users/resources/groups/client/index.d.ts +1 -0
  74. package/dist/cjs/management/api/resources/users/resources/groups/client/index.js +2 -0
  75. package/dist/cjs/management/api/resources/users/resources/groups/index.d.ts +1 -0
  76. package/dist/cjs/management/api/resources/users/resources/groups/index.js +17 -0
  77. package/dist/cjs/management/api/resources/users/resources/index.d.ts +1 -0
  78. package/dist/cjs/management/api/resources/users/resources/index.js +2 -1
  79. package/dist/cjs/management/api/types/types.d.ts +5277 -1396
  80. package/dist/cjs/management/api/types/types.js +2143 -442
  81. package/dist/cjs/management/version.d.ts +1 -1
  82. package/dist/cjs/management/version.js +1 -1
  83. package/dist/esm/management/Client.d.mts +3 -0
  84. package/dist/esm/management/Client.mjs +5 -0
  85. package/dist/esm/management/api/errors/PreconditionFailedError.d.mts +5 -0
  86. package/dist/esm/management/api/errors/PreconditionFailedError.mjs +17 -0
  87. package/dist/esm/management/api/errors/index.d.mts +1 -0
  88. package/dist/esm/management/api/errors/index.mjs +1 -0
  89. package/dist/esm/management/api/requests/requests.d.mts +212 -134
  90. package/dist/esm/management/api/requests/requests.mjs +1 -107
  91. package/dist/esm/management/api/resources/actions/client/Client.d.mts +3 -0
  92. package/dist/esm/management/api/resources/actions/client/Client.mjs +5 -0
  93. package/dist/esm/management/api/resources/actions/resources/index.d.mts +1 -0
  94. package/dist/esm/management/api/resources/actions/resources/index.mjs +1 -0
  95. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.d.mts +149 -0
  96. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +532 -0
  97. package/dist/esm/management/api/resources/actions/resources/modules/client/index.d.mts +1 -0
  98. package/dist/esm/management/api/resources/actions/resources/modules/client/index.mjs +1 -0
  99. package/dist/esm/management/api/resources/actions/resources/modules/index.d.mts +2 -0
  100. package/dist/esm/management/api/resources/actions/resources/modules/index.mjs +2 -0
  101. package/dist/esm/management/api/resources/actions/resources/modules/resources/index.d.mts +1 -0
  102. package/dist/esm/management/api/resources/actions/resources/modules/resources/index.mjs +1 -0
  103. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.mts +69 -0
  104. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +238 -0
  105. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/index.d.mts +1 -0
  106. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/index.mjs +1 -0
  107. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/index.d.mts +1 -0
  108. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/index.mjs +1 -0
  109. package/dist/esm/management/api/resources/actions/resources/versions/client/Client.d.mts +2 -2
  110. package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +1 -1
  111. package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +17 -0
  112. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +61 -0
  113. package/dist/esm/management/api/resources/connections/client/Client.d.mts +7 -3
  114. package/dist/esm/management/api/resources/connections/client/Client.mjs +9 -5
  115. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +18 -0
  116. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +80 -0
  117. package/dist/esm/management/api/resources/deviceCredentials/client/Client.d.mts +1 -0
  118. package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +2 -1
  119. package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +1 -2
  120. package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +59 -50
  121. package/dist/esm/management/api/resources/flows/client/Client.d.mts +2 -2
  122. package/dist/esm/management/api/resources/flows/client/Client.mjs +1 -1
  123. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +4 -4
  124. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +2 -2
  125. package/dist/esm/management/api/resources/groups/client/Client.d.mts +56 -0
  126. package/dist/esm/management/api/resources/groups/client/Client.mjs +187 -0
  127. package/dist/esm/management/api/resources/groups/client/index.d.mts +1 -0
  128. package/dist/esm/management/api/resources/groups/client/index.mjs +1 -0
  129. package/dist/esm/management/api/resources/groups/index.d.mts +2 -0
  130. package/dist/esm/management/api/resources/groups/index.mjs +2 -0
  131. package/dist/esm/management/api/resources/groups/resources/index.d.mts +1 -0
  132. package/dist/esm/management/api/resources/groups/resources/index.mjs +1 -0
  133. package/dist/esm/management/api/resources/groups/resources/members/client/Client.d.mts +34 -0
  134. package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +111 -0
  135. package/dist/esm/management/api/resources/groups/resources/members/client/index.d.mts +1 -0
  136. package/dist/esm/management/api/resources/groups/resources/members/client/index.mjs +1 -0
  137. package/dist/esm/management/api/resources/groups/resources/members/index.d.mts +1 -0
  138. package/dist/esm/management/api/resources/groups/resources/members/index.mjs +1 -0
  139. package/dist/esm/management/api/resources/index.d.mts +1 -0
  140. package/dist/esm/management/api/resources/index.mjs +1 -0
  141. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +20 -1
  142. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +66 -1
  143. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.d.mts +1 -1
  144. package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +18 -0
  145. package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +67 -0
  146. package/dist/esm/management/api/resources/roles/client/Client.d.mts +1 -0
  147. package/dist/esm/management/api/resources/roles/client/Client.mjs +3 -0
  148. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.d.mts +2 -1
  149. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +3 -2
  150. package/dist/esm/management/api/resources/users/client/Client.d.mts +3 -0
  151. package/dist/esm/management/api/resources/users/client/Client.mjs +5 -0
  152. package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +34 -0
  153. package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +111 -0
  154. package/dist/esm/management/api/resources/users/resources/groups/client/index.d.mts +1 -0
  155. package/dist/esm/management/api/resources/users/resources/groups/client/index.mjs +1 -0
  156. package/dist/esm/management/api/resources/users/resources/groups/index.d.mts +1 -0
  157. package/dist/esm/management/api/resources/users/resources/groups/index.mjs +1 -0
  158. package/dist/esm/management/api/resources/users/resources/index.d.mts +1 -0
  159. package/dist/esm/management/api/resources/users/resources/index.mjs +1 -0
  160. package/dist/esm/management/api/types/types.d.mts +5277 -1396
  161. package/dist/esm/management/api/types/types.mjs +2133 -438
  162. package/dist/esm/management/version.d.mts +1 -1
  163. package/dist/esm/management/version.mjs +1 -1
  164. package/package.json +1 -1
  165. package/reference.md +1572 -185
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.2.0";
1
+ export declare const SDK_VERSION = "5.3.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "5.2.0";
4
+ exports.SDK_VERSION = "5.3.1";
@@ -13,6 +13,7 @@ import { EmailTemplatesClient } from "./api/resources/emailTemplates/client/Clie
13
13
  import { EventStreamsClient } from "./api/resources/eventStreams/client/Client.mjs";
14
14
  import { FlowsClient } from "./api/resources/flows/client/Client.mjs";
15
15
  import { FormsClient } from "./api/resources/forms/client/Client.mjs";
16
+ import { GroupsClient } from "./api/resources/groups/client/Client.mjs";
16
17
  import { GuardianClient } from "./api/resources/guardian/client/Client.mjs";
17
18
  import { HooksClient } from "./api/resources/hooks/client/Client.mjs";
18
19
  import { JobsClient } from "./api/resources/jobs/client/Client.mjs";
@@ -62,6 +63,7 @@ export declare class ManagementClient {
62
63
  protected _flows: FlowsClient | undefined;
63
64
  protected _forms: FormsClient | undefined;
64
65
  protected _userGrants: UserGrantsClient | undefined;
66
+ protected _groups: GroupsClient | undefined;
65
67
  protected _hooks: HooksClient | undefined;
66
68
  protected _jobs: JobsClient | undefined;
67
69
  protected _logStreams: LogStreamsClient | undefined;
@@ -105,6 +107,7 @@ export declare class ManagementClient {
105
107
  get flows(): FlowsClient;
106
108
  get forms(): FormsClient;
107
109
  get userGrants(): UserGrantsClient;
110
+ get groups(): GroupsClient;
108
111
  get hooks(): HooksClient;
109
112
  get jobs(): JobsClient;
110
113
  get logStreams(): LogStreamsClient;
@@ -14,6 +14,7 @@ import { EmailTemplatesClient } from "./api/resources/emailTemplates/client/Clie
14
14
  import { EventStreamsClient } from "./api/resources/eventStreams/client/Client.mjs";
15
15
  import { FlowsClient } from "./api/resources/flows/client/Client.mjs";
16
16
  import { FormsClient } from "./api/resources/forms/client/Client.mjs";
17
+ import { GroupsClient } from "./api/resources/groups/client/Client.mjs";
17
18
  import { GuardianClient } from "./api/resources/guardian/client/Client.mjs";
18
19
  import { HooksClient } from "./api/resources/hooks/client/Client.mjs";
19
20
  import { JobsClient } from "./api/resources/jobs/client/Client.mjs";
@@ -98,6 +99,10 @@ export class ManagementClient {
98
99
  var _a;
99
100
  return ((_a = this._userGrants) !== null && _a !== void 0 ? _a : (this._userGrants = new UserGrantsClient(this._options)));
100
101
  }
102
+ get groups() {
103
+ var _a;
104
+ return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new GroupsClient(this._options)));
105
+ }
101
106
  get hooks() {
102
107
  var _a;
103
108
  return ((_a = this._hooks) !== null && _a !== void 0 ? _a : (this._hooks = new HooksClient(this._options)));
@@ -0,0 +1,5 @@
1
+ import * as core from "../../core/index.mjs";
2
+ import * as errors from "../../errors/index.mjs";
3
+ export declare class PreconditionFailedError extends errors.ManagementError {
4
+ constructor(body?: unknown, rawResponse?: core.RawResponse);
5
+ }
@@ -0,0 +1,17 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as errors from "../../errors/index.mjs";
3
+ export class PreconditionFailedError extends errors.ManagementError {
4
+ constructor(body, rawResponse) {
5
+ super({
6
+ message: "PreconditionFailedError",
7
+ statusCode: 412,
8
+ body: body,
9
+ rawResponse: rawResponse,
10
+ });
11
+ Object.setPrototypeOf(this, new.target.prototype);
12
+ if (Error.captureStackTrace) {
13
+ Error.captureStackTrace(this, this.constructor);
14
+ }
15
+ this.name = this.constructor.name;
16
+ }
17
+ }
@@ -5,6 +5,7 @@ export * from "./ForbiddenError.mjs";
5
5
  export * from "./InternalServerError.mjs";
6
6
  export * from "./NotFoundError.mjs";
7
7
  export * from "./PaymentRequiredError.mjs";
8
+ export * from "./PreconditionFailedError.mjs";
8
9
  export * from "./ServiceUnavailableError.mjs";
9
10
  export * from "./TooManyRequestsError.mjs";
10
11
  export * from "./UnauthorizedError.mjs";
@@ -5,6 +5,7 @@ export * from "./ForbiddenError.mjs";
5
5
  export * from "./InternalServerError.mjs";
6
6
  export * from "./NotFoundError.mjs";
7
7
  export * from "./PaymentRequiredError.mjs";
8
+ export * from "./PreconditionFailedError.mjs";
8
9
  export * from "./ServiceUnavailableError.mjs";
9
10
  export * from "./TooManyRequestsError.mjs";
10
11
  export * from "./UnauthorizedError.mjs";
@@ -47,6 +47,8 @@ export interface CreateActionRequestContent {
47
47
  runtime?: string;
48
48
  /** The list of secrets that are included in an action or a version of an action. */
49
49
  secrets?: Management.ActionSecretRequest[];
50
+ /** The list of action modules and their versions used by this action. */
51
+ modules?: Management.ActionModuleReference[];
50
52
  /** True if the action should be deployed after creation. */
51
53
  deploy?: boolean;
52
54
  }
@@ -77,6 +79,8 @@ export interface UpdateActionRequestContent {
77
79
  runtime?: string;
78
80
  /** The list of secrets that are included in an action or a version of an action. */
79
81
  secrets?: Management.ActionSecretRequest[];
82
+ /** The list of action modules and their versions used by this action. */
83
+ modules?: Management.ActionModuleReference[];
80
84
  }
81
85
  /**
82
86
  * @example
@@ -123,7 +127,7 @@ export interface ListClientGrantsRequestParameters {
123
127
  client_id?: string | null;
124
128
  /** Optional filter on allow_any_organization. */
125
129
  allow_any_organization?: Management.ClientGrantAllowAnyOrganizationEnum | null;
126
- /** The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta’s <a href="https://www.okta.com/legal/"> Master Subscription Agreement.</a> */
130
+ /** The type of application access the client grant allows. */
127
131
  subject_type?: Management.ClientGrantSubjectTypeEnum | null;
128
132
  }
129
133
  /**
@@ -144,8 +148,10 @@ export interface CreateClientGrantRequestContent {
144
148
  /** Scopes allowed for this client grant. */
145
149
  scope?: string[];
146
150
  subject_type?: Management.ClientGrantSubjectTypeEnum;
147
- /** Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s <a href= "https://www.okta.com/legal/"> Master Subscription Agreement.</a> */
151
+ /** Types of authorization_details allowed for this client grant. */
148
152
  authorization_details_types?: string[];
153
+ /** If enabled, all scopes configured on the resource server are allowed for this grant. */
154
+ allow_all_scopes?: boolean;
149
155
  }
150
156
  /**
151
157
  * @example
@@ -157,8 +163,10 @@ export interface UpdateClientGrantRequestContent {
157
163
  organization_usage?: Management.ClientGrantOrganizationNullableUsageEnum | null;
158
164
  /** Controls allowing any organization to be used with this grant */
159
165
  allow_any_organization?: boolean | null;
160
- /** Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s <a href= "https://www.okta.com/legal/"> Master Subscription Agreement.</a> */
166
+ /** Types of authorization_details allowed for this client grant. */
161
167
  authorization_details_types?: string[];
168
+ /** If enabled, all scopes configured on the resource server are allowed for this grant. */
169
+ allow_all_scopes?: boolean | null;
162
170
  }
163
171
  /**
164
172
  * @example
@@ -540,6 +548,8 @@ export interface CreateCustomDomainRequestContent {
540
548
  tls_policy?: Management.CustomDomainTlsPolicyEnum;
541
549
  custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
542
550
  domain_metadata?: Management.DomainMetadata;
551
+ /** Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. */
552
+ relying_party_identifier?: string;
543
553
  }
544
554
  /**
545
555
  * @example
@@ -549,6 +559,8 @@ export interface UpdateCustomDomainRequestContent {
549
559
  tls_policy?: Management.CustomDomainTlsPolicyEnum;
550
560
  custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
551
561
  domain_metadata?: Management.DomainMetadata;
562
+ /** Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain. */
563
+ relying_party_identifier?: string | null;
552
564
  }
553
565
  /**
554
566
  * @example
@@ -585,6 +597,7 @@ export interface ListDeviceCredentialsRequestParameters {
585
597
  * @example
586
598
  * {
587
599
  * device_name: "device_name",
600
+ * type: "public_key",
588
601
  * value: "value",
589
602
  * device_id: "device_id"
590
603
  * }
@@ -592,6 +605,7 @@ export interface ListDeviceCredentialsRequestParameters {
592
605
  export interface CreatePublicKeyDeviceCredentialRequestContent {
593
606
  /** Name for this device easily recognized by owner. */
594
607
  device_name: string;
608
+ type: Management.DeviceCredentialPublicKeyTypeEnum;
595
609
  /** Base64 encoded string containing the credential. */
596
610
  value: string;
597
611
  /** Unique identifier for the device. Recommend using <a href="http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID">Android_ID</a> on Android and <a href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/index.html#//apple_ref/occ/instp/UIDevice/identifierForVendor">identifierForVendor</a>. */
@@ -716,7 +730,7 @@ export interface CreateEventStreamTestEventRequestContent {
716
730
  * synchronous: true
717
731
  * }
718
732
  */
719
- export interface FlowsListRequest {
733
+ export interface ListFlowsRequestParameters {
720
734
  /** Page index of the results to return. First page is 0. */
721
735
  page?: number | null;
722
736
  /** Number of results per page. Defaults to 50. */
@@ -724,7 +738,7 @@ export interface FlowsListRequest {
724
738
  /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
725
739
  include_totals?: boolean | null;
726
740
  /** hydration param */
727
- hydrate?: ("form_count" | null) | ("form_count" | null)[];
741
+ hydrate?: (Management.ListFlowsRequestParametersHydrateEnum | null) | (Management.ListFlowsRequestParametersHydrateEnum | null)[];
728
742
  /** flag to filter by sync/async flows */
729
743
  synchronous?: boolean | null;
730
744
  }
@@ -845,6 +859,34 @@ export interface DeleteUserGrantByUserIdRequestParameters {
845
859
  /** user_id of the grant to delete. */
846
860
  user_id: string;
847
861
  }
862
+ /**
863
+ * @example
864
+ * {
865
+ * connection_id: "connection_id",
866
+ * name: "name",
867
+ * external_id: "external_id",
868
+ * fields: "fields",
869
+ * include_fields: true,
870
+ * from: "from",
871
+ * take: 1
872
+ * }
873
+ */
874
+ export interface ListGroupsRequestParameters {
875
+ /** Filter groups by connection ID. */
876
+ connection_id?: string | null;
877
+ /** Filter groups by name. */
878
+ name?: string | null;
879
+ /** Filter groups by external ID. */
880
+ external_id?: string | null;
881
+ /** A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields */
882
+ fields?: string | null;
883
+ /** Whether specified fields are to be included (true) or excluded (false). */
884
+ include_fields?: boolean | null;
885
+ /** Optional Id from which to start selection. */
886
+ from?: string | null;
887
+ /** Number of results per page. Defaults to 50. */
888
+ take?: number | null;
889
+ }
848
890
  /**
849
891
  * @example
850
892
  * {
@@ -1083,6 +1125,13 @@ export interface UpdateSettingsRequestContent {
1083
1125
  /** Use WebAuthn with Device Biometrics as the first authentication factor */
1084
1126
  webauthn_platform_first_factor?: boolean | null;
1085
1127
  }
1128
+ /**
1129
+ * @example
1130
+ * {}
1131
+ */
1132
+ export interface UpdateRefreshTokenRequestContent {
1133
+ refresh_token_metadata?: (Management.RefreshTokenMetadata | undefined) | null;
1134
+ }
1086
1135
  /**
1087
1136
  * @example
1088
1137
  * {
@@ -1130,7 +1179,7 @@ export interface CreateResourceServerRequestContent {
1130
1179
  /** Whether to enforce authorization policies (true) or to ignore them (false). */
1131
1180
  enforce_policies?: boolean;
1132
1181
  token_encryption?: Management.ResourceServerTokenEncryption | null;
1133
- consent_policy?: (Management.ResourceServerConsentPolicyEnum | undefined) | null;
1182
+ consent_policy?: Management.ResourceServerConsentPolicyEnum | null;
1134
1183
  authorization_details?: unknown[];
1135
1184
  proof_of_possession?: Management.ResourceServerProofOfPossession | null;
1136
1185
  subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
@@ -1167,7 +1216,7 @@ export interface UpdateResourceServerRequestContent {
1167
1216
  /** Whether authorization policies are enforced (true) or not enforced (false). */
1168
1217
  enforce_policies?: boolean;
1169
1218
  token_encryption?: Management.ResourceServerTokenEncryption | null;
1170
- consent_policy?: (Management.ResourceServerConsentPolicyEnum | undefined) | null;
1219
+ consent_policy?: Management.ResourceServerConsentPolicyEnum | null;
1171
1220
  authorization_details?: unknown[];
1172
1221
  proof_of_possession?: Management.ResourceServerProofOfPossession | null;
1173
1222
  subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
@@ -1436,7 +1485,8 @@ export interface TokenExchangeProfilesListRequest {
1436
1485
  * {
1437
1486
  * name: "name",
1438
1487
  * subject_token_type: "subject_token_type",
1439
- * action_id: "action_id"
1488
+ * action_id: "action_id",
1489
+ * type: "custom_authentication"
1440
1490
  * }
1441
1491
  */
1442
1492
  export interface CreateTokenExchangeProfileRequestContent {
@@ -1446,6 +1496,7 @@ export interface CreateTokenExchangeProfileRequestContent {
1446
1496
  subject_token_type: string;
1447
1497
  /** The ID of the Custom Token Exchange action to execute for this profile, in order to validate the subject_token. The action must use the custom-token-exchange trigger. */
1448
1498
  action_id: string;
1499
+ type: Management.TokenExchangeProfileTypeEnum;
1449
1500
  }
1450
1501
  /**
1451
1502
  * @example
@@ -1708,6 +1759,88 @@ export interface ListActionVersionsRequestParameters {
1708
1759
  /** This field specify the maximum number of results to be returned by the server. 20 by default */
1709
1760
  per_page?: number | null;
1710
1761
  }
1762
+ /**
1763
+ * @example
1764
+ * {
1765
+ * page: 1,
1766
+ * per_page: 1
1767
+ * }
1768
+ */
1769
+ export interface GetActionModulesRequestParameters {
1770
+ /** Page index of the results to return. First page is 0. */
1771
+ page?: number | null;
1772
+ /** Number of results per page. Paging is disabled if parameter not sent. */
1773
+ per_page?: number | null;
1774
+ }
1775
+ /**
1776
+ * @example
1777
+ * {
1778
+ * name: "name",
1779
+ * code: "code"
1780
+ * }
1781
+ */
1782
+ export interface CreateActionModuleRequestContent {
1783
+ /** The name of the action module. */
1784
+ name: string;
1785
+ /** The source code of the action module. */
1786
+ code: string;
1787
+ /** The secrets to associate with the action module. */
1788
+ secrets?: Management.ActionModuleSecretRequest[];
1789
+ /** The npm dependencies of the action module. */
1790
+ dependencies?: Management.ActionModuleDependencyRequest[];
1791
+ /** The API version of the module. */
1792
+ api_version?: string;
1793
+ /** Whether to publish the module immediately after creation. */
1794
+ publish?: boolean;
1795
+ }
1796
+ /**
1797
+ * @example
1798
+ * {}
1799
+ */
1800
+ export interface UpdateActionModuleRequestContent {
1801
+ /** The source code of the action module. */
1802
+ code?: string;
1803
+ /** The secrets to associate with the action module. */
1804
+ secrets?: Management.ActionModuleSecretRequest[];
1805
+ /** The npm dependencies of the action module. */
1806
+ dependencies?: Management.ActionModuleDependencyRequest[];
1807
+ }
1808
+ /**
1809
+ * @example
1810
+ * {
1811
+ * page: 1,
1812
+ * per_page: 1
1813
+ * }
1814
+ */
1815
+ export interface GetActionModuleActionsRequestParameters {
1816
+ /** Page index of the results to return. First page is 0. */
1817
+ page?: number | null;
1818
+ /** Number of results per page. */
1819
+ per_page?: number | null;
1820
+ }
1821
+ /**
1822
+ * @example
1823
+ * {
1824
+ * module_version_id: "module_version_id"
1825
+ * }
1826
+ */
1827
+ export interface RollbackActionModuleRequestParameters {
1828
+ /** The unique ID of the module version to roll back to. */
1829
+ module_version_id: string;
1830
+ }
1831
+ /**
1832
+ * @example
1833
+ * {
1834
+ * page: 1,
1835
+ * per_page: 1
1836
+ * }
1837
+ */
1838
+ export interface GetActionModuleVersionsRequestParameters {
1839
+ /** Use this field to request a specific page of the list results. */
1840
+ page?: number | null;
1841
+ /** The maximum number of results to be returned by the server in a single response. 20 by default. */
1842
+ per_page?: number | null;
1843
+ }
1711
1844
  /**
1712
1845
  * @example
1713
1846
  * {
@@ -1772,36 +1905,13 @@ export interface UpdateBruteForceSettingsRequestContent {
1772
1905
  * Action to take when a brute force protection threshold is violated.
1773
1906
  * Possible values: <code>block</code>, <code>user_notification</code>.
1774
1907
  */
1775
- shields?: UpdateBruteForceSettingsRequestContent.Shields.Item[];
1908
+ shields?: Management.BruteForceProtectionShieldsEnum[];
1776
1909
  /** List of trusted IP addresses that will not have attack protection enforced against them. */
1777
1910
  allowlist?: string[];
1778
- /**
1779
- * Account Lockout: Determines whether or not IP address is used when counting failed attempts.
1780
- * Possible values: <code>count_per_identifier_and_ip</code>, <code>count_per_identifier</code>.
1781
- */
1782
- mode?: UpdateBruteForceSettingsRequestContent.Mode;
1911
+ mode?: Management.BruteForceProtectionModeEnum;
1783
1912
  /** Maximum number of unsuccessful attempts. */
1784
1913
  max_attempts?: number;
1785
1914
  }
1786
- export declare namespace UpdateBruteForceSettingsRequestContent {
1787
- type Shields = Shields.Item[];
1788
- namespace Shields {
1789
- const Item: {
1790
- readonly Block: "block";
1791
- readonly UserNotification: "user_notification";
1792
- };
1793
- type Item = (typeof Item)[keyof typeof Item];
1794
- }
1795
- /**
1796
- * Account Lockout: Determines whether or not IP address is used when counting failed attempts.
1797
- * Possible values: <code>count_per_identifier_and_ip</code>, <code>count_per_identifier</code>.
1798
- */
1799
- const Mode: {
1800
- readonly CountPerIdentifierAndIp: "count_per_identifier_and_ip";
1801
- readonly CountPerIdentifier: "count_per_identifier";
1802
- };
1803
- type Mode = (typeof Mode)[keyof typeof Mode];
1804
- }
1805
1915
  /**
1806
1916
  * @example
1807
1917
  * {}
@@ -2149,6 +2259,19 @@ export interface ConnectionsGetRequest {
2149
2259
  /** <code>true</code> if the fields specified are to be included in the result, <code>false</code> otherwise (defaults to <code>true</code>) */
2150
2260
  include_fields?: boolean | null;
2151
2261
  }
2262
+ /**
2263
+ * @example
2264
+ * {
2265
+ * from: "from",
2266
+ * take: 1
2267
+ * }
2268
+ */
2269
+ export interface ListDirectoryProvisioningsRequestParameters {
2270
+ /** Optional Id from which to start selection. */
2271
+ from?: string | null;
2272
+ /** Number of results per page. Defaults to 50. */
2273
+ take?: number | null;
2274
+ }
2152
2275
  /**
2153
2276
  * @example
2154
2277
  * {
@@ -2285,7 +2408,7 @@ export interface CreateEventStreamRedeliveryRequestContent {
2285
2408
  * take: 1
2286
2409
  * }
2287
2410
  */
2288
- export interface ExecutionsListRequest {
2411
+ export interface ListFlowExecutionsRequestParameters {
2289
2412
  /** Optional Id from which to start selection. */
2290
2413
  from?: string | null;
2291
2414
  /** Number of results per page. Defaults to 50. */
@@ -2295,9 +2418,9 @@ export interface ExecutionsListRequest {
2295
2418
  * @example
2296
2419
  * {}
2297
2420
  */
2298
- export interface ExecutionsGetRequest {
2421
+ export interface GetFlowExecutionRequestParameters {
2299
2422
  /** Hydration param */
2300
- hydrate?: ("debug" | null) | ("debug" | null)[];
2423
+ hydrate?: (Management.GetFlowExecutionRequestParametersHydrateEnum | null) | (Management.GetFlowExecutionRequestParametersHydrateEnum | null)[];
2301
2424
  }
2302
2425
  /**
2303
2426
  * @example
@@ -2324,6 +2447,25 @@ export interface UpdateFlowsVaultConnectionRequestContent {
2324
2447
  name?: string;
2325
2448
  setup?: Management.UpdateFlowsVaultConnectionSetup;
2326
2449
  }
2450
+ /**
2451
+ * @example
2452
+ * {
2453
+ * fields: "fields",
2454
+ * include_fields: true,
2455
+ * from: "from",
2456
+ * take: 1
2457
+ * }
2458
+ */
2459
+ export interface GetGroupMembersRequestParameters {
2460
+ /** A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields */
2461
+ fields?: string | null;
2462
+ /** Whether specified fields are to be included (true) or excluded (false). */
2463
+ include_fields?: boolean | null;
2464
+ /** Optional Id from which to start selection. */
2465
+ from?: string | null;
2466
+ /** Number of results per page. Defaults to 50. */
2467
+ take?: number | null;
2468
+ }
2327
2469
  /**
2328
2470
  * @example
2329
2471
  * {
@@ -2680,7 +2822,7 @@ export interface CreateOrganizationDiscoveryDomainRequestContent {
2680
2822
  /** The domain name to associate with the organization e.g. acme.com. */
2681
2823
  domain: string;
2682
2824
  status?: Management.OrganizationDiscoveryDomainStatus;
2683
- /** Indicates whether this discovery domain should be used for organization discovery. */
2825
+ /** Indicates whether this domain should be used for organization discovery. */
2684
2826
  use_for_organization_discovery?: boolean;
2685
2827
  }
2686
2828
  /**
@@ -2689,7 +2831,7 @@ export interface CreateOrganizationDiscoveryDomainRequestContent {
2689
2831
  */
2690
2832
  export interface UpdateOrganizationDiscoveryDomainRequestContent {
2691
2833
  status?: Management.OrganizationDiscoveryDomainStatus;
2692
- /** Indicates whether this discovery domain should be used for organization discovery. */
2834
+ /** Indicates whether this domain should be used for organization discovery. */
2693
2835
  use_for_organization_discovery?: boolean;
2694
2836
  }
2695
2837
  /**
@@ -3036,6 +3178,8 @@ export interface CreateSelfServiceProfileSsoTicketRequestContent {
3036
3178
  ttl_sec?: number;
3037
3179
  domain_aliases_config?: Management.SelfServiceProfileSsoTicketDomainAliasesConfig;
3038
3180
  provisioning_config?: Management.SelfServiceProfileSsoTicketProvisioningConfig;
3181
+ /** Indicates whether a verified domain should be used for organization discovery during authentication. */
3182
+ use_for_organization_discovery?: boolean;
3039
3183
  }
3040
3184
  /**
3041
3185
  * @example
@@ -3090,7 +3234,7 @@ export interface UpdateTenantSettingsRequestContent {
3090
3234
  /** The default absolute redirection uri, must be https */
3091
3235
  default_redirection_uri?: string;
3092
3236
  /** Supported locales for the user interface */
3093
- enabled_locales?: UpdateTenantSettingsRequestContent.EnabledLocales.Item[];
3237
+ enabled_locales?: Management.TenantSettingsSupportedLocalesEnum[];
3094
3238
  session_cookie?: Management.SessionCookieSchema | null;
3095
3239
  sessions?: Management.TenantSettingsSessions | null;
3096
3240
  oidc_logout?: Management.TenantOidcLogoutSettings;
@@ -3112,95 +3256,10 @@ export interface UpdateTenantSettingsRequestContent {
3112
3256
  */
3113
3257
  skip_non_verifiable_callback_uri_confirmation_prompt?: boolean | null;
3114
3258
  resource_parameter_profile?: Management.TenantSettingsResourceParameterProfile;
3115
- }
3116
- export declare namespace UpdateTenantSettingsRequestContent {
3117
- type EnabledLocales = EnabledLocales.Item[];
3118
- namespace EnabledLocales {
3119
- const Item: {
3120
- readonly Am: "am";
3121
- readonly Ar: "ar";
3122
- readonly ArEg: "ar-EG";
3123
- readonly ArSa: "ar-SA";
3124
- readonly Az: "az";
3125
- readonly Bg: "bg";
3126
- readonly Bn: "bn";
3127
- readonly Bs: "bs";
3128
- readonly CaEs: "ca-ES";
3129
- readonly Cnr: "cnr";
3130
- readonly Cs: "cs";
3131
- readonly Cy: "cy";
3132
- readonly Da: "da";
3133
- readonly De: "de";
3134
- readonly El: "el";
3135
- readonly En: "en";
3136
- readonly EnCa: "en-CA";
3137
- readonly Es: "es";
3138
- readonly Es419: "es-419";
3139
- readonly EsAr: "es-AR";
3140
- readonly EsMx: "es-MX";
3141
- readonly Et: "et";
3142
- readonly EuEs: "eu-ES";
3143
- readonly Fa: "fa";
3144
- readonly Fi: "fi";
3145
- readonly Fr: "fr";
3146
- readonly FrCa: "fr-CA";
3147
- readonly FrFr: "fr-FR";
3148
- readonly GlEs: "gl-ES";
3149
- readonly Gu: "gu";
3150
- readonly He: "he";
3151
- readonly Hi: "hi";
3152
- readonly Hr: "hr";
3153
- readonly Hu: "hu";
3154
- readonly Hy: "hy";
3155
- readonly Id: "id";
3156
- readonly Is: "is";
3157
- readonly It: "it";
3158
- readonly Ja: "ja";
3159
- readonly Ka: "ka";
3160
- readonly Kk: "kk";
3161
- readonly Kn: "kn";
3162
- readonly Ko: "ko";
3163
- readonly Lt: "lt";
3164
- readonly Lv: "lv";
3165
- readonly Mk: "mk";
3166
- readonly Ml: "ml";
3167
- readonly Mn: "mn";
3168
- readonly Mr: "mr";
3169
- readonly Ms: "ms";
3170
- readonly My: "my";
3171
- readonly Nb: "nb";
3172
- readonly Nl: "nl";
3173
- readonly Nn: "nn";
3174
- readonly No: "no";
3175
- readonly Pa: "pa";
3176
- readonly Pl: "pl";
3177
- readonly Pt: "pt";
3178
- readonly PtBr: "pt-BR";
3179
- readonly PtPt: "pt-PT";
3180
- readonly Ro: "ro";
3181
- readonly Ru: "ru";
3182
- readonly Sk: "sk";
3183
- readonly Sl: "sl";
3184
- readonly So: "so";
3185
- readonly Sq: "sq";
3186
- readonly Sr: "sr";
3187
- readonly Sv: "sv";
3188
- readonly Sw: "sw";
3189
- readonly Ta: "ta";
3190
- readonly Te: "te";
3191
- readonly Th: "th";
3192
- readonly Tl: "tl";
3193
- readonly Tr: "tr";
3194
- readonly Uk: "uk";
3195
- readonly Ur: "ur";
3196
- readonly Vi: "vi";
3197
- readonly Zgh: "zgh";
3198
- readonly ZhCn: "zh-CN";
3199
- readonly ZhHk: "zh-HK";
3200
- readonly ZhTw: "zh-TW";
3201
- };
3202
- type Item = (typeof Item)[keyof typeof Item];
3203
- }
3259
+ /** Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. */
3260
+ enable_ai_guide?: boolean;
3261
+ /** Whether Phone Consolidated Experience is enabled for this tenant. */
3262
+ phone_consolidated_experience?: boolean;
3204
3263
  }
3205
3264
  /**
3206
3265
  * @example
@@ -3264,6 +3323,25 @@ export interface GetUserConnectedAccountsRequestParameters {
3264
3323
  /** Number of results to return. Defaults to 10 with a maximum of 20 */
3265
3324
  take?: number | null;
3266
3325
  }
3326
+ /**
3327
+ * @example
3328
+ * {
3329
+ * fields: "fields",
3330
+ * include_fields: true,
3331
+ * from: "from",
3332
+ * take: 1
3333
+ * }
3334
+ */
3335
+ export interface GetUserGroupsRequestParameters {
3336
+ /** A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields */
3337
+ fields?: string | null;
3338
+ /** Whether specified fields are to be included (true) or excluded (false). */
3339
+ include_fields?: boolean | null;
3340
+ /** Optional Id from which to start selection. */
3341
+ from?: string | null;
3342
+ /** Number of results per page. Defaults to 50. */
3343
+ take?: number | null;
3344
+ }
3267
3345
  /**
3268
3346
  * @example
3269
3347
  * {}
@@ -3460,7 +3538,7 @@ export interface CreateVerifiableCredentialTemplateRequestContent {
3460
3538
  type: string;
3461
3539
  dialect: string;
3462
3540
  presentation: Management.MdlPresentationRequest;
3463
- custom_certificate_authority?: string;
3541
+ custom_certificate_authority?: string | null;
3464
3542
  well_known_trusted_issuers: string;
3465
3543
  }
3466
3544
  /**
@@ -3468,10 +3546,10 @@ export interface CreateVerifiableCredentialTemplateRequestContent {
3468
3546
  * {}
3469
3547
  */
3470
3548
  export interface UpdateVerifiableCredentialTemplateRequestContent {
3471
- name?: string;
3472
- type?: string;
3473
- dialect?: string;
3549
+ name?: string | null;
3550
+ type?: string | null;
3551
+ dialect?: string | null;
3474
3552
  presentation?: Management.MdlPresentationRequest;
3475
- well_known_trusted_issuers?: string;
3476
- version?: number;
3553
+ well_known_trusted_issuers?: string | null;
3554
+ version?: number | null;
3477
3555
  }