@stndrds/schema 1.0.0-alpha.96 → 1.0.0-alpha.97
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-Btn-GLvC.d.ts → attributes-C-bhC0k5.d.ts} +5 -6
- package/dist/{attributes-CeDp1IMp.d.mts → attributes-DB76JqXm.d.mts} +5 -6
- package/dist/{index-telccAkt.d.ts → index-Bt-0XNSh.d.ts} +5 -143
- package/dist/{index-CvXnHxD2.d.mts → index-C9tOwUbK.d.mts} +5 -143
- package/dist/index.d.mts +147 -676
- package/dist/index.d.ts +147 -676
- package/dist/index.js +4 -281
- package/dist/index.mjs +5 -273
- package/dist/{types-B5Zhhoev.d.ts → types-B7nS2D1A.d.ts} +1 -1
- package/dist/{types-C6naks1H.d.mts → types-CjXbGsy8.d.mts} +1 -1
- package/dist/validation/all.d.mts +3 -3
- package/dist/validation/all.d.ts +3 -3
- 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/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/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/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/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/rating.d.mts +2 -2
- package/dist/validation/primitives/rating.d.ts +2 -2
- package/dist/validation/primitives/text.d.mts +2 -2
- package/dist/validation/primitives/text.d.ts +2 -2
- package/dist/validation/validators.d.mts +3 -3
- package/dist/validation/validators.d.ts +3 -3
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { S as SortRule, F as FilterState, W as WorkflowNode, l as FormNode, m as WorkflowNodeType, T as Timestamps, R as RelationFieldConfig, n as FlowHeadingRow, o as FlowSeparatorRow, p as FlowTextRow, q as FlowRelationListRow, r as WorkflowSlot, s as WorkflowTheme, t as RelationBufferMap, V as ViewType, u as ViewConfig, C as ConfigOverrides, w as WorkflowStatus, x as WorkflowLayout, y as WorkflowConfig, z as WorkflowDefinition, I as InstanceStatus, A as WorkflowExecutionContext, B as WorkflowTransition, P as PendingAction, D as CompletionStatus, O as ObjectRecord, M as MigrationDefinition, E as ObjectDefinition, G as DetailViewConfig, H as DetailViewDefinition, J as DetailViewLayout, K as SidePanelConfig, L as Field, N as AttributeGroupField, Q as FieldGroup, U as RelationGroup, X as Group, Y as TableTab, Z as CreateMode, _ as Tab, $ as ListViewConfig, a0 as ListViewDefinition, a1 as SlotMode, a2 as FlowFieldsRow, a3 as ConditionGroup, a4 as ConditionRule, a5 as ViewDefinition, a6 as ListViewTab } from './index-
|
|
2
|
-
export { a7 as
|
|
3
|
-
import { A as Attribute, j as AttributeType, k as LocationGranularity, l as Location, e as FormulaAttribute, f as RollupAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, m as Phone, n as Currency, D as DateAttribute, U as UserAttribute, o as DocumentAttribute, p as FeatureGate, i as TextAttribute, T as TextAreaAttribute, a as RichtextAttribute, q as RichtextFeature, N as NumberAttribute, g as CheckboxAttribute, P as PhoneAttribute, C as CurrencyAttribute, O as Option, L as LocationAttribute, F as FileAttribute, R as RelationAttribute, h as RatingAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, r as RelationTarget, s as FormulaReturnType, t as RollupFunction, u as FlagValueType, v as FeatureFlagDefinition, w as FlagLevel, x as FeatureFlagsRepository, y as StaticFlagDefault, z as ResolvedFlag } from './attributes-
|
|
4
|
-
export { E as AttributeGroup, G as BaseAttribute, H as DateFormat, I as DateValue, J as FORBIDDEN_PROPERTY_TYPES, K as FeatureFlagsConfig, Q as FlagOverride, V as ForbiddenPropertyType, W as NON_SORTABLE_TYPES, X as NumberUnit, Y as OptionPropertyAttribute, Z as PropertyAttribute, _ as PropertySchema, $ as PropertyType, a0 as RELATION_TARGET_ANY, a1 as StatusGroup, a2 as hasOptions, a3 as inferInverseCardinality, a4 as isAttributeSortable, a5 as isBilateralRelation, a6 as isUniversalRelation } from './attributes-
|
|
1
|
+
import { S as SortRule, F as FilterState, W as WorkflowNode, l as FormNode, m as WorkflowNodeType, T as Timestamps, R as RelationFieldConfig, n as FlowHeadingRow, o as FlowSeparatorRow, p as FlowTextRow, q as FlowRelationListRow, r as WorkflowSlot, s as WorkflowTheme, t as RelationBufferMap, V as ViewType, u as ViewConfig, C as ConfigOverrides, w as WorkflowStatus, x as WorkflowLayout, y as WorkflowConfig, z as WorkflowDefinition, I as InstanceStatus, A as WorkflowExecutionContext, B as WorkflowTransition, P as PendingAction, D as CompletionStatus, O as ObjectRecord, M as MigrationDefinition, E as ObjectDefinition, G as DetailViewConfig, H as DetailViewDefinition, J as DetailViewLayout, K as SidePanelConfig, L as Field, N as AttributeGroupField, Q as FieldGroup, U as RelationGroup, X as Group, Y as TableTab, Z as CreateMode, _ as Tab, $ as ListViewConfig, a0 as ListViewDefinition, a1 as SlotMode, a2 as FlowFieldsRow, a3 as ConditionGroup, a4 as ConditionRule, a5 as ViewDefinition, a6 as ListViewTab } from './index-C9tOwUbK.mjs';
|
|
2
|
+
export { a7 as ActivityTab, a8 as AdvancedFilterState, a9 as BufferedRecord, aa as BuiltInTransform, ab as CalendarViewConfig, ac as CalendarViewDefinition, ad as CanvasViewport, ae as CheckboxFilterOperator, af as ConditionNode, ag as ConditionOperator, ah as CurrencyFilterValue, ai as CustomTab, aj as DEFAULT_RETENTION_POLICY, ak as DEFAULT_THEME, al as DateFilterOperator, am as DisplayRecord, an as DocumentsTab, ao as EndNode, ap as ExtendedFilterRule, aq as FilterCombinator, ar as FilterGroup, as as FilterOperator, at as FilterRule, au as FilterValue, av as FlowDefinition, aw as FlowPage, ax as FlowRelation, ay as FlowRow, az as FlowRowField, aA as FlowRowType, aB as FlowSlot, aC as FlowStatus, aD as FlowsTab, aE as FormDensity, aF as FormFieldRef, aG as FormTab, aH as GalleryViewConfig, aI as GalleryViewDefinition, aJ as GeneratedDocument, aK as InverseSource, aL as ListViewLayout, aM as MigrationError, aN as MigrationPreview, aO as MultiselectFilterOperator, aP as NO_VALUE_OPERATORS, aQ as NoValueOperator, aR as NodePosition, aS as NumberFilterOperator, aT as OPERATORS_BY_TYPE, aU as ObjectAttribute, aV as PhoneFilterValue, aW as QueryState, aX as RESERVED_ATTRIBUTE_NAMES, aY as RecordPatch, aZ as RelationBuffer, a_ as RelationFilterOperator, a$ as RelationQualifierPatch, b0 as RelationSource, b1 as RelativeDateValue, b2 as ReservedAttributeName, b3 as RetentionPolicy, b4 as RichtextTab, b5 as SYSTEM_FIELD_NAMES, b6 as SchemaOperation, b7 as SchemaTransform, b8 as SelectFilterOperator, b9 as SortDirection, ba as StartNode, bb as SystemFieldName, bc as TabType, bd as TableSource, be as TextFilterOperator, bf as ThemeColors, bg as ThemeLogo, bh as ThemeTypography, bi as TimelineViewConfig, bj as TimelineViewDefinition, bk as TransformSource, bl as ViewOperation, bm as ViewOverlay, bn as ViewTransform, bo as WorkflowError, bp as WorkflowInstance, bq as and, br as canResumeInstance, c as computeRecordStatus, a as createAttributeValidator, b as createDraftValidator, bs as createEmptyContext, d as createFormAttributeValidator, e as createObjectValidator, bt as createStartTransition, bu as eq, bv as generateCssVariables, bw as getContextValue, g as getMissingRequiredAttributes, bx as getRollupFilterOperators, by as inValues, bz as isActivityTab, bA as isAdvancedFormNode, bB as isCalendarView, bC as isConditionGroup, bD as isConditionNode, bE as isConditionRule, bF as isCustomTab, bG as isDetailView, bH as isDocumentsTab, bI as isEndNode, bJ as isFieldGroup, bK as isFlowDefinition, bL as isFlowFieldsRow, bM as isFlowPublished, bN as isFlowRelationListRow, bO as isFlowsTab, bP as isFormNode, bQ as isFormTab, bR as isGalleryView, bS as isInstanceTerminal, bT as isInstanceWaiting, bU as isInverseSourceTab, bV as isLayoutRow, bW as isListView, bX as isNoValueOperator, i as isRecordComplete, bY as isRelationGroup, bZ as isRelationSourceTab, b_ as isRichtextTab, b$ as isSimpleFormNode, c0 as isStartNode, c1 as isSystemFlow, c2 as isSystemWorkflow, c3 as isTableTab, c4 as isTimelineView, c5 as isWorkflowDefinition, c6 as isWorkflowPublished, c7 as mergeWithDefaults, c8 as neq, c9 as or, ca as setContextValue, v as validateAttribute, f as validateDraft, h as validateDraftOrThrow, j as validateObject, k as validateObjectOrThrow } from './index-C9tOwUbK.mjs';
|
|
3
|
+
import { A as Attribute, j as AttributeType, k as LocationGranularity, l as Location, e as FormulaAttribute, f as RollupAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, m as Phone, n as Currency, D as DateAttribute, U as UserAttribute, o as DocumentAttribute, p as FeatureGate, i as TextAttribute, T as TextAreaAttribute, a as RichtextAttribute, q as RichtextFeature, N as NumberAttribute, g as CheckboxAttribute, P as PhoneAttribute, C as CurrencyAttribute, O as Option, L as LocationAttribute, F as FileAttribute, R as RelationAttribute, h as RatingAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, r as RelationTarget, s as FormulaReturnType, t as RollupFunction, u as FlagValueType, v as FeatureFlagDefinition, w as FlagLevel, x as FeatureFlagsRepository, y as StaticFlagDefault, z as ResolvedFlag } from './attributes-DB76JqXm.mjs';
|
|
4
|
+
export { E as AttributeGroup, G as BaseAttribute, H as DateFormat, I as DateValue, J as FORBIDDEN_PROPERTY_TYPES, K as FeatureFlagsConfig, Q as FlagOverride, V as ForbiddenPropertyType, W as NON_SORTABLE_TYPES, X as NumberUnit, Y as OptionPropertyAttribute, Z as PropertyAttribute, _ as PropertySchema, $ as PropertyType, a0 as RELATION_TARGET_ANY, a1 as StatusGroup, a2 as hasOptions, a3 as inferInverseCardinality, a4 as isAttributeSortable, a5 as isBilateralRelation, a6 as isUniversalRelation } from './attributes-DB76JqXm.mjs';
|
|
5
5
|
import { MimeType, IconName, CountryIso3, CurrencyCode, ColorId } from '@stndrds/constants';
|
|
6
6
|
import { Uuid, TenantId } from './utils.mjs';
|
|
7
7
|
export { UserId, asTenantId, asUserId, deepEqual, generateId, generatePrefixedId, generateTemplateName, indexBy, slugify } from './utils.mjs';
|
|
8
8
|
import z$1, { z } from 'zod';
|
|
9
9
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
10
10
|
export { StandardSchemaV1 } from '@standard-schema/spec';
|
|
11
|
-
export { V as ValidationMessages, a as ValidationResult } from './types-
|
|
11
|
+
export { V as ValidationMessages, a as ValidationResult } from './types-CjXbGsy8.mjs';
|
|
12
12
|
export { DEFAULT_VALIDATION_MESSAGES, createRegexCache, formatZodErrors, getCachedRegex } from './validation/core/index.mjs';
|
|
13
13
|
export { createTextAreaValidator, createTextValidator } from './validation/primitives/text.mjs';
|
|
14
14
|
export { createNumberValidator } from './validation/primitives/number.mjs';
|
|
@@ -946,85 +946,6 @@ declare const ConditionNodeSchema: z.ZodObject<{
|
|
|
946
946
|
onTrue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
947
947
|
onFalse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
948
948
|
}, z.core.$strip>;
|
|
949
|
-
/**
|
|
950
|
-
* Assignment source schema (discriminated union)
|
|
951
|
-
*/
|
|
952
|
-
declare const AssignmentSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
953
|
-
type: z.ZodLiteral<"expression">;
|
|
954
|
-
template: z.ZodString;
|
|
955
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
956
|
-
type: z.ZodLiteral<"slot-ref">;
|
|
957
|
-
slotId: z.ZodString;
|
|
958
|
-
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
959
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
960
|
-
type: z.ZodLiteral<"static">;
|
|
961
|
-
value: z.ZodUnknown;
|
|
962
|
-
}, z.core.$strip>], "type">;
|
|
963
|
-
/**
|
|
964
|
-
* Assignment mapping schema
|
|
965
|
-
*/
|
|
966
|
-
declare const AssignmentMappingSchema: z.ZodObject<{
|
|
967
|
-
targetAttribute: z.ZodString;
|
|
968
|
-
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
969
|
-
type: z.ZodLiteral<"expression">;
|
|
970
|
-
template: z.ZodString;
|
|
971
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
972
|
-
type: z.ZodLiteral<"slot-ref">;
|
|
973
|
-
slotId: z.ZodString;
|
|
974
|
-
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
975
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
976
|
-
type: z.ZodLiteral<"static">;
|
|
977
|
-
value: z.ZodUnknown;
|
|
978
|
-
}, z.core.$strip>], "type">;
|
|
979
|
-
}, z.core.$strip>;
|
|
980
|
-
/**
|
|
981
|
-
* Assign node schema
|
|
982
|
-
*/
|
|
983
|
-
declare const AssignNodeSchema: z.ZodObject<{
|
|
984
|
-
type: z.ZodLiteral<"assign">;
|
|
985
|
-
id: z.ZodString;
|
|
986
|
-
label: z.ZodString;
|
|
987
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
988
|
-
targetSlotId: z.ZodString;
|
|
989
|
-
assignments: z.ZodArray<z.ZodObject<{
|
|
990
|
-
targetAttribute: z.ZodString;
|
|
991
|
-
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
992
|
-
type: z.ZodLiteral<"expression">;
|
|
993
|
-
template: z.ZodString;
|
|
994
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
995
|
-
type: z.ZodLiteral<"slot-ref">;
|
|
996
|
-
slotId: z.ZodString;
|
|
997
|
-
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
998
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
999
|
-
type: z.ZodLiteral<"static">;
|
|
1000
|
-
value: z.ZodUnknown;
|
|
1001
|
-
}, z.core.$strip>], "type">;
|
|
1002
|
-
}, z.core.$strip>>;
|
|
1003
|
-
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1004
|
-
}, z.core.$strip>;
|
|
1005
|
-
/**
|
|
1006
|
-
* AI node schema — generic agent runner
|
|
1007
|
-
*/
|
|
1008
|
-
declare const AINodeSchema: z.ZodObject<{
|
|
1009
|
-
type: z.ZodLiteral<"ai">;
|
|
1010
|
-
id: z.ZodString;
|
|
1011
|
-
label: z.ZodString;
|
|
1012
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1013
|
-
mode: z.ZodEnum<{
|
|
1014
|
-
sync: "sync";
|
|
1015
|
-
async: "async";
|
|
1016
|
-
}>;
|
|
1017
|
-
definitionId: z.ZodOptional<z.ZodString>;
|
|
1018
|
-
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1019
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1020
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1021
|
-
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
1022
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
1023
|
-
inputSlotIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1024
|
-
targetSlotIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1025
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1026
|
-
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1027
|
-
}, z.core.$strip>;
|
|
1028
949
|
/**
|
|
1029
950
|
* End node schema
|
|
1030
951
|
*/
|
|
@@ -1119,46 +1040,6 @@ declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1119
1040
|
}, z.core.$strip>;
|
|
1120
1041
|
onTrue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1121
1042
|
onFalse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1122
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1123
|
-
type: z.ZodLiteral<"assign">;
|
|
1124
|
-
id: z.ZodString;
|
|
1125
|
-
label: z.ZodString;
|
|
1126
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1127
|
-
targetSlotId: z.ZodString;
|
|
1128
|
-
assignments: z.ZodArray<z.ZodObject<{
|
|
1129
|
-
targetAttribute: z.ZodString;
|
|
1130
|
-
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1131
|
-
type: z.ZodLiteral<"expression">;
|
|
1132
|
-
template: z.ZodString;
|
|
1133
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1134
|
-
type: z.ZodLiteral<"slot-ref">;
|
|
1135
|
-
slotId: z.ZodString;
|
|
1136
|
-
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1137
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1138
|
-
type: z.ZodLiteral<"static">;
|
|
1139
|
-
value: z.ZodUnknown;
|
|
1140
|
-
}, z.core.$strip>], "type">;
|
|
1141
|
-
}, z.core.$strip>>;
|
|
1142
|
-
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1143
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1144
|
-
type: z.ZodLiteral<"ai">;
|
|
1145
|
-
id: z.ZodString;
|
|
1146
|
-
label: z.ZodString;
|
|
1147
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1148
|
-
mode: z.ZodEnum<{
|
|
1149
|
-
sync: "sync";
|
|
1150
|
-
async: "async";
|
|
1151
|
-
}>;
|
|
1152
|
-
definitionId: z.ZodOptional<z.ZodString>;
|
|
1153
|
-
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1154
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1155
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1156
|
-
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
1157
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
1158
|
-
inputSlotIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1159
|
-
targetSlotIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1160
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1161
|
-
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1162
1043
|
}, z.core.$strip>, z.ZodObject<{
|
|
1163
1044
|
type: z.ZodLiteral<"end">;
|
|
1164
1045
|
id: z.ZodString;
|
|
@@ -1448,46 +1329,6 @@ declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1448
1329
|
}, z.core.$strip>;
|
|
1449
1330
|
onTrue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1450
1331
|
onFalse: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1451
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1452
|
-
type: z.ZodLiteral<"assign">;
|
|
1453
|
-
id: z.ZodString;
|
|
1454
|
-
label: z.ZodString;
|
|
1455
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1456
|
-
targetSlotId: z.ZodString;
|
|
1457
|
-
assignments: z.ZodArray<z.ZodObject<{
|
|
1458
|
-
targetAttribute: z.ZodString;
|
|
1459
|
-
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1460
|
-
type: z.ZodLiteral<"expression">;
|
|
1461
|
-
template: z.ZodString;
|
|
1462
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1463
|
-
type: z.ZodLiteral<"slot-ref">;
|
|
1464
|
-
slotId: z.ZodString;
|
|
1465
|
-
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1466
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1467
|
-
type: z.ZodLiteral<"static">;
|
|
1468
|
-
value: z.ZodUnknown;
|
|
1469
|
-
}, z.core.$strip>], "type">;
|
|
1470
|
-
}, z.core.$strip>>;
|
|
1471
|
-
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1472
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1473
|
-
type: z.ZodLiteral<"ai">;
|
|
1474
|
-
id: z.ZodString;
|
|
1475
|
-
label: z.ZodString;
|
|
1476
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1477
|
-
mode: z.ZodEnum<{
|
|
1478
|
-
sync: "sync";
|
|
1479
|
-
async: "async";
|
|
1480
|
-
}>;
|
|
1481
|
-
definitionId: z.ZodOptional<z.ZodString>;
|
|
1482
|
-
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1483
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1484
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1485
|
-
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
1486
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
1487
|
-
inputSlotIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1488
|
-
targetSlotIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1489
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1490
|
-
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1491
1332
|
}, z.core.$strip>, z.ZodObject<{
|
|
1492
1333
|
type: z.ZodLiteral<"end">;
|
|
1493
1334
|
id: z.ZodString;
|
|
@@ -2114,313 +1955,11 @@ interface BoundingBox {
|
|
|
2114
1955
|
width: number;
|
|
2115
1956
|
height: number;
|
|
2116
1957
|
}
|
|
2117
|
-
/**
|
|
2118
|
-
* Signature Adapter Interface for electronic signatures.
|
|
2119
|
-
*
|
|
2120
|
-
* Implementations:
|
|
2121
|
-
* - YousignAdapter (adapter-nestjs/adapters/signature/)
|
|
2122
|
-
* - DocusignAdapter (adapter-nestjs/adapters/signature/)
|
|
2123
|
-
*
|
|
2124
|
-
* @example
|
|
2125
|
-
* ```typescript
|
|
2126
|
-
* class YousignAdapter implements SignatureAdapter {
|
|
2127
|
-
* readonly name = "yousign";
|
|
2128
|
-
*
|
|
2129
|
-
* async createSignatureRequest(input): Promise<SignatureRequestResult> {
|
|
2130
|
-
* // Create signature request via Yousign API
|
|
2131
|
-
* }
|
|
2132
|
-
* }
|
|
2133
|
-
* ```
|
|
2134
|
-
*/
|
|
2135
|
-
interface SignatureAdapter {
|
|
2136
|
-
/** Provider name for identification */
|
|
2137
|
-
readonly name: string;
|
|
2138
|
-
/** Create a new signature request */
|
|
2139
|
-
createSignatureRequest(input: CreateSignatureInput): Promise<SignatureRequestResult>;
|
|
2140
|
-
/** Get current status of a signature request */
|
|
2141
|
-
getStatus(externalId: string): Promise<SignatureStatusResult>;
|
|
2142
|
-
/** Cancel a pending signature request */
|
|
2143
|
-
cancel(externalId: string): Promise<void>;
|
|
2144
|
-
/** Download the signed document */
|
|
2145
|
-
downloadSignedDocument(externalId: string): Promise<Buffer>;
|
|
2146
|
-
}
|
|
2147
|
-
interface CreateSignatureInput {
|
|
2148
|
-
/** Document content as Buffer */
|
|
2149
|
-
documentBuffer: Buffer;
|
|
2150
|
-
/** Document filename */
|
|
2151
|
-
documentName: string;
|
|
2152
|
-
/** List of signers */
|
|
2153
|
-
signers: SignerRequest[];
|
|
2154
|
-
/** Expiration date for the signature request */
|
|
2155
|
-
expiresAt?: Date;
|
|
2156
|
-
/** Webhook URL for status updates */
|
|
2157
|
-
webhookUrl?: string;
|
|
2158
|
-
/** Custom metadata to attach */
|
|
2159
|
-
metadata?: Record<string, string>;
|
|
2160
|
-
}
|
|
2161
|
-
interface SignerRequest {
|
|
2162
|
-
/** Signer's email address */
|
|
2163
|
-
email: string;
|
|
2164
|
-
/** Signer's first name */
|
|
2165
|
-
firstName: string;
|
|
2166
|
-
/** Signer's last name */
|
|
2167
|
-
lastName: string;
|
|
2168
|
-
/** Phone number for SMS verification */
|
|
2169
|
-
phone?: string;
|
|
2170
|
-
/** Signature position on the document */
|
|
2171
|
-
signaturePosition?: SignaturePosition;
|
|
2172
|
-
/** Order in which to sign (1-based) */
|
|
2173
|
-
order?: number;
|
|
2174
|
-
}
|
|
2175
|
-
interface SignaturePosition {
|
|
2176
|
-
/** Page number (1-based) */
|
|
2177
|
-
page: number;
|
|
2178
|
-
/** X coordinate (from left) */
|
|
2179
|
-
x: number;
|
|
2180
|
-
/** Y coordinate (from top) */
|
|
2181
|
-
y: number;
|
|
2182
|
-
/** Signature box width */
|
|
2183
|
-
width: number;
|
|
2184
|
-
/** Signature box height */
|
|
2185
|
-
height: number;
|
|
2186
|
-
}
|
|
2187
|
-
interface SignatureRequestResult {
|
|
2188
|
-
/** External ID from the provider */
|
|
2189
|
-
externalId: string;
|
|
2190
|
-
/** URL for signers to access */
|
|
2191
|
-
signatureUrl: string;
|
|
2192
|
-
/** Per-signer URLs if different */
|
|
2193
|
-
signerUrls?: Record<string, string>;
|
|
2194
|
-
/** Current status */
|
|
2195
|
-
status: SignatureStatus;
|
|
2196
|
-
}
|
|
2197
|
-
interface SignatureStatusResult {
|
|
2198
|
-
/** External ID */
|
|
2199
|
-
externalId: string;
|
|
2200
|
-
/** Current status */
|
|
2201
|
-
status: SignatureStatus;
|
|
2202
|
-
/** Per-signer status */
|
|
2203
|
-
signers?: SignerStatus[];
|
|
2204
|
-
/** Signed document available for download */
|
|
2205
|
-
signedDocumentAvailable?: boolean;
|
|
2206
|
-
/** Completion timestamp */
|
|
2207
|
-
completedAt?: Date;
|
|
2208
|
-
/** Reason for decline (if status is "declined") */
|
|
2209
|
-
declineReason?: string;
|
|
2210
|
-
}
|
|
2211
|
-
interface SignerStatus {
|
|
2212
|
-
email: string;
|
|
2213
|
-
status: "pending" | "signed" | "declined";
|
|
2214
|
-
signedAt?: Date;
|
|
2215
|
-
}
|
|
2216
|
-
type SignatureStatus = "pending" | "signed" | "declined" | "expired" | "cancelled";
|
|
2217
|
-
/**
|
|
2218
|
-
* Identity Verification Adapter Interface for KYC document verification.
|
|
2219
|
-
*
|
|
2220
|
-
* Implementations:
|
|
2221
|
-
* - OnfidoAdapter (adapter-nestjs/adapters/identity/)
|
|
2222
|
-
* - VeriffAdapter (adapter-nestjs/adapters/identity/)
|
|
2223
|
-
*
|
|
2224
|
-
* @example
|
|
2225
|
-
* ```typescript
|
|
2226
|
-
* class OnfidoAdapter implements IdentityVerificationAdapter {
|
|
2227
|
-
* readonly name = "onfido";
|
|
2228
|
-
* readonly supportedDocumentTypes = ["passport", "national_id", "driving_license"];
|
|
2229
|
-
*
|
|
2230
|
-
* async verify(input): Promise<VerificationResult> {
|
|
2231
|
-
* // Verify document via Onfido API
|
|
2232
|
-
* }
|
|
2233
|
-
* }
|
|
2234
|
-
* ```
|
|
2235
|
-
*/
|
|
2236
|
-
interface IdentityVerificationAdapter {
|
|
2237
|
-
/** Provider name for identification */
|
|
2238
|
-
readonly name: string;
|
|
2239
|
-
/** Supported document types */
|
|
2240
|
-
readonly supportedDocumentTypes: readonly string[];
|
|
2241
|
-
/** Verify an identity document */
|
|
2242
|
-
verify(input: VerifyInput): Promise<VerificationResult>;
|
|
2243
|
-
}
|
|
2244
|
-
interface VerifyInput {
|
|
2245
|
-
/** Front side of the document */
|
|
2246
|
-
frontBuffer: Buffer;
|
|
2247
|
-
/** Back side of the document (optional for some document types) */
|
|
2248
|
-
backBuffer?: Buffer;
|
|
2249
|
-
/** Document type (e.g., "passport", "national_id") */
|
|
2250
|
-
documentType: string;
|
|
2251
|
-
/** Country code (ISO 3166-1 alpha-3) */
|
|
2252
|
-
countryCode?: string;
|
|
2253
|
-
}
|
|
2254
|
-
interface VerificationResult {
|
|
2255
|
-
/** Overall verification passed */
|
|
2256
|
-
verified: boolean;
|
|
2257
|
-
/** Confidence score (0-1) */
|
|
2258
|
-
confidence: number;
|
|
2259
|
-
/** Extracted document data */
|
|
2260
|
-
documentData?: DocumentData;
|
|
2261
|
-
/** Individual verification checks */
|
|
2262
|
-
checks: VerificationCheck[];
|
|
2263
|
-
/** Provider-specific raw response */
|
|
2264
|
-
rawResponse?: Record<string, unknown>;
|
|
2265
|
-
}
|
|
2266
|
-
interface DocumentData {
|
|
2267
|
-
/** First name */
|
|
2268
|
-
firstName?: string;
|
|
2269
|
-
/** Last name */
|
|
2270
|
-
lastName?: string;
|
|
2271
|
-
/** Full name if not split */
|
|
2272
|
-
fullName?: string;
|
|
2273
|
-
/** Date of birth (ISO 8601) */
|
|
2274
|
-
dateOfBirth?: string;
|
|
2275
|
-
/** Document number */
|
|
2276
|
-
documentNumber?: string;
|
|
2277
|
-
/** Expiry date (ISO 8601) */
|
|
2278
|
-
expiryDate?: string;
|
|
2279
|
-
/** Issue date (ISO 8601) */
|
|
2280
|
-
issueDate?: string;
|
|
2281
|
-
/** Nationality (ISO 3166-1 alpha-3) */
|
|
2282
|
-
nationality?: string;
|
|
2283
|
-
/** Gender */
|
|
2284
|
-
gender?: "M" | "F" | "X";
|
|
2285
|
-
/** Address if present on document */
|
|
2286
|
-
address?: string;
|
|
2287
|
-
/** MRZ data if available */
|
|
2288
|
-
mrz?: string;
|
|
2289
|
-
}
|
|
2290
|
-
interface VerificationCheck {
|
|
2291
|
-
/** Check name (e.g., "document_authenticity", "face_match") */
|
|
2292
|
-
name: string;
|
|
2293
|
-
/** Check result */
|
|
2294
|
-
status: "passed" | "failed" | "warning" | "not_applicable";
|
|
2295
|
-
/** Human-readable message */
|
|
2296
|
-
message?: string;
|
|
2297
|
-
/** Detailed sub-checks */
|
|
2298
|
-
details?: Record<string, unknown>;
|
|
2299
|
-
}
|
|
2300
|
-
|
|
2301
|
-
/**
|
|
2302
|
-
* Type of mentionable entity
|
|
2303
|
-
*/
|
|
2304
|
-
type MentionEntityType = "user" | "record" | (string & {});
|
|
2305
|
-
/**
|
|
2306
|
-
* A mention reference stored with a message
|
|
2307
|
-
*/
|
|
2308
|
-
interface MentionReference {
|
|
2309
|
-
/** Unique ID for this mention instance */
|
|
2310
|
-
id: string;
|
|
2311
|
-
/** Entity type (user, record, or custom) */
|
|
2312
|
-
type: MentionEntityType;
|
|
2313
|
-
/** Entity ID (user ID or record ID) */
|
|
2314
|
-
entityId: string;
|
|
2315
|
-
/** Display label at time of mention (cached for display even if entity is deleted) */
|
|
2316
|
-
label: string;
|
|
2317
|
-
/** Object name for records, undefined for users */
|
|
2318
|
-
objectName?: string;
|
|
2319
|
-
/** Start position in the message text */
|
|
2320
|
-
startIndex: number;
|
|
2321
|
-
/** End position in the message text */
|
|
2322
|
-
endIndex: number;
|
|
2323
|
-
}
|
|
2324
|
-
/**
|
|
2325
|
-
* Context data for a mentioned entity (sent to AI)
|
|
2326
|
-
*/
|
|
2327
|
-
interface MentionedEntityContext {
|
|
2328
|
-
/** Entity type */
|
|
2329
|
-
type: MentionEntityType;
|
|
2330
|
-
/** Entity ID */
|
|
2331
|
-
entityId: string;
|
|
2332
|
-
/** Display label */
|
|
2333
|
-
label: string;
|
|
2334
|
-
/** Object name for records */
|
|
2335
|
-
objectName?: string;
|
|
2336
|
-
/** Additional context data (record values, user details, etc.) */
|
|
2337
|
-
data?: Record<string, unknown>;
|
|
2338
|
-
}
|
|
2339
|
-
/**
|
|
2340
|
-
* Full mention context for AI
|
|
2341
|
-
*/
|
|
2342
|
-
interface MentionedContext {
|
|
2343
|
-
/** All mentioned entities with their context data */
|
|
2344
|
-
entities: MentionedEntityContext[];
|
|
2345
|
-
/** Summary text for AI system prompt */
|
|
2346
|
-
summary: string;
|
|
2347
|
-
}
|
|
2348
|
-
|
|
2349
|
-
/**
|
|
2350
|
-
* AI Agent Types
|
|
2351
|
-
*
|
|
2352
|
-
* Shared types for AI Agent chat functionality.
|
|
2353
|
-
* Used by @stndrds/react hooks and UI components.
|
|
2354
|
-
*/
|
|
2355
|
-
/**
|
|
2356
|
-
* File attachment for AI chat messages
|
|
2357
|
-
*/
|
|
2358
|
-
interface ChatFileAttachment {
|
|
2359
|
-
/** File ID (from files table) */
|
|
2360
|
-
id: string;
|
|
2361
|
-
/** File name */
|
|
2362
|
-
name: string;
|
|
2363
|
-
/** File size in bytes */
|
|
2364
|
-
size: number;
|
|
2365
|
-
/** MIME type */
|
|
2366
|
-
mimeType: string;
|
|
2367
|
-
/** URL for display/download */
|
|
2368
|
-
url?: string;
|
|
2369
|
-
}
|
|
2370
|
-
/**
|
|
2371
|
-
* Content part types for ordered message rendering.
|
|
2372
|
-
* Parts are stored in chronological order as they arrive from the stream.
|
|
2373
|
-
*/
|
|
2374
|
-
type AgentContentPart = {
|
|
2375
|
-
type: "text";
|
|
2376
|
-
id: string;
|
|
2377
|
-
text: string;
|
|
2378
|
-
} | {
|
|
2379
|
-
type: "attachment";
|
|
2380
|
-
id: string;
|
|
2381
|
-
files: ChatFileAttachment[];
|
|
2382
|
-
} | {
|
|
2383
|
-
type: "thinking";
|
|
2384
|
-
id: string;
|
|
2385
|
-
isStreaming: boolean;
|
|
2386
|
-
startTime?: number;
|
|
2387
|
-
} | {
|
|
2388
|
-
type: "reasoning";
|
|
2389
|
-
id: string;
|
|
2390
|
-
content: string;
|
|
2391
|
-
isStreaming?: boolean;
|
|
2392
|
-
startTime?: number;
|
|
2393
|
-
} | {
|
|
2394
|
-
type: "tool";
|
|
2395
|
-
id: string;
|
|
2396
|
-
name: string;
|
|
2397
|
-
input?: Record<string, unknown>;
|
|
2398
|
-
output?: unknown;
|
|
2399
|
-
error?: string;
|
|
2400
|
-
status: "running" | "success" | "error";
|
|
2401
|
-
};
|
|
2402
|
-
/**
|
|
2403
|
-
* Agent message with ordered content parts.
|
|
2404
|
-
* All content (text, tools, thinking) is stored as parts in stream order.
|
|
2405
|
-
*/
|
|
2406
|
-
interface AgentMessage {
|
|
2407
|
-
id: string;
|
|
2408
|
-
role: "user" | "assistant";
|
|
2409
|
-
/** Ordered content parts (text, tools, thinking) */
|
|
2410
|
-
parts: AgentContentPart[];
|
|
2411
|
-
isStreaming?: boolean;
|
|
2412
|
-
/** Error message if the message failed */
|
|
2413
|
-
error?: string;
|
|
2414
|
-
}
|
|
2415
1958
|
|
|
2416
1959
|
/**
|
|
2417
1960
|
* Message role in a conversation
|
|
2418
1961
|
*/
|
|
2419
1962
|
type AIMessageRole = "user" | "assistant";
|
|
2420
|
-
/**
|
|
2421
|
-
* Level of "thinking" or reasoning depth
|
|
2422
|
-
*/
|
|
2423
|
-
type AIThinkingLevel = "none" | "light" | "deep" | "maximum";
|
|
2424
1963
|
/**
|
|
2425
1964
|
* An AI model available for selection by the user.
|
|
2426
1965
|
* Configured on the backend and exposed via GET /agent/models.
|
|
@@ -2637,69 +2176,6 @@ interface AITodoList {
|
|
|
2637
2176
|
progress: number;
|
|
2638
2177
|
isComplete: boolean;
|
|
2639
2178
|
}
|
|
2640
|
-
/**
|
|
2641
|
-
* Resolved attachment metadata (populated when fetching messages)
|
|
2642
|
-
*/
|
|
2643
|
-
interface AIMessageAttachment {
|
|
2644
|
-
id: string;
|
|
2645
|
-
name: string;
|
|
2646
|
-
size: number;
|
|
2647
|
-
mimeType: string;
|
|
2648
|
-
url: string;
|
|
2649
|
-
}
|
|
2650
|
-
/**
|
|
2651
|
-
* AI Conversation record
|
|
2652
|
-
*/
|
|
2653
|
-
interface AIConversation {
|
|
2654
|
-
id: string;
|
|
2655
|
-
tenantId: string;
|
|
2656
|
-
userId: string;
|
|
2657
|
-
title: string | null;
|
|
2658
|
-
messageCount: number;
|
|
2659
|
-
totalTokens: number;
|
|
2660
|
-
totalCost: number;
|
|
2661
|
-
sandboxId: string | null;
|
|
2662
|
-
createdAt: Date;
|
|
2663
|
-
updatedAt: Date;
|
|
2664
|
-
deletedAt: Date | null;
|
|
2665
|
-
}
|
|
2666
|
-
/**
|
|
2667
|
-
* AI Message record
|
|
2668
|
-
*/
|
|
2669
|
-
interface AIMessage {
|
|
2670
|
-
id: string;
|
|
2671
|
-
conversationId: string;
|
|
2672
|
-
role: AIMessageRole;
|
|
2673
|
-
content: string;
|
|
2674
|
-
thinkingLevel: AIThinkingLevel | null;
|
|
2675
|
-
thinkingSummary: string | null;
|
|
2676
|
-
toolCalls: AIToolCallRecord[] | null;
|
|
2677
|
-
inputTokens: number | null;
|
|
2678
|
-
outputTokens: number | null;
|
|
2679
|
-
cost: number | null;
|
|
2680
|
-
provider: string | null;
|
|
2681
|
-
model: string | null;
|
|
2682
|
-
/** File attachment IDs (references files table) */
|
|
2683
|
-
attachmentIds: string[] | null;
|
|
2684
|
-
/** Resolved attachments (populated when fetching messages) */
|
|
2685
|
-
attachments?: AIMessageAttachment[];
|
|
2686
|
-
/** Mentions in this message */
|
|
2687
|
-
mentions: MentionReference[] | null;
|
|
2688
|
-
createdAt: Date;
|
|
2689
|
-
}
|
|
2690
|
-
/**
|
|
2691
|
-
* Tool call record stored in JSONB
|
|
2692
|
-
*/
|
|
2693
|
-
interface AIToolCallRecord {
|
|
2694
|
-
/** Tool call ID (from AI SDK) for matching call with result */
|
|
2695
|
-
id?: string;
|
|
2696
|
-
name: string;
|
|
2697
|
-
args: unknown;
|
|
2698
|
-
result?: unknown;
|
|
2699
|
-
error?: string;
|
|
2700
|
-
/** Reasoning/thinking that occurred before this tool call */
|
|
2701
|
-
reasoningBefore?: string;
|
|
2702
|
-
}
|
|
2703
2179
|
/**
|
|
2704
2180
|
* AI Usage Metrics record
|
|
2705
2181
|
*/
|
|
@@ -2721,26 +2197,6 @@ interface AIProviderMetrics {
|
|
|
2721
2197
|
tokens: number;
|
|
2722
2198
|
cost: number;
|
|
2723
2199
|
}
|
|
2724
|
-
/**
|
|
2725
|
-
* Input for creating an AI message
|
|
2726
|
-
*/
|
|
2727
|
-
interface CreateAIMessageInput {
|
|
2728
|
-
conversationId: string;
|
|
2729
|
-
role: AIMessageRole;
|
|
2730
|
-
content: string;
|
|
2731
|
-
thinkingLevel?: AIThinkingLevel;
|
|
2732
|
-
thinkingSummary?: string;
|
|
2733
|
-
toolCalls?: AIToolCallRecord[];
|
|
2734
|
-
inputTokens?: number;
|
|
2735
|
-
outputTokens?: number;
|
|
2736
|
-
cost?: number;
|
|
2737
|
-
provider?: string;
|
|
2738
|
-
model?: string;
|
|
2739
|
-
/** File attachment IDs (references files table) */
|
|
2740
|
-
attachmentIds?: string[];
|
|
2741
|
-
/** Mentions in this message (users, records, etc.) */
|
|
2742
|
-
mentions?: MentionReference[];
|
|
2743
|
-
}
|
|
2744
2200
|
/**
|
|
2745
2201
|
* Memory type for categorization
|
|
2746
2202
|
*
|
|
@@ -3056,6 +2512,54 @@ interface CreateApiKeyInput {
|
|
|
3056
2512
|
userProfileId?: string;
|
|
3057
2513
|
}
|
|
3058
2514
|
|
|
2515
|
+
/**
|
|
2516
|
+
* Type of mentionable entity
|
|
2517
|
+
*/
|
|
2518
|
+
type MentionEntityType = "user" | "record" | (string & {});
|
|
2519
|
+
/**
|
|
2520
|
+
* A mention reference stored with a message
|
|
2521
|
+
*/
|
|
2522
|
+
interface MentionReference {
|
|
2523
|
+
/** Unique ID for this mention instance */
|
|
2524
|
+
id: string;
|
|
2525
|
+
/** Entity type (user, record, or custom) */
|
|
2526
|
+
type: MentionEntityType;
|
|
2527
|
+
/** Entity ID (user ID or record ID) */
|
|
2528
|
+
entityId: string;
|
|
2529
|
+
/** Display label at time of mention (cached for display even if entity is deleted) */
|
|
2530
|
+
label: string;
|
|
2531
|
+
/** Object name for records, undefined for users */
|
|
2532
|
+
objectName?: string;
|
|
2533
|
+
/** Start position in the message text */
|
|
2534
|
+
startIndex: number;
|
|
2535
|
+
/** End position in the message text */
|
|
2536
|
+
endIndex: number;
|
|
2537
|
+
}
|
|
2538
|
+
/**
|
|
2539
|
+
* Context data for a mentioned entity (sent to AI)
|
|
2540
|
+
*/
|
|
2541
|
+
interface MentionedEntityContext {
|
|
2542
|
+
/** Entity type */
|
|
2543
|
+
type: MentionEntityType;
|
|
2544
|
+
/** Entity ID */
|
|
2545
|
+
entityId: string;
|
|
2546
|
+
/** Display label */
|
|
2547
|
+
label: string;
|
|
2548
|
+
/** Object name for records */
|
|
2549
|
+
objectName?: string;
|
|
2550
|
+
/** Additional context data (record values, user details, etc.) */
|
|
2551
|
+
data?: Record<string, unknown>;
|
|
2552
|
+
}
|
|
2553
|
+
/**
|
|
2554
|
+
* Full mention context for AI
|
|
2555
|
+
*/
|
|
2556
|
+
interface MentionedContext {
|
|
2557
|
+
/** All mentioned entities with their context data */
|
|
2558
|
+
entities: MentionedEntityContext[];
|
|
2559
|
+
/** Summary text for AI system prompt */
|
|
2560
|
+
summary: string;
|
|
2561
|
+
}
|
|
2562
|
+
|
|
3059
2563
|
/**
|
|
3060
2564
|
* Attribute Property Protection
|
|
3061
2565
|
*
|
|
@@ -3203,7 +2707,7 @@ interface AuditServiceOptions {
|
|
|
3203
2707
|
}
|
|
3204
2708
|
|
|
3205
2709
|
type AgentRunStatus = "pending" | "running" | "completed" | "failed" | "cancelled" | "paused";
|
|
3206
|
-
type AgentSessionStatus = "active" | "completed" | "failed" | "cancelled" | "waiting_human" | "timeout" | "expired";
|
|
2710
|
+
type AgentSessionStatus = "active" | "idle" | "completed" | "failed" | "cancelled" | "waiting_human" | "timeout" | "expired";
|
|
3207
2711
|
type AgentSessionMode = "interactive" | "autonomous";
|
|
3208
2712
|
type QuestionStatus = "pending" | "answered" | "timeout" | "cancelled";
|
|
3209
2713
|
type TriggerEventType = "record.created" | "record.updated" | "record.deleted" | "record.field_changed" | "workflow.completed" | "agent.completed" | "webhook" | "schedule";
|
|
@@ -3226,7 +2730,7 @@ interface AgentExecutionConfig {
|
|
|
3226
2730
|
costLimitUsd?: number;
|
|
3227
2731
|
}
|
|
3228
2732
|
/**
|
|
3229
|
-
* Shared base config used by AgentDefinition,
|
|
2733
|
+
* Shared base config used by AgentDefinition, inline runs, and AgentSession.
|
|
3230
2734
|
*/
|
|
3231
2735
|
interface AgentConfig {
|
|
3232
2736
|
systemPrompt: string;
|
|
@@ -3240,20 +2744,24 @@ interface AgentConfig {
|
|
|
3240
2744
|
canAskHuman?: boolean;
|
|
3241
2745
|
critic?: CriticConfig;
|
|
3242
2746
|
}
|
|
3243
|
-
/** @deprecated Use AgentConfig directly */
|
|
3244
|
-
type AgentInlineConfig = AgentConfig;
|
|
3245
2747
|
interface CriticConfig {
|
|
3246
2748
|
enabled: boolean;
|
|
3247
2749
|
model?: ModelDefinition;
|
|
3248
2750
|
systemPrompt?: string;
|
|
3249
2751
|
maxRetries?: number;
|
|
3250
2752
|
}
|
|
3251
|
-
|
|
3252
|
-
interface AgentTrigger {
|
|
2753
|
+
interface RecordAgentTrigger {
|
|
3253
2754
|
type: AgentTriggerType;
|
|
3254
2755
|
objectId: string;
|
|
3255
2756
|
filter?: Record<string, unknown>;
|
|
3256
2757
|
}
|
|
2758
|
+
interface WorkflowCompletedAgentTrigger {
|
|
2759
|
+
type: "workflow.completed";
|
|
2760
|
+
workflowId?: string;
|
|
2761
|
+
workflowName?: string;
|
|
2762
|
+
filter?: Record<string, unknown>;
|
|
2763
|
+
}
|
|
2764
|
+
type AgentTrigger = RecordAgentTrigger | WorkflowCompletedAgentTrigger;
|
|
3257
2765
|
/**
|
|
3258
2766
|
* Standalone trigger definition (replaces embedded AgentTrigger[]).
|
|
3259
2767
|
* Triggers are now first-class entities with their own lifecycle.
|
|
@@ -3284,6 +2792,25 @@ interface AgentSchedule {
|
|
|
3284
2792
|
input?: Record<string, unknown>;
|
|
3285
2793
|
inputBuilder?: string;
|
|
3286
2794
|
}
|
|
2795
|
+
type AgentAttachmentCategory = "context" | "input-template" | "output-template" | "template";
|
|
2796
|
+
interface AgentAttachment {
|
|
2797
|
+
id: string;
|
|
2798
|
+
definitionId: string;
|
|
2799
|
+
tenantId: string;
|
|
2800
|
+
category: AgentAttachmentCategory;
|
|
2801
|
+
filename: string;
|
|
2802
|
+
mimeType: string;
|
|
2803
|
+
sizeBytes: number;
|
|
2804
|
+
storageKey: string;
|
|
2805
|
+
createdAt: Date;
|
|
2806
|
+
}
|
|
2807
|
+
interface AgentMessageAttachment {
|
|
2808
|
+
id: string;
|
|
2809
|
+
name: string;
|
|
2810
|
+
mimeType: string;
|
|
2811
|
+
size: number;
|
|
2812
|
+
url?: string;
|
|
2813
|
+
}
|
|
3287
2814
|
interface TimeoutPolicy {
|
|
3288
2815
|
timeoutMs: number;
|
|
3289
2816
|
action: "cancel" | "auto_decide" | "escalate";
|
|
@@ -3293,13 +2820,13 @@ interface AgentDefinition {
|
|
|
3293
2820
|
id: string;
|
|
3294
2821
|
tenantId: string;
|
|
3295
2822
|
name: string;
|
|
2823
|
+
icon?: string;
|
|
3296
2824
|
description?: string;
|
|
3297
2825
|
systemPrompt: string;
|
|
3298
2826
|
model: ModelDefinition;
|
|
3299
2827
|
tools?: string[];
|
|
3300
2828
|
maxIterations?: number;
|
|
3301
2829
|
schedule?: AgentSchedule;
|
|
3302
|
-
/** @deprecated Use standalone AgentTriggerDefinition */
|
|
3303
2830
|
triggers?: AgentTrigger[];
|
|
3304
2831
|
config: AgentExecutionConfig;
|
|
3305
2832
|
createdBy: string;
|
|
@@ -3311,13 +2838,14 @@ interface AgentDefinition {
|
|
|
3311
2838
|
maxTreeCostUsd?: number;
|
|
3312
2839
|
critic?: CriticConfig;
|
|
3313
2840
|
autoDecide?: boolean;
|
|
2841
|
+
attachments?: AgentAttachment[];
|
|
3314
2842
|
}
|
|
3315
2843
|
interface AgentRun {
|
|
3316
2844
|
id: string;
|
|
3317
2845
|
definitionId?: string;
|
|
3318
2846
|
parentRunId?: string;
|
|
3319
2847
|
depth: number;
|
|
3320
|
-
inlineConfig?:
|
|
2848
|
+
inlineConfig?: AgentConfig;
|
|
3321
2849
|
tenantId: string;
|
|
3322
2850
|
createdBy?: string;
|
|
3323
2851
|
status: AgentRunStatus;
|
|
@@ -3338,7 +2866,6 @@ interface AgentRun {
|
|
|
3338
2866
|
triggerId?: string;
|
|
3339
2867
|
treeCostUsd?: number;
|
|
3340
2868
|
effectiveSystemPrompt?: string;
|
|
3341
|
-
conversationId?: string;
|
|
3342
2869
|
}
|
|
3343
2870
|
interface AgentSession {
|
|
3344
2871
|
id: string;
|
|
@@ -3371,7 +2898,11 @@ interface AgentSessionMessage {
|
|
|
3371
2898
|
runId?: string;
|
|
3372
2899
|
role: "user" | "assistant" | "system" | "tool";
|
|
3373
2900
|
content: string;
|
|
2901
|
+
attachments?: AgentMessageAttachment[];
|
|
2902
|
+
mentions?: MentionReference[];
|
|
3374
2903
|
toolCalls?: AgentToolCall[];
|
|
2904
|
+
model?: ModelDefinition;
|
|
2905
|
+
reasoning?: string;
|
|
3375
2906
|
tokenUsage?: {
|
|
3376
2907
|
input: number;
|
|
3377
2908
|
output: number;
|
|
@@ -3396,15 +2927,6 @@ interface AgentContextEntry {
|
|
|
3396
2927
|
createdAt: Date;
|
|
3397
2928
|
updatedAt: Date;
|
|
3398
2929
|
}
|
|
3399
|
-
/** @deprecated Use AgentContextEntry with namespace/key/value */
|
|
3400
|
-
interface AgentRunContextEntry {
|
|
3401
|
-
id: string;
|
|
3402
|
-
rootRunId: string;
|
|
3403
|
-
runId: string;
|
|
3404
|
-
depth: number;
|
|
3405
|
-
content: string;
|
|
3406
|
-
createdAt: Date;
|
|
3407
|
-
}
|
|
3408
2930
|
interface AgentQuestion {
|
|
3409
2931
|
id: string;
|
|
3410
2932
|
runId: string;
|
|
@@ -3425,13 +2947,43 @@ interface QuestionResponse {
|
|
|
3425
2947
|
answeredBy?: string;
|
|
3426
2948
|
source: "user" | "auto_decide" | "timeout";
|
|
3427
2949
|
}
|
|
3428
|
-
interface
|
|
2950
|
+
interface RecordAgentEvent {
|
|
3429
2951
|
type: AgentTriggerType;
|
|
3430
2952
|
objectId: string;
|
|
3431
2953
|
recordId: string;
|
|
3432
2954
|
tenantId: string;
|
|
3433
2955
|
data?: Record<string, unknown>;
|
|
3434
2956
|
}
|
|
2957
|
+
interface WorkflowCompletedAgentEvent {
|
|
2958
|
+
type: "workflow.completed";
|
|
2959
|
+
tenantId: string;
|
|
2960
|
+
workflowId: string;
|
|
2961
|
+
workflowName: string;
|
|
2962
|
+
workflowDescription?: string;
|
|
2963
|
+
workflowInstanceId: string;
|
|
2964
|
+
startedBy: string;
|
|
2965
|
+
createdRecordIds: string[];
|
|
2966
|
+
targetRecordIds: string[];
|
|
2967
|
+
slotRecordIds: Record<string, string>;
|
|
2968
|
+
data: {
|
|
2969
|
+
workflowId: string;
|
|
2970
|
+
workflowName: string;
|
|
2971
|
+
workflowDescription?: string;
|
|
2972
|
+
workflowInstanceId: string;
|
|
2973
|
+
startedBy: string;
|
|
2974
|
+
createdRecordIds: string[];
|
|
2975
|
+
targetRecordIds: string[];
|
|
2976
|
+
slotRecordIds: Record<string, string>;
|
|
2977
|
+
context: Record<string, unknown>;
|
|
2978
|
+
slots: Record<string, Record<string, unknown>>;
|
|
2979
|
+
forms: Record<string, Record<string, unknown>>;
|
|
2980
|
+
documents: Record<string, unknown>;
|
|
2981
|
+
variables: Record<string, unknown>;
|
|
2982
|
+
conditionResults: Record<string, boolean>;
|
|
2983
|
+
relationBuffers: Record<string, unknown>;
|
|
2984
|
+
};
|
|
2985
|
+
}
|
|
2986
|
+
type AgentEvent = RecordAgentEvent | WorkflowCompletedAgentEvent;
|
|
3435
2987
|
interface AgentDashboard {
|
|
3436
2988
|
activeRuns: number;
|
|
3437
2989
|
pendingRuns: number;
|
|
@@ -3501,8 +3053,14 @@ interface Document extends Timestamps {
|
|
|
3501
3053
|
/** Display title */
|
|
3502
3054
|
title: string;
|
|
3503
3055
|
description?: string;
|
|
3056
|
+
/** Primary business classification for the document */
|
|
3057
|
+
documentType?: string;
|
|
3504
3058
|
/** Tags for categorization and search */
|
|
3505
3059
|
tags: string[];
|
|
3060
|
+
/** Business date carried by the document (issue date, invoice date, etc.) */
|
|
3061
|
+
documentDate?: Date | null;
|
|
3062
|
+
/** Date until which the document is considered valid */
|
|
3063
|
+
validUntil?: Date | null;
|
|
3506
3064
|
/** Hash of all slot file contents for deduplication */
|
|
3507
3065
|
contentHash?: string;
|
|
3508
3066
|
/** PostgreSQL tsvector for full-text search */
|
|
@@ -3522,21 +3080,20 @@ interface Document extends Timestamps {
|
|
|
3522
3080
|
* - `processing`: One or more jobs running
|
|
3523
3081
|
* - `completed`: All jobs completed successfully
|
|
3524
3082
|
* - `failed`: At least one job failed
|
|
3525
|
-
* - `signed`: Signature workflow completed
|
|
3526
3083
|
*/
|
|
3527
|
-
type DocumentStatus = "draft" | "pending" | "processing" | "completed" | "failed"
|
|
3084
|
+
type DocumentStatus = "draft" | "pending" | "processing" | "completed" | "failed";
|
|
3528
3085
|
/**
|
|
3529
3086
|
* DocumentSlot represents a single file within a document.
|
|
3530
3087
|
*
|
|
3531
|
-
* Each slot corresponds to a
|
|
3088
|
+
* Each slot corresponds to a named file position within the document,
|
|
3532
3089
|
* or is marked as "additional" for extra files.
|
|
3533
3090
|
*/
|
|
3534
3091
|
interface DocumentSlot extends Timestamps {
|
|
3535
3092
|
id: Uuid;
|
|
3536
3093
|
documentId: Uuid;
|
|
3537
|
-
/**
|
|
3094
|
+
/** Logical slot name within the document */
|
|
3538
3095
|
slotName: string;
|
|
3539
|
-
/** True if this is an
|
|
3096
|
+
/** True if this is an extra file beyond the document's standard slots */
|
|
3540
3097
|
isAdditional: boolean;
|
|
3541
3098
|
/** Reference to the uploaded file */
|
|
3542
3099
|
fileId: Uuid;
|
|
@@ -3554,7 +3111,7 @@ type SlotStatus = "uploaded" | "processing" | "completed" | "failed";
|
|
|
3554
3111
|
/**
|
|
3555
3112
|
* ProcessingJob tracks an async processing task for a document.
|
|
3556
3113
|
*
|
|
3557
|
-
* Jobs are created for OCR
|
|
3114
|
+
* Jobs are created for OCR and agent-compatible document enrichment tasks.
|
|
3558
3115
|
* They can be document-level or slot-level.
|
|
3559
3116
|
*/
|
|
3560
3117
|
interface ProcessingJob extends Timestamps {
|
|
@@ -3579,22 +3136,26 @@ interface ProcessingJob extends Timestamps {
|
|
|
3579
3136
|
startedAt?: Date | null;
|
|
3580
3137
|
/** When processing completed */
|
|
3581
3138
|
completedAt?: Date | null;
|
|
3582
|
-
/** Expiration time (for signature requests) */
|
|
3583
|
-
expiresAt?: Date | null;
|
|
3584
3139
|
/** User who initiated the job */
|
|
3585
3140
|
createdBy?: Uuid;
|
|
3586
3141
|
}
|
|
3587
|
-
type ProcessingJobType = "ocr"
|
|
3142
|
+
type ProcessingJobType = "ocr";
|
|
3588
3143
|
type ProcessingJobStatus = "pending" | "processing" | "completed" | "failed" | "cancelled";
|
|
3589
3144
|
interface CreateDocument {
|
|
3590
3145
|
title: string;
|
|
3591
3146
|
description?: string;
|
|
3147
|
+
documentType?: string;
|
|
3592
3148
|
tags?: string[];
|
|
3149
|
+
documentDate?: Date;
|
|
3150
|
+
validUntil?: Date;
|
|
3593
3151
|
}
|
|
3594
3152
|
interface UpdateDocument {
|
|
3595
3153
|
title?: string;
|
|
3596
3154
|
description?: string;
|
|
3155
|
+
documentType?: string | null;
|
|
3597
3156
|
tags?: string[];
|
|
3157
|
+
documentDate?: Date | null;
|
|
3158
|
+
validUntil?: Date | null;
|
|
3598
3159
|
status?: DocumentStatus;
|
|
3599
3160
|
}
|
|
3600
3161
|
interface CreateDocumentSlot {
|
|
@@ -3614,7 +3175,6 @@ interface CreateProcessingJob {
|
|
|
3614
3175
|
type: ProcessingJobType;
|
|
3615
3176
|
provider: string;
|
|
3616
3177
|
input?: Record<string, unknown>;
|
|
3617
|
-
expiresAt?: Date;
|
|
3618
3178
|
}
|
|
3619
3179
|
interface UpdateProcessingJob {
|
|
3620
3180
|
status?: ProcessingJobStatus;
|
|
@@ -3627,7 +3187,10 @@ interface DocumentListOptions {
|
|
|
3627
3187
|
limit?: number;
|
|
3628
3188
|
offset?: number;
|
|
3629
3189
|
status?: DocumentStatus;
|
|
3190
|
+
documentType?: string;
|
|
3630
3191
|
tags?: string[];
|
|
3192
|
+
validUntilBefore?: Date;
|
|
3193
|
+
validUntilAfter?: Date;
|
|
3631
3194
|
}
|
|
3632
3195
|
|
|
3633
3196
|
/**
|
|
@@ -4888,7 +4451,6 @@ declare const SchemaErrorCode: {
|
|
|
4888
4451
|
readonly FILE_NOT_FOUND: "SCHEMA_FILE_NOT_FOUND";
|
|
4889
4452
|
readonly ROLE_NOT_FOUND: "SCHEMA_ROLE_NOT_FOUND";
|
|
4890
4453
|
readonly MEMORY_NOT_FOUND: "SCHEMA_MEMORY_NOT_FOUND";
|
|
4891
|
-
readonly CONVERSATION_NOT_FOUND: "SCHEMA_CONVERSATION_NOT_FOUND";
|
|
4892
4454
|
readonly VALIDATION_FAILED: "SCHEMA_VALIDATION_FAILED";
|
|
4893
4455
|
readonly INVALID_ATTRIBUTE_NAME: "SCHEMA_INVALID_ATTRIBUTE_NAME";
|
|
4894
4456
|
readonly INVALID_OBJECT_NAME: "SCHEMA_INVALID_OBJECT_NAME";
|
|
@@ -5135,12 +4697,6 @@ declare function isNotImplementedError(error: unknown): error is NotImplementedE
|
|
|
5135
4697
|
declare class MemoryNotFoundError extends NotFoundError {
|
|
5136
4698
|
constructor(memoryId: string);
|
|
5137
4699
|
}
|
|
5138
|
-
/**
|
|
5139
|
-
* Conversation not found error
|
|
5140
|
-
*/
|
|
5141
|
-
declare class ConversationNotFoundError extends NotFoundError {
|
|
5142
|
-
constructor(conversationId: string);
|
|
5143
|
-
}
|
|
5144
4700
|
|
|
5145
4701
|
/**
|
|
5146
4702
|
* Builder config with literal name type preservation
|
|
@@ -5975,14 +5531,13 @@ declare function rollup<TName extends string>(config: TypedBuilderConfig<TName>)
|
|
|
5975
5531
|
* Builder for document attributes.
|
|
5976
5532
|
*
|
|
5977
5533
|
* Documents are structured wrappers around files that support:
|
|
5978
|
-
* -
|
|
5979
|
-
* -
|
|
5980
|
-
* -
|
|
5534
|
+
* - Multiple files for a single logical document
|
|
5535
|
+
* - Agent-compatible processing (for example OCR)
|
|
5536
|
+
* - Field-level constraints
|
|
5981
5537
|
*
|
|
5982
|
-
* @example Single document
|
|
5538
|
+
* @example Single document
|
|
5983
5539
|
* ```typescript
|
|
5984
5540
|
* document({ name: "identityDocument", label: "Pièce d'identité" })
|
|
5985
|
-
* .templates(["french_id_card", "passport"])
|
|
5986
5541
|
* .autoProcess()
|
|
5987
5542
|
* .required()
|
|
5988
5543
|
* ```
|
|
@@ -6021,8 +5576,7 @@ declare class DocumentAttributeBuilder<TName extends string, TRequired extends b
|
|
|
6021
5576
|
*/
|
|
6022
5577
|
maxDocuments(count: number): this;
|
|
6023
5578
|
/**
|
|
6024
|
-
* Automatically trigger processing on upload.
|
|
6025
|
-
* Processing is defined by the template's autoProcessing config.
|
|
5579
|
+
* Automatically trigger agent-compatible processing on upload.
|
|
6026
5580
|
*/
|
|
6027
5581
|
autoProcess(): this;
|
|
6028
5582
|
/**
|
|
@@ -6040,7 +5594,6 @@ declare class DocumentAttributeBuilder<TName extends string, TRequired extends b
|
|
|
6040
5594
|
* @example
|
|
6041
5595
|
* ```typescript
|
|
6042
5596
|
* document({ name: "identityDocument", label: "Pièce d'identité" })
|
|
6043
|
-
* .templates(["french_id_card", "passport"])
|
|
6044
5597
|
* .autoProcess()
|
|
6045
5598
|
* .required()
|
|
6046
5599
|
* ```
|
|
@@ -7510,82 +7063,6 @@ declare class WorkflowConditionBuilder {
|
|
|
7510
7063
|
onFalse: (nodeId: string) => WorkflowBuilder;
|
|
7511
7064
|
};
|
|
7512
7065
|
}
|
|
7513
|
-
/**
|
|
7514
|
-
* Builder for creating assign nodes (set values on a target slot)
|
|
7515
|
-
*/
|
|
7516
|
-
declare class WorkflowAssignBuilder {
|
|
7517
|
-
private workflowBuilder;
|
|
7518
|
-
private nodeId;
|
|
7519
|
-
private label;
|
|
7520
|
-
private nodeDescription?;
|
|
7521
|
-
private targetSlotId;
|
|
7522
|
-
private assignments;
|
|
7523
|
-
/** @internal */
|
|
7524
|
-
constructor(workflowBuilder: WorkflowBuilder, nodeId: string, label: string, targetSlotId: string);
|
|
7525
|
-
/**
|
|
7526
|
-
* Set an attribute using an expression template.
|
|
7527
|
-
* Uses mustache syntax: `{{ slotId.attribute }}`.
|
|
7528
|
-
*/
|
|
7529
|
-
expression(targetAttribute: string, template: string): this;
|
|
7530
|
-
/**
|
|
7531
|
-
* Link a relation attribute to a slot's record.
|
|
7532
|
-
* Optionally include qualified relation properties.
|
|
7533
|
-
*/
|
|
7534
|
-
slotRef(targetAttribute: string, slotId: string, properties?: Record<string, unknown>): this;
|
|
7535
|
-
/**
|
|
7536
|
-
* Set a static value on an attribute
|
|
7537
|
-
*/
|
|
7538
|
-
setValue(targetAttribute: string, value: unknown): this;
|
|
7539
|
-
/**
|
|
7540
|
-
* Set the description for this assign node
|
|
7541
|
-
*/
|
|
7542
|
-
describe(description: string): this;
|
|
7543
|
-
/**
|
|
7544
|
-
* Set the next node and complete the assign definition
|
|
7545
|
-
*/
|
|
7546
|
-
next(nodeId: string): WorkflowBuilder;
|
|
7547
|
-
}
|
|
7548
|
-
/**
|
|
7549
|
-
* Builder for creating AI agent nodes.
|
|
7550
|
-
*/
|
|
7551
|
-
declare class WorkflowAIBuilder {
|
|
7552
|
-
private workflowBuilder;
|
|
7553
|
-
private nodeId;
|
|
7554
|
-
private label;
|
|
7555
|
-
private nodeDescription?;
|
|
7556
|
-
private nodeTimeoutMs?;
|
|
7557
|
-
private agentConfig;
|
|
7558
|
-
/** @internal */
|
|
7559
|
-
constructor(workflowBuilder: WorkflowBuilder, nodeId: string, label: string);
|
|
7560
|
-
describe(description: string): this;
|
|
7561
|
-
timeout(ms: number): this;
|
|
7562
|
-
/**
|
|
7563
|
-
* Configure the agent for this node.
|
|
7564
|
-
*
|
|
7565
|
-
* @param definitionIdOrConfig - Either an existing agent definition ID (string),
|
|
7566
|
-
* or an inline agent config object.
|
|
7567
|
-
* @param options - Additional options merged on top (only used when first arg is a string)
|
|
7568
|
-
*/
|
|
7569
|
-
agent(definitionIdOrConfig: string | {
|
|
7570
|
-
mode: "sync" | "async";
|
|
7571
|
-
systemPrompt?: string;
|
|
7572
|
-
model?: string;
|
|
7573
|
-
tools?: string[];
|
|
7574
|
-
maxIterations?: number;
|
|
7575
|
-
instructions?: string;
|
|
7576
|
-
inputSlotIds?: string[];
|
|
7577
|
-
targetSlotIds?: string[];
|
|
7578
|
-
}, options?: {
|
|
7579
|
-
mode?: "sync" | "async";
|
|
7580
|
-
instructions?: string;
|
|
7581
|
-
inputSlotIds?: string[];
|
|
7582
|
-
targetSlotIds?: string[];
|
|
7583
|
-
}): this;
|
|
7584
|
-
/**
|
|
7585
|
-
* Set the next node and complete the AI node definition
|
|
7586
|
-
*/
|
|
7587
|
-
next(nodeId: string): WorkflowBuilder;
|
|
7588
|
-
}
|
|
7589
7066
|
/**
|
|
7590
7067
|
* Builder for creating end nodes
|
|
7591
7068
|
*/
|
|
@@ -7742,12 +7219,6 @@ declare class WorkflowBuilder {
|
|
|
7742
7219
|
* Define a condition node
|
|
7743
7220
|
*/
|
|
7744
7221
|
condition(id: string, label: string): WorkflowConditionBuilder;
|
|
7745
|
-
/**
|
|
7746
|
-
* Define an assign node (set values on a target slot)
|
|
7747
|
-
*/
|
|
7748
|
-
assign(id: string, label: string, targetSlotId: string): WorkflowAssignBuilder;
|
|
7749
|
-
/** Define an AI agent node (sync or async, inline or referenced from a definition) */
|
|
7750
|
-
ai(id: string, label: string): WorkflowAIBuilder;
|
|
7751
7222
|
/**
|
|
7752
7223
|
* Define an end node
|
|
7753
7224
|
*/
|
|
@@ -8671,4 +8142,4 @@ declare function objectToJSONSchema(objectDef: ObjectDefinition): JSONSchema7;
|
|
|
8671
8142
|
*/
|
|
8672
8143
|
declare function objectValidatorToJSONSchema(objectDef: ObjectDefinition): JSONSchema7;
|
|
8673
8144
|
|
|
8674
|
-
export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AICompactionSummary, type AIConversation, type AIMemoryEntry, type AIMemoryType, type AIMessage, type AIMessageAttachment, type AIMessageRole, AINodeSchema, type AIProviderMetrics, type AIQuestion, type AIQuestionAnswer, type AIQuestionOption, type AIQuestionType, type AIThinkingLevel, type AITodoItem, type AITodoList, type AITodoStatus, type AIToolCall, type AIToolCallRecord, type AIToolCallStatus, type AIUsageMetrics, ALL_ACTIONS, ALL_PIPES, ALL_SYSTEM_RESOURCES, AccessDeniedError, type AccessLevel, type Action, ActivityTabConfig, type AddAttribute$1 as AddAttribute, type AgentConfig, type AgentContentPart, type AgentContextEntry, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentInlineConfig, type AgentMessage, type AgentQuestion, type AgentRun, type AgentRunContextEntry, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionStatus, type AgentToolCall, type AgentTrigger, type AgentTriggerDefinition, type AgentTriggerType, type AnyAttributeBuilder, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, AssignNodeSchema, type AssignRoleInput, AssignmentMappingSchema, AssignmentSourceSchema, Attribute, AttributeGroupField, AttributeInUseError, type AttributeMap, AttributeNotFoundError, type AttributeSchema, AttributeType, type AttributeUsage, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, BilateralConfig, type BilateralValidationError, type BilateralValidationResult, type BoundingBox, type BuilderConfig, type ChatFileAttachment, CheckboxAttribute, CompletionStatus, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, ConfigOverrides, ConversationNotFoundError, type CreateAIMessageInput, type CreateApiKeyInput, type CreateAuditLogInput, type CreateDBAttribute, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateDBWorkflow, type CreateDBWorkflowAccessGrant, type CreateDBWorkflowInstance, type CreateDBWorkflowInvitation, type CreateDocument, type CreateDocumentSlot, type CreateFile, type CreateGrantInput, type CreateInvitationInput, type CreateInvitationResult, CreateMode, type CreateObjectRecord, type CreatePermissionInput, type CreateProcessingJob, type CreateRoleInput, type CreateSandboxExecution, CreateShareInputSchema, type CreateSignatureInput, type CreateUserProfile, type CriticConfig, Currency, CurrencyAttribute, type CustomAttributeValue, CustomTabConfig, type DBAttribute, type DBObject, type DBView, type DBViewOverlay, type DBWorkflow, type DBWorkflowAccessGrant, type DBWorkflowInstance, type DBWorkflowInvitation, DEFAULT_LABEL_FALLBACK, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_FOR_NEW_USERS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewConfig, DetailViewDefinition, DetailViewLayout, type Document, DocumentAttribute, type DocumentData, type DocumentListOptions, type DocumentSlot, type DocumentStatus, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, type EffectivePermissions, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, type ExtractAttributes, type ExtractObjectRecord, type ExtractObjectRecordWithCustom, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FieldGroup, type File, FileAttribute, type FileListOptions, FileNotFoundError, type FileVisibility, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowFieldsRow, FlowHeadingRow, FlowRelationListRow, FlowRowFieldSchema, FlowRowSchema, FlowSeparatorRow, FlowTextRow, FlowsTabConfig, ForbiddenError, type FormContextResponse, type FormFieldContext, FormFieldRefSchema, type FormFieldRow, type FormFieldsRow, FormNode, type FormNodeInfo, FormNodeSchema, FormulaAttribute, FormulaReturnType, type GenerateFallbackViewOptions, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, Group, GroupBuilder, type GroupedWorkflowNodes, IDENTITY_PROPERTIES, type IdentityProperty, type IdentityVerificationAdapter, type InferAttributeValue, type InferRecord, type InferRecordFromSchema, type InferRecordInput, type InferRecordUpdate, type InferRecordWithRequirements, InstanceStatus, type InvitationStatus, type InviteUserInput, type LabelExpression, type LabelPipe, type ListOptions, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, Location, LocationAttribute, LocationGranularity, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NodePositionSchema, type NodeTypeDefinition, NoopGeocodingAdapter, NotFoundError, NotImplementedError, NotSystemObjectError, NumberAttribute, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, type ObjectPermissions, ObjectRecord, ObjectReferencedError, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperationResult, Option, PIPES_WITH_ARGS, PRESENTATION_PROPERTIES, PendingAction, type Permission, type PermissionScope, Phone, PhoneAttribute, type PhoneNormalizationResult, type PipeWithArgs, type PolicyContext, PolicyViolationError, type PresentationProperty, type ProcessingJob, type ProcessingJobStatus, type ProcessingJobType, type PropertyAttributeBuilder, ProtectedResourceError, ProtectedRoleError, type ProviderName, type QuestionResponse, type QuestionStatus, RatingAttribute, type ReadOnlyReason, type ReasoningPartData, type RecordMetadata, RecordNotFoundError, type RecordPolicy, type RecordReference, RecordReferencedError, RelationAttribute, RelationBufferMap, RelationFieldConfig, RelationGroup, RelationGroupBuilder, RelationTarget, RepositoryError, type RepositoryOperation, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, RichtextFeature, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, SIMPLE_PIPES, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, type SandboxExecution, type SandboxExecutionInput, type SandboxExecutionResult, type SandboxExecutionStatus, type SandboxMode, type SandboxTrigger, SchemaError, SchemaErrorCode, type SearchOptions, SelectAttribute, ShareStatusSchema, SidePanelConfig, type SignatureAdapter, type SignaturePosition, type SignatureRequestResult, type SignatureStatus, type SignatureStatusResult, type SignerRequest, type SignerStatus, type SimplePipe, SingleRelationAttribute, SlotMode, SlotModeSchema, type SlotStatus, SortRule, type StandardSchemaIssue, type StandardSchemaProps, type StandardSchemaResult, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, SyncError, type SystemAttribute, type SystemAttributeName, type SystemFields, type SystemPermissions, type SystemResource, Tab, TabBuilder, TableTab, TableTabConfig, TenantId, TextAreaAttribute, TextAttribute, type TextPartData, ThemeColorsSchema, ThemeLogoSchema, type ThinkingPartData, type TimeoutPolicy, Timestamps, type ToolPartData, type TriggerEventType, type TypedAttribute, type TypedBuilderConfig, type TypedObjectRecord, USER_STATUSES, type UpdateDBAttribute, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateDBWorkflow, type UpdateDBWorkflowAccessGrant, type UpdateDBWorkflowInstance, type UpdateDBWorkflowInvitation, type UpdateDocument, type UpdateDocumentSlot, type UpdateFile, type UpdateProcessingJob, type UpdateRoleInput, type UpdateUserProfile, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserProfile, UserProfileNotFoundError, type UserRoleAssignment, type UserStatus, Uuid, type ValidatedConditionGroup, type ValidatedWorkflowDefinition, type ValidatedWorkflowNode, ValidationError, type ValidationErrorDetail, type VerificationCheck, type VerificationResult, type VerifyInput, ViewBuilder, ViewConfig, ViewDefinition, ViewType, ViewportSchema, type WithCustomAttributes$1 as WithCustomAttributes, WorkflowAIBuilder, type WorkflowAccessGrant, type WorkflowAccessMode, WorkflowAssignBuilder, WorkflowBuilder, WorkflowConditionBuilder, WorkflowConfig, WorkflowConfigSchema, WorkflowDefinition, WorkflowDefinitionSchema, WorkflowEndBuilder, type WorkflowEvent, type WorkflowEventType, WorkflowExecutionContext, WorkflowFormBuilder, WorkflowFormRowBuilder, type WorkflowGrantRevokedEvent, type WorkflowInstanceCancelledEvent, type WorkflowInstanceCompletedEvent, type WorkflowInstanceFailedEvent, type WorkflowInstanceStartedEvent, type WorkflowInvitation, type WorkflowInvitationAcceptedEvent, type WorkflowInvitationCreatedEvent, type WorkflowInvitationExpiredEvent, WorkflowLayout, WorkflowLayoutSchema, WorkflowNode, type WorkflowNodeCompletedEvent, type WorkflowNodeEnteredEvent, type WorkflowNodeFailedEvent, WorkflowNodeSchema, WorkflowNodeType, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlot, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatus, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, WorkflowTransition, type WorkflowZone, ZONE_CONFIG, ZONE_ORDER, accessLevelToActions, actionsToAccessLevel, applyRelationProps, assignNodeZones, booleanFlag, canAccessNode, checkbox, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, date, detailView, document, extractAttributeNames, file, flagRegistry, formatAttributeValue, formatPhoneForDisplay, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getActiveTab, getErrorMessage, getFormFieldRefs, getNodeOutputs, getNodeSlotIds, getSystemAttributeList, getZoneAllowedTypes, group, groupNodesByZone, hasProperties, isAccessDeniedError, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isFormFieldsRow, isGrantExpired, isGrantRevoked, isGrantValid, isIdentityProperty, isInstanceEvent, isInvitationAccepted, isInvitationExpired, isInvitationOrGrantEvent, isInvitationValid, isLabelExpression, isNodeEvent, isNotEmpty, isNotFoundError, isNotImplementedError, isPresentationProperty, isProtectedResourceError, isRepositoryError, isSchemaError, isStandardSchema, isStorageError, isSystemAttribute, isSystemAttributeObject, isTokenRevoked, isValidationError, isViewCustomized, jsonFlag, labelExpressionSchema, listView, location, multiselect, nodeTypeRegistry, normalizePhoneNumber, number, numberFlag, object, objectToJSONSchema, objectValidatorToJSONSchema, parseRawPhoneInput, phone, rating, registerBuiltInNodeTypes, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, select, setNodeNext, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, validateLabelExpression, validateNode, validatePhoneNumber, view, viewRegistry, workflow };
|
|
8145
|
+
export { type AIAvailableModel, type AIBatchQuestion, type AIBatchQuestionAnswer, type AIBatchQuestionOption, type AIChatMessage, type AIChatMessagePart, type AIChatMessagePartType, type AICompactionSummary, 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, ALL_ACTIONS, ALL_PIPES, ALL_SYSTEM_RESOURCES, AccessDeniedError, type AccessLevel, type Action, ActivityTabConfig, type AddAttribute$1 as AddAttribute, type AgentAttachment, type AgentAttachmentCategory, type AgentConfig, type AgentContextEntry, type AgentDashboard, type AgentDefinition, type AgentEvent, type AgentExecutionConfig, type AgentMessageAttachment, type AgentQuestion, type AgentRun, type AgentRunStatus, type AgentSchedule, type AgentSession, type AgentSessionMessage, type AgentSessionMode, type AgentSessionStatus, type AgentToolCall, type AgentTrigger, type AgentTriggerDefinition, type AgentTriggerType, type AnyAttributeBuilder, type ApiKey, type ApiKeyAuthContext, type ApiKeyPermission, type ApiKeyWithSecret, type AssignRoleInput, Attribute, AttributeGroupField, AttributeInUseError, type AttributeMap, AttributeNotFoundError, type AttributeSchema, AttributeType, type AttributeUsage, type AuditAction, type AuditActorType, type AuditChange, type AuditListOptions, type AuditLogEntry, type AuditResourceType, type AuditServiceOptions, AuthMethodSchema, BEHAVIOR_PROPERTIES, type BehaviorProperty, BilateralConfig, type BilateralValidationError, type BilateralValidationResult, type BoundingBox, type BuilderConfig, CheckboxAttribute, CompletionStatus, ConcurrentModificationError, ConditionGroup, ConditionGroupSchema, ConditionNodeSchema, ConditionOperatorSchema, ConditionRule, ConditionRuleSchema, ConfigOverrides, type CreateApiKeyInput, type CreateAuditLogInput, type CreateDBAttribute, type CreateDBObject, type CreateDBView, type CreateDBViewOverlay, type CreateDBWorkflow, type CreateDBWorkflowAccessGrant, type CreateDBWorkflowInstance, type CreateDBWorkflowInvitation, type CreateDocument, type CreateDocumentSlot, type CreateFile, type CreateGrantInput, type CreateInvitationInput, type CreateInvitationResult, CreateMode, type CreateObjectRecord, type CreatePermissionInput, type CreateProcessingJob, type CreateRoleInput, type CreateSandboxExecution, CreateShareInputSchema, type CreateUserProfile, type CriticConfig, Currency, CurrencyAttribute, type CustomAttributeValue, CustomTabConfig, type DBAttribute, type DBObject, type DBView, type DBViewOverlay, type DBWorkflow, type DBWorkflowAccessGrant, type DBWorkflowInstance, type DBWorkflowInvitation, DEFAULT_LABEL_FALLBACK, DEFAULT_ROLES, DEFAULT_ROLE_DESCRIPTIONS, DEFAULT_ROLE_FOR_NEW_USERS, DEFAULT_ROLE_LABELS, DEFAULT_ROLE_PERMISSIONS, DateAttribute, type DefaultRoleName, type DefaultRolePermissionConfig, DetailViewBuilder, DetailViewConfig, DetailViewDefinition, DetailViewLayout, type Document, DocumentAttribute, type DocumentListOptions, type DocumentSlot, type DocumentStatus, DocumentsTabConfig, DuplicateError, EMPTY_VALUE_PLACEHOLDER, type EffectivePermissions, EndNodeSchema, type ExtractAttributeName, type ExtractAttributeRequired, type ExtractAttributes, type ExtractObjectRecord, type ExtractObjectRecordWithCustom, type ExtractRecord, type ExtractRecordInput, type ExtractRecordInputStrict, type ExtractRecordStrict, type ExtractRecordUpdate, type ExtractRecordUpdateStrict, FeatureFlagDefinition, FeatureFlagsRepository, FeatureGate, Field, FieldGroup, type File, FileAttribute, type FileListOptions, FileNotFoundError, type FileVisibility, FilterState, FlagLevel, FlagRegistry, type FlagResolutionContext, FlagService, type FlagServiceOptions, FlagValueType, FlowFieldsRow, FlowHeadingRow, FlowRelationListRow, FlowRowFieldSchema, FlowRowSchema, FlowSeparatorRow, FlowTextRow, FlowsTabConfig, ForbiddenError, type FormContextResponse, type FormFieldContext, FormFieldRefSchema, type FormFieldRow, type FormFieldsRow, FormNode, type FormNodeInfo, FormNodeSchema, FormulaAttribute, FormulaReturnType, type GenerateFallbackViewOptions, type GeocodingAdapter, type GeocodingAutocompleteParams, type GeocodingParams, type GeocodingSuggestion, type GlobalSearchGroupedOptions, type GlobalSearchGroupedResult, type GlobalSearchOptions, type GlobalSearchResultItem, Group, GroupBuilder, type GroupedWorkflowNodes, IDENTITY_PROPERTIES, type IdentityProperty, type InferAttributeValue, type InferRecord, type InferRecordFromSchema, type InferRecordInput, type InferRecordUpdate, type InferRecordWithRequirements, InstanceStatus, type InvitationStatus, type InviteUserInput, type LabelExpression, type LabelPipe, type ListOptions, ListViewBuilder, ListViewConfig, ListViewDefinition, ListViewTab, ListViewTabConfigBuilder, Location, LocationAttribute, LocationGranularity, MemoryNotFoundError, type MentionEntityType, type MentionReference, type MentionedContext, type MentionedEntityContext, MigrationDefinition, type ModelDefinition, MultiRelationAttribute, MultiselectAttribute, NodePositionSchema, type NodeTypeDefinition, NoopGeocodingAdapter, NotFoundError, NotImplementedError, NotSystemObjectError, NumberAttribute, ObjectBuilder, ObjectDefinition, ObjectNotFoundError, type ObjectPermissions, ObjectRecord, ObjectReferencedError, type OcrAdapter, type OcrInput, type OcrOptions, type OcrPage, type OcrResult, type OcrTextBlock, type OperationResult, Option, PIPES_WITH_ARGS, PRESENTATION_PROPERTIES, PendingAction, type Permission, type PermissionScope, Phone, PhoneAttribute, type PhoneNormalizationResult, type PipeWithArgs, type PolicyContext, PolicyViolationError, type PresentationProperty, type ProcessingJob, type ProcessingJobStatus, type ProcessingJobType, type PropertyAttributeBuilder, ProtectedResourceError, ProtectedRoleError, type ProviderName, type QuestionResponse, type QuestionStatus, RatingAttribute, type ReadOnlyReason, type ReasoningPartData, type RecordAgentEvent, type RecordAgentTrigger, type RecordMetadata, RecordNotFoundError, type RecordPolicy, type RecordReference, RecordReferencedError, RelationAttribute, RelationBufferMap, RelationFieldConfig, RelationGroup, RelationGroupBuilder, RelationTarget, RepositoryError, type RepositoryOperation, type ResetViewOptions, ResolvedFlag, type ResumeWorkflowApiInput, type RetryPolicy, type ReverseGeocodingParams, RichtextAttribute, RichtextFeature, RichtextTabConfig, type Role, RoleNotFoundError, RollupAttribute, RollupFunction, SIMPLE_PIPES, STANDARD_SCHEMA_VENDOR, SYSTEM_ATTRIBUTES, SYSTEM_RESOURCES, SYSTEM_RESOURCE_LABELS, type SandboxExecution, type SandboxExecutionInput, type SandboxExecutionResult, type SandboxExecutionStatus, type SandboxMode, type SandboxTrigger, SchemaError, SchemaErrorCode, type SearchOptions, SelectAttribute, ShareStatusSchema, SidePanelConfig, type SimplePipe, SingleRelationAttribute, SlotMode, SlotModeSchema, type SlotStatus, SortRule, type StandardSchemaIssue, type StandardSchemaProps, type StandardSchemaResult, StartNodeSchema, type StartWorkflowApiInput, StaticFlagDefault, StatusAttribute, StorageError, type StorageOperation, type StorageProvider, SyncError, type SystemAttribute, type SystemAttributeName, type SystemFields, type SystemPermissions, type SystemResource, Tab, TabBuilder, TableTab, TableTabConfig, TenantId, TextAreaAttribute, TextAttribute, type TextPartData, ThemeColorsSchema, ThemeLogoSchema, type ThinkingPartData, type TimeoutPolicy, Timestamps, type ToolPartData, type TriggerEventType, type TypedAttribute, type TypedBuilderConfig, type TypedObjectRecord, USER_STATUSES, type UpdateDBAttribute, type UpdateDBObject, type UpdateDBView, type UpdateDBViewOverlay, type UpdateDBWorkflow, type UpdateDBWorkflowAccessGrant, type UpdateDBWorkflowInstance, type UpdateDBWorkflowInvitation, type UpdateDocument, type UpdateDocumentSlot, type UpdateFile, type UpdateProcessingJob, type UpdateRoleInput, type UpdateUserProfile, type UpsertDBAttribute, type UpsertDBObject, type UpsertDBView, UserAttribute, type UserProfile, UserProfileNotFoundError, type UserRoleAssignment, type UserStatus, Uuid, type ValidatedConditionGroup, type ValidatedWorkflowDefinition, type ValidatedWorkflowNode, ValidationError, type ValidationErrorDetail, ViewBuilder, ViewConfig, ViewDefinition, ViewType, ViewportSchema, type WithCustomAttributes$1 as WithCustomAttributes, type WorkflowAccessGrant, type WorkflowAccessMode, WorkflowBuilder, type WorkflowCompletedAgentEvent, type WorkflowCompletedAgentTrigger, WorkflowConditionBuilder, WorkflowConfig, WorkflowConfigSchema, WorkflowDefinition, WorkflowDefinitionSchema, WorkflowEndBuilder, type WorkflowEvent, type WorkflowEventType, WorkflowExecutionContext, WorkflowFormBuilder, WorkflowFormRowBuilder, type WorkflowGrantRevokedEvent, type WorkflowInstanceCancelledEvent, type WorkflowInstanceCompletedEvent, type WorkflowInstanceFailedEvent, type WorkflowInstanceStartedEvent, type WorkflowInvitation, type WorkflowInvitationAcceptedEvent, type WorkflowInvitationCreatedEvent, type WorkflowInvitationExpiredEvent, WorkflowLayout, WorkflowLayoutSchema, WorkflowNode, type WorkflowNodeCompletedEvent, type WorkflowNodeEnteredEvent, type WorkflowNodeFailedEvent, WorkflowNodeSchema, WorkflowNodeType, WorkflowShareSchema, WorkflowSimpleFormBuilder, WorkflowSlot, WorkflowSlotSchema, WorkflowStartBuilder, WorkflowStatus, WorkflowStatusSchema, WorkflowTheme, WorkflowThemeSchema, WorkflowTransition, type WorkflowZone, ZONE_CONFIG, ZONE_ORDER, accessLevelToActions, actionsToAccessLevel, applyRelationProps, assignNodeZones, booleanFlag, canAccessNode, checkbox, createFlagRegistry, createFlagService, createStandardSchemaProps, currency, date, detailView, document, extractAttributeNames, file, flagRegistry, formatAttributeValue, formatPhoneForDisplay, formula, generateDefaultDetailView, generateDefaultListView, generateFallbackView, getActiveTab, getErrorMessage, getFormFieldRefs, getNodeOutputs, getNodeSlotIds, getSystemAttributeList, getZoneAllowedTypes, group, groupNodesByZone, hasProperties, isAccessDeniedError, isBehaviorProperty, isDefaultRole, isEmpty, isForbiddenError, isFormFieldsRow, isGrantExpired, isGrantRevoked, isGrantValid, isIdentityProperty, isInstanceEvent, isInvitationAccepted, isInvitationExpired, isInvitationOrGrantEvent, isInvitationValid, isLabelExpression, isNodeEvent, isNotEmpty, isNotFoundError, isNotImplementedError, isPresentationProperty, isProtectedResourceError, isRepositoryError, isSchemaError, isStandardSchema, isStorageError, isSystemAttribute, isSystemAttributeObject, isTokenRevoked, isValidationError, isViewCustomized, jsonFlag, labelExpressionSchema, listView, location, multiselect, nodeTypeRegistry, normalizePhoneNumber, number, numberFlag, object, objectToJSONSchema, objectValidatorToJSONSchema, parseRawPhoneInput, phone, rating, registerBuiltInNodeTypes, registry, relation, relationGroup, renderLabelExpression, resetViewToDefault, richtext, rollup, select, setNodeNext, status, stringFlag, text, textarea, toUndefinedIfEmpty, user, validateLabelExpression, validateNode, validatePhoneNumber, view, viewRegistry, workflow };
|