Skip to content

Commit 850eb01

Browse files
feat!: Custom Domains pagination, Directory Provisioning API, and Guardian provider updates (#1278)
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 11d2e76 commit 850eb01

File tree

24 files changed

+4376
-788
lines changed

24 files changed

+4376
-788
lines changed

reference.md

Lines changed: 794 additions & 215 deletions
Large diffs are not rendered by default.

src/management/api/requests/requests.ts

Lines changed: 90 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ export interface CreateClientRequestContent {
289289
* See https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation for more information.
290290
*/
291291
skip_non_verifiable_callback_uri_confirmation_prompt?: boolean;
292+
token_exchange?: Management.ClientTokenExchangeConfiguration;
292293
/** Specifies how long, in seconds, a Pushed Authorization Request URI remains valid */
293294
par_request_expiry?: number | null;
294295
token_quota?: Management.CreateTokenQuota;
@@ -393,6 +394,7 @@ export interface UpdateClientRequestContent {
393394
* See https://auth0.com/docs/secure/security-guidance/measures-against-app-impersonation for more information.
394395
*/
395396
skip_non_verifiable_callback_uri_confirmation_prompt?: boolean | null;
397+
token_exchange?: Management.ClientTokenExchangeConfigurationOrNull | null;
396398
/** Specifies how long, in seconds, a Pushed Authorization Request URI remains valid */
397399
par_request_expiry?: number | null;
398400
express_configuration?: Management.ExpressConfigurationOrNull | null;
@@ -528,6 +530,32 @@ export interface UpdateConnectionRequestContent {
528530
connected_accounts?: Management.ConnectionConnectedAccountsPurpose;
529531
}
530532

533+
/**
534+
* @example
535+
* {
536+
* take: 1,
537+
* from: "from",
538+
* q: "q",
539+
* fields: "fields",
540+
* include_fields: true,
541+
* sort: "sort"
542+
* }
543+
*/
544+
export interface ListCustomDomainsRequestParameters {
545+
/** Number of results per page. Defaults to 50. */
546+
take?: number | null;
547+
/** Optional Id from which to start selection. */
548+
from?: string | null;
549+
/** Query in <a href ="http://www.lucenetutorial.com/lucene-query-syntax.html">Lucene query string syntax</a>. */
550+
q?: string | null;
551+
/** Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. */
552+
fields?: string | null;
553+
/** Whether specified fields are to be included (true) or excluded (false). */
554+
include_fields?: boolean | null;
555+
/** Field to sort by. Only <code>domain:1</code> (ascending order by domain) is supported at this time. */
556+
sort?: string | null;
557+
}
558+
531559
/**
532560
* @example
533561
* {
@@ -542,6 +570,7 @@ export interface CreateCustomDomainRequestContent {
542570
verification_method?: Management.CustomDomainVerificationMethodEnum;
543571
tls_policy?: Management.CustomDomainTlsPolicyEnum;
544572
custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
573+
domain_metadata?: Management.DomainMetadata;
545574
}
546575

547576
/**
@@ -551,6 +580,7 @@ export interface CreateCustomDomainRequestContent {
551580
export interface UpdateCustomDomainRequestContent {
552581
tls_policy?: Management.CustomDomainTlsPolicyEnum;
553582
custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
583+
domain_metadata?: Management.DomainMetadata;
554584
}
555585

556586
/**
@@ -1476,6 +1506,7 @@ export interface ChangePasswordTicketRequestContent {
14761506
mark_email_as_verified?: boolean;
14771507
/** Whether to include the email address as part of the returnUrl in the reset_email (true), or not (false). */
14781508
includeEmailInRedirect?: boolean;
1509+
identity?: Management.ChangePasswordTicketIdentity;
14791510
}
14801511

14811512
/**
@@ -2518,6 +2549,58 @@ export interface SetGuardianFactorPhoneTemplatesRequestContent {
25182549
verification_message: string;
25192550
}
25202551

2552+
/**
2553+
* @example
2554+
* {}
2555+
*/
2556+
export interface SetGuardianFactorsProviderPushNotificationApnsRequestContent {
2557+
sandbox?: boolean;
2558+
bundle_id?: string | null;
2559+
p12?: string | null;
2560+
}
2561+
2562+
/**
2563+
* @example
2564+
* {}
2565+
*/
2566+
export interface UpdateGuardianFactorsProviderPushNotificationApnsRequestContent {
2567+
sandbox?: boolean;
2568+
bundle_id?: string | null;
2569+
p12?: string | null;
2570+
}
2571+
2572+
/**
2573+
* @example
2574+
* {}
2575+
*/
2576+
export interface SetGuardianFactorsProviderPushNotificationFcmRequestContent {
2577+
server_key?: string | null;
2578+
}
2579+
2580+
/**
2581+
* @example
2582+
* {}
2583+
*/
2584+
export interface UpdateGuardianFactorsProviderPushNotificationFcmRequestContent {
2585+
server_key?: string | null;
2586+
}
2587+
2588+
/**
2589+
* @example
2590+
* {}
2591+
*/
2592+
export interface SetGuardianFactorsProviderPushNotificationFcmv1RequestContent {
2593+
server_credentials?: string | null;
2594+
}
2595+
2596+
/**
2597+
* @example
2598+
* {}
2599+
*/
2600+
export interface UpdateGuardianFactorsProviderPushNotificationFcmv1RequestContent {
2601+
server_credentials?: string | null;
2602+
}
2603+
25212604
/**
25222605
* @example
25232606
* {}
@@ -2771,6 +2854,8 @@ export interface CreateOrganizationDiscoveryDomainRequestContent {
27712854
/** The domain name to associate with the organization e.g. acme.com. */
27722855
domain: string;
27732856
status?: Management.OrganizationDiscoveryDomainStatus;
2857+
/** Indicates whether this discovery domain should be used for organization discovery. */
2858+
use_for_organization_discovery?: boolean;
27742859
}
27752860

27762861
/**
@@ -2779,6 +2864,8 @@ export interface CreateOrganizationDiscoveryDomainRequestContent {
27792864
*/
27802865
export interface UpdateOrganizationDiscoveryDomainRequestContent {
27812866
status?: Management.OrganizationDiscoveryDomainStatus;
2867+
/** Indicates whether this discovery domain should be used for organization discovery. */
2868+
use_for_organization_discovery?: boolean;
27822869
}
27832870

27842871
/**
@@ -3029,15 +3116,14 @@ export interface BulkUpdateAculRequestContent {
30293116
*/
30303117
export interface UpdateAculRequestContent {
30313118
rendering_mode?: Management.AculRenderingModeEnum;
3032-
/** Context values to make available */
3033-
context_configuration?: string[];
3119+
context_configuration?: Management.AculContextConfiguration;
30343120
/** Override Universal Login default head tags */
30353121
default_head_tags_disabled?: boolean | null;
3122+
/** Use page template with ACUL */
3123+
use_page_template?: boolean | null;
30363124
/** An array of head tags */
30373125
head_tags?: Management.AculHeadTag[];
30383126
filters?: Management.AculFilters | null;
3039-
/** Use page template with ACUL */
3040-
use_page_template?: boolean | null;
30413127
}
30423128

30433129
/**

src/management/api/resources/connections/client/Client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { mergeHeaders } from "../../../../core/headers.js";
99
import * as errors from "../../../../errors/index.js";
1010
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
1111
import { ClientsClient } from "../resources/clients/client/Client.js";
12+
import { DirectoryProvisioningClient } from "../resources/directoryProvisioning/client/Client.js";
1213
import { KeysClient } from "../resources/keys/client/Client.js";
1314
import { ScimConfigurationClient } from "../resources/scimConfiguration/client/Client.js";
1415
import { UsersClient } from "../resources/users/client/Client.js";
@@ -22,6 +23,7 @@ export declare namespace ConnectionsClient {
2223
export class ConnectionsClient {
2324
protected readonly _options: NormalizedClientOptionsWithAuth<ConnectionsClient.Options>;
2425
protected _clients: ClientsClient | undefined;
26+
protected _directoryProvisioning: DirectoryProvisioningClient | undefined;
2527
protected _keys: KeysClient | undefined;
2628
protected _scimConfiguration: ScimConfigurationClient | undefined;
2729
protected _users: UsersClient | undefined;
@@ -34,6 +36,10 @@ export class ConnectionsClient {
3436
return (this._clients ??= new ClientsClient(this._options));
3537
}
3638

39+
public get directoryProvisioning(): DirectoryProvisioningClient {
40+
return (this._directoryProvisioning ??= new DirectoryProvisioningClient(this._options));
41+
}
42+
3743
public get keys(): KeysClient {
3844
return (this._keys ??= new KeysClient(this._options));
3945
}

0 commit comments

Comments
 (0)