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