UNPKG

auth0

Version:

Auth0 Node.js SDK for the Management API v2.

1,341 lines 641 kB
import * as Management from "../index.js"; export declare const OauthScope: { /** * Read Actions */ readonly ReadActions: "read:actions"; /** * Create Actions */ readonly CreateActions: "create:actions"; /** * Delete Actions */ readonly DeleteActions: "delete:actions"; /** * Update Actions */ readonly UpdateActions: "update:actions"; /** * Read Anomaly Blocks */ readonly ReadAnomalyBlocks: "read:anomaly_blocks"; /** * Delete Anomaly Blocks */ readonly DeleteAnomalyBlocks: "delete:anomaly_blocks"; /** * Read Shields */ readonly ReadShields: "read:shields"; /** * Create Shields */ readonly CreateShields: "create:shields"; /** * Update Shields */ readonly UpdateShields: "update:shields"; /** * Read Attack Protection */ readonly ReadAttackProtection: "read:attack_protection"; /** * Update Attack Protection */ readonly UpdateAttackProtection: "update:attack_protection"; /** * Read Branding */ readonly ReadBranding: "read:branding"; /** * Update Branding */ readonly UpdateBranding: "update:branding"; /** * Read Phone Providers */ readonly ReadPhoneProviders: "read:phone_providers"; /** * Create Phone Providers */ readonly CreatePhoneProviders: "create:phone_providers"; /** * Update Phone Providers */ readonly UpdatePhoneProviders: "update:phone_providers"; /** * Delete Phone Providers */ readonly DeletePhoneProviders: "delete:phone_providers"; /** * Read Phone Templates */ readonly ReadPhoneTemplates: "read:phone_templates"; /** * Create Phone Templates */ readonly CreatePhoneTemplates: "create:phone_templates"; /** * Update Phone Templates */ readonly UpdatePhoneTemplates: "update:phone_templates"; /** * Delete Phone Templates */ readonly DeletePhoneTemplates: "delete:phone_templates"; /** * Delete Branding */ readonly DeleteBranding: "delete:branding"; /** * Read Client Grants */ readonly ReadClientGrants: "read:client_grants"; /** * Create Client Grants */ readonly CreateClientGrants: "create:client_grants"; /** * Update Client Grants */ readonly UpdateClientGrants: "update:client_grants"; /** * Delete Client Grants */ readonly DeleteClientGrants: "delete:client_grants"; /** * Read Organization Client Grants */ readonly ReadOrganizationClientGrants: "read:organization_client_grants"; /** * Read Clients */ readonly ReadClients: "read:clients"; /** * Read Client Keys */ readonly ReadClientKeys: "read:client_keys"; /** * Read Client Credentials */ readonly ReadClientCredentials: "read:client_credentials"; /** * Read Client Summary */ readonly ReadClientSummary: "read:client_summary"; /** * Create Clients */ readonly CreateClients: "create:clients"; /** * Create Client Credentials */ readonly CreateClientCredentials: "create:client_credentials"; /** * Update Client Credentials */ readonly UpdateClientCredentials: "update:client_credentials"; /** * Delete Client Credentials */ readonly DeleteClientCredentials: "delete:client_credentials"; /** * Update Clients */ readonly UpdateClients: "update:clients"; /** * Update Client Keys */ readonly UpdateClientKeys: "update:client_keys"; /** * Update Client Token Vault Privileged Access */ readonly UpdateClientTokenVaultPrivilegedAccess: "update:client_token_vault_privileged_access"; /** * Delete Clients */ readonly DeleteClients: "delete:clients"; /** * Read Connections */ readonly ReadConnections: "read:connections"; /** * Read Connection Profiles */ readonly ReadConnectionProfiles: "read:connection_profiles"; /** * Create Connection Profiles */ readonly CreateConnectionProfiles: "create:connection_profiles"; /** * Update Connection Profiles */ readonly UpdateConnectionProfiles: "update:connection_profiles"; /** * Delete Connection Profiles */ readonly DeleteConnectionProfiles: "delete:connection_profiles"; /** * Create Connections */ readonly CreateConnections: "create:connections"; /** * Update Connections */ readonly UpdateConnections: "update:connections"; /** * Delete Connections */ readonly DeleteConnections: "delete:connections"; /** * Read Directory Provisionings */ readonly ReadDirectoryProvisionings: "read:directory_provisionings"; /** * Create Directory Provisionings */ readonly CreateDirectoryProvisionings: "create:directory_provisionings"; /** * Update Directory Provisionings */ readonly UpdateDirectoryProvisionings: "update:directory_provisionings"; /** * Delete Directory Provisionings */ readonly DeleteDirectoryProvisionings: "delete:directory_provisionings"; /** * Read Users */ readonly ReadUsers: "read:users"; /** * Read Connections Keys */ readonly ReadConnectionsKeys: "read:connections_keys"; /** * Create Connections Keys */ readonly CreateConnectionsKeys: "create:connections_keys"; /** * Update Connections Keys */ readonly UpdateConnectionsKeys: "update:connections_keys"; /** * Read Scim Config */ readonly ReadScimConfig: "read:scim_config"; /** * Create Scim Config */ readonly CreateScimConfig: "create:scim_config"; /** * Update Scim Config */ readonly UpdateScimConfig: "update:scim_config"; /** * Delete Scim Config */ readonly DeleteScimConfig: "delete:scim_config"; /** * Read Scim Token */ readonly ReadScimToken: "read:scim_token"; /** * Create Scim Token */ readonly CreateScimToken: "create:scim_token"; /** * Delete Scim Token */ readonly DeleteScimToken: "delete:scim_token"; /** * Delete Users */ readonly DeleteUsers: "delete:users"; /** * Read Custom Domains */ readonly ReadCustomDomains: "read:custom_domains"; /** * Create Custom Domains */ readonly CreateCustomDomains: "create:custom_domains"; /** * Update Custom Domains */ readonly UpdateCustomDomains: "update:custom_domains"; /** * Delete Custom Domains */ readonly DeleteCustomDomains: "delete:custom_domains"; /** * Read Device Credentials */ readonly ReadDeviceCredentials: "read:device_credentials"; /** * Create Current User Device Credentials */ readonly CreateCurrentUserDeviceCredentials: "create:current_user_device_credentials"; /** * Delete Device Credentials */ readonly DeleteDeviceCredentials: "delete:device_credentials"; /** * Delete Current User Device Credentials */ readonly DeleteCurrentUserDeviceCredentials: "delete:current_user_device_credentials"; /** * Update Device Codes */ readonly UpdateDeviceCodes: "update:device_codes"; /** * Read Device Codes */ readonly ReadDeviceCodes: "read:device_codes"; /** * Create Test Email Dispatch */ readonly CreateTestEmailDispatch: "create:test_email_dispatch"; /** * Create Email Templates */ readonly CreateEmailTemplates: "create:email_templates"; /** * Read Email Templates */ readonly ReadEmailTemplates: "read:email_templates"; /** * Update Email Templates */ readonly UpdateEmailTemplates: "update:email_templates"; /** * Read Email Provider */ readonly ReadEmailProvider: "read:email_provider"; /** * Create Email Provider */ readonly CreateEmailProvider: "create:email_provider"; /** * Update Email Provider */ readonly UpdateEmailProvider: "update:email_provider"; /** * Delete Email Provider */ readonly DeleteEmailProvider: "delete:email_provider"; /** * Read Entitlements */ readonly ReadEntitlements: "read:entitlements"; /** * Read Event Streams */ readonly ReadEventStreams: "read:event_streams"; /** * Create Event Streams */ readonly CreateEventStreams: "create:event_streams"; /** * Update Event Streams */ readonly UpdateEventStreams: "update:event_streams"; /** * Delete Event Streams */ readonly DeleteEventStreams: "delete:event_streams"; /** * Read Event Deliveries */ readonly ReadEventDeliveries: "read:event_deliveries"; /** * Update Event Deliveries */ readonly UpdateEventDeliveries: "update:event_deliveries"; /** * Read Events */ readonly ReadEvents: "read:events"; /** * Read Extensions */ readonly ReadExtensions: "read:extensions"; /** * Read Flows */ readonly ReadFlows: "read:flows"; /** * Create Flows */ readonly CreateFlows: "create:flows"; /** * Read Flows Vault Connections */ readonly ReadFlowsVaultConnections: "read:flows_vault_connections"; /** * Create Flows Vault Connections */ readonly CreateFlowsVaultConnections: "create:flows_vault_connections"; /** * Update Flows Vault Connections */ readonly UpdateFlowsVaultConnections: "update:flows_vault_connections"; /** * Delete Flows Vault Connections */ readonly DeleteFlowsVaultConnections: "delete:flows_vault_connections"; /** * Read Flows Executions */ readonly ReadFlowsExecutions: "read:flows_executions"; /** * Delete Flows Executions */ readonly DeleteFlowsExecutions: "delete:flows_executions"; /** * Update Flows */ readonly UpdateFlows: "update:flows"; /** * Delete Flows */ readonly DeleteFlows: "delete:flows"; /** * Read Forms */ readonly ReadForms: "read:forms"; /** * Create Forms */ readonly CreateForms: "create:forms"; /** * Update Forms */ readonly UpdateForms: "update:forms"; /** * Delete Forms */ readonly DeleteForms: "delete:forms"; /** * Read Grants */ readonly ReadGrants: "read:grants"; /** * Delete Grants */ readonly DeleteGrants: "delete:grants"; /** * Read Groups */ readonly ReadGroups: "read:groups"; /** * Read Group Members */ readonly ReadGroupMembers: "read:group_members"; /** * Create Guardian Enrollment Tickets */ readonly CreateGuardianEnrollmentTickets: "create:guardian_enrollment_tickets"; /** * Read Guardian Enrollments */ readonly ReadGuardianEnrollments: "read:guardian_enrollments"; /** * Delete Guardian Enrollments */ readonly DeleteGuardianEnrollments: "delete:guardian_enrollments"; /** * Read Guardian Factors */ readonly ReadGuardianFactors: "read:guardian_factors"; /** * Update Guardian Factors */ readonly UpdateGuardianFactors: "update:guardian_factors"; /** * Read Mfa Policies */ readonly ReadMfaPolicies: "read:mfa_policies"; /** * Update Mfa Policies */ readonly UpdateMfaPolicies: "update:mfa_policies"; /** * Read Hooks */ readonly ReadHooks: "read:hooks"; /** * Create Hooks */ readonly CreateHooks: "create:hooks"; /** * Update Hooks */ readonly UpdateHooks: "update:hooks"; /** * Delete Hooks */ readonly DeleteHooks: "delete:hooks"; /** * Read Insights */ readonly ReadInsights: "read:insights"; /** * Read Stats */ readonly ReadStats: "read:stats"; /** * Read Integrations */ readonly ReadIntegrations: "read:integrations"; /** * Create Integrations */ readonly CreateIntegrations: "create:integrations"; /** * Update Integrations */ readonly UpdateIntegrations: "update:integrations"; /** * Delete Integrations */ readonly DeleteIntegrations: "delete:integrations"; /** * Create Users */ readonly CreateUsers: "create:users"; /** * Update Users */ readonly UpdateUsers: "update:users"; /** * Read Custom Signing Keys */ readonly ReadCustomSigningKeys: "read:custom_signing_keys"; /** * Create Custom Signing Keys */ readonly CreateCustomSigningKeys: "create:custom_signing_keys"; /** * Update Custom Signing Keys */ readonly UpdateCustomSigningKeys: "update:custom_signing_keys"; /** * Delete Custom Signing Keys */ readonly DeleteCustomSigningKeys: "delete:custom_signing_keys"; /** * Read Encryption Keys */ readonly ReadEncryptionKeys: "read:encryption_keys"; /** * Create Encryption Keys */ readonly CreateEncryptionKeys: "create:encryption_keys"; /** * Update Encryption Keys */ readonly UpdateEncryptionKeys: "update:encryption_keys"; /** * Delete Encryption Keys */ readonly DeleteEncryptionKeys: "delete:encryption_keys"; /** * Read Signing Keys */ readonly ReadSigningKeys: "read:signing_keys"; /** * Create Signing Keys */ readonly CreateSigningKeys: "create:signing_keys"; /** * Update Signing Keys */ readonly UpdateSigningKeys: "update:signing_keys"; /** * Read Log Streams */ readonly ReadLogStreams: "read:log_streams"; /** * Create Log Streams */ readonly CreateLogStreams: "create:log_streams"; /** * Update Log Streams */ readonly UpdateLogStreams: "update:log_streams"; /** * Delete Log Streams */ readonly DeleteLogStreams: "delete:log_streams"; /** * Read Logs */ readonly ReadLogs: "read:logs"; /** * Read Logs Users */ readonly ReadLogsUsers: "read:logs_users"; /** * Read Tenant Settings */ readonly ReadTenantSettings: "read:tenant_settings"; /** * Update Tenant Settings */ readonly UpdateTenantSettings: "update:tenant_settings"; /** * Read Network Acls */ readonly ReadNetworkAcls: "read:network_acls"; /** * Create Network Acls */ readonly CreateNetworkAcls: "create:network_acls"; /** * Update Network Acls */ readonly UpdateNetworkAcls: "update:network_acls"; /** * Delete Network Acls */ readonly DeleteNetworkAcls: "delete:network_acls"; /** * Read Organizations */ readonly ReadOrganizations: "read:organizations"; /** * Read Organizations Summary */ readonly ReadOrganizationsSummary: "read:organizations_summary"; /** * Create Organizations */ readonly CreateOrganizations: "create:organizations"; /** * Create Organization Connections */ readonly CreateOrganizationConnections: "create:organization_connections"; /** * Update Organizations */ readonly UpdateOrganizations: "update:organizations"; /** * Delete Organizations */ readonly DeleteOrganizations: "delete:organizations"; /** * Create Organization Client Grants */ readonly CreateOrganizationClientGrants: "create:organization_client_grants"; /** * Delete Organization Client Grants */ readonly DeleteOrganizationClientGrants: "delete:organization_client_grants"; /** * Read Organization Connections */ readonly ReadOrganizationConnections: "read:organization_connections"; /** * Update Organization Connections */ readonly UpdateOrganizationConnections: "update:organization_connections"; /** * Delete Organization Connections */ readonly DeleteOrganizationConnections: "delete:organization_connections"; /** * Read Organization Discovery Domains */ readonly ReadOrganizationDiscoveryDomains: "read:organization_discovery_domains"; /** * Create Organization Discovery Domains */ readonly CreateOrganizationDiscoveryDomains: "create:organization_discovery_domains"; /** * Update Organization Discovery Domains */ readonly UpdateOrganizationDiscoveryDomains: "update:organization_discovery_domains"; /** * Delete Organization Discovery Domains */ readonly DeleteOrganizationDiscoveryDomains: "delete:organization_discovery_domains"; /** * Read Organization Invitations */ readonly ReadOrganizationInvitations: "read:organization_invitations"; /** * Create Organization Invitations */ readonly CreateOrganizationInvitations: "create:organization_invitations"; /** * Delete Organization Invitations */ readonly DeleteOrganizationInvitations: "delete:organization_invitations"; /** * Read Organization Members */ readonly ReadOrganizationMembers: "read:organization_members"; /** * Create Organization Members */ readonly CreateOrganizationMembers: "create:organization_members"; /** * Delete Organization Members */ readonly DeleteOrganizationMembers: "delete:organization_members"; /** * Read Organization Member Roles */ readonly ReadOrganizationMemberRoles: "read:organization_member_roles"; /** * Create Organization Member Roles */ readonly CreateOrganizationMemberRoles: "create:organization_member_roles"; /** * Delete Organization Member Roles */ readonly DeleteOrganizationMemberRoles: "delete:organization_member_roles"; /** * Read Prompts */ readonly ReadPrompts: "read:prompts"; /** * Update Prompts */ readonly UpdatePrompts: "update:prompts"; /** * Read Resource Servers */ readonly ReadResourceServers: "read:resource_servers"; /** * Update Resource Servers */ readonly UpdateResourceServers: "update:resource_servers"; /** * Read Refresh Tokens */ readonly ReadRefreshTokens: "read:refresh_tokens"; /** * Delete Refresh Tokens */ readonly DeleteRefreshTokens: "delete:refresh_tokens"; /** * Create Resource Servers */ readonly CreateResourceServers: "create:resource_servers"; /** * Delete Resource Servers */ readonly DeleteResourceServers: "delete:resource_servers"; /** * Read Roles */ readonly ReadRoles: "read:roles"; /** * Create Roles */ readonly CreateRoles: "create:roles"; /** * Update Roles */ readonly UpdateRoles: "update:roles"; /** * Delete Roles */ readonly DeleteRoles: "delete:roles"; /** * Read Role Members */ readonly ReadRoleMembers: "read:role_members"; /** * Create Role Members */ readonly CreateRoleMembers: "create:role_members"; /** * Read Rules */ readonly ReadRules: "read:rules"; /** * Create Rules */ readonly CreateRules: "create:rules"; /** * Update Rules */ readonly UpdateRules: "update:rules"; /** * Read Rules Configs */ readonly ReadRulesConfigs: "read:rules_configs"; /** * Update Rules Configs */ readonly UpdateRulesConfigs: "update:rules_configs"; /** * Delete Rules Configs */ readonly DeleteRulesConfigs: "delete:rules_configs"; /** * Delete Rules */ readonly DeleteRules: "delete:rules"; /** * Read Security Metrics */ readonly ReadSecurityMetrics: "read:security_metrics"; /** * Read Self Service Profiles */ readonly ReadSelfServiceProfiles: "read:self_service_profiles"; /** * Create Self Service Profiles */ readonly CreateSelfServiceProfiles: "create:self_service_profiles"; /** * Update Self Service Profiles */ readonly UpdateSelfServiceProfiles: "update:self_service_profiles"; /** * Delete Self Service Profiles */ readonly DeleteSelfServiceProfiles: "delete:self_service_profiles"; /** * Read Self Service Profile Custom Texts */ readonly ReadSelfServiceProfileCustomTexts: "read:self_service_profile_custom_texts"; /** * Update Self Service Profile Custom Texts */ readonly UpdateSelfServiceProfileCustomTexts: "update:self_service_profile_custom_texts"; /** * Create Sso Access Tickets */ readonly CreateSsoAccessTickets: "create:sso_access_tickets"; /** * Delete Sso Access Tickets */ readonly DeleteSsoAccessTickets: "delete:sso_access_tickets"; /** * Read Sessions */ readonly ReadSessions: "read:sessions"; /** * Update Sessions */ readonly UpdateSessions: "update:sessions"; /** * Delete Sessions */ readonly DeleteSessions: "delete:sessions"; /** * Delete Tenants */ readonly DeleteTenants: "delete:tenants"; /** * Run Checks */ readonly RunChecks: "run:checks"; /** * Read Checks */ readonly ReadChecks: "read:checks"; /** * Read Tenant Feature Flags */ readonly ReadTenantFeatureFlags: "read:tenant_feature_flags"; /** * Read Tenant Invitations */ readonly ReadTenantInvitations: "read:tenant_invitations"; /** * Create Tenant Invitations */ readonly CreateTenantInvitations: "create:tenant_invitations"; /** * Update Tenant Invitations */ readonly UpdateTenantInvitations: "update:tenant_invitations"; /** * Delete Tenant Invitations */ readonly DeleteTenantInvitations: "delete:tenant_invitations"; /** * Read Tenant Members */ readonly ReadTenantMembers: "read:tenant_members"; /** * Update Tenant Members */ readonly UpdateTenantMembers: "update:tenant_members"; /** * Delete Tenant Members */ readonly DeleteTenantMembers: "delete:tenant_members"; /** * Read Owners */ readonly ReadOwners: "read:owners"; /** * Delete Owners */ readonly DeleteOwners: "delete:owners"; /** * Create User Tickets */ readonly CreateUserTickets: "create:user_tickets"; /** * Read Token Exchange Profiles */ readonly ReadTokenExchangeProfiles: "read:token_exchange_profiles"; /** * Create Token Exchange Profiles */ readonly CreateTokenExchangeProfiles: "create:token_exchange_profiles"; /** * Update Token Exchange Profiles */ readonly UpdateTokenExchangeProfiles: "update:token_exchange_profiles"; /** * Delete Token Exchange Profiles */ readonly DeleteTokenExchangeProfiles: "delete:token_exchange_profiles"; /** * Read Entity Counts */ readonly ReadEntityCounts: "read:entity_counts"; /** * Read User Attribute Profiles */ readonly ReadUserAttributeProfiles: "read:user_attribute_profiles"; /** * Create User Attribute Profiles */ readonly CreateUserAttributeProfiles: "create:user_attribute_profiles"; /** * Update User Attribute Profiles */ readonly UpdateUserAttributeProfiles: "update:user_attribute_profiles"; /** * Delete User Attribute Profiles */ readonly DeleteUserAttributeProfiles: "delete:user_attribute_profiles"; /** * Read User Idp Tokens */ readonly ReadUserIdpTokens: "read:user_idp_tokens"; /** * Read Current User */ readonly ReadCurrentUser: "read:current_user"; /** * Update Users App Metadata */ readonly UpdateUsersAppMetadata: "update:users_app_metadata"; /** * Update Current User Metadata */ readonly UpdateCurrentUserMetadata: "update:current_user_metadata"; /** * Delete Current User */ readonly DeleteCurrentUser: "delete:current_user"; /** * Read User Application Passwords */ readonly ReadUserApplicationPasswords: "read:user_application_passwords"; /** * Create User Application Passwords */ readonly CreateUserApplicationPasswords: "create:user_application_passwords"; /** * Delete User Application Passwords */ readonly DeleteUserApplicationPasswords: "delete:user_application_passwords"; /** * Read Authentication Methods */ readonly ReadAuthenticationMethods: "read:authentication_methods"; /** * Update Authentication Methods */ readonly UpdateAuthenticationMethods: "update:authentication_methods"; /** * Create Authentication Methods */ readonly CreateAuthenticationMethods: "create:authentication_methods"; /** * Delete Authentication Methods */ readonly DeleteAuthenticationMethods: "delete:authentication_methods"; /** * Read Federated Connections Tokens */ readonly ReadFederatedConnectionsTokens: "read:federated_connections_tokens"; /** * Delete Federated Connections Tokens */ readonly DeleteFederatedConnectionsTokens: "delete:federated_connections_tokens"; /** * Update Current User Identities */ readonly UpdateCurrentUserIdentities: "update:current_user_identities"; /** * Delete Role Members */ readonly DeleteRoleMembers: "delete:role_members"; /** * Read Vdcs Templates */ readonly ReadVdcsTemplates: "read:vdcs_templates"; /** * Create Vdcs Templates */ readonly CreateVdcsTemplates: "create:vdcs_templates"; /** * Update Vdcs Templates */ readonly UpdateVdcsTemplates: "update:vdcs_templates"; /** * Delete Vdcs Templates */ readonly DeleteVdcsTemplates: "delete:vdcs_templates"; }; export type OauthScope = (typeof OauthScope)[keyof typeof OauthScope]; export interface Action { /** The unique ID of the action. */ id?: string; /** The name of an action. */ name?: string; /** The list of triggers that this action supports. At this time, an action can only target a single trigger at a time. */ supported_triggers?: Management.ActionTrigger[]; /** True if all of an Action's contents have been deployed. */ all_changes_deployed?: boolean; /** The time when this action was created. */ created_at?: string; /** The time when this action was updated. */ updated_at?: string; /** The source code of the action. */ code?: string; /** The list of third party npm modules, and their versions, that this action depends on. */ dependencies?: Management.ActionVersionDependency[]; /** The Node runtime. For example: `node22`, defaults to `node22` */ runtime?: string; /** The list of secrets that are included in an action or a version of an action. */ secrets?: Management.ActionSecretResponse[]; deployed_version?: Management.ActionDeployedVersion; /** installed_integration_id is the fk reference to the InstalledIntegration entity. */ installed_integration_id?: string; integration?: Management.Integration; status?: Management.ActionBuildStatusEnum; /** The time when this action was built successfully. */ built_at?: string; /** True if the action should be deployed after creation. */ deploy?: boolean; } /** * The action to which this version belongs. */ export interface ActionBase { /** The unique ID of the action. */ id?: string; /** The name of an action. */ name?: string; /** The list of triggers that this action supports. At this time, an action can only target a single trigger at a time. */ supported_triggers?: Management.ActionTrigger[]; /** True if all of an Action's contents have been deployed. */ all_changes_deployed?: boolean; /** The time when this action was created. */ created_at?: string; /** The time when this action was updated. */ updated_at?: string; } /** * Binding is the associative entity joining a trigger, and an action together. */ export interface ActionBinding { /** The unique ID of this binding. */ id?: string; trigger_id?: Management.ActionTriggerTypeEnum; /** The name of the binding. */ display_name?: string; action?: Management.Action; /** The time when the binding was created. */ created_at?: string; /** The time when the binding was updated. */ updated_at?: string; } /** * A reference to an action. An action can be referred to by ID or by Name. */ export interface ActionBindingRef { type?: Management.ActionBindingRefTypeEnum; /** The id or name of an action that is being bound to a trigger. */ value?: string; /** Accepts any additional properties */ [key: string]: any; } /** How the action is being referred to: `action_id` or `action_name`. */ export declare const ActionBindingRefTypeEnum: { readonly BindingId: "binding_id"; readonly ActionId: "action_id"; readonly ActionName: "action_name"; }; export type ActionBindingRefTypeEnum = (typeof ActionBindingRefTypeEnum)[keyof typeof ActionBindingRefTypeEnum]; /** In order to execute an Action, it must be bound to a trigger using a binding. `trigger-bound` means that bindings are managed by the tenant. `entity-bound` means that the bindings are automatically managed by Auth0 and other internal resouces will control those bindings. Tenants cannot manage `entity-bound` bindings. */ export declare const ActionBindingTypeEnum: { readonly TriggerBound: "trigger-bound"; readonly EntityBound: "entity-bound"; }; export type ActionBindingTypeEnum = (typeof ActionBindingTypeEnum)[keyof typeof ActionBindingTypeEnum]; export interface ActionBindingWithRef { ref: Management.ActionBindingRef; /** The name of the binding. */ display_name?: string; /** The list of secrets that are included in an action or a version of an action. */ secrets?: Management.ActionSecretRequest[]; } /** The build status of this action. */ export declare const ActionBuildStatusEnum: { readonly Pending: "pending"; readonly Building: "building"; readonly Packaged: "packaged"; readonly Built: "built"; readonly Retrying: "retrying"; readonly Failed: "failed"; }; export type ActionBuildStatusEnum = (typeof ActionBuildStatusEnum)[keyof typeof ActionBuildStatusEnum]; /** * The version of the action that is currently deployed. */ export interface ActionDeployedVersion { /** The unique id of an action version. */ id?: string; /** The id of the action to which this version belongs. */ action_id?: string; /** The source code of this specific version of the action. */ code?: string; /** The list of third party npm modules, and their versions, that this specific version depends on. */ dependencies?: Management.ActionVersionDependency[]; /** Indicates if this specific version is the currently one deployed. */ deployed?: boolean; /** The Node runtime. For example: `node22` */ runtime?: string; /** The list of secrets that are included in an action or a version of an action. */ secrets?: Management.ActionSecretResponse[]; status?: Management.ActionVersionBuildStatusEnum; /** The index of this version in list of versions for the action. */ number?: number; /** Any errors that occurred while the version was being built. */ errors?: Management.ActionError[]; action?: Management.ActionBase; /** The time when this version was built successfully. */ built_at?: string; /** The time when this version was created. */ created_at?: string; /** The time when a version was updated. Versions are never updated externally. Only Auth0 will update an action version as it is being built. */ updated_at?: string; /** The list of triggers that this version supports. At this time, a version can only target a single trigger at a time. */ supported_triggers?: Management.ActionTrigger[]; } /** * Error is a generic error with a human readable id which should be easily referenced in support tickets. */ export interface ActionError { id?: string; msg?: string; url?: string; } /** * Captures the results of a single action being executed. */ export interface ActionExecutionResult { /** The name of the action that was executed. */ action_name?: string; error?: Management.ActionError; /** The time when the action was started. */ started_at?: string; /** The time when the action finished executing. */ ended_at?: string; } /** The overall status of an execution. */ export declare const ActionExecutionStatusEnum: { readonly Unspecified: "unspecified"; readonly Pending: "pending"; readonly Final: "final"; readonly Partial: "partial"; readonly Canceled: "canceled"; readonly Suspended: "suspended"; }; export type ActionExecutionStatusEnum = (typeof ActionExecutionStatusEnum)[keyof typeof ActionExecutionStatusEnum]; export interface ActionSecretRequest { /** The name of the particular secret, e.g. API_KEY. */ name?: string; /** The value of the particular secret, e.g. secret123. A secret's value can only be set upon creation. A secret's value will never be returned by the API. */ value?: string; /** Accepts any additional properties */ [key: string]: any; } export interface ActionSecretResponse { /** The name of the particular secret, e.g. API_KEY. */ name?: string; /** The time when the secret was last updated. */ updated_at?: string; /** Accepts any additional properties */ [key: string]: any; } export interface ActionTrigger { id: Management.ActionTriggerTypeEnum; /** The version of a trigger. v1, v2, etc. */ version?: string; /** status points to the trigger status. */ status?: string; /** runtimes supported by this trigger. */ runtimes?: string[]; /** Runtime that will be used when none is specified when creating an action. */ default_runtime?: string; /** compatible_triggers informs which other trigger supports the same event and api. */ compatible_triggers?: Management.ActionTriggerCompatibleTrigger[]; binding_policy?: Management.ActionBindingTypeEnum; } export interface ActionTriggerCompatibleTrigger { id: Management.ActionTriggerTypeEnum; /** The version of a trigger. v1, v2, etc. */ version: string; /** Accepts any additional properties */ [key: string]: any; } /** * An actions extensibility point. */ export type ActionTriggerTypeEnum = string; export interface ActionVersion { /** The unique id of an action version. */ id?: string; /** The id of the action to which this version belongs. */ action_id?: string; /** The source code of this specific version of the action. */ code?: string; /** The list of third party npm modules, and their versions, that this specific version depends on. */ dependencies?: Management.ActionVersionDependency[]; /** Indicates if this specific version is the currently one deployed. */ deployed?: boolean; /** The Node runtime. For example: `node22` */ runtime?: string; /** The list of secrets that are included in an action or a version of an action. */ secrets?: Management.ActionSecretResponse[]; status?: Management.ActionVersionBuildStatusEnum; /** The index of this version in list of versions for the action. */ number?: number; /** Any errors that occurred while the version was being built. */ errors?: Management.ActionError[]; action?: Management.ActionBase; /** The time when this version was built successfully. */ built_at?: string; /** The time when this version was created. */ created_at?: string; /** The time when a version was updated. Versions are never updated externally. Only Auth0 will update an action version as it is being built. */ updated_at?: string; /** The list of triggers that this version supports. At this time, a version can only target a single trigger at a time. */ supported_triggers?: Management.ActionTrigger[]; } /** The build status of this specific version. */ export declare const ActionVersionBuildStatusEnum: { readonly Pending: "pending"; readonly Building: "building"; readonly Packaged: "packaged"; readonly Built: "built"; readonly Retrying: "retrying"; readonly Failed: "failed"; }; export type ActionVersionBuildStatusEnum = (typeof ActionVersionBuildStatusEnum)[keyof typeof ActionVersionBuildStatusEnum]; /** * Dependency is an npm module. These values are used to produce an immutable artifact, which manifests as a layer_id. */ export interface ActionVersionDependency { /** name is the name of the npm module, e.g. lodash */ name?: string; /** description is the version of the npm module, e.g. 4.17.1 */ version?: string; /** registry_url is an optional value used primarily for private npm registries. */ registry_url?: string; } /** * Client array filter items */ export type AculClientFilter = Management.AculClientFilterById | Management.AculClientFilterByMetadata; export interface AculClientFilterById { /** Client ID */ id: string; } export interface AculClientFilterByMetadata { metadata: Management.AculClientMetadata; } /** * Client metadata key/value pairs */ export type AculClientMetadata = Record<string, unknown>; export interface AculConfigsItem { prompt: Management.PromptGroupNameEnum; screen: Management.ScreenGroupNameEnum; rendering_mode?: Management.AculRenderingModeEnum; context_configuration?: Management.AculContextConfiguration; default_head_tags_disabled?: (Management.AculDefaultHeadTagsDisabled | undefined) | null; use_page_template?: (Management.AculUsePageTemplate | undefined) | null; head_tags?: Management.AculHeadTags; filters?: Management.AculFilters | null; } /** * Array of screen configurations to update */ export type AculConfigs = Management.AculConfigsItem[]; /** * Context values to make available */ export type AculContextConfiguration = Management.AculContextConfigurationItem[]; export type AculContextConfigurationItem = Management.AculContextEnum /** * Dynamic authorization param ext key (e.g., `untrusted_data.authorization_params.ext-myKey`) */ | string; /** Static context values */ export declare const AculContextEnum: { readonly BrandingSettings: "branding.settings"; readonly BrandingThemesDefault: "branding.themes.default"; readonly ClientLogoUri: "client.logo_uri"; readonly ClientDescription: "client.description"; readonly OrganizationDisplayName: "organization.display_name"; readonly OrganizationBranding: "organization.branding"; readonly ScreenTexts: "screen.texts"; readonly TenantName: "tenant.name"; readonly TenantFriendlyName: "tenant.friendly_name"; readonly TenantLogoUrl: "tenant.logo_url"; readonly TenantEnabledLocales: "tenant.enabled_locales"; readonly UntrustedDataSubmittedFormData: "untrusted_data.submitted_form_data"; readonly UntrustedDataAuthorizationParamsLoginHint: "untrusted_data.authorization_params.login_hint"; readonly UntrustedDataAuthorizationParamsScreenHint: "untrusted_data.authorization_params.screen_hint"; readonly UntrustedDataAuthorizationParamsUiLocales: "untrusted_data.authorization_params.ui_locales"; readonly UserOrganizations: "user.organizations"; readonly TransactionCustomDomainDomain: "transaction.custom_domain.domain"; }; export type AculContextEnum = (typeof AculContextEnum)[keyof typeof AculContextEnum]; /** * Override Universal Login default head tags */ export type AculDefaultHeadTagsDisabled = (boolean | null) | undefined; /** * Domains array filter items */ export type AculDomainFilter = Management.AculDomainFilterById | Management.AculDomainFilterByMetadata; export interface AculDomainFilterById { /** Domain ID */ id: string; } export interface AculDomainFilterByMetadata { metadata: Management.AculDomainMetadata; } /** * Domain metadata key/value pairs */ export type AculDomainMetadata = Record<string, unknown>; /** * Optional filters to apply rendering rules to specific entities */ export interface AculFilters { match_type?: Management.AculMatchTypeEnum; /** Clients filter */ clients?: Management.AculClientFilter[]; /** Organizations filter */ organizations?: Management.AculOrganizationFilter[]; /** Domains filter */ domains?: Management.AculDomainFilter[]; } export interface AculHeadTag { /** Any HTML element valid for use in the head tag */ tag?: string; attributes?: Management.AculHeadTagAttributes; content?: Management.AculHeadTagContent; /** Accepts any additional properties */ [key: string]: any; } /** * Attributes of the HTML tag. See <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes"> MDN documentation</a> for valid attributes. */ export type AculHeadTagAttributes = Record<string, unknown>; /** * Text or markup between the element’s opening and closing tags. * You can use <a href="https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens">context variables</a> to display dynamic values. */ export type AculHeadTagContent = string; /** * An array of head tags */ export type AculHeadTags = Management.AculHeadTag[]; /** Type of match to apply */ export declare const AculMatchTypeEnum: { readonly IncludesAny: "includes_any"; readonly ExcludesAny: "excludes_any"; }; export type AculMatchTypeEnum = (typeof AculMatchTypeEnum)[keyof typeof AculMatchTypeEnum]; /** * Organizations array filter items */ export type AculOrganizationFilter = Management.AculOrganizationFilterById | Management.AculOrganizationFilterByMetadata; export interface AculOrganizationFilterById { /** Organization ID */ id: string; } export interface AculOrganizationFilterByMetadata { metadata: Management.AculOrganizationMetadata; } /** * Organization metadata key/value pairs */ export type AculOrganizationMetadata = Record<string, unknown>; /** Rendering mode to filter by */ export declare const AculRenderingModeEnum: { readonly Advanced: "advanced"; readonly Standard: "standard"; }; export type AculRenderingModeEnum = (typeof AculRenderingModeEnum)[keyof typeof AculRenderingModeEnum]; export interface AculResponseContent { rendering_mode?: Management.AculRenderingModeEnum; /** Context values to make available */ context_configuration?: string[]; /** Override Universal Login default head tags */ default_head_tags_disabled?: boolean | null; /** Use page template with ACUL */ use_page_template?: boolean | null; /** An array of head tags */ head_tags?: Management.AculHeadTag[]; filters?: Management.AculFilters | null; /** Accepts any additional properties */ [key: string]: any; } /** * Use page template with ACUL */ export type AculUsePageTemplate = (boolean | null) | undefined; export interface AddOrganizationConnectionResponseContent { /** ID of the connection. */ connection_id?: string; /** When true, all users that log in with this connection will be automatically granted membership in the organization. When false, users must be granted membership in the organization before logging in with this connection. */ assign_membership_on_login?: boolean; /** Determines whether a connection should be displayed on this organization’s login prompt. Only applicable for enterprise connections. Default: true. */ show_as_button?: boolean; /** Determines whether organization signup should be enabled for this organization connection. Only applicable for database connections. Default: false. */ is_signup_enabled?: boolean; connection?: Management.OrganizationConnectionInformation; } /** * IP address to check. */ export type AnomalyIpFormat = string; /** * Data related to the user that does affect the application's core functionality. */ export type AppMetadata = Record<string, unknown>; export type AssessorsTypeEnum = "new-device"; export interface AssociateOrganizationClientGrantResponseContent { /** ID of the client grant. */ id?: string; /** ID of the client. */ client_id?: string; /** The audience (API identifier) of this client grant */ audience?: string; /** Scopes allowed for this client grant. */ scope?: string[]; organization_usage?: Management.OrganizationUsageEnum; /** If enabled, any organization can be used with this grant. If disabled (default), the grant must be explicitly assigned to the desired organizations. */ allow_any_organization?: boolean; } export declare const AsyncApprovalNotificationsChannelsEnum: { readonly GuardianPush: "guardian-push"; readonly Email: "email"; }; export type AsyncApprovalNotificationsChannelsEnum = (typeof AsyncApprovalNotificationsChannelsEnum)[keyof typeof AsyncApprovalNotificationsChannelsEnum]; export interface AttackProtectionCaptchaArkoseResponseContent { /** The site key for the Arkose captcha provider. */ site_key?: string; /** Whether the captcha should fail open. */ fail_open?: boolean; /** The subdomain used for client requests to the Arkose captcha provider. */ client_subdomain?: string; /** The subdomain used for server-side verification requests to the Arkose captcha provider. */ verify_subdomain?: string; /** Accepts any additional properties */ [key: string]: any; } export interface AttackProtectionCaptchaAuthChallengeRequest { /** Whether the auth challenge should fail open. */ fail_open: boolean; } export interface AttackProtectionCaptchaAuthChallengeResponseContent { /** Whether the auth challenge should fail open. */ fail_open?: boolean; /** Accepts any additional properties */ [key: string]: any; } export interface AttackProtectionCaptchaFriendlyCaptchaResponseContent { /** The site key for the Friendly Captcha provider. */ site_key?: string; /** Accepts any additional properties */ [key: string]: any; } export interface AttackProtectionCaptchaHcaptchaResponseContent { /** The site key for the hCaptcha provider. */ site_key?: string; /** Accepts any additional properties */ [key: string]: any; } /** The id of the active provider for the CAPTCHA. */ export declare const AttackProtectionCaptchaProviderId: { readonly Arkose: "arkose"; readonly AuthChallenge: "auth_challenge"; readonly FriendlyCaptcha: "friendly_captcha"; readonly Hcaptcha: "hcaptcha"; readonly RecaptchaV2: "recaptcha_v2"; readonly RecaptchaEnterprise: "recaptcha_enterprise"; readonly SimpleCaptcha: "simple_captcha"; }; export type AttackProtectionCaptchaProviderId = (typeof AttackProtectionCaptchaProviderId)[keyof typeof AttackProtectionCaptchaProviderId]; export interface AttackProtectionCaptchaRecaptchaEnterpriseResponseContent { /** The site key for the reCAPTCHA Enterprise provider. */ site_key?: string; /** The project ID for the reCAPTCHA Enterprise provider. */ project_id?: string; /** Accepts any additional properties */ [key: string]: any; } export interface AttackProtectionCaptchaRecaptchaV2ResponseContent { /** The site key for the reCAPTCHA v2 provider. */ site_key?: string; /** Accepts any additional properties */ [key: string]: any; } export type AttackProtectionCaptchaSimpleCaptchaResponseContent = Record<string, unknown>; export interface AttackProtectionUpdateCaptchaArkose { /** The site key for the Arkose captcha provider. */ site_key: string; /** The secret key for the Arkose captcha provider. */ secret: string; /** The subdomain used for client requests to the Arkose captcha provider. */ client_subdomain?: string; /** The subdomain used for server-side verification requests to the Arkose captcha provider. */ verify_subdomain?: string; /** Whether the captcha should fail open. */ fail_open?: boolean; } export interface AttackProtectionUpdateCaptchaFriendlyCaptcha { /** The site key for the Friendly Captcha provider. */ site_key: string; /** The secret key for the Friendly Captcha provider. */ secret: string; } export interface AttackProtectionUpdateCaptchaHcaptcha { /** The site key for the hCaptcha provider. */ site_key: string; /** The secret key for the hCaptcha provider. */ secret: string; } export interface AttackProtectionUpdateCaptchaRecaptchaEnterprise { /** The site key for the reCAPTCHA Enterprise provider. */ site_key: string; /** The API key for the reCAPTCHA Enterprise provider. */ api_key: string; /** The project ID for the reCAPTCHA Enterprise provider. */ project_id: string; } export interface AttackProtectionUpdateCaptchaRecaptchaV2 { /** The site key for the reCAPTCHA v2 provider. */ site_key: string; /** The secret key for the reCAPTCHA v2 provider. */ secret: string; } export declare const AuthenticationMethodTypeEnum: { readonly RecoveryCode: "recovery-code"; readonly Totp: "totp"; readonly Push: "push"; readonly Phone: "phone"; readonly Email: "email"; readonly EmailVerification: "email-verification"; readonly WebauthnRoaming: "webauthn-roaming"; readonly WebauthnPlatform: "webauthn-platform"; readonly Guardian: "guardian"; readonly Passkey: "passkey"; readonly Password: "password"; }; export type AuthenticationMethodTypeEnum = (typeof AuthenticationMethodTypeEnum)[keyof typeof AuthenticationMethodTypeEnum]; export declare const AuthenticationTypeEnum: { readonly Phone: "phone"; readonly Email: "email"; readonly Totp: "totp"; }; export type AuthenticationTypeEnum = (typeof AuthenticationTypeEnum)[keyof typeof AuthenticationTypeEnum]; /** * List of IP addresses or CIDR blocks to allowlist */ export type BotDetectionAllowlist = Management.BotDetectionIpAddressOrCidrBlock[]; /** The policy that defines how often to show CAPTCHA */ export declare const BotDetectionChallengePolicyPasswordFlowEnum: { readonly Never: "never"; readonly WhenRisky: "when_risky"; readonly Always: "always"; }; export type BotDetectionChallengePolicyPasswordFlowEnum = (typeof BotDetectionChallengePolicyPasswordFlowEnum)[keyof typeof BotDetectionChallengePolicyPasswordFlowEnum]; /** The policy that defines how often to show CAPTCHA */ export declare const BotDetectionChallengePolicyPasswordResetFlowEnum: { readonly Never: "never"; readonly WhenRisky: "when_risky"; readonly Always: "always"; }; export type BotDetectionChallengePolicyPasswordResetFlowEnum = (typeof Bot