@elevasis/ui 2.33.2 → 2.35.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 (116) hide show
  1. package/dist/api/index.d.ts +9 -2
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.css +452 -0
  4. package/dist/app/index.d.ts +1255 -8
  5. package/dist/app/index.js +151 -13
  6. package/dist/charts/index.js +3 -6
  7. package/dist/chunk-26HFM4MH.js +41449 -0
  8. package/dist/{chunk-52K5RFDH.js → chunk-4U3XAWCN.js} +1328 -2492
  9. package/dist/{chunk-ND5TDV2J.js → chunk-57OZ3AEG.js} +1 -1
  10. package/dist/{chunk-E4WQGJNS.js → chunk-7FPLLSHN.js} +14 -1
  11. package/dist/{chunk-RQA2EVN3.js → chunk-AKW7KISS.js} +39 -3
  12. package/dist/chunk-AUDNF2Q7.js +2050 -0
  13. package/dist/{chunk-TYRUKGGD.js → chunk-GX6XBRRF.js} +1 -2
  14. package/dist/{chunk-V6SZ4ECN.js → chunk-LUYVRATI.js} +257 -6
  15. package/dist/{chunk-X4WBGKJQ.js → chunk-R3VCBZDC.js} +50 -3
  16. package/dist/chunk-SIQ3P4OR.js +1764 -0
  17. package/dist/{chunk-Z2K2EAPL.js → chunk-VDOOGGBA.js} +5 -6
  18. package/dist/{chunk-3FV6HBXS.js → chunk-WF7CONXF.js} +23 -23
  19. package/dist/chunk-YYX7OPZQ.js +25 -0
  20. package/dist/components/index.d.ts +69 -92
  21. package/dist/components/index.js +20 -3216
  22. package/dist/components/navigation/index.js +25 -7
  23. package/dist/execution/index.d.ts +9 -9
  24. package/dist/execution/index.js +1 -2
  25. package/dist/features/auth/index.js +23 -2
  26. package/dist/features/clients/index.js +20 -31
  27. package/dist/features/crm/index.js +20 -35
  28. package/dist/features/dashboard/index.d.ts +68 -91
  29. package/dist/features/dashboard/index.js +20 -33
  30. package/dist/features/delivery/index.js +20 -35
  31. package/dist/features/knowledge/index.js +25 -11
  32. package/dist/features/lead-gen/index.d.ts +9 -9
  33. package/dist/features/lead-gen/index.js +20 -36
  34. package/dist/features/monitoring/index.js +20 -35
  35. package/dist/features/monitoring/requests/index.js +20 -30
  36. package/dist/features/operations/index.d.ts +197 -188
  37. package/dist/features/operations/index.js +18 -42
  38. package/dist/features/seo/index.js +3 -4
  39. package/dist/features/settings/index.js +20 -32
  40. package/dist/graph/index.js +1 -1
  41. package/dist/hooks/delivery/index.js +30 -2
  42. package/dist/hooks/index.d.ts +105 -112
  43. package/dist/hooks/index.js +20 -26
  44. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +55 -62
  45. package/dist/hooks/published.d.ts +105 -112
  46. package/dist/hooks/published.js +20 -25
  47. package/dist/index.css +532 -532
  48. package/dist/index.d.ts +10261 -6793
  49. package/dist/index.js +22 -31
  50. package/dist/knowledge/index.d.ts +51 -59
  51. package/dist/knowledge/index.js +40 -211
  52. package/dist/{knowledge-search-index-VMAW7FLR.js → knowledge-search-index-ORIJCEZX.js} +3 -3
  53. package/dist/layout/index.js +4 -10
  54. package/dist/organization/index.js +27 -2
  55. package/dist/provider/index.d.ts +71 -52
  56. package/dist/provider/index.js +20 -20
  57. package/dist/provider/published.d.ts +39 -47
  58. package/dist/provider/published.js +20 -15
  59. package/dist/test-utils/index.d.ts +2 -0
  60. package/dist/test-utils/index.js +16 -4
  61. package/dist/test-utils/setup.js +38 -0
  62. package/dist/theme/index.js +2 -3
  63. package/dist/theme/presets/index.d.ts +28 -3
  64. package/dist/theme/presets/index.js +1 -1
  65. package/dist/typeform/index.js +1 -2049
  66. package/dist/types/index.d.ts +88 -95
  67. package/dist/utils/index.d.ts +46 -69
  68. package/dist/utils/index.js +1 -1
  69. package/dist/zustand/index.d.ts +21 -8
  70. package/dist/zustand/index.js +32 -1
  71. package/package.json +5 -5
  72. package/dist/chunk-2ZZ72TAB.js +0 -2281
  73. package/dist/chunk-32I2RCGC.js +0 -85
  74. package/dist/chunk-3MEXPLWT.js +0 -265
  75. package/dist/chunk-3ZMAGTWF.js +0 -18
  76. package/dist/chunk-44I4LOH6.js +0 -1593
  77. package/dist/chunk-4DYOXEH6.js +0 -951
  78. package/dist/chunk-7M2VOCYN.js +0 -1
  79. package/dist/chunk-A4VDJJCV.js +0 -1864
  80. package/dist/chunk-BZZCNLT6.js +0 -12
  81. package/dist/chunk-CLDCYJQT.js +0 -1
  82. package/dist/chunk-E565XMTQ.js +0 -17
  83. package/dist/chunk-EPTHX4VZ.js +0 -749
  84. package/dist/chunk-GWGQI6V4.js +0 -447
  85. package/dist/chunk-HUJCU55S.js +0 -159
  86. package/dist/chunk-IBWMR4TI.js +0 -469
  87. package/dist/chunk-IIMU5YAJ.js +0 -53
  88. package/dist/chunk-IOXOPMYS.js +0 -145
  89. package/dist/chunk-J2UD7BOH.js +0 -347
  90. package/dist/chunk-JA5ECJJB.js +0 -387
  91. package/dist/chunk-JFL3GRD4.js +0 -39
  92. package/dist/chunk-KW7ZNQD7.js +0 -126
  93. package/dist/chunk-LGKLC5MG.js +0 -44
  94. package/dist/chunk-N55DVMAG.js +0 -14
  95. package/dist/chunk-O56ESZCQ.js +0 -1874
  96. package/dist/chunk-OIBHQH5Q.js +0 -96
  97. package/dist/chunk-PDHTXPSF.js +0 -12
  98. package/dist/chunk-QDFJSUG3.js +0 -13
  99. package/dist/chunk-R2XR4FCV.js +0 -48
  100. package/dist/chunk-R66W5UDG.js +0 -26
  101. package/dist/chunk-RYTEQBAO.js +0 -37
  102. package/dist/chunk-SZHARWKU.js +0 -15
  103. package/dist/chunk-T3J6U77J.js +0 -12056
  104. package/dist/chunk-TBVLQRXT.js +0 -68
  105. package/dist/chunk-TGVAIWIL.js +0 -1778
  106. package/dist/chunk-TKAYX2SP.js +0 -204
  107. package/dist/chunk-TUMSNGTX.js +0 -35
  108. package/dist/chunk-VGU4ZFYZ.js +0 -4752
  109. package/dist/chunk-VNAZTCHA.js +0 -65
  110. package/dist/chunk-VNFR57DF.js +0 -87
  111. package/dist/chunk-WKW6B5ID.js +0 -29
  112. package/dist/chunk-XCYKC6OZ.js +0 -1
  113. package/dist/chunk-XZGSCABI.js +0 -383
  114. package/dist/chunk-ZMK5Z6KE.js +0 -5198
  115. /package/dist/{chunk-2RJMVWFJ.js → chunk-GEFWMU26.js} +0 -0
  116. /package/dist/{chunk-22UVE3RA.js → chunk-HENXLGVD.js} +0 -0
@@ -1,9 +1,12 @@
1
- import { ReactNode, ComponentType } from 'react';
1
+ import { ReactNode, ComponentType, ErrorInfo } from 'react';
2
2
  import { AnyRouter } from '@tanstack/react-router';
3
3
  import { QueryClient } from '@tanstack/react-query';
4
4
  import * as z from 'zod';
5
5
  import { z as z$1 } from 'zod';
6
6
  import { MantineThemeOverride } from '@mantine/core';
7
+ import * as react_jsx_runtime from 'react/jsx-runtime';
8
+ import { useAuth } from '@workos-inc/authkit-react';
9
+ import { EventSourceMessage } from '@microsoft/fetch-event-source';
7
10
 
8
11
  type Json = string | number | boolean | null | {
9
12
  [key: string]: Json | undefined;
@@ -3089,6 +3092,21 @@ type Database = {
3089
3092
  };
3090
3093
  };
3091
3094
  };
3095
+ type DatabaseWithoutInternals = Omit<Database, "__InternalSupabase">;
3096
+ type DefaultSchema = DatabaseWithoutInternals[Extract<keyof Database, "public">];
3097
+ type Tables<DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | {
3098
+ schema: keyof DatabaseWithoutInternals;
3099
+ }, TableName extends DefaultSchemaTableNameOrOptions extends {
3100
+ schema: keyof DatabaseWithoutInternals;
3101
+ } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never> = DefaultSchemaTableNameOrOptions extends {
3102
+ schema: keyof DatabaseWithoutInternals;
3103
+ } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends {
3104
+ Row: infer R;
3105
+ } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends {
3106
+ Row: infer R;
3107
+ } ? R : never : never;
3108
+
3109
+ type SupabaseUserProfile = Tables<'users'>;
3092
3110
 
3093
3111
  /**
3094
3112
  * Single list as returned by /api/acquisition/lists/:id etc.
@@ -3104,9 +3122,9 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3104
3122
  status: z$1.ZodEnum<{
3105
3123
  draft: "draft";
3106
3124
  archived: "archived";
3107
- closing: "closing";
3108
3125
  enriching: "enriching";
3109
3126
  launched: "launched";
3127
+ closing: "closing";
3110
3128
  }>;
3111
3129
  metadata: z$1.ZodObject<{
3112
3130
  buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -3145,10 +3163,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3145
3163
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3146
3164
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3147
3165
  text: "text";
3148
- count: "count";
3149
- json: "json";
3150
3166
  badge: "badge";
3151
3167
  datetime: "datetime";
3168
+ count: "count";
3169
+ json: "json";
3152
3170
  }>>;
3153
3171
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3154
3172
  }, z$1.core.$strip>>>;
@@ -3159,10 +3177,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3159
3177
  width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3160
3178
  renderType: z$1.ZodOptional<z$1.ZodEnum<{
3161
3179
  text: "text";
3162
- count: "count";
3163
- json: "json";
3164
3180
  badge: "badge";
3165
3181
  datetime: "datetime";
3182
+ count: "count";
3183
+ json: "json";
3166
3184
  }>>;
3167
3185
  badgeColor: z$1.ZodOptional<z$1.ZodString>;
3168
3186
  }, z$1.core.$strip>>>;
@@ -3227,6 +3245,1097 @@ interface ActionDef {
3227
3245
  payloadSchema?: z$1.ZodTypeAny;
3228
3246
  }
3229
3247
 
3248
+ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3249
+ objectTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3250
+ id: z$1.ZodString;
3251
+ label: z$1.ZodOptional<z$1.ZodString>;
3252
+ description: z$1.ZodOptional<z$1.ZodString>;
3253
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3254
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3255
+ properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3256
+ storage: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3257
+ }, z$1.core.$loose>>>>;
3258
+ linkTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3259
+ id: z$1.ZodString;
3260
+ label: z$1.ZodOptional<z$1.ZodString>;
3261
+ description: z$1.ZodOptional<z$1.ZodString>;
3262
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3263
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3264
+ from: z$1.ZodString;
3265
+ to: z$1.ZodString;
3266
+ cardinality: z$1.ZodOptional<z$1.ZodString>;
3267
+ via: z$1.ZodOptional<z$1.ZodString>;
3268
+ }, z$1.core.$loose>>>>;
3269
+ actionTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3270
+ id: z$1.ZodString;
3271
+ label: z$1.ZodOptional<z$1.ZodString>;
3272
+ description: z$1.ZodOptional<z$1.ZodString>;
3273
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3274
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3275
+ actsOn: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3276
+ input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3277
+ effects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
3278
+ }, z$1.core.$loose>>>>;
3279
+ catalogTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3280
+ id: z$1.ZodString;
3281
+ label: z$1.ZodOptional<z$1.ZodString>;
3282
+ description: z$1.ZodOptional<z$1.ZodString>;
3283
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3284
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3285
+ kind: z$1.ZodOptional<z$1.ZodString>;
3286
+ appliesTo: z$1.ZodOptional<z$1.ZodString>;
3287
+ entries: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3288
+ }, z$1.core.$loose>>>>;
3289
+ eventTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3290
+ id: z$1.ZodString;
3291
+ label: z$1.ZodOptional<z$1.ZodString>;
3292
+ description: z$1.ZodOptional<z$1.ZodString>;
3293
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3294
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3295
+ payload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3296
+ }, z$1.core.$loose>>>>;
3297
+ interfaceTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3298
+ id: z$1.ZodString;
3299
+ label: z$1.ZodOptional<z$1.ZodString>;
3300
+ description: z$1.ZodOptional<z$1.ZodString>;
3301
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3302
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3303
+ properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3304
+ }, z$1.core.$loose>>>>;
3305
+ valueTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3306
+ id: z$1.ZodString;
3307
+ label: z$1.ZodOptional<z$1.ZodString>;
3308
+ description: z$1.ZodOptional<z$1.ZodString>;
3309
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3310
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3311
+ primitive: z$1.ZodOptional<z$1.ZodString>;
3312
+ }, z$1.core.$loose>>>>;
3313
+ sharedProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3314
+ id: z$1.ZodString;
3315
+ label: z$1.ZodOptional<z$1.ZodString>;
3316
+ description: z$1.ZodOptional<z$1.ZodString>;
3317
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3318
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3319
+ valueType: z$1.ZodOptional<z$1.ZodString>;
3320
+ searchable: z$1.ZodOptional<z$1.ZodBoolean>;
3321
+ pii: z$1.ZodOptional<z$1.ZodBoolean>;
3322
+ }, z$1.core.$loose>>>>;
3323
+ groups: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3324
+ id: z$1.ZodString;
3325
+ label: z$1.ZodOptional<z$1.ZodString>;
3326
+ description: z$1.ZodOptional<z$1.ZodString>;
3327
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3328
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3329
+ members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3330
+ }, z$1.core.$loose>>>>;
3331
+ surfaces: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3332
+ id: z$1.ZodString;
3333
+ label: z$1.ZodOptional<z$1.ZodString>;
3334
+ description: z$1.ZodOptional<z$1.ZodString>;
3335
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3336
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3337
+ route: z$1.ZodOptional<z$1.ZodString>;
3338
+ }, z$1.core.$loose>>>>;
3339
+ }, z$1.core.$strip>>;
3340
+ type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
3341
+
3342
+ type JsonPrimitive = string | number | boolean | null;
3343
+ type JsonValue = JsonPrimitive | JsonValue[] | {
3344
+ [key: string]: JsonValue;
3345
+ };
3346
+ /** Explicit interface needed to annotate the recursive SystemEntrySchema. */
3347
+ interface SystemEntry {
3348
+ id: string;
3349
+ label?: string;
3350
+ title?: string;
3351
+ description?: string;
3352
+ kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
3353
+ parentSystemId?: string;
3354
+ ui?: {
3355
+ path: string;
3356
+ surfaces: string[];
3357
+ icon?: string;
3358
+ order?: number;
3359
+ };
3360
+ lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
3361
+ responsibleRoleId?: string;
3362
+ governedByKnowledge?: string[];
3363
+ actions?: {
3364
+ actionId: string;
3365
+ intent: 'exposes' | 'consumes';
3366
+ invocation?: unknown;
3367
+ }[];
3368
+ policies?: string[];
3369
+ drivesGoals?: string[];
3370
+ /** @deprecated Use lifecycle. Accepted for one publish cycle. */
3371
+ status?: 'active' | 'deprecated' | 'archived';
3372
+ path?: string;
3373
+ icon?: string;
3374
+ color?: string;
3375
+ uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
3376
+ enabled?: boolean;
3377
+ devOnly?: boolean;
3378
+ requiresAdmin?: boolean;
3379
+ order: number;
3380
+ config?: Record<string, JsonValue>;
3381
+ ontology?: OntologyScope;
3382
+ systems?: Record<string, SystemEntry>;
3383
+ subsystems?: Record<string, SystemEntry>;
3384
+ }
3385
+
3386
+ declare const SurfaceTypeSchema: z$1.ZodEnum<{
3387
+ dashboard: "dashboard";
3388
+ settings: "settings";
3389
+ graph: "graph";
3390
+ list: "list";
3391
+ page: "page";
3392
+ detail: "detail";
3393
+ }>;
3394
+ interface SidebarSurfaceNode {
3395
+ type: 'surface';
3396
+ label: string;
3397
+ path: string;
3398
+ surfaceType: z$1.infer<typeof SurfaceTypeSchema>;
3399
+ description?: string;
3400
+ icon?: string;
3401
+ order?: number;
3402
+ targets?: {
3403
+ systems?: string[];
3404
+ entities?: string[];
3405
+ resources?: string[];
3406
+ actions?: string[];
3407
+ };
3408
+ devOnly?: boolean;
3409
+ requiresAdmin?: boolean;
3410
+ }
3411
+ interface SidebarGroupNode {
3412
+ type: 'group';
3413
+ label: string;
3414
+ description?: string;
3415
+ icon?: string;
3416
+ order?: number;
3417
+ children: Record<string, SidebarNode>;
3418
+ }
3419
+ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
3420
+
3421
+ declare const OrganizationModelSchema: z$1.ZodObject<{
3422
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3423
+ domainMetadata: z$1.ZodPipe<z$1.ZodDefault<z$1.ZodObject<{
3424
+ branding: z$1.ZodOptional<z$1.ZodObject<{
3425
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3426
+ lastModified: z$1.ZodString;
3427
+ }, z$1.core.$strip>>;
3428
+ identity: z$1.ZodOptional<z$1.ZodObject<{
3429
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3430
+ lastModified: z$1.ZodString;
3431
+ }, z$1.core.$strip>>;
3432
+ customers: z$1.ZodOptional<z$1.ZodObject<{
3433
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3434
+ lastModified: z$1.ZodString;
3435
+ }, z$1.core.$strip>>;
3436
+ offerings: z$1.ZodOptional<z$1.ZodObject<{
3437
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3438
+ lastModified: z$1.ZodString;
3439
+ }, z$1.core.$strip>>;
3440
+ roles: z$1.ZodOptional<z$1.ZodObject<{
3441
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3442
+ lastModified: z$1.ZodString;
3443
+ }, z$1.core.$strip>>;
3444
+ goals: z$1.ZodOptional<z$1.ZodObject<{
3445
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3446
+ lastModified: z$1.ZodString;
3447
+ }, z$1.core.$strip>>;
3448
+ systems: z$1.ZodOptional<z$1.ZodObject<{
3449
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3450
+ lastModified: z$1.ZodString;
3451
+ }, z$1.core.$strip>>;
3452
+ ontology: z$1.ZodOptional<z$1.ZodObject<{
3453
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3454
+ lastModified: z$1.ZodString;
3455
+ }, z$1.core.$strip>>;
3456
+ resources: z$1.ZodOptional<z$1.ZodObject<{
3457
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3458
+ lastModified: z$1.ZodString;
3459
+ }, z$1.core.$strip>>;
3460
+ topology: z$1.ZodOptional<z$1.ZodObject<{
3461
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3462
+ lastModified: z$1.ZodString;
3463
+ }, z$1.core.$strip>>;
3464
+ actions: z$1.ZodOptional<z$1.ZodObject<{
3465
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3466
+ lastModified: z$1.ZodString;
3467
+ }, z$1.core.$strip>>;
3468
+ entities: z$1.ZodOptional<z$1.ZodObject<{
3469
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3470
+ lastModified: z$1.ZodString;
3471
+ }, z$1.core.$strip>>;
3472
+ policies: z$1.ZodOptional<z$1.ZodObject<{
3473
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3474
+ lastModified: z$1.ZodString;
3475
+ }, z$1.core.$strip>>;
3476
+ knowledge: z$1.ZodOptional<z$1.ZodObject<{
3477
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3478
+ lastModified: z$1.ZodString;
3479
+ }, z$1.core.$strip>>;
3480
+ }, z$1.core.$strip>>, z$1.ZodTransform<{
3481
+ branding: {
3482
+ version: 1;
3483
+ lastModified: string;
3484
+ };
3485
+ identity: {
3486
+ version: 1;
3487
+ lastModified: string;
3488
+ };
3489
+ customers: {
3490
+ version: 1;
3491
+ lastModified: string;
3492
+ };
3493
+ offerings: {
3494
+ version: 1;
3495
+ lastModified: string;
3496
+ };
3497
+ roles: {
3498
+ version: 1;
3499
+ lastModified: string;
3500
+ };
3501
+ goals: {
3502
+ version: 1;
3503
+ lastModified: string;
3504
+ };
3505
+ systems: {
3506
+ version: 1;
3507
+ lastModified: string;
3508
+ };
3509
+ ontology: {
3510
+ version: 1;
3511
+ lastModified: string;
3512
+ };
3513
+ resources: {
3514
+ version: 1;
3515
+ lastModified: string;
3516
+ };
3517
+ topology: {
3518
+ version: 1;
3519
+ lastModified: string;
3520
+ };
3521
+ actions: {
3522
+ version: 1;
3523
+ lastModified: string;
3524
+ };
3525
+ entities: {
3526
+ version: 1;
3527
+ lastModified: string;
3528
+ };
3529
+ policies: {
3530
+ version: 1;
3531
+ lastModified: string;
3532
+ };
3533
+ knowledge: {
3534
+ version: 1;
3535
+ lastModified: string;
3536
+ };
3537
+ }, {
3538
+ branding?: {
3539
+ version: 1;
3540
+ lastModified: string;
3541
+ } | undefined;
3542
+ identity?: {
3543
+ version: 1;
3544
+ lastModified: string;
3545
+ } | undefined;
3546
+ customers?: {
3547
+ version: 1;
3548
+ lastModified: string;
3549
+ } | undefined;
3550
+ offerings?: {
3551
+ version: 1;
3552
+ lastModified: string;
3553
+ } | undefined;
3554
+ roles?: {
3555
+ version: 1;
3556
+ lastModified: string;
3557
+ } | undefined;
3558
+ goals?: {
3559
+ version: 1;
3560
+ lastModified: string;
3561
+ } | undefined;
3562
+ systems?: {
3563
+ version: 1;
3564
+ lastModified: string;
3565
+ } | undefined;
3566
+ ontology?: {
3567
+ version: 1;
3568
+ lastModified: string;
3569
+ } | undefined;
3570
+ resources?: {
3571
+ version: 1;
3572
+ lastModified: string;
3573
+ } | undefined;
3574
+ topology?: {
3575
+ version: 1;
3576
+ lastModified: string;
3577
+ } | undefined;
3578
+ actions?: {
3579
+ version: 1;
3580
+ lastModified: string;
3581
+ } | undefined;
3582
+ entities?: {
3583
+ version: 1;
3584
+ lastModified: string;
3585
+ } | undefined;
3586
+ policies?: {
3587
+ version: 1;
3588
+ lastModified: string;
3589
+ } | undefined;
3590
+ knowledge?: {
3591
+ version: 1;
3592
+ lastModified: string;
3593
+ } | undefined;
3594
+ }>>;
3595
+ branding: z$1.ZodDefault<z$1.ZodObject<{
3596
+ organizationName: z$1.ZodString;
3597
+ productName: z$1.ZodString;
3598
+ shortName: z$1.ZodString;
3599
+ description: z$1.ZodOptional<z$1.ZodString>;
3600
+ logos: z$1.ZodDefault<z$1.ZodObject<{
3601
+ light: z$1.ZodOptional<z$1.ZodString>;
3602
+ dark: z$1.ZodOptional<z$1.ZodString>;
3603
+ }, z$1.core.$strip>>;
3604
+ }, z$1.core.$strip>>;
3605
+ navigation: z$1.ZodDefault<z$1.ZodObject<{
3606
+ sidebar: z$1.ZodDefault<z$1.ZodObject<{
3607
+ primary: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
3608
+ bottom: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SidebarNode, unknown, z$1.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
3609
+ }, z$1.core.$strip>>;
3610
+ }, z$1.core.$strip>>;
3611
+ identity: z$1.ZodDefault<z$1.ZodObject<{
3612
+ mission: z$1.ZodDefault<z$1.ZodString>;
3613
+ vision: z$1.ZodDefault<z$1.ZodString>;
3614
+ legalName: z$1.ZodDefault<z$1.ZodString>;
3615
+ entityType: z$1.ZodDefault<z$1.ZodString>;
3616
+ jurisdiction: z$1.ZodDefault<z$1.ZodString>;
3617
+ industryCategory: z$1.ZodDefault<z$1.ZodString>;
3618
+ geographicFocus: z$1.ZodDefault<z$1.ZodString>;
3619
+ timeZone: z$1.ZodDefault<z$1.ZodString>;
3620
+ businessHours: z$1.ZodDefault<z$1.ZodObject<{
3621
+ monday: z$1.ZodOptional<z$1.ZodObject<{
3622
+ open: z$1.ZodString;
3623
+ close: z$1.ZodString;
3624
+ }, z$1.core.$strip>>;
3625
+ tuesday: z$1.ZodOptional<z$1.ZodObject<{
3626
+ open: z$1.ZodString;
3627
+ close: z$1.ZodString;
3628
+ }, z$1.core.$strip>>;
3629
+ wednesday: z$1.ZodOptional<z$1.ZodObject<{
3630
+ open: z$1.ZodString;
3631
+ close: z$1.ZodString;
3632
+ }, z$1.core.$strip>>;
3633
+ thursday: z$1.ZodOptional<z$1.ZodObject<{
3634
+ open: z$1.ZodString;
3635
+ close: z$1.ZodString;
3636
+ }, z$1.core.$strip>>;
3637
+ friday: z$1.ZodOptional<z$1.ZodObject<{
3638
+ open: z$1.ZodString;
3639
+ close: z$1.ZodString;
3640
+ }, z$1.core.$strip>>;
3641
+ saturday: z$1.ZodOptional<z$1.ZodObject<{
3642
+ open: z$1.ZodString;
3643
+ close: z$1.ZodString;
3644
+ }, z$1.core.$strip>>;
3645
+ sunday: z$1.ZodOptional<z$1.ZodObject<{
3646
+ open: z$1.ZodString;
3647
+ close: z$1.ZodString;
3648
+ }, z$1.core.$strip>>;
3649
+ }, z$1.core.$strip>>;
3650
+ clientBrief: z$1.ZodDefault<z$1.ZodString>;
3651
+ }, z$1.core.$strip>>;
3652
+ customers: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3653
+ id: z$1.ZodString;
3654
+ order: z$1.ZodNumber;
3655
+ name: z$1.ZodDefault<z$1.ZodString>;
3656
+ description: z$1.ZodDefault<z$1.ZodString>;
3657
+ jobsToBeDone: z$1.ZodDefault<z$1.ZodString>;
3658
+ pains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3659
+ gains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3660
+ firmographics: z$1.ZodDefault<z$1.ZodObject<{
3661
+ industry: z$1.ZodOptional<z$1.ZodString>;
3662
+ companySize: z$1.ZodOptional<z$1.ZodString>;
3663
+ region: z$1.ZodOptional<z$1.ZodString>;
3664
+ }, z$1.core.$strip>>;
3665
+ valueProp: z$1.ZodDefault<z$1.ZodString>;
3666
+ }, z$1.core.$strip>>>>;
3667
+ offerings: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3668
+ id: z$1.ZodString;
3669
+ order: z$1.ZodNumber;
3670
+ name: z$1.ZodDefault<z$1.ZodString>;
3671
+ description: z$1.ZodDefault<z$1.ZodString>;
3672
+ pricingModel: z$1.ZodDefault<z$1.ZodEnum<{
3673
+ custom: "custom";
3674
+ "one-time": "one-time";
3675
+ subscription: "subscription";
3676
+ "usage-based": "usage-based";
3677
+ }>>;
3678
+ price: z$1.ZodDefault<z$1.ZodNumber>;
3679
+ currency: z$1.ZodDefault<z$1.ZodString>;
3680
+ targetSegmentIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3681
+ deliveryFeatureId: z$1.ZodOptional<z$1.ZodString>;
3682
+ }, z$1.core.$strip>>>>;
3683
+ roles: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3684
+ id: z$1.ZodString;
3685
+ order: z$1.ZodNumber;
3686
+ title: z$1.ZodString;
3687
+ responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3688
+ reportsToId: z$1.ZodOptional<z$1.ZodString>;
3689
+ heldBy: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3690
+ kind: z$1.ZodLiteral<"human">;
3691
+ userId: z$1.ZodString;
3692
+ }, z$1.core.$strip>, z$1.ZodObject<{
3693
+ kind: z$1.ZodLiteral<"agent">;
3694
+ agentId: z$1.ZodString;
3695
+ }, z$1.core.$strip>, z$1.ZodObject<{
3696
+ kind: z$1.ZodLiteral<"team">;
3697
+ memberIds: z$1.ZodArray<z$1.ZodString>;
3698
+ }, z$1.core.$strip>], "kind">, z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3699
+ kind: z$1.ZodLiteral<"human">;
3700
+ userId: z$1.ZodString;
3701
+ }, z$1.core.$strip>, z$1.ZodObject<{
3702
+ kind: z$1.ZodLiteral<"agent">;
3703
+ agentId: z$1.ZodString;
3704
+ }, z$1.core.$strip>, z$1.ZodObject<{
3705
+ kind: z$1.ZodLiteral<"team">;
3706
+ memberIds: z$1.ZodArray<z$1.ZodString>;
3707
+ }, z$1.core.$strip>], "kind">>]>>;
3708
+ responsibleFor: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3709
+ }, z$1.core.$strip>>>>;
3710
+ goals: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3711
+ id: z$1.ZodString;
3712
+ order: z$1.ZodNumber;
3713
+ description: z$1.ZodString;
3714
+ periodStart: z$1.ZodString;
3715
+ periodEnd: z$1.ZodString;
3716
+ keyResults: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3717
+ id: z$1.ZodString;
3718
+ description: z$1.ZodString;
3719
+ targetMetric: z$1.ZodString;
3720
+ currentValue: z$1.ZodDefault<z$1.ZodNumber>;
3721
+ targetValue: z$1.ZodOptional<z$1.ZodNumber>;
3722
+ }, z$1.core.$strip>>>;
3723
+ }, z$1.core.$strip>>>>;
3724
+ systems: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<SystemEntry, unknown, z$1.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
3725
+ ontology: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodObject<{
3726
+ objectTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3727
+ id: z$1.ZodString;
3728
+ label: z$1.ZodOptional<z$1.ZodString>;
3729
+ description: z$1.ZodOptional<z$1.ZodString>;
3730
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3731
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3732
+ properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3733
+ storage: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3734
+ }, z$1.core.$loose>>>>;
3735
+ linkTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3736
+ id: z$1.ZodString;
3737
+ label: z$1.ZodOptional<z$1.ZodString>;
3738
+ description: z$1.ZodOptional<z$1.ZodString>;
3739
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3740
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3741
+ from: z$1.ZodString;
3742
+ to: z$1.ZodString;
3743
+ cardinality: z$1.ZodOptional<z$1.ZodString>;
3744
+ via: z$1.ZodOptional<z$1.ZodString>;
3745
+ }, z$1.core.$loose>>>>;
3746
+ actionTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3747
+ id: z$1.ZodString;
3748
+ label: z$1.ZodOptional<z$1.ZodString>;
3749
+ description: z$1.ZodOptional<z$1.ZodString>;
3750
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3751
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3752
+ actsOn: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3753
+ input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3754
+ effects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
3755
+ }, z$1.core.$loose>>>>;
3756
+ catalogTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3757
+ id: z$1.ZodString;
3758
+ label: z$1.ZodOptional<z$1.ZodString>;
3759
+ description: z$1.ZodOptional<z$1.ZodString>;
3760
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3761
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3762
+ kind: z$1.ZodOptional<z$1.ZodString>;
3763
+ appliesTo: z$1.ZodOptional<z$1.ZodString>;
3764
+ entries: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3765
+ }, z$1.core.$loose>>>>;
3766
+ eventTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3767
+ id: z$1.ZodString;
3768
+ label: z$1.ZodOptional<z$1.ZodString>;
3769
+ description: z$1.ZodOptional<z$1.ZodString>;
3770
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3771
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3772
+ payload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3773
+ }, z$1.core.$loose>>>>;
3774
+ interfaceTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3775
+ id: z$1.ZodString;
3776
+ label: z$1.ZodOptional<z$1.ZodString>;
3777
+ description: z$1.ZodOptional<z$1.ZodString>;
3778
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3779
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3780
+ properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3781
+ }, z$1.core.$loose>>>>;
3782
+ valueTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3783
+ id: z$1.ZodString;
3784
+ label: z$1.ZodOptional<z$1.ZodString>;
3785
+ description: z$1.ZodOptional<z$1.ZodString>;
3786
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3787
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3788
+ primitive: z$1.ZodOptional<z$1.ZodString>;
3789
+ }, z$1.core.$loose>>>>;
3790
+ sharedProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3791
+ id: z$1.ZodString;
3792
+ label: z$1.ZodOptional<z$1.ZodString>;
3793
+ description: z$1.ZodOptional<z$1.ZodString>;
3794
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3795
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3796
+ valueType: z$1.ZodOptional<z$1.ZodString>;
3797
+ searchable: z$1.ZodOptional<z$1.ZodBoolean>;
3798
+ pii: z$1.ZodOptional<z$1.ZodBoolean>;
3799
+ }, z$1.core.$loose>>>>;
3800
+ groups: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3801
+ id: z$1.ZodString;
3802
+ label: z$1.ZodOptional<z$1.ZodString>;
3803
+ description: z$1.ZodOptional<z$1.ZodString>;
3804
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3805
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3806
+ members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3807
+ }, z$1.core.$loose>>>>;
3808
+ surfaces: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3809
+ id: z$1.ZodString;
3810
+ label: z$1.ZodOptional<z$1.ZodString>;
3811
+ description: z$1.ZodOptional<z$1.ZodString>;
3812
+ ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3813
+ aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3814
+ route: z$1.ZodOptional<z$1.ZodString>;
3815
+ }, z$1.core.$loose>>>>;
3816
+ }, z$1.core.$strip>>>;
3817
+ resources: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3818
+ id: z$1.ZodString;
3819
+ order: z$1.ZodDefault<z$1.ZodNumber>;
3820
+ systemPath: z$1.ZodString;
3821
+ title: z$1.ZodOptional<z$1.ZodString>;
3822
+ description: z$1.ZodOptional<z$1.ZodString>;
3823
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3824
+ status: z$1.ZodEnum<{
3825
+ deprecated: "deprecated";
3826
+ active: "active";
3827
+ archived: "archived";
3828
+ }>;
3829
+ ontology: z$1.ZodOptional<z$1.ZodObject<{
3830
+ actions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3831
+ primaryAction: z$1.ZodOptional<z$1.ZodString>;
3832
+ reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3833
+ writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3834
+ usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3835
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3836
+ contract: z$1.ZodOptional<z$1.ZodObject<{
3837
+ input: z$1.ZodOptional<z$1.ZodString>;
3838
+ output: z$1.ZodOptional<z$1.ZodString>;
3839
+ }, z$1.core.$strip>>;
3840
+ }, z$1.core.$strip>>;
3841
+ codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3842
+ path: z$1.ZodString;
3843
+ role: z$1.ZodEnum<{
3844
+ config: "config";
3845
+ entrypoint: "entrypoint";
3846
+ handler: "handler";
3847
+ schema: "schema";
3848
+ test: "test";
3849
+ docs: "docs";
3850
+ }>;
3851
+ symbol: z$1.ZodOptional<z$1.ZodString>;
3852
+ description: z$1.ZodOptional<z$1.ZodString>;
3853
+ }, z$1.core.$strip>>>;
3854
+ kind: z$1.ZodLiteral<"workflow">;
3855
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3856
+ eventKey: z$1.ZodString;
3857
+ label: z$1.ZodString;
3858
+ payloadSchema: z$1.ZodOptional<z$1.ZodString>;
3859
+ lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
3860
+ deprecated: "deprecated";
3861
+ draft: "draft";
3862
+ beta: "beta";
3863
+ active: "active";
3864
+ archived: "archived";
3865
+ }>>;
3866
+ }, z$1.core.$strip>>>;
3867
+ }, z$1.core.$strip>, z$1.ZodObject<{
3868
+ id: z$1.ZodString;
3869
+ order: z$1.ZodDefault<z$1.ZodNumber>;
3870
+ systemPath: z$1.ZodString;
3871
+ title: z$1.ZodOptional<z$1.ZodString>;
3872
+ description: z$1.ZodOptional<z$1.ZodString>;
3873
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3874
+ status: z$1.ZodEnum<{
3875
+ deprecated: "deprecated";
3876
+ active: "active";
3877
+ archived: "archived";
3878
+ }>;
3879
+ ontology: z$1.ZodOptional<z$1.ZodObject<{
3880
+ actions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3881
+ primaryAction: z$1.ZodOptional<z$1.ZodString>;
3882
+ reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3883
+ writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3884
+ usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3885
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3886
+ contract: z$1.ZodOptional<z$1.ZodObject<{
3887
+ input: z$1.ZodOptional<z$1.ZodString>;
3888
+ output: z$1.ZodOptional<z$1.ZodString>;
3889
+ }, z$1.core.$strip>>;
3890
+ }, z$1.core.$strip>>;
3891
+ codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3892
+ path: z$1.ZodString;
3893
+ role: z$1.ZodEnum<{
3894
+ config: "config";
3895
+ entrypoint: "entrypoint";
3896
+ handler: "handler";
3897
+ schema: "schema";
3898
+ test: "test";
3899
+ docs: "docs";
3900
+ }>;
3901
+ symbol: z$1.ZodOptional<z$1.ZodString>;
3902
+ description: z$1.ZodOptional<z$1.ZodString>;
3903
+ }, z$1.core.$strip>>>;
3904
+ kind: z$1.ZodLiteral<"agent">;
3905
+ agentKind: z$1.ZodEnum<{
3906
+ platform: "platform";
3907
+ orchestrator: "orchestrator";
3908
+ specialist: "specialist";
3909
+ utility: "utility";
3910
+ }>;
3911
+ actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
3912
+ sessionCapable: z$1.ZodBoolean;
3913
+ invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3914
+ kind: z$1.ZodLiteral<"slash-command">;
3915
+ command: z$1.ZodString;
3916
+ toolFactory: z$1.ZodOptional<z$1.ZodString>;
3917
+ }, z$1.core.$strip>, z$1.ZodObject<{
3918
+ kind: z$1.ZodLiteral<"mcp-tool">;
3919
+ server: z$1.ZodString;
3920
+ name: z$1.ZodString;
3921
+ }, z$1.core.$strip>, z$1.ZodObject<{
3922
+ kind: z$1.ZodLiteral<"api-endpoint">;
3923
+ method: z$1.ZodEnum<{
3924
+ GET: "GET";
3925
+ POST: "POST";
3926
+ PATCH: "PATCH";
3927
+ DELETE: "DELETE";
3928
+ }>;
3929
+ path: z$1.ZodString;
3930
+ requestSchema: z$1.ZodOptional<z$1.ZodString>;
3931
+ responseSchema: z$1.ZodOptional<z$1.ZodString>;
3932
+ }, z$1.core.$strip>, z$1.ZodObject<{
3933
+ kind: z$1.ZodLiteral<"script-execution">;
3934
+ resourceId: z$1.ZodString;
3935
+ }, z$1.core.$strip>], "kind">>>;
3936
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3937
+ eventKey: z$1.ZodString;
3938
+ label: z$1.ZodString;
3939
+ payloadSchema: z$1.ZodOptional<z$1.ZodString>;
3940
+ lifecycle: z$1.ZodOptional<z$1.ZodEnum<{
3941
+ deprecated: "deprecated";
3942
+ draft: "draft";
3943
+ beta: "beta";
3944
+ active: "active";
3945
+ archived: "archived";
3946
+ }>>;
3947
+ }, z$1.core.$strip>>>;
3948
+ }, z$1.core.$strip>, z$1.ZodObject<{
3949
+ id: z$1.ZodString;
3950
+ order: z$1.ZodDefault<z$1.ZodNumber>;
3951
+ systemPath: z$1.ZodString;
3952
+ title: z$1.ZodOptional<z$1.ZodString>;
3953
+ description: z$1.ZodOptional<z$1.ZodString>;
3954
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3955
+ status: z$1.ZodEnum<{
3956
+ deprecated: "deprecated";
3957
+ active: "active";
3958
+ archived: "archived";
3959
+ }>;
3960
+ ontology: z$1.ZodOptional<z$1.ZodObject<{
3961
+ actions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3962
+ primaryAction: z$1.ZodOptional<z$1.ZodString>;
3963
+ reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3964
+ writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3965
+ usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3966
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3967
+ contract: z$1.ZodOptional<z$1.ZodObject<{
3968
+ input: z$1.ZodOptional<z$1.ZodString>;
3969
+ output: z$1.ZodOptional<z$1.ZodString>;
3970
+ }, z$1.core.$strip>>;
3971
+ }, z$1.core.$strip>>;
3972
+ codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3973
+ path: z$1.ZodString;
3974
+ role: z$1.ZodEnum<{
3975
+ config: "config";
3976
+ entrypoint: "entrypoint";
3977
+ handler: "handler";
3978
+ schema: "schema";
3979
+ test: "test";
3980
+ docs: "docs";
3981
+ }>;
3982
+ symbol: z$1.ZodOptional<z$1.ZodString>;
3983
+ description: z$1.ZodOptional<z$1.ZodString>;
3984
+ }, z$1.core.$strip>>>;
3985
+ kind: z$1.ZodLiteral<"integration">;
3986
+ provider: z$1.ZodString;
3987
+ }, z$1.core.$strip>, z$1.ZodObject<{
3988
+ id: z$1.ZodString;
3989
+ order: z$1.ZodDefault<z$1.ZodNumber>;
3990
+ systemPath: z$1.ZodString;
3991
+ title: z$1.ZodOptional<z$1.ZodString>;
3992
+ description: z$1.ZodOptional<z$1.ZodString>;
3993
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
3994
+ status: z$1.ZodEnum<{
3995
+ deprecated: "deprecated";
3996
+ active: "active";
3997
+ archived: "archived";
3998
+ }>;
3999
+ ontology: z$1.ZodOptional<z$1.ZodObject<{
4000
+ actions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4001
+ primaryAction: z$1.ZodOptional<z$1.ZodString>;
4002
+ reads: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4003
+ writes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4004
+ usesCatalogs: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4005
+ emits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4006
+ contract: z$1.ZodOptional<z$1.ZodObject<{
4007
+ input: z$1.ZodOptional<z$1.ZodString>;
4008
+ output: z$1.ZodOptional<z$1.ZodString>;
4009
+ }, z$1.core.$strip>>;
4010
+ }, z$1.core.$strip>>;
4011
+ codeRefs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4012
+ path: z$1.ZodString;
4013
+ role: z$1.ZodEnum<{
4014
+ config: "config";
4015
+ entrypoint: "entrypoint";
4016
+ handler: "handler";
4017
+ schema: "schema";
4018
+ test: "test";
4019
+ docs: "docs";
4020
+ }>;
4021
+ symbol: z$1.ZodOptional<z$1.ZodString>;
4022
+ description: z$1.ZodOptional<z$1.ZodString>;
4023
+ }, z$1.core.$strip>>>;
4024
+ kind: z$1.ZodLiteral<"script">;
4025
+ language: z$1.ZodEnum<{
4026
+ shell: "shell";
4027
+ sql: "sql";
4028
+ typescript: "typescript";
4029
+ python: "python";
4030
+ }>;
4031
+ source: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
4032
+ file: z$1.ZodString;
4033
+ }, z$1.core.$strip>]>;
4034
+ }, z$1.core.$strip>], "kind">>>>;
4035
+ topology: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodObject<{
4036
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
4037
+ relationships: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4038
+ from: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4039
+ kind: z$1.ZodLiteral<"system">;
4040
+ id: z$1.ZodString;
4041
+ }, z$1.core.$strip>, z$1.ZodObject<{
4042
+ kind: z$1.ZodLiteral<"resource">;
4043
+ id: z$1.ZodString;
4044
+ }, z$1.core.$strip>, z$1.ZodObject<{
4045
+ kind: z$1.ZodLiteral<"ontology">;
4046
+ id: z$1.ZodString;
4047
+ }, z$1.core.$strip>, z$1.ZodObject<{
4048
+ kind: z$1.ZodLiteral<"policy">;
4049
+ id: z$1.ZodString;
4050
+ }, z$1.core.$strip>, z$1.ZodObject<{
4051
+ kind: z$1.ZodLiteral<"role">;
4052
+ id: z$1.ZodString;
4053
+ }, z$1.core.$strip>, z$1.ZodObject<{
4054
+ kind: z$1.ZodLiteral<"trigger">;
4055
+ id: z$1.ZodString;
4056
+ }, z$1.core.$strip>, z$1.ZodObject<{
4057
+ kind: z$1.ZodLiteral<"humanCheckpoint">;
4058
+ id: z$1.ZodString;
4059
+ }, z$1.core.$strip>, z$1.ZodObject<{
4060
+ kind: z$1.ZodLiteral<"externalResource">;
4061
+ id: z$1.ZodString;
4062
+ }, z$1.core.$strip>], "kind">;
4063
+ kind: z$1.ZodEnum<{
4064
+ triggers: "triggers";
4065
+ uses: "uses";
4066
+ approval: "approval";
4067
+ }>;
4068
+ to: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4069
+ kind: z$1.ZodLiteral<"system">;
4070
+ id: z$1.ZodString;
4071
+ }, z$1.core.$strip>, z$1.ZodObject<{
4072
+ kind: z$1.ZodLiteral<"resource">;
4073
+ id: z$1.ZodString;
4074
+ }, z$1.core.$strip>, z$1.ZodObject<{
4075
+ kind: z$1.ZodLiteral<"ontology">;
4076
+ id: z$1.ZodString;
4077
+ }, z$1.core.$strip>, z$1.ZodObject<{
4078
+ kind: z$1.ZodLiteral<"policy">;
4079
+ id: z$1.ZodString;
4080
+ }, z$1.core.$strip>, z$1.ZodObject<{
4081
+ kind: z$1.ZodLiteral<"role">;
4082
+ id: z$1.ZodString;
4083
+ }, z$1.core.$strip>, z$1.ZodObject<{
4084
+ kind: z$1.ZodLiteral<"trigger">;
4085
+ id: z$1.ZodString;
4086
+ }, z$1.core.$strip>, z$1.ZodObject<{
4087
+ kind: z$1.ZodLiteral<"humanCheckpoint">;
4088
+ id: z$1.ZodString;
4089
+ }, z$1.core.$strip>, z$1.ZodObject<{
4090
+ kind: z$1.ZodLiteral<"externalResource">;
4091
+ id: z$1.ZodString;
4092
+ }, z$1.core.$strip>], "kind">;
4093
+ systemPath: z$1.ZodOptional<z$1.ZodString>;
4094
+ required: z$1.ZodOptional<z$1.ZodBoolean>;
4095
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>>>;
4096
+ }, z$1.core.$strip>>>;
4097
+ }, z$1.core.$strip>>>;
4098
+ actions: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4099
+ id: z$1.ZodString;
4100
+ order: z$1.ZodNumber;
4101
+ label: z$1.ZodString;
4102
+ description: z$1.ZodOptional<z$1.ZodString>;
4103
+ scope: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodLiteral<"global">, z$1.ZodObject<{
4104
+ domain: z$1.ZodString;
4105
+ }, z$1.core.$strip>]>>;
4106
+ resourceId: z$1.ZodOptional<z$1.ZodString>;
4107
+ affects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4108
+ invocations: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4109
+ kind: z$1.ZodLiteral<"slash-command">;
4110
+ command: z$1.ZodString;
4111
+ toolFactory: z$1.ZodOptional<z$1.ZodString>;
4112
+ }, z$1.core.$strip>, z$1.ZodObject<{
4113
+ kind: z$1.ZodLiteral<"mcp-tool">;
4114
+ server: z$1.ZodString;
4115
+ name: z$1.ZodString;
4116
+ }, z$1.core.$strip>, z$1.ZodObject<{
4117
+ kind: z$1.ZodLiteral<"api-endpoint">;
4118
+ method: z$1.ZodEnum<{
4119
+ GET: "GET";
4120
+ POST: "POST";
4121
+ PATCH: "PATCH";
4122
+ DELETE: "DELETE";
4123
+ }>;
4124
+ path: z$1.ZodString;
4125
+ requestSchema: z$1.ZodOptional<z$1.ZodString>;
4126
+ responseSchema: z$1.ZodOptional<z$1.ZodString>;
4127
+ }, z$1.core.$strip>, z$1.ZodObject<{
4128
+ kind: z$1.ZodLiteral<"script-execution">;
4129
+ resourceId: z$1.ZodString;
4130
+ }, z$1.core.$strip>], "kind">>>;
4131
+ knowledge: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
4132
+ lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4133
+ deprecated: "deprecated";
4134
+ draft: "draft";
4135
+ beta: "beta";
4136
+ active: "active";
4137
+ archived: "archived";
4138
+ }>>;
4139
+ }, z$1.core.$strip>>>>;
4140
+ entities: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4141
+ id: z$1.ZodString;
4142
+ order: z$1.ZodNumber;
4143
+ label: z$1.ZodString;
4144
+ description: z$1.ZodOptional<z$1.ZodString>;
4145
+ ownedBySystemId: z$1.ZodString;
4146
+ table: z$1.ZodOptional<z$1.ZodString>;
4147
+ rowSchema: z$1.ZodOptional<z$1.ZodString>;
4148
+ stateCatalogId: z$1.ZodOptional<z$1.ZodString>;
4149
+ links: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
4150
+ toEntity: z$1.ZodString;
4151
+ kind: z$1.ZodEnum<{
4152
+ "belongs-to": "belongs-to";
4153
+ "has-many": "has-many";
4154
+ "has-one": "has-one";
4155
+ "many-to-many": "many-to-many";
4156
+ }>;
4157
+ via: z$1.ZodOptional<z$1.ZodString>;
4158
+ label: z$1.ZodOptional<z$1.ZodString>;
4159
+ }, z$1.core.$strip>>>;
4160
+ }, z$1.core.$strip>>>>;
4161
+ policies: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4162
+ id: z$1.ZodString;
4163
+ order: z$1.ZodNumber;
4164
+ label: z$1.ZodString;
4165
+ description: z$1.ZodOptional<z$1.ZodString>;
4166
+ trigger: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4167
+ kind: z$1.ZodLiteral<"event">;
4168
+ eventId: z$1.ZodString;
4169
+ }, z$1.core.$strip>, z$1.ZodObject<{
4170
+ kind: z$1.ZodLiteral<"action-invocation">;
4171
+ actionId: z$1.ZodString;
4172
+ }, z$1.core.$strip>, z$1.ZodObject<{
4173
+ kind: z$1.ZodLiteral<"schedule">;
4174
+ cron: z$1.ZodString;
4175
+ }, z$1.core.$strip>, z$1.ZodObject<{
4176
+ kind: z$1.ZodLiteral<"manual">;
4177
+ }, z$1.core.$strip>], "kind">;
4178
+ predicate: z$1.ZodDefault<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4179
+ kind: z$1.ZodLiteral<"always">;
4180
+ }, z$1.core.$strip>, z$1.ZodObject<{
4181
+ kind: z$1.ZodLiteral<"expression">;
4182
+ expression: z$1.ZodString;
4183
+ }, z$1.core.$strip>, z$1.ZodObject<{
4184
+ kind: z$1.ZodLiteral<"threshold">;
4185
+ metric: z$1.ZodString;
4186
+ operator: z$1.ZodEnum<{
4187
+ lt: "lt";
4188
+ lte: "lte";
4189
+ eq: "eq";
4190
+ gte: "gte";
4191
+ gt: "gt";
4192
+ }>;
4193
+ value: z$1.ZodNumber;
4194
+ }, z$1.core.$strip>], "kind">>;
4195
+ actions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4196
+ kind: z$1.ZodLiteral<"require-approval">;
4197
+ roleId: z$1.ZodOptional<z$1.ZodString>;
4198
+ }, z$1.core.$strip>, z$1.ZodObject<{
4199
+ kind: z$1.ZodLiteral<"invoke-action">;
4200
+ actionId: z$1.ZodString;
4201
+ }, z$1.core.$strip>, z$1.ZodObject<{
4202
+ kind: z$1.ZodLiteral<"notify-role">;
4203
+ roleId: z$1.ZodString;
4204
+ }, z$1.core.$strip>, z$1.ZodObject<{
4205
+ kind: z$1.ZodLiteral<"block">;
4206
+ }, z$1.core.$strip>], "kind">>;
4207
+ appliesTo: z$1.ZodDefault<z$1.ZodObject<{
4208
+ systemIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4209
+ actionIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4210
+ resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4211
+ roleIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4212
+ }, z$1.core.$strip>>;
4213
+ lifecycle: z$1.ZodDefault<z$1.ZodEnum<{
4214
+ deprecated: "deprecated";
4215
+ draft: "draft";
4216
+ beta: "beta";
4217
+ active: "active";
4218
+ archived: "archived";
4219
+ }>>;
4220
+ }, z$1.core.$strip>>>>;
4221
+ knowledge: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4222
+ id: z$1.ZodString;
4223
+ kind: z$1.ZodEnum<{
4224
+ playbook: "playbook";
4225
+ strategy: "strategy";
4226
+ reference: "reference";
4227
+ }>;
4228
+ title: z$1.ZodString;
4229
+ summary: z$1.ZodString;
4230
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4231
+ message: "message";
4232
+ error: "error";
4233
+ agent: "agent";
4234
+ workflow: "workflow";
4235
+ "google-sheets": "google-sheets";
4236
+ dashboard: "dashboard";
4237
+ calendar: "calendar";
4238
+ sales: "sales";
4239
+ crm: "crm";
4240
+ "lead-gen": "lead-gen";
4241
+ projects: "projects";
4242
+ clients: "clients";
4243
+ operations: "operations";
4244
+ monitoring: "monitoring";
4245
+ knowledge: "knowledge";
4246
+ settings: "settings";
4247
+ admin: "admin";
4248
+ archive: "archive";
4249
+ business: "business";
4250
+ finance: "finance";
4251
+ platform: "platform";
4252
+ seo: "seo";
4253
+ playbook: "playbook";
4254
+ strategy: "strategy";
4255
+ reference: "reference";
4256
+ integration: "integration";
4257
+ database: "database";
4258
+ user: "user";
4259
+ team: "team";
4260
+ gmail: "gmail";
4261
+ attio: "attio";
4262
+ overview: "overview";
4263
+ "command-view": "command-view";
4264
+ "command-queue": "command-queue";
4265
+ pipeline: "pipeline";
4266
+ lists: "lists";
4267
+ resources: "resources";
4268
+ approve: "approve";
4269
+ reject: "reject";
4270
+ retry: "retry";
4271
+ edit: "edit";
4272
+ view: "view";
4273
+ launch: "launch";
4274
+ escalate: "escalate";
4275
+ promote: "promote";
4276
+ submit: "submit";
4277
+ email: "email";
4278
+ success: "success";
4279
+ warning: "warning";
4280
+ info: "info";
4281
+ pending: "pending";
4282
+ bolt: "bolt";
4283
+ building: "building";
4284
+ briefcase: "briefcase";
4285
+ apps: "apps";
4286
+ graph: "graph";
4287
+ shield: "shield";
4288
+ users: "users";
4289
+ "chart-bar": "chart-bar";
4290
+ search: "search";
4291
+ }>, z$1.ZodString]>>;
4292
+ externalUrl: z$1.ZodOptional<z$1.ZodString>;
4293
+ sourceFilePath: z$1.ZodOptional<z$1.ZodString>;
4294
+ body: z$1.ZodString;
4295
+ links: z$1.ZodDefault<z$1.ZodArray<z$1.ZodPipe<z$1.ZodUnion<readonly [z$1.ZodObject<{
4296
+ target: z$1.ZodObject<{
4297
+ kind: z$1.ZodEnum<{
4298
+ knowledge: "knowledge";
4299
+ system: "system";
4300
+ action: "action";
4301
+ ontology: "ontology";
4302
+ role: "role";
4303
+ goal: "goal";
4304
+ resource: "resource";
4305
+ stage: "stage";
4306
+ "customer-segment": "customer-segment";
4307
+ offering: "offering";
4308
+ }>;
4309
+ id: z$1.ZodString;
4310
+ }, z$1.core.$strip>;
4311
+ }, z$1.core.$strip>, z$1.ZodObject<{
4312
+ nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
4313
+ }, z$1.core.$strip>]>, z$1.ZodTransform<{
4314
+ target: {
4315
+ kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
4316
+ id: string;
4317
+ };
4318
+ nodeId: string;
4319
+ }, {
4320
+ nodeId: string;
4321
+ } | {
4322
+ target: {
4323
+ kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "resource" | "stage" | "customer-segment" | "offering";
4324
+ id: string;
4325
+ };
4326
+ }>>>>;
4327
+ ownerIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4328
+ updatedAt: z$1.ZodString;
4329
+ }, z$1.core.$strip>>>>;
4330
+ }, z$1.core.$strip>;
4331
+
4332
+ type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
4333
+
4334
+ /**
4335
+ * Time range selector for dashboard metrics
4336
+ */
4337
+ type TimeRange = '1h' | '24h' | '7d' | '30d';
4338
+
3230
4339
  interface ApiErrorDetails {
3231
4340
  method: string;
3232
4341
  statusCode: number;
@@ -3520,5 +4629,143 @@ interface ElevasisAppConfig {
3520
4629
  */
3521
4630
  declare function createElevasisApp(config: ElevasisAppConfig): ComponentType;
3522
4631
 
3523
- export { createElevasisApp };
3524
- export type { ElevasisAppConfig, ElevasisAppStoreConfig };
4632
+ interface AppErrorBoundaryProps {
4633
+ children: ReactNode;
4634
+ appVersion?: string;
4635
+ /** Optional override -- defaults to CrashErrorFallback */
4636
+ fallback?: (props: {
4637
+ error: unknown;
4638
+ componentStack: string;
4639
+ }) => ReactNode;
4640
+ /** Hook for app-local error reporting (e.g. Sentry.captureException in command-center) */
4641
+ onError?: (error: unknown, errorInfo: ErrorInfo) => void;
4642
+ }
4643
+
4644
+ interface FetchEventSourceWithTokenRefreshOptions {
4645
+ url: string;
4646
+ getToken: () => Promise<string | undefined>;
4647
+ headers?: Record<string, string>;
4648
+ signal: AbortSignal;
4649
+ /** Delay in ms before reconnecting after token refresh. Defaults to 2000. */
4650
+ tokenRefreshDelayMs?: number;
4651
+ onopen?: (response: Response) => void | Promise<void>;
4652
+ onmessage?: (event: EventSourceMessage) => void;
4653
+ onerror?: (error: unknown) => void;
4654
+ onclose?: () => void;
4655
+ }
4656
+
4657
+ interface SSEConnectionManagerLike {
4658
+ subscribe(key: string, subscriberId: string, options: Omit<FetchEventSourceWithTokenRefreshOptions, 'signal'>): () => void;
4659
+ closeConnection(key: string): void;
4660
+ getConnectionInfo(): Map<string, {
4661
+ url: string;
4662
+ subscribers: number;
4663
+ }>;
4664
+ }
4665
+
4666
+ type ElevasisOrganizationModel = Omit<OrganizationModel, 'knowledge'> & {
4667
+ knowledge?: OrganizationModel['knowledge'];
4668
+ };
4669
+ type SystemSidebarComponent = ComponentType;
4670
+ type SystemIconComponent = ComponentType<{
4671
+ size?: number;
4672
+ stroke?: number;
4673
+ }>;
4674
+ type SystemSidebarWidthResolver = number | ((context: {
4675
+ currentPath: string;
4676
+ }) => number);
4677
+ interface SystemModule {
4678
+ /** Unique stable identifier for this UI system module. */
4679
+ key: string;
4680
+ /** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
4681
+ systemId?: string;
4682
+ /** Route prefixes owned by navigation-only app surfaces. */
4683
+ routePrefixes?: string[];
4684
+ /** Capability identifiers contributed by this system module. */
4685
+ capabilityIds?: string[];
4686
+ /** Icon used when this system node appears in shell navigation. */
4687
+ icon?: SystemIconComponent;
4688
+ /** Sidebar component rendered when this system's subtree route is active. */
4689
+ sidebar?: SystemSidebarComponent;
4690
+ /** Optional shell sidebar width override. Defaults to 250px. */
4691
+ sidebarWidth?: SystemSidebarWidthResolver;
4692
+ /** Operations-only bridge connecting this system to the organization graph node. */
4693
+ organizationGraph?: OrganizationGraphSystemBridge;
4694
+ }
4695
+ interface ShellSidebarLinkItem {
4696
+ label: string;
4697
+ link: string;
4698
+ exact?: boolean;
4699
+ activeMatchPaths?: string[];
4700
+ }
4701
+ interface ShellSidebarLinkGroup {
4702
+ icon: SystemIconComponent;
4703
+ label: string;
4704
+ links?: ShellSidebarLinkItem[];
4705
+ link?: string;
4706
+ }
4707
+ interface OrganizationGraphSystemBridge {
4708
+ systemId?: string;
4709
+ }
4710
+ interface ElevasisSystemsProviderProps {
4711
+ systems?: SystemModule[];
4712
+ organizationModel?: ElevasisOrganizationModel;
4713
+ timeRange?: TimeRange;
4714
+ operationsApiUrl?: string;
4715
+ operationsSSEManager?: SSEConnectionManagerLike;
4716
+ deliveryApiUrl?: string;
4717
+ deliverySSEManager?: SSEConnectionManagerLike;
4718
+ disabledSubsectionPaths?: string[];
4719
+ children: ReactNode;
4720
+ }
4721
+
4722
+ interface InitializationError {
4723
+ layer: 'auth' | 'profile' | 'organization';
4724
+ message: string;
4725
+ originalError?: Error;
4726
+ }
4727
+ interface AppInitializationState {
4728
+ userReady: boolean;
4729
+ organizationReady: boolean;
4730
+ allReady: boolean;
4731
+ isInitializing: boolean;
4732
+ error: InitializationError | null;
4733
+ retry: () => void;
4734
+ profile: SupabaseUserProfile | null;
4735
+ }
4736
+
4737
+ interface ElevasisAuthenticatedShellLogoConfig {
4738
+ light?: string;
4739
+ dark?: string;
4740
+ }
4741
+ interface ElevasisAuthenticatedShellRenderContext {
4742
+ isDark: boolean;
4743
+ user: ReturnType<typeof useAuth>['user'];
4744
+ initialization: AppInitializationState;
4745
+ }
4746
+ interface ElevasisAuthenticatedShellProps {
4747
+ systems: SystemModule[];
4748
+ organizationModel: OrganizationModel;
4749
+ logos?: ElevasisAuthenticatedShellLogoConfig;
4750
+ topbar?: ReactNode | ((context: ElevasisAuthenticatedShellRenderContext) => ReactNode);
4751
+ children?: ReactNode;
4752
+ fullScreenPaths?: readonly string[];
4753
+ readyMode?: 'user' | 'organization';
4754
+ accountPath?: string;
4755
+ signOutReturnTo?: string;
4756
+ appVersion?: string;
4757
+ timeRange?: ElevasisSystemsProviderProps['timeRange'];
4758
+ operationsApiUrl?: string;
4759
+ operationsSSEManager?: ElevasisSystemsProviderProps['operationsSSEManager'];
4760
+ deliveryApiUrl?: string;
4761
+ deliverySSEManager?: ElevasisSystemsProviderProps['deliverySSEManager'];
4762
+ disabledSubsectionPaths?: readonly string[];
4763
+ isDev?: boolean;
4764
+ errorFallback?: AppErrorBoundaryProps['fallback'];
4765
+ onError?: AppErrorBoundaryProps['onError'];
4766
+ sidebarLinks?: (links: ShellSidebarLinkGroup[]) => ShellSidebarLinkGroup[];
4767
+ }
4768
+ declare function ElevasisAuthenticatedShell({ systems, organizationModel, logos, topbar, children, fullScreenPaths, readyMode, accountPath, signOutReturnTo, appVersion, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, isDev, errorFallback, onError, sidebarLinks }: ElevasisAuthenticatedShellProps): react_jsx_runtime.JSX.Element;
4769
+
4770
+ export { ElevasisAuthenticatedShell, createElevasisApp };
4771
+ export type { ElevasisAppConfig, ElevasisAppStoreConfig, ElevasisAuthenticatedShellLogoConfig, ElevasisAuthenticatedShellProps, ElevasisAuthenticatedShellRenderContext };