@mdxui/do 2.1.1 → 4.0.0
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/README.md +115 -323
- package/dist/{agents-xcIn2dUB.d.ts → agents-2_r9e9i7.d.ts} +213 -2
- package/dist/app/index.d.ts +347 -0
- package/dist/app/index.js +14 -0
- package/dist/app/index.js.map +1 -0
- package/dist/breadcrumbs-C9Qn3S7d.d.ts +81 -0
- package/dist/capnweb-client-Bq78FtEA.d.ts +229 -0
- package/dist/chunk-3XKYQRXY.js +192 -0
- package/dist/chunk-3XKYQRXY.js.map +1 -0
- package/dist/chunk-4KXVN3EQ.js +56 -0
- package/dist/chunk-4KXVN3EQ.js.map +1 -0
- package/dist/chunk-5SHZZC7L.js +234 -0
- package/dist/chunk-5SHZZC7L.js.map +1 -0
- package/dist/chunk-7UFINK3Q.js +1994 -0
- package/dist/chunk-7UFINK3Q.js.map +1 -0
- package/dist/chunk-JJLAES6W.js +76 -0
- package/dist/chunk-JJLAES6W.js.map +1 -0
- package/dist/chunk-KT52UU3U.js +985 -0
- package/dist/chunk-KT52UU3U.js.map +1 -0
- package/dist/chunk-LJIWB7KE.js +95 -0
- package/dist/chunk-LJIWB7KE.js.map +1 -0
- package/dist/chunk-NA652ART.js +596 -0
- package/dist/chunk-NA652ART.js.map +1 -0
- package/dist/chunk-OVLO7UOH.js +1071 -0
- package/dist/chunk-OVLO7UOH.js.map +1 -0
- package/dist/chunk-VRLUXCLD.js +31 -0
- package/dist/chunk-VRLUXCLD.js.map +1 -0
- package/dist/chunk-WMNT4OIE.js +249 -0
- package/dist/chunk-WMNT4OIE.js.map +1 -0
- package/dist/chunk-Y52IEYVM.js +131 -0
- package/dist/chunk-Y52IEYVM.js.map +1 -0
- package/dist/components/index.d.ts +14 -732
- package/dist/components/index.js +3 -6
- package/dist/config-CxvpD8Y6.d.ts +111 -0
- package/dist/{do-CaQVueZw.d.ts → do-D27i5bU0.d.ts} +32 -33
- package/dist/errors-DratdVIz.d.ts +346 -0
- package/dist/hooks/index.d.ts +450 -691
- package/dist/hooks/index.js +6 -4
- package/dist/hooks/things/index.d.ts +298 -0
- package/dist/hooks/things/index.js +8 -0
- package/dist/hooks/things/index.js.map +1 -0
- package/dist/index.d.ts +62 -989
- package/dist/index.js +12 -839
- package/dist/index.js.map +1 -1
- package/dist/lib/index.d.ts +798 -0
- package/dist/lib/index.js +6 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/providers/index.d.ts +130 -34
- package/dist/providers/index.js +3 -2
- package/dist/query-keys-CZNFikIi.d.ts +153 -0
- package/dist/schemas/index.d.ts +5 -5
- package/dist/schemas/index.js +2 -2
- package/dist/schemas/index.js.map +1 -1
- package/dist/{thing-DtI25yZh.d.ts → thing-BF25aUtJ.d.ts} +72 -72
- package/dist/types/index.d.ts +693 -658
- package/dist/types/index.js +1 -2
- package/dist/views/index.d.ts +131 -0
- package/dist/views/index.js +11 -0
- package/dist/views/index.js.map +1 -0
- package/package.json +39 -17
- package/dist/__test-utils__/index.d.ts +0 -399
- package/dist/__test-utils__/index.js +0 -34641
- package/dist/__test-utils__/index.js.map +0 -1
- package/dist/chunk-EEDMN7UF.js +0 -1351
- package/dist/chunk-EEDMN7UF.js.map +0 -1
- package/dist/chunk-G3PMV62Z.js +0 -33
- package/dist/chunk-G3PMV62Z.js.map +0 -1
- package/dist/chunk-NXPXL5NA.js +0 -3789
- package/dist/chunk-NXPXL5NA.js.map +0 -1
- package/dist/chunk-PC5FJY6M.js +0 -20
- package/dist/chunk-PC5FJY6M.js.map +0 -1
- package/dist/chunk-XF6LKY2M.js +0 -445
- package/dist/chunk-XF6LKY2M.js.map +0 -1
- package/dist/magic-string.es-J7BYFTTJ.js +0 -1307
- package/dist/magic-string.es-J7BYFTTJ.js.map +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,221 +1,83 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExecutionError, TokenUsage, EntityReference, SortDirection } from '../schemas/index.js';
|
|
2
2
|
export { PaginatedResponse, Pagination } from '../schemas/index.js';
|
|
3
|
-
export {
|
|
4
|
-
export { N as Namespace,
|
|
3
|
+
export { i as DOAdminConfig, c as DOAlarm, e as DOBinding, a as DOClassType, g as DOHealthCheck, b as DOInstance, h as DOMetrics, f as DORPCMethod, D as DOStatus, d as DOStorageEntry, S as SyncStatus } from '../do-D27i5bU0.js';
|
|
4
|
+
export { N as Namespace, b as SemanticProperty, S as SemanticType, T as Thing, g as ThingCreateInput, a as ThingData, i as ThingDeleteOptions, c as ThingFilter, e as ThingPagination, f as ThingQueryResult, d as ThingSort, h as ThingUpdateInput, j as ThingVersion, k as TypeStats } from '../thing-BF25aUtJ.js';
|
|
5
|
+
export { A as AIStepConfig, I as Agent, a0 as AgentArtifact, L as AgentClassification, Y as AgentExecution, a6 as AgentExecutionFilter, Z as AgentExecutionStatus, a4 as AgentFeedback, a5 as AgentFilter, Q as AgentGuardrail, a2 as AgentHandoff, _ as AgentInput, X as AgentMetrics, $ as AgentOutput, V as AgentStatus, a1 as AgentTrace, J as AgentType, O as CharacterBible, C as ChoiceCondition, t as CompensationConfig, D as DatabaseStepConfig, s as ErrorHandlingConfig, q as EventStepConfig, E as EventTrigger, y as ExecutionContext, F as ExecutionFilter, v as ExecutionStatus, g as GraphPath, G as GraphPattern, h as GraphStats, f as GraphTraversalResult, a3 as GuardrailViolation, U as HandoffRule, H as HttpStepConfig, M as ManualTrigger, N as NotificationConfig, P as PredicateDefinition, R as Relationship, d as RelationshipCreateInput, e as RelationshipFilter, b as RelationshipMetadata, r as RetryConfig, K as RoleCategory, k as ScheduleTrigger, a as SemanticPredicate, S as SemanticPredicateCategory, c as SemanticTriple, p as StepConfig, z as StepExecution, n as StepType, j as TriggerBase, x as TriggerData, T as TriggerType, l as WebhookTrigger, i as Workflow, u as WorkflowConfig, w as WorkflowExecution, B as WorkflowFilter, W as WorkflowStatus, o as WorkflowStep, m as WorkflowTrigger } from '../agents-2_r9e9i7.js';
|
|
5
6
|
import { z } from 'zod';
|
|
6
|
-
export { A as AIStepConfig, s as Agent, K as AgentArtifact, v as AgentClassification, F as AgentExecution, V as AgentExecutionFilter, G as AgentExecutionStatus, Q as AgentFeedback, U as AgentFilter, x as AgentGuardrail, O as AgentHandoff, I as AgentInput, B as AgentMetrics, J as AgentOutput, z as AgentStatus, L as AgentTrace, t as AgentType, w as CharacterBible, C as ChoiceCondition, j as CompensationConfig, D as DatabaseStepConfig, i as ErrorHandlingConfig, h as EventStepConfig, E as EventTrigger, o as ExecutionContext, r as ExecutionFilter, l as ExecutionStatus, P as GuardrailViolation, y as HandoffRule, H as HttpStepConfig, M as ManualTrigger, N as NotificationConfig, R as RetryConfig, u as RoleCategory, S as ScheduleTrigger, g as StepConfig, p as StepExecution, e as StepType, b as TriggerBase, n as TriggerData, T as TriggerType, c as WebhookTrigger, a as Workflow, k as WorkflowConfig, m as WorkflowExecution, q as WorkflowFilter, W as WorkflowStatus, f as WorkflowStep, d as WorkflowTrigger } from '../agents-xcIn2dUB.js';
|
|
7
7
|
import { ComponentType, ReactNode } from 'react';
|
|
8
|
+
export { a as DOBranding, c as DOCustomRoute, D as DOIdentity, d as DOShellConfig, b as DOTheme } from '../config-CxvpD8Y6.js';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
|
-
*
|
|
11
|
+
* Filter Types for @mdxui/do
|
|
11
12
|
*
|
|
12
|
-
*
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
|
|
47
|
-
/** Creation timestamp */
|
|
48
|
-
createdAt: Date;
|
|
49
|
-
/** Creator user ID */
|
|
50
|
-
createdBy: string;
|
|
51
|
-
/** Soft delete timestamp */
|
|
52
|
-
deletedAt?: Date | null;
|
|
53
|
-
/** Deleter user ID */
|
|
54
|
-
deletedBy?: string;
|
|
55
|
-
/** Additional relationship metadata */
|
|
56
|
-
metadata: RelationshipMetadata;
|
|
13
|
+
* Types for multi-condition filtering in data views.
|
|
14
|
+
*/
|
|
15
|
+
/** Text filter operators */
|
|
16
|
+
type TextFilterOperator = 'contains' | 'equals' | 'startsWith' | 'endsWith' | 'isEmpty' | 'isNotEmpty';
|
|
17
|
+
/** Number filter operators */
|
|
18
|
+
type NumberFilterOperator = 'equals' | 'notEquals' | 'gt' | 'lt' | 'gte' | 'lte' | 'between' | 'isEmpty' | 'isNotEmpty';
|
|
19
|
+
/** Boolean filter operators */
|
|
20
|
+
type BooleanFilterOperator = 'isTrue' | 'isFalse' | 'isEmpty';
|
|
21
|
+
/** Date filter operators */
|
|
22
|
+
type DateFilterOperator = 'equals' | 'before' | 'after' | 'between' | 'isEmpty' | 'isNotEmpty';
|
|
23
|
+
/** Union of all filter operators */
|
|
24
|
+
type FilterOperator = TextFilterOperator | NumberFilterOperator | BooleanFilterOperator | DateFilterOperator;
|
|
25
|
+
/** Single filter condition */
|
|
26
|
+
interface FilterCondition {
|
|
27
|
+
/** Unique identifier for this filter */
|
|
28
|
+
id: string;
|
|
29
|
+
/** Column to filter on */
|
|
30
|
+
column: string;
|
|
31
|
+
/** Filter operator */
|
|
32
|
+
operator: FilterOperator;
|
|
33
|
+
/** Primary filter value */
|
|
34
|
+
value: string;
|
|
35
|
+
/** Secondary value for 'between' operator */
|
|
36
|
+
value2?: string;
|
|
37
|
+
}
|
|
38
|
+
/** Supported column data types for filtering */
|
|
39
|
+
type FilterColumnDataType = 'text' | 'number' | 'boolean' | 'date' | 'email' | 'json' | 'enum';
|
|
40
|
+
/** Column definition for filtering */
|
|
41
|
+
interface FilterColumn {
|
|
42
|
+
/** Key to access the column value in data objects */
|
|
43
|
+
accessorKey: string;
|
|
44
|
+
/** Display name for the column */
|
|
45
|
+
header: string;
|
|
46
|
+
/** Data type of the column */
|
|
47
|
+
dataType: FilterColumnDataType;
|
|
57
48
|
}
|
|
49
|
+
|
|
58
50
|
/**
|
|
59
|
-
*
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
51
|
+
* Export Types
|
|
52
|
+
*
|
|
53
|
+
* Type definitions for data export functionality.
|
|
54
|
+
*/
|
|
55
|
+
/** Supported export formats */
|
|
56
|
+
type ExportFormat = 'json' | 'yaml' | 'csv' | 'jsonl';
|
|
57
|
+
/** Scope of data to export */
|
|
58
|
+
type ExportScope = 'visible' | 'filtered' | 'all';
|
|
59
|
+
/** Export configuration */
|
|
60
|
+
interface ExportConfig {
|
|
61
|
+
/** Output format */
|
|
62
|
+
format: ExportFormat;
|
|
63
|
+
/** Data scope to export */
|
|
64
|
+
scope: ExportScope;
|
|
65
|
+
}
|
|
66
|
+
/** Format metadata for display and file operations */
|
|
67
|
+
interface ExportFormatMeta {
|
|
68
|
+
/** Format identifier */
|
|
69
|
+
value: ExportFormat;
|
|
70
|
+
/** Display label */
|
|
75
71
|
label: string;
|
|
76
|
-
/**
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
validFromTypes: string[];
|
|
86
|
-
/** Valid target types (empty = any) */
|
|
87
|
-
validToTypes: string[];
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Additional metadata for relationships
|
|
91
|
-
*/
|
|
92
|
-
interface RelationshipMetadata {
|
|
93
|
-
/** Relationship strength/weight (0-1) */
|
|
94
|
-
weight?: number;
|
|
95
|
-
/** Confidence score (0-1) */
|
|
96
|
-
confidence?: number;
|
|
97
|
-
/** Source of the relationship (manual, inferred, imported) */
|
|
98
|
-
source?: 'manual' | 'inferred' | 'imported' | 'system';
|
|
99
|
-
/** Start date (for temporal relationships) */
|
|
100
|
-
startDate?: Date;
|
|
101
|
-
/** End date (for temporal relationships) */
|
|
102
|
-
endDate?: Date;
|
|
103
|
-
/** Additional properties */
|
|
104
|
-
[key: string]: unknown;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Semantic triple representation ($.Subject.predicate.Object)
|
|
108
|
-
*/
|
|
109
|
-
interface SemanticTriple {
|
|
110
|
-
/** Subject (from) entity reference */
|
|
111
|
-
subject: EntityReference;
|
|
112
|
-
/** Predicate (relationship type) */
|
|
113
|
-
predicate: SemanticPredicate;
|
|
114
|
-
/** Object (to) entity reference */
|
|
115
|
-
object: EntityReference;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Graph query pattern for finding relationships
|
|
119
|
-
*/
|
|
120
|
-
interface GraphPattern {
|
|
121
|
-
/** Subject pattern (supports wildcards) */
|
|
122
|
-
subject?: Partial<EntityReference> & {
|
|
123
|
-
pattern?: string;
|
|
124
|
-
};
|
|
125
|
-
/** Predicate filter */
|
|
126
|
-
predicate?: SemanticPredicate | SemanticPredicate[];
|
|
127
|
-
/** Object pattern (supports wildcards) */
|
|
128
|
-
object?: Partial<EntityReference> & {
|
|
129
|
-
pattern?: string;
|
|
130
|
-
};
|
|
131
|
-
/** Maximum depth for traversal */
|
|
132
|
-
depth?: number;
|
|
133
|
-
/** Direction of traversal */
|
|
134
|
-
direction?: 'outgoing' | 'incoming' | 'both';
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Relationship creation payload
|
|
138
|
-
*/
|
|
139
|
-
interface RelationshipCreateInput {
|
|
140
|
-
/** Predicate type */
|
|
141
|
-
relationshipType: SemanticPredicate;
|
|
142
|
-
/** Source entity */
|
|
143
|
-
from: EntityReference;
|
|
144
|
-
/** Target entity */
|
|
145
|
-
to: EntityReference;
|
|
146
|
-
/** Metadata */
|
|
147
|
-
metadata?: RelationshipMetadata;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Query filters for relationships
|
|
151
|
-
*/
|
|
152
|
-
interface RelationshipFilter {
|
|
153
|
-
/** Filter by predicate type */
|
|
154
|
-
predicates?: SemanticPredicate[];
|
|
155
|
-
/** Filter by source entity */
|
|
156
|
-
from?: Partial<EntityReference>;
|
|
157
|
-
/** Filter by target entity */
|
|
158
|
-
to?: Partial<EntityReference>;
|
|
159
|
-
/** Filter by category */
|
|
160
|
-
categories?: SemanticPredicateCategory[];
|
|
161
|
-
/** Include deleted */
|
|
162
|
-
includeDeleted?: boolean;
|
|
163
|
-
/** Filter by metadata */
|
|
164
|
-
metadata?: Partial<RelationshipMetadata>;
|
|
165
|
-
/** Date range */
|
|
166
|
-
createdAfter?: Date;
|
|
167
|
-
createdBefore?: Date;
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* Graph traversal result
|
|
171
|
-
*/
|
|
172
|
-
interface GraphTraversalResult {
|
|
173
|
-
/** Root entity */
|
|
174
|
-
root: EntityReference;
|
|
175
|
-
/** All nodes found */
|
|
176
|
-
nodes: EntityReference[];
|
|
177
|
-
/** All edges (relationships) found */
|
|
178
|
-
edges: Relationship[];
|
|
179
|
-
/** Traversal depth reached */
|
|
180
|
-
depth: number;
|
|
181
|
-
/** Paths from root to each node */
|
|
182
|
-
paths: GraphPath[];
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* A path in the graph
|
|
186
|
-
*/
|
|
187
|
-
interface GraphPath {
|
|
188
|
-
/** Starting node */
|
|
189
|
-
start: EntityReference;
|
|
190
|
-
/** Ending node */
|
|
191
|
-
end: EntityReference;
|
|
192
|
-
/** Edges traversed */
|
|
193
|
-
edges: Relationship[];
|
|
194
|
-
/** Total weight (sum of edge weights) */
|
|
195
|
-
totalWeight: number;
|
|
196
|
-
/** Path length (number of edges) */
|
|
197
|
-
length: number;
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* Statistics for the relationship graph
|
|
201
|
-
*/
|
|
202
|
-
interface GraphStats {
|
|
203
|
-
/** Total relationships */
|
|
204
|
-
totalRelationships: number;
|
|
205
|
-
/** Active relationships (not deleted) */
|
|
206
|
-
activeRelationships: number;
|
|
207
|
-
/** Count by predicate type */
|
|
208
|
-
byPredicate: Record<string, number>;
|
|
209
|
-
/** Count by category */
|
|
210
|
-
byCategory: Record<SemanticPredicateCategory, number>;
|
|
211
|
-
/** Average degree (connections per node) */
|
|
212
|
-
averageDegree: number;
|
|
213
|
-
/** Most connected nodes */
|
|
214
|
-
topConnectedNodes: Array<{
|
|
215
|
-
entity: EntityReference;
|
|
216
|
-
degree: number;
|
|
217
|
-
}>;
|
|
218
|
-
}
|
|
72
|
+
/** File extension (without dot) */
|
|
73
|
+
extension: string;
|
|
74
|
+
/** MIME type */
|
|
75
|
+
mime: string;
|
|
76
|
+
}
|
|
77
|
+
/** Available export formats with metadata */
|
|
78
|
+
declare const EXPORT_FORMATS: ExportFormatMeta[];
|
|
79
|
+
/** Get format metadata by format value */
|
|
80
|
+
declare function getFormatMeta(format: ExportFormat): ExportFormatMeta | undefined;
|
|
219
81
|
|
|
220
82
|
/**
|
|
221
83
|
* Functions Types - Four Categories of Executable Operations
|
|
@@ -1697,6 +1559,179 @@ interface APIKeyFilter {
|
|
|
1697
1559
|
expired?: boolean;
|
|
1698
1560
|
}
|
|
1699
1561
|
|
|
1562
|
+
/**
|
|
1563
|
+
* Data Grid Types
|
|
1564
|
+
*
|
|
1565
|
+
* Types for the DatabaseGrid component and related utilities.
|
|
1566
|
+
* Defines column definitions, data types, and cell values for
|
|
1567
|
+
* spreadsheet-style data editing.
|
|
1568
|
+
*/
|
|
1569
|
+
/**
|
|
1570
|
+
* Supported data types for grid columns
|
|
1571
|
+
*
|
|
1572
|
+
* These map to editor components and formatting behavior:
|
|
1573
|
+
* - text: TextEditor, string display
|
|
1574
|
+
* - number: NumberEditor, numeric display with tabular-nums
|
|
1575
|
+
* - boolean: BooleanEditor, toggle switch display
|
|
1576
|
+
* - date: DateEditor (date only), date display
|
|
1577
|
+
* - datetime: DateEditor (with time), datetime display
|
|
1578
|
+
* - email: TextEditor, email validation
|
|
1579
|
+
* - enum: SelectEditor, dropdown display
|
|
1580
|
+
* - json: JsonEditor, JSON display with expand/collapse
|
|
1581
|
+
*/
|
|
1582
|
+
type DataType = 'text' | 'number' | 'boolean' | 'date' | 'datetime' | 'email' | 'enum' | 'json';
|
|
1583
|
+
/**
|
|
1584
|
+
* Cell value type for data grid - can be any primitive, object, or array
|
|
1585
|
+
*
|
|
1586
|
+
* This is intentionally loose to support:
|
|
1587
|
+
* - Primitive values: string, number, boolean
|
|
1588
|
+
* - Null/undefined for empty cells
|
|
1589
|
+
* - Objects/arrays for JSON columns
|
|
1590
|
+
*
|
|
1591
|
+
* Note: Named GridCellValue to avoid conflict with CellValue from database-editor
|
|
1592
|
+
*/
|
|
1593
|
+
type GridCellValue = unknown;
|
|
1594
|
+
/**
|
|
1595
|
+
* Column definition for database grid
|
|
1596
|
+
*
|
|
1597
|
+
* Extends TanStack Table's column concept with database-specific
|
|
1598
|
+
* metadata like data type, constraints, and PostgreSQL type info.
|
|
1599
|
+
*
|
|
1600
|
+
* @example
|
|
1601
|
+
* ```ts
|
|
1602
|
+
* const columns: DatabaseColumnDef[] = [
|
|
1603
|
+
* {
|
|
1604
|
+
* accessorKey: 'id',
|
|
1605
|
+
* header: 'ID',
|
|
1606
|
+
* dataType: 'number',
|
|
1607
|
+
* isPrimaryKey: true,
|
|
1608
|
+
* editable: false,
|
|
1609
|
+
* },
|
|
1610
|
+
* {
|
|
1611
|
+
* accessorKey: 'name',
|
|
1612
|
+
* header: 'Name',
|
|
1613
|
+
* dataType: 'text',
|
|
1614
|
+
* editable: true,
|
|
1615
|
+
* },
|
|
1616
|
+
* {
|
|
1617
|
+
* accessorKey: 'status',
|
|
1618
|
+
* header: 'Status',
|
|
1619
|
+
* dataType: 'enum',
|
|
1620
|
+
* enumValues: ['pending', 'active', 'completed'],
|
|
1621
|
+
* editable: true,
|
|
1622
|
+
* },
|
|
1623
|
+
* ]
|
|
1624
|
+
* ```
|
|
1625
|
+
*/
|
|
1626
|
+
interface DatabaseColumnDef {
|
|
1627
|
+
/** Key to access the value in the row data object */
|
|
1628
|
+
accessorKey: string;
|
|
1629
|
+
/** Display header for the column */
|
|
1630
|
+
header: string;
|
|
1631
|
+
/** Data type for editor selection and formatting */
|
|
1632
|
+
dataType: DataType;
|
|
1633
|
+
/** Whether this column is a primary key */
|
|
1634
|
+
isPrimaryKey?: boolean;
|
|
1635
|
+
/** Whether this column has a unique constraint */
|
|
1636
|
+
isUnique?: boolean;
|
|
1637
|
+
/** Whether the column is nullable (affects editor behavior) */
|
|
1638
|
+
nullable?: boolean;
|
|
1639
|
+
/** Whether the cell can be edited (default: true) */
|
|
1640
|
+
editable?: boolean;
|
|
1641
|
+
/** For enum columns, the list of allowed values */
|
|
1642
|
+
enumValues?: string[];
|
|
1643
|
+
/** Original PostgreSQL column type (for advanced use cases) */
|
|
1644
|
+
postgresType?: string;
|
|
1645
|
+
/** Width of the column in pixels (optional) */
|
|
1646
|
+
width?: number;
|
|
1647
|
+
/** Minimum width of the column in pixels */
|
|
1648
|
+
minWidth?: number;
|
|
1649
|
+
/** Maximum width of the column in pixels */
|
|
1650
|
+
maxWidth?: number;
|
|
1651
|
+
/** Whether the column is hidden */
|
|
1652
|
+
hidden?: boolean;
|
|
1653
|
+
/** Custom cell renderer function */
|
|
1654
|
+
cell?: (value: GridCellValue, row: Record<string, GridCellValue>) => React.ReactNode;
|
|
1655
|
+
/** Custom header renderer function */
|
|
1656
|
+
headerCell?: () => React.ReactNode;
|
|
1657
|
+
/** For numeric columns, number of decimal places */
|
|
1658
|
+
numericPrecision?: number;
|
|
1659
|
+
/** For numeric columns, number of decimal scale */
|
|
1660
|
+
numericScale?: number;
|
|
1661
|
+
/** Default value for new rows */
|
|
1662
|
+
defaultValue?: GridCellValue;
|
|
1663
|
+
/** Description/tooltip for the column */
|
|
1664
|
+
description?: string;
|
|
1665
|
+
}
|
|
1666
|
+
/**
|
|
1667
|
+
* Row data type - a record with string keys and cell values
|
|
1668
|
+
*/
|
|
1669
|
+
type GridRowData = Record<string, GridCellValue>;
|
|
1670
|
+
/**
|
|
1671
|
+
* Selection state for grid rows
|
|
1672
|
+
*/
|
|
1673
|
+
interface GridSelection {
|
|
1674
|
+
/** Selected row indices */
|
|
1675
|
+
rows: Set<number>;
|
|
1676
|
+
/** Selected column keys */
|
|
1677
|
+
columns: Set<string>;
|
|
1678
|
+
/** Currently focused cell */
|
|
1679
|
+
focusedCell?: {
|
|
1680
|
+
rowIndex: number;
|
|
1681
|
+
columnKey: string;
|
|
1682
|
+
};
|
|
1683
|
+
}
|
|
1684
|
+
/**
|
|
1685
|
+
* Sort state for a column
|
|
1686
|
+
*/
|
|
1687
|
+
interface GridSortState {
|
|
1688
|
+
/** Column key to sort by */
|
|
1689
|
+
columnKey: string;
|
|
1690
|
+
/** Sort direction */
|
|
1691
|
+
direction: 'asc' | 'desc';
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* Filter state for a column
|
|
1695
|
+
*/
|
|
1696
|
+
interface GridFilterState {
|
|
1697
|
+
/** Column key to filter */
|
|
1698
|
+
columnKey: string;
|
|
1699
|
+
/** Filter operator */
|
|
1700
|
+
operator: 'equals' | 'notEquals' | 'contains' | 'startsWith' | 'endsWith' | 'greaterThan' | 'lessThan' | 'greaterThanOrEqual' | 'lessThanOrEqual' | 'isNull' | 'isNotNull';
|
|
1701
|
+
/** Filter value */
|
|
1702
|
+
value?: GridCellValue;
|
|
1703
|
+
}
|
|
1704
|
+
/**
|
|
1705
|
+
* Edit state for tracking pending changes
|
|
1706
|
+
*/
|
|
1707
|
+
interface GridEditState {
|
|
1708
|
+
/** Row index being edited */
|
|
1709
|
+
rowIndex: number;
|
|
1710
|
+
/** Column key being edited */
|
|
1711
|
+
columnKey: string;
|
|
1712
|
+
/** Original value before edit */
|
|
1713
|
+
originalValue: GridCellValue;
|
|
1714
|
+
/** Current edited value */
|
|
1715
|
+
currentValue: GridCellValue;
|
|
1716
|
+
}
|
|
1717
|
+
/**
|
|
1718
|
+
* Pending change for batch save operations in data grid
|
|
1719
|
+
*
|
|
1720
|
+
* Note: Named GridPendingChange to avoid conflict with PendingChange from database-editor
|
|
1721
|
+
*/
|
|
1722
|
+
interface GridPendingChange {
|
|
1723
|
+
/** Row identifier (usually primary key value) */
|
|
1724
|
+
rowId: GridCellValue;
|
|
1725
|
+
/** Column key that changed */
|
|
1726
|
+
columnKey: string;
|
|
1727
|
+
/** Previous value */
|
|
1728
|
+
oldValue: GridCellValue;
|
|
1729
|
+
/** New value */
|
|
1730
|
+
newValue: GridCellValue;
|
|
1731
|
+
/** Timestamp of change */
|
|
1732
|
+
timestamp: number;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1700
1735
|
/**
|
|
1701
1736
|
* Database Editor Types
|
|
1702
1737
|
*
|
|
@@ -2688,11 +2723,11 @@ declare const ThingSortSchema: z.ZodObject<{
|
|
|
2688
2723
|
/** Sort direction */
|
|
2689
2724
|
order: z.ZodEnum<["asc", "desc"]>;
|
|
2690
2725
|
}, "strip", z.ZodTypeAny, {
|
|
2726
|
+
order: "desc" | "asc";
|
|
2691
2727
|
field: "type" | "name" | "ts" | "createdAt" | "updatedAt";
|
|
2692
|
-
order: "asc" | "desc";
|
|
2693
2728
|
}, {
|
|
2729
|
+
order: "desc" | "asc";
|
|
2694
2730
|
field: "type" | "name" | "ts" | "createdAt" | "updatedAt";
|
|
2695
|
-
order: "asc" | "desc";
|
|
2696
2731
|
}>;
|
|
2697
2732
|
/**
|
|
2698
2733
|
* Schema for ThingPagination - validates pagination parameters
|
|
@@ -2772,9 +2807,6 @@ declare const ThingCreateInputSchema: z.ZodObject<{
|
|
|
2772
2807
|
/** Variant for A/B testing */
|
|
2773
2808
|
variant: z.ZodOptional<z.ZodString>;
|
|
2774
2809
|
}, "strip", z.ZodTypeAny, {
|
|
2775
|
-
type: string;
|
|
2776
|
-
ns: string;
|
|
2777
|
-
name: string;
|
|
2778
2810
|
data: {
|
|
2779
2811
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
2780
2812
|
'@type'?: string | undefined;
|
|
@@ -2782,12 +2814,12 @@ declare const ThingCreateInputSchema: z.ZodObject<{
|
|
|
2782
2814
|
} & {
|
|
2783
2815
|
[k: string]: unknown;
|
|
2784
2816
|
};
|
|
2817
|
+
type: string;
|
|
2818
|
+
name: string;
|
|
2819
|
+
ns: string;
|
|
2785
2820
|
id?: string | undefined;
|
|
2786
2821
|
variant?: string | undefined;
|
|
2787
2822
|
}, {
|
|
2788
|
-
type: string;
|
|
2789
|
-
ns: string;
|
|
2790
|
-
name: string;
|
|
2791
2823
|
data: {
|
|
2792
2824
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
2793
2825
|
'@type'?: string | undefined;
|
|
@@ -2795,6 +2827,9 @@ declare const ThingCreateInputSchema: z.ZodObject<{
|
|
|
2795
2827
|
} & {
|
|
2796
2828
|
[k: string]: unknown;
|
|
2797
2829
|
};
|
|
2830
|
+
type: string;
|
|
2831
|
+
name: string;
|
|
2832
|
+
ns: string;
|
|
2798
2833
|
id?: string | undefined;
|
|
2799
2834
|
variant?: string | undefined;
|
|
2800
2835
|
}>;
|
|
@@ -2821,20 +2856,20 @@ declare const ThingUpdateInputSchema: z.ZodObject<{
|
|
|
2821
2856
|
/** Updated variant */
|
|
2822
2857
|
variant: z.ZodOptional<z.ZodString>;
|
|
2823
2858
|
}, "strip", z.ZodTypeAny, {
|
|
2824
|
-
name?: string | undefined;
|
|
2825
2859
|
data?: z.objectOutputType<{
|
|
2826
2860
|
'@context': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
2827
2861
|
'@type': z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2828
2862
|
'@id': z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2829
2863
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2864
|
+
name?: string | undefined;
|
|
2830
2865
|
variant?: string | undefined;
|
|
2831
2866
|
}, {
|
|
2832
|
-
name?: string | undefined;
|
|
2833
2867
|
data?: z.objectInputType<{
|
|
2834
2868
|
'@context': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
|
|
2835
2869
|
'@type': z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2836
2870
|
'@id': z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2837
2871
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2872
|
+
name?: string | undefined;
|
|
2838
2873
|
variant?: string | undefined;
|
|
2839
2874
|
}>;
|
|
2840
2875
|
/**
|
|
@@ -2979,12 +3014,12 @@ declare const AgentFeedbackInputSchema: z.ZodObject<{
|
|
|
2979
3014
|
categories: z.ZodOptional<z.ZodArray<z.ZodEnum<["accurate", "helpful", "fast", "clear", "wrong", "slow", "confusing"]>, "many">>;
|
|
2980
3015
|
}, "strip", z.ZodTypeAny, {
|
|
2981
3016
|
rating: number;
|
|
3017
|
+
categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
2982
3018
|
comment?: string | undefined;
|
|
2983
|
-
categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
2984
3019
|
}, {
|
|
2985
3020
|
rating: number;
|
|
3021
|
+
categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
2986
3022
|
comment?: string | undefined;
|
|
2987
|
-
categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
2988
3023
|
}>;
|
|
2989
3024
|
/**
|
|
2990
3025
|
* Schema for WorkflowFilter - validates query parameters for listing workflows
|
|
@@ -3091,17 +3126,17 @@ declare const EntityReferenceSchema: z.ZodObject<{
|
|
|
3091
3126
|
/** Display name (if loaded) */
|
|
3092
3127
|
name: z.ZodOptional<z.ZodString>;
|
|
3093
3128
|
}, "strip", z.ZodTypeAny, {
|
|
3129
|
+
id: string;
|
|
3094
3130
|
type: string;
|
|
3095
3131
|
ns: string;
|
|
3096
|
-
id: string;
|
|
3097
|
-
semanticId?: string | undefined;
|
|
3098
3132
|
name?: string | undefined;
|
|
3133
|
+
semanticId?: string | undefined;
|
|
3099
3134
|
}, {
|
|
3135
|
+
id: string;
|
|
3100
3136
|
type: string;
|
|
3101
3137
|
ns: string;
|
|
3102
|
-
id: string;
|
|
3103
|
-
semanticId?: string | undefined;
|
|
3104
3138
|
name?: string | undefined;
|
|
3139
|
+
semanticId?: string | undefined;
|
|
3105
3140
|
}>;
|
|
3106
3141
|
/**
|
|
3107
3142
|
* Schema for partial EntityReference (used in filters)
|
|
@@ -3365,17 +3400,17 @@ declare const RelationshipCreateInputSchema: z.ZodObject<{
|
|
|
3365
3400
|
/** Display name (if loaded) */
|
|
3366
3401
|
name: z.ZodOptional<z.ZodString>;
|
|
3367
3402
|
}, "strip", z.ZodTypeAny, {
|
|
3403
|
+
id: string;
|
|
3368
3404
|
type: string;
|
|
3369
3405
|
ns: string;
|
|
3370
|
-
id: string;
|
|
3371
|
-
semanticId?: string | undefined;
|
|
3372
3406
|
name?: string | undefined;
|
|
3407
|
+
semanticId?: string | undefined;
|
|
3373
3408
|
}, {
|
|
3409
|
+
id: string;
|
|
3374
3410
|
type: string;
|
|
3375
3411
|
ns: string;
|
|
3376
|
-
id: string;
|
|
3377
|
-
semanticId?: string | undefined;
|
|
3378
3412
|
name?: string | undefined;
|
|
3413
|
+
semanticId?: string | undefined;
|
|
3379
3414
|
}>;
|
|
3380
3415
|
/** Target entity (required) */
|
|
3381
3416
|
to: z.ZodObject<{
|
|
@@ -3390,17 +3425,17 @@ declare const RelationshipCreateInputSchema: z.ZodObject<{
|
|
|
3390
3425
|
/** Display name (if loaded) */
|
|
3391
3426
|
name: z.ZodOptional<z.ZodString>;
|
|
3392
3427
|
}, "strip", z.ZodTypeAny, {
|
|
3428
|
+
id: string;
|
|
3393
3429
|
type: string;
|
|
3394
3430
|
ns: string;
|
|
3395
|
-
id: string;
|
|
3396
|
-
semanticId?: string | undefined;
|
|
3397
3431
|
name?: string | undefined;
|
|
3432
|
+
semanticId?: string | undefined;
|
|
3398
3433
|
}, {
|
|
3434
|
+
id: string;
|
|
3399
3435
|
type: string;
|
|
3400
3436
|
ns: string;
|
|
3401
|
-
id: string;
|
|
3402
|
-
semanticId?: string | undefined;
|
|
3403
3437
|
name?: string | undefined;
|
|
3438
|
+
semanticId?: string | undefined;
|
|
3404
3439
|
}>;
|
|
3405
3440
|
/** Metadata */
|
|
3406
3441
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -3438,19 +3473,19 @@ declare const RelationshipCreateInputSchema: z.ZodObject<{
|
|
|
3438
3473
|
endDate: z.ZodOptional<z.ZodDate>;
|
|
3439
3474
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
3440
3475
|
}, "strip", z.ZodTypeAny, {
|
|
3441
|
-
|
|
3476
|
+
from: {
|
|
3477
|
+
id: string;
|
|
3442
3478
|
type: string;
|
|
3443
3479
|
ns: string;
|
|
3444
|
-
id: string;
|
|
3445
|
-
semanticId?: string | undefined;
|
|
3446
3480
|
name?: string | undefined;
|
|
3481
|
+
semanticId?: string | undefined;
|
|
3447
3482
|
};
|
|
3448
|
-
|
|
3483
|
+
to: {
|
|
3484
|
+
id: string;
|
|
3449
3485
|
type: string;
|
|
3450
3486
|
ns: string;
|
|
3451
|
-
id: string;
|
|
3452
|
-
semanticId?: string | undefined;
|
|
3453
3487
|
name?: string | undefined;
|
|
3488
|
+
semanticId?: string | undefined;
|
|
3454
3489
|
};
|
|
3455
3490
|
relationshipType: string;
|
|
3456
3491
|
metadata?: z.objectOutputType<{
|
|
@@ -3466,19 +3501,19 @@ declare const RelationshipCreateInputSchema: z.ZodObject<{
|
|
|
3466
3501
|
endDate: z.ZodOptional<z.ZodDate>;
|
|
3467
3502
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3468
3503
|
}, {
|
|
3469
|
-
|
|
3504
|
+
from: {
|
|
3505
|
+
id: string;
|
|
3470
3506
|
type: string;
|
|
3471
3507
|
ns: string;
|
|
3472
|
-
id: string;
|
|
3473
|
-
semanticId?: string | undefined;
|
|
3474
3508
|
name?: string | undefined;
|
|
3509
|
+
semanticId?: string | undefined;
|
|
3475
3510
|
};
|
|
3476
|
-
|
|
3511
|
+
to: {
|
|
3512
|
+
id: string;
|
|
3477
3513
|
type: string;
|
|
3478
3514
|
ns: string;
|
|
3479
|
-
id: string;
|
|
3480
|
-
semanticId?: string | undefined;
|
|
3481
3515
|
name?: string | undefined;
|
|
3516
|
+
semanticId?: string | undefined;
|
|
3482
3517
|
};
|
|
3483
3518
|
relationshipType: string;
|
|
3484
3519
|
metadata?: z.objectInputType<{
|
|
@@ -3758,10 +3793,6 @@ declare const ThingResponseSchema: z.ZodObject<{
|
|
|
3758
3793
|
'@id': z.ZodOptional<z.ZodString>;
|
|
3759
3794
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3760
3795
|
}, "strip", z.ZodTypeAny, {
|
|
3761
|
-
type: string;
|
|
3762
|
-
ns: string;
|
|
3763
|
-
id: string;
|
|
3764
|
-
name: string;
|
|
3765
3796
|
data: {
|
|
3766
3797
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
3767
3798
|
'@type'?: string | undefined;
|
|
@@ -3769,18 +3800,18 @@ declare const ThingResponseSchema: z.ZodObject<{
|
|
|
3769
3800
|
} & {
|
|
3770
3801
|
[k: string]: unknown;
|
|
3771
3802
|
};
|
|
3803
|
+
id: string;
|
|
3804
|
+
type: string;
|
|
3805
|
+
name: string;
|
|
3806
|
+
ns: string;
|
|
3772
3807
|
ts: Date;
|
|
3773
3808
|
createdAt: Date;
|
|
3774
3809
|
updatedAt: Date;
|
|
3810
|
+
variant?: string | undefined;
|
|
3775
3811
|
createdBy?: string | undefined;
|
|
3776
3812
|
updatedBy?: string | undefined;
|
|
3777
3813
|
deletedAt?: Date | null | undefined;
|
|
3778
|
-
variant?: string | undefined;
|
|
3779
3814
|
}, {
|
|
3780
|
-
type: string;
|
|
3781
|
-
ns: string;
|
|
3782
|
-
id: string;
|
|
3783
|
-
name: string;
|
|
3784
3815
|
data: {
|
|
3785
3816
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
3786
3817
|
'@type'?: string | undefined;
|
|
@@ -3788,13 +3819,17 @@ declare const ThingResponseSchema: z.ZodObject<{
|
|
|
3788
3819
|
} & {
|
|
3789
3820
|
[k: string]: unknown;
|
|
3790
3821
|
};
|
|
3822
|
+
id: string;
|
|
3823
|
+
type: string;
|
|
3824
|
+
name: string;
|
|
3825
|
+
ns: string;
|
|
3791
3826
|
ts: string | Date;
|
|
3792
3827
|
createdAt: string | Date;
|
|
3793
3828
|
updatedAt: string | Date;
|
|
3829
|
+
variant?: string | undefined;
|
|
3794
3830
|
createdBy?: string | undefined;
|
|
3795
3831
|
updatedBy?: string | undefined;
|
|
3796
3832
|
deletedAt?: string | Date | null | undefined;
|
|
3797
|
-
variant?: string | undefined;
|
|
3798
3833
|
}>;
|
|
3799
3834
|
/**
|
|
3800
3835
|
* Schema for ThingQueryResult response
|
|
@@ -3835,10 +3870,6 @@ declare const ThingQueryResultResponseSchema: z.ZodObject<{
|
|
|
3835
3870
|
'@id': z.ZodOptional<z.ZodString>;
|
|
3836
3871
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3837
3872
|
}, "strip", z.ZodTypeAny, {
|
|
3838
|
-
type: string;
|
|
3839
|
-
ns: string;
|
|
3840
|
-
id: string;
|
|
3841
|
-
name: string;
|
|
3842
3873
|
data: {
|
|
3843
3874
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
3844
3875
|
'@type'?: string | undefined;
|
|
@@ -3846,18 +3877,18 @@ declare const ThingQueryResultResponseSchema: z.ZodObject<{
|
|
|
3846
3877
|
} & {
|
|
3847
3878
|
[k: string]: unknown;
|
|
3848
3879
|
};
|
|
3880
|
+
id: string;
|
|
3881
|
+
type: string;
|
|
3882
|
+
name: string;
|
|
3883
|
+
ns: string;
|
|
3849
3884
|
ts: Date;
|
|
3850
3885
|
createdAt: Date;
|
|
3851
3886
|
updatedAt: Date;
|
|
3887
|
+
variant?: string | undefined;
|
|
3852
3888
|
createdBy?: string | undefined;
|
|
3853
3889
|
updatedBy?: string | undefined;
|
|
3854
3890
|
deletedAt?: Date | null | undefined;
|
|
3855
|
-
variant?: string | undefined;
|
|
3856
3891
|
}, {
|
|
3857
|
-
type: string;
|
|
3858
|
-
ns: string;
|
|
3859
|
-
id: string;
|
|
3860
|
-
name: string;
|
|
3861
3892
|
data: {
|
|
3862
3893
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
3863
3894
|
'@type'?: string | undefined;
|
|
@@ -3865,26 +3896,24 @@ declare const ThingQueryResultResponseSchema: z.ZodObject<{
|
|
|
3865
3896
|
} & {
|
|
3866
3897
|
[k: string]: unknown;
|
|
3867
3898
|
};
|
|
3899
|
+
id: string;
|
|
3900
|
+
type: string;
|
|
3901
|
+
name: string;
|
|
3902
|
+
ns: string;
|
|
3868
3903
|
ts: string | Date;
|
|
3869
3904
|
createdAt: string | Date;
|
|
3870
3905
|
updatedAt: string | Date;
|
|
3906
|
+
variant?: string | undefined;
|
|
3871
3907
|
createdBy?: string | undefined;
|
|
3872
3908
|
updatedBy?: string | undefined;
|
|
3873
3909
|
deletedAt?: string | Date | null | undefined;
|
|
3874
|
-
variant?: string | undefined;
|
|
3875
3910
|
}>, "many">;
|
|
3876
3911
|
total: z.ZodNumber;
|
|
3877
3912
|
page: z.ZodNumber;
|
|
3878
3913
|
perPage: z.ZodNumber;
|
|
3879
3914
|
totalPages: z.ZodNumber;
|
|
3880
3915
|
}, "strip", z.ZodTypeAny, {
|
|
3881
|
-
page: number;
|
|
3882
|
-
perPage: number;
|
|
3883
3916
|
data: {
|
|
3884
|
-
type: string;
|
|
3885
|
-
ns: string;
|
|
3886
|
-
id: string;
|
|
3887
|
-
name: string;
|
|
3888
3917
|
data: {
|
|
3889
3918
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
3890
3919
|
'@type'?: string | undefined;
|
|
@@ -3892,24 +3921,24 @@ declare const ThingQueryResultResponseSchema: z.ZodObject<{
|
|
|
3892
3921
|
} & {
|
|
3893
3922
|
[k: string]: unknown;
|
|
3894
3923
|
};
|
|
3924
|
+
id: string;
|
|
3925
|
+
type: string;
|
|
3926
|
+
name: string;
|
|
3927
|
+
ns: string;
|
|
3895
3928
|
ts: Date;
|
|
3896
3929
|
createdAt: Date;
|
|
3897
3930
|
updatedAt: Date;
|
|
3931
|
+
variant?: string | undefined;
|
|
3898
3932
|
createdBy?: string | undefined;
|
|
3899
3933
|
updatedBy?: string | undefined;
|
|
3900
3934
|
deletedAt?: Date | null | undefined;
|
|
3901
|
-
variant?: string | undefined;
|
|
3902
3935
|
}[];
|
|
3936
|
+
page: number;
|
|
3937
|
+
perPage: number;
|
|
3903
3938
|
total: number;
|
|
3904
3939
|
totalPages: number;
|
|
3905
3940
|
}, {
|
|
3906
|
-
page: number;
|
|
3907
|
-
perPage: number;
|
|
3908
3941
|
data: {
|
|
3909
|
-
type: string;
|
|
3910
|
-
ns: string;
|
|
3911
|
-
id: string;
|
|
3912
|
-
name: string;
|
|
3913
3942
|
data: {
|
|
3914
3943
|
'@context'?: string | Record<string, unknown> | undefined;
|
|
3915
3944
|
'@type'?: string | undefined;
|
|
@@ -3917,14 +3946,20 @@ declare const ThingQueryResultResponseSchema: z.ZodObject<{
|
|
|
3917
3946
|
} & {
|
|
3918
3947
|
[k: string]: unknown;
|
|
3919
3948
|
};
|
|
3949
|
+
id: string;
|
|
3950
|
+
type: string;
|
|
3951
|
+
name: string;
|
|
3952
|
+
ns: string;
|
|
3920
3953
|
ts: string | Date;
|
|
3921
3954
|
createdAt: string | Date;
|
|
3922
3955
|
updatedAt: string | Date;
|
|
3956
|
+
variant?: string | undefined;
|
|
3923
3957
|
createdBy?: string | undefined;
|
|
3924
3958
|
updatedBy?: string | undefined;
|
|
3925
3959
|
deletedAt?: string | Date | null | undefined;
|
|
3926
|
-
variant?: string | undefined;
|
|
3927
3960
|
}[];
|
|
3961
|
+
page: number;
|
|
3962
|
+
perPage: number;
|
|
3928
3963
|
total: number;
|
|
3929
3964
|
totalPages: number;
|
|
3930
3965
|
}>;
|
|
@@ -3989,11 +4024,11 @@ declare const ThingVersionResponseSchema: z.ZodObject<{
|
|
|
3989
4024
|
} & {
|
|
3990
4025
|
[k: string]: unknown;
|
|
3991
4026
|
};
|
|
4027
|
+
metadata: Record<string, unknown>;
|
|
3992
4028
|
ts: Date;
|
|
3993
4029
|
eventId: string;
|
|
3994
|
-
eventType: "
|
|
4030
|
+
eventType: "delete" | "create" | "update" | "create_version" | "update_version";
|
|
3995
4031
|
userId: string;
|
|
3996
|
-
metadata: Record<string, unknown>;
|
|
3997
4032
|
delta?: z.objectOutputType<{
|
|
3998
4033
|
/** JSON-LD context */
|
|
3999
4034
|
'@context': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -4010,11 +4045,11 @@ declare const ThingVersionResponseSchema: z.ZodObject<{
|
|
|
4010
4045
|
} & {
|
|
4011
4046
|
[k: string]: unknown;
|
|
4012
4047
|
};
|
|
4048
|
+
metadata: Record<string, unknown>;
|
|
4013
4049
|
ts: string | Date;
|
|
4014
4050
|
eventId: string;
|
|
4015
|
-
eventType: "
|
|
4051
|
+
eventType: "delete" | "create" | "update" | "create_version" | "update_version";
|
|
4016
4052
|
userId: string;
|
|
4017
|
-
metadata: Record<string, unknown>;
|
|
4018
4053
|
delta?: z.objectInputType<{
|
|
4019
4054
|
/** JSON-LD context */
|
|
4020
4055
|
'@context': z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
@@ -4038,8 +4073,8 @@ declare const TypeStatsResponseSchema: z.ZodObject<{
|
|
|
4038
4073
|
lastUpdatedAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
4039
4074
|
}, "strip", z.ZodTypeAny, {
|
|
4040
4075
|
type: string;
|
|
4041
|
-
ns: string;
|
|
4042
4076
|
count: number;
|
|
4077
|
+
ns: string;
|
|
4043
4078
|
activeCount: number;
|
|
4044
4079
|
createdToday: number;
|
|
4045
4080
|
updatedToday: number;
|
|
@@ -4047,8 +4082,8 @@ declare const TypeStatsResponseSchema: z.ZodObject<{
|
|
|
4047
4082
|
lastUpdatedAt?: Date | undefined;
|
|
4048
4083
|
}, {
|
|
4049
4084
|
type: string;
|
|
4050
|
-
ns: string;
|
|
4051
4085
|
count: number;
|
|
4086
|
+
ns: string;
|
|
4052
4087
|
activeCount: number;
|
|
4053
4088
|
createdToday: number;
|
|
4054
4089
|
updatedToday: number;
|
|
@@ -4066,14 +4101,14 @@ declare const AgentTypeResponseSchema: z.ZodObject<{
|
|
|
4066
4101
|
customType: z.ZodOptional<z.ZodString>;
|
|
4067
4102
|
roleCategory: z.ZodEnum<["sdr", "csm", "engineer", "devops", "content", "design", "security", "compliance", "finance", "hr", "legal", "support", "analyst", "researcher", "manager", "executive", "specialist", "custom"]>;
|
|
4068
4103
|
}, "strip", z.ZodTypeAny, {
|
|
4069
|
-
roleCategory: "
|
|
4104
|
+
roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
|
|
4070
4105
|
onetCode?: string | undefined;
|
|
4071
4106
|
onetTitle?: string | undefined;
|
|
4072
4107
|
naicsCode?: string | undefined;
|
|
4073
4108
|
naicsTitle?: string | undefined;
|
|
4074
4109
|
customType?: string | undefined;
|
|
4075
4110
|
}, {
|
|
4076
|
-
roleCategory: "
|
|
4111
|
+
roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
|
|
4077
4112
|
onetCode?: string | undefined;
|
|
4078
4113
|
onetTitle?: string | undefined;
|
|
4079
4114
|
naicsCode?: string | undefined;
|
|
@@ -4123,10 +4158,10 @@ declare const CharacterBibleResponseSchema: z.ZodObject<{
|
|
|
4123
4158
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4124
4159
|
voiceCharacteristics: z.ZodOptional<z.ZodString>;
|
|
4125
4160
|
}, "strip", z.ZodTypeAny, {
|
|
4161
|
+
traits: string[];
|
|
4126
4162
|
fullName: string;
|
|
4127
|
-
pronouns: string;
|
|
4128
4163
|
background: string;
|
|
4129
|
-
|
|
4164
|
+
pronouns: string;
|
|
4130
4165
|
communicationStyle: string;
|
|
4131
4166
|
expertise: string[];
|
|
4132
4167
|
limitations: string[];
|
|
@@ -4134,10 +4169,10 @@ declare const CharacterBibleResponseSchema: z.ZodObject<{
|
|
|
4134
4169
|
avatarUrl?: string | undefined;
|
|
4135
4170
|
voiceCharacteristics?: string | undefined;
|
|
4136
4171
|
}, {
|
|
4172
|
+
traits: string[];
|
|
4137
4173
|
fullName: string;
|
|
4138
|
-
pronouns: string;
|
|
4139
4174
|
background: string;
|
|
4140
|
-
|
|
4175
|
+
pronouns: string;
|
|
4141
4176
|
communicationStyle: string;
|
|
4142
4177
|
expertise: string[];
|
|
4143
4178
|
limitations: string[];
|
|
@@ -4156,18 +4191,18 @@ declare const AgentGuardrailResponseSchema: z.ZodObject<{
|
|
|
4156
4191
|
validator: z.ZodOptional<z.ZodString>;
|
|
4157
4192
|
severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
4158
4193
|
}, "strip", z.ZodTypeAny, {
|
|
4159
|
-
type: "input" | "output" | "action" | "content" | "safety";
|
|
4160
4194
|
id: string;
|
|
4195
|
+
type: "input" | "output" | "content" | "action" | "safety";
|
|
4161
4196
|
check: string;
|
|
4162
|
-
onViolation: "
|
|
4163
|
-
severity: "
|
|
4197
|
+
onViolation: "log" | "block" | "warn" | "escalate";
|
|
4198
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
4164
4199
|
validator?: string | undefined;
|
|
4165
4200
|
}, {
|
|
4166
|
-
type: "input" | "output" | "action" | "content" | "safety";
|
|
4167
4201
|
id: string;
|
|
4202
|
+
type: "input" | "output" | "content" | "action" | "safety";
|
|
4168
4203
|
check: string;
|
|
4169
|
-
onViolation: "
|
|
4170
|
-
severity: "
|
|
4204
|
+
onViolation: "log" | "block" | "warn" | "escalate";
|
|
4205
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
4171
4206
|
validator?: string | undefined;
|
|
4172
4207
|
}>;
|
|
4173
4208
|
/**
|
|
@@ -4183,18 +4218,18 @@ declare const HandoffRuleResponseSchema: z.ZodObject<{
|
|
|
4183
4218
|
priority: z.ZodNumber;
|
|
4184
4219
|
}, "strip", z.ZodTypeAny, {
|
|
4185
4220
|
id: string;
|
|
4221
|
+
target: string;
|
|
4186
4222
|
required: boolean;
|
|
4187
4223
|
context: string[];
|
|
4188
4224
|
condition: string;
|
|
4189
|
-
target: string;
|
|
4190
4225
|
targetType: "human" | "workflow" | "agent";
|
|
4191
4226
|
priority: number;
|
|
4192
4227
|
}, {
|
|
4193
4228
|
id: string;
|
|
4229
|
+
target: string;
|
|
4194
4230
|
required: boolean;
|
|
4195
4231
|
context: string[];
|
|
4196
4232
|
condition: string;
|
|
4197
|
-
target: string;
|
|
4198
4233
|
targetType: "human" | "workflow" | "agent";
|
|
4199
4234
|
priority: number;
|
|
4200
4235
|
}>;
|
|
@@ -4258,14 +4293,14 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
4258
4293
|
customType: z.ZodOptional<z.ZodString>;
|
|
4259
4294
|
roleCategory: z.ZodEnum<["sdr", "csm", "engineer", "devops", "content", "design", "security", "compliance", "finance", "hr", "legal", "support", "analyst", "researcher", "manager", "executive", "specialist", "custom"]>;
|
|
4260
4295
|
}, "strip", z.ZodTypeAny, {
|
|
4261
|
-
roleCategory: "
|
|
4296
|
+
roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
|
|
4262
4297
|
onetCode?: string | undefined;
|
|
4263
4298
|
onetTitle?: string | undefined;
|
|
4264
4299
|
naicsCode?: string | undefined;
|
|
4265
4300
|
naicsTitle?: string | undefined;
|
|
4266
4301
|
customType?: string | undefined;
|
|
4267
4302
|
}, {
|
|
4268
|
-
roleCategory: "
|
|
4303
|
+
roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
|
|
4269
4304
|
onetCode?: string | undefined;
|
|
4270
4305
|
onetTitle?: string | undefined;
|
|
4271
4306
|
naicsCode?: string | undefined;
|
|
@@ -4310,10 +4345,10 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
4310
4345
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4311
4346
|
voiceCharacteristics: z.ZodOptional<z.ZodString>;
|
|
4312
4347
|
}, "strip", z.ZodTypeAny, {
|
|
4348
|
+
traits: string[];
|
|
4313
4349
|
fullName: string;
|
|
4314
|
-
pronouns: string;
|
|
4315
4350
|
background: string;
|
|
4316
|
-
|
|
4351
|
+
pronouns: string;
|
|
4317
4352
|
communicationStyle: string;
|
|
4318
4353
|
expertise: string[];
|
|
4319
4354
|
limitations: string[];
|
|
@@ -4321,10 +4356,10 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
4321
4356
|
avatarUrl?: string | undefined;
|
|
4322
4357
|
voiceCharacteristics?: string | undefined;
|
|
4323
4358
|
}, {
|
|
4359
|
+
traits: string[];
|
|
4324
4360
|
fullName: string;
|
|
4325
|
-
pronouns: string;
|
|
4326
4361
|
background: string;
|
|
4327
|
-
|
|
4362
|
+
pronouns: string;
|
|
4328
4363
|
communicationStyle: string;
|
|
4329
4364
|
expertise: string[];
|
|
4330
4365
|
limitations: string[];
|
|
@@ -4344,18 +4379,18 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
4344
4379
|
validator: z.ZodOptional<z.ZodString>;
|
|
4345
4380
|
severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
4346
4381
|
}, "strip", z.ZodTypeAny, {
|
|
4347
|
-
type: "input" | "output" | "action" | "content" | "safety";
|
|
4348
4382
|
id: string;
|
|
4383
|
+
type: "input" | "output" | "content" | "action" | "safety";
|
|
4349
4384
|
check: string;
|
|
4350
|
-
onViolation: "
|
|
4351
|
-
severity: "
|
|
4385
|
+
onViolation: "log" | "block" | "warn" | "escalate";
|
|
4386
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
4352
4387
|
validator?: string | undefined;
|
|
4353
4388
|
}, {
|
|
4354
|
-
type: "input" | "output" | "action" | "content" | "safety";
|
|
4355
4389
|
id: string;
|
|
4390
|
+
type: "input" | "output" | "content" | "action" | "safety";
|
|
4356
4391
|
check: string;
|
|
4357
|
-
onViolation: "
|
|
4358
|
-
severity: "
|
|
4392
|
+
onViolation: "log" | "block" | "warn" | "escalate";
|
|
4393
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
4359
4394
|
validator?: string | undefined;
|
|
4360
4395
|
}>, "many">;
|
|
4361
4396
|
handoffRules: z.ZodArray<z.ZodObject<{
|
|
@@ -4368,18 +4403,18 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
4368
4403
|
priority: z.ZodNumber;
|
|
4369
4404
|
}, "strip", z.ZodTypeAny, {
|
|
4370
4405
|
id: string;
|
|
4406
|
+
target: string;
|
|
4371
4407
|
required: boolean;
|
|
4372
4408
|
context: string[];
|
|
4373
4409
|
condition: string;
|
|
4374
|
-
target: string;
|
|
4375
4410
|
targetType: "human" | "workflow" | "agent";
|
|
4376
4411
|
priority: number;
|
|
4377
4412
|
}, {
|
|
4378
4413
|
id: string;
|
|
4414
|
+
target: string;
|
|
4379
4415
|
required: boolean;
|
|
4380
4416
|
context: string[];
|
|
4381
4417
|
condition: string;
|
|
4382
|
-
target: string;
|
|
4383
4418
|
targetType: "human" | "workflow" | "agent";
|
|
4384
4419
|
priority: number;
|
|
4385
4420
|
}>, "many">;
|
|
@@ -4428,22 +4463,22 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
4428
4463
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
4429
4464
|
createdBy: z.ZodString;
|
|
4430
4465
|
}, "strip", z.ZodTypeAny, {
|
|
4466
|
+
id: string;
|
|
4467
|
+
status: "paused" | "active" | "draft" | "deprecated" | "archived";
|
|
4431
4468
|
type: {
|
|
4432
|
-
roleCategory: "
|
|
4469
|
+
roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
|
|
4433
4470
|
onetCode?: string | undefined;
|
|
4434
4471
|
onetTitle?: string | undefined;
|
|
4435
4472
|
naicsCode?: string | undefined;
|
|
4436
4473
|
naicsTitle?: string | undefined;
|
|
4437
4474
|
customType?: string | undefined;
|
|
4438
4475
|
};
|
|
4439
|
-
status: "active" | "draft" | "deprecated" | "archived" | "paused";
|
|
4440
|
-
ns: string;
|
|
4441
|
-
id: string;
|
|
4442
4476
|
name: string;
|
|
4477
|
+
description: string;
|
|
4478
|
+
ns: string;
|
|
4443
4479
|
createdAt: Date;
|
|
4444
4480
|
updatedAt: Date;
|
|
4445
4481
|
createdBy: string;
|
|
4446
|
-
description: string;
|
|
4447
4482
|
tools: string[];
|
|
4448
4483
|
slug: string;
|
|
4449
4484
|
classification: {
|
|
@@ -4459,27 +4494,27 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
4459
4494
|
model: string;
|
|
4460
4495
|
maxIterations: number;
|
|
4461
4496
|
guardrails: {
|
|
4462
|
-
type: "input" | "output" | "action" | "content" | "safety";
|
|
4463
4497
|
id: string;
|
|
4498
|
+
type: "input" | "output" | "content" | "action" | "safety";
|
|
4464
4499
|
check: string;
|
|
4465
|
-
onViolation: "
|
|
4466
|
-
severity: "
|
|
4500
|
+
onViolation: "log" | "block" | "warn" | "escalate";
|
|
4501
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
4467
4502
|
validator?: string | undefined;
|
|
4468
4503
|
}[];
|
|
4469
4504
|
handoffRules: {
|
|
4470
4505
|
id: string;
|
|
4506
|
+
target: string;
|
|
4471
4507
|
required: boolean;
|
|
4472
4508
|
context: string[];
|
|
4473
4509
|
condition: string;
|
|
4474
|
-
target: string;
|
|
4475
4510
|
targetType: "human" | "workflow" | "agent";
|
|
4476
4511
|
priority: number;
|
|
4477
4512
|
}[];
|
|
4478
4513
|
characterBible?: {
|
|
4514
|
+
traits: string[];
|
|
4479
4515
|
fullName: string;
|
|
4480
|
-
pronouns: string;
|
|
4481
4516
|
background: string;
|
|
4482
|
-
|
|
4517
|
+
pronouns: string;
|
|
4483
4518
|
communicationStyle: string;
|
|
4484
4519
|
expertise: string[];
|
|
4485
4520
|
limitations: string[];
|
|
@@ -4503,22 +4538,22 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
4503
4538
|
lastExecutedAt?: Date | undefined;
|
|
4504
4539
|
} | undefined;
|
|
4505
4540
|
}, {
|
|
4541
|
+
id: string;
|
|
4542
|
+
status: "paused" | "active" | "draft" | "deprecated" | "archived";
|
|
4506
4543
|
type: {
|
|
4507
|
-
roleCategory: "
|
|
4544
|
+
roleCategory: "hr" | "content" | "security" | "custom" | "sdr" | "csm" | "engineer" | "devops" | "design" | "compliance" | "finance" | "legal" | "support" | "analyst" | "researcher" | "manager" | "executive" | "specialist";
|
|
4508
4545
|
onetCode?: string | undefined;
|
|
4509
4546
|
onetTitle?: string | undefined;
|
|
4510
4547
|
naicsCode?: string | undefined;
|
|
4511
4548
|
naicsTitle?: string | undefined;
|
|
4512
4549
|
customType?: string | undefined;
|
|
4513
4550
|
};
|
|
4514
|
-
status: "active" | "draft" | "deprecated" | "archived" | "paused";
|
|
4515
|
-
ns: string;
|
|
4516
|
-
id: string;
|
|
4517
4551
|
name: string;
|
|
4552
|
+
description: string;
|
|
4553
|
+
ns: string;
|
|
4518
4554
|
createdAt: string | Date;
|
|
4519
4555
|
updatedAt: string | Date;
|
|
4520
4556
|
createdBy: string;
|
|
4521
|
-
description: string;
|
|
4522
4557
|
tools: string[];
|
|
4523
4558
|
slug: string;
|
|
4524
4559
|
classification: {
|
|
@@ -4534,27 +4569,27 @@ declare const AgentResponseSchema: z.ZodObject<{
|
|
|
4534
4569
|
model: string;
|
|
4535
4570
|
maxIterations: number;
|
|
4536
4571
|
guardrails: {
|
|
4537
|
-
type: "input" | "output" | "action" | "content" | "safety";
|
|
4538
4572
|
id: string;
|
|
4573
|
+
type: "input" | "output" | "content" | "action" | "safety";
|
|
4539
4574
|
check: string;
|
|
4540
|
-
onViolation: "
|
|
4541
|
-
severity: "
|
|
4575
|
+
onViolation: "log" | "block" | "warn" | "escalate";
|
|
4576
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
4542
4577
|
validator?: string | undefined;
|
|
4543
4578
|
}[];
|
|
4544
4579
|
handoffRules: {
|
|
4545
4580
|
id: string;
|
|
4581
|
+
target: string;
|
|
4546
4582
|
required: boolean;
|
|
4547
4583
|
context: string[];
|
|
4548
4584
|
condition: string;
|
|
4549
|
-
target: string;
|
|
4550
4585
|
targetType: "human" | "workflow" | "agent";
|
|
4551
4586
|
priority: number;
|
|
4552
4587
|
}[];
|
|
4553
4588
|
characterBible?: {
|
|
4589
|
+
traits: string[];
|
|
4554
4590
|
fullName: string;
|
|
4555
|
-
pronouns: string;
|
|
4556
4591
|
background: string;
|
|
4557
|
-
|
|
4592
|
+
pronouns: string;
|
|
4558
4593
|
communicationStyle: string;
|
|
4559
4594
|
expertise: string[];
|
|
4560
4595
|
limitations: string[];
|
|
@@ -4625,14 +4660,14 @@ declare const AgentArtifactResponseSchema: z.ZodObject<{
|
|
|
4625
4660
|
content: z.ZodString;
|
|
4626
4661
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
4627
4662
|
}, "strip", z.ZodTypeAny, {
|
|
4628
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
4629
|
-
name: string;
|
|
4630
4663
|
content: string;
|
|
4664
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
4665
|
+
name: string;
|
|
4631
4666
|
mimeType?: string | undefined;
|
|
4632
4667
|
}, {
|
|
4633
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
4634
|
-
name: string;
|
|
4635
4668
|
content: string;
|
|
4669
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
4670
|
+
name: string;
|
|
4636
4671
|
mimeType?: string | undefined;
|
|
4637
4672
|
}>;
|
|
4638
4673
|
/**
|
|
@@ -4648,36 +4683,36 @@ declare const AgentOutputResponseSchema: z.ZodObject<{
|
|
|
4648
4683
|
content: z.ZodString;
|
|
4649
4684
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
4650
4685
|
}, "strip", z.ZodTypeAny, {
|
|
4651
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
4652
|
-
name: string;
|
|
4653
4686
|
content: string;
|
|
4687
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
4688
|
+
name: string;
|
|
4654
4689
|
mimeType?: string | undefined;
|
|
4655
4690
|
}, {
|
|
4656
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
4657
|
-
name: string;
|
|
4658
4691
|
content: string;
|
|
4692
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
4693
|
+
name: string;
|
|
4659
4694
|
mimeType?: string | undefined;
|
|
4660
4695
|
}>, "many">>;
|
|
4661
4696
|
recommendations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4662
4697
|
}, "strip", z.ZodTypeAny, {
|
|
4663
4698
|
summary: string;
|
|
4664
|
-
confidence?: number | undefined;
|
|
4665
4699
|
result?: unknown;
|
|
4700
|
+
confidence?: number | undefined;
|
|
4666
4701
|
artifacts?: {
|
|
4667
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
4668
|
-
name: string;
|
|
4669
4702
|
content: string;
|
|
4703
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
4704
|
+
name: string;
|
|
4670
4705
|
mimeType?: string | undefined;
|
|
4671
4706
|
}[] | undefined;
|
|
4672
4707
|
recommendations?: string[] | undefined;
|
|
4673
4708
|
}, {
|
|
4674
4709
|
summary: string;
|
|
4675
|
-
confidence?: number | undefined;
|
|
4676
4710
|
result?: unknown;
|
|
4711
|
+
confidence?: number | undefined;
|
|
4677
4712
|
artifacts?: {
|
|
4678
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
4679
|
-
name: string;
|
|
4680
4713
|
content: string;
|
|
4714
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
4715
|
+
name: string;
|
|
4681
4716
|
mimeType?: string | undefined;
|
|
4682
4717
|
}[] | undefined;
|
|
4683
4718
|
recommendations?: string[] | undefined;
|
|
@@ -4710,8 +4745,8 @@ declare const AgentTraceResponseSchema: z.ZodObject<{
|
|
|
4710
4745
|
thinkingTokens?: number | undefined;
|
|
4711
4746
|
}>>;
|
|
4712
4747
|
}, "strip", z.ZodTypeAny, {
|
|
4713
|
-
type: "action" | "decision" | "thought" | "observation";
|
|
4714
4748
|
content: string;
|
|
4749
|
+
type: "action" | "decision" | "thought" | "observation";
|
|
4715
4750
|
timestamp: Date;
|
|
4716
4751
|
iteration: number;
|
|
4717
4752
|
tool?: string | undefined;
|
|
@@ -4724,8 +4759,8 @@ declare const AgentTraceResponseSchema: z.ZodObject<{
|
|
|
4724
4759
|
thinkingTokens?: number | undefined;
|
|
4725
4760
|
} | undefined;
|
|
4726
4761
|
}, {
|
|
4727
|
-
type: "action" | "decision" | "thought" | "observation";
|
|
4728
4762
|
content: string;
|
|
4763
|
+
type: "action" | "decision" | "thought" | "observation";
|
|
4729
4764
|
timestamp: string | Date;
|
|
4730
4765
|
iteration: number;
|
|
4731
4766
|
tool?: string | undefined;
|
|
@@ -4750,16 +4785,16 @@ declare const AgentHandoffResponseSchema: z.ZodObject<{
|
|
|
4750
4785
|
context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4751
4786
|
successful: z.ZodBoolean;
|
|
4752
4787
|
}, "strip", z.ZodTypeAny, {
|
|
4753
|
-
timestamp: Date;
|
|
4754
4788
|
context: Record<string, unknown>;
|
|
4789
|
+
timestamp: Date;
|
|
4755
4790
|
targetType: "human" | "workflow" | "agent";
|
|
4756
4791
|
ruleId: string;
|
|
4757
4792
|
fromAgent: string;
|
|
4758
4793
|
toTarget: string;
|
|
4759
4794
|
successful: boolean;
|
|
4760
4795
|
}, {
|
|
4761
|
-
timestamp: string | Date;
|
|
4762
4796
|
context: Record<string, unknown>;
|
|
4797
|
+
timestamp: string | Date;
|
|
4763
4798
|
targetType: "human" | "workflow" | "agent";
|
|
4764
4799
|
ruleId: string;
|
|
4765
4800
|
fromAgent: string;
|
|
@@ -4777,18 +4812,18 @@ declare const GuardrailViolationResponseSchema: z.ZodObject<{
|
|
|
4777
4812
|
actionTaken: z.ZodEnum<["blocked", "warned", "logged", "escalated"]>;
|
|
4778
4813
|
severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
4779
4814
|
}, "strip", z.ZodTypeAny, {
|
|
4815
|
+
details: string;
|
|
4780
4816
|
type: string;
|
|
4781
4817
|
timestamp: Date;
|
|
4782
|
-
severity: "
|
|
4818
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
4783
4819
|
guardrailId: string;
|
|
4784
|
-
details: string;
|
|
4785
4820
|
actionTaken: "blocked" | "warned" | "logged" | "escalated";
|
|
4786
4821
|
}, {
|
|
4822
|
+
details: string;
|
|
4787
4823
|
type: string;
|
|
4788
4824
|
timestamp: string | Date;
|
|
4789
|
-
severity: "
|
|
4825
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
4790
4826
|
guardrailId: string;
|
|
4791
|
-
details: string;
|
|
4792
4827
|
actionTaken: "blocked" | "warned" | "logged" | "escalated";
|
|
4793
4828
|
}>;
|
|
4794
4829
|
/**
|
|
@@ -4801,17 +4836,17 @@ declare const AgentFeedbackResponseSchema: z.ZodObject<{
|
|
|
4801
4836
|
submittedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
4802
4837
|
submittedBy: z.ZodString;
|
|
4803
4838
|
}, "strip", z.ZodTypeAny, {
|
|
4804
|
-
rating: number;
|
|
4805
4839
|
submittedAt: Date;
|
|
4840
|
+
rating: number;
|
|
4806
4841
|
submittedBy: string;
|
|
4842
|
+
categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
4807
4843
|
comment?: string | undefined;
|
|
4808
|
-
categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
4809
4844
|
}, {
|
|
4810
|
-
rating: number;
|
|
4811
4845
|
submittedAt: string | Date;
|
|
4846
|
+
rating: number;
|
|
4812
4847
|
submittedBy: string;
|
|
4848
|
+
categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
4813
4849
|
comment?: string | undefined;
|
|
4814
|
-
categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
4815
4850
|
}>;
|
|
4816
4851
|
/**
|
|
4817
4852
|
* Schema for AgentExecution response
|
|
@@ -4846,36 +4881,36 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
4846
4881
|
content: z.ZodString;
|
|
4847
4882
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
4848
4883
|
}, "strip", z.ZodTypeAny, {
|
|
4849
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
4850
|
-
name: string;
|
|
4851
4884
|
content: string;
|
|
4885
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
4886
|
+
name: string;
|
|
4852
4887
|
mimeType?: string | undefined;
|
|
4853
4888
|
}, {
|
|
4854
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
4855
|
-
name: string;
|
|
4856
4889
|
content: string;
|
|
4890
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
4891
|
+
name: string;
|
|
4857
4892
|
mimeType?: string | undefined;
|
|
4858
4893
|
}>, "many">>;
|
|
4859
4894
|
recommendations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4860
4895
|
}, "strip", z.ZodTypeAny, {
|
|
4861
4896
|
summary: string;
|
|
4862
|
-
confidence?: number | undefined;
|
|
4863
4897
|
result?: unknown;
|
|
4898
|
+
confidence?: number | undefined;
|
|
4864
4899
|
artifacts?: {
|
|
4865
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
4866
|
-
name: string;
|
|
4867
4900
|
content: string;
|
|
4901
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
4902
|
+
name: string;
|
|
4868
4903
|
mimeType?: string | undefined;
|
|
4869
4904
|
}[] | undefined;
|
|
4870
4905
|
recommendations?: string[] | undefined;
|
|
4871
4906
|
}, {
|
|
4872
4907
|
summary: string;
|
|
4873
|
-
confidence?: number | undefined;
|
|
4874
4908
|
result?: unknown;
|
|
4909
|
+
confidence?: number | undefined;
|
|
4875
4910
|
artifacts?: {
|
|
4876
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
4877
|
-
name: string;
|
|
4878
4911
|
content: string;
|
|
4912
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
4913
|
+
name: string;
|
|
4879
4914
|
mimeType?: string | undefined;
|
|
4880
4915
|
}[] | undefined;
|
|
4881
4916
|
recommendations?: string[] | undefined;
|
|
@@ -4905,8 +4940,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
4905
4940
|
thinkingTokens?: number | undefined;
|
|
4906
4941
|
}>>;
|
|
4907
4942
|
}, "strip", z.ZodTypeAny, {
|
|
4908
|
-
type: "action" | "decision" | "thought" | "observation";
|
|
4909
4943
|
content: string;
|
|
4944
|
+
type: "action" | "decision" | "thought" | "observation";
|
|
4910
4945
|
timestamp: Date;
|
|
4911
4946
|
iteration: number;
|
|
4912
4947
|
tool?: string | undefined;
|
|
@@ -4919,8 +4954,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
4919
4954
|
thinkingTokens?: number | undefined;
|
|
4920
4955
|
} | undefined;
|
|
4921
4956
|
}, {
|
|
4922
|
-
type: "action" | "decision" | "thought" | "observation";
|
|
4923
4957
|
content: string;
|
|
4958
|
+
type: "action" | "decision" | "thought" | "observation";
|
|
4924
4959
|
timestamp: string | Date;
|
|
4925
4960
|
iteration: number;
|
|
4926
4961
|
tool?: string | undefined;
|
|
@@ -4942,16 +4977,16 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
4942
4977
|
context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4943
4978
|
successful: z.ZodBoolean;
|
|
4944
4979
|
}, "strip", z.ZodTypeAny, {
|
|
4945
|
-
timestamp: Date;
|
|
4946
4980
|
context: Record<string, unknown>;
|
|
4981
|
+
timestamp: Date;
|
|
4947
4982
|
targetType: "human" | "workflow" | "agent";
|
|
4948
4983
|
ruleId: string;
|
|
4949
4984
|
fromAgent: string;
|
|
4950
4985
|
toTarget: string;
|
|
4951
4986
|
successful: boolean;
|
|
4952
4987
|
}, {
|
|
4953
|
-
timestamp: string | Date;
|
|
4954
4988
|
context: Record<string, unknown>;
|
|
4989
|
+
timestamp: string | Date;
|
|
4955
4990
|
targetType: "human" | "workflow" | "agent";
|
|
4956
4991
|
ruleId: string;
|
|
4957
4992
|
fromAgent: string;
|
|
@@ -4966,18 +5001,18 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
4966
5001
|
actionTaken: z.ZodEnum<["blocked", "warned", "logged", "escalated"]>;
|
|
4967
5002
|
severity: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
4968
5003
|
}, "strip", z.ZodTypeAny, {
|
|
5004
|
+
details: string;
|
|
4969
5005
|
type: string;
|
|
4970
5006
|
timestamp: Date;
|
|
4971
|
-
severity: "
|
|
5007
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
4972
5008
|
guardrailId: string;
|
|
4973
|
-
details: string;
|
|
4974
5009
|
actionTaken: "blocked" | "warned" | "logged" | "escalated";
|
|
4975
5010
|
}, {
|
|
5011
|
+
details: string;
|
|
4976
5012
|
type: string;
|
|
4977
5013
|
timestamp: string | Date;
|
|
4978
|
-
severity: "
|
|
5014
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
4979
5015
|
guardrailId: string;
|
|
4980
|
-
details: string;
|
|
4981
5016
|
actionTaken: "blocked" | "warned" | "logged" | "escalated";
|
|
4982
5017
|
}>, "many">;
|
|
4983
5018
|
startedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
@@ -5008,31 +5043,31 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
5008
5043
|
submittedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
5009
5044
|
submittedBy: z.ZodString;
|
|
5010
5045
|
}, "strip", z.ZodTypeAny, {
|
|
5011
|
-
rating: number;
|
|
5012
5046
|
submittedAt: Date;
|
|
5047
|
+
rating: number;
|
|
5013
5048
|
submittedBy: string;
|
|
5049
|
+
categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
5014
5050
|
comment?: string | undefined;
|
|
5015
|
-
categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
5016
5051
|
}, {
|
|
5017
|
-
rating: number;
|
|
5018
5052
|
submittedAt: string | Date;
|
|
5053
|
+
rating: number;
|
|
5019
5054
|
submittedBy: string;
|
|
5055
|
+
categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
5020
5056
|
comment?: string | undefined;
|
|
5021
|
-
categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
5022
5057
|
}>>;
|
|
5023
5058
|
ns: z.ZodString;
|
|
5024
5059
|
triggeredBy: z.ZodString;
|
|
5025
5060
|
}, "strip", z.ZodTypeAny, {
|
|
5026
|
-
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "awaiting-human" | "handed-off";
|
|
5027
|
-
ns: string;
|
|
5028
|
-
id: string;
|
|
5029
|
-
costUsd: number;
|
|
5030
5061
|
input: {
|
|
5031
5062
|
task: string;
|
|
5032
5063
|
context?: Record<string, unknown> | undefined;
|
|
5033
5064
|
constraints?: string[] | undefined;
|
|
5034
5065
|
outputFormat?: string | undefined;
|
|
5035
5066
|
};
|
|
5067
|
+
id: string;
|
|
5068
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled" | "awaiting-human" | "handed-off";
|
|
5069
|
+
ns: string;
|
|
5070
|
+
costUsd: number;
|
|
5036
5071
|
agentId: string;
|
|
5037
5072
|
triggeredBy: string;
|
|
5038
5073
|
tokenUsage: {
|
|
@@ -5042,8 +5077,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
5042
5077
|
thinkingTokens?: number | undefined;
|
|
5043
5078
|
};
|
|
5044
5079
|
trace: {
|
|
5045
|
-
type: "action" | "decision" | "thought" | "observation";
|
|
5046
5080
|
content: string;
|
|
5081
|
+
type: "action" | "decision" | "thought" | "observation";
|
|
5047
5082
|
timestamp: Date;
|
|
5048
5083
|
iteration: number;
|
|
5049
5084
|
tool?: string | undefined;
|
|
@@ -5057,8 +5092,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
5057
5092
|
} | undefined;
|
|
5058
5093
|
}[];
|
|
5059
5094
|
handoffs: {
|
|
5060
|
-
timestamp: Date;
|
|
5061
5095
|
context: Record<string, unknown>;
|
|
5096
|
+
timestamp: Date;
|
|
5062
5097
|
targetType: "human" | "workflow" | "agent";
|
|
5063
5098
|
ruleId: string;
|
|
5064
5099
|
fromAgent: string;
|
|
@@ -5066,23 +5101,23 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
5066
5101
|
successful: boolean;
|
|
5067
5102
|
}[];
|
|
5068
5103
|
violations: {
|
|
5104
|
+
details: string;
|
|
5069
5105
|
type: string;
|
|
5070
5106
|
timestamp: Date;
|
|
5071
|
-
severity: "
|
|
5107
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
5072
5108
|
guardrailId: string;
|
|
5073
|
-
details: string;
|
|
5074
5109
|
actionTaken: "blocked" | "warned" | "logged" | "escalated";
|
|
5075
5110
|
}[];
|
|
5076
5111
|
startedAt: Date;
|
|
5077
5112
|
iterations: number;
|
|
5078
5113
|
output?: {
|
|
5079
5114
|
summary: string;
|
|
5080
|
-
confidence?: number | undefined;
|
|
5081
5115
|
result?: unknown;
|
|
5116
|
+
confidence?: number | undefined;
|
|
5082
5117
|
artifacts?: {
|
|
5083
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
5084
|
-
name: string;
|
|
5085
5118
|
content: string;
|
|
5119
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
5120
|
+
name: string;
|
|
5086
5121
|
mimeType?: string | undefined;
|
|
5087
5122
|
}[] | undefined;
|
|
5088
5123
|
recommendations?: string[] | undefined;
|
|
@@ -5090,23 +5125,23 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
5090
5125
|
completedAt?: Date | undefined;
|
|
5091
5126
|
durationMs?: number | undefined;
|
|
5092
5127
|
feedback?: {
|
|
5093
|
-
rating: number;
|
|
5094
5128
|
submittedAt: Date;
|
|
5129
|
+
rating: number;
|
|
5095
5130
|
submittedBy: string;
|
|
5131
|
+
categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
5096
5132
|
comment?: string | undefined;
|
|
5097
|
-
categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
5098
5133
|
} | undefined;
|
|
5099
5134
|
}, {
|
|
5100
|
-
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "awaiting-human" | "handed-off";
|
|
5101
|
-
ns: string;
|
|
5102
|
-
id: string;
|
|
5103
|
-
costUsd: number;
|
|
5104
5135
|
input: {
|
|
5105
5136
|
task: string;
|
|
5106
5137
|
context?: Record<string, unknown> | undefined;
|
|
5107
5138
|
constraints?: string[] | undefined;
|
|
5108
5139
|
outputFormat?: string | undefined;
|
|
5109
5140
|
};
|
|
5141
|
+
id: string;
|
|
5142
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled" | "awaiting-human" | "handed-off";
|
|
5143
|
+
ns: string;
|
|
5144
|
+
costUsd: number;
|
|
5110
5145
|
agentId: string;
|
|
5111
5146
|
triggeredBy: string;
|
|
5112
5147
|
tokenUsage: {
|
|
@@ -5116,8 +5151,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
5116
5151
|
thinkingTokens?: number | undefined;
|
|
5117
5152
|
};
|
|
5118
5153
|
trace: {
|
|
5119
|
-
type: "action" | "decision" | "thought" | "observation";
|
|
5120
5154
|
content: string;
|
|
5155
|
+
type: "action" | "decision" | "thought" | "observation";
|
|
5121
5156
|
timestamp: string | Date;
|
|
5122
5157
|
iteration: number;
|
|
5123
5158
|
tool?: string | undefined;
|
|
@@ -5131,8 +5166,8 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
5131
5166
|
} | undefined;
|
|
5132
5167
|
}[];
|
|
5133
5168
|
handoffs: {
|
|
5134
|
-
timestamp: string | Date;
|
|
5135
5169
|
context: Record<string, unknown>;
|
|
5170
|
+
timestamp: string | Date;
|
|
5136
5171
|
targetType: "human" | "workflow" | "agent";
|
|
5137
5172
|
ruleId: string;
|
|
5138
5173
|
fromAgent: string;
|
|
@@ -5140,23 +5175,23 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
5140
5175
|
successful: boolean;
|
|
5141
5176
|
}[];
|
|
5142
5177
|
violations: {
|
|
5178
|
+
details: string;
|
|
5143
5179
|
type: string;
|
|
5144
5180
|
timestamp: string | Date;
|
|
5145
|
-
severity: "
|
|
5181
|
+
severity: "medium" | "high" | "low" | "critical";
|
|
5146
5182
|
guardrailId: string;
|
|
5147
|
-
details: string;
|
|
5148
5183
|
actionTaken: "blocked" | "warned" | "logged" | "escalated";
|
|
5149
5184
|
}[];
|
|
5150
5185
|
startedAt: string | Date;
|
|
5151
5186
|
iterations: number;
|
|
5152
5187
|
output?: {
|
|
5153
5188
|
summary: string;
|
|
5154
|
-
confidence?: number | undefined;
|
|
5155
5189
|
result?: unknown;
|
|
5190
|
+
confidence?: number | undefined;
|
|
5156
5191
|
artifacts?: {
|
|
5157
|
-
type: "code" | "data" | "image" | "file" | "document";
|
|
5158
|
-
name: string;
|
|
5159
5192
|
content: string;
|
|
5193
|
+
type: "code" | "data" | "image" | "document" | "file";
|
|
5194
|
+
name: string;
|
|
5160
5195
|
mimeType?: string | undefined;
|
|
5161
5196
|
}[] | undefined;
|
|
5162
5197
|
recommendations?: string[] | undefined;
|
|
@@ -5164,11 +5199,11 @@ declare const AgentExecutionResponseSchema: z.ZodObject<{
|
|
|
5164
5199
|
completedAt?: string | Date | undefined;
|
|
5165
5200
|
durationMs?: number | undefined;
|
|
5166
5201
|
feedback?: {
|
|
5167
|
-
rating: number;
|
|
5168
5202
|
submittedAt: string | Date;
|
|
5203
|
+
rating: number;
|
|
5169
5204
|
submittedBy: string;
|
|
5205
|
+
categories?: ("clear" | "accurate" | "helpful" | "fast" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
5170
5206
|
comment?: string | undefined;
|
|
5171
|
-
categories?: ("accurate" | "helpful" | "fast" | "clear" | "wrong" | "slow" | "confusing")[] | undefined;
|
|
5172
5207
|
} | undefined;
|
|
5173
5208
|
}>;
|
|
5174
5209
|
/**
|
|
@@ -5182,13 +5217,13 @@ declare const RetryConfigResponseSchema: z.ZodObject<{
|
|
|
5182
5217
|
retryOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5183
5218
|
}, "strip", z.ZodTypeAny, {
|
|
5184
5219
|
maxAttempts: number;
|
|
5185
|
-
backoff: "
|
|
5220
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5186
5221
|
initialDelayMs: number;
|
|
5187
5222
|
maxDelayMs: number;
|
|
5188
5223
|
retryOn?: string[] | undefined;
|
|
5189
5224
|
}, {
|
|
5190
5225
|
maxAttempts: number;
|
|
5191
|
-
backoff: "
|
|
5226
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5192
5227
|
initialDelayMs: number;
|
|
5193
5228
|
maxDelayMs: number;
|
|
5194
5229
|
retryOn?: string[] | undefined;
|
|
@@ -5233,9 +5268,9 @@ declare const WorkflowTriggerResponseSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5233
5268
|
maxWaitMs: number;
|
|
5234
5269
|
}>>;
|
|
5235
5270
|
}, "strip", z.ZodTypeAny, {
|
|
5271
|
+
pattern: string;
|
|
5236
5272
|
type: "event";
|
|
5237
5273
|
name: string;
|
|
5238
|
-
pattern: string;
|
|
5239
5274
|
enabled: boolean;
|
|
5240
5275
|
filter?: Record<string, unknown> | undefined;
|
|
5241
5276
|
batch?: {
|
|
@@ -5243,9 +5278,9 @@ declare const WorkflowTriggerResponseSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5243
5278
|
maxWaitMs: number;
|
|
5244
5279
|
} | undefined;
|
|
5245
5280
|
}, {
|
|
5281
|
+
pattern: string;
|
|
5246
5282
|
type: "event";
|
|
5247
5283
|
name: string;
|
|
5248
|
-
pattern: string;
|
|
5249
5284
|
enabled: boolean;
|
|
5250
5285
|
filter?: Record<string, unknown> | undefined;
|
|
5251
5286
|
batch?: {
|
|
@@ -5310,16 +5345,16 @@ declare const WorkflowTriggerResponseSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5310
5345
|
type: "webhook";
|
|
5311
5346
|
name: string;
|
|
5312
5347
|
enabled: boolean;
|
|
5313
|
-
methods: ("
|
|
5314
|
-
authentication?: "
|
|
5348
|
+
methods: ("POST" | "GET" | "PUT" | "DELETE")[];
|
|
5349
|
+
authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
|
|
5315
5350
|
hmacSecret?: string | undefined;
|
|
5316
5351
|
}, {
|
|
5317
5352
|
path: string;
|
|
5318
5353
|
type: "webhook";
|
|
5319
5354
|
name: string;
|
|
5320
5355
|
enabled: boolean;
|
|
5321
|
-
methods: ("
|
|
5322
|
-
authentication?: "
|
|
5356
|
+
methods: ("POST" | "GET" | "PUT" | "DELETE")[];
|
|
5357
|
+
authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
|
|
5323
5358
|
hmacSecret?: string | undefined;
|
|
5324
5359
|
}>]>;
|
|
5325
5360
|
/**
|
|
@@ -5335,13 +5370,13 @@ declare const ErrorHandlingConfigResponseSchema: z.ZodObject<{
|
|
|
5335
5370
|
retryOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5336
5371
|
}, "strip", z.ZodTypeAny, {
|
|
5337
5372
|
maxAttempts: number;
|
|
5338
|
-
backoff: "
|
|
5373
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5339
5374
|
initialDelayMs: number;
|
|
5340
5375
|
maxDelayMs: number;
|
|
5341
5376
|
retryOn?: string[] | undefined;
|
|
5342
5377
|
}, {
|
|
5343
5378
|
maxAttempts: number;
|
|
5344
|
-
backoff: "
|
|
5379
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5345
5380
|
initialDelayMs: number;
|
|
5346
5381
|
maxDelayMs: number;
|
|
5347
5382
|
retryOn?: string[] | undefined;
|
|
@@ -5361,10 +5396,10 @@ declare const ErrorHandlingConfigResponseSchema: z.ZodObject<{
|
|
|
5361
5396
|
}>>;
|
|
5362
5397
|
errorHandler: z.ZodOptional<z.ZodString>;
|
|
5363
5398
|
}, "strip", z.ZodTypeAny, {
|
|
5364
|
-
strategy: "
|
|
5399
|
+
strategy: "ignore" | "retry" | "compensate" | "fail";
|
|
5365
5400
|
retry?: {
|
|
5366
5401
|
maxAttempts: number;
|
|
5367
|
-
backoff: "
|
|
5402
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5368
5403
|
initialDelayMs: number;
|
|
5369
5404
|
maxDelayMs: number;
|
|
5370
5405
|
retryOn?: string[] | undefined;
|
|
@@ -5376,10 +5411,10 @@ declare const ErrorHandlingConfigResponseSchema: z.ZodObject<{
|
|
|
5376
5411
|
} | undefined;
|
|
5377
5412
|
errorHandler?: string | undefined;
|
|
5378
5413
|
}, {
|
|
5379
|
-
strategy: "
|
|
5414
|
+
strategy: "ignore" | "retry" | "compensate" | "fail";
|
|
5380
5415
|
retry?: {
|
|
5381
5416
|
maxAttempts: number;
|
|
5382
|
-
backoff: "
|
|
5417
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5383
5418
|
initialDelayMs: number;
|
|
5384
5419
|
maxDelayMs: number;
|
|
5385
5420
|
retryOn?: string[] | undefined;
|
|
@@ -5421,7 +5456,6 @@ declare const CompensationConfigResponseSchema: z.ZodObject<{
|
|
|
5421
5456
|
strategy: z.ZodEnum<["sequential", "parallel"]>;
|
|
5422
5457
|
continueOnFailure: z.ZodBoolean;
|
|
5423
5458
|
}, "strip", z.ZodTypeAny, {
|
|
5424
|
-
strategy: "parallel" | "sequential";
|
|
5425
5459
|
steps: {
|
|
5426
5460
|
id: string;
|
|
5427
5461
|
name: string;
|
|
@@ -5434,9 +5468,9 @@ declare const CompensationConfigResponseSchema: z.ZodObject<{
|
|
|
5434
5468
|
timeout?: number;
|
|
5435
5469
|
outputMapping?: Record<string, string>;
|
|
5436
5470
|
}[];
|
|
5471
|
+
strategy: "parallel" | "sequential";
|
|
5437
5472
|
continueOnFailure: boolean;
|
|
5438
5473
|
}, {
|
|
5439
|
-
strategy: "parallel" | "sequential";
|
|
5440
5474
|
steps: {
|
|
5441
5475
|
id: string;
|
|
5442
5476
|
name: string;
|
|
@@ -5449,6 +5483,7 @@ declare const CompensationConfigResponseSchema: z.ZodObject<{
|
|
|
5449
5483
|
timeout?: number;
|
|
5450
5484
|
outputMapping?: Record<string, string>;
|
|
5451
5485
|
}[];
|
|
5486
|
+
strategy: "parallel" | "sequential";
|
|
5452
5487
|
continueOnFailure: boolean;
|
|
5453
5488
|
}>;
|
|
5454
5489
|
/**
|
|
@@ -5520,9 +5555,9 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5520
5555
|
maxWaitMs: number;
|
|
5521
5556
|
}>>;
|
|
5522
5557
|
}, "strip", z.ZodTypeAny, {
|
|
5558
|
+
pattern: string;
|
|
5523
5559
|
type: "event";
|
|
5524
5560
|
name: string;
|
|
5525
|
-
pattern: string;
|
|
5526
5561
|
enabled: boolean;
|
|
5527
5562
|
filter?: Record<string, unknown> | undefined;
|
|
5528
5563
|
batch?: {
|
|
@@ -5530,9 +5565,9 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5530
5565
|
maxWaitMs: number;
|
|
5531
5566
|
} | undefined;
|
|
5532
5567
|
}, {
|
|
5568
|
+
pattern: string;
|
|
5533
5569
|
type: "event";
|
|
5534
5570
|
name: string;
|
|
5535
|
-
pattern: string;
|
|
5536
5571
|
enabled: boolean;
|
|
5537
5572
|
filter?: Record<string, unknown> | undefined;
|
|
5538
5573
|
batch?: {
|
|
@@ -5597,16 +5632,16 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5597
5632
|
type: "webhook";
|
|
5598
5633
|
name: string;
|
|
5599
5634
|
enabled: boolean;
|
|
5600
|
-
methods: ("
|
|
5601
|
-
authentication?: "
|
|
5635
|
+
methods: ("POST" | "GET" | "PUT" | "DELETE")[];
|
|
5636
|
+
authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
|
|
5602
5637
|
hmacSecret?: string | undefined;
|
|
5603
5638
|
}, {
|
|
5604
5639
|
path: string;
|
|
5605
5640
|
type: "webhook";
|
|
5606
5641
|
name: string;
|
|
5607
5642
|
enabled: boolean;
|
|
5608
|
-
methods: ("
|
|
5609
|
-
authentication?: "
|
|
5643
|
+
methods: ("POST" | "GET" | "PUT" | "DELETE")[];
|
|
5644
|
+
authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
|
|
5610
5645
|
hmacSecret?: string | undefined;
|
|
5611
5646
|
}>]>;
|
|
5612
5647
|
steps: z.ZodArray<z.ZodType<{
|
|
@@ -5642,13 +5677,13 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5642
5677
|
retryOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5643
5678
|
}, "strip", z.ZodTypeAny, {
|
|
5644
5679
|
maxAttempts: number;
|
|
5645
|
-
backoff: "
|
|
5680
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5646
5681
|
initialDelayMs: number;
|
|
5647
5682
|
maxDelayMs: number;
|
|
5648
5683
|
retryOn?: string[] | undefined;
|
|
5649
5684
|
}, {
|
|
5650
5685
|
maxAttempts: number;
|
|
5651
|
-
backoff: "
|
|
5686
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5652
5687
|
initialDelayMs: number;
|
|
5653
5688
|
maxDelayMs: number;
|
|
5654
5689
|
retryOn?: string[] | undefined;
|
|
@@ -5668,10 +5703,10 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5668
5703
|
}>>;
|
|
5669
5704
|
errorHandler: z.ZodOptional<z.ZodString>;
|
|
5670
5705
|
}, "strip", z.ZodTypeAny, {
|
|
5671
|
-
strategy: "
|
|
5706
|
+
strategy: "ignore" | "retry" | "compensate" | "fail";
|
|
5672
5707
|
retry?: {
|
|
5673
5708
|
maxAttempts: number;
|
|
5674
|
-
backoff: "
|
|
5709
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5675
5710
|
initialDelayMs: number;
|
|
5676
5711
|
maxDelayMs: number;
|
|
5677
5712
|
retryOn?: string[] | undefined;
|
|
@@ -5683,10 +5718,10 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5683
5718
|
} | undefined;
|
|
5684
5719
|
errorHandler?: string | undefined;
|
|
5685
5720
|
}, {
|
|
5686
|
-
strategy: "
|
|
5721
|
+
strategy: "ignore" | "retry" | "compensate" | "fail";
|
|
5687
5722
|
retry?: {
|
|
5688
5723
|
maxAttempts: number;
|
|
5689
|
-
backoff: "
|
|
5724
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5690
5725
|
initialDelayMs: number;
|
|
5691
5726
|
maxDelayMs: number;
|
|
5692
5727
|
retryOn?: string[] | undefined;
|
|
@@ -5725,7 +5760,6 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5725
5760
|
strategy: z.ZodEnum<["sequential", "parallel"]>;
|
|
5726
5761
|
continueOnFailure: z.ZodBoolean;
|
|
5727
5762
|
}, "strip", z.ZodTypeAny, {
|
|
5728
|
-
strategy: "parallel" | "sequential";
|
|
5729
5763
|
steps: {
|
|
5730
5764
|
id: string;
|
|
5731
5765
|
name: string;
|
|
@@ -5738,9 +5772,9 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5738
5772
|
timeout?: number;
|
|
5739
5773
|
outputMapping?: Record<string, string>;
|
|
5740
5774
|
}[];
|
|
5775
|
+
strategy: "parallel" | "sequential";
|
|
5741
5776
|
continueOnFailure: boolean;
|
|
5742
5777
|
}, {
|
|
5743
|
-
strategy: "parallel" | "sequential";
|
|
5744
5778
|
steps: {
|
|
5745
5779
|
id: string;
|
|
5746
5780
|
name: string;
|
|
@@ -5753,6 +5787,7 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5753
5787
|
timeout?: number;
|
|
5754
5788
|
outputMapping?: Record<string, string>;
|
|
5755
5789
|
}[];
|
|
5790
|
+
strategy: "parallel" | "sequential";
|
|
5756
5791
|
continueOnFailure: boolean;
|
|
5757
5792
|
}>>;
|
|
5758
5793
|
config: z.ZodObject<{
|
|
@@ -5797,17 +5832,15 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5797
5832
|
createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
5798
5833
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
5799
5834
|
}, "strip", z.ZodTypeAny, {
|
|
5800
|
-
status: "active" | "draft" | "deprecated" | "archived";
|
|
5801
|
-
ns: string;
|
|
5802
5835
|
id: string;
|
|
5836
|
+
status: "active" | "draft" | "deprecated" | "archived";
|
|
5803
5837
|
name: string;
|
|
5804
|
-
|
|
5805
|
-
updatedAt: Date;
|
|
5838
|
+
version: string;
|
|
5806
5839
|
description: string;
|
|
5807
5840
|
trigger: {
|
|
5841
|
+
pattern: string;
|
|
5808
5842
|
type: "event";
|
|
5809
5843
|
name: string;
|
|
5810
|
-
pattern: string;
|
|
5811
5844
|
enabled: boolean;
|
|
5812
5845
|
filter?: Record<string, unknown> | undefined;
|
|
5813
5846
|
batch?: {
|
|
@@ -5833,24 +5866,10 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5833
5866
|
type: "webhook";
|
|
5834
5867
|
name: string;
|
|
5835
5868
|
enabled: boolean;
|
|
5836
|
-
methods: ("
|
|
5837
|
-
authentication?: "
|
|
5869
|
+
methods: ("POST" | "GET" | "PUT" | "DELETE")[];
|
|
5870
|
+
authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
|
|
5838
5871
|
hmacSecret?: string | undefined;
|
|
5839
5872
|
};
|
|
5840
|
-
owner: string;
|
|
5841
|
-
tags: string[];
|
|
5842
|
-
slug: string;
|
|
5843
|
-
config: {
|
|
5844
|
-
timeout: number;
|
|
5845
|
-
executionMode: "async" | "sync";
|
|
5846
|
-
storeHistory: boolean;
|
|
5847
|
-
historyRetentionDays: number;
|
|
5848
|
-
maxConcurrency?: number | undefined;
|
|
5849
|
-
rateLimit?: {
|
|
5850
|
-
strategy: "fixed" | "sliding";
|
|
5851
|
-
maxPerMinute: number;
|
|
5852
|
-
} | undefined;
|
|
5853
|
-
};
|
|
5854
5873
|
steps: {
|
|
5855
5874
|
id: string;
|
|
5856
5875
|
name: string;
|
|
@@ -5863,12 +5882,28 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5863
5882
|
timeout?: number;
|
|
5864
5883
|
outputMapping?: Record<string, string>;
|
|
5865
5884
|
}[];
|
|
5866
|
-
|
|
5885
|
+
tags: string[];
|
|
5886
|
+
config: {
|
|
5887
|
+
timeout: number;
|
|
5888
|
+
executionMode: "async" | "sync";
|
|
5889
|
+
storeHistory: boolean;
|
|
5890
|
+
historyRetentionDays: number;
|
|
5891
|
+
maxConcurrency?: number | undefined;
|
|
5892
|
+
rateLimit?: {
|
|
5893
|
+
strategy: "fixed" | "sliding";
|
|
5894
|
+
maxPerMinute: number;
|
|
5895
|
+
} | undefined;
|
|
5896
|
+
};
|
|
5897
|
+
ns: string;
|
|
5898
|
+
createdAt: Date;
|
|
5899
|
+
updatedAt: Date;
|
|
5900
|
+
owner: string;
|
|
5901
|
+
slug: string;
|
|
5867
5902
|
errorHandling: {
|
|
5868
|
-
strategy: "
|
|
5903
|
+
strategy: "ignore" | "retry" | "compensate" | "fail";
|
|
5869
5904
|
retry?: {
|
|
5870
5905
|
maxAttempts: number;
|
|
5871
|
-
backoff: "
|
|
5906
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5872
5907
|
initialDelayMs: number;
|
|
5873
5908
|
maxDelayMs: number;
|
|
5874
5909
|
retryOn?: string[] | undefined;
|
|
@@ -5881,7 +5916,6 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5881
5916
|
errorHandler?: string | undefined;
|
|
5882
5917
|
};
|
|
5883
5918
|
compensation?: {
|
|
5884
|
-
strategy: "parallel" | "sequential";
|
|
5885
5919
|
steps: {
|
|
5886
5920
|
id: string;
|
|
5887
5921
|
name: string;
|
|
@@ -5894,20 +5928,19 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5894
5928
|
timeout?: number;
|
|
5895
5929
|
outputMapping?: Record<string, string>;
|
|
5896
5930
|
}[];
|
|
5931
|
+
strategy: "parallel" | "sequential";
|
|
5897
5932
|
continueOnFailure: boolean;
|
|
5898
5933
|
} | undefined;
|
|
5899
5934
|
}, {
|
|
5900
|
-
status: "active" | "draft" | "deprecated" | "archived";
|
|
5901
|
-
ns: string;
|
|
5902
5935
|
id: string;
|
|
5936
|
+
status: "active" | "draft" | "deprecated" | "archived";
|
|
5903
5937
|
name: string;
|
|
5904
|
-
|
|
5905
|
-
updatedAt: string | Date;
|
|
5938
|
+
version: string;
|
|
5906
5939
|
description: string;
|
|
5907
5940
|
trigger: {
|
|
5941
|
+
pattern: string;
|
|
5908
5942
|
type: "event";
|
|
5909
5943
|
name: string;
|
|
5910
|
-
pattern: string;
|
|
5911
5944
|
enabled: boolean;
|
|
5912
5945
|
filter?: Record<string, unknown> | undefined;
|
|
5913
5946
|
batch?: {
|
|
@@ -5933,24 +5966,10 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5933
5966
|
type: "webhook";
|
|
5934
5967
|
name: string;
|
|
5935
5968
|
enabled: boolean;
|
|
5936
|
-
methods: ("
|
|
5937
|
-
authentication?: "
|
|
5969
|
+
methods: ("POST" | "GET" | "PUT" | "DELETE")[];
|
|
5970
|
+
authentication?: "none" | "jwt" | "api-key" | "hmac" | undefined;
|
|
5938
5971
|
hmacSecret?: string | undefined;
|
|
5939
5972
|
};
|
|
5940
|
-
owner: string;
|
|
5941
|
-
tags: string[];
|
|
5942
|
-
slug: string;
|
|
5943
|
-
config: {
|
|
5944
|
-
timeout: number;
|
|
5945
|
-
executionMode: "async" | "sync";
|
|
5946
|
-
storeHistory: boolean;
|
|
5947
|
-
historyRetentionDays: number;
|
|
5948
|
-
maxConcurrency?: number | undefined;
|
|
5949
|
-
rateLimit?: {
|
|
5950
|
-
strategy: "fixed" | "sliding";
|
|
5951
|
-
maxPerMinute: number;
|
|
5952
|
-
} | undefined;
|
|
5953
|
-
};
|
|
5954
5973
|
steps: {
|
|
5955
5974
|
id: string;
|
|
5956
5975
|
name: string;
|
|
@@ -5963,12 +5982,28 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5963
5982
|
timeout?: number;
|
|
5964
5983
|
outputMapping?: Record<string, string>;
|
|
5965
5984
|
}[];
|
|
5966
|
-
|
|
5985
|
+
tags: string[];
|
|
5986
|
+
config: {
|
|
5987
|
+
timeout: number;
|
|
5988
|
+
executionMode: "async" | "sync";
|
|
5989
|
+
storeHistory: boolean;
|
|
5990
|
+
historyRetentionDays: number;
|
|
5991
|
+
maxConcurrency?: number | undefined;
|
|
5992
|
+
rateLimit?: {
|
|
5993
|
+
strategy: "fixed" | "sliding";
|
|
5994
|
+
maxPerMinute: number;
|
|
5995
|
+
} | undefined;
|
|
5996
|
+
};
|
|
5997
|
+
ns: string;
|
|
5998
|
+
createdAt: string | Date;
|
|
5999
|
+
updatedAt: string | Date;
|
|
6000
|
+
owner: string;
|
|
6001
|
+
slug: string;
|
|
5967
6002
|
errorHandling: {
|
|
5968
|
-
strategy: "
|
|
6003
|
+
strategy: "ignore" | "retry" | "compensate" | "fail";
|
|
5969
6004
|
retry?: {
|
|
5970
6005
|
maxAttempts: number;
|
|
5971
|
-
backoff: "
|
|
6006
|
+
backoff: "fixed" | "linear" | "exponential";
|
|
5972
6007
|
initialDelayMs: number;
|
|
5973
6008
|
maxDelayMs: number;
|
|
5974
6009
|
retryOn?: string[] | undefined;
|
|
@@ -5981,7 +6016,6 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5981
6016
|
errorHandler?: string | undefined;
|
|
5982
6017
|
};
|
|
5983
6018
|
compensation?: {
|
|
5984
|
-
strategy: "parallel" | "sequential";
|
|
5985
6019
|
steps: {
|
|
5986
6020
|
id: string;
|
|
5987
6021
|
name: string;
|
|
@@ -5994,6 +6028,7 @@ declare const WorkflowResponseSchema: z.ZodObject<{
|
|
|
5994
6028
|
timeout?: number;
|
|
5995
6029
|
outputMapping?: Record<string, string>;
|
|
5996
6030
|
}[];
|
|
6031
|
+
strategy: "parallel" | "sequential";
|
|
5997
6032
|
continueOnFailure: boolean;
|
|
5998
6033
|
} | undefined;
|
|
5999
6034
|
}>;
|
|
@@ -6006,14 +6041,14 @@ declare const TriggerDataResponseSchema: z.ZodObject<{
|
|
|
6006
6041
|
triggeredAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
6007
6042
|
source: z.ZodString;
|
|
6008
6043
|
}, "strip", z.ZodTypeAny, {
|
|
6009
|
-
type: "manual" | "event" | "schedule" | "webhook";
|
|
6010
6044
|
data: Record<string, unknown>;
|
|
6011
6045
|
source: string;
|
|
6046
|
+
type: "manual" | "event" | "schedule" | "webhook";
|
|
6012
6047
|
triggeredAt: Date;
|
|
6013
6048
|
}, {
|
|
6014
|
-
type: "manual" | "event" | "schedule" | "webhook";
|
|
6015
6049
|
data: Record<string, unknown>;
|
|
6016
6050
|
source: string;
|
|
6051
|
+
type: "manual" | "event" | "schedule" | "webhook";
|
|
6017
6052
|
triggeredAt: string | Date;
|
|
6018
6053
|
}>;
|
|
6019
6054
|
/**
|
|
@@ -6081,35 +6116,35 @@ declare const StepExecutionResponseSchema: z.ZodObject<{
|
|
|
6081
6116
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
6082
6117
|
retryCount: z.ZodNumber;
|
|
6083
6118
|
}, "strip", z.ZodTypeAny, {
|
|
6084
|
-
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6085
|
-
retryCount: number;
|
|
6086
6119
|
input: Record<string, unknown>;
|
|
6120
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6121
|
+
retryCount: number;
|
|
6087
6122
|
startedAt: Date;
|
|
6088
6123
|
stepId: string;
|
|
6089
6124
|
stepName: string;
|
|
6125
|
+
output?: Record<string, unknown> | undefined;
|
|
6090
6126
|
error?: {
|
|
6091
6127
|
code: string;
|
|
6092
6128
|
message: string;
|
|
6093
6129
|
stack?: string | undefined;
|
|
6094
6130
|
failedStep?: string | undefined;
|
|
6095
6131
|
} | undefined;
|
|
6096
|
-
output?: Record<string, unknown> | undefined;
|
|
6097
6132
|
completedAt?: Date | undefined;
|
|
6098
6133
|
durationMs?: number | undefined;
|
|
6099
6134
|
}, {
|
|
6100
|
-
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6101
|
-
retryCount: number;
|
|
6102
6135
|
input: Record<string, unknown>;
|
|
6136
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6137
|
+
retryCount: number;
|
|
6103
6138
|
startedAt: string | Date;
|
|
6104
6139
|
stepId: string;
|
|
6105
6140
|
stepName: string;
|
|
6141
|
+
output?: Record<string, unknown> | undefined;
|
|
6106
6142
|
error?: {
|
|
6107
6143
|
code: string;
|
|
6108
6144
|
message: string;
|
|
6109
6145
|
stack?: string | undefined;
|
|
6110
6146
|
failedStep?: string | undefined;
|
|
6111
6147
|
} | undefined;
|
|
6112
|
-
output?: Record<string, unknown> | undefined;
|
|
6113
6148
|
completedAt?: string | Date | undefined;
|
|
6114
6149
|
durationMs?: number | undefined;
|
|
6115
6150
|
}>;
|
|
@@ -6127,14 +6162,14 @@ declare const WorkflowExecutionResponseSchema: z.ZodObject<{
|
|
|
6127
6162
|
triggeredAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
6128
6163
|
source: z.ZodString;
|
|
6129
6164
|
}, "strip", z.ZodTypeAny, {
|
|
6130
|
-
type: "manual" | "event" | "schedule" | "webhook";
|
|
6131
6165
|
data: Record<string, unknown>;
|
|
6132
6166
|
source: string;
|
|
6167
|
+
type: "manual" | "event" | "schedule" | "webhook";
|
|
6133
6168
|
triggeredAt: Date;
|
|
6134
6169
|
}, {
|
|
6135
|
-
type: "manual" | "event" | "schedule" | "webhook";
|
|
6136
6170
|
data: Record<string, unknown>;
|
|
6137
6171
|
source: string;
|
|
6172
|
+
type: "manual" | "event" | "schedule" | "webhook";
|
|
6138
6173
|
triggeredAt: string | Date;
|
|
6139
6174
|
}>;
|
|
6140
6175
|
context: z.ZodObject<{
|
|
@@ -6177,35 +6212,35 @@ declare const WorkflowExecutionResponseSchema: z.ZodObject<{
|
|
|
6177
6212
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
6178
6213
|
retryCount: z.ZodNumber;
|
|
6179
6214
|
}, "strip", z.ZodTypeAny, {
|
|
6180
|
-
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6181
|
-
retryCount: number;
|
|
6182
6215
|
input: Record<string, unknown>;
|
|
6216
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6217
|
+
retryCount: number;
|
|
6183
6218
|
startedAt: Date;
|
|
6184
6219
|
stepId: string;
|
|
6185
6220
|
stepName: string;
|
|
6221
|
+
output?: Record<string, unknown> | undefined;
|
|
6186
6222
|
error?: {
|
|
6187
6223
|
code: string;
|
|
6188
6224
|
message: string;
|
|
6189
6225
|
stack?: string | undefined;
|
|
6190
6226
|
failedStep?: string | undefined;
|
|
6191
6227
|
} | undefined;
|
|
6192
|
-
output?: Record<string, unknown> | undefined;
|
|
6193
6228
|
completedAt?: Date | undefined;
|
|
6194
6229
|
durationMs?: number | undefined;
|
|
6195
6230
|
}, {
|
|
6196
|
-
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6197
|
-
retryCount: number;
|
|
6198
6231
|
input: Record<string, unknown>;
|
|
6232
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6233
|
+
retryCount: number;
|
|
6199
6234
|
startedAt: string | Date;
|
|
6200
6235
|
stepId: string;
|
|
6201
6236
|
stepName: string;
|
|
6237
|
+
output?: Record<string, unknown> | undefined;
|
|
6202
6238
|
error?: {
|
|
6203
6239
|
code: string;
|
|
6204
6240
|
message: string;
|
|
6205
6241
|
stack?: string | undefined;
|
|
6206
6242
|
failedStep?: string | undefined;
|
|
6207
6243
|
} | undefined;
|
|
6208
|
-
output?: Record<string, unknown> | undefined;
|
|
6209
6244
|
completedAt?: string | Date | undefined;
|
|
6210
6245
|
durationMs?: number | undefined;
|
|
6211
6246
|
}>, "many">;
|
|
@@ -6230,39 +6265,39 @@ declare const WorkflowExecutionResponseSchema: z.ZodObject<{
|
|
|
6230
6265
|
}>>;
|
|
6231
6266
|
ns: z.ZodString;
|
|
6232
6267
|
}, "strip", z.ZodTypeAny, {
|
|
6233
|
-
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6234
|
-
ns: string;
|
|
6235
6268
|
id: string;
|
|
6236
|
-
|
|
6237
|
-
type: "manual" | "event" | "schedule" | "webhook";
|
|
6238
|
-
data: Record<string, unknown>;
|
|
6239
|
-
source: string;
|
|
6240
|
-
triggeredAt: Date;
|
|
6241
|
-
};
|
|
6269
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6242
6270
|
context: {
|
|
6243
6271
|
metadata: Record<string, unknown>;
|
|
6244
6272
|
variables: Record<string, unknown>;
|
|
6245
6273
|
stepOutputs: Record<string, unknown>;
|
|
6246
6274
|
};
|
|
6247
|
-
|
|
6248
|
-
|
|
6275
|
+
trigger: {
|
|
6276
|
+
data: Record<string, unknown>;
|
|
6277
|
+
source: string;
|
|
6278
|
+
type: "manual" | "event" | "schedule" | "webhook";
|
|
6279
|
+
triggeredAt: Date;
|
|
6280
|
+
};
|
|
6249
6281
|
steps: {
|
|
6250
|
-
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6251
|
-
retryCount: number;
|
|
6252
6282
|
input: Record<string, unknown>;
|
|
6283
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6284
|
+
retryCount: number;
|
|
6253
6285
|
startedAt: Date;
|
|
6254
6286
|
stepId: string;
|
|
6255
6287
|
stepName: string;
|
|
6288
|
+
output?: Record<string, unknown> | undefined;
|
|
6256
6289
|
error?: {
|
|
6257
6290
|
code: string;
|
|
6258
6291
|
message: string;
|
|
6259
6292
|
stack?: string | undefined;
|
|
6260
6293
|
failedStep?: string | undefined;
|
|
6261
6294
|
} | undefined;
|
|
6262
|
-
output?: Record<string, unknown> | undefined;
|
|
6263
6295
|
completedAt?: Date | undefined;
|
|
6264
6296
|
durationMs?: number | undefined;
|
|
6265
6297
|
}[];
|
|
6298
|
+
ns: string;
|
|
6299
|
+
workflowId: string;
|
|
6300
|
+
startedAt: Date;
|
|
6266
6301
|
workflowVersion: string;
|
|
6267
6302
|
error?: {
|
|
6268
6303
|
code: string;
|
|
@@ -6273,39 +6308,39 @@ declare const WorkflowExecutionResponseSchema: z.ZodObject<{
|
|
|
6273
6308
|
completedAt?: Date | undefined;
|
|
6274
6309
|
durationMs?: number | undefined;
|
|
6275
6310
|
}, {
|
|
6276
|
-
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6277
|
-
ns: string;
|
|
6278
6311
|
id: string;
|
|
6279
|
-
|
|
6280
|
-
type: "manual" | "event" | "schedule" | "webhook";
|
|
6281
|
-
data: Record<string, unknown>;
|
|
6282
|
-
source: string;
|
|
6283
|
-
triggeredAt: string | Date;
|
|
6284
|
-
};
|
|
6312
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6285
6313
|
context: {
|
|
6286
6314
|
metadata: Record<string, unknown>;
|
|
6287
6315
|
variables: Record<string, unknown>;
|
|
6288
6316
|
stepOutputs: Record<string, unknown>;
|
|
6289
6317
|
};
|
|
6290
|
-
|
|
6291
|
-
|
|
6318
|
+
trigger: {
|
|
6319
|
+
data: Record<string, unknown>;
|
|
6320
|
+
source: string;
|
|
6321
|
+
type: "manual" | "event" | "schedule" | "webhook";
|
|
6322
|
+
triggeredAt: string | Date;
|
|
6323
|
+
};
|
|
6292
6324
|
steps: {
|
|
6293
|
-
status: "pending" | "running" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6294
|
-
retryCount: number;
|
|
6295
6325
|
input: Record<string, unknown>;
|
|
6326
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled" | "compensating" | "compensated";
|
|
6327
|
+
retryCount: number;
|
|
6296
6328
|
startedAt: string | Date;
|
|
6297
6329
|
stepId: string;
|
|
6298
6330
|
stepName: string;
|
|
6331
|
+
output?: Record<string, unknown> | undefined;
|
|
6299
6332
|
error?: {
|
|
6300
6333
|
code: string;
|
|
6301
6334
|
message: string;
|
|
6302
6335
|
stack?: string | undefined;
|
|
6303
6336
|
failedStep?: string | undefined;
|
|
6304
6337
|
} | undefined;
|
|
6305
|
-
output?: Record<string, unknown> | undefined;
|
|
6306
6338
|
completedAt?: string | Date | undefined;
|
|
6307
6339
|
durationMs?: number | undefined;
|
|
6308
6340
|
}[];
|
|
6341
|
+
ns: string;
|
|
6342
|
+
workflowId: string;
|
|
6343
|
+
startedAt: string | Date;
|
|
6309
6344
|
workflowVersion: string;
|
|
6310
6345
|
error?: {
|
|
6311
6346
|
code: string;
|
|
@@ -6374,17 +6409,17 @@ declare const RelationshipResponseSchema: z.ZodObject<{
|
|
|
6374
6409
|
endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
6375
6410
|
}, z.ZodUnknown, "strip">>;
|
|
6376
6411
|
}, "strip", z.ZodTypeAny, {
|
|
6377
|
-
createdAt: Date;
|
|
6378
|
-
createdBy: string;
|
|
6379
6412
|
metadata: {
|
|
6413
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6380
6414
|
weight?: number | undefined;
|
|
6381
6415
|
confidence?: number | undefined;
|
|
6382
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6383
6416
|
startDate?: Date | undefined;
|
|
6384
6417
|
endDate?: Date | undefined;
|
|
6385
6418
|
} & {
|
|
6386
6419
|
[k: string]: unknown;
|
|
6387
6420
|
};
|
|
6421
|
+
createdAt: Date;
|
|
6422
|
+
createdBy: string;
|
|
6388
6423
|
relationshipType: string;
|
|
6389
6424
|
relationshipId: string;
|
|
6390
6425
|
fromNs: string;
|
|
@@ -6396,17 +6431,17 @@ declare const RelationshipResponseSchema: z.ZodObject<{
|
|
|
6396
6431
|
deletedAt?: Date | null | undefined;
|
|
6397
6432
|
deletedBy?: string | undefined;
|
|
6398
6433
|
}, {
|
|
6399
|
-
createdAt: string | Date;
|
|
6400
|
-
createdBy: string;
|
|
6401
6434
|
metadata: {
|
|
6435
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6402
6436
|
weight?: number | undefined;
|
|
6403
6437
|
confidence?: number | undefined;
|
|
6404
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6405
6438
|
startDate?: string | Date | undefined;
|
|
6406
6439
|
endDate?: string | Date | undefined;
|
|
6407
6440
|
} & {
|
|
6408
6441
|
[k: string]: unknown;
|
|
6409
6442
|
};
|
|
6443
|
+
createdAt: string | Date;
|
|
6444
|
+
createdBy: string;
|
|
6410
6445
|
relationshipType: string;
|
|
6411
6446
|
relationshipId: string;
|
|
6412
6447
|
fromNs: string;
|
|
@@ -6428,15 +6463,15 @@ declare const EntityReferenceResponseSchema: z.ZodObject<{
|
|
|
6428
6463
|
semanticId: z.ZodString;
|
|
6429
6464
|
name: z.ZodOptional<z.ZodString>;
|
|
6430
6465
|
}, "strip", z.ZodTypeAny, {
|
|
6466
|
+
id: string;
|
|
6431
6467
|
type: string;
|
|
6432
6468
|
ns: string;
|
|
6433
|
-
id: string;
|
|
6434
6469
|
semanticId: string;
|
|
6435
6470
|
name?: string | undefined;
|
|
6436
6471
|
}, {
|
|
6472
|
+
id: string;
|
|
6437
6473
|
type: string;
|
|
6438
6474
|
ns: string;
|
|
6439
|
-
id: string;
|
|
6440
6475
|
semanticId: string;
|
|
6441
6476
|
name?: string | undefined;
|
|
6442
6477
|
}>;
|
|
@@ -6451,15 +6486,15 @@ declare const GraphPathResponseSchema: z.ZodObject<{
|
|
|
6451
6486
|
semanticId: z.ZodString;
|
|
6452
6487
|
name: z.ZodOptional<z.ZodString>;
|
|
6453
6488
|
}, "strip", z.ZodTypeAny, {
|
|
6489
|
+
id: string;
|
|
6454
6490
|
type: string;
|
|
6455
6491
|
ns: string;
|
|
6456
|
-
id: string;
|
|
6457
6492
|
semanticId: string;
|
|
6458
6493
|
name?: string | undefined;
|
|
6459
6494
|
}, {
|
|
6495
|
+
id: string;
|
|
6460
6496
|
type: string;
|
|
6461
6497
|
ns: string;
|
|
6462
|
-
id: string;
|
|
6463
6498
|
semanticId: string;
|
|
6464
6499
|
name?: string | undefined;
|
|
6465
6500
|
}>;
|
|
@@ -6470,15 +6505,15 @@ declare const GraphPathResponseSchema: z.ZodObject<{
|
|
|
6470
6505
|
semanticId: z.ZodString;
|
|
6471
6506
|
name: z.ZodOptional<z.ZodString>;
|
|
6472
6507
|
}, "strip", z.ZodTypeAny, {
|
|
6508
|
+
id: string;
|
|
6473
6509
|
type: string;
|
|
6474
6510
|
ns: string;
|
|
6475
|
-
id: string;
|
|
6476
6511
|
semanticId: string;
|
|
6477
6512
|
name?: string | undefined;
|
|
6478
6513
|
}, {
|
|
6514
|
+
id: string;
|
|
6479
6515
|
type: string;
|
|
6480
6516
|
ns: string;
|
|
6481
|
-
id: string;
|
|
6482
6517
|
semanticId: string;
|
|
6483
6518
|
name?: string | undefined;
|
|
6484
6519
|
}>;
|
|
@@ -6515,17 +6550,17 @@ declare const GraphPathResponseSchema: z.ZodObject<{
|
|
|
6515
6550
|
endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
6516
6551
|
}, z.ZodUnknown, "strip">>;
|
|
6517
6552
|
}, "strip", z.ZodTypeAny, {
|
|
6518
|
-
createdAt: Date;
|
|
6519
|
-
createdBy: string;
|
|
6520
6553
|
metadata: {
|
|
6554
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6521
6555
|
weight?: number | undefined;
|
|
6522
6556
|
confidence?: number | undefined;
|
|
6523
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6524
6557
|
startDate?: Date | undefined;
|
|
6525
6558
|
endDate?: Date | undefined;
|
|
6526
6559
|
} & {
|
|
6527
6560
|
[k: string]: unknown;
|
|
6528
6561
|
};
|
|
6562
|
+
createdAt: Date;
|
|
6563
|
+
createdBy: string;
|
|
6529
6564
|
relationshipType: string;
|
|
6530
6565
|
relationshipId: string;
|
|
6531
6566
|
fromNs: string;
|
|
@@ -6537,17 +6572,17 @@ declare const GraphPathResponseSchema: z.ZodObject<{
|
|
|
6537
6572
|
deletedAt?: Date | null | undefined;
|
|
6538
6573
|
deletedBy?: string | undefined;
|
|
6539
6574
|
}, {
|
|
6540
|
-
createdAt: string | Date;
|
|
6541
|
-
createdBy: string;
|
|
6542
6575
|
metadata: {
|
|
6576
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6543
6577
|
weight?: number | undefined;
|
|
6544
6578
|
confidence?: number | undefined;
|
|
6545
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6546
6579
|
startDate?: string | Date | undefined;
|
|
6547
6580
|
endDate?: string | Date | undefined;
|
|
6548
6581
|
} & {
|
|
6549
6582
|
[k: string]: unknown;
|
|
6550
6583
|
};
|
|
6584
|
+
createdAt: string | Date;
|
|
6585
|
+
createdBy: string;
|
|
6551
6586
|
relationshipType: string;
|
|
6552
6587
|
relationshipId: string;
|
|
6553
6588
|
fromNs: string;
|
|
@@ -6563,32 +6598,32 @@ declare const GraphPathResponseSchema: z.ZodObject<{
|
|
|
6563
6598
|
length: z.ZodNumber;
|
|
6564
6599
|
}, "strip", z.ZodTypeAny, {
|
|
6565
6600
|
length: number;
|
|
6566
|
-
|
|
6601
|
+
end: {
|
|
6602
|
+
id: string;
|
|
6567
6603
|
type: string;
|
|
6568
6604
|
ns: string;
|
|
6569
|
-
id: string;
|
|
6570
6605
|
semanticId: string;
|
|
6571
6606
|
name?: string | undefined;
|
|
6572
6607
|
};
|
|
6573
|
-
|
|
6608
|
+
start: {
|
|
6609
|
+
id: string;
|
|
6574
6610
|
type: string;
|
|
6575
6611
|
ns: string;
|
|
6576
|
-
id: string;
|
|
6577
6612
|
semanticId: string;
|
|
6578
6613
|
name?: string | undefined;
|
|
6579
6614
|
};
|
|
6580
6615
|
edges: {
|
|
6581
|
-
createdAt: Date;
|
|
6582
|
-
createdBy: string;
|
|
6583
6616
|
metadata: {
|
|
6617
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6584
6618
|
weight?: number | undefined;
|
|
6585
6619
|
confidence?: number | undefined;
|
|
6586
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6587
6620
|
startDate?: Date | undefined;
|
|
6588
6621
|
endDate?: Date | undefined;
|
|
6589
6622
|
} & {
|
|
6590
6623
|
[k: string]: unknown;
|
|
6591
6624
|
};
|
|
6625
|
+
createdAt: Date;
|
|
6626
|
+
createdBy: string;
|
|
6592
6627
|
relationshipType: string;
|
|
6593
6628
|
relationshipId: string;
|
|
6594
6629
|
fromNs: string;
|
|
@@ -6603,32 +6638,32 @@ declare const GraphPathResponseSchema: z.ZodObject<{
|
|
|
6603
6638
|
totalWeight: number;
|
|
6604
6639
|
}, {
|
|
6605
6640
|
length: number;
|
|
6606
|
-
|
|
6641
|
+
end: {
|
|
6642
|
+
id: string;
|
|
6607
6643
|
type: string;
|
|
6608
6644
|
ns: string;
|
|
6609
|
-
id: string;
|
|
6610
6645
|
semanticId: string;
|
|
6611
6646
|
name?: string | undefined;
|
|
6612
6647
|
};
|
|
6613
|
-
|
|
6648
|
+
start: {
|
|
6649
|
+
id: string;
|
|
6614
6650
|
type: string;
|
|
6615
6651
|
ns: string;
|
|
6616
|
-
id: string;
|
|
6617
6652
|
semanticId: string;
|
|
6618
6653
|
name?: string | undefined;
|
|
6619
6654
|
};
|
|
6620
6655
|
edges: {
|
|
6621
|
-
createdAt: string | Date;
|
|
6622
|
-
createdBy: string;
|
|
6623
6656
|
metadata: {
|
|
6657
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6624
6658
|
weight?: number | undefined;
|
|
6625
6659
|
confidence?: number | undefined;
|
|
6626
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6627
6660
|
startDate?: string | Date | undefined;
|
|
6628
6661
|
endDate?: string | Date | undefined;
|
|
6629
6662
|
} & {
|
|
6630
6663
|
[k: string]: unknown;
|
|
6631
6664
|
};
|
|
6665
|
+
createdAt: string | Date;
|
|
6666
|
+
createdBy: string;
|
|
6632
6667
|
relationshipType: string;
|
|
6633
6668
|
relationshipId: string;
|
|
6634
6669
|
fromNs: string;
|
|
@@ -6653,15 +6688,15 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6653
6688
|
semanticId: z.ZodString;
|
|
6654
6689
|
name: z.ZodOptional<z.ZodString>;
|
|
6655
6690
|
}, "strip", z.ZodTypeAny, {
|
|
6691
|
+
id: string;
|
|
6656
6692
|
type: string;
|
|
6657
6693
|
ns: string;
|
|
6658
|
-
id: string;
|
|
6659
6694
|
semanticId: string;
|
|
6660
6695
|
name?: string | undefined;
|
|
6661
6696
|
}, {
|
|
6697
|
+
id: string;
|
|
6662
6698
|
type: string;
|
|
6663
6699
|
ns: string;
|
|
6664
|
-
id: string;
|
|
6665
6700
|
semanticId: string;
|
|
6666
6701
|
name?: string | undefined;
|
|
6667
6702
|
}>;
|
|
@@ -6672,15 +6707,15 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6672
6707
|
semanticId: z.ZodString;
|
|
6673
6708
|
name: z.ZodOptional<z.ZodString>;
|
|
6674
6709
|
}, "strip", z.ZodTypeAny, {
|
|
6710
|
+
id: string;
|
|
6675
6711
|
type: string;
|
|
6676
6712
|
ns: string;
|
|
6677
|
-
id: string;
|
|
6678
6713
|
semanticId: string;
|
|
6679
6714
|
name?: string | undefined;
|
|
6680
6715
|
}, {
|
|
6716
|
+
id: string;
|
|
6681
6717
|
type: string;
|
|
6682
6718
|
ns: string;
|
|
6683
|
-
id: string;
|
|
6684
6719
|
semanticId: string;
|
|
6685
6720
|
name?: string | undefined;
|
|
6686
6721
|
}>, "many">;
|
|
@@ -6717,17 +6752,17 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6717
6752
|
endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
6718
6753
|
}, z.ZodUnknown, "strip">>;
|
|
6719
6754
|
}, "strip", z.ZodTypeAny, {
|
|
6720
|
-
createdAt: Date;
|
|
6721
|
-
createdBy: string;
|
|
6722
6755
|
metadata: {
|
|
6756
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6723
6757
|
weight?: number | undefined;
|
|
6724
6758
|
confidence?: number | undefined;
|
|
6725
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6726
6759
|
startDate?: Date | undefined;
|
|
6727
6760
|
endDate?: Date | undefined;
|
|
6728
6761
|
} & {
|
|
6729
6762
|
[k: string]: unknown;
|
|
6730
6763
|
};
|
|
6764
|
+
createdAt: Date;
|
|
6765
|
+
createdBy: string;
|
|
6731
6766
|
relationshipType: string;
|
|
6732
6767
|
relationshipId: string;
|
|
6733
6768
|
fromNs: string;
|
|
@@ -6739,17 +6774,17 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6739
6774
|
deletedAt?: Date | null | undefined;
|
|
6740
6775
|
deletedBy?: string | undefined;
|
|
6741
6776
|
}, {
|
|
6742
|
-
createdAt: string | Date;
|
|
6743
|
-
createdBy: string;
|
|
6744
6777
|
metadata: {
|
|
6778
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6745
6779
|
weight?: number | undefined;
|
|
6746
6780
|
confidence?: number | undefined;
|
|
6747
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6748
6781
|
startDate?: string | Date | undefined;
|
|
6749
6782
|
endDate?: string | Date | undefined;
|
|
6750
6783
|
} & {
|
|
6751
6784
|
[k: string]: unknown;
|
|
6752
6785
|
};
|
|
6786
|
+
createdAt: string | Date;
|
|
6787
|
+
createdBy: string;
|
|
6753
6788
|
relationshipType: string;
|
|
6754
6789
|
relationshipId: string;
|
|
6755
6790
|
fromNs: string;
|
|
@@ -6770,15 +6805,15 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6770
6805
|
semanticId: z.ZodString;
|
|
6771
6806
|
name: z.ZodOptional<z.ZodString>;
|
|
6772
6807
|
}, "strip", z.ZodTypeAny, {
|
|
6808
|
+
id: string;
|
|
6773
6809
|
type: string;
|
|
6774
6810
|
ns: string;
|
|
6775
|
-
id: string;
|
|
6776
6811
|
semanticId: string;
|
|
6777
6812
|
name?: string | undefined;
|
|
6778
6813
|
}, {
|
|
6814
|
+
id: string;
|
|
6779
6815
|
type: string;
|
|
6780
6816
|
ns: string;
|
|
6781
|
-
id: string;
|
|
6782
6817
|
semanticId: string;
|
|
6783
6818
|
name?: string | undefined;
|
|
6784
6819
|
}>;
|
|
@@ -6789,15 +6824,15 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6789
6824
|
semanticId: z.ZodString;
|
|
6790
6825
|
name: z.ZodOptional<z.ZodString>;
|
|
6791
6826
|
}, "strip", z.ZodTypeAny, {
|
|
6827
|
+
id: string;
|
|
6792
6828
|
type: string;
|
|
6793
6829
|
ns: string;
|
|
6794
|
-
id: string;
|
|
6795
6830
|
semanticId: string;
|
|
6796
6831
|
name?: string | undefined;
|
|
6797
6832
|
}, {
|
|
6833
|
+
id: string;
|
|
6798
6834
|
type: string;
|
|
6799
6835
|
ns: string;
|
|
6800
|
-
id: string;
|
|
6801
6836
|
semanticId: string;
|
|
6802
6837
|
name?: string | undefined;
|
|
6803
6838
|
}>;
|
|
@@ -6834,17 +6869,17 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6834
6869
|
endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
6835
6870
|
}, z.ZodUnknown, "strip">>;
|
|
6836
6871
|
}, "strip", z.ZodTypeAny, {
|
|
6837
|
-
createdAt: Date;
|
|
6838
|
-
createdBy: string;
|
|
6839
6872
|
metadata: {
|
|
6873
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6840
6874
|
weight?: number | undefined;
|
|
6841
6875
|
confidence?: number | undefined;
|
|
6842
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6843
6876
|
startDate?: Date | undefined;
|
|
6844
6877
|
endDate?: Date | undefined;
|
|
6845
6878
|
} & {
|
|
6846
6879
|
[k: string]: unknown;
|
|
6847
6880
|
};
|
|
6881
|
+
createdAt: Date;
|
|
6882
|
+
createdBy: string;
|
|
6848
6883
|
relationshipType: string;
|
|
6849
6884
|
relationshipId: string;
|
|
6850
6885
|
fromNs: string;
|
|
@@ -6856,17 +6891,17 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6856
6891
|
deletedAt?: Date | null | undefined;
|
|
6857
6892
|
deletedBy?: string | undefined;
|
|
6858
6893
|
}, {
|
|
6859
|
-
createdAt: string | Date;
|
|
6860
|
-
createdBy: string;
|
|
6861
6894
|
metadata: {
|
|
6895
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6862
6896
|
weight?: number | undefined;
|
|
6863
6897
|
confidence?: number | undefined;
|
|
6864
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6865
6898
|
startDate?: string | Date | undefined;
|
|
6866
6899
|
endDate?: string | Date | undefined;
|
|
6867
6900
|
} & {
|
|
6868
6901
|
[k: string]: unknown;
|
|
6869
6902
|
};
|
|
6903
|
+
createdAt: string | Date;
|
|
6904
|
+
createdBy: string;
|
|
6870
6905
|
relationshipType: string;
|
|
6871
6906
|
relationshipId: string;
|
|
6872
6907
|
fromNs: string;
|
|
@@ -6882,32 +6917,32 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6882
6917
|
length: z.ZodNumber;
|
|
6883
6918
|
}, "strip", z.ZodTypeAny, {
|
|
6884
6919
|
length: number;
|
|
6885
|
-
|
|
6920
|
+
end: {
|
|
6921
|
+
id: string;
|
|
6886
6922
|
type: string;
|
|
6887
6923
|
ns: string;
|
|
6888
|
-
id: string;
|
|
6889
6924
|
semanticId: string;
|
|
6890
6925
|
name?: string | undefined;
|
|
6891
6926
|
};
|
|
6892
|
-
|
|
6927
|
+
start: {
|
|
6928
|
+
id: string;
|
|
6893
6929
|
type: string;
|
|
6894
6930
|
ns: string;
|
|
6895
|
-
id: string;
|
|
6896
6931
|
semanticId: string;
|
|
6897
6932
|
name?: string | undefined;
|
|
6898
6933
|
};
|
|
6899
6934
|
edges: {
|
|
6900
|
-
createdAt: Date;
|
|
6901
|
-
createdBy: string;
|
|
6902
6935
|
metadata: {
|
|
6936
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6903
6937
|
weight?: number | undefined;
|
|
6904
6938
|
confidence?: number | undefined;
|
|
6905
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6906
6939
|
startDate?: Date | undefined;
|
|
6907
6940
|
endDate?: Date | undefined;
|
|
6908
6941
|
} & {
|
|
6909
6942
|
[k: string]: unknown;
|
|
6910
6943
|
};
|
|
6944
|
+
createdAt: Date;
|
|
6945
|
+
createdBy: string;
|
|
6911
6946
|
relationshipType: string;
|
|
6912
6947
|
relationshipId: string;
|
|
6913
6948
|
fromNs: string;
|
|
@@ -6922,32 +6957,32 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6922
6957
|
totalWeight: number;
|
|
6923
6958
|
}, {
|
|
6924
6959
|
length: number;
|
|
6925
|
-
|
|
6960
|
+
end: {
|
|
6961
|
+
id: string;
|
|
6926
6962
|
type: string;
|
|
6927
6963
|
ns: string;
|
|
6928
|
-
id: string;
|
|
6929
6964
|
semanticId: string;
|
|
6930
6965
|
name?: string | undefined;
|
|
6931
6966
|
};
|
|
6932
|
-
|
|
6967
|
+
start: {
|
|
6968
|
+
id: string;
|
|
6933
6969
|
type: string;
|
|
6934
6970
|
ns: string;
|
|
6935
|
-
id: string;
|
|
6936
6971
|
semanticId: string;
|
|
6937
6972
|
name?: string | undefined;
|
|
6938
6973
|
};
|
|
6939
6974
|
edges: {
|
|
6940
|
-
createdAt: string | Date;
|
|
6941
|
-
createdBy: string;
|
|
6942
6975
|
metadata: {
|
|
6976
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6943
6977
|
weight?: number | undefined;
|
|
6944
6978
|
confidence?: number | undefined;
|
|
6945
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6946
6979
|
startDate?: string | Date | undefined;
|
|
6947
6980
|
endDate?: string | Date | undefined;
|
|
6948
6981
|
} & {
|
|
6949
6982
|
[k: string]: unknown;
|
|
6950
6983
|
};
|
|
6984
|
+
createdAt: string | Date;
|
|
6985
|
+
createdBy: string;
|
|
6951
6986
|
relationshipType: string;
|
|
6952
6987
|
relationshipId: string;
|
|
6953
6988
|
fromNs: string;
|
|
@@ -6962,19 +6997,18 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6962
6997
|
totalWeight: number;
|
|
6963
6998
|
}>, "many">;
|
|
6964
6999
|
}, "strip", z.ZodTypeAny, {
|
|
6965
|
-
depth: number;
|
|
6966
7000
|
edges: {
|
|
6967
|
-
createdAt: Date;
|
|
6968
|
-
createdBy: string;
|
|
6969
7001
|
metadata: {
|
|
7002
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
6970
7003
|
weight?: number | undefined;
|
|
6971
7004
|
confidence?: number | undefined;
|
|
6972
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
6973
7005
|
startDate?: Date | undefined;
|
|
6974
7006
|
endDate?: Date | undefined;
|
|
6975
7007
|
} & {
|
|
6976
7008
|
[k: string]: unknown;
|
|
6977
7009
|
};
|
|
7010
|
+
createdAt: Date;
|
|
7011
|
+
createdBy: string;
|
|
6978
7012
|
relationshipType: string;
|
|
6979
7013
|
relationshipId: string;
|
|
6980
7014
|
fromNs: string;
|
|
@@ -6987,47 +7021,48 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
6987
7021
|
deletedBy?: string | undefined;
|
|
6988
7022
|
}[];
|
|
6989
7023
|
root: {
|
|
7024
|
+
id: string;
|
|
6990
7025
|
type: string;
|
|
6991
7026
|
ns: string;
|
|
6992
|
-
id: string;
|
|
6993
7027
|
semanticId: string;
|
|
6994
7028
|
name?: string | undefined;
|
|
6995
7029
|
};
|
|
7030
|
+
depth: number;
|
|
6996
7031
|
nodes: {
|
|
7032
|
+
id: string;
|
|
6997
7033
|
type: string;
|
|
6998
7034
|
ns: string;
|
|
6999
|
-
id: string;
|
|
7000
7035
|
semanticId: string;
|
|
7001
7036
|
name?: string | undefined;
|
|
7002
7037
|
}[];
|
|
7003
7038
|
paths: {
|
|
7004
7039
|
length: number;
|
|
7005
|
-
|
|
7040
|
+
end: {
|
|
7041
|
+
id: string;
|
|
7006
7042
|
type: string;
|
|
7007
7043
|
ns: string;
|
|
7008
|
-
id: string;
|
|
7009
7044
|
semanticId: string;
|
|
7010
7045
|
name?: string | undefined;
|
|
7011
7046
|
};
|
|
7012
|
-
|
|
7047
|
+
start: {
|
|
7048
|
+
id: string;
|
|
7013
7049
|
type: string;
|
|
7014
7050
|
ns: string;
|
|
7015
|
-
id: string;
|
|
7016
7051
|
semanticId: string;
|
|
7017
7052
|
name?: string | undefined;
|
|
7018
7053
|
};
|
|
7019
7054
|
edges: {
|
|
7020
|
-
createdAt: Date;
|
|
7021
|
-
createdBy: string;
|
|
7022
7055
|
metadata: {
|
|
7056
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7023
7057
|
weight?: number | undefined;
|
|
7024
7058
|
confidence?: number | undefined;
|
|
7025
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7026
7059
|
startDate?: Date | undefined;
|
|
7027
7060
|
endDate?: Date | undefined;
|
|
7028
7061
|
} & {
|
|
7029
7062
|
[k: string]: unknown;
|
|
7030
7063
|
};
|
|
7064
|
+
createdAt: Date;
|
|
7065
|
+
createdBy: string;
|
|
7031
7066
|
relationshipType: string;
|
|
7032
7067
|
relationshipId: string;
|
|
7033
7068
|
fromNs: string;
|
|
@@ -7042,19 +7077,18 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
7042
7077
|
totalWeight: number;
|
|
7043
7078
|
}[];
|
|
7044
7079
|
}, {
|
|
7045
|
-
depth: number;
|
|
7046
7080
|
edges: {
|
|
7047
|
-
createdAt: string | Date;
|
|
7048
|
-
createdBy: string;
|
|
7049
7081
|
metadata: {
|
|
7082
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7050
7083
|
weight?: number | undefined;
|
|
7051
7084
|
confidence?: number | undefined;
|
|
7052
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7053
7085
|
startDate?: string | Date | undefined;
|
|
7054
7086
|
endDate?: string | Date | undefined;
|
|
7055
7087
|
} & {
|
|
7056
7088
|
[k: string]: unknown;
|
|
7057
7089
|
};
|
|
7090
|
+
createdAt: string | Date;
|
|
7091
|
+
createdBy: string;
|
|
7058
7092
|
relationshipType: string;
|
|
7059
7093
|
relationshipId: string;
|
|
7060
7094
|
fromNs: string;
|
|
@@ -7067,47 +7101,48 @@ declare const GraphTraversalResultResponseSchema: z.ZodObject<{
|
|
|
7067
7101
|
deletedBy?: string | undefined;
|
|
7068
7102
|
}[];
|
|
7069
7103
|
root: {
|
|
7104
|
+
id: string;
|
|
7070
7105
|
type: string;
|
|
7071
7106
|
ns: string;
|
|
7072
|
-
id: string;
|
|
7073
7107
|
semanticId: string;
|
|
7074
7108
|
name?: string | undefined;
|
|
7075
7109
|
};
|
|
7110
|
+
depth: number;
|
|
7076
7111
|
nodes: {
|
|
7112
|
+
id: string;
|
|
7077
7113
|
type: string;
|
|
7078
7114
|
ns: string;
|
|
7079
|
-
id: string;
|
|
7080
7115
|
semanticId: string;
|
|
7081
7116
|
name?: string | undefined;
|
|
7082
7117
|
}[];
|
|
7083
7118
|
paths: {
|
|
7084
7119
|
length: number;
|
|
7085
|
-
|
|
7120
|
+
end: {
|
|
7121
|
+
id: string;
|
|
7086
7122
|
type: string;
|
|
7087
7123
|
ns: string;
|
|
7088
|
-
id: string;
|
|
7089
7124
|
semanticId: string;
|
|
7090
7125
|
name?: string | undefined;
|
|
7091
7126
|
};
|
|
7092
|
-
|
|
7127
|
+
start: {
|
|
7128
|
+
id: string;
|
|
7093
7129
|
type: string;
|
|
7094
7130
|
ns: string;
|
|
7095
|
-
id: string;
|
|
7096
7131
|
semanticId: string;
|
|
7097
7132
|
name?: string | undefined;
|
|
7098
7133
|
};
|
|
7099
7134
|
edges: {
|
|
7100
|
-
createdAt: string | Date;
|
|
7101
|
-
createdBy: string;
|
|
7102
7135
|
metadata: {
|
|
7136
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7103
7137
|
weight?: number | undefined;
|
|
7104
7138
|
confidence?: number | undefined;
|
|
7105
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7106
7139
|
startDate?: string | Date | undefined;
|
|
7107
7140
|
endDate?: string | Date | undefined;
|
|
7108
7141
|
} & {
|
|
7109
7142
|
[k: string]: unknown;
|
|
7110
7143
|
};
|
|
7144
|
+
createdAt: string | Date;
|
|
7145
|
+
createdBy: string;
|
|
7111
7146
|
relationshipType: string;
|
|
7112
7147
|
relationshipId: string;
|
|
7113
7148
|
fromNs: string;
|
|
@@ -7139,33 +7174,33 @@ declare const GraphStatsResponseSchema: z.ZodObject<{
|
|
|
7139
7174
|
semanticId: z.ZodString;
|
|
7140
7175
|
name: z.ZodOptional<z.ZodString>;
|
|
7141
7176
|
}, "strip", z.ZodTypeAny, {
|
|
7177
|
+
id: string;
|
|
7142
7178
|
type: string;
|
|
7143
7179
|
ns: string;
|
|
7144
|
-
id: string;
|
|
7145
7180
|
semanticId: string;
|
|
7146
7181
|
name?: string | undefined;
|
|
7147
7182
|
}, {
|
|
7183
|
+
id: string;
|
|
7148
7184
|
type: string;
|
|
7149
7185
|
ns: string;
|
|
7150
|
-
id: string;
|
|
7151
7186
|
semanticId: string;
|
|
7152
7187
|
name?: string | undefined;
|
|
7153
7188
|
}>;
|
|
7154
7189
|
degree: z.ZodNumber;
|
|
7155
7190
|
}, "strip", z.ZodTypeAny, {
|
|
7156
7191
|
entity: {
|
|
7192
|
+
id: string;
|
|
7157
7193
|
type: string;
|
|
7158
7194
|
ns: string;
|
|
7159
|
-
id: string;
|
|
7160
7195
|
semanticId: string;
|
|
7161
7196
|
name?: string | undefined;
|
|
7162
7197
|
};
|
|
7163
7198
|
degree: number;
|
|
7164
7199
|
}, {
|
|
7165
7200
|
entity: {
|
|
7201
|
+
id: string;
|
|
7166
7202
|
type: string;
|
|
7167
7203
|
ns: string;
|
|
7168
|
-
id: string;
|
|
7169
7204
|
semanticId: string;
|
|
7170
7205
|
name?: string | undefined;
|
|
7171
7206
|
};
|
|
@@ -7179,9 +7214,9 @@ declare const GraphStatsResponseSchema: z.ZodObject<{
|
|
|
7179
7214
|
averageDegree: number;
|
|
7180
7215
|
topConnectedNodes: {
|
|
7181
7216
|
entity: {
|
|
7217
|
+
id: string;
|
|
7182
7218
|
type: string;
|
|
7183
7219
|
ns: string;
|
|
7184
|
-
id: string;
|
|
7185
7220
|
semanticId: string;
|
|
7186
7221
|
name?: string | undefined;
|
|
7187
7222
|
};
|
|
@@ -7195,9 +7230,9 @@ declare const GraphStatsResponseSchema: z.ZodObject<{
|
|
|
7195
7230
|
averageDegree: number;
|
|
7196
7231
|
topConnectedNodes: {
|
|
7197
7232
|
entity: {
|
|
7233
|
+
id: string;
|
|
7198
7234
|
type: string;
|
|
7199
7235
|
ns: string;
|
|
7200
|
-
id: string;
|
|
7201
7236
|
semanticId: string;
|
|
7202
7237
|
name?: string | undefined;
|
|
7203
7238
|
};
|
|
@@ -7241,17 +7276,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
|
|
|
7241
7276
|
endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
7242
7277
|
}, z.ZodUnknown, "strip">>;
|
|
7243
7278
|
}, "strip", z.ZodTypeAny, {
|
|
7244
|
-
createdAt: Date;
|
|
7245
|
-
createdBy: string;
|
|
7246
7279
|
metadata: {
|
|
7280
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7247
7281
|
weight?: number | undefined;
|
|
7248
7282
|
confidence?: number | undefined;
|
|
7249
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7250
7283
|
startDate?: Date | undefined;
|
|
7251
7284
|
endDate?: Date | undefined;
|
|
7252
7285
|
} & {
|
|
7253
7286
|
[k: string]: unknown;
|
|
7254
7287
|
};
|
|
7288
|
+
createdAt: Date;
|
|
7289
|
+
createdBy: string;
|
|
7255
7290
|
relationshipType: string;
|
|
7256
7291
|
relationshipId: string;
|
|
7257
7292
|
fromNs: string;
|
|
@@ -7263,17 +7298,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
|
|
|
7263
7298
|
deletedAt?: Date | null | undefined;
|
|
7264
7299
|
deletedBy?: string | undefined;
|
|
7265
7300
|
}, {
|
|
7266
|
-
createdAt: string | Date;
|
|
7267
|
-
createdBy: string;
|
|
7268
7301
|
metadata: {
|
|
7302
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7269
7303
|
weight?: number | undefined;
|
|
7270
7304
|
confidence?: number | undefined;
|
|
7271
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7272
7305
|
startDate?: string | Date | undefined;
|
|
7273
7306
|
endDate?: string | Date | undefined;
|
|
7274
7307
|
} & {
|
|
7275
7308
|
[k: string]: unknown;
|
|
7276
7309
|
};
|
|
7310
|
+
createdAt: string | Date;
|
|
7311
|
+
createdBy: string;
|
|
7277
7312
|
relationshipType: string;
|
|
7278
7313
|
relationshipId: string;
|
|
7279
7314
|
fromNs: string;
|
|
@@ -7318,17 +7353,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
|
|
|
7318
7353
|
endDate: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
7319
7354
|
}, z.ZodUnknown, "strip">>;
|
|
7320
7355
|
}, "strip", z.ZodTypeAny, {
|
|
7321
|
-
createdAt: Date;
|
|
7322
|
-
createdBy: string;
|
|
7323
7356
|
metadata: {
|
|
7357
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7324
7358
|
weight?: number | undefined;
|
|
7325
7359
|
confidence?: number | undefined;
|
|
7326
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7327
7360
|
startDate?: Date | undefined;
|
|
7328
7361
|
endDate?: Date | undefined;
|
|
7329
7362
|
} & {
|
|
7330
7363
|
[k: string]: unknown;
|
|
7331
7364
|
};
|
|
7365
|
+
createdAt: Date;
|
|
7366
|
+
createdBy: string;
|
|
7332
7367
|
relationshipType: string;
|
|
7333
7368
|
relationshipId: string;
|
|
7334
7369
|
fromNs: string;
|
|
@@ -7340,17 +7375,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
|
|
|
7340
7375
|
deletedAt?: Date | null | undefined;
|
|
7341
7376
|
deletedBy?: string | undefined;
|
|
7342
7377
|
}, {
|
|
7343
|
-
createdAt: string | Date;
|
|
7344
|
-
createdBy: string;
|
|
7345
7378
|
metadata: {
|
|
7379
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7346
7380
|
weight?: number | undefined;
|
|
7347
7381
|
confidence?: number | undefined;
|
|
7348
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7349
7382
|
startDate?: string | Date | undefined;
|
|
7350
7383
|
endDate?: string | Date | undefined;
|
|
7351
7384
|
} & {
|
|
7352
7385
|
[k: string]: unknown;
|
|
7353
7386
|
};
|
|
7387
|
+
createdAt: string | Date;
|
|
7388
|
+
createdBy: string;
|
|
7354
7389
|
relationshipType: string;
|
|
7355
7390
|
relationshipId: string;
|
|
7356
7391
|
fromNs: string;
|
|
@@ -7364,17 +7399,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
|
|
|
7364
7399
|
}>, "many">;
|
|
7365
7400
|
}, "strip", z.ZodTypeAny, {
|
|
7366
7401
|
outgoing: {
|
|
7367
|
-
createdAt: Date;
|
|
7368
|
-
createdBy: string;
|
|
7369
7402
|
metadata: {
|
|
7403
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7370
7404
|
weight?: number | undefined;
|
|
7371
7405
|
confidence?: number | undefined;
|
|
7372
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7373
7406
|
startDate?: Date | undefined;
|
|
7374
7407
|
endDate?: Date | undefined;
|
|
7375
7408
|
} & {
|
|
7376
7409
|
[k: string]: unknown;
|
|
7377
7410
|
};
|
|
7411
|
+
createdAt: Date;
|
|
7412
|
+
createdBy: string;
|
|
7378
7413
|
relationshipType: string;
|
|
7379
7414
|
relationshipId: string;
|
|
7380
7415
|
fromNs: string;
|
|
@@ -7387,17 +7422,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
|
|
|
7387
7422
|
deletedBy?: string | undefined;
|
|
7388
7423
|
}[];
|
|
7389
7424
|
incoming: {
|
|
7390
|
-
createdAt: Date;
|
|
7391
|
-
createdBy: string;
|
|
7392
7425
|
metadata: {
|
|
7426
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7393
7427
|
weight?: number | undefined;
|
|
7394
7428
|
confidence?: number | undefined;
|
|
7395
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7396
7429
|
startDate?: Date | undefined;
|
|
7397
7430
|
endDate?: Date | undefined;
|
|
7398
7431
|
} & {
|
|
7399
7432
|
[k: string]: unknown;
|
|
7400
7433
|
};
|
|
7434
|
+
createdAt: Date;
|
|
7435
|
+
createdBy: string;
|
|
7401
7436
|
relationshipType: string;
|
|
7402
7437
|
relationshipId: string;
|
|
7403
7438
|
fromNs: string;
|
|
@@ -7411,17 +7446,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
|
|
|
7411
7446
|
}[];
|
|
7412
7447
|
}, {
|
|
7413
7448
|
outgoing: {
|
|
7414
|
-
createdAt: string | Date;
|
|
7415
|
-
createdBy: string;
|
|
7416
7449
|
metadata: {
|
|
7450
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7417
7451
|
weight?: number | undefined;
|
|
7418
7452
|
confidence?: number | undefined;
|
|
7419
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7420
7453
|
startDate?: string | Date | undefined;
|
|
7421
7454
|
endDate?: string | Date | undefined;
|
|
7422
7455
|
} & {
|
|
7423
7456
|
[k: string]: unknown;
|
|
7424
7457
|
};
|
|
7458
|
+
createdAt: string | Date;
|
|
7459
|
+
createdBy: string;
|
|
7425
7460
|
relationshipType: string;
|
|
7426
7461
|
relationshipId: string;
|
|
7427
7462
|
fromNs: string;
|
|
@@ -7434,17 +7469,17 @@ declare const EntityRelationshipsResultResponseSchema: z.ZodObject<{
|
|
|
7434
7469
|
deletedBy?: string | undefined;
|
|
7435
7470
|
}[];
|
|
7436
7471
|
incoming: {
|
|
7437
|
-
createdAt: string | Date;
|
|
7438
|
-
createdBy: string;
|
|
7439
7472
|
metadata: {
|
|
7473
|
+
source?: "manual" | "system" | "inferred" | "imported" | undefined;
|
|
7440
7474
|
weight?: number | undefined;
|
|
7441
7475
|
confidence?: number | undefined;
|
|
7442
|
-
source?: "manual" | "inferred" | "imported" | "system" | undefined;
|
|
7443
7476
|
startDate?: string | Date | undefined;
|
|
7444
7477
|
endDate?: string | Date | undefined;
|
|
7445
7478
|
} & {
|
|
7446
7479
|
[k: string]: unknown;
|
|
7447
7480
|
};
|
|
7481
|
+
createdAt: string | Date;
|
|
7482
|
+
createdBy: string;
|
|
7448
7483
|
relationshipType: string;
|
|
7449
7484
|
relationshipId: string;
|
|
7450
7485
|
fromNs: string;
|
|
@@ -7469,21 +7504,21 @@ declare const PaginatedResultResponseSchema: <T extends z.ZodTypeAny>(dataSchema
|
|
|
7469
7504
|
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
7470
7505
|
cursor: z.ZodOptional<z.ZodString>;
|
|
7471
7506
|
}, "strip", z.ZodTypeAny, {
|
|
7507
|
+
data: T["_output"][];
|
|
7472
7508
|
page: number;
|
|
7473
7509
|
perPage: number;
|
|
7474
|
-
data: T["_output"][];
|
|
7475
7510
|
total: number;
|
|
7476
7511
|
totalPages: number;
|
|
7477
|
-
hasMore?: boolean | undefined;
|
|
7478
7512
|
cursor?: string | undefined;
|
|
7513
|
+
hasMore?: boolean | undefined;
|
|
7479
7514
|
}, {
|
|
7515
|
+
data: T["_input"][];
|
|
7480
7516
|
page: number;
|
|
7481
7517
|
perPage: number;
|
|
7482
|
-
data: T["_input"][];
|
|
7483
7518
|
total: number;
|
|
7484
7519
|
totalPages: number;
|
|
7485
|
-
hasMore?: boolean | undefined;
|
|
7486
7520
|
cursor?: string | undefined;
|
|
7521
|
+
hasMore?: boolean | undefined;
|
|
7487
7522
|
}>;
|
|
7488
7523
|
/** Inferred type for Thing response */
|
|
7489
7524
|
type ThingResponse = z.infer<typeof ThingResponseSchema>;
|
|
@@ -7678,4 +7713,4 @@ declare function isRateLimitError(error: AppError): error is RateLimitError;
|
|
|
7678
7713
|
*/
|
|
7679
7714
|
declare function isAppError(error: unknown): error is AppError;
|
|
7680
7715
|
|
|
7681
|
-
export { type AIModel, type APIKey, type APIKeyFilter, type APIKeyPermissions, type Address, AgentArtifactResponseSchema, AgentClassificationResponseSchema, AgentExecuteInputSchema, AgentExecutionFilterSchema, type AgentExecutionResponse, AgentExecutionResponseSchema, AgentFeedbackInputSchema, AgentFeedbackResponseSchema, AgentFilterSchema, AgentGuardrailResponseSchema, AgentHandoffResponseSchema, AgentInputResponseSchema, type AgentMetricsResponse, AgentMetricsResponseSchema, AgentOutputResponseSchema, type AgentResponse, AgentResponseSchema, AgentTraceResponseSchema, AgentTypeResponseSchema, type AgenticFunction, type ApiKeyConfig, type AppError, type AuditEntry, type AuthField, type AuthenticationConfig, type AuthenticationType, type BaseError, type BasicAuthConfig, type BillingInfo, type
|
|
7716
|
+
export { type AIModel, type APIKey, type APIKeyFilter, type APIKeyPermissions, type Address, AgentArtifactResponseSchema, AgentClassificationResponseSchema, AgentExecuteInputSchema, AgentExecutionFilterSchema, type AgentExecutionResponse, AgentExecutionResponseSchema, AgentFeedbackInputSchema, AgentFeedbackResponseSchema, AgentFilterSchema, AgentGuardrailResponseSchema, AgentHandoffResponseSchema, AgentInputResponseSchema, type AgentMetricsResponse, AgentMetricsResponseSchema, AgentOutputResponseSchema, type AgentResponse, AgentResponseSchema, AgentTraceResponseSchema, AgentTypeResponseSchema, type AgenticFunction, type ApiKeyConfig, type AppError, type AuditEntry, type AuthField, type AuthenticationConfig, type AuthenticationType, type BaseError, type BasicAuthConfig, type BillingInfo, type BooleanFilterOperator, type CellEditorProps, type CellEditorType, type CellRendererProps, CharacterBibleResponseSchema, type CodeFunction, type ColumnEditorPanelProps, CompensationConfigResponseSchema, type ConnectionFilter, type ConnectionStatus, type CustomAuthConfig, type CellValue as DBCellValue, type DatabaseEditorProps as DBEditorProps, type DBRecord, type DOSQLResult, type DOStorageInfo, type DOStorageSchema, type DataType, type DataTypeCategory, type DatabaseColumnDef, type DatabaseGridProps, type DatabaseSidebarProps, type DatabaseToolbarProps, type DateFilterOperator, type DateRangeFilter, DateResponseSchema, type DeviceInfo, EXPORT_FORMATS, type EditHistoryState, type EditOperation, EntityReference, EntityReferenceResponseSchema, EntityReferenceSchema, type EntityRelationshipsResultResponse, EntityRelationshipsResultResponseSchema, ErrorHandlingConfigResponseSchema, type EscalationRule, type EventDefinition, type EventFilter, type EventMetadata, type EventQueryResult, type EventReplayRequest, type EventSource, type EventStats, type EventStream, type EventSubscription, type EventTimelineEntry, ExecutionContextResponseSchema, ExecutionError, ExecutionErrorResponseSchema, ExecutionFilterSchema, type ExportConfig, type ExportFormat, type ExportFormatMeta, type ExportScope, type FieldValidation, type FilterColumn, type FilterColumnDataType, type FilterCondition, type FilterOperator, type FilterSpec, type ForeignKeyReference, type Function, type AgentClassification as FunctionAgentClassification, type AgentGuardrail as FunctionAgentGuardrail, type FunctionBase, type FunctionCategory, type FunctionExecution, type FunctionExecutionStatus, type FunctionFilter, type HandoffRule as FunctionHandoffRule, type GenerativeFunction, GraphPathResponseSchema, GraphPatternSchema, type GraphStatsResponse, GraphStatsResponseSchema, type GraphTraversalResultResponse, GraphTraversalResultResponseSchema, type GridCellValue, type GridEditState, type GridFilterState, type GridPendingChange, type GridRowData, type GridSelection, type GridSortState, GuardrailViolationResponseSchema, HandoffRuleResponseSchema, type HttpRequest, type HttpResponse, type HumanFunction, type Integration, type IntegrationAction, type IntegrationCategory, type IntegrationConnection, type IntegrationError, type IntegrationExecution, type IntegrationField, type IntegrationFilter, type IntegrationSearch, type IntegrationSource, type IntegrationTrigger, type InvitationStatus, type MongoArrayOperators, type MongoComparisonOperators, type MongoElementOperators, type MongoFieldOperators, type MongoLogicalOperators, type MongoProjection, type MongoQuery, type MongoSort, type MongoStringOperators, type MongoUpdateOperators, type NotFoundError, type NotificationPreferences, type NumberFilterOperator, type OAuth2Config, type OperationEvent, type OperationEventType, OptionalDateResponseSchema, type Organization, type OrganizationFilter, type OrganizationInvitation, type OrganizationMember, type OrganizationMembership, type OrganizationPlan, type OrganizationRole, type OrganizationSettings, type OrganizationType, type PaginatedResult, PaginatedResultResponseSchema, type PaginationParams, PartialEntityReferenceSchema, type PermissionError, type PlanTier, type QueryStyle, type RateLimitError, type RecordMetadata, RelationshipCreateInputSchema, type RelationshipEdge, RelationshipFilterSchema, RelationshipMetadataResponseSchema, RelationshipMetadataSchema, type RelationshipResponse, RelationshipResponseSchema, type RelationshipsPanelProps, type ReminderRule, type ReplayTarget, type ResourcePermission, RetryConfigResponseSchema, type RowEditorPanelProps, type SQLCondition, type SQLEditorPanelProps, type SQLOperator, type SQLOrderBy, type SQLWhereClause, type SQLiteDataType, type SQLiteStorageClass, type SQLiteTypeAffinity, type SSOConfig, type SchemaOperation, type SchemaVisualizerProps, type SemanticEvent, type SemanticId, type SemanticIdComponents, type Session, type SoftDeletable, SortDirection, type SortParams, type SortSpec, StepConfigResponseSchema, StepExecutionResponseSchema, type SubscriptionStatus, type TableAlterChanges, type TableColumn, type TableConstraint, type TableDefinition, type TableIndex, type TableNode, type TableTrigger, type TextFilterOperator, ThingCreateInputSchema, ThingDataSchema, ThingDeleteOptionsSchema, ThingFilterSchema, ThingPaginationSchema, type ThingQueryResultResponse, ThingQueryResultResponseSchema, type ThingResponse, ThingResponseSchema, ThingSortSchema, ThingUpdateInputSchema, type ThingVersionResponse, ThingVersionResponseSchema, TokenUsage, TokenUsageResponseSchema, type ToolDefinition, TriggerDataResponseSchema, type TypeStatsResponse, TypeStatsResponseSchema, type UnifiedQuery, type UsageLimits, type UsageMetrics, type UseEditHistoryReturn, type User, type UserFilter, type UserPreferences, type UserRole, type ValidatedAgentExecutionFilter, type ValidatedAgentFilter, type ValidatedExecutionFilter, type ValidatedRelationshipCreateInput, type ValidatedRelationshipFilter, type ValidatedThingCreateInput, type ValidatedThingFilter, type ValidatedThingUpdateInput, type ValidatedWorkflowFilter, type ValidationErrorData, WorkflowConfigResponseSchema, type WorkflowExecutionResponse, WorkflowExecutionResponseSchema, WorkflowFilterSchema, type WorkflowResponse, WorkflowResponseSchema, WorkflowStepResponseSchema, WorkflowTriggerInputSchema, WorkflowTriggerResponseSchema, getFormatMeta, isAppError, isNotFoundError, isPermissionError, isRateLimitError, isValidationErrorData };
|