@elevasis/core 0.21.0 → 0.23.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 (132) hide show
  1. package/dist/index.d.ts +2518 -2169
  2. package/dist/index.js +2495 -1095
  3. package/dist/knowledge/index.d.ts +706 -1044
  4. package/dist/knowledge/index.js +9 -9
  5. package/dist/organization-model/index.d.ts +2518 -2169
  6. package/dist/organization-model/index.js +2495 -1095
  7. package/dist/test-utils/index.d.ts +826 -1014
  8. package/dist/test-utils/index.js +1894 -1032
  9. package/package.json +3 -3
  10. package/src/__tests__/template-core-compatibility.test.ts +11 -79
  11. package/src/_gen/__tests__/__snapshots__/contracts.md.snap +852 -397
  12. package/src/auth/multi-tenancy/permissions.ts +20 -8
  13. package/src/business/README.md +2 -2
  14. package/src/business/acquisition/api-schemas.test.ts +175 -2
  15. package/src/business/acquisition/api-schemas.ts +132 -16
  16. package/src/business/acquisition/build-templates.test.ts +4 -4
  17. package/src/business/acquisition/build-templates.ts +72 -30
  18. package/src/business/acquisition/crm-state-actions.test.ts +13 -11
  19. package/src/business/acquisition/index.ts +12 -0
  20. package/src/business/acquisition/types.ts +7 -3
  21. package/src/business/clients/api-schemas.test.ts +115 -0
  22. package/src/business/clients/api-schemas.ts +158 -0
  23. package/src/business/clients/index.ts +1 -0
  24. package/src/business/deals/api-schemas.ts +8 -0
  25. package/src/business/index.ts +5 -2
  26. package/src/business/projects/types.ts +19 -0
  27. package/src/execution/engine/__tests__/fixtures/test-agents.ts +10 -8
  28. package/src/execution/engine/agent/core/__tests__/agent.test.ts +16 -12
  29. package/src/execution/engine/agent/core/__tests__/error-passthrough.test.ts +4 -3
  30. package/src/execution/engine/agent/core/types.ts +25 -15
  31. package/src/execution/engine/agent/index.ts +6 -4
  32. package/src/execution/engine/agent/reasoning/__tests__/request-builder.test.ts +24 -18
  33. package/src/execution/engine/index.ts +3 -0
  34. package/src/execution/engine/workflow/types.ts +9 -2
  35. package/src/knowledge/README.md +8 -7
  36. package/src/knowledge/__tests__/queries.test.ts +74 -73
  37. package/src/knowledge/format.ts +10 -9
  38. package/src/knowledge/index.ts +1 -1
  39. package/src/knowledge/published.ts +1 -1
  40. package/src/knowledge/queries.ts +26 -25
  41. package/src/organization-model/README.md +73 -26
  42. package/src/organization-model/__tests__/content-kinds-registry.test.ts +210 -0
  43. package/src/organization-model/__tests__/defaults.test.ts +76 -96
  44. package/src/organization-model/__tests__/domains/actions.test.ts +56 -0
  45. package/src/organization-model/__tests__/domains/customers.test.ts +299 -295
  46. package/src/organization-model/__tests__/domains/entities.test.ts +56 -0
  47. package/src/organization-model/__tests__/domains/goals.test.ts +493 -479
  48. package/src/organization-model/__tests__/domains/identity.test.ts +280 -279
  49. package/src/organization-model/__tests__/domains/navigation.test.ts +268 -212
  50. package/src/organization-model/__tests__/domains/offerings.test.ts +414 -419
  51. package/src/organization-model/__tests__/domains/policies.test.ts +323 -0
  52. package/src/organization-model/__tests__/domains/resource-mappings.test.ts +271 -271
  53. package/src/organization-model/__tests__/domains/resources.test.ts +310 -0
  54. package/src/organization-model/__tests__/domains/roles.test.ts +463 -347
  55. package/src/organization-model/__tests__/domains/statuses.test.ts +246 -243
  56. package/src/organization-model/__tests__/domains/systems.test.ts +209 -0
  57. package/src/organization-model/__tests__/flatten-additive-merge.test.ts +361 -0
  58. package/src/organization-model/__tests__/foundation.test.ts +74 -102
  59. package/src/organization-model/__tests__/get-resources-for-system.test.ts +144 -0
  60. package/src/organization-model/__tests__/graph.test.ts +899 -71
  61. package/src/organization-model/__tests__/knowledge.test.ts +209 -49
  62. package/src/organization-model/__tests__/lookup-helpers.test.ts +438 -0
  63. package/src/organization-model/__tests__/migration-helpers.test.ts +591 -0
  64. package/src/organization-model/__tests__/prospecting-ssot.test.ts +36 -27
  65. package/src/organization-model/__tests__/recursive-system-schema.test.ts +520 -0
  66. package/src/organization-model/__tests__/resolve.test.ts +174 -23
  67. package/src/organization-model/__tests__/schema.test.ts +291 -114
  68. package/src/organization-model/__tests__/surface-projection.test.ts +207 -97
  69. package/src/organization-model/catalogs/lead-gen.ts +144 -0
  70. package/src/organization-model/content-kinds/config.ts +36 -0
  71. package/src/organization-model/content-kinds/index.ts +74 -0
  72. package/src/organization-model/content-kinds/pipeline.ts +68 -0
  73. package/src/organization-model/content-kinds/registry.ts +44 -0
  74. package/src/organization-model/content-kinds/status.ts +71 -0
  75. package/src/organization-model/content-kinds/template.ts +83 -0
  76. package/src/organization-model/content-kinds/types.ts +117 -0
  77. package/src/organization-model/contracts.ts +13 -3
  78. package/src/organization-model/defaults.ts +499 -86
  79. package/src/organization-model/domains/actions.ts +239 -0
  80. package/src/organization-model/domains/customers.ts +78 -75
  81. package/src/organization-model/domains/entities.ts +144 -0
  82. package/src/organization-model/domains/goals.ts +83 -80
  83. package/src/organization-model/domains/knowledge.ts +76 -17
  84. package/src/organization-model/domains/navigation.ts +107 -384
  85. package/src/organization-model/domains/offerings.ts +71 -66
  86. package/src/organization-model/domains/policies.ts +102 -0
  87. package/src/organization-model/domains/projects.ts +14 -48
  88. package/src/organization-model/domains/prospecting.ts +62 -181
  89. package/src/organization-model/domains/resources.ts +145 -0
  90. package/src/organization-model/domains/roles.ts +96 -55
  91. package/src/organization-model/domains/sales.ts +10 -219
  92. package/src/organization-model/domains/shared.ts +57 -57
  93. package/src/organization-model/domains/statuses.ts +339 -130
  94. package/src/organization-model/domains/systems.ts +203 -0
  95. package/src/organization-model/foundation.ts +54 -67
  96. package/src/organization-model/graph/build.ts +682 -54
  97. package/src/organization-model/graph/link.ts +1 -1
  98. package/src/organization-model/graph/schema.ts +24 -9
  99. package/src/organization-model/graph/types.ts +20 -7
  100. package/src/organization-model/helpers.ts +231 -26
  101. package/src/organization-model/icons.ts +1 -0
  102. package/src/organization-model/index.ts +118 -5
  103. package/src/organization-model/migration-helpers.ts +249 -0
  104. package/src/organization-model/organization-graph.mdx +16 -15
  105. package/src/organization-model/organization-model.mdx +111 -44
  106. package/src/organization-model/published.ts +172 -19
  107. package/src/organization-model/resolve.ts +117 -54
  108. package/src/organization-model/schema.ts +654 -112
  109. package/src/organization-model/surface-projection.ts +116 -122
  110. package/src/organization-model/types.ts +146 -20
  111. package/src/platform/api/types.ts +38 -35
  112. package/src/platform/constants/versions.ts +1 -1
  113. package/src/platform/registry/__tests__/command-view.test.ts +6 -8
  114. package/src/platform/registry/__tests__/resource-link.test.ts +13 -8
  115. package/src/platform/registry/__tests__/resource-registry.integration.test.ts +16 -31
  116. package/src/platform/registry/__tests__/resource-registry.nested-systems.test.ts +245 -0
  117. package/src/platform/registry/__tests__/resource-registry.test.ts +2053 -2005
  118. package/src/platform/registry/__tests__/validation.test.ts +1347 -1086
  119. package/src/platform/registry/index.ts +14 -0
  120. package/src/platform/registry/resource-registry.ts +52 -2
  121. package/src/platform/registry/serialization.ts +241 -202
  122. package/src/platform/registry/serialized-types.ts +1 -0
  123. package/src/platform/registry/types.ts +411 -361
  124. package/src/platform/registry/validation.ts +745 -513
  125. package/src/projects/api-schemas.ts +290 -267
  126. package/src/reference/_generated/contracts.md +853 -397
  127. package/src/reference/glossary.md +23 -18
  128. package/src/supabase/database.types.ts +181 -0
  129. package/src/test-utils/test-utils.test.ts +1 -6
  130. package/src/organization-model/__tests__/domains/operations.test.ts +0 -203
  131. package/src/organization-model/domains/features.ts +0 -31
  132. package/src/organization-model/domains/operations.ts +0 -85
@@ -65,6 +65,7 @@ type Database = {
65
65
  batch_id: string | null;
66
66
  category: string | null;
67
67
  category_pain: string | null;
68
+ client_id: string | null;
68
69
  created_at: string;
69
70
  domain: string | null;
70
71
  enrichment_data: Json | null;
@@ -91,6 +92,7 @@ type Database = {
91
92
  batch_id?: string | null;
92
93
  category?: string | null;
93
94
  category_pain?: string | null;
95
+ client_id?: string | null;
94
96
  created_at?: string;
95
97
  domain?: string | null;
96
98
  enrichment_data?: Json | null;
@@ -117,6 +119,7 @@ type Database = {
117
119
  batch_id?: string | null;
118
120
  category?: string | null;
119
121
  category_pain?: string | null;
122
+ client_id?: string | null;
120
123
  created_at?: string;
121
124
  domain?: string | null;
122
125
  enrichment_data?: Json | null;
@@ -140,6 +143,13 @@ type Database = {
140
143
  website?: string | null;
141
144
  };
142
145
  Relationships: [
146
+ {
147
+ foreignKeyName: "acq_companies_client_id_fkey";
148
+ columns: ["client_id"];
149
+ isOneToOne: false;
150
+ referencedRelation: "clients";
151
+ referencedColumns: ["id"];
152
+ },
143
153
  {
144
154
  foreignKeyName: "acq_companies_organization_id_fkey";
145
155
  columns: ["organization_id"];
@@ -154,6 +164,7 @@ type Database = {
154
164
  batch_id: string | null;
155
165
  brochure_first_viewed_at: string | null;
156
166
  brochure_view_count: number;
167
+ client_id: string | null;
157
168
  company_id: string | null;
158
169
  created_at: string;
159
170
  email: string;
@@ -182,6 +193,7 @@ type Database = {
182
193
  batch_id?: string | null;
183
194
  brochure_first_viewed_at?: string | null;
184
195
  brochure_view_count?: number;
196
+ client_id?: string | null;
185
197
  company_id?: string | null;
186
198
  created_at?: string;
187
199
  email: string;
@@ -210,6 +222,7 @@ type Database = {
210
222
  batch_id?: string | null;
211
223
  brochure_first_viewed_at?: string | null;
212
224
  brochure_view_count?: number;
225
+ client_id?: string | null;
213
226
  company_id?: string | null;
214
227
  created_at?: string;
215
228
  email?: string;
@@ -235,6 +248,13 @@ type Database = {
235
248
  updated_at?: string;
236
249
  };
237
250
  Relationships: [
251
+ {
252
+ foreignKeyName: "acq_contacts_client_id_fkey";
253
+ columns: ["client_id"];
254
+ isOneToOne: false;
255
+ referencedRelation: "clients";
256
+ referencedColumns: ["id"];
257
+ },
238
258
  {
239
259
  foreignKeyName: "acq_contacts_company_id_fkey";
240
260
  columns: ["company_id"];
@@ -478,8 +498,10 @@ type Database = {
478
498
  acq_deals: {
479
499
  Row: {
480
500
  activity_log: Json;
501
+ client_id: string | null;
481
502
  closed_lost_at: string | null;
482
503
  closed_lost_reason: string | null;
504
+ company_id: string | null;
483
505
  contact_email: string;
484
506
  contact_id: string | null;
485
507
  created_at: string;
@@ -515,8 +537,10 @@ type Database = {
515
537
  };
516
538
  Insert: {
517
539
  activity_log?: Json;
540
+ client_id?: string | null;
518
541
  closed_lost_at?: string | null;
519
542
  closed_lost_reason?: string | null;
543
+ company_id?: string | null;
520
544
  contact_email: string;
521
545
  contact_id?: string | null;
522
546
  created_at?: string;
@@ -552,8 +576,10 @@ type Database = {
552
576
  };
553
577
  Update: {
554
578
  activity_log?: Json;
579
+ client_id?: string | null;
555
580
  closed_lost_at?: string | null;
556
581
  closed_lost_reason?: string | null;
582
+ company_id?: string | null;
557
583
  contact_email?: string;
558
584
  contact_id?: string | null;
559
585
  created_at?: string;
@@ -588,6 +614,20 @@ type Database = {
588
614
  updated_at?: string;
589
615
  };
590
616
  Relationships: [
617
+ {
618
+ foreignKeyName: "acq_deals_client_id_fkey";
619
+ columns: ["client_id"];
620
+ isOneToOne: false;
621
+ referencedRelation: "clients";
622
+ referencedColumns: ["id"];
623
+ },
624
+ {
625
+ foreignKeyName: "acq_deals_company_id_fkey";
626
+ columns: ["company_id"];
627
+ isOneToOne: false;
628
+ referencedRelation: "acq_companies";
629
+ referencedColumns: ["id"];
630
+ },
591
631
  {
592
632
  foreignKeyName: "acq_deals_contact_id_fkey";
593
633
  columns: ["contact_id"];
@@ -1205,6 +1245,77 @@ type Database = {
1205
1245
  }
1206
1246
  ];
1207
1247
  };
1248
+ clients: {
1249
+ Row: {
1250
+ converted_at: string | null;
1251
+ created_at: string;
1252
+ id: string;
1253
+ metadata: Json;
1254
+ name: string;
1255
+ organization_id: string;
1256
+ primary_company_id: string | null;
1257
+ primary_contact_id: string | null;
1258
+ source_deal_id: string | null;
1259
+ status: string;
1260
+ updated_at: string;
1261
+ };
1262
+ Insert: {
1263
+ converted_at?: string | null;
1264
+ created_at?: string;
1265
+ id?: string;
1266
+ metadata?: Json;
1267
+ name: string;
1268
+ organization_id: string;
1269
+ primary_company_id?: string | null;
1270
+ primary_contact_id?: string | null;
1271
+ source_deal_id?: string | null;
1272
+ status?: string;
1273
+ updated_at?: string;
1274
+ };
1275
+ Update: {
1276
+ converted_at?: string | null;
1277
+ created_at?: string;
1278
+ id?: string;
1279
+ metadata?: Json;
1280
+ name?: string;
1281
+ organization_id?: string;
1282
+ primary_company_id?: string | null;
1283
+ primary_contact_id?: string | null;
1284
+ source_deal_id?: string | null;
1285
+ status?: string;
1286
+ updated_at?: string;
1287
+ };
1288
+ Relationships: [
1289
+ {
1290
+ foreignKeyName: "clients_organization_id_fkey";
1291
+ columns: ["organization_id"];
1292
+ isOneToOne: false;
1293
+ referencedRelation: "organizations";
1294
+ referencedColumns: ["id"];
1295
+ },
1296
+ {
1297
+ foreignKeyName: "clients_primary_company_id_fkey";
1298
+ columns: ["primary_company_id"];
1299
+ isOneToOne: false;
1300
+ referencedRelation: "acq_companies";
1301
+ referencedColumns: ["id"];
1302
+ },
1303
+ {
1304
+ foreignKeyName: "clients_primary_contact_id_fkey";
1305
+ columns: ["primary_contact_id"];
1306
+ isOneToOne: false;
1307
+ referencedRelation: "acq_contacts";
1308
+ referencedColumns: ["id"];
1309
+ },
1310
+ {
1311
+ foreignKeyName: "clients_source_deal_id_fkey";
1312
+ columns: ["source_deal_id"];
1313
+ isOneToOne: false;
1314
+ referencedRelation: "acq_deals";
1315
+ referencedColumns: ["id"];
1316
+ }
1317
+ ];
1318
+ };
1208
1319
  command_queue: {
1209
1320
  Row: {
1210
1321
  action_payload: Json | null;
@@ -2174,6 +2285,7 @@ type Database = {
2174
2285
  Row: {
2175
2286
  actual_end_date: string | null;
2176
2287
  client_company_id: string | null;
2288
+ client_id: string | null;
2177
2289
  contract_value: number | null;
2178
2290
  created_at: string;
2179
2291
  deal_id: string | null;
@@ -2191,6 +2303,7 @@ type Database = {
2191
2303
  Insert: {
2192
2304
  actual_end_date?: string | null;
2193
2305
  client_company_id?: string | null;
2306
+ client_id?: string | null;
2194
2307
  contract_value?: number | null;
2195
2308
  created_at?: string;
2196
2309
  deal_id?: string | null;
@@ -2208,6 +2321,7 @@ type Database = {
2208
2321
  Update: {
2209
2322
  actual_end_date?: string | null;
2210
2323
  client_company_id?: string | null;
2324
+ client_id?: string | null;
2211
2325
  contract_value?: number | null;
2212
2326
  created_at?: string;
2213
2327
  deal_id?: string | null;
@@ -2244,6 +2358,13 @@ type Database = {
2244
2358
  referencedRelation: "acq_companies";
2245
2359
  referencedColumns: ["id"];
2246
2360
  },
2361
+ {
2362
+ foreignKeyName: "prj_projects_client_id_fkey";
2363
+ columns: ["client_id"];
2364
+ isOneToOne: false;
2365
+ referencedRelation: "clients";
2366
+ referencedColumns: ["id"];
2367
+ },
2247
2368
  {
2248
2369
  foreignKeyName: "prj_projects_deal_id_fkey";
2249
2370
  columns: ["deal_id"];
@@ -2648,6 +2769,66 @@ type Database = {
2648
2769
  }
2649
2770
  ];
2650
2771
  };
2772
+ user_notes: {
2773
+ Row: {
2774
+ content: string;
2775
+ created_at: string;
2776
+ created_by: string;
2777
+ id: string;
2778
+ metadata: Json;
2779
+ organization_id: string | null;
2780
+ pinned: boolean;
2781
+ priority: string;
2782
+ source: string | null;
2783
+ title: string | null;
2784
+ updated_at: string;
2785
+ user_id: string;
2786
+ };
2787
+ Insert: {
2788
+ content: string;
2789
+ created_at?: string;
2790
+ created_by?: string;
2791
+ id?: string;
2792
+ metadata?: Json;
2793
+ organization_id?: string | null;
2794
+ pinned?: boolean;
2795
+ priority?: string;
2796
+ source?: string | null;
2797
+ title?: string | null;
2798
+ updated_at?: string;
2799
+ user_id: string;
2800
+ };
2801
+ Update: {
2802
+ content?: string;
2803
+ created_at?: string;
2804
+ created_by?: string;
2805
+ id?: string;
2806
+ metadata?: Json;
2807
+ organization_id?: string | null;
2808
+ pinned?: boolean;
2809
+ priority?: string;
2810
+ source?: string | null;
2811
+ title?: string | null;
2812
+ updated_at?: string;
2813
+ user_id?: string;
2814
+ };
2815
+ Relationships: [
2816
+ {
2817
+ foreignKeyName: "user_notes_organization_id_fkey";
2818
+ columns: ["organization_id"];
2819
+ isOneToOne: false;
2820
+ referencedRelation: "organizations";
2821
+ referencedColumns: ["id"];
2822
+ },
2823
+ {
2824
+ foreignKeyName: "user_notes_user_id_fkey";
2825
+ columns: ["user_id"];
2826
+ isOneToOne: false;
2827
+ referencedRelation: "users";
2828
+ referencedColumns: ["id"];
2829
+ }
2830
+ ];
2831
+ };
2651
2832
  users: {
2652
2833
  Row: {
2653
2834
  config: Json;
@@ -3393,14 +3574,620 @@ declare function makeContact(overrides?: Partial<BaseContactFixture>): BaseConta
3393
3574
  declare function makeMilestone(overrides?: Partial<BaseMilestoneFixture>): BaseMilestoneFixture;
3394
3575
  declare function makeTask(overrides?: Partial<BaseTaskFixture>): BaseTaskFixture;
3395
3576
 
3577
+ declare const SurfaceTypeSchema: z.ZodEnum<{
3578
+ list: "list";
3579
+ graph: "graph";
3580
+ page: "page";
3581
+ dashboard: "dashboard";
3582
+ detail: "detail";
3583
+ settings: "settings";
3584
+ }>;
3585
+ interface SidebarSurfaceNode {
3586
+ type: 'surface';
3587
+ label: string;
3588
+ path: string;
3589
+ surfaceType: z.infer<typeof SurfaceTypeSchema>;
3590
+ description?: string;
3591
+ icon?: string;
3592
+ order?: number;
3593
+ targets?: {
3594
+ systems?: string[];
3595
+ entities?: string[];
3596
+ resources?: string[];
3597
+ actions?: string[];
3598
+ };
3599
+ devOnly?: boolean;
3600
+ requiresAdmin?: boolean;
3601
+ }
3602
+ interface SidebarGroupNode {
3603
+ type: 'group';
3604
+ label: string;
3605
+ description?: string;
3606
+ icon?: string;
3607
+ order?: number;
3608
+ children: Record<string, SidebarNode>;
3609
+ }
3610
+ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
3611
+
3612
+ /**
3613
+ * Placeholder discriminated union for ContentNode (Wave 1A).
3614
+ * Wave 2A wires concrete (kind, type) pairs via the registry.
3615
+ *
3616
+ * Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
3617
+ * Per L14: every node carries BOTH `kind` and `type`.
3618
+ */
3619
+ declare const ContentNodeSchema: z.ZodObject<{
3620
+ label: z.ZodString;
3621
+ description: z.ZodOptional<z.ZodString>;
3622
+ order: z.ZodOptional<z.ZodNumber>;
3623
+ parentContentId: z.ZodOptional<z.ZodString>;
3624
+ kind: z.ZodString;
3625
+ type: z.ZodString;
3626
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3627
+ }, z.core.$strip>;
3628
+ type ContentNode = z.infer<typeof ContentNodeSchema>;
3629
+
3630
+ /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
3631
+ interface SystemEntry {
3632
+ id: string;
3633
+ label?: string;
3634
+ title?: string;
3635
+ description?: string;
3636
+ kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
3637
+ parentSystemId?: string;
3638
+ ui?: {
3639
+ path: string;
3640
+ surfaces: string[];
3641
+ icon?: string;
3642
+ order?: number;
3643
+ };
3644
+ lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
3645
+ responsibleRoleId?: string;
3646
+ governedByKnowledge?: string[];
3647
+ actions?: {
3648
+ actionId: string;
3649
+ intent: 'exposes' | 'consumes';
3650
+ invocation?: unknown;
3651
+ }[];
3652
+ policies?: string[];
3653
+ drivesGoals?: string[];
3654
+ /** @deprecated Use lifecycle. Accepted for one publish cycle. */
3655
+ status?: 'active' | 'deprecated' | 'archived';
3656
+ path?: string;
3657
+ icon?: string;
3658
+ color?: string;
3659
+ uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
3660
+ enabled?: boolean;
3661
+ devOnly?: boolean;
3662
+ requiresAdmin?: boolean;
3663
+ order: number;
3664
+ content?: Record<string, ContentNode>;
3665
+ subsystems?: Record<string, SystemEntry>;
3666
+ }
3667
+
3396
3668
  declare const OrganizationModelSchema: z.ZodObject<{
3397
3669
  version: z.ZodDefault<z.ZodLiteral<1>>;
3398
- features: z.ZodDefault<z.ZodArray<z.ZodObject<{
3670
+ domainMetadata: z.ZodPipe<z.ZodDefault<z.ZodObject<{
3671
+ branding: z.ZodOptional<z.ZodObject<{
3672
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3673
+ lastModified: z.ZodString;
3674
+ }, z.core.$strip>>;
3675
+ identity: z.ZodOptional<z.ZodObject<{
3676
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3677
+ lastModified: z.ZodString;
3678
+ }, z.core.$strip>>;
3679
+ customers: z.ZodOptional<z.ZodObject<{
3680
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3681
+ lastModified: z.ZodString;
3682
+ }, z.core.$strip>>;
3683
+ offerings: z.ZodOptional<z.ZodObject<{
3684
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3685
+ lastModified: z.ZodString;
3686
+ }, z.core.$strip>>;
3687
+ roles: z.ZodOptional<z.ZodObject<{
3688
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3689
+ lastModified: z.ZodString;
3690
+ }, z.core.$strip>>;
3691
+ goals: z.ZodOptional<z.ZodObject<{
3692
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3693
+ lastModified: z.ZodString;
3694
+ }, z.core.$strip>>;
3695
+ systems: z.ZodOptional<z.ZodObject<{
3696
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3697
+ lastModified: z.ZodString;
3698
+ }, z.core.$strip>>;
3699
+ resources: z.ZodOptional<z.ZodObject<{
3700
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3701
+ lastModified: z.ZodString;
3702
+ }, z.core.$strip>>;
3703
+ actions: z.ZodOptional<z.ZodObject<{
3704
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3705
+ lastModified: z.ZodString;
3706
+ }, z.core.$strip>>;
3707
+ entities: z.ZodOptional<z.ZodObject<{
3708
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3709
+ lastModified: z.ZodString;
3710
+ }, z.core.$strip>>;
3711
+ policies: z.ZodOptional<z.ZodObject<{
3712
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3713
+ lastModified: z.ZodString;
3714
+ }, z.core.$strip>>;
3715
+ knowledge: z.ZodOptional<z.ZodObject<{
3716
+ version: z.ZodDefault<z.ZodLiteral<1>>;
3717
+ lastModified: z.ZodString;
3718
+ }, z.core.$strip>>;
3719
+ }, z.core.$strip>>, z.ZodTransform<{
3720
+ branding: {
3721
+ version: 1;
3722
+ lastModified: string;
3723
+ };
3724
+ identity: {
3725
+ version: 1;
3726
+ lastModified: string;
3727
+ };
3728
+ customers: {
3729
+ version: 1;
3730
+ lastModified: string;
3731
+ };
3732
+ offerings: {
3733
+ version: 1;
3734
+ lastModified: string;
3735
+ };
3736
+ roles: {
3737
+ version: 1;
3738
+ lastModified: string;
3739
+ };
3740
+ goals: {
3741
+ version: 1;
3742
+ lastModified: string;
3743
+ };
3744
+ systems: {
3745
+ version: 1;
3746
+ lastModified: string;
3747
+ };
3748
+ resources: {
3749
+ version: 1;
3750
+ lastModified: string;
3751
+ };
3752
+ actions: {
3753
+ version: 1;
3754
+ lastModified: string;
3755
+ };
3756
+ entities: {
3757
+ version: 1;
3758
+ lastModified: string;
3759
+ };
3760
+ policies: {
3761
+ version: 1;
3762
+ lastModified: string;
3763
+ };
3764
+ knowledge: {
3765
+ version: 1;
3766
+ lastModified: string;
3767
+ };
3768
+ }, {
3769
+ branding?: {
3770
+ version: 1;
3771
+ lastModified: string;
3772
+ } | undefined;
3773
+ identity?: {
3774
+ version: 1;
3775
+ lastModified: string;
3776
+ } | undefined;
3777
+ customers?: {
3778
+ version: 1;
3779
+ lastModified: string;
3780
+ } | undefined;
3781
+ offerings?: {
3782
+ version: 1;
3783
+ lastModified: string;
3784
+ } | undefined;
3785
+ roles?: {
3786
+ version: 1;
3787
+ lastModified: string;
3788
+ } | undefined;
3789
+ goals?: {
3790
+ version: 1;
3791
+ lastModified: string;
3792
+ } | undefined;
3793
+ systems?: {
3794
+ version: 1;
3795
+ lastModified: string;
3796
+ } | undefined;
3797
+ resources?: {
3798
+ version: 1;
3799
+ lastModified: string;
3800
+ } | undefined;
3801
+ actions?: {
3802
+ version: 1;
3803
+ lastModified: string;
3804
+ } | undefined;
3805
+ entities?: {
3806
+ version: 1;
3807
+ lastModified: string;
3808
+ } | undefined;
3809
+ policies?: {
3810
+ version: 1;
3811
+ lastModified: string;
3812
+ } | undefined;
3813
+ knowledge?: {
3814
+ version: 1;
3815
+ lastModified: string;
3816
+ } | undefined;
3817
+ }>>;
3818
+ branding: z.ZodObject<{
3819
+ organizationName: z.ZodString;
3820
+ productName: z.ZodString;
3821
+ shortName: z.ZodString;
3822
+ description: z.ZodOptional<z.ZodString>;
3823
+ logos: z.ZodDefault<z.ZodObject<{
3824
+ light: z.ZodOptional<z.ZodString>;
3825
+ dark: z.ZodOptional<z.ZodString>;
3826
+ }, z.core.$strip>>;
3827
+ }, z.core.$strip>;
3828
+ navigation: z.ZodDefault<z.ZodObject<{
3829
+ sidebar: z.ZodDefault<z.ZodObject<{
3830
+ primary: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
3831
+ bottom: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
3832
+ }, z.core.$strip>>;
3833
+ }, z.core.$strip>>;
3834
+ identity: z.ZodDefault<z.ZodObject<{
3835
+ mission: z.ZodDefault<z.ZodString>;
3836
+ vision: z.ZodDefault<z.ZodString>;
3837
+ legalName: z.ZodDefault<z.ZodString>;
3838
+ entityType: z.ZodDefault<z.ZodString>;
3839
+ jurisdiction: z.ZodDefault<z.ZodString>;
3840
+ industryCategory: z.ZodDefault<z.ZodString>;
3841
+ geographicFocus: z.ZodDefault<z.ZodString>;
3842
+ timeZone: z.ZodDefault<z.ZodString>;
3843
+ businessHours: z.ZodDefault<z.ZodObject<{
3844
+ monday: z.ZodOptional<z.ZodObject<{
3845
+ open: z.ZodString;
3846
+ close: z.ZodString;
3847
+ }, z.core.$strip>>;
3848
+ tuesday: z.ZodOptional<z.ZodObject<{
3849
+ open: z.ZodString;
3850
+ close: z.ZodString;
3851
+ }, z.core.$strip>>;
3852
+ wednesday: z.ZodOptional<z.ZodObject<{
3853
+ open: z.ZodString;
3854
+ close: z.ZodString;
3855
+ }, z.core.$strip>>;
3856
+ thursday: z.ZodOptional<z.ZodObject<{
3857
+ open: z.ZodString;
3858
+ close: z.ZodString;
3859
+ }, z.core.$strip>>;
3860
+ friday: z.ZodOptional<z.ZodObject<{
3861
+ open: z.ZodString;
3862
+ close: z.ZodString;
3863
+ }, z.core.$strip>>;
3864
+ saturday: z.ZodOptional<z.ZodObject<{
3865
+ open: z.ZodString;
3866
+ close: z.ZodString;
3867
+ }, z.core.$strip>>;
3868
+ sunday: z.ZodOptional<z.ZodObject<{
3869
+ open: z.ZodString;
3870
+ close: z.ZodString;
3871
+ }, z.core.$strip>>;
3872
+ }, z.core.$strip>>;
3873
+ clientBrief: z.ZodDefault<z.ZodString>;
3874
+ }, z.core.$strip>>;
3875
+ customers: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3876
+ id: z.ZodString;
3877
+ order: z.ZodNumber;
3878
+ name: z.ZodDefault<z.ZodString>;
3879
+ description: z.ZodDefault<z.ZodString>;
3880
+ jobsToBeDone: z.ZodDefault<z.ZodString>;
3881
+ pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
3882
+ gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
3883
+ firmographics: z.ZodDefault<z.ZodObject<{
3884
+ industry: z.ZodOptional<z.ZodString>;
3885
+ companySize: z.ZodOptional<z.ZodString>;
3886
+ region: z.ZodOptional<z.ZodString>;
3887
+ }, z.core.$strip>>;
3888
+ valueProp: z.ZodDefault<z.ZodString>;
3889
+ }, z.core.$strip>>>>;
3890
+ offerings: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3891
+ id: z.ZodString;
3892
+ order: z.ZodNumber;
3893
+ name: z.ZodDefault<z.ZodString>;
3894
+ description: z.ZodDefault<z.ZodString>;
3895
+ pricingModel: z.ZodDefault<z.ZodEnum<{
3896
+ custom: "custom";
3897
+ "one-time": "one-time";
3898
+ subscription: "subscription";
3899
+ "usage-based": "usage-based";
3900
+ }>>;
3901
+ price: z.ZodDefault<z.ZodNumber>;
3902
+ currency: z.ZodDefault<z.ZodString>;
3903
+ targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3904
+ deliveryFeatureId: z.ZodOptional<z.ZodString>;
3905
+ }, z.core.$strip>>>>;
3906
+ roles: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3907
+ id: z.ZodString;
3908
+ order: z.ZodNumber;
3909
+ title: z.ZodString;
3910
+ responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
3911
+ reportsToId: z.ZodOptional<z.ZodString>;
3912
+ heldBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
3913
+ kind: z.ZodLiteral<"human">;
3914
+ userId: z.ZodString;
3915
+ }, z.core.$strip>, z.ZodObject<{
3916
+ kind: z.ZodLiteral<"agent">;
3917
+ agentId: z.ZodString;
3918
+ }, z.core.$strip>, z.ZodObject<{
3919
+ kind: z.ZodLiteral<"team">;
3920
+ memberIds: z.ZodArray<z.ZodString>;
3921
+ }, z.core.$strip>], "kind">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3922
+ kind: z.ZodLiteral<"human">;
3923
+ userId: z.ZodString;
3924
+ }, z.core.$strip>, z.ZodObject<{
3925
+ kind: z.ZodLiteral<"agent">;
3926
+ agentId: z.ZodString;
3927
+ }, z.core.$strip>, z.ZodObject<{
3928
+ kind: z.ZodLiteral<"team">;
3929
+ memberIds: z.ZodArray<z.ZodString>;
3930
+ }, z.core.$strip>], "kind">>]>>;
3931
+ responsibleFor: z.ZodOptional<z.ZodArray<z.ZodString>>;
3932
+ }, z.core.$strip>>>>;
3933
+ goals: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3934
+ id: z.ZodString;
3935
+ order: z.ZodNumber;
3936
+ description: z.ZodString;
3937
+ periodStart: z.ZodString;
3938
+ periodEnd: z.ZodString;
3939
+ keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
3940
+ id: z.ZodString;
3941
+ description: z.ZodString;
3942
+ targetMetric: z.ZodString;
3943
+ currentValue: z.ZodDefault<z.ZodNumber>;
3944
+ targetValue: z.ZodOptional<z.ZodNumber>;
3945
+ }, z.core.$strip>>>;
3946
+ }, z.core.$strip>>>>;
3947
+ systems: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
3948
+ resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
3949
+ id: z.ZodString;
3950
+ order: z.ZodDefault<z.ZodNumber>;
3951
+ systemPath: z.ZodString;
3952
+ ownerRoleId: z.ZodOptional<z.ZodString>;
3953
+ status: z.ZodEnum<{
3954
+ deprecated: "deprecated";
3955
+ active: "active";
3956
+ archived: "archived";
3957
+ }>;
3958
+ kind: z.ZodLiteral<"workflow">;
3959
+ actionKey: z.ZodOptional<z.ZodString>;
3960
+ emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
3961
+ eventKey: z.ZodString;
3962
+ label: z.ZodString;
3963
+ payloadSchema: z.ZodOptional<z.ZodString>;
3964
+ lifecycle: z.ZodOptional<z.ZodEnum<{
3965
+ deprecated: "deprecated";
3966
+ draft: "draft";
3967
+ beta: "beta";
3968
+ active: "active";
3969
+ archived: "archived";
3970
+ }>>;
3971
+ }, z.core.$strip>>>;
3972
+ }, z.core.$strip>, z.ZodObject<{
3973
+ id: z.ZodString;
3974
+ order: z.ZodDefault<z.ZodNumber>;
3975
+ systemPath: z.ZodString;
3976
+ ownerRoleId: z.ZodOptional<z.ZodString>;
3977
+ status: z.ZodEnum<{
3978
+ deprecated: "deprecated";
3979
+ active: "active";
3980
+ archived: "archived";
3981
+ }>;
3982
+ kind: z.ZodLiteral<"agent">;
3983
+ agentKind: z.ZodEnum<{
3984
+ platform: "platform";
3985
+ orchestrator: "orchestrator";
3986
+ specialist: "specialist";
3987
+ utility: "utility";
3988
+ }>;
3989
+ actsAsRoleId: z.ZodOptional<z.ZodString>;
3990
+ sessionCapable: z.ZodBoolean;
3991
+ invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3992
+ kind: z.ZodLiteral<"slash-command">;
3993
+ command: z.ZodString;
3994
+ toolFactory: z.ZodOptional<z.ZodString>;
3995
+ }, z.core.$strip>, z.ZodObject<{
3996
+ kind: z.ZodLiteral<"mcp-tool">;
3997
+ server: z.ZodString;
3998
+ name: z.ZodString;
3999
+ }, z.core.$strip>, z.ZodObject<{
4000
+ kind: z.ZodLiteral<"api-endpoint">;
4001
+ method: z.ZodEnum<{
4002
+ GET: "GET";
4003
+ POST: "POST";
4004
+ PATCH: "PATCH";
4005
+ DELETE: "DELETE";
4006
+ }>;
4007
+ path: z.ZodString;
4008
+ requestSchema: z.ZodOptional<z.ZodString>;
4009
+ responseSchema: z.ZodOptional<z.ZodString>;
4010
+ }, z.core.$strip>, z.ZodObject<{
4011
+ kind: z.ZodLiteral<"script-execution">;
4012
+ resourceId: z.ZodString;
4013
+ }, z.core.$strip>], "kind">>>;
4014
+ emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
4015
+ eventKey: z.ZodString;
4016
+ label: z.ZodString;
4017
+ payloadSchema: z.ZodOptional<z.ZodString>;
4018
+ lifecycle: z.ZodOptional<z.ZodEnum<{
4019
+ deprecated: "deprecated";
4020
+ draft: "draft";
4021
+ beta: "beta";
4022
+ active: "active";
4023
+ archived: "archived";
4024
+ }>>;
4025
+ }, z.core.$strip>>>;
4026
+ }, z.core.$strip>, z.ZodObject<{
4027
+ id: z.ZodString;
4028
+ order: z.ZodDefault<z.ZodNumber>;
4029
+ systemPath: z.ZodString;
4030
+ ownerRoleId: z.ZodOptional<z.ZodString>;
4031
+ status: z.ZodEnum<{
4032
+ deprecated: "deprecated";
4033
+ active: "active";
4034
+ archived: "archived";
4035
+ }>;
4036
+ kind: z.ZodLiteral<"integration">;
4037
+ provider: z.ZodString;
4038
+ }, z.core.$strip>, z.ZodObject<{
4039
+ id: z.ZodString;
4040
+ order: z.ZodDefault<z.ZodNumber>;
4041
+ systemPath: z.ZodString;
4042
+ ownerRoleId: z.ZodOptional<z.ZodString>;
4043
+ status: z.ZodEnum<{
4044
+ deprecated: "deprecated";
4045
+ active: "active";
4046
+ archived: "archived";
4047
+ }>;
4048
+ kind: z.ZodLiteral<"script">;
4049
+ language: z.ZodEnum<{
4050
+ shell: "shell";
4051
+ sql: "sql";
4052
+ typescript: "typescript";
4053
+ python: "python";
4054
+ }>;
4055
+ source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
4056
+ file: z.ZodString;
4057
+ }, z.core.$strip>]>;
4058
+ }, z.core.$strip>], "kind">>>>;
4059
+ actions: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
4060
+ id: z.ZodString;
4061
+ order: z.ZodNumber;
4062
+ label: z.ZodString;
4063
+ description: z.ZodOptional<z.ZodString>;
4064
+ scope: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"global">, z.ZodObject<{
4065
+ domain: z.ZodString;
4066
+ }, z.core.$strip>]>>;
4067
+ resourceId: z.ZodOptional<z.ZodString>;
4068
+ affects: z.ZodOptional<z.ZodArray<z.ZodString>>;
4069
+ invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4070
+ kind: z.ZodLiteral<"slash-command">;
4071
+ command: z.ZodString;
4072
+ toolFactory: z.ZodOptional<z.ZodString>;
4073
+ }, z.core.$strip>, z.ZodObject<{
4074
+ kind: z.ZodLiteral<"mcp-tool">;
4075
+ server: z.ZodString;
4076
+ name: z.ZodString;
4077
+ }, z.core.$strip>, z.ZodObject<{
4078
+ kind: z.ZodLiteral<"api-endpoint">;
4079
+ method: z.ZodEnum<{
4080
+ GET: "GET";
4081
+ POST: "POST";
4082
+ PATCH: "PATCH";
4083
+ DELETE: "DELETE";
4084
+ }>;
4085
+ path: z.ZodString;
4086
+ requestSchema: z.ZodOptional<z.ZodString>;
4087
+ responseSchema: z.ZodOptional<z.ZodString>;
4088
+ }, z.core.$strip>, z.ZodObject<{
4089
+ kind: z.ZodLiteral<"script-execution">;
4090
+ resourceId: z.ZodString;
4091
+ }, z.core.$strip>], "kind">>>;
4092
+ knowledge: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
4093
+ lifecycle: z.ZodDefault<z.ZodEnum<{
4094
+ deprecated: "deprecated";
4095
+ draft: "draft";
4096
+ beta: "beta";
4097
+ active: "active";
4098
+ archived: "archived";
4099
+ }>>;
4100
+ }, z.core.$strip>>>>;
4101
+ entities: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3399
4102
  id: z.ZodString;
4103
+ order: z.ZodNumber;
3400
4104
  label: z.ZodString;
3401
4105
  description: z.ZodOptional<z.ZodString>;
3402
- enabled: z.ZodDefault<z.ZodBoolean>;
3403
- path: z.ZodOptional<z.ZodString>;
4106
+ ownedBySystemId: z.ZodString;
4107
+ table: z.ZodOptional<z.ZodString>;
4108
+ rowSchema: z.ZodOptional<z.ZodString>;
4109
+ stateCatalogId: z.ZodOptional<z.ZodString>;
4110
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
4111
+ toEntity: z.ZodString;
4112
+ kind: z.ZodEnum<{
4113
+ "belongs-to": "belongs-to";
4114
+ "has-many": "has-many";
4115
+ "has-one": "has-one";
4116
+ "many-to-many": "many-to-many";
4117
+ }>;
4118
+ via: z.ZodOptional<z.ZodString>;
4119
+ label: z.ZodOptional<z.ZodString>;
4120
+ }, z.core.$strip>>>;
4121
+ }, z.core.$strip>>>>;
4122
+ policies: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
4123
+ id: z.ZodString;
4124
+ order: z.ZodNumber;
4125
+ label: z.ZodString;
4126
+ description: z.ZodOptional<z.ZodString>;
4127
+ trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
4128
+ kind: z.ZodLiteral<"event">;
4129
+ eventId: z.ZodString;
4130
+ }, z.core.$strip>, z.ZodObject<{
4131
+ kind: z.ZodLiteral<"action-invocation">;
4132
+ actionId: z.ZodString;
4133
+ }, z.core.$strip>, z.ZodObject<{
4134
+ kind: z.ZodLiteral<"schedule">;
4135
+ cron: z.ZodString;
4136
+ }, z.core.$strip>, z.ZodObject<{
4137
+ kind: z.ZodLiteral<"manual">;
4138
+ }, z.core.$strip>], "kind">;
4139
+ predicate: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
4140
+ kind: z.ZodLiteral<"always">;
4141
+ }, z.core.$strip>, z.ZodObject<{
4142
+ kind: z.ZodLiteral<"expression">;
4143
+ expression: z.ZodString;
4144
+ }, z.core.$strip>, z.ZodObject<{
4145
+ kind: z.ZodLiteral<"threshold">;
4146
+ metric: z.ZodString;
4147
+ operator: z.ZodEnum<{
4148
+ lt: "lt";
4149
+ lte: "lte";
4150
+ eq: "eq";
4151
+ gte: "gte";
4152
+ gt: "gt";
4153
+ }>;
4154
+ value: z.ZodNumber;
4155
+ }, z.core.$strip>], "kind">>;
4156
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4157
+ kind: z.ZodLiteral<"require-approval">;
4158
+ roleId: z.ZodOptional<z.ZodString>;
4159
+ }, z.core.$strip>, z.ZodObject<{
4160
+ kind: z.ZodLiteral<"invoke-action">;
4161
+ actionId: z.ZodString;
4162
+ }, z.core.$strip>, z.ZodObject<{
4163
+ kind: z.ZodLiteral<"notify-role">;
4164
+ roleId: z.ZodString;
4165
+ }, z.core.$strip>, z.ZodObject<{
4166
+ kind: z.ZodLiteral<"block">;
4167
+ }, z.core.$strip>], "kind">>;
4168
+ appliesTo: z.ZodDefault<z.ZodObject<{
4169
+ systemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
4170
+ actionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
4171
+ resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
4172
+ roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
4173
+ }, z.core.$strip>>;
4174
+ lifecycle: z.ZodDefault<z.ZodEnum<{
4175
+ deprecated: "deprecated";
4176
+ draft: "draft";
4177
+ beta: "beta";
4178
+ active: "active";
4179
+ archived: "archived";
4180
+ }>>;
4181
+ }, z.core.$strip>>>>;
4182
+ knowledge: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
4183
+ id: z.ZodString;
4184
+ kind: z.ZodEnum<{
4185
+ playbook: "playbook";
4186
+ strategy: "strategy";
4187
+ reference: "reference";
4188
+ }>;
4189
+ title: z.ZodString;
4190
+ summary: z.ZodString;
3404
4191
  icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3405
4192
  "nav.dashboard": "nav.dashboard";
3406
4193
  "nav.calendar": "nav.calendar";
@@ -3419,6 +4206,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
3419
4206
  "knowledge.reference": "knowledge.reference";
3420
4207
  "feature.dashboard": "feature.dashboard";
3421
4208
  "feature.calendar": "feature.calendar";
4209
+ "feature.business": "feature.business";
3422
4210
  "feature.sales": "feature.sales";
3423
4211
  "feature.crm": "feature.crm";
3424
4212
  "feature.finance": "feature.finance";
@@ -3467,1019 +4255,43 @@ declare const OrganizationModelSchema: z.ZodObject<{
3467
4255
  "action.submit": "action.submit";
3468
4256
  "action.email": "action.email";
3469
4257
  }>, z.ZodString]>>;
3470
- color: z.ZodOptional<z.ZodString>;
3471
- uiPosition: z.ZodOptional<z.ZodEnum<{
3472
- "sidebar-primary": "sidebar-primary";
3473
- "sidebar-bottom": "sidebar-bottom";
3474
- }>>;
3475
- requiresAdmin: z.ZodOptional<z.ZodBoolean>;
3476
- devOnly: z.ZodOptional<z.ZodBoolean>;
3477
- }, z.core.$strip>>>;
3478
- branding: z.ZodObject<{
3479
- organizationName: z.ZodString;
3480
- productName: z.ZodString;
3481
- shortName: z.ZodString;
3482
- description: z.ZodOptional<z.ZodString>;
3483
- logos: z.ZodDefault<z.ZodObject<{
3484
- light: z.ZodOptional<z.ZodString>;
3485
- dark: z.ZodOptional<z.ZodString>;
3486
- }, z.core.$strip>>;
3487
- }, z.core.$strip>;
3488
- navigation: z.ZodDefault<z.ZodObject<{
3489
- defaultSurfaceId: z.ZodOptional<z.ZodString>;
3490
- surfaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
3491
- id: z.ZodString;
3492
- label: z.ZodString;
3493
- path: z.ZodString;
3494
- surfaceType: z.ZodEnum<{
3495
- settings: "settings";
3496
- page: "page";
3497
- dashboard: "dashboard";
3498
- graph: "graph";
3499
- detail: "detail";
3500
- list: "list";
3501
- }>;
3502
- description: z.ZodOptional<z.ZodString>;
3503
- enabled: z.ZodDefault<z.ZodBoolean>;
3504
- devOnly: z.ZodOptional<z.ZodBoolean>;
3505
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3506
- "nav.dashboard": "nav.dashboard";
3507
- "nav.calendar": "nav.calendar";
3508
- "nav.sales": "nav.sales";
3509
- "nav.crm": "nav.crm";
3510
- "nav.lead-gen": "nav.lead-gen";
3511
- "nav.projects": "nav.projects";
3512
- "nav.operations": "nav.operations";
3513
- "nav.monitoring": "nav.monitoring";
3514
- "nav.knowledge": "nav.knowledge";
3515
- "nav.settings": "nav.settings";
3516
- "nav.admin": "nav.admin";
3517
- "nav.archive": "nav.archive";
3518
- "knowledge.playbook": "knowledge.playbook";
3519
- "knowledge.strategy": "knowledge.strategy";
3520
- "knowledge.reference": "knowledge.reference";
3521
- "feature.dashboard": "feature.dashboard";
3522
- "feature.calendar": "feature.calendar";
3523
- "feature.sales": "feature.sales";
3524
- "feature.crm": "feature.crm";
3525
- "feature.finance": "feature.finance";
3526
- "feature.lead-gen": "feature.lead-gen";
3527
- "feature.platform": "feature.platform";
3528
- "feature.projects": "feature.projects";
3529
- "feature.operations": "feature.operations";
3530
- "feature.knowledge": "feature.knowledge";
3531
- "feature.monitoring": "feature.monitoring";
3532
- "feature.settings": "feature.settings";
3533
- "feature.admin": "feature.admin";
3534
- "feature.archive": "feature.archive";
3535
- "feature.seo": "feature.seo";
3536
- "resource.agent": "resource.agent";
3537
- "resource.workflow": "resource.workflow";
3538
- "resource.integration": "resource.integration";
3539
- "resource.database": "resource.database";
3540
- "resource.user": "resource.user";
3541
- "resource.team": "resource.team";
3542
- "integration.gmail": "integration.gmail";
3543
- "integration.google-sheets": "integration.google-sheets";
3544
- "integration.attio": "integration.attio";
3545
- "surface.dashboard": "surface.dashboard";
3546
- "surface.calendar": "surface.calendar";
3547
- "surface.overview": "surface.overview";
3548
- "surface.command-view": "surface.command-view";
3549
- "surface.command-queue": "surface.command-queue";
3550
- "surface.pipeline": "surface.pipeline";
3551
- "surface.lists": "surface.lists";
3552
- "surface.resources": "surface.resources";
3553
- "surface.settings": "surface.settings";
3554
- "status.success": "status.success";
3555
- "status.error": "status.error";
3556
- "status.warning": "status.warning";
3557
- "status.info": "status.info";
3558
- "status.pending": "status.pending";
3559
- "action.approve": "action.approve";
3560
- "action.reject": "action.reject";
3561
- "action.retry": "action.retry";
3562
- "action.edit": "action.edit";
3563
- "action.view": "action.view";
3564
- "action.launch": "action.launch";
3565
- "action.message": "action.message";
3566
- "action.escalate": "action.escalate";
3567
- "action.promote": "action.promote";
3568
- "action.submit": "action.submit";
3569
- "action.email": "action.email";
3570
- }>, z.ZodString]>>;
3571
- featureId: z.ZodOptional<z.ZodString>;
3572
- featureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3573
- entityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3574
- resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3575
- capabilityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3576
- parentId: z.ZodOptional<z.ZodString>;
3577
- }, z.core.$strip>>>;
3578
- groups: z.ZodDefault<z.ZodArray<z.ZodObject<{
3579
- id: z.ZodString;
3580
- label: z.ZodString;
3581
- placement: z.ZodString;
3582
- surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3583
- }, z.core.$strip>>>;
3584
- }, z.core.$strip>>;
3585
- sales: z.ZodObject<{
3586
- entityId: z.ZodString;
3587
- defaultPipelineId: z.ZodString;
3588
- pipelines: z.ZodArray<z.ZodObject<{
3589
- id: z.ZodString;
3590
- label: z.ZodString;
3591
- description: z.ZodOptional<z.ZodString>;
3592
- entityId: z.ZodString;
3593
- stages: z.ZodArray<z.ZodObject<{
3594
- label: z.ZodString;
3595
- description: z.ZodOptional<z.ZodString>;
3596
- color: z.ZodOptional<z.ZodString>;
3597
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3598
- "nav.dashboard": "nav.dashboard";
3599
- "nav.calendar": "nav.calendar";
3600
- "nav.sales": "nav.sales";
3601
- "nav.crm": "nav.crm";
3602
- "nav.lead-gen": "nav.lead-gen";
3603
- "nav.projects": "nav.projects";
3604
- "nav.operations": "nav.operations";
3605
- "nav.monitoring": "nav.monitoring";
3606
- "nav.knowledge": "nav.knowledge";
3607
- "nav.settings": "nav.settings";
3608
- "nav.admin": "nav.admin";
3609
- "nav.archive": "nav.archive";
3610
- "knowledge.playbook": "knowledge.playbook";
3611
- "knowledge.strategy": "knowledge.strategy";
3612
- "knowledge.reference": "knowledge.reference";
3613
- "feature.dashboard": "feature.dashboard";
3614
- "feature.calendar": "feature.calendar";
3615
- "feature.sales": "feature.sales";
3616
- "feature.crm": "feature.crm";
3617
- "feature.finance": "feature.finance";
3618
- "feature.lead-gen": "feature.lead-gen";
3619
- "feature.platform": "feature.platform";
3620
- "feature.projects": "feature.projects";
3621
- "feature.operations": "feature.operations";
3622
- "feature.knowledge": "feature.knowledge";
3623
- "feature.monitoring": "feature.monitoring";
3624
- "feature.settings": "feature.settings";
3625
- "feature.admin": "feature.admin";
3626
- "feature.archive": "feature.archive";
3627
- "feature.seo": "feature.seo";
3628
- "resource.agent": "resource.agent";
3629
- "resource.workflow": "resource.workflow";
3630
- "resource.integration": "resource.integration";
3631
- "resource.database": "resource.database";
3632
- "resource.user": "resource.user";
3633
- "resource.team": "resource.team";
3634
- "integration.gmail": "integration.gmail";
3635
- "integration.google-sheets": "integration.google-sheets";
3636
- "integration.attio": "integration.attio";
3637
- "surface.dashboard": "surface.dashboard";
3638
- "surface.calendar": "surface.calendar";
3639
- "surface.overview": "surface.overview";
3640
- "surface.command-view": "surface.command-view";
3641
- "surface.command-queue": "surface.command-queue";
3642
- "surface.pipeline": "surface.pipeline";
3643
- "surface.lists": "surface.lists";
3644
- "surface.resources": "surface.resources";
3645
- "surface.settings": "surface.settings";
3646
- "status.success": "status.success";
3647
- "status.error": "status.error";
3648
- "status.warning": "status.warning";
3649
- "status.info": "status.info";
3650
- "status.pending": "status.pending";
3651
- "action.approve": "action.approve";
3652
- "action.reject": "action.reject";
3653
- "action.retry": "action.retry";
3654
- "action.edit": "action.edit";
3655
- "action.view": "action.view";
3656
- "action.launch": "action.launch";
3657
- "action.message": "action.message";
3658
- "action.escalate": "action.escalate";
3659
- "action.promote": "action.promote";
3660
- "action.submit": "action.submit";
3661
- "action.email": "action.email";
3662
- }>, z.ZodString]>>;
3663
- id: z.ZodString;
3664
- order: z.ZodNumber;
3665
- semanticClass: z.ZodEnum<{
3666
- open: "open";
3667
- active: "active";
3668
- nurturing: "nurturing";
3669
- closed_won: "closed_won";
3670
- closed_lost: "closed_lost";
4258
+ externalUrl: z.ZodOptional<z.ZodString>;
4259
+ body: z.ZodString;
4260
+ links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
4261
+ target: z.ZodObject<{
4262
+ kind: z.ZodEnum<{
4263
+ system: "system";
4264
+ action: "action";
4265
+ knowledge: "knowledge";
4266
+ role: "role";
4267
+ goal: "goal";
4268
+ stage: "stage";
4269
+ resource: "resource";
4270
+ "customer-segment": "customer-segment";
4271
+ offering: "offering";
4272
+ "content-node": "content-node";
3671
4273
  }>;
3672
- surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3673
- resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
3674
- }, z.core.$strip>>;
3675
- }, z.core.$strip>>;
3676
- }, z.core.$strip>;
3677
- prospecting: z.ZodObject<{
3678
- listEntityId: z.ZodString;
3679
- companyEntityId: z.ZodString;
3680
- contactEntityId: z.ZodString;
3681
- description: z.ZodOptional<z.ZodString>;
3682
- companyStages: z.ZodArray<z.ZodObject<{
3683
- label: z.ZodString;
3684
- description: z.ZodOptional<z.ZodString>;
3685
- color: z.ZodOptional<z.ZodString>;
3686
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3687
- "nav.dashboard": "nav.dashboard";
3688
- "nav.calendar": "nav.calendar";
3689
- "nav.sales": "nav.sales";
3690
- "nav.crm": "nav.crm";
3691
- "nav.lead-gen": "nav.lead-gen";
3692
- "nav.projects": "nav.projects";
3693
- "nav.operations": "nav.operations";
3694
- "nav.monitoring": "nav.monitoring";
3695
- "nav.knowledge": "nav.knowledge";
3696
- "nav.settings": "nav.settings";
3697
- "nav.admin": "nav.admin";
3698
- "nav.archive": "nav.archive";
3699
- "knowledge.playbook": "knowledge.playbook";
3700
- "knowledge.strategy": "knowledge.strategy";
3701
- "knowledge.reference": "knowledge.reference";
3702
- "feature.dashboard": "feature.dashboard";
3703
- "feature.calendar": "feature.calendar";
3704
- "feature.sales": "feature.sales";
3705
- "feature.crm": "feature.crm";
3706
- "feature.finance": "feature.finance";
3707
- "feature.lead-gen": "feature.lead-gen";
3708
- "feature.platform": "feature.platform";
3709
- "feature.projects": "feature.projects";
3710
- "feature.operations": "feature.operations";
3711
- "feature.knowledge": "feature.knowledge";
3712
- "feature.monitoring": "feature.monitoring";
3713
- "feature.settings": "feature.settings";
3714
- "feature.admin": "feature.admin";
3715
- "feature.archive": "feature.archive";
3716
- "feature.seo": "feature.seo";
3717
- "resource.agent": "resource.agent";
3718
- "resource.workflow": "resource.workflow";
3719
- "resource.integration": "resource.integration";
3720
- "resource.database": "resource.database";
3721
- "resource.user": "resource.user";
3722
- "resource.team": "resource.team";
3723
- "integration.gmail": "integration.gmail";
3724
- "integration.google-sheets": "integration.google-sheets";
3725
- "integration.attio": "integration.attio";
3726
- "surface.dashboard": "surface.dashboard";
3727
- "surface.calendar": "surface.calendar";
3728
- "surface.overview": "surface.overview";
3729
- "surface.command-view": "surface.command-view";
3730
- "surface.command-queue": "surface.command-queue";
3731
- "surface.pipeline": "surface.pipeline";
3732
- "surface.lists": "surface.lists";
3733
- "surface.resources": "surface.resources";
3734
- "surface.settings": "surface.settings";
3735
- "status.success": "status.success";
3736
- "status.error": "status.error";
3737
- "status.warning": "status.warning";
3738
- "status.info": "status.info";
3739
- "status.pending": "status.pending";
3740
- "action.approve": "action.approve";
3741
- "action.reject": "action.reject";
3742
- "action.retry": "action.retry";
3743
- "action.edit": "action.edit";
3744
- "action.view": "action.view";
3745
- "action.launch": "action.launch";
3746
- "action.message": "action.message";
3747
- "action.escalate": "action.escalate";
3748
- "action.promote": "action.promote";
3749
- "action.submit": "action.submit";
3750
- "action.email": "action.email";
3751
- }>, z.ZodString]>>;
3752
- id: z.ZodString;
3753
- order: z.ZodNumber;
3754
- }, z.core.$strip>>;
3755
- contactStages: z.ZodArray<z.ZodObject<{
3756
- label: z.ZodString;
3757
- description: z.ZodOptional<z.ZodString>;
3758
- color: z.ZodOptional<z.ZodString>;
3759
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3760
- "nav.dashboard": "nav.dashboard";
3761
- "nav.calendar": "nav.calendar";
3762
- "nav.sales": "nav.sales";
3763
- "nav.crm": "nav.crm";
3764
- "nav.lead-gen": "nav.lead-gen";
3765
- "nav.projects": "nav.projects";
3766
- "nav.operations": "nav.operations";
3767
- "nav.monitoring": "nav.monitoring";
3768
- "nav.knowledge": "nav.knowledge";
3769
- "nav.settings": "nav.settings";
3770
- "nav.admin": "nav.admin";
3771
- "nav.archive": "nav.archive";
3772
- "knowledge.playbook": "knowledge.playbook";
3773
- "knowledge.strategy": "knowledge.strategy";
3774
- "knowledge.reference": "knowledge.reference";
3775
- "feature.dashboard": "feature.dashboard";
3776
- "feature.calendar": "feature.calendar";
3777
- "feature.sales": "feature.sales";
3778
- "feature.crm": "feature.crm";
3779
- "feature.finance": "feature.finance";
3780
- "feature.lead-gen": "feature.lead-gen";
3781
- "feature.platform": "feature.platform";
3782
- "feature.projects": "feature.projects";
3783
- "feature.operations": "feature.operations";
3784
- "feature.knowledge": "feature.knowledge";
3785
- "feature.monitoring": "feature.monitoring";
3786
- "feature.settings": "feature.settings";
3787
- "feature.admin": "feature.admin";
3788
- "feature.archive": "feature.archive";
3789
- "feature.seo": "feature.seo";
3790
- "resource.agent": "resource.agent";
3791
- "resource.workflow": "resource.workflow";
3792
- "resource.integration": "resource.integration";
3793
- "resource.database": "resource.database";
3794
- "resource.user": "resource.user";
3795
- "resource.team": "resource.team";
3796
- "integration.gmail": "integration.gmail";
3797
- "integration.google-sheets": "integration.google-sheets";
3798
- "integration.attio": "integration.attio";
3799
- "surface.dashboard": "surface.dashboard";
3800
- "surface.calendar": "surface.calendar";
3801
- "surface.overview": "surface.overview";
3802
- "surface.command-view": "surface.command-view";
3803
- "surface.command-queue": "surface.command-queue";
3804
- "surface.pipeline": "surface.pipeline";
3805
- "surface.lists": "surface.lists";
3806
- "surface.resources": "surface.resources";
3807
- "surface.settings": "surface.settings";
3808
- "status.success": "status.success";
3809
- "status.error": "status.error";
3810
- "status.warning": "status.warning";
3811
- "status.info": "status.info";
3812
- "status.pending": "status.pending";
3813
- "action.approve": "action.approve";
3814
- "action.reject": "action.reject";
3815
- "action.retry": "action.retry";
3816
- "action.edit": "action.edit";
3817
- "action.view": "action.view";
3818
- "action.launch": "action.launch";
3819
- "action.message": "action.message";
3820
- "action.escalate": "action.escalate";
3821
- "action.promote": "action.promote";
3822
- "action.submit": "action.submit";
3823
- "action.email": "action.email";
3824
- }>, z.ZodString]>>;
3825
- id: z.ZodString;
3826
- order: z.ZodNumber;
3827
- }, z.core.$strip>>;
3828
- defaultBuildTemplateId: z.ZodString;
3829
- buildTemplates: z.ZodArray<z.ZodObject<{
3830
- label: z.ZodString;
3831
- description: z.ZodOptional<z.ZodString>;
3832
- color: z.ZodOptional<z.ZodString>;
3833
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3834
- "nav.dashboard": "nav.dashboard";
3835
- "nav.calendar": "nav.calendar";
3836
- "nav.sales": "nav.sales";
3837
- "nav.crm": "nav.crm";
3838
- "nav.lead-gen": "nav.lead-gen";
3839
- "nav.projects": "nav.projects";
3840
- "nav.operations": "nav.operations";
3841
- "nav.monitoring": "nav.monitoring";
3842
- "nav.knowledge": "nav.knowledge";
3843
- "nav.settings": "nav.settings";
3844
- "nav.admin": "nav.admin";
3845
- "nav.archive": "nav.archive";
3846
- "knowledge.playbook": "knowledge.playbook";
3847
- "knowledge.strategy": "knowledge.strategy";
3848
- "knowledge.reference": "knowledge.reference";
3849
- "feature.dashboard": "feature.dashboard";
3850
- "feature.calendar": "feature.calendar";
3851
- "feature.sales": "feature.sales";
3852
- "feature.crm": "feature.crm";
3853
- "feature.finance": "feature.finance";
3854
- "feature.lead-gen": "feature.lead-gen";
3855
- "feature.platform": "feature.platform";
3856
- "feature.projects": "feature.projects";
3857
- "feature.operations": "feature.operations";
3858
- "feature.knowledge": "feature.knowledge";
3859
- "feature.monitoring": "feature.monitoring";
3860
- "feature.settings": "feature.settings";
3861
- "feature.admin": "feature.admin";
3862
- "feature.archive": "feature.archive";
3863
- "feature.seo": "feature.seo";
3864
- "resource.agent": "resource.agent";
3865
- "resource.workflow": "resource.workflow";
3866
- "resource.integration": "resource.integration";
3867
- "resource.database": "resource.database";
3868
- "resource.user": "resource.user";
3869
- "resource.team": "resource.team";
3870
- "integration.gmail": "integration.gmail";
3871
- "integration.google-sheets": "integration.google-sheets";
3872
- "integration.attio": "integration.attio";
3873
- "surface.dashboard": "surface.dashboard";
3874
- "surface.calendar": "surface.calendar";
3875
- "surface.overview": "surface.overview";
3876
- "surface.command-view": "surface.command-view";
3877
- "surface.command-queue": "surface.command-queue";
3878
- "surface.pipeline": "surface.pipeline";
3879
- "surface.lists": "surface.lists";
3880
- "surface.resources": "surface.resources";
3881
- "surface.settings": "surface.settings";
3882
- "status.success": "status.success";
3883
- "status.error": "status.error";
3884
- "status.warning": "status.warning";
3885
- "status.info": "status.info";
3886
- "status.pending": "status.pending";
3887
- "action.approve": "action.approve";
3888
- "action.reject": "action.reject";
3889
- "action.retry": "action.retry";
3890
- "action.edit": "action.edit";
3891
- "action.view": "action.view";
3892
- "action.launch": "action.launch";
3893
- "action.message": "action.message";
3894
- "action.escalate": "action.escalate";
3895
- "action.promote": "action.promote";
3896
- "action.submit": "action.submit";
3897
- "action.email": "action.email";
3898
- }>, z.ZodString]>>;
3899
- id: z.ZodString;
3900
- steps: z.ZodArray<z.ZodObject<{
3901
- label: z.ZodString;
3902
- description: z.ZodOptional<z.ZodString>;
3903
- color: z.ZodOptional<z.ZodString>;
3904
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3905
- "nav.dashboard": "nav.dashboard";
3906
- "nav.calendar": "nav.calendar";
3907
- "nav.sales": "nav.sales";
3908
- "nav.crm": "nav.crm";
3909
- "nav.lead-gen": "nav.lead-gen";
3910
- "nav.projects": "nav.projects";
3911
- "nav.operations": "nav.operations";
3912
- "nav.monitoring": "nav.monitoring";
3913
- "nav.knowledge": "nav.knowledge";
3914
- "nav.settings": "nav.settings";
3915
- "nav.admin": "nav.admin";
3916
- "nav.archive": "nav.archive";
3917
- "knowledge.playbook": "knowledge.playbook";
3918
- "knowledge.strategy": "knowledge.strategy";
3919
- "knowledge.reference": "knowledge.reference";
3920
- "feature.dashboard": "feature.dashboard";
3921
- "feature.calendar": "feature.calendar";
3922
- "feature.sales": "feature.sales";
3923
- "feature.crm": "feature.crm";
3924
- "feature.finance": "feature.finance";
3925
- "feature.lead-gen": "feature.lead-gen";
3926
- "feature.platform": "feature.platform";
3927
- "feature.projects": "feature.projects";
3928
- "feature.operations": "feature.operations";
3929
- "feature.knowledge": "feature.knowledge";
3930
- "feature.monitoring": "feature.monitoring";
3931
- "feature.settings": "feature.settings";
3932
- "feature.admin": "feature.admin";
3933
- "feature.archive": "feature.archive";
3934
- "feature.seo": "feature.seo";
3935
- "resource.agent": "resource.agent";
3936
- "resource.workflow": "resource.workflow";
3937
- "resource.integration": "resource.integration";
3938
- "resource.database": "resource.database";
3939
- "resource.user": "resource.user";
3940
- "resource.team": "resource.team";
3941
- "integration.gmail": "integration.gmail";
3942
- "integration.google-sheets": "integration.google-sheets";
3943
- "integration.attio": "integration.attio";
3944
- "surface.dashboard": "surface.dashboard";
3945
- "surface.calendar": "surface.calendar";
3946
- "surface.overview": "surface.overview";
3947
- "surface.command-view": "surface.command-view";
3948
- "surface.command-queue": "surface.command-queue";
3949
- "surface.pipeline": "surface.pipeline";
3950
- "surface.lists": "surface.lists";
3951
- "surface.resources": "surface.resources";
3952
- "surface.settings": "surface.settings";
3953
- "status.success": "status.success";
3954
- "status.error": "status.error";
3955
- "status.warning": "status.warning";
3956
- "status.info": "status.info";
3957
- "status.pending": "status.pending";
3958
- "action.approve": "action.approve";
3959
- "action.reject": "action.reject";
3960
- "action.retry": "action.retry";
3961
- "action.edit": "action.edit";
3962
- "action.view": "action.view";
3963
- "action.launch": "action.launch";
3964
- "action.message": "action.message";
3965
- "action.escalate": "action.escalate";
3966
- "action.promote": "action.promote";
3967
- "action.submit": "action.submit";
3968
- "action.email": "action.email";
3969
- }>, z.ZodString]>>;
3970
4274
  id: z.ZodString;
3971
- primaryEntity: z.ZodEnum<{
3972
- company: "company";
3973
- contact: "contact";
3974
- }>;
3975
- outputs: z.ZodArray<z.ZodEnum<{
3976
- company: "company";
3977
- contact: "contact";
3978
- export: "export";
3979
- }>>;
3980
- stageKey: z.ZodString;
3981
- recordEntity: z.ZodOptional<z.ZodEnum<{
3982
- company: "company";
3983
- contact: "contact";
3984
- }>>;
3985
- recordsStageKey: z.ZodOptional<z.ZodString>;
3986
- recordSourceStageKey: z.ZodOptional<z.ZodString>;
3987
- dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
3988
- dependencyMode: z.ZodLiteral<"per-record-eligibility">;
3989
- capabilityKey: z.ZodString;
3990
- defaultBatchSize: z.ZodNumber;
3991
- maxBatchSize: z.ZodNumber;
3992
- recordColumns: z.ZodOptional<z.ZodObject<{
3993
- company: z.ZodOptional<z.ZodArray<z.ZodObject<{
3994
- key: z.ZodString;
3995
- label: z.ZodString;
3996
- path: z.ZodString;
3997
- width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
3998
- renderType: z.ZodOptional<z.ZodEnum<{
3999
- text: "text";
4000
- badge: "badge";
4001
- datetime: "datetime";
4002
- count: "count";
4003
- json: "json";
4004
- }>>;
4005
- badgeColor: z.ZodOptional<z.ZodString>;
4006
- }, z.core.$strip>>>;
4007
- contact: z.ZodOptional<z.ZodArray<z.ZodObject<{
4008
- key: z.ZodString;
4009
- label: z.ZodString;
4010
- path: z.ZodString;
4011
- width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
4012
- renderType: z.ZodOptional<z.ZodEnum<{
4013
- text: "text";
4014
- badge: "badge";
4015
- datetime: "datetime";
4016
- count: "count";
4017
- json: "json";
4018
- }>>;
4019
- badgeColor: z.ZodOptional<z.ZodString>;
4020
- }, z.core.$strip>>>;
4021
- }, z.core.$strip>>;
4022
- credentialRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
4023
- key: z.ZodString;
4024
- provider: z.ZodString;
4025
- credentialType: z.ZodEnum<{
4026
- "api-key": "api-key";
4027
- "api-key-secret": "api-key-secret";
4028
- oauth: "oauth";
4029
- "webhook-secret": "webhook-secret";
4030
- }>;
4031
- label: z.ZodString;
4032
- required: z.ZodBoolean;
4033
- selectionMode: z.ZodOptional<z.ZodEnum<{
4034
- single: "single";
4035
- multiple: "multiple";
4036
- }>>;
4037
- inputPath: z.ZodString;
4038
- verifyOnRun: z.ZodOptional<z.ZodBoolean>;
4039
- }, z.core.$strip>>>;
4040
- }, z.core.$strip>>;
4041
- }, z.core.$strip>>;
4042
- }, z.core.$strip>;
4043
- projects: z.ZodObject<{
4044
- projectEntityId: z.ZodString;
4045
- milestoneEntityId: z.ZodString;
4046
- taskEntityId: z.ZodString;
4047
- projectStatuses: z.ZodArray<z.ZodObject<{
4048
- label: z.ZodString;
4049
- description: z.ZodOptional<z.ZodString>;
4050
- color: z.ZodOptional<z.ZodString>;
4051
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
4052
- "nav.dashboard": "nav.dashboard";
4053
- "nav.calendar": "nav.calendar";
4054
- "nav.sales": "nav.sales";
4055
- "nav.crm": "nav.crm";
4056
- "nav.lead-gen": "nav.lead-gen";
4057
- "nav.projects": "nav.projects";
4058
- "nav.operations": "nav.operations";
4059
- "nav.monitoring": "nav.monitoring";
4060
- "nav.knowledge": "nav.knowledge";
4061
- "nav.settings": "nav.settings";
4062
- "nav.admin": "nav.admin";
4063
- "nav.archive": "nav.archive";
4064
- "knowledge.playbook": "knowledge.playbook";
4065
- "knowledge.strategy": "knowledge.strategy";
4066
- "knowledge.reference": "knowledge.reference";
4067
- "feature.dashboard": "feature.dashboard";
4068
- "feature.calendar": "feature.calendar";
4069
- "feature.sales": "feature.sales";
4070
- "feature.crm": "feature.crm";
4071
- "feature.finance": "feature.finance";
4072
- "feature.lead-gen": "feature.lead-gen";
4073
- "feature.platform": "feature.platform";
4074
- "feature.projects": "feature.projects";
4075
- "feature.operations": "feature.operations";
4076
- "feature.knowledge": "feature.knowledge";
4077
- "feature.monitoring": "feature.monitoring";
4078
- "feature.settings": "feature.settings";
4079
- "feature.admin": "feature.admin";
4080
- "feature.archive": "feature.archive";
4081
- "feature.seo": "feature.seo";
4082
- "resource.agent": "resource.agent";
4083
- "resource.workflow": "resource.workflow";
4084
- "resource.integration": "resource.integration";
4085
- "resource.database": "resource.database";
4086
- "resource.user": "resource.user";
4087
- "resource.team": "resource.team";
4088
- "integration.gmail": "integration.gmail";
4089
- "integration.google-sheets": "integration.google-sheets";
4090
- "integration.attio": "integration.attio";
4091
- "surface.dashboard": "surface.dashboard";
4092
- "surface.calendar": "surface.calendar";
4093
- "surface.overview": "surface.overview";
4094
- "surface.command-view": "surface.command-view";
4095
- "surface.command-queue": "surface.command-queue";
4096
- "surface.pipeline": "surface.pipeline";
4097
- "surface.lists": "surface.lists";
4098
- "surface.resources": "surface.resources";
4099
- "surface.settings": "surface.settings";
4100
- "status.success": "status.success";
4101
- "status.error": "status.error";
4102
- "status.warning": "status.warning";
4103
- "status.info": "status.info";
4104
- "status.pending": "status.pending";
4105
- "action.approve": "action.approve";
4106
- "action.reject": "action.reject";
4107
- "action.retry": "action.retry";
4108
- "action.edit": "action.edit";
4109
- "action.view": "action.view";
4110
- "action.launch": "action.launch";
4111
- "action.message": "action.message";
4112
- "action.escalate": "action.escalate";
4113
- "action.promote": "action.promote";
4114
- "action.submit": "action.submit";
4115
- "action.email": "action.email";
4116
- }>, z.ZodString]>>;
4117
- id: z.ZodString;
4118
- order: z.ZodNumber;
4119
- }, z.core.$strip>>;
4120
- milestoneStatuses: z.ZodArray<z.ZodObject<{
4121
- label: z.ZodString;
4122
- description: z.ZodOptional<z.ZodString>;
4123
- color: z.ZodOptional<z.ZodString>;
4124
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
4125
- "nav.dashboard": "nav.dashboard";
4126
- "nav.calendar": "nav.calendar";
4127
- "nav.sales": "nav.sales";
4128
- "nav.crm": "nav.crm";
4129
- "nav.lead-gen": "nav.lead-gen";
4130
- "nav.projects": "nav.projects";
4131
- "nav.operations": "nav.operations";
4132
- "nav.monitoring": "nav.monitoring";
4133
- "nav.knowledge": "nav.knowledge";
4134
- "nav.settings": "nav.settings";
4135
- "nav.admin": "nav.admin";
4136
- "nav.archive": "nav.archive";
4137
- "knowledge.playbook": "knowledge.playbook";
4138
- "knowledge.strategy": "knowledge.strategy";
4139
- "knowledge.reference": "knowledge.reference";
4140
- "feature.dashboard": "feature.dashboard";
4141
- "feature.calendar": "feature.calendar";
4142
- "feature.sales": "feature.sales";
4143
- "feature.crm": "feature.crm";
4144
- "feature.finance": "feature.finance";
4145
- "feature.lead-gen": "feature.lead-gen";
4146
- "feature.platform": "feature.platform";
4147
- "feature.projects": "feature.projects";
4148
- "feature.operations": "feature.operations";
4149
- "feature.knowledge": "feature.knowledge";
4150
- "feature.monitoring": "feature.monitoring";
4151
- "feature.settings": "feature.settings";
4152
- "feature.admin": "feature.admin";
4153
- "feature.archive": "feature.archive";
4154
- "feature.seo": "feature.seo";
4155
- "resource.agent": "resource.agent";
4156
- "resource.workflow": "resource.workflow";
4157
- "resource.integration": "resource.integration";
4158
- "resource.database": "resource.database";
4159
- "resource.user": "resource.user";
4160
- "resource.team": "resource.team";
4161
- "integration.gmail": "integration.gmail";
4162
- "integration.google-sheets": "integration.google-sheets";
4163
- "integration.attio": "integration.attio";
4164
- "surface.dashboard": "surface.dashboard";
4165
- "surface.calendar": "surface.calendar";
4166
- "surface.overview": "surface.overview";
4167
- "surface.command-view": "surface.command-view";
4168
- "surface.command-queue": "surface.command-queue";
4169
- "surface.pipeline": "surface.pipeline";
4170
- "surface.lists": "surface.lists";
4171
- "surface.resources": "surface.resources";
4172
- "surface.settings": "surface.settings";
4173
- "status.success": "status.success";
4174
- "status.error": "status.error";
4175
- "status.warning": "status.warning";
4176
- "status.info": "status.info";
4177
- "status.pending": "status.pending";
4178
- "action.approve": "action.approve";
4179
- "action.reject": "action.reject";
4180
- "action.retry": "action.retry";
4181
- "action.edit": "action.edit";
4182
- "action.view": "action.view";
4183
- "action.launch": "action.launch";
4184
- "action.message": "action.message";
4185
- "action.escalate": "action.escalate";
4186
- "action.promote": "action.promote";
4187
- "action.submit": "action.submit";
4188
- "action.email": "action.email";
4189
- }>, z.ZodString]>>;
4190
- id: z.ZodString;
4191
- order: z.ZodNumber;
4192
- }, z.core.$strip>>;
4193
- taskStatuses: z.ZodArray<z.ZodObject<{
4194
- label: z.ZodString;
4195
- description: z.ZodOptional<z.ZodString>;
4196
- color: z.ZodOptional<z.ZodString>;
4197
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
4198
- "nav.dashboard": "nav.dashboard";
4199
- "nav.calendar": "nav.calendar";
4200
- "nav.sales": "nav.sales";
4201
- "nav.crm": "nav.crm";
4202
- "nav.lead-gen": "nav.lead-gen";
4203
- "nav.projects": "nav.projects";
4204
- "nav.operations": "nav.operations";
4205
- "nav.monitoring": "nav.monitoring";
4206
- "nav.knowledge": "nav.knowledge";
4207
- "nav.settings": "nav.settings";
4208
- "nav.admin": "nav.admin";
4209
- "nav.archive": "nav.archive";
4210
- "knowledge.playbook": "knowledge.playbook";
4211
- "knowledge.strategy": "knowledge.strategy";
4212
- "knowledge.reference": "knowledge.reference";
4213
- "feature.dashboard": "feature.dashboard";
4214
- "feature.calendar": "feature.calendar";
4215
- "feature.sales": "feature.sales";
4216
- "feature.crm": "feature.crm";
4217
- "feature.finance": "feature.finance";
4218
- "feature.lead-gen": "feature.lead-gen";
4219
- "feature.platform": "feature.platform";
4220
- "feature.projects": "feature.projects";
4221
- "feature.operations": "feature.operations";
4222
- "feature.knowledge": "feature.knowledge";
4223
- "feature.monitoring": "feature.monitoring";
4224
- "feature.settings": "feature.settings";
4225
- "feature.admin": "feature.admin";
4226
- "feature.archive": "feature.archive";
4227
- "feature.seo": "feature.seo";
4228
- "resource.agent": "resource.agent";
4229
- "resource.workflow": "resource.workflow";
4230
- "resource.integration": "resource.integration";
4231
- "resource.database": "resource.database";
4232
- "resource.user": "resource.user";
4233
- "resource.team": "resource.team";
4234
- "integration.gmail": "integration.gmail";
4235
- "integration.google-sheets": "integration.google-sheets";
4236
- "integration.attio": "integration.attio";
4237
- "surface.dashboard": "surface.dashboard";
4238
- "surface.calendar": "surface.calendar";
4239
- "surface.overview": "surface.overview";
4240
- "surface.command-view": "surface.command-view";
4241
- "surface.command-queue": "surface.command-queue";
4242
- "surface.pipeline": "surface.pipeline";
4243
- "surface.lists": "surface.lists";
4244
- "surface.resources": "surface.resources";
4245
- "surface.settings": "surface.settings";
4246
- "status.success": "status.success";
4247
- "status.error": "status.error";
4248
- "status.warning": "status.warning";
4249
- "status.info": "status.info";
4250
- "status.pending": "status.pending";
4251
- "action.approve": "action.approve";
4252
- "action.reject": "action.reject";
4253
- "action.retry": "action.retry";
4254
- "action.edit": "action.edit";
4255
- "action.view": "action.view";
4256
- "action.launch": "action.launch";
4257
- "action.message": "action.message";
4258
- "action.escalate": "action.escalate";
4259
- "action.promote": "action.promote";
4260
- "action.submit": "action.submit";
4261
- "action.email": "action.email";
4262
- }>, z.ZodString]>>;
4263
- id: z.ZodString;
4264
- order: z.ZodNumber;
4265
- }, z.core.$strip>>;
4266
- }, z.core.$strip>;
4267
- identity: z.ZodDefault<z.ZodObject<{
4268
- mission: z.ZodDefault<z.ZodString>;
4269
- vision: z.ZodDefault<z.ZodString>;
4270
- legalName: z.ZodDefault<z.ZodString>;
4271
- entityType: z.ZodDefault<z.ZodString>;
4272
- jurisdiction: z.ZodDefault<z.ZodString>;
4273
- industryCategory: z.ZodDefault<z.ZodString>;
4274
- geographicFocus: z.ZodDefault<z.ZodString>;
4275
- timeZone: z.ZodDefault<z.ZodString>;
4276
- businessHours: z.ZodDefault<z.ZodObject<{
4277
- monday: z.ZodOptional<z.ZodObject<{
4278
- open: z.ZodString;
4279
- close: z.ZodString;
4280
- }, z.core.$strip>>;
4281
- tuesday: z.ZodOptional<z.ZodObject<{
4282
- open: z.ZodString;
4283
- close: z.ZodString;
4284
- }, z.core.$strip>>;
4285
- wednesday: z.ZodOptional<z.ZodObject<{
4286
- open: z.ZodString;
4287
- close: z.ZodString;
4288
- }, z.core.$strip>>;
4289
- thursday: z.ZodOptional<z.ZodObject<{
4290
- open: z.ZodString;
4291
- close: z.ZodString;
4292
- }, z.core.$strip>>;
4293
- friday: z.ZodOptional<z.ZodObject<{
4294
- open: z.ZodString;
4295
- close: z.ZodString;
4296
- }, z.core.$strip>>;
4297
- saturday: z.ZodOptional<z.ZodObject<{
4298
- open: z.ZodString;
4299
- close: z.ZodString;
4300
- }, z.core.$strip>>;
4301
- sunday: z.ZodOptional<z.ZodObject<{
4302
- open: z.ZodString;
4303
- close: z.ZodString;
4304
- }, z.core.$strip>>;
4305
- }, z.core.$strip>>;
4306
- clientBrief: z.ZodDefault<z.ZodString>;
4307
- }, z.core.$strip>>;
4308
- customers: z.ZodDefault<z.ZodObject<{
4309
- segments: z.ZodDefault<z.ZodArray<z.ZodObject<{
4310
- id: z.ZodString;
4311
- name: z.ZodDefault<z.ZodString>;
4312
- description: z.ZodDefault<z.ZodString>;
4313
- jobsToBeDone: z.ZodDefault<z.ZodString>;
4314
- pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
4315
- gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
4316
- firmographics: z.ZodDefault<z.ZodObject<{
4317
- industry: z.ZodOptional<z.ZodString>;
4318
- companySize: z.ZodOptional<z.ZodString>;
4319
- region: z.ZodOptional<z.ZodString>;
4320
- }, z.core.$strip>>;
4321
- valueProp: z.ZodDefault<z.ZodString>;
4322
- }, z.core.$strip>>>;
4323
- }, z.core.$strip>>;
4324
- offerings: z.ZodDefault<z.ZodObject<{
4325
- products: z.ZodDefault<z.ZodArray<z.ZodObject<{
4326
- id: z.ZodString;
4327
- name: z.ZodDefault<z.ZodString>;
4328
- description: z.ZodDefault<z.ZodString>;
4329
- pricingModel: z.ZodDefault<z.ZodEnum<{
4330
- custom: "custom";
4331
- "one-time": "one-time";
4332
- subscription: "subscription";
4333
- "usage-based": "usage-based";
4334
- }>>;
4335
- price: z.ZodDefault<z.ZodNumber>;
4336
- currency: z.ZodDefault<z.ZodString>;
4337
- targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
4338
- deliveryFeatureId: z.ZodOptional<z.ZodString>;
4339
- }, z.core.$strip>>>;
4340
- }, z.core.$strip>>;
4341
- roles: z.ZodDefault<z.ZodObject<{
4342
- roles: z.ZodDefault<z.ZodArray<z.ZodObject<{
4343
- id: z.ZodString;
4344
- title: z.ZodString;
4345
- responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
4346
- reportsToId: z.ZodOptional<z.ZodString>;
4347
- heldBy: z.ZodOptional<z.ZodString>;
4348
- }, z.core.$strip>>>;
4349
- }, z.core.$strip>>;
4350
- goals: z.ZodDefault<z.ZodObject<{
4351
- objectives: z.ZodDefault<z.ZodArray<z.ZodObject<{
4352
- id: z.ZodString;
4353
- description: z.ZodString;
4354
- periodStart: z.ZodString;
4355
- periodEnd: z.ZodString;
4356
- keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
4357
- id: z.ZodString;
4358
- description: z.ZodString;
4359
- targetMetric: z.ZodString;
4360
- currentValue: z.ZodDefault<z.ZodNumber>;
4361
- targetValue: z.ZodOptional<z.ZodNumber>;
4362
- }, z.core.$strip>>>;
4363
- }, z.core.$strip>>>;
4364
- }, z.core.$strip>>;
4365
- statuses: z.ZodDefault<z.ZodObject<{
4366
- entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
4367
- id: z.ZodString;
4368
- label: z.ZodString;
4369
- semanticClass: z.ZodEnum<{
4370
- "delivery.project": "delivery.project";
4371
- "delivery.milestone": "delivery.milestone";
4372
- "delivery.task": "delivery.task";
4373
- queue: "queue";
4374
- execution: "execution";
4375
- schedule: "schedule";
4376
- "schedule.run": "schedule.run";
4377
- request: "request";
4378
- }>;
4379
- category: z.ZodOptional<z.ZodString>;
4380
- }, z.core.$strip>>>;
4381
- }, z.core.$strip>>;
4382
- operations: z.ZodDefault<z.ZodObject<{
4383
- entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
4384
- id: z.ZodString;
4385
- label: z.ZodString;
4386
- semanticClass: z.ZodEnum<{
4387
- queue: "queue";
4388
- executions: "executions";
4389
- sessions: "sessions";
4390
- notifications: "notifications";
4391
- schedules: "schedules";
4392
- }>;
4393
- featureId: z.ZodOptional<z.ZodString>;
4394
- supportedStatusSemanticClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
4395
- }, z.core.$strip>>>;
4396
- }, z.core.$strip>>;
4397
- knowledge: z.ZodDefault<z.ZodObject<{
4398
- nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
4399
- id: z.ZodString;
4400
- kind: z.ZodEnum<{
4401
- playbook: "playbook";
4402
- strategy: "strategy";
4403
- reference: "reference";
4404
- }>;
4405
- title: z.ZodString;
4406
- summary: z.ZodString;
4407
- icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
4408
- "nav.dashboard": "nav.dashboard";
4409
- "nav.calendar": "nav.calendar";
4410
- "nav.sales": "nav.sales";
4411
- "nav.crm": "nav.crm";
4412
- "nav.lead-gen": "nav.lead-gen";
4413
- "nav.projects": "nav.projects";
4414
- "nav.operations": "nav.operations";
4415
- "nav.monitoring": "nav.monitoring";
4416
- "nav.knowledge": "nav.knowledge";
4417
- "nav.settings": "nav.settings";
4418
- "nav.admin": "nav.admin";
4419
- "nav.archive": "nav.archive";
4420
- "knowledge.playbook": "knowledge.playbook";
4421
- "knowledge.strategy": "knowledge.strategy";
4422
- "knowledge.reference": "knowledge.reference";
4423
- "feature.dashboard": "feature.dashboard";
4424
- "feature.calendar": "feature.calendar";
4425
- "feature.sales": "feature.sales";
4426
- "feature.crm": "feature.crm";
4427
- "feature.finance": "feature.finance";
4428
- "feature.lead-gen": "feature.lead-gen";
4429
- "feature.platform": "feature.platform";
4430
- "feature.projects": "feature.projects";
4431
- "feature.operations": "feature.operations";
4432
- "feature.knowledge": "feature.knowledge";
4433
- "feature.monitoring": "feature.monitoring";
4434
- "feature.settings": "feature.settings";
4435
- "feature.admin": "feature.admin";
4436
- "feature.archive": "feature.archive";
4437
- "feature.seo": "feature.seo";
4438
- "resource.agent": "resource.agent";
4439
- "resource.workflow": "resource.workflow";
4440
- "resource.integration": "resource.integration";
4441
- "resource.database": "resource.database";
4442
- "resource.user": "resource.user";
4443
- "resource.team": "resource.team";
4444
- "integration.gmail": "integration.gmail";
4445
- "integration.google-sheets": "integration.google-sheets";
4446
- "integration.attio": "integration.attio";
4447
- "surface.dashboard": "surface.dashboard";
4448
- "surface.calendar": "surface.calendar";
4449
- "surface.overview": "surface.overview";
4450
- "surface.command-view": "surface.command-view";
4451
- "surface.command-queue": "surface.command-queue";
4452
- "surface.pipeline": "surface.pipeline";
4453
- "surface.lists": "surface.lists";
4454
- "surface.resources": "surface.resources";
4455
- "surface.settings": "surface.settings";
4456
- "status.success": "status.success";
4457
- "status.error": "status.error";
4458
- "status.warning": "status.warning";
4459
- "status.info": "status.info";
4460
- "status.pending": "status.pending";
4461
- "action.approve": "action.approve";
4462
- "action.reject": "action.reject";
4463
- "action.retry": "action.retry";
4464
- "action.edit": "action.edit";
4465
- "action.view": "action.view";
4466
- "action.launch": "action.launch";
4467
- "action.message": "action.message";
4468
- "action.escalate": "action.escalate";
4469
- "action.promote": "action.promote";
4470
- "action.submit": "action.submit";
4471
- "action.email": "action.email";
4472
- }>, z.ZodString]>>;
4473
- body: z.ZodString;
4474
- links: z.ZodDefault<z.ZodArray<z.ZodObject<{
4475
- nodeId: z.ZodString;
4476
- }, z.core.$strip>>>;
4477
- skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
4478
- domain: z.ZodOptional<z.ZodString>;
4479
- ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
4480
- updatedAt: z.ZodString;
4481
- }, z.core.$strip>>>;
4482
- }, z.core.$strip>>;
4275
+ }, z.core.$strip>;
4276
+ }, z.core.$strip>, z.ZodObject<{
4277
+ nodeId: z.ZodString;
4278
+ }, z.core.$strip>]>, z.ZodTransform<{
4279
+ target: {
4280
+ kind: "system" | "action" | "knowledge" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
4281
+ id: string;
4282
+ };
4283
+ nodeId: string;
4284
+ }, {
4285
+ nodeId: string;
4286
+ } | {
4287
+ target: {
4288
+ kind: "system" | "action" | "knowledge" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
4289
+ id: string;
4290
+ };
4291
+ }>>>>;
4292
+ ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
4293
+ updatedAt: z.ZodString;
4294
+ }, z.core.$strip>>>>;
4483
4295
  }, z.core.$strip>;
4484
4296
 
4485
4297
  type OrganizationModel = z.infer<typeof OrganizationModelSchema>;