@stndrds/schema 1.0.0-alpha.203 → 1.0.0-alpha.205

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 (53) hide show
  1. package/dist/{attributes-Cy9o_xM1.d.ts → attributes-BpvQ7YKV.d.ts} +28 -7
  2. package/dist/{attributes-Cn0v3e37.d.mts → attributes-BykLtzP-.d.mts} +28 -7
  3. package/dist/{chunk-PMKCDRRO.mjs → chunk-7SSN7BXS.mjs} +49 -10
  4. package/dist/{chunk-MZOEL7FN.js → chunk-SJCEXYFG.js} +49 -10
  5. package/dist/{helpers-LCnn6DG3.d.ts → helpers-Bd-m3ygv.d.ts} +2 -2
  6. package/dist/{helpers-CED0HyXm.d.mts → helpers-xalb2T4E.d.mts} +2 -2
  7. package/dist/index.d.mts +362 -337
  8. package/dist/index.d.ts +362 -337
  9. package/dist/index.js +199 -95
  10. package/dist/index.mjs +129 -37
  11. package/dist/{types-CORdDGpb.d.mts → types-BmgBJGpl.d.mts} +1 -1
  12. package/dist/{types-B12E9LFe.d.ts → types-DeFxYTDc.d.ts} +1 -1
  13. package/dist/validation/all.d.mts +3 -3
  14. package/dist/validation/all.d.ts +3 -3
  15. package/dist/validation/all.js +10 -10
  16. package/dist/validation/all.mjs +3 -3
  17. package/dist/validation/complex/currency.d.mts +2 -2
  18. package/dist/validation/complex/currency.d.ts +2 -2
  19. package/dist/validation/complex/file.d.mts +2 -2
  20. package/dist/validation/complex/file.d.ts +2 -2
  21. package/dist/validation/complex/location.d.mts +2 -2
  22. package/dist/validation/complex/location.d.ts +2 -2
  23. package/dist/validation/complex/phone.d.mts +2 -2
  24. package/dist/validation/complex/phone.d.ts +2 -2
  25. package/dist/validation/complex/relation.d.mts +2 -2
  26. package/dist/validation/complex/relation.d.ts +2 -2
  27. package/dist/validation/complex/richtext.d.mts +2 -2
  28. package/dist/validation/complex/richtext.d.ts +2 -2
  29. package/dist/validation/complex/select.d.mts +2 -2
  30. package/dist/validation/complex/select.d.ts +2 -2
  31. package/dist/validation/complex/user.d.mts +2 -2
  32. package/dist/validation/complex/user.d.ts +2 -2
  33. package/dist/validation/computed/formula.d.mts +2 -2
  34. package/dist/validation/computed/formula.d.ts +2 -2
  35. package/dist/validation/computed/rollup.d.mts +2 -2
  36. package/dist/validation/computed/rollup.d.ts +2 -2
  37. package/dist/validation/config/index.d.mts +1 -1
  38. package/dist/validation/config/index.d.ts +1 -1
  39. package/dist/validation/core/index.d.mts +3 -3
  40. package/dist/validation/core/index.d.ts +3 -3
  41. package/dist/validation/object/index.d.mts +3 -3
  42. package/dist/validation/object/index.d.ts +3 -3
  43. package/dist/validation/object/index.js +16 -16
  44. package/dist/validation/object/index.mjs +3 -3
  45. package/dist/validation/primitives/checkbox.d.mts +2 -2
  46. package/dist/validation/primitives/checkbox.d.ts +2 -2
  47. package/dist/validation/primitives/date.d.mts +2 -2
  48. package/dist/validation/primitives/date.d.ts +2 -2
  49. package/dist/validation/primitives/number.d.mts +2 -2
  50. package/dist/validation/primitives/number.d.ts +2 -2
  51. package/dist/validation/primitives/text.d.mts +2 -2
  52. package/dist/validation/primitives/text.d.ts +2 -2
  53. package/package.json +2 -2
package/dist/index.d.mts 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, A as Attribute, o as Timestamps, p as DocumentLayout, h as CompletionStatus, q as SchemaOperation, r as LocationGranularity, s as Location, e as FormulaAttribute, t as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, u as Phone, v as Currency, D as DateAttribute, U as UserAttribute, w as DocumentSlotConfig, x as PropertySchema, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, y as Option, L as LocationAttribute, F as FileAttribute, z as FormulaReturnType, R as RelationAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, E as RelationTarget, a as RichtextAttribute, G as RollupFunction, H as UserReferenceType, I as MigrationDefinition, O as ObjectDefinition } from './attributes-Cn0v3e37.mjs';
2
- export { J as AttributeGroup, K as BaseAttribute, Q as BuiltInTransform, V as ComputedAttributeState, W as ComputedFieldKind, X as ComputedStateStatus, Y as CreateDocument, Z as CreateDocumentLink, _ as CreateDocumentSlot, $ as DEFAULT_DOCUMENT_SLOT, a0 as DateFormat, a1 as DateValue, a2 as Document, a3 as DocumentKind, a4 as DocumentLayoutVariant, a5 as DocumentListOptions, a6 as DocumentSlot, a7 as DocumentWithSlots, a8 as DocumentWithSubCount, a9 as FolderPreset, aa as MAX_PRESET_DEPTH, ab as NumberUnit, ac as ObjectAttribute, ad as ObjectRecord, ae as OptionPropertyAttribute, af as PresetNode, ag as PropertyAttribute, ah as PropertyType, ai as RELATION_TARGET_ANY, aj as RESERVED_ATTRIBUTE_NAMES, ak as RecordDocuments, al as ReservedAttributeName, am as RichTextAttribute, an as SYSTEM_FIELD_NAMES, ao as SlotStatus, ap as StatusGroup, aq as SystemFieldName, ar as UpdateDocument, as as UpdateDocumentSlot, at as hasOptions, au as inferInverseCardinality, av as isAttributeSortable, aw as isBilateralRelation, ax as isUniversalRelation } from './attributes-Cn0v3e37.mjs';
3
- import { MimeType, IconName, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
1
+ import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, R 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, F as FormulaAttribute, u as DocumentAttribute, f as StatusAttribute, e as SelectAttribute, d as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, z as Option, L as LocationAttribute, a as FileAttribute, B as FormulaReturnType, b as RelationAttribute, E as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, G as RelationTarget, c as RichtextAttribute, H as RollupFunction, I as UserReferenceType, J as MigrationDefinition, O as ObjectDefinition } from './attributes-BykLtzP-.mjs';
2
+ export { K as AttributeGroup, Q as BaseAttribute, V as BuiltInTransform, W as ComputedAttributeState, X as ComputedFieldKind, Y as ComputedFormulaBinaryNode, Z as ComputedFormulaBinaryOperator, _ as ComputedFormulaCallNode, $ as ComputedFormulaLiteralNode, a0 as ComputedFormulaParseError, a1 as ComputedFormulaPathNode, a2 as ComputedStateStatus, a3 as CreateDocument, a4 as CreateDocumentLink, a5 as CreateDocumentSlot, a6 as DEFAULT_DOCUMENT_SLOT, a7 as DateFormat, a8 as DateValue, a9 as Document, aa as DocumentKind, ab as DocumentLayoutVariant, ac as DocumentListOptions, ad as DocumentSlot, ae as DocumentWithSlots, af as DocumentWithSubCount, ag as FolderPreset, ah as MAX_PRESET_DEPTH, ai as NumberUnit, aj as ObjectAttribute, ak as ObjectRecord, al as OptionPropertyAttribute, am as PresetNode, an as PropertyAttribute, ao as PropertyType, ap as RELATION_TARGET_ANY, aq as RESERVED_ATTRIBUTE_NAMES, ar as RecordDocuments, as as ReservedAttributeName, at as RichTextAttribute, au as SYSTEM_FIELD_NAMES, av as SlotStatus, aw as StatusGroup, ax as SystemFieldName, ay as UpdateDocument, az as UpdateDocumentSlot, aA as hasOptions, aB as inferInverseCardinality, aC as isAttributeSortable, aD as isBilateralRelation, aE as isUniversalRelation, aF as parseComputedFormula } from './attributes-BykLtzP-.mjs';
3
+ import { IconName, MimeType, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
4
4
  import { Uuid, TenantId } from './utils.mjs';
5
5
  export { UserId, asTenantId, asUserId, deepEqual, generateId, indexBy } from './utils.mjs';
6
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-CORdDGpb.mjs';
9
+ export { V as ValidationMessages } from './types-BmgBJGpl.mjs';
10
10
  export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.mjs';
11
11
  export { parseAttributeConfig } from './validation/config/index.mjs';
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-CED0HyXm.mjs';
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-xalb2T4E.mjs';
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];
@@ -22,32 +22,6 @@ interface ComputedFunctionSignature {
22
22
  declare const COMPUTED_FUNCTIONS: Record<ComputedFunctionName, ComputedFunctionSignature>;
23
23
  declare function isComputedFunctionName(name: string): name is ComputedFunctionName;
24
24
 
25
- type ComputedFormulaAstNode = ComputedFormulaLiteralNode | ComputedFormulaPathNode | ComputedFormulaCallNode | ComputedFormulaBinaryNode;
26
- interface ComputedFormulaLiteralNode {
27
- kind: "literal";
28
- value: string | number | boolean | null;
29
- }
30
- interface ComputedFormulaPathNode {
31
- kind: "path";
32
- parts: string[];
33
- }
34
- interface ComputedFormulaCallNode {
35
- kind: "call";
36
- functionName: string;
37
- args: ComputedFormulaAstNode[];
38
- }
39
- interface ComputedFormulaBinaryNode {
40
- kind: "binary";
41
- operator: ComputedFormulaBinaryOperator;
42
- left: ComputedFormulaAstNode;
43
- right: ComputedFormulaAstNode;
44
- }
45
- type ComputedFormulaBinaryOperator = ">" | "<" | ">=" | "<=" | "==" | "!=" | "+" | "-" | "*" | "/";
46
- declare class ComputedFormulaParseError extends Error {
47
- constructor(message: string);
48
- }
49
- declare function parseComputedFormula(expression: string): ComputedFormulaAstNode;
50
-
51
25
  interface ComputedCompileAttribute {
52
26
  name: string;
53
27
  type: AttributeType;
@@ -287,143 +261,6 @@ interface PageOptions {
287
261
  countMode?: CountMode;
288
262
  }
289
263
 
290
- /**
291
- * Storage provider type
292
- */
293
- type StorageProvider = "s3" | "gcs" | "azure" | "local" | "cloudflare-r2" | string;
294
- /**
295
- * File visibility level
296
- */
297
- type FileVisibility = "public" | "private" | "restricted";
298
- /**
299
- * File - Represents uploaded file metadata and storage info
300
- *
301
- * ARCHITECTURE:
302
- * - Fixed table (no custom attributes)
303
- * - Manages file storage, permissions, and metadata
304
- * - uploadedBy links to user_profiles table
305
- * - Supports soft delete via deletedAt
306
- *
307
- * @example
308
- * ```typescript
309
- * const file: File = {
310
- * id: "file-123",
311
- * tenantId: "tenant-456",
312
- * name: "contract-2025.pdf",
313
- * originalName: "Contract Acme Corp 2025.pdf",
314
- * mimeType: "application/pdf",
315
- * size: 2458624,
316
- * storageProvider: "s3",
317
- * storagePath: "tenants/456/files/2025/11/contract-2025.pdf",
318
- * storageBucket: "my-app-files",
319
- * url: "https://cdn.example.com/files/file-123",
320
- * uploadedBy: "profile-789",
321
- * folderPath: "/contracts/2025",
322
- * tags: ["contract", "legal"],
323
- * visibility: "restricted",
324
- * allowedUsers: ["profile-789", "profile-456"],
325
- * createdAt: new Date(),
326
- * updatedAt: new Date(),
327
- * };
328
- * ```
329
- */
330
- interface File extends Timestamps {
331
- id: Uuid;
332
- tenantId: Uuid;
333
- /**
334
- * File name (sanitized for storage)
335
- */
336
- name: string;
337
- /**
338
- * Original file name (as uploaded by user)
339
- */
340
- originalName: string;
341
- /**
342
- * MIME type (e.g., "application/pdf", "image/jpeg")
343
- */
344
- mimeType: MimeType | string;
345
- /**
346
- * File size in bytes
347
- */
348
- size: number;
349
- /**
350
- * Storage provider (s3, gcs, azure, local, etc.)
351
- */
352
- storageProvider: StorageProvider;
353
- /**
354
- * Path in the storage bucket
355
- */
356
- storagePath: string;
357
- /**
358
- * Storage bucket name (if applicable)
359
- */
360
- storageBucket?: string;
361
- /**
362
- * Public or signed URL to access the file
363
- */
364
- url: string;
365
- /**
366
- * User who uploaded the file (FK to user_profiles)
367
- * Optional for system-generated files or anonymous uploads.
368
- */
369
- uploadedBy?: Uuid;
370
- /**
371
- * Folder path for organization (e.g., "/contracts/2025")
372
- */
373
- folderPath?: string;
374
- /**
375
- * Tags for search and categorization
376
- */
377
- tags?: string[];
378
- /**
379
- * File visibility level
380
- * - public: Anyone with the URL can access
381
- * - private: Only uploadedBy can access
382
- * - restricted: Only specific users (allowedUsers) can access
383
- */
384
- visibility: FileVisibility;
385
- /**
386
- * List of user IDs authorized to access this file (if visibility = "restricted")
387
- */
388
- allowedUsers?: Uuid[];
389
- /**
390
- * Soft delete timestamp (null = not deleted)
391
- */
392
- deletedAt?: Date;
393
- }
394
- /**
395
- * Data required to create a new file record
396
- */
397
- /**
398
- * Data for creating a new file.
399
- * Tenant ID is automatically set from execution context.
400
- */
401
- interface CreateFile {
402
- name: string;
403
- originalName: string;
404
- mimeType: MimeType | string;
405
- size: number;
406
- storageProvider: StorageProvider;
407
- storagePath: string;
408
- storageBucket?: string;
409
- url: string;
410
- uploadedBy?: Uuid;
411
- folderPath?: string;
412
- tags?: string[];
413
- visibility?: FileVisibility;
414
- allowedUsers?: Uuid[];
415
- }
416
- /**
417
- * Data for updating an existing file record
418
- */
419
- interface UpdateFile {
420
- name?: string;
421
- folderPath?: string;
422
- tags?: string[];
423
- visibility?: FileVisibility;
424
- allowedUsers?: Uuid[];
425
- }
426
-
427
264
  /**
428
265
  * Type of view - determines the config structure
429
266
  */
@@ -1069,7 +906,6 @@ interface FileListOptions extends ListOptions {
1069
906
  folderPath?: string;
1070
907
  mimeType?: string;
1071
908
  uploadedBy?: Uuid;
1072
- visibility?: FileVisibility;
1073
909
  }
1074
910
  /**
1075
911
  * Unified view as stored in database
@@ -1304,24 +1140,6 @@ interface UpdateActorInput {
1304
1140
  deletedAt?: Date | null;
1305
1141
  anonymizedAt?: Date | null;
1306
1142
  }
1307
- type AccessAction = "*" | "read" | "create" | "update" | "delete" | "manage" | "run" | "observe" | "share";
1308
- type SpecificAccessAction = Exclude<AccessAction, "*">;
1309
- type AccessActionList = ["*"] | [SpecificAccessAction, ...SpecificAccessAction[]];
1310
- type AccessResourceType = "workspace" | "object" | "attribute" | "agent" | "session" | "document" | "view" | "file" | "form";
1311
- type AccessPolicyPreset = "inherit" | "private" | "workspace_read" | "workspace_edit" | "workspace_run" | "role_based";
1312
- type PrincipalType = "actor" | "role" | "workspace";
1313
- type ActorPrincipalRef = {
1314
- principalType: "actor";
1315
- principalId: Uuid;
1316
- };
1317
- type RolePrincipalRef = {
1318
- principalType: "role";
1319
- principalId: Uuid;
1320
- };
1321
- type WorkspacePrincipalRef = {
1322
- principalType: "workspace";
1323
- principalId?: null;
1324
- };
1325
1143
  interface ActorRoleAssignment {
1326
1144
  id: Uuid;
1327
1145
  tenantId: TenantId;
@@ -1335,64 +1153,6 @@ interface AssignActorRoleInput {
1335
1153
  roleId: Uuid;
1336
1154
  assignedBy?: Uuid | null;
1337
1155
  }
1338
- interface ResourceRef {
1339
- type: AccessResourceType;
1340
- id: Uuid;
1341
- tenantId: TenantId;
1342
- objectId?: Uuid;
1343
- objectName?: string;
1344
- parentId?: Uuid;
1345
- agentId?: Uuid;
1346
- metadata?: Record<string, unknown>;
1347
- }
1348
- interface ResourceAccessBase {
1349
- id: Uuid;
1350
- tenantId: TenantId;
1351
- resourceType: AccessResourceType;
1352
- resourceId: Uuid;
1353
- actions: AccessActionList;
1354
- createdBy?: Uuid | null;
1355
- createdAt: Date;
1356
- }
1357
- type ResourceAccess = (ResourceAccessBase & ActorPrincipalRef) | (ResourceAccessBase & RolePrincipalRef) | (ResourceAccessBase & WorkspacePrincipalRef);
1358
- interface GrantResourceAccessInputBase {
1359
- resourceType: AccessResourceType;
1360
- resourceId: Uuid;
1361
- actions: AccessActionList;
1362
- createdBy?: Uuid | null;
1363
- }
1364
- type GrantResourceAccessInput = (GrantResourceAccessInputBase & ActorPrincipalRef) | (GrantResourceAccessInputBase & RolePrincipalRef) | (GrantResourceAccessInputBase & WorkspacePrincipalRef);
1365
- interface AccessPolicy {
1366
- id: Uuid;
1367
- tenantId: TenantId;
1368
- resourceType: AccessResourceType;
1369
- resourceId: Uuid;
1370
- preset: AccessPolicyPreset;
1371
- createdBy?: Uuid | null;
1372
- updatedBy?: Uuid | null;
1373
- createdAt: Date;
1374
- updatedAt: Date;
1375
- }
1376
- interface UpsertAccessPolicyInput {
1377
- resourceType: AccessResourceType;
1378
- resourceId: Uuid;
1379
- preset: AccessPolicyPreset;
1380
- actorId?: Uuid | null;
1381
- }
1382
- interface AgentExecutionPolicy {
1383
- id: Uuid;
1384
- tenantId: TenantId;
1385
- agentActorId: Uuid;
1386
- allowedTools: string[];
1387
- allowedObjectIds: Uuid[];
1388
- maxDepth: number;
1389
- maxBudgetCents?: number | null;
1390
- triggerConstraints: Record<string, unknown>;
1391
- createdBy?: Uuid | null;
1392
- updatedBy?: Uuid | null;
1393
- createdAt: Date;
1394
- updatedAt: Date;
1395
- }
1396
1156
 
1397
1157
  /**
1398
1158
  * Scope of a permission rule.
@@ -1751,6 +1511,108 @@ interface MentionedContext {
1751
1511
  summary: string;
1752
1512
  }
1753
1513
 
1514
+ declare const NOTIFICATION_KINDS: readonly ["fyi", "task", "question", "handoff", "system"];
1515
+ type NotificationKind = (typeof NOTIFICATION_KINDS)[number];
1516
+ declare const NOTIFICATION_PRIORITIES: readonly ["low", "normal", "high", "urgent"];
1517
+ type NotificationPriority = (typeof NOTIFICATION_PRIORITIES)[number];
1518
+ declare const NOTIFICATION_SENSITIVITIES: readonly ["public", "internal", "sensitive"];
1519
+ type NotificationSensitivity = (typeof NOTIFICATION_SENSITIVITIES)[number];
1520
+ declare const NOTIFICATION_INBOX_STATES: readonly ["unread", "read", "archived", "snoozed"];
1521
+ type NotificationInboxState = (typeof NOTIFICATION_INBOX_STATES)[number];
1522
+ declare const NOTIFICATION_WORK_STATES: readonly ["none", "pending", "processing", "completed", "dismissed", "expired", "failed"];
1523
+ type NotificationWorkState = (typeof NOTIFICATION_WORK_STATES)[number];
1524
+ type NotificationType = string;
1525
+ declare const NOTIFICATION_TYPE_AGENT_SESSION_COMPLETED = "agent.session.completed";
1526
+ declare const NOTIFICATION_TYPE_AGENT_SESSION_FAILED = "agent.session.failed";
1527
+ declare const NOTIFICATION_TYPE_AGENT_SESSION_WAITING_HUMAN = "agent.session.waiting_human";
1528
+ declare const NOTIFICATION_TYPE_AGENT_SESSION_TIMEOUT = "agent.session.timeout";
1529
+ declare const NOTIFICATION_TYPE_AGENT_TASK_ASSIGNED = "agent.task.assigned";
1530
+ declare const NOTIFICATION_TYPE_AGENT_QUESTION_REQUESTED = "agent.question.requested";
1531
+ declare const NOTIFICATION_TYPES_V1: readonly ["agent.session.completed", "agent.session.failed", "agent.session.waiting_human", "agent.session.timeout", "agent.task.assigned", "agent.question.requested"];
1532
+ type NotificationV1Type = (typeof NOTIFICATION_TYPES_V1)[number];
1533
+ interface NotificationSubject {
1534
+ type: string;
1535
+ id: string;
1536
+ }
1537
+ interface Notification {
1538
+ id: Uuid;
1539
+ tenantId: string;
1540
+ senderActorId?: Uuid;
1541
+ rootActorId?: Uuid;
1542
+ triggeredByActorId?: Uuid;
1543
+ kind: NotificationKind;
1544
+ type: NotificationType;
1545
+ subject?: NotificationSubject;
1546
+ title: string;
1547
+ summary?: string;
1548
+ payload: Record<string, unknown>;
1549
+ priority: NotificationPriority;
1550
+ sensitivity: NotificationSensitivity;
1551
+ threadKey?: string;
1552
+ idempotencyKey?: string;
1553
+ expiresAt?: Date;
1554
+ createdAt: Date;
1555
+ updatedAt: Date;
1556
+ }
1557
+ interface NotificationRecipient {
1558
+ id: Uuid;
1559
+ tenantId: string;
1560
+ notificationId: Uuid;
1561
+ recipientActorId: Uuid;
1562
+ inboxState: NotificationInboxState;
1563
+ workState: NotificationWorkState;
1564
+ lockedAt?: Date;
1565
+ lockedByActorId?: Uuid;
1566
+ readAt?: Date;
1567
+ archivedAt?: Date;
1568
+ snoozedUntil?: Date;
1569
+ completedAt?: Date;
1570
+ dismissedAt?: Date;
1571
+ createdAt: Date;
1572
+ updatedAt: Date;
1573
+ }
1574
+ interface NotificationWithRecipient {
1575
+ notification: Notification;
1576
+ recipient: NotificationRecipient;
1577
+ }
1578
+ interface NotificationListParams {
1579
+ state?: NotificationInboxState;
1580
+ kind?: NotificationKind;
1581
+ limit?: number;
1582
+ cursor?: string;
1583
+ }
1584
+ interface NotificationListResult {
1585
+ items: NotificationWithRecipient[];
1586
+ nextCursor?: string;
1587
+ }
1588
+ interface NotificationCounts {
1589
+ unread: number;
1590
+ pendingWork: number;
1591
+ }
1592
+ interface CreateNotificationRecipientInput {
1593
+ recipientActorId: Uuid;
1594
+ inboxState?: NotificationInboxState;
1595
+ workState?: NotificationWorkState;
1596
+ snoozedUntil?: Date;
1597
+ }
1598
+ interface CreateNotificationInput {
1599
+ senderActorId?: Uuid;
1600
+ rootActorId?: Uuid;
1601
+ triggeredByActorId?: Uuid;
1602
+ kind: NotificationKind;
1603
+ type: NotificationType;
1604
+ subject?: NotificationSubject;
1605
+ title: string;
1606
+ summary?: string;
1607
+ payload?: Record<string, unknown>;
1608
+ priority?: NotificationPriority;
1609
+ sensitivity?: NotificationSensitivity;
1610
+ threadKey?: string;
1611
+ idempotencyKey?: string;
1612
+ expiresAt?: Date;
1613
+ recipients: CreateNotificationRecipientInput[];
1614
+ }
1615
+
1754
1616
  /**
1755
1617
  * Attribute Property Protection
1756
1618
  *
@@ -1922,6 +1784,115 @@ interface FieldHistoryEntry {
1922
1784
  createdAt: Date;
1923
1785
  }
1924
1786
 
1787
+ /**
1788
+ * Storage provider type
1789
+ */
1790
+ type StorageProvider = "s3" | "gcs" | "azure" | "local" | "cloudflare-r2" | string;
1791
+ /**
1792
+ * File - Represents uploaded file metadata and storage info
1793
+ *
1794
+ * ARCHITECTURE:
1795
+ * - Fixed table (no custom attributes)
1796
+ * - Manages file storage metadata
1797
+ * - uploadedBy links to user_profiles table
1798
+ * - Supports soft delete via deletedAt
1799
+ *
1800
+ * @example
1801
+ * ```typescript
1802
+ * const file: File = {
1803
+ * id: "file-123",
1804
+ * tenantId: "tenant-456",
1805
+ * name: "contract-2025.pdf",
1806
+ * originalName: "Contract Acme Corp 2025.pdf",
1807
+ * mimeType: "application/pdf",
1808
+ * size: 2458624,
1809
+ * storageProvider: "s3",
1810
+ * storagePath: "tenants/456/files/2025/11/contract-2025.pdf",
1811
+ * storageBucket: "my-app-files",
1812
+ * url: "https://cdn.example.com/files/file-123",
1813
+ * uploadedBy: "profile-789",
1814
+ * folderPath: "/contracts/2025",
1815
+ * createdAt: new Date(),
1816
+ * updatedAt: new Date(),
1817
+ * };
1818
+ * ```
1819
+ */
1820
+ interface File extends Timestamps {
1821
+ id: Uuid;
1822
+ tenantId: Uuid;
1823
+ /**
1824
+ * File name (sanitized for storage)
1825
+ */
1826
+ name: string;
1827
+ /**
1828
+ * Original file name (as uploaded by user)
1829
+ */
1830
+ originalName: string;
1831
+ /**
1832
+ * MIME type (e.g., "application/pdf", "image/jpeg")
1833
+ */
1834
+ mimeType: MimeType | string;
1835
+ /**
1836
+ * File size in bytes
1837
+ */
1838
+ size: number;
1839
+ /**
1840
+ * Storage provider (s3, gcs, azure, local, etc.)
1841
+ */
1842
+ storageProvider: StorageProvider;
1843
+ /**
1844
+ * Path in the storage bucket
1845
+ */
1846
+ storagePath: string;
1847
+ /**
1848
+ * Storage bucket name (if applicable)
1849
+ */
1850
+ storageBucket?: string;
1851
+ /**
1852
+ * Public or signed URL to access the file
1853
+ */
1854
+ url: string;
1855
+ /**
1856
+ * User who uploaded the file (FK to user_profiles)
1857
+ * Optional for system-generated files or anonymous uploads.
1858
+ */
1859
+ uploadedBy?: Uuid;
1860
+ /**
1861
+ * Folder path for organization (e.g., "/contracts/2025")
1862
+ */
1863
+ folderPath?: string;
1864
+ /**
1865
+ * Soft delete timestamp (null = not deleted)
1866
+ */
1867
+ deletedAt?: Date;
1868
+ }
1869
+ /**
1870
+ * Data required to create a new file record
1871
+ */
1872
+ /**
1873
+ * Data for creating a new file.
1874
+ * Tenant ID is automatically set from execution context.
1875
+ */
1876
+ interface CreateFile {
1877
+ name: string;
1878
+ originalName: string;
1879
+ mimeType: MimeType | string;
1880
+ size: number;
1881
+ storageProvider: StorageProvider;
1882
+ storagePath: string;
1883
+ storageBucket?: string;
1884
+ url: string;
1885
+ uploadedBy?: Uuid;
1886
+ folderPath?: string;
1887
+ }
1888
+ /**
1889
+ * Data for updating an existing file record
1890
+ */
1891
+ interface UpdateFile {
1892
+ name?: string;
1893
+ folderPath?: string;
1894
+ }
1895
+
1925
1896
  type AgentRunStatus = "pending" | "running" | "completed" | "failed" | "cancelled" | "paused";
1926
1897
  type AgentSessionStatus = "active" | "idle" | "completed" | "failed" | "cancelled" | "waiting_human" | "timeout" | "expired";
1927
1898
  type AgentSessionMode = "interactive" | "autonomous";
@@ -2058,6 +2029,12 @@ interface AgentRun {
2058
2029
  triggerId?: string;
2059
2030
  treeCostUsd?: number;
2060
2031
  effectiveSystemPrompt?: string;
2032
+ /** Monotonic fencing token, incremented on each lease acquisition. */
2033
+ attemptId?: number;
2034
+ /** Worker id currently holding the execution lease (null when free). */
2035
+ leaseOwner?: string;
2036
+ /** When the current lease expires; a run is re-acquirable once past this. */
2037
+ leaseExpiresAt?: Date;
2061
2038
  }
2062
2039
  interface AgentSession {
2063
2040
  id: string;
@@ -2628,6 +2605,7 @@ declare const SchemaErrorCode: {
2628
2605
  readonly DESTRUCTIVE_NOT_ALLOWED: "SCHEMA_DESTRUCTIVE_NOT_ALLOWED";
2629
2606
  readonly MIGRATION_TIMEOUT: "SCHEMA_MIGRATION_TIMEOUT";
2630
2607
  readonly CHANGE_TYPE_NOT_SUPPORTED: "SCHEMA_CHANGE_TYPE_NOT_SUPPORTED";
2608
+ readonly DUPLICATE: "SCHEMA_DUPLICATE";
2631
2609
  readonly DUPLICATE_OBJECT: "SCHEMA_DUPLICATE_OBJECT";
2632
2610
  readonly DUPLICATE_ATTRIBUTE: "SCHEMA_DUPLICATE_ATTRIBUTE";
2633
2611
  readonly CONFLICT: "SCHEMA_CONFLICT";
@@ -2644,6 +2622,36 @@ declare const SchemaErrorCode: {
2644
2622
  readonly RECORD_REFERENCED: "SCHEMA_RECORD_REFERENCED";
2645
2623
  readonly ATTRIBUTE_IN_USE: "SCHEMA_ATTRIBUTE_IN_USE";
2646
2624
  readonly OBJECT_REFERENCED: "SCHEMA_OBJECT_REFERENCED";
2625
+ readonly CONFIGURATION_REQUIRED: "CONFIGURATION_REQUIRED";
2626
+ readonly SEARCH_ADAPTER_REQUIRED: "SEARCH_ADAPTER_REQUIRED";
2627
+ readonly INVARIANT_VIOLATION: "INVARIANT_VIOLATION";
2628
+ readonly TENANT_CONTEXT_MISSING: "TENANT_CONTEXT_MISSING";
2629
+ readonly FEATURE_FLAGS_CONTEXT: "FEATURE_FLAGS_CONTEXT";
2630
+ readonly AGENT_UNKNOWN: "AGENT_UNKNOWN";
2631
+ readonly AGENT_DEPTH_EXCEEDED: "AGENT_DEPTH_EXCEEDED";
2632
+ readonly AGENT_COST_LIMIT_EXCEEDED: "AGENT_COST_LIMIT_EXCEEDED";
2633
+ readonly AGENT_TREE_COST_LIMIT_EXCEEDED: "AGENT_TREE_COST_LIMIT_EXCEEDED";
2634
+ readonly AGENT_SESSION_NOT_FOUND: "AGENT_SESSION_NOT_FOUND";
2635
+ readonly AGENT_DEFINITION_NOT_FOUND: "AGENT_DEFINITION_NOT_FOUND";
2636
+ readonly AGENT_RUN_CONFIG: "AGENT_RUN_CONFIG";
2637
+ readonly AGENT_STREAMING: "AGENT_STREAMING";
2638
+ readonly AGENT_MISSING_ACTOR: "AGENT_MISSING_ACTOR";
2639
+ readonly AGENT_INVALID_STATE: "AGENT_INVALID_STATE";
2640
+ readonly AGENT_COMPACTION_IMPOSSIBLE: "AGENT_COMPACTION_IMPOSSIBLE";
2641
+ readonly AGENT_LEASE_HELD: "AGENT_LEASE_HELD";
2642
+ readonly AI_UNKNOWN: "AI_UNKNOWN";
2643
+ readonly AI_USAGE_LIMIT_EXCEEDED: "AI_USAGE_LIMIT_EXCEEDED";
2644
+ readonly AI_INVALID_USAGE: "AI_INVALID_USAGE";
2645
+ readonly AI_INVALID_MODEL: "AI_INVALID_MODEL";
2646
+ readonly AI_REPOSITORY_ERROR: "AI_REPOSITORY_ERROR";
2647
+ readonly AI_GENERATION_FAILED: "AI_GENERATION_FAILED";
2648
+ readonly DOCUMENT_SLOT_NOT_DECLARED: "DOCUMENT_SLOT_NOT_DECLARED";
2649
+ readonly DOCUMENT_MIME_NOT_ACCEPTED: "DOCUMENT_MIME_NOT_ACCEPTED";
2650
+ readonly DOCUMENT_SLOT_ALREADY_FILLED: "DOCUMENT_SLOT_ALREADY_FILLED";
2651
+ readonly DOCUMENT_MULTIPLE_NOT_ALLOWED: "DOCUMENT_MULTIPLE_NOT_ALLOWED";
2652
+ readonly DOCUMENT_NOT_FOUND_FOR_OPERATION: "DOCUMENT_NOT_FOUND_FOR_OPERATION";
2653
+ readonly DOCUMENT_STORAGE_FAILED: "DOCUMENT_STORAGE_FAILED";
2654
+ readonly DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED";
2647
2655
  };
2648
2656
  type SchemaErrorCode = (typeof SchemaErrorCode)[keyof typeof SchemaErrorCode];
2649
2657
  /**
@@ -2809,12 +2817,20 @@ declare class ChangeTypeNotSupportedError extends SchemaError {
2809
2817
  constructor(objectName: string, attributeName: string);
2810
2818
  }
2811
2819
  /**
2812
- * Error thrown when attempting to create a duplicate resource
2820
+ * Error thrown when attempting to create a duplicate resource.
2821
+ *
2822
+ * `resourceType` is free-form: pass `"object"`/`"attribute"` for schema
2823
+ * resources (a specific code is selected automatically), or any domain label
2824
+ * (`"tool"`, `"background job handler"`, …) for runtime registries, which fall
2825
+ * back to the generic `DUPLICATE` code. The default message is
2826
+ * `'<ResourceType> "<name>" already exists'`; pass a custom message when the
2827
+ * domain reads better with different wording (e.g. "already registered for
2828
+ * type X").
2813
2829
  */
2814
2830
  declare class DuplicateError extends SchemaError {
2815
- readonly resourceType: "object" | "attribute";
2831
+ readonly resourceType: string;
2816
2832
  readonly resourceName: string;
2817
- constructor(resourceType: "object" | "attribute", resourceName: string);
2833
+ constructor(resourceType: string, resourceName: string, message?: string);
2818
2834
  }
2819
2835
  /**
2820
2836
  * Check if an error is a SchemaError
@@ -3689,93 +3705,6 @@ type ExtractRecordUpdateStrict<TBuilder> = TBuilder extends {
3689
3705
  };
3690
3706
  } ? Omit<R, SystemFields> : never;
3691
3707
 
3692
- /**
3693
- * Sandbox execution mode.
3694
- * - "code": Execute a snippet in isolation (fast, deterministic, no AI)
3695
- * - "agent": AI agent iterates in a full environment (slower, AI-driven)
3696
- */
3697
- type SandboxMode = "code" | "agent";
3698
- /**
3699
- * Lifecycle status of a sandbox execution.
3700
- */
3701
- type SandboxExecutionStatus = "pending" | "running" | "completed" | "failed" | "timeout" | "cancelled";
3702
- /**
3703
- * What triggered the sandbox execution.
3704
- */
3705
- interface SandboxTrigger {
3706
- source: "workflow" | "conversation" | "api";
3707
- sourceId?: string;
3708
- metadata?: Record<string, unknown>;
3709
- }
3710
- /**
3711
- * Input configuration for a sandbox execution.
3712
- */
3713
- interface SandboxExecutionInput {
3714
- /** Code to execute (mode "code") */
3715
- code?: string;
3716
- /** Instructions for the AI agent (mode "agent") */
3717
- instructions?: string;
3718
- /** E2B template (e.g. "node-20", "python-3.11", "stndrds-pdf") */
3719
- template?: string;
3720
- /** Environment variables */
3721
- env?: Record<string, string>;
3722
- /** Files to inject (references to file IDs in storage) */
3723
- files?: Array<{
3724
- path: string;
3725
- fileId: string;
3726
- }>;
3727
- }
3728
- /**
3729
- * Result of a sandbox execution.
3730
- */
3731
- interface SandboxExecutionResult {
3732
- stdout?: string;
3733
- stderr?: string;
3734
- exitCode?: number;
3735
- /** File IDs of produced artifacts (stored in files table) */
3736
- artifactFileIds?: string[];
3737
- /** Summary of what the agent did (mode "agent") */
3738
- agentSummary?: string;
3739
- }
3740
- /**
3741
- * Persistent sandbox execution record.
3742
- * Tracks lifecycle, cost, and results of sandbox runs.
3743
- */
3744
- interface SandboxExecution {
3745
- id: string;
3746
- tenantId: string;
3747
- mode: SandboxMode;
3748
- /** Provider sandbox ID (e.g. E2B sandbox ID), set once sandbox starts */
3749
- providerSandboxId: string | null;
3750
- status: SandboxExecutionStatus;
3751
- triggeredBy: SandboxTrigger;
3752
- input: SandboxExecutionInput;
3753
- result: SandboxExecutionResult | null;
3754
- error: string | null;
3755
- /** Duration in milliseconds */
3756
- durationMs: number | null;
3757
- /** Tokens consumed by AI (mode "agent") */
3758
- tokenCount: number | null;
3759
- /** Compute cost in USD (sandbox provider) */
3760
- computeCost: number | null;
3761
- /** AI cost in USD (LLM calls, mode "agent") */
3762
- aiCost: number | null;
3763
- startedBy: string | null;
3764
- startedAt: Date | null;
3765
- completedAt: Date | null;
3766
- /** Hard timeout: sandbox killed after this time */
3767
- expiresAt: Date | null;
3768
- createdAt: Date;
3769
- updatedAt: Date;
3770
- }
3771
- interface CreateSandboxExecution {
3772
- mode: SandboxMode;
3773
- triggeredBy: SandboxTrigger;
3774
- input: SandboxExecutionInput;
3775
- startedBy?: string;
3776
- expiresAt?: Date;
3777
- }
3778
-
3779
3708
  /**
3780
3709
  * A custom navigation item rendered in the sidebar, alongside the
3781
3710
  * developer-defined objects.
@@ -3867,6 +3796,21 @@ declare const SYSTEM_ATTRIBUTES: Record<string, SystemAttribute>;
3867
3796
  */
3868
3797
  declare function getSystemAttributeList(): SystemAttribute[];
3869
3798
 
3799
+ /**
3800
+ * Tenant-level settings.
3801
+ *
3802
+ * One row per tenant, lazily created on first save. Stored in plaintext
3803
+ * (unlike env vars, this is not a secret). Extend with new fields as more
3804
+ * tenant-scoped configuration is needed.
3805
+ */
3806
+ interface TenantSettings {
3807
+ /**
3808
+ * System prompt prepended to EVERY agent's system prompt for this tenant.
3809
+ * `null` means no tenant prefix is applied.
3810
+ */
3811
+ systemPrompt: string | null;
3812
+ }
3813
+
3870
3814
  /**
3871
3815
  * User status for account management
3872
3816
  */
@@ -7562,6 +7506,12 @@ type AgentSessionPatchLiveEvent = {
7562
7506
  patch: Record<string, unknown>;
7563
7507
  version: number;
7564
7508
  updatedAt: string;
7509
+ /**
7510
+ * Full session snapshot, attached on creation (and on patches). Lets clients
7511
+ * add a brand-new session to the list projections it belongs to (by
7512
+ * `parentSessionId` etc.) without a refetch — i.e. live subagent appearance.
7513
+ */
7514
+ session?: Record<string, unknown>;
7565
7515
  };
7566
7516
  type AgentUnreadPatchLiveEvent = {
7567
7517
  type: "agent.unread.patch";
@@ -7573,6 +7523,81 @@ type AgentUnreadPatchLiveEvent = {
7573
7523
  updatedAt: string;
7574
7524
  session?: Record<string, unknown>;
7575
7525
  };
7526
+ type LiveNotification = {
7527
+ id: string;
7528
+ tenantId: string;
7529
+ senderActorId?: string;
7530
+ rootActorId?: string;
7531
+ triggeredByActorId?: string;
7532
+ kind: NotificationKind;
7533
+ type: NotificationType;
7534
+ subject?: NotificationSubject;
7535
+ title: string;
7536
+ summary?: string;
7537
+ payload: Record<string, unknown>;
7538
+ priority: NotificationPriority;
7539
+ sensitivity: NotificationSensitivity;
7540
+ threadKey?: string;
7541
+ idempotencyKey?: string;
7542
+ expiresAt?: string;
7543
+ createdAt: string;
7544
+ updatedAt: string;
7545
+ };
7546
+ type LiveNotificationRecipient = {
7547
+ id: string;
7548
+ tenantId: string;
7549
+ notificationId: string;
7550
+ recipientActorId: string;
7551
+ inboxState: NotificationInboxState;
7552
+ workState: NotificationWorkState;
7553
+ lockedAt?: string;
7554
+ lockedByActorId?: string;
7555
+ readAt?: string;
7556
+ archivedAt?: string;
7557
+ snoozedUntil?: string;
7558
+ completedAt?: string;
7559
+ dismissedAt?: string;
7560
+ createdAt: string;
7561
+ updatedAt: string;
7562
+ };
7563
+ type LiveNotificationRecipientPatch = {
7564
+ inboxState?: NotificationInboxState;
7565
+ workState?: NotificationWorkState;
7566
+ lockedAt?: string | null;
7567
+ lockedByActorId?: string | null;
7568
+ readAt?: string | null;
7569
+ archivedAt?: string | null;
7570
+ snoozedUntil?: string | null;
7571
+ completedAt?: string | null;
7572
+ dismissedAt?: string | null;
7573
+ updatedAt?: string;
7574
+ };
7575
+ type NotificationCreatedLiveEvent = {
7576
+ type: "notification.created";
7577
+ workspaceId: string;
7578
+ notification: LiveNotification;
7579
+ recipients: LiveNotificationRecipient[];
7580
+ version: number;
7581
+ updatedAt: string;
7582
+ };
7583
+ type NotificationRecipientPatchLiveEvent = {
7584
+ type: "notification.recipient.patch";
7585
+ workspaceId: string;
7586
+ recipientId: string;
7587
+ recipientActorId: string;
7588
+ patch: LiveNotificationRecipientPatch;
7589
+ version: number;
7590
+ updatedAt: string;
7591
+ };
7592
+ type NotificationCountPatchLiveEvent = {
7593
+ type: "notification.count.patch";
7594
+ workspaceId: string;
7595
+ targetActorId: string;
7596
+ unread: number;
7597
+ pendingWork: number;
7598
+ version: number;
7599
+ updatedAt: string;
7600
+ };
7576
7601
  type ConversationRenamedLiveEvent = {
7577
7602
  type: "conversation.renamed";
7578
7603
  workspaceId: string;
@@ -7586,7 +7611,7 @@ type ChannelRevokedLiveEvent = {
7586
7611
  channel: string;
7587
7612
  reason: "permission-revoked" | "workspace-left" | "object-deleted";
7588
7613
  };
7589
- type LiveEventPayload = RecordPatchLiveEvent | RecordDeletedLiveEvent | ViewProjectionStaleLiveEvent | AgentSessionPatchLiveEvent | AgentUnreadPatchLiveEvent | ConversationRenamedLiveEvent | ChannelRevokedLiveEvent;
7614
+ type LiveEventPayload = RecordPatchLiveEvent | RecordDeletedLiveEvent | ViewProjectionStaleLiveEvent | AgentSessionPatchLiveEvent | AgentUnreadPatchLiveEvent | NotificationCreatedLiveEvent | NotificationRecipientPatchLiveEvent | NotificationCountPatchLiveEvent | ConversationRenamedLiveEvent | ChannelRevokedLiveEvent;
7590
7615
  type LiveEventType = LiveEventPayload["type"];
7591
7616
  declare const LIVE_EVENT_TYPES: readonly LiveEventType[];
7592
7617
  declare function isLiveEventType(value: unknown): value is LiveEventType;
@@ -7659,4 +7684,4 @@ interface QualifiedRuleValidationContext {
7659
7684
  }
7660
7685
  declare function validateQualifiedRule(rule: FilterRule, context: QualifiedRuleValidationContext): void;
7661
7686
 
7662
- 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, type AccessAction, type AccessActionList, AccessDeniedError, type AccessLevel, type AccessPolicy, type AccessPolicyPreset, type AccessResourceType, 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 AgentExecutionPolicy, 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, BEHAVIOR_PROPERTIES, BilateralConfig, type BoundingBox, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type CompileComputedFormulaInput, CompletionStatus, type ComputedCompileAttribute, type ComputedCompileObject, type ComputedCompileSchema, ComputedDependency, type ComputedDependencyGraphNode, type ComputedFormulaAstNode, type ComputedFormulaBinaryNode, type ComputedFormulaBinaryOperator, type ComputedFormulaCallNode, ComputedFormulaCompileError, type ComputedFormulaLiteralNode, ComputedFormulaParseError, type ComputedFormulaPathNode, type ComputedFormulaResult, type ComputedFunctionCategory, type ComputedFunctionMetadata, type ComputedFunctionName, type ComputedFunctionSignature, ComputedOptionsSource, ComputedPlan, ComputedReturnType, ComputedValueType, ConcurrentModificationError, type ConfigOverrides, 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 CreateObjectRecord, type CreatePermissionInput, type CreateRoleInput, type CreateSandboxExecution, 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, EMPTY_VALUE_PLACEHOLDER, type Eager, type EffectivePermissions, 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 FileVisibility, 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 GrantResourceAccessInput, 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 LiveReplayCompletePayload, type LiveSubscribePayload, type LiveUnsubscribePayload, Location, LocationAttribute, LocationGranularity, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, MigrationTimeoutError, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NO_VALUE_OPERATORS, type NoValueOperator, NoopGeocodingAdapter, NotFoundError, NotImplementedError, 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, type PrincipalType, 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 ResolvedFlag, type ResourceAccess, type ResourceRef, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, type RichtextTab, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, type SandboxExecution, type SandboxExecutionInput, type SandboxExecutionResult, type SandboxExecutionStatus, type SandboxMode, type SandboxTrigger, SchemaError, SchemaErrorCode, SchemaOperation, type SearchOptions, SelectAttribute, type SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, type SortDirection, type SortRule, type SpecificAccessAction, type StandardSchemaIssue, type StandardSchemaResult, type StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, type StreamEventCompactionEnd, type StreamEventCompactionFailed, type StreamEventCompactionStart, type StreamEventMessagePersisted, 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, TextAttribute, type TextPartData, type ThinkingPartData, Timestamps, type ToolPartData, 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 UpsertAccessPolicyInput, 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, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, 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, number, numberFlag, object, parseComputedFormula, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
7687
+ 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, 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, BEHAVIOR_PROPERTIES, BilateralConfig, type BoundingBox, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, 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 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, EMPTY_VALUE_PLACEHOLDER, type Eager, type EffectivePermissions, 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, 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 ResolvedFlag, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, type RichtextTab, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_ATTRIBUTE_I18N_KEYS, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, SchemaError, SchemaErrorCode, SchemaOperation, type SearchOptions, SelectAttribute, type SidePanelConfig, type SidebarExtraItem, SingleRelationAttribute, type SlotMode, type SortDirection, type SortRule, type StandardSchemaIssue, type StandardSchemaResult, type StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, type StreamEventCompactionEnd, type StreamEventCompactionFailed, type StreamEventCompactionStart, type StreamEventMessagePersisted, 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 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, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, 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, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };