@stndrds/schema 1.0.0-alpha.230 → 1.0.0-alpha.232

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 (59) hide show
  1. package/dist/{attributes-DZIol94T.d.ts → attributes-B4847Nul.d.ts} +14 -2
  2. package/dist/{attributes-C6pCxr5P.d.mts → attributes-BpMes5H_.d.mts} +14 -2
  3. package/dist/{chunk-MUGKKCY3.js → chunk-6SPNZSXS.js} +11 -3
  4. package/dist/{chunk-6CTUPVHH.mjs → chunk-FRWPIJDK.mjs} +10 -2
  5. package/dist/chunk-Q44QKLN4.mjs +43 -0
  6. package/dist/chunk-SI34M4IC.js +45 -0
  7. package/dist/{helpers-B3EPtA8t.d.ts → helpers-DsJff5r-.d.ts} +2 -2
  8. package/dist/{helpers-Ca3PIt9O.d.mts → helpers-ow7sORSi.d.mts} +2 -2
  9. package/dist/index.d.mts +153 -14
  10. package/dist/index.d.ts +153 -14
  11. package/dist/index.js +203 -95
  12. package/dist/index.mjs +129 -29
  13. package/dist/{types-CBV2_ikK.d.ts → types-C8nztuFF.d.ts} +1 -1
  14. package/dist/{types-DjGoodOL.d.mts → types-CyxVuV_d.d.mts} +1 -1
  15. package/dist/validation/all.d.mts +3 -3
  16. package/dist/validation/all.d.ts +3 -3
  17. package/dist/validation/all.js +9 -9
  18. package/dist/validation/all.mjs +2 -2
  19. package/dist/validation/complex/currency.d.mts +2 -2
  20. package/dist/validation/complex/currency.d.ts +2 -2
  21. package/dist/validation/complex/file.d.mts +2 -2
  22. package/dist/validation/complex/file.d.ts +2 -2
  23. package/dist/validation/complex/location.d.mts +2 -2
  24. package/dist/validation/complex/location.d.ts +2 -2
  25. package/dist/validation/complex/phone.d.mts +2 -2
  26. package/dist/validation/complex/phone.d.ts +2 -2
  27. package/dist/validation/complex/relation.d.mts +2 -2
  28. package/dist/validation/complex/relation.d.ts +2 -2
  29. package/dist/validation/complex/richtext.d.mts +2 -2
  30. package/dist/validation/complex/richtext.d.ts +2 -2
  31. package/dist/validation/complex/select.d.mts +2 -2
  32. package/dist/validation/complex/select.d.ts +2 -2
  33. package/dist/validation/complex/user.d.mts +2 -2
  34. package/dist/validation/complex/user.d.ts +2 -2
  35. package/dist/validation/computed/formula.d.mts +2 -2
  36. package/dist/validation/computed/formula.d.ts +2 -2
  37. package/dist/validation/computed/rollup.d.mts +2 -2
  38. package/dist/validation/computed/rollup.d.ts +2 -2
  39. package/dist/validation/config/index.d.mts +1 -1
  40. package/dist/validation/config/index.d.ts +1 -1
  41. package/dist/validation/core/index.d.mts +3 -3
  42. package/dist/validation/core/index.d.ts +3 -3
  43. package/dist/validation/object/index.d.mts +3 -3
  44. package/dist/validation/object/index.d.ts +3 -3
  45. package/dist/validation/object/index.js +15 -15
  46. package/dist/validation/object/index.mjs +2 -2
  47. package/dist/validation/primitives/checkbox.d.mts +2 -2
  48. package/dist/validation/primitives/checkbox.d.ts +2 -2
  49. package/dist/validation/primitives/date.d.mts +16 -3
  50. package/dist/validation/primitives/date.d.ts +16 -3
  51. package/dist/validation/primitives/date.js +2 -2
  52. package/dist/validation/primitives/date.mjs +1 -1
  53. package/dist/validation/primitives/number.d.mts +2 -2
  54. package/dist/validation/primitives/number.d.ts +2 -2
  55. package/dist/validation/primitives/text.d.mts +2 -2
  56. package/dist/validation/primitives/text.d.ts +2 -2
  57. package/package.json +2 -2
  58. package/dist/chunk-6I2R22CX.mjs +0 -8
  59. package/dist/chunk-O44XVGHE.js +0 -10
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, B as Option, L as LocationAttribute, F as FileAttribute, E as FormulaReturnType, R as RelationAttribute, G as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, H as RelationTarget, a as RichtextAttribute, I as RollupFunction, J as UserReferenceType, K as MigrationDefinition, O as ObjectDefinition } from './attributes-DZIol94T.js';
2
- export { Q as AUTOFILL_ELIGIBLE_TYPES, V as AttributeGroup, W as AutofillEligibleType, X as BaseAttribute, Y as BuiltInTransform, Z as ComputedAttributeState, _ as ComputedFieldKind, $ as ComputedFormulaBinaryNode, a0 as ComputedFormulaBinaryOperator, a1 as ComputedFormulaCallNode, a2 as ComputedFormulaLiteralNode, a3 as ComputedFormulaParseError, a4 as ComputedFormulaPathNode, a5 as ComputedStateStatus, a6 as CreateDocument, a7 as CreateDocumentLink, a8 as CreateDocumentSlot, a9 as DEFAULT_DOCUMENT_SLOT, aa as DateFormat, ab as DateValue, ac as Document, ad as DocumentKind, ae as DocumentLayoutVariant, af as DocumentListOptions, ag as DocumentSlot, ah as DocumentWithSlots, ai as DocumentWithSubCount, aj as FolderPreset, ak as MAX_PRESET_DEPTH, al as NumberUnit, am as ObjectAttribute, an as ObjectRecord, ao as OptionPropertyAttribute, ap as PresetNode, aq as PropertyAttribute, ar as PropertyType, as as RELATION_TARGET_ANY, at as RESERVED_ATTRIBUTE_NAMES, au as RESERVED_OBJECT_NAMES, av as RecordDocuments, aw as ReservedAttributeName, ax as ReservedObjectName, ay as RichTextAttribute, az as SYSTEM_FIELD_NAMES, aA as SlotStatus, aB as StatusGroup, aC as SystemFieldName, aD as UpdateDocument, aE as UpdateDocumentSlot, aF as hasOptions, aG as inferInverseCardinality, aH as isAttributeSortable, aI as isBilateralRelation, aJ as isUniversalRelation, aK as parseComputedFormula, aL as resolvePropertyDefinitions } from './attributes-DZIol94T.js';
1
+ import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, D as DateAttribute, u as DateRangeValue, v as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, w as Phone, x as Currency, U as UserAttribute, y as DocumentSlotConfig, z as PropertySchema, B as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, E as TimeFormat, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, G as Option, L as LocationAttribute, F as FileAttribute, H as FormulaReturnType, R as RelationAttribute, I as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, J as RelationTarget, a as RichtextAttribute, K as RollupFunction, Q as UserReferenceType, V as MigrationDefinition, O as ObjectDefinition } from './attributes-B4847Nul.js';
2
+ export { W as AUTOFILL_ELIGIBLE_TYPES, X as AttributeGroup, Y as AutofillEligibleType, Z as BaseAttribute, _ as BuiltInTransform, $ as ComputedAttributeState, a0 as ComputedFieldKind, a1 as ComputedFormulaBinaryNode, a2 as ComputedFormulaBinaryOperator, a3 as ComputedFormulaCallNode, a4 as ComputedFormulaLiteralNode, a5 as ComputedFormulaParseError, a6 as ComputedFormulaPathNode, a7 as ComputedStateStatus, a8 as CreateDocument, a9 as CreateDocumentLink, aa as CreateDocumentSlot, ab as DEFAULT_DOCUMENT_SLOT, ac as DateFormat, ad as DateValue, ae as Document, af as DocumentKind, ag as DocumentLayoutVariant, ah as DocumentListOptions, ai as DocumentSlot, aj as DocumentWithSlots, ak as DocumentWithSubCount, al as FolderPreset, am as MAX_PRESET_DEPTH, an as NumberUnit, ao as ObjectAttribute, ap as ObjectRecord, aq as OptionPropertyAttribute, ar as PresetNode, as as PropertyAttribute, at as PropertyType, au as RELATION_TARGET_ANY, av as RESERVED_ATTRIBUTE_NAMES, aw as RESERVED_OBJECT_NAMES, ax as RecordDocuments, ay as ReservedAttributeName, az as ReservedObjectName, aA as RichTextAttribute, aB as SYSTEM_FIELD_NAMES, aC as SlotStatus, aD as StatusGroup, aE as SystemFieldName, aF as UpdateDocument, aG as UpdateDocumentSlot, aH as hasOptions, aI as inferInverseCardinality, aJ as isAttributeSortable, aK as isBilateralRelation, aL as isUniversalRelation, aM as parseComputedFormula, aN as resolvePropertyDefinitions } from './attributes-B4847Nul.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
6
  import { StandardSchemaV1 } from '@standard-schema/spec';
7
7
  export { StandardSchemaV1 } from '@standard-schema/spec';
8
8
  import z from 'zod';
9
- export { V as ValidationMessages } from './types-CBV2_ikK.js';
9
+ export { V as ValidationMessages } from './types-C8nztuFF.js';
10
10
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.js';
11
11
  export { parseAttributeConfig } from './validation/config/index.js';
12
- export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-B3EPtA8t.js';
12
+ export { c as computeRecordStatus, a as createFormAttributeValidator, r as rejectUnknownAttributesOrThrow, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-DsJff5r-.js';
13
13
 
14
14
  declare const COMPUTED_FUNCTION_NAMES: readonly ["if", "concat", "sum", "avg", "count", "min", "max", "earliest", "latest", "unique", "first", "percent_empty", "percent_not_empty", "count_empty", "count_not_empty", "count_unique"];
15
15
  type ComputedFunctionName = (typeof COMPUTED_FUNCTION_NAMES)[number];
@@ -2739,12 +2739,18 @@ declare const SchemaErrorCode: {
2739
2739
  readonly DOCUMENT_STORAGE_FAILED: "DOCUMENT_STORAGE_FAILED";
2740
2740
  readonly DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED";
2741
2741
  readonly DOCUMENT_OCR_FAILED: "DOCUMENT_OCR_FAILED";
2742
+ readonly DOCUMENT_RECORD_NOT_FOUND: "DOCUMENT_RECORD_NOT_FOUND";
2743
+ readonly DOCUMENT_RECORD_OBJECT_MISMATCH: "DOCUMENT_RECORD_OBJECT_MISMATCH";
2744
+ readonly DOCUMENT_FOLDER_SERVICE_UNAVAILABLE: "DOCUMENT_FOLDER_SERVICE_UNAVAILABLE";
2745
+ readonly DOCUMENT_FOLDER_PATH_NOT_FOUND: "DOCUMENT_FOLDER_PATH_NOT_FOUND";
2742
2746
  readonly EMAIL_IMAGE_PROXY_INVALID_TOKEN: "EMAIL_IMAGE_PROXY_INVALID_TOKEN";
2743
2747
  readonly EMAIL_IMAGE_PROXY_EXPIRED_TOKEN: "EMAIL_IMAGE_PROXY_EXPIRED_TOKEN";
2744
2748
  readonly EMAIL_IMAGE_PROXY_TOO_LARGE: "EMAIL_IMAGE_PROXY_TOO_LARGE";
2745
2749
  readonly EMAIL_IMAGE_PROXY_UNSUPPORTED_CONTENT_TYPE: "EMAIL_IMAGE_PROXY_UNSUPPORTED_CONTENT_TYPE";
2746
2750
  readonly EMAIL_IMAGE_PROXY_UNSAFE_URL: "EMAIL_IMAGE_PROXY_UNSAFE_URL";
2747
2751
  readonly EMAIL_IMAGE_PROXY_UPSTREAM_FAILED: "EMAIL_IMAGE_PROXY_UPSTREAM_FAILED";
2752
+ readonly EMAIL_PROVIDER_API_FAILED: "EMAIL_PROVIDER_API_FAILED";
2753
+ readonly EMAIL_BATCH_ITEM_FAILED: "EMAIL_BATCH_ITEM_FAILED";
2748
2754
  };
2749
2755
  type SchemaErrorCode = (typeof SchemaErrorCode)[keyof typeof SchemaErrorCode];
2750
2756
  /**
@@ -3267,6 +3273,8 @@ declare const FORM_FORBIDDEN_ATTRIBUTE_TYPES: readonly ["relation", "multiRelati
3267
3273
  interface FormSlotFieldRef {
3268
3274
  type: "slot";
3269
3275
  slotId: string;
3276
+ /** Additional slots (same object as `slotId`) that receive the same value. */
3277
+ additionalSlotIds?: string[];
3270
3278
  attribute: string;
3271
3279
  label?: string;
3272
3280
  tooltip?: string;
@@ -3283,6 +3291,8 @@ interface FormFreeFieldRef {
3283
3291
  type FormFieldRef = FormSlotFieldRef | FormFreeFieldRef;
3284
3292
  declare function isFormSlotFieldRef(f: FormFieldRef): f is FormSlotFieldRef;
3285
3293
  declare function isFormFreeFieldRef(f: FormFieldRef): f is FormFreeFieldRef;
3294
+ /** All slot ids a slot field writes to: the primary followed by any additional slots. */
3295
+ declare function getSlotFieldTargets(field: FormSlotFieldRef): string[];
3286
3296
 
3287
3297
  interface FormFieldsRow {
3288
3298
  id: string;
@@ -3677,7 +3687,9 @@ type InferQualifiedProps<TBuilders extends readonly unknown[]> = {
3677
3687
  * Uses a flat lookup table + 3 special cases for option-based attributes
3678
3688
  * This avoids deep conditional nesting that causes TS2589 on large objects
3679
3689
  */
3680
- type InferAttributeValue<A extends Attribute> = A extends DocumentAttribute & QualifiedDocumentBrand<infer TProps> ? Array<{
3690
+ type InferAttributeValue<A extends Attribute> = A extends DateAttribute & {
3691
+ endDate: true;
3692
+ } ? DateRangeValue : A extends DocumentAttribute & QualifiedDocumentBrand<infer TProps> ? Array<{
3681
3693
  id: string;
3682
3694
  props: TProps;
3683
3695
  }> : A extends StatusAttribute ? InferStatusValue<A> : A extends SelectAttribute ? InferSelectValue<A> : A extends MultiselectAttribute ? InferMultiselectValue<A> : A["type"] extends keyof AttributeValueMap ? AttributeValueMap[A["type"]] : unknown;
@@ -4407,6 +4419,105 @@ declare function isLabelExpression(value: string): boolean;
4407
4419
  */
4408
4420
  declare function extractAttributeNames(template: string): string[];
4409
4421
 
4422
+ /**
4423
+ * Substitute `{{ props.X }}` tokens in a relation label using client-side props.
4424
+ *
4425
+ * The backend preserves `{{ props.X }}` and `{{ props.X | pipe }}` tokens in labels
4426
+ * (sentinel approach). This function resolves them on the client using the props
4427
+ * the client already has, leveraging the existing template engine for pipe support
4428
+ * (prefix, suffix, wrap, UPPER, LOWER, etc.).
4429
+ *
4430
+ * Each prop value is formatted using its attribute definition via `formatAttributeValue`
4431
+ * (e.g., select → label, currency → "1,500 EUR", rating → "4/5") BEFORE pipe processing.
4432
+ *
4433
+ * When props are missing or empty, the tokens and surrounding punctuation are cleaned up
4434
+ * so the label reads naturally (e.g., "Apple ()" → "Apple").
4435
+ *
4436
+ * @param label - The label string potentially containing `{{ props.X }}` tokens
4437
+ * @param props - Property values keyed by property name
4438
+ * @param propertyDefs - Attribute definitions for the properties (used for formatting)
4439
+ * @returns The label with tokens substituted and cleaned up
4440
+ *
4441
+ * @example
4442
+ * ```typescript
4443
+ * applyRelationProps(
4444
+ * "Apple{{ props.role | prefix:' - ' }}{{ props.pct | prefix:' (' | suffix:'%)' }}",
4445
+ * { role: "ceo", pct: 25 },
4446
+ * [{ name: "role", type: "select", options: [{ value: "ceo", label: "CEO" }] },
4447
+ * { name: "pct", type: "number" }]
4448
+ * );
4449
+ * // → "Apple - CEO (25%)"
4450
+ *
4451
+ * applyRelationProps("Apple{{ props.role | prefix:' - ' }}", undefined, []);
4452
+ * // → "Apple"
4453
+ * ```
4454
+ */
4455
+ declare function applyRelationProps(label: string, props: Record<string, unknown> | undefined, propertyDefs: Attribute[] | undefined): string;
4456
+ /**
4457
+ * A reference extracted from a hybrid attribute value.
4458
+ * Covers relation, user, document and file values in every historical shape:
4459
+ * plain id string, `{ id, props }` qualified object, or arrays of either.
4460
+ */
4461
+ interface ValueRef {
4462
+ id: string;
4463
+ props?: Record<string, unknown>;
4464
+ }
4465
+ /**
4466
+ * Normalize any hybrid reference value into a flat list of ValueRef.
4467
+ * Malformed items (objects without a string `id`) are dropped.
4468
+ */
4469
+ declare function extractValueRefs(value: unknown): ValueRef[];
4470
+
4471
+ /**
4472
+ * User display-name helpers shared across packages (ui, react).
4473
+ */
4474
+ /**
4475
+ * Minimal user shape needed to compute a display name.
4476
+ * Structurally compatible with UserProfile and auth provider payloads.
4477
+ */
4478
+ interface UserLike {
4479
+ firstName?: string | null;
4480
+ lastName?: string | null;
4481
+ email?: string;
4482
+ }
4483
+ /**
4484
+ * Get user display name from firstName and lastName, falling back to email prefix.
4485
+ *
4486
+ * @param user - User object with optional firstName, lastName, and email
4487
+ * @returns Display name string
4488
+ *
4489
+ * @example
4490
+ * getUserDisplayName({ firstName: "John", lastName: "Doe" }) // "John Doe"
4491
+ * getUserDisplayName({ email: "admin@example.com" }) // "admin"
4492
+ */
4493
+ declare function getUserDisplayName(user: UserLike): string;
4494
+
4495
+ /**
4496
+ * Type guard for the { start, end } range shape stored on date attributes
4497
+ * configured with `.endDate()`.
4498
+ *
4499
+ * @param value - Any stored attribute value
4500
+ * @returns true when the value is an object whose `start` is a string
4501
+ */
4502
+ declare function isDateRangeValue(value: unknown): value is DateRangeValue;
4503
+ /**
4504
+ * Read any stored date value through the lens of the attribute config.
4505
+ * Legacy plain strings on a range attribute normalize to { start, end: null } —
4506
+ * this is what makes enabling `.endDate()` migration-free.
4507
+ *
4508
+ * @param value - The raw stored value (string, range object, or garbage)
4509
+ * @param attr - The attribute config; only `endDate` is consulted
4510
+ * @returns A range object on range attributes, a plain string otherwise, null when unreadable
4511
+ */
4512
+ declare function normalizeDateValue(value: unknown, attr: Pick<DateAttribute, "endDate">): string | DateRangeValue | null;
4513
+ /**
4514
+ * The start bound of any date value — what filters, sorts, and search index on.
4515
+ *
4516
+ * @param value - The raw stored value (string or range object)
4517
+ * @returns The ISO start bound, or null when the value has none (empty strings included)
4518
+ */
4519
+ declare function dateValueStart(value: unknown): string | null;
4520
+
4410
4521
  /**
4411
4522
  * Attribute fields stored in dedicated database columns (not in config JSONB).
4412
4523
  * Used to determine which properties are extracted into the config column during sync.
@@ -4717,10 +4828,12 @@ declare class CheckboxAttributeBuilder<TName extends string, TRequired extends b
4717
4828
  optional(): CheckboxAttributeBuilder<TName, false>;
4718
4829
  }
4719
4830
  declare function checkbox<TName extends string>(config: TypedBuilderConfig<TName>): CheckboxAttributeBuilder<TName, false>;
4720
- declare class DateAttributeBuilder<TName extends string, TRequired extends boolean = false> extends BaseAttributeBuilder<DateAttribute> {
4831
+ declare class DateAttributeBuilder<TName extends string, TRequired extends boolean = false, TRange extends boolean = false> extends BaseAttributeBuilder<DateAttribute> {
4721
4832
  readonly _types: {
4722
4833
  name: TName;
4723
- attribute: DateAttribute;
4834
+ attribute: TRange extends true ? DateAttribute & {
4835
+ endDate: true;
4836
+ } : DateAttribute;
4724
4837
  required: TRequired;
4725
4838
  };
4726
4839
  /**
@@ -4728,17 +4841,33 @@ declare class DateAttributeBuilder<TName extends string, TRequired extends boole
4728
4841
  * @see TextAttributeBuilder.$infer for documentation
4729
4842
  */
4730
4843
  readonly $infer: {
4731
- /** The runtime value type for this attribute (ISO string or Date) */
4732
- value: string | Date;
4844
+ /** The runtime value type: a range object when endDate() is set, else ISO string or Date */
4845
+ value: TRange extends true ? DateRangeValue : string | Date;
4733
4846
  /** The full attribute definition type */
4734
4847
  definition: DateAttribute;
4735
4848
  };
4736
4849
  constructor(name: TName, label: string);
4850
+ /**
4851
+ * Narrows `.defaultValue()` to a plain ISO string on non-range date attributes,
4852
+ * and to a `DateRangeValue` once `.endDate()` has been called.
4853
+ *
4854
+ * Note: `Date` is intentionally excluded (unlike `$infer.value`) — the default
4855
+ * lives in the serialized attribute definition, whose domain is
4856
+ * `DateAttribute["defaultValue"]` = `string | DateRangeValue`. Widening the
4857
+ * parameter beyond that domain breaks override compatibility with
4858
+ * `BaseAttributeBuilder.defaultValue` (TS2416).
4859
+ */
4860
+ defaultValue: (value: TRange extends true ? DateRangeValue : string) => this;
4737
4861
  format(value: DateAttribute["dateFormat"]): this;
4738
4862
  minDate(value: DateAttribute["minDate"]): this;
4739
4863
  maxDate(value: DateAttribute["maxDate"]): this;
4740
- required(): DateAttributeBuilder<TName, true>;
4741
- optional(): DateAttributeBuilder<TName, false>;
4864
+ /** Values become { start, end } ranges; flips the inferred value type. */
4865
+ endDate(): DateAttributeBuilder<TName, TRequired, true>;
4866
+ /** Values carry a time component (stored as full ISO UTC datetimes). */
4867
+ includeTime(): this;
4868
+ timeFormat(value: TimeFormat): this;
4869
+ required(): DateAttributeBuilder<TName, true, TRange>;
4870
+ optional(): DateAttributeBuilder<TName, false, TRange>;
4742
4871
  }
4743
4872
  declare function date<TName extends string>(config: TypedBuilderConfig<TName>): DateAttributeBuilder<TName, false>;
4744
4873
  declare class PhoneAttributeBuilder<TName extends string, TRequired extends boolean = false> extends BaseAttributeBuilder<PhoneAttribute> {
@@ -5340,7 +5469,7 @@ declare class FormRowBuilder {
5340
5469
  private rowData;
5341
5470
  private _finalized;
5342
5471
  constructor(stepBuilder: FormStepBuilder, rowId: string, order: number);
5343
- field(slotId: string, attribute: string, options?: {
5472
+ field(slotIdOrIds: string | string[], attribute: string, options?: {
5344
5473
  label?: string;
5345
5474
  required?: boolean;
5346
5475
  tooltip?: string;
@@ -5362,7 +5491,7 @@ declare class FormStepBuilder {
5362
5491
  private rowOrder;
5363
5492
  constructor(formBuilder: FormBuilder, id: string, label: string);
5364
5493
  description(text: string): this;
5365
- field(slotId: string, attribute: string, options?: {
5494
+ field(slotIdOrIds: string | string[], attribute: string, options?: {
5366
5495
  label?: string;
5367
5496
  required?: boolean;
5368
5497
  tooltip?: string;
@@ -7953,11 +8082,21 @@ type ConnectorScope = "actor" | "tenant";
7953
8082
  interface StartConnectorAuthInput {
7954
8083
  provider: ConnectorProviderId;
7955
8084
  scope: ConnectorScope;
8085
+ /** Page the callback 302s back to. Must match a configured allowed origin; otherwise silently ignored. */
8086
+ returnUrl?: string;
7956
8087
  }
7957
8088
  /** Result of starting an OAuth flow — the URL the browser must visit. */
7958
8089
  interface StartConnectorAuthResult {
7959
8090
  authorizeUrl: string;
7960
8091
  }
8092
+ /** Query params the OAuth callback redirect appends to the return URL. */
8093
+ declare const CONNECTOR_CALLBACK_PARAM: {
8094
+ readonly status: "connector_status";
8095
+ readonly error: "connector_error";
8096
+ readonly provider: "connector_provider";
8097
+ };
8098
+ /** Values `CONNECTOR_CALLBACK_PARAM.status` can take on the redirect. */
8099
+ type ConnectorCallbackStatusValue = "connected" | "error";
7961
8100
 
7962
8101
  type EmailProvider = "gmail" | "outlook";
7963
8102
  type EmailVisibility = "shared" | "private";
@@ -8040,4 +8179,4 @@ interface MailboxThreadDetail {
8040
8179
  emails: MailboxEmail[];
8041
8180
  }
8042
8181
 
8043
- export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, 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 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 AdvancedFilterState, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentMessagePart, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentToolCall, 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, BilateralConfig, type BoundingBox, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CompactionStrategy, type CompileComputedFormulaInput, CompletionStatus, 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 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 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, DB_COLUMN_FIELDS, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DOCUMENT_SYSTEM_ATTRIBUTES, DateAttribute, type DefaultRoleName, type DeletedMode, DestructiveSyncNotAllowedError, DetailViewBuilder, type DetailViewConfig, type DetailViewDefinition, type DetailViewLayout, DocumentAttribute, DocumentLayout, DocumentSlotConfig, DocumentSlotValidationError, 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, FileAttribute, type FileListOptions, 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, 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 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 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, 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 UpdateFile, type UpdateObjectInput, type UpdateRoleInput, type UpdateUserProfile, type UpdateViewInput, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, applyPipes, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
8182
+ export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, 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 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 AdvancedFilterState, type AgentConfig, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentMessagePart, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionPatchLiveEvent, type AgentSessionStatus, type AgentToolCall, 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, BilateralConfig, type BoundingBox, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, CONNECTOR_CALLBACK_PARAM, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CompactionStrategy, type CompileComputedFormulaInput, CompletionStatus, 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 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, DB_COLUMN_FIELDS, 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 DetailViewLayout, DocumentAttribute, DocumentLayout, DocumentSlotConfig, DocumentSlotValidationError, 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, FileAttribute, type FileListOptions, 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, 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 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 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 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 ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, applyPipes, applyRelationProps, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, dateValueStart, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, extractValueRefs, file, 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, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeDateValue, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };