@elevasis/ui 2.35.0 → 2.37.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/api/index.js +4 -3
- package/dist/app/index.css +0 -384
- package/dist/app/index.d.ts +45 -18
- package/dist/app/index.js +21 -21
- package/dist/auth/index.d.ts +91 -28
- package/dist/auth/index.js +5 -1
- package/dist/charts/index.js +9 -3
- package/dist/chunk-5CTJ7TW2.js +111 -0
- package/dist/chunk-5EYJ2GIN.js +122 -0
- package/dist/{chunk-VDOOGGBA.js → chunk-6NREL3KL.js} +2 -2
- package/dist/chunk-6ROXVZ3L.js +9 -0
- package/dist/{chunk-YYX7OPZQ.js → chunk-73EWE2EW.js} +1 -1
- package/dist/{chunk-SIQ3P4OR.js → chunk-7GQFIWP4.js} +8 -756
- package/dist/chunk-A7IG36LB.js +215 -0
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/{chunk-AKW7KISS.js → chunk-CWYQRM5T.js} +2 -38
- package/dist/{chunk-LUYVRATI.js → chunk-DA6I5VEY.js} +5 -213
- package/dist/chunk-I53EX4VU.js +734 -0
- package/dist/chunk-IIMU5YAJ.js +53 -0
- package/dist/{chunk-VKIZUUPM.js → chunk-JPVZRZ3X.js} +31 -14
- package/dist/chunk-JXVNHVK7.js +79 -0
- package/dist/chunk-JZ2WID2G.js +337 -0
- package/dist/chunk-LCJQ6OWC.js +348 -0
- package/dist/chunk-LNC6PZAE.js +85 -0
- package/dist/{chunk-4U3XAWCN.js → chunk-NWMPBG4U.js} +134 -495
- package/dist/chunk-NYNOMAAS.js +422 -0
- package/dist/chunk-S3KBYQTI.js +39 -0
- package/dist/chunk-S3XR4II4.js +30 -0
- package/dist/chunk-SHZT7ULK.js +425 -0
- package/dist/{chunk-26HFM4MH.js → chunk-T3NI7DOA.js} +2005 -4106
- package/dist/{chunk-GX6XBRRF.js → chunk-TYRUKGGD.js} +2 -1
- package/dist/{chunk-R3VCBZDC.js → chunk-X4WBGKJQ.js} +3 -50
- package/dist/{chunk-GEFWMU26.js → chunk-X66MVMZT.js} +1 -9
- package/dist/{chunk-57OZ3AEG.js → chunk-Y3JQBSKQ.js} +1 -1
- package/dist/components/index.d.ts +36 -46
- package/dist/components/index.js +33 -19
- package/dist/components/navigation/index.js +3 -31
- package/dist/execution/index.d.ts +2 -2
- package/dist/features/auth/index.d.ts +55 -99
- package/dist/features/auth/index.js +36 -99
- package/dist/features/clients/index.js +33 -19
- package/dist/features/crm/index.d.ts +23 -0
- package/dist/features/crm/index.js +33 -19
- package/dist/features/dashboard/index.d.ts +3 -3
- package/dist/features/dashboard/index.js +33 -19
- package/dist/features/delivery/index.d.ts +23 -0
- package/dist/features/delivery/index.js +33 -19
- package/dist/features/knowledge/index.js +6 -30
- package/dist/features/lead-gen/index.d.ts +1373 -48
- package/dist/features/lead-gen/index.js +33 -19
- package/dist/features/monitoring/index.js +33 -19
- package/dist/features/monitoring/requests/index.js +33 -19
- package/dist/features/notes/index.d.ts +72 -0
- package/dist/features/notes/index.js +621 -0
- package/dist/features/operations/index.d.ts +30 -30
- package/dist/features/operations/index.js +33 -19
- package/dist/features/right-panel-host/index.d.ts +214 -0
- package/dist/features/right-panel-host/index.js +640 -0
- package/dist/features/seo/index.js +3 -2
- package/dist/features/settings/index.d.ts +26 -35
- package/dist/features/settings/index.js +33 -19
- package/dist/hooks/access/index.d.ts +90 -0
- package/dist/hooks/access/index.js +10 -0
- package/dist/hooks/delivery/index.d.ts +23 -0
- package/dist/hooks/delivery/index.js +33 -19
- package/dist/hooks/index.d.ts +1816 -1855
- package/dist/hooks/index.js +33 -19
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +13 -13
- package/dist/hooks/published.d.ts +1816 -1855
- package/dist/hooks/published.js +33 -19
- package/dist/hooks/user-notes/index.d.ts +57 -0
- package/dist/hooks/user-notes/index.js +3 -0
- package/dist/index.d.ts +290 -309
- package/dist/index.js +34 -20
- package/dist/initialization/index.d.ts +23 -19
- package/dist/knowledge/index.d.ts +21 -21
- package/dist/knowledge/index.js +12 -9
- package/dist/{knowledge-search-index-ORIJCEZX.js → knowledge-search-index-NBCTFIOH.js} +2 -2
- package/dist/layout/index.js +5 -3
- package/dist/organization/index.d.ts +0 -19
- package/dist/organization/index.js +33 -19
- package/dist/profile/index.d.ts +23 -0
- package/dist/provider/index.css +0 -384
- package/dist/provider/index.d.ts +45 -18
- package/dist/provider/index.js +15 -21
- package/dist/provider/published.css +0 -523
- package/dist/provider/published.d.ts +45 -18
- package/dist/provider/published.js +11 -21
- package/dist/sse/index.js +26 -5
- package/dist/supabase/index.d.ts +46 -0
- package/dist/test-utils/index.d.ts +2 -21
- package/dist/test-utils/index.js +5 -18
- package/dist/theme/index.js +2 -1
- package/dist/types/index.d.ts +86 -72
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +2 -1
- package/package.json +21 -5
- package/src/auth/README.md +6 -6
- package/dist/components/navigation/index.css +0 -649
- package/dist/features/knowledge/index.css +0 -649
|
@@ -83,9 +83,237 @@ declare const CredentialRequirementSchema: z$1.ZodObject<{
|
|
|
83
83
|
inputPath: z$1.ZodString;
|
|
84
84
|
verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
85
85
|
}, z$1.core.$strip>;
|
|
86
|
+
declare const ProspectingBuildTemplateSchema: z$1.ZodObject<{
|
|
87
|
+
label: z$1.ZodString;
|
|
88
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
89
|
+
color: z$1.ZodOptional<z$1.ZodString>;
|
|
90
|
+
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
91
|
+
message: "message";
|
|
92
|
+
error: "error";
|
|
93
|
+
agent: "agent";
|
|
94
|
+
workflow: "workflow";
|
|
95
|
+
"google-sheets": "google-sheets";
|
|
96
|
+
dashboard: "dashboard";
|
|
97
|
+
calendar: "calendar";
|
|
98
|
+
sales: "sales";
|
|
99
|
+
crm: "crm";
|
|
100
|
+
"lead-gen": "lead-gen";
|
|
101
|
+
projects: "projects";
|
|
102
|
+
clients: "clients";
|
|
103
|
+
operations: "operations";
|
|
104
|
+
monitoring: "monitoring";
|
|
105
|
+
knowledge: "knowledge";
|
|
106
|
+
settings: "settings";
|
|
107
|
+
admin: "admin";
|
|
108
|
+
archive: "archive";
|
|
109
|
+
business: "business";
|
|
110
|
+
finance: "finance";
|
|
111
|
+
platform: "platform";
|
|
112
|
+
seo: "seo";
|
|
113
|
+
playbook: "playbook";
|
|
114
|
+
strategy: "strategy";
|
|
115
|
+
reference: "reference";
|
|
116
|
+
integration: "integration";
|
|
117
|
+
database: "database";
|
|
118
|
+
user: "user";
|
|
119
|
+
team: "team";
|
|
120
|
+
gmail: "gmail";
|
|
121
|
+
attio: "attio";
|
|
122
|
+
overview: "overview";
|
|
123
|
+
"command-view": "command-view";
|
|
124
|
+
"command-queue": "command-queue";
|
|
125
|
+
pipeline: "pipeline";
|
|
126
|
+
lists: "lists";
|
|
127
|
+
resources: "resources";
|
|
128
|
+
approve: "approve";
|
|
129
|
+
reject: "reject";
|
|
130
|
+
retry: "retry";
|
|
131
|
+
edit: "edit";
|
|
132
|
+
view: "view";
|
|
133
|
+
launch: "launch";
|
|
134
|
+
escalate: "escalate";
|
|
135
|
+
promote: "promote";
|
|
136
|
+
submit: "submit";
|
|
137
|
+
email: "email";
|
|
138
|
+
success: "success";
|
|
139
|
+
warning: "warning";
|
|
140
|
+
info: "info";
|
|
141
|
+
pending: "pending";
|
|
142
|
+
bolt: "bolt";
|
|
143
|
+
building: "building";
|
|
144
|
+
briefcase: "briefcase";
|
|
145
|
+
apps: "apps";
|
|
146
|
+
graph: "graph";
|
|
147
|
+
shield: "shield";
|
|
148
|
+
users: "users";
|
|
149
|
+
"chart-bar": "chart-bar";
|
|
150
|
+
search: "search";
|
|
151
|
+
}>, z$1.ZodString]>>;
|
|
152
|
+
id: z$1.ZodString;
|
|
153
|
+
steps: z$1.ZodArray<z$1.ZodObject<{
|
|
154
|
+
label: z$1.ZodString;
|
|
155
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
156
|
+
color: z$1.ZodOptional<z$1.ZodString>;
|
|
157
|
+
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
158
|
+
message: "message";
|
|
159
|
+
error: "error";
|
|
160
|
+
agent: "agent";
|
|
161
|
+
workflow: "workflow";
|
|
162
|
+
"google-sheets": "google-sheets";
|
|
163
|
+
dashboard: "dashboard";
|
|
164
|
+
calendar: "calendar";
|
|
165
|
+
sales: "sales";
|
|
166
|
+
crm: "crm";
|
|
167
|
+
"lead-gen": "lead-gen";
|
|
168
|
+
projects: "projects";
|
|
169
|
+
clients: "clients";
|
|
170
|
+
operations: "operations";
|
|
171
|
+
monitoring: "monitoring";
|
|
172
|
+
knowledge: "knowledge";
|
|
173
|
+
settings: "settings";
|
|
174
|
+
admin: "admin";
|
|
175
|
+
archive: "archive";
|
|
176
|
+
business: "business";
|
|
177
|
+
finance: "finance";
|
|
178
|
+
platform: "platform";
|
|
179
|
+
seo: "seo";
|
|
180
|
+
playbook: "playbook";
|
|
181
|
+
strategy: "strategy";
|
|
182
|
+
reference: "reference";
|
|
183
|
+
integration: "integration";
|
|
184
|
+
database: "database";
|
|
185
|
+
user: "user";
|
|
186
|
+
team: "team";
|
|
187
|
+
gmail: "gmail";
|
|
188
|
+
attio: "attio";
|
|
189
|
+
overview: "overview";
|
|
190
|
+
"command-view": "command-view";
|
|
191
|
+
"command-queue": "command-queue";
|
|
192
|
+
pipeline: "pipeline";
|
|
193
|
+
lists: "lists";
|
|
194
|
+
resources: "resources";
|
|
195
|
+
approve: "approve";
|
|
196
|
+
reject: "reject";
|
|
197
|
+
retry: "retry";
|
|
198
|
+
edit: "edit";
|
|
199
|
+
view: "view";
|
|
200
|
+
launch: "launch";
|
|
201
|
+
escalate: "escalate";
|
|
202
|
+
promote: "promote";
|
|
203
|
+
submit: "submit";
|
|
204
|
+
email: "email";
|
|
205
|
+
success: "success";
|
|
206
|
+
warning: "warning";
|
|
207
|
+
info: "info";
|
|
208
|
+
pending: "pending";
|
|
209
|
+
bolt: "bolt";
|
|
210
|
+
building: "building";
|
|
211
|
+
briefcase: "briefcase";
|
|
212
|
+
apps: "apps";
|
|
213
|
+
graph: "graph";
|
|
214
|
+
shield: "shield";
|
|
215
|
+
users: "users";
|
|
216
|
+
"chart-bar": "chart-bar";
|
|
217
|
+
search: "search";
|
|
218
|
+
}>, z$1.ZodString]>>;
|
|
219
|
+
id: z$1.ZodString;
|
|
220
|
+
primaryEntity: z$1.ZodEnum<{
|
|
221
|
+
company: "company";
|
|
222
|
+
contact: "contact";
|
|
223
|
+
}>;
|
|
224
|
+
outputs: z$1.ZodArray<z$1.ZodEnum<{
|
|
225
|
+
company: "company";
|
|
226
|
+
contact: "contact";
|
|
227
|
+
export: "export";
|
|
228
|
+
}>>;
|
|
229
|
+
stageKey: z$1.ZodString;
|
|
230
|
+
recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
231
|
+
company: "company";
|
|
232
|
+
contact: "contact";
|
|
233
|
+
}>>;
|
|
234
|
+
recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
235
|
+
recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
236
|
+
dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
237
|
+
dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
|
|
238
|
+
actionKey: z$1.ZodString;
|
|
239
|
+
defaultBatchSize: z$1.ZodNumber;
|
|
240
|
+
maxBatchSize: z$1.ZodNumber;
|
|
241
|
+
recordColumns: z$1.ZodOptional<z$1.ZodObject<{
|
|
242
|
+
company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
243
|
+
key: z$1.ZodString;
|
|
244
|
+
label: z$1.ZodString;
|
|
245
|
+
path: z$1.ZodString;
|
|
246
|
+
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
247
|
+
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
248
|
+
text: "text";
|
|
249
|
+
badge: "badge";
|
|
250
|
+
datetime: "datetime";
|
|
251
|
+
count: "count";
|
|
252
|
+
json: "json";
|
|
253
|
+
}>>;
|
|
254
|
+
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
255
|
+
}, z$1.core.$strip>>>;
|
|
256
|
+
contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
257
|
+
key: z$1.ZodString;
|
|
258
|
+
label: z$1.ZodString;
|
|
259
|
+
path: z$1.ZodString;
|
|
260
|
+
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
261
|
+
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
262
|
+
text: "text";
|
|
263
|
+
badge: "badge";
|
|
264
|
+
datetime: "datetime";
|
|
265
|
+
count: "count";
|
|
266
|
+
json: "json";
|
|
267
|
+
}>>;
|
|
268
|
+
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
269
|
+
}, z$1.core.$strip>>>;
|
|
270
|
+
}, z$1.core.$strip>>;
|
|
271
|
+
credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
272
|
+
key: z$1.ZodString;
|
|
273
|
+
provider: z$1.ZodString;
|
|
274
|
+
credentialType: z$1.ZodEnum<{
|
|
275
|
+
"api-key": "api-key";
|
|
276
|
+
"api-key-secret": "api-key-secret";
|
|
277
|
+
oauth: "oauth";
|
|
278
|
+
"webhook-secret": "webhook-secret";
|
|
279
|
+
}>;
|
|
280
|
+
label: z$1.ZodString;
|
|
281
|
+
required: z$1.ZodBoolean;
|
|
282
|
+
selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
283
|
+
single: "single";
|
|
284
|
+
multiple: "multiple";
|
|
285
|
+
}>>;
|
|
286
|
+
inputPath: z$1.ZodString;
|
|
287
|
+
verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
288
|
+
}, z$1.core.$strip>>>;
|
|
289
|
+
}, z$1.core.$strip>>;
|
|
290
|
+
}, z$1.core.$strip>;
|
|
86
291
|
type RecordColumnConfig = z$1.infer<typeof RecordColumnConfigSchema>;
|
|
87
292
|
type CredentialRequirement = z$1.infer<typeof CredentialRequirementSchema>;
|
|
88
293
|
|
|
294
|
+
/** One entry in the lead-gen stage catalog. */
|
|
295
|
+
interface LeadGenStageCatalogEntry {
|
|
296
|
+
/** Matches the status key written into processing_state jsonb (e.g. 'scraped'). */
|
|
297
|
+
key: string;
|
|
298
|
+
/** Human-readable label for UI display. */
|
|
299
|
+
label: string;
|
|
300
|
+
/** Short description of what this stage represents. */
|
|
301
|
+
description: string;
|
|
302
|
+
/** Canonical pipeline order for UI sorting. Lower = earlier in the funnel. */
|
|
303
|
+
order: number;
|
|
304
|
+
/** Which entity's processing_state jsonb carries this stage status. */
|
|
305
|
+
entity: 'company' | 'contact';
|
|
306
|
+
/** Additional entities allowed to write/read this processing_state key. */
|
|
307
|
+
additionalEntities?: Array<'company' | 'contact'>;
|
|
308
|
+
/**
|
|
309
|
+
* Optional read-side override for Records views when a company-scoped step
|
|
310
|
+
* produces records on a different entity.
|
|
311
|
+
*/
|
|
312
|
+
recordEntity?: 'company' | 'contact';
|
|
313
|
+
/** Stage key to read from recordEntity.processing_state for Records views. */
|
|
314
|
+
recordStageKey?: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
89
317
|
declare const TransitionItemRequestSchema: z$1.ZodObject<{
|
|
90
318
|
pipelineKey: z$1.ZodString;
|
|
91
319
|
stageKey: z$1.ZodString;
|
|
@@ -227,6 +455,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
227
455
|
enabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
228
456
|
order: z$1.ZodOptional<z$1.ZodNumber>;
|
|
229
457
|
}, z$1.core.$strip>>>;
|
|
458
|
+
dataMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
459
|
+
mock: "mock";
|
|
460
|
+
live: "live";
|
|
461
|
+
}>>;
|
|
230
462
|
}, z$1.core.$strip>;
|
|
231
463
|
}, z$1.core.$strip>;
|
|
232
464
|
/**
|
|
@@ -392,9 +624,9 @@ declare const AcqContactResponseSchema: z$1.ZodObject<{
|
|
|
392
624
|
updatedAt: z$1.ZodString;
|
|
393
625
|
}, z$1.core.$strip>;
|
|
394
626
|
declare const AcqArtifactOwnerKindSchema: z$1.ZodEnum<{
|
|
395
|
-
list: "list";
|
|
396
627
|
company: "company";
|
|
397
628
|
contact: "contact";
|
|
629
|
+
list: "list";
|
|
398
630
|
deal: "deal";
|
|
399
631
|
list_member: "list_member";
|
|
400
632
|
}>;
|
|
@@ -436,6 +668,1093 @@ interface Action {
|
|
|
436
668
|
payloadSchema?: z$1.ZodTypeAny;
|
|
437
669
|
}
|
|
438
670
|
|
|
671
|
+
declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
|
|
672
|
+
objectTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
673
|
+
id: z$1.ZodString;
|
|
674
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
675
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
676
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
677
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
678
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
679
|
+
storage: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
680
|
+
}, z$1.core.$loose>>>>;
|
|
681
|
+
linkTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
682
|
+
id: z$1.ZodString;
|
|
683
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
684
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
685
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
686
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
687
|
+
from: z$1.ZodString;
|
|
688
|
+
to: z$1.ZodString;
|
|
689
|
+
cardinality: z$1.ZodOptional<z$1.ZodString>;
|
|
690
|
+
via: z$1.ZodOptional<z$1.ZodString>;
|
|
691
|
+
}, z$1.core.$loose>>>>;
|
|
692
|
+
actionTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
693
|
+
id: z$1.ZodString;
|
|
694
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
695
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
696
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
697
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
698
|
+
actsOn: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
699
|
+
input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
700
|
+
effects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
|
|
701
|
+
}, z$1.core.$loose>>>>;
|
|
702
|
+
catalogTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
703
|
+
id: z$1.ZodString;
|
|
704
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
705
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
706
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
707
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
708
|
+
kind: z$1.ZodOptional<z$1.ZodString>;
|
|
709
|
+
appliesTo: z$1.ZodOptional<z$1.ZodString>;
|
|
710
|
+
entries: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
711
|
+
}, z$1.core.$loose>>>>;
|
|
712
|
+
eventTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
713
|
+
id: z$1.ZodString;
|
|
714
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
715
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
716
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
717
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
718
|
+
payload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
719
|
+
}, z$1.core.$loose>>>>;
|
|
720
|
+
interfaceTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
721
|
+
id: z$1.ZodString;
|
|
722
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
723
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
724
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
725
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
726
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
727
|
+
}, z$1.core.$loose>>>>;
|
|
728
|
+
valueTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
729
|
+
id: z$1.ZodString;
|
|
730
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
731
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
732
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
733
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
734
|
+
primitive: z$1.ZodOptional<z$1.ZodString>;
|
|
735
|
+
}, z$1.core.$loose>>>>;
|
|
736
|
+
sharedProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
737
|
+
id: z$1.ZodString;
|
|
738
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
739
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
740
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
741
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
742
|
+
valueType: z$1.ZodOptional<z$1.ZodString>;
|
|
743
|
+
searchable: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
744
|
+
pii: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
745
|
+
}, z$1.core.$loose>>>>;
|
|
746
|
+
groups: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
747
|
+
id: z$1.ZodString;
|
|
748
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
749
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
750
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
751
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
752
|
+
members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
753
|
+
}, z$1.core.$loose>>>>;
|
|
754
|
+
surfaces: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
755
|
+
id: z$1.ZodString;
|
|
756
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
757
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
758
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
759
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
760
|
+
route: z$1.ZodOptional<z$1.ZodString>;
|
|
761
|
+
}, z$1.core.$loose>>>>;
|
|
762
|
+
}, z$1.core.$strip>>;
|
|
763
|
+
type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
|
|
764
|
+
|
|
765
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
766
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
767
|
+
[key: string]: JsonValue;
|
|
768
|
+
};
|
|
769
|
+
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
770
|
+
interface SystemEntry {
|
|
771
|
+
id: string;
|
|
772
|
+
label?: string;
|
|
773
|
+
title?: string;
|
|
774
|
+
description?: string;
|
|
775
|
+
kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
|
|
776
|
+
parentSystemId?: string;
|
|
777
|
+
ui?: {
|
|
778
|
+
path: string;
|
|
779
|
+
surfaces: string[];
|
|
780
|
+
icon?: string;
|
|
781
|
+
order?: number;
|
|
782
|
+
};
|
|
783
|
+
lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
|
|
784
|
+
responsibleRoleId?: string;
|
|
785
|
+
governedByKnowledge?: string[];
|
|
786
|
+
actions?: {
|
|
787
|
+
actionId: string;
|
|
788
|
+
intent: 'exposes' | 'consumes';
|
|
789
|
+
invocation?: unknown;
|
|
790
|
+
}[];
|
|
791
|
+
policies?: string[];
|
|
792
|
+
drivesGoals?: string[];
|
|
793
|
+
/** @deprecated Use lifecycle. Accepted for one publish cycle. */
|
|
794
|
+
status?: 'active' | 'deprecated' | 'archived';
|
|
795
|
+
path?: string;
|
|
796
|
+
icon?: string;
|
|
797
|
+
color?: string;
|
|
798
|
+
uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
|
|
799
|
+
enabled?: boolean;
|
|
800
|
+
devOnly?: boolean;
|
|
801
|
+
requiresAdmin?: boolean;
|
|
802
|
+
order: number;
|
|
803
|
+
config?: Record<string, JsonValue>;
|
|
804
|
+
ontology?: OntologyScope;
|
|
805
|
+
systems?: Record<string, SystemEntry>;
|
|
806
|
+
subsystems?: Record<string, SystemEntry>;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
declare const SurfaceTypeSchema: z$1.ZodEnum<{
|
|
810
|
+
dashboard: "dashboard";
|
|
811
|
+
settings: "settings";
|
|
812
|
+
graph: "graph";
|
|
813
|
+
page: "page";
|
|
814
|
+
detail: "detail";
|
|
815
|
+
list: "list";
|
|
816
|
+
}>;
|
|
817
|
+
interface SidebarSurfaceNode {
|
|
818
|
+
type: 'surface';
|
|
819
|
+
label: string;
|
|
820
|
+
path: string;
|
|
821
|
+
surfaceType: z$1.infer<typeof SurfaceTypeSchema>;
|
|
822
|
+
description?: string;
|
|
823
|
+
icon?: string;
|
|
824
|
+
order?: number;
|
|
825
|
+
targets?: {
|
|
826
|
+
systems?: string[];
|
|
827
|
+
entities?: string[];
|
|
828
|
+
resources?: string[];
|
|
829
|
+
actions?: string[];
|
|
830
|
+
};
|
|
831
|
+
devOnly?: boolean;
|
|
832
|
+
requiresAdmin?: boolean;
|
|
833
|
+
}
|
|
834
|
+
interface SidebarGroupNode {
|
|
835
|
+
type: 'group';
|
|
836
|
+
label: string;
|
|
837
|
+
description?: string;
|
|
838
|
+
icon?: string;
|
|
839
|
+
order?: number;
|
|
840
|
+
children: Record<string, SidebarNode>;
|
|
841
|
+
}
|
|
842
|
+
type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
|
|
843
|
+
|
|
844
|
+
declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
845
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
846
|
+
domainMetadata: z$1.ZodPipe<z$1.ZodDefault<z$1.ZodObject<{
|
|
847
|
+
branding: z$1.ZodOptional<z$1.ZodObject<{
|
|
848
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
849
|
+
lastModified: z$1.ZodString;
|
|
850
|
+
}, z$1.core.$strip>>;
|
|
851
|
+
identity: z$1.ZodOptional<z$1.ZodObject<{
|
|
852
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
853
|
+
lastModified: z$1.ZodString;
|
|
854
|
+
}, z$1.core.$strip>>;
|
|
855
|
+
customers: z$1.ZodOptional<z$1.ZodObject<{
|
|
856
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
857
|
+
lastModified: z$1.ZodString;
|
|
858
|
+
}, z$1.core.$strip>>;
|
|
859
|
+
offerings: z$1.ZodOptional<z$1.ZodObject<{
|
|
860
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
861
|
+
lastModified: z$1.ZodString;
|
|
862
|
+
}, z$1.core.$strip>>;
|
|
863
|
+
roles: z$1.ZodOptional<z$1.ZodObject<{
|
|
864
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
865
|
+
lastModified: z$1.ZodString;
|
|
866
|
+
}, z$1.core.$strip>>;
|
|
867
|
+
goals: z$1.ZodOptional<z$1.ZodObject<{
|
|
868
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
869
|
+
lastModified: z$1.ZodString;
|
|
870
|
+
}, z$1.core.$strip>>;
|
|
871
|
+
systems: z$1.ZodOptional<z$1.ZodObject<{
|
|
872
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
873
|
+
lastModified: z$1.ZodString;
|
|
874
|
+
}, z$1.core.$strip>>;
|
|
875
|
+
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
876
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
877
|
+
lastModified: z$1.ZodString;
|
|
878
|
+
}, z$1.core.$strip>>;
|
|
879
|
+
resources: z$1.ZodOptional<z$1.ZodObject<{
|
|
880
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
881
|
+
lastModified: z$1.ZodString;
|
|
882
|
+
}, z$1.core.$strip>>;
|
|
883
|
+
topology: z$1.ZodOptional<z$1.ZodObject<{
|
|
884
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
885
|
+
lastModified: z$1.ZodString;
|
|
886
|
+
}, z$1.core.$strip>>;
|
|
887
|
+
actions: z$1.ZodOptional<z$1.ZodObject<{
|
|
888
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
889
|
+
lastModified: z$1.ZodString;
|
|
890
|
+
}, z$1.core.$strip>>;
|
|
891
|
+
entities: z$1.ZodOptional<z$1.ZodObject<{
|
|
892
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
893
|
+
lastModified: z$1.ZodString;
|
|
894
|
+
}, z$1.core.$strip>>;
|
|
895
|
+
policies: z$1.ZodOptional<z$1.ZodObject<{
|
|
896
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
897
|
+
lastModified: z$1.ZodString;
|
|
898
|
+
}, z$1.core.$strip>>;
|
|
899
|
+
knowledge: z$1.ZodOptional<z$1.ZodObject<{
|
|
900
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
901
|
+
lastModified: z$1.ZodString;
|
|
902
|
+
}, z$1.core.$strip>>;
|
|
903
|
+
}, z$1.core.$strip>>, z$1.ZodTransform<{
|
|
904
|
+
branding: {
|
|
905
|
+
version: 1;
|
|
906
|
+
lastModified: string;
|
|
907
|
+
};
|
|
908
|
+
identity: {
|
|
909
|
+
version: 1;
|
|
910
|
+
lastModified: string;
|
|
911
|
+
};
|
|
912
|
+
customers: {
|
|
913
|
+
version: 1;
|
|
914
|
+
lastModified: string;
|
|
915
|
+
};
|
|
916
|
+
offerings: {
|
|
917
|
+
version: 1;
|
|
918
|
+
lastModified: string;
|
|
919
|
+
};
|
|
920
|
+
roles: {
|
|
921
|
+
version: 1;
|
|
922
|
+
lastModified: string;
|
|
923
|
+
};
|
|
924
|
+
goals: {
|
|
925
|
+
version: 1;
|
|
926
|
+
lastModified: string;
|
|
927
|
+
};
|
|
928
|
+
systems: {
|
|
929
|
+
version: 1;
|
|
930
|
+
lastModified: string;
|
|
931
|
+
};
|
|
932
|
+
ontology: {
|
|
933
|
+
version: 1;
|
|
934
|
+
lastModified: string;
|
|
935
|
+
};
|
|
936
|
+
resources: {
|
|
937
|
+
version: 1;
|
|
938
|
+
lastModified: string;
|
|
939
|
+
};
|
|
940
|
+
topology: {
|
|
941
|
+
version: 1;
|
|
942
|
+
lastModified: string;
|
|
943
|
+
};
|
|
944
|
+
actions: {
|
|
945
|
+
version: 1;
|
|
946
|
+
lastModified: string;
|
|
947
|
+
};
|
|
948
|
+
entities: {
|
|
949
|
+
version: 1;
|
|
950
|
+
lastModified: string;
|
|
951
|
+
};
|
|
952
|
+
policies: {
|
|
953
|
+
version: 1;
|
|
954
|
+
lastModified: string;
|
|
955
|
+
};
|
|
956
|
+
knowledge: {
|
|
957
|
+
version: 1;
|
|
958
|
+
lastModified: string;
|
|
959
|
+
};
|
|
960
|
+
}, {
|
|
961
|
+
branding?: {
|
|
962
|
+
version: 1;
|
|
963
|
+
lastModified: string;
|
|
964
|
+
} | undefined;
|
|
965
|
+
identity?: {
|
|
966
|
+
version: 1;
|
|
967
|
+
lastModified: string;
|
|
968
|
+
} | undefined;
|
|
969
|
+
customers?: {
|
|
970
|
+
version: 1;
|
|
971
|
+
lastModified: string;
|
|
972
|
+
} | undefined;
|
|
973
|
+
offerings?: {
|
|
974
|
+
version: 1;
|
|
975
|
+
lastModified: string;
|
|
976
|
+
} | undefined;
|
|
977
|
+
roles?: {
|
|
978
|
+
version: 1;
|
|
979
|
+
lastModified: string;
|
|
980
|
+
} | undefined;
|
|
981
|
+
goals?: {
|
|
982
|
+
version: 1;
|
|
983
|
+
lastModified: string;
|
|
984
|
+
} | undefined;
|
|
985
|
+
systems?: {
|
|
986
|
+
version: 1;
|
|
987
|
+
lastModified: string;
|
|
988
|
+
} | undefined;
|
|
989
|
+
ontology?: {
|
|
990
|
+
version: 1;
|
|
991
|
+
lastModified: string;
|
|
992
|
+
} | undefined;
|
|
993
|
+
resources?: {
|
|
994
|
+
version: 1;
|
|
995
|
+
lastModified: string;
|
|
996
|
+
} | undefined;
|
|
997
|
+
topology?: {
|
|
998
|
+
version: 1;
|
|
999
|
+
lastModified: string;
|
|
1000
|
+
} | undefined;
|
|
1001
|
+
actions?: {
|
|
1002
|
+
version: 1;
|
|
1003
|
+
lastModified: string;
|
|
1004
|
+
} | undefined;
|
|
1005
|
+
entities?: {
|
|
1006
|
+
version: 1;
|
|
1007
|
+
lastModified: string;
|
|
1008
|
+
} | undefined;
|
|
1009
|
+
policies?: {
|
|
1010
|
+
version: 1;
|
|
1011
|
+
lastModified: string;
|
|
1012
|
+
} | undefined;
|
|
1013
|
+
knowledge?: {
|
|
1014
|
+
version: 1;
|
|
1015
|
+
lastModified: string;
|
|
1016
|
+
} | undefined;
|
|
1017
|
+
}>>;
|
|
1018
|
+
branding: z$1.ZodDefault<z$1.ZodObject<{
|
|
1019
|
+
organizationName: z$1.ZodString;
|
|
1020
|
+
productName: z$1.ZodString;
|
|
1021
|
+
shortName: z$1.ZodString;
|
|
1022
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1023
|
+
logos: z$1.ZodDefault<z$1.ZodObject<{
|
|
1024
|
+
light: z$1.ZodOptional<z$1.ZodString>;
|
|
1025
|
+
dark: z$1.ZodOptional<z$1.ZodString>;
|
|
1026
|
+
}, z$1.core.$strip>>;
|
|
1027
|
+
}, z$1.core.$strip>>;
|
|
1028
|
+
navigation: z$1.ZodDefault<z$1.ZodObject<{
|
|
1029
|
+
sidebar: z$1.ZodDefault<z$1.ZodObject<{
|
|
1030
|
+
primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
1031
|
+
bottom: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
1032
|
+
}, z$1.core.$strip>>;
|
|
1033
|
+
}, z$1.core.$strip>>;
|
|
1034
|
+
identity: z$1.ZodDefault<z$1.ZodObject<{
|
|
1035
|
+
mission: z$1.ZodDefault<z$1.ZodString>;
|
|
1036
|
+
vision: z$1.ZodDefault<z$1.ZodString>;
|
|
1037
|
+
legalName: z$1.ZodDefault<z$1.ZodString>;
|
|
1038
|
+
entityType: z$1.ZodDefault<z$1.ZodString>;
|
|
1039
|
+
jurisdiction: z$1.ZodDefault<z$1.ZodString>;
|
|
1040
|
+
industryCategory: z$1.ZodDefault<z$1.ZodString>;
|
|
1041
|
+
geographicFocus: z$1.ZodDefault<z$1.ZodString>;
|
|
1042
|
+
timeZone: z$1.ZodDefault<z$1.ZodString>;
|
|
1043
|
+
businessHours: z$1.ZodDefault<z$1.ZodObject<{
|
|
1044
|
+
monday: z$1.ZodOptional<z$1.ZodObject<{
|
|
1045
|
+
open: z$1.ZodString;
|
|
1046
|
+
close: z$1.ZodString;
|
|
1047
|
+
}, z$1.core.$strip>>;
|
|
1048
|
+
tuesday: z$1.ZodOptional<z$1.ZodObject<{
|
|
1049
|
+
open: z$1.ZodString;
|
|
1050
|
+
close: z$1.ZodString;
|
|
1051
|
+
}, z$1.core.$strip>>;
|
|
1052
|
+
wednesday: z$1.ZodOptional<z$1.ZodObject<{
|
|
1053
|
+
open: z$1.ZodString;
|
|
1054
|
+
close: z$1.ZodString;
|
|
1055
|
+
}, z$1.core.$strip>>;
|
|
1056
|
+
thursday: z$1.ZodOptional<z$1.ZodObject<{
|
|
1057
|
+
open: z$1.ZodString;
|
|
1058
|
+
close: z$1.ZodString;
|
|
1059
|
+
}, z$1.core.$strip>>;
|
|
1060
|
+
friday: z$1.ZodOptional<z$1.ZodObject<{
|
|
1061
|
+
open: z$1.ZodString;
|
|
1062
|
+
close: z$1.ZodString;
|
|
1063
|
+
}, z$1.core.$strip>>;
|
|
1064
|
+
saturday: z$1.ZodOptional<z$1.ZodObject<{
|
|
1065
|
+
open: z$1.ZodString;
|
|
1066
|
+
close: z$1.ZodString;
|
|
1067
|
+
}, z$1.core.$strip>>;
|
|
1068
|
+
sunday: z$1.ZodOptional<z$1.ZodObject<{
|
|
1069
|
+
open: z$1.ZodString;
|
|
1070
|
+
close: z$1.ZodString;
|
|
1071
|
+
}, z$1.core.$strip>>;
|
|
1072
|
+
}, z$1.core.$strip>>;
|
|
1073
|
+
clientBrief: z$1.ZodDefault<z$1.ZodString>;
|
|
1074
|
+
}, z$1.core.$strip>>;
|
|
1075
|
+
customers: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1076
|
+
id: z$1.ZodString;
|
|
1077
|
+
order: z$1.ZodNumber;
|
|
1078
|
+
name: z$1.ZodDefault<z$1.ZodString>;
|
|
1079
|
+
description: z$1.ZodDefault<z$1.ZodString>;
|
|
1080
|
+
jobsToBeDone: z$1.ZodDefault<z$1.ZodString>;
|
|
1081
|
+
pains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
1082
|
+
gains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
1083
|
+
firmographics: z$1.ZodDefault<z$1.ZodObject<{
|
|
1084
|
+
industry: z$1.ZodOptional<z$1.ZodString>;
|
|
1085
|
+
companySize: z$1.ZodOptional<z$1.ZodString>;
|
|
1086
|
+
region: z$1.ZodOptional<z$1.ZodString>;
|
|
1087
|
+
}, z$1.core.$strip>>;
|
|
1088
|
+
valueProp: z$1.ZodDefault<z$1.ZodString>;
|
|
1089
|
+
}, z$1.core.$strip>>>>;
|
|
1090
|
+
offerings: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1091
|
+
id: z$1.ZodString;
|
|
1092
|
+
order: z$1.ZodNumber;
|
|
1093
|
+
name: z$1.ZodDefault<z$1.ZodString>;
|
|
1094
|
+
description: z$1.ZodDefault<z$1.ZodString>;
|
|
1095
|
+
pricingModel: z$1.ZodDefault<z$1.ZodEnum<{
|
|
1096
|
+
custom: "custom";
|
|
1097
|
+
"one-time": "one-time";
|
|
1098
|
+
subscription: "subscription";
|
|
1099
|
+
"usage-based": "usage-based";
|
|
1100
|
+
}>>;
|
|
1101
|
+
price: z$1.ZodDefault<z$1.ZodNumber>;
|
|
1102
|
+
currency: z$1.ZodDefault<z$1.ZodString>;
|
|
1103
|
+
targetSegmentIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
1104
|
+
deliveryFeatureId: z$1.ZodOptional<z$1.ZodString>;
|
|
1105
|
+
}, z$1.core.$strip>>>>;
|
|
1106
|
+
roles: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1107
|
+
id: z$1.ZodString;
|
|
1108
|
+
order: z$1.ZodNumber;
|
|
1109
|
+
title: z$1.ZodString;
|
|
1110
|
+
responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
1111
|
+
reportsToId: z$1.ZodOptional<z$1.ZodString>;
|
|
1112
|
+
heldBy: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1113
|
+
kind: z$1.ZodLiteral<"human">;
|
|
1114
|
+
userId: z$1.ZodString;
|
|
1115
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1116
|
+
kind: z$1.ZodLiteral<"agent">;
|
|
1117
|
+
agentId: z$1.ZodString;
|
|
1118
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1119
|
+
kind: z$1.ZodLiteral<"team">;
|
|
1120
|
+
memberIds: z$1.ZodArray<z$1.ZodString>;
|
|
1121
|
+
}, z$1.core.$strip>], "kind">, z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1122
|
+
kind: z$1.ZodLiteral<"human">;
|
|
1123
|
+
userId: z$1.ZodString;
|
|
1124
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1125
|
+
kind: z$1.ZodLiteral<"agent">;
|
|
1126
|
+
agentId: z$1.ZodString;
|
|
1127
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1128
|
+
kind: z$1.ZodLiteral<"team">;
|
|
1129
|
+
memberIds: z$1.ZodArray<z$1.ZodString>;
|
|
1130
|
+
}, z$1.core.$strip>], "kind">>]>>;
|
|
1131
|
+
responsibleFor: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1132
|
+
}, z$1.core.$strip>>>>;
|
|
1133
|
+
goals: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1134
|
+
id: z$1.ZodString;
|
|
1135
|
+
order: z$1.ZodNumber;
|
|
1136
|
+
description: z$1.ZodString;
|
|
1137
|
+
periodStart: z$1.ZodString;
|
|
1138
|
+
periodEnd: z$1.ZodString;
|
|
1139
|
+
keyResults: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
1140
|
+
id: z$1.ZodString;
|
|
1141
|
+
description: z$1.ZodString;
|
|
1142
|
+
targetMetric: z$1.ZodString;
|
|
1143
|
+
currentValue: z$1.ZodDefault<z$1.ZodNumber>;
|
|
1144
|
+
targetValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
1145
|
+
}, z$1.core.$strip>>>;
|
|
1146
|
+
}, z$1.core.$strip>>>>;
|
|
1147
|
+
systems: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SystemEntry, unknown, z$1.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
|
|
1148
|
+
ontology: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodObject<{
|
|
1149
|
+
objectTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1150
|
+
id: z$1.ZodString;
|
|
1151
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1152
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1153
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
1154
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1155
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
1156
|
+
storage: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
1157
|
+
}, z$1.core.$loose>>>>;
|
|
1158
|
+
linkTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1159
|
+
id: z$1.ZodString;
|
|
1160
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1161
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1162
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
1163
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1164
|
+
from: z$1.ZodString;
|
|
1165
|
+
to: z$1.ZodString;
|
|
1166
|
+
cardinality: z$1.ZodOptional<z$1.ZodString>;
|
|
1167
|
+
via: z$1.ZodOptional<z$1.ZodString>;
|
|
1168
|
+
}, z$1.core.$loose>>>>;
|
|
1169
|
+
actionTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1170
|
+
id: z$1.ZodString;
|
|
1171
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1172
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1173
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
1174
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1175
|
+
actsOn: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
1176
|
+
input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
1177
|
+
effects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
|
|
1178
|
+
}, z$1.core.$loose>>>>;
|
|
1179
|
+
catalogTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1180
|
+
id: z$1.ZodString;
|
|
1181
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1182
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1183
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
1184
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1185
|
+
kind: z$1.ZodOptional<z$1.ZodString>;
|
|
1186
|
+
appliesTo: z$1.ZodOptional<z$1.ZodString>;
|
|
1187
|
+
entries: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
1188
|
+
}, z$1.core.$loose>>>>;
|
|
1189
|
+
eventTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1190
|
+
id: z$1.ZodString;
|
|
1191
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1192
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1193
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
1194
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1195
|
+
payload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
1196
|
+
}, z$1.core.$loose>>>>;
|
|
1197
|
+
interfaceTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1198
|
+
id: z$1.ZodString;
|
|
1199
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1200
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1201
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
1202
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1203
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
|
|
1204
|
+
}, z$1.core.$loose>>>>;
|
|
1205
|
+
valueTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1206
|
+
id: z$1.ZodString;
|
|
1207
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1208
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1209
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
1210
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1211
|
+
primitive: z$1.ZodOptional<z$1.ZodString>;
|
|
1212
|
+
}, z$1.core.$loose>>>>;
|
|
1213
|
+
sharedProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1214
|
+
id: z$1.ZodString;
|
|
1215
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1216
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1217
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
1218
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1219
|
+
valueType: z$1.ZodOptional<z$1.ZodString>;
|
|
1220
|
+
searchable: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1221
|
+
pii: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1222
|
+
}, z$1.core.$loose>>>>;
|
|
1223
|
+
groups: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1224
|
+
id: z$1.ZodString;
|
|
1225
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1226
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1227
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
1228
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1229
|
+
members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
1230
|
+
}, z$1.core.$loose>>>>;
|
|
1231
|
+
surfaces: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1232
|
+
id: z$1.ZodString;
|
|
1233
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1234
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1235
|
+
ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
|
|
1236
|
+
aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1237
|
+
route: z$1.ZodOptional<z$1.ZodString>;
|
|
1238
|
+
}, z$1.core.$loose>>>>;
|
|
1239
|
+
}, z$1.core.$strip>>>;
|
|
1240
|
+
resources: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1241
|
+
id: z$1.ZodString;
|
|
1242
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
1243
|
+
systemPath: z$1.ZodString;
|
|
1244
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
1245
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1246
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
1247
|
+
status: z$1.ZodEnum<{
|
|
1248
|
+
active: "active";
|
|
1249
|
+
deprecated: "deprecated";
|
|
1250
|
+
archived: "archived";
|
|
1251
|
+
}>;
|
|
1252
|
+
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
1253
|
+
actions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1254
|
+
primaryAction: z$1.ZodOptional<z$1.ZodString>;
|
|
1255
|
+
reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1256
|
+
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1257
|
+
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1258
|
+
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1259
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
1260
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
1261
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
1262
|
+
}, z$1.core.$strip>>;
|
|
1263
|
+
}, z$1.core.$strip>>;
|
|
1264
|
+
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
1265
|
+
path: z$1.ZodString;
|
|
1266
|
+
role: z$1.ZodEnum<{
|
|
1267
|
+
entrypoint: "entrypoint";
|
|
1268
|
+
handler: "handler";
|
|
1269
|
+
schema: "schema";
|
|
1270
|
+
test: "test";
|
|
1271
|
+
docs: "docs";
|
|
1272
|
+
config: "config";
|
|
1273
|
+
}>;
|
|
1274
|
+
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
1275
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1276
|
+
}, z$1.core.$strip>>>;
|
|
1277
|
+
kind: z$1.ZodLiteral<"workflow">;
|
|
1278
|
+
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
1279
|
+
eventKey: z$1.ZodString;
|
|
1280
|
+
label: z$1.ZodString;
|
|
1281
|
+
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
1282
|
+
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1283
|
+
active: "active";
|
|
1284
|
+
deprecated: "deprecated";
|
|
1285
|
+
draft: "draft";
|
|
1286
|
+
beta: "beta";
|
|
1287
|
+
archived: "archived";
|
|
1288
|
+
}>>;
|
|
1289
|
+
}, z$1.core.$strip>>>;
|
|
1290
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1291
|
+
id: z$1.ZodString;
|
|
1292
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
1293
|
+
systemPath: z$1.ZodString;
|
|
1294
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
1295
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1296
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
1297
|
+
status: z$1.ZodEnum<{
|
|
1298
|
+
active: "active";
|
|
1299
|
+
deprecated: "deprecated";
|
|
1300
|
+
archived: "archived";
|
|
1301
|
+
}>;
|
|
1302
|
+
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
1303
|
+
actions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1304
|
+
primaryAction: z$1.ZodOptional<z$1.ZodString>;
|
|
1305
|
+
reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1306
|
+
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1307
|
+
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1308
|
+
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1309
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
1310
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
1311
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
1312
|
+
}, z$1.core.$strip>>;
|
|
1313
|
+
}, z$1.core.$strip>>;
|
|
1314
|
+
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
1315
|
+
path: z$1.ZodString;
|
|
1316
|
+
role: z$1.ZodEnum<{
|
|
1317
|
+
entrypoint: "entrypoint";
|
|
1318
|
+
handler: "handler";
|
|
1319
|
+
schema: "schema";
|
|
1320
|
+
test: "test";
|
|
1321
|
+
docs: "docs";
|
|
1322
|
+
config: "config";
|
|
1323
|
+
}>;
|
|
1324
|
+
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
1325
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1326
|
+
}, z$1.core.$strip>>>;
|
|
1327
|
+
kind: z$1.ZodLiteral<"agent">;
|
|
1328
|
+
agentKind: z$1.ZodEnum<{
|
|
1329
|
+
platform: "platform";
|
|
1330
|
+
orchestrator: "orchestrator";
|
|
1331
|
+
specialist: "specialist";
|
|
1332
|
+
utility: "utility";
|
|
1333
|
+
}>;
|
|
1334
|
+
actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
1335
|
+
sessionCapable: z$1.ZodBoolean;
|
|
1336
|
+
invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1337
|
+
kind: z$1.ZodLiteral<"slash-command">;
|
|
1338
|
+
command: z$1.ZodString;
|
|
1339
|
+
toolFactory: z$1.ZodOptional<z$1.ZodString>;
|
|
1340
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1341
|
+
kind: z$1.ZodLiteral<"mcp-tool">;
|
|
1342
|
+
server: z$1.ZodString;
|
|
1343
|
+
name: z$1.ZodString;
|
|
1344
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1345
|
+
kind: z$1.ZodLiteral<"api-endpoint">;
|
|
1346
|
+
method: z$1.ZodEnum<{
|
|
1347
|
+
GET: "GET";
|
|
1348
|
+
POST: "POST";
|
|
1349
|
+
PATCH: "PATCH";
|
|
1350
|
+
DELETE: "DELETE";
|
|
1351
|
+
}>;
|
|
1352
|
+
path: z$1.ZodString;
|
|
1353
|
+
requestSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
1354
|
+
responseSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
1355
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1356
|
+
kind: z$1.ZodLiteral<"script-execution">;
|
|
1357
|
+
resourceId: z$1.ZodString;
|
|
1358
|
+
}, z$1.core.$strip>], "kind">>>;
|
|
1359
|
+
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
1360
|
+
eventKey: z$1.ZodString;
|
|
1361
|
+
label: z$1.ZodString;
|
|
1362
|
+
payloadSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
1363
|
+
lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1364
|
+
active: "active";
|
|
1365
|
+
deprecated: "deprecated";
|
|
1366
|
+
draft: "draft";
|
|
1367
|
+
beta: "beta";
|
|
1368
|
+
archived: "archived";
|
|
1369
|
+
}>>;
|
|
1370
|
+
}, z$1.core.$strip>>>;
|
|
1371
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1372
|
+
id: z$1.ZodString;
|
|
1373
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
1374
|
+
systemPath: z$1.ZodString;
|
|
1375
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
1376
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1377
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
1378
|
+
status: z$1.ZodEnum<{
|
|
1379
|
+
active: "active";
|
|
1380
|
+
deprecated: "deprecated";
|
|
1381
|
+
archived: "archived";
|
|
1382
|
+
}>;
|
|
1383
|
+
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
1384
|
+
actions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1385
|
+
primaryAction: z$1.ZodOptional<z$1.ZodString>;
|
|
1386
|
+
reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1387
|
+
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1388
|
+
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1389
|
+
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1390
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
1391
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
1392
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
1393
|
+
}, z$1.core.$strip>>;
|
|
1394
|
+
}, z$1.core.$strip>>;
|
|
1395
|
+
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
1396
|
+
path: z$1.ZodString;
|
|
1397
|
+
role: z$1.ZodEnum<{
|
|
1398
|
+
entrypoint: "entrypoint";
|
|
1399
|
+
handler: "handler";
|
|
1400
|
+
schema: "schema";
|
|
1401
|
+
test: "test";
|
|
1402
|
+
docs: "docs";
|
|
1403
|
+
config: "config";
|
|
1404
|
+
}>;
|
|
1405
|
+
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
1406
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1407
|
+
}, z$1.core.$strip>>>;
|
|
1408
|
+
kind: z$1.ZodLiteral<"integration">;
|
|
1409
|
+
provider: z$1.ZodString;
|
|
1410
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1411
|
+
id: z$1.ZodString;
|
|
1412
|
+
order: z$1.ZodDefault<z$1.ZodNumber>;
|
|
1413
|
+
systemPath: z$1.ZodString;
|
|
1414
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
1415
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1416
|
+
ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
|
|
1417
|
+
status: z$1.ZodEnum<{
|
|
1418
|
+
active: "active";
|
|
1419
|
+
deprecated: "deprecated";
|
|
1420
|
+
archived: "archived";
|
|
1421
|
+
}>;
|
|
1422
|
+
ontology: z$1.ZodOptional<z$1.ZodObject<{
|
|
1423
|
+
actions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1424
|
+
primaryAction: z$1.ZodOptional<z$1.ZodString>;
|
|
1425
|
+
reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1426
|
+
writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1427
|
+
usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1428
|
+
emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1429
|
+
contract: z$1.ZodOptional<z$1.ZodObject<{
|
|
1430
|
+
input: z$1.ZodOptional<z$1.ZodString>;
|
|
1431
|
+
output: z$1.ZodOptional<z$1.ZodString>;
|
|
1432
|
+
}, z$1.core.$strip>>;
|
|
1433
|
+
}, z$1.core.$strip>>;
|
|
1434
|
+
codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
1435
|
+
path: z$1.ZodString;
|
|
1436
|
+
role: z$1.ZodEnum<{
|
|
1437
|
+
entrypoint: "entrypoint";
|
|
1438
|
+
handler: "handler";
|
|
1439
|
+
schema: "schema";
|
|
1440
|
+
test: "test";
|
|
1441
|
+
docs: "docs";
|
|
1442
|
+
config: "config";
|
|
1443
|
+
}>;
|
|
1444
|
+
symbol: z$1.ZodOptional<z$1.ZodString>;
|
|
1445
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1446
|
+
}, z$1.core.$strip>>>;
|
|
1447
|
+
kind: z$1.ZodLiteral<"script">;
|
|
1448
|
+
language: z$1.ZodEnum<{
|
|
1449
|
+
shell: "shell";
|
|
1450
|
+
sql: "sql";
|
|
1451
|
+
typescript: "typescript";
|
|
1452
|
+
python: "python";
|
|
1453
|
+
}>;
|
|
1454
|
+
source: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
1455
|
+
file: z$1.ZodString;
|
|
1456
|
+
}, z$1.core.$strip>]>;
|
|
1457
|
+
}, z$1.core.$strip>], "kind">>>>;
|
|
1458
|
+
topology: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodObject<{
|
|
1459
|
+
version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
|
|
1460
|
+
relationships: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1461
|
+
from: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1462
|
+
kind: z$1.ZodLiteral<"system">;
|
|
1463
|
+
id: z$1.ZodString;
|
|
1464
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1465
|
+
kind: z$1.ZodLiteral<"resource">;
|
|
1466
|
+
id: z$1.ZodString;
|
|
1467
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1468
|
+
kind: z$1.ZodLiteral<"ontology">;
|
|
1469
|
+
id: z$1.ZodString;
|
|
1470
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1471
|
+
kind: z$1.ZodLiteral<"policy">;
|
|
1472
|
+
id: z$1.ZodString;
|
|
1473
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1474
|
+
kind: z$1.ZodLiteral<"role">;
|
|
1475
|
+
id: z$1.ZodString;
|
|
1476
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1477
|
+
kind: z$1.ZodLiteral<"trigger">;
|
|
1478
|
+
id: z$1.ZodString;
|
|
1479
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1480
|
+
kind: z$1.ZodLiteral<"humanCheckpoint">;
|
|
1481
|
+
id: z$1.ZodString;
|
|
1482
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1483
|
+
kind: z$1.ZodLiteral<"externalResource">;
|
|
1484
|
+
id: z$1.ZodString;
|
|
1485
|
+
}, z$1.core.$strip>], "kind">;
|
|
1486
|
+
kind: z$1.ZodEnum<{
|
|
1487
|
+
triggers: "triggers";
|
|
1488
|
+
uses: "uses";
|
|
1489
|
+
approval: "approval";
|
|
1490
|
+
}>;
|
|
1491
|
+
to: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1492
|
+
kind: z$1.ZodLiteral<"system">;
|
|
1493
|
+
id: z$1.ZodString;
|
|
1494
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1495
|
+
kind: z$1.ZodLiteral<"resource">;
|
|
1496
|
+
id: z$1.ZodString;
|
|
1497
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1498
|
+
kind: z$1.ZodLiteral<"ontology">;
|
|
1499
|
+
id: z$1.ZodString;
|
|
1500
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1501
|
+
kind: z$1.ZodLiteral<"policy">;
|
|
1502
|
+
id: z$1.ZodString;
|
|
1503
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1504
|
+
kind: z$1.ZodLiteral<"role">;
|
|
1505
|
+
id: z$1.ZodString;
|
|
1506
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1507
|
+
kind: z$1.ZodLiteral<"trigger">;
|
|
1508
|
+
id: z$1.ZodString;
|
|
1509
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1510
|
+
kind: z$1.ZodLiteral<"humanCheckpoint">;
|
|
1511
|
+
id: z$1.ZodString;
|
|
1512
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1513
|
+
kind: z$1.ZodLiteral<"externalResource">;
|
|
1514
|
+
id: z$1.ZodString;
|
|
1515
|
+
}, z$1.core.$strip>], "kind">;
|
|
1516
|
+
systemPath: z$1.ZodOptional<z$1.ZodString>;
|
|
1517
|
+
required: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1518
|
+
metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
1519
|
+
}, z$1.core.$strip>>>;
|
|
1520
|
+
}, z$1.core.$strip>>>;
|
|
1521
|
+
actions: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1522
|
+
id: z$1.ZodString;
|
|
1523
|
+
order: z$1.ZodNumber;
|
|
1524
|
+
label: z$1.ZodString;
|
|
1525
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1526
|
+
scope: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodLiteral<"global">, z$1.ZodObject<{
|
|
1527
|
+
domain: z$1.ZodString;
|
|
1528
|
+
}, z$1.core.$strip>]>>;
|
|
1529
|
+
resourceId: z$1.ZodOptional<z$1.ZodString>;
|
|
1530
|
+
affects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
1531
|
+
invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1532
|
+
kind: z$1.ZodLiteral<"slash-command">;
|
|
1533
|
+
command: z$1.ZodString;
|
|
1534
|
+
toolFactory: z$1.ZodOptional<z$1.ZodString>;
|
|
1535
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1536
|
+
kind: z$1.ZodLiteral<"mcp-tool">;
|
|
1537
|
+
server: z$1.ZodString;
|
|
1538
|
+
name: z$1.ZodString;
|
|
1539
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1540
|
+
kind: z$1.ZodLiteral<"api-endpoint">;
|
|
1541
|
+
method: z$1.ZodEnum<{
|
|
1542
|
+
GET: "GET";
|
|
1543
|
+
POST: "POST";
|
|
1544
|
+
PATCH: "PATCH";
|
|
1545
|
+
DELETE: "DELETE";
|
|
1546
|
+
}>;
|
|
1547
|
+
path: z$1.ZodString;
|
|
1548
|
+
requestSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
1549
|
+
responseSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
1550
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1551
|
+
kind: z$1.ZodLiteral<"script-execution">;
|
|
1552
|
+
resourceId: z$1.ZodString;
|
|
1553
|
+
}, z$1.core.$strip>], "kind">>>;
|
|
1554
|
+
knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
1555
|
+
lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
|
|
1556
|
+
active: "active";
|
|
1557
|
+
deprecated: "deprecated";
|
|
1558
|
+
draft: "draft";
|
|
1559
|
+
beta: "beta";
|
|
1560
|
+
archived: "archived";
|
|
1561
|
+
}>>;
|
|
1562
|
+
}, z$1.core.$strip>>>>;
|
|
1563
|
+
entities: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1564
|
+
id: z$1.ZodString;
|
|
1565
|
+
order: z$1.ZodNumber;
|
|
1566
|
+
label: z$1.ZodString;
|
|
1567
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1568
|
+
ownedBySystemId: z$1.ZodString;
|
|
1569
|
+
table: z$1.ZodOptional<z$1.ZodString>;
|
|
1570
|
+
rowSchema: z$1.ZodOptional<z$1.ZodString>;
|
|
1571
|
+
stateCatalogId: z$1.ZodOptional<z$1.ZodString>;
|
|
1572
|
+
links: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
1573
|
+
toEntity: z$1.ZodString;
|
|
1574
|
+
kind: z$1.ZodEnum<{
|
|
1575
|
+
"belongs-to": "belongs-to";
|
|
1576
|
+
"has-many": "has-many";
|
|
1577
|
+
"has-one": "has-one";
|
|
1578
|
+
"many-to-many": "many-to-many";
|
|
1579
|
+
}>;
|
|
1580
|
+
via: z$1.ZodOptional<z$1.ZodString>;
|
|
1581
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
1582
|
+
}, z$1.core.$strip>>>;
|
|
1583
|
+
}, z$1.core.$strip>>>>;
|
|
1584
|
+
policies: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1585
|
+
id: z$1.ZodString;
|
|
1586
|
+
order: z$1.ZodNumber;
|
|
1587
|
+
label: z$1.ZodString;
|
|
1588
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
1589
|
+
trigger: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1590
|
+
kind: z$1.ZodLiteral<"event">;
|
|
1591
|
+
eventId: z$1.ZodString;
|
|
1592
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1593
|
+
kind: z$1.ZodLiteral<"action-invocation">;
|
|
1594
|
+
actionId: z$1.ZodString;
|
|
1595
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1596
|
+
kind: z$1.ZodLiteral<"schedule">;
|
|
1597
|
+
cron: z$1.ZodString;
|
|
1598
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1599
|
+
kind: z$1.ZodLiteral<"manual">;
|
|
1600
|
+
}, z$1.core.$strip>], "kind">;
|
|
1601
|
+
predicate: z$1.ZodDefault<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1602
|
+
kind: z$1.ZodLiteral<"always">;
|
|
1603
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1604
|
+
kind: z$1.ZodLiteral<"expression">;
|
|
1605
|
+
expression: z$1.ZodString;
|
|
1606
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1607
|
+
kind: z$1.ZodLiteral<"threshold">;
|
|
1608
|
+
metric: z$1.ZodString;
|
|
1609
|
+
operator: z$1.ZodEnum<{
|
|
1610
|
+
lt: "lt";
|
|
1611
|
+
lte: "lte";
|
|
1612
|
+
eq: "eq";
|
|
1613
|
+
gte: "gte";
|
|
1614
|
+
gt: "gt";
|
|
1615
|
+
}>;
|
|
1616
|
+
value: z$1.ZodNumber;
|
|
1617
|
+
}, z$1.core.$strip>], "kind">>;
|
|
1618
|
+
actions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1619
|
+
kind: z$1.ZodLiteral<"require-approval">;
|
|
1620
|
+
roleId: z$1.ZodOptional<z$1.ZodString>;
|
|
1621
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1622
|
+
kind: z$1.ZodLiteral<"invoke-action">;
|
|
1623
|
+
actionId: z$1.ZodString;
|
|
1624
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1625
|
+
kind: z$1.ZodLiteral<"notify-role">;
|
|
1626
|
+
roleId: z$1.ZodString;
|
|
1627
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1628
|
+
kind: z$1.ZodLiteral<"block">;
|
|
1629
|
+
}, z$1.core.$strip>], "kind">>;
|
|
1630
|
+
appliesTo: z$1.ZodDefault<z$1.ZodObject<{
|
|
1631
|
+
systemIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
1632
|
+
actionIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
1633
|
+
resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
1634
|
+
roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
1635
|
+
}, z$1.core.$strip>>;
|
|
1636
|
+
lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
|
|
1637
|
+
active: "active";
|
|
1638
|
+
deprecated: "deprecated";
|
|
1639
|
+
draft: "draft";
|
|
1640
|
+
beta: "beta";
|
|
1641
|
+
archived: "archived";
|
|
1642
|
+
}>>;
|
|
1643
|
+
}, z$1.core.$strip>>>>;
|
|
1644
|
+
knowledge: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
1645
|
+
id: z$1.ZodString;
|
|
1646
|
+
kind: z$1.ZodEnum<{
|
|
1647
|
+
playbook: "playbook";
|
|
1648
|
+
strategy: "strategy";
|
|
1649
|
+
reference: "reference";
|
|
1650
|
+
}>;
|
|
1651
|
+
title: z$1.ZodString;
|
|
1652
|
+
summary: z$1.ZodString;
|
|
1653
|
+
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
1654
|
+
message: "message";
|
|
1655
|
+
error: "error";
|
|
1656
|
+
agent: "agent";
|
|
1657
|
+
workflow: "workflow";
|
|
1658
|
+
"google-sheets": "google-sheets";
|
|
1659
|
+
dashboard: "dashboard";
|
|
1660
|
+
calendar: "calendar";
|
|
1661
|
+
sales: "sales";
|
|
1662
|
+
crm: "crm";
|
|
1663
|
+
"lead-gen": "lead-gen";
|
|
1664
|
+
projects: "projects";
|
|
1665
|
+
clients: "clients";
|
|
1666
|
+
operations: "operations";
|
|
1667
|
+
monitoring: "monitoring";
|
|
1668
|
+
knowledge: "knowledge";
|
|
1669
|
+
settings: "settings";
|
|
1670
|
+
admin: "admin";
|
|
1671
|
+
archive: "archive";
|
|
1672
|
+
business: "business";
|
|
1673
|
+
finance: "finance";
|
|
1674
|
+
platform: "platform";
|
|
1675
|
+
seo: "seo";
|
|
1676
|
+
playbook: "playbook";
|
|
1677
|
+
strategy: "strategy";
|
|
1678
|
+
reference: "reference";
|
|
1679
|
+
integration: "integration";
|
|
1680
|
+
database: "database";
|
|
1681
|
+
user: "user";
|
|
1682
|
+
team: "team";
|
|
1683
|
+
gmail: "gmail";
|
|
1684
|
+
attio: "attio";
|
|
1685
|
+
overview: "overview";
|
|
1686
|
+
"command-view": "command-view";
|
|
1687
|
+
"command-queue": "command-queue";
|
|
1688
|
+
pipeline: "pipeline";
|
|
1689
|
+
lists: "lists";
|
|
1690
|
+
resources: "resources";
|
|
1691
|
+
approve: "approve";
|
|
1692
|
+
reject: "reject";
|
|
1693
|
+
retry: "retry";
|
|
1694
|
+
edit: "edit";
|
|
1695
|
+
view: "view";
|
|
1696
|
+
launch: "launch";
|
|
1697
|
+
escalate: "escalate";
|
|
1698
|
+
promote: "promote";
|
|
1699
|
+
submit: "submit";
|
|
1700
|
+
email: "email";
|
|
1701
|
+
success: "success";
|
|
1702
|
+
warning: "warning";
|
|
1703
|
+
info: "info";
|
|
1704
|
+
pending: "pending";
|
|
1705
|
+
bolt: "bolt";
|
|
1706
|
+
building: "building";
|
|
1707
|
+
briefcase: "briefcase";
|
|
1708
|
+
apps: "apps";
|
|
1709
|
+
graph: "graph";
|
|
1710
|
+
shield: "shield";
|
|
1711
|
+
users: "users";
|
|
1712
|
+
"chart-bar": "chart-bar";
|
|
1713
|
+
search: "search";
|
|
1714
|
+
}>, z$1.ZodString]>>;
|
|
1715
|
+
externalUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
1716
|
+
sourceFilePath: z$1.ZodOptional<z$1.ZodString>;
|
|
1717
|
+
body: z$1.ZodString;
|
|
1718
|
+
links: z$1.ZodDefault<z$1.ZodArray<z$1.ZodPipe<z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
1719
|
+
target: z$1.ZodObject<{
|
|
1720
|
+
kind: z$1.ZodEnum<{
|
|
1721
|
+
knowledge: "knowledge";
|
|
1722
|
+
system: "system";
|
|
1723
|
+
resource: "resource";
|
|
1724
|
+
action: "action";
|
|
1725
|
+
ontology: "ontology";
|
|
1726
|
+
role: "role";
|
|
1727
|
+
stage: "stage";
|
|
1728
|
+
goal: "goal";
|
|
1729
|
+
"customer-segment": "customer-segment";
|
|
1730
|
+
offering: "offering";
|
|
1731
|
+
}>;
|
|
1732
|
+
id: z$1.ZodString;
|
|
1733
|
+
}, z$1.core.$strip>;
|
|
1734
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1735
|
+
nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
1736
|
+
}, z$1.core.$strip>]>, z$1.ZodTransform<{
|
|
1737
|
+
target: {
|
|
1738
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
1739
|
+
id: string;
|
|
1740
|
+
};
|
|
1741
|
+
nodeId: string;
|
|
1742
|
+
}, {
|
|
1743
|
+
nodeId: string;
|
|
1744
|
+
} | {
|
|
1745
|
+
target: {
|
|
1746
|
+
kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
|
|
1747
|
+
id: string;
|
|
1748
|
+
};
|
|
1749
|
+
}>>>>;
|
|
1750
|
+
ownerIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
1751
|
+
updatedAt: z$1.ZodString;
|
|
1752
|
+
}, z$1.core.$strip>>>>;
|
|
1753
|
+
}, z$1.core.$strip>;
|
|
1754
|
+
|
|
1755
|
+
type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
|
|
1756
|
+
type ProspectingBuildTemplate = z$1.infer<typeof ProspectingBuildTemplateSchema>;
|
|
1757
|
+
|
|
439
1758
|
type SystemSidebarComponent = ComponentType;
|
|
440
1759
|
type SystemIconComponent = ComponentType<{
|
|
441
1760
|
size?: number;
|
|
@@ -893,7 +2212,7 @@ declare function useDeleteContacts(): _tanstack_react_query.UseMutationResult<vo
|
|
|
893
2212
|
|
|
894
2213
|
declare const leadGenArtifactKeys: {
|
|
895
2214
|
all: readonly ["lead-gen-artifacts"];
|
|
896
|
-
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "
|
|
2215
|
+
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "company" | "contact" | "list" | "deal" | "list_member", string];
|
|
897
2216
|
};
|
|
898
2217
|
interface UseArtifactsParams {
|
|
899
2218
|
ownerKind: AcqArtifactOwnerKind;
|
|
@@ -925,7 +2244,7 @@ declare function useCreateArtifact(): _tanstack_react_query.UseMutationResult<{
|
|
|
925
2244
|
createdAt: string;
|
|
926
2245
|
version: number;
|
|
927
2246
|
}, Error, {
|
|
928
|
-
ownerKind: "
|
|
2247
|
+
ownerKind: "company" | "contact" | "list" | "deal" | "list_member";
|
|
929
2248
|
ownerId: string;
|
|
930
2249
|
kind: string;
|
|
931
2250
|
content: Record<string, unknown>;
|
|
@@ -1082,20 +2401,6 @@ declare function useListProgress(listId: string, options?: UseListProgressOption
|
|
|
1082
2401
|
|
|
1083
2402
|
declare function useDeleteLists(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
|
|
1084
2403
|
|
|
1085
|
-
declare function LeadGenOverviewPage(): react_jsx_runtime.JSX.Element;
|
|
1086
|
-
|
|
1087
|
-
declare function LeadGenListsPage(): react_jsx_runtime.JSX.Element;
|
|
1088
|
-
|
|
1089
|
-
declare function LeadGenListDetailPage({ listId }: {
|
|
1090
|
-
listId: string;
|
|
1091
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1092
|
-
|
|
1093
|
-
declare function ListBuilderIndexPage(): react_jsx_runtime.JSX.Element;
|
|
1094
|
-
|
|
1095
|
-
declare function ListBuilderPage({ listId }: {
|
|
1096
|
-
listId: string;
|
|
1097
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1098
|
-
|
|
1099
2404
|
/**
|
|
1100
2405
|
* All valid dotted paths into T.
|
|
1101
2406
|
* Arrays of primitives are treated as leaf (return K only).
|
|
@@ -1106,7 +2411,7 @@ type FieldPath<T> = T extends object ? {
|
|
|
1106
2411
|
[K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
|
|
1107
2412
|
}[keyof T & string] : never;
|
|
1108
2413
|
/** Discriminated string union of supported Mantine components. */
|
|
1109
|
-
type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
|
|
2414
|
+
type StepConfigComponent = 'checkboxgroup' | 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
|
|
1110
2415
|
/** Rendering hint for a single field within a section. */
|
|
1111
2416
|
interface StepConfigFieldHint<T> {
|
|
1112
2417
|
/** Typed dotted path into T — typo = TS error. */
|
|
@@ -1202,30 +2507,6 @@ declare function useListActions(): ListBuilderRegistry;
|
|
|
1202
2507
|
declare function findListActionByAction(registry: ListBuilderRegistry, actionKey: LeadGenActionKey): ListBuilderWorkflow | undefined;
|
|
1203
2508
|
declare function getListActionWorkflowId(action: ListBuilderWorkflow): string;
|
|
1204
2509
|
|
|
1205
|
-
interface MembersPanelSelection {
|
|
1206
|
-
selectedCompanyIds: string[];
|
|
1207
|
-
selectedContactIds: string[];
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
interface RunWorkflowModalProps {
|
|
1211
|
-
opened: boolean;
|
|
1212
|
-
onClose: () => void;
|
|
1213
|
-
list: AcqListResponse;
|
|
1214
|
-
actions: ListBuilderRegistry;
|
|
1215
|
-
selection: MembersPanelSelection;
|
|
1216
|
-
initialResourceId?: string | null;
|
|
1217
|
-
title?: string;
|
|
1218
|
-
description?: string;
|
|
1219
|
-
lockResourceSelection?: boolean;
|
|
1220
|
-
onResourceChange?: (resourceId: string | null) => void;
|
|
1221
|
-
onSubmitted?: (resourceId: string, executionId: string) => void;
|
|
1222
|
-
}
|
|
1223
|
-
declare function RunWorkflowModal({ opened, onClose, list, actions, selection, initialResourceId, title, description, lockResourceSelection, onResourceChange, onSubmitted }: RunWorkflowModalProps): react_jsx_runtime.JSX.Element;
|
|
1224
|
-
|
|
1225
|
-
declare function LeadGenCompaniesPage(): react_jsx_runtime.JSX.Element;
|
|
1226
|
-
|
|
1227
|
-
declare function LeadGenContactsPage(): react_jsx_runtime.JSX.Element;
|
|
1228
|
-
|
|
1229
2510
|
declare const ORPHAN_STAGE_ORDER = 9999;
|
|
1230
2511
|
type BuildStepPrimaryEntity = BuildPlanSnapshotStep['primaryEntity'];
|
|
1231
2512
|
type BuildStepOutput = BuildPlanSnapshotStep['outputs'][number];
|
|
@@ -1235,6 +2516,28 @@ interface MvpBuildStepDefinition extends Omit<BuildPlanSnapshotStep, 'actionKey'
|
|
|
1235
2516
|
actionKey: LeadGenActionKey;
|
|
1236
2517
|
emptyBlockedText: string;
|
|
1237
2518
|
}
|
|
2519
|
+
/**
|
|
2520
|
+
* Tenant-injected lead-gen build configuration. Shared `@elevasis/ui` lead-gen
|
|
2521
|
+
* surfaces are tenant-model-agnostic: the consuming app derives this config from
|
|
2522
|
+
* its resolved Organization Model (via `useLeadGenConfig`) and passes it into the
|
|
2523
|
+
* pure build-state functions. All fields are optional so legacy/test call sites
|
|
2524
|
+
* keep working with tenant-agnostic empty defaults.
|
|
2525
|
+
*
|
|
2526
|
+
* - `stageCatalog` -- resolved lead-gen stage catalog (`getLeadGenStageCatalog(model)`),
|
|
2527
|
+
* drives stage ordering. Empty => orphan order.
|
|
2528
|
+
* - `exportWorkflowId` -- tenant export workflow resourceId used to detect approved
|
|
2529
|
+
* export runs for the `uploaded` stage. Omitted => id-based export detection is off
|
|
2530
|
+
* (the action-driven path still applies).
|
|
2531
|
+
* - `defaultBuildSteps` -- fallback build steps for legacy lists with no
|
|
2532
|
+
* `buildPlanSnapshot`. Omitted => no fallback steps.
|
|
2533
|
+
*/
|
|
2534
|
+
interface LeadGenBuildConfig {
|
|
2535
|
+
stageCatalog?: Record<string, LeadGenStageCatalogEntry>;
|
|
2536
|
+
exportWorkflowId?: string;
|
|
2537
|
+
defaultBuildSteps?: MvpBuildStepDefinition[];
|
|
2538
|
+
defaultBuildTemplateId?: string;
|
|
2539
|
+
buildTemplates?: ProspectingBuildTemplate[];
|
|
2540
|
+
}
|
|
1238
2541
|
interface BuildStepState extends MvpBuildStepDefinition {
|
|
1239
2542
|
status: ListBuildStepStatus;
|
|
1240
2543
|
ready: number;
|
|
@@ -1250,11 +2553,33 @@ interface BuildResolution {
|
|
|
1250
2553
|
recommendedStep: BuildStepState | null;
|
|
1251
2554
|
recommendedAction: ListBuildRecommendedAction | null;
|
|
1252
2555
|
}
|
|
1253
|
-
declare function sortStageKeys(keys: string[]): string[];
|
|
1254
|
-
declare function resolveBuildPlanSteps(list: AcqListResponse): MvpBuildStepDefinition[];
|
|
2556
|
+
declare function sortStageKeys(keys: string[], stageCatalog?: Record<string, LeadGenStageCatalogEntry>): string[];
|
|
2557
|
+
declare function resolveBuildPlanSteps(list: AcqListResponse, defaultBuildSteps?: MvpBuildStepDefinition[], buildTemplates?: ProspectingBuildTemplate[]): MvpBuildStepDefinition[];
|
|
1255
2558
|
declare function getStepActionLabel(kind: ListBuildActionKind | 'none'): "Retry failed" | "Run next batch" | "Advanced" | "No action";
|
|
1256
|
-
declare function deriveBusinessProgress(list: AcqListResponse, progress: ListProgress, actions?: ListBuilderRegistry, executions?: ListExecutionSummaryInput[]): ListProgress;
|
|
1257
|
-
declare function resolveBuildState(list: AcqListResponse, progress: ListProgress, actions: ListBuilderRegistry): BuildResolution;
|
|
2559
|
+
declare function deriveBusinessProgress(list: AcqListResponse, progress: ListProgress, actions?: ListBuilderRegistry, executions?: ListExecutionSummaryInput[], config?: LeadGenBuildConfig): ListProgress;
|
|
2560
|
+
declare function resolveBuildState(list: AcqListResponse, progress: ListProgress, actions: ListBuilderRegistry, config?: LeadGenBuildConfig): BuildResolution;
|
|
2561
|
+
|
|
2562
|
+
declare function isLeadGenExportAction(action: string | undefined): boolean;
|
|
2563
|
+
declare function getLeadGenExportWorkflowId(model: OrganizationModel): string | undefined;
|
|
2564
|
+
declare function useLeadGenConfig(): LeadGenBuildConfig;
|
|
2565
|
+
|
|
2566
|
+
declare function LeadGenOverviewPage(): react_jsx_runtime.JSX.Element;
|
|
2567
|
+
|
|
2568
|
+
declare function LeadGenListsPage(): react_jsx_runtime.JSX.Element;
|
|
2569
|
+
|
|
2570
|
+
declare function LeadGenListDetailPage({ listId }: {
|
|
2571
|
+
listId: string;
|
|
2572
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2573
|
+
|
|
2574
|
+
declare function ListBuilderIndexPage(): react_jsx_runtime.JSX.Element;
|
|
2575
|
+
|
|
2576
|
+
declare function ListBuilderPage({ listId }: {
|
|
2577
|
+
listId: string;
|
|
2578
|
+
}): react_jsx_runtime.JSX.Element;
|
|
2579
|
+
|
|
2580
|
+
declare function LeadGenCompaniesPage(): react_jsx_runtime.JSX.Element;
|
|
2581
|
+
|
|
2582
|
+
declare function LeadGenContactsPage(): react_jsx_runtime.JSX.Element;
|
|
1258
2583
|
|
|
1259
|
-
export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER,
|
|
1260
|
-
export type { AcqCompanyWithCount, AcqContactWithCompany, BuildResolution, BuildStepPrimaryEntity, BuildStepState, LeadGenActionKey, LeadGenCompanyListItem, LeadGenContactListItem, LeadGenRouteLink, LeadGenSidebarMiddleProps, LeadGenStageKey, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, MvpBuildStepDefinition, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
|
|
2584
|
+
export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenConfig, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus };
|
|
2585
|
+
export type { AcqCompanyWithCount, AcqContactWithCompany, BuildResolution, BuildStepPrimaryEntity, BuildStepState, LeadGenActionKey, LeadGenBuildConfig, LeadGenCompanyListItem, LeadGenContactListItem, LeadGenRouteLink, LeadGenSidebarMiddleProps, LeadGenStageKey, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, MvpBuildStepDefinition, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
|