Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/management/api/requests/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ export interface CreateClientRequestContent {
/** Comma-separated list of URLs whitelisted for Auth0 to use as a callback to the client after authentication. */
callbacks?: string[];
oidc_logout?: Management.ClientOidcBackchannelLogoutSettings;
/** Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout) */
oidc_backchannel_logout?: Management.ClientOidcBackchannelLogoutSettings;
session_transfer?: Management.ClientSessionTransferConfiguration | null;
/** Comma-separated list of URLs allowed to make requests from JavaScript to Auth0 API (typically used with CORS). By default, all your callback URLs will be allowed. This field allows you to enter other origins if necessary. You can also use wildcards at the subdomain level (e.g., https://*.contoso.com). Query strings and hash information are not taken into account when validating these URLs. */
Expand Down Expand Up @@ -337,6 +338,7 @@ export interface UpdateClientRequestContent {
/** A set of URLs that are valid to call back from Auth0 when authenticating users */
callbacks?: string[];
oidc_logout?: Management.ClientOidcBackchannelLogoutSettings;
/** Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout) */
oidc_backchannel_logout?: Management.ClientOidcBackchannelLogoutSettings;
session_transfer?: Management.ClientSessionTransferConfiguration | null;
/** A set of URLs that represents valid origins for CORS */
Expand All @@ -351,7 +353,9 @@ export interface UpdateClientRequestContent {
allowed_clients?: string[];
/** URLs that are valid to redirect to after logout from Auth0 */
allowed_logout_urls?: string[];
/** An object that holds settings related to how JWTs are created */
jwt_configuration?: Management.ClientJwtConfiguration;
/** The client's encryption key */
encryption_key?: Management.ClientEncryptionKey | null;
/** <code>true</code> to use Auth0 instead of the IdP to do Single Sign On, <code>false</code> otherwise (default: <code>false</code>) */
sso?: boolean;
Expand Down Expand Up @@ -379,6 +383,7 @@ export interface UpdateClientRequestContent {
form_template?: string;
addons?: Management.ClientAddons;
client_metadata?: Management.ClientMetadata;
/** Configuration related to native mobile apps */
mobile?: Management.ClientMobile;
/** Initiate login uri, must be https */
initiate_login_uri?: string;
Expand Down Expand Up @@ -582,6 +587,7 @@ export interface CreateCustomDomainRequestContent {
* {}
*/
export interface UpdateCustomDomainRequestContent {
/** recommended includes TLS 1.2 */
tls_policy?: Management.CustomDomainTlsPolicyEnum;
custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
domain_metadata?: Management.DomainMetadata;
Expand Down Expand Up @@ -983,6 +989,7 @@ export interface CreateHookRequestContent {
/** Whether this hook will be executed (true) or ignored (false). */
enabled?: boolean;
dependencies?: Management.HookDependencies;
/** Execution stage of this rule. Can be `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, or `send-phone-message`. */
triggerId: Management.HookTriggerIdEnum;
}

Expand Down Expand Up @@ -1198,6 +1205,7 @@ export interface UpdateSettingsRequestContent {
* {}
*/
export interface UpdateRefreshTokenRequestContent {
/** Metadata associated with the refresh token. Pass null or {} to remove all metadata. */
refresh_token_metadata?: (Management.RefreshTokenMetadata | undefined) | null;
}

Expand Down Expand Up @@ -1480,6 +1488,7 @@ export interface UpdateSelfServiceProfileRequestContent {
* {}
*/
export interface UpdateSessionRequestContent {
/** Metadata associated with the session. Pass null or {} to remove all session_metadata. */
session_metadata?: (Management.SessionMetadata | undefined) | null;
}

Expand Down Expand Up @@ -1813,7 +1822,9 @@ export interface UpdateUserRequestContent {
phone_number?: string | null;
/** Whether this phone number has been verified (true) or not (false). */
phone_verified?: boolean;
/** User metadata to which this user has read/write access. */
user_metadata?: Management.UserMetadata;
/** User metadata to which this user has read-only access. */
app_metadata?: Management.AppMetadata;
/** Given name/first name/forename of this user. */
given_name?: string | null;
Expand Down Expand Up @@ -2322,6 +2333,7 @@ export interface UpdatePhoneTemplateRequestContent {
export interface CreatePhoneTemplateTestNotificationRequestContent {
/** Destination of the testing phone notification */
to: string;
/** Medium to use to send the notification */
delivery_method?: Management.PhoneProviderDeliveryMethodEnum;
}

Expand Down Expand Up @@ -3276,6 +3288,7 @@ export interface BulkUpdateAculRequestContent {
* {}
*/
export interface UpdateAculRequestContent {
/** Rendering mode */
rendering_mode?: Management.AculRenderingModeEnum;
context_configuration?: Management.AculContextConfiguration;
/** Override Universal Login default head tags */
Expand Down Expand Up @@ -3419,6 +3432,7 @@ export interface GetTenantSettingsRequestParameters {
*/
export interface UpdateTenantSettingsRequestContent {
change_password?: Management.TenantSettingsPasswordPage | null;
/** Device Flow configuration. */
device_flow?: Management.TenantSettingsDeviceFlow | null;
guardian_mfa_page?: Management.TenantSettingsGuardianPage | null;
/** Default audience for API Authorization. */
Expand Down Expand Up @@ -3530,6 +3544,7 @@ export interface CreateUserAuthenticationMethodRequestContent {
export interface UpdateUserAuthenticationMethodRequestContent {
/** A human-readable label to identify the authentication method. */
name?: string;
/** Preferred phone authentication method */
preferred_authentication_method?: Management.PreferredAuthenticationMethodEnum;
}

Expand Down Expand Up @@ -3572,6 +3587,7 @@ export interface GetUserGroupsRequestParameters {
* {}
*/
export interface LinkUserIdentityRequestContent {
/** Identity provider of the secondary user account being linked. */
provider?: Management.UserIdentityProviderEnum;
/** connection_id of the secondary user account being linked when more than one `auth0` database provider exists. */
connection_id?: string;
Expand Down
16 changes: 16 additions & 0 deletions src/management/api/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,7 @@ export type AculClientMetadata = Record<string, unknown>;
export interface AculConfigsItem {
prompt: Management.PromptGroupNameEnum;
screen: Management.ScreenGroupNameEnum;
/** Rendering mode */
rendering_mode?: Management.AculRenderingModeEnum | undefined;
context_configuration?: Management.AculContextConfiguration | undefined;
/** Override Universal Login default head tags */
Expand Down Expand Up @@ -9703,6 +9704,7 @@ export interface CreateUserAuthenticationMethodResponseContent {
/** Applies to email authentication methods only. The email address used to send verification messages. */
email?: string | undefined;
authentication_methods?: Management.UserAuthenticationMethodProperties[] | undefined;
/** Preferred phone authentication method */
preferred_authentication_method?: Management.PreferredAuthenticationMethodEnum | undefined;
/** Applies to webauthn authenticators only. The id of the credential. */
key_id?: string | undefined;
Expand Down Expand Up @@ -10115,6 +10117,7 @@ export interface DeviceCredential {
device_name?: string | undefined;
/** Unique identifier for the device. NOTE: This field is generally not populated for refresh_tokens and rotating_refresh_tokens */
device_id?: string | undefined;
/** Type of credential. Can be `public_key`, `refresh_token`, or `rotating_refresh_token`. */
type?: Management.DeviceCredentialTypeEnum | undefined;
/** user_id this credential is associated with. */
user_id?: string | undefined;
Expand Down Expand Up @@ -14385,6 +14388,7 @@ export interface GetAculResponseContent {
prompt?: string | undefined;
/** Name of the screen */
screen?: string | undefined;
/** Rendering mode */
rendering_mode?: Management.AculRenderingModeEnum | undefined;
context_configuration?: Management.AculContextConfiguration | undefined;
/** Override Universal Login default head tags */
Expand Down Expand Up @@ -16194,6 +16198,7 @@ export interface ListAculsResponseContentItem {
prompt?: string | undefined;
/** Name of the screen */
screen?: string | undefined;
/** Rendering mode */
rendering_mode?: Management.AculRenderingModeEnum | undefined;
context_configuration?: Management.AculContextConfiguration | undefined;
/** Override Universal Login default head tags */
Expand Down Expand Up @@ -17241,6 +17246,7 @@ export type NetworkAclActionRedirectEnum = boolean;

export interface NetworkAclMatch {
asns?: number[] | undefined;
auth0_managed?: string[] | undefined;
geo_country_codes?: string[] | undefined;
geo_subdivision_codes?: string[] | undefined;
ipv4_cidrs?: Management.NetworkAclMatchIpv4Cidr[] | undefined;
Expand Down Expand Up @@ -18652,6 +18658,11 @@ export const SelfServiceProfileSsoTicketProvisioningScopeEnum = {
PutUsers: "put:users",
PatchUsers: "patch:users",
DeleteUsers: "delete:users",
GetGroups: "get:groups",
PostGroups: "post:groups",
PutGroups: "put:groups",
PatchGroups: "patch:groups",
DeleteGroups: "delete:groups",
} as const;
export type SelfServiceProfileSsoTicketProvisioningScopeEnum =
(typeof SelfServiceProfileSsoTicketProvisioningScopeEnum)[keyof typeof SelfServiceProfileSsoTicketProvisioningScopeEnum];
Expand Down Expand Up @@ -18958,6 +18969,7 @@ export interface SetUserAuthenticationMethodResponseContent {
/** Applies to email authentication methods only. The email address used to send verification messages. */
email?: string | undefined;
authentication_methods?: Management.UserAuthenticationMethodProperties[] | undefined;
/** Preferred phone authentication method */
preferred_authentication_method?: Management.PreferredAuthenticationMethodEnum | undefined;
/** Applies to webauthn authenticators only. The id of the credential. */
key_id?: string | undefined;
Expand Down Expand Up @@ -19572,6 +19584,7 @@ export interface UpdateActionResponseContent {
}

export interface UpdateAculResponseContent {
/** Rendering mode */
rendering_mode?: Management.AculRenderingModeEnum | undefined;
context_configuration?: Management.AculContextConfiguration | undefined;
/** Override Universal Login default head tags */
Expand Down Expand Up @@ -21025,6 +21038,7 @@ export interface UserAttributeProfileStrategyOverrides {
}

export interface UserAttributeProfileStrategyOverridesMapping {
/** OIDC mapping override for this strategy */
oidc_mapping?: Management.UserAttributeProfileOidcMapping | undefined;
saml_mapping?: Management.UserAttributeProfileSamlMapping | undefined;
/** SCIM mapping override for this strategy */
Expand Down Expand Up @@ -21079,6 +21093,7 @@ export interface UserAttributeProfileUserAttributeAdditionalProperties {
/** Auth0 mapping for this attribute */
auth0_mapping: string;
oidc_mapping?: Management.UserAttributeProfileOidcMapping | undefined;
/** SAML mapping for this attribute */
saml_mapping?: Management.UserAttributeProfileSamlMapping | undefined;
/** SCIM mapping for this attribute */
scim_mapping?: string | undefined;
Expand Down Expand Up @@ -21244,6 +21259,7 @@ export type UserId = string | number;
export interface UserIdentity {
/** Connection name of this identity. */
connection: string;
/** user_id of this identity. */
user_id: Management.UserId;
/** Type of identity provider. */
provider: string;
Expand Down
Loading
Loading