@elevasis/ui 2.32.0 → 2.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.d.ts +3 -0
- package/dist/app/index.js +3 -3
- package/dist/{chunk-LLRXA7D7.js → chunk-2VYMDNJ3.js} +1 -1
- package/dist/{chunk-7KZINJLP.js → chunk-3YZRKADM.js} +4 -4
- package/dist/{chunk-MOY4VOHF.js → chunk-4AAZXKLL.js} +1 -1
- package/dist/{chunk-RQTWIXJ5.js → chunk-53436UTQ.js} +1 -1
- package/dist/{chunk-WQPX44YM.js → chunk-AV2TKVVV.js} +673 -168
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/chunk-DWXDNT7P.js +145 -0
- package/dist/{chunk-T35FWDAB.js → chunk-DYIDXUJS.js} +1089 -158
- package/dist/{chunk-IQHU7O5Y.js → chunk-F3MXFE72.js} +1 -1
- package/dist/{chunk-5FJJ72HU.js → chunk-FOUYP4JX.js} +1 -1
- package/dist/{chunk-QQHOKTJA.js → chunk-H6EFQP2P.js} +39 -2
- package/dist/{chunk-5J4PDX26.js → chunk-KW7ZNQD7.js} +16 -2
- package/dist/{chunk-ZQOKIGZP.js → chunk-NCEQGEW5.js} +4 -4
- package/dist/{chunk-6DWD423K.js → chunk-PIS24NIV.js} +1 -1
- package/dist/{chunk-4MFNGNHF.js → chunk-QVTIOT73.js} +2 -2
- package/dist/{chunk-GCOQ3TBG.js → chunk-SWMQTF2H.js} +2 -2
- package/dist/{chunk-4QK76KIF.js → chunk-UNVRVCXZ.js} +1 -1
- package/dist/{chunk-VRNMNB3O.js → chunk-UYRT7SPM.js} +1 -1
- package/dist/{chunk-IZWTVFJ2.js → chunk-V6SZ4ECN.js} +6 -3
- package/dist/{chunk-YLQEVSOR.js → chunk-WGUEIGPC.js} +202 -54
- package/dist/{chunk-QXCDKE2O.js → chunk-WJOE76FI.js} +9 -28
- package/dist/{chunk-QTI3KC7D.js → chunk-YENKDBUU.js} +106 -43
- package/dist/components/index.d.ts +117 -4
- package/dist/components/index.js +24 -23
- package/dist/components/navigation/index.js +4 -3
- package/dist/execution/index.d.ts +8 -3
- package/dist/features/auth/index.d.ts +3 -0
- package/dist/features/clients/index.js +8 -7
- package/dist/features/crm/index.d.ts +3 -0
- package/dist/features/crm/index.js +10 -9
- package/dist/features/dashboard/index.d.ts +113 -3
- package/dist/features/dashboard/index.js +9 -8
- package/dist/features/delivery/index.d.ts +3 -0
- package/dist/features/delivery/index.js +9 -8
- package/dist/features/knowledge/index.js +8 -18
- package/dist/features/lead-gen/index.js +10 -9
- package/dist/features/monitoring/index.js +10 -9
- package/dist/features/monitoring/requests/index.d.ts +2 -2
- package/dist/features/monitoring/requests/index.js +8 -7
- package/dist/features/operations/index.d.ts +560 -93
- package/dist/features/operations/index.js +13 -12
- package/dist/features/settings/index.d.ts +3 -0
- package/dist/features/settings/index.js +9 -8
- package/dist/hooks/delivery/index.d.ts +3 -0
- package/dist/hooks/index.d.ts +210 -6
- package/dist/hooks/index.js +8 -7
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +205 -4
- package/dist/hooks/published.d.ts +210 -6
- package/dist/hooks/published.js +8 -7
- package/dist/index.d.ts +565 -95
- package/dist/index.js +8 -7
- package/dist/initialization/index.d.ts +3 -0
- package/dist/knowledge/index.d.ts +577 -215
- package/dist/knowledge/index.js +1180 -689
- package/dist/knowledge-search-index-P7PR626V.js +1514 -0
- package/dist/layout/index.js +1 -1
- package/dist/profile/index.d.ts +3 -0
- package/dist/provider/index.d.ts +447 -73
- package/dist/provider/index.js +7 -6
- package/dist/provider/published.d.ts +447 -73
- package/dist/provider/published.js +5 -4
- package/dist/supabase/index.d.ts +6 -0
- package/dist/types/index.d.ts +208 -4
- package/dist/utils/index.d.ts +113 -3
- package/package.json +39 -39
- package/src/README.md +29 -29
- package/src/api/README.md +18 -18
- package/src/app/README.md +24 -24
- package/src/auth/README.md +18 -18
- package/src/components/README.md +24 -24
- package/src/execution/README.md +16 -16
- package/src/features/README.md +28 -28
- package/src/graph/README.md +16 -16
- package/src/hooks/README.md +23 -23
- package/src/initialization/README.md +19 -19
- package/src/knowledge/README.md +31 -31
- package/src/organization/README.md +18 -18
- package/src/profile/README.md +19 -19
- package/src/provider/README.md +32 -32
- package/src/router/README.md +18 -18
- package/src/sse/README.md +13 -13
- package/src/test-utils/README.md +7 -7
- package/src/theme/README.md +23 -23
- package/src/theme/presets/README.md +19 -19
- package/src/types/README.md +16 -16
- package/src/utils/README.md +18 -18
- package/src/zustand/README.md +18 -18
- package/dist/chunk-UROTM5OR.js +0 -172
- package/dist/knowledge-search-index-5KYPO746.js +0 -1479
|
@@ -3,6 +3,100 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
3
3
|
import { ComponentType, CSSProperties, ReactNode, HTMLAttributes } from 'react';
|
|
4
4
|
import { IconBrain } from '@tabler/icons-react';
|
|
5
5
|
|
|
6
|
+
declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
7
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
label: z.ZodOptional<z.ZodString>;
|
|
19
|
+
description: z.ZodOptional<z.ZodString>;
|
|
20
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
21
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
|
+
from: z.ZodString;
|
|
23
|
+
to: z.ZodString;
|
|
24
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
25
|
+
via: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
28
|
+
id: z.ZodString;
|
|
29
|
+
label: z.ZodOptional<z.ZodString>;
|
|
30
|
+
description: z.ZodOptional<z.ZodString>;
|
|
31
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
34
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
35
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
label: z.ZodOptional<z.ZodString>;
|
|
40
|
+
description: z.ZodOptional<z.ZodString>;
|
|
41
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
42
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
44
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
45
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
46
|
+
}, z.core.$loose>>>>;
|
|
47
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
label: z.ZodOptional<z.ZodString>;
|
|
50
|
+
description: z.ZodOptional<z.ZodString>;
|
|
51
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
52
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
53
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
54
|
+
}, z.core.$loose>>>>;
|
|
55
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
56
|
+
id: z.ZodString;
|
|
57
|
+
label: z.ZodOptional<z.ZodString>;
|
|
58
|
+
description: z.ZodOptional<z.ZodString>;
|
|
59
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
60
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
62
|
+
}, z.core.$loose>>>>;
|
|
63
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
64
|
+
id: z.ZodString;
|
|
65
|
+
label: z.ZodOptional<z.ZodString>;
|
|
66
|
+
description: z.ZodOptional<z.ZodString>;
|
|
67
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
68
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
69
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$loose>>>>;
|
|
71
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
label: z.ZodOptional<z.ZodString>;
|
|
74
|
+
description: z.ZodOptional<z.ZodString>;
|
|
75
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
76
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
77
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
78
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
}, z.core.$loose>>>>;
|
|
81
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
82
|
+
id: z.ZodString;
|
|
83
|
+
label: z.ZodOptional<z.ZodString>;
|
|
84
|
+
description: z.ZodOptional<z.ZodString>;
|
|
85
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
86
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
88
|
+
}, z.core.$loose>>>>;
|
|
89
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
90
|
+
id: z.ZodString;
|
|
91
|
+
label: z.ZodOptional<z.ZodString>;
|
|
92
|
+
description: z.ZodOptional<z.ZodString>;
|
|
93
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
94
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
95
|
+
route: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, z.core.$loose>>>>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
type OntologyScope = z.infer<typeof OntologyScopeSchema>;
|
|
99
|
+
|
|
6
100
|
/**
|
|
7
101
|
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
8
102
|
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
@@ -21,6 +115,10 @@ declare const ContentNodeSchema: z.ZodObject<{
|
|
|
21
115
|
}, z.core.$strip>;
|
|
22
116
|
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
23
117
|
|
|
118
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
119
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
120
|
+
[key: string]: JsonValue;
|
|
121
|
+
};
|
|
24
122
|
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
25
123
|
interface SystemEntry {
|
|
26
124
|
id: string;
|
|
@@ -55,6 +153,13 @@ interface SystemEntry {
|
|
|
55
153
|
devOnly?: boolean;
|
|
56
154
|
requiresAdmin?: boolean;
|
|
57
155
|
order: number;
|
|
156
|
+
config?: Record<string, JsonValue>;
|
|
157
|
+
ontology?: OntologyScope;
|
|
158
|
+
systems?: Record<string, SystemEntry>;
|
|
159
|
+
/**
|
|
160
|
+
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
161
|
+
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
162
|
+
*/
|
|
58
163
|
content?: Record<string, ContentNode>;
|
|
59
164
|
subsystems?: Record<string, SystemEntry>;
|
|
60
165
|
}
|
|
@@ -79,12 +184,12 @@ interface SystemEntry {
|
|
|
79
184
|
type RelationshipType = 'triggers' | 'uses' | 'approval';
|
|
80
185
|
|
|
81
186
|
declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
82
|
-
|
|
187
|
+
dashboard: "dashboard";
|
|
188
|
+
settings: "settings";
|
|
83
189
|
graph: "graph";
|
|
190
|
+
list: "list";
|
|
84
191
|
page: "page";
|
|
85
|
-
dashboard: "dashboard";
|
|
86
192
|
detail: "detail";
|
|
87
|
-
settings: "settings";
|
|
88
193
|
}>;
|
|
89
194
|
interface SidebarSurfaceNode {
|
|
90
195
|
type: 'surface';
|
|
@@ -128,80 +233,76 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
|
128
233
|
title: z.ZodString;
|
|
129
234
|
summary: z.ZodString;
|
|
130
235
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
"
|
|
189
|
-
|
|
190
|
-
"action.launch": "action.launch";
|
|
191
|
-
"action.message": "action.message";
|
|
192
|
-
"action.escalate": "action.escalate";
|
|
193
|
-
"action.promote": "action.promote";
|
|
194
|
-
"action.submit": "action.submit";
|
|
195
|
-
"action.email": "action.email";
|
|
236
|
+
message: "message";
|
|
237
|
+
error: "error";
|
|
238
|
+
agent: "agent";
|
|
239
|
+
workflow: "workflow";
|
|
240
|
+
"google-sheets": "google-sheets";
|
|
241
|
+
dashboard: "dashboard";
|
|
242
|
+
calendar: "calendar";
|
|
243
|
+
sales: "sales";
|
|
244
|
+
crm: "crm";
|
|
245
|
+
"lead-gen": "lead-gen";
|
|
246
|
+
projects: "projects";
|
|
247
|
+
operations: "operations";
|
|
248
|
+
monitoring: "monitoring";
|
|
249
|
+
knowledge: "knowledge";
|
|
250
|
+
settings: "settings";
|
|
251
|
+
admin: "admin";
|
|
252
|
+
archive: "archive";
|
|
253
|
+
business: "business";
|
|
254
|
+
finance: "finance";
|
|
255
|
+
platform: "platform";
|
|
256
|
+
seo: "seo";
|
|
257
|
+
playbook: "playbook";
|
|
258
|
+
strategy: "strategy";
|
|
259
|
+
reference: "reference";
|
|
260
|
+
integration: "integration";
|
|
261
|
+
database: "database";
|
|
262
|
+
user: "user";
|
|
263
|
+
team: "team";
|
|
264
|
+
gmail: "gmail";
|
|
265
|
+
attio: "attio";
|
|
266
|
+
overview: "overview";
|
|
267
|
+
"command-view": "command-view";
|
|
268
|
+
"command-queue": "command-queue";
|
|
269
|
+
pipeline: "pipeline";
|
|
270
|
+
lists: "lists";
|
|
271
|
+
resources: "resources";
|
|
272
|
+
approve: "approve";
|
|
273
|
+
reject: "reject";
|
|
274
|
+
retry: "retry";
|
|
275
|
+
edit: "edit";
|
|
276
|
+
view: "view";
|
|
277
|
+
launch: "launch";
|
|
278
|
+
escalate: "escalate";
|
|
279
|
+
promote: "promote";
|
|
280
|
+
submit: "submit";
|
|
281
|
+
email: "email";
|
|
282
|
+
success: "success";
|
|
283
|
+
warning: "warning";
|
|
284
|
+
info: "info";
|
|
285
|
+
pending: "pending";
|
|
286
|
+
bolt: "bolt";
|
|
287
|
+
building: "building";
|
|
288
|
+
briefcase: "briefcase";
|
|
289
|
+
apps: "apps";
|
|
290
|
+
graph: "graph";
|
|
291
|
+
shield: "shield";
|
|
292
|
+
users: "users";
|
|
293
|
+
"chart-bar": "chart-bar";
|
|
294
|
+
search: "search";
|
|
196
295
|
}>, z.ZodString]>>;
|
|
197
296
|
externalUrl: z.ZodOptional<z.ZodString>;
|
|
297
|
+
sourceFilePath: z.ZodOptional<z.ZodString>;
|
|
198
298
|
body: z.ZodString;
|
|
199
299
|
links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
200
300
|
target: z.ZodObject<{
|
|
201
301
|
kind: z.ZodEnum<{
|
|
302
|
+
knowledge: "knowledge";
|
|
202
303
|
system: "system";
|
|
203
304
|
action: "action";
|
|
204
|
-
|
|
305
|
+
ontology: "ontology";
|
|
205
306
|
role: "role";
|
|
206
307
|
goal: "goal";
|
|
207
308
|
stage: "stage";
|
|
@@ -213,10 +314,10 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
|
213
314
|
id: z.ZodString;
|
|
214
315
|
}, z.core.$strip>;
|
|
215
316
|
}, z.core.$strip>, z.ZodObject<{
|
|
216
|
-
nodeId: z.ZodString
|
|
317
|
+
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
217
318
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
218
319
|
target: {
|
|
219
|
-
kind: "system" | "action" | "
|
|
320
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
220
321
|
id: string;
|
|
221
322
|
};
|
|
222
323
|
nodeId: string;
|
|
@@ -224,7 +325,7 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
|
224
325
|
nodeId: string;
|
|
225
326
|
} | {
|
|
226
327
|
target: {
|
|
227
|
-
kind: "system" | "action" | "
|
|
328
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
228
329
|
id: string;
|
|
229
330
|
};
|
|
230
331
|
}>>>>;
|
|
@@ -233,71 +334,65 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
|
233
334
|
}, z.core.$strip>;
|
|
234
335
|
|
|
235
336
|
declare const OrganizationModelIconTokenSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
"
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
"
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
"
|
|
294
|
-
|
|
295
|
-
"action.launch": "action.launch";
|
|
296
|
-
"action.message": "action.message";
|
|
297
|
-
"action.escalate": "action.escalate";
|
|
298
|
-
"action.promote": "action.promote";
|
|
299
|
-
"action.submit": "action.submit";
|
|
300
|
-
"action.email": "action.email";
|
|
337
|
+
message: "message";
|
|
338
|
+
error: "error";
|
|
339
|
+
agent: "agent";
|
|
340
|
+
workflow: "workflow";
|
|
341
|
+
"google-sheets": "google-sheets";
|
|
342
|
+
dashboard: "dashboard";
|
|
343
|
+
calendar: "calendar";
|
|
344
|
+
sales: "sales";
|
|
345
|
+
crm: "crm";
|
|
346
|
+
"lead-gen": "lead-gen";
|
|
347
|
+
projects: "projects";
|
|
348
|
+
operations: "operations";
|
|
349
|
+
monitoring: "monitoring";
|
|
350
|
+
knowledge: "knowledge";
|
|
351
|
+
settings: "settings";
|
|
352
|
+
admin: "admin";
|
|
353
|
+
archive: "archive";
|
|
354
|
+
business: "business";
|
|
355
|
+
finance: "finance";
|
|
356
|
+
platform: "platform";
|
|
357
|
+
seo: "seo";
|
|
358
|
+
playbook: "playbook";
|
|
359
|
+
strategy: "strategy";
|
|
360
|
+
reference: "reference";
|
|
361
|
+
integration: "integration";
|
|
362
|
+
database: "database";
|
|
363
|
+
user: "user";
|
|
364
|
+
team: "team";
|
|
365
|
+
gmail: "gmail";
|
|
366
|
+
attio: "attio";
|
|
367
|
+
overview: "overview";
|
|
368
|
+
"command-view": "command-view";
|
|
369
|
+
"command-queue": "command-queue";
|
|
370
|
+
pipeline: "pipeline";
|
|
371
|
+
lists: "lists";
|
|
372
|
+
resources: "resources";
|
|
373
|
+
approve: "approve";
|
|
374
|
+
reject: "reject";
|
|
375
|
+
retry: "retry";
|
|
376
|
+
edit: "edit";
|
|
377
|
+
view: "view";
|
|
378
|
+
launch: "launch";
|
|
379
|
+
escalate: "escalate";
|
|
380
|
+
promote: "promote";
|
|
381
|
+
submit: "submit";
|
|
382
|
+
email: "email";
|
|
383
|
+
success: "success";
|
|
384
|
+
warning: "warning";
|
|
385
|
+
info: "info";
|
|
386
|
+
pending: "pending";
|
|
387
|
+
bolt: "bolt";
|
|
388
|
+
building: "building";
|
|
389
|
+
briefcase: "briefcase";
|
|
390
|
+
apps: "apps";
|
|
391
|
+
graph: "graph";
|
|
392
|
+
shield: "shield";
|
|
393
|
+
users: "users";
|
|
394
|
+
"chart-bar": "chart-bar";
|
|
395
|
+
search: "search";
|
|
301
396
|
}>, z.ZodString]>;
|
|
302
397
|
type OrganizationModelIconToken = z.infer<typeof OrganizationModelIconTokenSchema>;
|
|
303
398
|
|
|
@@ -332,10 +427,18 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
332
427
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
333
428
|
lastModified: z.ZodString;
|
|
334
429
|
}, z.core.$strip>>;
|
|
430
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
431
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
432
|
+
lastModified: z.ZodString;
|
|
433
|
+
}, z.core.$strip>>;
|
|
335
434
|
resources: z.ZodOptional<z.ZodObject<{
|
|
336
435
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
337
436
|
lastModified: z.ZodString;
|
|
338
437
|
}, z.core.$strip>>;
|
|
438
|
+
topology: z.ZodOptional<z.ZodObject<{
|
|
439
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
440
|
+
lastModified: z.ZodString;
|
|
441
|
+
}, z.core.$strip>>;
|
|
339
442
|
actions: z.ZodOptional<z.ZodObject<{
|
|
340
443
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
341
444
|
lastModified: z.ZodString;
|
|
@@ -381,10 +484,18 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
381
484
|
version: 1;
|
|
382
485
|
lastModified: string;
|
|
383
486
|
};
|
|
487
|
+
ontology: {
|
|
488
|
+
version: 1;
|
|
489
|
+
lastModified: string;
|
|
490
|
+
};
|
|
384
491
|
resources: {
|
|
385
492
|
version: 1;
|
|
386
493
|
lastModified: string;
|
|
387
494
|
};
|
|
495
|
+
topology: {
|
|
496
|
+
version: 1;
|
|
497
|
+
lastModified: string;
|
|
498
|
+
};
|
|
388
499
|
actions: {
|
|
389
500
|
version: 1;
|
|
390
501
|
lastModified: string;
|
|
@@ -430,10 +541,18 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
430
541
|
version: 1;
|
|
431
542
|
lastModified: string;
|
|
432
543
|
} | undefined;
|
|
544
|
+
ontology?: {
|
|
545
|
+
version: 1;
|
|
546
|
+
lastModified: string;
|
|
547
|
+
} | undefined;
|
|
433
548
|
resources?: {
|
|
434
549
|
version: 1;
|
|
435
550
|
lastModified: string;
|
|
436
551
|
} | undefined;
|
|
552
|
+
topology?: {
|
|
553
|
+
version: 1;
|
|
554
|
+
lastModified: string;
|
|
555
|
+
} | undefined;
|
|
437
556
|
actions?: {
|
|
438
557
|
version: 1;
|
|
439
558
|
lastModified: string;
|
|
@@ -581,18 +700,132 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
581
700
|
}, z.core.$strip>>>;
|
|
582
701
|
}, z.core.$strip>>>>;
|
|
583
702
|
systems: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
|
|
703
|
+
ontology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
704
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
705
|
+
id: z.ZodString;
|
|
706
|
+
label: z.ZodOptional<z.ZodString>;
|
|
707
|
+
description: z.ZodOptional<z.ZodString>;
|
|
708
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
709
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
710
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
711
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
712
|
+
}, z.core.$loose>>>>;
|
|
713
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
714
|
+
id: z.ZodString;
|
|
715
|
+
label: z.ZodOptional<z.ZodString>;
|
|
716
|
+
description: z.ZodOptional<z.ZodString>;
|
|
717
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
718
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
719
|
+
from: z.ZodString;
|
|
720
|
+
to: z.ZodString;
|
|
721
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
722
|
+
via: z.ZodOptional<z.ZodString>;
|
|
723
|
+
}, z.core.$loose>>>>;
|
|
724
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
725
|
+
id: z.ZodString;
|
|
726
|
+
label: z.ZodOptional<z.ZodString>;
|
|
727
|
+
description: z.ZodOptional<z.ZodString>;
|
|
728
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
729
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
730
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
731
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
732
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
733
|
+
}, z.core.$loose>>>>;
|
|
734
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
735
|
+
id: z.ZodString;
|
|
736
|
+
label: z.ZodOptional<z.ZodString>;
|
|
737
|
+
description: z.ZodOptional<z.ZodString>;
|
|
738
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
739
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
740
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
741
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
742
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
743
|
+
}, z.core.$loose>>>>;
|
|
744
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
745
|
+
id: z.ZodString;
|
|
746
|
+
label: z.ZodOptional<z.ZodString>;
|
|
747
|
+
description: z.ZodOptional<z.ZodString>;
|
|
748
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
749
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
750
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
751
|
+
}, z.core.$loose>>>>;
|
|
752
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
753
|
+
id: z.ZodString;
|
|
754
|
+
label: z.ZodOptional<z.ZodString>;
|
|
755
|
+
description: z.ZodOptional<z.ZodString>;
|
|
756
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
757
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
758
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
759
|
+
}, z.core.$loose>>>>;
|
|
760
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
761
|
+
id: z.ZodString;
|
|
762
|
+
label: z.ZodOptional<z.ZodString>;
|
|
763
|
+
description: z.ZodOptional<z.ZodString>;
|
|
764
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
765
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
766
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
767
|
+
}, z.core.$loose>>>>;
|
|
768
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
769
|
+
id: z.ZodString;
|
|
770
|
+
label: z.ZodOptional<z.ZodString>;
|
|
771
|
+
description: z.ZodOptional<z.ZodString>;
|
|
772
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
773
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
774
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
775
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
776
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
777
|
+
}, z.core.$loose>>>>;
|
|
778
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
779
|
+
id: z.ZodString;
|
|
780
|
+
label: z.ZodOptional<z.ZodString>;
|
|
781
|
+
description: z.ZodOptional<z.ZodString>;
|
|
782
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
783
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
784
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
785
|
+
}, z.core.$loose>>>>;
|
|
786
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
787
|
+
id: z.ZodString;
|
|
788
|
+
label: z.ZodOptional<z.ZodString>;
|
|
789
|
+
description: z.ZodOptional<z.ZodString>;
|
|
790
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
791
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
792
|
+
route: z.ZodOptional<z.ZodString>;
|
|
793
|
+
}, z.core.$loose>>>>;
|
|
794
|
+
}, z.core.$strip>>>;
|
|
584
795
|
resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
585
796
|
id: z.ZodString;
|
|
586
797
|
order: z.ZodDefault<z.ZodNumber>;
|
|
587
798
|
systemPath: z.ZodString;
|
|
799
|
+
title: z.ZodOptional<z.ZodString>;
|
|
800
|
+
description: z.ZodOptional<z.ZodString>;
|
|
588
801
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
589
802
|
status: z.ZodEnum<{
|
|
590
803
|
deprecated: "deprecated";
|
|
591
804
|
active: "active";
|
|
592
805
|
archived: "archived";
|
|
593
806
|
}>;
|
|
807
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
808
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
809
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
810
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
811
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
812
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
813
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
814
|
+
}, z.core.$strip>>;
|
|
815
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
816
|
+
path: z.ZodString;
|
|
817
|
+
role: z.ZodEnum<{
|
|
818
|
+
schema: "schema";
|
|
819
|
+
config: "config";
|
|
820
|
+
entrypoint: "entrypoint";
|
|
821
|
+
handler: "handler";
|
|
822
|
+
test: "test";
|
|
823
|
+
docs: "docs";
|
|
824
|
+
}>;
|
|
825
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
826
|
+
description: z.ZodOptional<z.ZodString>;
|
|
827
|
+
}, z.core.$strip>>>;
|
|
594
828
|
kind: z.ZodLiteral<"workflow">;
|
|
595
|
-
actionKey: z.ZodOptional<z.ZodString>;
|
|
596
829
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
597
830
|
eventKey: z.ZodString;
|
|
598
831
|
label: z.ZodString;
|
|
@@ -609,12 +842,35 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
609
842
|
id: z.ZodString;
|
|
610
843
|
order: z.ZodDefault<z.ZodNumber>;
|
|
611
844
|
systemPath: z.ZodString;
|
|
845
|
+
title: z.ZodOptional<z.ZodString>;
|
|
846
|
+
description: z.ZodOptional<z.ZodString>;
|
|
612
847
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
613
848
|
status: z.ZodEnum<{
|
|
614
849
|
deprecated: "deprecated";
|
|
615
850
|
active: "active";
|
|
616
851
|
archived: "archived";
|
|
617
852
|
}>;
|
|
853
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
854
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
855
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
856
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
857
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
858
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
859
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
860
|
+
}, z.core.$strip>>;
|
|
861
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
862
|
+
path: z.ZodString;
|
|
863
|
+
role: z.ZodEnum<{
|
|
864
|
+
schema: "schema";
|
|
865
|
+
config: "config";
|
|
866
|
+
entrypoint: "entrypoint";
|
|
867
|
+
handler: "handler";
|
|
868
|
+
test: "test";
|
|
869
|
+
docs: "docs";
|
|
870
|
+
}>;
|
|
871
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
872
|
+
description: z.ZodOptional<z.ZodString>;
|
|
873
|
+
}, z.core.$strip>>>;
|
|
618
874
|
kind: z.ZodLiteral<"agent">;
|
|
619
875
|
agentKind: z.ZodEnum<{
|
|
620
876
|
platform: "platform";
|
|
@@ -663,24 +919,70 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
663
919
|
id: z.ZodString;
|
|
664
920
|
order: z.ZodDefault<z.ZodNumber>;
|
|
665
921
|
systemPath: z.ZodString;
|
|
922
|
+
title: z.ZodOptional<z.ZodString>;
|
|
923
|
+
description: z.ZodOptional<z.ZodString>;
|
|
666
924
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
667
925
|
status: z.ZodEnum<{
|
|
668
926
|
deprecated: "deprecated";
|
|
669
927
|
active: "active";
|
|
670
928
|
archived: "archived";
|
|
671
929
|
}>;
|
|
930
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
931
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
932
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
933
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
934
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
935
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
936
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
937
|
+
}, z.core.$strip>>;
|
|
938
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
939
|
+
path: z.ZodString;
|
|
940
|
+
role: z.ZodEnum<{
|
|
941
|
+
schema: "schema";
|
|
942
|
+
config: "config";
|
|
943
|
+
entrypoint: "entrypoint";
|
|
944
|
+
handler: "handler";
|
|
945
|
+
test: "test";
|
|
946
|
+
docs: "docs";
|
|
947
|
+
}>;
|
|
948
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
949
|
+
description: z.ZodOptional<z.ZodString>;
|
|
950
|
+
}, z.core.$strip>>>;
|
|
672
951
|
kind: z.ZodLiteral<"integration">;
|
|
673
952
|
provider: z.ZodString;
|
|
674
953
|
}, z.core.$strip>, z.ZodObject<{
|
|
675
954
|
id: z.ZodString;
|
|
676
955
|
order: z.ZodDefault<z.ZodNumber>;
|
|
677
956
|
systemPath: z.ZodString;
|
|
957
|
+
title: z.ZodOptional<z.ZodString>;
|
|
958
|
+
description: z.ZodOptional<z.ZodString>;
|
|
678
959
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
679
960
|
status: z.ZodEnum<{
|
|
680
961
|
deprecated: "deprecated";
|
|
681
962
|
active: "active";
|
|
682
963
|
archived: "archived";
|
|
683
964
|
}>;
|
|
965
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
966
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
967
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
968
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
969
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
970
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
971
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
972
|
+
}, z.core.$strip>>;
|
|
973
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
974
|
+
path: z.ZodString;
|
|
975
|
+
role: z.ZodEnum<{
|
|
976
|
+
schema: "schema";
|
|
977
|
+
config: "config";
|
|
978
|
+
entrypoint: "entrypoint";
|
|
979
|
+
handler: "handler";
|
|
980
|
+
test: "test";
|
|
981
|
+
docs: "docs";
|
|
982
|
+
}>;
|
|
983
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
984
|
+
description: z.ZodOptional<z.ZodString>;
|
|
985
|
+
}, z.core.$strip>>>;
|
|
684
986
|
kind: z.ZodLiteral<"script">;
|
|
685
987
|
language: z.ZodEnum<{
|
|
686
988
|
shell: "shell";
|
|
@@ -692,6 +994,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
692
994
|
file: z.ZodString;
|
|
693
995
|
}, z.core.$strip>]>;
|
|
694
996
|
}, z.core.$strip>], "kind">>>>;
|
|
997
|
+
topology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
998
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
999
|
+
relationships: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1000
|
+
from: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1001
|
+
kind: z.ZodLiteral<"system">;
|
|
1002
|
+
id: z.ZodString;
|
|
1003
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1004
|
+
kind: z.ZodLiteral<"resource">;
|
|
1005
|
+
id: z.ZodString;
|
|
1006
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1007
|
+
kind: z.ZodLiteral<"ontology">;
|
|
1008
|
+
id: z.ZodString;
|
|
1009
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1010
|
+
kind: z.ZodLiteral<"policy">;
|
|
1011
|
+
id: z.ZodString;
|
|
1012
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1013
|
+
kind: z.ZodLiteral<"role">;
|
|
1014
|
+
id: z.ZodString;
|
|
1015
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1016
|
+
kind: z.ZodLiteral<"trigger">;
|
|
1017
|
+
id: z.ZodString;
|
|
1018
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1019
|
+
kind: z.ZodLiteral<"humanCheckpoint">;
|
|
1020
|
+
id: z.ZodString;
|
|
1021
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1022
|
+
kind: z.ZodLiteral<"externalResource">;
|
|
1023
|
+
id: z.ZodString;
|
|
1024
|
+
}, z.core.$strip>], "kind">;
|
|
1025
|
+
kind: z.ZodEnum<{
|
|
1026
|
+
triggers: "triggers";
|
|
1027
|
+
uses: "uses";
|
|
1028
|
+
approval: "approval";
|
|
1029
|
+
}>;
|
|
1030
|
+
to: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1031
|
+
kind: z.ZodLiteral<"system">;
|
|
1032
|
+
id: z.ZodString;
|
|
1033
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1034
|
+
kind: z.ZodLiteral<"resource">;
|
|
1035
|
+
id: z.ZodString;
|
|
1036
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1037
|
+
kind: z.ZodLiteral<"ontology">;
|
|
1038
|
+
id: z.ZodString;
|
|
1039
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1040
|
+
kind: z.ZodLiteral<"policy">;
|
|
1041
|
+
id: z.ZodString;
|
|
1042
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1043
|
+
kind: z.ZodLiteral<"role">;
|
|
1044
|
+
id: z.ZodString;
|
|
1045
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1046
|
+
kind: z.ZodLiteral<"trigger">;
|
|
1047
|
+
id: z.ZodString;
|
|
1048
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1049
|
+
kind: z.ZodLiteral<"humanCheckpoint">;
|
|
1050
|
+
id: z.ZodString;
|
|
1051
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1052
|
+
kind: z.ZodLiteral<"externalResource">;
|
|
1053
|
+
id: z.ZodString;
|
|
1054
|
+
}, z.core.$strip>], "kind">;
|
|
1055
|
+
systemPath: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1057
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1058
|
+
}, z.core.$strip>>>;
|
|
1059
|
+
}, z.core.$strip>>>;
|
|
695
1060
|
actions: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
696
1061
|
id: z.ZodString;
|
|
697
1062
|
order: z.ZodNumber;
|
|
@@ -825,80 +1190,76 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
825
1190
|
title: z.ZodString;
|
|
826
1191
|
summary: z.ZodString;
|
|
827
1192
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
"
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
"
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
"
|
|
860
|
-
"
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
"
|
|
886
|
-
|
|
887
|
-
"action.launch": "action.launch";
|
|
888
|
-
"action.message": "action.message";
|
|
889
|
-
"action.escalate": "action.escalate";
|
|
890
|
-
"action.promote": "action.promote";
|
|
891
|
-
"action.submit": "action.submit";
|
|
892
|
-
"action.email": "action.email";
|
|
1193
|
+
message: "message";
|
|
1194
|
+
error: "error";
|
|
1195
|
+
agent: "agent";
|
|
1196
|
+
workflow: "workflow";
|
|
1197
|
+
"google-sheets": "google-sheets";
|
|
1198
|
+
dashboard: "dashboard";
|
|
1199
|
+
calendar: "calendar";
|
|
1200
|
+
sales: "sales";
|
|
1201
|
+
crm: "crm";
|
|
1202
|
+
"lead-gen": "lead-gen";
|
|
1203
|
+
projects: "projects";
|
|
1204
|
+
operations: "operations";
|
|
1205
|
+
monitoring: "monitoring";
|
|
1206
|
+
knowledge: "knowledge";
|
|
1207
|
+
settings: "settings";
|
|
1208
|
+
admin: "admin";
|
|
1209
|
+
archive: "archive";
|
|
1210
|
+
business: "business";
|
|
1211
|
+
finance: "finance";
|
|
1212
|
+
platform: "platform";
|
|
1213
|
+
seo: "seo";
|
|
1214
|
+
playbook: "playbook";
|
|
1215
|
+
strategy: "strategy";
|
|
1216
|
+
reference: "reference";
|
|
1217
|
+
integration: "integration";
|
|
1218
|
+
database: "database";
|
|
1219
|
+
user: "user";
|
|
1220
|
+
team: "team";
|
|
1221
|
+
gmail: "gmail";
|
|
1222
|
+
attio: "attio";
|
|
1223
|
+
overview: "overview";
|
|
1224
|
+
"command-view": "command-view";
|
|
1225
|
+
"command-queue": "command-queue";
|
|
1226
|
+
pipeline: "pipeline";
|
|
1227
|
+
lists: "lists";
|
|
1228
|
+
resources: "resources";
|
|
1229
|
+
approve: "approve";
|
|
1230
|
+
reject: "reject";
|
|
1231
|
+
retry: "retry";
|
|
1232
|
+
edit: "edit";
|
|
1233
|
+
view: "view";
|
|
1234
|
+
launch: "launch";
|
|
1235
|
+
escalate: "escalate";
|
|
1236
|
+
promote: "promote";
|
|
1237
|
+
submit: "submit";
|
|
1238
|
+
email: "email";
|
|
1239
|
+
success: "success";
|
|
1240
|
+
warning: "warning";
|
|
1241
|
+
info: "info";
|
|
1242
|
+
pending: "pending";
|
|
1243
|
+
bolt: "bolt";
|
|
1244
|
+
building: "building";
|
|
1245
|
+
briefcase: "briefcase";
|
|
1246
|
+
apps: "apps";
|
|
1247
|
+
graph: "graph";
|
|
1248
|
+
shield: "shield";
|
|
1249
|
+
users: "users";
|
|
1250
|
+
"chart-bar": "chart-bar";
|
|
1251
|
+
search: "search";
|
|
893
1252
|
}>, z.ZodString]>>;
|
|
894
1253
|
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
sourceFilePath: z.ZodOptional<z.ZodString>;
|
|
895
1255
|
body: z.ZodString;
|
|
896
1256
|
links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
897
1257
|
target: z.ZodObject<{
|
|
898
1258
|
kind: z.ZodEnum<{
|
|
1259
|
+
knowledge: "knowledge";
|
|
899
1260
|
system: "system";
|
|
900
1261
|
action: "action";
|
|
901
|
-
|
|
1262
|
+
ontology: "ontology";
|
|
902
1263
|
role: "role";
|
|
903
1264
|
goal: "goal";
|
|
904
1265
|
stage: "stage";
|
|
@@ -910,10 +1271,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
910
1271
|
id: z.ZodString;
|
|
911
1272
|
}, z.core.$strip>;
|
|
912
1273
|
}, z.core.$strip>, z.ZodObject<{
|
|
913
|
-
nodeId: z.ZodString
|
|
1274
|
+
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
914
1275
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
915
1276
|
target: {
|
|
916
|
-
kind: "system" | "action" | "
|
|
1277
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
917
1278
|
id: string;
|
|
918
1279
|
};
|
|
919
1280
|
nodeId: string;
|
|
@@ -921,7 +1282,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
921
1282
|
nodeId: string;
|
|
922
1283
|
} | {
|
|
923
1284
|
target: {
|
|
924
|
-
kind: "system" | "action" | "
|
|
1285
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
925
1286
|
id: string;
|
|
926
1287
|
};
|
|
927
1288
|
}>>>>;
|
|
@@ -936,8 +1297,8 @@ type OrgKnowledgeKind = z.infer<typeof OrgKnowledgeKindSchema>;
|
|
|
936
1297
|
|
|
937
1298
|
type OrganizationGraphNodeKind = 'organization' | 'system' | 'role' | 'action' | 'entity' | 'event' | 'policy' | 'stage' | 'resource' | 'knowledge' | 'customer-segment' | 'offering' | 'goal' | 'surface' | 'navigation-group'
|
|
938
1299
|
/** Phase 3 preview — Phase 4 populates this kind via graph projection of system.content entries. */
|
|
939
|
-
| 'content-node';
|
|
940
|
-
type OrganizationGraphEdgeKind = 'contains' | 'references' | 'maps_to' | 'uses' | 'governs' | 'links' | 'affects' | 'emits' | 'originates_from' | 'triggers' | 'applies_to' | 'effects';
|
|
1300
|
+
| 'ontology' | 'content-node';
|
|
1301
|
+
type OrganizationGraphEdgeKind = 'contains' | 'references' | 'maps_to' | 'uses' | 'governs' | 'links' | 'affects' | 'emits' | 'originates_from' | 'triggers' | 'approval' | 'applies_to' | 'effects' | 'actions' | 'reads' | 'writes' | 'uses_catalog';
|
|
941
1302
|
|
|
942
1303
|
interface OrganizationGraphNode {
|
|
943
1304
|
id: string;
|
|
@@ -947,6 +1308,7 @@ interface OrganizationGraphNode {
|
|
|
947
1308
|
description?: string;
|
|
948
1309
|
icon?: OrganizationModelIconToken;
|
|
949
1310
|
enabled?: boolean;
|
|
1311
|
+
ontologyKind?: string;
|
|
950
1312
|
resourceType?: 'workflow' | 'agent' | 'trigger' | 'integration' | 'external' | 'human_checkpoint' | 'script';
|
|
951
1313
|
}
|
|
952
1314
|
interface OrganizationGraphEdge {
|
|
@@ -971,6 +1333,8 @@ interface KnowledgeBrowserProps {
|
|
|
971
1333
|
graph: OrganizationGraph;
|
|
972
1334
|
/** All knowledge nodes (OM authoring shape). */
|
|
973
1335
|
knowledgeNodes: OrgKnowledgeNode[];
|
|
1336
|
+
/** Optional full organization model, used to enrich graph-node detail views. */
|
|
1337
|
+
organizationModel?: OrganizationModel;
|
|
974
1338
|
/** Optional id of the node to render. */
|
|
975
1339
|
initialNodeId?: string;
|
|
976
1340
|
/** Optional callback invoked when a graph edge chip is clicked in the node view. */
|
|
@@ -984,7 +1348,7 @@ interface KnowledgeBrowserProps {
|
|
|
984
1348
|
* The file-system tree nav and the search bar live in the knowledge subshell
|
|
985
1349
|
* sidebar. Selection is URL-driven via `initialNodeId`.
|
|
986
1350
|
*/
|
|
987
|
-
declare function KnowledgeBrowser({ graph, knowledgeNodes, initialNodeId, onNavigateToNode, onSelectNode }: KnowledgeBrowserProps): react_jsx_runtime.JSX.Element;
|
|
1351
|
+
declare function KnowledgeBrowser({ graph, knowledgeNodes, organizationModel, initialNodeId, onNavigateToNode, onSelectNode }: KnowledgeBrowserProps): react_jsx_runtime.JSX.Element;
|
|
988
1352
|
|
|
989
1353
|
/**
|
|
990
1354
|
* Semantic OM tree groups (in display order). Operational configuration domains
|
|
@@ -1162,14 +1526,12 @@ declare const KNOWLEDGE_ITEMS: NavItem[];
|
|
|
1162
1526
|
|
|
1163
1527
|
type SemanticIconToken = string;
|
|
1164
1528
|
type TablerIconComponent = typeof IconBrain;
|
|
1165
|
-
type SemanticIconFallbackKind = 'knowledge' | 'playbook' | 'strategy' | 'reference' | 'feature' | 'resource' | 'integration' | 'action' | 'entity' | 'event' | 'policy' | 'status' | 'nav' | 'unknown';
|
|
1166
1529
|
type SemanticIconRegistry = Record<SemanticIconToken, TablerIconComponent>;
|
|
1167
1530
|
declare function extendSemanticIconRegistry(overrides: SemanticIconRegistry): void;
|
|
1168
|
-
declare function getSemanticIconComponent(token?: string | null,
|
|
1531
|
+
declare function getSemanticIconComponent(token?: string | null, fallbackToken?: string): TablerIconComponent;
|
|
1169
1532
|
declare function resolveSemanticIconComponent(token?: string | null): TablerIconComponent | null;
|
|
1170
1533
|
interface SemanticIconProps {
|
|
1171
1534
|
token?: string | null;
|
|
1172
|
-
fallbackKind?: SemanticIconFallbackKind;
|
|
1173
1535
|
fallbackToken?: string;
|
|
1174
1536
|
size?: number;
|
|
1175
1537
|
stroke?: number;
|
|
@@ -1177,7 +1539,7 @@ interface SemanticIconProps {
|
|
|
1177
1539
|
style?: CSSProperties;
|
|
1178
1540
|
'aria-hidden'?: boolean;
|
|
1179
1541
|
}
|
|
1180
|
-
declare function SemanticIcon({ token,
|
|
1542
|
+
declare function SemanticIcon({ token, fallbackToken, size, stroke, className, style, 'aria-hidden': ariaHidden }: SemanticIconProps): react_jsx_runtime.JSX.Element;
|
|
1181
1543
|
|
|
1182
1544
|
declare const KNOWLEDGE_ICON_TOKEN_BY_KIND: Record<OrgKnowledgeKind, SemanticIconToken>;
|
|
1183
1545
|
declare function getKnowledgeIconToken(node: OrgKnowledgeNode): string | undefined;
|
|
@@ -1280,7 +1642,7 @@ interface DescribeNodeViewProps {
|
|
|
1280
1642
|
*/
|
|
1281
1643
|
declare function DescribeNodeView({ node, graph, organizationModel, knowledgeNodes, onNavigateToNode }: DescribeNodeViewProps): react_jsx_runtime.JSX.Element;
|
|
1282
1644
|
|
|
1283
|
-
type DomainPanelKey = 'identity' | 'branding' | 'customers' | 'offerings' | 'goals' | 'roles' | 'statuses' | 'navigation' | 'policies';
|
|
1645
|
+
type DomainPanelKey = 'identity' | 'branding' | 'customers' | 'offerings' | 'goals' | 'roles' | 'statuses' | 'navigation' | 'policies' | 'ontology-objects' | 'ontology-links' | 'ontology-actions' | 'ontology-catalogs' | 'ontology-events' | 'ontology-interfaces' | 'ontology-value-types' | 'ontology-properties' | 'ontology-groups' | 'ontology-surfaces' | 'ontology-resources';
|
|
1284
1646
|
interface DomainPanelDispatcherProps {
|
|
1285
1647
|
domainKey: string;
|
|
1286
1648
|
model: OrganizationModel;
|