@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
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, ComponentType } from 'react';
3
3
  import { QueryClient } from '@tanstack/react-query';
4
4
  import * as z from 'zod';
5
- import { z as z$1 } from 'zod';
5
+ import { z as z$1, ZodType } from 'zod';
6
6
  import { EventSourceMessage } from '@microsoft/fetch-event-source';
7
7
  import { MantineThemeOverride } from '@mantine/core';
8
8
 
@@ -2868,6 +2868,66 @@ type Database = {
2868
2868
  }
2869
2869
  ];
2870
2870
  };
2871
+ user_notes: {
2872
+ Row: {
2873
+ content: string;
2874
+ created_at: string;
2875
+ created_by: string;
2876
+ id: string;
2877
+ metadata: Json;
2878
+ organization_id: string | null;
2879
+ pinned: boolean;
2880
+ priority: string;
2881
+ source: string | null;
2882
+ title: string | null;
2883
+ updated_at: string;
2884
+ user_id: string;
2885
+ };
2886
+ Insert: {
2887
+ content: string;
2888
+ created_at?: string;
2889
+ created_by?: string;
2890
+ id?: string;
2891
+ metadata?: Json;
2892
+ organization_id?: string | null;
2893
+ pinned?: boolean;
2894
+ priority?: string;
2895
+ source?: string | null;
2896
+ title?: string | null;
2897
+ updated_at?: string;
2898
+ user_id: string;
2899
+ };
2900
+ Update: {
2901
+ content?: string;
2902
+ created_at?: string;
2903
+ created_by?: string;
2904
+ id?: string;
2905
+ metadata?: Json;
2906
+ organization_id?: string | null;
2907
+ pinned?: boolean;
2908
+ priority?: string;
2909
+ source?: string | null;
2910
+ title?: string | null;
2911
+ updated_at?: string;
2912
+ user_id?: string;
2913
+ };
2914
+ Relationships: [
2915
+ {
2916
+ foreignKeyName: "user_notes_organization_id_fkey";
2917
+ columns: ["organization_id"];
2918
+ isOneToOne: false;
2919
+ referencedRelation: "organizations";
2920
+ referencedColumns: ["id"];
2921
+ },
2922
+ {
2923
+ foreignKeyName: "user_notes_user_id_fkey";
2924
+ columns: ["user_id"];
2925
+ isOneToOne: false;
2926
+ referencedRelation: "users";
2927
+ referencedColumns: ["id"];
2928
+ }
2929
+ ];
2930
+ };
2871
2931
  users: {
2872
2932
  Row: {
2873
2933
  config: Json;
@@ -3137,9 +3197,9 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3137
3197
  batchIds: z$1.ZodArray<z$1.ZodString>;
3138
3198
  instantlyCampaignId: z$1.ZodNullable<z$1.ZodString>;
3139
3199
  status: z$1.ZodEnum<{
3140
- closing: "closing";
3141
- archived: "archived";
3142
3200
  draft: "draft";
3201
+ archived: "archived";
3202
+ closing: "closing";
3143
3203
  enriching: "enriching";
3144
3204
  launched: "launched";
3145
3205
  }>;
@@ -3169,7 +3229,7 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3169
3229
  recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
3170
3230
  dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3171
3231
  dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3172
- capabilityKey: z$1.ZodString;
3232
+ actionKey: z$1.ZodString;
3173
3233
  defaultBatchSize: z$1.ZodNumber;
3174
3234
  maxBatchSize: z$1.ZodNumber;
3175
3235
  recordColumns: z$1.ZodOptional<z$1.ZodObject<{
@@ -3180,10 +3240,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3180
3240
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3181
3241
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3182
3242
  text: "text";
3183
- badge: "badge";
3184
- datetime: "datetime";
3185
3243
  count: "count";
3186
3244
  json: "json";
3245
+ badge: "badge";
3246
+ datetime: "datetime";
3187
3247
  }>>;
3188
3248
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3189
3249
  }, z$1.core.$strip>>>;
@@ -3194,10 +3254,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3194
3254
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3195
3255
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3196
3256
  text: "text";
3197
- badge: "badge";
3198
- datetime: "datetime";
3199
3257
  count: "count";
3200
3258
  json: "json";
3259
+ badge: "badge";
3260
+ datetime: "datetime";
3201
3261
  }>>;
3202
3262
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3203
3263
  }, z$1.core.$strip>>>;
@@ -3262,176 +3322,370 @@ interface ActionDef {
3262
3322
  payloadSchema?: z$1.ZodTypeAny;
3263
3323
  }
3264
3324
 
3325
+ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3326
+ objectTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3327
+ id: z$1.ZodString;
3328
+ label: z$1.ZodOptional<z$1.ZodString>;
3329
+ description: z$1.ZodOptional<z$1.ZodString>;
3330
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3331
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3332
+ properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3333
+ storage: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3334
+ }, z$1.core.$loose>>>>;
3335
+ linkTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3336
+ id: z$1.ZodString;
3337
+ label: z$1.ZodOptional<z$1.ZodString>;
3338
+ description: z$1.ZodOptional<z$1.ZodString>;
3339
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3340
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3341
+ from: z$1.ZodString;
3342
+ to: z$1.ZodString;
3343
+ cardinality: z$1.ZodOptional<z$1.ZodString>;
3344
+ via: z$1.ZodOptional<z$1.ZodString>;
3345
+ }, z$1.core.$loose>>>>;
3346
+ actionTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3347
+ id: z$1.ZodString;
3348
+ label: z$1.ZodOptional<z$1.ZodString>;
3349
+ description: z$1.ZodOptional<z$1.ZodString>;
3350
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3351
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3352
+ actsOn: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3353
+ input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3354
+ effects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
3355
+ }, z$1.core.$loose>>>>;
3356
+ catalogTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3357
+ id: z$1.ZodString;
3358
+ label: z$1.ZodOptional<z$1.ZodString>;
3359
+ description: z$1.ZodOptional<z$1.ZodString>;
3360
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3361
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3362
+ kind: z$1.ZodOptional<z$1.ZodString>;
3363
+ appliesTo: z$1.ZodOptional<z$1.ZodString>;
3364
+ entries: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3365
+ }, z$1.core.$loose>>>>;
3366
+ eventTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3367
+ id: z$1.ZodString;
3368
+ label: z$1.ZodOptional<z$1.ZodString>;
3369
+ description: z$1.ZodOptional<z$1.ZodString>;
3370
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3371
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3372
+ payload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3373
+ }, z$1.core.$loose>>>>;
3374
+ interfaceTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3375
+ id: z$1.ZodString;
3376
+ label: z$1.ZodOptional<z$1.ZodString>;
3377
+ description: z$1.ZodOptional<z$1.ZodString>;
3378
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3379
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3380
+ properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3381
+ }, z$1.core.$loose>>>>;
3382
+ valueTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3383
+ id: z$1.ZodString;
3384
+ label: z$1.ZodOptional<z$1.ZodString>;
3385
+ description: z$1.ZodOptional<z$1.ZodString>;
3386
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3387
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3388
+ primitive: z$1.ZodOptional<z$1.ZodString>;
3389
+ }, z$1.core.$loose>>>>;
3390
+ sharedProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3391
+ id: z$1.ZodString;
3392
+ label: z$1.ZodOptional<z$1.ZodString>;
3393
+ description: z$1.ZodOptional<z$1.ZodString>;
3394
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3395
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3396
+ valueType: z$1.ZodOptional<z$1.ZodString>;
3397
+ searchable: z$1.ZodOptional<z$1.ZodBoolean>;
3398
+ pii: z$1.ZodOptional<z$1.ZodBoolean>;
3399
+ }, z$1.core.$loose>>>>;
3400
+ groups: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3401
+ id: z$1.ZodString;
3402
+ label: z$1.ZodOptional<z$1.ZodString>;
3403
+ description: z$1.ZodOptional<z$1.ZodString>;
3404
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3405
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3406
+ members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3407
+ }, z$1.core.$loose>>>>;
3408
+ surfaces: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3409
+ id: z$1.ZodString;
3410
+ label: z$1.ZodOptional<z$1.ZodString>;
3411
+ description: z$1.ZodOptional<z$1.ZodString>;
3412
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3413
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3414
+ route: z$1.ZodOptional<z$1.ZodString>;
3415
+ }, z$1.core.$loose>>>>;
3416
+ }, z$1.core.$strip>>;
3417
+ type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
3418
+
3265
3419
  /**
3266
3420
  * Time range selector for dashboard metrics
3267
3421
  */
3268
3422
  type TimeRange = '1h' | '24h' | '7d' | '30d';
3269
3423
 
3270
- declare const FeatureSchema: z$1.ZodObject<{
3271
- id: z$1.ZodString;
3424
+ /**
3425
+ * Placeholder discriminated union for ContentNode (Wave 1A).
3426
+ * Wave 2A wires concrete (kind, type) pairs via the registry.
3427
+ *
3428
+ * Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
3429
+ * Per L14: every node carries BOTH `kind` and `type`.
3430
+ */
3431
+ declare const ContentNodeSchema: z$1.ZodObject<{
3272
3432
  label: z$1.ZodString;
3273
3433
  description: z$1.ZodOptional<z$1.ZodString>;
3274
- enabled: z$1.ZodDefault<z$1.ZodBoolean>;
3275
- path: z$1.ZodOptional<z$1.ZodString>;
3276
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3277
- "nav.dashboard": "nav.dashboard";
3278
- "nav.calendar": "nav.calendar";
3279
- "nav.sales": "nav.sales";
3280
- "nav.crm": "nav.crm";
3281
- "nav.lead-gen": "nav.lead-gen";
3282
- "nav.projects": "nav.projects";
3283
- "nav.operations": "nav.operations";
3284
- "nav.monitoring": "nav.monitoring";
3285
- "nav.knowledge": "nav.knowledge";
3286
- "nav.settings": "nav.settings";
3287
- "nav.admin": "nav.admin";
3288
- "nav.archive": "nav.archive";
3289
- "knowledge.playbook": "knowledge.playbook";
3290
- "knowledge.strategy": "knowledge.strategy";
3291
- "knowledge.reference": "knowledge.reference";
3292
- "feature.dashboard": "feature.dashboard";
3293
- "feature.calendar": "feature.calendar";
3294
- "feature.business": "feature.business";
3295
- "feature.sales": "feature.sales";
3296
- "feature.crm": "feature.crm";
3297
- "feature.finance": "feature.finance";
3298
- "feature.lead-gen": "feature.lead-gen";
3299
- "feature.platform": "feature.platform";
3300
- "feature.projects": "feature.projects";
3301
- "feature.operations": "feature.operations";
3302
- "feature.knowledge": "feature.knowledge";
3303
- "feature.monitoring": "feature.monitoring";
3304
- "feature.settings": "feature.settings";
3305
- "feature.admin": "feature.admin";
3306
- "feature.archive": "feature.archive";
3307
- "feature.seo": "feature.seo";
3308
- "resource.agent": "resource.agent";
3309
- "resource.workflow": "resource.workflow";
3310
- "resource.integration": "resource.integration";
3311
- "resource.database": "resource.database";
3312
- "resource.user": "resource.user";
3313
- "resource.team": "resource.team";
3314
- "integration.gmail": "integration.gmail";
3315
- "integration.google-sheets": "integration.google-sheets";
3316
- "integration.attio": "integration.attio";
3317
- "surface.dashboard": "surface.dashboard";
3318
- "surface.calendar": "surface.calendar";
3319
- "surface.overview": "surface.overview";
3320
- "surface.command-view": "surface.command-view";
3321
- "surface.command-queue": "surface.command-queue";
3322
- "surface.pipeline": "surface.pipeline";
3323
- "surface.lists": "surface.lists";
3324
- "surface.resources": "surface.resources";
3325
- "surface.settings": "surface.settings";
3326
- "status.success": "status.success";
3327
- "status.error": "status.error";
3328
- "status.warning": "status.warning";
3329
- "status.info": "status.info";
3330
- "status.pending": "status.pending";
3331
- "action.approve": "action.approve";
3332
- "action.reject": "action.reject";
3333
- "action.retry": "action.retry";
3334
- "action.edit": "action.edit";
3335
- "action.view": "action.view";
3336
- "action.launch": "action.launch";
3337
- "action.message": "action.message";
3338
- "action.escalate": "action.escalate";
3339
- "action.promote": "action.promote";
3340
- "action.submit": "action.submit";
3341
- "action.email": "action.email";
3342
- }>, z$1.ZodString]>>;
3343
- color: z$1.ZodOptional<z$1.ZodString>;
3344
- uiPosition: z$1.ZodOptional<z$1.ZodEnum<{
3345
- "sidebar-primary": "sidebar-primary";
3346
- "sidebar-bottom": "sidebar-bottom";
3347
- }>>;
3348
- requiresAdmin: z$1.ZodOptional<z$1.ZodBoolean>;
3349
- devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
3434
+ order: z$1.ZodOptional<z$1.ZodNumber>;
3435
+ parentContentId: z$1.ZodOptional<z$1.ZodString>;
3436
+ kind: z$1.ZodString;
3437
+ type: z$1.ZodString;
3438
+ data: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3350
3439
  }, z$1.core.$strip>;
3440
+ type ContentNode = z$1.infer<typeof ContentNodeSchema>;
3441
+
3442
+ type JsonPrimitive = string | number | boolean | null;
3443
+ type JsonValue = JsonPrimitive | JsonValue[] | {
3444
+ [key: string]: JsonValue;
3445
+ };
3446
+ /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
3447
+ interface SystemEntry {
3448
+ id: string;
3449
+ label?: string;
3450
+ title?: string;
3451
+ description?: string;
3452
+ kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
3453
+ parentSystemId?: string;
3454
+ ui?: {
3455
+ path: string;
3456
+ surfaces: string[];
3457
+ icon?: string;
3458
+ order?: number;
3459
+ };
3460
+ lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
3461
+ responsibleRoleId?: string;
3462
+ governedByKnowledge?: string[];
3463
+ actions?: {
3464
+ actionId: string;
3465
+ intent: 'exposes' | 'consumes';
3466
+ invocation?: unknown;
3467
+ }[];
3468
+ policies?: string[];
3469
+ drivesGoals?: string[];
3470
+ /** @deprecated Use lifecycle. Accepted for one publish cycle. */
3471
+ status?: 'active' | 'deprecated' | 'archived';
3472
+ path?: string;
3473
+ icon?: string;
3474
+ color?: string;
3475
+ uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
3476
+ enabled?: boolean;
3477
+ devOnly?: boolean;
3478
+ requiresAdmin?: boolean;
3479
+ order: number;
3480
+ config?: Record<string, JsonValue>;
3481
+ ontology?: OntologyScope;
3482
+ systems?: Record<string, SystemEntry>;
3483
+ /**
3484
+ * @deprecated Compatibility-only bridge for old tenant data and migration readers.
3485
+ * Author new semantic catalogs in `ontology` and local settings in `config`.
3486
+ */
3487
+ content?: Record<string, ContentNode>;
3488
+ subsystems?: Record<string, SystemEntry>;
3489
+ }
3490
+ declare const SystemEntrySchema: ZodType<SystemEntry>;
3491
+
3492
+ declare const SurfaceTypeSchema: z$1.ZodEnum<{
3493
+ dashboard: "dashboard";
3494
+ settings: "settings";
3495
+ graph: "graph";
3496
+ list: "list";
3497
+ page: "page";
3498
+ detail: "detail";
3499
+ }>;
3500
+ interface SidebarSurfaceNode {
3501
+ type: 'surface';
3502
+ label: string;
3503
+ path: string;
3504
+ surfaceType: z$1.infer<typeof SurfaceTypeSchema>;
3505
+ description?: string;
3506
+ icon?: string;
3507
+ order?: number;
3508
+ targets?: {
3509
+ systems?: string[];
3510
+ entities?: string[];
3511
+ resources?: string[];
3512
+ actions?: string[];
3513
+ };
3514
+ devOnly?: boolean;
3515
+ requiresAdmin?: boolean;
3516
+ }
3517
+ interface SidebarGroupNode {
3518
+ type: 'group';
3519
+ label: string;
3520
+ description?: string;
3521
+ icon?: string;
3522
+ order?: number;
3523
+ children: Record<string, SidebarNode>;
3524
+ }
3525
+ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
3351
3526
 
3352
3527
  declare const OrganizationModelSchema: z$1.ZodObject<{
3353
3528
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3354
- features: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3355
- id: z$1.ZodString;
3356
- label: z$1.ZodString;
3357
- description: z$1.ZodOptional<z$1.ZodString>;
3358
- enabled: z$1.ZodDefault<z$1.ZodBoolean>;
3359
- path: z$1.ZodOptional<z$1.ZodString>;
3360
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3361
- "nav.dashboard": "nav.dashboard";
3362
- "nav.calendar": "nav.calendar";
3363
- "nav.sales": "nav.sales";
3364
- "nav.crm": "nav.crm";
3365
- "nav.lead-gen": "nav.lead-gen";
3366
- "nav.projects": "nav.projects";
3367
- "nav.operations": "nav.operations";
3368
- "nav.monitoring": "nav.monitoring";
3369
- "nav.knowledge": "nav.knowledge";
3370
- "nav.settings": "nav.settings";
3371
- "nav.admin": "nav.admin";
3372
- "nav.archive": "nav.archive";
3373
- "knowledge.playbook": "knowledge.playbook";
3374
- "knowledge.strategy": "knowledge.strategy";
3375
- "knowledge.reference": "knowledge.reference";
3376
- "feature.dashboard": "feature.dashboard";
3377
- "feature.calendar": "feature.calendar";
3378
- "feature.business": "feature.business";
3379
- "feature.sales": "feature.sales";
3380
- "feature.crm": "feature.crm";
3381
- "feature.finance": "feature.finance";
3382
- "feature.lead-gen": "feature.lead-gen";
3383
- "feature.platform": "feature.platform";
3384
- "feature.projects": "feature.projects";
3385
- "feature.operations": "feature.operations";
3386
- "feature.knowledge": "feature.knowledge";
3387
- "feature.monitoring": "feature.monitoring";
3388
- "feature.settings": "feature.settings";
3389
- "feature.admin": "feature.admin";
3390
- "feature.archive": "feature.archive";
3391
- "feature.seo": "feature.seo";
3392
- "resource.agent": "resource.agent";
3393
- "resource.workflow": "resource.workflow";
3394
- "resource.integration": "resource.integration";
3395
- "resource.database": "resource.database";
3396
- "resource.user": "resource.user";
3397
- "resource.team": "resource.team";
3398
- "integration.gmail": "integration.gmail";
3399
- "integration.google-sheets": "integration.google-sheets";
3400
- "integration.attio": "integration.attio";
3401
- "surface.dashboard": "surface.dashboard";
3402
- "surface.calendar": "surface.calendar";
3403
- "surface.overview": "surface.overview";
3404
- "surface.command-view": "surface.command-view";
3405
- "surface.command-queue": "surface.command-queue";
3406
- "surface.pipeline": "surface.pipeline";
3407
- "surface.lists": "surface.lists";
3408
- "surface.resources": "surface.resources";
3409
- "surface.settings": "surface.settings";
3410
- "status.success": "status.success";
3411
- "status.error": "status.error";
3412
- "status.warning": "status.warning";
3413
- "status.info": "status.info";
3414
- "status.pending": "status.pending";
3415
- "action.approve": "action.approve";
3416
- "action.reject": "action.reject";
3417
- "action.retry": "action.retry";
3418
- "action.edit": "action.edit";
3419
- "action.view": "action.view";
3420
- "action.launch": "action.launch";
3421
- "action.message": "action.message";
3422
- "action.escalate": "action.escalate";
3423
- "action.promote": "action.promote";
3424
- "action.submit": "action.submit";
3425
- "action.email": "action.email";
3426
- }>, z$1.ZodString]>>;
3427
- color: z$1.ZodOptional<z$1.ZodString>;
3428
- uiPosition: z$1.ZodOptional<z$1.ZodEnum<{
3429
- "sidebar-primary": "sidebar-primary";
3430
- "sidebar-bottom": "sidebar-bottom";
3431
- }>>;
3432
- requiresAdmin: z$1.ZodOptional<z$1.ZodBoolean>;
3433
- devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
3434
- }, z$1.core.$strip>>>;
3529
+ domainMetadata: z$1.ZodPipe<z$1.ZodDefault<z$1.ZodObject<{
3530
+ branding: z$1.ZodOptional<z$1.ZodObject<{
3531
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3532
+ lastModified: z$1.ZodString;
3533
+ }, z$1.core.$strip>>;
3534
+ identity: z$1.ZodOptional<z$1.ZodObject<{
3535
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3536
+ lastModified: z$1.ZodString;
3537
+ }, z$1.core.$strip>>;
3538
+ customers: z$1.ZodOptional<z$1.ZodObject<{
3539
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3540
+ lastModified: z$1.ZodString;
3541
+ }, z$1.core.$strip>>;
3542
+ offerings: z$1.ZodOptional<z$1.ZodObject<{
3543
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3544
+ lastModified: z$1.ZodString;
3545
+ }, z$1.core.$strip>>;
3546
+ roles: z$1.ZodOptional<z$1.ZodObject<{
3547
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3548
+ lastModified: z$1.ZodString;
3549
+ }, z$1.core.$strip>>;
3550
+ goals: z$1.ZodOptional<z$1.ZodObject<{
3551
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3552
+ lastModified: z$1.ZodString;
3553
+ }, z$1.core.$strip>>;
3554
+ systems: z$1.ZodOptional<z$1.ZodObject<{
3555
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3556
+ lastModified: z$1.ZodString;
3557
+ }, z$1.core.$strip>>;
3558
+ ontology: z$1.ZodOptional<z$1.ZodObject<{
3559
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3560
+ lastModified: z$1.ZodString;
3561
+ }, z$1.core.$strip>>;
3562
+ resources: z$1.ZodOptional<z$1.ZodObject<{
3563
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3564
+ lastModified: z$1.ZodString;
3565
+ }, z$1.core.$strip>>;
3566
+ actions: z$1.ZodOptional<z$1.ZodObject<{
3567
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3568
+ lastModified: z$1.ZodString;
3569
+ }, z$1.core.$strip>>;
3570
+ entities: z$1.ZodOptional<z$1.ZodObject<{
3571
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3572
+ lastModified: z$1.ZodString;
3573
+ }, z$1.core.$strip>>;
3574
+ policies: z$1.ZodOptional<z$1.ZodObject<{
3575
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3576
+ lastModified: z$1.ZodString;
3577
+ }, z$1.core.$strip>>;
3578
+ knowledge: z$1.ZodOptional<z$1.ZodObject<{
3579
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3580
+ lastModified: z$1.ZodString;
3581
+ }, z$1.core.$strip>>;
3582
+ }, z$1.core.$strip>>, z$1.ZodTransform<{
3583
+ branding: {
3584
+ version: 1;
3585
+ lastModified: string;
3586
+ };
3587
+ identity: {
3588
+ version: 1;
3589
+ lastModified: string;
3590
+ };
3591
+ customers: {
3592
+ version: 1;
3593
+ lastModified: string;
3594
+ };
3595
+ offerings: {
3596
+ version: 1;
3597
+ lastModified: string;
3598
+ };
3599
+ roles: {
3600
+ version: 1;
3601
+ lastModified: string;
3602
+ };
3603
+ goals: {
3604
+ version: 1;
3605
+ lastModified: string;
3606
+ };
3607
+ systems: {
3608
+ version: 1;
3609
+ lastModified: string;
3610
+ };
3611
+ ontology: {
3612
+ version: 1;
3613
+ lastModified: string;
3614
+ };
3615
+ resources: {
3616
+ version: 1;
3617
+ lastModified: string;
3618
+ };
3619
+ actions: {
3620
+ version: 1;
3621
+ lastModified: string;
3622
+ };
3623
+ entities: {
3624
+ version: 1;
3625
+ lastModified: string;
3626
+ };
3627
+ policies: {
3628
+ version: 1;
3629
+ lastModified: string;
3630
+ };
3631
+ knowledge: {
3632
+ version: 1;
3633
+ lastModified: string;
3634
+ };
3635
+ }, {
3636
+ branding?: {
3637
+ version: 1;
3638
+ lastModified: string;
3639
+ } | undefined;
3640
+ identity?: {
3641
+ version: 1;
3642
+ lastModified: string;
3643
+ } | undefined;
3644
+ customers?: {
3645
+ version: 1;
3646
+ lastModified: string;
3647
+ } | undefined;
3648
+ offerings?: {
3649
+ version: 1;
3650
+ lastModified: string;
3651
+ } | undefined;
3652
+ roles?: {
3653
+ version: 1;
3654
+ lastModified: string;
3655
+ } | undefined;
3656
+ goals?: {
3657
+ version: 1;
3658
+ lastModified: string;
3659
+ } | undefined;
3660
+ systems?: {
3661
+ version: 1;
3662
+ lastModified: string;
3663
+ } | undefined;
3664
+ ontology?: {
3665
+ version: 1;
3666
+ lastModified: string;
3667
+ } | undefined;
3668
+ resources?: {
3669
+ version: 1;
3670
+ lastModified: string;
3671
+ } | undefined;
3672
+ actions?: {
3673
+ version: 1;
3674
+ lastModified: string;
3675
+ } | undefined;
3676
+ entities?: {
3677
+ version: 1;
3678
+ lastModified: string;
3679
+ } | undefined;
3680
+ policies?: {
3681
+ version: 1;
3682
+ lastModified: string;
3683
+ } | undefined;
3684
+ knowledge?: {
3685
+ version: 1;
3686
+ lastModified: string;
3687
+ } | undefined;
3688
+ }>>;
3435
3689
  branding: z$1.ZodObject<{
3436
3690
  organizationName: z$1.ZodString;
3437
3691
  productName: z$1.ZodString;
@@ -3443,793 +3697,11 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3443
3697
  }, z$1.core.$strip>>;
3444
3698
  }, z$1.core.$strip>;
3445
3699
  navigation: z$1.ZodDefault<z$1.ZodObject<{
3446
- defaultSurfaceId: z$1.ZodOptional<z$1.ZodString>;
3447
- surfaces: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3448
- id: z$1.ZodString;
3449
- label: z$1.ZodString;
3450
- path: z$1.ZodString;
3451
- surfaceType: z$1.ZodEnum<{
3452
- settings: "settings";
3453
- page: "page";
3454
- dashboard: "dashboard";
3455
- graph: "graph";
3456
- detail: "detail";
3457
- list: "list";
3458
- }>;
3459
- description: z$1.ZodOptional<z$1.ZodString>;
3460
- enabled: z$1.ZodDefault<z$1.ZodBoolean>;
3461
- devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
3462
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3463
- "nav.dashboard": "nav.dashboard";
3464
- "nav.calendar": "nav.calendar";
3465
- "nav.sales": "nav.sales";
3466
- "nav.crm": "nav.crm";
3467
- "nav.lead-gen": "nav.lead-gen";
3468
- "nav.projects": "nav.projects";
3469
- "nav.operations": "nav.operations";
3470
- "nav.monitoring": "nav.monitoring";
3471
- "nav.knowledge": "nav.knowledge";
3472
- "nav.settings": "nav.settings";
3473
- "nav.admin": "nav.admin";
3474
- "nav.archive": "nav.archive";
3475
- "knowledge.playbook": "knowledge.playbook";
3476
- "knowledge.strategy": "knowledge.strategy";
3477
- "knowledge.reference": "knowledge.reference";
3478
- "feature.dashboard": "feature.dashboard";
3479
- "feature.calendar": "feature.calendar";
3480
- "feature.business": "feature.business";
3481
- "feature.sales": "feature.sales";
3482
- "feature.crm": "feature.crm";
3483
- "feature.finance": "feature.finance";
3484
- "feature.lead-gen": "feature.lead-gen";
3485
- "feature.platform": "feature.platform";
3486
- "feature.projects": "feature.projects";
3487
- "feature.operations": "feature.operations";
3488
- "feature.knowledge": "feature.knowledge";
3489
- "feature.monitoring": "feature.monitoring";
3490
- "feature.settings": "feature.settings";
3491
- "feature.admin": "feature.admin";
3492
- "feature.archive": "feature.archive";
3493
- "feature.seo": "feature.seo";
3494
- "resource.agent": "resource.agent";
3495
- "resource.workflow": "resource.workflow";
3496
- "resource.integration": "resource.integration";
3497
- "resource.database": "resource.database";
3498
- "resource.user": "resource.user";
3499
- "resource.team": "resource.team";
3500
- "integration.gmail": "integration.gmail";
3501
- "integration.google-sheets": "integration.google-sheets";
3502
- "integration.attio": "integration.attio";
3503
- "surface.dashboard": "surface.dashboard";
3504
- "surface.calendar": "surface.calendar";
3505
- "surface.overview": "surface.overview";
3506
- "surface.command-view": "surface.command-view";
3507
- "surface.command-queue": "surface.command-queue";
3508
- "surface.pipeline": "surface.pipeline";
3509
- "surface.lists": "surface.lists";
3510
- "surface.resources": "surface.resources";
3511
- "surface.settings": "surface.settings";
3512
- "status.success": "status.success";
3513
- "status.error": "status.error";
3514
- "status.warning": "status.warning";
3515
- "status.info": "status.info";
3516
- "status.pending": "status.pending";
3517
- "action.approve": "action.approve";
3518
- "action.reject": "action.reject";
3519
- "action.retry": "action.retry";
3520
- "action.edit": "action.edit";
3521
- "action.view": "action.view";
3522
- "action.launch": "action.launch";
3523
- "action.message": "action.message";
3524
- "action.escalate": "action.escalate";
3525
- "action.promote": "action.promote";
3526
- "action.submit": "action.submit";
3527
- "action.email": "action.email";
3528
- }>, z$1.ZodString]>>;
3529
- featureId: z$1.ZodOptional<z$1.ZodString>;
3530
- featureIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3531
- entityIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3532
- resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3533
- capabilityIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3534
- parentId: z$1.ZodOptional<z$1.ZodString>;
3535
- }, z$1.core.$strip>>>;
3536
- groups: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3537
- id: z$1.ZodString;
3538
- label: z$1.ZodString;
3539
- placement: z$1.ZodString;
3540
- surfaceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3541
- }, z$1.core.$strip>>>;
3542
- }, z$1.core.$strip>>;
3543
- sales: z$1.ZodObject<{
3544
- entityId: z$1.ZodString;
3545
- defaultPipelineId: z$1.ZodString;
3546
- pipelines: z$1.ZodArray<z$1.ZodObject<{
3547
- id: z$1.ZodString;
3548
- label: z$1.ZodString;
3549
- description: z$1.ZodOptional<z$1.ZodString>;
3550
- entityId: z$1.ZodString;
3551
- stages: z$1.ZodArray<z$1.ZodObject<{
3552
- label: z$1.ZodString;
3553
- description: z$1.ZodOptional<z$1.ZodString>;
3554
- color: z$1.ZodOptional<z$1.ZodString>;
3555
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3556
- "nav.dashboard": "nav.dashboard";
3557
- "nav.calendar": "nav.calendar";
3558
- "nav.sales": "nav.sales";
3559
- "nav.crm": "nav.crm";
3560
- "nav.lead-gen": "nav.lead-gen";
3561
- "nav.projects": "nav.projects";
3562
- "nav.operations": "nav.operations";
3563
- "nav.monitoring": "nav.monitoring";
3564
- "nav.knowledge": "nav.knowledge";
3565
- "nav.settings": "nav.settings";
3566
- "nav.admin": "nav.admin";
3567
- "nav.archive": "nav.archive";
3568
- "knowledge.playbook": "knowledge.playbook";
3569
- "knowledge.strategy": "knowledge.strategy";
3570
- "knowledge.reference": "knowledge.reference";
3571
- "feature.dashboard": "feature.dashboard";
3572
- "feature.calendar": "feature.calendar";
3573
- "feature.business": "feature.business";
3574
- "feature.sales": "feature.sales";
3575
- "feature.crm": "feature.crm";
3576
- "feature.finance": "feature.finance";
3577
- "feature.lead-gen": "feature.lead-gen";
3578
- "feature.platform": "feature.platform";
3579
- "feature.projects": "feature.projects";
3580
- "feature.operations": "feature.operations";
3581
- "feature.knowledge": "feature.knowledge";
3582
- "feature.monitoring": "feature.monitoring";
3583
- "feature.settings": "feature.settings";
3584
- "feature.admin": "feature.admin";
3585
- "feature.archive": "feature.archive";
3586
- "feature.seo": "feature.seo";
3587
- "resource.agent": "resource.agent";
3588
- "resource.workflow": "resource.workflow";
3589
- "resource.integration": "resource.integration";
3590
- "resource.database": "resource.database";
3591
- "resource.user": "resource.user";
3592
- "resource.team": "resource.team";
3593
- "integration.gmail": "integration.gmail";
3594
- "integration.google-sheets": "integration.google-sheets";
3595
- "integration.attio": "integration.attio";
3596
- "surface.dashboard": "surface.dashboard";
3597
- "surface.calendar": "surface.calendar";
3598
- "surface.overview": "surface.overview";
3599
- "surface.command-view": "surface.command-view";
3600
- "surface.command-queue": "surface.command-queue";
3601
- "surface.pipeline": "surface.pipeline";
3602
- "surface.lists": "surface.lists";
3603
- "surface.resources": "surface.resources";
3604
- "surface.settings": "surface.settings";
3605
- "status.success": "status.success";
3606
- "status.error": "status.error";
3607
- "status.warning": "status.warning";
3608
- "status.info": "status.info";
3609
- "status.pending": "status.pending";
3610
- "action.approve": "action.approve";
3611
- "action.reject": "action.reject";
3612
- "action.retry": "action.retry";
3613
- "action.edit": "action.edit";
3614
- "action.view": "action.view";
3615
- "action.launch": "action.launch";
3616
- "action.message": "action.message";
3617
- "action.escalate": "action.escalate";
3618
- "action.promote": "action.promote";
3619
- "action.submit": "action.submit";
3620
- "action.email": "action.email";
3621
- }>, z$1.ZodString]>>;
3622
- id: z$1.ZodString;
3623
- order: z$1.ZodNumber;
3624
- semanticClass: z$1.ZodEnum<{
3625
- open: "open";
3626
- active: "active";
3627
- nurturing: "nurturing";
3628
- closed_won: "closed_won";
3629
- closed_lost: "closed_lost";
3630
- }>;
3631
- surfaceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3632
- resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3633
- }, z$1.core.$strip>>;
3634
- }, z$1.core.$strip>>;
3635
- }, z$1.core.$strip>;
3636
- prospecting: z$1.ZodObject<{
3637
- listEntityId: z$1.ZodString;
3638
- companyEntityId: z$1.ZodString;
3639
- contactEntityId: z$1.ZodString;
3640
- description: z$1.ZodOptional<z$1.ZodString>;
3641
- companyStages: z$1.ZodArray<z$1.ZodObject<{
3642
- label: z$1.ZodString;
3643
- description: z$1.ZodOptional<z$1.ZodString>;
3644
- color: z$1.ZodOptional<z$1.ZodString>;
3645
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3646
- "nav.dashboard": "nav.dashboard";
3647
- "nav.calendar": "nav.calendar";
3648
- "nav.sales": "nav.sales";
3649
- "nav.crm": "nav.crm";
3650
- "nav.lead-gen": "nav.lead-gen";
3651
- "nav.projects": "nav.projects";
3652
- "nav.operations": "nav.operations";
3653
- "nav.monitoring": "nav.monitoring";
3654
- "nav.knowledge": "nav.knowledge";
3655
- "nav.settings": "nav.settings";
3656
- "nav.admin": "nav.admin";
3657
- "nav.archive": "nav.archive";
3658
- "knowledge.playbook": "knowledge.playbook";
3659
- "knowledge.strategy": "knowledge.strategy";
3660
- "knowledge.reference": "knowledge.reference";
3661
- "feature.dashboard": "feature.dashboard";
3662
- "feature.calendar": "feature.calendar";
3663
- "feature.business": "feature.business";
3664
- "feature.sales": "feature.sales";
3665
- "feature.crm": "feature.crm";
3666
- "feature.finance": "feature.finance";
3667
- "feature.lead-gen": "feature.lead-gen";
3668
- "feature.platform": "feature.platform";
3669
- "feature.projects": "feature.projects";
3670
- "feature.operations": "feature.operations";
3671
- "feature.knowledge": "feature.knowledge";
3672
- "feature.monitoring": "feature.monitoring";
3673
- "feature.settings": "feature.settings";
3674
- "feature.admin": "feature.admin";
3675
- "feature.archive": "feature.archive";
3676
- "feature.seo": "feature.seo";
3677
- "resource.agent": "resource.agent";
3678
- "resource.workflow": "resource.workflow";
3679
- "resource.integration": "resource.integration";
3680
- "resource.database": "resource.database";
3681
- "resource.user": "resource.user";
3682
- "resource.team": "resource.team";
3683
- "integration.gmail": "integration.gmail";
3684
- "integration.google-sheets": "integration.google-sheets";
3685
- "integration.attio": "integration.attio";
3686
- "surface.dashboard": "surface.dashboard";
3687
- "surface.calendar": "surface.calendar";
3688
- "surface.overview": "surface.overview";
3689
- "surface.command-view": "surface.command-view";
3690
- "surface.command-queue": "surface.command-queue";
3691
- "surface.pipeline": "surface.pipeline";
3692
- "surface.lists": "surface.lists";
3693
- "surface.resources": "surface.resources";
3694
- "surface.settings": "surface.settings";
3695
- "status.success": "status.success";
3696
- "status.error": "status.error";
3697
- "status.warning": "status.warning";
3698
- "status.info": "status.info";
3699
- "status.pending": "status.pending";
3700
- "action.approve": "action.approve";
3701
- "action.reject": "action.reject";
3702
- "action.retry": "action.retry";
3703
- "action.edit": "action.edit";
3704
- "action.view": "action.view";
3705
- "action.launch": "action.launch";
3706
- "action.message": "action.message";
3707
- "action.escalate": "action.escalate";
3708
- "action.promote": "action.promote";
3709
- "action.submit": "action.submit";
3710
- "action.email": "action.email";
3711
- }>, z$1.ZodString]>>;
3712
- id: z$1.ZodString;
3713
- order: z$1.ZodNumber;
3714
- }, z$1.core.$strip>>;
3715
- contactStages: z$1.ZodArray<z$1.ZodObject<{
3716
- label: z$1.ZodString;
3717
- description: z$1.ZodOptional<z$1.ZodString>;
3718
- color: z$1.ZodOptional<z$1.ZodString>;
3719
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3720
- "nav.dashboard": "nav.dashboard";
3721
- "nav.calendar": "nav.calendar";
3722
- "nav.sales": "nav.sales";
3723
- "nav.crm": "nav.crm";
3724
- "nav.lead-gen": "nav.lead-gen";
3725
- "nav.projects": "nav.projects";
3726
- "nav.operations": "nav.operations";
3727
- "nav.monitoring": "nav.monitoring";
3728
- "nav.knowledge": "nav.knowledge";
3729
- "nav.settings": "nav.settings";
3730
- "nav.admin": "nav.admin";
3731
- "nav.archive": "nav.archive";
3732
- "knowledge.playbook": "knowledge.playbook";
3733
- "knowledge.strategy": "knowledge.strategy";
3734
- "knowledge.reference": "knowledge.reference";
3735
- "feature.dashboard": "feature.dashboard";
3736
- "feature.calendar": "feature.calendar";
3737
- "feature.business": "feature.business";
3738
- "feature.sales": "feature.sales";
3739
- "feature.crm": "feature.crm";
3740
- "feature.finance": "feature.finance";
3741
- "feature.lead-gen": "feature.lead-gen";
3742
- "feature.platform": "feature.platform";
3743
- "feature.projects": "feature.projects";
3744
- "feature.operations": "feature.operations";
3745
- "feature.knowledge": "feature.knowledge";
3746
- "feature.monitoring": "feature.monitoring";
3747
- "feature.settings": "feature.settings";
3748
- "feature.admin": "feature.admin";
3749
- "feature.archive": "feature.archive";
3750
- "feature.seo": "feature.seo";
3751
- "resource.agent": "resource.agent";
3752
- "resource.workflow": "resource.workflow";
3753
- "resource.integration": "resource.integration";
3754
- "resource.database": "resource.database";
3755
- "resource.user": "resource.user";
3756
- "resource.team": "resource.team";
3757
- "integration.gmail": "integration.gmail";
3758
- "integration.google-sheets": "integration.google-sheets";
3759
- "integration.attio": "integration.attio";
3760
- "surface.dashboard": "surface.dashboard";
3761
- "surface.calendar": "surface.calendar";
3762
- "surface.overview": "surface.overview";
3763
- "surface.command-view": "surface.command-view";
3764
- "surface.command-queue": "surface.command-queue";
3765
- "surface.pipeline": "surface.pipeline";
3766
- "surface.lists": "surface.lists";
3767
- "surface.resources": "surface.resources";
3768
- "surface.settings": "surface.settings";
3769
- "status.success": "status.success";
3770
- "status.error": "status.error";
3771
- "status.warning": "status.warning";
3772
- "status.info": "status.info";
3773
- "status.pending": "status.pending";
3774
- "action.approve": "action.approve";
3775
- "action.reject": "action.reject";
3776
- "action.retry": "action.retry";
3777
- "action.edit": "action.edit";
3778
- "action.view": "action.view";
3779
- "action.launch": "action.launch";
3780
- "action.message": "action.message";
3781
- "action.escalate": "action.escalate";
3782
- "action.promote": "action.promote";
3783
- "action.submit": "action.submit";
3784
- "action.email": "action.email";
3785
- }>, z$1.ZodString]>>;
3786
- id: z$1.ZodString;
3787
- order: z$1.ZodNumber;
3700
+ sidebar: z$1.ZodDefault<z$1.ZodObject<{
3701
+ primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
3702
+ bottom: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
3788
3703
  }, z$1.core.$strip>>;
3789
- defaultBuildTemplateId: z$1.ZodString;
3790
- buildTemplates: z$1.ZodArray<z$1.ZodObject<{
3791
- label: z$1.ZodString;
3792
- description: z$1.ZodOptional<z$1.ZodString>;
3793
- color: z$1.ZodOptional<z$1.ZodString>;
3794
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3795
- "nav.dashboard": "nav.dashboard";
3796
- "nav.calendar": "nav.calendar";
3797
- "nav.sales": "nav.sales";
3798
- "nav.crm": "nav.crm";
3799
- "nav.lead-gen": "nav.lead-gen";
3800
- "nav.projects": "nav.projects";
3801
- "nav.operations": "nav.operations";
3802
- "nav.monitoring": "nav.monitoring";
3803
- "nav.knowledge": "nav.knowledge";
3804
- "nav.settings": "nav.settings";
3805
- "nav.admin": "nav.admin";
3806
- "nav.archive": "nav.archive";
3807
- "knowledge.playbook": "knowledge.playbook";
3808
- "knowledge.strategy": "knowledge.strategy";
3809
- "knowledge.reference": "knowledge.reference";
3810
- "feature.dashboard": "feature.dashboard";
3811
- "feature.calendar": "feature.calendar";
3812
- "feature.business": "feature.business";
3813
- "feature.sales": "feature.sales";
3814
- "feature.crm": "feature.crm";
3815
- "feature.finance": "feature.finance";
3816
- "feature.lead-gen": "feature.lead-gen";
3817
- "feature.platform": "feature.platform";
3818
- "feature.projects": "feature.projects";
3819
- "feature.operations": "feature.operations";
3820
- "feature.knowledge": "feature.knowledge";
3821
- "feature.monitoring": "feature.monitoring";
3822
- "feature.settings": "feature.settings";
3823
- "feature.admin": "feature.admin";
3824
- "feature.archive": "feature.archive";
3825
- "feature.seo": "feature.seo";
3826
- "resource.agent": "resource.agent";
3827
- "resource.workflow": "resource.workflow";
3828
- "resource.integration": "resource.integration";
3829
- "resource.database": "resource.database";
3830
- "resource.user": "resource.user";
3831
- "resource.team": "resource.team";
3832
- "integration.gmail": "integration.gmail";
3833
- "integration.google-sheets": "integration.google-sheets";
3834
- "integration.attio": "integration.attio";
3835
- "surface.dashboard": "surface.dashboard";
3836
- "surface.calendar": "surface.calendar";
3837
- "surface.overview": "surface.overview";
3838
- "surface.command-view": "surface.command-view";
3839
- "surface.command-queue": "surface.command-queue";
3840
- "surface.pipeline": "surface.pipeline";
3841
- "surface.lists": "surface.lists";
3842
- "surface.resources": "surface.resources";
3843
- "surface.settings": "surface.settings";
3844
- "status.success": "status.success";
3845
- "status.error": "status.error";
3846
- "status.warning": "status.warning";
3847
- "status.info": "status.info";
3848
- "status.pending": "status.pending";
3849
- "action.approve": "action.approve";
3850
- "action.reject": "action.reject";
3851
- "action.retry": "action.retry";
3852
- "action.edit": "action.edit";
3853
- "action.view": "action.view";
3854
- "action.launch": "action.launch";
3855
- "action.message": "action.message";
3856
- "action.escalate": "action.escalate";
3857
- "action.promote": "action.promote";
3858
- "action.submit": "action.submit";
3859
- "action.email": "action.email";
3860
- }>, z$1.ZodString]>>;
3861
- id: z$1.ZodString;
3862
- steps: z$1.ZodArray<z$1.ZodObject<{
3863
- label: z$1.ZodString;
3864
- description: z$1.ZodOptional<z$1.ZodString>;
3865
- color: z$1.ZodOptional<z$1.ZodString>;
3866
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3867
- "nav.dashboard": "nav.dashboard";
3868
- "nav.calendar": "nav.calendar";
3869
- "nav.sales": "nav.sales";
3870
- "nav.crm": "nav.crm";
3871
- "nav.lead-gen": "nav.lead-gen";
3872
- "nav.projects": "nav.projects";
3873
- "nav.operations": "nav.operations";
3874
- "nav.monitoring": "nav.monitoring";
3875
- "nav.knowledge": "nav.knowledge";
3876
- "nav.settings": "nav.settings";
3877
- "nav.admin": "nav.admin";
3878
- "nav.archive": "nav.archive";
3879
- "knowledge.playbook": "knowledge.playbook";
3880
- "knowledge.strategy": "knowledge.strategy";
3881
- "knowledge.reference": "knowledge.reference";
3882
- "feature.dashboard": "feature.dashboard";
3883
- "feature.calendar": "feature.calendar";
3884
- "feature.business": "feature.business";
3885
- "feature.sales": "feature.sales";
3886
- "feature.crm": "feature.crm";
3887
- "feature.finance": "feature.finance";
3888
- "feature.lead-gen": "feature.lead-gen";
3889
- "feature.platform": "feature.platform";
3890
- "feature.projects": "feature.projects";
3891
- "feature.operations": "feature.operations";
3892
- "feature.knowledge": "feature.knowledge";
3893
- "feature.monitoring": "feature.monitoring";
3894
- "feature.settings": "feature.settings";
3895
- "feature.admin": "feature.admin";
3896
- "feature.archive": "feature.archive";
3897
- "feature.seo": "feature.seo";
3898
- "resource.agent": "resource.agent";
3899
- "resource.workflow": "resource.workflow";
3900
- "resource.integration": "resource.integration";
3901
- "resource.database": "resource.database";
3902
- "resource.user": "resource.user";
3903
- "resource.team": "resource.team";
3904
- "integration.gmail": "integration.gmail";
3905
- "integration.google-sheets": "integration.google-sheets";
3906
- "integration.attio": "integration.attio";
3907
- "surface.dashboard": "surface.dashboard";
3908
- "surface.calendar": "surface.calendar";
3909
- "surface.overview": "surface.overview";
3910
- "surface.command-view": "surface.command-view";
3911
- "surface.command-queue": "surface.command-queue";
3912
- "surface.pipeline": "surface.pipeline";
3913
- "surface.lists": "surface.lists";
3914
- "surface.resources": "surface.resources";
3915
- "surface.settings": "surface.settings";
3916
- "status.success": "status.success";
3917
- "status.error": "status.error";
3918
- "status.warning": "status.warning";
3919
- "status.info": "status.info";
3920
- "status.pending": "status.pending";
3921
- "action.approve": "action.approve";
3922
- "action.reject": "action.reject";
3923
- "action.retry": "action.retry";
3924
- "action.edit": "action.edit";
3925
- "action.view": "action.view";
3926
- "action.launch": "action.launch";
3927
- "action.message": "action.message";
3928
- "action.escalate": "action.escalate";
3929
- "action.promote": "action.promote";
3930
- "action.submit": "action.submit";
3931
- "action.email": "action.email";
3932
- }>, z$1.ZodString]>>;
3933
- id: z$1.ZodString;
3934
- primaryEntity: z$1.ZodEnum<{
3935
- company: "company";
3936
- contact: "contact";
3937
- }>;
3938
- outputs: z$1.ZodArray<z$1.ZodEnum<{
3939
- company: "company";
3940
- contact: "contact";
3941
- export: "export";
3942
- }>>;
3943
- stageKey: z$1.ZodString;
3944
- recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
3945
- company: "company";
3946
- contact: "contact";
3947
- }>>;
3948
- recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
3949
- recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
3950
- dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3951
- dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3952
- capabilityKey: z$1.ZodString;
3953
- defaultBatchSize: z$1.ZodNumber;
3954
- maxBatchSize: z$1.ZodNumber;
3955
- recordColumns: z$1.ZodOptional<z$1.ZodObject<{
3956
- company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3957
- key: z$1.ZodString;
3958
- label: z$1.ZodString;
3959
- path: z$1.ZodString;
3960
- width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3961
- renderType: z$1.ZodOptional<z$1.ZodEnum<{
3962
- text: "text";
3963
- badge: "badge";
3964
- datetime: "datetime";
3965
- count: "count";
3966
- json: "json";
3967
- }>>;
3968
- badgeColor: z$1.ZodOptional<z$1.ZodString>;
3969
- }, z$1.core.$strip>>>;
3970
- contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3971
- key: z$1.ZodString;
3972
- label: z$1.ZodString;
3973
- path: z$1.ZodString;
3974
- width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3975
- renderType: z$1.ZodOptional<z$1.ZodEnum<{
3976
- text: "text";
3977
- badge: "badge";
3978
- datetime: "datetime";
3979
- count: "count";
3980
- json: "json";
3981
- }>>;
3982
- badgeColor: z$1.ZodOptional<z$1.ZodString>;
3983
- }, z$1.core.$strip>>>;
3984
- }, z$1.core.$strip>>;
3985
- credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3986
- key: z$1.ZodString;
3987
- provider: z$1.ZodString;
3988
- credentialType: z$1.ZodEnum<{
3989
- "api-key": "api-key";
3990
- "api-key-secret": "api-key-secret";
3991
- oauth: "oauth";
3992
- "webhook-secret": "webhook-secret";
3993
- }>;
3994
- label: z$1.ZodString;
3995
- required: z$1.ZodBoolean;
3996
- selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
3997
- single: "single";
3998
- multiple: "multiple";
3999
- }>>;
4000
- inputPath: z$1.ZodString;
4001
- verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
4002
- }, z$1.core.$strip>>>;
4003
- }, z$1.core.$strip>>;
4004
- }, z$1.core.$strip>>;
4005
- }, z$1.core.$strip>;
4006
- projects: z$1.ZodObject<{
4007
- projectEntityId: z$1.ZodString;
4008
- milestoneEntityId: z$1.ZodString;
4009
- taskEntityId: z$1.ZodString;
4010
- projectStatuses: z$1.ZodArray<z$1.ZodObject<{
4011
- label: z$1.ZodString;
4012
- description: z$1.ZodOptional<z$1.ZodString>;
4013
- color: z$1.ZodOptional<z$1.ZodString>;
4014
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4015
- "nav.dashboard": "nav.dashboard";
4016
- "nav.calendar": "nav.calendar";
4017
- "nav.sales": "nav.sales";
4018
- "nav.crm": "nav.crm";
4019
- "nav.lead-gen": "nav.lead-gen";
4020
- "nav.projects": "nav.projects";
4021
- "nav.operations": "nav.operations";
4022
- "nav.monitoring": "nav.monitoring";
4023
- "nav.knowledge": "nav.knowledge";
4024
- "nav.settings": "nav.settings";
4025
- "nav.admin": "nav.admin";
4026
- "nav.archive": "nav.archive";
4027
- "knowledge.playbook": "knowledge.playbook";
4028
- "knowledge.strategy": "knowledge.strategy";
4029
- "knowledge.reference": "knowledge.reference";
4030
- "feature.dashboard": "feature.dashboard";
4031
- "feature.calendar": "feature.calendar";
4032
- "feature.business": "feature.business";
4033
- "feature.sales": "feature.sales";
4034
- "feature.crm": "feature.crm";
4035
- "feature.finance": "feature.finance";
4036
- "feature.lead-gen": "feature.lead-gen";
4037
- "feature.platform": "feature.platform";
4038
- "feature.projects": "feature.projects";
4039
- "feature.operations": "feature.operations";
4040
- "feature.knowledge": "feature.knowledge";
4041
- "feature.monitoring": "feature.monitoring";
4042
- "feature.settings": "feature.settings";
4043
- "feature.admin": "feature.admin";
4044
- "feature.archive": "feature.archive";
4045
- "feature.seo": "feature.seo";
4046
- "resource.agent": "resource.agent";
4047
- "resource.workflow": "resource.workflow";
4048
- "resource.integration": "resource.integration";
4049
- "resource.database": "resource.database";
4050
- "resource.user": "resource.user";
4051
- "resource.team": "resource.team";
4052
- "integration.gmail": "integration.gmail";
4053
- "integration.google-sheets": "integration.google-sheets";
4054
- "integration.attio": "integration.attio";
4055
- "surface.dashboard": "surface.dashboard";
4056
- "surface.calendar": "surface.calendar";
4057
- "surface.overview": "surface.overview";
4058
- "surface.command-view": "surface.command-view";
4059
- "surface.command-queue": "surface.command-queue";
4060
- "surface.pipeline": "surface.pipeline";
4061
- "surface.lists": "surface.lists";
4062
- "surface.resources": "surface.resources";
4063
- "surface.settings": "surface.settings";
4064
- "status.success": "status.success";
4065
- "status.error": "status.error";
4066
- "status.warning": "status.warning";
4067
- "status.info": "status.info";
4068
- "status.pending": "status.pending";
4069
- "action.approve": "action.approve";
4070
- "action.reject": "action.reject";
4071
- "action.retry": "action.retry";
4072
- "action.edit": "action.edit";
4073
- "action.view": "action.view";
4074
- "action.launch": "action.launch";
4075
- "action.message": "action.message";
4076
- "action.escalate": "action.escalate";
4077
- "action.promote": "action.promote";
4078
- "action.submit": "action.submit";
4079
- "action.email": "action.email";
4080
- }>, z$1.ZodString]>>;
4081
- id: z$1.ZodString;
4082
- order: z$1.ZodNumber;
4083
- }, z$1.core.$strip>>;
4084
- milestoneStatuses: z$1.ZodArray<z$1.ZodObject<{
4085
- label: z$1.ZodString;
4086
- description: z$1.ZodOptional<z$1.ZodString>;
4087
- color: z$1.ZodOptional<z$1.ZodString>;
4088
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4089
- "nav.dashboard": "nav.dashboard";
4090
- "nav.calendar": "nav.calendar";
4091
- "nav.sales": "nav.sales";
4092
- "nav.crm": "nav.crm";
4093
- "nav.lead-gen": "nav.lead-gen";
4094
- "nav.projects": "nav.projects";
4095
- "nav.operations": "nav.operations";
4096
- "nav.monitoring": "nav.monitoring";
4097
- "nav.knowledge": "nav.knowledge";
4098
- "nav.settings": "nav.settings";
4099
- "nav.admin": "nav.admin";
4100
- "nav.archive": "nav.archive";
4101
- "knowledge.playbook": "knowledge.playbook";
4102
- "knowledge.strategy": "knowledge.strategy";
4103
- "knowledge.reference": "knowledge.reference";
4104
- "feature.dashboard": "feature.dashboard";
4105
- "feature.calendar": "feature.calendar";
4106
- "feature.business": "feature.business";
4107
- "feature.sales": "feature.sales";
4108
- "feature.crm": "feature.crm";
4109
- "feature.finance": "feature.finance";
4110
- "feature.lead-gen": "feature.lead-gen";
4111
- "feature.platform": "feature.platform";
4112
- "feature.projects": "feature.projects";
4113
- "feature.operations": "feature.operations";
4114
- "feature.knowledge": "feature.knowledge";
4115
- "feature.monitoring": "feature.monitoring";
4116
- "feature.settings": "feature.settings";
4117
- "feature.admin": "feature.admin";
4118
- "feature.archive": "feature.archive";
4119
- "feature.seo": "feature.seo";
4120
- "resource.agent": "resource.agent";
4121
- "resource.workflow": "resource.workflow";
4122
- "resource.integration": "resource.integration";
4123
- "resource.database": "resource.database";
4124
- "resource.user": "resource.user";
4125
- "resource.team": "resource.team";
4126
- "integration.gmail": "integration.gmail";
4127
- "integration.google-sheets": "integration.google-sheets";
4128
- "integration.attio": "integration.attio";
4129
- "surface.dashboard": "surface.dashboard";
4130
- "surface.calendar": "surface.calendar";
4131
- "surface.overview": "surface.overview";
4132
- "surface.command-view": "surface.command-view";
4133
- "surface.command-queue": "surface.command-queue";
4134
- "surface.pipeline": "surface.pipeline";
4135
- "surface.lists": "surface.lists";
4136
- "surface.resources": "surface.resources";
4137
- "surface.settings": "surface.settings";
4138
- "status.success": "status.success";
4139
- "status.error": "status.error";
4140
- "status.warning": "status.warning";
4141
- "status.info": "status.info";
4142
- "status.pending": "status.pending";
4143
- "action.approve": "action.approve";
4144
- "action.reject": "action.reject";
4145
- "action.retry": "action.retry";
4146
- "action.edit": "action.edit";
4147
- "action.view": "action.view";
4148
- "action.launch": "action.launch";
4149
- "action.message": "action.message";
4150
- "action.escalate": "action.escalate";
4151
- "action.promote": "action.promote";
4152
- "action.submit": "action.submit";
4153
- "action.email": "action.email";
4154
- }>, z$1.ZodString]>>;
4155
- id: z$1.ZodString;
4156
- order: z$1.ZodNumber;
4157
- }, z$1.core.$strip>>;
4158
- taskStatuses: z$1.ZodArray<z$1.ZodObject<{
4159
- label: z$1.ZodString;
4160
- description: z$1.ZodOptional<z$1.ZodString>;
4161
- color: z$1.ZodOptional<z$1.ZodString>;
4162
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4163
- "nav.dashboard": "nav.dashboard";
4164
- "nav.calendar": "nav.calendar";
4165
- "nav.sales": "nav.sales";
4166
- "nav.crm": "nav.crm";
4167
- "nav.lead-gen": "nav.lead-gen";
4168
- "nav.projects": "nav.projects";
4169
- "nav.operations": "nav.operations";
4170
- "nav.monitoring": "nav.monitoring";
4171
- "nav.knowledge": "nav.knowledge";
4172
- "nav.settings": "nav.settings";
4173
- "nav.admin": "nav.admin";
4174
- "nav.archive": "nav.archive";
4175
- "knowledge.playbook": "knowledge.playbook";
4176
- "knowledge.strategy": "knowledge.strategy";
4177
- "knowledge.reference": "knowledge.reference";
4178
- "feature.dashboard": "feature.dashboard";
4179
- "feature.calendar": "feature.calendar";
4180
- "feature.business": "feature.business";
4181
- "feature.sales": "feature.sales";
4182
- "feature.crm": "feature.crm";
4183
- "feature.finance": "feature.finance";
4184
- "feature.lead-gen": "feature.lead-gen";
4185
- "feature.platform": "feature.platform";
4186
- "feature.projects": "feature.projects";
4187
- "feature.operations": "feature.operations";
4188
- "feature.knowledge": "feature.knowledge";
4189
- "feature.monitoring": "feature.monitoring";
4190
- "feature.settings": "feature.settings";
4191
- "feature.admin": "feature.admin";
4192
- "feature.archive": "feature.archive";
4193
- "feature.seo": "feature.seo";
4194
- "resource.agent": "resource.agent";
4195
- "resource.workflow": "resource.workflow";
4196
- "resource.integration": "resource.integration";
4197
- "resource.database": "resource.database";
4198
- "resource.user": "resource.user";
4199
- "resource.team": "resource.team";
4200
- "integration.gmail": "integration.gmail";
4201
- "integration.google-sheets": "integration.google-sheets";
4202
- "integration.attio": "integration.attio";
4203
- "surface.dashboard": "surface.dashboard";
4204
- "surface.calendar": "surface.calendar";
4205
- "surface.overview": "surface.overview";
4206
- "surface.command-view": "surface.command-view";
4207
- "surface.command-queue": "surface.command-queue";
4208
- "surface.pipeline": "surface.pipeline";
4209
- "surface.lists": "surface.lists";
4210
- "surface.resources": "surface.resources";
4211
- "surface.settings": "surface.settings";
4212
- "status.success": "status.success";
4213
- "status.error": "status.error";
4214
- "status.warning": "status.warning";
4215
- "status.info": "status.info";
4216
- "status.pending": "status.pending";
4217
- "action.approve": "action.approve";
4218
- "action.reject": "action.reject";
4219
- "action.retry": "action.retry";
4220
- "action.edit": "action.edit";
4221
- "action.view": "action.view";
4222
- "action.launch": "action.launch";
4223
- "action.message": "action.message";
4224
- "action.escalate": "action.escalate";
4225
- "action.promote": "action.promote";
4226
- "action.submit": "action.submit";
4227
- "action.email": "action.email";
4228
- }>, z$1.ZodString]>>;
4229
- id: z$1.ZodString;
4230
- order: z$1.ZodNumber;
4231
- }, z$1.core.$strip>>;
4232
- }, z$1.core.$strip>;
3704
+ }, z$1.core.$strip>>;
4233
3705
  identity: z$1.ZodDefault<z$1.ZodObject<{
4234
3706
  mission: z$1.ZodDefault<z$1.ZodString>;
4235
3707
  vision: z$1.ZodDefault<z$1.ZodString>;
@@ -4271,269 +3743,598 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4271
3743
  }, z$1.core.$strip>>;
4272
3744
  clientBrief: z$1.ZodDefault<z$1.ZodString>;
4273
3745
  }, z$1.core.$strip>>;
4274
- customers: z$1.ZodDefault<z$1.ZodObject<{
4275
- segments: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3746
+ customers: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3747
+ id: z$1.ZodString;
3748
+ order: z$1.ZodNumber;
3749
+ name: z$1.ZodDefault<z$1.ZodString>;
3750
+ description: z$1.ZodDefault<z$1.ZodString>;
3751
+ jobsToBeDone: z$1.ZodDefault<z$1.ZodString>;
3752
+ pains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3753
+ gains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3754
+ firmographics: z$1.ZodDefault<z$1.ZodObject<{
3755
+ industry: z$1.ZodOptional<z$1.ZodString>;
3756
+ companySize: z$1.ZodOptional<z$1.ZodString>;
3757
+ region: z$1.ZodOptional<z$1.ZodString>;
3758
+ }, z$1.core.$strip>>;
3759
+ valueProp: z$1.ZodDefault<z$1.ZodString>;
3760
+ }, z$1.core.$strip>>>>;
3761
+ offerings: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3762
+ id: z$1.ZodString;
3763
+ order: z$1.ZodNumber;
3764
+ name: z$1.ZodDefault<z$1.ZodString>;
3765
+ description: z$1.ZodDefault<z$1.ZodString>;
3766
+ pricingModel: z$1.ZodDefault<z$1.ZodEnum<{
3767
+ custom: "custom";
3768
+ "one-time": "one-time";
3769
+ subscription: "subscription";
3770
+ "usage-based": "usage-based";
3771
+ }>>;
3772
+ price: z$1.ZodDefault<z$1.ZodNumber>;
3773
+ currency: z$1.ZodDefault<z$1.ZodString>;
3774
+ targetSegmentIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3775
+ deliveryFeatureId: z$1.ZodOptional<z$1.ZodString>;
3776
+ }, z$1.core.$strip>>>>;
3777
+ roles: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3778
+ id: z$1.ZodString;
3779
+ order: z$1.ZodNumber;
3780
+ title: z$1.ZodString;
3781
+ responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3782
+ reportsToId: z$1.ZodOptional<z$1.ZodString>;
3783
+ heldBy: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3784
+ kind: z$1.ZodLiteral<"human">;
3785
+ userId: z$1.ZodString;
3786
+ }, z$1.core.$strip>, z$1.ZodObject<{
3787
+ kind: z$1.ZodLiteral<"agent">;
3788
+ agentId: z$1.ZodString;
3789
+ }, z$1.core.$strip>, z$1.ZodObject<{
3790
+ kind: z$1.ZodLiteral<"team">;
3791
+ memberIds: z$1.ZodArray<z$1.ZodString>;
3792
+ }, z$1.core.$strip>], "kind">, z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3793
+ kind: z$1.ZodLiteral<"human">;
3794
+ userId: z$1.ZodString;
3795
+ }, z$1.core.$strip>, z$1.ZodObject<{
3796
+ kind: z$1.ZodLiteral<"agent">;
3797
+ agentId: z$1.ZodString;
3798
+ }, z$1.core.$strip>, z$1.ZodObject<{
3799
+ kind: z$1.ZodLiteral<"team">;
3800
+ memberIds: z$1.ZodArray<z$1.ZodString>;
3801
+ }, z$1.core.$strip>], "kind">>]>>;
3802
+ responsibleFor: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3803
+ }, z$1.core.$strip>>>>;
3804
+ goals: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3805
+ id: z$1.ZodString;
3806
+ order: z$1.ZodNumber;
3807
+ description: z$1.ZodString;
3808
+ periodStart: z$1.ZodString;
3809
+ periodEnd: z$1.ZodString;
3810
+ keyResults: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4276
3811
  id: z$1.ZodString;
4277
- name: z$1.ZodDefault<z$1.ZodString>;
4278
- description: z$1.ZodDefault<z$1.ZodString>;
4279
- jobsToBeDone: z$1.ZodDefault<z$1.ZodString>;
4280
- pains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4281
- gains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4282
- firmographics: z$1.ZodDefault<z$1.ZodObject<{
4283
- industry: z$1.ZodOptional<z$1.ZodString>;
4284
- companySize: z$1.ZodOptional<z$1.ZodString>;
4285
- region: z$1.ZodOptional<z$1.ZodString>;
4286
- }, z$1.core.$strip>>;
4287
- valueProp: z$1.ZodDefault<z$1.ZodString>;
3812
+ description: z$1.ZodString;
3813
+ targetMetric: z$1.ZodString;
3814
+ currentValue: z$1.ZodDefault<z$1.ZodNumber>;
3815
+ targetValue: z$1.ZodOptional<z$1.ZodNumber>;
4288
3816
  }, z$1.core.$strip>>>;
4289
- }, z$1.core.$strip>>;
4290
- offerings: z$1.ZodDefault<z$1.ZodObject<{
4291
- products: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3817
+ }, z$1.core.$strip>>>>;
3818
+ systems: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SystemEntry, unknown, z$1.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
3819
+ ontology: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodObject<{
3820
+ objectTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4292
3821
  id: z$1.ZodString;
4293
- name: z$1.ZodDefault<z$1.ZodString>;
4294
- description: z$1.ZodDefault<z$1.ZodString>;
4295
- pricingModel: z$1.ZodDefault<z$1.ZodEnum<{
4296
- custom: "custom";
4297
- "one-time": "one-time";
4298
- subscription: "subscription";
4299
- "usage-based": "usage-based";
4300
- }>>;
4301
- price: z$1.ZodDefault<z$1.ZodNumber>;
4302
- currency: z$1.ZodDefault<z$1.ZodString>;
4303
- targetSegmentIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4304
- deliveryFeatureId: z$1.ZodOptional<z$1.ZodString>;
4305
- }, z$1.core.$strip>>>;
4306
- }, z$1.core.$strip>>;
4307
- roles: z$1.ZodDefault<z$1.ZodObject<{
4308
- roles: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3822
+ label: z$1.ZodOptional<z$1.ZodString>;
3823
+ description: z$1.ZodOptional<z$1.ZodString>;
3824
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3825
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3826
+ properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3827
+ storage: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3828
+ }, z$1.core.$loose>>>>;
3829
+ linkTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4309
3830
  id: z$1.ZodString;
4310
- title: z$1.ZodString;
4311
- responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4312
- reportsToId: z$1.ZodOptional<z$1.ZodString>;
4313
- heldBy: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4314
- kind: z$1.ZodLiteral<"human">;
4315
- userId: z$1.ZodString;
4316
- }, z$1.core.$strip>, z$1.ZodObject<{
4317
- kind: z$1.ZodLiteral<"agent">;
4318
- agentId: z$1.ZodString;
4319
- }, z$1.core.$strip>, z$1.ZodObject<{
4320
- kind: z$1.ZodLiteral<"team">;
4321
- memberIds: z$1.ZodArray<z$1.ZodString>;
4322
- }, z$1.core.$strip>], "kind">, z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4323
- kind: z$1.ZodLiteral<"human">;
4324
- userId: z$1.ZodString;
4325
- }, z$1.core.$strip>, z$1.ZodObject<{
4326
- kind: z$1.ZodLiteral<"agent">;
4327
- agentId: z$1.ZodString;
4328
- }, z$1.core.$strip>, z$1.ZodObject<{
4329
- kind: z$1.ZodLiteral<"team">;
4330
- memberIds: z$1.ZodArray<z$1.ZodString>;
4331
- }, z$1.core.$strip>], "kind">>]>>;
4332
- responsibleFor: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4333
- }, z$1.core.$strip>>>;
4334
- }, z$1.core.$strip>>;
4335
- goals: z$1.ZodDefault<z$1.ZodObject<{
4336
- objectives: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3831
+ label: z$1.ZodOptional<z$1.ZodString>;
3832
+ description: z$1.ZodOptional<z$1.ZodString>;
3833
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3834
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3835
+ from: z$1.ZodString;
3836
+ to: z$1.ZodString;
3837
+ cardinality: z$1.ZodOptional<z$1.ZodString>;
3838
+ via: z$1.ZodOptional<z$1.ZodString>;
3839
+ }, z$1.core.$loose>>>>;
3840
+ actionTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4337
3841
  id: z$1.ZodString;
4338
- description: z$1.ZodString;
4339
- periodStart: z$1.ZodString;
4340
- periodEnd: z$1.ZodString;
4341
- keyResults: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4342
- id: z$1.ZodString;
4343
- description: z$1.ZodString;
4344
- targetMetric: z$1.ZodString;
4345
- currentValue: z$1.ZodDefault<z$1.ZodNumber>;
4346
- targetValue: z$1.ZodOptional<z$1.ZodNumber>;
4347
- }, z$1.core.$strip>>>;
4348
- }, z$1.core.$strip>>>;
4349
- }, z$1.core.$strip>>;
4350
- systems: z$1.ZodDefault<z$1.ZodObject<{
4351
- systems: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3842
+ label: z$1.ZodOptional<z$1.ZodString>;
3843
+ description: z$1.ZodOptional<z$1.ZodString>;
3844
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3845
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3846
+ actsOn: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3847
+ input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3848
+ effects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
3849
+ }, z$1.core.$loose>>>>;
3850
+ catalogTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4352
3851
  id: z$1.ZodString;
4353
- title: z$1.ZodString;
4354
- description: z$1.ZodString;
4355
- kind: z$1.ZodEnum<{
4356
- platform: "platform";
4357
- product: "product";
4358
- operational: "operational";
4359
- diagnostic: "diagnostic";
4360
- }>;
4361
- responsibleRoleId: z$1.ZodOptional<z$1.ZodString>;
4362
- governedByKnowledge: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4363
- drivesGoals: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4364
- status: z$1.ZodEnum<{
4365
- active: "active";
4366
- deprecated: "deprecated";
4367
- archived: "archived";
3852
+ label: z$1.ZodOptional<z$1.ZodString>;
3853
+ description: z$1.ZodOptional<z$1.ZodString>;
3854
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3855
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3856
+ kind: z$1.ZodOptional<z$1.ZodString>;
3857
+ appliesTo: z$1.ZodOptional<z$1.ZodString>;
3858
+ entries: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3859
+ }, z$1.core.$loose>>>>;
3860
+ eventTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3861
+ id: z$1.ZodString;
3862
+ label: z$1.ZodOptional<z$1.ZodString>;
3863
+ description: z$1.ZodOptional<z$1.ZodString>;
3864
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3865
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3866
+ payload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3867
+ }, z$1.core.$loose>>>>;
3868
+ interfaceTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3869
+ id: z$1.ZodString;
3870
+ label: z$1.ZodOptional<z$1.ZodString>;
3871
+ description: z$1.ZodOptional<z$1.ZodString>;
3872
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3873
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3874
+ properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3875
+ }, z$1.core.$loose>>>>;
3876
+ valueTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3877
+ id: z$1.ZodString;
3878
+ label: z$1.ZodOptional<z$1.ZodString>;
3879
+ description: z$1.ZodOptional<z$1.ZodString>;
3880
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3881
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3882
+ primitive: z$1.ZodOptional<z$1.ZodString>;
3883
+ }, z$1.core.$loose>>>>;
3884
+ sharedProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3885
+ id: z$1.ZodString;
3886
+ label: z$1.ZodOptional<z$1.ZodString>;
3887
+ description: z$1.ZodOptional<z$1.ZodString>;
3888
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3889
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3890
+ valueType: z$1.ZodOptional<z$1.ZodString>;
3891
+ searchable: z$1.ZodOptional<z$1.ZodBoolean>;
3892
+ pii: z$1.ZodOptional<z$1.ZodBoolean>;
3893
+ }, z$1.core.$loose>>>>;
3894
+ groups: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3895
+ id: z$1.ZodString;
3896
+ label: z$1.ZodOptional<z$1.ZodString>;
3897
+ description: z$1.ZodOptional<z$1.ZodString>;
3898
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3899
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3900
+ members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3901
+ }, z$1.core.$loose>>>>;
3902
+ surfaces: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3903
+ id: z$1.ZodString;
3904
+ label: z$1.ZodOptional<z$1.ZodString>;
3905
+ description: z$1.ZodOptional<z$1.ZodString>;
3906
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3907
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3908
+ route: z$1.ZodOptional<z$1.ZodString>;
3909
+ }, z$1.core.$loose>>>>;
3910
+ }, z$1.core.$strip>>>;
3911
+ resources: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3912
+ id: z$1.ZodString;
3913
+ order: z$1.ZodDefault<z$1.ZodNumber>;
3914
+ systemPath: z$1.ZodString;
3915
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3916
+ status: z$1.ZodEnum<{
3917
+ deprecated: "deprecated";
3918
+ active: "active";
3919
+ archived: "archived";
3920
+ }>;
3921
+ ontology: z$1.ZodOptional<z$1.ZodObject<{
3922
+ implements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3923
+ reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3924
+ writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3925
+ usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3926
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3927
+ }, z$1.core.$strip>>;
3928
+ codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3929
+ path: z$1.ZodString;
3930
+ role: z$1.ZodEnum<{
3931
+ schema: "schema";
3932
+ config: "config";
3933
+ entrypoint: "entrypoint";
3934
+ handler: "handler";
3935
+ test: "test";
3936
+ docs: "docs";
4368
3937
  }>;
3938
+ symbol: z$1.ZodOptional<z$1.ZodString>;
3939
+ description: z$1.ZodOptional<z$1.ZodString>;
4369
3940
  }, z$1.core.$strip>>>;
4370
- }, z$1.core.$strip>>;
4371
- resources: z$1.ZodDefault<z$1.ZodObject<{
4372
- entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4373
- id: z$1.ZodString;
4374
- systemId: z$1.ZodString;
4375
- ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4376
- status: z$1.ZodEnum<{
4377
- active: "active";
3941
+ kind: z$1.ZodLiteral<"workflow">;
3942
+ actionKey: z$1.ZodOptional<z$1.ZodString>;
3943
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3944
+ eventKey: z$1.ZodString;
3945
+ label: z$1.ZodString;
3946
+ payloadSchema: z$1.ZodOptional<z$1.ZodString>;
3947
+ lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
4378
3948
  deprecated: "deprecated";
4379
- archived: "archived";
4380
- }>;
4381
- kind: z$1.ZodLiteral<"workflow">;
4382
- capabilityKey: z$1.ZodOptional<z$1.ZodString>;
4383
- }, z$1.core.$strip>, z$1.ZodObject<{
4384
- id: z$1.ZodString;
4385
- systemId: z$1.ZodString;
4386
- ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4387
- status: z$1.ZodEnum<{
3949
+ draft: "draft";
3950
+ beta: "beta";
4388
3951
  active: "active";
4389
- deprecated: "deprecated";
4390
3952
  archived: "archived";
3953
+ }>>;
3954
+ }, z$1.core.$strip>>>;
3955
+ }, z$1.core.$strip>, z$1.ZodObject<{
3956
+ id: z$1.ZodString;
3957
+ order: z$1.ZodDefault<z$1.ZodNumber>;
3958
+ systemPath: z$1.ZodString;
3959
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3960
+ status: z$1.ZodEnum<{
3961
+ deprecated: "deprecated";
3962
+ active: "active";
3963
+ archived: "archived";
3964
+ }>;
3965
+ ontology: z$1.ZodOptional<z$1.ZodObject<{
3966
+ implements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3967
+ reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3968
+ writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3969
+ usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3970
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3971
+ }, z$1.core.$strip>>;
3972
+ codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3973
+ path: z$1.ZodString;
3974
+ role: z$1.ZodEnum<{
3975
+ schema: "schema";
3976
+ config: "config";
3977
+ entrypoint: "entrypoint";
3978
+ handler: "handler";
3979
+ test: "test";
3980
+ docs: "docs";
4391
3981
  }>;
4392
- kind: z$1.ZodLiteral<"agent">;
4393
- agentKind: z$1.ZodEnum<{
4394
- orchestrator: "orchestrator";
4395
- specialist: "specialist";
4396
- utility: "utility";
4397
- system: "system";
4398
- }>;
4399
- actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
4400
- sessionCapable: z$1.ZodBoolean;
3982
+ symbol: z$1.ZodOptional<z$1.ZodString>;
3983
+ description: z$1.ZodOptional<z$1.ZodString>;
3984
+ }, z$1.core.$strip>>>;
3985
+ kind: z$1.ZodLiteral<"agent">;
3986
+ agentKind: z$1.ZodEnum<{
3987
+ platform: "platform";
3988
+ orchestrator: "orchestrator";
3989
+ specialist: "specialist";
3990
+ utility: "utility";
3991
+ }>;
3992
+ actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
3993
+ sessionCapable: z$1.ZodBoolean;
3994
+ invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3995
+ kind: z$1.ZodLiteral<"slash-command">;
3996
+ command: z$1.ZodString;
3997
+ toolFactory: z$1.ZodOptional<z$1.ZodString>;
4401
3998
  }, z$1.core.$strip>, z$1.ZodObject<{
4402
- id: z$1.ZodString;
4403
- systemId: z$1.ZodString;
4404
- ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4405
- status: z$1.ZodEnum<{
4406
- active: "active";
4407
- deprecated: "deprecated";
4408
- archived: "archived";
3999
+ kind: z$1.ZodLiteral<"mcp-tool">;
4000
+ server: z$1.ZodString;
4001
+ name: z$1.ZodString;
4002
+ }, z$1.core.$strip>, z$1.ZodObject<{
4003
+ kind: z$1.ZodLiteral<"api-endpoint">;
4004
+ method: z$1.ZodEnum<{
4005
+ GET: "GET";
4006
+ POST: "POST";
4007
+ PATCH: "PATCH";
4008
+ DELETE: "DELETE";
4409
4009
  }>;
4410
- kind: z$1.ZodLiteral<"integration">;
4411
- provider: z$1.ZodString;
4010
+ path: z$1.ZodString;
4011
+ requestSchema: z$1.ZodOptional<z$1.ZodString>;
4012
+ responseSchema: z$1.ZodOptional<z$1.ZodString>;
4013
+ }, z$1.core.$strip>, z$1.ZodObject<{
4014
+ kind: z$1.ZodLiteral<"script-execution">;
4015
+ resourceId: z$1.ZodString;
4412
4016
  }, z$1.core.$strip>], "kind">>>;
4413
- }, z$1.core.$strip>>;
4414
- statuses: z$1.ZodDefault<z$1.ZodObject<{
4415
- entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4416
- id: z$1.ZodString;
4017
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
4018
+ eventKey: z$1.ZodString;
4417
4019
  label: z$1.ZodString;
4418
- semanticClass: z$1.ZodEnum<{
4419
- "delivery.project": "delivery.project";
4420
- "delivery.milestone": "delivery.milestone";
4421
- "delivery.task": "delivery.task";
4422
- queue: "queue";
4423
- execution: "execution";
4424
- schedule: "schedule";
4425
- "schedule.run": "schedule.run";
4426
- request: "request";
4020
+ payloadSchema: z$1.ZodOptional<z$1.ZodString>;
4021
+ lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
4022
+ deprecated: "deprecated";
4023
+ draft: "draft";
4024
+ beta: "beta";
4025
+ active: "active";
4026
+ archived: "archived";
4027
+ }>>;
4028
+ }, z$1.core.$strip>>>;
4029
+ }, z$1.core.$strip>, z$1.ZodObject<{
4030
+ id: z$1.ZodString;
4031
+ order: z$1.ZodDefault<z$1.ZodNumber>;
4032
+ systemPath: z$1.ZodString;
4033
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4034
+ status: z$1.ZodEnum<{
4035
+ deprecated: "deprecated";
4036
+ active: "active";
4037
+ archived: "archived";
4038
+ }>;
4039
+ ontology: z$1.ZodOptional<z$1.ZodObject<{
4040
+ implements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4041
+ reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4042
+ writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4043
+ usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4044
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4045
+ }, z$1.core.$strip>>;
4046
+ codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4047
+ path: z$1.ZodString;
4048
+ role: z$1.ZodEnum<{
4049
+ schema: "schema";
4050
+ config: "config";
4051
+ entrypoint: "entrypoint";
4052
+ handler: "handler";
4053
+ test: "test";
4054
+ docs: "docs";
4427
4055
  }>;
4428
- category: z$1.ZodOptional<z$1.ZodString>;
4056
+ symbol: z$1.ZodOptional<z$1.ZodString>;
4057
+ description: z$1.ZodOptional<z$1.ZodString>;
4429
4058
  }, z$1.core.$strip>>>;
4430
- }, z$1.core.$strip>>;
4431
- operations: z$1.ZodDefault<z$1.ZodObject<{
4432
- entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4433
- id: z$1.ZodString;
4434
- label: z$1.ZodString;
4435
- semanticClass: z$1.ZodEnum<{
4436
- queue: "queue";
4437
- executions: "executions";
4438
- sessions: "sessions";
4439
- notifications: "notifications";
4440
- schedules: "schedules";
4059
+ kind: z$1.ZodLiteral<"integration">;
4060
+ provider: z$1.ZodString;
4061
+ }, z$1.core.$strip>, z$1.ZodObject<{
4062
+ id: z$1.ZodString;
4063
+ order: z$1.ZodDefault<z$1.ZodNumber>;
4064
+ systemPath: z$1.ZodString;
4065
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4066
+ status: z$1.ZodEnum<{
4067
+ deprecated: "deprecated";
4068
+ active: "active";
4069
+ archived: "archived";
4070
+ }>;
4071
+ ontology: z$1.ZodOptional<z$1.ZodObject<{
4072
+ implements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4073
+ reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4074
+ writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4075
+ usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4076
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4077
+ }, z$1.core.$strip>>;
4078
+ codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4079
+ path: z$1.ZodString;
4080
+ role: z$1.ZodEnum<{
4081
+ schema: "schema";
4082
+ config: "config";
4083
+ entrypoint: "entrypoint";
4084
+ handler: "handler";
4085
+ test: "test";
4086
+ docs: "docs";
4441
4087
  }>;
4442
- featureId: z$1.ZodOptional<z$1.ZodString>;
4443
- supportedStatusSemanticClass: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4088
+ symbol: z$1.ZodOptional<z$1.ZodString>;
4089
+ description: z$1.ZodOptional<z$1.ZodString>;
4444
4090
  }, z$1.core.$strip>>>;
4445
- }, z$1.core.$strip>>;
4446
- knowledge: z$1.ZodDefault<z$1.ZodObject<{
4447
- nodes: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4448
- id: z$1.ZodString;
4091
+ kind: z$1.ZodLiteral<"script">;
4092
+ language: z$1.ZodEnum<{
4093
+ shell: "shell";
4094
+ sql: "sql";
4095
+ typescript: "typescript";
4096
+ python: "python";
4097
+ }>;
4098
+ source: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
4099
+ file: z$1.ZodString;
4100
+ }, z$1.core.$strip>]>;
4101
+ }, z$1.core.$strip>], "kind">>>>;
4102
+ actions: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4103
+ id: z$1.ZodString;
4104
+ order: z$1.ZodNumber;
4105
+ label: z$1.ZodString;
4106
+ description: z$1.ZodOptional<z$1.ZodString>;
4107
+ scope: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodLiteral<"global">, z$1.ZodObject<{
4108
+ domain: z$1.ZodString;
4109
+ }, z$1.core.$strip>]>>;
4110
+ resourceId: z$1.ZodOptional<z$1.ZodString>;
4111
+ affects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4112
+ invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4113
+ kind: z$1.ZodLiteral<"slash-command">;
4114
+ command: z$1.ZodString;
4115
+ toolFactory: z$1.ZodOptional<z$1.ZodString>;
4116
+ }, z$1.core.$strip>, z$1.ZodObject<{
4117
+ kind: z$1.ZodLiteral<"mcp-tool">;
4118
+ server: z$1.ZodString;
4119
+ name: z$1.ZodString;
4120
+ }, z$1.core.$strip>, z$1.ZodObject<{
4121
+ kind: z$1.ZodLiteral<"api-endpoint">;
4122
+ method: z$1.ZodEnum<{
4123
+ GET: "GET";
4124
+ POST: "POST";
4125
+ PATCH: "PATCH";
4126
+ DELETE: "DELETE";
4127
+ }>;
4128
+ path: z$1.ZodString;
4129
+ requestSchema: z$1.ZodOptional<z$1.ZodString>;
4130
+ responseSchema: z$1.ZodOptional<z$1.ZodString>;
4131
+ }, z$1.core.$strip>, z$1.ZodObject<{
4132
+ kind: z$1.ZodLiteral<"script-execution">;
4133
+ resourceId: z$1.ZodString;
4134
+ }, z$1.core.$strip>], "kind">>>;
4135
+ knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
4136
+ lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4137
+ deprecated: "deprecated";
4138
+ draft: "draft";
4139
+ beta: "beta";
4140
+ active: "active";
4141
+ archived: "archived";
4142
+ }>>;
4143
+ }, z$1.core.$strip>>>>;
4144
+ entities: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4145
+ id: z$1.ZodString;
4146
+ order: z$1.ZodNumber;
4147
+ label: z$1.ZodString;
4148
+ description: z$1.ZodOptional<z$1.ZodString>;
4149
+ ownedBySystemId: z$1.ZodString;
4150
+ table: z$1.ZodOptional<z$1.ZodString>;
4151
+ rowSchema: z$1.ZodOptional<z$1.ZodString>;
4152
+ stateCatalogId: z$1.ZodOptional<z$1.ZodString>;
4153
+ links: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
4154
+ toEntity: z$1.ZodString;
4449
4155
  kind: z$1.ZodEnum<{
4450
- playbook: "playbook";
4451
- strategy: "strategy";
4452
- reference: "reference";
4156
+ "belongs-to": "belongs-to";
4157
+ "has-many": "has-many";
4158
+ "has-one": "has-one";
4159
+ "many-to-many": "many-to-many";
4453
4160
  }>;
4454
- title: z$1.ZodString;
4455
- summary: z$1.ZodString;
4456
- icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4457
- "nav.dashboard": "nav.dashboard";
4458
- "nav.calendar": "nav.calendar";
4459
- "nav.sales": "nav.sales";
4460
- "nav.crm": "nav.crm";
4461
- "nav.lead-gen": "nav.lead-gen";
4462
- "nav.projects": "nav.projects";
4463
- "nav.operations": "nav.operations";
4464
- "nav.monitoring": "nav.monitoring";
4465
- "nav.knowledge": "nav.knowledge";
4466
- "nav.settings": "nav.settings";
4467
- "nav.admin": "nav.admin";
4468
- "nav.archive": "nav.archive";
4469
- "knowledge.playbook": "knowledge.playbook";
4470
- "knowledge.strategy": "knowledge.strategy";
4471
- "knowledge.reference": "knowledge.reference";
4472
- "feature.dashboard": "feature.dashboard";
4473
- "feature.calendar": "feature.calendar";
4474
- "feature.business": "feature.business";
4475
- "feature.sales": "feature.sales";
4476
- "feature.crm": "feature.crm";
4477
- "feature.finance": "feature.finance";
4478
- "feature.lead-gen": "feature.lead-gen";
4479
- "feature.platform": "feature.platform";
4480
- "feature.projects": "feature.projects";
4481
- "feature.operations": "feature.operations";
4482
- "feature.knowledge": "feature.knowledge";
4483
- "feature.monitoring": "feature.monitoring";
4484
- "feature.settings": "feature.settings";
4485
- "feature.admin": "feature.admin";
4486
- "feature.archive": "feature.archive";
4487
- "feature.seo": "feature.seo";
4488
- "resource.agent": "resource.agent";
4489
- "resource.workflow": "resource.workflow";
4490
- "resource.integration": "resource.integration";
4491
- "resource.database": "resource.database";
4492
- "resource.user": "resource.user";
4493
- "resource.team": "resource.team";
4494
- "integration.gmail": "integration.gmail";
4495
- "integration.google-sheets": "integration.google-sheets";
4496
- "integration.attio": "integration.attio";
4497
- "surface.dashboard": "surface.dashboard";
4498
- "surface.calendar": "surface.calendar";
4499
- "surface.overview": "surface.overview";
4500
- "surface.command-view": "surface.command-view";
4501
- "surface.command-queue": "surface.command-queue";
4502
- "surface.pipeline": "surface.pipeline";
4503
- "surface.lists": "surface.lists";
4504
- "surface.resources": "surface.resources";
4505
- "surface.settings": "surface.settings";
4506
- "status.success": "status.success";
4507
- "status.error": "status.error";
4508
- "status.warning": "status.warning";
4509
- "status.info": "status.info";
4510
- "status.pending": "status.pending";
4511
- "action.approve": "action.approve";
4512
- "action.reject": "action.reject";
4513
- "action.retry": "action.retry";
4514
- "action.edit": "action.edit";
4515
- "action.view": "action.view";
4516
- "action.launch": "action.launch";
4517
- "action.message": "action.message";
4518
- "action.escalate": "action.escalate";
4519
- "action.promote": "action.promote";
4520
- "action.submit": "action.submit";
4521
- "action.email": "action.email";
4522
- }>, z$1.ZodString]>>;
4523
- body: z$1.ZodString;
4524
- links: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4525
- nodeId: z$1.ZodString;
4526
- }, z$1.core.$strip>>>;
4527
- skills: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4528
- domain: z$1.ZodOptional<z$1.ZodString>;
4529
- ownerIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4530
- updatedAt: z$1.ZodString;
4161
+ via: z$1.ZodOptional<z$1.ZodString>;
4162
+ label: z$1.ZodOptional<z$1.ZodString>;
4531
4163
  }, z$1.core.$strip>>>;
4532
- }, z$1.core.$strip>>;
4164
+ }, z$1.core.$strip>>>>;
4165
+ policies: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4166
+ id: z$1.ZodString;
4167
+ order: z$1.ZodNumber;
4168
+ label: z$1.ZodString;
4169
+ description: z$1.ZodOptional<z$1.ZodString>;
4170
+ trigger: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4171
+ kind: z$1.ZodLiteral<"event">;
4172
+ eventId: z$1.ZodString;
4173
+ }, z$1.core.$strip>, z$1.ZodObject<{
4174
+ kind: z$1.ZodLiteral<"action-invocation">;
4175
+ actionId: z$1.ZodString;
4176
+ }, z$1.core.$strip>, z$1.ZodObject<{
4177
+ kind: z$1.ZodLiteral<"schedule">;
4178
+ cron: z$1.ZodString;
4179
+ }, z$1.core.$strip>, z$1.ZodObject<{
4180
+ kind: z$1.ZodLiteral<"manual">;
4181
+ }, z$1.core.$strip>], "kind">;
4182
+ predicate: z$1.ZodDefault<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4183
+ kind: z$1.ZodLiteral<"always">;
4184
+ }, z$1.core.$strip>, z$1.ZodObject<{
4185
+ kind: z$1.ZodLiteral<"expression">;
4186
+ expression: z$1.ZodString;
4187
+ }, z$1.core.$strip>, z$1.ZodObject<{
4188
+ kind: z$1.ZodLiteral<"threshold">;
4189
+ metric: z$1.ZodString;
4190
+ operator: z$1.ZodEnum<{
4191
+ lt: "lt";
4192
+ lte: "lte";
4193
+ eq: "eq";
4194
+ gte: "gte";
4195
+ gt: "gt";
4196
+ }>;
4197
+ value: z$1.ZodNumber;
4198
+ }, z$1.core.$strip>], "kind">>;
4199
+ actions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4200
+ kind: z$1.ZodLiteral<"require-approval">;
4201
+ roleId: z$1.ZodOptional<z$1.ZodString>;
4202
+ }, z$1.core.$strip>, z$1.ZodObject<{
4203
+ kind: z$1.ZodLiteral<"invoke-action">;
4204
+ actionId: z$1.ZodString;
4205
+ }, z$1.core.$strip>, z$1.ZodObject<{
4206
+ kind: z$1.ZodLiteral<"notify-role">;
4207
+ roleId: z$1.ZodString;
4208
+ }, z$1.core.$strip>, z$1.ZodObject<{
4209
+ kind: z$1.ZodLiteral<"block">;
4210
+ }, z$1.core.$strip>], "kind">>;
4211
+ appliesTo: z$1.ZodDefault<z$1.ZodObject<{
4212
+ systemIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4213
+ actionIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4214
+ resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4215
+ roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4216
+ }, z$1.core.$strip>>;
4217
+ lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4218
+ deprecated: "deprecated";
4219
+ draft: "draft";
4220
+ beta: "beta";
4221
+ active: "active";
4222
+ archived: "archived";
4223
+ }>>;
4224
+ }, z$1.core.$strip>>>>;
4225
+ knowledge: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4226
+ id: z$1.ZodString;
4227
+ kind: z$1.ZodEnum<{
4228
+ playbook: "playbook";
4229
+ strategy: "strategy";
4230
+ reference: "reference";
4231
+ }>;
4232
+ title: z$1.ZodString;
4233
+ summary: z$1.ZodString;
4234
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4235
+ message: "message";
4236
+ error: "error";
4237
+ agent: "agent";
4238
+ workflow: "workflow";
4239
+ "google-sheets": "google-sheets";
4240
+ dashboard: "dashboard";
4241
+ calendar: "calendar";
4242
+ sales: "sales";
4243
+ crm: "crm";
4244
+ "lead-gen": "lead-gen";
4245
+ projects: "projects";
4246
+ operations: "operations";
4247
+ monitoring: "monitoring";
4248
+ knowledge: "knowledge";
4249
+ settings: "settings";
4250
+ admin: "admin";
4251
+ archive: "archive";
4252
+ business: "business";
4253
+ finance: "finance";
4254
+ platform: "platform";
4255
+ seo: "seo";
4256
+ playbook: "playbook";
4257
+ strategy: "strategy";
4258
+ reference: "reference";
4259
+ integration: "integration";
4260
+ database: "database";
4261
+ user: "user";
4262
+ team: "team";
4263
+ gmail: "gmail";
4264
+ attio: "attio";
4265
+ overview: "overview";
4266
+ "command-view": "command-view";
4267
+ "command-queue": "command-queue";
4268
+ pipeline: "pipeline";
4269
+ lists: "lists";
4270
+ resources: "resources";
4271
+ approve: "approve";
4272
+ reject: "reject";
4273
+ retry: "retry";
4274
+ edit: "edit";
4275
+ view: "view";
4276
+ launch: "launch";
4277
+ escalate: "escalate";
4278
+ promote: "promote";
4279
+ submit: "submit";
4280
+ email: "email";
4281
+ success: "success";
4282
+ warning: "warning";
4283
+ info: "info";
4284
+ pending: "pending";
4285
+ bolt: "bolt";
4286
+ building: "building";
4287
+ briefcase: "briefcase";
4288
+ apps: "apps";
4289
+ graph: "graph";
4290
+ shield: "shield";
4291
+ users: "users";
4292
+ "chart-bar": "chart-bar";
4293
+ search: "search";
4294
+ }>, z$1.ZodString]>>;
4295
+ externalUrl: z$1.ZodOptional<z$1.ZodString>;
4296
+ sourceFilePath: z$1.ZodOptional<z$1.ZodString>;
4297
+ body: z$1.ZodString;
4298
+ links: z$1.ZodDefault<z$1.ZodArray<z$1.ZodPipe<z$1.ZodUnion<readonly [z$1.ZodObject<{
4299
+ target: z$1.ZodObject<{
4300
+ kind: z$1.ZodEnum<{
4301
+ knowledge: "knowledge";
4302
+ system: "system";
4303
+ action: "action";
4304
+ ontology: "ontology";
4305
+ role: "role";
4306
+ goal: "goal";
4307
+ stage: "stage";
4308
+ resource: "resource";
4309
+ "customer-segment": "customer-segment";
4310
+ offering: "offering";
4311
+ "content-node": "content-node";
4312
+ }>;
4313
+ id: z$1.ZodString;
4314
+ }, z$1.core.$strip>;
4315
+ }, z$1.core.$strip>, z$1.ZodObject<{
4316
+ nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
4317
+ }, z$1.core.$strip>]>, z$1.ZodTransform<{
4318
+ target: {
4319
+ kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
4320
+ id: string;
4321
+ };
4322
+ nodeId: string;
4323
+ }, {
4324
+ nodeId: string;
4325
+ } | {
4326
+ target: {
4327
+ kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
4328
+ id: string;
4329
+ };
4330
+ }>>>>;
4331
+ ownerIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4332
+ updatedAt: z$1.ZodString;
4333
+ }, z$1.core.$strip>>>>;
4533
4334
  }, z$1.core.$strip>;
4534
4335
 
4535
4336
  type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
4536
- type OrganizationModelFeature = z$1.infer<typeof FeatureSchema>;
4337
+ type OrganizationModelSystemEntry = z$1.infer<typeof SystemEntrySchema>;
4537
4338
 
4538
4339
  /**
4539
4340
  * All valid dotted paths into T.
@@ -4593,11 +4394,11 @@ interface StepConfigLayout<T> {
4593
4394
 
4594
4395
  type ListBuilderWorkflowCategory = 'build' | 'enrich' | 'qualify' | 'scrape' | 'utility';
4595
4396
  type LeadGenStageKey = string;
4596
- type LeadGenCapabilityKey = string;
4397
+ type LeadGenActionKey = string;
4597
4398
  interface ListBuilderWorkflow {
4598
4399
  resourceId: string;
4599
4400
  workflowId?: string;
4600
- capabilityKey?: LeadGenCapabilityKey;
4401
+ actionKey?: LeadGenActionKey;
4601
4402
  label: string;
4602
4403
  description: string;
4603
4404
  category: ListBuilderWorkflowCategory;
@@ -4871,76 +4672,96 @@ interface SSEConnectionManagerLike {
4871
4672
  type ElevasisOrganizationModel = Omit<OrganizationModel, 'knowledge'> & {
4872
4673
  knowledge?: OrganizationModel['knowledge'];
4873
4674
  };
4874
- type FeatureSidebarComponent = ComponentType;
4875
- type FeatureIconComponent = ComponentType<{
4675
+ type SystemSidebarComponent = ComponentType;
4676
+ type SystemIconComponent = ComponentType<{
4876
4677
  size?: number;
4877
4678
  stroke?: number;
4878
4679
  }>;
4879
- type FeatureSidebarWidthResolver = number | ((context: {
4680
+ type SystemSidebarWidthResolver = number | ((context: {
4880
4681
  currentPath: string;
4881
4682
  }) => number);
4882
- interface FeatureModule {
4883
- /** Unique stable identifier for this feature module. */
4683
+ interface SystemModule {
4684
+ /** Unique stable identifier for this UI system module. */
4884
4685
  key: string;
4885
- /** Organization Model feature id this module presents. */
4886
- featureId: string;
4887
- /** Capability identifiers contributed by this feature module. */
4686
+ /** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
4687
+ systemId?: string;
4688
+ /** Route prefixes owned by navigation-only app surfaces. */
4689
+ routePrefixes?: string[];
4690
+ /** Capability identifiers contributed by this system module. */
4888
4691
  capabilityIds?: string[];
4889
- /** Icon used when this feature node appears in shell navigation. */
4890
- icon?: FeatureIconComponent;
4891
- /** Sidebar component rendered when this feature's subtree route is active. */
4892
- sidebar?: FeatureSidebarComponent;
4692
+ /** Icon used when this system node appears in shell navigation. */
4693
+ icon?: SystemIconComponent;
4694
+ /** Sidebar component rendered when this system's subtree route is active. */
4695
+ sidebar?: SystemSidebarComponent;
4893
4696
  /** Optional shell sidebar width override. Defaults to 250px. */
4894
- sidebarWidth?: FeatureSidebarWidthResolver;
4895
- /** Operations-only bridge connecting this feature to the organization graph node. */
4896
- organizationGraph?: OrganizationGraphFeatureBridge;
4697
+ sidebarWidth?: SystemSidebarWidthResolver;
4698
+ /** Operations-only bridge connecting this system to the organization graph node. */
4699
+ organizationGraph?: OrganizationGraphSystemBridge;
4897
4700
  }
4898
- interface ResolvedFeatureAccess {
4899
- featureId: string;
4701
+ interface ResolvedSystemAccess {
4702
+ featureKey: string;
4703
+ systemId?: string;
4900
4704
  enabled: boolean;
4901
4705
  }
4902
- interface ResolvedFeatureSemantics {
4706
+ interface ResolvedSystemSemantics {
4903
4707
  capabilityIds: string[];
4904
4708
  }
4905
- interface ResolvedFeatureModule extends FeatureModule {
4906
- access: ResolvedFeatureAccess;
4907
- semantics: ResolvedFeatureSemantics;
4908
- }
4909
- interface ResolvedShellFeature extends OrganizationModelFeature {
4910
- iconComponent?: FeatureIconComponent;
4709
+ interface ResolvedSystemModule extends SystemModule {
4710
+ access: ResolvedSystemAccess;
4711
+ semantics: ResolvedSystemSemantics;
4911
4712
  }
4713
+ type ResolvedShellSystem = OrganizationModelSystemEntry & {
4714
+ label: string;
4715
+ iconComponent?: SystemIconComponent;
4716
+ };
4912
4717
  interface ResolvedShellModel {
4913
- features: readonly ResolvedShellFeature[];
4914
- findByPath: (path: string) => ResolvedShellFeature | undefined;
4915
- findById: (id: string) => ResolvedShellFeature | undefined;
4916
- childrenOf: (id: string) => ResolvedShellFeature[];
4917
- ancestorsOf: (id: string) => ResolvedShellFeature[];
4918
- parentOf: (id: string) => ResolvedShellFeature | undefined;
4919
- topLevel: () => ResolvedShellFeature[];
4920
- uiPositionFor: (id: string) => OrganizationModelFeature['uiPosition'] | undefined;
4718
+ systems: readonly ResolvedShellSystem[];
4719
+ findByPath: (path: string) => ResolvedShellSystem | undefined;
4720
+ findById: (id: string) => ResolvedShellSystem | undefined;
4721
+ childrenOf: (id: string) => ResolvedShellSystem[];
4722
+ ancestorsOf: (id: string) => ResolvedShellSystem[];
4723
+ parentOf: (id: string) => ResolvedShellSystem | undefined;
4724
+ topLevel: () => ResolvedShellSystem[];
4921
4725
  requiresAdminFor: (id: string) => boolean;
4922
4726
  devOnlyFor: (id: string) => boolean;
4923
4727
  }
4728
+ interface ShellSidebarLinkItem {
4729
+ label: string;
4730
+ link: string;
4731
+ exact?: boolean;
4732
+ activeMatchPaths?: string[];
4733
+ }
4734
+ interface ShellSidebarLinkGroup {
4735
+ icon: SystemIconComponent;
4736
+ label: string;
4737
+ links?: ShellSidebarLinkItem[];
4738
+ link?: string;
4739
+ }
4740
+ interface ShellSidebarProjectionOptions {
4741
+ isPlatformAdmin?: boolean;
4742
+ isDev?: boolean;
4743
+ section?: 'primary' | 'bottom';
4744
+ }
4924
4745
  type ShellRouteMatchStatus = 'matched' | 'hidden' | 'unmatched';
4925
4746
  interface ResolvedShellRouteMatch {
4926
4747
  status: ShellRouteMatchStatus;
4927
4748
  path: string;
4928
- feature?: ResolvedFeatureModule;
4929
- node?: ResolvedShellFeature;
4749
+ system?: ResolvedSystemModule;
4750
+ node?: ResolvedShellSystem;
4930
4751
  }
4931
4752
  interface ShellRuntime {
4932
4753
  resolveRoute: (path: string) => ResolvedShellRouteMatch;
4933
4754
  }
4934
- interface OrganizationGraphFeatureBridge {
4935
- featureId: string;
4755
+ interface OrganizationGraphSystemBridge {
4756
+ systemId?: string;
4936
4757
  }
4937
4758
  interface OrganizationGraphContextValue {
4938
4759
  available: boolean;
4939
- featureId?: string;
4940
- featurePath?: string;
4760
+ systemId?: string;
4761
+ systemPath?: string;
4941
4762
  }
4942
- interface ElevasisFeaturesProviderProps {
4943
- features: FeatureModule[];
4763
+ interface ElevasisSystemsProviderProps {
4764
+ systems?: SystemModule[];
4944
4765
  organizationModel?: ElevasisOrganizationModel;
4945
4766
  timeRange?: TimeRange;
4946
4767
  operationsApiUrl?: string;
@@ -4950,11 +4771,12 @@ interface ElevasisFeaturesProviderProps {
4950
4771
  disabledSubsectionPaths?: string[];
4951
4772
  children: ReactNode;
4952
4773
  }
4953
- interface ElevasisFeaturesContextValue {
4774
+ interface ElevasisSystemsContextValue {
4954
4775
  shellModel: ResolvedShellModel;
4955
4776
  shellRuntime: ShellRuntime;
4956
- enabledResolvedFeatures: ResolvedFeatureModule[];
4957
- resolvedFeatures: ResolvedFeatureModule[];
4777
+ getSidebarLinks: (options?: ShellSidebarProjectionOptions) => ShellSidebarLinkGroup[];
4778
+ enabledResolvedSystems: ResolvedSystemModule[];
4779
+ resolvedSystems: ResolvedSystemModule[];
4958
4780
  organizationGraph: OrganizationGraphContextValue;
4959
4781
  organizationModel?: OrganizationModel;
4960
4782
  timeRange?: TimeRange;
@@ -4963,15 +4785,15 @@ interface ElevasisFeaturesContextValue {
4963
4785
  deliveryApiUrl?: string;
4964
4786
  deliverySSEManager?: SSEConnectionManagerLike;
4965
4787
  disabledSubsectionPaths: string[];
4966
- isFeatureEnabled: (key: string) => boolean;
4967
- getResolvedFeature: (key: string) => ResolvedFeatureModule | undefined;
4788
+ isSystemEnabled: (key: string) => boolean;
4789
+ getResolvedSystem: (key: string) => ResolvedSystemModule | undefined;
4968
4790
  }
4969
4791
 
4970
- declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
4971
- declare function useOptionalElevasisFeatures(): ElevasisFeaturesContextValue | null;
4972
- declare function ElevasisFeaturesProvider({ features, organizationModel, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
4792
+ declare function useElevasisSystems(): ElevasisSystemsContextValue;
4793
+ declare function useOptionalElevasisSystems(): ElevasisSystemsContextValue | null;
4794
+ declare function ElevasisSystemsProvider({ systems, organizationModel, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, children }: ElevasisSystemsProviderProps): react_jsx_runtime.JSX.Element;
4973
4795
 
4974
- declare function FeatureShell({ children }: {
4796
+ declare function SystemShell({ children }: {
4975
4797
  children: ReactNode;
4976
4798
  }): react_jsx_runtime.JSX.Element;
4977
4799
 
@@ -5041,13 +4863,13 @@ interface ElevasisUIProviderProps extends Omit<ElevasisCoreProviderProps, 'theme
5041
4863
  }
5042
4864
  declare function ElevasisUIProvider({ theme, children, ...coreProps }: ElevasisUIProviderProps): react_jsx_runtime.JSX.Element;
5043
4865
 
5044
- interface CreateTestFeaturesProviderOptions {
4866
+ interface CreateTestSystemsProviderOptions {
5045
4867
  organizationModel?: OrganizationModel;
5046
- features?: FeatureModule[];
4868
+ systems?: SystemModule[];
5047
4869
  }
5048
- declare function createTestFeaturesProvider({ organizationModel, features }?: CreateTestFeaturesProviderOptions): ({ children }: {
4870
+ declare function createTestSystemsProvider({ organizationModel, systems }?: CreateTestSystemsProviderOptions): ({ children }: {
5049
4871
  children: ReactNode;
5050
4872
  }) => react_jsx_runtime.JSX.Element;
5051
4873
 
5052
- export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, ListActionsProvider, NotificationProvider, createTestFeaturesProvider, useAppearance, useCrmActions, useElevasisFeatures, useElevasisServices, useListActions, useNotificationAdapter, useOptionalElevasisFeatures };
5053
- export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestFeaturesProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, LeadGenStageKey, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, PresetName, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ShellRouteMatchStatus, ShellRuntime, WithSchemes };
4874
+ export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisServices, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems };
4875
+ export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestSystemsProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, LeadGenStageKey, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphSystemBridge, PresetName, ResolvedShellModel, ResolvedShellRouteMatch, ResolvedShellSystem, ResolvedSystemAccess, ResolvedSystemModule, ResolvedSystemSemantics, ShellRouteMatchStatus, ShellRuntime, ShellSidebarLinkGroup, ShellSidebarLinkItem, ShellSidebarProjectionOptions, SystemIconComponent, SystemModule, SystemSidebarComponent, WithSchemes };