@elevasis/ui 2.32.0 → 2.33.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/dist/app/index.js +3 -3
- package/dist/{chunk-GCOQ3TBG.js → chunk-2GMF5IRF.js} +2 -2
- package/dist/{chunk-4MFNGNHF.js → chunk-52NLZN6Z.js} +2 -2
- package/dist/{chunk-5FJJ72HU.js → chunk-AHCKOU2M.js} +1 -1
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/chunk-DWXDNT7P.js +145 -0
- package/dist/{chunk-5J4PDX26.js → chunk-E4T2N7P7.js} +14 -2
- package/dist/{chunk-RQTWIXJ5.js → chunk-E7C4XEWH.js} +1 -1
- package/dist/{chunk-6DWD423K.js → chunk-FFPHJBJC.js} +1 -1
- package/dist/{chunk-T35FWDAB.js → chunk-GNRMB6DC.js} +940 -156
- package/dist/{chunk-LLRXA7D7.js → chunk-IUKFNASA.js} +1 -1
- package/dist/{chunk-QTI3KC7D.js → chunk-JHT5JIJ3.js} +106 -43
- package/dist/{chunk-IQHU7O5Y.js → chunk-MHLZ4F4N.js} +1 -1
- package/dist/{chunk-VRNMNB3O.js → chunk-NOIRGGW2.js} +1 -1
- package/dist/{chunk-MOY4VOHF.js → chunk-QNOVUCSV.js} +1 -1
- package/dist/{chunk-4QK76KIF.js → chunk-TKF5S4XP.js} +1 -1
- package/dist/{chunk-ZQOKIGZP.js → chunk-UVFOURXR.js} +4 -4
- package/dist/{chunk-YLQEVSOR.js → chunk-UW7IV2Y3.js} +202 -54
- package/dist/{chunk-IZWTVFJ2.js → chunk-V6SZ4ECN.js} +6 -3
- package/dist/{chunk-QQHOKTJA.js → chunk-XG57WXOL.js} +39 -2
- package/dist/{chunk-7KZINJLP.js → chunk-XOFSMJLF.js} +4 -4
- package/dist/{chunk-WQPX44YM.js → chunk-YAQ25UNM.js} +668 -168
- package/dist/{chunk-QXCDKE2O.js → chunk-ZGTDKH3P.js} +9 -28
- package/dist/components/index.d.ts +111 -2
- package/dist/components/index.js +24 -23
- package/dist/components/navigation/index.js +4 -3
- package/dist/execution/index.d.ts +5 -1
- package/dist/features/clients/index.js +8 -7
- package/dist/features/crm/index.js +10 -9
- package/dist/features/dashboard/index.d.ts +110 -1
- package/dist/features/dashboard/index.js +9 -8
- 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 +442 -73
- package/dist/features/operations/index.js +13 -12
- package/dist/features/settings/index.js +9 -8
- package/dist/hooks/index.d.ts +192 -3
- package/dist/hooks/index.js +8 -7
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +190 -1
- package/dist/hooks/published.d.ts +192 -3
- package/dist/hooks/published.js +8 -7
- package/dist/index.d.ts +444 -75
- package/dist/index.js +8 -7
- package/dist/knowledge/index.d.ts +490 -214
- package/dist/knowledge/index.js +1179 -687
- package/dist/knowledge-search-index-P7PR626V.js +1514 -0
- package/dist/layout/index.js +1 -1
- package/dist/provider/index.d.ts +357 -72
- package/dist/provider/index.js +7 -6
- package/dist/provider/published.d.ts +357 -72
- package/dist/provider/published.js +5 -4
- package/dist/types/index.d.ts +190 -1
- package/dist/utils/index.d.ts +110 -1
- 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,6 +427,10 @@ 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;
|
|
@@ -381,6 +480,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
381
480
|
version: 1;
|
|
382
481
|
lastModified: string;
|
|
383
482
|
};
|
|
483
|
+
ontology: {
|
|
484
|
+
version: 1;
|
|
485
|
+
lastModified: string;
|
|
486
|
+
};
|
|
384
487
|
resources: {
|
|
385
488
|
version: 1;
|
|
386
489
|
lastModified: string;
|
|
@@ -430,6 +533,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
430
533
|
version: 1;
|
|
431
534
|
lastModified: string;
|
|
432
535
|
} | undefined;
|
|
536
|
+
ontology?: {
|
|
537
|
+
version: 1;
|
|
538
|
+
lastModified: string;
|
|
539
|
+
} | undefined;
|
|
433
540
|
resources?: {
|
|
434
541
|
version: 1;
|
|
435
542
|
lastModified: string;
|
|
@@ -581,6 +688,98 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
581
688
|
}, z.core.$strip>>>;
|
|
582
689
|
}, z.core.$strip>>>>;
|
|
583
690
|
systems: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
|
|
691
|
+
ontology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
692
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
693
|
+
id: z.ZodString;
|
|
694
|
+
label: z.ZodOptional<z.ZodString>;
|
|
695
|
+
description: z.ZodOptional<z.ZodString>;
|
|
696
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
697
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
698
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
699
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
700
|
+
}, z.core.$loose>>>>;
|
|
701
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
702
|
+
id: z.ZodString;
|
|
703
|
+
label: z.ZodOptional<z.ZodString>;
|
|
704
|
+
description: z.ZodOptional<z.ZodString>;
|
|
705
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
706
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
707
|
+
from: z.ZodString;
|
|
708
|
+
to: z.ZodString;
|
|
709
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
710
|
+
via: z.ZodOptional<z.ZodString>;
|
|
711
|
+
}, z.core.$loose>>>>;
|
|
712
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
713
|
+
id: z.ZodString;
|
|
714
|
+
label: z.ZodOptional<z.ZodString>;
|
|
715
|
+
description: z.ZodOptional<z.ZodString>;
|
|
716
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
717
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
718
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
719
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
720
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
721
|
+
}, z.core.$loose>>>>;
|
|
722
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
723
|
+
id: z.ZodString;
|
|
724
|
+
label: z.ZodOptional<z.ZodString>;
|
|
725
|
+
description: z.ZodOptional<z.ZodString>;
|
|
726
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
727
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
728
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
729
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
730
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
731
|
+
}, z.core.$loose>>>>;
|
|
732
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
733
|
+
id: z.ZodString;
|
|
734
|
+
label: z.ZodOptional<z.ZodString>;
|
|
735
|
+
description: z.ZodOptional<z.ZodString>;
|
|
736
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
737
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
738
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
739
|
+
}, z.core.$loose>>>>;
|
|
740
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
741
|
+
id: z.ZodString;
|
|
742
|
+
label: z.ZodOptional<z.ZodString>;
|
|
743
|
+
description: z.ZodOptional<z.ZodString>;
|
|
744
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
745
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
746
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
747
|
+
}, z.core.$loose>>>>;
|
|
748
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
749
|
+
id: z.ZodString;
|
|
750
|
+
label: z.ZodOptional<z.ZodString>;
|
|
751
|
+
description: z.ZodOptional<z.ZodString>;
|
|
752
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
753
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
754
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
755
|
+
}, z.core.$loose>>>>;
|
|
756
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
757
|
+
id: z.ZodString;
|
|
758
|
+
label: z.ZodOptional<z.ZodString>;
|
|
759
|
+
description: z.ZodOptional<z.ZodString>;
|
|
760
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
761
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
762
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
763
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
764
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
765
|
+
}, z.core.$loose>>>>;
|
|
766
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
767
|
+
id: z.ZodString;
|
|
768
|
+
label: z.ZodOptional<z.ZodString>;
|
|
769
|
+
description: z.ZodOptional<z.ZodString>;
|
|
770
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
771
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
772
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
773
|
+
}, z.core.$loose>>>>;
|
|
774
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
775
|
+
id: z.ZodString;
|
|
776
|
+
label: z.ZodOptional<z.ZodString>;
|
|
777
|
+
description: z.ZodOptional<z.ZodString>;
|
|
778
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
779
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
780
|
+
route: z.ZodOptional<z.ZodString>;
|
|
781
|
+
}, z.core.$loose>>>>;
|
|
782
|
+
}, z.core.$strip>>>;
|
|
584
783
|
resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
585
784
|
id: z.ZodString;
|
|
586
785
|
order: z.ZodDefault<z.ZodNumber>;
|
|
@@ -591,6 +790,26 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
591
790
|
active: "active";
|
|
592
791
|
archived: "archived";
|
|
593
792
|
}>;
|
|
793
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
794
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
795
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
796
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
797
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
798
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
799
|
+
}, z.core.$strip>>;
|
|
800
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
801
|
+
path: z.ZodString;
|
|
802
|
+
role: z.ZodEnum<{
|
|
803
|
+
schema: "schema";
|
|
804
|
+
config: "config";
|
|
805
|
+
entrypoint: "entrypoint";
|
|
806
|
+
handler: "handler";
|
|
807
|
+
test: "test";
|
|
808
|
+
docs: "docs";
|
|
809
|
+
}>;
|
|
810
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
811
|
+
description: z.ZodOptional<z.ZodString>;
|
|
812
|
+
}, z.core.$strip>>>;
|
|
594
813
|
kind: z.ZodLiteral<"workflow">;
|
|
595
814
|
actionKey: z.ZodOptional<z.ZodString>;
|
|
596
815
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -615,6 +834,26 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
615
834
|
active: "active";
|
|
616
835
|
archived: "archived";
|
|
617
836
|
}>;
|
|
837
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
838
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
839
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
840
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
841
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
842
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
843
|
+
}, z.core.$strip>>;
|
|
844
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
845
|
+
path: z.ZodString;
|
|
846
|
+
role: z.ZodEnum<{
|
|
847
|
+
schema: "schema";
|
|
848
|
+
config: "config";
|
|
849
|
+
entrypoint: "entrypoint";
|
|
850
|
+
handler: "handler";
|
|
851
|
+
test: "test";
|
|
852
|
+
docs: "docs";
|
|
853
|
+
}>;
|
|
854
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
855
|
+
description: z.ZodOptional<z.ZodString>;
|
|
856
|
+
}, z.core.$strip>>>;
|
|
618
857
|
kind: z.ZodLiteral<"agent">;
|
|
619
858
|
agentKind: z.ZodEnum<{
|
|
620
859
|
platform: "platform";
|
|
@@ -669,6 +908,26 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
669
908
|
active: "active";
|
|
670
909
|
archived: "archived";
|
|
671
910
|
}>;
|
|
911
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
912
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
913
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
914
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
915
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
916
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
917
|
+
}, z.core.$strip>>;
|
|
918
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
919
|
+
path: z.ZodString;
|
|
920
|
+
role: z.ZodEnum<{
|
|
921
|
+
schema: "schema";
|
|
922
|
+
config: "config";
|
|
923
|
+
entrypoint: "entrypoint";
|
|
924
|
+
handler: "handler";
|
|
925
|
+
test: "test";
|
|
926
|
+
docs: "docs";
|
|
927
|
+
}>;
|
|
928
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
929
|
+
description: z.ZodOptional<z.ZodString>;
|
|
930
|
+
}, z.core.$strip>>>;
|
|
672
931
|
kind: z.ZodLiteral<"integration">;
|
|
673
932
|
provider: z.ZodString;
|
|
674
933
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -681,6 +940,26 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
681
940
|
active: "active";
|
|
682
941
|
archived: "archived";
|
|
683
942
|
}>;
|
|
943
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
944
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
945
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
946
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
947
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
948
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
949
|
+
}, z.core.$strip>>;
|
|
950
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
951
|
+
path: z.ZodString;
|
|
952
|
+
role: z.ZodEnum<{
|
|
953
|
+
schema: "schema";
|
|
954
|
+
config: "config";
|
|
955
|
+
entrypoint: "entrypoint";
|
|
956
|
+
handler: "handler";
|
|
957
|
+
test: "test";
|
|
958
|
+
docs: "docs";
|
|
959
|
+
}>;
|
|
960
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
961
|
+
description: z.ZodOptional<z.ZodString>;
|
|
962
|
+
}, z.core.$strip>>>;
|
|
684
963
|
kind: z.ZodLiteral<"script">;
|
|
685
964
|
language: z.ZodEnum<{
|
|
686
965
|
shell: "shell";
|
|
@@ -825,80 +1104,76 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
825
1104
|
title: z.ZodString;
|
|
826
1105
|
summary: z.ZodString;
|
|
827
1106
|
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";
|
|
1107
|
+
message: "message";
|
|
1108
|
+
error: "error";
|
|
1109
|
+
agent: "agent";
|
|
1110
|
+
workflow: "workflow";
|
|
1111
|
+
"google-sheets": "google-sheets";
|
|
1112
|
+
dashboard: "dashboard";
|
|
1113
|
+
calendar: "calendar";
|
|
1114
|
+
sales: "sales";
|
|
1115
|
+
crm: "crm";
|
|
1116
|
+
"lead-gen": "lead-gen";
|
|
1117
|
+
projects: "projects";
|
|
1118
|
+
operations: "operations";
|
|
1119
|
+
monitoring: "monitoring";
|
|
1120
|
+
knowledge: "knowledge";
|
|
1121
|
+
settings: "settings";
|
|
1122
|
+
admin: "admin";
|
|
1123
|
+
archive: "archive";
|
|
1124
|
+
business: "business";
|
|
1125
|
+
finance: "finance";
|
|
1126
|
+
platform: "platform";
|
|
1127
|
+
seo: "seo";
|
|
1128
|
+
playbook: "playbook";
|
|
1129
|
+
strategy: "strategy";
|
|
1130
|
+
reference: "reference";
|
|
1131
|
+
integration: "integration";
|
|
1132
|
+
database: "database";
|
|
1133
|
+
user: "user";
|
|
1134
|
+
team: "team";
|
|
1135
|
+
gmail: "gmail";
|
|
1136
|
+
attio: "attio";
|
|
1137
|
+
overview: "overview";
|
|
1138
|
+
"command-view": "command-view";
|
|
1139
|
+
"command-queue": "command-queue";
|
|
1140
|
+
pipeline: "pipeline";
|
|
1141
|
+
lists: "lists";
|
|
1142
|
+
resources: "resources";
|
|
1143
|
+
approve: "approve";
|
|
1144
|
+
reject: "reject";
|
|
1145
|
+
retry: "retry";
|
|
1146
|
+
edit: "edit";
|
|
1147
|
+
view: "view";
|
|
1148
|
+
launch: "launch";
|
|
1149
|
+
escalate: "escalate";
|
|
1150
|
+
promote: "promote";
|
|
1151
|
+
submit: "submit";
|
|
1152
|
+
email: "email";
|
|
1153
|
+
success: "success";
|
|
1154
|
+
warning: "warning";
|
|
1155
|
+
info: "info";
|
|
1156
|
+
pending: "pending";
|
|
1157
|
+
bolt: "bolt";
|
|
1158
|
+
building: "building";
|
|
1159
|
+
briefcase: "briefcase";
|
|
1160
|
+
apps: "apps";
|
|
1161
|
+
graph: "graph";
|
|
1162
|
+
shield: "shield";
|
|
1163
|
+
users: "users";
|
|
1164
|
+
"chart-bar": "chart-bar";
|
|
1165
|
+
search: "search";
|
|
893
1166
|
}>, z.ZodString]>>;
|
|
894
1167
|
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
sourceFilePath: z.ZodOptional<z.ZodString>;
|
|
895
1169
|
body: z.ZodString;
|
|
896
1170
|
links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
897
1171
|
target: z.ZodObject<{
|
|
898
1172
|
kind: z.ZodEnum<{
|
|
1173
|
+
knowledge: "knowledge";
|
|
899
1174
|
system: "system";
|
|
900
1175
|
action: "action";
|
|
901
|
-
|
|
1176
|
+
ontology: "ontology";
|
|
902
1177
|
role: "role";
|
|
903
1178
|
goal: "goal";
|
|
904
1179
|
stage: "stage";
|
|
@@ -910,10 +1185,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
910
1185
|
id: z.ZodString;
|
|
911
1186
|
}, z.core.$strip>;
|
|
912
1187
|
}, z.core.$strip>, z.ZodObject<{
|
|
913
|
-
nodeId: z.ZodString
|
|
1188
|
+
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
914
1189
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
915
1190
|
target: {
|
|
916
|
-
kind: "system" | "action" | "
|
|
1191
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
917
1192
|
id: string;
|
|
918
1193
|
};
|
|
919
1194
|
nodeId: string;
|
|
@@ -921,7 +1196,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
921
1196
|
nodeId: string;
|
|
922
1197
|
} | {
|
|
923
1198
|
target: {
|
|
924
|
-
kind: "system" | "action" | "
|
|
1199
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
925
1200
|
id: string;
|
|
926
1201
|
};
|
|
927
1202
|
}>>>>;
|
|
@@ -936,8 +1211,8 @@ type OrgKnowledgeKind = z.infer<typeof OrgKnowledgeKindSchema>;
|
|
|
936
1211
|
|
|
937
1212
|
type OrganizationGraphNodeKind = 'organization' | 'system' | 'role' | 'action' | 'entity' | 'event' | 'policy' | 'stage' | 'resource' | 'knowledge' | 'customer-segment' | 'offering' | 'goal' | 'surface' | 'navigation-group'
|
|
938
1213
|
/** 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';
|
|
1214
|
+
| 'ontology' | 'content-node';
|
|
1215
|
+
type OrganizationGraphEdgeKind = 'contains' | 'references' | 'maps_to' | 'uses' | 'governs' | 'links' | 'affects' | 'emits' | 'originates_from' | 'triggers' | 'applies_to' | 'effects' | 'implements' | 'reads' | 'writes' | 'uses_catalog';
|
|
941
1216
|
|
|
942
1217
|
interface OrganizationGraphNode {
|
|
943
1218
|
id: string;
|
|
@@ -947,6 +1222,7 @@ interface OrganizationGraphNode {
|
|
|
947
1222
|
description?: string;
|
|
948
1223
|
icon?: OrganizationModelIconToken;
|
|
949
1224
|
enabled?: boolean;
|
|
1225
|
+
ontologyKind?: string;
|
|
950
1226
|
resourceType?: 'workflow' | 'agent' | 'trigger' | 'integration' | 'external' | 'human_checkpoint' | 'script';
|
|
951
1227
|
}
|
|
952
1228
|
interface OrganizationGraphEdge {
|
|
@@ -971,6 +1247,8 @@ interface KnowledgeBrowserProps {
|
|
|
971
1247
|
graph: OrganizationGraph;
|
|
972
1248
|
/** All knowledge nodes (OM authoring shape). */
|
|
973
1249
|
knowledgeNodes: OrgKnowledgeNode[];
|
|
1250
|
+
/** Optional full organization model, used to enrich graph-node detail views. */
|
|
1251
|
+
organizationModel?: OrganizationModel;
|
|
974
1252
|
/** Optional id of the node to render. */
|
|
975
1253
|
initialNodeId?: string;
|
|
976
1254
|
/** Optional callback invoked when a graph edge chip is clicked in the node view. */
|
|
@@ -984,7 +1262,7 @@ interface KnowledgeBrowserProps {
|
|
|
984
1262
|
* The file-system tree nav and the search bar live in the knowledge subshell
|
|
985
1263
|
* sidebar. Selection is URL-driven via `initialNodeId`.
|
|
986
1264
|
*/
|
|
987
|
-
declare function KnowledgeBrowser({ graph, knowledgeNodes, initialNodeId, onNavigateToNode, onSelectNode }: KnowledgeBrowserProps): react_jsx_runtime.JSX.Element;
|
|
1265
|
+
declare function KnowledgeBrowser({ graph, knowledgeNodes, organizationModel, initialNodeId, onNavigateToNode, onSelectNode }: KnowledgeBrowserProps): react_jsx_runtime.JSX.Element;
|
|
988
1266
|
|
|
989
1267
|
/**
|
|
990
1268
|
* Semantic OM tree groups (in display order). Operational configuration domains
|
|
@@ -1162,14 +1440,12 @@ declare const KNOWLEDGE_ITEMS: NavItem[];
|
|
|
1162
1440
|
|
|
1163
1441
|
type SemanticIconToken = string;
|
|
1164
1442
|
type TablerIconComponent = typeof IconBrain;
|
|
1165
|
-
type SemanticIconFallbackKind = 'knowledge' | 'playbook' | 'strategy' | 'reference' | 'feature' | 'resource' | 'integration' | 'action' | 'entity' | 'event' | 'policy' | 'status' | 'nav' | 'unknown';
|
|
1166
1443
|
type SemanticIconRegistry = Record<SemanticIconToken, TablerIconComponent>;
|
|
1167
1444
|
declare function extendSemanticIconRegistry(overrides: SemanticIconRegistry): void;
|
|
1168
|
-
declare function getSemanticIconComponent(token?: string | null,
|
|
1445
|
+
declare function getSemanticIconComponent(token?: string | null, fallbackToken?: string): TablerIconComponent;
|
|
1169
1446
|
declare function resolveSemanticIconComponent(token?: string | null): TablerIconComponent | null;
|
|
1170
1447
|
interface SemanticIconProps {
|
|
1171
1448
|
token?: string | null;
|
|
1172
|
-
fallbackKind?: SemanticIconFallbackKind;
|
|
1173
1449
|
fallbackToken?: string;
|
|
1174
1450
|
size?: number;
|
|
1175
1451
|
stroke?: number;
|
|
@@ -1177,7 +1453,7 @@ interface SemanticIconProps {
|
|
|
1177
1453
|
style?: CSSProperties;
|
|
1178
1454
|
'aria-hidden'?: boolean;
|
|
1179
1455
|
}
|
|
1180
|
-
declare function SemanticIcon({ token,
|
|
1456
|
+
declare function SemanticIcon({ token, fallbackToken, size, stroke, className, style, 'aria-hidden': ariaHidden }: SemanticIconProps): react_jsx_runtime.JSX.Element;
|
|
1181
1457
|
|
|
1182
1458
|
declare const KNOWLEDGE_ICON_TOKEN_BY_KIND: Record<OrgKnowledgeKind, SemanticIconToken>;
|
|
1183
1459
|
declare function getKnowledgeIconToken(node: OrgKnowledgeNode): string | undefined;
|
|
@@ -1280,7 +1556,7 @@ interface DescribeNodeViewProps {
|
|
|
1280
1556
|
*/
|
|
1281
1557
|
declare function DescribeNodeView({ node, graph, organizationModel, knowledgeNodes, onNavigateToNode }: DescribeNodeViewProps): react_jsx_runtime.JSX.Element;
|
|
1282
1558
|
|
|
1283
|
-
type DomainPanelKey = 'identity' | 'branding' | 'customers' | 'offerings' | 'goals' | 'roles' | 'statuses' | 'navigation' | 'policies';
|
|
1559
|
+
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
1560
|
interface DomainPanelDispatcherProps {
|
|
1285
1561
|
domainKey: string;
|
|
1286
1562
|
model: OrganizationModel;
|