@stndrds/schema 1.0.0-alpha.209 → 1.0.0-alpha.211
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{attributes-BEc_7_q_.d.ts → attributes-CwDiLLzP.d.ts} +23 -1
- package/dist/{attributes-DoQp0NSn.d.mts → attributes-DNlA-yww.d.mts} +23 -1
- package/dist/{chunk-QEZUDVTN.mjs → chunk-CI6EGLL6.mjs} +1 -1
- package/dist/{chunk-BV3IUMMW.js → chunk-EEH4XQ7W.js} +2 -2
- package/dist/{chunk-XZ5RG2OG.mjs → chunk-GO6LQADH.mjs} +2 -2
- package/dist/{chunk-PLUTE7FU.js → chunk-IH37K3BX.js} +8 -7
- package/dist/{chunk-T6L2MUG2.js → chunk-KNGWHQLR.js} +1 -1
- package/dist/{chunk-ZDMOXF3U.mjs → chunk-LV3FEUKU.mjs} +1 -1
- package/dist/{chunk-ROLWVTU3.js → chunk-Q5DIOYUE.js} +1 -1
- package/dist/{chunk-NWB6IKLM.mjs → chunk-UXWFFBQO.mjs} +5 -4
- package/dist/{helpers-DdsQA9U2.d.mts → helpers-CyYKowT9.d.mts} +2 -2
- package/dist/{helpers-B-hjtjTM.d.ts → helpers-DQ22uMWd.d.ts} +2 -2
- package/dist/index.d.mts +55 -7
- package/dist/index.d.ts +55 -7
- package/dist/index.js +104 -67
- package/dist/index.mjs +42 -6
- package/dist/{types-BW1U6xfV.d.ts → types-Bi3ZZIZJ.d.ts} +1 -1
- package/dist/{types-CnSQ9gCC.d.mts → types-BlVvybnQ.d.mts} +1 -1
- package/dist/validation/all.d.mts +3 -3
- package/dist/validation/all.d.ts +3 -3
- package/dist/validation/all.js +11 -11
- package/dist/validation/all.mjs +4 -4
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/file.d.mts +2 -2
- package/dist/validation/complex/file.d.ts +2 -2
- package/dist/validation/complex/file.js +2 -2
- package/dist/validation/complex/file.mjs +1 -1
- package/dist/validation/complex/location.d.mts +2 -2
- package/dist/validation/complex/location.d.ts +2 -2
- package/dist/validation/complex/phone.d.mts +2 -2
- package/dist/validation/complex/phone.d.ts +2 -2
- package/dist/validation/complex/relation.d.mts +2 -2
- package/dist/validation/complex/relation.d.ts +2 -2
- package/dist/validation/complex/relation.js +4 -4
- package/dist/validation/complex/relation.mjs +1 -1
- package/dist/validation/complex/richtext.d.mts +2 -2
- package/dist/validation/complex/richtext.d.ts +2 -2
- package/dist/validation/complex/select.d.mts +2 -2
- package/dist/validation/complex/select.d.ts +2 -2
- package/dist/validation/complex/user.d.mts +2 -2
- package/dist/validation/complex/user.d.ts +2 -2
- package/dist/validation/complex/user.js +2 -2
- package/dist/validation/complex/user.mjs +1 -1
- package/dist/validation/computed/formula.d.mts +2 -2
- package/dist/validation/computed/formula.d.ts +2 -2
- package/dist/validation/computed/rollup.d.mts +2 -2
- package/dist/validation/computed/rollup.d.ts +2 -2
- package/dist/validation/config/index.d.mts +1 -1
- package/dist/validation/config/index.d.ts +1 -1
- package/dist/validation/core/index.d.mts +3 -3
- package/dist/validation/core/index.d.ts +3 -3
- package/dist/validation/object/index.d.mts +3 -3
- package/dist/validation/object/index.d.ts +3 -3
- package/dist/validation/object/index.js +17 -17
- package/dist/validation/object/index.mjs +4 -4
- package/dist/validation/primitives/checkbox.d.mts +2 -2
- package/dist/validation/primitives/checkbox.d.ts +2 -2
- package/dist/validation/primitives/date.d.mts +2 -2
- package/dist/validation/primitives/date.d.ts +2 -2
- package/dist/validation/primitives/number.d.mts +2 -2
- package/dist/validation/primitives/number.d.ts +2 -2
- package/dist/validation/primitives/text.d.mts +2 -2
- package/dist/validation/primitives/text.d.ts +2 -2
- package/package.json +2 -2
|
@@ -80,6 +80,26 @@ interface ComputedPlan {
|
|
|
80
80
|
ast?: ComputedFormulaAstNode;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
/**
|
|
84
|
+
* Configuration for AI autofill on an attribute or qualified property.
|
|
85
|
+
*/
|
|
86
|
+
interface AutofillConfig {
|
|
87
|
+
/**
|
|
88
|
+
* Source attribute names (same object) whose changes can trigger a
|
|
89
|
+
* contextual fill of this field. Empty array = document-only: the field
|
|
90
|
+
* is filled exclusively from attached document OCR content.
|
|
91
|
+
*/
|
|
92
|
+
from: string[];
|
|
93
|
+
/** Optional hint injected verbatim into the generation prompt for this field. */
|
|
94
|
+
instructions?: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Attribute types eligible for autofill.
|
|
98
|
+
* `location` is deferred: its value shape is too complex for v1 extraction.
|
|
99
|
+
*/
|
|
100
|
+
declare const AUTOFILL_ELIGIBLE_TYPES: readonly ["text", "number", "checkbox", "date", "phone", "currency", "status", "select", "multiselect"];
|
|
101
|
+
type AutofillEligibleType = (typeof AUTOFILL_ELIGIBLE_TYPES)[number];
|
|
102
|
+
|
|
83
103
|
interface DocumentLayout {
|
|
84
104
|
/** Named sub-folders auto-created at the top of the record's drive when first used via attach --variant. */
|
|
85
105
|
variants?: Record<string, DocumentLayoutVariant>;
|
|
@@ -531,6 +551,8 @@ interface BaseAttribute<DefaultValueType = unknown> {
|
|
|
531
551
|
system?: boolean;
|
|
532
552
|
unique?: boolean;
|
|
533
553
|
metadata?: Record<string, unknown>;
|
|
554
|
+
/** AI autofill configuration. Absent = field is never autofilled. */
|
|
555
|
+
autofill?: AutofillConfig;
|
|
534
556
|
}
|
|
535
557
|
interface TextAttribute extends BaseAttribute<string> {
|
|
536
558
|
type: "text";
|
|
@@ -911,4 +933,4 @@ declare function isAttributeSortable(attr: {
|
|
|
911
933
|
type: AttributeType;
|
|
912
934
|
}): boolean;
|
|
913
935
|
|
|
914
|
-
export { type
|
|
936
|
+
export { type ComputedFormulaBinaryNode as $, type Attribute as A, type Option as B, type CurrencyAttribute as C, type DateAttribute as D, type FormulaReturnType as E, type FileAttribute as F, type BilateralConfig as G, type RelationTarget as H, type RollupFunction as I, type UserReferenceType as J, type MigrationDefinition as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type ObjectDefinition as O, type PhoneAttribute as P, AUTOFILL_ELIGIBLE_TYPES as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, type AttributeGroup as V, type AutofillEligibleType as W, type BaseAttribute as X, type BuiltInTransform as Y, type ComputedAttributeState as Z, type ComputedFieldKind as _, type RichtextAttribute as a, type ComputedFormulaBinaryOperator as a0, type ComputedFormulaCallNode as a1, type ComputedFormulaLiteralNode as a2, ComputedFormulaParseError as a3, type ComputedFormulaPathNode as a4, type ComputedStateStatus as a5, type CreateDocument as a6, type CreateDocumentLink as a7, type CreateDocumentSlot as a8, DEFAULT_DOCUMENT_SLOT as a9, type SystemFieldName as aA, type UpdateDocument as aB, type UpdateDocumentSlot as aC, hasOptions as aD, inferInverseCardinality as aE, isAttributeSortable as aF, isBilateralRelation as aG, isUniversalRelation as aH, parseComputedFormula as aI, type DateFormat as aa, type DateValue as ab, type Document as ac, type DocumentKind as ad, type DocumentLayoutVariant as ae, type DocumentListOptions as af, type DocumentSlot as ag, type DocumentWithSlots as ah, type DocumentWithSubCount as ai, type FolderPreset as aj, MAX_PRESET_DEPTH as ak, type NumberUnit as al, type ObjectAttribute as am, type ObjectRecord as an, type OptionPropertyAttribute as ao, type PresetNode as ap, type PropertyAttribute as aq, type PropertyType as ar, RELATION_TARGET_ANY as as, RESERVED_ATTRIBUTE_NAMES as at, type RecordDocuments as au, type ReservedAttributeName as av, type RichTextAttribute as aw, SYSTEM_FIELD_NAMES as ax, type SlotStatus as ay, type StatusGroup as az, type MultiselectAttribute as b, type SelectAttribute as c, type StatusAttribute as d, type FormulaAttribute as e, type RollupAttribute as f, type CheckboxAttribute as g, type CompletionStatus as h, type ComputedValueType as i, type ComputedReturnType as j, type AttributeType as k, type ComputedOptionsSource as l, type ComputedDependency as m, type ComputedPlan as n, type ComputedFormulaAstNode as o, type DocumentLayout as p, type Timestamps as q, type SchemaOperation as r, type LocationGranularity as s, type Location as t, type DocumentAttribute as u, type Phone as v, type Currency as w, type DocumentSlotConfig as x, type PropertySchema as y, type AutofillConfig as z };
|
|
@@ -80,6 +80,26 @@ interface ComputedPlan {
|
|
|
80
80
|
ast?: ComputedFormulaAstNode;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
/**
|
|
84
|
+
* Configuration for AI autofill on an attribute or qualified property.
|
|
85
|
+
*/
|
|
86
|
+
interface AutofillConfig {
|
|
87
|
+
/**
|
|
88
|
+
* Source attribute names (same object) whose changes can trigger a
|
|
89
|
+
* contextual fill of this field. Empty array = document-only: the field
|
|
90
|
+
* is filled exclusively from attached document OCR content.
|
|
91
|
+
*/
|
|
92
|
+
from: string[];
|
|
93
|
+
/** Optional hint injected verbatim into the generation prompt for this field. */
|
|
94
|
+
instructions?: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Attribute types eligible for autofill.
|
|
98
|
+
* `location` is deferred: its value shape is too complex for v1 extraction.
|
|
99
|
+
*/
|
|
100
|
+
declare const AUTOFILL_ELIGIBLE_TYPES: readonly ["text", "number", "checkbox", "date", "phone", "currency", "status", "select", "multiselect"];
|
|
101
|
+
type AutofillEligibleType = (typeof AUTOFILL_ELIGIBLE_TYPES)[number];
|
|
102
|
+
|
|
83
103
|
interface DocumentLayout {
|
|
84
104
|
/** Named sub-folders auto-created at the top of the record's drive when first used via attach --variant. */
|
|
85
105
|
variants?: Record<string, DocumentLayoutVariant>;
|
|
@@ -531,6 +551,8 @@ interface BaseAttribute<DefaultValueType = unknown> {
|
|
|
531
551
|
system?: boolean;
|
|
532
552
|
unique?: boolean;
|
|
533
553
|
metadata?: Record<string, unknown>;
|
|
554
|
+
/** AI autofill configuration. Absent = field is never autofilled. */
|
|
555
|
+
autofill?: AutofillConfig;
|
|
534
556
|
}
|
|
535
557
|
interface TextAttribute extends BaseAttribute<string> {
|
|
536
558
|
type: "text";
|
|
@@ -911,4 +933,4 @@ declare function isAttributeSortable(attr: {
|
|
|
911
933
|
type: AttributeType;
|
|
912
934
|
}): boolean;
|
|
913
935
|
|
|
914
|
-
export { type
|
|
936
|
+
export { type ComputedFormulaBinaryNode as $, type Attribute as A, type Option as B, type CurrencyAttribute as C, type DateAttribute as D, type FormulaReturnType as E, type FileAttribute as F, type BilateralConfig as G, type RelationTarget as H, type RollupFunction as I, type UserReferenceType as J, type MigrationDefinition as K, type LocationAttribute as L, type MultiRelationAttribute as M, type NumberAttribute as N, type ObjectDefinition as O, type PhoneAttribute as P, AUTOFILL_ELIGIBLE_TYPES as Q, type RelationAttribute as R, type SingleRelationAttribute as S, type TextAttribute as T, type UserAttribute as U, type AttributeGroup as V, type AutofillEligibleType as W, type BaseAttribute as X, type BuiltInTransform as Y, type ComputedAttributeState as Z, type ComputedFieldKind as _, type RichtextAttribute as a, type ComputedFormulaBinaryOperator as a0, type ComputedFormulaCallNode as a1, type ComputedFormulaLiteralNode as a2, ComputedFormulaParseError as a3, type ComputedFormulaPathNode as a4, type ComputedStateStatus as a5, type CreateDocument as a6, type CreateDocumentLink as a7, type CreateDocumentSlot as a8, DEFAULT_DOCUMENT_SLOT as a9, type SystemFieldName as aA, type UpdateDocument as aB, type UpdateDocumentSlot as aC, hasOptions as aD, inferInverseCardinality as aE, isAttributeSortable as aF, isBilateralRelation as aG, isUniversalRelation as aH, parseComputedFormula as aI, type DateFormat as aa, type DateValue as ab, type Document as ac, type DocumentKind as ad, type DocumentLayoutVariant as ae, type DocumentListOptions as af, type DocumentSlot as ag, type DocumentWithSlots as ah, type DocumentWithSubCount as ai, type FolderPreset as aj, MAX_PRESET_DEPTH as ak, type NumberUnit as al, type ObjectAttribute as am, type ObjectRecord as an, type OptionPropertyAttribute as ao, type PresetNode as ap, type PropertyAttribute as aq, type PropertyType as ar, RELATION_TARGET_ANY as as, RESERVED_ATTRIBUTE_NAMES as at, type RecordDocuments as au, type ReservedAttributeName as av, type RichTextAttribute as aw, SYSTEM_FIELD_NAMES as ax, type SlotStatus as ay, type StatusGroup as az, type MultiselectAttribute as b, type SelectAttribute as c, type StatusAttribute as d, type FormulaAttribute as e, type RollupAttribute as f, type CheckboxAttribute as g, type CompletionStatus as h, type ComputedValueType as i, type ComputedReturnType as j, type AttributeType as k, type ComputedOptionsSource as l, type ComputedDependency as m, type ComputedPlan as n, type ComputedFormulaAstNode as o, type DocumentLayout as p, type Timestamps as q, type SchemaOperation as r, type LocationGranularity as s, type Location as t, type DocumentAttribute as u, type Phone as v, type Currency as w, type DocumentSlotConfig as x, type PropertySchema as y, type AutofillConfig as z };
|
|
@@ -2,7 +2,7 @@ import { DEFAULT_VALIDATION_MESSAGES } from './chunk-HRQEZUAA.mjs';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
function createFileValidator(attr, messages = DEFAULT_VALIDATION_MESSAGES) {
|
|
5
|
-
const uuidSchema = z.
|
|
5
|
+
const uuidSchema = z.guid({
|
|
6
6
|
message: messages.invalidId(attr)
|
|
7
7
|
});
|
|
8
8
|
if (attr.multiple) {
|
|
@@ -10,7 +10,7 @@ function extractRelationId(item) {
|
|
|
10
10
|
return item;
|
|
11
11
|
}
|
|
12
12
|
function createSingleRelationValidator(attr, messages = chunkYKWSHBT5_js.DEFAULT_VALIDATION_MESSAGES) {
|
|
13
|
-
const uuidSchema = zod.z.
|
|
13
|
+
const uuidSchema = zod.z.guid({
|
|
14
14
|
message: messages.invalidId(attr)
|
|
15
15
|
});
|
|
16
16
|
const nullableUuidSchema = zod.z.union([uuidSchema, zod.z.null()]);
|
|
@@ -24,7 +24,7 @@ function createSingleRelationValidator(attr, messages = chunkYKWSHBT5_js.DEFAULT
|
|
|
24
24
|
]);
|
|
25
25
|
}
|
|
26
26
|
function createMultiRelationValidator(attr, messages = chunkYKWSHBT5_js.DEFAULT_VALIDATION_MESSAGES) {
|
|
27
|
-
const uuidSchema = zod.z.
|
|
27
|
+
const uuidSchema = zod.z.guid({
|
|
28
28
|
message: messages.invalidId(attr)
|
|
29
29
|
});
|
|
30
30
|
const itemSchema = zod.z.union([
|
|
@@ -8,7 +8,7 @@ function extractRelationId(item) {
|
|
|
8
8
|
return item;
|
|
9
9
|
}
|
|
10
10
|
function createSingleRelationValidator(attr, messages = DEFAULT_VALIDATION_MESSAGES) {
|
|
11
|
-
const uuidSchema = z.
|
|
11
|
+
const uuidSchema = z.guid({
|
|
12
12
|
message: messages.invalidId(attr)
|
|
13
13
|
});
|
|
14
14
|
const nullableUuidSchema = z.union([uuidSchema, z.null()]);
|
|
@@ -22,7 +22,7 @@ function createSingleRelationValidator(attr, messages = DEFAULT_VALIDATION_MESSA
|
|
|
22
22
|
]);
|
|
23
23
|
}
|
|
24
24
|
function createMultiRelationValidator(attr, messages = DEFAULT_VALIDATION_MESSAGES) {
|
|
25
|
-
const uuidSchema = z.
|
|
25
|
+
const uuidSchema = z.guid({
|
|
26
26
|
message: messages.invalidId(attr)
|
|
27
27
|
});
|
|
28
28
|
const itemSchema = z.union([
|
|
@@ -6,14 +6,14 @@ var chunkYIP5FJ5H_js = require('./chunk-YIP5FJ5H.js');
|
|
|
6
6
|
var chunkSGSGREPG_js = require('./chunk-SGSGREPG.js');
|
|
7
7
|
var chunkEW5XR2X3_js = require('./chunk-EW5XR2X3.js');
|
|
8
8
|
var chunkQWKLQRBX_js = require('./chunk-QWKLQRBX.js');
|
|
9
|
-
var
|
|
9
|
+
var chunkKNGWHQLR_js = require('./chunk-KNGWHQLR.js');
|
|
10
10
|
var chunkHTSTPTNZ_js = require('./chunk-HTSTPTNZ.js');
|
|
11
11
|
var chunkV2UA2D4E_js = require('./chunk-V2UA2D4E.js');
|
|
12
12
|
var chunkACKMC6FL_js = require('./chunk-ACKMC6FL.js');
|
|
13
|
-
var
|
|
13
|
+
var chunkQ5DIOYUE_js = require('./chunk-Q5DIOYUE.js');
|
|
14
14
|
var chunkE6JUYGJX_js = require('./chunk-E6JUYGJX.js');
|
|
15
15
|
var chunkEBGRZUIH_js = require('./chunk-EBGRZUIH.js');
|
|
16
|
-
var
|
|
16
|
+
var chunkEEH4XQ7W_js = require('./chunk-EEH4XQ7W.js');
|
|
17
17
|
var chunkYKWSHBT5_js = require('./chunk-YKWSHBT5.js');
|
|
18
18
|
var zod = require('zod');
|
|
19
19
|
|
|
@@ -58,11 +58,11 @@ function createAttributeValidator(attr, messages = chunkYKWSHBT5_js.DEFAULT_VALI
|
|
|
58
58
|
case "multiselect":
|
|
59
59
|
return chunkQWKLQRBX_js.createMultiselectValidator(attr, messages);
|
|
60
60
|
case "file":
|
|
61
|
-
return
|
|
61
|
+
return chunkQ5DIOYUE_js.createFileValidator(attr, messages);
|
|
62
62
|
case "user":
|
|
63
|
-
return
|
|
63
|
+
return chunkKNGWHQLR_js.createUserValidator(attr, messages);
|
|
64
64
|
case "relation":
|
|
65
|
-
return
|
|
65
|
+
return chunkEEH4XQ7W_js.createRelationValidator(attr, messages);
|
|
66
66
|
case "formula":
|
|
67
67
|
return chunkHTSTPTNZ_js.createFormulaValidator(attr, messages);
|
|
68
68
|
case "rollup":
|
|
@@ -202,7 +202,8 @@ var SchemaErrorCode = {
|
|
|
202
202
|
DOCUMENT_MULTIPLE_NOT_ALLOWED: "DOCUMENT_MULTIPLE_NOT_ALLOWED",
|
|
203
203
|
DOCUMENT_NOT_FOUND_FOR_OPERATION: "DOCUMENT_NOT_FOUND_FOR_OPERATION",
|
|
204
204
|
DOCUMENT_STORAGE_FAILED: "DOCUMENT_STORAGE_FAILED",
|
|
205
|
-
DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED"
|
|
205
|
+
DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED",
|
|
206
|
+
DOCUMENT_OCR_FAILED: "DOCUMENT_OCR_FAILED"
|
|
206
207
|
};
|
|
207
208
|
var SchemaError = class extends Error {
|
|
208
209
|
constructor(message, code = SchemaErrorCode.UNKNOWN, details) {
|
|
@@ -4,7 +4,7 @@ var chunkYKWSHBT5_js = require('./chunk-YKWSHBT5.js');
|
|
|
4
4
|
var zod = require('zod');
|
|
5
5
|
|
|
6
6
|
function createUserValidator(attr, messages = chunkYKWSHBT5_js.DEFAULT_VALIDATION_MESSAGES) {
|
|
7
|
-
const uuidSchema = zod.z.
|
|
7
|
+
const uuidSchema = zod.z.guid({
|
|
8
8
|
message: messages.invalidId(attr)
|
|
9
9
|
});
|
|
10
10
|
if (attr.multiple) {
|
|
@@ -2,7 +2,7 @@ import { DEFAULT_VALIDATION_MESSAGES } from './chunk-HRQEZUAA.mjs';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
function createUserValidator(attr, messages = DEFAULT_VALIDATION_MESSAGES) {
|
|
5
|
-
const uuidSchema = z.
|
|
5
|
+
const uuidSchema = z.guid({
|
|
6
6
|
message: messages.invalidId(attr)
|
|
7
7
|
});
|
|
8
8
|
if (attr.multiple) {
|
|
@@ -4,7 +4,7 @@ var chunkYKWSHBT5_js = require('./chunk-YKWSHBT5.js');
|
|
|
4
4
|
var zod = require('zod');
|
|
5
5
|
|
|
6
6
|
function createFileValidator(attr, messages = chunkYKWSHBT5_js.DEFAULT_VALIDATION_MESSAGES) {
|
|
7
|
-
const uuidSchema = zod.z.
|
|
7
|
+
const uuidSchema = zod.z.guid({
|
|
8
8
|
message: messages.invalidId(attr)
|
|
9
9
|
});
|
|
10
10
|
if (attr.multiple) {
|
|
@@ -4,14 +4,14 @@ import { createNumberValidator } from './chunk-UANQJ2GH.mjs';
|
|
|
4
4
|
import { createTextValidator } from './chunk-NOMHDOVE.mjs';
|
|
5
5
|
import { createRichtextValidator } from './chunk-QVLQPW3O.mjs';
|
|
6
6
|
import { createMultiselectValidator, createSelectValidator, createStatusValidator } from './chunk-ZDQ5AP26.mjs';
|
|
7
|
-
import { createUserValidator } from './chunk-
|
|
7
|
+
import { createUserValidator } from './chunk-LV3FEUKU.mjs';
|
|
8
8
|
import { createFormulaValidator } from './chunk-UXAHLSWC.mjs';
|
|
9
9
|
import { createRollupValidator } from './chunk-NS63SPNN.mjs';
|
|
10
10
|
import { createCurrencyValidator } from './chunk-AYVHMVKQ.mjs';
|
|
11
|
-
import { createFileValidator } from './chunk-
|
|
11
|
+
import { createFileValidator } from './chunk-CI6EGLL6.mjs';
|
|
12
12
|
import { createLocationValidator } from './chunk-YUFTHPOE.mjs';
|
|
13
13
|
import { createPhoneValidator } from './chunk-JUKLL5RJ.mjs';
|
|
14
|
-
import { createRelationValidator } from './chunk-
|
|
14
|
+
import { createRelationValidator } from './chunk-GO6LQADH.mjs';
|
|
15
15
|
import { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './chunk-HRQEZUAA.mjs';
|
|
16
16
|
import { z } from 'zod';
|
|
17
17
|
|
|
@@ -200,7 +200,8 @@ var SchemaErrorCode = {
|
|
|
200
200
|
DOCUMENT_MULTIPLE_NOT_ALLOWED: "DOCUMENT_MULTIPLE_NOT_ALLOWED",
|
|
201
201
|
DOCUMENT_NOT_FOUND_FOR_OPERATION: "DOCUMENT_NOT_FOUND_FOR_OPERATION",
|
|
202
202
|
DOCUMENT_STORAGE_FAILED: "DOCUMENT_STORAGE_FAILED",
|
|
203
|
-
DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED"
|
|
203
|
+
DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED",
|
|
204
|
+
DOCUMENT_OCR_FAILED: "DOCUMENT_OCR_FAILED"
|
|
204
205
|
};
|
|
205
206
|
var SchemaError = class extends Error {
|
|
206
207
|
constructor(message, code = SchemaErrorCode.UNKNOWN, details) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-
|
|
3
|
-
import { V as ValidationMessages, a as ValidationResult } from './types-
|
|
2
|
+
import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-DNlA-yww.mjs';
|
|
3
|
+
import { V as ValidationMessages, a as ValidationResult } from './types-BlVvybnQ.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Create a Zod schema for any attribute type.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-
|
|
3
|
-
import { V as ValidationMessages, a as ValidationResult } from './types-
|
|
2
|
+
import { A as Attribute, O as ObjectDefinition, h as CompletionStatus } from './attributes-CwDiLLzP.js';
|
|
3
|
+
import { V as ValidationMessages, a as ValidationResult } from './types-Bi3ZZIZJ.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Create a Zod schema for any attribute type.
|
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, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute,
|
|
2
|
-
export {
|
|
1
|
+
import { i as ComputedValueType, j as ComputedReturnType, k as AttributeType, l as ComputedOptionsSource, m as ComputedDependency, n as ComputedPlan, f as RollupAttribute, o as ComputedFormulaAstNode, A as Attribute, p as DocumentLayout, h as CompletionStatus, q as Timestamps, r as SchemaOperation, s as LocationGranularity, t as Location, e as FormulaAttribute, u as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, v as Phone, w as Currency, D as DateAttribute, U as UserAttribute, x as DocumentSlotConfig, y as PropertySchema, z as AutofillConfig, g as CheckboxAttribute, C as CurrencyAttribute, T as TextAttribute, N as NumberAttribute, P as PhoneAttribute, B as Option, L as LocationAttribute, F as FileAttribute, E as FormulaReturnType, R as RelationAttribute, G as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, H as RelationTarget, a as RichtextAttribute, I as RollupFunction, J as UserReferenceType, K as MigrationDefinition, O as ObjectDefinition } from './attributes-DNlA-yww.mjs';
|
|
2
|
+
export { Q as AUTOFILL_ELIGIBLE_TYPES, V as AttributeGroup, W as AutofillEligibleType, X as BaseAttribute, Y as BuiltInTransform, Z as ComputedAttributeState, _ as ComputedFieldKind, $ as ComputedFormulaBinaryNode, a0 as ComputedFormulaBinaryOperator, a1 as ComputedFormulaCallNode, a2 as ComputedFormulaLiteralNode, a3 as ComputedFormulaParseError, a4 as ComputedFormulaPathNode, a5 as ComputedStateStatus, a6 as CreateDocument, a7 as CreateDocumentLink, a8 as CreateDocumentSlot, a9 as DEFAULT_DOCUMENT_SLOT, aa as DateFormat, ab as DateValue, ac as Document, ad as DocumentKind, ae as DocumentLayoutVariant, af as DocumentListOptions, ag as DocumentSlot, ah as DocumentWithSlots, ai as DocumentWithSubCount, aj as FolderPreset, ak as MAX_PRESET_DEPTH, al as NumberUnit, am as ObjectAttribute, an as ObjectRecord, ao as OptionPropertyAttribute, ap as PresetNode, aq as PropertyAttribute, ar as PropertyType, as as RELATION_TARGET_ANY, at as RESERVED_ATTRIBUTE_NAMES, au as RecordDocuments, av as ReservedAttributeName, aw as RichTextAttribute, ax as SYSTEM_FIELD_NAMES, ay as SlotStatus, az as StatusGroup, aA as SystemFieldName, aB as UpdateDocument, aC as UpdateDocumentSlot, aD as hasOptions, aE as inferInverseCardinality, aF as isAttributeSortable, aG as isBilateralRelation, aH as isUniversalRelation, aI as parseComputedFormula } from './attributes-DNlA-yww.mjs';
|
|
3
3
|
import { IconName, MimeType, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
|
|
4
4
|
import { Uuid, TenantId } from './utils.mjs';
|
|
5
5
|
export { UserId, asTenantId, asUserId, deepEqual, generateId, indexBy } from './utils.mjs';
|
|
6
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-
|
|
9
|
+
export { V as ValidationMessages } from './types-BlVvybnQ.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-
|
|
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-CyYKowT9.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];
|
|
@@ -2086,6 +2086,12 @@ interface AgentSession {
|
|
|
2086
2086
|
isUnread?: boolean;
|
|
2087
2087
|
}
|
|
2088
2088
|
type ToolPartState = "streaming" | "running" | "completed" | "error";
|
|
2089
|
+
/**
|
|
2090
|
+
* Structured cause for a tool part that ended in `state: "error"` without the
|
|
2091
|
+
* tool having run. Lets the UI render a localized explanation instead of the
|
|
2092
|
+
* raw error string.
|
|
2093
|
+
*/
|
|
2094
|
+
type ToolPartErrorCode = "output_limit_reached" | "interrupted";
|
|
2089
2095
|
type AgentMessagePart = {
|
|
2090
2096
|
type: "text";
|
|
2091
2097
|
text: string;
|
|
@@ -2099,6 +2105,7 @@ type AgentMessagePart = {
|
|
|
2099
2105
|
args: Record<string, unknown>;
|
|
2100
2106
|
result?: unknown;
|
|
2101
2107
|
error?: string;
|
|
2108
|
+
errorCode?: ToolPartErrorCode;
|
|
2102
2109
|
state: ToolPartState;
|
|
2103
2110
|
durationMs?: number;
|
|
2104
2111
|
} | {
|
|
@@ -2273,6 +2280,7 @@ interface ToolPartData {
|
|
|
2273
2280
|
args?: Record<string, unknown>;
|
|
2274
2281
|
result?: unknown;
|
|
2275
2282
|
error?: string;
|
|
2283
|
+
errorCode?: ToolPartErrorCode;
|
|
2276
2284
|
status: AIToolCallStatus;
|
|
2277
2285
|
/** Raw JSON string accumulating during tool-input streaming (cleared on tool_input_end) */
|
|
2278
2286
|
partialInput?: string;
|
|
@@ -2676,6 +2684,7 @@ declare const SchemaErrorCode: {
|
|
|
2676
2684
|
readonly DOCUMENT_NOT_FOUND_FOR_OPERATION: "DOCUMENT_NOT_FOUND_FOR_OPERATION";
|
|
2677
2685
|
readonly DOCUMENT_STORAGE_FAILED: "DOCUMENT_STORAGE_FAILED";
|
|
2678
2686
|
readonly DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED";
|
|
2687
|
+
readonly DOCUMENT_OCR_FAILED: "DOCUMENT_OCR_FAILED";
|
|
2679
2688
|
};
|
|
2680
2689
|
type SchemaErrorCode = (typeof SchemaErrorCode)[keyof typeof SchemaErrorCode];
|
|
2681
2690
|
/**
|
|
@@ -3958,7 +3967,7 @@ interface InviteUserInput {
|
|
|
3958
3967
|
* Client-safe: no prompts or server logic here.
|
|
3959
3968
|
*/
|
|
3960
3969
|
/** Supported generator types in V1. */
|
|
3961
|
-
type AIGenerationType = "regex" | "formula";
|
|
3970
|
+
type AIGenerationType = "regex" | "formula" | "autofill";
|
|
3962
3971
|
/** Request payload for a regex generation. */
|
|
3963
3972
|
interface RegexGenerationInput {
|
|
3964
3973
|
/** Natural-language description of what to validate. */
|
|
@@ -3981,10 +3990,29 @@ interface FormulaGenerationInput {
|
|
|
3981
3990
|
/** Expected return type of the formula (scalar types only). */
|
|
3982
3991
|
returnType: "text" | "number" | "boolean" | "date";
|
|
3983
3992
|
}
|
|
3993
|
+
/** One field the autofill generator must fill. */
|
|
3994
|
+
interface AutofillTargetSpec {
|
|
3995
|
+
/** Payload key the model must answer under. */
|
|
3996
|
+
key: string;
|
|
3997
|
+
label: string;
|
|
3998
|
+
/** Attribute type, drives the expected value shape. */
|
|
3999
|
+
type: string;
|
|
4000
|
+
/** Allowed values for select/status/multiselect targets. */
|
|
4001
|
+
options?: string[];
|
|
4002
|
+
/** Per-field hint from the schema config. */
|
|
4003
|
+
instructions?: string;
|
|
4004
|
+
}
|
|
4005
|
+
/** Request payload for an autofill generation. */
|
|
4006
|
+
interface AutofillGenerationInput {
|
|
4007
|
+
/** Pre-serialized context: record values + OCR excerpts. */
|
|
4008
|
+
context: string;
|
|
4009
|
+
targets: AutofillTargetSpec[];
|
|
4010
|
+
}
|
|
3984
4011
|
/** Map from generator type to its input payload. */
|
|
3985
4012
|
interface AIGenerationInputMap {
|
|
3986
4013
|
regex: RegexGenerationInput;
|
|
3987
4014
|
formula: FormulaGenerationInput;
|
|
4015
|
+
autofill: AutofillGenerationInput;
|
|
3988
4016
|
}
|
|
3989
4017
|
/** Token usage returned to the caller (mirrors AI SDK usage). */
|
|
3990
4018
|
interface AIGenerationUsage {
|
|
@@ -4070,6 +4098,15 @@ interface StreamEventMessagePersisted {
|
|
|
4070
4098
|
type: "message_persisted";
|
|
4071
4099
|
message: AgentSessionMessage;
|
|
4072
4100
|
}
|
|
4101
|
+
/**
|
|
4102
|
+
* An already-persisted message had its parts updated out-of-band (e.g. a
|
|
4103
|
+
* pending HITL tool part closed when the user replied). Clients replace the
|
|
4104
|
+
* stored message in place without touching streaming state.
|
|
4105
|
+
*/
|
|
4106
|
+
interface StreamEventMessageUpdated {
|
|
4107
|
+
type: "message_updated";
|
|
4108
|
+
message: AgentSessionMessage;
|
|
4109
|
+
}
|
|
4073
4110
|
interface StreamEventCompactionStart {
|
|
4074
4111
|
type: "compaction_start";
|
|
4075
4112
|
reason: "preflight_threshold" | "overflow_recovery";
|
|
@@ -4442,6 +4479,12 @@ declare abstract class BaseAttributeBuilder<TAttr extends Attribute> implements
|
|
|
4442
4479
|
runtime(): this;
|
|
4443
4480
|
hidden(): this;
|
|
4444
4481
|
placeholder(value: string): this;
|
|
4482
|
+
/**
|
|
4483
|
+
* Enable AI autofill for this attribute. `from` is mandatory:
|
|
4484
|
+
* empty array = document-only, non-empty = also triggered when those
|
|
4485
|
+
* source attributes change. Eligibility by type is validated at schema sync.
|
|
4486
|
+
*/
|
|
4487
|
+
autofill(config: AutofillConfig): this;
|
|
4445
4488
|
description(value: string): this;
|
|
4446
4489
|
icon(value: IconName): this;
|
|
4447
4490
|
order(value: number): this;
|
|
@@ -7719,7 +7762,7 @@ declare function validateQualifiedRule(rule: FilterRule, context: QualifiedRuleV
|
|
|
7719
7762
|
|
|
7720
7763
|
/** True when a filter value is a query-time dynamic token. */
|
|
7721
7764
|
declare function isDynamicValue(value: unknown): value is DynamicValue;
|
|
7722
|
-
/** `@me` — resolves to the current actor
|
|
7765
|
+
/** `@me` — resolves to the user id behind the current actor. Use on `user` attributes. */
|
|
7723
7766
|
declare function currentActor(): DynamicValue;
|
|
7724
7767
|
/** `@today` — resolves to today's date (ctx timezone). Use on `date` attributes. */
|
|
7725
7768
|
declare function today(): DynamicValue;
|
|
@@ -7730,6 +7773,11 @@ interface ResolutionContext {
|
|
|
7730
7773
|
tenantId: TenantId;
|
|
7731
7774
|
actorId?: Uuid;
|
|
7732
7775
|
rootActorId?: Uuid;
|
|
7776
|
+
/**
|
|
7777
|
+
* User id behind the current actor (`actor.subjectId` when `actor.type === "user"`).
|
|
7778
|
+
* `@me` resolves to this — user attributes store user ids, not actor ids.
|
|
7779
|
+
*/
|
|
7780
|
+
userId?: Uuid;
|
|
7733
7781
|
now: Date;
|
|
7734
7782
|
/** IANA timezone used to resolve `@today`. Defaults to "UTC" when unknown. */
|
|
7735
7783
|
timezone: string;
|
|
@@ -7743,4 +7791,4 @@ interface DynamicValueResolver<K extends DynamicValue["dynamic"]> {
|
|
|
7743
7791
|
}>, ctx: ResolutionContext): FilterValue | undefined;
|
|
7744
7792
|
}
|
|
7745
7793
|
|
|
7746
|
-
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, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, 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 ResolutionContext, 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, currentActor, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
|
|
7794
|
+
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, AutofillConfig, type AutofillGenerationInput, type AutofillTargetSpec, BEHAVIOR_PROPERTIES, BilateralConfig, type BoundingBox, type BuilderConfig, COMPUTED_FUNCTIONS, COMPUTED_FUNCTION_METADATA, COMPUTED_FUNCTION_NAMES, ChangeTypeNotSupportedError, type ChannelRevokedLiveEvent, CheckboxAttribute, type 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, type DynamicValue, type DynamicValueResolver, EMPTY_VALUE_PLACEHOLDER, type Eager, type EdgeQuantifier, 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 ResolutionContext, 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, type StreamEventMessageUpdated, SyncCascadeError, SyncConflictError, SyncError, type SystemAttribute, type SystemAttributeI18nKey, SystemEntityImmutableError, type SystemFields, type SystemPermissions, type SystemResource, type Tab, TabBuilder, type TabType, type TableSource, type TableTab, TableTabConfig, TenantId, type TenantSettings, TextAttribute, type TextPartData, type ThinkingPartData, Timestamps, type ToolPartData, type ToolPartErrorCode, type ToolPartState, type TriggerEventType, USER_STATUSES, type UpdateActorInput, type UpdateDBAttribute, type UpdateDBForm, type UpdateDBFormSubmission, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateFile, type UpdateObjectInput, type UpdateRoleInput, type UpdateUserProfile, type UpdateViewInput, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserProfile, UserReferenceType, type UserRoleAssignment, type UserStatus, Uuid, ValidationError, type ValidationErrorDetail, type ViewConfig, type ViewDefinition, type ViewOverlay, type ViewProjectionStaleLiveEvent, type ViewType, type WithCustomAttributes$1 as WithCustomAttributes, accessLevelToActions, actionsToAccessLevel, applyPipes, assertAcyclicComputedDependencies, assertLiveStreamCursor, booleanFlag, buildPropertySchema, buildQualifiedAttribute, checkbox, compareLiveStreamCursors, compileComputedFormula, compileRollupAttribute, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, currentActor, date, detailView, document, evaluateComputedAst, evaluateComputedFormula, evaluateComputedFormulaWithResult, evaluateFilterState, extractAttributeNames, file, flagRegistry, form, formRegistry, formatAttributeValue, formatComputedResult, formatLocationValue, formula, generateDefaultDetailView, generateDefaultListView, getActiveTab, getAttributeCapabilities, getAttributeFilterOperators, getErrorMessage, getLiveProtocolPayloadChannel, getOperatorPolarity, getRollupFilterOperators, getSystemAttributeI18nKey, getSystemAttributeList, group, inferRollupReturnType, isAttributeFilterable, isAttributeGroupable, isAttributeInUseError, isAttributeKanbanGroupable, isAttributeSearchable, isComputedFunctionName, isDefaultRole, isDetailView, isDocumentAttribute, isDynamicValue, isEmptyObject, isFieldGroup, isFormDefinition, isFormFieldsRow, isFormFreeFieldRef, isFormHeadingRow, isFormSeparatorRow, isFormSlotFieldRef, isFormTextRow, isLabelExpression, isListView, isLiveErrorPayload, isLiveEventEnvelope, isLiveEventPayload, isLiveEventPayloadForType, isLiveEventType, isLiveGapPayload, isLiveReplayCompletePayload, isLiveStreamCursor, isNoValueOperator, isNotEmpty, isNotFoundError, isObjectReferencedError, isPlainRecord, isProtectedResourceError, isRecordReferencedError, isRelationGroup, isSchemaError, isStandardSchema, isValidationError, jsonFlag, listView, liveChannelKey, location, matchesMime, multiselect, normaliseDocumentSlots, normalizeForEdgeRpc, now, number, numberFlag, object, parseLiveChannelKey, parseLiveSubscribePayload, parseLiveUnsubscribePayload, parseQualifiedAttribute, phone, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, rollupToFormulaExpression, select, status, stringFlag, text, toUndefinedIfEmpty, today, user, validateAttributeName, validateQualifiedRule, validateSlotAgainstConfig, viewRegistry };
|