@elevasis/core 0.15.0 → 0.16.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.
Files changed (88) hide show
  1. package/dist/index.d.ts +1718 -19
  2. package/dist/index.js +369 -25
  3. package/dist/organization-model/index.d.ts +1718 -19
  4. package/dist/organization-model/index.js +369 -25
  5. package/dist/test-utils/index.d.ts +1108 -371
  6. package/dist/test-utils/index.js +357 -17
  7. package/package.json +5 -1
  8. package/src/__tests__/publish.test.ts +14 -13
  9. package/src/__tests__/template-core-compatibility.test.ts +4 -4
  10. package/src/_gen/__tests__/__snapshots__/contracts.md.snap +1109 -882
  11. package/src/auth/multi-tenancy/index.ts +3 -0
  12. package/src/auth/multi-tenancy/theme-presets.ts +45 -0
  13. package/src/auth/multi-tenancy/types.ts +57 -83
  14. package/src/auth/multi-tenancy/users/api-schemas.ts +165 -194
  15. package/src/business/acquisition/activity-events.ts +13 -4
  16. package/src/business/acquisition/api-schemas.test.ts +315 -4
  17. package/src/business/acquisition/api-schemas.ts +122 -8
  18. package/src/business/acquisition/build-templates.ts +44 -0
  19. package/src/business/acquisition/crm-next-action.test.ts +262 -0
  20. package/src/business/acquisition/crm-next-action.ts +220 -0
  21. package/src/business/acquisition/crm-priority.test.ts +216 -0
  22. package/src/business/acquisition/crm-priority.ts +349 -0
  23. package/src/business/acquisition/crm-state-actions.test.ts +151 -160
  24. package/src/business/acquisition/deal-ownership.test.ts +351 -0
  25. package/src/business/acquisition/deal-ownership.ts +120 -0
  26. package/src/business/acquisition/derive-actions.test.ts +101 -37
  27. package/src/business/acquisition/derive-actions.ts +102 -87
  28. package/src/business/acquisition/index.ts +10 -0
  29. package/src/business/acquisition/types.ts +400 -366
  30. package/src/business/crm/api-schemas.ts +40 -0
  31. package/src/business/crm/index.ts +1 -0
  32. package/src/business/deals/api-schemas.ts +79 -0
  33. package/src/business/deals/index.ts +1 -0
  34. package/src/business/projects/types.ts +124 -88
  35. package/src/execution/core/runner-types.ts +61 -80
  36. package/src/execution/engine/index.ts +4 -3
  37. package/src/execution/engine/tools/integration/server/adapters/gmail/gmail-tools.ts +105 -104
  38. package/src/execution/engine/tools/integration/server/adapters/instantly/instantly-tools.ts +1474 -1473
  39. package/src/execution/engine/tools/integration/server/adapters/millionverifier/millionverifier-tools.ts +103 -102
  40. package/src/execution/engine/tools/integration/server/adapters/signature-api/signature-api-tools.ts +182 -179
  41. package/src/execution/engine/tools/integration/server/adapters/stripe/stripe-tools.ts +310 -309
  42. package/src/execution/engine/tools/integration/tool.ts +255 -253
  43. package/src/execution/engine/tools/lead-service-types.ts +939 -924
  44. package/src/execution/engine/tools/messages.ts +43 -0
  45. package/src/execution/engine/tools/platform/acquisition/list-tools.ts +6 -5
  46. package/src/execution/engine/tools/platform/acquisition/types.ts +5 -2
  47. package/src/execution/engine/tools/platform/email/types.ts +97 -96
  48. package/src/execution/engine/tools/registry.ts +4 -3
  49. package/src/execution/engine/tools/tool-maps.ts +3 -1
  50. package/src/execution/engine/tools/types.ts +234 -233
  51. package/src/execution/engine/workflow/types.ts +195 -193
  52. package/src/execution/external/api-schemas.ts +40 -0
  53. package/src/execution/external/index.ts +1 -0
  54. package/src/knowledge/README.md +32 -0
  55. package/src/knowledge/__tests__/queries.test.ts +504 -0
  56. package/src/knowledge/format.ts +99 -0
  57. package/src/knowledge/index.ts +5 -0
  58. package/src/knowledge/queries.ts +256 -0
  59. package/src/organization-model/__tests__/defaults.test.ts +172 -172
  60. package/src/organization-model/__tests__/foundation.test.ts +7 -7
  61. package/src/organization-model/__tests__/icons.test.ts +27 -0
  62. package/src/organization-model/__tests__/knowledge.test.ts +214 -0
  63. package/src/organization-model/contracts.ts +17 -15
  64. package/src/organization-model/defaults.ts +74 -19
  65. package/src/organization-model/domains/knowledge.ts +53 -0
  66. package/src/organization-model/domains/navigation.ts +416 -399
  67. package/src/organization-model/domains/prospecting.ts +204 -1
  68. package/src/organization-model/domains/sales.test.ts +29 -0
  69. package/src/organization-model/domains/sales.ts +102 -0
  70. package/src/organization-model/domains/shared.ts +6 -5
  71. package/src/organization-model/foundation.ts +10 -6
  72. package/src/organization-model/graph/build.ts +209 -182
  73. package/src/organization-model/graph/schema.ts +37 -34
  74. package/src/organization-model/graph/types.ts +47 -31
  75. package/src/organization-model/icons.ts +81 -0
  76. package/src/organization-model/index.ts +8 -3
  77. package/src/organization-model/organization-model.mdx +1 -1
  78. package/src/organization-model/published.ts +103 -86
  79. package/src/organization-model/schema.ts +90 -85
  80. package/src/organization-model/types.ts +42 -35
  81. package/src/platform/constants/versions.ts +1 -1
  82. package/src/platform/index.ts +23 -27
  83. package/src/platform/registry/index.ts +0 -4
  84. package/src/platform/registry/resource-registry.ts +0 -77
  85. package/src/platform/registry/serialized-types.ts +148 -219
  86. package/src/platform/registry/stats-types.ts +60 -60
  87. package/src/reference/_generated/contracts.md +829 -595
  88. package/src/supabase/database.types.ts +2978 -2958
package/dist/index.d.ts CHANGED
@@ -8,7 +8,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
8
8
  description: z.ZodOptional<z.ZodString>;
9
9
  enabled: z.ZodDefault<z.ZodBoolean>;
10
10
  path: z.ZodOptional<z.ZodString>;
11
- icon: z.ZodOptional<z.ZodString>;
11
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
12
+ "nav.dashboard": "nav.dashboard";
13
+ "nav.sales": "nav.sales";
14
+ "nav.crm": "nav.crm";
15
+ "nav.lead-gen": "nav.lead-gen";
16
+ "nav.projects": "nav.projects";
17
+ "nav.operations": "nav.operations";
18
+ "nav.monitoring": "nav.monitoring";
19
+ "nav.knowledge": "nav.knowledge";
20
+ "nav.settings": "nav.settings";
21
+ "nav.admin": "nav.admin";
22
+ "nav.archive": "nav.archive";
23
+ "knowledge.playbook": "knowledge.playbook";
24
+ "knowledge.strategy": "knowledge.strategy";
25
+ "knowledge.reference": "knowledge.reference";
26
+ "feature.dashboard": "feature.dashboard";
27
+ "feature.sales": "feature.sales";
28
+ "feature.crm": "feature.crm";
29
+ "feature.finance": "feature.finance";
30
+ "feature.lead-gen": "feature.lead-gen";
31
+ "feature.platform": "feature.platform";
32
+ "feature.projects": "feature.projects";
33
+ "feature.operations": "feature.operations";
34
+ "feature.knowledge": "feature.knowledge";
35
+ "feature.monitoring": "feature.monitoring";
36
+ "feature.settings": "feature.settings";
37
+ "feature.admin": "feature.admin";
38
+ "feature.archive": "feature.archive";
39
+ "feature.seo": "feature.seo";
40
+ "resource.agent": "resource.agent";
41
+ "resource.workflow": "resource.workflow";
42
+ "resource.integration": "resource.integration";
43
+ "resource.database": "resource.database";
44
+ "resource.user": "resource.user";
45
+ "resource.team": "resource.team";
46
+ "integration.gmail": "integration.gmail";
47
+ "integration.google-sheets": "integration.google-sheets";
48
+ "integration.attio": "integration.attio";
49
+ "surface.dashboard": "surface.dashboard";
50
+ "surface.overview": "surface.overview";
51
+ "surface.command-view": "surface.command-view";
52
+ "surface.command-queue": "surface.command-queue";
53
+ "surface.pipeline": "surface.pipeline";
54
+ "surface.lists": "surface.lists";
55
+ "surface.resources": "surface.resources";
56
+ "surface.settings": "surface.settings";
57
+ "status.success": "status.success";
58
+ "status.error": "status.error";
59
+ "status.warning": "status.warning";
60
+ "status.info": "status.info";
61
+ "status.pending": "status.pending";
62
+ "action.approve": "action.approve";
63
+ "action.reject": "action.reject";
64
+ "action.retry": "action.retry";
65
+ "action.edit": "action.edit";
66
+ "action.view": "action.view";
67
+ "action.launch": "action.launch";
68
+ "action.message": "action.message";
69
+ "action.escalate": "action.escalate";
70
+ "action.promote": "action.promote";
71
+ "action.submit": "action.submit";
72
+ "action.email": "action.email";
73
+ }>, z.ZodString]>>;
12
74
  color: z.ZodOptional<z.ZodString>;
13
75
  uiPosition: z.ZodOptional<z.ZodEnum<{
14
76
  "sidebar-primary": "sidebar-primary";
@@ -44,7 +106,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
44
106
  description: z.ZodOptional<z.ZodString>;
45
107
  enabled: z.ZodDefault<z.ZodBoolean>;
46
108
  devOnly: z.ZodOptional<z.ZodBoolean>;
47
- icon: z.ZodOptional<z.ZodString>;
109
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
110
+ "nav.dashboard": "nav.dashboard";
111
+ "nav.sales": "nav.sales";
112
+ "nav.crm": "nav.crm";
113
+ "nav.lead-gen": "nav.lead-gen";
114
+ "nav.projects": "nav.projects";
115
+ "nav.operations": "nav.operations";
116
+ "nav.monitoring": "nav.monitoring";
117
+ "nav.knowledge": "nav.knowledge";
118
+ "nav.settings": "nav.settings";
119
+ "nav.admin": "nav.admin";
120
+ "nav.archive": "nav.archive";
121
+ "knowledge.playbook": "knowledge.playbook";
122
+ "knowledge.strategy": "knowledge.strategy";
123
+ "knowledge.reference": "knowledge.reference";
124
+ "feature.dashboard": "feature.dashboard";
125
+ "feature.sales": "feature.sales";
126
+ "feature.crm": "feature.crm";
127
+ "feature.finance": "feature.finance";
128
+ "feature.lead-gen": "feature.lead-gen";
129
+ "feature.platform": "feature.platform";
130
+ "feature.projects": "feature.projects";
131
+ "feature.operations": "feature.operations";
132
+ "feature.knowledge": "feature.knowledge";
133
+ "feature.monitoring": "feature.monitoring";
134
+ "feature.settings": "feature.settings";
135
+ "feature.admin": "feature.admin";
136
+ "feature.archive": "feature.archive";
137
+ "feature.seo": "feature.seo";
138
+ "resource.agent": "resource.agent";
139
+ "resource.workflow": "resource.workflow";
140
+ "resource.integration": "resource.integration";
141
+ "resource.database": "resource.database";
142
+ "resource.user": "resource.user";
143
+ "resource.team": "resource.team";
144
+ "integration.gmail": "integration.gmail";
145
+ "integration.google-sheets": "integration.google-sheets";
146
+ "integration.attio": "integration.attio";
147
+ "surface.dashboard": "surface.dashboard";
148
+ "surface.overview": "surface.overview";
149
+ "surface.command-view": "surface.command-view";
150
+ "surface.command-queue": "surface.command-queue";
151
+ "surface.pipeline": "surface.pipeline";
152
+ "surface.lists": "surface.lists";
153
+ "surface.resources": "surface.resources";
154
+ "surface.settings": "surface.settings";
155
+ "status.success": "status.success";
156
+ "status.error": "status.error";
157
+ "status.warning": "status.warning";
158
+ "status.info": "status.info";
159
+ "status.pending": "status.pending";
160
+ "action.approve": "action.approve";
161
+ "action.reject": "action.reject";
162
+ "action.retry": "action.retry";
163
+ "action.edit": "action.edit";
164
+ "action.view": "action.view";
165
+ "action.launch": "action.launch";
166
+ "action.message": "action.message";
167
+ "action.escalate": "action.escalate";
168
+ "action.promote": "action.promote";
169
+ "action.submit": "action.submit";
170
+ "action.email": "action.email";
171
+ }>, z.ZodString]>>;
48
172
  featureId: z.ZodOptional<z.ZodString>;
49
173
  featureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
50
174
  entityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -71,7 +195,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
71
195
  label: z.ZodString;
72
196
  description: z.ZodOptional<z.ZodString>;
73
197
  color: z.ZodOptional<z.ZodString>;
74
- icon: z.ZodOptional<z.ZodString>;
198
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
199
+ "nav.dashboard": "nav.dashboard";
200
+ "nav.sales": "nav.sales";
201
+ "nav.crm": "nav.crm";
202
+ "nav.lead-gen": "nav.lead-gen";
203
+ "nav.projects": "nav.projects";
204
+ "nav.operations": "nav.operations";
205
+ "nav.monitoring": "nav.monitoring";
206
+ "nav.knowledge": "nav.knowledge";
207
+ "nav.settings": "nav.settings";
208
+ "nav.admin": "nav.admin";
209
+ "nav.archive": "nav.archive";
210
+ "knowledge.playbook": "knowledge.playbook";
211
+ "knowledge.strategy": "knowledge.strategy";
212
+ "knowledge.reference": "knowledge.reference";
213
+ "feature.dashboard": "feature.dashboard";
214
+ "feature.sales": "feature.sales";
215
+ "feature.crm": "feature.crm";
216
+ "feature.finance": "feature.finance";
217
+ "feature.lead-gen": "feature.lead-gen";
218
+ "feature.platform": "feature.platform";
219
+ "feature.projects": "feature.projects";
220
+ "feature.operations": "feature.operations";
221
+ "feature.knowledge": "feature.knowledge";
222
+ "feature.monitoring": "feature.monitoring";
223
+ "feature.settings": "feature.settings";
224
+ "feature.admin": "feature.admin";
225
+ "feature.archive": "feature.archive";
226
+ "feature.seo": "feature.seo";
227
+ "resource.agent": "resource.agent";
228
+ "resource.workflow": "resource.workflow";
229
+ "resource.integration": "resource.integration";
230
+ "resource.database": "resource.database";
231
+ "resource.user": "resource.user";
232
+ "resource.team": "resource.team";
233
+ "integration.gmail": "integration.gmail";
234
+ "integration.google-sheets": "integration.google-sheets";
235
+ "integration.attio": "integration.attio";
236
+ "surface.dashboard": "surface.dashboard";
237
+ "surface.overview": "surface.overview";
238
+ "surface.command-view": "surface.command-view";
239
+ "surface.command-queue": "surface.command-queue";
240
+ "surface.pipeline": "surface.pipeline";
241
+ "surface.lists": "surface.lists";
242
+ "surface.resources": "surface.resources";
243
+ "surface.settings": "surface.settings";
244
+ "status.success": "status.success";
245
+ "status.error": "status.error";
246
+ "status.warning": "status.warning";
247
+ "status.info": "status.info";
248
+ "status.pending": "status.pending";
249
+ "action.approve": "action.approve";
250
+ "action.reject": "action.reject";
251
+ "action.retry": "action.retry";
252
+ "action.edit": "action.edit";
253
+ "action.view": "action.view";
254
+ "action.launch": "action.launch";
255
+ "action.message": "action.message";
256
+ "action.escalate": "action.escalate";
257
+ "action.promote": "action.promote";
258
+ "action.submit": "action.submit";
259
+ "action.email": "action.email";
260
+ }>, z.ZodString]>>;
75
261
  id: z.ZodString;
76
262
  order: z.ZodNumber;
77
263
  semanticClass: z.ZodEnum<{
@@ -95,7 +281,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
95
281
  label: z.ZodString;
96
282
  description: z.ZodOptional<z.ZodString>;
97
283
  color: z.ZodOptional<z.ZodString>;
98
- icon: z.ZodOptional<z.ZodString>;
284
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
285
+ "nav.dashboard": "nav.dashboard";
286
+ "nav.sales": "nav.sales";
287
+ "nav.crm": "nav.crm";
288
+ "nav.lead-gen": "nav.lead-gen";
289
+ "nav.projects": "nav.projects";
290
+ "nav.operations": "nav.operations";
291
+ "nav.monitoring": "nav.monitoring";
292
+ "nav.knowledge": "nav.knowledge";
293
+ "nav.settings": "nav.settings";
294
+ "nav.admin": "nav.admin";
295
+ "nav.archive": "nav.archive";
296
+ "knowledge.playbook": "knowledge.playbook";
297
+ "knowledge.strategy": "knowledge.strategy";
298
+ "knowledge.reference": "knowledge.reference";
299
+ "feature.dashboard": "feature.dashboard";
300
+ "feature.sales": "feature.sales";
301
+ "feature.crm": "feature.crm";
302
+ "feature.finance": "feature.finance";
303
+ "feature.lead-gen": "feature.lead-gen";
304
+ "feature.platform": "feature.platform";
305
+ "feature.projects": "feature.projects";
306
+ "feature.operations": "feature.operations";
307
+ "feature.knowledge": "feature.knowledge";
308
+ "feature.monitoring": "feature.monitoring";
309
+ "feature.settings": "feature.settings";
310
+ "feature.admin": "feature.admin";
311
+ "feature.archive": "feature.archive";
312
+ "feature.seo": "feature.seo";
313
+ "resource.agent": "resource.agent";
314
+ "resource.workflow": "resource.workflow";
315
+ "resource.integration": "resource.integration";
316
+ "resource.database": "resource.database";
317
+ "resource.user": "resource.user";
318
+ "resource.team": "resource.team";
319
+ "integration.gmail": "integration.gmail";
320
+ "integration.google-sheets": "integration.google-sheets";
321
+ "integration.attio": "integration.attio";
322
+ "surface.dashboard": "surface.dashboard";
323
+ "surface.overview": "surface.overview";
324
+ "surface.command-view": "surface.command-view";
325
+ "surface.command-queue": "surface.command-queue";
326
+ "surface.pipeline": "surface.pipeline";
327
+ "surface.lists": "surface.lists";
328
+ "surface.resources": "surface.resources";
329
+ "surface.settings": "surface.settings";
330
+ "status.success": "status.success";
331
+ "status.error": "status.error";
332
+ "status.warning": "status.warning";
333
+ "status.info": "status.info";
334
+ "status.pending": "status.pending";
335
+ "action.approve": "action.approve";
336
+ "action.reject": "action.reject";
337
+ "action.retry": "action.retry";
338
+ "action.edit": "action.edit";
339
+ "action.view": "action.view";
340
+ "action.launch": "action.launch";
341
+ "action.message": "action.message";
342
+ "action.escalate": "action.escalate";
343
+ "action.promote": "action.promote";
344
+ "action.submit": "action.submit";
345
+ "action.email": "action.email";
346
+ }>, z.ZodString]>>;
99
347
  id: z.ZodString;
100
348
  order: z.ZodNumber;
101
349
  }, z.core.$strip>>;
@@ -103,10 +351,226 @@ declare const OrganizationModelSchema: z.ZodObject<{
103
351
  label: z.ZodString;
104
352
  description: z.ZodOptional<z.ZodString>;
105
353
  color: z.ZodOptional<z.ZodString>;
106
- icon: z.ZodOptional<z.ZodString>;
354
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
355
+ "nav.dashboard": "nav.dashboard";
356
+ "nav.sales": "nav.sales";
357
+ "nav.crm": "nav.crm";
358
+ "nav.lead-gen": "nav.lead-gen";
359
+ "nav.projects": "nav.projects";
360
+ "nav.operations": "nav.operations";
361
+ "nav.monitoring": "nav.monitoring";
362
+ "nav.knowledge": "nav.knowledge";
363
+ "nav.settings": "nav.settings";
364
+ "nav.admin": "nav.admin";
365
+ "nav.archive": "nav.archive";
366
+ "knowledge.playbook": "knowledge.playbook";
367
+ "knowledge.strategy": "knowledge.strategy";
368
+ "knowledge.reference": "knowledge.reference";
369
+ "feature.dashboard": "feature.dashboard";
370
+ "feature.sales": "feature.sales";
371
+ "feature.crm": "feature.crm";
372
+ "feature.finance": "feature.finance";
373
+ "feature.lead-gen": "feature.lead-gen";
374
+ "feature.platform": "feature.platform";
375
+ "feature.projects": "feature.projects";
376
+ "feature.operations": "feature.operations";
377
+ "feature.knowledge": "feature.knowledge";
378
+ "feature.monitoring": "feature.monitoring";
379
+ "feature.settings": "feature.settings";
380
+ "feature.admin": "feature.admin";
381
+ "feature.archive": "feature.archive";
382
+ "feature.seo": "feature.seo";
383
+ "resource.agent": "resource.agent";
384
+ "resource.workflow": "resource.workflow";
385
+ "resource.integration": "resource.integration";
386
+ "resource.database": "resource.database";
387
+ "resource.user": "resource.user";
388
+ "resource.team": "resource.team";
389
+ "integration.gmail": "integration.gmail";
390
+ "integration.google-sheets": "integration.google-sheets";
391
+ "integration.attio": "integration.attio";
392
+ "surface.dashboard": "surface.dashboard";
393
+ "surface.overview": "surface.overview";
394
+ "surface.command-view": "surface.command-view";
395
+ "surface.command-queue": "surface.command-queue";
396
+ "surface.pipeline": "surface.pipeline";
397
+ "surface.lists": "surface.lists";
398
+ "surface.resources": "surface.resources";
399
+ "surface.settings": "surface.settings";
400
+ "status.success": "status.success";
401
+ "status.error": "status.error";
402
+ "status.warning": "status.warning";
403
+ "status.info": "status.info";
404
+ "status.pending": "status.pending";
405
+ "action.approve": "action.approve";
406
+ "action.reject": "action.reject";
407
+ "action.retry": "action.retry";
408
+ "action.edit": "action.edit";
409
+ "action.view": "action.view";
410
+ "action.launch": "action.launch";
411
+ "action.message": "action.message";
412
+ "action.escalate": "action.escalate";
413
+ "action.promote": "action.promote";
414
+ "action.submit": "action.submit";
415
+ "action.email": "action.email";
416
+ }>, z.ZodString]>>;
107
417
  id: z.ZodString;
108
418
  order: z.ZodNumber;
109
419
  }, z.core.$strip>>;
420
+ defaultBuildTemplateId: z.ZodString;
421
+ buildTemplates: z.ZodArray<z.ZodObject<{
422
+ label: z.ZodString;
423
+ description: z.ZodOptional<z.ZodString>;
424
+ color: z.ZodOptional<z.ZodString>;
425
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
426
+ "nav.dashboard": "nav.dashboard";
427
+ "nav.sales": "nav.sales";
428
+ "nav.crm": "nav.crm";
429
+ "nav.lead-gen": "nav.lead-gen";
430
+ "nav.projects": "nav.projects";
431
+ "nav.operations": "nav.operations";
432
+ "nav.monitoring": "nav.monitoring";
433
+ "nav.knowledge": "nav.knowledge";
434
+ "nav.settings": "nav.settings";
435
+ "nav.admin": "nav.admin";
436
+ "nav.archive": "nav.archive";
437
+ "knowledge.playbook": "knowledge.playbook";
438
+ "knowledge.strategy": "knowledge.strategy";
439
+ "knowledge.reference": "knowledge.reference";
440
+ "feature.dashboard": "feature.dashboard";
441
+ "feature.sales": "feature.sales";
442
+ "feature.crm": "feature.crm";
443
+ "feature.finance": "feature.finance";
444
+ "feature.lead-gen": "feature.lead-gen";
445
+ "feature.platform": "feature.platform";
446
+ "feature.projects": "feature.projects";
447
+ "feature.operations": "feature.operations";
448
+ "feature.knowledge": "feature.knowledge";
449
+ "feature.monitoring": "feature.monitoring";
450
+ "feature.settings": "feature.settings";
451
+ "feature.admin": "feature.admin";
452
+ "feature.archive": "feature.archive";
453
+ "feature.seo": "feature.seo";
454
+ "resource.agent": "resource.agent";
455
+ "resource.workflow": "resource.workflow";
456
+ "resource.integration": "resource.integration";
457
+ "resource.database": "resource.database";
458
+ "resource.user": "resource.user";
459
+ "resource.team": "resource.team";
460
+ "integration.gmail": "integration.gmail";
461
+ "integration.google-sheets": "integration.google-sheets";
462
+ "integration.attio": "integration.attio";
463
+ "surface.dashboard": "surface.dashboard";
464
+ "surface.overview": "surface.overview";
465
+ "surface.command-view": "surface.command-view";
466
+ "surface.command-queue": "surface.command-queue";
467
+ "surface.pipeline": "surface.pipeline";
468
+ "surface.lists": "surface.lists";
469
+ "surface.resources": "surface.resources";
470
+ "surface.settings": "surface.settings";
471
+ "status.success": "status.success";
472
+ "status.error": "status.error";
473
+ "status.warning": "status.warning";
474
+ "status.info": "status.info";
475
+ "status.pending": "status.pending";
476
+ "action.approve": "action.approve";
477
+ "action.reject": "action.reject";
478
+ "action.retry": "action.retry";
479
+ "action.edit": "action.edit";
480
+ "action.view": "action.view";
481
+ "action.launch": "action.launch";
482
+ "action.message": "action.message";
483
+ "action.escalate": "action.escalate";
484
+ "action.promote": "action.promote";
485
+ "action.submit": "action.submit";
486
+ "action.email": "action.email";
487
+ }>, z.ZodString]>>;
488
+ id: z.ZodString;
489
+ steps: z.ZodArray<z.ZodObject<{
490
+ label: z.ZodString;
491
+ description: z.ZodOptional<z.ZodString>;
492
+ color: z.ZodOptional<z.ZodString>;
493
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
494
+ "nav.dashboard": "nav.dashboard";
495
+ "nav.sales": "nav.sales";
496
+ "nav.crm": "nav.crm";
497
+ "nav.lead-gen": "nav.lead-gen";
498
+ "nav.projects": "nav.projects";
499
+ "nav.operations": "nav.operations";
500
+ "nav.monitoring": "nav.monitoring";
501
+ "nav.knowledge": "nav.knowledge";
502
+ "nav.settings": "nav.settings";
503
+ "nav.admin": "nav.admin";
504
+ "nav.archive": "nav.archive";
505
+ "knowledge.playbook": "knowledge.playbook";
506
+ "knowledge.strategy": "knowledge.strategy";
507
+ "knowledge.reference": "knowledge.reference";
508
+ "feature.dashboard": "feature.dashboard";
509
+ "feature.sales": "feature.sales";
510
+ "feature.crm": "feature.crm";
511
+ "feature.finance": "feature.finance";
512
+ "feature.lead-gen": "feature.lead-gen";
513
+ "feature.platform": "feature.platform";
514
+ "feature.projects": "feature.projects";
515
+ "feature.operations": "feature.operations";
516
+ "feature.knowledge": "feature.knowledge";
517
+ "feature.monitoring": "feature.monitoring";
518
+ "feature.settings": "feature.settings";
519
+ "feature.admin": "feature.admin";
520
+ "feature.archive": "feature.archive";
521
+ "feature.seo": "feature.seo";
522
+ "resource.agent": "resource.agent";
523
+ "resource.workflow": "resource.workflow";
524
+ "resource.integration": "resource.integration";
525
+ "resource.database": "resource.database";
526
+ "resource.user": "resource.user";
527
+ "resource.team": "resource.team";
528
+ "integration.gmail": "integration.gmail";
529
+ "integration.google-sheets": "integration.google-sheets";
530
+ "integration.attio": "integration.attio";
531
+ "surface.dashboard": "surface.dashboard";
532
+ "surface.overview": "surface.overview";
533
+ "surface.command-view": "surface.command-view";
534
+ "surface.command-queue": "surface.command-queue";
535
+ "surface.pipeline": "surface.pipeline";
536
+ "surface.lists": "surface.lists";
537
+ "surface.resources": "surface.resources";
538
+ "surface.settings": "surface.settings";
539
+ "status.success": "status.success";
540
+ "status.error": "status.error";
541
+ "status.warning": "status.warning";
542
+ "status.info": "status.info";
543
+ "status.pending": "status.pending";
544
+ "action.approve": "action.approve";
545
+ "action.reject": "action.reject";
546
+ "action.retry": "action.retry";
547
+ "action.edit": "action.edit";
548
+ "action.view": "action.view";
549
+ "action.launch": "action.launch";
550
+ "action.message": "action.message";
551
+ "action.escalate": "action.escalate";
552
+ "action.promote": "action.promote";
553
+ "action.submit": "action.submit";
554
+ "action.email": "action.email";
555
+ }>, z.ZodString]>>;
556
+ id: z.ZodString;
557
+ primaryEntity: z.ZodEnum<{
558
+ company: "company";
559
+ contact: "contact";
560
+ }>;
561
+ outputs: z.ZodArray<z.ZodEnum<{
562
+ company: "company";
563
+ contact: "contact";
564
+ export: "export";
565
+ }>>;
566
+ stageKey: z.ZodString;
567
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
568
+ dependencyMode: z.ZodLiteral<"per-record-eligibility">;
569
+ capabilityKey: z.ZodString;
570
+ defaultBatchSize: z.ZodNumber;
571
+ maxBatchSize: z.ZodNumber;
572
+ }, z.core.$strip>>;
573
+ }, z.core.$strip>>;
110
574
  }, z.core.$strip>;
111
575
  projects: z.ZodObject<{
112
576
  projectEntityId: z.ZodString;
@@ -116,7 +580,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
116
580
  label: z.ZodString;
117
581
  description: z.ZodOptional<z.ZodString>;
118
582
  color: z.ZodOptional<z.ZodString>;
119
- icon: z.ZodOptional<z.ZodString>;
583
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
584
+ "nav.dashboard": "nav.dashboard";
585
+ "nav.sales": "nav.sales";
586
+ "nav.crm": "nav.crm";
587
+ "nav.lead-gen": "nav.lead-gen";
588
+ "nav.projects": "nav.projects";
589
+ "nav.operations": "nav.operations";
590
+ "nav.monitoring": "nav.monitoring";
591
+ "nav.knowledge": "nav.knowledge";
592
+ "nav.settings": "nav.settings";
593
+ "nav.admin": "nav.admin";
594
+ "nav.archive": "nav.archive";
595
+ "knowledge.playbook": "knowledge.playbook";
596
+ "knowledge.strategy": "knowledge.strategy";
597
+ "knowledge.reference": "knowledge.reference";
598
+ "feature.dashboard": "feature.dashboard";
599
+ "feature.sales": "feature.sales";
600
+ "feature.crm": "feature.crm";
601
+ "feature.finance": "feature.finance";
602
+ "feature.lead-gen": "feature.lead-gen";
603
+ "feature.platform": "feature.platform";
604
+ "feature.projects": "feature.projects";
605
+ "feature.operations": "feature.operations";
606
+ "feature.knowledge": "feature.knowledge";
607
+ "feature.monitoring": "feature.monitoring";
608
+ "feature.settings": "feature.settings";
609
+ "feature.admin": "feature.admin";
610
+ "feature.archive": "feature.archive";
611
+ "feature.seo": "feature.seo";
612
+ "resource.agent": "resource.agent";
613
+ "resource.workflow": "resource.workflow";
614
+ "resource.integration": "resource.integration";
615
+ "resource.database": "resource.database";
616
+ "resource.user": "resource.user";
617
+ "resource.team": "resource.team";
618
+ "integration.gmail": "integration.gmail";
619
+ "integration.google-sheets": "integration.google-sheets";
620
+ "integration.attio": "integration.attio";
621
+ "surface.dashboard": "surface.dashboard";
622
+ "surface.overview": "surface.overview";
623
+ "surface.command-view": "surface.command-view";
624
+ "surface.command-queue": "surface.command-queue";
625
+ "surface.pipeline": "surface.pipeline";
626
+ "surface.lists": "surface.lists";
627
+ "surface.resources": "surface.resources";
628
+ "surface.settings": "surface.settings";
629
+ "status.success": "status.success";
630
+ "status.error": "status.error";
631
+ "status.warning": "status.warning";
632
+ "status.info": "status.info";
633
+ "status.pending": "status.pending";
634
+ "action.approve": "action.approve";
635
+ "action.reject": "action.reject";
636
+ "action.retry": "action.retry";
637
+ "action.edit": "action.edit";
638
+ "action.view": "action.view";
639
+ "action.launch": "action.launch";
640
+ "action.message": "action.message";
641
+ "action.escalate": "action.escalate";
642
+ "action.promote": "action.promote";
643
+ "action.submit": "action.submit";
644
+ "action.email": "action.email";
645
+ }>, z.ZodString]>>;
120
646
  id: z.ZodString;
121
647
  order: z.ZodNumber;
122
648
  }, z.core.$strip>>;
@@ -124,7 +650,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
124
650
  label: z.ZodString;
125
651
  description: z.ZodOptional<z.ZodString>;
126
652
  color: z.ZodOptional<z.ZodString>;
127
- icon: z.ZodOptional<z.ZodString>;
653
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
654
+ "nav.dashboard": "nav.dashboard";
655
+ "nav.sales": "nav.sales";
656
+ "nav.crm": "nav.crm";
657
+ "nav.lead-gen": "nav.lead-gen";
658
+ "nav.projects": "nav.projects";
659
+ "nav.operations": "nav.operations";
660
+ "nav.monitoring": "nav.monitoring";
661
+ "nav.knowledge": "nav.knowledge";
662
+ "nav.settings": "nav.settings";
663
+ "nav.admin": "nav.admin";
664
+ "nav.archive": "nav.archive";
665
+ "knowledge.playbook": "knowledge.playbook";
666
+ "knowledge.strategy": "knowledge.strategy";
667
+ "knowledge.reference": "knowledge.reference";
668
+ "feature.dashboard": "feature.dashboard";
669
+ "feature.sales": "feature.sales";
670
+ "feature.crm": "feature.crm";
671
+ "feature.finance": "feature.finance";
672
+ "feature.lead-gen": "feature.lead-gen";
673
+ "feature.platform": "feature.platform";
674
+ "feature.projects": "feature.projects";
675
+ "feature.operations": "feature.operations";
676
+ "feature.knowledge": "feature.knowledge";
677
+ "feature.monitoring": "feature.monitoring";
678
+ "feature.settings": "feature.settings";
679
+ "feature.admin": "feature.admin";
680
+ "feature.archive": "feature.archive";
681
+ "feature.seo": "feature.seo";
682
+ "resource.agent": "resource.agent";
683
+ "resource.workflow": "resource.workflow";
684
+ "resource.integration": "resource.integration";
685
+ "resource.database": "resource.database";
686
+ "resource.user": "resource.user";
687
+ "resource.team": "resource.team";
688
+ "integration.gmail": "integration.gmail";
689
+ "integration.google-sheets": "integration.google-sheets";
690
+ "integration.attio": "integration.attio";
691
+ "surface.dashboard": "surface.dashboard";
692
+ "surface.overview": "surface.overview";
693
+ "surface.command-view": "surface.command-view";
694
+ "surface.command-queue": "surface.command-queue";
695
+ "surface.pipeline": "surface.pipeline";
696
+ "surface.lists": "surface.lists";
697
+ "surface.resources": "surface.resources";
698
+ "surface.settings": "surface.settings";
699
+ "status.success": "status.success";
700
+ "status.error": "status.error";
701
+ "status.warning": "status.warning";
702
+ "status.info": "status.info";
703
+ "status.pending": "status.pending";
704
+ "action.approve": "action.approve";
705
+ "action.reject": "action.reject";
706
+ "action.retry": "action.retry";
707
+ "action.edit": "action.edit";
708
+ "action.view": "action.view";
709
+ "action.launch": "action.launch";
710
+ "action.message": "action.message";
711
+ "action.escalate": "action.escalate";
712
+ "action.promote": "action.promote";
713
+ "action.submit": "action.submit";
714
+ "action.email": "action.email";
715
+ }>, z.ZodString]>>;
128
716
  id: z.ZodString;
129
717
  order: z.ZodNumber;
130
718
  }, z.core.$strip>>;
@@ -132,7 +720,69 @@ declare const OrganizationModelSchema: z.ZodObject<{
132
720
  label: z.ZodString;
133
721
  description: z.ZodOptional<z.ZodString>;
134
722
  color: z.ZodOptional<z.ZodString>;
135
- icon: z.ZodOptional<z.ZodString>;
723
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
724
+ "nav.dashboard": "nav.dashboard";
725
+ "nav.sales": "nav.sales";
726
+ "nav.crm": "nav.crm";
727
+ "nav.lead-gen": "nav.lead-gen";
728
+ "nav.projects": "nav.projects";
729
+ "nav.operations": "nav.operations";
730
+ "nav.monitoring": "nav.monitoring";
731
+ "nav.knowledge": "nav.knowledge";
732
+ "nav.settings": "nav.settings";
733
+ "nav.admin": "nav.admin";
734
+ "nav.archive": "nav.archive";
735
+ "knowledge.playbook": "knowledge.playbook";
736
+ "knowledge.strategy": "knowledge.strategy";
737
+ "knowledge.reference": "knowledge.reference";
738
+ "feature.dashboard": "feature.dashboard";
739
+ "feature.sales": "feature.sales";
740
+ "feature.crm": "feature.crm";
741
+ "feature.finance": "feature.finance";
742
+ "feature.lead-gen": "feature.lead-gen";
743
+ "feature.platform": "feature.platform";
744
+ "feature.projects": "feature.projects";
745
+ "feature.operations": "feature.operations";
746
+ "feature.knowledge": "feature.knowledge";
747
+ "feature.monitoring": "feature.monitoring";
748
+ "feature.settings": "feature.settings";
749
+ "feature.admin": "feature.admin";
750
+ "feature.archive": "feature.archive";
751
+ "feature.seo": "feature.seo";
752
+ "resource.agent": "resource.agent";
753
+ "resource.workflow": "resource.workflow";
754
+ "resource.integration": "resource.integration";
755
+ "resource.database": "resource.database";
756
+ "resource.user": "resource.user";
757
+ "resource.team": "resource.team";
758
+ "integration.gmail": "integration.gmail";
759
+ "integration.google-sheets": "integration.google-sheets";
760
+ "integration.attio": "integration.attio";
761
+ "surface.dashboard": "surface.dashboard";
762
+ "surface.overview": "surface.overview";
763
+ "surface.command-view": "surface.command-view";
764
+ "surface.command-queue": "surface.command-queue";
765
+ "surface.pipeline": "surface.pipeline";
766
+ "surface.lists": "surface.lists";
767
+ "surface.resources": "surface.resources";
768
+ "surface.settings": "surface.settings";
769
+ "status.success": "status.success";
770
+ "status.error": "status.error";
771
+ "status.warning": "status.warning";
772
+ "status.info": "status.info";
773
+ "status.pending": "status.pending";
774
+ "action.approve": "action.approve";
775
+ "action.reject": "action.reject";
776
+ "action.retry": "action.retry";
777
+ "action.edit": "action.edit";
778
+ "action.view": "action.view";
779
+ "action.launch": "action.launch";
780
+ "action.message": "action.message";
781
+ "action.escalate": "action.escalate";
782
+ "action.promote": "action.promote";
783
+ "action.submit": "action.submit";
784
+ "action.email": "action.email";
785
+ }>, z.ZodString]>>;
136
786
  id: z.ZodString;
137
787
  order: z.ZodNumber;
138
788
  }, z.core.$strip>>;
@@ -267,6 +917,87 @@ declare const OrganizationModelSchema: z.ZodObject<{
267
917
  supportedStatusSemanticClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
268
918
  }, z.core.$strip>>>;
269
919
  }, z.core.$strip>>;
920
+ knowledge: z.ZodDefault<z.ZodObject<{
921
+ nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
922
+ id: z.ZodString;
923
+ kind: z.ZodEnum<{
924
+ playbook: "playbook";
925
+ strategy: "strategy";
926
+ reference: "reference";
927
+ }>;
928
+ title: z.ZodString;
929
+ summary: z.ZodString;
930
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
931
+ "nav.dashboard": "nav.dashboard";
932
+ "nav.sales": "nav.sales";
933
+ "nav.crm": "nav.crm";
934
+ "nav.lead-gen": "nav.lead-gen";
935
+ "nav.projects": "nav.projects";
936
+ "nav.operations": "nav.operations";
937
+ "nav.monitoring": "nav.monitoring";
938
+ "nav.knowledge": "nav.knowledge";
939
+ "nav.settings": "nav.settings";
940
+ "nav.admin": "nav.admin";
941
+ "nav.archive": "nav.archive";
942
+ "knowledge.playbook": "knowledge.playbook";
943
+ "knowledge.strategy": "knowledge.strategy";
944
+ "knowledge.reference": "knowledge.reference";
945
+ "feature.dashboard": "feature.dashboard";
946
+ "feature.sales": "feature.sales";
947
+ "feature.crm": "feature.crm";
948
+ "feature.finance": "feature.finance";
949
+ "feature.lead-gen": "feature.lead-gen";
950
+ "feature.platform": "feature.platform";
951
+ "feature.projects": "feature.projects";
952
+ "feature.operations": "feature.operations";
953
+ "feature.knowledge": "feature.knowledge";
954
+ "feature.monitoring": "feature.monitoring";
955
+ "feature.settings": "feature.settings";
956
+ "feature.admin": "feature.admin";
957
+ "feature.archive": "feature.archive";
958
+ "feature.seo": "feature.seo";
959
+ "resource.agent": "resource.agent";
960
+ "resource.workflow": "resource.workflow";
961
+ "resource.integration": "resource.integration";
962
+ "resource.database": "resource.database";
963
+ "resource.user": "resource.user";
964
+ "resource.team": "resource.team";
965
+ "integration.gmail": "integration.gmail";
966
+ "integration.google-sheets": "integration.google-sheets";
967
+ "integration.attio": "integration.attio";
968
+ "surface.dashboard": "surface.dashboard";
969
+ "surface.overview": "surface.overview";
970
+ "surface.command-view": "surface.command-view";
971
+ "surface.command-queue": "surface.command-queue";
972
+ "surface.pipeline": "surface.pipeline";
973
+ "surface.lists": "surface.lists";
974
+ "surface.resources": "surface.resources";
975
+ "surface.settings": "surface.settings";
976
+ "status.success": "status.success";
977
+ "status.error": "status.error";
978
+ "status.warning": "status.warning";
979
+ "status.info": "status.info";
980
+ "status.pending": "status.pending";
981
+ "action.approve": "action.approve";
982
+ "action.reject": "action.reject";
983
+ "action.retry": "action.retry";
984
+ "action.edit": "action.edit";
985
+ "action.view": "action.view";
986
+ "action.launch": "action.launch";
987
+ "action.message": "action.message";
988
+ "action.escalate": "action.escalate";
989
+ "action.promote": "action.promote";
990
+ "action.submit": "action.submit";
991
+ "action.email": "action.email";
992
+ }>, z.ZodString]>>;
993
+ body: z.ZodString;
994
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
995
+ nodeId: z.ZodString;
996
+ }, z.core.$strip>>>;
997
+ ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
998
+ updatedAt: z.ZodString;
999
+ }, z.core.$strip>>>;
1000
+ }, z.core.$strip>>;
270
1001
  }, z.core.$strip>;
271
1002
 
272
1003
  declare const NodeIdPathSchema: z.ZodString;
@@ -281,7 +1012,69 @@ declare const FeatureSchema: z.ZodObject<{
281
1012
  description: z.ZodOptional<z.ZodString>;
282
1013
  enabled: z.ZodDefault<z.ZodBoolean>;
283
1014
  path: z.ZodOptional<z.ZodString>;
284
- icon: z.ZodOptional<z.ZodString>;
1015
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1016
+ "nav.dashboard": "nav.dashboard";
1017
+ "nav.sales": "nav.sales";
1018
+ "nav.crm": "nav.crm";
1019
+ "nav.lead-gen": "nav.lead-gen";
1020
+ "nav.projects": "nav.projects";
1021
+ "nav.operations": "nav.operations";
1022
+ "nav.monitoring": "nav.monitoring";
1023
+ "nav.knowledge": "nav.knowledge";
1024
+ "nav.settings": "nav.settings";
1025
+ "nav.admin": "nav.admin";
1026
+ "nav.archive": "nav.archive";
1027
+ "knowledge.playbook": "knowledge.playbook";
1028
+ "knowledge.strategy": "knowledge.strategy";
1029
+ "knowledge.reference": "knowledge.reference";
1030
+ "feature.dashboard": "feature.dashboard";
1031
+ "feature.sales": "feature.sales";
1032
+ "feature.crm": "feature.crm";
1033
+ "feature.finance": "feature.finance";
1034
+ "feature.lead-gen": "feature.lead-gen";
1035
+ "feature.platform": "feature.platform";
1036
+ "feature.projects": "feature.projects";
1037
+ "feature.operations": "feature.operations";
1038
+ "feature.knowledge": "feature.knowledge";
1039
+ "feature.monitoring": "feature.monitoring";
1040
+ "feature.settings": "feature.settings";
1041
+ "feature.admin": "feature.admin";
1042
+ "feature.archive": "feature.archive";
1043
+ "feature.seo": "feature.seo";
1044
+ "resource.agent": "resource.agent";
1045
+ "resource.workflow": "resource.workflow";
1046
+ "resource.integration": "resource.integration";
1047
+ "resource.database": "resource.database";
1048
+ "resource.user": "resource.user";
1049
+ "resource.team": "resource.team";
1050
+ "integration.gmail": "integration.gmail";
1051
+ "integration.google-sheets": "integration.google-sheets";
1052
+ "integration.attio": "integration.attio";
1053
+ "surface.dashboard": "surface.dashboard";
1054
+ "surface.overview": "surface.overview";
1055
+ "surface.command-view": "surface.command-view";
1056
+ "surface.command-queue": "surface.command-queue";
1057
+ "surface.pipeline": "surface.pipeline";
1058
+ "surface.lists": "surface.lists";
1059
+ "surface.resources": "surface.resources";
1060
+ "surface.settings": "surface.settings";
1061
+ "status.success": "status.success";
1062
+ "status.error": "status.error";
1063
+ "status.warning": "status.warning";
1064
+ "status.info": "status.info";
1065
+ "status.pending": "status.pending";
1066
+ "action.approve": "action.approve";
1067
+ "action.reject": "action.reject";
1068
+ "action.retry": "action.retry";
1069
+ "action.edit": "action.edit";
1070
+ "action.view": "action.view";
1071
+ "action.launch": "action.launch";
1072
+ "action.message": "action.message";
1073
+ "action.escalate": "action.escalate";
1074
+ "action.promote": "action.promote";
1075
+ "action.submit": "action.submit";
1076
+ "action.email": "action.email";
1077
+ }>, z.ZodString]>>;
285
1078
  color: z.ZodOptional<z.ZodString>;
286
1079
  uiPosition: z.ZodOptional<z.ZodEnum<{
287
1080
  "sidebar-primary": "sidebar-primary";
@@ -300,9 +1093,73 @@ declare const LinkSchema: z.ZodObject<{
300
1093
  maps_to: "maps_to";
301
1094
  "operates-on": "operates-on";
302
1095
  uses: "uses";
1096
+ governs: "governs";
303
1097
  }>;
304
1098
  }, z.core.$strip>;
305
1099
 
1100
+ declare const IconNameSchema: z.ZodUnion<readonly [z.ZodEnum<{
1101
+ "nav.dashboard": "nav.dashboard";
1102
+ "nav.sales": "nav.sales";
1103
+ "nav.crm": "nav.crm";
1104
+ "nav.lead-gen": "nav.lead-gen";
1105
+ "nav.projects": "nav.projects";
1106
+ "nav.operations": "nav.operations";
1107
+ "nav.monitoring": "nav.monitoring";
1108
+ "nav.knowledge": "nav.knowledge";
1109
+ "nav.settings": "nav.settings";
1110
+ "nav.admin": "nav.admin";
1111
+ "nav.archive": "nav.archive";
1112
+ "knowledge.playbook": "knowledge.playbook";
1113
+ "knowledge.strategy": "knowledge.strategy";
1114
+ "knowledge.reference": "knowledge.reference";
1115
+ "feature.dashboard": "feature.dashboard";
1116
+ "feature.sales": "feature.sales";
1117
+ "feature.crm": "feature.crm";
1118
+ "feature.finance": "feature.finance";
1119
+ "feature.lead-gen": "feature.lead-gen";
1120
+ "feature.platform": "feature.platform";
1121
+ "feature.projects": "feature.projects";
1122
+ "feature.operations": "feature.operations";
1123
+ "feature.knowledge": "feature.knowledge";
1124
+ "feature.monitoring": "feature.monitoring";
1125
+ "feature.settings": "feature.settings";
1126
+ "feature.admin": "feature.admin";
1127
+ "feature.archive": "feature.archive";
1128
+ "feature.seo": "feature.seo";
1129
+ "resource.agent": "resource.agent";
1130
+ "resource.workflow": "resource.workflow";
1131
+ "resource.integration": "resource.integration";
1132
+ "resource.database": "resource.database";
1133
+ "resource.user": "resource.user";
1134
+ "resource.team": "resource.team";
1135
+ "integration.gmail": "integration.gmail";
1136
+ "integration.google-sheets": "integration.google-sheets";
1137
+ "integration.attio": "integration.attio";
1138
+ "surface.dashboard": "surface.dashboard";
1139
+ "surface.overview": "surface.overview";
1140
+ "surface.command-view": "surface.command-view";
1141
+ "surface.command-queue": "surface.command-queue";
1142
+ "surface.pipeline": "surface.pipeline";
1143
+ "surface.lists": "surface.lists";
1144
+ "surface.resources": "surface.resources";
1145
+ "surface.settings": "surface.settings";
1146
+ "status.success": "status.success";
1147
+ "status.error": "status.error";
1148
+ "status.warning": "status.warning";
1149
+ "status.info": "status.info";
1150
+ "status.pending": "status.pending";
1151
+ "action.approve": "action.approve";
1152
+ "action.reject": "action.reject";
1153
+ "action.retry": "action.retry";
1154
+ "action.edit": "action.edit";
1155
+ "action.view": "action.view";
1156
+ "action.launch": "action.launch";
1157
+ "action.message": "action.message";
1158
+ "action.escalate": "action.escalate";
1159
+ "action.promote": "action.promote";
1160
+ "action.submit": "action.submit";
1161
+ "action.email": "action.email";
1162
+ }>, z.ZodString]>;
306
1163
  declare const TechStackEntrySchema: z.ZodObject<{
307
1164
  platform: z.ZodString;
308
1165
  purpose: z.ZodString;
@@ -315,6 +1172,136 @@ declare const TechStackEntrySchema: z.ZodObject<{
315
1172
  isSystemOfRecord: z.ZodDefault<z.ZodBoolean>;
316
1173
  }, z.core.$strip>;
317
1174
 
1175
+ declare const ORGANIZATION_MODEL_ICON_TOKENS: readonly ["nav.dashboard", "nav.sales", "nav.crm", "nav.lead-gen", "nav.projects", "nav.operations", "nav.monitoring", "nav.knowledge", "nav.settings", "nav.admin", "nav.archive", "knowledge.playbook", "knowledge.strategy", "knowledge.reference", "feature.dashboard", "feature.sales", "feature.crm", "feature.finance", "feature.lead-gen", "feature.platform", "feature.projects", "feature.operations", "feature.knowledge", "feature.monitoring", "feature.settings", "feature.admin", "feature.archive", "feature.seo", "resource.agent", "resource.workflow", "resource.integration", "resource.database", "resource.user", "resource.team", "integration.gmail", "integration.google-sheets", "integration.attio", "surface.dashboard", "surface.overview", "surface.command-view", "surface.command-queue", "surface.pipeline", "surface.lists", "surface.resources", "surface.settings", "status.success", "status.error", "status.warning", "status.info", "status.pending", "action.approve", "action.reject", "action.retry", "action.edit", "action.view", "action.launch", "action.message", "action.escalate", "action.promote", "action.submit", "action.email"];
1176
+ declare const OrganizationModelBuiltinIconTokenSchema: z.ZodEnum<{
1177
+ "nav.dashboard": "nav.dashboard";
1178
+ "nav.sales": "nav.sales";
1179
+ "nav.crm": "nav.crm";
1180
+ "nav.lead-gen": "nav.lead-gen";
1181
+ "nav.projects": "nav.projects";
1182
+ "nav.operations": "nav.operations";
1183
+ "nav.monitoring": "nav.monitoring";
1184
+ "nav.knowledge": "nav.knowledge";
1185
+ "nav.settings": "nav.settings";
1186
+ "nav.admin": "nav.admin";
1187
+ "nav.archive": "nav.archive";
1188
+ "knowledge.playbook": "knowledge.playbook";
1189
+ "knowledge.strategy": "knowledge.strategy";
1190
+ "knowledge.reference": "knowledge.reference";
1191
+ "feature.dashboard": "feature.dashboard";
1192
+ "feature.sales": "feature.sales";
1193
+ "feature.crm": "feature.crm";
1194
+ "feature.finance": "feature.finance";
1195
+ "feature.lead-gen": "feature.lead-gen";
1196
+ "feature.platform": "feature.platform";
1197
+ "feature.projects": "feature.projects";
1198
+ "feature.operations": "feature.operations";
1199
+ "feature.knowledge": "feature.knowledge";
1200
+ "feature.monitoring": "feature.monitoring";
1201
+ "feature.settings": "feature.settings";
1202
+ "feature.admin": "feature.admin";
1203
+ "feature.archive": "feature.archive";
1204
+ "feature.seo": "feature.seo";
1205
+ "resource.agent": "resource.agent";
1206
+ "resource.workflow": "resource.workflow";
1207
+ "resource.integration": "resource.integration";
1208
+ "resource.database": "resource.database";
1209
+ "resource.user": "resource.user";
1210
+ "resource.team": "resource.team";
1211
+ "integration.gmail": "integration.gmail";
1212
+ "integration.google-sheets": "integration.google-sheets";
1213
+ "integration.attio": "integration.attio";
1214
+ "surface.dashboard": "surface.dashboard";
1215
+ "surface.overview": "surface.overview";
1216
+ "surface.command-view": "surface.command-view";
1217
+ "surface.command-queue": "surface.command-queue";
1218
+ "surface.pipeline": "surface.pipeline";
1219
+ "surface.lists": "surface.lists";
1220
+ "surface.resources": "surface.resources";
1221
+ "surface.settings": "surface.settings";
1222
+ "status.success": "status.success";
1223
+ "status.error": "status.error";
1224
+ "status.warning": "status.warning";
1225
+ "status.info": "status.info";
1226
+ "status.pending": "status.pending";
1227
+ "action.approve": "action.approve";
1228
+ "action.reject": "action.reject";
1229
+ "action.retry": "action.retry";
1230
+ "action.edit": "action.edit";
1231
+ "action.view": "action.view";
1232
+ "action.launch": "action.launch";
1233
+ "action.message": "action.message";
1234
+ "action.escalate": "action.escalate";
1235
+ "action.promote": "action.promote";
1236
+ "action.submit": "action.submit";
1237
+ "action.email": "action.email";
1238
+ }>;
1239
+ declare const OrganizationModelIconTokenSchema: z.ZodUnion<readonly [z.ZodEnum<{
1240
+ "nav.dashboard": "nav.dashboard";
1241
+ "nav.sales": "nav.sales";
1242
+ "nav.crm": "nav.crm";
1243
+ "nav.lead-gen": "nav.lead-gen";
1244
+ "nav.projects": "nav.projects";
1245
+ "nav.operations": "nav.operations";
1246
+ "nav.monitoring": "nav.monitoring";
1247
+ "nav.knowledge": "nav.knowledge";
1248
+ "nav.settings": "nav.settings";
1249
+ "nav.admin": "nav.admin";
1250
+ "nav.archive": "nav.archive";
1251
+ "knowledge.playbook": "knowledge.playbook";
1252
+ "knowledge.strategy": "knowledge.strategy";
1253
+ "knowledge.reference": "knowledge.reference";
1254
+ "feature.dashboard": "feature.dashboard";
1255
+ "feature.sales": "feature.sales";
1256
+ "feature.crm": "feature.crm";
1257
+ "feature.finance": "feature.finance";
1258
+ "feature.lead-gen": "feature.lead-gen";
1259
+ "feature.platform": "feature.platform";
1260
+ "feature.projects": "feature.projects";
1261
+ "feature.operations": "feature.operations";
1262
+ "feature.knowledge": "feature.knowledge";
1263
+ "feature.monitoring": "feature.monitoring";
1264
+ "feature.settings": "feature.settings";
1265
+ "feature.admin": "feature.admin";
1266
+ "feature.archive": "feature.archive";
1267
+ "feature.seo": "feature.seo";
1268
+ "resource.agent": "resource.agent";
1269
+ "resource.workflow": "resource.workflow";
1270
+ "resource.integration": "resource.integration";
1271
+ "resource.database": "resource.database";
1272
+ "resource.user": "resource.user";
1273
+ "resource.team": "resource.team";
1274
+ "integration.gmail": "integration.gmail";
1275
+ "integration.google-sheets": "integration.google-sheets";
1276
+ "integration.attio": "integration.attio";
1277
+ "surface.dashboard": "surface.dashboard";
1278
+ "surface.overview": "surface.overview";
1279
+ "surface.command-view": "surface.command-view";
1280
+ "surface.command-queue": "surface.command-queue";
1281
+ "surface.pipeline": "surface.pipeline";
1282
+ "surface.lists": "surface.lists";
1283
+ "surface.resources": "surface.resources";
1284
+ "surface.settings": "surface.settings";
1285
+ "status.success": "status.success";
1286
+ "status.error": "status.error";
1287
+ "status.warning": "status.warning";
1288
+ "status.info": "status.info";
1289
+ "status.pending": "status.pending";
1290
+ "action.approve": "action.approve";
1291
+ "action.reject": "action.reject";
1292
+ "action.retry": "action.retry";
1293
+ "action.edit": "action.edit";
1294
+ "action.view": "action.view";
1295
+ "action.launch": "action.launch";
1296
+ "action.message": "action.message";
1297
+ "action.escalate": "action.escalate";
1298
+ "action.promote": "action.promote";
1299
+ "action.submit": "action.submit";
1300
+ "action.email": "action.email";
1301
+ }>, z.ZodString]>;
1302
+ type OrganizationModelBuiltinIconToken$1 = (typeof ORGANIZATION_MODEL_ICON_TOKENS)[number];
1303
+
1304
+ declare const KNOWLEDGE_FEATURE_ID: "knowledge";
318
1305
  declare const PROJECTS_FEATURE_ID: "projects";
319
1306
  declare const PROJECTS_INDEX_SURFACE_ID: "projects.index";
320
1307
  declare const PROJECTS_VIEW_CAPABILITY_ID: "delivery.projects.view";
@@ -326,7 +1313,7 @@ declare const SETTINGS_FEATURE_ID: "settings";
326
1313
  declare const SEO_FEATURE_ID: "seo";
327
1314
  declare const SALES_PIPELINE_SURFACE_ID: "crm.pipeline";
328
1315
  declare const PROSPECTING_LISTS_SURFACE_ID: "lead-gen.lists";
329
- declare const OPERATIONS_COMMAND_VIEW_SURFACE_ID: "operations.command-view";
1316
+ declare const OPERATIONS_COMMAND_VIEW_SURFACE_ID: "knowledge.command-view";
330
1317
  declare const SETTINGS_ROLES_SURFACE_ID: "settings.roles";
331
1318
 
332
1319
  declare const OrganizationModelBrandingSchema: z.ZodObject<{
@@ -352,7 +1339,69 @@ declare const OrganizationModelSalesSchema: z.ZodObject<{
352
1339
  label: z.ZodString;
353
1340
  description: z.ZodOptional<z.ZodString>;
354
1341
  color: z.ZodOptional<z.ZodString>;
355
- icon: z.ZodOptional<z.ZodString>;
1342
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1343
+ "nav.dashboard": "nav.dashboard";
1344
+ "nav.sales": "nav.sales";
1345
+ "nav.crm": "nav.crm";
1346
+ "nav.lead-gen": "nav.lead-gen";
1347
+ "nav.projects": "nav.projects";
1348
+ "nav.operations": "nav.operations";
1349
+ "nav.monitoring": "nav.monitoring";
1350
+ "nav.knowledge": "nav.knowledge";
1351
+ "nav.settings": "nav.settings";
1352
+ "nav.admin": "nav.admin";
1353
+ "nav.archive": "nav.archive";
1354
+ "knowledge.playbook": "knowledge.playbook";
1355
+ "knowledge.strategy": "knowledge.strategy";
1356
+ "knowledge.reference": "knowledge.reference";
1357
+ "feature.dashboard": "feature.dashboard";
1358
+ "feature.sales": "feature.sales";
1359
+ "feature.crm": "feature.crm";
1360
+ "feature.finance": "feature.finance";
1361
+ "feature.lead-gen": "feature.lead-gen";
1362
+ "feature.platform": "feature.platform";
1363
+ "feature.projects": "feature.projects";
1364
+ "feature.operations": "feature.operations";
1365
+ "feature.knowledge": "feature.knowledge";
1366
+ "feature.monitoring": "feature.monitoring";
1367
+ "feature.settings": "feature.settings";
1368
+ "feature.admin": "feature.admin";
1369
+ "feature.archive": "feature.archive";
1370
+ "feature.seo": "feature.seo";
1371
+ "resource.agent": "resource.agent";
1372
+ "resource.workflow": "resource.workflow";
1373
+ "resource.integration": "resource.integration";
1374
+ "resource.database": "resource.database";
1375
+ "resource.user": "resource.user";
1376
+ "resource.team": "resource.team";
1377
+ "integration.gmail": "integration.gmail";
1378
+ "integration.google-sheets": "integration.google-sheets";
1379
+ "integration.attio": "integration.attio";
1380
+ "surface.dashboard": "surface.dashboard";
1381
+ "surface.overview": "surface.overview";
1382
+ "surface.command-view": "surface.command-view";
1383
+ "surface.command-queue": "surface.command-queue";
1384
+ "surface.pipeline": "surface.pipeline";
1385
+ "surface.lists": "surface.lists";
1386
+ "surface.resources": "surface.resources";
1387
+ "surface.settings": "surface.settings";
1388
+ "status.success": "status.success";
1389
+ "status.error": "status.error";
1390
+ "status.warning": "status.warning";
1391
+ "status.info": "status.info";
1392
+ "status.pending": "status.pending";
1393
+ "action.approve": "action.approve";
1394
+ "action.reject": "action.reject";
1395
+ "action.retry": "action.retry";
1396
+ "action.edit": "action.edit";
1397
+ "action.view": "action.view";
1398
+ "action.launch": "action.launch";
1399
+ "action.message": "action.message";
1400
+ "action.escalate": "action.escalate";
1401
+ "action.promote": "action.promote";
1402
+ "action.submit": "action.submit";
1403
+ "action.email": "action.email";
1404
+ }>, z.ZodString]>>;
356
1405
  id: z.ZodString;
357
1406
  order: z.ZodNumber;
358
1407
  semanticClass: z.ZodEnum<{
@@ -376,7 +1425,69 @@ declare const OrganizationModelProjectsSchema: z.ZodObject<{
376
1425
  label: z.ZodString;
377
1426
  description: z.ZodOptional<z.ZodString>;
378
1427
  color: z.ZodOptional<z.ZodString>;
379
- icon: z.ZodOptional<z.ZodString>;
1428
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1429
+ "nav.dashboard": "nav.dashboard";
1430
+ "nav.sales": "nav.sales";
1431
+ "nav.crm": "nav.crm";
1432
+ "nav.lead-gen": "nav.lead-gen";
1433
+ "nav.projects": "nav.projects";
1434
+ "nav.operations": "nav.operations";
1435
+ "nav.monitoring": "nav.monitoring";
1436
+ "nav.knowledge": "nav.knowledge";
1437
+ "nav.settings": "nav.settings";
1438
+ "nav.admin": "nav.admin";
1439
+ "nav.archive": "nav.archive";
1440
+ "knowledge.playbook": "knowledge.playbook";
1441
+ "knowledge.strategy": "knowledge.strategy";
1442
+ "knowledge.reference": "knowledge.reference";
1443
+ "feature.dashboard": "feature.dashboard";
1444
+ "feature.sales": "feature.sales";
1445
+ "feature.crm": "feature.crm";
1446
+ "feature.finance": "feature.finance";
1447
+ "feature.lead-gen": "feature.lead-gen";
1448
+ "feature.platform": "feature.platform";
1449
+ "feature.projects": "feature.projects";
1450
+ "feature.operations": "feature.operations";
1451
+ "feature.knowledge": "feature.knowledge";
1452
+ "feature.monitoring": "feature.monitoring";
1453
+ "feature.settings": "feature.settings";
1454
+ "feature.admin": "feature.admin";
1455
+ "feature.archive": "feature.archive";
1456
+ "feature.seo": "feature.seo";
1457
+ "resource.agent": "resource.agent";
1458
+ "resource.workflow": "resource.workflow";
1459
+ "resource.integration": "resource.integration";
1460
+ "resource.database": "resource.database";
1461
+ "resource.user": "resource.user";
1462
+ "resource.team": "resource.team";
1463
+ "integration.gmail": "integration.gmail";
1464
+ "integration.google-sheets": "integration.google-sheets";
1465
+ "integration.attio": "integration.attio";
1466
+ "surface.dashboard": "surface.dashboard";
1467
+ "surface.overview": "surface.overview";
1468
+ "surface.command-view": "surface.command-view";
1469
+ "surface.command-queue": "surface.command-queue";
1470
+ "surface.pipeline": "surface.pipeline";
1471
+ "surface.lists": "surface.lists";
1472
+ "surface.resources": "surface.resources";
1473
+ "surface.settings": "surface.settings";
1474
+ "status.success": "status.success";
1475
+ "status.error": "status.error";
1476
+ "status.warning": "status.warning";
1477
+ "status.info": "status.info";
1478
+ "status.pending": "status.pending";
1479
+ "action.approve": "action.approve";
1480
+ "action.reject": "action.reject";
1481
+ "action.retry": "action.retry";
1482
+ "action.edit": "action.edit";
1483
+ "action.view": "action.view";
1484
+ "action.launch": "action.launch";
1485
+ "action.message": "action.message";
1486
+ "action.escalate": "action.escalate";
1487
+ "action.promote": "action.promote";
1488
+ "action.submit": "action.submit";
1489
+ "action.email": "action.email";
1490
+ }>, z.ZodString]>>;
380
1491
  id: z.ZodString;
381
1492
  order: z.ZodNumber;
382
1493
  }, z.core.$strip>>;
@@ -384,7 +1495,69 @@ declare const OrganizationModelProjectsSchema: z.ZodObject<{
384
1495
  label: z.ZodString;
385
1496
  description: z.ZodOptional<z.ZodString>;
386
1497
  color: z.ZodOptional<z.ZodString>;
387
- icon: z.ZodOptional<z.ZodString>;
1498
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1499
+ "nav.dashboard": "nav.dashboard";
1500
+ "nav.sales": "nav.sales";
1501
+ "nav.crm": "nav.crm";
1502
+ "nav.lead-gen": "nav.lead-gen";
1503
+ "nav.projects": "nav.projects";
1504
+ "nav.operations": "nav.operations";
1505
+ "nav.monitoring": "nav.monitoring";
1506
+ "nav.knowledge": "nav.knowledge";
1507
+ "nav.settings": "nav.settings";
1508
+ "nav.admin": "nav.admin";
1509
+ "nav.archive": "nav.archive";
1510
+ "knowledge.playbook": "knowledge.playbook";
1511
+ "knowledge.strategy": "knowledge.strategy";
1512
+ "knowledge.reference": "knowledge.reference";
1513
+ "feature.dashboard": "feature.dashboard";
1514
+ "feature.sales": "feature.sales";
1515
+ "feature.crm": "feature.crm";
1516
+ "feature.finance": "feature.finance";
1517
+ "feature.lead-gen": "feature.lead-gen";
1518
+ "feature.platform": "feature.platform";
1519
+ "feature.projects": "feature.projects";
1520
+ "feature.operations": "feature.operations";
1521
+ "feature.knowledge": "feature.knowledge";
1522
+ "feature.monitoring": "feature.monitoring";
1523
+ "feature.settings": "feature.settings";
1524
+ "feature.admin": "feature.admin";
1525
+ "feature.archive": "feature.archive";
1526
+ "feature.seo": "feature.seo";
1527
+ "resource.agent": "resource.agent";
1528
+ "resource.workflow": "resource.workflow";
1529
+ "resource.integration": "resource.integration";
1530
+ "resource.database": "resource.database";
1531
+ "resource.user": "resource.user";
1532
+ "resource.team": "resource.team";
1533
+ "integration.gmail": "integration.gmail";
1534
+ "integration.google-sheets": "integration.google-sheets";
1535
+ "integration.attio": "integration.attio";
1536
+ "surface.dashboard": "surface.dashboard";
1537
+ "surface.overview": "surface.overview";
1538
+ "surface.command-view": "surface.command-view";
1539
+ "surface.command-queue": "surface.command-queue";
1540
+ "surface.pipeline": "surface.pipeline";
1541
+ "surface.lists": "surface.lists";
1542
+ "surface.resources": "surface.resources";
1543
+ "surface.settings": "surface.settings";
1544
+ "status.success": "status.success";
1545
+ "status.error": "status.error";
1546
+ "status.warning": "status.warning";
1547
+ "status.info": "status.info";
1548
+ "status.pending": "status.pending";
1549
+ "action.approve": "action.approve";
1550
+ "action.reject": "action.reject";
1551
+ "action.retry": "action.retry";
1552
+ "action.edit": "action.edit";
1553
+ "action.view": "action.view";
1554
+ "action.launch": "action.launch";
1555
+ "action.message": "action.message";
1556
+ "action.escalate": "action.escalate";
1557
+ "action.promote": "action.promote";
1558
+ "action.submit": "action.submit";
1559
+ "action.email": "action.email";
1560
+ }>, z.ZodString]>>;
388
1561
  id: z.ZodString;
389
1562
  order: z.ZodNumber;
390
1563
  }, z.core.$strip>>;
@@ -392,7 +1565,69 @@ declare const OrganizationModelProjectsSchema: z.ZodObject<{
392
1565
  label: z.ZodString;
393
1566
  description: z.ZodOptional<z.ZodString>;
394
1567
  color: z.ZodOptional<z.ZodString>;
395
- icon: z.ZodOptional<z.ZodString>;
1568
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1569
+ "nav.dashboard": "nav.dashboard";
1570
+ "nav.sales": "nav.sales";
1571
+ "nav.crm": "nav.crm";
1572
+ "nav.lead-gen": "nav.lead-gen";
1573
+ "nav.projects": "nav.projects";
1574
+ "nav.operations": "nav.operations";
1575
+ "nav.monitoring": "nav.monitoring";
1576
+ "nav.knowledge": "nav.knowledge";
1577
+ "nav.settings": "nav.settings";
1578
+ "nav.admin": "nav.admin";
1579
+ "nav.archive": "nav.archive";
1580
+ "knowledge.playbook": "knowledge.playbook";
1581
+ "knowledge.strategy": "knowledge.strategy";
1582
+ "knowledge.reference": "knowledge.reference";
1583
+ "feature.dashboard": "feature.dashboard";
1584
+ "feature.sales": "feature.sales";
1585
+ "feature.crm": "feature.crm";
1586
+ "feature.finance": "feature.finance";
1587
+ "feature.lead-gen": "feature.lead-gen";
1588
+ "feature.platform": "feature.platform";
1589
+ "feature.projects": "feature.projects";
1590
+ "feature.operations": "feature.operations";
1591
+ "feature.knowledge": "feature.knowledge";
1592
+ "feature.monitoring": "feature.monitoring";
1593
+ "feature.settings": "feature.settings";
1594
+ "feature.admin": "feature.admin";
1595
+ "feature.archive": "feature.archive";
1596
+ "feature.seo": "feature.seo";
1597
+ "resource.agent": "resource.agent";
1598
+ "resource.workflow": "resource.workflow";
1599
+ "resource.integration": "resource.integration";
1600
+ "resource.database": "resource.database";
1601
+ "resource.user": "resource.user";
1602
+ "resource.team": "resource.team";
1603
+ "integration.gmail": "integration.gmail";
1604
+ "integration.google-sheets": "integration.google-sheets";
1605
+ "integration.attio": "integration.attio";
1606
+ "surface.dashboard": "surface.dashboard";
1607
+ "surface.overview": "surface.overview";
1608
+ "surface.command-view": "surface.command-view";
1609
+ "surface.command-queue": "surface.command-queue";
1610
+ "surface.pipeline": "surface.pipeline";
1611
+ "surface.lists": "surface.lists";
1612
+ "surface.resources": "surface.resources";
1613
+ "surface.settings": "surface.settings";
1614
+ "status.success": "status.success";
1615
+ "status.error": "status.error";
1616
+ "status.warning": "status.warning";
1617
+ "status.info": "status.info";
1618
+ "status.pending": "status.pending";
1619
+ "action.approve": "action.approve";
1620
+ "action.reject": "action.reject";
1621
+ "action.retry": "action.retry";
1622
+ "action.edit": "action.edit";
1623
+ "action.view": "action.view";
1624
+ "action.launch": "action.launch";
1625
+ "action.message": "action.message";
1626
+ "action.escalate": "action.escalate";
1627
+ "action.promote": "action.promote";
1628
+ "action.submit": "action.submit";
1629
+ "action.email": "action.email";
1630
+ }>, z.ZodString]>>;
396
1631
  id: z.ZodString;
397
1632
  order: z.ZodNumber;
398
1633
  }, z.core.$strip>>;
@@ -407,7 +1642,69 @@ declare const OrganizationModelProspectingSchema: z.ZodObject<{
407
1642
  label: z.ZodString;
408
1643
  description: z.ZodOptional<z.ZodString>;
409
1644
  color: z.ZodOptional<z.ZodString>;
410
- icon: z.ZodOptional<z.ZodString>;
1645
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1646
+ "nav.dashboard": "nav.dashboard";
1647
+ "nav.sales": "nav.sales";
1648
+ "nav.crm": "nav.crm";
1649
+ "nav.lead-gen": "nav.lead-gen";
1650
+ "nav.projects": "nav.projects";
1651
+ "nav.operations": "nav.operations";
1652
+ "nav.monitoring": "nav.monitoring";
1653
+ "nav.knowledge": "nav.knowledge";
1654
+ "nav.settings": "nav.settings";
1655
+ "nav.admin": "nav.admin";
1656
+ "nav.archive": "nav.archive";
1657
+ "knowledge.playbook": "knowledge.playbook";
1658
+ "knowledge.strategy": "knowledge.strategy";
1659
+ "knowledge.reference": "knowledge.reference";
1660
+ "feature.dashboard": "feature.dashboard";
1661
+ "feature.sales": "feature.sales";
1662
+ "feature.crm": "feature.crm";
1663
+ "feature.finance": "feature.finance";
1664
+ "feature.lead-gen": "feature.lead-gen";
1665
+ "feature.platform": "feature.platform";
1666
+ "feature.projects": "feature.projects";
1667
+ "feature.operations": "feature.operations";
1668
+ "feature.knowledge": "feature.knowledge";
1669
+ "feature.monitoring": "feature.monitoring";
1670
+ "feature.settings": "feature.settings";
1671
+ "feature.admin": "feature.admin";
1672
+ "feature.archive": "feature.archive";
1673
+ "feature.seo": "feature.seo";
1674
+ "resource.agent": "resource.agent";
1675
+ "resource.workflow": "resource.workflow";
1676
+ "resource.integration": "resource.integration";
1677
+ "resource.database": "resource.database";
1678
+ "resource.user": "resource.user";
1679
+ "resource.team": "resource.team";
1680
+ "integration.gmail": "integration.gmail";
1681
+ "integration.google-sheets": "integration.google-sheets";
1682
+ "integration.attio": "integration.attio";
1683
+ "surface.dashboard": "surface.dashboard";
1684
+ "surface.overview": "surface.overview";
1685
+ "surface.command-view": "surface.command-view";
1686
+ "surface.command-queue": "surface.command-queue";
1687
+ "surface.pipeline": "surface.pipeline";
1688
+ "surface.lists": "surface.lists";
1689
+ "surface.resources": "surface.resources";
1690
+ "surface.settings": "surface.settings";
1691
+ "status.success": "status.success";
1692
+ "status.error": "status.error";
1693
+ "status.warning": "status.warning";
1694
+ "status.info": "status.info";
1695
+ "status.pending": "status.pending";
1696
+ "action.approve": "action.approve";
1697
+ "action.reject": "action.reject";
1698
+ "action.retry": "action.retry";
1699
+ "action.edit": "action.edit";
1700
+ "action.view": "action.view";
1701
+ "action.launch": "action.launch";
1702
+ "action.message": "action.message";
1703
+ "action.escalate": "action.escalate";
1704
+ "action.promote": "action.promote";
1705
+ "action.submit": "action.submit";
1706
+ "action.email": "action.email";
1707
+ }>, z.ZodString]>>;
411
1708
  id: z.ZodString;
412
1709
  order: z.ZodNumber;
413
1710
  }, z.core.$strip>>;
@@ -415,10 +1712,226 @@ declare const OrganizationModelProspectingSchema: z.ZodObject<{
415
1712
  label: z.ZodString;
416
1713
  description: z.ZodOptional<z.ZodString>;
417
1714
  color: z.ZodOptional<z.ZodString>;
418
- icon: z.ZodOptional<z.ZodString>;
1715
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1716
+ "nav.dashboard": "nav.dashboard";
1717
+ "nav.sales": "nav.sales";
1718
+ "nav.crm": "nav.crm";
1719
+ "nav.lead-gen": "nav.lead-gen";
1720
+ "nav.projects": "nav.projects";
1721
+ "nav.operations": "nav.operations";
1722
+ "nav.monitoring": "nav.monitoring";
1723
+ "nav.knowledge": "nav.knowledge";
1724
+ "nav.settings": "nav.settings";
1725
+ "nav.admin": "nav.admin";
1726
+ "nav.archive": "nav.archive";
1727
+ "knowledge.playbook": "knowledge.playbook";
1728
+ "knowledge.strategy": "knowledge.strategy";
1729
+ "knowledge.reference": "knowledge.reference";
1730
+ "feature.dashboard": "feature.dashboard";
1731
+ "feature.sales": "feature.sales";
1732
+ "feature.crm": "feature.crm";
1733
+ "feature.finance": "feature.finance";
1734
+ "feature.lead-gen": "feature.lead-gen";
1735
+ "feature.platform": "feature.platform";
1736
+ "feature.projects": "feature.projects";
1737
+ "feature.operations": "feature.operations";
1738
+ "feature.knowledge": "feature.knowledge";
1739
+ "feature.monitoring": "feature.monitoring";
1740
+ "feature.settings": "feature.settings";
1741
+ "feature.admin": "feature.admin";
1742
+ "feature.archive": "feature.archive";
1743
+ "feature.seo": "feature.seo";
1744
+ "resource.agent": "resource.agent";
1745
+ "resource.workflow": "resource.workflow";
1746
+ "resource.integration": "resource.integration";
1747
+ "resource.database": "resource.database";
1748
+ "resource.user": "resource.user";
1749
+ "resource.team": "resource.team";
1750
+ "integration.gmail": "integration.gmail";
1751
+ "integration.google-sheets": "integration.google-sheets";
1752
+ "integration.attio": "integration.attio";
1753
+ "surface.dashboard": "surface.dashboard";
1754
+ "surface.overview": "surface.overview";
1755
+ "surface.command-view": "surface.command-view";
1756
+ "surface.command-queue": "surface.command-queue";
1757
+ "surface.pipeline": "surface.pipeline";
1758
+ "surface.lists": "surface.lists";
1759
+ "surface.resources": "surface.resources";
1760
+ "surface.settings": "surface.settings";
1761
+ "status.success": "status.success";
1762
+ "status.error": "status.error";
1763
+ "status.warning": "status.warning";
1764
+ "status.info": "status.info";
1765
+ "status.pending": "status.pending";
1766
+ "action.approve": "action.approve";
1767
+ "action.reject": "action.reject";
1768
+ "action.retry": "action.retry";
1769
+ "action.edit": "action.edit";
1770
+ "action.view": "action.view";
1771
+ "action.launch": "action.launch";
1772
+ "action.message": "action.message";
1773
+ "action.escalate": "action.escalate";
1774
+ "action.promote": "action.promote";
1775
+ "action.submit": "action.submit";
1776
+ "action.email": "action.email";
1777
+ }>, z.ZodString]>>;
419
1778
  id: z.ZodString;
420
1779
  order: z.ZodNumber;
421
1780
  }, z.core.$strip>>;
1781
+ defaultBuildTemplateId: z.ZodString;
1782
+ buildTemplates: z.ZodArray<z.ZodObject<{
1783
+ label: z.ZodString;
1784
+ description: z.ZodOptional<z.ZodString>;
1785
+ color: z.ZodOptional<z.ZodString>;
1786
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1787
+ "nav.dashboard": "nav.dashboard";
1788
+ "nav.sales": "nav.sales";
1789
+ "nav.crm": "nav.crm";
1790
+ "nav.lead-gen": "nav.lead-gen";
1791
+ "nav.projects": "nav.projects";
1792
+ "nav.operations": "nav.operations";
1793
+ "nav.monitoring": "nav.monitoring";
1794
+ "nav.knowledge": "nav.knowledge";
1795
+ "nav.settings": "nav.settings";
1796
+ "nav.admin": "nav.admin";
1797
+ "nav.archive": "nav.archive";
1798
+ "knowledge.playbook": "knowledge.playbook";
1799
+ "knowledge.strategy": "knowledge.strategy";
1800
+ "knowledge.reference": "knowledge.reference";
1801
+ "feature.dashboard": "feature.dashboard";
1802
+ "feature.sales": "feature.sales";
1803
+ "feature.crm": "feature.crm";
1804
+ "feature.finance": "feature.finance";
1805
+ "feature.lead-gen": "feature.lead-gen";
1806
+ "feature.platform": "feature.platform";
1807
+ "feature.projects": "feature.projects";
1808
+ "feature.operations": "feature.operations";
1809
+ "feature.knowledge": "feature.knowledge";
1810
+ "feature.monitoring": "feature.monitoring";
1811
+ "feature.settings": "feature.settings";
1812
+ "feature.admin": "feature.admin";
1813
+ "feature.archive": "feature.archive";
1814
+ "feature.seo": "feature.seo";
1815
+ "resource.agent": "resource.agent";
1816
+ "resource.workflow": "resource.workflow";
1817
+ "resource.integration": "resource.integration";
1818
+ "resource.database": "resource.database";
1819
+ "resource.user": "resource.user";
1820
+ "resource.team": "resource.team";
1821
+ "integration.gmail": "integration.gmail";
1822
+ "integration.google-sheets": "integration.google-sheets";
1823
+ "integration.attio": "integration.attio";
1824
+ "surface.dashboard": "surface.dashboard";
1825
+ "surface.overview": "surface.overview";
1826
+ "surface.command-view": "surface.command-view";
1827
+ "surface.command-queue": "surface.command-queue";
1828
+ "surface.pipeline": "surface.pipeline";
1829
+ "surface.lists": "surface.lists";
1830
+ "surface.resources": "surface.resources";
1831
+ "surface.settings": "surface.settings";
1832
+ "status.success": "status.success";
1833
+ "status.error": "status.error";
1834
+ "status.warning": "status.warning";
1835
+ "status.info": "status.info";
1836
+ "status.pending": "status.pending";
1837
+ "action.approve": "action.approve";
1838
+ "action.reject": "action.reject";
1839
+ "action.retry": "action.retry";
1840
+ "action.edit": "action.edit";
1841
+ "action.view": "action.view";
1842
+ "action.launch": "action.launch";
1843
+ "action.message": "action.message";
1844
+ "action.escalate": "action.escalate";
1845
+ "action.promote": "action.promote";
1846
+ "action.submit": "action.submit";
1847
+ "action.email": "action.email";
1848
+ }>, z.ZodString]>>;
1849
+ id: z.ZodString;
1850
+ steps: z.ZodArray<z.ZodObject<{
1851
+ label: z.ZodString;
1852
+ description: z.ZodOptional<z.ZodString>;
1853
+ color: z.ZodOptional<z.ZodString>;
1854
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1855
+ "nav.dashboard": "nav.dashboard";
1856
+ "nav.sales": "nav.sales";
1857
+ "nav.crm": "nav.crm";
1858
+ "nav.lead-gen": "nav.lead-gen";
1859
+ "nav.projects": "nav.projects";
1860
+ "nav.operations": "nav.operations";
1861
+ "nav.monitoring": "nav.monitoring";
1862
+ "nav.knowledge": "nav.knowledge";
1863
+ "nav.settings": "nav.settings";
1864
+ "nav.admin": "nav.admin";
1865
+ "nav.archive": "nav.archive";
1866
+ "knowledge.playbook": "knowledge.playbook";
1867
+ "knowledge.strategy": "knowledge.strategy";
1868
+ "knowledge.reference": "knowledge.reference";
1869
+ "feature.dashboard": "feature.dashboard";
1870
+ "feature.sales": "feature.sales";
1871
+ "feature.crm": "feature.crm";
1872
+ "feature.finance": "feature.finance";
1873
+ "feature.lead-gen": "feature.lead-gen";
1874
+ "feature.platform": "feature.platform";
1875
+ "feature.projects": "feature.projects";
1876
+ "feature.operations": "feature.operations";
1877
+ "feature.knowledge": "feature.knowledge";
1878
+ "feature.monitoring": "feature.monitoring";
1879
+ "feature.settings": "feature.settings";
1880
+ "feature.admin": "feature.admin";
1881
+ "feature.archive": "feature.archive";
1882
+ "feature.seo": "feature.seo";
1883
+ "resource.agent": "resource.agent";
1884
+ "resource.workflow": "resource.workflow";
1885
+ "resource.integration": "resource.integration";
1886
+ "resource.database": "resource.database";
1887
+ "resource.user": "resource.user";
1888
+ "resource.team": "resource.team";
1889
+ "integration.gmail": "integration.gmail";
1890
+ "integration.google-sheets": "integration.google-sheets";
1891
+ "integration.attio": "integration.attio";
1892
+ "surface.dashboard": "surface.dashboard";
1893
+ "surface.overview": "surface.overview";
1894
+ "surface.command-view": "surface.command-view";
1895
+ "surface.command-queue": "surface.command-queue";
1896
+ "surface.pipeline": "surface.pipeline";
1897
+ "surface.lists": "surface.lists";
1898
+ "surface.resources": "surface.resources";
1899
+ "surface.settings": "surface.settings";
1900
+ "status.success": "status.success";
1901
+ "status.error": "status.error";
1902
+ "status.warning": "status.warning";
1903
+ "status.info": "status.info";
1904
+ "status.pending": "status.pending";
1905
+ "action.approve": "action.approve";
1906
+ "action.reject": "action.reject";
1907
+ "action.retry": "action.retry";
1908
+ "action.edit": "action.edit";
1909
+ "action.view": "action.view";
1910
+ "action.launch": "action.launch";
1911
+ "action.message": "action.message";
1912
+ "action.escalate": "action.escalate";
1913
+ "action.promote": "action.promote";
1914
+ "action.submit": "action.submit";
1915
+ "action.email": "action.email";
1916
+ }>, z.ZodString]>>;
1917
+ id: z.ZodString;
1918
+ primaryEntity: z.ZodEnum<{
1919
+ company: "company";
1920
+ contact: "contact";
1921
+ }>;
1922
+ outputs: z.ZodArray<z.ZodEnum<{
1923
+ company: "company";
1924
+ contact: "contact";
1925
+ export: "export";
1926
+ }>>;
1927
+ stageKey: z.ZodString;
1928
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
1929
+ dependencyMode: z.ZodLiteral<"per-record-eligibility">;
1930
+ capabilityKey: z.ZodString;
1931
+ defaultBatchSize: z.ZodNumber;
1932
+ maxBatchSize: z.ZodNumber;
1933
+ }, z.core.$strip>>;
1934
+ }, z.core.$strip>>;
422
1935
  }, z.core.$strip>;
423
1936
 
424
1937
  declare const OperationSemanticClassSchema: z.ZodEnum<{
@@ -634,6 +2147,175 @@ declare const GoalsDomainSchema: z.ZodObject<{
634
2147
  }, z.core.$strip>;
635
2148
  declare const DEFAULT_ORGANIZATION_MODEL_GOALS: z.infer<typeof GoalsDomainSchema>;
636
2149
 
2150
+ declare const KnowledgeLinkSchema: z.ZodObject<{
2151
+ nodeId: z.ZodString;
2152
+ }, z.core.$strip>;
2153
+ declare const OrgKnowledgeKindSchema: z.ZodEnum<{
2154
+ playbook: "playbook";
2155
+ strategy: "strategy";
2156
+ reference: "reference";
2157
+ }>;
2158
+ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
2159
+ id: z.ZodString;
2160
+ kind: z.ZodEnum<{
2161
+ playbook: "playbook";
2162
+ strategy: "strategy";
2163
+ reference: "reference";
2164
+ }>;
2165
+ title: z.ZodString;
2166
+ summary: z.ZodString;
2167
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2168
+ "nav.dashboard": "nav.dashboard";
2169
+ "nav.sales": "nav.sales";
2170
+ "nav.crm": "nav.crm";
2171
+ "nav.lead-gen": "nav.lead-gen";
2172
+ "nav.projects": "nav.projects";
2173
+ "nav.operations": "nav.operations";
2174
+ "nav.monitoring": "nav.monitoring";
2175
+ "nav.knowledge": "nav.knowledge";
2176
+ "nav.settings": "nav.settings";
2177
+ "nav.admin": "nav.admin";
2178
+ "nav.archive": "nav.archive";
2179
+ "knowledge.playbook": "knowledge.playbook";
2180
+ "knowledge.strategy": "knowledge.strategy";
2181
+ "knowledge.reference": "knowledge.reference";
2182
+ "feature.dashboard": "feature.dashboard";
2183
+ "feature.sales": "feature.sales";
2184
+ "feature.crm": "feature.crm";
2185
+ "feature.finance": "feature.finance";
2186
+ "feature.lead-gen": "feature.lead-gen";
2187
+ "feature.platform": "feature.platform";
2188
+ "feature.projects": "feature.projects";
2189
+ "feature.operations": "feature.operations";
2190
+ "feature.knowledge": "feature.knowledge";
2191
+ "feature.monitoring": "feature.monitoring";
2192
+ "feature.settings": "feature.settings";
2193
+ "feature.admin": "feature.admin";
2194
+ "feature.archive": "feature.archive";
2195
+ "feature.seo": "feature.seo";
2196
+ "resource.agent": "resource.agent";
2197
+ "resource.workflow": "resource.workflow";
2198
+ "resource.integration": "resource.integration";
2199
+ "resource.database": "resource.database";
2200
+ "resource.user": "resource.user";
2201
+ "resource.team": "resource.team";
2202
+ "integration.gmail": "integration.gmail";
2203
+ "integration.google-sheets": "integration.google-sheets";
2204
+ "integration.attio": "integration.attio";
2205
+ "surface.dashboard": "surface.dashboard";
2206
+ "surface.overview": "surface.overview";
2207
+ "surface.command-view": "surface.command-view";
2208
+ "surface.command-queue": "surface.command-queue";
2209
+ "surface.pipeline": "surface.pipeline";
2210
+ "surface.lists": "surface.lists";
2211
+ "surface.resources": "surface.resources";
2212
+ "surface.settings": "surface.settings";
2213
+ "status.success": "status.success";
2214
+ "status.error": "status.error";
2215
+ "status.warning": "status.warning";
2216
+ "status.info": "status.info";
2217
+ "status.pending": "status.pending";
2218
+ "action.approve": "action.approve";
2219
+ "action.reject": "action.reject";
2220
+ "action.retry": "action.retry";
2221
+ "action.edit": "action.edit";
2222
+ "action.view": "action.view";
2223
+ "action.launch": "action.launch";
2224
+ "action.message": "action.message";
2225
+ "action.escalate": "action.escalate";
2226
+ "action.promote": "action.promote";
2227
+ "action.submit": "action.submit";
2228
+ "action.email": "action.email";
2229
+ }>, z.ZodString]>>;
2230
+ body: z.ZodString;
2231
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2232
+ nodeId: z.ZodString;
2233
+ }, z.core.$strip>>>;
2234
+ ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2235
+ updatedAt: z.ZodString;
2236
+ }, z.core.$strip>;
2237
+ declare const KnowledgeDomainSchema: z.ZodObject<{
2238
+ nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
2239
+ id: z.ZodString;
2240
+ kind: z.ZodEnum<{
2241
+ playbook: "playbook";
2242
+ strategy: "strategy";
2243
+ reference: "reference";
2244
+ }>;
2245
+ title: z.ZodString;
2246
+ summary: z.ZodString;
2247
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2248
+ "nav.dashboard": "nav.dashboard";
2249
+ "nav.sales": "nav.sales";
2250
+ "nav.crm": "nav.crm";
2251
+ "nav.lead-gen": "nav.lead-gen";
2252
+ "nav.projects": "nav.projects";
2253
+ "nav.operations": "nav.operations";
2254
+ "nav.monitoring": "nav.monitoring";
2255
+ "nav.knowledge": "nav.knowledge";
2256
+ "nav.settings": "nav.settings";
2257
+ "nav.admin": "nav.admin";
2258
+ "nav.archive": "nav.archive";
2259
+ "knowledge.playbook": "knowledge.playbook";
2260
+ "knowledge.strategy": "knowledge.strategy";
2261
+ "knowledge.reference": "knowledge.reference";
2262
+ "feature.dashboard": "feature.dashboard";
2263
+ "feature.sales": "feature.sales";
2264
+ "feature.crm": "feature.crm";
2265
+ "feature.finance": "feature.finance";
2266
+ "feature.lead-gen": "feature.lead-gen";
2267
+ "feature.platform": "feature.platform";
2268
+ "feature.projects": "feature.projects";
2269
+ "feature.operations": "feature.operations";
2270
+ "feature.knowledge": "feature.knowledge";
2271
+ "feature.monitoring": "feature.monitoring";
2272
+ "feature.settings": "feature.settings";
2273
+ "feature.admin": "feature.admin";
2274
+ "feature.archive": "feature.archive";
2275
+ "feature.seo": "feature.seo";
2276
+ "resource.agent": "resource.agent";
2277
+ "resource.workflow": "resource.workflow";
2278
+ "resource.integration": "resource.integration";
2279
+ "resource.database": "resource.database";
2280
+ "resource.user": "resource.user";
2281
+ "resource.team": "resource.team";
2282
+ "integration.gmail": "integration.gmail";
2283
+ "integration.google-sheets": "integration.google-sheets";
2284
+ "integration.attio": "integration.attio";
2285
+ "surface.dashboard": "surface.dashboard";
2286
+ "surface.overview": "surface.overview";
2287
+ "surface.command-view": "surface.command-view";
2288
+ "surface.command-queue": "surface.command-queue";
2289
+ "surface.pipeline": "surface.pipeline";
2290
+ "surface.lists": "surface.lists";
2291
+ "surface.resources": "surface.resources";
2292
+ "surface.settings": "surface.settings";
2293
+ "status.success": "status.success";
2294
+ "status.error": "status.error";
2295
+ "status.warning": "status.warning";
2296
+ "status.info": "status.info";
2297
+ "status.pending": "status.pending";
2298
+ "action.approve": "action.approve";
2299
+ "action.reject": "action.reject";
2300
+ "action.retry": "action.retry";
2301
+ "action.edit": "action.edit";
2302
+ "action.view": "action.view";
2303
+ "action.launch": "action.launch";
2304
+ "action.message": "action.message";
2305
+ "action.escalate": "action.escalate";
2306
+ "action.promote": "action.promote";
2307
+ "action.submit": "action.submit";
2308
+ "action.email": "action.email";
2309
+ }>, z.ZodString]>>;
2310
+ body: z.ZodString;
2311
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2312
+ nodeId: z.ZodString;
2313
+ }, z.core.$strip>>>;
2314
+ ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2315
+ updatedAt: z.ZodString;
2316
+ }, z.core.$strip>>>;
2317
+ }, z.core.$strip>;
2318
+
637
2319
  type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
638
2320
  type OrganizationModelBranding = z.infer<typeof OrganizationModelBrandingSchema>;
639
2321
  type OrganizationModelSales = z.infer<typeof OrganizationModelSalesSchema>;
@@ -660,17 +2342,34 @@ type OrganizationModelRole = z.infer<typeof RoleSchema>;
660
2342
  type OrganizationModelGoals = z.infer<typeof GoalsDomainSchema>;
661
2343
  type OrganizationModelObjective = z.infer<typeof ObjectiveSchema>;
662
2344
  type OrganizationModelKeyResult = z.infer<typeof KeyResultSchema>;
2345
+ type OrganizationModelKnowledge = z.infer<typeof KnowledgeDomainSchema>;
2346
+ type OrgKnowledgeNode = z.infer<typeof OrgKnowledgeNodeSchema>;
2347
+ type OrgKnowledgeKind = z.infer<typeof OrgKnowledgeKindSchema>;
2348
+ type OrganizationModelIconToken = z.infer<typeof OrganizationModelIconTokenSchema>;
2349
+ type OrganizationModelBuiltinIconToken = z.infer<typeof OrganizationModelBuiltinIconTokenSchema>;
663
2350
  type DeepPartial<T> = T extends Array<infer U> ? Array<DeepPartial<U>> : T extends object ? {
664
2351
  [K in keyof T]?: DeepPartial<T[K]>;
665
2352
  } : T;
666
2353
 
2354
+ /**
2355
+ * Fixture-only stub for the generic OrganizationModel merge base.
2356
+ *
2357
+ * This constant is used by:
2358
+ * - `resolveOrganizationModel()` as the deep-merge base for every org's config
2359
+ * - Unit tests and snapshot fixtures that need a structurally valid OrganizationModel
2360
+ *
2361
+ * It intentionally does NOT contain Elevasis-specific identity or knowledge content.
2362
+ * Runtime consumers that need the full Elevasis canonical model should import
2363
+ * `canonicalOrganizationModel` from `@repo/elevasis-core` instead.
2364
+ */
2365
+
667
2366
  declare const DEFAULT_ORGANIZATION_MODEL: OrganizationModel;
668
2367
 
669
2368
  declare function defineOrganizationModel<T extends DeepPartial<OrganizationModel>>(model: T): T;
670
2369
  declare function resolveOrganizationModel(override?: DeepPartial<OrganizationModel>, organizationId?: string): OrganizationModel;
671
2370
 
672
2371
  type FoundationSurfaceType = 'page' | 'dashboard' | 'graph' | 'detail' | 'list' | 'settings';
673
- type FoundationSurfaceIcon = 'dashboard' | 'crm' | 'lead-gen' | 'projects' | 'operations' | 'settings';
2372
+ type FoundationSurfaceIcon = Extract<OrganizationModelBuiltinIconToken$1, 'feature.dashboard' | 'feature.crm' | 'feature.lead-gen' | 'feature.projects' | 'feature.operations' | 'feature.settings'>;
674
2373
  interface FoundationNavigationSurface extends Omit<OrganizationModelFeature, 'icon' | 'uiPosition'> {
675
2374
  icon?: FoundationSurfaceIcon;
676
2375
  surfaceType?: FoundationSurfaceType;
@@ -696,5 +2395,5 @@ declare function createFoundationOrganizationModel(override: DeepPartial<Organiz
696
2395
  getOrganizationSurface: (surfaceId: string) => FoundationNavigationSurface | undefined;
697
2396
  };
698
2397
 
699
- export { CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, FeatureSchema, FirmographicsSchema, GoalsDomainSchema, KeyResultSchema, LinkSchema, MONITORING_FEATURE_ID, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID, ObjectiveSchema, OfferingsDomainSchema, OperationEntrySchema, OperationSemanticClassSchema, OperationsDomainSchema, OrganizationModelSchema, PROJECTS_FEATURE_ID, PROJECTS_INDEX_SURFACE_ID, PROJECTS_VIEW_CAPABILITY_ID, PROSPECTING_FEATURE_ID, PROSPECTING_LISTS_SURFACE_ID, PricingModelSchema, ProductSchema, RoleSchema, RolesDomainSchema, SALES_FEATURE_ID, SALES_PIPELINE_SURFACE_ID, SEO_FEATURE_ID, SETTINGS_FEATURE_ID, SETTINGS_ROLES_SURFACE_ID, StatusEntrySchema, StatusSemanticClassSchema, StatusesDomainSchema, TechStackEntrySchema, UiPositionSchema, createFoundationOrganizationModel, defineOrganizationModel, resolveOrganizationModel };
700
- export type { DeepPartial, FoundationBranding, FoundationNavigationSurface, FoundationOrganizationModel, FoundationSurfaceIcon, FoundationSurfaceType, NodeIdPath, NodeIdString, OrganizationModel, OrganizationModelBranding, OrganizationModelCustomerFirmographics, OrganizationModelCustomerSegment, OrganizationModelCustomers, OrganizationModelFeature, OrganizationModelGoals, OrganizationModelKeyResult, OrganizationModelObjective, OrganizationModelOfferings, OrganizationModelOperationEntry, OrganizationModelOperationSemanticClass, OrganizationModelOperations, OrganizationModelPricingModel, OrganizationModelProduct, OrganizationModelProjects, OrganizationModelProspecting, OrganizationModelRole, OrganizationModelRoles, OrganizationModelSales, OrganizationModelStatusEntry, OrganizationModelStatusSemanticClass, OrganizationModelStatuses, OrganizationModelTechStackEntry };
2398
+ export { CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_OPERATIONS, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, FeatureSchema, FirmographicsSchema, GoalsDomainSchema, IconNameSchema, KNOWLEDGE_FEATURE_ID, KeyResultSchema, KnowledgeDomainSchema, KnowledgeLinkSchema, LinkSchema, MONITORING_FEATURE_ID, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID, ORGANIZATION_MODEL_ICON_TOKENS, ObjectiveSchema, OfferingsDomainSchema, OperationEntrySchema, OperationSemanticClassSchema, OperationsDomainSchema, OrgKnowledgeKindSchema, OrgKnowledgeNodeSchema, OrganizationModelBuiltinIconTokenSchema, OrganizationModelIconTokenSchema, OrganizationModelSchema, PROJECTS_FEATURE_ID, PROJECTS_INDEX_SURFACE_ID, PROJECTS_VIEW_CAPABILITY_ID, PROSPECTING_FEATURE_ID, PROSPECTING_LISTS_SURFACE_ID, PricingModelSchema, ProductSchema, RoleSchema, RolesDomainSchema, SALES_FEATURE_ID, SALES_PIPELINE_SURFACE_ID, SEO_FEATURE_ID, SETTINGS_FEATURE_ID, SETTINGS_ROLES_SURFACE_ID, StatusEntrySchema, StatusSemanticClassSchema, StatusesDomainSchema, TechStackEntrySchema, UiPositionSchema, createFoundationOrganizationModel, defineOrganizationModel, resolveOrganizationModel };
2399
+ export type { DeepPartial, FoundationBranding, FoundationNavigationSurface, FoundationOrganizationModel, FoundationSurfaceIcon, FoundationSurfaceType, NodeIdPath, NodeIdString, OrgKnowledgeKind, OrgKnowledgeNode, OrganizationModel, OrganizationModelBranding, OrganizationModelBuiltinIconToken, OrganizationModelCustomerFirmographics, OrganizationModelCustomerSegment, OrganizationModelCustomers, OrganizationModelFeature, OrganizationModelGoals, OrganizationModelIconToken, OrganizationModelKeyResult, OrganizationModelKnowledge, OrganizationModelObjective, OrganizationModelOfferings, OrganizationModelOperationEntry, OrganizationModelOperationSemanticClass, OrganizationModelOperations, OrganizationModelPricingModel, OrganizationModelProduct, OrganizationModelProjects, OrganizationModelProspecting, OrganizationModelRole, OrganizationModelRoles, OrganizationModelSales, OrganizationModelStatusEntry, OrganizationModelStatusSemanticClass, OrganizationModelStatuses, OrganizationModelTechStackEntry };