@stndrds/schema 1.0.0-alpha.350 → 1.0.0-alpha.351

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 (85) hide show
  1. package/dist/{all-Dk8PLu1y.d.mts → all-CxrR3FfQ.d.mts} +8 -8
  2. package/dist/{all-CPMOHYla.d.ts → all-DgCMEIjc.d.ts} +8 -8
  3. package/dist/{attributes-mMmH-WOx.d.mts → attributes-BrWmES5w.d.mts} +1 -1
  4. package/dist/{attributes-C2gm0hUJ.d.ts → attributes-DF899HOt.d.ts} +1 -1
  5. package/dist/{checkbox-DO6Mkloc.d.mts → checkbox-Clb_FZ4C.d.mts} +2 -2
  6. package/dist/{checkbox-Ce8gAyQf.d.ts → checkbox-DdyYfy8E.d.ts} +2 -2
  7. package/dist/config-CYuFravl.js +13 -0
  8. package/dist/config-CiAtjzem.mjs +13 -0
  9. package/dist/{date-CMS-GYRM.d.mts → date-CXp1zJM4.d.mts} +2 -2
  10. package/dist/{date-DikDGfre.d.ts → date-DhwNqFU4.d.ts} +2 -2
  11. package/dist/empty-BgAwlO54.mjs +2 -0
  12. package/dist/empty-CRCKZcwK.js +2 -0
  13. package/dist/{exceptions-DxzT8POW.d.ts → exceptions-DrrzAhuA.d.mts} +46 -10
  14. package/dist/{exceptions-DxzT8POW.d.mts → exceptions-DrrzAhuA.d.ts} +46 -10
  15. package/dist/exceptions.d.mts +2 -2
  16. package/dist/exceptions.d.ts +2 -2
  17. package/dist/exceptions.js +1 -1
  18. package/dist/exceptions.mjs +1 -1
  19. package/dist/{index-CRtiKFTH.d.ts → index-BOibflWy.d.ts} +15 -2
  20. package/dist/{index-D26ob_vF.d.mts → index-Bfvc4AZB.d.mts} +15 -2
  21. package/dist/{index-D9OhYX-t.d.ts → index-DCw-X_sc.d.ts} +3 -3
  22. package/dist/{index-BV4yNsr7.d.mts → index-DggAjGTr.d.mts} +1 -1
  23. package/dist/{index-B-mUjnh9.d.mts → index-Lp5dhlhc.d.mts} +3 -3
  24. package/dist/{index-BL7EA39F.d.ts → index-OvRk1isl.d.ts} +1 -1
  25. package/dist/index.d.mts +184 -31
  26. package/dist/index.d.ts +184 -31
  27. package/dist/index.js +9 -9
  28. package/dist/index.mjs +9 -9
  29. package/dist/{number-r6bOZ9jd.d.mts → number-C_ZN3qJO.d.mts} +2 -2
  30. package/dist/{number-Ck0PPSkK.d.ts → number-CoTBX03I.d.ts} +2 -2
  31. package/dist/object-AqI3n2CP.mjs +4 -0
  32. package/dist/object-BEwZx-Fu.js +4 -0
  33. package/dist/{text-B1Vwj7fS.d.mts → text-D_rs4VYZ.d.mts} +2 -2
  34. package/dist/{text-DHg2cmFd.d.ts → text-Z8QjbxUx.d.ts} +2 -2
  35. package/dist/{utils-r53z9KnF.d.mts → utils-Cl3b_6d8.d.mts} +1 -1
  36. package/dist/{utils-Du-He6Ct.d.ts → utils-Cuz_wSKI.d.ts} +1 -1
  37. package/dist/utils.d.mts +1 -1
  38. package/dist/utils.d.ts +1 -1
  39. package/dist/validation/all.d.mts +5 -5
  40. package/dist/validation/all.d.ts +5 -5
  41. package/dist/validation/all.js +1 -1
  42. package/dist/validation/all.mjs +1 -1
  43. package/dist/validation/complex/currency.d.mts +2 -2
  44. package/dist/validation/complex/currency.d.ts +2 -2
  45. package/dist/validation/complex/location.d.mts +2 -2
  46. package/dist/validation/complex/location.d.ts +2 -2
  47. package/dist/validation/complex/phone.d.mts +2 -2
  48. package/dist/validation/complex/phone.d.ts +2 -2
  49. package/dist/validation/complex/relation.d.mts +2 -2
  50. package/dist/validation/complex/relation.d.ts +2 -2
  51. package/dist/validation/complex/richtext.d.mts +2 -2
  52. package/dist/validation/complex/richtext.d.ts +2 -2
  53. package/dist/validation/complex/select.d.mts +2 -2
  54. package/dist/validation/complex/select.d.ts +2 -2
  55. package/dist/validation/complex/user.d.mts +2 -2
  56. package/dist/validation/complex/user.d.ts +2 -2
  57. package/dist/validation/computed/formula.d.mts +2 -2
  58. package/dist/validation/computed/formula.d.ts +2 -2
  59. package/dist/validation/computed/rollup.d.mts +2 -2
  60. package/dist/validation/computed/rollup.d.ts +2 -2
  61. package/dist/validation/config/index.d.mts +2 -2
  62. package/dist/validation/config/index.d.ts +2 -2
  63. package/dist/validation/config/index.js +1 -1
  64. package/dist/validation/config/index.mjs +1 -1
  65. package/dist/validation/core/index.d.mts +1 -1
  66. package/dist/validation/core/index.d.ts +1 -1
  67. package/dist/validation/object/index.d.mts +1 -1
  68. package/dist/validation/object/index.d.ts +1 -1
  69. package/dist/validation/object/index.js +1 -1
  70. package/dist/validation/object/index.mjs +1 -1
  71. package/dist/validation/primitives/checkbox.d.mts +1 -1
  72. package/dist/validation/primitives/checkbox.d.ts +1 -1
  73. package/dist/validation/primitives/date.d.mts +1 -1
  74. package/dist/validation/primitives/date.d.ts +1 -1
  75. package/dist/validation/primitives/number.d.mts +1 -1
  76. package/dist/validation/primitives/number.d.ts +1 -1
  77. package/dist/validation/primitives/text.d.mts +1 -1
  78. package/dist/validation/primitives/text.d.ts +1 -1
  79. package/dist/{view-config.schema-c8LvH8WE.mjs → view-config.schema-CCrM5b-O.mjs} +1 -1
  80. package/dist/{view-config.schema-QmnihdGp.js → view-config.schema-CgU86fLj.js} +1 -1
  81. package/package.json +2 -2
  82. package/dist/config-BiQGgy7f.mjs +0 -13
  83. package/dist/config-WUWITOeW.js +0 -13
  84. package/dist/object-BA3vKFl0.js +0 -4
  85. package/dist/object-C92B0Oei.mjs +0 -4
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
 
2
- import { A as SearchBackendError, B as isNotFoundError, C as RepositoryError, D as SchemaError, E as RoleNotFoundError, F as SyncError, G as isValidationError, H as isProtectedResourceError, I as SystemEntityImmutableError, L as ValidationError, M as StorageOperation, N as SyncCascadeError, O as SchemaErrorCode, P as SyncConflictError, R as ValidationErrorDetail, S as RecordReferencedError, T as ReservedObjectNameError, U as isRecordReferencedError, V as isObjectReferencedError, W as isSchemaError, _ as RealtimeDeliveryError, a as AttributeUsage, b as RecordNotFoundError, c as ForbiddenError, d as NotImplementedError, f as ObjectNotFoundError, g as ProtectedRoleError, h as ProtectedResourceError, i as AttributeNotFoundError, j as StorageError, k as SchemaPlanNotFoundError, l as MemoryNotFoundError, m as OrphanSystemAttributeError, n as AmbiguousSchemaChangeError, o as ConcurrentModificationError, p as ObjectReferencedError, r as AttributeInUseError, s as DuplicateError, t as AccessDeniedError, u as NotFoundError, v as RealtimeRateLimitedError, w as RepositoryOperation, x as RecordReference, y as RealtimeSubscriptionError, z as isAttributeInUseError } from "./exceptions-DxzT8POW.js";
3
- import { $ as COMPUTED_FUNCTION_METADATA, A as RichTextAttribute, At as ComputedFormulaAstNode, B as UserAttribute, C as NumberUnit, Ct as isComputedFunctionName, D as RELATION_TARGET_ANY, Dt as ComputedPlan, E as PhoneAttribute, Et as ComputedOptionsSource, F as SingleRelationAttribute, Ft as ComputedFormulaParseError, G as isUniversalRelation, H as inferInverseCardinality, I as StatusAttribute, It as ComputedFormulaPathNode, J as PropertyAttribute, K as relationTargetsOf, L as StatusGroup, Lt as parseComputedFormula, M as RollupAttribute, Mt as ComputedFormulaBinaryOperator, N as RollupFunction, Nt as ComputedFormulaCallNode, O as RelationAttribute, Ot as ComputedReturnType, P as SelectAttribute, Pt as ComputedFormulaLiteralNode, Q as resolvePropertyDefinitions, R as TextAttribute, S as NumberAttribute, St as ComputedFunctionSignature, T as Phone, Tt as ComputedFieldKind, U as isAttributeSortable, V as UserReferenceType, W as isBilateralRelation, X as PropertyType, Y as PropertySchema, Z as hasOptions, _ as Location, _t as assertAcyclicComputedDependencies, a as BaseAttribute, at as evaluateComputedFormulaWithResult, b as MultiRelationAttribute, bt as COMPUTED_FUNCTION_NAMES, c as Currency, ct as compileRollupAttribute, d as DateFormat, dt as CompileComputedFormulaInput, et as ComputedFunctionCategory, f as DateRangeValue, ft as ComputedCompileAttribute, g as FormulaReturnType, gt as ComputedFormulaCompileError, h as FormulaAttribute, ht as ComputedDependencyGraphNode, i as AttributeType, it as evaluateComputedFormula, j as RichtextAttribute, jt as ComputedFormulaBinaryNode, k as RelationTarget, kt as ComputedValueType, l as CurrencyAttribute, lt as inferRollupReturnType, m as DocumentAttribute, mt as ComputedCompileSchema, n as Attribute, nt as ComputedFormulaResult, o as BilateralConfig, ot as formatComputedResult, p as DateValue, pt as ComputedCompileObject, q as OptionPropertyAttribute, r as AttributeGroup, rt as evaluateComputedAst, s as CheckboxAttribute, st as isPlainRecord, t as ATTRIBUTE_TYPES, tt as ComputedFunctionMetadata, u as DateAttribute, ut as rollupToFormulaExpression, v as LocationAttribute, vt as compileComputedFormula, w as Option, wt as ComputedDependency, x as MultiselectAttribute, xt as ComputedFunctionName, y as LocationGranularity, yt as COMPUTED_FUNCTIONS, z as TimeFormat } from "./attributes-C2gm0hUJ.js";
4
- import { a as asUserId, c as indexBy, d as sameStableValue, f as serializeCanonicalJson, i as asTenantId, l as NonJsonValueError, n as UserId, o as deepEqual, p as serializeStableJson, r as Uuid, s as generateId, t as TenantId, u as canonicalStringify } from "./utils-Du-He6Ct.js";
5
- import { $ as RelativeDateValue, A as FormDensity, B as DynamicValue, C as ContentPlacement, D as DocumentsContentDefinition, E as CustomContentDefinition, F as RichtextContentDefinition, G as FilterRule, H as ExtendedFilterRule, I as ViewContentDefinition, J as NO_VALUE_OPERATORS, K as FilterState, L as ViewRead, M as KanbanCollectionContentDefinition, N as ListViewLayout, O as EmailsContentDefinition, P as MeetingsContentDefinition, Q as QueryState, R as CurrencyFilterValue, S as ContentOpenMode, T as ContentViewDefinition, U as FilterCombinator, V as EdgeQuantifier, W as FilterOperator, X as OPERATORS_BY_TYPE, Y as NoValueOperator, Z as PhoneFilterValue, _ as CollectionContentSource, a as displayAttributesSchema, b as ContentField, c as filterStateSchema, d as colorIdSchema, et as SortDirection, f as iconNameSchema, g as CollectionContentDefinition, h as CollectionAction, i as contentViewDefinitionSchemaFor, it as isNoValueOperator, j as FormsContentDefinition, k as FormContentDefinition, l as publishedViewContentDefinitionSchema, m as ActivityContentDefinition, n as columnsSchema, nt as filterOperatorsByTypeForGeneration, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, q as FilterValue, r as contentViewDefinitionSchema, rt as getRollupFilterOperators, s as draftContentViewDefinitionSchemaFor, t as collectionContentSourceSchema, tt as SortRule, u as sortsSchema, v as ColumnReference, w as ContentViewContext, x as ContentFieldGroup, y as ContentCreateMode, z as DayMonthValue } from "./all-CPMOHYla.js";
6
- import { A as FolderPreset, C as ResourceVisibility, D as parseResourceVisibility, E as Timestamps, M as PresetNode, O as DocumentLayout, S as ReservedObjectName, T as SystemFieldName, _ as ObjectRecord, a as validateDraft, b as RESOURCE_VISIBILITIES, c as validateObjectOrThrow, f as createFormAttributeValidator, g as ObjectDefinition, h as ObjectAttribute, j as MAX_PRESET_DEPTH, k as DocumentLayoutVariant, m as ListViewTabVisibility, o as validateDraftOrThrow, p as LIST_VIEW_TAB_VISIBILITIES, r as rejectUnknownAttributesOrThrow, s as validateObject, v as RESERVED_ATTRIBUTE_NAMES, w as SYSTEM_FIELD_NAMES, x as ReservedAttributeName, y as RESERVED_OBJECT_NAMES } from "./index-D9OhYX-t.js";
7
- import { S as UpdateObjectInput, _ as statusOptionWriteSchema, b as RelationOption, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema, v as AddAttributeInput, x as RelationOptionsResponse, y as CreateCustomObjectInput } from "./index-CRtiKFTH.js";
8
- import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-BL7EA39F.js";
9
- import { t as createTextValidator } from "./text-DHg2cmFd.js";
10
- import { t as createNumberValidator } from "./number-Ck0PPSkK.js";
11
- import { t as createCheckboxValidator } from "./checkbox-Ce8gAyQf.js";
12
- import { t as createDateValidator } from "./date-DikDGfre.js";
2
+ import { A as SearchBackendError, B as ValidationErrorDetail, C as RepositoryError, D as SchemaError, E as RoleNotFoundError, F as SyncCascadeError, G as isRecordReferencedError, H as isNotFoundError, I as SyncConflictError, K as isSchemaError, L as SyncError, M as SearchBackendFailureKind, N as StorageError, O as SchemaErrorCode, P as StorageOperation, R as SystemEntityImmutableError, S as RecordReferencedError, T as ReservedObjectNameError, U as isObjectReferencedError, V as isAttributeInUseError, W as isProtectedResourceError, _ as RealtimeDeliveryError, a as AttributeUsage, b as RecordNotFoundError, c as ForbiddenError, d as NotImplementedError, f as ObjectNotFoundError, g as ProtectedRoleError, h as ProtectedResourceError, i as AttributeNotFoundError, j as SearchBackendErrorOptions, k as SchemaPlanNotFoundError, l as MemoryNotFoundError, m as OrphanSystemAttributeError, n as AmbiguousSchemaChangeError, o as ConcurrentModificationError, p as ObjectReferencedError, q as isValidationError, r as AttributeInUseError, s as DuplicateError, t as AccessDeniedError, u as NotFoundError, v as RealtimeRateLimitedError, w as RepositoryOperation, x as RecordReference, y as RealtimeSubscriptionError, z as ValidationError } from "./exceptions-DrrzAhuA.js";
3
+ import { $ as COMPUTED_FUNCTION_METADATA, A as RichTextAttribute, At as ComputedFormulaAstNode, B as UserAttribute, C as NumberUnit, Ct as isComputedFunctionName, D as RELATION_TARGET_ANY, Dt as ComputedPlan, E as PhoneAttribute, Et as ComputedOptionsSource, F as SingleRelationAttribute, Ft as ComputedFormulaParseError, G as isUniversalRelation, H as inferInverseCardinality, I as StatusAttribute, It as ComputedFormulaPathNode, J as PropertyAttribute, K as relationTargetsOf, L as StatusGroup, Lt as parseComputedFormula, M as RollupAttribute, Mt as ComputedFormulaBinaryOperator, N as RollupFunction, Nt as ComputedFormulaCallNode, O as RelationAttribute, Ot as ComputedReturnType, P as SelectAttribute, Pt as ComputedFormulaLiteralNode, Q as resolvePropertyDefinitions, R as TextAttribute, S as NumberAttribute, St as ComputedFunctionSignature, T as Phone, Tt as ComputedFieldKind, U as isAttributeSortable, V as UserReferenceType, W as isBilateralRelation, X as PropertyType, Y as PropertySchema, Z as hasOptions, _ as Location, _t as assertAcyclicComputedDependencies, a as BaseAttribute, at as evaluateComputedFormulaWithResult, b as MultiRelationAttribute, bt as COMPUTED_FUNCTION_NAMES, c as Currency, ct as compileRollupAttribute, d as DateFormat, dt as CompileComputedFormulaInput, et as ComputedFunctionCategory, f as DateRangeValue, ft as ComputedCompileAttribute, g as FormulaReturnType, gt as ComputedFormulaCompileError, h as FormulaAttribute, ht as ComputedDependencyGraphNode, i as AttributeType, it as evaluateComputedFormula, j as RichtextAttribute, jt as ComputedFormulaBinaryNode, k as RelationTarget, kt as ComputedValueType, l as CurrencyAttribute, lt as inferRollupReturnType, m as DocumentAttribute, mt as ComputedCompileSchema, n as Attribute, nt as ComputedFormulaResult, o as BilateralConfig, ot as formatComputedResult, p as DateValue, pt as ComputedCompileObject, q as OptionPropertyAttribute, r as AttributeGroup, rt as evaluateComputedAst, s as CheckboxAttribute, st as isPlainRecord, t as ATTRIBUTE_TYPES, tt as ComputedFunctionMetadata, u as DateAttribute, ut as rollupToFormulaExpression, v as LocationAttribute, vt as compileComputedFormula, w as Option, wt as ComputedDependency, x as MultiselectAttribute, xt as ComputedFunctionName, y as LocationGranularity, yt as COMPUTED_FUNCTIONS, z as TimeFormat } from "./attributes-DF899HOt.js";
4
+ import { a as asUserId, c as indexBy, d as sameStableValue, f as serializeCanonicalJson, i as asTenantId, l as NonJsonValueError, n as UserId, o as deepEqual, p as serializeStableJson, r as Uuid, s as generateId, t as TenantId, u as canonicalStringify } from "./utils-Cuz_wSKI.js";
5
+ import { $ as RelativeDateValue, A as FormDensity, B as DynamicValue, C as ContentPlacement, D as DocumentsContentDefinition, E as CustomContentDefinition, F as RichtextContentDefinition, G as FilterRule, H as ExtendedFilterRule, I as ViewContentDefinition, J as NO_VALUE_OPERATORS, K as FilterState, L as ViewRead, M as KanbanCollectionContentDefinition, N as ListViewLayout, O as EmailsContentDefinition, P as MeetingsContentDefinition, Q as QueryState, R as CurrencyFilterValue, S as ContentOpenMode, T as ContentViewDefinition, U as FilterCombinator, V as EdgeQuantifier, W as FilterOperator, X as OPERATORS_BY_TYPE, Y as NoValueOperator, Z as PhoneFilterValue, _ as CollectionContentSource, a as displayAttributesSchema, b as ContentField, c as filterStateSchema, d as colorIdSchema, et as SortDirection, f as iconNameSchema, g as CollectionContentDefinition, h as CollectionAction, i as contentViewDefinitionSchemaFor, it as isNoValueOperator, j as FormsContentDefinition, k as FormContentDefinition, l as publishedViewContentDefinitionSchema, m as ActivityContentDefinition, n as columnsSchema, nt as filterOperatorsByTypeForGeneration, o as draftContentViewDefinitionSchema, p as SCHEMA_LIMITS, q as FilterValue, r as contentViewDefinitionSchema, rt as getRollupFilterOperators, s as draftContentViewDefinitionSchemaFor, t as collectionContentSourceSchema, tt as SortRule, u as sortsSchema, v as ColumnReference, w as ContentViewContext, x as ContentFieldGroup, y as ContentCreateMode, z as DayMonthValue } from "./all-DgCMEIjc.js";
6
+ import { A as FolderPreset, C as ResourceVisibility, D as parseResourceVisibility, E as Timestamps, M as PresetNode, O as DocumentLayout, S as ReservedObjectName, T as SystemFieldName, _ as ObjectRecord, a as validateDraft, b as RESOURCE_VISIBILITIES, c as validateObjectOrThrow, f as createFormAttributeValidator, g as ObjectDefinition, h as ObjectAttribute, j as MAX_PRESET_DEPTH, k as DocumentLayoutVariant, m as ListViewTabVisibility, o as validateDraftOrThrow, p as LIST_VIEW_TAB_VISIBILITIES, r as rejectUnknownAttributesOrThrow, s as validateObject, v as RESERVED_ATTRIBUTE_NAMES, w as SYSTEM_FIELD_NAMES, x as ReservedAttributeName, y as RESERVED_OBJECT_NAMES } from "./index-DCw-X_sc.js";
7
+ import { C as UpdateObjectInput, S as RelationOptionsResponse, _ as statusOptionWriteSchema, b as CreateCustomObjectInput, c as parseAttributeConfigForCreate, d as propertyAttributeWireSchema, f as propertySchemaSchema, g as statusGroupSchema, h as selectOptionWriteSchema, l as parseAttributeConfigForUpdate, m as refuseForeignKeys, n as WIRE_OMITTED_CONFIG_KEYS, o as multiselectOptionWriteSchema, p as propertySchemaWireSchema, r as attributeConfigSchemas, s as parseAttributeConfig, t as SIMPLE_PROPERTY_TYPES, u as propertyAttributeSchema, v as withoutUnknownOptionKeys, x as RelationOption, y as AddAttributeInput } from "./index-BOibflWy.js";
8
+ import { n as DEFAULT_VALIDATION_MESSAGES, r as ValidationMessages, t as formatZodErrors } from "./index-OvRk1isl.js";
9
+ import { t as createTextValidator } from "./text-Z8QjbxUx.js";
10
+ import { t as createNumberValidator } from "./number-CoTBX03I.js";
11
+ import { t as createCheckboxValidator } from "./checkbox-DdyYfy8E.js";
12
+ import { t as createDateValidator } from "./date-DhwNqFU4.js";
13
13
  import z, { z as z$1 } from "zod";
14
14
  import { ColorId, CountryIso3, CurrencyCode, IconName, MimeType } from "@stndrds/constants";
15
15
  import { StandardSchemaV1, StandardSchemaV1 as StandardSchemaV1$1 } from "@standard-schema/spec";
@@ -840,6 +840,11 @@ export interface ApiKeyPermission {
840
840
  target: string;
841
841
  actions: Action[];
842
842
  }
843
+ /**
844
+ * A role an API key's actor holds — the identifying slice only, never the
845
+ * role's permissions.
846
+ */
847
+ export type ApiKeyRole = Pick<Role, "id" | "name" | "label">;
843
848
  export interface ApiKey {
844
849
  id: string;
845
850
  tenantId: string;
@@ -853,6 +858,15 @@ export interface ApiKey {
853
858
  revokedAt: string | null;
854
859
  createdAt: string;
855
860
  createdBy: string;
861
+ /**
862
+ * The roles the key's actor holds in this workspace, which is what the key
863
+ * may do. A key minted with `roleId` holds that role; one minted without it
864
+ * holds the copies of its creator's roles made at creation. `[]` means the
865
+ * key holds no role and has no access. Present on list and single-key reads;
866
+ * absent where the roles were not read (the creation response, or a host
867
+ * with no permission store) — absent is "unknown", never "no role".
868
+ */
869
+ roles?: ApiKeyRole[];
856
870
  }
857
871
  /** Returned only at creation time — the only time the plaintext secret is available. */
858
872
  export interface ApiKeyWithSecret extends ApiKey {
@@ -3984,6 +3998,9 @@ export interface AgentUIDataTypes {
3984
3998
  "message-persisted": {
3985
3999
  message: AgentSessionMessage;
3986
4000
  };
4001
+ "message-persisted-ref": {
4002
+ messageId: string;
4003
+ };
3987
4004
  "message-updated": {
3988
4005
  message: AgentSessionMessage;
3989
4006
  };
@@ -4880,14 +4897,6 @@ export interface AIAvailableModel {
4880
4897
  isCompactionModel?: boolean;
4881
4898
  /** If true, this model is used for fast utility generations (regex, formula, …) */
4882
4899
  isUtilityModel?: boolean;
4883
- /**
4884
- * How the UI reveals this model's streamed text. `"character"` (the default
4885
- * when absent) paces graphemes at reading speed — right for fast models.
4886
- * `"word"` flushes text at network rhythm and fades each new word in —
4887
- * right for slow models whose token cadence the pacer would turn into
4888
- * jerky bursts.
4889
- */
4890
- revealStyle?: "character" | "word";
4891
4900
  }
4892
4901
  /**
4893
4902
  * Tool call status during execution
@@ -5752,6 +5761,16 @@ export interface DocumentFile {
5752
5761
  export type DocumentWithFiles = Document & {
5753
5762
  files: DocumentFile[];
5754
5763
  };
5764
+ /**
5765
+ * One row of a record's drive at a given level: the document with its sub
5766
+ * count and its pack files (#4332). A drive-only attachment, one that exists
5767
+ * only as a reference edge and is named nowhere in `record.values`, has no
5768
+ * other source for its files, and without them its row menu cannot offer
5769
+ * Download. A folder has no pack: its `files` is always `[]`.
5770
+ */
5771
+ export interface RecordDriveChild extends DocumentWithSubCount {
5772
+ files: DocumentFile[];
5773
+ }
5755
5774
  export interface CreateDocument {
5756
5775
  title: string;
5757
5776
  kind?: DocumentKind;
@@ -7169,6 +7188,23 @@ export interface ConnectionCapabilities {
7169
7188
  }
7170
7189
  /** What to ask for so a re-consent keeps what the connection already holds: the held flags beyond `read`, in capability order. */
7171
7190
  export declare function requestedCapabilities(held: ConnectionCapabilities): Exclude<ConnectorCapability, "read">[];
7191
+ /**
7192
+ * How far a connection's full-history walk (backfill) has gone.
7193
+ *
7194
+ * `processed` counts the items the current walk has stored so far, across every
7195
+ * continuation job; once the walk ends it keeps the final count. `total` is what
7196
+ * the provider says the walk will cover, captured when the walk starts: exact or
7197
+ * an estimate (Gmail's `resultSizeEstimate`), so `processed` may end above or
7198
+ * below it. It is `null` when the provider offers no total (calendars), so a
7199
+ * bar stays indeterminate rather than inventing a 100%. A connection that has
7200
+ * never walked reads `{ processed: 0, total: null, backfilling: false }`.
7201
+ */
7202
+ export interface ConnectionSyncProgress {
7203
+ processed: number;
7204
+ total: number | null;
7205
+ /** True while the walk is mid-flight and continuation jobs are still due. */
7206
+ backfilling: boolean;
7207
+ }
7172
7208
  /**
7173
7209
  * Token-free projection of a connection for client/UI consumption.
7174
7210
  * Access/refresh tokens NEVER cross this boundary.
@@ -7185,6 +7221,8 @@ export interface ConnectionView {
7185
7221
  lastSyncedAt: string | null;
7186
7222
  createdAt: string;
7187
7223
  capabilities: ConnectionCapabilities;
7224
+ /** Backfill progress of a mail or calendar connection. */
7225
+ syncProgress: ConnectionSyncProgress;
7188
7226
  }
7189
7227
  /** Scope a connection is created under. Implied by the originating settings section. */
7190
7228
  export type ConnectorScope = "actor" | "tenant";
@@ -7239,6 +7277,15 @@ export declare function isMailProvider(provider: string): provider is EmailProvi
7239
7277
  * (#1907) — do not merge them back.
7240
7278
  */
7241
7279
  export type MailboxAccountVisibility = "shared" | "private";
7280
+ /**
7281
+ * The label a message the provider still holds as a draft carries in
7282
+ * `MailboxEmail.labels`: Gmail's own `DRAFT` system label, and the one the
7283
+ * Graph parser derives from Outlook's `isDraft` (#4353). Unrelated to
7284
+ * `MailDraft`, the composer's local draft.
7285
+ */
7286
+ export declare const PROVIDER_DRAFT_LABEL = "DRAFT";
7287
+ /** Whether a stored message is a provider draft — Gmail or Outlook alike. */
7288
+ export declare function isProviderDraft(labels: readonly string[]): boolean;
7242
7289
  export type EmailDirection = "inbound" | "outbound";
7243
7290
  export type MailboxReadState = "all" | "unread" | "read";
7244
7291
  export type ConnectionStatus = "active" | "reauth_required" | "error" | "disconnected";
@@ -9001,11 +9048,26 @@ declare class StatusAttributeBuilder<TName extends string, TOptions extends read
9001
9048
  /**
9002
9049
  * Set all options at once (preserves literal types for values)
9003
9050
  */
9004
- options<const T extends readonly Option[]>(value: T): StatusAttributeBuilder<TName, T, TRequired>;
9005
- option(config: Option): this;
9051
+ options<const T extends readonly Option[]>(value: T & ExactOptions<T>): StatusAttributeBuilder<TName, T, TRequired>;
9052
+ option<const O extends Option>(config: O & ExactOption<O>): this;
9006
9053
  required(): StatusAttributeBuilder<TName, TOptions, true>;
9007
9054
  optional(): StatusAttributeBuilder<TName, TOptions, false>;
9008
9055
  }
9056
+ /**
9057
+ * Every element of `T` with the keys an {@link Option} does not have typed as
9058
+ * `never`. A generic constraint does no excess-property check, so
9059
+ * `{ id, value, label }` satisfied `readonly Option[]`, sync stored `id`, and
9060
+ * the schema state then answered 400 for the whole tenant (#4356). Refused at
9061
+ * the type level only (#4413): the storage strip from #4412 still guards
9062
+ * whatever reaches it at runtime.
9063
+ */
9064
+ type ExactOptions<T extends readonly Option[]> = { readonly [K in keyof T]: T[K] & ExactOption<T[K]>; };
9065
+ /**
9066
+ * The keys of `O` an {@link Option} does not have, typed as `never`. A fresh
9067
+ * literal gets an excess-property check against `Option`, a declared object
9068
+ * does not, so `.option(declared)` needs this as much as `.options()` does.
9069
+ */
9070
+ type ExactOption<O> = Record<Exclude<keyof O, keyof Option>, never>;
9009
9071
  export declare function status<TName extends string>(config: TypedBuilderConfig<TName>): StatusAttributeBuilder<TName, Option[], false>;
9010
9072
  declare class SelectAttributeBuilder<TName extends string, TOptions extends readonly Option[] = Option[], TRequired extends boolean = false> extends BaseAttributeBuilder<SelectAttribute> {
9011
9073
  readonly _types: {
@@ -9031,8 +9093,8 @@ declare class SelectAttributeBuilder<TName extends string, TOptions extends read
9031
9093
  /**
9032
9094
  * Set all options at once (preserves literal types for values)
9033
9095
  */
9034
- options<const T extends readonly Option[]>(value: T): SelectAttributeBuilder<TName, T, TRequired>;
9035
- option(config: Option): this;
9096
+ options<const T extends readonly Option[]>(value: T & ExactOptions<T>): SelectAttributeBuilder<TName, T, TRequired>;
9097
+ option<const O extends Option>(config: O & ExactOption<O>): this;
9036
9098
  renderAs(value: "badges"): this;
9037
9099
  required(): SelectAttributeBuilder<TName, TOptions, true>;
9038
9100
  optional(): SelectAttributeBuilder<TName, TOptions, false>;
@@ -9062,8 +9124,8 @@ declare class MultiselectAttributeBuilder<TName extends string, TOptions extends
9062
9124
  /**
9063
9125
  * Set all options at once (preserves literal types for values)
9064
9126
  */
9065
- options<const T extends readonly Option[]>(value: T): MultiselectAttributeBuilder<TName, T, TRequired>;
9066
- option(config: Option): this;
9127
+ options<const T extends readonly Option[]>(value: T & ExactOptions<T>): MultiselectAttributeBuilder<TName, T, TRequired>;
9128
+ option<const O extends Option>(config: O & ExactOption<O>): this;
9067
9129
  renderAs(value: "badges"): this;
9068
9130
  required(): MultiselectAttributeBuilder<TName, TOptions, true>;
9069
9131
  optional(): MultiselectAttributeBuilder<TName, TOptions, false>;
@@ -9385,7 +9447,7 @@ declare class RollupAttributeBuilder<TName extends string> extends BaseAttribute
9385
9447
  * Required when function="original" and target is select/status/multiselect
9386
9448
  * @param options - The options array from the target attribute
9387
9449
  */
9388
- targetOptions(options: Option[]): this;
9450
+ targetOptions<const T extends readonly Option[]>(options: T & ExactOptions<T>): this;
9389
9451
  /**
9390
9452
  * Set the currency code a sum/avg over a currency target renders with
9391
9453
  * (#2644). Mirror of the target attribute's `defaultCurrency` — the stored
@@ -12867,6 +12929,98 @@ export declare function assertSchemaSourceId(sourceId: string): void;
12867
12929
  */
12868
12930
  export declare function markdownToPlainText(markdown: string): string;
12869
12931
  //#endregion
12932
+ //#region src/utils/read-artifact-result.d.ts
12933
+ /**
12934
+ * A published result as it reads BACK, which is not quite what may be written.
12935
+ *
12936
+ * `kind` is whatever was stored. A newer server can publish a kind this client
12937
+ * has not shipped yet, and refusing the whole value over that made the artifact
12938
+ * render as nothing at all — the reader was told an artifact existed and saw no
12939
+ * artifact (#4075). Karl's ruling of 2026-09-21: visible and degraded.
12940
+ *
12941
+ * `PublishArtifactResult` itself stays closed. This type describes history, not
12942
+ * what the product may emit, and the two are genuinely different questions —
12943
+ * which is also why the annotation below stays honest instead of being cast
12944
+ * away. A schema that needs a cast to claim its own return type has stopped
12945
+ * validating what it says it validates.
12946
+ */
12947
+ type StoredArtifactResult = Omit<PublishArtifactResult, "kind"> & {
12948
+ kind: StoredArtifactKind;
12949
+ };
12950
+ /**
12951
+ * Narrows an untrusted persisted tool result.
12952
+ *
12953
+ * Strict in every field but `kind`: a value that fails for any other reason is
12954
+ * still refused whole.
12955
+ */
12956
+ export declare function readArtifactResult(value: unknown): StoredArtifactResult | null;
12957
+ //#endregion
12958
+ //#region src/utils/read-generated-image-result.d.ts
12959
+ /** Untrusted history must carry a real nested image receipt, never bytes or a signed URL. */
12960
+ export declare function readGeneratedImageResult(value: unknown): GenerateImageResult | null;
12961
+ //#endregion
12962
+ //#region src/utils/extract-touched-records.d.ts
12963
+ interface TouchedRecord {
12964
+ recordId: string;
12965
+ objectName: string;
12966
+ label: string;
12967
+ kind: "created" | "modified";
12968
+ }
12969
+ /**
12970
+ * Derives the records an agent run created or modified, from the session's
12971
+ * tool-call results. Dedups by `recordId`, keeping the highest-precedence
12972
+ * kind seen (`created` beats `modified`) while re-anchoring the entry's
12973
+ * position to its most recent occurrence.
12974
+ */
12975
+ export declare function extractTouchedRecords(messages: readonly Pick<AgentSessionMessage, "role" | "parts">[]): TouchedRecord[];
12976
+ //#endregion
12977
+ //#region src/utils/extract-touched-documents.d.ts
12978
+ interface TouchedDocument {
12979
+ id: string;
12980
+ fileId?: string;
12981
+ title: string;
12982
+ kind: "modified" | "consulted";
12983
+ mimeType?: string;
12984
+ }
12985
+ /**
12986
+ * Derives the documents an agent run touched, from tool-call results and
12987
+ * assistant-message file attachments. Dedups by `id`, keeping the
12988
+ * highest-precedence kind seen (`modified` beats `consulted`) while
12989
+ * re-anchoring the entry's position to its most recent occurrence.
12990
+ */
12991
+ export declare function extractTouchedDocuments(messages: readonly Pick<AgentSessionMessage, "role" | "parts">[]): TouchedDocument[];
12992
+ //#endregion
12993
+ //#region src/utils/extract-touched-artifacts.d.ts
12994
+ /**
12995
+ * Read back out of a conversation, so `kind` is whatever was stored — a newer
12996
+ * server may have published one this client does not know (#4075).
12997
+ */
12998
+ type TouchedArtifact = StoredArtifactResult;
12999
+ /**
13000
+ * Finds immutable Artifact revisions published by the assistant. Repeated
13001
+ * occurrences move to their latest position and carry the latest metadata.
13002
+ */
13003
+ export declare function extractTouchedArtifacts(messages: readonly Pick<AgentSessionMessage, "role" | "parts">[]): TouchedArtifact[];
13004
+ //#endregion
13005
+ //#region src/utils/agent-conversation-overview.d.ts
13006
+ interface AgentConversationOverview {
13007
+ touchedRecords: TouchedRecord[];
13008
+ touchedDocuments: TouchedDocument[];
13009
+ touchedArtifacts: TouchedArtifact[];
13010
+ openHumanRequests: Array<{
13011
+ messageId: string;
13012
+ createdAt: string;
13013
+ part: Extract<AgentMessagePart, {
13014
+ type: "tool";
13015
+ }>;
13016
+ }>;
13017
+ firstUserPreview: string | null;
13018
+ designReviewOutcomes: Array<{
13019
+ requestId: string;
13020
+ outcome: "approved" | "changesRequested" | "unknown";
13021
+ }>;
13022
+ }
13023
+ //#endregion
12870
13024
  //#region src/utils/calendar-day.d.ts
12871
13025
  /**
12872
13026
  * A `YYYY-MM-DD` string that actually names a calendar day.
@@ -14264,6 +14418,9 @@ export declare const customDataChunkSchemas: {
14264
14418
  createdAt: z$1.ZodUnion<readonly [z$1.ZodDate, z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<Date, string>>]>;
14265
14419
  }, z$1.core.$strict>;
14266
14420
  }, z$1.core.$strict>;
14421
+ readonly "message-persisted-ref": z$1.ZodObject<{
14422
+ messageId: z$1.ZodString;
14423
+ }, z$1.core.$strict>;
14267
14424
  readonly "message-updated": z$1.ZodObject<{
14268
14425
  message: z$1.ZodObject<{
14269
14426
  id: z$1.ZodString;
@@ -14636,10 +14793,6 @@ export declare function catalogTextModelSchema(id: string, free: boolean): z$1.Z
14636
14793
  unverified: z$1.ZodOptional<z$1.ZodBoolean>;
14637
14794
  isCompactionModel: z$1.ZodOptional<z$1.ZodBoolean>;
14638
14795
  isUtilityModel: z$1.ZodOptional<z$1.ZodBoolean>;
14639
- revealStyle: z$1.ZodOptional<z$1.ZodEnum<{
14640
- character: "character";
14641
- word: "word";
14642
- }>>;
14643
14796
  tasks: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
14644
14797
  conversation: "conversation";
14645
14798
  writing: "writing";
@@ -14762,4 +14915,4 @@ export declare function schemaStateSourcePayload(entries: readonly SchemaStateEn
14762
14915
  export declare function parseSchemaState(input: unknown): SchemaState;
14763
14916
  export declare function diffSchemaState(state: SchemaState): SchemaStateDiff;
14764
14917
  //#endregion
14765
- export { ATTRIBUTE_TYPES, AccessDeniedError, type ActivityContentDefinition, AddAttributeInput, AmbiguousSchemaChangeError, type ArchitectChange, type ArchitectFocus, type ArchitectImpact, type ArchitectNavigation, type ArchitectPresentation, type ArchitectProjection, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, AttributeGroup, AttributeInUseError, type AttributeLifecycleCapabilities, type AttributeLike, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRemovalContentAddress, type AttributeRemovalPlan, type AttributeRemovalView, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, AttributeUsage, BaseAttribute, type BaseOperation, type BatchGuidance, BilateralConfig, type BlockedContent, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, type CanonicalViewOperationInput, type CatalogueViolation, CheckboxAttribute, type CollectionAction, type CollectionContentDefinition, type CollectionContentSource, type CollectionSourceAddress, type ColumnReference, type ColumnsNeeded, CompileComputedFormulaInput, ComputedCompileAttribute, ComputedCompileObject, ComputedCompileSchema, ComputedDependency, ComputedDependencyGraphNode, ComputedFieldKind, ComputedFormulaAstNode, ComputedFormulaBinaryNode, ComputedFormulaBinaryOperator, ComputedFormulaCallNode, ComputedFormulaCompileError, ComputedFormulaLiteralNode, ComputedFormulaParseError, ComputedFormulaPathNode, ComputedFormulaResult, ComputedFunctionCategory, ComputedFunctionMetadata, ComputedFunctionName, ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ContentCreateMode, type ContentExtensionDefinition, type ContentField, type ContentFieldGroup, type ContentNavigation, type ContentOpenMode, type ContentPlacement, type ContentViewCatalogueCollection, type ContentViewCatalogueInput, type ContentViewCatalogueResult, type ContentViewContext, type ContentViewDefinition, type ConversationDisplayTitleInput, CreateCustomObjectInput, type CreateDBForm, type CreateDBFormSubmission, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomContentDefinition, type DBForm, type DBFormSubmission, DEFAULT_VALIDATION_MESSAGES, DateAttribute, DateFormat, DateRangeValue, DateValue, type DayMonthValue, type DefaultResolutionContext, type DefaultViewType, DocumentAttribute, DocumentLayout, DocumentLayoutVariant, type DocumentsContentDefinition, type DraftAppendCommand, type DraftAppendReceipt, type DraftCommandGuard, type DraftContentState, type DraftFocus, type DraftObjectSettings, type DraftOperationContext, type DraftPublishCommand, type DraftRefusal, type DraftSummary, type DraftViewAuthoring, type DraftableAttribute, type DraftableObject, type DraftableSampleRecord, type DraftableState, type DraftableView, type DroppedContent, DuplicateError, type DwellMode, type DynamicValue, type EdgeQuantifier, type EditingCapability, type EditingScope, type EmailsContentDefinition, type ExhaustiveDraftObjectSettings, type ExtendedFilterRule, type FilterCombinator, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagResolutionContext, FolderPreset, ForbiddenError, type FormContentDefinition, type FormDensity, FormRegistry, type FormsContentDefinition, FormulaAttribute, FormulaReturnType, type GatewayFastPricing, type GatewayPriceTier, type GatewayPricing, type KanbanCollectionContentDefinition, LIST_VIEW_TAB_VISIBILITIES, type LabelContext, type ListViewLayout, ListViewTabVisibility, type ListedObjectResolver, Location, LocationAttribute, type LocationFilterProperty, LocationGranularity, MAX_PRESET_DEPTH, type MeetingsContentDefinition, MemoryNotFoundError, MultiRelationAttribute, MultiselectAttribute, type MutationReceipt, NO_VALUE_OPERATORS, type NamedTarget, type NextStep, type NoValueOperator, NonJsonValueError, NotFoundError, NotImplementedError, NumberAttribute, NumberUnit, OPERATORS_BY_TYPE, ObjectAttribute, ObjectDefinition, ObjectNotFoundError, ObjectRecord, ObjectReferencedError, type OperationDef, type OperationFamily, type OperationPace, Option, OptionPropertyAttribute, OrphanSystemAttributeError, Phone, PhoneAttribute, type PhoneFilterValue, PresetNode, PropertyAttribute, PropertySchema, PropertyType, type ProposalRevision, type ProposalTarget, ProtectedResourceError, ProtectedRoleError, type QueryState, RELATION_TARGET_ANY, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, RealtimeDeliveryError, RealtimeRateLimitedError, RealtimeSubscriptionError, type ReconcileRelationAttributesInput, type ReconciledRelationAttributes, RecordNotFoundError, RecordReference, RecordReferencedError, RelationAttribute, RelationOption, RelationOptionsResponse, type RelationPair, RelationTarget, type RelativeDateValue, type RemovedAttribute, type RenameDraftAttributeOperation, RepositoryError, RepositoryOperation, ReservedAttributeName, ReservedObjectName, ReservedObjectNameError, ResourceVisibility, RichTextAttribute, RichtextAttribute, type RichtextContentDefinition, RoleNotFoundError, RollupAttribute, RollupFunction, SCHEMA_LIMITS, SIMPLE_PROPERTY_TYPES, SYSTEM_FIELD_NAMES, type SamplePublication, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, type ScrubbedContent, SearchBackendError, SelectAttribute, SingleRelationAttribute, type SortDirection, type SortRule, type StandardSchemaV1, StatusAttribute, StatusGroup, StorageError, StorageOperation, type StoredContentDefinition, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, SystemFieldName, type TenantId, TextAttribute, TimeFormat, Timestamps, type UpdateDBForm, type UpdateDBFormSubmission, UpdateObjectInput, UserAttribute, type UserId, type UserLike, UserReferenceType, type Uuid, ValidationError, ValidationErrorDetail, type ValidationMessages, type ValueRef, type ViewContentDefinition, type ViewOperation, type ViewRead, WIRE_OMITTED_CONFIG_KEYS, asTenantId, asUserId, assertAcyclicComputedDependencies, attributeConfigSchemas, canonicalStringify, collectionContentSourceSchema, colorIdSchema, columnsSchema, compileComputedFormula, compileRollupAttribute, contentViewDefinitionSchema, contentViewDefinitionSchemaFor, createCheckboxValidator, createDateValidator, createFormAttributeValidator, createNumberValidator, createTextValidator, deepEqual, displayAttributesSchema, draftContentViewDefinitionSchema, draftContentViewDefinitionSchemaFor, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, filterOperatorsByTypeForGeneration, filterStateSchema, formatComputedResult, formatZodErrors, generateId, getRollupFilterOperators, hasOptions, iconNameSchema, indexBy, inferInverseCardinality, inferRollupReturnType, isAttributeInUseError, isAttributeSortable, isBilateralRelation, isComputedFunctionName, isNoValueOperator, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isSchemaError, isUniversalRelation, isValidationError, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, parseComputedFormula, parseResourceVisibility, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, publishedViewContentDefinitionSchema, refuseForeignKeys, rejectUnknownAttributesOrThrow, relationTargetsOf, resolvePropertyDefinitions, rollupToFormulaExpression, sameStableValue, selectOptionWriteSchema, serializeCanonicalJson, serializeStableJson, sortsSchema, statusGroupSchema, statusOptionWriteSchema, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow };
14918
+ export { ATTRIBUTE_TYPES, AccessDeniedError, type ActivityContentDefinition, AddAttributeInput, type AgentConversationOverview, AmbiguousSchemaChangeError, type ArchitectChange, type ArchitectFocus, type ArchitectImpact, type ArchitectNavigation, type ArchitectPresentation, type ArchitectProjection, Attribute, type AttributeAgentCapabilities, type AttributeAuthoringCapabilities, type AttributeCapabilities, type AttributeCardinality, type AttributeDefaultValueCapability, type AttributeExchangeCapabilities, AttributeGroup, AttributeInUseError, type AttributeLifecycleCapabilities, type AttributeLike, AttributeNotFoundError, type AttributePolymorphicCapability, type AttributePresentationCapabilities, type AttributeQueryCapabilities, type AttributeRemovalContentAddress, type AttributeRemovalPlan, type AttributeRemovalView, type AttributeRequiredCapability, type AttributeStorageCapabilities, type AttributeStorageMode, AttributeType, AttributeUsage, BaseAttribute, type BaseOperation, type BatchGuidance, BilateralConfig, type BlockedContent, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, type CanonicalViewOperationInput, type CatalogueViolation, CheckboxAttribute, type CollectionAction, type CollectionContentDefinition, type CollectionContentSource, type CollectionSourceAddress, type ColumnReference, type ColumnsNeeded, CompileComputedFormulaInput, ComputedCompileAttribute, ComputedCompileObject, ComputedCompileSchema, ComputedDependency, ComputedDependencyGraphNode, ComputedFieldKind, ComputedFormulaAstNode, ComputedFormulaBinaryNode, ComputedFormulaBinaryOperator, ComputedFormulaCallNode, ComputedFormulaCompileError, ComputedFormulaLiteralNode, ComputedFormulaParseError, ComputedFormulaPathNode, ComputedFormulaResult, ComputedFunctionCategory, ComputedFunctionMetadata, ComputedFunctionName, ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ContentCreateMode, type ContentExtensionDefinition, type ContentField, type ContentFieldGroup, type ContentNavigation, type ContentOpenMode, type ContentPlacement, type ContentViewCatalogueCollection, type ContentViewCatalogueInput, type ContentViewCatalogueResult, type ContentViewContext, type ContentViewDefinition, type ConversationDisplayTitleInput, CreateCustomObjectInput, type CreateDBForm, type CreateDBFormSubmission, Currency, CurrencyAttribute, type CurrencyFilterValue, type CustomContentDefinition, type DBForm, type DBFormSubmission, DEFAULT_VALIDATION_MESSAGES, DateAttribute, DateFormat, DateRangeValue, DateValue, type DayMonthValue, type DefaultResolutionContext, type DefaultViewType, DocumentAttribute, DocumentLayout, DocumentLayoutVariant, type DocumentsContentDefinition, type DraftAppendCommand, type DraftAppendReceipt, type DraftCommandGuard, type DraftContentState, type DraftFocus, type DraftObjectSettings, type DraftOperationContext, type DraftPublishCommand, type DraftRefusal, type DraftSummary, type DraftViewAuthoring, type DraftableAttribute, type DraftableObject, type DraftableSampleRecord, type DraftableState, type DraftableView, type DroppedContent, DuplicateError, type DwellMode, type DynamicValue, type EdgeQuantifier, type EditingCapability, type EditingScope, type EmailsContentDefinition, type ExhaustiveDraftObjectSettings, type ExtendedFilterRule, type FilterCombinator, type FilterOperator, type FilterRule, type FilterState, type FilterValue, type FlagResolutionContext, FolderPreset, ForbiddenError, type FormContentDefinition, type FormDensity, FormRegistry, type FormsContentDefinition, FormulaAttribute, FormulaReturnType, type GatewayFastPricing, type GatewayPriceTier, type GatewayPricing, type KanbanCollectionContentDefinition, LIST_VIEW_TAB_VISIBILITIES, type LabelContext, type ListViewLayout, ListViewTabVisibility, type ListedObjectResolver, Location, LocationAttribute, type LocationFilterProperty, LocationGranularity, MAX_PRESET_DEPTH, type MeetingsContentDefinition, MemoryNotFoundError, MultiRelationAttribute, MultiselectAttribute, type MutationReceipt, NO_VALUE_OPERATORS, type NamedTarget, type NextStep, type NoValueOperator, NonJsonValueError, NotFoundError, NotImplementedError, NumberAttribute, NumberUnit, OPERATORS_BY_TYPE, ObjectAttribute, ObjectDefinition, ObjectNotFoundError, ObjectRecord, ObjectReferencedError, type OperationDef, type OperationFamily, type OperationPace, Option, OptionPropertyAttribute, OrphanSystemAttributeError, Phone, PhoneAttribute, type PhoneFilterValue, PresetNode, PropertyAttribute, PropertySchema, PropertyType, type ProposalRevision, type ProposalTarget, ProtectedResourceError, ProtectedRoleError, type QueryState, RELATION_TARGET_ANY, RESERVED_ATTRIBUTE_NAMES, RESERVED_OBJECT_NAMES, RESOURCE_VISIBILITIES, RealtimeDeliveryError, RealtimeRateLimitedError, RealtimeSubscriptionError, type ReconcileRelationAttributesInput, type ReconciledRelationAttributes, RecordNotFoundError, RecordReference, RecordReferencedError, RelationAttribute, RelationOption, RelationOptionsResponse, type RelationPair, RelationTarget, type RelativeDateValue, type RemovedAttribute, type RenameDraftAttributeOperation, RepositoryError, RepositoryOperation, ReservedAttributeName, ReservedObjectName, ReservedObjectNameError, ResourceVisibility, RichTextAttribute, RichtextAttribute, type RichtextContentDefinition, RoleNotFoundError, RollupAttribute, RollupFunction, SCHEMA_LIMITS, SIMPLE_PROPERTY_TYPES, SYSTEM_FIELD_NAMES, type SamplePublication, SchemaError, SchemaErrorCode, SchemaPlanNotFoundError, type ScrubbedContent, SearchBackendError, SearchBackendErrorOptions, SearchBackendFailureKind, SelectAttribute, SingleRelationAttribute, type SortDirection, type SortRule, type StandardSchemaV1, StatusAttribute, StatusGroup, StorageError, StorageOperation, type StoredArtifactResult, type StoredContentDefinition, SyncCascadeError, SyncConflictError, SyncError, SystemEntityImmutableError, SystemFieldName, type TenantId, TextAttribute, TimeFormat, Timestamps, type TouchedArtifact, type TouchedDocument, type TouchedRecord, type UpdateDBForm, type UpdateDBFormSubmission, UpdateObjectInput, UserAttribute, type UserId, type UserLike, UserReferenceType, type Uuid, ValidationError, ValidationErrorDetail, type ValidationMessages, type ValueRef, type ViewContentDefinition, type ViewOperation, type ViewRead, WIRE_OMITTED_CONFIG_KEYS, asTenantId, asUserId, assertAcyclicComputedDependencies, attributeConfigSchemas, canonicalStringify, collectionContentSourceSchema, colorIdSchema, columnsSchema, compileComputedFormula, compileRollupAttribute, contentViewDefinitionSchema, contentViewDefinitionSchemaFor, createCheckboxValidator, createDateValidator, createFormAttributeValidator, createNumberValidator, createTextValidator, deepEqual, displayAttributesSchema, draftContentViewDefinitionSchema, draftContentViewDefinitionSchemaFor, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, filterOperatorsByTypeForGeneration, filterStateSchema, formatComputedResult, formatZodErrors, generateId, getRollupFilterOperators, hasOptions, iconNameSchema, indexBy, inferInverseCardinality, inferRollupReturnType, isAttributeInUseError, isAttributeSortable, isBilateralRelation, isComputedFunctionName, isNoValueOperator, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isSchemaError, isUniversalRelation, isValidationError, multiselectOptionWriteSchema, parseAttributeConfig, parseAttributeConfigForCreate, parseAttributeConfigForUpdate, parseComputedFormula, parseResourceVisibility, propertyAttributeSchema, propertyAttributeWireSchema, propertySchemaSchema, propertySchemaWireSchema, publishedViewContentDefinitionSchema, refuseForeignKeys, rejectUnknownAttributesOrThrow, relationTargetsOf, resolvePropertyDefinitions, rollupToFormulaExpression, sameStableValue, selectOptionWriteSchema, serializeCanonicalJson, serializeStableJson, sortsSchema, statusGroupSchema, statusOptionWriteSchema, validateDraft, validateDraftOrThrow, validateObject, validateObjectOrThrow, withoutUnknownOptionKeys };