@lumibase/sdk 1.0.1 → 2.1.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.
package/dist/index.d.ts CHANGED
@@ -4,6 +4,28 @@ type Locale = string;
4
4
  type Brand<TBrand extends string, TValue> = TValue & {
5
5
  readonly __brand: TBrand;
6
6
  };
7
+ /**
8
+ * Value of a timezone-aware datetime field (`options.timezone: true`, #747).
9
+ * Write either `{ instant, tz }` or `{ local, tz }`; reads return all three.
10
+ */
11
+ interface ZonedDateTime {
12
+ /** ISO-8601 instant in UTC. */
13
+ instant: string;
14
+ /** IANA time zone the value was authored in. */
15
+ tz: string;
16
+ /** UTC offset of `tz` at `instant`, e.g. `-04:00`. */
17
+ offset: string;
18
+ }
19
+ /**
20
+ * One block of a `blocks` field (dynamic zone, #748). `type` is the block
21
+ * template's collection name and discriminates the union; generated types
22
+ * narrow it to a literal per template.
23
+ */
24
+ interface LumibaseBlock<TType extends string = string, TData = Record<string, unknown>> {
25
+ id: string;
26
+ type: TType;
27
+ data: TData;
28
+ }
7
29
  type AgentRiskLevel = "safe" | "review_required" | "dangerous" | "blocked";
8
30
  interface AgentGoalResource {
9
31
  id: string;
@@ -361,7 +383,12 @@ interface TypegenSchemaFilters {
361
383
  include?: string[];
362
384
  exclude?: string[];
363
385
  }
364
- type ItemFilterOp = "_eq" | "_neq" | "_in" | "_nin" | "_gt" | "_gte" | "_lt" | "_lte" | "_contains" | "_starts_with" | "_ends_with" | "_null" | "_nnull" | "_json_contains" | "_has_key" | "_has_any_keys" | "_has_all_keys";
386
+ type ItemFilterOp = "_eq" | "_neq" | "_in" | "_nin" | "_gt" | "_gte" | "_lt" | "_lte" | "_contains" | "_starts_with" | "_ends_with" | "_null" | "_nnull" | "_json_contains" | "_has_key" | "_has_any_keys" | "_has_all_keys" | "_near" | "_within_bbox";
387
+ /** Value of a `geopoint` field: WGS 84 degrees. */
388
+ interface GeoPoint {
389
+ lat: number;
390
+ lng: number;
391
+ }
365
392
  interface ItemFilter {
366
393
  _and?: ItemFilter[];
367
394
  _or?: ItemFilter[];
@@ -370,6 +397,13 @@ interface ItemFilter {
370
397
  [op in ItemFilterOp]?: unknown;
371
398
  } | ItemFilter[] | undefined;
372
399
  }
400
+ /** Result of `items(name).tree.move()` (#749). */
401
+ interface TreeMoveResult {
402
+ id: string;
403
+ parentId: string | null;
404
+ path: string;
405
+ sort: number;
406
+ }
373
407
  interface ListItemsParams {
374
408
  fields?: string[];
375
409
  filter?: ItemFilter;
@@ -384,6 +418,48 @@ interface ListItemsParams {
384
418
  */
385
419
  meta?: 'total_count' | 'none';
386
420
  }
421
+ /** Options for `items(name).export()` — `GET /items/:collection/export` (#727). */
422
+ interface ExportItemsParams {
423
+ /** `csv` (default) or `json` (`{ collection, format, items: [...] }`). */
424
+ format?: 'csv' | 'json';
425
+ /** Data fields to include; structural columns are always written. */
426
+ fields?: string[];
427
+ /** Locales for translatable fields. CSV writes one `field.locale` column each. */
428
+ locales?: string[];
429
+ /** `id` (default) keeps foreign ids; `slug` swaps in the related slug; `embed` adds the related record. */
430
+ relations?: 'id' | 'slug' | 'embed';
431
+ filter?: ItemFilter;
432
+ sort?: string[];
433
+ status?: string;
434
+ }
435
+ type ImportJobStatus = 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'timed_out';
436
+ /** A background import job (`/api/v1/imports`, #726). The uploaded file is never returned. */
437
+ interface ImportJob {
438
+ id: string;
439
+ collection: string;
440
+ format: 'csv' | 'json';
441
+ mode: 'create' | 'upsert';
442
+ status: ImportJobStatus;
443
+ totalRows: number;
444
+ processedRows: number;
445
+ createdRows: number;
446
+ updatedRows: number;
447
+ failedRows: number;
448
+ /** Row errors beyond the stored cap, counted but not kept. */
449
+ errorsTruncated: number;
450
+ message: string | null;
451
+ createdBy: string | null;
452
+ cancelRequested: boolean;
453
+ createdAt: string;
454
+ startedAt: string | null;
455
+ finishedAt: string | null;
456
+ }
457
+ interface ImportRowError {
458
+ /** 1-based data row (CSV: line after the header; JSON: position in `items`). */
459
+ row: number;
460
+ id?: string;
461
+ message: string;
462
+ }
387
463
  /** Reserved metadata attributes present on every search hit. */
388
464
  interface SearchHitMeta {
389
465
  /** Which collection the hit belongs to. */
@@ -432,6 +508,9 @@ interface ItemRow<TData extends Record<string, unknown> = Record<string, unknown
432
508
  unpublishAt?: string | null;
433
509
  /** Editorial workflow state; null when the workflow is not in use. */
434
510
  editorialState?: string | null;
511
+ /** Tree collections (#749): parent item id (null = root) and materialised path `/root/…/self/`. */
512
+ parentId?: string | null;
513
+ path?: string | null;
435
514
  userCreated: string | null;
436
515
  userUpdated: string | null;
437
516
  createdAt: string;
@@ -1498,13 +1577,76 @@ interface DeploymentResource {
1498
1577
  commitMessage: string | null;
1499
1578
  url: string | null;
1500
1579
  triggeredBy: string | null;
1501
- triggerSource: "manual" | "auto" | "agent";
1580
+ triggerSource: "manual" | "auto" | "agent" | "promote";
1502
1581
  errorMessage: string | null;
1503
1582
  logExcerpt: string | null;
1504
1583
  createdAt: string;
1505
1584
  updatedAt: string;
1506
1585
  completedAt: string | null;
1507
1586
  }
1587
+ /** Deployment environment (#743): preview / staging / production or any site-defined slug. */
1588
+ interface DeploymentEnvironmentResource {
1589
+ key: string;
1590
+ name: string;
1591
+ targetIds: string[];
1592
+ requiresApproval: boolean;
1593
+ promotesTo: string | null;
1594
+ }
1595
+ /** A parked deploy/promotion waiting for a human approver (#743). */
1596
+ interface DeploymentApprovalResource {
1597
+ id: string;
1598
+ kind: "trigger" | "promote";
1599
+ scope: "environment" | "target";
1600
+ environment: string;
1601
+ sourceEnvironment: string | null;
1602
+ sourceDeploymentId: string | null;
1603
+ targetIds: string[];
1604
+ branch: string | null;
1605
+ reason: string | null;
1606
+ status: "pending" | "deciding" | "approved" | "rejected" | "expired" | "failed";
1607
+ requestedBy: {
1608
+ type: string;
1609
+ id: string | null;
1610
+ } | null;
1611
+ createdAt: string;
1612
+ expiresAt: string;
1613
+ decidedAt: string | null;
1614
+ decidedBy: string | null;
1615
+ result: unknown;
1616
+ /** Present on list responses: whether the caller may decide it. */
1617
+ canDecide?: boolean;
1618
+ }
1619
+ interface DeploymentDispatchResult {
1620
+ targetId: string;
1621
+ ok: boolean;
1622
+ deployment: DeploymentResource | null;
1623
+ mode?: "native" | "retrigger";
1624
+ error?: {
1625
+ code: string;
1626
+ message: string;
1627
+ };
1628
+ }
1629
+ /** Outcome of an environment deploy / promotion request. */
1630
+ type DeploymentRequestOutcome = {
1631
+ status: "dispatched";
1632
+ environment: string | null;
1633
+ results: DeploymentDispatchResult[];
1634
+ } | {
1635
+ status: "pending_approval";
1636
+ environment: string;
1637
+ approval: DeploymentApprovalResource;
1638
+ };
1639
+ /** What the caller may do on the deployments page. */
1640
+ interface DeploymentAccessResource {
1641
+ admin: boolean;
1642
+ capabilities: string[];
1643
+ humanDecider: boolean;
1644
+ environments: Array<{
1645
+ key: string;
1646
+ canTrigger: boolean;
1647
+ canApprove: boolean;
1648
+ }>;
1649
+ }
1508
1650
 
1509
1651
  /**
1510
1652
  * LumiBase JS SDK
@@ -1583,6 +1725,12 @@ interface LumiClient<TSchema extends DefaultSchema = DefaultSchema> {
1583
1725
  siteId: string;
1584
1726
  fetcher: typeof fetch;
1585
1727
  rawRequest: <T>(path: string, init?: RequestInit) => Promise<LumiResponse<T>>;
1728
+ /**
1729
+ * Like `rawRequest`, but resolves with the unread `Response` so the caller
1730
+ * can stream the body (downloads, exports). Same auth headers and the same
1731
+ * silent refresh on 401; a non-2xx status still throws `LumiError`.
1732
+ */
1733
+ rawFetch: (path: string, init?: RequestInit) => Promise<Response>;
1586
1734
  request: <Output>(command: (client: LumiClient<TSchema>) => Promise<Output>) => Promise<Output>;
1587
1735
  with: <Extension>(plugin: (client: LumiClient<TSchema>) => Extension) => LumiClient<TSchema> & Extension;
1588
1736
  }
@@ -1795,7 +1943,8 @@ declare class RealtimeClient {
1795
1943
  interface UserPreferencesPayload {
1796
1944
  language?: string;
1797
1945
  theme?: "auto" | "light" | "dark";
1798
- timezone?: string;
1946
+ /** Display time zone (IANA); `null` clears it → browser zone (#747). */
1947
+ timezone?: string | null;
1799
1948
  keybindings?: Record<string, string>;
1800
1949
  [key: string]: unknown;
1801
1950
  }
@@ -1838,6 +1987,17 @@ declare function legacyRest(): <TSchema extends DefaultSchema>(client: LumiClien
1838
1987
  listRelations: () => Promise<LumiResponse<RelationResource[]>>;
1839
1988
  createRelation: (input: RelationInput) => Promise<LumiResponse<RelationResource>>;
1840
1989
  deleteRelation: (id: string) => Promise<LumiResponse<null>>;
1990
+ /**
1991
+ * Collection form layout (#750): tabs / groups / dividers + conditions.
1992
+ * Typed loosely so the SDK stays decoupled from contracts; parse with
1993
+ * `parseFormLayout` from `@lumibase/contracts/form-layout`.
1994
+ */
1995
+ getFormLayout: (name: string) => Promise<LumiResponse<{
1996
+ layout: unknown;
1997
+ }>>;
1998
+ setFormLayout: (name: string, layout: unknown) => Promise<LumiResponse<{
1999
+ layout: unknown;
2000
+ }>>;
1841
2001
  };
1842
2002
  items: <TName extends keyof TSchema & string>(name: TName) => {
1843
2003
  list: (params?: ListItemsParams) => Promise<ListItemsResponse<TSchema[TName] extends Record<string, unknown> ? TSchema[TName] : Record<string, unknown>>>;
@@ -1846,6 +2006,8 @@ declare function legacyRest(): <TSchema extends DefaultSchema>(client: LumiClien
1846
2006
  data: Partial<TSchema[TName] extends Record<string, unknown> ? TSchema[TName] : Record<string, unknown>>;
1847
2007
  status?: string;
1848
2008
  sort?: number;
2009
+ /** Tree collections (#749): parent item id; null/absent = root. */
2010
+ parentId?: string | null;
1849
2011
  /** ISO timestamps for content scheduling (Publish_Window). */
1850
2012
  publishAt?: string | null;
1851
2013
  unpublishAt?: string | null;
@@ -1864,7 +2026,27 @@ declare function legacyRest(): <TSchema extends DefaultSchema>(client: LumiClien
1864
2026
  sort?: number;
1865
2027
  }) => Promise<LumiResponse<ItemRow<TSchema[TName] extends Record<string, unknown> ? TSchema[TName] : Record<string, unknown>>>>;
1866
2028
  delete: (id: string) => Promise<LumiResponse<null>>;
2029
+ /**
2030
+ * Stream the collection as CSV or JSON (#727). Resolves with the
2031
+ * unread `Response`: pipe `res.body` to a file, or `await res.text()`.
2032
+ * Uses the caller's read permission; filters use the list syntax.
2033
+ */
2034
+ export: (params?: ExportItemsParams) => Promise<Response>;
1867
2035
  bulk: (op: "create" | "update" | "delete", payload: Array<Record<string, unknown>>) => Promise<LumiResponse<ItemRow<TSchema[TName] extends Record<string, unknown> ? TSchema[TName] : Record<string, unknown>>[]>>;
2036
+ /**
2037
+ * Hierarchical collections (#749) on a `meta.tree.enabled` collection.
2038
+ * Reads apply the caller's row rules; the anchor must be readable.
2039
+ */
2040
+ tree: {
2041
+ children: (parent: string | null, params?: ListItemsParams) => Promise<ListItemsResponse<TSchema[TName] extends Record<string, unknown> ? TSchema[TName] : Record<string, unknown>>>;
2042
+ subtree: (parent: string | null, params?: ListItemsParams) => Promise<ListItemsResponse<TSchema[TName] extends Record<string, unknown> ? TSchema[TName] : Record<string, unknown>>>;
2043
+ ancestors: (node: string) => Promise<ListItemsResponse<TSchema[TName] extends Record<string, unknown> ? TSchema[TName] : Record<string, unknown>>>;
2044
+ /** Move an item and its subtree; `position` is its 0-based index among the new siblings. */
2045
+ move: (id: string, input: {
2046
+ parentId: string | null;
2047
+ position?: number;
2048
+ }) => Promise<LumiResponse<TreeMoveResult>>;
2049
+ };
1868
2050
  listRevisions: (id: string) => Promise<LumiResponse<RevisionRow[]>>;
1869
2051
  revertRevision: (id: string, revisionId: string) => Promise<LumiResponse<ItemRow<TSchema[TName] extends Record<string, unknown> ? TSchema[TName] : Record<string, unknown>>>>;
1870
2052
  listPins: (id: string) => Promise<LumiResponse<{
@@ -1889,6 +2071,30 @@ declare function legacyRest(): <TSchema extends DefaultSchema>(client: LumiClien
1889
2071
  promote: (id: string, key: string) => Promise<LumiResponse<ItemRow<TSchema[TName] extends Record<string, unknown> ? TSchema[TName] : Record<string, unknown>>>>;
1890
2072
  };
1891
2073
  };
2074
+ imports: {
2075
+ /**
2076
+ * Upload a CSV or JSON export file and queue it. Resolves with the job
2077
+ * (`202`); poll `get(id)` until `status` is terminal.
2078
+ */
2079
+ create: (collection: string, file: Blob | string, opts?: {
2080
+ format?: "csv" | "json";
2081
+ mode?: "create" | "upsert";
2082
+ filename?: string;
2083
+ }) => Promise<LumiResponse<ImportJob>>;
2084
+ list: (params?: {
2085
+ collection?: string;
2086
+ status?: ImportJobStatus;
2087
+ limit?: number;
2088
+ }) => Promise<LumiResponse<ImportJob[]>>;
2089
+ get: (id: string) => Promise<LumiResponse<ImportJob>>;
2090
+ errors: (id: string) => Promise<LumiResponse<{
2091
+ errors: ImportRowError[];
2092
+ truncated: number;
2093
+ }>>;
2094
+ /** The error report as a CSV download (`row,id,message`). */
2095
+ errorsCsv: (id: string) => Promise<Response>;
2096
+ cancel: (id: string) => Promise<LumiResponse<ImportJob>>;
2097
+ };
1892
2098
  roles: {
1893
2099
  list: () => Promise<LumiResponse<RoleResource[]>>;
1894
2100
  detail: (id: string) => Promise<LumiResponse<RoleDetail>>;
@@ -2193,10 +2399,39 @@ declare function legacyRest(): <TSchema extends DefaultSchema>(client: LumiClien
2193
2399
  create: (input: Record<string, unknown>) => Promise<LumiResponse<DeploymentTargetResource>>;
2194
2400
  update: (id: string, patch: Record<string, unknown>) => Promise<LumiResponse<DeploymentTargetResource>>;
2195
2401
  delete: (id: string) => Promise<LumiResponse<null>>;
2402
+ /**
2403
+ * Resolves with the deployment (201), or — when the target belongs to
2404
+ * an approval-gated environment (#743) — with a `pending_approval`
2405
+ * outcome (202).
2406
+ */
2196
2407
  deploy: (id: string, input?: {
2197
2408
  branch?: string;
2198
2409
  reason?: string;
2199
- }) => Promise<LumiResponse<DeploymentResource>>;
2410
+ }) => Promise<LumiResponse<DeploymentResource | {
2411
+ status: "pending_approval";
2412
+ environment: string;
2413
+ approval: DeploymentApprovalResource;
2414
+ }>>;
2415
+ };
2416
+ access: () => Promise<LumiResponse<DeploymentAccessResource>>;
2417
+ environments: {
2418
+ list: () => Promise<LumiResponse<DeploymentEnvironmentResource[]>>;
2419
+ update: (environments: DeploymentEnvironmentResource[]) => Promise<LumiResponse<DeploymentEnvironmentResource[]>>;
2420
+ deploy: (key: string, input?: {
2421
+ branch?: string;
2422
+ reason?: string;
2423
+ }) => Promise<LumiResponse<DeploymentRequestOutcome>>;
2424
+ promote: (key: string, input?: {
2425
+ deploymentId?: string;
2426
+ reason?: string;
2427
+ }) => Promise<LumiResponse<DeploymentRequestOutcome>>;
2428
+ };
2429
+ approvals: {
2430
+ list: (status?: string) => Promise<LumiResponse<DeploymentApprovalResource[]>>;
2431
+ decide: (id: string, input: {
2432
+ decision: "approved" | "rejected";
2433
+ reason?: string;
2434
+ }) => Promise<LumiResponse<DeploymentApprovalResource>>;
2200
2435
  };
2201
2436
  list: (params?: {
2202
2437
  targetId?: string;
@@ -2696,6 +2931,10 @@ interface TypegenField {
2696
2931
  kind?: 'm2o' | 'o2m' | 'm2m' | 'm2a';
2697
2932
  target?: string;
2698
2933
  enum?: string[];
2934
+ /** Timezone-aware datetime (#747): value is `{ instant, tz, offset }`. */
2935
+ timezone?: boolean;
2936
+ /** Dynamic zones (#748): block template names a `blocks` field accepts. */
2937
+ allowedBlocks?: string[];
2699
2938
  }
2700
2939
  interface TypegenRelation {
2701
2940
  field: string;
@@ -2751,4 +2990,4 @@ declare function toNextMetadata(item: unknown): Record<string, unknown>;
2751
2990
  declare function jsonLdScript(item: unknown): string | undefined;
2752
2991
 
2753
2992
  export { ACCESS_EXPORT_SCHEMA, AudienceClient, DECISION_ERROR_CODES, DEFAULT_IMPORT_SOURCE, LumiError, RealtimeClient, ackCdcSubscription, checkCdcPipelineHealth, createAgentArtifact, createAgentGoal, createBookmark, createCdcPipeline, createCdcSubscription, createLumiClient, decide, decideAgentApproval, decisionErrorCode, deleteBookmark, deleteCdcPipeline, deleteCdcSubscription, deployCdc, dispatchCdcSubscription, dryRunAccessImport, evaluateAgentArtifact, exportAccessManifest, extractSeo, generateAgentApp, generateTypes, getEffectivePreset, getReview, getReviewProfile, graphql, importAccessManifest, jsonLdScript, legacyRest, listAgentApprovals, listAgentArtifacts, listAgentGoals, listAgentRuns, listAgentTools, listBookmarks, listCdcPipelines, listCdcSubscriptionDeliveries, listCdcSubscriptions, listReviewProfiles, listReviews, mediaUrl, publishAgentArtifact, readAgentMemoryContext, readCdcEvents, readCdcPipeline, readCdcPipelineMetricHistory, readCdcPipelineMetrics, readCdcSubscription, readItem, readItems, replayCdcSubscription, retryAgentRun, reviewContentHash, reviewDraft, rollbackAgentArtifact, rollbackCdcDeployment, saveUserView, search, startCdcPipeline, stopCdcPipeline, submitReviewFeedback, toNextMetadata, toWebSocketBase, updateBookmark, updateCdcPipeline, updateCdcSubscription, validateCdcDeploymentEnv, writeAgentMemory };
2754
- export type { AIApproval, AIApprovalStatus, AIChatResponse, AIChatStatus, AIContentAssistResult, AIConversation, AIFieldSuggestion, AIMessage, AccessConflict, AccessConflictCheckInput, AccessConflictReport, AccessExportApiKey, AccessExportBindings, AccessExportManifest, AccessExportPermission, AccessExportPolicy, AccessExportRole, AccessImportApplyResult, AccessImportDiff, AccessImportDiffEntry, AccessImportDiffSection, AccessImportDryRunResult, AccessImportIssue, AccessImportMode, AccessImportOptions, AccessImportSummary, ActivityResource, AgentApprovalResource, AgentArtifactCreateInput, AgentArtifactResource, AgentArtifactType, AgentEvaluationResource, AgentGenerateAppInput, AgentGenerateAppResult, AgentGoalCreateInput, AgentGoalResource, AgentMemoryContext, AgentMemoryResource, AgentMemoryWriteInput, AgentRiskLevel, AgentRunResource, AgentToolResource, ApiKeyCreateInput, ApiKeyPolicyAttachment, ApiKeyResource, ApiKeyRoleAttachment, ApiKeyRotateInput, ApiKeySecretResult, AudienceClientOptions, AudienceEvent, AudienceNotification, Brand, CdcActorType, CdcConnectorType, CdcDeliveryResource, CdcDeployInput, CdcDeploymentResult, CdcDeploymentStatus, CdcDeploymentStep, CdcDeploymentTarget, CdcEnvValidationResult, CdcEventEnvelope, CdcFeedPage, CdcFeedReadParams, CdcHealthCheckResult, CdcHealthMetricEntry, CdcOperation, CdcPayloadMode, CdcPipelineCreateInput, CdcPipelineMetrics, CdcPipelinePatchInput, CdcPipelineResource, CdcPipelineStatus, CdcReplayInput, CdcRollbackResult, CdcSource, CdcSubscriptionCreateInput, CdcSubscriptionKind, CdcSubscriptionPatchInput, CdcSubscriptionResource, CdcSubscriptionStatus, CdcValidateEnvInput, ChannelEventCallback, ChoiceAnswer, ChoiceQuestion, CollectionInput, CollectionResource, CompiledPermission, ConnectionStatus, ContentVersion, CreateSCIMTokenParams, DecideOptions, DecisionAnswer, DecisionErrorCode, DecisionPayload, DecisionQuestion, DecisionRequest, DecisionResult, DefaultSchema, DeliverySeo, DeploymentResource, DeploymentTargetResource, DomainCreateInput, DomainResource, DomainVerificationRecord, ExtensionResource, FieldDeleteOptions, FieldInput, FieldMutationOptions, FieldRenameInput, FieldResource, FileResource, FlowGraph, FlowNode, FlowResource, FlowRun, FlowRunResult, FlowRunStatus, FlowStatus, FlowTriggerType, FolderResource, GenerateOptions, GrantAction, GraphQLExtension, ID, ItemFilter, ItemFilterOp, ItemRow, ListItemsParams, ListItemsResponse, ListMarketplaceExtensionsParams, Locale, LumiClient, LumiClientOptions, LumiErrorBody, LumiResponse, MarketplaceExtension, MarketplaceListResponse, MaterializeDataResponse, MaterializeProjection, MaterializeRefreshResult, MaterializeRefreshStrategy, MaterializedCollection, MediaTransform, NotificationCallback, NoulAnswer, NoulQuestion, PermissionAction, PermissionBundle, PermissionCheckResult, PermissionRow, PolicyDetail, PolicyResource, PresenceCallback, PresenceEntry, PresetResource, PresetScope, PrimaryKeyType, RealmAccessDescriptor, RealmAccessGrant, RealmAccessState, RealmGrantInput, RealtimeEvent, RealtimeEventCallback, RelationInput, RelationResource, RelationType, ReviewFeedback, ReviewFeedbackEntry, ReviewFeedbackRequest, ReviewPreset, ReviewProfile, ReviewRequestOptions, ReviewRun, ReviewRunRequest, ReviewRunStatus, ReviewStaleReason, ReviewVerdict, RevisionRow, RoleDetail, RoleResource, SCIMTokenCreated, SCIMTokenMeta, SCIMTokenRotated, SchemaApplyInput, SchemaApplyResult, SchemaChangedEvent, SchemaDiff, SchemaDiffEntry, SchemaDiffInput, SchemaDiffRisk, SchemaRuntimeImpact, ScopedViewPreset, ScoreAnswer, ScoreQuestion, SearchHit, SearchHitMeta, SearchParams, SearchResponse, SettingResource, ShareCreateInput, ShareResource, ShareSecretResult, SiteConfigUpdate, SiteResource, StatusCallback, StorageMode, TeamMemberResource, TeamResource, TmEntry, TmSource, TmSuggestion, TranslationResource, TypegenCollection, TypegenField, TypegenManifest, TypegenRelation, TypegenSchemaFilters, UploadConfigResource, UploadTypeCatalogueEntry, UserPreferencesPayload, UserResource, VersionCompare, VersionFieldChange, ViewPreset, WebSocketFactory, WebSocketLike, WebhookResource };
2993
+ export type { AIApproval, AIApprovalStatus, AIChatResponse, AIChatStatus, AIContentAssistResult, AIConversation, AIFieldSuggestion, AIMessage, AccessConflict, AccessConflictCheckInput, AccessConflictReport, AccessExportApiKey, AccessExportBindings, AccessExportManifest, AccessExportPermission, AccessExportPolicy, AccessExportRole, AccessImportApplyResult, AccessImportDiff, AccessImportDiffEntry, AccessImportDiffSection, AccessImportDryRunResult, AccessImportIssue, AccessImportMode, AccessImportOptions, AccessImportSummary, ActivityResource, AgentApprovalResource, AgentArtifactCreateInput, AgentArtifactResource, AgentArtifactType, AgentEvaluationResource, AgentGenerateAppInput, AgentGenerateAppResult, AgentGoalCreateInput, AgentGoalResource, AgentMemoryContext, AgentMemoryResource, AgentMemoryWriteInput, AgentRiskLevel, AgentRunResource, AgentToolResource, ApiKeyCreateInput, ApiKeyPolicyAttachment, ApiKeyResource, ApiKeyRoleAttachment, ApiKeyRotateInput, ApiKeySecretResult, AudienceClientOptions, AudienceEvent, AudienceNotification, Brand, CdcActorType, CdcConnectorType, CdcDeliveryResource, CdcDeployInput, CdcDeploymentResult, CdcDeploymentStatus, CdcDeploymentStep, CdcDeploymentTarget, CdcEnvValidationResult, CdcEventEnvelope, CdcFeedPage, CdcFeedReadParams, CdcHealthCheckResult, CdcHealthMetricEntry, CdcOperation, CdcPayloadMode, CdcPipelineCreateInput, CdcPipelineMetrics, CdcPipelinePatchInput, CdcPipelineResource, CdcPipelineStatus, CdcReplayInput, CdcRollbackResult, CdcSource, CdcSubscriptionCreateInput, CdcSubscriptionKind, CdcSubscriptionPatchInput, CdcSubscriptionResource, CdcSubscriptionStatus, CdcValidateEnvInput, ChannelEventCallback, ChoiceAnswer, ChoiceQuestion, CollectionInput, CollectionResource, CompiledPermission, ConnectionStatus, ContentVersion, CreateSCIMTokenParams, DecideOptions, DecisionAnswer, DecisionErrorCode, DecisionPayload, DecisionQuestion, DecisionRequest, DecisionResult, DefaultSchema, DeliverySeo, DeploymentAccessResource, DeploymentApprovalResource, DeploymentDispatchResult, DeploymentEnvironmentResource, DeploymentRequestOutcome, DeploymentResource, DeploymentTargetResource, DomainCreateInput, DomainResource, DomainVerificationRecord, ExportItemsParams, ExtensionResource, FieldDeleteOptions, FieldInput, FieldMutationOptions, FieldRenameInput, FieldResource, FileResource, FlowGraph, FlowNode, FlowResource, FlowRun, FlowRunResult, FlowRunStatus, FlowStatus, FlowTriggerType, FolderResource, GenerateOptions, GeoPoint, GrantAction, GraphQLExtension, ID, ImportJob, ImportJobStatus, ImportRowError, ItemFilter, ItemFilterOp, ItemRow, ListItemsParams, ListItemsResponse, ListMarketplaceExtensionsParams, Locale, LumiClient, LumiClientOptions, LumiErrorBody, LumiResponse, LumibaseBlock, MarketplaceExtension, MarketplaceListResponse, MaterializeDataResponse, MaterializeProjection, MaterializeRefreshResult, MaterializeRefreshStrategy, MaterializedCollection, MediaTransform, NotificationCallback, NoulAnswer, NoulQuestion, PermissionAction, PermissionBundle, PermissionCheckResult, PermissionRow, PolicyDetail, PolicyResource, PresenceCallback, PresenceEntry, PresetResource, PresetScope, PrimaryKeyType, RealmAccessDescriptor, RealmAccessGrant, RealmAccessState, RealmGrantInput, RealtimeEvent, RealtimeEventCallback, RelationInput, RelationResource, RelationType, ReviewFeedback, ReviewFeedbackEntry, ReviewFeedbackRequest, ReviewPreset, ReviewProfile, ReviewRequestOptions, ReviewRun, ReviewRunRequest, ReviewRunStatus, ReviewStaleReason, ReviewVerdict, RevisionRow, RoleDetail, RoleResource, SCIMTokenCreated, SCIMTokenMeta, SCIMTokenRotated, SchemaApplyInput, SchemaApplyResult, SchemaChangedEvent, SchemaDiff, SchemaDiffEntry, SchemaDiffInput, SchemaDiffRisk, SchemaRuntimeImpact, ScopedViewPreset, ScoreAnswer, ScoreQuestion, SearchHit, SearchHitMeta, SearchParams, SearchResponse, SettingResource, ShareCreateInput, ShareResource, ShareSecretResult, SiteConfigUpdate, SiteResource, StatusCallback, StorageMode, TeamMemberResource, TeamResource, TmEntry, TmSource, TmSuggestion, TranslationResource, TreeMoveResult, TypegenCollection, TypegenField, TypegenManifest, TypegenRelation, TypegenSchemaFilters, UploadConfigResource, UploadTypeCatalogueEntry, UserPreferencesPayload, UserResource, VersionCompare, VersionFieldChange, ViewPreset, WebSocketFactory, WebSocketLike, WebhookResource, ZonedDateTime };