@stndrds/schema 1.0.0-alpha.261 → 1.0.0-alpha.264

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.
Files changed (45) hide show
  1. package/dist/{attributes-Cmkc7UgJ.d.mts → attributes-DCgZhISp.d.mts} +1 -23
  2. package/dist/{attributes-_6tvjbyl.d.ts → attributes-DUuaECJI.d.ts} +1 -23
  3. package/dist/{helpers-BTC6TsKH.d.ts → helpers-B4qBjTd0.d.ts} +2 -2
  4. package/dist/{helpers-BO10yqih.d.mts → helpers-B_NlMAm2.d.mts} +2 -2
  5. package/dist/index.d.mts +45 -32
  6. package/dist/index.d.ts +45 -32
  7. package/dist/index.js +111 -28
  8. package/dist/index.mjs +107 -28
  9. package/dist/{types-CVswgCx9.d.mts → types-15lGDPlN.d.mts} +1 -1
  10. package/dist/{types-B_UZK_6m.d.ts → types-CqZZxm_V.d.ts} +1 -1
  11. package/dist/validation/all.d.mts +3 -3
  12. package/dist/validation/all.d.ts +3 -3
  13. package/dist/validation/complex/currency.d.mts +2 -2
  14. package/dist/validation/complex/currency.d.ts +2 -2
  15. package/dist/validation/complex/location.d.mts +2 -2
  16. package/dist/validation/complex/location.d.ts +2 -2
  17. package/dist/validation/complex/phone.d.mts +2 -2
  18. package/dist/validation/complex/phone.d.ts +2 -2
  19. package/dist/validation/complex/relation.d.mts +2 -2
  20. package/dist/validation/complex/relation.d.ts +2 -2
  21. package/dist/validation/complex/richtext.d.mts +2 -2
  22. package/dist/validation/complex/richtext.d.ts +2 -2
  23. package/dist/validation/complex/select.d.mts +2 -2
  24. package/dist/validation/complex/select.d.ts +2 -2
  25. package/dist/validation/complex/user.d.mts +2 -2
  26. package/dist/validation/complex/user.d.ts +2 -2
  27. package/dist/validation/computed/formula.d.mts +2 -2
  28. package/dist/validation/computed/formula.d.ts +2 -2
  29. package/dist/validation/computed/rollup.d.mts +2 -2
  30. package/dist/validation/computed/rollup.d.ts +2 -2
  31. package/dist/validation/config/index.d.mts +1 -1
  32. package/dist/validation/config/index.d.ts +1 -1
  33. package/dist/validation/core/index.d.mts +3 -3
  34. package/dist/validation/core/index.d.ts +3 -3
  35. package/dist/validation/object/index.d.mts +4 -4
  36. package/dist/validation/object/index.d.ts +4 -4
  37. package/dist/validation/primitives/checkbox.d.mts +2 -2
  38. package/dist/validation/primitives/checkbox.d.ts +2 -2
  39. package/dist/validation/primitives/date.d.mts +2 -2
  40. package/dist/validation/primitives/date.d.ts +2 -2
  41. package/dist/validation/primitives/number.d.mts +2 -2
  42. package/dist/validation/primitives/number.d.ts +2 -2
  43. package/dist/validation/primitives/text.d.mts +2 -2
  44. package/dist/validation/primitives/text.d.ts +2 -2
  45. package/package.json +2 -2
@@ -80,26 +80,6 @@ interface ComputedPlan {
80
80
  ast?: ComputedFormulaAstNode;
81
81
  }
82
82
 
83
- /**
84
- * Configuration for AI autofill on an attribute or qualified property.
85
- */
86
- interface AutofillConfig {
87
- /**
88
- * Source attribute names (same object) whose changes can trigger a
89
- * contextual fill of this field. Empty array = document-only: the field
90
- * is filled exclusively from attached document OCR content.
91
- */
92
- from: string[];
93
- /** Optional hint injected verbatim into the generation prompt for this field. */
94
- instructions?: string;
95
- }
96
- /**
97
- * Attribute types eligible for autofill.
98
- * `location` is deferred: its value shape is too complex for v1 extraction.
99
- */
100
- declare const AUTOFILL_ELIGIBLE_TYPES: readonly ["text", "number", "checkbox", "date", "phone", "currency", "status", "select", "multiselect"];
101
- type AutofillEligibleType = (typeof AUTOFILL_ELIGIBLE_TYPES)[number];
102
-
103
83
  /**
104
84
  * Allowed attribute types in .qualifyWith()
105
85
  *
@@ -211,8 +191,6 @@ interface BaseAttribute<DefaultValueType = unknown> {
211
191
  system?: boolean;
212
192
  unique?: boolean;
213
193
  metadata?: Record<string, unknown>;
214
- /** AI autofill configuration. Absent = field is never autofilled. */
215
- autofill?: AutofillConfig;
216
194
  }
217
195
  interface TextAttribute extends BaseAttribute<string> {
218
196
  type: "text";
@@ -602,4 +580,4 @@ declare function isAttributeSortable(attr: {
602
580
  type: AttributeType;
603
581
  }): boolean;
604
582
 
605
- export { type DateFormat as $, type Attribute as A, type BilateralConfig as B, type CurrencyAttribute as C, type DateAttribute as D, type UserReferenceType as E, type FormulaAttribute as F, AUTOFILL_ELIGIBLE_TYPES as G, type AttributeGroup as H, type AutofillEligibleType as I, type BaseAttribute as J, type ComputedFieldKind as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type Option as O, type PhoneAttribute as P, type ComputedFormulaBinaryNode as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, type ComputedFormulaBinaryOperator as V, type ComputedFormulaCallNode as W, type ComputedFormulaLiteralNode as X, ComputedFormulaParseError as Y, type ComputedFormulaPathNode as Z, type ComputedStateStatus as _, type RichtextAttribute as a, type DateValue as a0, type NumberUnit as a1, type OptionPropertyAttribute as a2, type PropertyAttribute as a3, type PropertyType as a4, RELATION_TARGET_ANY as a5, type RichTextAttribute as a6, type StatusGroup as a7, hasOptions as a8, inferInverseCardinality as a9, isAttributeSortable as aa, isBilateralRelation as ab, isUniversalRelation as ac, parseComputedFormula as ad, resolvePropertyDefinitions as ae, type MultiselectAttribute as b, type SelectAttribute as c, type StatusAttribute as d, type RollupAttribute as e, type CheckboxAttribute as f, type AttributeType as g, type ComputedAttributeState as h, type ComputedValueType as i, type ComputedReturnType as j, type ComputedOptionsSource as k, type ComputedDependency as l, type ComputedPlan as m, type ComputedFormulaAstNode as n, type LocationGranularity as o, type Location as p, type DateRangeValue as q, type DocumentAttribute as r, type Phone as s, type Currency as t, type PropertySchema as u, type AutofillConfig as v, type TimeFormat as w, type FormulaReturnType as x, type RelationTarget as y, type RollupFunction as z };
583
+ export { type OptionPropertyAttribute as $, type Attribute as A, type BilateralConfig as B, type CurrencyAttribute as C, type DateAttribute as D, type AttributeGroup as E, type FormulaAttribute as F, type BaseAttribute as G, type ComputedFieldKind as H, type ComputedFormulaBinaryNode as I, type ComputedFormulaBinaryOperator as J, type ComputedFormulaCallNode as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type Option as O, type PhoneAttribute as P, type ComputedFormulaLiteralNode as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, ComputedFormulaParseError as V, type ComputedFormulaPathNode as W, type ComputedStateStatus as X, type DateFormat as Y, type DateValue as Z, type NumberUnit as _, type RichtextAttribute as a, type PropertyAttribute as a0, type PropertyType as a1, RELATION_TARGET_ANY as a2, type RichTextAttribute as a3, type StatusGroup as a4, hasOptions as a5, inferInverseCardinality as a6, isAttributeSortable as a7, isBilateralRelation as a8, isUniversalRelation as a9, parseComputedFormula as aa, resolvePropertyDefinitions as ab, type MultiselectAttribute as b, type SelectAttribute as c, type StatusAttribute as d, type RollupAttribute as e, type CheckboxAttribute as f, type AttributeType as g, type ComputedAttributeState as h, type ComputedValueType as i, type ComputedReturnType as j, type ComputedOptionsSource as k, type ComputedDependency as l, type ComputedPlan as m, type ComputedFormulaAstNode as n, type LocationGranularity as o, type Location as p, type DateRangeValue as q, type DocumentAttribute as r, type Phone as s, type Currency as t, type PropertySchema as u, type TimeFormat as v, type FormulaReturnType as w, type RelationTarget as x, type RollupFunction as y, type UserReferenceType as z };
@@ -80,26 +80,6 @@ interface ComputedPlan {
80
80
  ast?: ComputedFormulaAstNode;
81
81
  }
82
82
 
83
- /**
84
- * Configuration for AI autofill on an attribute or qualified property.
85
- */
86
- interface AutofillConfig {
87
- /**
88
- * Source attribute names (same object) whose changes can trigger a
89
- * contextual fill of this field. Empty array = document-only: the field
90
- * is filled exclusively from attached document OCR content.
91
- */
92
- from: string[];
93
- /** Optional hint injected verbatim into the generation prompt for this field. */
94
- instructions?: string;
95
- }
96
- /**
97
- * Attribute types eligible for autofill.
98
- * `location` is deferred: its value shape is too complex for v1 extraction.
99
- */
100
- declare const AUTOFILL_ELIGIBLE_TYPES: readonly ["text", "number", "checkbox", "date", "phone", "currency", "status", "select", "multiselect"];
101
- type AutofillEligibleType = (typeof AUTOFILL_ELIGIBLE_TYPES)[number];
102
-
103
83
  /**
104
84
  * Allowed attribute types in .qualifyWith()
105
85
  *
@@ -211,8 +191,6 @@ interface BaseAttribute<DefaultValueType = unknown> {
211
191
  system?: boolean;
212
192
  unique?: boolean;
213
193
  metadata?: Record<string, unknown>;
214
- /** AI autofill configuration. Absent = field is never autofilled. */
215
- autofill?: AutofillConfig;
216
194
  }
217
195
  interface TextAttribute extends BaseAttribute<string> {
218
196
  type: "text";
@@ -602,4 +580,4 @@ declare function isAttributeSortable(attr: {
602
580
  type: AttributeType;
603
581
  }): boolean;
604
582
 
605
- export { type DateFormat as $, type Attribute as A, type BilateralConfig as B, type CurrencyAttribute as C, type DateAttribute as D, type UserReferenceType as E, type FormulaAttribute as F, AUTOFILL_ELIGIBLE_TYPES as G, type AttributeGroup as H, type AutofillEligibleType as I, type BaseAttribute as J, type ComputedFieldKind as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type Option as O, type PhoneAttribute as P, type ComputedFormulaBinaryNode as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, type ComputedFormulaBinaryOperator as V, type ComputedFormulaCallNode as W, type ComputedFormulaLiteralNode as X, ComputedFormulaParseError as Y, type ComputedFormulaPathNode as Z, type ComputedStateStatus as _, type RichtextAttribute as a, type DateValue as a0, type NumberUnit as a1, type OptionPropertyAttribute as a2, type PropertyAttribute as a3, type PropertyType as a4, RELATION_TARGET_ANY as a5, type RichTextAttribute as a6, type StatusGroup as a7, hasOptions as a8, inferInverseCardinality as a9, isAttributeSortable as aa, isBilateralRelation as ab, isUniversalRelation as ac, parseComputedFormula as ad, resolvePropertyDefinitions as ae, type MultiselectAttribute as b, type SelectAttribute as c, type StatusAttribute as d, type RollupAttribute as e, type CheckboxAttribute as f, type AttributeType as g, type ComputedAttributeState as h, type ComputedValueType as i, type ComputedReturnType as j, type ComputedOptionsSource as k, type ComputedDependency as l, type ComputedPlan as m, type ComputedFormulaAstNode as n, type LocationGranularity as o, type Location as p, type DateRangeValue as q, type DocumentAttribute as r, type Phone as s, type Currency as t, type PropertySchema as u, type AutofillConfig as v, type TimeFormat as w, type FormulaReturnType as x, type RelationTarget as y, type RollupFunction as z };
583
+ export { type OptionPropertyAttribute as $, type Attribute as A, type BilateralConfig as B, type CurrencyAttribute as C, type DateAttribute as D, type AttributeGroup as E, type FormulaAttribute as F, type BaseAttribute as G, type ComputedFieldKind as H, type ComputedFormulaBinaryNode as I, type ComputedFormulaBinaryOperator as J, type ComputedFormulaCallNode as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type Option as O, type PhoneAttribute as P, type ComputedFormulaLiteralNode as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, ComputedFormulaParseError as V, type ComputedFormulaPathNode as W, type ComputedStateStatus as X, type DateFormat as Y, type DateValue as Z, type NumberUnit as _, type RichtextAttribute as a, type PropertyAttribute as a0, type PropertyType as a1, RELATION_TARGET_ANY as a2, type RichTextAttribute as a3, type StatusGroup as a4, hasOptions as a5, inferInverseCardinality as a6, isAttributeSortable as a7, isBilateralRelation as a8, isUniversalRelation as a9, parseComputedFormula as aa, resolvePropertyDefinitions as ab, type MultiselectAttribute as b, type SelectAttribute as c, type StatusAttribute as d, type RollupAttribute as e, type CheckboxAttribute as f, type AttributeType as g, type ComputedAttributeState as h, type ComputedValueType as i, type ComputedReturnType as j, type ComputedOptionsSource as k, type ComputedDependency as l, type ComputedPlan as m, type ComputedFormulaAstNode as n, type LocationGranularity as o, type Location as p, type DateRangeValue as q, type DocumentAttribute as r, type Phone as s, type Currency as t, type PropertySchema as u, type TimeFormat as v, type FormulaReturnType as w, type RelationTarget as x, type RollupFunction as y, type UserReferenceType as z };
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { A as Attribute, g as AttributeType, h as ComputedAttributeState } from './attributes-_6tvjbyl.js';
3
- import { V as ValidationMessages, a as ValidationResult } from './types-B_UZK_6m.js';
2
+ import { A as Attribute, g as AttributeType, h as ComputedAttributeState } from './attributes-DUuaECJI.js';
3
+ import { V as ValidationMessages, a as ValidationResult } from './types-CqZZxm_V.js';
4
4
  import { IconName } from '@stndrds/constants';
5
5
  import { Uuid } from './utils.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { A as Attribute, g as AttributeType, h as ComputedAttributeState } from './attributes-Cmkc7UgJ.mjs';
3
- import { V as ValidationMessages, a as ValidationResult } from './types-CVswgCx9.mjs';
2
+ import { A as Attribute, g as AttributeType, h as ComputedAttributeState } from './attributes-DCgZhISp.mjs';
3
+ import { V as ValidationMessages, a as ValidationResult } from './types-15lGDPlN.mjs';
4
4
  import { IconName } from '@stndrds/constants';
5
5
  import { Uuid } from './utils.mjs';
6
6
 
package/dist/index.d.mts CHANGED
@@ -1,14 +1,14 @@
1
- import { i as ComputedValueType, j as ComputedReturnType, g as AttributeType, k as ComputedOptionsSource, l as ComputedDependency, m as ComputedPlan, e as RollupAttribute, n as ComputedFormulaAstNode, A as Attribute, o as LocationGranularity, p as Location, F as FormulaAttribute, D as DateAttribute, q as DateRangeValue, r as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, s as Phone, t as Currency, U as UserAttribute, u as PropertySchema, v as AutofillConfig, f as CheckboxAttribute, C as CurrencyAttribute, w as TimeFormat, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, O as Option, L as LocationAttribute, x as FormulaReturnType, R as RelationAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, y as RelationTarget, a as RichtextAttribute, z as RollupFunction, E as UserReferenceType } from './attributes-Cmkc7UgJ.mjs';
2
- export { G as AUTOFILL_ELIGIBLE_TYPES, H as AttributeGroup, I as AutofillEligibleType, J as BaseAttribute, h as ComputedAttributeState, K as ComputedFieldKind, Q as ComputedFormulaBinaryNode, V as ComputedFormulaBinaryOperator, W as ComputedFormulaCallNode, X as ComputedFormulaLiteralNode, Y as ComputedFormulaParseError, Z as ComputedFormulaPathNode, _ as ComputedStateStatus, $ as DateFormat, a0 as DateValue, a1 as NumberUnit, a2 as OptionPropertyAttribute, a3 as PropertyAttribute, a4 as PropertyType, a5 as RELATION_TARGET_ANY, a6 as RichTextAttribute, a7 as StatusGroup, a8 as hasOptions, a9 as inferInverseCardinality, aa as isAttributeSortable, ab as isBilateralRelation, ac as isUniversalRelation, ad as parseComputedFormula, ae as resolvePropertyDefinitions } from './attributes-Cmkc7UgJ.mjs';
1
+ import { i as ComputedValueType, j as ComputedReturnType, g as AttributeType, k as ComputedOptionsSource, l as ComputedDependency, m as ComputedPlan, e as RollupAttribute, n as ComputedFormulaAstNode, A as Attribute, o as LocationGranularity, p as Location, F as FormulaAttribute, D as DateAttribute, q as DateRangeValue, r as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, s as Phone, t as Currency, U as UserAttribute, u as PropertySchema, f as CheckboxAttribute, C as CurrencyAttribute, v as TimeFormat, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, O as Option, L as LocationAttribute, w as FormulaReturnType, R as RelationAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, x as RelationTarget, a as RichtextAttribute, y as RollupFunction, z as UserReferenceType } from './attributes-DCgZhISp.mjs';
2
+ export { E as AttributeGroup, G as BaseAttribute, h as ComputedAttributeState, H as ComputedFieldKind, I as ComputedFormulaBinaryNode, J as ComputedFormulaBinaryOperator, K as ComputedFormulaCallNode, Q as ComputedFormulaLiteralNode, V as ComputedFormulaParseError, W as ComputedFormulaPathNode, X as ComputedStateStatus, Y as DateFormat, Z as DateValue, _ as NumberUnit, $ as OptionPropertyAttribute, a0 as PropertyAttribute, a1 as PropertyType, a2 as RELATION_TARGET_ANY, a3 as RichTextAttribute, a4 as StatusGroup, a5 as hasOptions, a6 as inferInverseCardinality, a7 as isAttributeSortable, a8 as isBilateralRelation, a9 as isUniversalRelation, aa as parseComputedFormula, ab as resolvePropertyDefinitions } from './attributes-DCgZhISp.mjs';
3
3
  import { IconName, MimeType, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
4
4
  import { Uuid, TenantId } from './utils.mjs';
5
5
  export { UserId, asTenantId, asUserId, deepEqual, generateId, indexBy } from './utils.mjs';
6
- import { D as DocumentLayout, T as Timestamps, S as SchemaOperation, M as MigrationDefinition, O as ObjectDefinition } from './helpers-BO10yqih.mjs';
7
- export { B as BuiltInTransform, h as DocumentLayoutVariant, F as FolderPreset, j as MAX_PRESET_DEPTH, k as ObjectAttribute, l as ObjectRecord, P as PresetNode, R as RESERVED_ATTRIBUTE_NAMES, m as RESERVED_OBJECT_NAMES, n as ReservedAttributeName, o as ReservedObjectName, p as SYSTEM_FIELD_NAMES, q as SystemFieldName, c as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, a as validateDraftOrThrow, b as validateObject, d as validateObjectOrThrow } from './helpers-BO10yqih.mjs';
6
+ import { D as DocumentLayout, T as Timestamps, S as SchemaOperation, M as MigrationDefinition, O as ObjectDefinition } from './helpers-B_NlMAm2.mjs';
7
+ export { B as BuiltInTransform, h as DocumentLayoutVariant, F as FolderPreset, j as MAX_PRESET_DEPTH, k as ObjectAttribute, l as ObjectRecord, P as PresetNode, R as RESERVED_ATTRIBUTE_NAMES, m as RESERVED_OBJECT_NAMES, n as ReservedAttributeName, o as ReservedObjectName, p as SYSTEM_FIELD_NAMES, q as SystemFieldName, c as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, a as validateDraftOrThrow, b as validateObject, d as validateObjectOrThrow } from './helpers-B_NlMAm2.mjs';
8
8
  import { StandardSchemaV1 } from '@standard-schema/spec';
9
9
  export { StandardSchemaV1 } from '@standard-schema/spec';
10
10
  import z from 'zod';
11
- export { V as ValidationMessages } from './types-CVswgCx9.mjs';
11
+ export { V as ValidationMessages } from './types-15lGDPlN.mjs';
12
12
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.mjs';
13
13
  export { parseAttributeConfig } from './validation/config/index.mjs';
14
14
 
@@ -270,16 +270,33 @@ interface ListOptions {
270
270
  }
271
271
 
272
272
  type CountMode = "none" | "estimated" | "exact";
273
+ interface CollectionPage {
274
+ hasMore: boolean;
275
+ total: number | null;
276
+ countMode: CountMode;
277
+ }
278
+ interface CollectionResponse<T> {
279
+ data: T[];
280
+ page: CollectionPage;
281
+ }
282
+ interface CollectionRequest {
283
+ limit?: number;
284
+ offset?: number;
285
+ countMode?: CountMode;
286
+ }
287
+ /** Legacy/internal offset-based pagination metadata. */
273
288
  interface PageInfo {
274
289
  limit: number;
275
290
  hasMore: boolean;
276
291
  total: number | null;
277
292
  countMode: CountMode;
278
293
  }
294
+ /** Legacy/internal offset-based pagination response. */
279
295
  interface PageResponse<T> {
280
296
  data: T[];
281
297
  page: PageInfo;
282
298
  }
299
+ /** Legacy/internal offset-based pagination options. */
283
300
  interface PageOptions {
284
301
  limit?: number;
285
302
  offset?: number;
@@ -963,6 +980,8 @@ interface DBView extends Timestamps {
963
980
  * Replaces the integer `schema_version` migration-tracking field.
964
981
  */
965
982
  baseline_hash: string | null;
983
+ /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
984
+ baseline_config: ViewConfig | null;
966
985
  }
967
986
  /**
968
987
  * Data for creating a new view.
@@ -980,6 +999,8 @@ interface CreateDBView {
980
999
  default?: boolean;
981
1000
  metadata?: Record<string, unknown>;
982
1001
  baseline_hash?: string | null;
1002
+ /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
1003
+ baseline_config?: ViewConfig | null;
983
1004
  }
984
1005
  /**
985
1006
  * Data for updating a view.
@@ -992,6 +1013,8 @@ interface UpdateDBView {
992
1013
  default?: boolean;
993
1014
  metadata?: Record<string, unknown>;
994
1015
  baseline_hash?: string | null;
1016
+ /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
1017
+ baseline_config?: ViewConfig | null;
995
1018
  }
996
1019
  /**
997
1020
  * Data for upserting a view (used by registry seeding).
@@ -1008,6 +1031,8 @@ interface UpsertDBView {
1008
1031
  default?: boolean;
1009
1032
  metadata?: Record<string, unknown>;
1010
1033
  baseline_hash?: string | null;
1034
+ /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
1035
+ baseline_config?: ViewConfig | null;
1011
1036
  }
1012
1037
  /**
1013
1038
  * View overlay as stored in database
@@ -4357,7 +4382,7 @@ interface InviteUserInput {
4357
4382
  * Client-safe: no prompts or server logic here.
4358
4383
  */
4359
4384
  /** Supported generator types in V1. */
4360
- type AIGenerationType = "regex" | "formula" | "autofill";
4385
+ type AIGenerationType = "regex" | "formula";
4361
4386
  /** Request payload for a regex generation. */
4362
4387
  interface RegexGenerationInput {
4363
4388
  /** Natural-language description of what to validate. */
@@ -4380,29 +4405,10 @@ interface FormulaGenerationInput {
4380
4405
  /** Expected return type of the formula (scalar types only). */
4381
4406
  returnType: "text" | "number" | "boolean" | "date";
4382
4407
  }
4383
- /** One field the autofill generator must fill. */
4384
- interface AutofillTargetSpec {
4385
- /** Payload key the model must answer under. */
4386
- key: string;
4387
- label: string;
4388
- /** Attribute type, drives the expected value shape. */
4389
- type: string;
4390
- /** Allowed values for select/status/multiselect targets. */
4391
- options?: string[];
4392
- /** Per-field hint from the schema config. */
4393
- instructions?: string;
4394
- }
4395
- /** Request payload for an autofill generation. */
4396
- interface AutofillGenerationInput {
4397
- /** Pre-serialized context: record values + OCR excerpts. */
4398
- context: string;
4399
- targets: AutofillTargetSpec[];
4400
- }
4401
4408
  /** Map from generator type to its input payload. */
4402
4409
  interface AIGenerationInputMap {
4403
4410
  regex: RegexGenerationInput;
4404
4411
  formula: FormulaGenerationInput;
4405
- autofill: AutofillGenerationInput;
4406
4412
  }
4407
4413
  /** Token usage returned to the caller (mirrors AI SDK usage). */
4408
4414
  interface AIGenerationUsage {
@@ -5059,12 +5065,6 @@ declare abstract class BaseAttributeBuilder<TAttr extends Attribute> implements
5059
5065
  runtime(): this;
5060
5066
  hidden(): this;
5061
5067
  placeholder(value: string): this;
5062
- /**
5063
- * Enable AI autofill for this attribute. `from` is mandatory:
5064
- * empty array = document-only, non-empty = also triggered when those
5065
- * source attributes change. Eligibility by type is validated at schema sync.
5066
- */
5067
- autofill(config: AutofillConfig): this;
5068
5068
  description(value: string): this;
5069
5069
  icon(value: IconName): this;
5070
5070
  order(value: number): this;
@@ -8422,6 +8422,19 @@ interface DynamicValueResolver<K extends DynamicValue["dynamic"]> {
8422
8422
  }>, ctx: ResolutionContext): FilterValue | undefined;
8423
8423
  }
8424
8424
 
8425
+ /** Extract the numeric amount from a currency filter value.
8426
+ * Accepts a plain number, a canonical CurrencyFilterValue ({ value, code? }),
8427
+ * or the stored currency shape ({ code, value }). Returns null when there is
8428
+ * no numeric amount. */
8429
+ declare function extractCurrencyFilterValue(value: unknown): number | null;
8430
+ /** General filter-value flattener: currency/phone/relative-date value objects
8431
+ * collapse to their comparable scalar; scalars pass through. */
8432
+ declare function extractFilterValue(value: unknown): string | number | boolean | null;
8433
+
8434
+ declare const SYNONYM_ALIASES: Record<string, string>;
8435
+ declare const CROSS_TYPE_CONVERSIONS: Record<string, Record<string, string>>;
8436
+ declare function normalizeOperator(rawOp: string, effectiveType: string): string;
8437
+
8425
8438
  /** Built-in external connector providers (v1). */
8426
8439
  type ConnectorProviderId = "gmail" | "outlook";
8427
8440
  /** Connection lifecycle status, mirrored from `connector_connections.status`. */
@@ -8591,4 +8604,4 @@ interface ViewSyncPayload {
8591
8604
  */
8592
8605
  declare function viewSyncPayload(view: ViewDefinition): ViewSyncPayload;
8593
8606
 
8594
- export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AIChatNotification, type AICompactionSummary, type AIGenerationInputMap, type AIGenerationResult, type AIGenerationType, type AIGenerationUsage, type AIMemoryEntry, type AIMemoryType, type AIMessageRole, type AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AISubagentStatus, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, AccessDeniedError, type AccessLevel, type Action, type ActivityTab, ActivityTabConfig, type Actor, type ActorRoleAssignment, type ActorStatus, type ActorType, type AddAttributeInput, type AddSharedMailboxInput, type AdvancedFilterState, type AgentBlueprint, AgentBuilder, type AgentBuilderConfig, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentMessagePart, type AgentMission, type AgentMissionArtifact, type AgentMissionPage, type AgentMissionPolicy, type AgentMissionRubric, type AgentMissionRubricCriterion, type AgentMissionStatus, type AgentMissionVerification, type AgentMissionView, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentTodoPlan, type AgentTodoPlanStatus, type AgentTodoPlanView, type AgentToolCall, type AgentTriggerBlueprint, type AgentTriggerDefinition, type AgentTriggerType, type AgentUnreadPatchLiveEvent, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type AssignActorRoleInput, type AssignRoleInput, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, type AttributeGroupField, AttributeInUseError, type AttributeLifecycleCapabilities, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, type AttributeUsage, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, type AuditSortField, AutofillConfig, type AutofillGenerationInput, type AutofillTargetSpec, BEHAVIOR_PROPERTIES, BROWSER_PREVIEW_STATUSES, BilateralConfig, type BoundingBox, type BrowserPreviewDescriptor, type BrowserPreviewStatus, type BrowserPreviewUpdatedLiveEvent, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CompactionStrategy, type CompileComputedFormulaInput, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, ComputedFormulaAstNode, ComputedFormulaCompileError, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ConfigOverrides, type ConnectionStatus, type ConnectionStatusId, type ConnectionView, type ConnectorCallbackStatusValue, type ConnectorProviderId, type ConnectorScope, type ConversationRenamedLiveEvent, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateCustomObjectInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateDocument, type CreateDocumentLink, type CreateFile, type CreateMode, type CreateNotificationInput, type CreateNotificationRecipientInput, type CreateObjectRecord, type CreatePermissionInput, type CreateRoleInput, type CreateUserProfile, type CreateViewInput, type CriticConfig, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomAttributeValue, type CustomTab, CustomTabConfig, type DBAttribute, type DBForm, type DBFormSubmission, type DBObject, type DBView, type DBViewOverlay, type DBViewSyncResolution, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DateAttribute, DateRangeValue, type DefaultRoleName, type DeletedMode, DestructiveSyncNotAllowedError, DetailViewBuilder, type DetailViewConfig, type DetailViewDefinition, type Document, DocumentAttribute, type DocumentFile, type DocumentKind, DocumentLayout, type DocumentListOptions, type DocumentWithFiles, type DocumentWithSubCount, type DocumentsTab, DocumentsTabConfig, type DomainEvent, DuplicateError, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, type EffectivePermissions, type EmailAttachmentMeta, type EmailDirection, type EmailParticipantRef, type EmailParticipantRole, type EmailProvider, type EmailVisibility, type EmailsTab, EmailsTabConfig, type EnvVarEntry, type EnvVarScope, type EventDataMap, type EventType, type ExtendedFilterRule, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FORM_FORBIDDEN_ATTRIBUTE_TYPES, type FeatureFlagDefinition, type FeatureFlagsConfig, type FeatureFlagsRepository, type FeatureGate, type Field, type FieldGroup, type FieldHistoryEntry, type File, type FileListOptions, type FileOcrStatus, type FilterCombinator, type FilterGroup, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagLevel, type FlagOverride, FlagRegistry, FlagService, type FlagValueType, ForbiddenError, FormBuilder, type FormDefinition, type FormDensity, type FormFieldRef, type FormFieldsRow, type FormFreeFieldRef, type FormHeadingRow, FormRegistry, type FormRow, FormRowBuilder, type FormSeparatorRow, type FormSlot, type FormSlotFieldRef, type FormStatus, type FormStep, FormStepBuilder, type FormSubmission, type FormSubmissionStatus, type FormSubmittedAgentEvent, type FormTab, type FormTextRow, type FormsTab, FormulaAttribute, type FormulaGenerationAttribute, type FormulaGenerationInput, FormulaReturnType, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, type Group, GroupBuilder, IDENTITY_PROPERTIES, type InferAttributeValue, type InferQualifiedProps, type InverseSource, type InviteUserInput, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, type ListOptions, ListViewBuilder, type ListViewConfig, type ListViewDefinition, type ListViewLayout, type ListViewTab, ListViewTabConfigBuilder, type LiveChannel, type LiveChannelKind, type LiveErrorPayload, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveGapPayload, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, type LiveReplayCompletePayload, type LiveSubscribePayload, type LiveUnsubscribePayload, Location, LocationAttribute, LocationGranularity, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, type MailboxAccount, type MailboxCursor, type MailboxEmail, type MailboxListResponse, type MailboxQuery, type MailboxReadState, type MailboxThread, type MailboxThreadDetail, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, MigrationTimeoutError, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_VALUE_OPERATORS, type NoValueOperator, NoopGeocodingAdapter, NotFoundError, NotImplementedError, type Notification, type NotificationCountPatchLiveEvent, type NotificationCounts, type NotificationCreatedLiveEvent, type NotificationInboxState, type NotificationKind, type NotificationListParams, type NotificationListResult, type NotificationPriority, type NotificationRecipient, type NotificationRecipientPatchLiveEvent, type NotificationSensitivity, type NotificationSubject, type NotificationType, type NotificationV1Type, type NotificationWithRecipient, type NotificationWorkState, NumberAttribute, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, type ObjectConfig, ObjectDefinition, ObjectNotFoundError, type ObjectPermissions, ObjectReferencedError, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperatorSpec, Option, OrphanSystemAttributeError, PRESENTATION_PROPERTIES, type PageInfo, type PageOptions, type PageResponse, type ParsedAttribute, type Permission, type PermissionScope, Phone, PhoneAttribute, type PhoneFilterValue, PropertySchema, ProtectedResourceError, ProtectedRoleError, type ProviderName, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, type QueryState, type ReasoningPartData, type RecordAgentEvent, type RecordDeletedLiveEvent, type RecordDocuments, type RecordFieldPatch, type RecordMetadata, RecordNotFoundError, type RecordPatchLiveEvent, type RecordReference, RecordReferencedError, type RegexGenerationInput, RelationAttribute, type RelationGroup, RelationGroupBuilder, type RelationOption, type RelationOptionsResponse, type RelationSource, RelationTarget, type RelativeDateValue, RepositoryError, type RepositoryOperation, type ResolutionContext, type ResolvedFlag, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, type RichtextTab, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SchemaOperation, SearchBackendError, type SearchOptions, SelectAttribute, type SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, type SortDirection, type SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StartConnectorAuthInput, type StartConnectorAuthResult, type StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, type StreamEventCompactionEnd, type StreamEventCompactionFailed, type StreamEventCompactionStart, type StreamEventMessagePersisted, type StreamEventMessageUpdated, type StreamEventMissionUpdate, type StreamEventTodoPlanUpdate, type StreamEventUsage, SyncCascadeError, SyncConflictError, SyncError, type SystemAttribute, type SystemAttributeI18nKey, SystemEntityImmutableError, type SystemFields, type SystemPermissions, type SystemResource, type Tab, TabBuilder, type TabType, type TableSource, type TableTab, TableTabConfig, TenantId, type TenantSettings, TextAttribute, type TextPartData, type ThinkingPartData, TimeFormat, Timestamps, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TriggerEventType, USER_STATUSES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateDocument, type UpdateFile, type UpdateObjectInput, type UpdateRoleInput, type UpdateUserProfile, type UpdateViewInput, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserLike, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ValueRef, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewSyncPayload, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, agent, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, canonicalStringify, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, dateValueStart, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, extractValueRefs, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isManagedSystemAttribute, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normalizeDateValue, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toMultiValueOperator, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, viewRegistry, viewSyncPayload };
8607
+ export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AIChatNotification, type AICompactionSummary, type AIGenerationInputMap, type AIGenerationResult, type AIGenerationType, type AIGenerationUsage, type AIMemoryEntry, type AIMemoryType, type AIMessageRole, type AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AISubagentStatus, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, AccessDeniedError, type AccessLevel, type Action, type ActivityTab, ActivityTabConfig, type Actor, type ActorRoleAssignment, type ActorStatus, type ActorType, type AddAttributeInput, type AddSharedMailboxInput, type AdvancedFilterState, type AgentBlueprint, AgentBuilder, type AgentBuilderConfig, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentMessagePart, type AgentMission, type AgentMissionArtifact, type AgentMissionPage, type AgentMissionPolicy, type AgentMissionRubric, type AgentMissionRubricCriterion, type AgentMissionStatus, type AgentMissionVerification, type AgentMissionView, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentTodoPlan, type AgentTodoPlanStatus, type AgentTodoPlanView, type AgentToolCall, type AgentTriggerBlueprint, type AgentTriggerDefinition, type AgentTriggerType, type AgentUnreadPatchLiveEvent, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type AssignActorRoleInput, type AssignRoleInput, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, type AttributeGroupField, AttributeInUseError, type AttributeLifecycleCapabilities, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, type AttributeUsage, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, type AuditSortField, BEHAVIOR_PROPERTIES, BROWSER_PREVIEW_STATUSES, BilateralConfig, type BoundingBox, type BrowserPreviewDescriptor, type BrowserPreviewStatus, type BrowserPreviewUpdatedLiveEvent, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, CROSS_TYPE_CONVERSIONS, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CollectionPage, type CollectionRequest, type CollectionResponse, type CompactionStrategy, type CompileComputedFormulaInput, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, ComputedFormulaAstNode, ComputedFormulaCompileError, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ConfigOverrides, type ConnectionStatus, type ConnectionStatusId, type ConnectionView, type ConnectorCallbackStatusValue, type ConnectorProviderId, type ConnectorScope, type ConversationRenamedLiveEvent, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateCustomObjectInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateDocument, type CreateDocumentLink, type CreateFile, type CreateMode, type CreateNotificationInput, type CreateNotificationRecipientInput, type CreateObjectRecord, type CreatePermissionInput, type CreateRoleInput, type CreateUserProfile, type CreateViewInput, type CriticConfig, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomAttributeValue, type CustomTab, CustomTabConfig, type DBAttribute, type DBForm, type DBFormSubmission, type DBObject, type DBView, type DBViewOverlay, type DBViewSyncResolution, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DateAttribute, DateRangeValue, type DefaultRoleName, type DeletedMode, DestructiveSyncNotAllowedError, DetailViewBuilder, type DetailViewConfig, type DetailViewDefinition, type Document, DocumentAttribute, type DocumentFile, type DocumentKind, DocumentLayout, type DocumentListOptions, type DocumentWithFiles, type DocumentWithSubCount, type DocumentsTab, DocumentsTabConfig, type DomainEvent, DuplicateError, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, type EffectivePermissions, type EmailAttachmentMeta, type EmailDirection, type EmailParticipantRef, type EmailParticipantRole, type EmailProvider, type EmailVisibility, type EmailsTab, EmailsTabConfig, type EnvVarEntry, type EnvVarScope, type EventDataMap, type EventType, type ExtendedFilterRule, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FORM_FORBIDDEN_ATTRIBUTE_TYPES, type FeatureFlagDefinition, type FeatureFlagsConfig, type FeatureFlagsRepository, type FeatureGate, type Field, type FieldGroup, type FieldHistoryEntry, type File, type FileListOptions, type FileOcrStatus, type FilterCombinator, type FilterGroup, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagLevel, type FlagOverride, FlagRegistry, FlagService, type FlagValueType, ForbiddenError, FormBuilder, type FormDefinition, type FormDensity, type FormFieldRef, type FormFieldsRow, type FormFreeFieldRef, type FormHeadingRow, FormRegistry, type FormRow, FormRowBuilder, type FormSeparatorRow, type FormSlot, type FormSlotFieldRef, type FormStatus, type FormStep, FormStepBuilder, type FormSubmission, type FormSubmissionStatus, type FormSubmittedAgentEvent, type FormTab, type FormTextRow, type FormsTab, FormulaAttribute, type FormulaGenerationAttribute, type FormulaGenerationInput, FormulaReturnType, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, type Group, GroupBuilder, IDENTITY_PROPERTIES, type InferAttributeValue, type InferQualifiedProps, type InverseSource, type InviteUserInput, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, type ListOptions, ListViewBuilder, type ListViewConfig, type ListViewDefinition, type ListViewLayout, type ListViewTab, ListViewTabConfigBuilder, type LiveChannel, type LiveChannelKind, type LiveErrorPayload, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveGapPayload, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, type LiveReplayCompletePayload, type LiveSubscribePayload, type LiveUnsubscribePayload, Location, LocationAttribute, LocationGranularity, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, type MailboxAccount, type MailboxCursor, type MailboxEmail, type MailboxListResponse, type MailboxQuery, type MailboxReadState, type MailboxThread, type MailboxThreadDetail, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, MigrationTimeoutError, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_VALUE_OPERATORS, type NoValueOperator, NoopGeocodingAdapter, NotFoundError, NotImplementedError, type Notification, type NotificationCountPatchLiveEvent, type NotificationCounts, type NotificationCreatedLiveEvent, type NotificationInboxState, type NotificationKind, type NotificationListParams, type NotificationListResult, type NotificationPriority, type NotificationRecipient, type NotificationRecipientPatchLiveEvent, type NotificationSensitivity, type NotificationSubject, type NotificationType, type NotificationV1Type, type NotificationWithRecipient, type NotificationWorkState, NumberAttribute, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, type ObjectConfig, ObjectDefinition, ObjectNotFoundError, type ObjectPermissions, ObjectReferencedError, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperatorSpec, Option, OrphanSystemAttributeError, PRESENTATION_PROPERTIES, type PageInfo, type PageOptions, type PageResponse, type ParsedAttribute, type Permission, type PermissionScope, Phone, PhoneAttribute, type PhoneFilterValue, PropertySchema, ProtectedResourceError, ProtectedRoleError, type ProviderName, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, type QueryState, type ReasoningPartData, type RecordAgentEvent, type RecordDeletedLiveEvent, type RecordDocuments, type RecordFieldPatch, type RecordMetadata, RecordNotFoundError, type RecordPatchLiveEvent, type RecordReference, RecordReferencedError, type RegexGenerationInput, RelationAttribute, type RelationGroup, RelationGroupBuilder, type RelationOption, type RelationOptionsResponse, type RelationSource, RelationTarget, type RelativeDateValue, RepositoryError, type RepositoryOperation, type ResolutionContext, type ResolvedFlag, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, type RichtextTab, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SchemaOperation, SearchBackendError, type SearchOptions, SelectAttribute, type SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, type SortDirection, type SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StartConnectorAuthInput, type StartConnectorAuthResult, type StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, type StreamEventCompactionEnd, type StreamEventCompactionFailed, type StreamEventCompactionStart, type StreamEventMessagePersisted, type StreamEventMessageUpdated, type StreamEventMissionUpdate, type StreamEventTodoPlanUpdate, type StreamEventUsage, SyncCascadeError, SyncConflictError, SyncError, type SystemAttribute, type SystemAttributeI18nKey, SystemEntityImmutableError, type SystemFields, type SystemPermissions, type SystemResource, type Tab, TabBuilder, type TabType, type TableSource, type TableTab, TableTabConfig, TenantId, type TenantSettings, TextAttribute, type TextPartData, type ThinkingPartData, TimeFormat, Timestamps, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TriggerEventType, USER_STATUSES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateDocument, type UpdateFile, type UpdateObjectInput, type UpdateRoleInput, type UpdateUserProfile, type UpdateViewInput, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserLike, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ValueRef, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewSyncPayload, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, agent, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, canonicalStringify, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, dateValueStart, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, extractCurrencyFilterValue, extractFilterValue, extractValueRefs, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isManagedSystemAttribute, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normalizeDateValue, normalizeForEdgeRpc, normalizeOperator, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toMultiValueOperator, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, viewRegistry, viewSyncPayload };
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- import { i as ComputedValueType, j as ComputedReturnType, g as AttributeType, k as ComputedOptionsSource, l as ComputedDependency, m as ComputedPlan, e as RollupAttribute, n as ComputedFormulaAstNode, A as Attribute, o as LocationGranularity, p as Location, F as FormulaAttribute, D as DateAttribute, q as DateRangeValue, r as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, s as Phone, t as Currency, U as UserAttribute, u as PropertySchema, v as AutofillConfig, f as CheckboxAttribute, C as CurrencyAttribute, w as TimeFormat, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, O as Option, L as LocationAttribute, x as FormulaReturnType, R as RelationAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, y as RelationTarget, a as RichtextAttribute, z as RollupFunction, E as UserReferenceType } from './attributes-_6tvjbyl.js';
2
- export { G as AUTOFILL_ELIGIBLE_TYPES, H as AttributeGroup, I as AutofillEligibleType, J as BaseAttribute, h as ComputedAttributeState, K as ComputedFieldKind, Q as ComputedFormulaBinaryNode, V as ComputedFormulaBinaryOperator, W as ComputedFormulaCallNode, X as ComputedFormulaLiteralNode, Y as ComputedFormulaParseError, Z as ComputedFormulaPathNode, _ as ComputedStateStatus, $ as DateFormat, a0 as DateValue, a1 as NumberUnit, a2 as OptionPropertyAttribute, a3 as PropertyAttribute, a4 as PropertyType, a5 as RELATION_TARGET_ANY, a6 as RichTextAttribute, a7 as StatusGroup, a8 as hasOptions, a9 as inferInverseCardinality, aa as isAttributeSortable, ab as isBilateralRelation, ac as isUniversalRelation, ad as parseComputedFormula, ae as resolvePropertyDefinitions } from './attributes-_6tvjbyl.js';
1
+ import { i as ComputedValueType, j as ComputedReturnType, g as AttributeType, k as ComputedOptionsSource, l as ComputedDependency, m as ComputedPlan, e as RollupAttribute, n as ComputedFormulaAstNode, A as Attribute, o as LocationGranularity, p as Location, F as FormulaAttribute, D as DateAttribute, q as DateRangeValue, r as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, s as Phone, t as Currency, U as UserAttribute, u as PropertySchema, f as CheckboxAttribute, C as CurrencyAttribute, v as TimeFormat, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, O as Option, L as LocationAttribute, w as FormulaReturnType, R as RelationAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, x as RelationTarget, a as RichtextAttribute, y as RollupFunction, z as UserReferenceType } from './attributes-DUuaECJI.js';
2
+ export { E as AttributeGroup, G as BaseAttribute, h as ComputedAttributeState, H as ComputedFieldKind, I as ComputedFormulaBinaryNode, J as ComputedFormulaBinaryOperator, K as ComputedFormulaCallNode, Q as ComputedFormulaLiteralNode, V as ComputedFormulaParseError, W as ComputedFormulaPathNode, X as ComputedStateStatus, Y as DateFormat, Z as DateValue, _ as NumberUnit, $ as OptionPropertyAttribute, a0 as PropertyAttribute, a1 as PropertyType, a2 as RELATION_TARGET_ANY, a3 as RichTextAttribute, a4 as StatusGroup, a5 as hasOptions, a6 as inferInverseCardinality, a7 as isAttributeSortable, a8 as isBilateralRelation, a9 as isUniversalRelation, aa as parseComputedFormula, ab as resolvePropertyDefinitions } from './attributes-DUuaECJI.js';
3
3
  import { IconName, MimeType, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
4
4
  import { Uuid, TenantId } from './utils.js';
5
5
  export { UserId, asTenantId, asUserId, deepEqual, generateId, indexBy } from './utils.js';
6
- import { D as DocumentLayout, T as Timestamps, S as SchemaOperation, M as MigrationDefinition, O as ObjectDefinition } from './helpers-BTC6TsKH.js';
7
- export { B as BuiltInTransform, h as DocumentLayoutVariant, F as FolderPreset, j as MAX_PRESET_DEPTH, k as ObjectAttribute, l as ObjectRecord, P as PresetNode, R as RESERVED_ATTRIBUTE_NAMES, m as RESERVED_OBJECT_NAMES, n as ReservedAttributeName, o as ReservedObjectName, p as SYSTEM_FIELD_NAMES, q as SystemFieldName, c as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, a as validateDraftOrThrow, b as validateObject, d as validateObjectOrThrow } from './helpers-BTC6TsKH.js';
6
+ import { D as DocumentLayout, T as Timestamps, S as SchemaOperation, M as MigrationDefinition, O as ObjectDefinition } from './helpers-B4qBjTd0.js';
7
+ export { B as BuiltInTransform, h as DocumentLayoutVariant, F as FolderPreset, j as MAX_PRESET_DEPTH, k as ObjectAttribute, l as ObjectRecord, P as PresetNode, R as RESERVED_ATTRIBUTE_NAMES, m as RESERVED_OBJECT_NAMES, n as ReservedAttributeName, o as ReservedObjectName, p as SYSTEM_FIELD_NAMES, q as SystemFieldName, c as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, a as validateDraftOrThrow, b as validateObject, d as validateObjectOrThrow } from './helpers-B4qBjTd0.js';
8
8
  import { StandardSchemaV1 } from '@standard-schema/spec';
9
9
  export { StandardSchemaV1 } from '@standard-schema/spec';
10
10
  import z from 'zod';
11
- export { V as ValidationMessages } from './types-B_UZK_6m.js';
11
+ export { V as ValidationMessages } from './types-CqZZxm_V.js';
12
12
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.js';
13
13
  export { parseAttributeConfig } from './validation/config/index.js';
14
14
 
@@ -270,16 +270,33 @@ interface ListOptions {
270
270
  }
271
271
 
272
272
  type CountMode = "none" | "estimated" | "exact";
273
+ interface CollectionPage {
274
+ hasMore: boolean;
275
+ total: number | null;
276
+ countMode: CountMode;
277
+ }
278
+ interface CollectionResponse<T> {
279
+ data: T[];
280
+ page: CollectionPage;
281
+ }
282
+ interface CollectionRequest {
283
+ limit?: number;
284
+ offset?: number;
285
+ countMode?: CountMode;
286
+ }
287
+ /** Legacy/internal offset-based pagination metadata. */
273
288
  interface PageInfo {
274
289
  limit: number;
275
290
  hasMore: boolean;
276
291
  total: number | null;
277
292
  countMode: CountMode;
278
293
  }
294
+ /** Legacy/internal offset-based pagination response. */
279
295
  interface PageResponse<T> {
280
296
  data: T[];
281
297
  page: PageInfo;
282
298
  }
299
+ /** Legacy/internal offset-based pagination options. */
283
300
  interface PageOptions {
284
301
  limit?: number;
285
302
  offset?: number;
@@ -963,6 +980,8 @@ interface DBView extends Timestamps {
963
980
  * Replaces the integer `schema_version` migration-tracking field.
964
981
  */
965
982
  baseline_hash: string | null;
983
+ /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
984
+ baseline_config: ViewConfig | null;
966
985
  }
967
986
  /**
968
987
  * Data for creating a new view.
@@ -980,6 +999,8 @@ interface CreateDBView {
980
999
  default?: boolean;
981
1000
  metadata?: Record<string, unknown>;
982
1001
  baseline_hash?: string | null;
1002
+ /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
1003
+ baseline_config?: ViewConfig | null;
983
1004
  }
984
1005
  /**
985
1006
  * Data for updating a view.
@@ -992,6 +1013,8 @@ interface UpdateDBView {
992
1013
  default?: boolean;
993
1014
  metadata?: Record<string, unknown>;
994
1015
  baseline_hash?: string | null;
1016
+ /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
1017
+ baseline_config?: ViewConfig | null;
995
1018
  }
996
1019
  /**
997
1020
  * Data for upserting a view (used by registry seeding).
@@ -1008,6 +1031,8 @@ interface UpsertDBView {
1008
1031
  default?: boolean;
1009
1032
  metadata?: Record<string, unknown>;
1010
1033
  baseline_hash?: string | null;
1034
+ /** The view config the row was last known to match; null if never synced. Used for the runtime-vs-baseline delta. */
1035
+ baseline_config?: ViewConfig | null;
1011
1036
  }
1012
1037
  /**
1013
1038
  * View overlay as stored in database
@@ -4357,7 +4382,7 @@ interface InviteUserInput {
4357
4382
  * Client-safe: no prompts or server logic here.
4358
4383
  */
4359
4384
  /** Supported generator types in V1. */
4360
- type AIGenerationType = "regex" | "formula" | "autofill";
4385
+ type AIGenerationType = "regex" | "formula";
4361
4386
  /** Request payload for a regex generation. */
4362
4387
  interface RegexGenerationInput {
4363
4388
  /** Natural-language description of what to validate. */
@@ -4380,29 +4405,10 @@ interface FormulaGenerationInput {
4380
4405
  /** Expected return type of the formula (scalar types only). */
4381
4406
  returnType: "text" | "number" | "boolean" | "date";
4382
4407
  }
4383
- /** One field the autofill generator must fill. */
4384
- interface AutofillTargetSpec {
4385
- /** Payload key the model must answer under. */
4386
- key: string;
4387
- label: string;
4388
- /** Attribute type, drives the expected value shape. */
4389
- type: string;
4390
- /** Allowed values for select/status/multiselect targets. */
4391
- options?: string[];
4392
- /** Per-field hint from the schema config. */
4393
- instructions?: string;
4394
- }
4395
- /** Request payload for an autofill generation. */
4396
- interface AutofillGenerationInput {
4397
- /** Pre-serialized context: record values + OCR excerpts. */
4398
- context: string;
4399
- targets: AutofillTargetSpec[];
4400
- }
4401
4408
  /** Map from generator type to its input payload. */
4402
4409
  interface AIGenerationInputMap {
4403
4410
  regex: RegexGenerationInput;
4404
4411
  formula: FormulaGenerationInput;
4405
- autofill: AutofillGenerationInput;
4406
4412
  }
4407
4413
  /** Token usage returned to the caller (mirrors AI SDK usage). */
4408
4414
  interface AIGenerationUsage {
@@ -5059,12 +5065,6 @@ declare abstract class BaseAttributeBuilder<TAttr extends Attribute> implements
5059
5065
  runtime(): this;
5060
5066
  hidden(): this;
5061
5067
  placeholder(value: string): this;
5062
- /**
5063
- * Enable AI autofill for this attribute. `from` is mandatory:
5064
- * empty array = document-only, non-empty = also triggered when those
5065
- * source attributes change. Eligibility by type is validated at schema sync.
5066
- */
5067
- autofill(config: AutofillConfig): this;
5068
5068
  description(value: string): this;
5069
5069
  icon(value: IconName): this;
5070
5070
  order(value: number): this;
@@ -8422,6 +8422,19 @@ interface DynamicValueResolver<K extends DynamicValue["dynamic"]> {
8422
8422
  }>, ctx: ResolutionContext): FilterValue | undefined;
8423
8423
  }
8424
8424
 
8425
+ /** Extract the numeric amount from a currency filter value.
8426
+ * Accepts a plain number, a canonical CurrencyFilterValue ({ value, code? }),
8427
+ * or the stored currency shape ({ code, value }). Returns null when there is
8428
+ * no numeric amount. */
8429
+ declare function extractCurrencyFilterValue(value: unknown): number | null;
8430
+ /** General filter-value flattener: currency/phone/relative-date value objects
8431
+ * collapse to their comparable scalar; scalars pass through. */
8432
+ declare function extractFilterValue(value: unknown): string | number | boolean | null;
8433
+
8434
+ declare const SYNONYM_ALIASES: Record<string, string>;
8435
+ declare const CROSS_TYPE_CONVERSIONS: Record<string, Record<string, string>>;
8436
+ declare function normalizeOperator(rawOp: string, effectiveType: string): string;
8437
+
8425
8438
  /** Built-in external connector providers (v1). */
8426
8439
  type ConnectorProviderId = "gmail" | "outlook";
8427
8440
  /** Connection lifecycle status, mirrored from `connector_connections.status`. */
@@ -8591,4 +8604,4 @@ interface ViewSyncPayload {
8591
8604
  */
8592
8605
  declare function viewSyncPayload(view: ViewDefinition): ViewSyncPayload;
8593
8606
 
8594
- export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AIChatNotification, type AICompactionSummary, type AIGenerationInputMap, type AIGenerationResult, type AIGenerationType, type AIGenerationUsage, type AIMemoryEntry, type AIMemoryType, type AIMessageRole, type AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AISubagentStatus, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, AccessDeniedError, type AccessLevel, type Action, type ActivityTab, ActivityTabConfig, type Actor, type ActorRoleAssignment, type ActorStatus, type ActorType, type AddAttributeInput, type AddSharedMailboxInput, type AdvancedFilterState, type AgentBlueprint, AgentBuilder, type AgentBuilderConfig, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentMessagePart, type AgentMission, type AgentMissionArtifact, type AgentMissionPage, type AgentMissionPolicy, type AgentMissionRubric, type AgentMissionRubricCriterion, type AgentMissionStatus, type AgentMissionVerification, type AgentMissionView, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentTodoPlan, type AgentTodoPlanStatus, type AgentTodoPlanView, type AgentToolCall, type AgentTriggerBlueprint, type AgentTriggerDefinition, type AgentTriggerType, type AgentUnreadPatchLiveEvent, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type AssignActorRoleInput, type AssignRoleInput, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, type AttributeGroupField, AttributeInUseError, type AttributeLifecycleCapabilities, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, type AttributeUsage, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, type AuditSortField, AutofillConfig, type AutofillGenerationInput, type AutofillTargetSpec, BEHAVIOR_PROPERTIES, BROWSER_PREVIEW_STATUSES, BilateralConfig, type BoundingBox, type BrowserPreviewDescriptor, type BrowserPreviewStatus, type BrowserPreviewUpdatedLiveEvent, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CompactionStrategy, type CompileComputedFormulaInput, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, ComputedFormulaAstNode, ComputedFormulaCompileError, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ConfigOverrides, type ConnectionStatus, type ConnectionStatusId, type ConnectionView, type ConnectorCallbackStatusValue, type ConnectorProviderId, type ConnectorScope, type ConversationRenamedLiveEvent, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateCustomObjectInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateDocument, type CreateDocumentLink, type CreateFile, type CreateMode, type CreateNotificationInput, type CreateNotificationRecipientInput, type CreateObjectRecord, type CreatePermissionInput, type CreateRoleInput, type CreateUserProfile, type CreateViewInput, type CriticConfig, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomAttributeValue, type CustomTab, CustomTabConfig, type DBAttribute, type DBForm, type DBFormSubmission, type DBObject, type DBView, type DBViewOverlay, type DBViewSyncResolution, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DateAttribute, DateRangeValue, type DefaultRoleName, type DeletedMode, DestructiveSyncNotAllowedError, DetailViewBuilder, type DetailViewConfig, type DetailViewDefinition, type Document, DocumentAttribute, type DocumentFile, type DocumentKind, DocumentLayout, type DocumentListOptions, type DocumentWithFiles, type DocumentWithSubCount, type DocumentsTab, DocumentsTabConfig, type DomainEvent, DuplicateError, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, type EffectivePermissions, type EmailAttachmentMeta, type EmailDirection, type EmailParticipantRef, type EmailParticipantRole, type EmailProvider, type EmailVisibility, type EmailsTab, EmailsTabConfig, type EnvVarEntry, type EnvVarScope, type EventDataMap, type EventType, type ExtendedFilterRule, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FORM_FORBIDDEN_ATTRIBUTE_TYPES, type FeatureFlagDefinition, type FeatureFlagsConfig, type FeatureFlagsRepository, type FeatureGate, type Field, type FieldGroup, type FieldHistoryEntry, type File, type FileListOptions, type FileOcrStatus, type FilterCombinator, type FilterGroup, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagLevel, type FlagOverride, FlagRegistry, FlagService, type FlagValueType, ForbiddenError, FormBuilder, type FormDefinition, type FormDensity, type FormFieldRef, type FormFieldsRow, type FormFreeFieldRef, type FormHeadingRow, FormRegistry, type FormRow, FormRowBuilder, type FormSeparatorRow, type FormSlot, type FormSlotFieldRef, type FormStatus, type FormStep, FormStepBuilder, type FormSubmission, type FormSubmissionStatus, type FormSubmittedAgentEvent, type FormTab, type FormTextRow, type FormsTab, FormulaAttribute, type FormulaGenerationAttribute, type FormulaGenerationInput, FormulaReturnType, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, type Group, GroupBuilder, IDENTITY_PROPERTIES, type InferAttributeValue, type InferQualifiedProps, type InverseSource, type InviteUserInput, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, type ListOptions, ListViewBuilder, type ListViewConfig, type ListViewDefinition, type ListViewLayout, type ListViewTab, ListViewTabConfigBuilder, type LiveChannel, type LiveChannelKind, type LiveErrorPayload, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveGapPayload, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, type LiveReplayCompletePayload, type LiveSubscribePayload, type LiveUnsubscribePayload, Location, LocationAttribute, LocationGranularity, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, type MailboxAccount, type MailboxCursor, type MailboxEmail, type MailboxListResponse, type MailboxQuery, type MailboxReadState, type MailboxThread, type MailboxThreadDetail, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, MigrationTimeoutError, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_VALUE_OPERATORS, type NoValueOperator, NoopGeocodingAdapter, NotFoundError, NotImplementedError, type Notification, type NotificationCountPatchLiveEvent, type NotificationCounts, type NotificationCreatedLiveEvent, type NotificationInboxState, type NotificationKind, type NotificationListParams, type NotificationListResult, type NotificationPriority, type NotificationRecipient, type NotificationRecipientPatchLiveEvent, type NotificationSensitivity, type NotificationSubject, type NotificationType, type NotificationV1Type, type NotificationWithRecipient, type NotificationWorkState, NumberAttribute, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, type ObjectConfig, ObjectDefinition, ObjectNotFoundError, type ObjectPermissions, ObjectReferencedError, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperatorSpec, Option, OrphanSystemAttributeError, PRESENTATION_PROPERTIES, type PageInfo, type PageOptions, type PageResponse, type ParsedAttribute, type Permission, type PermissionScope, Phone, PhoneAttribute, type PhoneFilterValue, PropertySchema, ProtectedResourceError, ProtectedRoleError, type ProviderName, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, type QueryState, type ReasoningPartData, type RecordAgentEvent, type RecordDeletedLiveEvent, type RecordDocuments, type RecordFieldPatch, type RecordMetadata, RecordNotFoundError, type RecordPatchLiveEvent, type RecordReference, RecordReferencedError, type RegexGenerationInput, RelationAttribute, type RelationGroup, RelationGroupBuilder, type RelationOption, type RelationOptionsResponse, type RelationSource, RelationTarget, type RelativeDateValue, RepositoryError, type RepositoryOperation, type ResolutionContext, type ResolvedFlag, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, type RichtextTab, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SchemaOperation, SearchBackendError, type SearchOptions, SelectAttribute, type SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, type SortDirection, type SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StartConnectorAuthInput, type StartConnectorAuthResult, type StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, type StreamEventCompactionEnd, type StreamEventCompactionFailed, type StreamEventCompactionStart, type StreamEventMessagePersisted, type StreamEventMessageUpdated, type StreamEventMissionUpdate, type StreamEventTodoPlanUpdate, type StreamEventUsage, SyncCascadeError, SyncConflictError, SyncError, type SystemAttribute, type SystemAttributeI18nKey, SystemEntityImmutableError, type SystemFields, type SystemPermissions, type SystemResource, type Tab, TabBuilder, type TabType, type TableSource, type TableTab, TableTabConfig, TenantId, type TenantSettings, TextAttribute, type TextPartData, type ThinkingPartData, TimeFormat, Timestamps, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TriggerEventType, USER_STATUSES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateDocument, type UpdateFile, type UpdateObjectInput, type UpdateRoleInput, type UpdateUserProfile, type UpdateViewInput, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserLike, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ValueRef, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewSyncPayload, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, agent, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, canonicalStringify, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, dateValueStart, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, extractValueRefs, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isManagedSystemAttribute, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normalizeDateValue, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toMultiValueOperator, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, viewRegistry, viewSyncPayload };
8607
+ export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AIChatNotification, type AICompactionSummary, type AIGenerationInputMap, type AIGenerationResult, type AIGenerationType, type AIGenerationUsage, type AIMemoryEntry, type AIMemoryType, type AIMessageRole, type AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AISubagentStatus, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallStatus, type AIUsageMetrics, ALLOWED_PROPERTY_TYPES, ALL_ACTIONS, ALL_SYSTEM_RESOURCES, ATTRIBUTE_FILTER_OPERATORS, AUDIT_ACTIONS, AUDIT_RESOURCE_TYPES, AccessDeniedError, type AccessLevel, type Action, type ActivityTab, ActivityTabConfig, type Actor, type ActorRoleAssignment, type ActorStatus, type ActorType, type AddAttributeInput, type AddSharedMailboxInput, type AdvancedFilterState, type AgentBlueprint, AgentBuilder, type AgentBuilderConfig, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentMessagePart, type AgentMission, type AgentMissionArtifact, type AgentMissionPage, type AgentMissionPolicy, type AgentMissionRubric, type AgentMissionRubricCriterion, type AgentMissionStatus, type AgentMissionVerification, type AgentMissionView, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentTodoPlan, type AgentTodoPlanStatus, type AgentTodoPlanView, type AgentToolCall, type AgentTriggerBlueprint, type AgentTriggerDefinition, type AgentTriggerType, type AgentUnreadPatchLiveEvent, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type AssignActorRoleInput, type AssignRoleInput, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, type AttributeGroupField, AttributeInUseError, type AttributeLifecycleCapabilities, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, type AttributeUsage, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, type AuditSortField, BEHAVIOR_PROPERTIES, BROWSER_PREVIEW_STATUSES, BilateralConfig, type BoundingBox, type BrowserPreviewDescriptor, type BrowserPreviewStatus, type BrowserPreviewUpdatedLiveEvent, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, CROSS_TYPE_CONVERSIONS, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CollectionPage, type CollectionRequest, type CollectionResponse, type CompactionStrategy, type CompileComputedFormulaInput, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, ComputedFormulaAstNode, ComputedFormulaCompileError, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ConfigOverrides, type ConnectionStatus, type ConnectionStatusId, type ConnectionView, type ConnectorCallbackStatusValue, type ConnectorProviderId, type ConnectorScope, type ConversationRenamedLiveEvent, type CountMode, type CreateActorInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateCustomObjectInput, type CreateDBAttribute, type CreateDBForm, type CreateDBFormSubmission, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateDocument, type CreateDocumentLink, type CreateFile, type CreateMode, type CreateNotificationInput, type CreateNotificationRecipientInput, type CreateObjectRecord, type CreatePermissionInput, type CreateRoleInput, type CreateUserProfile, type CreateViewInput, type CriticConfig, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomAttributeValue, type CustomTab, CustomTabConfig, type DBAttribute, type DBForm, type DBFormSubmission, type DBObject, type DBView, type DBViewOverlay, type DBViewSyncResolution, DB_COLUMN_FIELDS, DEFAULT_AGENT_EXECUTION_CONFIG, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DateAttribute, DateRangeValue, type DefaultRoleName, type DeletedMode, DestructiveSyncNotAllowedError, DetailViewBuilder, type DetailViewConfig, type DetailViewDefinition, type Document, DocumentAttribute, type DocumentFile, type DocumentKind, DocumentLayout, type DocumentListOptions, type DocumentWithFiles, type DocumentWithSubCount, type DocumentsTab, DocumentsTabConfig, type DomainEvent, DuplicateError, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, type EffectivePermissions, type EmailAttachmentMeta, type EmailDirection, type EmailParticipantRef, type EmailParticipantRole, type EmailProvider, type EmailVisibility, type EmailsTab, EmailsTabConfig, type EnvVarEntry, type EnvVarScope, type EventDataMap, type EventType, type ExtendedFilterRule, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FORM_FORBIDDEN_ATTRIBUTE_TYPES, type FeatureFlagDefinition, type FeatureFlagsConfig, type FeatureFlagsRepository, type FeatureGate, type Field, type FieldGroup, type FieldHistoryEntry, type File, type FileListOptions, type FileOcrStatus, type FilterCombinator, type FilterGroup, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagLevel, type FlagOverride, FlagRegistry, FlagService, type FlagValueType, ForbiddenError, FormBuilder, type FormDefinition, type FormDensity, type FormFieldRef, type FormFieldsRow, type FormFreeFieldRef, type FormHeadingRow, FormRegistry, type FormRow, FormRowBuilder, type FormSeparatorRow, type FormSlot, type FormSlotFieldRef, type FormStatus, type FormStep, FormStepBuilder, type FormSubmission, type FormSubmissionStatus, type FormSubmittedAgentEvent, type FormTab, type FormTextRow, type FormsTab, FormulaAttribute, type FormulaGenerationAttribute, type FormulaGenerationInput, FormulaReturnType, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, type Group, GroupBuilder, IDENTITY_PROPERTIES, type InferAttributeValue, type InferQualifiedProps, type InverseSource, type InviteUserInput, LIVE_EVENT_TYPES, LIVE_STREAM_START_CURSOR, type ListOptions, ListViewBuilder, type ListViewConfig, type ListViewDefinition, type ListViewLayout, type ListViewTab, ListViewTabConfigBuilder, type LiveChannel, type LiveChannelKind, type LiveErrorPayload, type LiveEventEnvelope, type LiveEventPayload, type LiveEventType, type LiveGapPayload, type LiveNotification, type LiveNotificationRecipient, type LiveNotificationRecipientPatch, type LiveReplayCompletePayload, type LiveSubscribePayload, type LiveUnsubscribePayload, Location, LocationAttribute, LocationGranularity, MEMORY_LIST_VIEW, MEMORY_OBJECT, MEMORY_VIEW, type MailboxAccount, type MailboxCursor, type MailboxEmail, type MailboxListResponse, type MailboxQuery, type MailboxReadState, type MailboxThread, type MailboxThreadDetail, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, MigrationTimeoutError, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NOTIFICATION_INBOX_STATES, NOTIFICATION_KINDS, NOTIFICATION_PRIORITIES, NOTIFICATION_SENSITIVITIES, NOTIFICATION_TYPES_V1, NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED, NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED, NOTIFICATION_TYPE_AGENT_SESSION_FAILED, NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT, NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN, NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED, NOTIFICATION_WORK_STATES, NO_VALUE_OPERATORS, type NoValueOperator, NoopGeocodingAdapter, NotFoundError, NotImplementedError, type Notification, type NotificationCountPatchLiveEvent, type NotificationCounts, type NotificationCreatedLiveEvent, type NotificationInboxState, type NotificationKind, type NotificationListParams, type NotificationListResult, type NotificationPriority, type NotificationRecipient, type NotificationRecipientPatchLiveEvent, type NotificationSensitivity, type NotificationSubject, type NotificationType, type NotificationV1Type, type NotificationWithRecipient, type NotificationWorkState, NumberAttribute, OPERATORS_BY_TYPE, OPERATOR_SPECS, ObjectBuilder, type ObjectConfig, ObjectDefinition, ObjectNotFoundError, type ObjectPermissions, ObjectReferencedError, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperatorSpec, Option, OrphanSystemAttributeError, PRESENTATION_PROPERTIES, type PageInfo, type PageOptions, type PageResponse, type ParsedAttribute, type Permission, type PermissionScope, Phone, PhoneAttribute, type PhoneFilterValue, PropertySchema, ProtectedResourceError, ProtectedRoleError, type ProviderName, QUALIFIED_SEPARATOR, type QualifiedDocumentAttributeBuilder, type QualifiedDocumentBrand, type QueryState, type ReasoningPartData, type RecordAgentEvent, type RecordDeletedLiveEvent, type RecordDocuments, type RecordFieldPatch, type RecordMetadata, RecordNotFoundError, type RecordPatchLiveEvent, type RecordReference, RecordReferencedError, type RegexGenerationInput, RelationAttribute, type RelationGroup, RelationGroupBuilder, type RelationOption, type RelationOptionsResponse, type RelationSource, RelationTarget, type RelativeDateValue, RepositoryError, type RepositoryOperation, type ResolutionContext, type ResolvedFlag, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, type RichtextTab, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, SKILL_LIST_VIEW, SKILL_OBJECT, SKILL_VIEW, STANDARD_SCHEMA_VENDOR, SYNONYM_ALIASES, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SchemaOperation, SearchBackendError, type SearchOptions, SelectAttribute, type SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, type SortDirection, type SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StartConnectorAuthInput, type StartConnectorAuthResult, type StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, type StreamEventCompactionEnd, type StreamEventCompactionFailed, type StreamEventCompactionStart, type StreamEventMessagePersisted, type StreamEventMessageUpdated, type StreamEventMissionUpdate, type StreamEventTodoPlanUpdate, type StreamEventUsage, SyncCascadeError, SyncConflictError, SyncError, type SystemAttribute, type SystemAttributeI18nKey, SystemEntityImmutableError, type SystemFields, type SystemPermissions, type SystemResource, type Tab, TabBuilder, type TabType, type TableSource, type TableTab, TableTabConfig, TenantId, type TenantSettings, TextAttribute, type TextPartData, type ThinkingPartData, TimeFormat, Timestamps, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TriggerEventType, USER_STATUSES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateDocument, type UpdateFile, type UpdateObjectInput, type UpdateRoleInput, type UpdateUserProfile, type UpdateViewInput, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserLike, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ValueRef, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewSyncPayload, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, agent, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, canonicalStringify, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, dateValueStart, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, extractCurrencyFilterValue, extractFilterValue, extractValueRefs, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSlotFieldTargets, getSystemAttributeI18nKey, getSystemAttributeList, getUserDisplayName, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDateRangeValue, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isManagedSystemAttribute, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normalizeDateValue, normalizeForEdgeRpc, normalizeOperator, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toMultiValueOperator, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, viewRegistry, viewSyncPayload };