@authhero/adapter-interfaces 3.4.1 → 3.6.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",
@@ -10090,6 +10314,23 @@ declare const grantSchema: z.ZodObject<{
10090
10314
  }, z.core.$strip>;
10091
10315
  type Grant = z.infer<typeof grantSchema>;
10092
10316
 
10317
+ /**
10318
+ * Write-often per-user counters split out of the `users` row (issue #1003) so
10319
+ * the profile row isn't rewritten on every login / failed password attempt.
10320
+ * 1:1 with a user, keyed by `(tenant_id, user_id)`.
10321
+ */
10322
+ declare const userActivitySchema: z.ZodObject<{
10323
+ user_id: z.ZodString;
10324
+ last_login: z.ZodOptional<z.ZodString>;
10325
+ last_ip: z.ZodOptional<z.ZodString>;
10326
+ login_count: z.ZodDefault<z.ZodNumber>;
10327
+ failed_logins: z.ZodOptional<z.ZodArray<z.ZodString>>;
10328
+ last_password_reset: z.ZodOptional<z.ZodString>;
10329
+ }, z.core.$strip>;
10330
+ type UserActivity = z.infer<typeof userActivitySchema>;
10331
+ /** Partial payload for an upsert — only the provided fields are written. */
10332
+ type UserActivityUpdate = Partial<Omit<UserActivity, "user_id">>;
10333
+
10093
10334
  declare const userPermissionInsertSchema: z.ZodObject<{
10094
10335
  user_id: z.ZodString;
10095
10336
  resource_server_identifier: z.ZodString;
@@ -11329,6 +11570,15 @@ interface GrantsAdapter {
11329
11570
  removeByUser: (tenant_id: string, user_id: string) => Promise<boolean>;
11330
11571
  }
11331
11572
 
11573
+ interface UserActivityAdapter {
11574
+ get(tenantId: string, userId: string): Promise<UserActivity | null>;
11575
+ /**
11576
+ * Insert or merge-update the activity row for a user. Only the provided
11577
+ * fields are written; previously-stored fields are preserved.
11578
+ */
11579
+ upsert(tenantId: string, userId: string, activity: UserActivityUpdate): Promise<void>;
11580
+ }
11581
+
11332
11582
  interface UserPermissionsAdapter {
11333
11583
  create(tenant_id: string, user_id: string, permission: UserPermissionInsert, organization_id?: string, options?: CreateOptions): Promise<boolean>;
11334
11584
  remove(tenant_id: string, user_id: string, permission: Pick<UserPermissionInsert, "resource_server_identifier" | "permission_name">, organization_id?: string): Promise<boolean>;
@@ -11615,6 +11865,73 @@ interface RateLimitAdapter {
11615
11865
  consume(scope: RateLimitScope, key: string): Promise<RateLimitDecision>;
11616
11866
  }
11617
11867
 
11868
+ /**
11869
+ * Tenant operations are control-plane entities (like `tenants` itself), so
11870
+ * the adapter is unscoped: `tenant_id` is a list filter, not a scoping
11871
+ * argument, and is null for fleet-level operations.
11872
+ */
11873
+ interface ListTenantOperationsParams extends ListParams {
11874
+ tenant_id?: string;
11875
+ rollout_id?: string;
11876
+ kind?: TenantOperationKind;
11877
+ /** Single status or a set (the reconciler queries pending + running). */
11878
+ status?: TenantOperationStatus | TenantOperationStatus[];
11879
+ engine?: TenantOperationEngine;
11880
+ /** Only operations whose `updated_at` is strictly before this ISO timestamp. */
11881
+ updated_before?: string;
11882
+ }
11883
+ interface ListTenantOperationsResult {
11884
+ operations: TenantOperation[];
11885
+ start: number;
11886
+ limit: number;
11887
+ length: number;
11888
+ }
11889
+ interface TenantOperationsAdapter {
11890
+ /** Generates the `op_<nanoid>` id and inserts with status `pending`. */
11891
+ create(operation: TenantOperationInsert): Promise<TenantOperation>;
11892
+ get(id: string): Promise<TenantOperation | null>;
11893
+ /** Default sort: `created_at` descending. */
11894
+ list(params?: ListTenantOperationsParams): Promise<ListTenantOperationsResult>;
11895
+ /** Always bumps `updated_at`. */
11896
+ update(id: string, operation: TenantOperationUpdate): Promise<boolean>;
11897
+ /** Retention cleanup only — not exposed via routes; events cascade. */
11898
+ remove(id: string): Promise<boolean>;
11899
+ }
11900
+
11901
+ interface ListTenantOperationEventsResult {
11902
+ events: TenantOperationEvent[];
11903
+ start: number;
11904
+ limit: number;
11905
+ length: number;
11906
+ }
11907
+ /**
11908
+ * Append-only step history for tenant operations — no update or remove;
11909
+ * rows are deleted only via the cascade when their operation is removed.
11910
+ */
11911
+ interface TenantOperationEventsAdapter {
11912
+ /** Generates the `evt_<nanoid>` id. */
11913
+ create(event: TenantOperationEventInsert): Promise<TenantOperationEvent>;
11914
+ /** Ordered `created_at` ascending (id as tiebreak). */
11915
+ listByOperation(operation_id: string, params?: ListParams): Promise<ListTenantOperationEventsResult>;
11916
+ }
11917
+
11918
+ interface ListRolloutsResult {
11919
+ rollouts: Rollout[];
11920
+ start: number;
11921
+ limit: number;
11922
+ length: number;
11923
+ }
11924
+ interface RolloutsAdapter {
11925
+ /** Generates the `rol_<nanoid>` id and inserts with status `pending`. */
11926
+ create(rollout: RolloutInsert): Promise<Rollout>;
11927
+ get(id: string): Promise<Rollout | null>;
11928
+ /** Default sort: `created_at` descending. */
11929
+ list(params?: ListParams): Promise<ListRolloutsResult>;
11930
+ /** Always bumps `updated_at`. */
11931
+ update(id: string, rollout: RolloutUpdate): Promise<boolean>;
11932
+ remove(id: string): Promise<boolean>;
11933
+ }
11934
+
11618
11935
  interface CodeExecutionLog {
11619
11936
  level: "log" | "info" | "warn" | "error" | "debug";
11620
11937
  message: string;
@@ -11733,6 +12050,14 @@ interface DataAdapters {
11733
12050
  * `/api/v2/client-grants`, which is `clientGrants` above).
11734
12051
  */
11735
12052
  grants?: GrantsAdapter;
12053
+ /**
12054
+ * Optional write-often per-user activity counters (last_login, last_ip,
12055
+ * login_count, …) split out of the `users` row (issue #1003). When set, the
12056
+ * login flow double-writes these alongside the legacy `users` columns during
12057
+ * the expand/contract migration. When undefined, only the legacy columns are
12058
+ * written.
12059
+ */
12060
+ userActivity?: UserActivityAdapter;
11736
12061
  userPermissions: UserPermissionsAdapter;
11737
12062
  roles: RolesAdapter;
11738
12063
  sessions: SessionsAdapter;
@@ -11744,6 +12069,23 @@ interface DataAdapters {
11744
12069
  */
11745
12070
  analytics?: AnalyticsAdapter;
11746
12071
  tenants: TenantsDataAdapter;
12072
+ /**
12073
+ * Optional control-plane log of durable tenant lifecycle operations
12074
+ * (provision / seed / upgrade / backup / deprovision — issue #1026).
12075
+ * The tenant row's provisioning fields remain the current-state snapshot;
12076
+ * these rows are the append-only history explaining how it got there.
12077
+ * When set (together with `tenantOperationEvents`), AuthHero mounts the
12078
+ * `/api/v2/operations` and `/api/v2/tenants/:id/operations` management
12079
+ * routes and lifecycle hooks record every provision run.
12080
+ */
12081
+ tenantOperations?: TenantOperationsAdapter;
12082
+ /** Per-step history rows for `tenantOperations`; append-only. */
12083
+ tenantOperationEvents?: TenantOperationEventsAdapter;
12084
+ /**
12085
+ * Optional fleet rollout records (issue #1026). Phase 1 ships the table
12086
+ * and CRUD only; the wave/canary coordinator and routes come later.
12087
+ */
12088
+ rollouts?: RolloutsAdapter;
11747
12089
  themes: ThemesAdapter;
11748
12090
  universalLoginTemplates: UniversalLoginTemplatesAdapter;
11749
12091
  customText: CustomTextAdapter;
@@ -11806,5 +12148,5 @@ interface DataAdapters {
11806
12148
  };
11807
12149
  }
11808
12150
 
11809
- 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, userInsertSchema, userOrganizationInsertSchema, userOrganizationSchema, userPermissionInsertSchema, userPermissionListSchema, userPermissionSchema, userPermissionWithDetailsListSchema, userPermissionWithDetailsSchema, userResponseSchema, userRoleInsertSchema, userRoleListSchema, userRoleSchema, userSchema, verificationMethodsSchema, widgetComponentSchema, widgetSchema };
11810
- 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, UserDataAdapter, UserInsert, UserOrganization, UserOrganizationInsert, UserOrganizationsAdapter, UserPermission, UserPermissionInsert, UserPermissionList, UserPermissionWithDetails, UserPermissionWithDetailsList, UserPermissionsAdapter, UserResponse, UserRole, UserRoleInsert, UserRoleList, UserRolesAdapter, VerifiableCredentialsWidget, VerificationMethods, WidgetComponent };
12151
+ 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 };
12152
+ 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 };