@authhero/adapter-interfaces 4.12.0 → 4.13.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.
@@ -9560,6 +9560,7 @@ declare const tenantOperationKindSchema: z.ZodEnum<{
9560
9560
  upgrade: "upgrade";
9561
9561
  backup: "backup";
9562
9562
  deprovision: "deprovision";
9563
+ users_import: "users_import";
9563
9564
  }>;
9564
9565
  type TenantOperationKind = z.infer<typeof tenantOperationKindSchema>;
9565
9566
  declare const tenantOperationStatusSchema: z.ZodEnum<{
@@ -9570,11 +9571,22 @@ declare const tenantOperationStatusSchema: z.ZodEnum<{
9570
9571
  cancelled: "cancelled";
9571
9572
  }>;
9572
9573
  type TenantOperationStatus = z.infer<typeof tenantOperationStatusSchema>;
9573
- declare const tenantOperationEngineSchema: z.ZodEnum<{
9574
- inline: "inline";
9575
- "cloudflare-workflows": "cloudflare-workflows";
9576
- }>;
9574
+ /**
9575
+ * Which driver advances an operation. Deliberately an open string, not an
9576
+ * enum: the engine name is recorded in a core database column, so closing
9577
+ * it here would bake vendor names into the schema and lock out
9578
+ * self-hosters running their own driver (pg-boss, BullMQ, SQS, a plain
9579
+ * cron). The values AuthHero ships are {@link KNOWN_TENANT_OPERATION_ENGINES}.
9580
+ *
9581
+ * Durability never depends on this value. Operation progress is checkpointed
9582
+ * in the database (for `users_import`, one `tenant_operation_rows` row per
9583
+ * user), so a crashed driver loses nothing and any other driver can resume
9584
+ * the work.
9585
+ */
9586
+ declare const tenantOperationEngineSchema: z.ZodString;
9577
9587
  type TenantOperationEngine = z.infer<typeof tenantOperationEngineSchema>;
9588
+ /** Engines AuthHero ships. Not exhaustive — the column accepts any name. */
9589
+ declare const KNOWN_TENANT_OPERATION_ENGINES: readonly ["inline", "cloudflare-workflows"];
9578
9590
  declare const tenantOperationInsertSchema: z.ZodObject<{
9579
9591
  tenant_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
9580
9592
  rollout_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9584,15 +9596,14 @@ declare const tenantOperationInsertSchema: z.ZodObject<{
9584
9596
  upgrade: "upgrade";
9585
9597
  backup: "backup";
9586
9598
  deprovision: "deprovision";
9599
+ users_import: "users_import";
9587
9600
  }>;
9588
- engine: z.ZodEnum<{
9589
- inline: "inline";
9590
- "cloudflare-workflows": "cloudflare-workflows";
9591
- }>;
9601
+ engine: z.ZodString;
9592
9602
  engine_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9593
9603
  target_worker_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9594
9604
  target_database_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9595
9605
  initiated_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9606
+ input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9596
9607
  }, z.core.$strip>;
9597
9608
  type TenantOperationInsert = z.input<typeof tenantOperationInsertSchema>;
9598
9609
  declare const tenantOperationSchema: z.ZodObject<{
@@ -9604,15 +9615,14 @@ declare const tenantOperationSchema: z.ZodObject<{
9604
9615
  upgrade: "upgrade";
9605
9616
  backup: "backup";
9606
9617
  deprovision: "deprovision";
9618
+ users_import: "users_import";
9607
9619
  }>;
9608
- engine: z.ZodEnum<{
9609
- inline: "inline";
9610
- "cloudflare-workflows": "cloudflare-workflows";
9611
- }>;
9620
+ engine: z.ZodString;
9612
9621
  engine_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9613
9622
  target_worker_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9614
9623
  target_database_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9615
9624
  initiated_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9625
+ input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9616
9626
  id: z.ZodString;
9617
9627
  status: z.ZodEnum<{
9618
9628
  pending: "pending";
@@ -9623,6 +9633,9 @@ declare const tenantOperationSchema: z.ZodObject<{
9623
9633
  }>;
9624
9634
  current_step: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9625
9635
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9636
+ result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9637
+ claimed_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9638
+ claim_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9626
9639
  created_at: z.ZodString;
9627
9640
  updated_at: z.ZodString;
9628
9641
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9641,6 +9654,9 @@ declare const tenantOperationUpdateSchema: z.ZodObject<{
9641
9654
  target_worker_version: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9642
9655
  target_database_version: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9643
9656
  current_step: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9657
+ result: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
9658
+ claimed_by: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9659
+ claim_expires_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9644
9660
  finished_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9645
9661
  }, z.core.$strip>;
9646
9662
  type TenantOperationUpdate = z.infer<typeof tenantOperationUpdateSchema>;
@@ -9693,6 +9709,92 @@ declare const tenantOperationEventSchema: z.ZodObject<{
9693
9709
  }, z.core.$strip>;
9694
9710
  type TenantOperationEvent = z.infer<typeof tenantOperationEventSchema>;
9695
9711
 
9712
+ /**
9713
+ * Per-item checkpoint for a batch tenant operation (issue #1325).
9714
+ *
9715
+ * One row per item in the operation's input — for `users_import`, one per
9716
+ * user in the uploaded file. This table is what makes a batch operation
9717
+ * durable and resumable: an item is staged as `pending`, and its terminal
9718
+ * status is committed in the same chunk that performs the write. A driver
9719
+ * that dies mid-run leaves its unprocessed items `pending`, so any other
9720
+ * driver (a cron sweep, a workflow step, a later request) resumes exactly
9721
+ * where it stopped, without re-doing committed work.
9722
+ *
9723
+ * Durability therefore does not depend on the execution engine — engines
9724
+ * only decide *who* advances the operation and *how fast*.
9725
+ */
9726
+ declare const tenantOperationRowStatusSchema: z.ZodEnum<{
9727
+ pending: "pending";
9728
+ failed: "failed";
9729
+ skipped: "skipped";
9730
+ inserted: "inserted";
9731
+ updated: "updated";
9732
+ }>;
9733
+ type TenantOperationRowStatus = z.infer<typeof tenantOperationRowStatusSchema>;
9734
+ /** Terminal statuses — a row in any of these is never reprocessed. */
9735
+ declare const TERMINAL_TENANT_OPERATION_ROW_STATUSES: readonly TenantOperationRowStatus[];
9736
+ declare const tenantOperationRowInsertSchema: z.ZodObject<{
9737
+ operation_id: z.ZodString;
9738
+ seq: z.ZodNumber;
9739
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9740
+ status: z.ZodDefault<z.ZodEnum<{
9741
+ pending: "pending";
9742
+ failed: "failed";
9743
+ skipped: "skipped";
9744
+ inserted: "inserted";
9745
+ updated: "updated";
9746
+ }>>;
9747
+ error_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9748
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9749
+ error_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9750
+ entity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9751
+ }, z.core.$strip>;
9752
+ type TenantOperationRowInsert = z.input<typeof tenantOperationRowInsertSchema>;
9753
+ declare const tenantOperationRowSchema: z.ZodObject<{
9754
+ operation_id: z.ZodString;
9755
+ seq: z.ZodNumber;
9756
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9757
+ error_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9758
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9759
+ error_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9760
+ entity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9761
+ status: z.ZodEnum<{
9762
+ pending: "pending";
9763
+ failed: "failed";
9764
+ skipped: "skipped";
9765
+ inserted: "inserted";
9766
+ updated: "updated";
9767
+ }>;
9768
+ created_at: z.ZodString;
9769
+ updated_at: z.ZodString;
9770
+ }, z.core.$strip>;
9771
+ type TenantOperationRow = z.infer<typeof tenantOperationRowSchema>;
9772
+ /** The per-item outcome a processor reports back for one staged row. */
9773
+ declare const tenantOperationRowOutcomeSchema: z.ZodObject<{
9774
+ seq: z.ZodNumber;
9775
+ status: z.ZodEnum<{
9776
+ pending: "pending";
9777
+ failed: "failed";
9778
+ skipped: "skipped";
9779
+ inserted: "inserted";
9780
+ updated: "updated";
9781
+ }>;
9782
+ error_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9783
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9784
+ error_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9785
+ entity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9786
+ }, z.core.$strip>;
9787
+ type TenantOperationRowOutcome = z.infer<typeof tenantOperationRowOutcomeSchema>;
9788
+ /** Count of rows in each status, used to build a job summary. */
9789
+ interface TenantOperationRowCounts {
9790
+ total: number;
9791
+ pending: number;
9792
+ inserted: number;
9793
+ updated: number;
9794
+ failed: number;
9795
+ skipped: number;
9796
+ }
9797
+
9696
9798
  /**
9697
9799
  * Fleet operation coordinating per-tenant operations in waves with a canary
9698
9800
  * and a health gate (issue #1026). Progress is derived by querying
@@ -12682,6 +12784,36 @@ interface TenantOperationsAdapter {
12682
12784
  list(params?: ListTenantOperationsParams): Promise<ListTenantOperationsResult>;
12683
12785
  /** Always bumps `updated_at`. */
12684
12786
  update(id: string, operation: TenantOperationUpdate): Promise<boolean>;
12787
+ /**
12788
+ * Atomically take the lease on an operation so only one driver advances
12789
+ * it at a time. Succeeds when the operation is unclaimed or its existing
12790
+ * lease has expired (or is already held by `worker_id`, making re-claim
12791
+ * by the same worker a no-op); returns false when another live worker
12792
+ * holds it.
12793
+ *
12794
+ * The lease is an efficiency guard, not a correctness guard — per-item
12795
+ * checkpoints in `tenant_operation_rows` are what keep a batch operation
12796
+ * correct if two drivers ever overlap. Implementations MUST perform the
12797
+ * check and the write in a single conditional statement.
12798
+ */
12799
+ claim(id: string, worker_id: string, leaseMs: number): Promise<boolean>;
12800
+ /**
12801
+ * Release a lease held by `worker_id`. Returns false when the lease has
12802
+ * since been taken by someone else, in which case the caller must not
12803
+ * assume its own writes were the last ones.
12804
+ */
12805
+ release(id: string, worker_id: string): Promise<boolean>;
12806
+ /**
12807
+ * Operations that still have work to do and are free to be picked up:
12808
+ * status `pending` or `running`, matching `kind`, whose lease is absent
12809
+ * or expired. Ordered `created_at` ascending so the oldest unfinished
12810
+ * work drains first. Backs the resume sweep that guarantees a batch
12811
+ * completes even when every driver that touched it died.
12812
+ */
12813
+ listResumable(params: {
12814
+ kind: TenantOperationKind;
12815
+ limit: number;
12816
+ }): Promise<TenantOperation[]>;
12685
12817
  /** Retention cleanup only — not exposed via routes; events cascade. */
12686
12818
  remove(id: string): Promise<boolean>;
12687
12819
  }
@@ -12703,6 +12835,62 @@ interface TenantOperationEventsAdapter {
12703
12835
  listByOperation(operation_id: string, params?: ListParams): Promise<ListTenantOperationEventsResult>;
12704
12836
  }
12705
12837
 
12838
+ interface ListTenantOperationRowsParams extends ListParams {
12839
+ /** Single status or a set (the errors endpoint queries `failed`). */
12840
+ status?: TenantOperationRowStatus | TenantOperationRowStatus[];
12841
+ }
12842
+ interface ListTenantOperationRowsResult {
12843
+ rows: TenantOperationRow[];
12844
+ start: number;
12845
+ limit: number;
12846
+ length: number;
12847
+ }
12848
+ /**
12849
+ * Per-item checkpoints for batch tenant operations (issue #1325).
12850
+ *
12851
+ * Like `tenantOperations` this is a control-plane adapter, so it is
12852
+ * unscoped — rows are addressed by `operation_id`, and the operation row
12853
+ * carries the `tenant_id`.
12854
+ *
12855
+ * The contract that makes batch operations resumable: `createMany` stages
12856
+ * every item as `pending`, `claimPending` hands a worker the next slice of
12857
+ * unprocessed items, and `recordOutcomes` commits their terminal statuses.
12858
+ * An interrupted run leaves its items `pending` and is retried verbatim,
12859
+ * so implementations MUST make `recordOutcomes` atomic per call and MUST
12860
+ * NOT mutate rows that already hold a terminal status.
12861
+ */
12862
+ interface TenantOperationRowsAdapter {
12863
+ /**
12864
+ * Stage items in bulk. Implementations should insert in batches rather
12865
+ * than one statement per row — callers stage thousands at a time.
12866
+ * Returns the number of rows written.
12867
+ */
12868
+ createMany(rows: TenantOperationRowInsert[]): Promise<number>;
12869
+ /**
12870
+ * Fetch the next `limit` items still awaiting processing, ordered by
12871
+ * `seq` ascending. Does not itself lock — exclusivity between drivers
12872
+ * comes from the lease on the parent operation
12873
+ * (`TenantOperationsAdapter.claim`).
12874
+ */
12875
+ claimPending(operation_id: string, limit: number): Promise<TenantOperationRow[]>;
12876
+ /**
12877
+ * Commit terminal outcomes for processed items. Idempotent: applying an
12878
+ * outcome to a row that is already terminal is a no-op, so a retried
12879
+ * chunk cannot corrupt earlier results. Returns rows actually updated.
12880
+ */
12881
+ recordOutcomes(operation_id: string, outcomes: TenantOperationRowOutcome[]): Promise<number>;
12882
+ /** Row counts per status, used to build the operation's summary. */
12883
+ countByStatus(operation_id: string): Promise<TenantOperationRowCounts>;
12884
+ /** Paginated read, ordered by `seq` ascending. Backs the errors endpoint. */
12885
+ list(operation_id: string, params?: ListTenantOperationRowsParams): Promise<ListTenantOperationRowsResult>;
12886
+ /**
12887
+ * Retention cleanup. Also runs via the cascade when the parent operation
12888
+ * is removed; exposed separately so a sweep can drop staged payloads
12889
+ * without deleting the operation's audit record.
12890
+ */
12891
+ removeByOperation(operation_id: string): Promise<number>;
12892
+ }
12893
+
12706
12894
  interface ListRolloutsResult {
12707
12895
  rollouts: Rollout[];
12708
12896
  start: number;
@@ -12879,6 +13067,12 @@ interface DataAdapters {
12879
13067
  tenantOperations?: TenantOperationsAdapter;
12880
13068
  /** Per-step history rows for `tenantOperations`; append-only. */
12881
13069
  tenantOperationEvents?: TenantOperationEventsAdapter;
13070
+ /**
13071
+ * Per-item checkpoints for batch operations (issue #1325). Required for
13072
+ * the Auth0-compatible `POST /api/v2/jobs/users-imports` endpoints —
13073
+ * without it, batch imports cannot be staged or resumed.
13074
+ */
13075
+ tenantOperationRows?: TenantOperationRowsAdapter;
12882
13076
  /**
12883
13077
  * Optional fleet rollout records (issue #1026). Phase 1 ships the table
12884
13078
  * and CRUD only; the wave/canary coordinator and routes come later.
@@ -12946,5 +13140,5 @@ interface DataAdapters {
12946
13140
  };
12947
13141
  }
12948
13142
 
12949
- export { Auth0ActionEnum, Auth0Client, AuthorizationResponseMode, AuthorizationResponseType, CodeChallengeMethod, ComponentCategory, ComponentType, DATABASE_CONNECTION_STRATEGY, EmailActionEnum, FORM_FIELD_TYPES, FeatureNotSupportedError, FlowActionTypeEnum, GrantType, LocationInfo, LogTypes, LoginSessionState, MONDAY_EPOCH_SHIFT_MS, NodeType, PRESERVE_LOCATION_HEADER, RedirectTargetEnum, Strategy, StrategyType, TRIGGER_API_SHAPES, USERNAME_CONTAINS_AT_MESSAGE, USERNAME_INVALID_CHARACTERS_MESSAGE, WEEK_MS, actionDependencySchema, actionExecutionErrorSchema, actionExecutionInsertSchema, actionExecutionLogEntrySchema, actionExecutionLogsSchema, actionExecutionResultSchema, actionExecutionSchema, actionExecutionStatusSchema, actionExecutionTriggerIdSchema, actionInsertSchema, actionNodeSchema, actionResponseSchema, actionSchema, actionSecretNameSchema, actionSecretSchema, actionTriggerSchema, actionUpdateSchema, actionVersionInsertSchema, actionVersionSchema, activeUsersResponseSchema, actorSchema, addressSchema, allowedTriggersForHook, 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, buildRefreshTokenRetention, buildSessionRetention, 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, decodeBase32, decodeBase64, decodeBase64Url, decodeBase64UrlString, decodeCursor, emailProviderSchema, emailTemplateNameSchema, emailTemplateSchema, emailVerificationRulesSchema, emailVerifyActionSchema, encodeBase32, encodeBase64, encodeBase64Url, encodeBase64UrlString, encodeCursor, encodeHex, endingSchema, escapeLuceneValue, 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, hookPageId, hookSchema, hookTemplateId, hookTemplates, identitySchema, importMetadataSchema, inviteInsertSchema, inviteSchema, inviteeSchema, inviterSchema, isBlockComponent, isDatabaseConnectionStrategy, isEmailSearchTerm, isFeatureNotSupportedError, 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, normalizeUsername, openIDConfigurationSchema, organizationBrandingSchema, organizationConnectionInsertSchema, organizationConnectionListSchema, organizationConnectionSchema, organizationEnabledConnectionSchema, organizationInsertSchema, organizationSchema, organizationTokenQuotaSchema, pageBackgroundSchema, parseUserId, passwordInsertSchema, passwordSchema, profileDataSchema, promptScreenSchema, promptSettingSchema, proxyRouteInsertSchema, proxyRouteSchema, proxyRouteUpdateSchema, redirectActionSchema, refreshTokenInsertSchema, refreshTokenRetentionCohortSchema, refreshTokenRetentionResponseSchema, refreshTokenSchema, requestContextSchema, resourceServerInsertSchema, resourceServerListSchema, resourceServerOptionsSchema, resourceServerSchema, resourceServerScopeSchema, responseContextSchema, richTextComponentSchema, roleInsertSchema, roleListSchema, rolePermissionInsertSchema, rolePermissionListSchema, rolePermissionSchema, roleSchema, rolloutInsertSchema, rolloutKindSchema, rolloutSchema, rolloutStatusSchema, rolloutUpdateSchema, sanitizeLuceneQuery, scimConfigurationInsertSchema, scimConfigurationSchema, scimExternalIdInsertSchema, scimExternalIdSchema, scimMappingEntrySchema, scimTokenInsertSchema, scimTokenSchema, screenLinkSchema, sessionInsertSchema, sessionRetentionCohortSchema, sessionRetentionResponseSchema, sessionRetentionWindow, sessionSchema, signingKeySchema, smsProviderSchema, smsSendParamsSchema, splitLuceneOrGroups, startSchema, suspiciousIpThrottlingSchema, targetSchema, tenantInsertSchema, tenantOperationEngineSchema, tenantOperationEventInsertSchema, tenantOperationEventOutcomeSchema, tenantOperationEventSchema, tenantOperationInsertSchema, tenantOperationKindSchema, tenantOperationSchema, tenantOperationStatusSchema, tenantOperationUpdateSchema, tenantSchema, tenantSettingsSchema, themeInsertSchema, themeSchema, tokenResponseSchema, tokenizeLuceneQuery, totalsSchema, uiScreenSchema, unescapeLuceneValue, unquoteLuceneValue, userActivitySchema, userInsertSchema, userOrganizationInsertSchema, userOrganizationSchema, userPermissionInsertSchema, userPermissionListSchema, userPermissionSchema, userPermissionWithDetailsListSchema, userPermissionWithDetailsSchema, userResponseSchema, userRoleInsertSchema, userRoleListSchema, userRoleSchema, userSchema, usernameHasOnlyAllowedCharacters, validateUsername, verificationMethodsSchema, weekIndex, weekStartMs, widgetComponentSchema, widgetSchema };
12950
- export type { Action, ActionExecution, ActionExecutionError, ActionExecutionInsert, ActionExecutionLogEntry, ActionExecutionLogs, ActionExecutionResult, ActionExecutionStatus, ActionExecutionsAdapter, ActionInsert, ActionNode, ActionResponse, 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, CursorPayload, 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, HookPageId, HookTemplateId, HooksAdapter, HtmlComponent, Identity, ImageComponent, ImportMetadata, Invite, InviteInsert, Invitee, Inviter, InvitesAdapter, JumpButtonComponent, Jwk, Jwks, KeysAdapter, LegalComponent, LegalField, LinkCandidate, ListActionVersionsResponse, ListActionsResponse, ListClientGrantsResponse, ListCodesResponse, ListConnectionsResponse, ListFailedEventsResponse, ListFlowsResponse, ListFormsResponse, ListGrantsResponse, ListHooksResponse, ListInvitesResponse, ListKeysResponse, ListOrganizationsResponse, ListParams, ListProxyRoutesParams, ListProxyRoutesResult, ListRefreshTokenResponse, ListResourceServersResponse, ListRoleUsersResponse, 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, OutboxEventInsert, PassthroughConfig, Password, PasswordField, PasswordInsert, PasswordsAdapter, PaymentField, PostUsersBody, PreviousButtonComponent, PromptScreen, PromptSetting, PromptSettingsAdapter, ProxyRoute, ProxyRouteInsert, ProxyRouteUpdate, ProxyRoutesAdapter, RateLimitAdapter, RateLimitDecision, RateLimitScope, RecaptchaWidget, RedirectAction, RedirectTarget, RefreshToken, RefreshTokenInsert, RefreshTokenListParams, RefreshTokenRetentionCohort, RefreshTokenRetentionParams, RefreshTokenRetentionResponse, RefreshTokenUpdate, 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, ScimConfiguration, ScimConfigurationInsert, ScimConfigurationsAdapter, ScimExternalId, ScimExternalIdInsert, ScimExternalIdsAdapter, ScimMappingEntry, ScimToken, ScimTokenInsert, ScimTokensAdapter, ScreenLink, SecondaryAdapterConfig, Session, SessionCleanupParams, SessionInsert, SessionRetentionCohort, SessionRetentionParams, SessionRetentionRawRow, SessionRetentionResponse, SessionRetentionWindow, 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, UsernameLengthBounds, VerifiableCredentialsWidget, VerificationMethods, WidgetComponent, WriteOptions };
13143
+ export { Auth0ActionEnum, Auth0Client, AuthorizationResponseMode, AuthorizationResponseType, CodeChallengeMethod, ComponentCategory, ComponentType, DATABASE_CONNECTION_STRATEGY, EmailActionEnum, FORM_FIELD_TYPES, FeatureNotSupportedError, FlowActionTypeEnum, GrantType, KNOWN_TENANT_OPERATION_ENGINES, LocationInfo, LogTypes, LoginSessionState, MONDAY_EPOCH_SHIFT_MS, NodeType, PRESERVE_LOCATION_HEADER, RedirectTargetEnum, Strategy, StrategyType, TERMINAL_TENANT_OPERATION_ROW_STATUSES, TRIGGER_API_SHAPES, USERNAME_CONTAINS_AT_MESSAGE, USERNAME_INVALID_CHARACTERS_MESSAGE, WEEK_MS, actionDependencySchema, actionExecutionErrorSchema, actionExecutionInsertSchema, actionExecutionLogEntrySchema, actionExecutionLogsSchema, actionExecutionResultSchema, actionExecutionSchema, actionExecutionStatusSchema, actionExecutionTriggerIdSchema, actionInsertSchema, actionNodeSchema, actionResponseSchema, actionSchema, actionSecretNameSchema, actionSecretSchema, actionTriggerSchema, actionUpdateSchema, actionVersionInsertSchema, actionVersionSchema, activeUsersResponseSchema, actorSchema, addressSchema, allowedTriggersForHook, 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, buildRefreshTokenRetention, buildSessionRetention, 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, decodeBase32, decodeBase64, decodeBase64Url, decodeBase64UrlString, decodeCursor, emailProviderSchema, emailTemplateNameSchema, emailTemplateSchema, emailVerificationRulesSchema, emailVerifyActionSchema, encodeBase32, encodeBase64, encodeBase64Url, encodeBase64UrlString, encodeCursor, encodeHex, endingSchema, escapeLuceneValue, 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, hookPageId, hookSchema, hookTemplateId, hookTemplates, identitySchema, importMetadataSchema, inviteInsertSchema, inviteSchema, inviteeSchema, inviterSchema, isBlockComponent, isDatabaseConnectionStrategy, isEmailSearchTerm, isFeatureNotSupportedError, 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, normalizeUsername, openIDConfigurationSchema, organizationBrandingSchema, organizationConnectionInsertSchema, organizationConnectionListSchema, organizationConnectionSchema, organizationEnabledConnectionSchema, organizationInsertSchema, organizationSchema, organizationTokenQuotaSchema, pageBackgroundSchema, parseUserId, passwordInsertSchema, passwordSchema, profileDataSchema, promptScreenSchema, promptSettingSchema, proxyRouteInsertSchema, proxyRouteSchema, proxyRouteUpdateSchema, redirectActionSchema, refreshTokenInsertSchema, refreshTokenRetentionCohortSchema, refreshTokenRetentionResponseSchema, refreshTokenSchema, requestContextSchema, resourceServerInsertSchema, resourceServerListSchema, resourceServerOptionsSchema, resourceServerSchema, resourceServerScopeSchema, responseContextSchema, richTextComponentSchema, roleInsertSchema, roleListSchema, rolePermissionInsertSchema, rolePermissionListSchema, rolePermissionSchema, roleSchema, rolloutInsertSchema, rolloutKindSchema, rolloutSchema, rolloutStatusSchema, rolloutUpdateSchema, sanitizeLuceneQuery, scimConfigurationInsertSchema, scimConfigurationSchema, scimExternalIdInsertSchema, scimExternalIdSchema, scimMappingEntrySchema, scimTokenInsertSchema, scimTokenSchema, screenLinkSchema, sessionInsertSchema, sessionRetentionCohortSchema, sessionRetentionResponseSchema, sessionRetentionWindow, sessionSchema, signingKeySchema, smsProviderSchema, smsSendParamsSchema, splitLuceneOrGroups, startSchema, suspiciousIpThrottlingSchema, targetSchema, tenantInsertSchema, tenantOperationEngineSchema, tenantOperationEventInsertSchema, tenantOperationEventOutcomeSchema, tenantOperationEventSchema, tenantOperationInsertSchema, tenantOperationKindSchema, tenantOperationRowInsertSchema, tenantOperationRowOutcomeSchema, tenantOperationRowSchema, tenantOperationRowStatusSchema, tenantOperationSchema, tenantOperationStatusSchema, tenantOperationUpdateSchema, tenantSchema, tenantSettingsSchema, themeInsertSchema, themeSchema, tokenResponseSchema, tokenizeLuceneQuery, totalsSchema, uiScreenSchema, unescapeLuceneValue, unquoteLuceneValue, userActivitySchema, userInsertSchema, userOrganizationInsertSchema, userOrganizationSchema, userPermissionInsertSchema, userPermissionListSchema, userPermissionSchema, userPermissionWithDetailsListSchema, userPermissionWithDetailsSchema, userResponseSchema, userRoleInsertSchema, userRoleListSchema, userRoleSchema, userSchema, usernameHasOnlyAllowedCharacters, validateUsername, verificationMethodsSchema, weekIndex, weekStartMs, widgetComponentSchema, widgetSchema };
13144
+ export type { Action, ActionExecution, ActionExecutionError, ActionExecutionInsert, ActionExecutionLogEntry, ActionExecutionLogs, ActionExecutionResult, ActionExecutionStatus, ActionExecutionsAdapter, ActionInsert, ActionNode, ActionResponse, 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, CursorPayload, 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, HookPageId, HookTemplateId, HooksAdapter, HtmlComponent, Identity, ImageComponent, ImportMetadata, Invite, InviteInsert, Invitee, Inviter, InvitesAdapter, JumpButtonComponent, Jwk, Jwks, KeysAdapter, LegalComponent, LegalField, LinkCandidate, ListActionVersionsResponse, ListActionsResponse, ListClientGrantsResponse, ListCodesResponse, ListConnectionsResponse, ListFailedEventsResponse, ListFlowsResponse, ListFormsResponse, ListGrantsResponse, ListHooksResponse, ListInvitesResponse, ListKeysResponse, ListOrganizationsResponse, ListParams, ListProxyRoutesParams, ListProxyRoutesResult, ListRefreshTokenResponse, ListResourceServersResponse, ListRoleUsersResponse, ListRolesResponse, ListRolloutsResult, ListSesssionsResponse, ListTenantOperationEventsResult, ListTenantOperationRowsParams, ListTenantOperationRowsResult, 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, OutboxEventInsert, PassthroughConfig, Password, PasswordField, PasswordInsert, PasswordsAdapter, PaymentField, PostUsersBody, PreviousButtonComponent, PromptScreen, PromptSetting, PromptSettingsAdapter, ProxyRoute, ProxyRouteInsert, ProxyRouteUpdate, ProxyRoutesAdapter, RateLimitAdapter, RateLimitDecision, RateLimitScope, RecaptchaWidget, RedirectAction, RedirectTarget, RefreshToken, RefreshTokenInsert, RefreshTokenListParams, RefreshTokenRetentionCohort, RefreshTokenRetentionParams, RefreshTokenRetentionResponse, RefreshTokenUpdate, 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, ScimConfiguration, ScimConfigurationInsert, ScimConfigurationsAdapter, ScimExternalId, ScimExternalIdInsert, ScimExternalIdsAdapter, ScimMappingEntry, ScimToken, ScimTokenInsert, ScimTokensAdapter, ScreenLink, SecondaryAdapterConfig, Session, SessionCleanupParams, SessionInsert, SessionRetentionCohort, SessionRetentionParams, SessionRetentionRawRow, SessionRetentionResponse, SessionRetentionWindow, SessionsAdapter, SigningKey, SmsProvider, SmsSendParams, SmsServiceAdapter, SmsServiceSendParams, SocialField, Start, StatsAdapter, StatsListParams, StepNode, SuspiciousIpThrottling, Target, TelField, Tenant, TenantOperation, TenantOperationEngine, TenantOperationEvent, TenantOperationEventInsert, TenantOperationEventOutcome, TenantOperationEventsAdapter, TenantOperationInsert, TenantOperationKind, TenantOperationRow, TenantOperationRowCounts, TenantOperationRowInsert, TenantOperationRowOutcome, TenantOperationRowStatus, TenantOperationRowsAdapter, 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, UsernameLengthBounds, VerifiableCredentialsWidget, VerificationMethods, WidgetComponent, WriteOptions };