@authhero/adapter-interfaces 3.5.0 → 3.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.
@@ -9366,6 +9366,230 @@ declare const tenantSchema: z.ZodObject<{
9366
9366
  }, z.core.$strip>;
9367
9367
  type Tenant = z.infer<typeof tenantSchema>;
9368
9368
 
9369
+ /**
9370
+ * Durable tenant lifecycle operations (issue #1026). Each row is one
9371
+ * provision / seed / upgrade / backup / deprovision run against a tenant
9372
+ * (or the whole fleet when `tenant_id` is null). The tenant row's
9373
+ * `provisioning_state` / `worker_version` / `database_version` remain the
9374
+ * current-state snapshot; operations are the append-only log explaining how
9375
+ * the snapshot got there.
9376
+ */
9377
+ declare const tenantOperationKindSchema: z.ZodEnum<{
9378
+ provision: "provision";
9379
+ seed: "seed";
9380
+ upgrade: "upgrade";
9381
+ backup: "backup";
9382
+ deprovision: "deprovision";
9383
+ }>;
9384
+ type TenantOperationKind = z.infer<typeof tenantOperationKindSchema>;
9385
+ declare const tenantOperationStatusSchema: z.ZodEnum<{
9386
+ pending: "pending";
9387
+ failed: "failed";
9388
+ running: "running";
9389
+ succeeded: "succeeded";
9390
+ cancelled: "cancelled";
9391
+ }>;
9392
+ type TenantOperationStatus = z.infer<typeof tenantOperationStatusSchema>;
9393
+ declare const tenantOperationEngineSchema: z.ZodEnum<{
9394
+ inline: "inline";
9395
+ "cloudflare-workflows": "cloudflare-workflows";
9396
+ }>;
9397
+ type TenantOperationEngine = z.infer<typeof tenantOperationEngineSchema>;
9398
+ declare const tenantOperationInsertSchema: z.ZodObject<{
9399
+ tenant_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9400
+ rollout_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9401
+ kind: z.ZodEnum<{
9402
+ provision: "provision";
9403
+ seed: "seed";
9404
+ upgrade: "upgrade";
9405
+ backup: "backup";
9406
+ deprovision: "deprovision";
9407
+ }>;
9408
+ engine: z.ZodEnum<{
9409
+ inline: "inline";
9410
+ "cloudflare-workflows": "cloudflare-workflows";
9411
+ }>;
9412
+ engine_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9413
+ target_worker_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9414
+ target_database_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9415
+ initiated_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9416
+ }, z.core.$strip>;
9417
+ type TenantOperationInsert = z.input<typeof tenantOperationInsertSchema>;
9418
+ declare const tenantOperationSchema: z.ZodObject<{
9419
+ tenant_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9420
+ rollout_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9421
+ kind: z.ZodEnum<{
9422
+ provision: "provision";
9423
+ seed: "seed";
9424
+ upgrade: "upgrade";
9425
+ backup: "backup";
9426
+ deprovision: "deprovision";
9427
+ }>;
9428
+ engine: z.ZodEnum<{
9429
+ inline: "inline";
9430
+ "cloudflare-workflows": "cloudflare-workflows";
9431
+ }>;
9432
+ engine_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9433
+ target_worker_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9434
+ target_database_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9435
+ initiated_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9436
+ id: z.ZodString;
9437
+ status: z.ZodEnum<{
9438
+ pending: "pending";
9439
+ failed: "failed";
9440
+ running: "running";
9441
+ succeeded: "succeeded";
9442
+ cancelled: "cancelled";
9443
+ }>;
9444
+ current_step: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9445
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9446
+ created_at: z.ZodString;
9447
+ updated_at: z.ZodString;
9448
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9449
+ }, z.core.$strip>;
9450
+ type TenantOperation = z.infer<typeof tenantOperationSchema>;
9451
+ declare const tenantOperationUpdateSchema: z.ZodObject<{
9452
+ error: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9453
+ status: z.ZodOptional<z.ZodEnum<{
9454
+ pending: "pending";
9455
+ failed: "failed";
9456
+ running: "running";
9457
+ succeeded: "succeeded";
9458
+ cancelled: "cancelled";
9459
+ }>>;
9460
+ engine_instance_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9461
+ target_worker_version: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9462
+ target_database_version: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9463
+ current_step: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9464
+ finished_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9465
+ }, z.core.$strip>;
9466
+ type TenantOperationUpdate = z.infer<typeof tenantOperationUpdateSchema>;
9467
+
9468
+ /**
9469
+ * Append-only per-step history for a tenant operation (issue #1026).
9470
+ * One row per step boundary: started / succeeded / failed / retried /
9471
+ * skipped, plus `reconciled` when the reconciler sweep copies a terminal
9472
+ * engine state into the database after an instance died mid-run.
9473
+ */
9474
+ declare const tenantOperationEventOutcomeSchema: z.ZodEnum<{
9475
+ failed: "failed";
9476
+ succeeded: "succeeded";
9477
+ started: "started";
9478
+ retried: "retried";
9479
+ skipped: "skipped";
9480
+ reconciled: "reconciled";
9481
+ }>;
9482
+ type TenantOperationEventOutcome = z.infer<typeof tenantOperationEventOutcomeSchema>;
9483
+ declare const tenantOperationEventInsertSchema: z.ZodObject<{
9484
+ operation_id: z.ZodString;
9485
+ step: z.ZodString;
9486
+ outcome: z.ZodEnum<{
9487
+ failed: "failed";
9488
+ succeeded: "succeeded";
9489
+ started: "started";
9490
+ retried: "retried";
9491
+ skipped: "skipped";
9492
+ reconciled: "reconciled";
9493
+ }>;
9494
+ detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9495
+ attempt: z.ZodDefault<z.ZodNumber>;
9496
+ }, z.core.$strip>;
9497
+ type TenantOperationEventInsert = z.input<typeof tenantOperationEventInsertSchema>;
9498
+ declare const tenantOperationEventSchema: z.ZodObject<{
9499
+ operation_id: z.ZodString;
9500
+ step: z.ZodString;
9501
+ outcome: z.ZodEnum<{
9502
+ failed: "failed";
9503
+ succeeded: "succeeded";
9504
+ started: "started";
9505
+ retried: "retried";
9506
+ skipped: "skipped";
9507
+ reconciled: "reconciled";
9508
+ }>;
9509
+ detail: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9510
+ attempt: z.ZodDefault<z.ZodNumber>;
9511
+ id: z.ZodString;
9512
+ created_at: z.ZodString;
9513
+ }, z.core.$strip>;
9514
+ type TenantOperationEvent = z.infer<typeof tenantOperationEventSchema>;
9515
+
9516
+ /**
9517
+ * Fleet operation coordinating per-tenant operations in waves with a canary
9518
+ * and a health gate (issue #1026). Progress is derived by querying
9519
+ * `tenant_operations` rows with this rollout's id — there are no
9520
+ * denormalized counters.
9521
+ */
9522
+ declare const rolloutKindSchema: z.ZodEnum<{
9523
+ upgrade: "upgrade";
9524
+ backup: "backup";
9525
+ reseed: "reseed";
9526
+ }>;
9527
+ type RolloutKind = z.infer<typeof rolloutKindSchema>;
9528
+ declare const rolloutStatusSchema: z.ZodEnum<{
9529
+ pending: "pending";
9530
+ failed: "failed";
9531
+ paused: "paused";
9532
+ canary: "canary";
9533
+ rolling: "rolling";
9534
+ done: "done";
9535
+ }>;
9536
+ type RolloutStatus = z.infer<typeof rolloutStatusSchema>;
9537
+ declare const rolloutInsertSchema: z.ZodObject<{
9538
+ kind: z.ZodEnum<{
9539
+ upgrade: "upgrade";
9540
+ backup: "backup";
9541
+ reseed: "reseed";
9542
+ }>;
9543
+ target_worker_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9544
+ target_database_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9545
+ wave_size: z.ZodDefault<z.ZodNumber>;
9546
+ canary_tenant_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9547
+ filter: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9548
+ initiated_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9549
+ }, z.core.$strip>;
9550
+ type RolloutInsert = z.input<typeof rolloutInsertSchema>;
9551
+ declare const rolloutSchema: z.ZodObject<{
9552
+ kind: z.ZodEnum<{
9553
+ upgrade: "upgrade";
9554
+ backup: "backup";
9555
+ reseed: "reseed";
9556
+ }>;
9557
+ target_worker_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9558
+ target_database_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9559
+ wave_size: z.ZodDefault<z.ZodNumber>;
9560
+ canary_tenant_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
9561
+ filter: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9562
+ initiated_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9563
+ id: z.ZodString;
9564
+ status: z.ZodEnum<{
9565
+ pending: "pending";
9566
+ failed: "failed";
9567
+ paused: "paused";
9568
+ canary: "canary";
9569
+ rolling: "rolling";
9570
+ done: "done";
9571
+ }>;
9572
+ created_at: z.ZodString;
9573
+ updated_at: z.ZodString;
9574
+ finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9575
+ }, z.core.$strip>;
9576
+ type Rollout = z.infer<typeof rolloutSchema>;
9577
+ declare const rolloutUpdateSchema: z.ZodObject<{
9578
+ status: z.ZodOptional<z.ZodEnum<{
9579
+ pending: "pending";
9580
+ failed: "failed";
9581
+ paused: "paused";
9582
+ canary: "canary";
9583
+ rolling: "rolling";
9584
+ done: "done";
9585
+ }>>;
9586
+ filter: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
9587
+ finished_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9588
+ wave_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
9589
+ canary_tenant_ids: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
9590
+ }, z.core.$strip>;
9591
+ type RolloutUpdate = z.infer<typeof rolloutUpdateSchema>;
9592
+
9369
9593
  declare enum GrantType {
9370
9594
  RefreshToken = "refresh_token",
9371
9595
  AuthorizationCode = "authorization_code",
@@ -10447,6 +10671,7 @@ declare const analyticsResourceSchema: z.ZodEnum<{
10447
10671
  "refresh-tokens": "refresh-tokens";
10448
10672
  logouts: "logouts";
10449
10673
  "password-changes": "password-changes";
10674
+ "password-migrations": "password-migrations";
10450
10675
  "email-verifications": "email-verifications";
10451
10676
  "codes-sent": "codes-sent";
10452
10677
  }>;
@@ -11641,6 +11866,73 @@ interface RateLimitAdapter {
11641
11866
  consume(scope: RateLimitScope, key: string): Promise<RateLimitDecision>;
11642
11867
  }
11643
11868
 
11869
+ /**
11870
+ * Tenant operations are control-plane entities (like `tenants` itself), so
11871
+ * the adapter is unscoped: `tenant_id` is a list filter, not a scoping
11872
+ * argument, and is null for fleet-level operations.
11873
+ */
11874
+ interface ListTenantOperationsParams extends ListParams {
11875
+ tenant_id?: string;
11876
+ rollout_id?: string;
11877
+ kind?: TenantOperationKind;
11878
+ /** Single status or a set (the reconciler queries pending + running). */
11879
+ status?: TenantOperationStatus | TenantOperationStatus[];
11880
+ engine?: TenantOperationEngine;
11881
+ /** Only operations whose `updated_at` is strictly before this ISO timestamp. */
11882
+ updated_before?: string;
11883
+ }
11884
+ interface ListTenantOperationsResult {
11885
+ operations: TenantOperation[];
11886
+ start: number;
11887
+ limit: number;
11888
+ length: number;
11889
+ }
11890
+ interface TenantOperationsAdapter {
11891
+ /** Generates the `op_<nanoid>` id and inserts with status `pending`. */
11892
+ create(operation: TenantOperationInsert): Promise<TenantOperation>;
11893
+ get(id: string): Promise<TenantOperation | null>;
11894
+ /** Default sort: `created_at` descending. */
11895
+ list(params?: ListTenantOperationsParams): Promise<ListTenantOperationsResult>;
11896
+ /** Always bumps `updated_at`. */
11897
+ update(id: string, operation: TenantOperationUpdate): Promise<boolean>;
11898
+ /** Retention cleanup only — not exposed via routes; events cascade. */
11899
+ remove(id: string): Promise<boolean>;
11900
+ }
11901
+
11902
+ interface ListTenantOperationEventsResult {
11903
+ events: TenantOperationEvent[];
11904
+ start: number;
11905
+ limit: number;
11906
+ length: number;
11907
+ }
11908
+ /**
11909
+ * Append-only step history for tenant operations — no update or remove;
11910
+ * rows are deleted only via the cascade when their operation is removed.
11911
+ */
11912
+ interface TenantOperationEventsAdapter {
11913
+ /** Generates the `evt_<nanoid>` id. */
11914
+ create(event: TenantOperationEventInsert): Promise<TenantOperationEvent>;
11915
+ /** Ordered `created_at` ascending (id as tiebreak). */
11916
+ listByOperation(operation_id: string, params?: ListParams): Promise<ListTenantOperationEventsResult>;
11917
+ }
11918
+
11919
+ interface ListRolloutsResult {
11920
+ rollouts: Rollout[];
11921
+ start: number;
11922
+ limit: number;
11923
+ length: number;
11924
+ }
11925
+ interface RolloutsAdapter {
11926
+ /** Generates the `rol_<nanoid>` id and inserts with status `pending`. */
11927
+ create(rollout: RolloutInsert): Promise<Rollout>;
11928
+ get(id: string): Promise<Rollout | null>;
11929
+ /** Default sort: `created_at` descending. */
11930
+ list(params?: ListParams): Promise<ListRolloutsResult>;
11931
+ /** Always bumps `updated_at`. */
11932
+ update(id: string, rollout: RolloutUpdate): Promise<boolean>;
11933
+ remove(id: string): Promise<boolean>;
11934
+ }
11935
+
11644
11936
  interface CodeExecutionLog {
11645
11937
  level: "log" | "info" | "warn" | "error" | "debug";
11646
11938
  message: string;
@@ -11778,6 +12070,23 @@ interface DataAdapters {
11778
12070
  */
11779
12071
  analytics?: AnalyticsAdapter;
11780
12072
  tenants: TenantsDataAdapter;
12073
+ /**
12074
+ * Optional control-plane log of durable tenant lifecycle operations
12075
+ * (provision / seed / upgrade / backup / deprovision — issue #1026).
12076
+ * The tenant row's provisioning fields remain the current-state snapshot;
12077
+ * these rows are the append-only history explaining how it got there.
12078
+ * When set (together with `tenantOperationEvents`), AuthHero mounts the
12079
+ * `/api/v2/operations` and `/api/v2/tenants/:id/operations` management
12080
+ * routes and lifecycle hooks record every provision run.
12081
+ */
12082
+ tenantOperations?: TenantOperationsAdapter;
12083
+ /** Per-step history rows for `tenantOperations`; append-only. */
12084
+ tenantOperationEvents?: TenantOperationEventsAdapter;
12085
+ /**
12086
+ * Optional fleet rollout records (issue #1026). Phase 1 ships the table
12087
+ * and CRUD only; the wave/canary coordinator and routes come later.
12088
+ */
12089
+ rollouts?: RolloutsAdapter;
11781
12090
  themes: ThemesAdapter;
11782
12091
  universalLoginTemplates: UniversalLoginTemplatesAdapter;
11783
12092
  customText: CustomTextAdapter;
@@ -11840,5 +12149,5 @@ interface DataAdapters {
11840
12149
  };
11841
12150
  }
11842
12151
 
11843
- export { Auth0ActionEnum, Auth0Client, AuthorizationResponseMode, AuthorizationResponseType, CodeChallengeMethod, ComponentCategory, ComponentType, EmailActionEnum, FORM_FIELD_TYPES, FlowActionTypeEnum, GrantType, LocationInfo, LogTypes, LoginSessionState, NodeType, RedirectTargetEnum, Strategy, StrategyType, actionDependencySchema, actionExecutionErrorSchema, actionExecutionInsertSchema, actionExecutionLogEntrySchema, actionExecutionLogsSchema, actionExecutionResultSchema, actionExecutionSchema, actionExecutionStatusSchema, actionExecutionTriggerIdSchema, actionInsertSchema, actionNodeSchema, actionSchema, actionSecretSchema, actionTriggerSchema, actionUpdateSchema, actionVersionInsertSchema, actionVersionSchema, activeUsersResponseSchema, actorSchema, addressSchema, analyticsColumnMetaSchema, analyticsGroupBySchema, analyticsIntervalSchema, analyticsQueryResponseSchema, analyticsResourceSchema, analyticsStatisticsSchema, analyticsUserTypeSchema, attackProtectionSchema, auditCategorySchema, auditEventInsertSchema, auditEventSchema, auth0ClientSchema, auth0FlowInsertSchema, auth0FlowSchema, auth0QuerySchema, auth0UpdateUserActionSchema, auth0UserResponseSchema, authParamsSchema, authenticationMethodInsertSchema, authenticationMethodSchema, authenticationMethodTypeSchema, baseUserSchema, blockComponentSchema, bordersSchema, brandingSchema, breachedPasswordDetectionSchema, bruteForceProtectionSchema, buttonComponentSchema, claimsRequestSchema, clientGrantInsertSchema, clientGrantListSchema, clientGrantSchema, clientInsertSchema, clientRegistrationTokenInsertSchema, clientRegistrationTokenSchema, clientRegistrationTokenTypeSchema, clientSchema, codeInsertSchema, codeSchema, codeTypeSchema, colorsSchema, componentMessageSchema, componentSchema, connectionInsertSchema, connectionOptionsSchema, connectionSchema, coordinatesSchema, createPassthroughAdapter, createWriteOnlyAdapter, customDomainCertificateUploadSchema, customDomainInsertSchema, customDomainSchema, customDomainUpdateSchema, customDomainWithTenantIdSchema, customTextEntrySchema, customTextSchema, dailyStatsSchema, emailProviderSchema, emailTemplateNameSchema, emailTemplateSchema, emailVerificationRulesSchema, emailVerifyActionSchema, endingSchema, fieldComponentSchema, flowActionStepSchema, flowInsertSchema, flowSchema, fieldComponentSchema$1 as flowsFieldComponentSchema, flowNodeSchema$1 as flowsFlowNodeSchema, stepNodeSchema$1 as flowsStepNodeSchema, fontDetailsSchema, fontsSchema, formControlSchema, formInsertSchema, formNodeComponentDefinition, formNodeSchema, formSchema, genericComponentSchema, genericNodeSchema, getConnectionIdentifierConfig, getLogTypeCategory, getLogTypeDescription, grantInsertSchema, grantSchema, handlerConfigSchema, hookCodeInsertSchema, hookCodeSchema, hookInsertSchema, hookSchema, hookTemplateId, hookTemplates, identitySchema, importMetadataSchema, inviteInsertSchema, inviteSchema, inviteeSchema, inviterSchema, isBlockComponent, isFieldComponent, isPlainObject, isWidgetComponent, jwksKeySchema, jwksSchema, legalComponentSchema, locationInfoSchema, logInsertSchema, logSchema, logStreamFilterSchema, logStreamInsertSchema, logStreamSchema, logStreamStatusSchema, logStreamTypeSchema, logTypeCategories, logTypeDescriptions, loginSessionAuthStrategySchema, loginSessionInsertSchema, loginSessionSchema, loginSessionStateSchema, matchSchema, migrationProviderTypeSchema, migrationSourceCredentialsSchema, migrationSourceInsertSchema, migrationSourceSchema, nodeSchema, openIDConfigurationSchema, organizationBrandingSchema, organizationConnectionInsertSchema, organizationConnectionListSchema, organizationConnectionSchema, organizationEnabledConnectionSchema, organizationInsertSchema, organizationSchema, organizationTokenQuotaSchema, pageBackgroundSchema, parseUserId, passwordInsertSchema, passwordSchema, profileDataSchema, promptScreenSchema, promptSettingSchema, proxyRouteInsertSchema, proxyRouteSchema, proxyRouteUpdateSchema, redirectActionSchema, refreshTokenInsertSchema, refreshTokenSchema, requestContextSchema, resourceServerInsertSchema, resourceServerListSchema, resourceServerOptionsSchema, resourceServerSchema, resourceServerScopeSchema, responseContextSchema, richTextComponentSchema, roleInsertSchema, roleListSchema, rolePermissionInsertSchema, rolePermissionListSchema, rolePermissionSchema, roleSchema, screenLinkSchema, sessionInsertSchema, sessionSchema, signingKeySchema, smsProviderSchema, smsSendParamsSchema, startSchema, suspiciousIpThrottlingSchema, targetSchema, tenantInsertSchema, tenantSchema, tenantSettingsSchema, themeInsertSchema, themeSchema, tokenResponseSchema, totalsSchema, uiScreenSchema, userActivitySchema, userInsertSchema, userOrganizationInsertSchema, userOrganizationSchema, userPermissionInsertSchema, userPermissionListSchema, userPermissionSchema, userPermissionWithDetailsListSchema, userPermissionWithDetailsSchema, userResponseSchema, userRoleInsertSchema, userRoleListSchema, userRoleSchema, userSchema, verificationMethodsSchema, widgetComponentSchema, widgetSchema };
11844
- export type { Action, ActionExecution, ActionExecutionError, ActionExecutionInsert, ActionExecutionLogEntry, ActionExecutionLogs, ActionExecutionResult, ActionExecutionStatus, ActionExecutionsAdapter, ActionInsert, ActionNode, ActionUpdate, ActionVersion, ActionVersionInsert, ActionVersionsAdapter, ActionsAdapter, ActiveUsersResponse, Actor, Address, AnalyticsAdapter, AnalyticsColumnMeta, AnalyticsFilters, AnalyticsGroupBy, AnalyticsInterval, AnalyticsQueryParams, AnalyticsQueryResponse, AnalyticsResource, AnalyticsUserType, AttackProtection, AuditCategory, AuditEvent, AuditEventInsert, Auth0Flow, Auth0FlowInsert, Auth0UpdateUserAction, AuthParams, AuthenticationMethod, AuthenticationMethodInsert, AuthenticationMethodType, AuthenticationMethodUpdate, AuthenticationMethodsAdapter, BaseUser, BlockComponent, BooleanField, Branding, BrandingAdapter, BreachedPasswordDetection, BruteForceProtection, ButtonComponent, CacheAdapter, CacheItem, CardsField, ChoiceField, ClaimsRequest, Client, ClientConnectionsAdapter, ClientGrant, ClientGrantInsert, ClientGrantList, ClientGrantsAdapter, ClientInsert, ClientRegistrationToken, ClientRegistrationTokenInsert, ClientRegistrationTokenType, ClientRegistrationTokensAdapter, ClientWithTenantId, ClientsAdapter, Code, CodeExecutionLog, CodeExecutionResult, CodeExecutor, CodeField, CodeInsert, CodeResponse, CodeType, CodesAdapter, Component, ComponentMessage, Connection, ConnectionInsert, ConnectionsAdapter, ContinuationScope, Coordinates, CountryField, CreateOptions, CreateServiceTokenFn, CreateServiceTokenParams, CreateTenantParams, CustomDomain, CustomDomainCertificateUpload, CustomDomainInsert, CustomDomainUpdate, CustomDomainWithTenantId, CustomDomainsAdapter, CustomField, CustomText, CustomTextAdapter, CustomTextEntry, DailyStats, DataAdapters, DateField, DividerComponent, DropdownField, EmailField, EmailProvider, EmailProvidersAdapter, EmailServiceAdapter, EmailServiceSendParams, EmailTemplate, EmailTemplateName, EmailTemplatesAdapter, EmailVerificationRules, EmailVerifyAction, Ending, FieldComponent, FileField, Flow, FlowActionStep, FlowActionType, FlowInsert, FlowNode, FlowsAdapter, FieldComponent$1 as FlowsFieldComponent, FlowNode$1 as FlowsFlowNode, StepNode$1 as FlowsStepNode, Form, FormControl, FormInsert, FormNode, FormNodeComponent, FormsAdapter, GenericComponent, GenericNode, GeoAdapter, GeoInfo, GmapsAddressWidget, Grant, GrantInsert, GrantsAdapter, HandlerConfig, Hook, HookCode, HookCodeAdapter, HookCodeInsert, HookInsert, HookTemplateId, HooksAdapter, HtmlComponent, Identity, ImageComponent, ImportMetadata, Invite, InviteInsert, Invitee, Inviter, InvitesAdapter, JumpButtonComponent, Jwk, Jwks, KeysAdapter, LegalComponent, LegalField, ListActionVersionsResponse, ListActionsResponse, ListClientGrantsResponse, ListCodesResponse, ListConnectionsResponse, ListFailedEventsResponse, ListFlowsResponse, ListFormsResponse, ListGrantsResponse, ListHooksResponse, ListInvitesResponse, ListKeysResponse, ListOrganizationsResponse, ListParams, ListProxyRoutesParams, ListProxyRoutesResult, ListRefreshTokenResponse, ListResourceServersResponse, ListRolesResponse, ListSesssionsResponse, ListUserRolesResponse, ListUsersResponse, Log, LogCategory, LogInsert, LogStream, LogStreamInsert, LogStreamsAdapter, LogType, LoginSession, LoginSessionAuthStrategy, LoginSessionInsert, LoginSessionsAdapter, LogsDataAdapter, MigrationProviderType, MigrationSource, MigrationSourceCredentials, MigrationSourceInsert, MigrationSourcesAdapter, NextButtonComponent, Node, NumberField, Organization, OrganizationConnection, OrganizationConnectionInsert, OrganizationConnectionList, OrganizationConnectionsAdapter, OrganizationInsert, OrganizationsAdapter, OutboxAdapter, OutboxEvent, PassthroughConfig, Password, PasswordField, PasswordInsert, PasswordsAdapter, PaymentField, PostUsersBody, PreviousButtonComponent, PromptScreen, PromptSetting, PromptSettingsAdapter, ProxyRoute, ProxyRouteInsert, ProxyRouteUpdate, ProxyRoutesAdapter, RateLimitAdapter, RateLimitDecision, RateLimitScope, RecaptchaWidget, RedirectAction, RedirectTarget, RefreshToken, RefreshTokenInsert, RefreshTokensAdapter, RequestContext, ResendButtonComponent, ResourceServer, ResourceServerInsert, ResourceServerList, ResourceServerOptions, ResourceServerScope, ResourceServersAdapter, ResponseContext, RichTextComponent, Role, RoleInsert, RoleList, RolePermission, RolePermissionInsert, RolePermissionList, RolePermissionsAdapter, RolesAdapter, RouteMatch, RouterNode, RuntimeComponent, ScreenLink, SecondaryAdapterConfig, Session, SessionCleanupParams, SessionInsert, SessionsAdapter, SigningKey, SmsProvider, SmsSendParams, SmsServiceAdapter, SmsServiceSendParams, SocialField, Start, StatsAdapter, StatsListParams, StepNode, SuspiciousIpThrottling, Target, TelField, Tenant, TenantSettings, TenantSettingsAdapter, TenantsDataAdapter, TextField, Theme, ThemeInsert, ThemesAdapter, TokenResponse, Totals, UiScreen, UniversalLoginTemplate, UniversalLoginTemplatesAdapter, UpdateRefreshTokenOptions, UrlField, User, UserActivity, UserActivityAdapter, UserActivityUpdate, UserDataAdapter, UserInsert, UserOrganization, UserOrganizationInsert, UserOrganizationsAdapter, UserPermission, UserPermissionInsert, UserPermissionList, UserPermissionWithDetails, UserPermissionWithDetailsList, UserPermissionsAdapter, UserResponse, UserRole, UserRoleInsert, UserRoleList, UserRolesAdapter, VerifiableCredentialsWidget, VerificationMethods, WidgetComponent };
12152
+ export { Auth0ActionEnum, Auth0Client, AuthorizationResponseMode, AuthorizationResponseType, CodeChallengeMethod, ComponentCategory, ComponentType, EmailActionEnum, FORM_FIELD_TYPES, FlowActionTypeEnum, GrantType, LocationInfo, LogTypes, LoginSessionState, NodeType, RedirectTargetEnum, Strategy, StrategyType, actionDependencySchema, actionExecutionErrorSchema, actionExecutionInsertSchema, actionExecutionLogEntrySchema, actionExecutionLogsSchema, actionExecutionResultSchema, actionExecutionSchema, actionExecutionStatusSchema, actionExecutionTriggerIdSchema, actionInsertSchema, actionNodeSchema, actionSchema, actionSecretSchema, actionTriggerSchema, actionUpdateSchema, actionVersionInsertSchema, actionVersionSchema, activeUsersResponseSchema, actorSchema, addressSchema, analyticsColumnMetaSchema, analyticsGroupBySchema, analyticsIntervalSchema, analyticsQueryResponseSchema, analyticsResourceSchema, analyticsStatisticsSchema, analyticsUserTypeSchema, attackProtectionSchema, auditCategorySchema, auditEventInsertSchema, auditEventSchema, auth0ClientSchema, auth0FlowInsertSchema, auth0FlowSchema, auth0QuerySchema, auth0UpdateUserActionSchema, auth0UserResponseSchema, authParamsSchema, authenticationMethodInsertSchema, authenticationMethodSchema, authenticationMethodTypeSchema, baseUserSchema, blockComponentSchema, bordersSchema, brandingSchema, breachedPasswordDetectionSchema, bruteForceProtectionSchema, buttonComponentSchema, claimsRequestSchema, clientGrantInsertSchema, clientGrantListSchema, clientGrantSchema, clientInsertSchema, clientRegistrationTokenInsertSchema, clientRegistrationTokenSchema, clientRegistrationTokenTypeSchema, clientSchema, codeInsertSchema, codeSchema, codeTypeSchema, colorsSchema, componentMessageSchema, componentSchema, connectionInsertSchema, connectionOptionsSchema, connectionSchema, coordinatesSchema, createPassthroughAdapter, createWriteOnlyAdapter, customDomainCertificateUploadSchema, customDomainInsertSchema, customDomainSchema, customDomainUpdateSchema, customDomainWithTenantIdSchema, customTextEntrySchema, customTextSchema, dailyStatsSchema, emailProviderSchema, emailTemplateNameSchema, emailTemplateSchema, emailVerificationRulesSchema, emailVerifyActionSchema, endingSchema, fieldComponentSchema, flowActionStepSchema, flowInsertSchema, flowSchema, fieldComponentSchema$1 as flowsFieldComponentSchema, flowNodeSchema$1 as flowsFlowNodeSchema, stepNodeSchema$1 as flowsStepNodeSchema, fontDetailsSchema, fontsSchema, formControlSchema, formInsertSchema, formNodeComponentDefinition, formNodeSchema, formSchema, genericComponentSchema, genericNodeSchema, getConnectionIdentifierConfig, getLogTypeCategory, getLogTypeDescription, grantInsertSchema, grantSchema, handlerConfigSchema, hookCodeInsertSchema, hookCodeSchema, hookInsertSchema, hookSchema, hookTemplateId, hookTemplates, identitySchema, importMetadataSchema, inviteInsertSchema, inviteSchema, inviteeSchema, inviterSchema, isBlockComponent, isFieldComponent, isPlainObject, isWidgetComponent, jwksKeySchema, jwksSchema, legalComponentSchema, locationInfoSchema, logInsertSchema, logSchema, logStreamFilterSchema, logStreamInsertSchema, logStreamSchema, logStreamStatusSchema, logStreamTypeSchema, logTypeCategories, logTypeDescriptions, loginSessionAuthStrategySchema, loginSessionInsertSchema, loginSessionSchema, loginSessionStateSchema, matchSchema, migrationProviderTypeSchema, migrationSourceCredentialsSchema, migrationSourceInsertSchema, migrationSourceSchema, nodeSchema, openIDConfigurationSchema, organizationBrandingSchema, organizationConnectionInsertSchema, organizationConnectionListSchema, organizationConnectionSchema, organizationEnabledConnectionSchema, organizationInsertSchema, organizationSchema, organizationTokenQuotaSchema, pageBackgroundSchema, parseUserId, passwordInsertSchema, passwordSchema, profileDataSchema, promptScreenSchema, promptSettingSchema, proxyRouteInsertSchema, proxyRouteSchema, proxyRouteUpdateSchema, redirectActionSchema, refreshTokenInsertSchema, refreshTokenSchema, requestContextSchema, resourceServerInsertSchema, resourceServerListSchema, resourceServerOptionsSchema, resourceServerSchema, resourceServerScopeSchema, responseContextSchema, richTextComponentSchema, roleInsertSchema, roleListSchema, rolePermissionInsertSchema, rolePermissionListSchema, rolePermissionSchema, roleSchema, rolloutInsertSchema, rolloutKindSchema, rolloutSchema, rolloutStatusSchema, rolloutUpdateSchema, screenLinkSchema, sessionInsertSchema, sessionSchema, signingKeySchema, smsProviderSchema, smsSendParamsSchema, startSchema, suspiciousIpThrottlingSchema, targetSchema, tenantInsertSchema, tenantOperationEngineSchema, tenantOperationEventInsertSchema, tenantOperationEventOutcomeSchema, tenantOperationEventSchema, tenantOperationInsertSchema, tenantOperationKindSchema, tenantOperationSchema, tenantOperationStatusSchema, tenantOperationUpdateSchema, tenantSchema, tenantSettingsSchema, themeInsertSchema, themeSchema, tokenResponseSchema, totalsSchema, uiScreenSchema, userActivitySchema, userInsertSchema, userOrganizationInsertSchema, userOrganizationSchema, userPermissionInsertSchema, userPermissionListSchema, userPermissionSchema, userPermissionWithDetailsListSchema, userPermissionWithDetailsSchema, userResponseSchema, userRoleInsertSchema, userRoleListSchema, userRoleSchema, userSchema, verificationMethodsSchema, widgetComponentSchema, widgetSchema };
12153
+ export type { Action, ActionExecution, ActionExecutionError, ActionExecutionInsert, ActionExecutionLogEntry, ActionExecutionLogs, ActionExecutionResult, ActionExecutionStatus, ActionExecutionsAdapter, ActionInsert, ActionNode, ActionUpdate, ActionVersion, ActionVersionInsert, ActionVersionsAdapter, ActionsAdapter, ActiveUsersResponse, Actor, Address, AnalyticsAdapter, AnalyticsColumnMeta, AnalyticsFilters, AnalyticsGroupBy, AnalyticsInterval, AnalyticsQueryParams, AnalyticsQueryResponse, AnalyticsResource, AnalyticsUserType, AttackProtection, AuditCategory, AuditEvent, AuditEventInsert, Auth0Flow, Auth0FlowInsert, Auth0UpdateUserAction, AuthParams, AuthenticationMethod, AuthenticationMethodInsert, AuthenticationMethodType, AuthenticationMethodUpdate, AuthenticationMethodsAdapter, BaseUser, BlockComponent, BooleanField, Branding, BrandingAdapter, BreachedPasswordDetection, BruteForceProtection, ButtonComponent, CacheAdapter, CacheItem, CardsField, ChoiceField, ClaimsRequest, Client, ClientConnectionsAdapter, ClientGrant, ClientGrantInsert, ClientGrantList, ClientGrantsAdapter, ClientInsert, ClientRegistrationToken, ClientRegistrationTokenInsert, ClientRegistrationTokenType, ClientRegistrationTokensAdapter, ClientWithTenantId, ClientsAdapter, Code, CodeExecutionLog, CodeExecutionResult, CodeExecutor, CodeField, CodeInsert, CodeResponse, CodeType, CodesAdapter, Component, ComponentMessage, Connection, ConnectionInsert, ConnectionsAdapter, ContinuationScope, Coordinates, CountryField, CreateOptions, CreateServiceTokenFn, CreateServiceTokenParams, CreateTenantParams, CustomDomain, CustomDomainCertificateUpload, CustomDomainInsert, CustomDomainUpdate, CustomDomainWithTenantId, CustomDomainsAdapter, CustomField, CustomText, CustomTextAdapter, CustomTextEntry, DailyStats, DataAdapters, DateField, DividerComponent, DropdownField, EmailField, EmailProvider, EmailProvidersAdapter, EmailServiceAdapter, EmailServiceSendParams, EmailTemplate, EmailTemplateName, EmailTemplatesAdapter, EmailVerificationRules, EmailVerifyAction, Ending, FieldComponent, FileField, Flow, FlowActionStep, FlowActionType, FlowInsert, FlowNode, FlowsAdapter, FieldComponent$1 as FlowsFieldComponent, FlowNode$1 as FlowsFlowNode, StepNode$1 as FlowsStepNode, Form, FormControl, FormInsert, FormNode, FormNodeComponent, FormsAdapter, GenericComponent, GenericNode, GeoAdapter, GeoInfo, GmapsAddressWidget, Grant, GrantInsert, GrantsAdapter, HandlerConfig, Hook, HookCode, HookCodeAdapter, HookCodeInsert, HookInsert, HookTemplateId, HooksAdapter, HtmlComponent, Identity, ImageComponent, ImportMetadata, Invite, InviteInsert, Invitee, Inviter, InvitesAdapter, JumpButtonComponent, Jwk, Jwks, KeysAdapter, LegalComponent, LegalField, ListActionVersionsResponse, ListActionsResponse, ListClientGrantsResponse, ListCodesResponse, ListConnectionsResponse, ListFailedEventsResponse, ListFlowsResponse, ListFormsResponse, ListGrantsResponse, ListHooksResponse, ListInvitesResponse, ListKeysResponse, ListOrganizationsResponse, ListParams, ListProxyRoutesParams, ListProxyRoutesResult, ListRefreshTokenResponse, ListResourceServersResponse, ListRolesResponse, ListRolloutsResult, ListSesssionsResponse, ListTenantOperationEventsResult, ListTenantOperationsParams, ListTenantOperationsResult, ListUserRolesResponse, ListUsersResponse, Log, LogCategory, LogInsert, LogStream, LogStreamInsert, LogStreamsAdapter, LogType, LoginSession, LoginSessionAuthStrategy, LoginSessionInsert, LoginSessionsAdapter, LogsDataAdapter, MigrationProviderType, MigrationSource, MigrationSourceCredentials, MigrationSourceInsert, MigrationSourcesAdapter, NextButtonComponent, Node, NumberField, Organization, OrganizationConnection, OrganizationConnectionInsert, OrganizationConnectionList, OrganizationConnectionsAdapter, OrganizationInsert, OrganizationsAdapter, OutboxAdapter, OutboxEvent, PassthroughConfig, Password, PasswordField, PasswordInsert, PasswordsAdapter, PaymentField, PostUsersBody, PreviousButtonComponent, PromptScreen, PromptSetting, PromptSettingsAdapter, ProxyRoute, ProxyRouteInsert, ProxyRouteUpdate, ProxyRoutesAdapter, RateLimitAdapter, RateLimitDecision, RateLimitScope, RecaptchaWidget, RedirectAction, RedirectTarget, RefreshToken, RefreshTokenInsert, RefreshTokensAdapter, RequestContext, ResendButtonComponent, ResourceServer, ResourceServerInsert, ResourceServerList, ResourceServerOptions, ResourceServerScope, ResourceServersAdapter, ResponseContext, RichTextComponent, Role, RoleInsert, RoleList, RolePermission, RolePermissionInsert, RolePermissionList, RolePermissionsAdapter, RolesAdapter, Rollout, RolloutInsert, RolloutKind, RolloutStatus, RolloutUpdate, RolloutsAdapter, RouteMatch, RouterNode, RuntimeComponent, ScreenLink, SecondaryAdapterConfig, Session, SessionCleanupParams, SessionInsert, SessionsAdapter, SigningKey, SmsProvider, SmsSendParams, SmsServiceAdapter, SmsServiceSendParams, SocialField, Start, StatsAdapter, StatsListParams, StepNode, SuspiciousIpThrottling, Target, TelField, Tenant, TenantOperation, TenantOperationEngine, TenantOperationEvent, TenantOperationEventInsert, TenantOperationEventOutcome, TenantOperationEventsAdapter, TenantOperationInsert, TenantOperationKind, TenantOperationStatus, TenantOperationUpdate, TenantOperationsAdapter, TenantSettings, TenantSettingsAdapter, TenantsDataAdapter, TextField, Theme, ThemeInsert, ThemesAdapter, TokenResponse, Totals, UiScreen, UniversalLoginTemplate, UniversalLoginTemplatesAdapter, UpdateRefreshTokenOptions, UrlField, User, UserActivity, UserActivityAdapter, UserActivityUpdate, UserDataAdapter, UserInsert, UserOrganization, UserOrganizationInsert, UserOrganizationsAdapter, UserPermission, UserPermissionInsert, UserPermissionList, UserPermissionWithDetails, UserPermissionWithDetailsList, UserPermissionsAdapter, UserResponse, UserRole, UserRoleInsert, UserRoleList, UserRolesAdapter, VerifiableCredentialsWidget, VerificationMethods, WidgetComponent };