@elevasis/ui 2.31.0 → 2.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/{CoreAuthKitInner-KSEGSB67.js → CoreAuthKitInner-QC62UHTZ.js} +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.css +38 -0
  4. package/dist/app/index.d.ts +69 -9
  5. package/dist/app/index.js +7 -6
  6. package/dist/auth/context.js +1 -1
  7. package/dist/auth/index.js +1 -1
  8. package/dist/charts/index.js +5 -6
  9. package/dist/{chunk-JKSUN5GN.js → chunk-2GMF5IRF.js} +81 -746
  10. package/dist/{chunk-XQHZBA65.js → chunk-2RJMVWFJ.js} +1 -6
  11. package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
  12. package/dist/{chunk-HQGF4ATG.js → chunk-52NLZN6Z.js} +118 -141
  13. package/dist/chunk-AHCKOU2M.js +13 -0
  14. package/dist/chunk-CLDCYJQT.js +1 -0
  15. package/dist/chunk-DWXDNT7P.js +145 -0
  16. package/dist/chunk-E4T2N7P7.js +124 -0
  17. package/dist/{chunk-HYNYEBHM.js → chunk-E7C4XEWH.js} +3 -3
  18. package/dist/{chunk-L3BVJWML.js → chunk-EPTHX4VZ.js} +1 -1
  19. package/dist/{chunk-QDEETKYT.js → chunk-FFPHJBJC.js} +9 -9
  20. package/dist/chunk-GNRMB6DC.js +5126 -0
  21. package/dist/{chunk-DZTG5IAC.js → chunk-I2KLQ2HA.js} +1 -7
  22. package/dist/{chunk-Q6OYNEGR.js → chunk-IUKFNASA.js} +5 -6
  23. package/dist/{chunk-QHEWXU7I.js → chunk-JFL3GRD4.js} +1 -1
  24. package/dist/{chunk-T3IPHEYJ.js → chunk-JHT5JIJ3.js} +4410 -566
  25. package/dist/{chunk-L2NVFLXU.js → chunk-MHLZ4F4N.js} +4 -4
  26. package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
  27. package/dist/{chunk-TOIXUWR6.js → chunk-ND5TDV2J.js} +1 -1
  28. package/dist/{chunk-5LJAEZMA.js → chunk-NOIRGGW2.js} +5 -6
  29. package/dist/{chunk-7KC4P3AU.js → chunk-QNOVUCSV.js} +2 -12
  30. package/dist/{chunk-3BAPR3KA.js → chunk-RQA2EVN3.js} +5 -15
  31. package/dist/{chunk-ND42LPY4.js → chunk-TKF5S4XP.js} +6 -6
  32. package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
  33. package/dist/{chunk-Y4FWCG7Y.js → chunk-UVFOURXR.js} +8 -7
  34. package/dist/chunk-UW7IV2Y3.js +447 -0
  35. package/dist/{chunk-P55BJZZW.js → chunk-V6SZ4ECN.js} +20 -5
  36. package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
  37. package/dist/chunk-XG57WXOL.js +85 -0
  38. package/dist/{chunk-SHQXMW4F.js → chunk-XOFSMJLF.js} +46 -28
  39. package/dist/{chunk-7HMCB26R.js → chunk-XZGSCABI.js} +1 -1
  40. package/dist/chunk-YAQ25UNM.js +2126 -0
  41. package/dist/chunk-ZGTDKH3P.js +467 -0
  42. package/dist/components/chat/index.js +1 -1
  43. package/dist/components/index.css +38 -0
  44. package/dist/components/index.d.ts +262 -51
  45. package/dist/components/index.js +37 -39
  46. package/dist/components/navigation/index.css +38 -0
  47. package/dist/components/navigation/index.js +5 -3
  48. package/dist/execution/index.d.ts +11 -2
  49. package/dist/execution/index.js +1 -1
  50. package/dist/features/auth/index.css +38 -0
  51. package/dist/features/auth/index.d.ts +91 -14
  52. package/dist/features/auth/index.js +42 -10
  53. package/dist/features/clients/index.css +38 -0
  54. package/dist/features/clients/index.d.ts +1 -1
  55. package/dist/features/clients/index.js +17 -15
  56. package/dist/features/crm/index.css +38 -0
  57. package/dist/features/crm/index.d.ts +80 -18
  58. package/dist/features/crm/index.js +17 -15
  59. package/dist/features/dashboard/index.css +38 -0
  60. package/dist/features/dashboard/index.d.ts +174 -25
  61. package/dist/features/dashboard/index.js +17 -16
  62. package/dist/features/delivery/index.css +38 -0
  63. package/dist/features/delivery/index.d.ts +80 -18
  64. package/dist/features/delivery/index.js +16 -15
  65. package/dist/features/knowledge/index.css +38 -0
  66. package/dist/features/knowledge/index.d.ts +20 -18
  67. package/dist/features/knowledge/index.js +114 -609
  68. package/dist/features/lead-gen/index.css +38 -0
  69. package/dist/features/lead-gen/index.d.ts +45 -43
  70. package/dist/features/lead-gen/index.js +17 -16
  71. package/dist/features/monitoring/index.css +38 -0
  72. package/dist/features/monitoring/index.d.ts +20 -18
  73. package/dist/features/monitoring/index.js +18 -17
  74. package/dist/features/monitoring/requests/index.css +38 -0
  75. package/dist/features/monitoring/requests/index.d.ts +23 -21
  76. package/dist/features/monitoring/requests/index.js +16 -14
  77. package/dist/features/operations/index.css +38 -0
  78. package/dist/features/operations/index.d.ts +1299 -66
  79. package/dist/features/operations/index.js +22 -24
  80. package/dist/features/seo/index.d.ts +20 -18
  81. package/dist/features/seo/index.js +2 -2
  82. package/dist/features/settings/index.css +38 -0
  83. package/dist/features/settings/index.d.ts +80 -18
  84. package/dist/features/settings/index.js +17 -15
  85. package/dist/graph/index.js +1 -1
  86. package/dist/hooks/delivery/index.css +38 -0
  87. package/dist/hooks/delivery/index.d.ts +60 -0
  88. package/dist/hooks/delivery/index.js +3 -3
  89. package/dist/hooks/index.css +38 -0
  90. package/dist/hooks/index.d.ts +492 -89
  91. package/dist/hooks/index.js +15 -13
  92. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +332 -33
  93. package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
  94. package/dist/hooks/published.css +38 -0
  95. package/dist/hooks/published.d.ts +492 -89
  96. package/dist/hooks/published.js +15 -13
  97. package/dist/index.css +38 -0
  98. package/dist/index.d.ts +1353 -1349
  99. package/dist/index.js +16 -14
  100. package/dist/initialization/index.d.ts +60 -0
  101. package/dist/initialization/index.js +1 -1
  102. package/dist/knowledge/index.d.ts +1217 -1292
  103. package/dist/knowledge/index.js +6538 -2198
  104. package/dist/knowledge-search-index-P7PR626V.js +1514 -0
  105. package/dist/layout/index.js +3 -4
  106. package/dist/organization/index.css +38 -0
  107. package/dist/organization/index.js +1 -1
  108. package/dist/profile/index.d.ts +60 -0
  109. package/dist/profile/index.js +1 -1
  110. package/dist/provider/ElevasisServiceContext.js +1 -1
  111. package/dist/provider/index.css +38 -0
  112. package/dist/provider/index.d.ts +1068 -1246
  113. package/dist/provider/index.js +12 -10
  114. package/dist/provider/published.css +38 -0
  115. package/dist/provider/published.d.ts +1065 -1243
  116. package/dist/provider/published.js +9 -7
  117. package/dist/router/context.js +1 -1
  118. package/dist/router/index.js +1 -1
  119. package/dist/sse/index.js +1 -1
  120. package/dist/supabase/index.d.ts +117 -0
  121. package/dist/supabase/index.js +1 -1
  122. package/dist/test-utils/index.d.ts +16 -9
  123. package/dist/test-utils/index.js +40 -33
  124. package/dist/test-utils/setup-integration.js +1 -1
  125. package/dist/test-utils/setup.js +1 -1
  126. package/dist/theme/index.js +3 -3
  127. package/dist/theme/presets/index.js +1 -1
  128. package/dist/typeform/index.js +1 -1
  129. package/dist/typeform/schemas.js +1 -1
  130. package/dist/types/index.d.ts +394 -35
  131. package/dist/utils/index.d.ts +174 -25
  132. package/dist/utils/index.js +2 -2
  133. package/dist/vite/index.js +1 -1
  134. package/dist/vite-plugin-knowledge/index.js +1 -1
  135. package/dist/zustand/index.js +1 -1
  136. package/package.json +10 -9
  137. package/src/README.md +29 -29
  138. package/src/api/README.md +18 -18
  139. package/src/app/README.md +24 -24
  140. package/src/auth/README.md +18 -18
  141. package/src/components/README.md +24 -24
  142. package/src/execution/README.md +16 -16
  143. package/src/features/README.md +28 -28
  144. package/src/graph/README.md +16 -16
  145. package/src/hooks/README.md +23 -23
  146. package/src/initialization/README.md +19 -19
  147. package/src/knowledge/README.md +31 -31
  148. package/src/organization/README.md +18 -18
  149. package/src/profile/README.md +19 -19
  150. package/src/provider/README.md +32 -32
  151. package/src/router/README.md +18 -18
  152. package/src/sse/README.md +13 -13
  153. package/src/test-utils/README.md +7 -7
  154. package/src/theme/README.md +23 -23
  155. package/src/theme/presets/README.md +19 -19
  156. package/src/types/README.md +16 -16
  157. package/src/utils/README.md +18 -18
  158. package/src/zustand/README.md +18 -18
  159. package/dist/chunk-542WPQU2.js +0 -413
  160. package/dist/chunk-6IXOKUBC.js +0 -347
  161. package/dist/chunk-CQZ3DNQY.js +0 -740
  162. package/dist/chunk-ECNNI3NT.js +0 -6
  163. package/dist/chunk-GRDLB6LM.js +0 -160
  164. package/dist/chunk-JDNEWB5F.js +0 -10
  165. package/dist/chunk-MVFCLZSK.js +0 -4337
  166. package/dist/chunk-O2QOPJI5.js +0 -2235
  167. package/dist/chunk-OAVTMITG.js +0 -13
  168. package/dist/chunk-TVRQ6AQI.js +0 -476
  169. package/dist/chunk-WF227UBV.js +0 -48
@@ -1,8 +1,169 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import { z } from 'zod';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import { ComponentType, CSSProperties, ReactNode, HTMLAttributes } from 'react';
4
4
  import { IconBrain } from '@tabler/icons-react';
5
5
 
6
+ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
7
+ objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
8
+ id: z.ZodString;
9
+ label: z.ZodOptional<z.ZodString>;
10
+ description: z.ZodOptional<z.ZodString>;
11
+ ownerSystemId: z.ZodOptional<z.ZodString>;
12
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
+ storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15
+ }, z.core.$loose>>>>;
16
+ linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
17
+ id: z.ZodString;
18
+ label: z.ZodOptional<z.ZodString>;
19
+ description: z.ZodOptional<z.ZodString>;
20
+ ownerSystemId: z.ZodOptional<z.ZodString>;
21
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
+ from: z.ZodString;
23
+ to: z.ZodString;
24
+ cardinality: z.ZodOptional<z.ZodString>;
25
+ via: z.ZodOptional<z.ZodString>;
26
+ }, z.core.$loose>>>>;
27
+ actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
28
+ id: z.ZodString;
29
+ label: z.ZodOptional<z.ZodString>;
30
+ description: z.ZodOptional<z.ZodString>;
31
+ ownerSystemId: z.ZodOptional<z.ZodString>;
32
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
33
+ actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
34
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
35
+ effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
36
+ }, z.core.$loose>>>>;
37
+ catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
38
+ id: z.ZodString;
39
+ label: z.ZodOptional<z.ZodString>;
40
+ description: z.ZodOptional<z.ZodString>;
41
+ ownerSystemId: z.ZodOptional<z.ZodString>;
42
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
43
+ kind: z.ZodOptional<z.ZodString>;
44
+ appliesTo: z.ZodOptional<z.ZodString>;
45
+ entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
46
+ }, z.core.$loose>>>>;
47
+ eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
48
+ id: z.ZodString;
49
+ label: z.ZodOptional<z.ZodString>;
50
+ description: z.ZodOptional<z.ZodString>;
51
+ ownerSystemId: z.ZodOptional<z.ZodString>;
52
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
54
+ }, z.core.$loose>>>>;
55
+ interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
56
+ id: z.ZodString;
57
+ label: z.ZodOptional<z.ZodString>;
58
+ description: z.ZodOptional<z.ZodString>;
59
+ ownerSystemId: z.ZodOptional<z.ZodString>;
60
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
61
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
62
+ }, z.core.$loose>>>>;
63
+ valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
64
+ id: z.ZodString;
65
+ label: z.ZodOptional<z.ZodString>;
66
+ description: z.ZodOptional<z.ZodString>;
67
+ ownerSystemId: z.ZodOptional<z.ZodString>;
68
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
+ primitive: z.ZodOptional<z.ZodString>;
70
+ }, z.core.$loose>>>>;
71
+ sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
72
+ id: z.ZodString;
73
+ label: z.ZodOptional<z.ZodString>;
74
+ description: z.ZodOptional<z.ZodString>;
75
+ ownerSystemId: z.ZodOptional<z.ZodString>;
76
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
77
+ valueType: z.ZodOptional<z.ZodString>;
78
+ searchable: z.ZodOptional<z.ZodBoolean>;
79
+ pii: z.ZodOptional<z.ZodBoolean>;
80
+ }, z.core.$loose>>>>;
81
+ groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
82
+ id: z.ZodString;
83
+ label: z.ZodOptional<z.ZodString>;
84
+ description: z.ZodOptional<z.ZodString>;
85
+ ownerSystemId: z.ZodOptional<z.ZodString>;
86
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
87
+ members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
88
+ }, z.core.$loose>>>>;
89
+ surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
90
+ id: z.ZodString;
91
+ label: z.ZodOptional<z.ZodString>;
92
+ description: z.ZodOptional<z.ZodString>;
93
+ ownerSystemId: z.ZodOptional<z.ZodString>;
94
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
95
+ route: z.ZodOptional<z.ZodString>;
96
+ }, z.core.$loose>>>>;
97
+ }, z.core.$strip>>;
98
+ type OntologyScope = z.infer<typeof OntologyScopeSchema>;
99
+
100
+ /**
101
+ * Placeholder discriminated union for ContentNode (Wave 1A).
102
+ * Wave 2A wires concrete (kind, type) pairs via the registry.
103
+ *
104
+ * Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
105
+ * Per L14: every node carries BOTH `kind` and `type`.
106
+ */
107
+ declare const ContentNodeSchema: z.ZodObject<{
108
+ label: z.ZodString;
109
+ description: z.ZodOptional<z.ZodString>;
110
+ order: z.ZodOptional<z.ZodNumber>;
111
+ parentContentId: z.ZodOptional<z.ZodString>;
112
+ kind: z.ZodString;
113
+ type: z.ZodString;
114
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
115
+ }, z.core.$strip>;
116
+ type ContentNode = z.infer<typeof ContentNodeSchema>;
117
+
118
+ type JsonPrimitive = string | number | boolean | null;
119
+ type JsonValue = JsonPrimitive | JsonValue[] | {
120
+ [key: string]: JsonValue;
121
+ };
122
+ /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
123
+ interface SystemEntry {
124
+ id: string;
125
+ label?: string;
126
+ title?: string;
127
+ description?: string;
128
+ kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
129
+ parentSystemId?: string;
130
+ ui?: {
131
+ path: string;
132
+ surfaces: string[];
133
+ icon?: string;
134
+ order?: number;
135
+ };
136
+ lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
137
+ responsibleRoleId?: string;
138
+ governedByKnowledge?: string[];
139
+ actions?: {
140
+ actionId: string;
141
+ intent: 'exposes' | 'consumes';
142
+ invocation?: unknown;
143
+ }[];
144
+ policies?: string[];
145
+ drivesGoals?: string[];
146
+ /** @deprecated Use lifecycle. Accepted for one publish cycle. */
147
+ status?: 'active' | 'deprecated' | 'archived';
148
+ path?: string;
149
+ icon?: string;
150
+ color?: string;
151
+ uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
152
+ enabled?: boolean;
153
+ devOnly?: boolean;
154
+ requiresAdmin?: boolean;
155
+ order: number;
156
+ config?: Record<string, JsonValue>;
157
+ ontology?: OntologyScope;
158
+ systems?: Record<string, SystemEntry>;
159
+ /**
160
+ * @deprecated Compatibility-only bridge for old tenant data and migration readers.
161
+ * Author new semantic catalogs in `ontology` and local settings in `config`.
162
+ */
163
+ content?: Record<string, ContentNode>;
164
+ subsystems?: Record<string, SystemEntry>;
165
+ }
166
+
6
167
  /**
7
168
  * Command View Types
8
169
  *
@@ -22,6 +183,41 @@ import { IconBrain } from '@tabler/icons-react';
22
183
  */
23
184
  type RelationshipType = 'triggers' | 'uses' | 'approval';
24
185
 
186
+ declare const SurfaceTypeSchema: z.ZodEnum<{
187
+ dashboard: "dashboard";
188
+ settings: "settings";
189
+ graph: "graph";
190
+ list: "list";
191
+ page: "page";
192
+ detail: "detail";
193
+ }>;
194
+ interface SidebarSurfaceNode {
195
+ type: 'surface';
196
+ label: string;
197
+ path: string;
198
+ surfaceType: z.infer<typeof SurfaceTypeSchema>;
199
+ description?: string;
200
+ icon?: string;
201
+ order?: number;
202
+ targets?: {
203
+ systems?: string[];
204
+ entities?: string[];
205
+ resources?: string[];
206
+ actions?: string[];
207
+ };
208
+ devOnly?: boolean;
209
+ requiresAdmin?: boolean;
210
+ }
211
+ interface SidebarGroupNode {
212
+ type: 'group';
213
+ label: string;
214
+ description?: string;
215
+ icon?: string;
216
+ order?: number;
217
+ children: Record<string, SidebarNode>;
218
+ }
219
+ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
220
+
25
221
  declare const OrgKnowledgeKindSchema: z.ZodEnum<{
26
222
  playbook: "playbook";
27
223
  strategy: "strategy";
@@ -37,234 +233,331 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
37
233
  title: z.ZodString;
38
234
  summary: z.ZodString;
39
235
  icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
40
- "nav.dashboard": "nav.dashboard";
41
- "nav.calendar": "nav.calendar";
42
- "nav.sales": "nav.sales";
43
- "nav.crm": "nav.crm";
44
- "nav.lead-gen": "nav.lead-gen";
45
- "nav.projects": "nav.projects";
46
- "nav.operations": "nav.operations";
47
- "nav.monitoring": "nav.monitoring";
48
- "nav.knowledge": "nav.knowledge";
49
- "nav.settings": "nav.settings";
50
- "nav.admin": "nav.admin";
51
- "nav.archive": "nav.archive";
52
- "knowledge.playbook": "knowledge.playbook";
53
- "knowledge.strategy": "knowledge.strategy";
54
- "knowledge.reference": "knowledge.reference";
55
- "feature.dashboard": "feature.dashboard";
56
- "feature.calendar": "feature.calendar";
57
- "feature.business": "feature.business";
58
- "feature.sales": "feature.sales";
59
- "feature.crm": "feature.crm";
60
- "feature.finance": "feature.finance";
61
- "feature.lead-gen": "feature.lead-gen";
62
- "feature.platform": "feature.platform";
63
- "feature.projects": "feature.projects";
64
- "feature.operations": "feature.operations";
65
- "feature.knowledge": "feature.knowledge";
66
- "feature.monitoring": "feature.monitoring";
67
- "feature.settings": "feature.settings";
68
- "feature.admin": "feature.admin";
69
- "feature.archive": "feature.archive";
70
- "feature.seo": "feature.seo";
71
- "resource.agent": "resource.agent";
72
- "resource.workflow": "resource.workflow";
73
- "resource.integration": "resource.integration";
74
- "resource.database": "resource.database";
75
- "resource.user": "resource.user";
76
- "resource.team": "resource.team";
77
- "integration.gmail": "integration.gmail";
78
- "integration.google-sheets": "integration.google-sheets";
79
- "integration.attio": "integration.attio";
80
- "surface.dashboard": "surface.dashboard";
81
- "surface.calendar": "surface.calendar";
82
- "surface.overview": "surface.overview";
83
- "surface.command-view": "surface.command-view";
84
- "surface.command-queue": "surface.command-queue";
85
- "surface.pipeline": "surface.pipeline";
86
- "surface.lists": "surface.lists";
87
- "surface.resources": "surface.resources";
88
- "surface.settings": "surface.settings";
89
- "status.success": "status.success";
90
- "status.error": "status.error";
91
- "status.warning": "status.warning";
92
- "status.info": "status.info";
93
- "status.pending": "status.pending";
94
- "action.approve": "action.approve";
95
- "action.reject": "action.reject";
96
- "action.retry": "action.retry";
97
- "action.edit": "action.edit";
98
- "action.view": "action.view";
99
- "action.launch": "action.launch";
100
- "action.message": "action.message";
101
- "action.escalate": "action.escalate";
102
- "action.promote": "action.promote";
103
- "action.submit": "action.submit";
104
- "action.email": "action.email";
236
+ message: "message";
237
+ error: "error";
238
+ agent: "agent";
239
+ workflow: "workflow";
240
+ "google-sheets": "google-sheets";
241
+ dashboard: "dashboard";
242
+ calendar: "calendar";
243
+ sales: "sales";
244
+ crm: "crm";
245
+ "lead-gen": "lead-gen";
246
+ projects: "projects";
247
+ operations: "operations";
248
+ monitoring: "monitoring";
249
+ knowledge: "knowledge";
250
+ settings: "settings";
251
+ admin: "admin";
252
+ archive: "archive";
253
+ business: "business";
254
+ finance: "finance";
255
+ platform: "platform";
256
+ seo: "seo";
257
+ playbook: "playbook";
258
+ strategy: "strategy";
259
+ reference: "reference";
260
+ integration: "integration";
261
+ database: "database";
262
+ user: "user";
263
+ team: "team";
264
+ gmail: "gmail";
265
+ attio: "attio";
266
+ overview: "overview";
267
+ "command-view": "command-view";
268
+ "command-queue": "command-queue";
269
+ pipeline: "pipeline";
270
+ lists: "lists";
271
+ resources: "resources";
272
+ approve: "approve";
273
+ reject: "reject";
274
+ retry: "retry";
275
+ edit: "edit";
276
+ view: "view";
277
+ launch: "launch";
278
+ escalate: "escalate";
279
+ promote: "promote";
280
+ submit: "submit";
281
+ email: "email";
282
+ success: "success";
283
+ warning: "warning";
284
+ info: "info";
285
+ pending: "pending";
286
+ bolt: "bolt";
287
+ building: "building";
288
+ briefcase: "briefcase";
289
+ apps: "apps";
290
+ graph: "graph";
291
+ shield: "shield";
292
+ users: "users";
293
+ "chart-bar": "chart-bar";
294
+ search: "search";
105
295
  }>, z.ZodString]>>;
296
+ externalUrl: z.ZodOptional<z.ZodString>;
297
+ sourceFilePath: z.ZodOptional<z.ZodString>;
106
298
  body: z.ZodString;
107
- links: z.ZodDefault<z.ZodArray<z.ZodObject<{
108
- nodeId: z.ZodString;
109
- }, z.core.$strip>>>;
110
- skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
111
- domain: z.ZodOptional<z.ZodString>;
299
+ links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
300
+ target: z.ZodObject<{
301
+ kind: z.ZodEnum<{
302
+ knowledge: "knowledge";
303
+ system: "system";
304
+ action: "action";
305
+ ontology: "ontology";
306
+ role: "role";
307
+ goal: "goal";
308
+ stage: "stage";
309
+ resource: "resource";
310
+ "customer-segment": "customer-segment";
311
+ offering: "offering";
312
+ "content-node": "content-node";
313
+ }>;
314
+ id: z.ZodString;
315
+ }, z.core.$strip>;
316
+ }, z.core.$strip>, z.ZodObject<{
317
+ nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
318
+ }, z.core.$strip>]>, z.ZodTransform<{
319
+ target: {
320
+ kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
321
+ id: string;
322
+ };
323
+ nodeId: string;
324
+ }, {
325
+ nodeId: string;
326
+ } | {
327
+ target: {
328
+ kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
329
+ id: string;
330
+ };
331
+ }>>>>;
112
332
  ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
113
333
  updatedAt: z.ZodString;
114
334
  }, z.core.$strip>;
115
335
 
116
336
  declare const OrganizationModelIconTokenSchema: z.ZodUnion<readonly [z.ZodEnum<{
117
- "nav.dashboard": "nav.dashboard";
118
- "nav.calendar": "nav.calendar";
119
- "nav.sales": "nav.sales";
120
- "nav.crm": "nav.crm";
121
- "nav.lead-gen": "nav.lead-gen";
122
- "nav.projects": "nav.projects";
123
- "nav.operations": "nav.operations";
124
- "nav.monitoring": "nav.monitoring";
125
- "nav.knowledge": "nav.knowledge";
126
- "nav.settings": "nav.settings";
127
- "nav.admin": "nav.admin";
128
- "nav.archive": "nav.archive";
129
- "knowledge.playbook": "knowledge.playbook";
130
- "knowledge.strategy": "knowledge.strategy";
131
- "knowledge.reference": "knowledge.reference";
132
- "feature.dashboard": "feature.dashboard";
133
- "feature.calendar": "feature.calendar";
134
- "feature.business": "feature.business";
135
- "feature.sales": "feature.sales";
136
- "feature.crm": "feature.crm";
137
- "feature.finance": "feature.finance";
138
- "feature.lead-gen": "feature.lead-gen";
139
- "feature.platform": "feature.platform";
140
- "feature.projects": "feature.projects";
141
- "feature.operations": "feature.operations";
142
- "feature.knowledge": "feature.knowledge";
143
- "feature.monitoring": "feature.monitoring";
144
- "feature.settings": "feature.settings";
145
- "feature.admin": "feature.admin";
146
- "feature.archive": "feature.archive";
147
- "feature.seo": "feature.seo";
148
- "resource.agent": "resource.agent";
149
- "resource.workflow": "resource.workflow";
150
- "resource.integration": "resource.integration";
151
- "resource.database": "resource.database";
152
- "resource.user": "resource.user";
153
- "resource.team": "resource.team";
154
- "integration.gmail": "integration.gmail";
155
- "integration.google-sheets": "integration.google-sheets";
156
- "integration.attio": "integration.attio";
157
- "surface.dashboard": "surface.dashboard";
158
- "surface.calendar": "surface.calendar";
159
- "surface.overview": "surface.overview";
160
- "surface.command-view": "surface.command-view";
161
- "surface.command-queue": "surface.command-queue";
162
- "surface.pipeline": "surface.pipeline";
163
- "surface.lists": "surface.lists";
164
- "surface.resources": "surface.resources";
165
- "surface.settings": "surface.settings";
166
- "status.success": "status.success";
167
- "status.error": "status.error";
168
- "status.warning": "status.warning";
169
- "status.info": "status.info";
170
- "status.pending": "status.pending";
171
- "action.approve": "action.approve";
172
- "action.reject": "action.reject";
173
- "action.retry": "action.retry";
174
- "action.edit": "action.edit";
175
- "action.view": "action.view";
176
- "action.launch": "action.launch";
177
- "action.message": "action.message";
178
- "action.escalate": "action.escalate";
179
- "action.promote": "action.promote";
180
- "action.submit": "action.submit";
181
- "action.email": "action.email";
337
+ message: "message";
338
+ error: "error";
339
+ agent: "agent";
340
+ workflow: "workflow";
341
+ "google-sheets": "google-sheets";
342
+ dashboard: "dashboard";
343
+ calendar: "calendar";
344
+ sales: "sales";
345
+ crm: "crm";
346
+ "lead-gen": "lead-gen";
347
+ projects: "projects";
348
+ operations: "operations";
349
+ monitoring: "monitoring";
350
+ knowledge: "knowledge";
351
+ settings: "settings";
352
+ admin: "admin";
353
+ archive: "archive";
354
+ business: "business";
355
+ finance: "finance";
356
+ platform: "platform";
357
+ seo: "seo";
358
+ playbook: "playbook";
359
+ strategy: "strategy";
360
+ reference: "reference";
361
+ integration: "integration";
362
+ database: "database";
363
+ user: "user";
364
+ team: "team";
365
+ gmail: "gmail";
366
+ attio: "attio";
367
+ overview: "overview";
368
+ "command-view": "command-view";
369
+ "command-queue": "command-queue";
370
+ pipeline: "pipeline";
371
+ lists: "lists";
372
+ resources: "resources";
373
+ approve: "approve";
374
+ reject: "reject";
375
+ retry: "retry";
376
+ edit: "edit";
377
+ view: "view";
378
+ launch: "launch";
379
+ escalate: "escalate";
380
+ promote: "promote";
381
+ submit: "submit";
382
+ email: "email";
383
+ success: "success";
384
+ warning: "warning";
385
+ info: "info";
386
+ pending: "pending";
387
+ bolt: "bolt";
388
+ building: "building";
389
+ briefcase: "briefcase";
390
+ apps: "apps";
391
+ graph: "graph";
392
+ shield: "shield";
393
+ users: "users";
394
+ "chart-bar": "chart-bar";
395
+ search: "search";
182
396
  }>, z.ZodString]>;
183
397
  type OrganizationModelIconToken = z.infer<typeof OrganizationModelIconTokenSchema>;
184
398
 
185
399
  declare const OrganizationModelSchema: z.ZodObject<{
186
400
  version: z.ZodDefault<z.ZodLiteral<1>>;
187
- features: z.ZodDefault<z.ZodArray<z.ZodObject<{
188
- id: z.ZodString;
189
- label: z.ZodString;
190
- description: z.ZodOptional<z.ZodString>;
191
- enabled: z.ZodDefault<z.ZodBoolean>;
192
- path: z.ZodOptional<z.ZodString>;
193
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
194
- "nav.dashboard": "nav.dashboard";
195
- "nav.calendar": "nav.calendar";
196
- "nav.sales": "nav.sales";
197
- "nav.crm": "nav.crm";
198
- "nav.lead-gen": "nav.lead-gen";
199
- "nav.projects": "nav.projects";
200
- "nav.operations": "nav.operations";
201
- "nav.monitoring": "nav.monitoring";
202
- "nav.knowledge": "nav.knowledge";
203
- "nav.settings": "nav.settings";
204
- "nav.admin": "nav.admin";
205
- "nav.archive": "nav.archive";
206
- "knowledge.playbook": "knowledge.playbook";
207
- "knowledge.strategy": "knowledge.strategy";
208
- "knowledge.reference": "knowledge.reference";
209
- "feature.dashboard": "feature.dashboard";
210
- "feature.calendar": "feature.calendar";
211
- "feature.business": "feature.business";
212
- "feature.sales": "feature.sales";
213
- "feature.crm": "feature.crm";
214
- "feature.finance": "feature.finance";
215
- "feature.lead-gen": "feature.lead-gen";
216
- "feature.platform": "feature.platform";
217
- "feature.projects": "feature.projects";
218
- "feature.operations": "feature.operations";
219
- "feature.knowledge": "feature.knowledge";
220
- "feature.monitoring": "feature.monitoring";
221
- "feature.settings": "feature.settings";
222
- "feature.admin": "feature.admin";
223
- "feature.archive": "feature.archive";
224
- "feature.seo": "feature.seo";
225
- "resource.agent": "resource.agent";
226
- "resource.workflow": "resource.workflow";
227
- "resource.integration": "resource.integration";
228
- "resource.database": "resource.database";
229
- "resource.user": "resource.user";
230
- "resource.team": "resource.team";
231
- "integration.gmail": "integration.gmail";
232
- "integration.google-sheets": "integration.google-sheets";
233
- "integration.attio": "integration.attio";
234
- "surface.dashboard": "surface.dashboard";
235
- "surface.calendar": "surface.calendar";
236
- "surface.overview": "surface.overview";
237
- "surface.command-view": "surface.command-view";
238
- "surface.command-queue": "surface.command-queue";
239
- "surface.pipeline": "surface.pipeline";
240
- "surface.lists": "surface.lists";
241
- "surface.resources": "surface.resources";
242
- "surface.settings": "surface.settings";
243
- "status.success": "status.success";
244
- "status.error": "status.error";
245
- "status.warning": "status.warning";
246
- "status.info": "status.info";
247
- "status.pending": "status.pending";
248
- "action.approve": "action.approve";
249
- "action.reject": "action.reject";
250
- "action.retry": "action.retry";
251
- "action.edit": "action.edit";
252
- "action.view": "action.view";
253
- "action.launch": "action.launch";
254
- "action.message": "action.message";
255
- "action.escalate": "action.escalate";
256
- "action.promote": "action.promote";
257
- "action.submit": "action.submit";
258
- "action.email": "action.email";
259
- }>, z.ZodString]>>;
260
- color: z.ZodOptional<z.ZodString>;
261
- uiPosition: z.ZodOptional<z.ZodEnum<{
262
- "sidebar-primary": "sidebar-primary";
263
- "sidebar-bottom": "sidebar-bottom";
264
- }>>;
265
- requiresAdmin: z.ZodOptional<z.ZodBoolean>;
266
- devOnly: z.ZodOptional<z.ZodBoolean>;
267
- }, z.core.$strip>>>;
401
+ domainMetadata: z.ZodPipe<z.ZodDefault<z.ZodObject<{
402
+ branding: z.ZodOptional<z.ZodObject<{
403
+ version: z.ZodDefault<z.ZodLiteral<1>>;
404
+ lastModified: z.ZodString;
405
+ }, z.core.$strip>>;
406
+ identity: z.ZodOptional<z.ZodObject<{
407
+ version: z.ZodDefault<z.ZodLiteral<1>>;
408
+ lastModified: z.ZodString;
409
+ }, z.core.$strip>>;
410
+ customers: z.ZodOptional<z.ZodObject<{
411
+ version: z.ZodDefault<z.ZodLiteral<1>>;
412
+ lastModified: z.ZodString;
413
+ }, z.core.$strip>>;
414
+ offerings: z.ZodOptional<z.ZodObject<{
415
+ version: z.ZodDefault<z.ZodLiteral<1>>;
416
+ lastModified: z.ZodString;
417
+ }, z.core.$strip>>;
418
+ roles: z.ZodOptional<z.ZodObject<{
419
+ version: z.ZodDefault<z.ZodLiteral<1>>;
420
+ lastModified: z.ZodString;
421
+ }, z.core.$strip>>;
422
+ goals: z.ZodOptional<z.ZodObject<{
423
+ version: z.ZodDefault<z.ZodLiteral<1>>;
424
+ lastModified: z.ZodString;
425
+ }, z.core.$strip>>;
426
+ systems: z.ZodOptional<z.ZodObject<{
427
+ version: z.ZodDefault<z.ZodLiteral<1>>;
428
+ lastModified: z.ZodString;
429
+ }, z.core.$strip>>;
430
+ ontology: z.ZodOptional<z.ZodObject<{
431
+ version: z.ZodDefault<z.ZodLiteral<1>>;
432
+ lastModified: z.ZodString;
433
+ }, z.core.$strip>>;
434
+ resources: z.ZodOptional<z.ZodObject<{
435
+ version: z.ZodDefault<z.ZodLiteral<1>>;
436
+ lastModified: z.ZodString;
437
+ }, z.core.$strip>>;
438
+ actions: z.ZodOptional<z.ZodObject<{
439
+ version: z.ZodDefault<z.ZodLiteral<1>>;
440
+ lastModified: z.ZodString;
441
+ }, z.core.$strip>>;
442
+ entities: z.ZodOptional<z.ZodObject<{
443
+ version: z.ZodDefault<z.ZodLiteral<1>>;
444
+ lastModified: z.ZodString;
445
+ }, z.core.$strip>>;
446
+ policies: z.ZodOptional<z.ZodObject<{
447
+ version: z.ZodDefault<z.ZodLiteral<1>>;
448
+ lastModified: z.ZodString;
449
+ }, z.core.$strip>>;
450
+ knowledge: z.ZodOptional<z.ZodObject<{
451
+ version: z.ZodDefault<z.ZodLiteral<1>>;
452
+ lastModified: z.ZodString;
453
+ }, z.core.$strip>>;
454
+ }, z.core.$strip>>, z.ZodTransform<{
455
+ branding: {
456
+ version: 1;
457
+ lastModified: string;
458
+ };
459
+ identity: {
460
+ version: 1;
461
+ lastModified: string;
462
+ };
463
+ customers: {
464
+ version: 1;
465
+ lastModified: string;
466
+ };
467
+ offerings: {
468
+ version: 1;
469
+ lastModified: string;
470
+ };
471
+ roles: {
472
+ version: 1;
473
+ lastModified: string;
474
+ };
475
+ goals: {
476
+ version: 1;
477
+ lastModified: string;
478
+ };
479
+ systems: {
480
+ version: 1;
481
+ lastModified: string;
482
+ };
483
+ ontology: {
484
+ version: 1;
485
+ lastModified: string;
486
+ };
487
+ resources: {
488
+ version: 1;
489
+ lastModified: string;
490
+ };
491
+ actions: {
492
+ version: 1;
493
+ lastModified: string;
494
+ };
495
+ entities: {
496
+ version: 1;
497
+ lastModified: string;
498
+ };
499
+ policies: {
500
+ version: 1;
501
+ lastModified: string;
502
+ };
503
+ knowledge: {
504
+ version: 1;
505
+ lastModified: string;
506
+ };
507
+ }, {
508
+ branding?: {
509
+ version: 1;
510
+ lastModified: string;
511
+ } | undefined;
512
+ identity?: {
513
+ version: 1;
514
+ lastModified: string;
515
+ } | undefined;
516
+ customers?: {
517
+ version: 1;
518
+ lastModified: string;
519
+ } | undefined;
520
+ offerings?: {
521
+ version: 1;
522
+ lastModified: string;
523
+ } | undefined;
524
+ roles?: {
525
+ version: 1;
526
+ lastModified: string;
527
+ } | undefined;
528
+ goals?: {
529
+ version: 1;
530
+ lastModified: string;
531
+ } | undefined;
532
+ systems?: {
533
+ version: 1;
534
+ lastModified: string;
535
+ } | undefined;
536
+ ontology?: {
537
+ version: 1;
538
+ lastModified: string;
539
+ } | undefined;
540
+ resources?: {
541
+ version: 1;
542
+ lastModified: string;
543
+ } | undefined;
544
+ actions?: {
545
+ version: 1;
546
+ lastModified: string;
547
+ } | undefined;
548
+ entities?: {
549
+ version: 1;
550
+ lastModified: string;
551
+ } | undefined;
552
+ policies?: {
553
+ version: 1;
554
+ lastModified: string;
555
+ } | undefined;
556
+ knowledge?: {
557
+ version: 1;
558
+ lastModified: string;
559
+ } | undefined;
560
+ }>>;
268
561
  branding: z.ZodObject<{
269
562
  organizationName: z.ZodString;
270
563
  productName: z.ZodString;
@@ -276,793 +569,11 @@ declare const OrganizationModelSchema: z.ZodObject<{
276
569
  }, z.core.$strip>>;
277
570
  }, z.core.$strip>;
278
571
  navigation: z.ZodDefault<z.ZodObject<{
279
- defaultSurfaceId: z.ZodOptional<z.ZodString>;
280
- surfaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
281
- id: z.ZodString;
282
- label: z.ZodString;
283
- path: z.ZodString;
284
- surfaceType: z.ZodEnum<{
285
- settings: "settings";
286
- page: "page";
287
- dashboard: "dashboard";
288
- graph: "graph";
289
- detail: "detail";
290
- list: "list";
291
- }>;
292
- description: z.ZodOptional<z.ZodString>;
293
- enabled: z.ZodDefault<z.ZodBoolean>;
294
- devOnly: z.ZodOptional<z.ZodBoolean>;
295
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
296
- "nav.dashboard": "nav.dashboard";
297
- "nav.calendar": "nav.calendar";
298
- "nav.sales": "nav.sales";
299
- "nav.crm": "nav.crm";
300
- "nav.lead-gen": "nav.lead-gen";
301
- "nav.projects": "nav.projects";
302
- "nav.operations": "nav.operations";
303
- "nav.monitoring": "nav.monitoring";
304
- "nav.knowledge": "nav.knowledge";
305
- "nav.settings": "nav.settings";
306
- "nav.admin": "nav.admin";
307
- "nav.archive": "nav.archive";
308
- "knowledge.playbook": "knowledge.playbook";
309
- "knowledge.strategy": "knowledge.strategy";
310
- "knowledge.reference": "knowledge.reference";
311
- "feature.dashboard": "feature.dashboard";
312
- "feature.calendar": "feature.calendar";
313
- "feature.business": "feature.business";
314
- "feature.sales": "feature.sales";
315
- "feature.crm": "feature.crm";
316
- "feature.finance": "feature.finance";
317
- "feature.lead-gen": "feature.lead-gen";
318
- "feature.platform": "feature.platform";
319
- "feature.projects": "feature.projects";
320
- "feature.operations": "feature.operations";
321
- "feature.knowledge": "feature.knowledge";
322
- "feature.monitoring": "feature.monitoring";
323
- "feature.settings": "feature.settings";
324
- "feature.admin": "feature.admin";
325
- "feature.archive": "feature.archive";
326
- "feature.seo": "feature.seo";
327
- "resource.agent": "resource.agent";
328
- "resource.workflow": "resource.workflow";
329
- "resource.integration": "resource.integration";
330
- "resource.database": "resource.database";
331
- "resource.user": "resource.user";
332
- "resource.team": "resource.team";
333
- "integration.gmail": "integration.gmail";
334
- "integration.google-sheets": "integration.google-sheets";
335
- "integration.attio": "integration.attio";
336
- "surface.dashboard": "surface.dashboard";
337
- "surface.calendar": "surface.calendar";
338
- "surface.overview": "surface.overview";
339
- "surface.command-view": "surface.command-view";
340
- "surface.command-queue": "surface.command-queue";
341
- "surface.pipeline": "surface.pipeline";
342
- "surface.lists": "surface.lists";
343
- "surface.resources": "surface.resources";
344
- "surface.settings": "surface.settings";
345
- "status.success": "status.success";
346
- "status.error": "status.error";
347
- "status.warning": "status.warning";
348
- "status.info": "status.info";
349
- "status.pending": "status.pending";
350
- "action.approve": "action.approve";
351
- "action.reject": "action.reject";
352
- "action.retry": "action.retry";
353
- "action.edit": "action.edit";
354
- "action.view": "action.view";
355
- "action.launch": "action.launch";
356
- "action.message": "action.message";
357
- "action.escalate": "action.escalate";
358
- "action.promote": "action.promote";
359
- "action.submit": "action.submit";
360
- "action.email": "action.email";
361
- }>, z.ZodString]>>;
362
- featureId: z.ZodOptional<z.ZodString>;
363
- featureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
364
- entityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
365
- resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
366
- capabilityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
367
- parentId: z.ZodOptional<z.ZodString>;
368
- }, z.core.$strip>>>;
369
- groups: z.ZodDefault<z.ZodArray<z.ZodObject<{
370
- id: z.ZodString;
371
- label: z.ZodString;
372
- placement: z.ZodString;
373
- surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
374
- }, z.core.$strip>>>;
375
- }, z.core.$strip>>;
376
- sales: z.ZodObject<{
377
- entityId: z.ZodString;
378
- defaultPipelineId: z.ZodString;
379
- pipelines: z.ZodArray<z.ZodObject<{
380
- id: z.ZodString;
381
- label: z.ZodString;
382
- description: z.ZodOptional<z.ZodString>;
383
- entityId: z.ZodString;
384
- stages: z.ZodArray<z.ZodObject<{
385
- label: z.ZodString;
386
- description: z.ZodOptional<z.ZodString>;
387
- color: z.ZodOptional<z.ZodString>;
388
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
389
- "nav.dashboard": "nav.dashboard";
390
- "nav.calendar": "nav.calendar";
391
- "nav.sales": "nav.sales";
392
- "nav.crm": "nav.crm";
393
- "nav.lead-gen": "nav.lead-gen";
394
- "nav.projects": "nav.projects";
395
- "nav.operations": "nav.operations";
396
- "nav.monitoring": "nav.monitoring";
397
- "nav.knowledge": "nav.knowledge";
398
- "nav.settings": "nav.settings";
399
- "nav.admin": "nav.admin";
400
- "nav.archive": "nav.archive";
401
- "knowledge.playbook": "knowledge.playbook";
402
- "knowledge.strategy": "knowledge.strategy";
403
- "knowledge.reference": "knowledge.reference";
404
- "feature.dashboard": "feature.dashboard";
405
- "feature.calendar": "feature.calendar";
406
- "feature.business": "feature.business";
407
- "feature.sales": "feature.sales";
408
- "feature.crm": "feature.crm";
409
- "feature.finance": "feature.finance";
410
- "feature.lead-gen": "feature.lead-gen";
411
- "feature.platform": "feature.platform";
412
- "feature.projects": "feature.projects";
413
- "feature.operations": "feature.operations";
414
- "feature.knowledge": "feature.knowledge";
415
- "feature.monitoring": "feature.monitoring";
416
- "feature.settings": "feature.settings";
417
- "feature.admin": "feature.admin";
418
- "feature.archive": "feature.archive";
419
- "feature.seo": "feature.seo";
420
- "resource.agent": "resource.agent";
421
- "resource.workflow": "resource.workflow";
422
- "resource.integration": "resource.integration";
423
- "resource.database": "resource.database";
424
- "resource.user": "resource.user";
425
- "resource.team": "resource.team";
426
- "integration.gmail": "integration.gmail";
427
- "integration.google-sheets": "integration.google-sheets";
428
- "integration.attio": "integration.attio";
429
- "surface.dashboard": "surface.dashboard";
430
- "surface.calendar": "surface.calendar";
431
- "surface.overview": "surface.overview";
432
- "surface.command-view": "surface.command-view";
433
- "surface.command-queue": "surface.command-queue";
434
- "surface.pipeline": "surface.pipeline";
435
- "surface.lists": "surface.lists";
436
- "surface.resources": "surface.resources";
437
- "surface.settings": "surface.settings";
438
- "status.success": "status.success";
439
- "status.error": "status.error";
440
- "status.warning": "status.warning";
441
- "status.info": "status.info";
442
- "status.pending": "status.pending";
443
- "action.approve": "action.approve";
444
- "action.reject": "action.reject";
445
- "action.retry": "action.retry";
446
- "action.edit": "action.edit";
447
- "action.view": "action.view";
448
- "action.launch": "action.launch";
449
- "action.message": "action.message";
450
- "action.escalate": "action.escalate";
451
- "action.promote": "action.promote";
452
- "action.submit": "action.submit";
453
- "action.email": "action.email";
454
- }>, z.ZodString]>>;
455
- id: z.ZodString;
456
- order: z.ZodNumber;
457
- semanticClass: z.ZodEnum<{
458
- open: "open";
459
- active: "active";
460
- nurturing: "nurturing";
461
- closed_won: "closed_won";
462
- closed_lost: "closed_lost";
463
- }>;
464
- surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
465
- resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
466
- }, z.core.$strip>>;
467
- }, z.core.$strip>>;
468
- }, z.core.$strip>;
469
- prospecting: z.ZodObject<{
470
- listEntityId: z.ZodString;
471
- companyEntityId: z.ZodString;
472
- contactEntityId: z.ZodString;
473
- description: z.ZodOptional<z.ZodString>;
474
- companyStages: z.ZodArray<z.ZodObject<{
475
- label: z.ZodString;
476
- description: z.ZodOptional<z.ZodString>;
477
- color: z.ZodOptional<z.ZodString>;
478
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
479
- "nav.dashboard": "nav.dashboard";
480
- "nav.calendar": "nav.calendar";
481
- "nav.sales": "nav.sales";
482
- "nav.crm": "nav.crm";
483
- "nav.lead-gen": "nav.lead-gen";
484
- "nav.projects": "nav.projects";
485
- "nav.operations": "nav.operations";
486
- "nav.monitoring": "nav.monitoring";
487
- "nav.knowledge": "nav.knowledge";
488
- "nav.settings": "nav.settings";
489
- "nav.admin": "nav.admin";
490
- "nav.archive": "nav.archive";
491
- "knowledge.playbook": "knowledge.playbook";
492
- "knowledge.strategy": "knowledge.strategy";
493
- "knowledge.reference": "knowledge.reference";
494
- "feature.dashboard": "feature.dashboard";
495
- "feature.calendar": "feature.calendar";
496
- "feature.business": "feature.business";
497
- "feature.sales": "feature.sales";
498
- "feature.crm": "feature.crm";
499
- "feature.finance": "feature.finance";
500
- "feature.lead-gen": "feature.lead-gen";
501
- "feature.platform": "feature.platform";
502
- "feature.projects": "feature.projects";
503
- "feature.operations": "feature.operations";
504
- "feature.knowledge": "feature.knowledge";
505
- "feature.monitoring": "feature.monitoring";
506
- "feature.settings": "feature.settings";
507
- "feature.admin": "feature.admin";
508
- "feature.archive": "feature.archive";
509
- "feature.seo": "feature.seo";
510
- "resource.agent": "resource.agent";
511
- "resource.workflow": "resource.workflow";
512
- "resource.integration": "resource.integration";
513
- "resource.database": "resource.database";
514
- "resource.user": "resource.user";
515
- "resource.team": "resource.team";
516
- "integration.gmail": "integration.gmail";
517
- "integration.google-sheets": "integration.google-sheets";
518
- "integration.attio": "integration.attio";
519
- "surface.dashboard": "surface.dashboard";
520
- "surface.calendar": "surface.calendar";
521
- "surface.overview": "surface.overview";
522
- "surface.command-view": "surface.command-view";
523
- "surface.command-queue": "surface.command-queue";
524
- "surface.pipeline": "surface.pipeline";
525
- "surface.lists": "surface.lists";
526
- "surface.resources": "surface.resources";
527
- "surface.settings": "surface.settings";
528
- "status.success": "status.success";
529
- "status.error": "status.error";
530
- "status.warning": "status.warning";
531
- "status.info": "status.info";
532
- "status.pending": "status.pending";
533
- "action.approve": "action.approve";
534
- "action.reject": "action.reject";
535
- "action.retry": "action.retry";
536
- "action.edit": "action.edit";
537
- "action.view": "action.view";
538
- "action.launch": "action.launch";
539
- "action.message": "action.message";
540
- "action.escalate": "action.escalate";
541
- "action.promote": "action.promote";
542
- "action.submit": "action.submit";
543
- "action.email": "action.email";
544
- }>, z.ZodString]>>;
545
- id: z.ZodString;
546
- order: z.ZodNumber;
547
- }, z.core.$strip>>;
548
- contactStages: z.ZodArray<z.ZodObject<{
549
- label: z.ZodString;
550
- description: z.ZodOptional<z.ZodString>;
551
- color: z.ZodOptional<z.ZodString>;
552
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
553
- "nav.dashboard": "nav.dashboard";
554
- "nav.calendar": "nav.calendar";
555
- "nav.sales": "nav.sales";
556
- "nav.crm": "nav.crm";
557
- "nav.lead-gen": "nav.lead-gen";
558
- "nav.projects": "nav.projects";
559
- "nav.operations": "nav.operations";
560
- "nav.monitoring": "nav.monitoring";
561
- "nav.knowledge": "nav.knowledge";
562
- "nav.settings": "nav.settings";
563
- "nav.admin": "nav.admin";
564
- "nav.archive": "nav.archive";
565
- "knowledge.playbook": "knowledge.playbook";
566
- "knowledge.strategy": "knowledge.strategy";
567
- "knowledge.reference": "knowledge.reference";
568
- "feature.dashboard": "feature.dashboard";
569
- "feature.calendar": "feature.calendar";
570
- "feature.business": "feature.business";
571
- "feature.sales": "feature.sales";
572
- "feature.crm": "feature.crm";
573
- "feature.finance": "feature.finance";
574
- "feature.lead-gen": "feature.lead-gen";
575
- "feature.platform": "feature.platform";
576
- "feature.projects": "feature.projects";
577
- "feature.operations": "feature.operations";
578
- "feature.knowledge": "feature.knowledge";
579
- "feature.monitoring": "feature.monitoring";
580
- "feature.settings": "feature.settings";
581
- "feature.admin": "feature.admin";
582
- "feature.archive": "feature.archive";
583
- "feature.seo": "feature.seo";
584
- "resource.agent": "resource.agent";
585
- "resource.workflow": "resource.workflow";
586
- "resource.integration": "resource.integration";
587
- "resource.database": "resource.database";
588
- "resource.user": "resource.user";
589
- "resource.team": "resource.team";
590
- "integration.gmail": "integration.gmail";
591
- "integration.google-sheets": "integration.google-sheets";
592
- "integration.attio": "integration.attio";
593
- "surface.dashboard": "surface.dashboard";
594
- "surface.calendar": "surface.calendar";
595
- "surface.overview": "surface.overview";
596
- "surface.command-view": "surface.command-view";
597
- "surface.command-queue": "surface.command-queue";
598
- "surface.pipeline": "surface.pipeline";
599
- "surface.lists": "surface.lists";
600
- "surface.resources": "surface.resources";
601
- "surface.settings": "surface.settings";
602
- "status.success": "status.success";
603
- "status.error": "status.error";
604
- "status.warning": "status.warning";
605
- "status.info": "status.info";
606
- "status.pending": "status.pending";
607
- "action.approve": "action.approve";
608
- "action.reject": "action.reject";
609
- "action.retry": "action.retry";
610
- "action.edit": "action.edit";
611
- "action.view": "action.view";
612
- "action.launch": "action.launch";
613
- "action.message": "action.message";
614
- "action.escalate": "action.escalate";
615
- "action.promote": "action.promote";
616
- "action.submit": "action.submit";
617
- "action.email": "action.email";
618
- }>, z.ZodString]>>;
619
- id: z.ZodString;
620
- order: z.ZodNumber;
621
- }, z.core.$strip>>;
622
- defaultBuildTemplateId: z.ZodString;
623
- buildTemplates: z.ZodArray<z.ZodObject<{
624
- label: z.ZodString;
625
- description: z.ZodOptional<z.ZodString>;
626
- color: z.ZodOptional<z.ZodString>;
627
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
628
- "nav.dashboard": "nav.dashboard";
629
- "nav.calendar": "nav.calendar";
630
- "nav.sales": "nav.sales";
631
- "nav.crm": "nav.crm";
632
- "nav.lead-gen": "nav.lead-gen";
633
- "nav.projects": "nav.projects";
634
- "nav.operations": "nav.operations";
635
- "nav.monitoring": "nav.monitoring";
636
- "nav.knowledge": "nav.knowledge";
637
- "nav.settings": "nav.settings";
638
- "nav.admin": "nav.admin";
639
- "nav.archive": "nav.archive";
640
- "knowledge.playbook": "knowledge.playbook";
641
- "knowledge.strategy": "knowledge.strategy";
642
- "knowledge.reference": "knowledge.reference";
643
- "feature.dashboard": "feature.dashboard";
644
- "feature.calendar": "feature.calendar";
645
- "feature.business": "feature.business";
646
- "feature.sales": "feature.sales";
647
- "feature.crm": "feature.crm";
648
- "feature.finance": "feature.finance";
649
- "feature.lead-gen": "feature.lead-gen";
650
- "feature.platform": "feature.platform";
651
- "feature.projects": "feature.projects";
652
- "feature.operations": "feature.operations";
653
- "feature.knowledge": "feature.knowledge";
654
- "feature.monitoring": "feature.monitoring";
655
- "feature.settings": "feature.settings";
656
- "feature.admin": "feature.admin";
657
- "feature.archive": "feature.archive";
658
- "feature.seo": "feature.seo";
659
- "resource.agent": "resource.agent";
660
- "resource.workflow": "resource.workflow";
661
- "resource.integration": "resource.integration";
662
- "resource.database": "resource.database";
663
- "resource.user": "resource.user";
664
- "resource.team": "resource.team";
665
- "integration.gmail": "integration.gmail";
666
- "integration.google-sheets": "integration.google-sheets";
667
- "integration.attio": "integration.attio";
668
- "surface.dashboard": "surface.dashboard";
669
- "surface.calendar": "surface.calendar";
670
- "surface.overview": "surface.overview";
671
- "surface.command-view": "surface.command-view";
672
- "surface.command-queue": "surface.command-queue";
673
- "surface.pipeline": "surface.pipeline";
674
- "surface.lists": "surface.lists";
675
- "surface.resources": "surface.resources";
676
- "surface.settings": "surface.settings";
677
- "status.success": "status.success";
678
- "status.error": "status.error";
679
- "status.warning": "status.warning";
680
- "status.info": "status.info";
681
- "status.pending": "status.pending";
682
- "action.approve": "action.approve";
683
- "action.reject": "action.reject";
684
- "action.retry": "action.retry";
685
- "action.edit": "action.edit";
686
- "action.view": "action.view";
687
- "action.launch": "action.launch";
688
- "action.message": "action.message";
689
- "action.escalate": "action.escalate";
690
- "action.promote": "action.promote";
691
- "action.submit": "action.submit";
692
- "action.email": "action.email";
693
- }>, z.ZodString]>>;
694
- id: z.ZodString;
695
- steps: z.ZodArray<z.ZodObject<{
696
- label: z.ZodString;
697
- description: z.ZodOptional<z.ZodString>;
698
- color: z.ZodOptional<z.ZodString>;
699
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
700
- "nav.dashboard": "nav.dashboard";
701
- "nav.calendar": "nav.calendar";
702
- "nav.sales": "nav.sales";
703
- "nav.crm": "nav.crm";
704
- "nav.lead-gen": "nav.lead-gen";
705
- "nav.projects": "nav.projects";
706
- "nav.operations": "nav.operations";
707
- "nav.monitoring": "nav.monitoring";
708
- "nav.knowledge": "nav.knowledge";
709
- "nav.settings": "nav.settings";
710
- "nav.admin": "nav.admin";
711
- "nav.archive": "nav.archive";
712
- "knowledge.playbook": "knowledge.playbook";
713
- "knowledge.strategy": "knowledge.strategy";
714
- "knowledge.reference": "knowledge.reference";
715
- "feature.dashboard": "feature.dashboard";
716
- "feature.calendar": "feature.calendar";
717
- "feature.business": "feature.business";
718
- "feature.sales": "feature.sales";
719
- "feature.crm": "feature.crm";
720
- "feature.finance": "feature.finance";
721
- "feature.lead-gen": "feature.lead-gen";
722
- "feature.platform": "feature.platform";
723
- "feature.projects": "feature.projects";
724
- "feature.operations": "feature.operations";
725
- "feature.knowledge": "feature.knowledge";
726
- "feature.monitoring": "feature.monitoring";
727
- "feature.settings": "feature.settings";
728
- "feature.admin": "feature.admin";
729
- "feature.archive": "feature.archive";
730
- "feature.seo": "feature.seo";
731
- "resource.agent": "resource.agent";
732
- "resource.workflow": "resource.workflow";
733
- "resource.integration": "resource.integration";
734
- "resource.database": "resource.database";
735
- "resource.user": "resource.user";
736
- "resource.team": "resource.team";
737
- "integration.gmail": "integration.gmail";
738
- "integration.google-sheets": "integration.google-sheets";
739
- "integration.attio": "integration.attio";
740
- "surface.dashboard": "surface.dashboard";
741
- "surface.calendar": "surface.calendar";
742
- "surface.overview": "surface.overview";
743
- "surface.command-view": "surface.command-view";
744
- "surface.command-queue": "surface.command-queue";
745
- "surface.pipeline": "surface.pipeline";
746
- "surface.lists": "surface.lists";
747
- "surface.resources": "surface.resources";
748
- "surface.settings": "surface.settings";
749
- "status.success": "status.success";
750
- "status.error": "status.error";
751
- "status.warning": "status.warning";
752
- "status.info": "status.info";
753
- "status.pending": "status.pending";
754
- "action.approve": "action.approve";
755
- "action.reject": "action.reject";
756
- "action.retry": "action.retry";
757
- "action.edit": "action.edit";
758
- "action.view": "action.view";
759
- "action.launch": "action.launch";
760
- "action.message": "action.message";
761
- "action.escalate": "action.escalate";
762
- "action.promote": "action.promote";
763
- "action.submit": "action.submit";
764
- "action.email": "action.email";
765
- }>, z.ZodString]>>;
766
- id: z.ZodString;
767
- primaryEntity: z.ZodEnum<{
768
- company: "company";
769
- contact: "contact";
770
- }>;
771
- outputs: z.ZodArray<z.ZodEnum<{
772
- company: "company";
773
- contact: "contact";
774
- export: "export";
775
- }>>;
776
- stageKey: z.ZodString;
777
- recordEntity: z.ZodOptional<z.ZodEnum<{
778
- company: "company";
779
- contact: "contact";
780
- }>>;
781
- recordsStageKey: z.ZodOptional<z.ZodString>;
782
- recordSourceStageKey: z.ZodOptional<z.ZodString>;
783
- dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
784
- dependencyMode: z.ZodLiteral<"per-record-eligibility">;
785
- capabilityKey: z.ZodString;
786
- defaultBatchSize: z.ZodNumber;
787
- maxBatchSize: z.ZodNumber;
788
- recordColumns: z.ZodOptional<z.ZodObject<{
789
- company: z.ZodOptional<z.ZodArray<z.ZodObject<{
790
- key: z.ZodString;
791
- label: z.ZodString;
792
- path: z.ZodString;
793
- width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
794
- renderType: z.ZodOptional<z.ZodEnum<{
795
- text: "text";
796
- badge: "badge";
797
- datetime: "datetime";
798
- count: "count";
799
- json: "json";
800
- }>>;
801
- badgeColor: z.ZodOptional<z.ZodString>;
802
- }, z.core.$strip>>>;
803
- contact: z.ZodOptional<z.ZodArray<z.ZodObject<{
804
- key: z.ZodString;
805
- label: z.ZodString;
806
- path: z.ZodString;
807
- width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
808
- renderType: z.ZodOptional<z.ZodEnum<{
809
- text: "text";
810
- badge: "badge";
811
- datetime: "datetime";
812
- count: "count";
813
- json: "json";
814
- }>>;
815
- badgeColor: z.ZodOptional<z.ZodString>;
816
- }, z.core.$strip>>>;
817
- }, z.core.$strip>>;
818
- credentialRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
819
- key: z.ZodString;
820
- provider: z.ZodString;
821
- credentialType: z.ZodEnum<{
822
- "api-key": "api-key";
823
- "api-key-secret": "api-key-secret";
824
- oauth: "oauth";
825
- "webhook-secret": "webhook-secret";
826
- }>;
827
- label: z.ZodString;
828
- required: z.ZodBoolean;
829
- selectionMode: z.ZodOptional<z.ZodEnum<{
830
- single: "single";
831
- multiple: "multiple";
832
- }>>;
833
- inputPath: z.ZodString;
834
- verifyOnRun: z.ZodOptional<z.ZodBoolean>;
835
- }, z.core.$strip>>>;
836
- }, z.core.$strip>>;
572
+ sidebar: z.ZodDefault<z.ZodObject<{
573
+ primary: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
574
+ bottom: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
837
575
  }, z.core.$strip>>;
838
- }, z.core.$strip>;
839
- projects: z.ZodObject<{
840
- projectEntityId: z.ZodString;
841
- milestoneEntityId: z.ZodString;
842
- taskEntityId: z.ZodString;
843
- projectStatuses: z.ZodArray<z.ZodObject<{
844
- label: z.ZodString;
845
- description: z.ZodOptional<z.ZodString>;
846
- color: z.ZodOptional<z.ZodString>;
847
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
848
- "nav.dashboard": "nav.dashboard";
849
- "nav.calendar": "nav.calendar";
850
- "nav.sales": "nav.sales";
851
- "nav.crm": "nav.crm";
852
- "nav.lead-gen": "nav.lead-gen";
853
- "nav.projects": "nav.projects";
854
- "nav.operations": "nav.operations";
855
- "nav.monitoring": "nav.monitoring";
856
- "nav.knowledge": "nav.knowledge";
857
- "nav.settings": "nav.settings";
858
- "nav.admin": "nav.admin";
859
- "nav.archive": "nav.archive";
860
- "knowledge.playbook": "knowledge.playbook";
861
- "knowledge.strategy": "knowledge.strategy";
862
- "knowledge.reference": "knowledge.reference";
863
- "feature.dashboard": "feature.dashboard";
864
- "feature.calendar": "feature.calendar";
865
- "feature.business": "feature.business";
866
- "feature.sales": "feature.sales";
867
- "feature.crm": "feature.crm";
868
- "feature.finance": "feature.finance";
869
- "feature.lead-gen": "feature.lead-gen";
870
- "feature.platform": "feature.platform";
871
- "feature.projects": "feature.projects";
872
- "feature.operations": "feature.operations";
873
- "feature.knowledge": "feature.knowledge";
874
- "feature.monitoring": "feature.monitoring";
875
- "feature.settings": "feature.settings";
876
- "feature.admin": "feature.admin";
877
- "feature.archive": "feature.archive";
878
- "feature.seo": "feature.seo";
879
- "resource.agent": "resource.agent";
880
- "resource.workflow": "resource.workflow";
881
- "resource.integration": "resource.integration";
882
- "resource.database": "resource.database";
883
- "resource.user": "resource.user";
884
- "resource.team": "resource.team";
885
- "integration.gmail": "integration.gmail";
886
- "integration.google-sheets": "integration.google-sheets";
887
- "integration.attio": "integration.attio";
888
- "surface.dashboard": "surface.dashboard";
889
- "surface.calendar": "surface.calendar";
890
- "surface.overview": "surface.overview";
891
- "surface.command-view": "surface.command-view";
892
- "surface.command-queue": "surface.command-queue";
893
- "surface.pipeline": "surface.pipeline";
894
- "surface.lists": "surface.lists";
895
- "surface.resources": "surface.resources";
896
- "surface.settings": "surface.settings";
897
- "status.success": "status.success";
898
- "status.error": "status.error";
899
- "status.warning": "status.warning";
900
- "status.info": "status.info";
901
- "status.pending": "status.pending";
902
- "action.approve": "action.approve";
903
- "action.reject": "action.reject";
904
- "action.retry": "action.retry";
905
- "action.edit": "action.edit";
906
- "action.view": "action.view";
907
- "action.launch": "action.launch";
908
- "action.message": "action.message";
909
- "action.escalate": "action.escalate";
910
- "action.promote": "action.promote";
911
- "action.submit": "action.submit";
912
- "action.email": "action.email";
913
- }>, z.ZodString]>>;
914
- id: z.ZodString;
915
- order: z.ZodNumber;
916
- }, z.core.$strip>>;
917
- milestoneStatuses: z.ZodArray<z.ZodObject<{
918
- label: z.ZodString;
919
- description: z.ZodOptional<z.ZodString>;
920
- color: z.ZodOptional<z.ZodString>;
921
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
922
- "nav.dashboard": "nav.dashboard";
923
- "nav.calendar": "nav.calendar";
924
- "nav.sales": "nav.sales";
925
- "nav.crm": "nav.crm";
926
- "nav.lead-gen": "nav.lead-gen";
927
- "nav.projects": "nav.projects";
928
- "nav.operations": "nav.operations";
929
- "nav.monitoring": "nav.monitoring";
930
- "nav.knowledge": "nav.knowledge";
931
- "nav.settings": "nav.settings";
932
- "nav.admin": "nav.admin";
933
- "nav.archive": "nav.archive";
934
- "knowledge.playbook": "knowledge.playbook";
935
- "knowledge.strategy": "knowledge.strategy";
936
- "knowledge.reference": "knowledge.reference";
937
- "feature.dashboard": "feature.dashboard";
938
- "feature.calendar": "feature.calendar";
939
- "feature.business": "feature.business";
940
- "feature.sales": "feature.sales";
941
- "feature.crm": "feature.crm";
942
- "feature.finance": "feature.finance";
943
- "feature.lead-gen": "feature.lead-gen";
944
- "feature.platform": "feature.platform";
945
- "feature.projects": "feature.projects";
946
- "feature.operations": "feature.operations";
947
- "feature.knowledge": "feature.knowledge";
948
- "feature.monitoring": "feature.monitoring";
949
- "feature.settings": "feature.settings";
950
- "feature.admin": "feature.admin";
951
- "feature.archive": "feature.archive";
952
- "feature.seo": "feature.seo";
953
- "resource.agent": "resource.agent";
954
- "resource.workflow": "resource.workflow";
955
- "resource.integration": "resource.integration";
956
- "resource.database": "resource.database";
957
- "resource.user": "resource.user";
958
- "resource.team": "resource.team";
959
- "integration.gmail": "integration.gmail";
960
- "integration.google-sheets": "integration.google-sheets";
961
- "integration.attio": "integration.attio";
962
- "surface.dashboard": "surface.dashboard";
963
- "surface.calendar": "surface.calendar";
964
- "surface.overview": "surface.overview";
965
- "surface.command-view": "surface.command-view";
966
- "surface.command-queue": "surface.command-queue";
967
- "surface.pipeline": "surface.pipeline";
968
- "surface.lists": "surface.lists";
969
- "surface.resources": "surface.resources";
970
- "surface.settings": "surface.settings";
971
- "status.success": "status.success";
972
- "status.error": "status.error";
973
- "status.warning": "status.warning";
974
- "status.info": "status.info";
975
- "status.pending": "status.pending";
976
- "action.approve": "action.approve";
977
- "action.reject": "action.reject";
978
- "action.retry": "action.retry";
979
- "action.edit": "action.edit";
980
- "action.view": "action.view";
981
- "action.launch": "action.launch";
982
- "action.message": "action.message";
983
- "action.escalate": "action.escalate";
984
- "action.promote": "action.promote";
985
- "action.submit": "action.submit";
986
- "action.email": "action.email";
987
- }>, z.ZodString]>>;
988
- id: z.ZodString;
989
- order: z.ZodNumber;
990
- }, z.core.$strip>>;
991
- taskStatuses: z.ZodArray<z.ZodObject<{
992
- label: z.ZodString;
993
- description: z.ZodOptional<z.ZodString>;
994
- color: z.ZodOptional<z.ZodString>;
995
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
996
- "nav.dashboard": "nav.dashboard";
997
- "nav.calendar": "nav.calendar";
998
- "nav.sales": "nav.sales";
999
- "nav.crm": "nav.crm";
1000
- "nav.lead-gen": "nav.lead-gen";
1001
- "nav.projects": "nav.projects";
1002
- "nav.operations": "nav.operations";
1003
- "nav.monitoring": "nav.monitoring";
1004
- "nav.knowledge": "nav.knowledge";
1005
- "nav.settings": "nav.settings";
1006
- "nav.admin": "nav.admin";
1007
- "nav.archive": "nav.archive";
1008
- "knowledge.playbook": "knowledge.playbook";
1009
- "knowledge.strategy": "knowledge.strategy";
1010
- "knowledge.reference": "knowledge.reference";
1011
- "feature.dashboard": "feature.dashboard";
1012
- "feature.calendar": "feature.calendar";
1013
- "feature.business": "feature.business";
1014
- "feature.sales": "feature.sales";
1015
- "feature.crm": "feature.crm";
1016
- "feature.finance": "feature.finance";
1017
- "feature.lead-gen": "feature.lead-gen";
1018
- "feature.platform": "feature.platform";
1019
- "feature.projects": "feature.projects";
1020
- "feature.operations": "feature.operations";
1021
- "feature.knowledge": "feature.knowledge";
1022
- "feature.monitoring": "feature.monitoring";
1023
- "feature.settings": "feature.settings";
1024
- "feature.admin": "feature.admin";
1025
- "feature.archive": "feature.archive";
1026
- "feature.seo": "feature.seo";
1027
- "resource.agent": "resource.agent";
1028
- "resource.workflow": "resource.workflow";
1029
- "resource.integration": "resource.integration";
1030
- "resource.database": "resource.database";
1031
- "resource.user": "resource.user";
1032
- "resource.team": "resource.team";
1033
- "integration.gmail": "integration.gmail";
1034
- "integration.google-sheets": "integration.google-sheets";
1035
- "integration.attio": "integration.attio";
1036
- "surface.dashboard": "surface.dashboard";
1037
- "surface.calendar": "surface.calendar";
1038
- "surface.overview": "surface.overview";
1039
- "surface.command-view": "surface.command-view";
1040
- "surface.command-queue": "surface.command-queue";
1041
- "surface.pipeline": "surface.pipeline";
1042
- "surface.lists": "surface.lists";
1043
- "surface.resources": "surface.resources";
1044
- "surface.settings": "surface.settings";
1045
- "status.success": "status.success";
1046
- "status.error": "status.error";
1047
- "status.warning": "status.warning";
1048
- "status.info": "status.info";
1049
- "status.pending": "status.pending";
1050
- "action.approve": "action.approve";
1051
- "action.reject": "action.reject";
1052
- "action.retry": "action.retry";
1053
- "action.edit": "action.edit";
1054
- "action.view": "action.view";
1055
- "action.launch": "action.launch";
1056
- "action.message": "action.message";
1057
- "action.escalate": "action.escalate";
1058
- "action.promote": "action.promote";
1059
- "action.submit": "action.submit";
1060
- "action.email": "action.email";
1061
- }>, z.ZodString]>>;
1062
- id: z.ZodString;
1063
- order: z.ZodNumber;
1064
- }, z.core.$strip>>;
1065
- }, z.core.$strip>;
576
+ }, z.core.$strip>>;
1066
577
  identity: z.ZodDefault<z.ZodObject<{
1067
578
  mission: z.ZodDefault<z.ZodString>;
1068
579
  vision: z.ZodDefault<z.ZodString>;
@@ -1104,273 +615,604 @@ declare const OrganizationModelSchema: z.ZodObject<{
1104
615
  }, z.core.$strip>>;
1105
616
  clientBrief: z.ZodDefault<z.ZodString>;
1106
617
  }, z.core.$strip>>;
1107
- customers: z.ZodDefault<z.ZodObject<{
1108
- segments: z.ZodDefault<z.ZodArray<z.ZodObject<{
618
+ customers: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
619
+ id: z.ZodString;
620
+ order: z.ZodNumber;
621
+ name: z.ZodDefault<z.ZodString>;
622
+ description: z.ZodDefault<z.ZodString>;
623
+ jobsToBeDone: z.ZodDefault<z.ZodString>;
624
+ pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
625
+ gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
626
+ firmographics: z.ZodDefault<z.ZodObject<{
627
+ industry: z.ZodOptional<z.ZodString>;
628
+ companySize: z.ZodOptional<z.ZodString>;
629
+ region: z.ZodOptional<z.ZodString>;
630
+ }, z.core.$strip>>;
631
+ valueProp: z.ZodDefault<z.ZodString>;
632
+ }, z.core.$strip>>>>;
633
+ offerings: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
634
+ id: z.ZodString;
635
+ order: z.ZodNumber;
636
+ name: z.ZodDefault<z.ZodString>;
637
+ description: z.ZodDefault<z.ZodString>;
638
+ pricingModel: z.ZodDefault<z.ZodEnum<{
639
+ custom: "custom";
640
+ "one-time": "one-time";
641
+ subscription: "subscription";
642
+ "usage-based": "usage-based";
643
+ }>>;
644
+ price: z.ZodDefault<z.ZodNumber>;
645
+ currency: z.ZodDefault<z.ZodString>;
646
+ targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
647
+ deliveryFeatureId: z.ZodOptional<z.ZodString>;
648
+ }, z.core.$strip>>>>;
649
+ roles: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
650
+ id: z.ZodString;
651
+ order: z.ZodNumber;
652
+ title: z.ZodString;
653
+ responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
654
+ reportsToId: z.ZodOptional<z.ZodString>;
655
+ heldBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
656
+ kind: z.ZodLiteral<"human">;
657
+ userId: z.ZodString;
658
+ }, z.core.$strip>, z.ZodObject<{
659
+ kind: z.ZodLiteral<"agent">;
660
+ agentId: z.ZodString;
661
+ }, z.core.$strip>, z.ZodObject<{
662
+ kind: z.ZodLiteral<"team">;
663
+ memberIds: z.ZodArray<z.ZodString>;
664
+ }, z.core.$strip>], "kind">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
665
+ kind: z.ZodLiteral<"human">;
666
+ userId: z.ZodString;
667
+ }, z.core.$strip>, z.ZodObject<{
668
+ kind: z.ZodLiteral<"agent">;
669
+ agentId: z.ZodString;
670
+ }, z.core.$strip>, z.ZodObject<{
671
+ kind: z.ZodLiteral<"team">;
672
+ memberIds: z.ZodArray<z.ZodString>;
673
+ }, z.core.$strip>], "kind">>]>>;
674
+ responsibleFor: z.ZodOptional<z.ZodArray<z.ZodString>>;
675
+ }, z.core.$strip>>>>;
676
+ goals: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
677
+ id: z.ZodString;
678
+ order: z.ZodNumber;
679
+ description: z.ZodString;
680
+ periodStart: z.ZodString;
681
+ periodEnd: z.ZodString;
682
+ keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
1109
683
  id: z.ZodString;
1110
- name: z.ZodDefault<z.ZodString>;
1111
- description: z.ZodDefault<z.ZodString>;
1112
- jobsToBeDone: z.ZodDefault<z.ZodString>;
1113
- pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
1114
- gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
1115
- firmographics: z.ZodDefault<z.ZodObject<{
1116
- industry: z.ZodOptional<z.ZodString>;
1117
- companySize: z.ZodOptional<z.ZodString>;
1118
- region: z.ZodOptional<z.ZodString>;
1119
- }, z.core.$strip>>;
1120
- valueProp: z.ZodDefault<z.ZodString>;
684
+ description: z.ZodString;
685
+ targetMetric: z.ZodString;
686
+ currentValue: z.ZodDefault<z.ZodNumber>;
687
+ targetValue: z.ZodOptional<z.ZodNumber>;
1121
688
  }, z.core.$strip>>>;
1122
- }, z.core.$strip>>;
1123
- offerings: z.ZodDefault<z.ZodObject<{
1124
- products: z.ZodDefault<z.ZodArray<z.ZodObject<{
689
+ }, z.core.$strip>>>>;
690
+ systems: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
691
+ ontology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
692
+ objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1125
693
  id: z.ZodString;
1126
- name: z.ZodDefault<z.ZodString>;
1127
- description: z.ZodDefault<z.ZodString>;
1128
- pricingModel: z.ZodDefault<z.ZodEnum<{
1129
- custom: "custom";
1130
- "one-time": "one-time";
1131
- subscription: "subscription";
1132
- "usage-based": "usage-based";
1133
- }>>;
1134
- price: z.ZodDefault<z.ZodNumber>;
1135
- currency: z.ZodDefault<z.ZodString>;
1136
- targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1137
- deliveryFeatureId: z.ZodOptional<z.ZodString>;
1138
- }, z.core.$strip>>>;
1139
- }, z.core.$strip>>;
1140
- roles: z.ZodDefault<z.ZodObject<{
1141
- roles: z.ZodDefault<z.ZodArray<z.ZodObject<{
694
+ label: z.ZodOptional<z.ZodString>;
695
+ description: z.ZodOptional<z.ZodString>;
696
+ ownerSystemId: z.ZodOptional<z.ZodString>;
697
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
698
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
699
+ storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
700
+ }, z.core.$loose>>>>;
701
+ linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1142
702
  id: z.ZodString;
1143
- title: z.ZodString;
1144
- responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
1145
- reportsToId: z.ZodOptional<z.ZodString>;
1146
- heldBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
1147
- kind: z.ZodLiteral<"human">;
1148
- userId: z.ZodString;
1149
- }, z.core.$strip>, z.ZodObject<{
1150
- kind: z.ZodLiteral<"agent">;
1151
- agentId: z.ZodString;
1152
- }, z.core.$strip>, z.ZodObject<{
1153
- kind: z.ZodLiteral<"team">;
1154
- memberIds: z.ZodArray<z.ZodString>;
1155
- }, z.core.$strip>], "kind">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1156
- kind: z.ZodLiteral<"human">;
1157
- userId: z.ZodString;
1158
- }, z.core.$strip>, z.ZodObject<{
1159
- kind: z.ZodLiteral<"agent">;
1160
- agentId: z.ZodString;
1161
- }, z.core.$strip>, z.ZodObject<{
1162
- kind: z.ZodLiteral<"team">;
1163
- memberIds: z.ZodArray<z.ZodString>;
1164
- }, z.core.$strip>], "kind">>]>>;
1165
- responsibleFor: z.ZodOptional<z.ZodArray<z.ZodString>>;
1166
- }, z.core.$strip>>>;
1167
- }, z.core.$strip>>;
1168
- goals: z.ZodDefault<z.ZodObject<{
1169
- objectives: z.ZodDefault<z.ZodArray<z.ZodObject<{
703
+ label: z.ZodOptional<z.ZodString>;
704
+ description: z.ZodOptional<z.ZodString>;
705
+ ownerSystemId: z.ZodOptional<z.ZodString>;
706
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
707
+ from: z.ZodString;
708
+ to: z.ZodString;
709
+ cardinality: z.ZodOptional<z.ZodString>;
710
+ via: z.ZodOptional<z.ZodString>;
711
+ }, z.core.$loose>>>>;
712
+ actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1170
713
  id: z.ZodString;
1171
- description: z.ZodString;
1172
- periodStart: z.ZodString;
1173
- periodEnd: z.ZodString;
1174
- keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
1175
- id: z.ZodString;
1176
- description: z.ZodString;
1177
- targetMetric: z.ZodString;
1178
- currentValue: z.ZodDefault<z.ZodNumber>;
1179
- targetValue: z.ZodOptional<z.ZodNumber>;
1180
- }, z.core.$strip>>>;
1181
- }, z.core.$strip>>>;
1182
- }, z.core.$strip>>;
1183
- systems: z.ZodDefault<z.ZodObject<{
1184
- systems: z.ZodDefault<z.ZodArray<z.ZodObject<{
714
+ label: z.ZodOptional<z.ZodString>;
715
+ description: z.ZodOptional<z.ZodString>;
716
+ ownerSystemId: z.ZodOptional<z.ZodString>;
717
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
718
+ actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
719
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
720
+ effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
721
+ }, z.core.$loose>>>>;
722
+ catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1185
723
  id: z.ZodString;
1186
- title: z.ZodString;
1187
- description: z.ZodString;
1188
- kind: z.ZodEnum<{
1189
- platform: "platform";
1190
- product: "product";
1191
- operational: "operational";
1192
- diagnostic: "diagnostic";
1193
- }>;
1194
- responsibleRoleId: z.ZodOptional<z.ZodString>;
1195
- governedByKnowledge: z.ZodDefault<z.ZodArray<z.ZodString>>;
1196
- drivesGoals: z.ZodDefault<z.ZodArray<z.ZodString>>;
1197
- status: z.ZodEnum<{
1198
- active: "active";
1199
- deprecated: "deprecated";
1200
- archived: "archived";
724
+ label: z.ZodOptional<z.ZodString>;
725
+ description: z.ZodOptional<z.ZodString>;
726
+ ownerSystemId: z.ZodOptional<z.ZodString>;
727
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
728
+ kind: z.ZodOptional<z.ZodString>;
729
+ appliesTo: z.ZodOptional<z.ZodString>;
730
+ entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
731
+ }, z.core.$loose>>>>;
732
+ eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
733
+ id: z.ZodString;
734
+ label: z.ZodOptional<z.ZodString>;
735
+ description: z.ZodOptional<z.ZodString>;
736
+ ownerSystemId: z.ZodOptional<z.ZodString>;
737
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
738
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
739
+ }, z.core.$loose>>>>;
740
+ interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
741
+ id: z.ZodString;
742
+ label: z.ZodOptional<z.ZodString>;
743
+ description: z.ZodOptional<z.ZodString>;
744
+ ownerSystemId: z.ZodOptional<z.ZodString>;
745
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
746
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
747
+ }, z.core.$loose>>>>;
748
+ valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
749
+ id: z.ZodString;
750
+ label: z.ZodOptional<z.ZodString>;
751
+ description: z.ZodOptional<z.ZodString>;
752
+ ownerSystemId: z.ZodOptional<z.ZodString>;
753
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
754
+ primitive: z.ZodOptional<z.ZodString>;
755
+ }, z.core.$loose>>>>;
756
+ sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
757
+ id: z.ZodString;
758
+ label: z.ZodOptional<z.ZodString>;
759
+ description: z.ZodOptional<z.ZodString>;
760
+ ownerSystemId: z.ZodOptional<z.ZodString>;
761
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
762
+ valueType: z.ZodOptional<z.ZodString>;
763
+ searchable: z.ZodOptional<z.ZodBoolean>;
764
+ pii: z.ZodOptional<z.ZodBoolean>;
765
+ }, z.core.$loose>>>>;
766
+ groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
767
+ id: z.ZodString;
768
+ label: z.ZodOptional<z.ZodString>;
769
+ description: z.ZodOptional<z.ZodString>;
770
+ ownerSystemId: z.ZodOptional<z.ZodString>;
771
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
772
+ members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
773
+ }, z.core.$loose>>>>;
774
+ surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
775
+ id: z.ZodString;
776
+ label: z.ZodOptional<z.ZodString>;
777
+ description: z.ZodOptional<z.ZodString>;
778
+ ownerSystemId: z.ZodOptional<z.ZodString>;
779
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
780
+ route: z.ZodOptional<z.ZodString>;
781
+ }, z.core.$loose>>>>;
782
+ }, z.core.$strip>>>;
783
+ resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
784
+ id: z.ZodString;
785
+ order: z.ZodDefault<z.ZodNumber>;
786
+ systemPath: z.ZodString;
787
+ ownerRoleId: z.ZodOptional<z.ZodString>;
788
+ status: z.ZodEnum<{
789
+ deprecated: "deprecated";
790
+ active: "active";
791
+ archived: "archived";
792
+ }>;
793
+ ontology: z.ZodOptional<z.ZodObject<{
794
+ implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
795
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
796
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
797
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
798
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
799
+ }, z.core.$strip>>;
800
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
801
+ path: z.ZodString;
802
+ role: z.ZodEnum<{
803
+ schema: "schema";
804
+ config: "config";
805
+ entrypoint: "entrypoint";
806
+ handler: "handler";
807
+ test: "test";
808
+ docs: "docs";
1201
809
  }>;
810
+ symbol: z.ZodOptional<z.ZodString>;
811
+ description: z.ZodOptional<z.ZodString>;
1202
812
  }, z.core.$strip>>>;
1203
- }, z.core.$strip>>;
1204
- resources: z.ZodDefault<z.ZodObject<{
1205
- entries: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1206
- id: z.ZodString;
1207
- systemId: z.ZodString;
1208
- ownerRoleId: z.ZodOptional<z.ZodString>;
1209
- status: z.ZodEnum<{
1210
- active: "active";
813
+ kind: z.ZodLiteral<"workflow">;
814
+ actionKey: z.ZodOptional<z.ZodString>;
815
+ emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
816
+ eventKey: z.ZodString;
817
+ label: z.ZodString;
818
+ payloadSchema: z.ZodOptional<z.ZodString>;
819
+ lifecycle: z.ZodOptional<z.ZodEnum<{
1211
820
  deprecated: "deprecated";
1212
- archived: "archived";
1213
- }>;
1214
- kind: z.ZodLiteral<"workflow">;
1215
- capabilityKey: z.ZodOptional<z.ZodString>;
1216
- }, z.core.$strip>, z.ZodObject<{
1217
- id: z.ZodString;
1218
- systemId: z.ZodString;
1219
- ownerRoleId: z.ZodOptional<z.ZodString>;
1220
- status: z.ZodEnum<{
821
+ draft: "draft";
822
+ beta: "beta";
1221
823
  active: "active";
1222
- deprecated: "deprecated";
1223
824
  archived: "archived";
825
+ }>>;
826
+ }, z.core.$strip>>>;
827
+ }, z.core.$strip>, z.ZodObject<{
828
+ id: z.ZodString;
829
+ order: z.ZodDefault<z.ZodNumber>;
830
+ systemPath: z.ZodString;
831
+ ownerRoleId: z.ZodOptional<z.ZodString>;
832
+ status: z.ZodEnum<{
833
+ deprecated: "deprecated";
834
+ active: "active";
835
+ archived: "archived";
836
+ }>;
837
+ ontology: z.ZodOptional<z.ZodObject<{
838
+ implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
839
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
840
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
841
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
842
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
843
+ }, z.core.$strip>>;
844
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
845
+ path: z.ZodString;
846
+ role: z.ZodEnum<{
847
+ schema: "schema";
848
+ config: "config";
849
+ entrypoint: "entrypoint";
850
+ handler: "handler";
851
+ test: "test";
852
+ docs: "docs";
1224
853
  }>;
1225
- kind: z.ZodLiteral<"agent">;
1226
- agentKind: z.ZodEnum<{
1227
- orchestrator: "orchestrator";
1228
- specialist: "specialist";
1229
- utility: "utility";
1230
- system: "system";
1231
- }>;
1232
- actsAsRoleId: z.ZodOptional<z.ZodString>;
1233
- sessionCapable: z.ZodBoolean;
854
+ symbol: z.ZodOptional<z.ZodString>;
855
+ description: z.ZodOptional<z.ZodString>;
856
+ }, z.core.$strip>>>;
857
+ kind: z.ZodLiteral<"agent">;
858
+ agentKind: z.ZodEnum<{
859
+ platform: "platform";
860
+ orchestrator: "orchestrator";
861
+ specialist: "specialist";
862
+ utility: "utility";
863
+ }>;
864
+ actsAsRoleId: z.ZodOptional<z.ZodString>;
865
+ sessionCapable: z.ZodBoolean;
866
+ invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
867
+ kind: z.ZodLiteral<"slash-command">;
868
+ command: z.ZodString;
869
+ toolFactory: z.ZodOptional<z.ZodString>;
1234
870
  }, z.core.$strip>, z.ZodObject<{
1235
- id: z.ZodString;
1236
- systemId: z.ZodString;
1237
- ownerRoleId: z.ZodOptional<z.ZodString>;
1238
- status: z.ZodEnum<{
1239
- active: "active";
1240
- deprecated: "deprecated";
1241
- archived: "archived";
871
+ kind: z.ZodLiteral<"mcp-tool">;
872
+ server: z.ZodString;
873
+ name: z.ZodString;
874
+ }, z.core.$strip>, z.ZodObject<{
875
+ kind: z.ZodLiteral<"api-endpoint">;
876
+ method: z.ZodEnum<{
877
+ GET: "GET";
878
+ POST: "POST";
879
+ PATCH: "PATCH";
880
+ DELETE: "DELETE";
1242
881
  }>;
1243
- kind: z.ZodLiteral<"integration">;
1244
- provider: z.ZodString;
882
+ path: z.ZodString;
883
+ requestSchema: z.ZodOptional<z.ZodString>;
884
+ responseSchema: z.ZodOptional<z.ZodString>;
885
+ }, z.core.$strip>, z.ZodObject<{
886
+ kind: z.ZodLiteral<"script-execution">;
887
+ resourceId: z.ZodString;
1245
888
  }, z.core.$strip>], "kind">>>;
1246
- }, z.core.$strip>>;
1247
- statuses: z.ZodDefault<z.ZodObject<{
1248
- entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
1249
- id: z.ZodString;
889
+ emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
890
+ eventKey: z.ZodString;
1250
891
  label: z.ZodString;
1251
- semanticClass: z.ZodEnum<{
1252
- "delivery.project": "delivery.project";
1253
- "delivery.milestone": "delivery.milestone";
1254
- "delivery.task": "delivery.task";
1255
- queue: "queue";
1256
- execution: "execution";
1257
- schedule: "schedule";
1258
- "schedule.run": "schedule.run";
1259
- request: "request";
892
+ payloadSchema: z.ZodOptional<z.ZodString>;
893
+ lifecycle: z.ZodOptional<z.ZodEnum<{
894
+ deprecated: "deprecated";
895
+ draft: "draft";
896
+ beta: "beta";
897
+ active: "active";
898
+ archived: "archived";
899
+ }>>;
900
+ }, z.core.$strip>>>;
901
+ }, z.core.$strip>, z.ZodObject<{
902
+ id: z.ZodString;
903
+ order: z.ZodDefault<z.ZodNumber>;
904
+ systemPath: z.ZodString;
905
+ ownerRoleId: z.ZodOptional<z.ZodString>;
906
+ status: z.ZodEnum<{
907
+ deprecated: "deprecated";
908
+ active: "active";
909
+ archived: "archived";
910
+ }>;
911
+ ontology: z.ZodOptional<z.ZodObject<{
912
+ implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
913
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
914
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
915
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
916
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
917
+ }, z.core.$strip>>;
918
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
919
+ path: z.ZodString;
920
+ role: z.ZodEnum<{
921
+ schema: "schema";
922
+ config: "config";
923
+ entrypoint: "entrypoint";
924
+ handler: "handler";
925
+ test: "test";
926
+ docs: "docs";
1260
927
  }>;
1261
- category: z.ZodOptional<z.ZodString>;
928
+ symbol: z.ZodOptional<z.ZodString>;
929
+ description: z.ZodOptional<z.ZodString>;
1262
930
  }, z.core.$strip>>>;
1263
- }, z.core.$strip>>;
1264
- operations: z.ZodDefault<z.ZodObject<{
1265
- entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
1266
- id: z.ZodString;
1267
- label: z.ZodString;
1268
- semanticClass: z.ZodEnum<{
1269
- queue: "queue";
1270
- executions: "executions";
1271
- sessions: "sessions";
1272
- notifications: "notifications";
1273
- schedules: "schedules";
931
+ kind: z.ZodLiteral<"integration">;
932
+ provider: z.ZodString;
933
+ }, z.core.$strip>, z.ZodObject<{
934
+ id: z.ZodString;
935
+ order: z.ZodDefault<z.ZodNumber>;
936
+ systemPath: z.ZodString;
937
+ ownerRoleId: z.ZodOptional<z.ZodString>;
938
+ status: z.ZodEnum<{
939
+ deprecated: "deprecated";
940
+ active: "active";
941
+ archived: "archived";
942
+ }>;
943
+ ontology: z.ZodOptional<z.ZodObject<{
944
+ implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
945
+ reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
946
+ writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
947
+ usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
948
+ emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
949
+ }, z.core.$strip>>;
950
+ codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
951
+ path: z.ZodString;
952
+ role: z.ZodEnum<{
953
+ schema: "schema";
954
+ config: "config";
955
+ entrypoint: "entrypoint";
956
+ handler: "handler";
957
+ test: "test";
958
+ docs: "docs";
1274
959
  }>;
1275
- featureId: z.ZodOptional<z.ZodString>;
1276
- supportedStatusSemanticClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
960
+ symbol: z.ZodOptional<z.ZodString>;
961
+ description: z.ZodOptional<z.ZodString>;
1277
962
  }, z.core.$strip>>>;
1278
- }, z.core.$strip>>;
1279
- knowledge: z.ZodDefault<z.ZodObject<{
1280
- nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
1281
- id: z.ZodString;
963
+ kind: z.ZodLiteral<"script">;
964
+ language: z.ZodEnum<{
965
+ shell: "shell";
966
+ sql: "sql";
967
+ typescript: "typescript";
968
+ python: "python";
969
+ }>;
970
+ source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
971
+ file: z.ZodString;
972
+ }, z.core.$strip>]>;
973
+ }, z.core.$strip>], "kind">>>>;
974
+ actions: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
975
+ id: z.ZodString;
976
+ order: z.ZodNumber;
977
+ label: z.ZodString;
978
+ description: z.ZodOptional<z.ZodString>;
979
+ scope: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"global">, z.ZodObject<{
980
+ domain: z.ZodString;
981
+ }, z.core.$strip>]>>;
982
+ resourceId: z.ZodOptional<z.ZodString>;
983
+ affects: z.ZodOptional<z.ZodArray<z.ZodString>>;
984
+ invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
985
+ kind: z.ZodLiteral<"slash-command">;
986
+ command: z.ZodString;
987
+ toolFactory: z.ZodOptional<z.ZodString>;
988
+ }, z.core.$strip>, z.ZodObject<{
989
+ kind: z.ZodLiteral<"mcp-tool">;
990
+ server: z.ZodString;
991
+ name: z.ZodString;
992
+ }, z.core.$strip>, z.ZodObject<{
993
+ kind: z.ZodLiteral<"api-endpoint">;
994
+ method: z.ZodEnum<{
995
+ GET: "GET";
996
+ POST: "POST";
997
+ PATCH: "PATCH";
998
+ DELETE: "DELETE";
999
+ }>;
1000
+ path: z.ZodString;
1001
+ requestSchema: z.ZodOptional<z.ZodString>;
1002
+ responseSchema: z.ZodOptional<z.ZodString>;
1003
+ }, z.core.$strip>, z.ZodObject<{
1004
+ kind: z.ZodLiteral<"script-execution">;
1005
+ resourceId: z.ZodString;
1006
+ }, z.core.$strip>], "kind">>>;
1007
+ knowledge: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
1008
+ lifecycle: z.ZodDefault<z.ZodEnum<{
1009
+ deprecated: "deprecated";
1010
+ draft: "draft";
1011
+ beta: "beta";
1012
+ active: "active";
1013
+ archived: "archived";
1014
+ }>>;
1015
+ }, z.core.$strip>>>>;
1016
+ entities: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1017
+ id: z.ZodString;
1018
+ order: z.ZodNumber;
1019
+ label: z.ZodString;
1020
+ description: z.ZodOptional<z.ZodString>;
1021
+ ownedBySystemId: z.ZodString;
1022
+ table: z.ZodOptional<z.ZodString>;
1023
+ rowSchema: z.ZodOptional<z.ZodString>;
1024
+ stateCatalogId: z.ZodOptional<z.ZodString>;
1025
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1026
+ toEntity: z.ZodString;
1282
1027
  kind: z.ZodEnum<{
1283
- playbook: "playbook";
1284
- strategy: "strategy";
1285
- reference: "reference";
1028
+ "belongs-to": "belongs-to";
1029
+ "has-many": "has-many";
1030
+ "has-one": "has-one";
1031
+ "many-to-many": "many-to-many";
1286
1032
  }>;
1287
- title: z.ZodString;
1288
- summary: z.ZodString;
1289
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1290
- "nav.dashboard": "nav.dashboard";
1291
- "nav.calendar": "nav.calendar";
1292
- "nav.sales": "nav.sales";
1293
- "nav.crm": "nav.crm";
1294
- "nav.lead-gen": "nav.lead-gen";
1295
- "nav.projects": "nav.projects";
1296
- "nav.operations": "nav.operations";
1297
- "nav.monitoring": "nav.monitoring";
1298
- "nav.knowledge": "nav.knowledge";
1299
- "nav.settings": "nav.settings";
1300
- "nav.admin": "nav.admin";
1301
- "nav.archive": "nav.archive";
1302
- "knowledge.playbook": "knowledge.playbook";
1303
- "knowledge.strategy": "knowledge.strategy";
1304
- "knowledge.reference": "knowledge.reference";
1305
- "feature.dashboard": "feature.dashboard";
1306
- "feature.calendar": "feature.calendar";
1307
- "feature.business": "feature.business";
1308
- "feature.sales": "feature.sales";
1309
- "feature.crm": "feature.crm";
1310
- "feature.finance": "feature.finance";
1311
- "feature.lead-gen": "feature.lead-gen";
1312
- "feature.platform": "feature.platform";
1313
- "feature.projects": "feature.projects";
1314
- "feature.operations": "feature.operations";
1315
- "feature.knowledge": "feature.knowledge";
1316
- "feature.monitoring": "feature.monitoring";
1317
- "feature.settings": "feature.settings";
1318
- "feature.admin": "feature.admin";
1319
- "feature.archive": "feature.archive";
1320
- "feature.seo": "feature.seo";
1321
- "resource.agent": "resource.agent";
1322
- "resource.workflow": "resource.workflow";
1323
- "resource.integration": "resource.integration";
1324
- "resource.database": "resource.database";
1325
- "resource.user": "resource.user";
1326
- "resource.team": "resource.team";
1327
- "integration.gmail": "integration.gmail";
1328
- "integration.google-sheets": "integration.google-sheets";
1329
- "integration.attio": "integration.attio";
1330
- "surface.dashboard": "surface.dashboard";
1331
- "surface.calendar": "surface.calendar";
1332
- "surface.overview": "surface.overview";
1333
- "surface.command-view": "surface.command-view";
1334
- "surface.command-queue": "surface.command-queue";
1335
- "surface.pipeline": "surface.pipeline";
1336
- "surface.lists": "surface.lists";
1337
- "surface.resources": "surface.resources";
1338
- "surface.settings": "surface.settings";
1339
- "status.success": "status.success";
1340
- "status.error": "status.error";
1341
- "status.warning": "status.warning";
1342
- "status.info": "status.info";
1343
- "status.pending": "status.pending";
1344
- "action.approve": "action.approve";
1345
- "action.reject": "action.reject";
1346
- "action.retry": "action.retry";
1347
- "action.edit": "action.edit";
1348
- "action.view": "action.view";
1349
- "action.launch": "action.launch";
1350
- "action.message": "action.message";
1351
- "action.escalate": "action.escalate";
1352
- "action.promote": "action.promote";
1353
- "action.submit": "action.submit";
1354
- "action.email": "action.email";
1355
- }>, z.ZodString]>>;
1356
- body: z.ZodString;
1357
- links: z.ZodDefault<z.ZodArray<z.ZodObject<{
1358
- nodeId: z.ZodString;
1359
- }, z.core.$strip>>>;
1360
- skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
1361
- domain: z.ZodOptional<z.ZodString>;
1362
- ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1363
- updatedAt: z.ZodString;
1033
+ via: z.ZodOptional<z.ZodString>;
1034
+ label: z.ZodOptional<z.ZodString>;
1364
1035
  }, z.core.$strip>>>;
1365
- }, z.core.$strip>>;
1036
+ }, z.core.$strip>>>>;
1037
+ policies: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1038
+ id: z.ZodString;
1039
+ order: z.ZodNumber;
1040
+ label: z.ZodString;
1041
+ description: z.ZodOptional<z.ZodString>;
1042
+ trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
1043
+ kind: z.ZodLiteral<"event">;
1044
+ eventId: z.ZodString;
1045
+ }, z.core.$strip>, z.ZodObject<{
1046
+ kind: z.ZodLiteral<"action-invocation">;
1047
+ actionId: z.ZodString;
1048
+ }, z.core.$strip>, z.ZodObject<{
1049
+ kind: z.ZodLiteral<"schedule">;
1050
+ cron: z.ZodString;
1051
+ }, z.core.$strip>, z.ZodObject<{
1052
+ kind: z.ZodLiteral<"manual">;
1053
+ }, z.core.$strip>], "kind">;
1054
+ predicate: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1055
+ kind: z.ZodLiteral<"always">;
1056
+ }, z.core.$strip>, z.ZodObject<{
1057
+ kind: z.ZodLiteral<"expression">;
1058
+ expression: z.ZodString;
1059
+ }, z.core.$strip>, z.ZodObject<{
1060
+ kind: z.ZodLiteral<"threshold">;
1061
+ metric: z.ZodString;
1062
+ operator: z.ZodEnum<{
1063
+ lt: "lt";
1064
+ lte: "lte";
1065
+ eq: "eq";
1066
+ gte: "gte";
1067
+ gt: "gt";
1068
+ }>;
1069
+ value: z.ZodNumber;
1070
+ }, z.core.$strip>], "kind">>;
1071
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1072
+ kind: z.ZodLiteral<"require-approval">;
1073
+ roleId: z.ZodOptional<z.ZodString>;
1074
+ }, z.core.$strip>, z.ZodObject<{
1075
+ kind: z.ZodLiteral<"invoke-action">;
1076
+ actionId: z.ZodString;
1077
+ }, z.core.$strip>, z.ZodObject<{
1078
+ kind: z.ZodLiteral<"notify-role">;
1079
+ roleId: z.ZodString;
1080
+ }, z.core.$strip>, z.ZodObject<{
1081
+ kind: z.ZodLiteral<"block">;
1082
+ }, z.core.$strip>], "kind">>;
1083
+ appliesTo: z.ZodDefault<z.ZodObject<{
1084
+ systemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1085
+ actionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1086
+ resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1087
+ roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1088
+ }, z.core.$strip>>;
1089
+ lifecycle: z.ZodDefault<z.ZodEnum<{
1090
+ deprecated: "deprecated";
1091
+ draft: "draft";
1092
+ beta: "beta";
1093
+ active: "active";
1094
+ archived: "archived";
1095
+ }>>;
1096
+ }, z.core.$strip>>>>;
1097
+ knowledge: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1098
+ id: z.ZodString;
1099
+ kind: z.ZodEnum<{
1100
+ playbook: "playbook";
1101
+ strategy: "strategy";
1102
+ reference: "reference";
1103
+ }>;
1104
+ title: z.ZodString;
1105
+ summary: z.ZodString;
1106
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1107
+ message: "message";
1108
+ error: "error";
1109
+ agent: "agent";
1110
+ workflow: "workflow";
1111
+ "google-sheets": "google-sheets";
1112
+ dashboard: "dashboard";
1113
+ calendar: "calendar";
1114
+ sales: "sales";
1115
+ crm: "crm";
1116
+ "lead-gen": "lead-gen";
1117
+ projects: "projects";
1118
+ operations: "operations";
1119
+ monitoring: "monitoring";
1120
+ knowledge: "knowledge";
1121
+ settings: "settings";
1122
+ admin: "admin";
1123
+ archive: "archive";
1124
+ business: "business";
1125
+ finance: "finance";
1126
+ platform: "platform";
1127
+ seo: "seo";
1128
+ playbook: "playbook";
1129
+ strategy: "strategy";
1130
+ reference: "reference";
1131
+ integration: "integration";
1132
+ database: "database";
1133
+ user: "user";
1134
+ team: "team";
1135
+ gmail: "gmail";
1136
+ attio: "attio";
1137
+ overview: "overview";
1138
+ "command-view": "command-view";
1139
+ "command-queue": "command-queue";
1140
+ pipeline: "pipeline";
1141
+ lists: "lists";
1142
+ resources: "resources";
1143
+ approve: "approve";
1144
+ reject: "reject";
1145
+ retry: "retry";
1146
+ edit: "edit";
1147
+ view: "view";
1148
+ launch: "launch";
1149
+ escalate: "escalate";
1150
+ promote: "promote";
1151
+ submit: "submit";
1152
+ email: "email";
1153
+ success: "success";
1154
+ warning: "warning";
1155
+ info: "info";
1156
+ pending: "pending";
1157
+ bolt: "bolt";
1158
+ building: "building";
1159
+ briefcase: "briefcase";
1160
+ apps: "apps";
1161
+ graph: "graph";
1162
+ shield: "shield";
1163
+ users: "users";
1164
+ "chart-bar": "chart-bar";
1165
+ search: "search";
1166
+ }>, z.ZodString]>>;
1167
+ externalUrl: z.ZodOptional<z.ZodString>;
1168
+ sourceFilePath: z.ZodOptional<z.ZodString>;
1169
+ body: z.ZodString;
1170
+ links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1171
+ target: z.ZodObject<{
1172
+ kind: z.ZodEnum<{
1173
+ knowledge: "knowledge";
1174
+ system: "system";
1175
+ action: "action";
1176
+ ontology: "ontology";
1177
+ role: "role";
1178
+ goal: "goal";
1179
+ stage: "stage";
1180
+ resource: "resource";
1181
+ "customer-segment": "customer-segment";
1182
+ offering: "offering";
1183
+ "content-node": "content-node";
1184
+ }>;
1185
+ id: z.ZodString;
1186
+ }, z.core.$strip>;
1187
+ }, z.core.$strip>, z.ZodObject<{
1188
+ nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
1189
+ }, z.core.$strip>]>, z.ZodTransform<{
1190
+ target: {
1191
+ kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
1192
+ id: string;
1193
+ };
1194
+ nodeId: string;
1195
+ }, {
1196
+ nodeId: string;
1197
+ } | {
1198
+ target: {
1199
+ kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
1200
+ id: string;
1201
+ };
1202
+ }>>>>;
1203
+ ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1204
+ updatedAt: z.ZodString;
1205
+ }, z.core.$strip>>>>;
1366
1206
  }, z.core.$strip>;
1367
1207
 
1368
1208
  type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
1369
1209
  type OrgKnowledgeNode = z.infer<typeof OrgKnowledgeNodeSchema>;
1370
1210
  type OrgKnowledgeKind = z.infer<typeof OrgKnowledgeKindSchema>;
1371
1211
 
1372
- type OrganizationGraphNodeKind = 'organization' | 'feature' | 'surface' | 'entity' | 'capability' | 'stage' | 'resource' | 'knowledge';
1373
- type OrganizationGraphEdgeKind = 'contains' | 'references' | 'exposes' | 'maps_to' | 'operates-on' | 'uses' | 'governs';
1212
+ type OrganizationGraphNodeKind = 'organization' | 'system' | 'role' | 'action' | 'entity' | 'event' | 'policy' | 'stage' | 'resource' | 'knowledge' | 'customer-segment' | 'offering' | 'goal' | 'surface' | 'navigation-group'
1213
+ /** Phase 3 preview Phase 4 populates this kind via graph projection of system.content entries. */
1214
+ | 'ontology' | 'content-node';
1215
+ type OrganizationGraphEdgeKind = 'contains' | 'references' | 'maps_to' | 'uses' | 'governs' | 'links' | 'affects' | 'emits' | 'originates_from' | 'triggers' | 'applies_to' | 'effects' | 'implements' | 'reads' | 'writes' | 'uses_catalog';
1374
1216
 
1375
1217
  interface OrganizationGraphNode {
1376
1218
  id: string;
@@ -1380,8 +1222,8 @@ interface OrganizationGraphNode {
1380
1222
  description?: string;
1381
1223
  icon?: OrganizationModelIconToken;
1382
1224
  enabled?: boolean;
1383
- featureId?: string;
1384
- resourceType?: 'workflow' | 'agent' | 'trigger' | 'integration' | 'external' | 'human_checkpoint';
1225
+ ontologyKind?: string;
1226
+ resourceType?: 'workflow' | 'agent' | 'trigger' | 'integration' | 'external' | 'human_checkpoint' | 'script';
1385
1227
  }
1386
1228
  interface OrganizationGraphEdge {
1387
1229
  id: string;
@@ -1398,11 +1240,15 @@ interface OrganizationGraph {
1398
1240
  edges: OrganizationGraphEdge[];
1399
1241
  }
1400
1242
 
1243
+ declare function getSharedOrganizationGraph(organizationModel: OrganizationModel): OrganizationGraph;
1244
+
1401
1245
  interface KnowledgeBrowserProps {
1402
1246
  /** Built organization graph. */
1403
1247
  graph: OrganizationGraph;
1404
1248
  /** All knowledge nodes (OM authoring shape). */
1405
1249
  knowledgeNodes: OrgKnowledgeNode[];
1250
+ /** Optional full organization model, used to enrich graph-node detail views. */
1251
+ organizationModel?: OrganizationModel;
1406
1252
  /** Optional id of the node to render. */
1407
1253
  initialNodeId?: string;
1408
1254
  /** Optional callback invoked when a graph edge chip is clicked in the node view. */
@@ -1413,30 +1259,64 @@ interface KnowledgeBrowserProps {
1413
1259
  /**
1414
1260
  * Renders the selected knowledge node detail, or the root knowledge overview.
1415
1261
  *
1416
- * The file-system tree nav and the search bar live in the subshell sidebar
1417
- * (`KnowledgeSidebarMiddle`). Selection is URL-driven via `initialNodeId`.
1262
+ * The file-system tree nav and the search bar live in the knowledge subshell
1263
+ * sidebar. Selection is URL-driven via `initialNodeId`.
1418
1264
  */
1419
- declare function KnowledgeBrowser({ graph, knowledgeNodes, initialNodeId, onNavigateToNode, onSelectNode }: KnowledgeBrowserProps): react_jsx_runtime.JSX.Element;
1265
+ declare function KnowledgeBrowser({ graph, knowledgeNodes, organizationModel, initialNodeId, onNavigateToNode, onSelectNode }: KnowledgeBrowserProps): react_jsx_runtime.JSX.Element;
1420
1266
 
1267
+ /**
1268
+ * Semantic OM tree groups (in display order). Operational configuration domains
1269
+ * are projected under their owning systems rather than surfaced as top-level
1270
+ * siblings.
1271
+ */
1272
+ declare const OM_TREE_GROUPS: ReadonlyArray<{
1273
+ key: string;
1274
+ label: string;
1275
+ domains: readonly string[];
1276
+ }>;
1277
+ type KnowledgeTreeSpine = 'system' | 'entity' | 'resource';
1278
+ type KnowledgeFacetState = 'include' | 'neutral' | 'exclude';
1279
+ type KnowledgeFacetStates = Partial<Record<OrganizationGraphNodeKind, KnowledgeFacetState>>;
1421
1280
  interface KnowledgeTreeProps {
1422
1281
  /** Built organization graph - used to enumerate features and resolve `governs` edges. */
1423
1282
  graph: OrganizationGraph;
1424
1283
  /** All knowledge nodes (the OM authoring shape; queries need this for body/links). */
1425
1284
  knowledgeNodes: OrgKnowledgeNode[];
1285
+ /**
1286
+ * Full organization model. Required when `omRooted` is true so the tree can
1287
+ * surface the 12 non-system OM domain branches. Optional otherwise.
1288
+ */
1289
+ organizationModel?: OrganizationModel;
1426
1290
  /** Called when a knowledge node is selected. */
1427
1291
  onSelectNode: (node: OrgKnowledgeNode) => void;
1428
1292
  /** Called when a graph/config node is selected. */
1429
1293
  onSelectGraphNode?: (node: OrganizationGraphNode) => void;
1294
+ /** Called when an OM domain branch is selected (e.g. `identity`, `customers`). */
1295
+ onSelectDomain?: (domainKey: string) => void;
1296
+ /** Called when an OM semantic group is selected (e.g. `profile`, `graph`). */
1297
+ onSelectGroup?: (groupKey: string) => void;
1298
+ /** Called when an OM domain item is selected (e.g. one customer segment). */
1299
+ onSelectItem?: (domainKey: string, itemId: string) => void;
1300
+ /** Root graph kind for the tree. */
1301
+ spine?: KnowledgeTreeSpine;
1302
+ /**
1303
+ * When true, render an OM-rooted tree with 13 top-level domain branches; the
1304
+ * systems branch retains the spine recursion. When false (default), render a
1305
+ * single-spine tree as before.
1306
+ */
1307
+ omRooted?: boolean;
1308
+ /** Tri-state graph-kind facets. Included kinds are rendered inline; excluded kinds are hidden. */
1309
+ facetStates?: KnowledgeFacetStates;
1430
1310
  /** Currently selected node id (highlights the active row). */
1431
1311
  selectedNodeId?: string;
1432
1312
  }
1433
1313
  /**
1434
1314
  * By-feature primary tree using Mantine `Tree`.
1435
1315
  */
1436
- declare function KnowledgeTree({ graph, knowledgeNodes, onSelectNode, onSelectGraphNode, selectedNodeId }: KnowledgeTreeProps): react_jsx_runtime.JSX.Element;
1316
+ declare function KnowledgeTree({ graph, knowledgeNodes, organizationModel, onSelectNode, onSelectGraphNode, onSelectDomain, onSelectGroup, onSelectItem, spine, omRooted, facetStates, selectedNodeId }: KnowledgeTreeProps): react_jsx_runtime.JSX.Element;
1437
1317
 
1438
1318
  interface KnowledgeNodeListProps {
1439
- /** Nodes to render. Usually the result of a query (byFeature, byKind, search). */
1319
+ /** Nodes to render. Usually the result of a query (bySystem, byKind, search). */
1440
1320
  nodes: OrgKnowledgeNode[];
1441
1321
  /** Called when the user selects a node. */
1442
1322
  onSelect: (node: OrgKnowledgeNode) => void;
@@ -1469,12 +1349,17 @@ interface KnowledgeNodeViewProps {
1469
1349
  * Passed directly to the internal `KnowledgeMDXProvider` wrapper.
1470
1350
  */
1471
1351
  extraComponents?: Record<string, React.ComponentType<any>>;
1352
+ /**
1353
+ * `domainMetadata.knowledge.lastModified` from the OrganizationModel.
1354
+ * When provided, surfaced in the technical metadata footer as "Domain version".
1355
+ */
1356
+ domainVersion?: string;
1472
1357
  }
1473
1358
  /**
1474
1359
  * Full single-node view: title, kind chip, summary, compiled MDX body, graph
1475
1360
  * relationships, and technical metadata for the backing graph node.
1476
1361
  */
1477
- declare function KnowledgeNodeView({ node, graph, onNavigateToNode, extraComponents }: KnowledgeNodeViewProps): react_jsx_runtime.JSX.Element;
1362
+ declare function KnowledgeNodeView({ node, graph, onNavigateToNode, extraComponents, domainVersion }: KnowledgeNodeViewProps): react_jsx_runtime.JSX.Element;
1478
1363
 
1479
1364
  interface KnowledgeSearchBarProps {
1480
1365
  /** All available knowledge nodes — used to resolve hit ids to nodes. */
@@ -1532,28 +1417,6 @@ interface NavItem {
1532
1417
  exact: boolean;
1533
1418
  }
1534
1419
 
1535
- interface KnowledgeSidebarMiddleProps {
1536
- /** Override the default nav items. Defaults to {@link KNOWLEDGE_ITEMS}. */
1537
- items?: NavItem[];
1538
- }
1539
- /**
1540
- * @deprecated Use `KnowledgeSidebarMiddle` from `features/knowledge/sidebar` instead.
1541
- * This legacy nav-items sidebar is retained as a published API surface for external
1542
- * consumers that compose custom sidebars using `KNOWLEDGE_ITEMS`. The canonical
1543
- * subshell sidebar now lives at `packages/ui/src/features/knowledge/sidebar/`.
1544
- *
1545
- * Sidebar middle section for the Knowledge feature (legacy nav-items variant).
1546
- *
1547
- * Mirrors the `CrmSidebarMiddle` pattern. Pass `items` to extend or replace
1548
- * the default nav entries (e.g. add owner-scoped sections for a specific org).
1549
- *
1550
- * @example
1551
- * ```tsx
1552
- * <KnowledgeSidebarMiddle items={[...KNOWLEDGE_ITEMS, { label: 'Runbooks', ... }]} />
1553
- * ```
1554
- */
1555
- declare const KnowledgeSidebarMiddle: ({ items }?: KnowledgeSidebarMiddleProps) => react_jsx_runtime.JSX.Element;
1556
-
1557
1420
  /**
1558
1421
  * @deprecated Used by the legacy `KnowledgeSidebarMiddle` (nav-items variant).
1559
1422
  * Retained as a published API surface for external consumers. The canonical
@@ -1577,14 +1440,12 @@ declare const KNOWLEDGE_ITEMS: NavItem[];
1577
1440
 
1578
1441
  type SemanticIconToken = string;
1579
1442
  type TablerIconComponent = typeof IconBrain;
1580
- type SemanticIconFallbackKind = 'knowledge' | 'playbook' | 'strategy' | 'reference' | 'feature' | 'resource' | 'integration' | 'action' | 'status' | 'nav' | 'unknown';
1581
1443
  type SemanticIconRegistry = Record<SemanticIconToken, TablerIconComponent>;
1582
1444
  declare function extendSemanticIconRegistry(overrides: SemanticIconRegistry): void;
1583
- declare function getSemanticIconComponent(token?: string | null, fallbackKind?: SemanticIconFallbackKind, fallbackToken?: string): TablerIconComponent;
1445
+ declare function getSemanticIconComponent(token?: string | null, fallbackToken?: string): TablerIconComponent;
1584
1446
  declare function resolveSemanticIconComponent(token?: string | null): TablerIconComponent | null;
1585
1447
  interface SemanticIconProps {
1586
1448
  token?: string | null;
1587
- fallbackKind?: SemanticIconFallbackKind;
1588
1449
  fallbackToken?: string;
1589
1450
  size?: number;
1590
1451
  stroke?: number;
@@ -1592,7 +1453,7 @@ interface SemanticIconProps {
1592
1453
  style?: CSSProperties;
1593
1454
  'aria-hidden'?: boolean;
1594
1455
  }
1595
- declare function SemanticIcon({ token, fallbackKind, fallbackToken, size, stroke, className, style, 'aria-hidden': ariaHidden }: SemanticIconProps): react_jsx_runtime.JSX.Element;
1456
+ declare function SemanticIcon({ token, fallbackToken, size, stroke, className, style, 'aria-hidden': ariaHidden }: SemanticIconProps): react_jsx_runtime.JSX.Element;
1596
1457
 
1597
1458
  declare const KNOWLEDGE_ICON_TOKEN_BY_KIND: Record<OrgKnowledgeKind, SemanticIconToken>;
1598
1459
  declare function getKnowledgeIconToken(node: OrgKnowledgeNode): string | undefined;
@@ -1660,11 +1521,25 @@ type KnowledgeBodyProps = {
1660
1521
  };
1661
1522
  declare const KNOWLEDGE_BODIES: Record<string, ComponentType<KnowledgeBodyProps>>;
1662
1523
 
1524
+ type DescribeTreeNodeType = 'group' | 'domain-collection' | 'domain' | 'item';
1525
+ interface DescribeTreeSelectionNode {
1526
+ id?: string;
1527
+ value?: string;
1528
+ label: string;
1529
+ description?: string;
1530
+ nodeType: DescribeTreeNodeType;
1531
+ domainKey?: string;
1532
+ itemId?: string;
1533
+ children?: DescribeTreeSelectionNode[];
1534
+ }
1535
+ type DescribeSelectionNode = OrganizationGraphNode | DescribeTreeSelectionNode;
1663
1536
  interface DescribeNodeViewProps {
1664
- /** The graph node to display. */
1665
- node: OrganizationGraphNode;
1537
+ /** The graph node or semantic tree node to display. */
1538
+ node: DescribeSelectionNode;
1666
1539
  /** The organization graph, used to resolve edge relationships. */
1667
1540
  graph: OrganizationGraph;
1541
+ /** Full organization model, required for semantic domain/group tree selections. */
1542
+ organizationModel?: OrganizationModel;
1668
1543
  /** Full knowledge nodes from the organization model, used to hydrate graph knowledge stubs. */
1669
1544
  knowledgeNodes?: OrgKnowledgeNode[];
1670
1545
  /**
@@ -1679,43 +1554,62 @@ interface DescribeNodeViewProps {
1679
1554
  * for kinds that do not have a dedicated view or knowledge graph stubs that
1680
1555
  * cannot be hydrated from the organization model.
1681
1556
  */
1682
- declare function DescribeNodeView({ node, graph, knowledgeNodes, onNavigateToNode }: DescribeNodeViewProps): react_jsx_runtime.JSX.Element;
1557
+ declare function DescribeNodeView({ node, graph, organizationModel, knowledgeNodes, onNavigateToNode }: DescribeNodeViewProps): react_jsx_runtime.JSX.Element;
1558
+
1559
+ type DomainPanelKey = 'identity' | 'branding' | 'customers' | 'offerings' | 'goals' | 'roles' | 'statuses' | 'navigation' | 'policies' | 'ontology-objects' | 'ontology-links' | 'ontology-actions' | 'ontology-catalogs' | 'ontology-events' | 'ontology-interfaces' | 'ontology-value-types' | 'ontology-properties' | 'ontology-groups' | 'ontology-surfaces' | 'ontology-resources';
1560
+ interface DomainPanelDispatcherProps {
1561
+ domainKey: string;
1562
+ model: OrganizationModel;
1563
+ onNavigateToNode?: (graphNodeId: string) => void;
1564
+ filterToItemId?: string;
1565
+ }
1566
+ declare function DomainPanelDispatcher({ domainKey, model, onNavigateToNode, filterToItemId }: DomainPanelDispatcherProps): react_jsx_runtime.JSX.Element;
1683
1567
 
1684
- interface FeatureDescribeViewProps {
1568
+ interface SystemDescribeViewProps {
1685
1569
  node: OrganizationGraphNode;
1686
1570
  graph: OrganizationGraph;
1687
1571
  knowledgeNodes?: OrgKnowledgeNode[];
1688
1572
  onNavigateToNode?: (graphNodeId: string) => void;
1573
+ /** Optional full organization model; when provided, renders rich authored system fields. */
1574
+ organizationModel?: OrganizationModel;
1689
1575
  }
1690
1576
  /**
1691
- * Minimal describe view for `feature` graph nodes.
1692
- * Shows: header, key fields (id, sourceId/path, enabled, featureId), relationships, metadata.
1577
+ * Describe view for system graph nodes.
1578
+ * Shows: header, kind chip, key fields (id, path, enabled, ui.path),
1579
+ * ui.icon, lifecycle, parent breadcrumb, responsible role, drives goals,
1580
+ * policies, governedByKnowledge, ui.surfaces, ui placement flags,
1581
+ * actions (exposes/consumes), owned entities, relationships,
1582
+ * and technical metadata.
1693
1583
  */
1694
- declare function FeatureDescribeView({ node, graph, knowledgeNodes, onNavigateToNode }: FeatureDescribeViewProps): react_jsx_runtime.JSX.Element;
1584
+ declare function SystemDescribeView({ node, graph, knowledgeNodes, onNavigateToNode, organizationModel }: SystemDescribeViewProps): react_jsx_runtime.JSX.Element;
1695
1585
 
1696
1586
  interface ResourceDescribeViewProps {
1697
1587
  node: OrganizationGraphNode;
1698
1588
  graph: OrganizationGraph;
1699
1589
  knowledgeNodes?: OrgKnowledgeNode[];
1700
1590
  onNavigateToNode?: (graphNodeId: string) => void;
1591
+ /** Optional full organization model; when provided, renders kind-specific resource fields. */
1592
+ organizationModel?: OrganizationModel;
1701
1593
  }
1702
1594
  /**
1703
- * Minimal describe view for `resource` graph nodes.
1704
- * Shows: header, resource metadata, relationships, technical metadata.
1595
+ * Describe view for `resource` graph nodes.
1596
+ * Shows: header, resource metadata (type, status, owner role, system),
1597
+ * kind-specific content (workflow/agent/integration/script), and relationships.
1705
1598
  */
1706
- declare function ResourceDescribeView({ node, graph, knowledgeNodes, onNavigateToNode }: ResourceDescribeViewProps): react_jsx_runtime.JSX.Element;
1599
+ declare function ResourceDescribeView({ node, graph, knowledgeNodes, onNavigateToNode, organizationModel }: ResourceDescribeViewProps): react_jsx_runtime.JSX.Element;
1707
1600
 
1708
1601
  interface OrganizationDescribeViewProps {
1709
1602
  node: OrganizationGraphNode;
1710
1603
  graph: OrganizationGraph;
1711
1604
  knowledgeNodes?: OrgKnowledgeNode[];
1712
1605
  onNavigateToNode?: (graphNodeId: string) => void;
1606
+ organizationModel?: OrganizationModel;
1713
1607
  }
1714
1608
  /**
1715
1609
  * Minimal describe view for `organization` graph nodes.
1716
- * Shows: header, id, relationships, technical metadata.
1610
+ * Shows: header, id, identity fields, relationships, technical metadata.
1717
1611
  */
1718
- declare function OrganizationDescribeView({ node, graph, knowledgeNodes, onNavigateToNode }: OrganizationDescribeViewProps): react_jsx_runtime.JSX.Element;
1612
+ declare function OrganizationDescribeView({ node, graph, knowledgeNodes, onNavigateToNode, organizationModel }: OrganizationDescribeViewProps): react_jsx_runtime.JSX.Element;
1719
1613
 
1720
1614
  interface GenericDescribeViewProps {
1721
1615
  node: OrganizationGraphNode;
@@ -1735,6 +1629,8 @@ interface KindChipProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'
1735
1629
  tone?: KindChipTone;
1736
1630
  }
1737
1631
  declare function KindChip({ kind, tone, style, ...spanProps }: KindChipProps): react_jsx_runtime.JSX.Element;
1632
+ /** Authored-vs-projected provenance label for a knowledge node. */
1633
+ type ProvenanceTag = 'MDX' | 'inline TS' | 'projected';
1738
1634
  interface NodeHeaderProps {
1739
1635
  title: ReactNode;
1740
1636
  kind: string;
@@ -1743,8 +1639,14 @@ interface NodeHeaderProps {
1743
1639
  description?: ReactNode;
1744
1640
  updatedAt?: string;
1745
1641
  rightSection?: ReactNode;
1642
+ /**
1643
+ * Optional provenance chip rendered next to the kind chip.
1644
+ * Decision 7: subtle Badge indicating whether the node body is MDX-compiled,
1645
+ * inline TS, or graph-projected.
1646
+ */
1647
+ provenanceTag?: ProvenanceTag;
1746
1648
  }
1747
- declare function NodeHeader({ title, kind, tone, iconToken, description, updatedAt, rightSection }: NodeHeaderProps): react_jsx_runtime.JSX.Element;
1649
+ declare function NodeHeader({ title, kind, tone, iconToken, description, updatedAt, rightSection, provenanceTag }: NodeHeaderProps): react_jsx_runtime.JSX.Element;
1748
1650
  interface RelatedKnowledgeSectionProps {
1749
1651
  nodeId: string;
1750
1652
  graph: OrganizationGraph;
@@ -1752,18 +1654,41 @@ interface RelatedKnowledgeSectionProps {
1752
1654
  onNavigateToNode?: (nodeId: string) => void;
1753
1655
  }
1754
1656
  declare function RelatedKnowledgeSection({ nodeId, graph, knowledgeNodes, onNavigateToNode }: RelatedKnowledgeSectionProps): react_jsx_runtime.JSX.Element | null;
1657
+ interface ExcludedEdgeFilter {
1658
+ kind: OrganizationGraph['edges'][number]['kind'];
1659
+ direction: 'outgoing' | 'incoming';
1660
+ }
1755
1661
  interface EdgeRelationshipGroupProps {
1756
1662
  nodeId: string;
1757
1663
  graph: OrganizationGraph;
1758
1664
  knowledgeNodes?: OrgKnowledgeNode[];
1759
1665
  onNavigateToNode?: (nodeId: string) => void;
1666
+ /**
1667
+ * Edge kind+direction pairs to suppress from the generic relationship panels.
1668
+ * Use this when a parent view renders a custom panel for that edge kind and
1669
+ * direction to avoid rendering the same chips twice.
1670
+ */
1671
+ excludeKinds?: ExcludedEdgeFilter[];
1760
1672
  }
1761
- declare function EdgeRelationshipGroup({ nodeId, graph, knowledgeNodes, onNavigateToNode }: EdgeRelationshipGroupProps): react_jsx_runtime.JSX.Element | null;
1673
+ declare function EdgeRelationshipGroup({ nodeId, graph, knowledgeNodes, onNavigateToNode, excludeKinds }: EdgeRelationshipGroupProps): react_jsx_runtime.JSX.Element | null;
1762
1674
  interface NodeMetadataFooterProps {
1763
1675
  node: OrganizationGraphNode;
1764
1676
  title?: string;
1677
+ /** Optional content rendered inside the details disclosure (e.g. graph relationships). */
1678
+ children?: ReactNode;
1679
+ /**
1680
+ * Source file path relative to the repo root (e.g.
1681
+ * `packages/elevasis-core/src/knowledge/nodes/platform/foo.mdx`).
1682
+ * When provided, rendered as an extra metadata row.
1683
+ */
1684
+ sourceFilePath?: string;
1685
+ /**
1686
+ * `domainMetadata.knowledge.lastModified` value from the OrganizationModel.
1687
+ * When provided, rendered as an extra "Domain version" metadata row.
1688
+ */
1689
+ domainVersion?: string;
1765
1690
  }
1766
- declare function NodeMetadataFooter({ node, title }: NodeMetadataFooterProps): react_jsx_runtime.JSX.Element | null;
1691
+ declare function NodeMetadataFooter({ node, title, children, sourceFilePath, domainVersion }: NodeMetadataFooterProps): react_jsx_runtime.JSX.Element | null;
1767
1692
  interface NodeDescribeShellProps {
1768
1693
  header?: ReactNode;
1769
1694
  content?: ReactNode;
@@ -1772,5 +1697,5 @@ interface NodeDescribeShellProps {
1772
1697
  }
1773
1698
  declare function NodeDescribeShell({ header, content, relationships, footer }: NodeDescribeShellProps): react_jsx_runtime.JSX.Element;
1774
1699
 
1775
- export { DescribeNodeView, EdgeRelationshipGroup, FeatureDescribeView, GenericDescribeView, KNOWLEDGE_ALLOWLIST, KNOWLEDGE_BODIES, KNOWLEDGE_ICON_TOKEN_BY_KIND, KNOWLEDGE_ITEMS, KindChip, KnowledgeBrowser, KnowledgeMDXProvider, KnowledgeNodeList, KnowledgeNodeView, KnowledgeSearchBar, KnowledgeSidebarMiddle, KnowledgeTree, NodeDescribeShell, NodeHeader, NodeMetadataFooter, OrganizationDescribeView, RelatedKnowledgeSection, ResourceDescribeView, SemanticIcon, extendSemanticIconRegistry, getKnowledgeIconToken, getSemanticIconComponent, resolveSemanticIconComponent, useKnowledgeAllowlist };
1776
- export type { DescribeNodeViewProps, EdgeRelationshipGroupProps, FeatureDescribeViewProps, GenericDescribeViewProps, KindChipProps, KindChipTone, KnowledgeBrowserProps, KnowledgeNodeListProps, KnowledgeNodeViewProps, KnowledgeSearchBarProps, KnowledgeSidebarMiddleProps, KnowledgeTreeProps, NodeDescribeShellProps, NodeHeaderProps, NodeMetadataFooterProps, OrganizationDescribeViewProps, RelatedKnowledgeSectionProps, ResourceDescribeViewProps, SemanticIconProps, SemanticIconRegistry, SemanticIconToken };
1700
+ export { DescribeNodeView, DomainPanelDispatcher, EdgeRelationshipGroup, GenericDescribeView, KNOWLEDGE_ALLOWLIST, KNOWLEDGE_BODIES, KNOWLEDGE_ICON_TOKEN_BY_KIND, KNOWLEDGE_ITEMS, KindChip, KnowledgeBrowser, KnowledgeMDXProvider, KnowledgeNodeList, KnowledgeNodeView, KnowledgeSearchBar, KnowledgeTree, NodeDescribeShell, NodeHeader, NodeMetadataFooter, OM_TREE_GROUPS, OrganizationDescribeView, RelatedKnowledgeSection, ResourceDescribeView, SemanticIcon, SystemDescribeView, extendSemanticIconRegistry, getKnowledgeIconToken, getSemanticIconComponent, getSharedOrganizationGraph, resolveSemanticIconComponent, useKnowledgeAllowlist };
1701
+ export type { DescribeNodeViewProps, DomainPanelDispatcherProps, DomainPanelKey, EdgeRelationshipGroupProps, GenericDescribeViewProps, KindChipProps, KindChipTone, KnowledgeBrowserProps, KnowledgeNodeListProps, KnowledgeNodeViewProps, KnowledgeSearchBarProps, KnowledgeTreeProps, NodeDescribeShellProps, NodeHeaderProps, NodeMetadataFooterProps, OrganizationDescribeViewProps, RelatedKnowledgeSectionProps, ResourceDescribeViewProps, SemanticIconProps, SemanticIconRegistry, SemanticIconToken, SystemDescribeViewProps };