auth0 5.6.0 → 5.7.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 (24) hide show
  1. package/dist/cjs/management/api/requests/requests.d.ts +41 -2
  2. package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +2 -1
  3. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +4 -2
  4. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +43 -0
  5. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +152 -0
  6. package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +1 -1
  7. package/dist/cjs/management/api/resources/eventStreams/client/Client.js +1 -1
  8. package/dist/cjs/management/api/types/types.d.ts +188 -37
  9. package/dist/cjs/management/api/types/types.js +99 -46
  10. package/dist/cjs/management/version.d.ts +1 -1
  11. package/dist/cjs/management/version.js +1 -1
  12. package/dist/esm/management/api/requests/requests.d.mts +41 -2
  13. package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +2 -1
  14. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +4 -2
  15. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +43 -0
  16. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +152 -0
  17. package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +1 -1
  18. package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +1 -1
  19. package/dist/esm/management/api/types/types.d.mts +188 -37
  20. package/dist/esm/management/api/types/types.mjs +89 -36
  21. package/dist/esm/management/version.d.mts +1 -1
  22. package/dist/esm/management/version.mjs +1 -1
  23. package/package.json +1 -1
  24. package/reference.md +169 -1
@@ -424,4 +424,156 @@ export class DirectoryProvisioningClient {
424
424
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/connections/{id}/directory-provisioning/default-mapping");
425
425
  });
426
426
  }
427
+ /**
428
+ * Retrieve the configured synchronized groups for a connection directory provisioning configuration.
429
+ *
430
+ * @param {string} id - The id of the connection to list synchronized groups for.
431
+ * @param {Management.ListSynchronizedGroupsRequestParameters} request
432
+ * @param {DirectoryProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
433
+ *
434
+ * @throws {@link Management.BadRequestError}
435
+ * @throws {@link Management.UnauthorizedError}
436
+ * @throws {@link Management.ForbiddenError}
437
+ * @throws {@link Management.NotFoundError}
438
+ * @throws {@link Management.TooManyRequestsError}
439
+ *
440
+ * @example
441
+ * await client.connections.directoryProvisioning.listSynchronizedGroups("id", {
442
+ * from: "from",
443
+ * take: 1
444
+ * })
445
+ */
446
+ listSynchronizedGroups(id_1) {
447
+ return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
448
+ const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
449
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
450
+ const { from: from_, take = 50 } = request;
451
+ const _queryParams = {
452
+ from: from_,
453
+ take,
454
+ };
455
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
456
+ let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
457
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
458
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `connections/${core.url.encodePathParam(id)}/directory-provisioning/synchronized-groups`),
459
+ method: "GET",
460
+ headers: _headers,
461
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
462
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
463
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
464
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
465
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
466
+ logging: this._options.logging,
467
+ });
468
+ if (_response.ok) {
469
+ return {
470
+ data: _response.body,
471
+ rawResponse: _response.rawResponse,
472
+ };
473
+ }
474
+ if (_response.error.reason === "status-code") {
475
+ switch (_response.error.statusCode) {
476
+ case 400:
477
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
478
+ case 401:
479
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
480
+ case 403:
481
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
482
+ case 404:
483
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
484
+ case 429:
485
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
486
+ default:
487
+ throw new errors.ManagementError({
488
+ statusCode: _response.error.statusCode,
489
+ body: _response.error.body,
490
+ rawResponse: _response.rawResponse,
491
+ });
492
+ }
493
+ }
494
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/connections/{id}/directory-provisioning/synchronized-groups");
495
+ }));
496
+ const dataWithRawResponse = yield list(request).withRawResponse();
497
+ return new core.Page({
498
+ response: dataWithRawResponse.data,
499
+ rawResponse: dataWithRawResponse.rawResponse,
500
+ hasNextPage: (response) => (response === null || response === void 0 ? void 0 : response.next) != null && !(typeof (response === null || response === void 0 ? void 0 : response.next) === "string" && (response === null || response === void 0 ? void 0 : response.next) === ""),
501
+ getItems: (response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.groups) !== null && _a !== void 0 ? _a : []; },
502
+ loadPage: (response) => {
503
+ return list(core.setObjectProperty(request, "from", response === null || response === void 0 ? void 0 : response.next));
504
+ },
505
+ });
506
+ });
507
+ }
508
+ /**
509
+ * Create or replace the selected groups for a connection directory provisioning configuration.
510
+ *
511
+ * @param {string} id - The id of the connection to create or replace synchronized groups for
512
+ * @param {Management.ReplaceSynchronizedGroupsRequestContent} request
513
+ * @param {DirectoryProvisioningClient.RequestOptions} requestOptions - Request-specific configuration.
514
+ *
515
+ * @throws {@link Management.BadRequestError}
516
+ * @throws {@link Management.UnauthorizedError}
517
+ * @throws {@link Management.ForbiddenError}
518
+ * @throws {@link Management.NotFoundError}
519
+ * @throws {@link Management.ConflictError}
520
+ * @throws {@link Management.TooManyRequestsError}
521
+ *
522
+ * @example
523
+ * await client.connections.directoryProvisioning.set("id", {
524
+ * groups: [{
525
+ * id: "id"
526
+ * }]
527
+ * })
528
+ */
529
+ set(id, request, requestOptions) {
530
+ return core.HttpResponsePromise.fromPromise(this.__set(id, request, requestOptions));
531
+ }
532
+ __set(id, request, requestOptions) {
533
+ return __awaiter(this, void 0, void 0, function* () {
534
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
535
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
536
+ let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
537
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
538
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `connections/${core.url.encodePathParam(id)}/directory-provisioning/synchronized-groups`),
539
+ method: "PUT",
540
+ headers: _headers,
541
+ contentType: "application/json",
542
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
543
+ requestType: "json",
544
+ body: request,
545
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
546
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
547
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
548
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
549
+ logging: this._options.logging,
550
+ });
551
+ if (_response.ok) {
552
+ return { data: undefined, rawResponse: _response.rawResponse };
553
+ }
554
+ if (_response.error.reason === "status-code") {
555
+ switch (_response.error.statusCode) {
556
+ case 400:
557
+ throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
558
+ case 401:
559
+ throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
560
+ case 403:
561
+ throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
562
+ case 404:
563
+ throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
564
+ case 409:
565
+ throw new Management.ConflictError(_response.error.body, _response.rawResponse);
566
+ case 429:
567
+ throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
568
+ default:
569
+ throw new errors.ManagementError({
570
+ statusCode: _response.error.statusCode,
571
+ body: _response.error.body,
572
+ rawResponse: _response.rawResponse,
573
+ });
574
+ }
575
+ }
576
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "PUT", "/connections/{id}/directory-provisioning/synchronized-groups");
577
+ });
578
+ }
427
579
  }
@@ -112,7 +112,7 @@ export declare class EventStreamsClient {
112
112
  *
113
113
  * @example
114
114
  * await client.eventStreams.test("id", {
115
- * event_type: "user.created"
115
+ * event_type: "group.created"
116
116
  * })
117
117
  */
118
118
  test(id: string, request: Management.CreateEventStreamTestEventRequestContent, requestOptions?: EventStreamsClient.RequestOptions): core.HttpResponsePromise<Management.CreateEventStreamTestEventResponseContent>;
@@ -365,7 +365,7 @@ export class EventStreamsClient {
365
365
  *
366
366
  * @example
367
367
  * await client.eventStreams.test("id", {
368
- * event_type: "user.created"
368
+ * event_type: "group.created"
369
369
  * })
370
370
  */
371
371
  test(id, request, requestOptions) {
@@ -1870,6 +1870,9 @@ export interface Client {
1870
1870
  par_request_expiry?: (number | null) | undefined;
1871
1871
  token_quota?: Management.TokenQuota | undefined;
1872
1872
  express_configuration?: Management.ExpressConfiguration | undefined;
1873
+ my_organization_configuration?: Management.ClientMyOrganizationResponseConfiguration | undefined;
1874
+ third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum | undefined;
1875
+ redirection_policy?: Management.ClientRedirectionPolicyEnum | undefined;
1873
1876
  /** The identifier of the resource server that this client is linked to. */
1874
1877
  resource_server_identifier?: string | undefined;
1875
1878
  async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration | undefined;
@@ -2444,6 +2447,11 @@ export type ClientExternalMetadataTypeEnum = (typeof ClientExternalMetadataTypeE
2444
2447
  * Optional filter on allow_any_organization.
2445
2448
  */
2446
2449
  export type ClientGrantAllowAnyOrganizationEnum = boolean;
2450
+ /** Used to filter the returned client grants to include only default client grants for the specified group of clients. */
2451
+ export declare const ClientGrantDefaultForEnum: {
2452
+ readonly ThirdPartyClients: "third_party_clients";
2453
+ };
2454
+ export type ClientGrantDefaultForEnum = (typeof ClientGrantDefaultForEnum)[keyof typeof ClientGrantDefaultForEnum];
2447
2455
  /** Controls how organizations may be used with this grant */
2448
2456
  export declare const ClientGrantOrganizationNullableUsageEnum: {
2449
2457
  readonly Deny: "deny";
@@ -2470,6 +2478,8 @@ export interface ClientGrantResponseContent {
2470
2478
  organization_usage?: Management.ClientGrantOrganizationUsageEnum | undefined;
2471
2479
  /** If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations. */
2472
2480
  allow_any_organization?: boolean | undefined;
2481
+ /** Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. */
2482
+ default_for?: Management.ClientGrantDefaultForEnum | undefined;
2473
2483
  /** If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly. */
2474
2484
  is_system?: boolean | undefined;
2475
2485
  subject_type?: Management.ClientGrantSubjectTypeEnum | undefined;
@@ -2536,6 +2546,71 @@ export interface ClientMobileiOs {
2536
2546
  /** Accepts any additional properties */
2537
2547
  [key: string]: any;
2538
2548
  }
2549
+ /** The allowed connection strategy values for the My Organization Configuration. */
2550
+ export declare const ClientMyOrganizationConfigurationAllowedStrategiesEnum: {
2551
+ readonly Pingfederate: "pingfederate";
2552
+ readonly Adfs: "adfs";
2553
+ readonly Waad: "waad";
2554
+ readonly GoogleApps: "google-apps";
2555
+ readonly Okta: "okta";
2556
+ readonly Oidc: "oidc";
2557
+ readonly Samlp: "samlp";
2558
+ };
2559
+ export type ClientMyOrganizationConfigurationAllowedStrategiesEnum = (typeof ClientMyOrganizationConfigurationAllowedStrategiesEnum)[keyof typeof ClientMyOrganizationConfigurationAllowedStrategiesEnum];
2560
+ /** The deletion behavior for this client. */
2561
+ export declare const ClientMyOrganizationDeletionBehaviorEnum: {
2562
+ readonly Allow: "allow";
2563
+ readonly AllowIfEmpty: "allow_if_empty";
2564
+ };
2565
+ export type ClientMyOrganizationDeletionBehaviorEnum = (typeof ClientMyOrganizationDeletionBehaviorEnum)[keyof typeof ClientMyOrganizationDeletionBehaviorEnum];
2566
+ /**
2567
+ * Configuration related to the My Organization Configuration for the client.
2568
+ */
2569
+ export interface ClientMyOrganizationPatchConfiguration {
2570
+ /** The connection profile ID that this client should validate against. */
2571
+ connection_profile_id?: string | undefined;
2572
+ /** The user attribute profile ID that this client should validate against. */
2573
+ user_attribute_profile_id?: string | undefined;
2574
+ /** The allowed connection strategies for the My Organization Configuration. */
2575
+ allowed_strategies: Management.ClientMyOrganizationConfigurationAllowedStrategiesEnum[];
2576
+ connection_deletion_behavior: Management.ClientMyOrganizationDeletionBehaviorEnum;
2577
+ /** The client ID this client uses while creating invitations through My Organization API. */
2578
+ invitation_landing_client_id?: string | undefined;
2579
+ /** List of role IDs allowed when inviting users through the My Organization API. */
2580
+ allowed_roles?: string[] | undefined;
2581
+ }
2582
+ /**
2583
+ * Configuration related to the My Organization Configuration for the client.
2584
+ */
2585
+ export interface ClientMyOrganizationPostConfiguration {
2586
+ /** The connection profile ID that this client should validate against. */
2587
+ connection_profile_id?: string | undefined;
2588
+ /** The user attribute profile ID that this client should validate against. */
2589
+ user_attribute_profile_id?: string | undefined;
2590
+ /** The allowed connection strategies for the My Organization Configuration. */
2591
+ allowed_strategies: Management.ClientMyOrganizationConfigurationAllowedStrategiesEnum[];
2592
+ connection_deletion_behavior: Management.ClientMyOrganizationDeletionBehaviorEnum;
2593
+ /** The client ID this client uses while creating invitations through My Organization API. */
2594
+ invitation_landing_client_id?: string | undefined;
2595
+ /** List of role IDs allowed when inviting users through the My Organization API. */
2596
+ allowed_roles?: string[] | undefined;
2597
+ }
2598
+ /**
2599
+ * Configuration related to the My Organization Configuration for the client.
2600
+ */
2601
+ export interface ClientMyOrganizationResponseConfiguration {
2602
+ /** The connection profile ID that this client should validate against. */
2603
+ connection_profile_id?: string | undefined;
2604
+ /** The user attribute profile ID that this client should validate against. */
2605
+ user_attribute_profile_id?: string | undefined;
2606
+ /** The allowed connection strategies for the My Organization Configuration. */
2607
+ allowed_strategies: Management.ClientMyOrganizationConfigurationAllowedStrategiesEnum[];
2608
+ connection_deletion_behavior: Management.ClientMyOrganizationDeletionBehaviorEnum;
2609
+ /** The client ID this client uses while creating invitations through My Organization API. */
2610
+ invitation_landing_client_id?: string | undefined;
2611
+ /** List of role IDs allowed when inviting users through the My Organization API. */
2612
+ allowed_roles?: string[] | undefined;
2613
+ }
2539
2614
  /**
2540
2615
  * Configuration for OIDC backchannel logout initiators
2541
2616
  */
@@ -2618,6 +2693,12 @@ export declare const ClientOrganizationUsagePatchEnum: {
2618
2693
  readonly Require: "require";
2619
2694
  };
2620
2695
  export type ClientOrganizationUsagePatchEnum = (typeof ClientOrganizationUsagePatchEnum)[keyof typeof ClientOrganizationUsagePatchEnum];
2696
+ /** Controls whether Auth0 redirects users to the application's callback URL on authentication errors or in email verification flows. `open_redirect_protection` shows an error page instead of redirecting, and hides the callback domain from email templates. `allow_always` enables standard redirect behavior. Defaults to `open_redirect_protection` for third-party clients. Only applies when `is_first_party` is `false` and `third_party_security_mode` is `strict`. */
2697
+ export declare const ClientRedirectionPolicyEnum: {
2698
+ readonly AllowAlways: "allow_always";
2699
+ readonly OpenRedirectProtection: "open_redirect_protection";
2700
+ };
2701
+ export type ClientRedirectionPolicyEnum = (typeof ClientRedirectionPolicyEnum)[keyof typeof ClientRedirectionPolicyEnum];
2621
2702
  /**
2622
2703
  * Refresh token configuration
2623
2704
  */
@@ -2701,6 +2782,12 @@ export interface ClientSigningKey {
2701
2782
  * Signing certificates associated with this client.
2702
2783
  */
2703
2784
  export type ClientSigningKeys = (Management.ClientSigningKey[] | null) | undefined;
2785
+ /** Security mode for third-party clients. `strict` enforces enhanced security controls: OAuth 2.1 alignment, explicit API authorization, and a curated set of supported features. `permissive` preserves pre-existing behavior and is only available to tenants with prior third-party client usage. Set on creation and cannot be modified. */
2786
+ export declare const ClientThirdPartySecurityModeEnum: {
2787
+ readonly Strict: "strict";
2788
+ readonly Permissive: "permissive";
2789
+ };
2790
+ export type ClientThirdPartySecurityModeEnum = (typeof ClientThirdPartySecurityModeEnum)[keyof typeof ClientThirdPartySecurityModeEnum];
2704
2791
  /** Defines the requested authentication method for the token endpoint. Can be `none` (public client without a client secret), `client_secret_post` (client uses HTTP POST parameters), or `client_secret_basic` (client uses HTTP Basic). */
2705
2792
  export declare const ClientTokenEndpointAuthMethodEnum: {
2706
2793
  readonly None: "none";
@@ -2729,6 +2816,7 @@ export interface ClientTokenExchangeConfigurationOrNull {
2729
2816
  /** List the enabled token exchange types for this client. */
2730
2817
  allow_any_profile_of_type?: Management.ClientTokenExchangeTypeEnum[] | undefined;
2731
2818
  }
2819
+ /** Token exchange type. `on_behalf_of_token_exchange`: enables On-Behalf-Of token exchange (Generally Available). `custom_authentication`: enables custom token exchange profiles (Early Access, requires entitlement). */
2732
2820
  export declare const ClientTokenExchangeTypeEnum: {
2733
2821
  readonly CustomAuthentication: "custom_authentication";
2734
2822
  readonly OnBehalfOfTokenExchange: "on_behalf_of_token_exchange";
@@ -2750,6 +2838,8 @@ export interface ConnectedAccount {
2750
2838
  created_at: string;
2751
2839
  /** ISO 8601 timestamp when the connected account expires. */
2752
2840
  expires_at?: string | undefined;
2841
+ /** The identifier of the organization associated with the connected account. */
2842
+ organization_id?: string | undefined;
2753
2843
  }
2754
2844
  /** The access type for the connected account. */
2755
2845
  export declare const ConnectedAccountAccessTypeEnum: {
@@ -3163,6 +3253,12 @@ export type ConnectionDomainGoogleApps = string;
3163
3253
  * Domain of the Okta organization (e.g., dev-123456.okta.com). Should be just the domain of the okta server with no scheme or trailing backslash. Discovery runs only when connection.options.oidc_metadata is empty and a domain is provided
3164
3254
  */
3165
3255
  export type ConnectionDomainOkta = string;
3256
+ /** Algorithm used for DPoP proof JWT signing. */
3257
+ export declare const ConnectionDpopSigningAlgEnum: {
3258
+ readonly Es256: "ES256";
3259
+ readonly Ed25519: "Ed25519";
3260
+ };
3261
+ export type ConnectionDpopSigningAlgEnum = (typeof ConnectionDpopSigningAlgEnum)[keyof typeof ConnectionDpopSigningAlgEnum];
3166
3262
  /**
3167
3263
  * JSON array containing a list of the JWS signing algorithms (alg values) supported for DPoP proof JWT signing.
3168
3264
  */
@@ -3976,6 +4072,7 @@ export interface ConnectionOptionsCommonOidc {
3976
4072
  client_secret?: Management.ConnectionClientSecretOidc | undefined;
3977
4073
  connection_settings?: Management.ConnectionConnectionSettings | undefined;
3978
4074
  domain_aliases?: Management.ConnectionDomainAliases | undefined;
4075
+ dpop_signing_alg?: Management.ConnectionDpopSigningAlgEnum | undefined;
3979
4076
  federated_connections_access_tokens?: (Management.ConnectionFederatedConnectionsAccessTokens | null) | undefined;
3980
4077
  icon_url?: Management.ConnectionIconUrl | undefined;
3981
4078
  id_token_signed_response_algs?: ((Management.ConnectionIdTokenSignedResponseAlgs | undefined) | null) | undefined;
@@ -5229,6 +5326,7 @@ export interface ConnectionPropertiesOptions {
5229
5326
  password_no_personal_info?: (Management.ConnectionPasswordNoPersonalInfoOptions | null) | undefined;
5230
5327
  password_dictionary?: (Management.ConnectionPasswordDictionaryOptions | null) | undefined;
5231
5328
  api_enable_users?: boolean | undefined;
5329
+ api_enable_groups?: boolean | undefined;
5232
5330
  basic_profile?: boolean | undefined;
5233
5331
  ext_admin?: boolean | undefined;
5234
5332
  ext_is_suspended?: boolean | undefined;
@@ -6647,6 +6745,8 @@ export interface CreateClientGrantResponseContent {
6647
6745
  organization_usage?: Management.ClientGrantOrganizationUsageEnum | undefined;
6648
6746
  /** If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations. */
6649
6747
  allow_any_organization?: boolean | undefined;
6748
+ /** Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. */
6749
+ default_for?: Management.ClientGrantDefaultForEnum | undefined;
6650
6750
  /** If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly. */
6651
6751
  is_system?: boolean | undefined;
6652
6752
  subject_type?: Management.ClientGrantSubjectTypeEnum | undefined;
@@ -6742,6 +6842,9 @@ export interface CreateClientResponseContent {
6742
6842
  par_request_expiry?: (number | null) | undefined;
6743
6843
  token_quota?: Management.TokenQuota | undefined;
6744
6844
  express_configuration?: Management.ExpressConfiguration | undefined;
6845
+ my_organization_configuration?: Management.ClientMyOrganizationResponseConfiguration | undefined;
6846
+ third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum | undefined;
6847
+ redirection_policy?: Management.ClientRedirectionPolicyEnum | undefined;
6745
6848
  /** The identifier of the resource server that this client is linked to. */
6746
6849
  resource_server_identifier?: string | undefined;
6747
6850
  async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration | undefined;
@@ -9157,24 +9260,28 @@ export interface EventStreamDeliveryAttempt {
9157
9260
  }
9158
9261
  /** Type of event */
9159
9262
  export declare const EventStreamDeliveryEventTypeEnum: {
9160
- readonly UserCreated: "user.created";
9161
- readonly UserDeleted: "user.deleted";
9162
- readonly UserUpdated: "user.updated";
9263
+ readonly GroupCreated: "group.created";
9264
+ readonly GroupDeleted: "group.deleted";
9265
+ readonly GroupMemberAdded: "group.member.added";
9266
+ readonly GroupMemberDeleted: "group.member.deleted";
9267
+ readonly GroupRoleAssigned: "group.role.assigned";
9268
+ readonly GroupRoleDeleted: "group.role.deleted";
9269
+ readonly GroupUpdated: "group.updated";
9270
+ readonly OrganizationConnectionAdded: "organization.connection.added";
9271
+ readonly OrganizationConnectionRemoved: "organization.connection.removed";
9272
+ readonly OrganizationConnectionUpdated: "organization.connection.updated";
9163
9273
  readonly OrganizationCreated: "organization.created";
9164
- readonly OrganizationUpdated: "organization.updated";
9165
9274
  readonly OrganizationDeleted: "organization.deleted";
9275
+ readonly OrganizationGroupRoleAssigned: "organization.group.role.assigned";
9276
+ readonly OrganizationGroupRoleDeleted: "organization.group.role.deleted";
9166
9277
  readonly OrganizationMemberAdded: "organization.member.added";
9167
9278
  readonly OrganizationMemberDeleted: "organization.member.deleted";
9168
9279
  readonly OrganizationMemberRoleAssigned: "organization.member.role.assigned";
9169
9280
  readonly OrganizationMemberRoleDeleted: "organization.member.role.deleted";
9170
- readonly OrganizationConnectionAdded: "organization.connection.added";
9171
- readonly OrganizationConnectionUpdated: "organization.connection.updated";
9172
- readonly OrganizationConnectionRemoved: "organization.connection.removed";
9173
- readonly GroupCreated: "group.created";
9174
- readonly GroupUpdated: "group.updated";
9175
- readonly GroupDeleted: "group.deleted";
9176
- readonly GroupMemberAdded: "group.member.added";
9177
- readonly GroupMemberDeleted: "group.member.deleted";
9281
+ readonly OrganizationUpdated: "organization.updated";
9282
+ readonly UserCreated: "user.created";
9283
+ readonly UserDeleted: "user.deleted";
9284
+ readonly UserUpdated: "user.updated";
9178
9285
  };
9179
9286
  export type EventStreamDeliveryEventTypeEnum = (typeof EventStreamDeliveryEventTypeEnum)[keyof typeof EventStreamDeliveryEventTypeEnum];
9180
9287
  /** Delivery status */
@@ -9256,24 +9363,28 @@ export interface EventStreamEventBridgeResponseContent {
9256
9363
  updated_at?: string | undefined;
9257
9364
  }
9258
9365
  export declare const EventStreamEventTypeEnum: {
9259
- readonly UserCreated: "user.created";
9260
- readonly UserDeleted: "user.deleted";
9261
- readonly UserUpdated: "user.updated";
9366
+ readonly GroupCreated: "group.created";
9367
+ readonly GroupDeleted: "group.deleted";
9368
+ readonly GroupMemberAdded: "group.member.added";
9369
+ readonly GroupMemberDeleted: "group.member.deleted";
9370
+ readonly GroupRoleAssigned: "group.role.assigned";
9371
+ readonly GroupRoleDeleted: "group.role.deleted";
9372
+ readonly GroupUpdated: "group.updated";
9373
+ readonly OrganizationConnectionAdded: "organization.connection.added";
9374
+ readonly OrganizationConnectionRemoved: "organization.connection.removed";
9375
+ readonly OrganizationConnectionUpdated: "organization.connection.updated";
9262
9376
  readonly OrganizationCreated: "organization.created";
9263
- readonly OrganizationUpdated: "organization.updated";
9264
9377
  readonly OrganizationDeleted: "organization.deleted";
9378
+ readonly OrganizationGroupRoleAssigned: "organization.group.role.assigned";
9379
+ readonly OrganizationGroupRoleDeleted: "organization.group.role.deleted";
9265
9380
  readonly OrganizationMemberAdded: "organization.member.added";
9266
9381
  readonly OrganizationMemberDeleted: "organization.member.deleted";
9267
9382
  readonly OrganizationMemberRoleAssigned: "organization.member.role.assigned";
9268
9383
  readonly OrganizationMemberRoleDeleted: "organization.member.role.deleted";
9269
- readonly OrganizationConnectionAdded: "organization.connection.added";
9270
- readonly OrganizationConnectionUpdated: "organization.connection.updated";
9271
- readonly OrganizationConnectionRemoved: "organization.connection.removed";
9272
- readonly GroupCreated: "group.created";
9273
- readonly GroupUpdated: "group.updated";
9274
- readonly GroupDeleted: "group.deleted";
9275
- readonly GroupMemberAdded: "group.member.added";
9276
- readonly GroupMemberDeleted: "group.member.deleted";
9384
+ readonly OrganizationUpdated: "organization.updated";
9385
+ readonly UserCreated: "user.created";
9386
+ readonly UserDeleted: "user.deleted";
9387
+ readonly UserUpdated: "user.updated";
9277
9388
  };
9278
9389
  export type EventStreamEventTypeEnum = (typeof EventStreamEventTypeEnum)[keyof typeof EventStreamEventTypeEnum];
9279
9390
  export type EventStreamResponseContent = Management.EventStreamWebhookResponseContent | Management.EventStreamEventBridgeResponseContent | Management.EventStreamActionResponseContent;
@@ -9291,24 +9402,28 @@ export interface EventStreamSubscription {
9291
9402
  }
9292
9403
  /** The type of event this test event represents. */
9293
9404
  export declare const EventStreamTestEventTypeEnum: {
9294
- readonly UserCreated: "user.created";
9295
- readonly UserDeleted: "user.deleted";
9296
- readonly UserUpdated: "user.updated";
9405
+ readonly GroupCreated: "group.created";
9406
+ readonly GroupDeleted: "group.deleted";
9407
+ readonly GroupMemberAdded: "group.member.added";
9408
+ readonly GroupMemberDeleted: "group.member.deleted";
9409
+ readonly GroupRoleAssigned: "group.role.assigned";
9410
+ readonly GroupRoleDeleted: "group.role.deleted";
9411
+ readonly GroupUpdated: "group.updated";
9412
+ readonly OrganizationConnectionAdded: "organization.connection.added";
9413
+ readonly OrganizationConnectionRemoved: "organization.connection.removed";
9414
+ readonly OrganizationConnectionUpdated: "organization.connection.updated";
9297
9415
  readonly OrganizationCreated: "organization.created";
9298
- readonly OrganizationUpdated: "organization.updated";
9299
9416
  readonly OrganizationDeleted: "organization.deleted";
9417
+ readonly OrganizationGroupRoleAssigned: "organization.group.role.assigned";
9418
+ readonly OrganizationGroupRoleDeleted: "organization.group.role.deleted";
9300
9419
  readonly OrganizationMemberAdded: "organization.member.added";
9301
9420
  readonly OrganizationMemberDeleted: "organization.member.deleted";
9302
9421
  readonly OrganizationMemberRoleAssigned: "organization.member.role.assigned";
9303
9422
  readonly OrganizationMemberRoleDeleted: "organization.member.role.deleted";
9304
- readonly OrganizationConnectionAdded: "organization.connection.added";
9305
- readonly OrganizationConnectionUpdated: "organization.connection.updated";
9306
- readonly OrganizationConnectionRemoved: "organization.connection.removed";
9307
- readonly GroupCreated: "group.created";
9308
- readonly GroupUpdated: "group.updated";
9309
- readonly GroupDeleted: "group.deleted";
9310
- readonly GroupMemberAdded: "group.member.added";
9311
- readonly GroupMemberDeleted: "group.member.deleted";
9423
+ readonly OrganizationUpdated: "organization.updated";
9424
+ readonly UserCreated: "user.created";
9425
+ readonly UserDeleted: "user.deleted";
9426
+ readonly UserUpdated: "user.updated";
9312
9427
  };
9313
9428
  export type EventStreamTestEventTypeEnum = (typeof EventStreamTestEventTypeEnum)[keyof typeof EventStreamTestEventTypeEnum];
9314
9429
  export type EventStreamWebhookAuthorizationResponse = Management.EventStreamWebhookBasicAuth | Management.EventStreamWebhookBearerAuth | Management.EventStreamWebhookCustomHeaderAuth;
@@ -12499,6 +12614,8 @@ export interface GetClientGrantResponseContent {
12499
12614
  organization_usage?: Management.ClientGrantOrganizationUsageEnum | undefined;
12500
12615
  /** If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations. */
12501
12616
  allow_any_organization?: boolean | undefined;
12617
+ /** Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. */
12618
+ default_for?: Management.ClientGrantDefaultForEnum | undefined;
12502
12619
  /** If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly. */
12503
12620
  is_system?: boolean | undefined;
12504
12621
  subject_type?: Management.ClientGrantSubjectTypeEnum | undefined;
@@ -12594,6 +12711,9 @@ export interface GetClientResponseContent {
12594
12711
  par_request_expiry?: (number | null) | undefined;
12595
12712
  token_quota?: Management.TokenQuota | undefined;
12596
12713
  express_configuration?: Management.ExpressConfiguration | undefined;
12714
+ my_organization_configuration?: Management.ClientMyOrganizationResponseConfiguration | undefined;
12715
+ third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum | undefined;
12716
+ redirection_policy?: Management.ClientRedirectionPolicyEnum | undefined;
12597
12717
  /** The identifier of the resource server that this client is linked to. */
12598
12718
  resource_server_identifier?: string | undefined;
12599
12719
  async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration | undefined;
@@ -13506,10 +13626,13 @@ export interface GetTenantSettingsResponseContent {
13506
13626
  */
13507
13627
  skip_non_verifiable_callback_uri_confirmation_prompt?: (boolean | null) | undefined;
13508
13628
  resource_parameter_profile?: Management.TenantSettingsResourceParameterProfile | undefined;
13629
+ /** Whether the authorization server supports retrieving client metadata from a client_id URL. */
13630
+ client_id_metadata_document_supported?: boolean | undefined;
13509
13631
  /** Whether Phone Consolidated Experience is enabled for this tenant. */
13510
13632
  phone_consolidated_experience?: boolean | undefined;
13511
13633
  /** Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. */
13512
13634
  enable_ai_guide?: boolean | undefined;
13635
+ dynamic_client_registration_security_mode?: Management.TenantSettingsDynamicClientRegistrationSecurityMode | undefined;
13513
13636
  }
13514
13637
  export interface GetTokenExchangeProfileResponseContent {
13515
13638
  /** The unique ID of the token exchange profile. */
@@ -14298,6 +14421,12 @@ export interface ListSelfServiceProfilesPaginatedResponseContent {
14298
14421
  total?: number | undefined;
14299
14422
  self_service_profiles?: Management.SelfServiceProfile[] | undefined;
14300
14423
  }
14424
+ export interface ListSynchronizedGroupsResponseContent {
14425
+ /** Array of Google Workspace group ids configured for synchronization. */
14426
+ groups: Management.SynchronizedGroupPayload[];
14427
+ /** The cursor to be used as the "from" query parameter for the next page of results. */
14428
+ next?: string | undefined;
14429
+ }
14301
14430
  export interface ListTokenExchangeProfileResponseContent {
14302
14431
  /** Opaque identifier for use with the <i>from</i> query parameter for the next page of results.<br/>This identifier is valid for 24 hours. */
14303
14432
  next?: string | undefined;
@@ -14983,7 +15112,6 @@ export type NetworkAclActionLogEnum = boolean;
14983
15112
  export type NetworkAclActionRedirectEnum = boolean;
14984
15113
  export interface NetworkAclMatch {
14985
15114
  asns?: number[] | undefined;
14986
- auth0_managed?: string[] | undefined;
14987
15115
  geo_country_codes?: string[] | undefined;
14988
15116
  geo_subdivision_codes?: string[] | undefined;
14989
15117
  ipv4_cidrs?: Management.NetworkAclMatchIpv4Cidr[] | undefined;
@@ -16001,6 +16129,9 @@ export interface RotateClientSecretResponseContent {
16001
16129
  par_request_expiry?: (number | null) | undefined;
16002
16130
  token_quota?: Management.TokenQuota | undefined;
16003
16131
  express_configuration?: Management.ExpressConfiguration | undefined;
16132
+ my_organization_configuration?: Management.ClientMyOrganizationResponseConfiguration | undefined;
16133
+ third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum | undefined;
16134
+ redirection_policy?: Management.ClientRedirectionPolicyEnum | undefined;
16004
16135
  /** The identifier of the resource server that this client is linked to. */
16005
16136
  resource_server_identifier?: string | undefined;
16006
16137
  async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration | undefined;
@@ -16840,8 +16971,13 @@ export interface SuspiciousIpThrottlingStage {
16840
16971
  export declare const SynchronizeGroupsEnum: {
16841
16972
  readonly All: "all";
16842
16973
  readonly Off: "off";
16974
+ readonly Selected: "selected";
16843
16975
  };
16844
16976
  export type SynchronizeGroupsEnum = (typeof SynchronizeGroupsEnum)[keyof typeof SynchronizeGroupsEnum];
16977
+ export interface SynchronizedGroupPayload {
16978
+ /** Google Workspace Directory group ID. */
16979
+ id: string;
16980
+ }
16845
16981
  /**
16846
16982
  * Settings related to OIDC RP-initiated Logout
16847
16983
  */
@@ -16863,6 +16999,12 @@ export declare const TenantSettingsDeviceFlowCharset: {
16863
16999
  readonly Digits: "digits";
16864
17000
  };
16865
17001
  export type TenantSettingsDeviceFlowCharset = (typeof TenantSettingsDeviceFlowCharset)[keyof typeof TenantSettingsDeviceFlowCharset];
17002
+ /** Sets the `third_party_security_mode` assigned to clients created via Dynamic Client Registration. `strict` applies enhanced security controls. `permissive` preserves pre-existing behavior and is only available to tenants with prior third-party client usage. */
17003
+ export declare const TenantSettingsDynamicClientRegistrationSecurityMode: {
17004
+ readonly Strict: "strict";
17005
+ readonly Permissive: "permissive";
17006
+ };
17007
+ export type TenantSettingsDynamicClientRegistrationSecurityMode = (typeof TenantSettingsDynamicClientRegistrationSecurityMode)[keyof typeof TenantSettingsDynamicClientRegistrationSecurityMode];
16866
17008
  /**
16867
17009
  * Error page customization.
16868
17010
  */
@@ -17344,6 +17486,8 @@ export interface UpdateClientGrantResponseContent {
17344
17486
  organization_usage?: Management.ClientGrantOrganizationUsageEnum | undefined;
17345
17487
  /** If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations. */
17346
17488
  allow_any_organization?: boolean | undefined;
17489
+ /** Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. */
17490
+ default_for?: Management.ClientGrantDefaultForEnum | undefined;
17347
17491
  /** If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly. */
17348
17492
  is_system?: boolean | undefined;
17349
17493
  subject_type?: Management.ClientGrantSubjectTypeEnum | undefined;
@@ -17439,6 +17583,9 @@ export interface UpdateClientResponseContent {
17439
17583
  par_request_expiry?: (number | null) | undefined;
17440
17584
  token_quota?: Management.TokenQuota | undefined;
17441
17585
  express_configuration?: Management.ExpressConfiguration | undefined;
17586
+ my_organization_configuration?: Management.ClientMyOrganizationResponseConfiguration | undefined;
17587
+ third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum | undefined;
17588
+ redirection_policy?: Management.ClientRedirectionPolicyEnum | undefined;
17442
17589
  /** The identifier of the resource server that this client is linked to. */
17443
17590
  resource_server_identifier?: string | undefined;
17444
17591
  async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration | undefined;
@@ -17478,6 +17625,7 @@ export interface UpdateConnectionOptions {
17478
17625
  password_no_personal_info?: (Management.ConnectionPasswordNoPersonalInfoOptions | null) | undefined;
17479
17626
  password_dictionary?: (Management.ConnectionPasswordDictionaryOptions | null) | undefined;
17480
17627
  api_enable_users?: boolean | undefined;
17628
+ api_enable_groups?: boolean | undefined;
17481
17629
  basic_profile?: boolean | undefined;
17482
17630
  ext_admin?: boolean | undefined;
17483
17631
  ext_is_suspended?: boolean | undefined;
@@ -18367,10 +18515,13 @@ export interface UpdateTenantSettingsResponseContent {
18367
18515
  */
18368
18516
  skip_non_verifiable_callback_uri_confirmation_prompt?: (boolean | null) | undefined;
18369
18517
  resource_parameter_profile?: Management.TenantSettingsResourceParameterProfile | undefined;
18518
+ /** Whether the authorization server supports retrieving client metadata from a client_id URL. */
18519
+ client_id_metadata_document_supported?: boolean | undefined;
18370
18520
  /** Whether Phone Consolidated Experience is enabled for this tenant. */
18371
18521
  phone_consolidated_experience?: boolean | undefined;
18372
18522
  /** Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. */
18373
18523
  enable_ai_guide?: boolean | undefined;
18524
+ dynamic_client_registration_security_mode?: Management.TenantSettingsDynamicClientRegistrationSecurityMode | undefined;
18374
18525
  }
18375
18526
  export interface UpdateTokenQuota {
18376
18527
  client_credentials: Management.TokenQuotaClientCredentials;