@elevasis/ui 2.25.5 → 2.26.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 (101) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.css +18 -29
  3. package/dist/app/index.d.ts +118 -64
  4. package/dist/app/index.js +6 -5
  5. package/dist/charts/index.js +6 -5
  6. package/dist/chunk-3MEXPLWT.js +265 -0
  7. package/dist/{chunk-IS53MXE4.js → chunk-4KTLOK7K.js} +1 -1
  8. package/dist/{chunk-KMAXFJPH.js → chunk-CW3UNAF2.js} +5 -409
  9. package/dist/{chunk-HKBEURCV.js → chunk-G26INIF3.js} +1 -1
  10. package/dist/{chunk-NHHCUECV.js → chunk-G66QFZXD.js} +11 -214
  11. package/dist/{chunk-QIW6OCEI.js → chunk-HLFFKKT3.js} +27 -373
  12. package/dist/chunk-JDNEWB5F.js +10 -0
  13. package/dist/{chunk-VMAWXEVG.js → chunk-JKBGDFX2.js} +1136 -828
  14. package/dist/{chunk-MU4VPAMR.js → chunk-JPGX3533.js} +4 -3
  15. package/dist/chunk-KCGGA36K.js +73 -0
  16. package/dist/chunk-KEFWANZY.js +155 -0
  17. package/dist/chunk-LH4GPYDX.js +448 -0
  18. package/dist/{chunk-QNCVK3ZF.js → chunk-LWKZ3BCC.js} +5 -4
  19. package/dist/chunk-OGXKOMUT.js +412 -0
  20. package/dist/chunk-OHXU5WWK.js +3731 -0
  21. package/dist/chunk-ONFKASZI.js +2004 -0
  22. package/dist/{chunk-U36X6NZM.js → chunk-RIFTUOPE.js} +2 -14
  23. package/dist/{chunk-T6INEVX6.js → chunk-SGS4CQ2B.js} +1 -1
  24. package/dist/{chunk-KINQW4JT.js → chunk-UPMX5GJI.js} +5 -5
  25. package/dist/{chunk-N2AP4I5N.js → chunk-UY5I2KOZ.js} +223 -3857
  26. package/dist/{chunk-JMI7L7Y7.js → chunk-W2ZTLH7Y.js} +142 -4
  27. package/dist/{chunk-3KY2GNPE.js → chunk-WUVR4QY6.js} +9 -9
  28. package/dist/{chunk-Q5BEODAT.js → chunk-X2SUMO3P.js} +2 -1
  29. package/dist/{chunk-SNHGSCKH.js → chunk-XBMCDGHA.js} +1 -1
  30. package/dist/{chunk-N55DVMAG.js → chunk-XQQEKWTL.js} +2 -6
  31. package/dist/{chunk-F7JDHS2I.js → chunk-XZSEPJZQ.js} +5 -5
  32. package/dist/{chunk-5BJXMZN4.js → chunk-YHBPR67D.js} +438 -620
  33. package/dist/{chunk-FVKLHLF4.js → chunk-YO2YORW4.js} +4 -4
  34. package/dist/{chunk-TAIX4NO3.js → chunk-ZFLM2YVW.js} +2 -2
  35. package/dist/components/index.css +18 -29
  36. package/dist/components/index.d.ts +211 -383
  37. package/dist/components/index.js +43 -427
  38. package/dist/components/navigation/index.css +28 -39
  39. package/dist/execution/index.d.ts +0 -73
  40. package/dist/features/auth/index.css +28 -39
  41. package/dist/features/crm/index.css +28 -39
  42. package/dist/features/crm/index.d.ts +49 -49
  43. package/dist/features/crm/index.js +14 -14
  44. package/dist/features/dashboard/index.css +28 -39
  45. package/dist/features/dashboard/index.js +18 -15
  46. package/dist/features/delivery/index.css +18 -29
  47. package/dist/features/delivery/index.js +14 -14
  48. package/dist/features/knowledge/index.css +611 -0
  49. package/dist/features/knowledge/index.js +700 -1
  50. package/dist/features/lead-gen/index.css +28 -39
  51. package/dist/features/lead-gen/index.d.ts +212 -166
  52. package/dist/features/lead-gen/index.js +16 -15
  53. package/dist/features/monitoring/index.css +18 -29
  54. package/dist/features/monitoring/index.js +17 -16
  55. package/dist/features/monitoring/requests/index.css +28 -39
  56. package/dist/features/monitoring/requests/index.js +13 -13
  57. package/dist/features/operations/index.css +28 -39
  58. package/dist/features/operations/index.d.ts +16 -98
  59. package/dist/features/operations/index.js +26 -20
  60. package/dist/features/settings/index.css +28 -39
  61. package/dist/features/settings/index.d.ts +1 -0
  62. package/dist/features/settings/index.js +15 -15
  63. package/dist/hooks/delivery/index.css +28 -39
  64. package/dist/hooks/delivery/index.js +2 -2
  65. package/dist/hooks/index.css +18 -29
  66. package/dist/hooks/index.d.ts +180 -377
  67. package/dist/hooks/index.js +13 -13
  68. package/dist/hooks/published.css +18 -29
  69. package/dist/hooks/published.d.ts +180 -377
  70. package/dist/hooks/published.js +13 -13
  71. package/dist/index.css +18 -29
  72. package/dist/index.d.ts +1549 -946
  73. package/dist/index.js +15 -14
  74. package/dist/initialization/index.d.ts +1 -0
  75. package/dist/knowledge/index.d.ts +991 -41
  76. package/dist/knowledge/index.js +5469 -413
  77. package/dist/layout/index.d.ts +2 -0
  78. package/dist/layout/index.js +3 -2
  79. package/dist/organization/index.css +28 -39
  80. package/dist/organization/index.d.ts +1 -0
  81. package/dist/provider/index.css +28 -39
  82. package/dist/provider/index.d.ts +1147 -348
  83. package/dist/provider/index.js +11 -10
  84. package/dist/provider/published.css +28 -39
  85. package/dist/provider/published.d.ts +1146 -347
  86. package/dist/provider/published.js +8 -8
  87. package/dist/test-utils/index.js +2 -2
  88. package/dist/test-utils/setup.js +1 -1
  89. package/dist/theme/index.js +3 -2
  90. package/dist/theme/presets/index.d.ts +97 -0
  91. package/dist/theme/presets/index.js +3 -0
  92. package/dist/types/index.d.ts +71 -126
  93. package/dist/utils/index.js +1 -1
  94. package/dist/vite/index.d.ts +7 -0
  95. package/dist/vite/index.js +10 -0
  96. package/dist/vite-plugin-knowledge/index.d.ts +1 -33
  97. package/dist/vite-plugin-knowledge/index.js +1 -66
  98. package/package.json +46 -33
  99. package/src/knowledge/README.md +8 -8
  100. package/src/theme/presets/README.md +19 -0
  101. /package/dist/{chunk-SGXXJE52.js → chunk-QD4X4H5A.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as react from 'react';
2
- import { ReactNode, ComponentType, MouseEvent, AnchorHTMLAttributes, ElementType } from 'react';
2
+ import { ReactNode, MouseEvent, AnchorHTMLAttributes, ElementType, ComponentType } from 'react';
3
3
  import * as _tanstack_react_query from '@tanstack/react-query';
4
4
  import { QueryClient } from '@tanstack/react-query';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
- import { z } from 'zod';
6
+ import * as z from 'zod';
7
+ import { z as z$1 } from 'zod';
7
8
  import { CSSVariablesResolver, MantineThemeOverride } from '@mantine/core';
8
9
  import { Node, Edge, NodeMouseHandler } from '@xyflow/react';
9
10
  import { IconBrain } from '@tabler/icons-react';
@@ -335,56 +336,6 @@ interface ExecutionLogMessage {
335
336
  context?: LogContext;
336
337
  }
337
338
 
338
- /**
339
- * Shared form field types for dynamic form generation
340
- * Used by: Command Queue, Execution Runner UI, future form-based features
341
- */
342
- /**
343
- * Supported form field types for action payloads
344
- * Maps to Mantine form components
345
- */
346
- type FormFieldType = 'text' | 'textarea' | 'number' | 'select' | 'checkbox' | 'radio' | 'richtext';
347
- /**
348
- * Form field definition
349
- */
350
- interface FormField {
351
- /** Field key in payload object */
352
- name: string;
353
- /** Field label for UI */
354
- label: string;
355
- /** Field type (determines UI component) */
356
- type: FormFieldType;
357
- /** Default value */
358
- defaultValue?: unknown;
359
- /** Required field */
360
- required?: boolean;
361
- /** Placeholder text */
362
- placeholder?: string;
363
- /** Help text */
364
- description?: string;
365
- /** Options for select/radio */
366
- options?: Array<{
367
- label: string;
368
- value: string | number;
369
- }>;
370
- /** Min/max for number */
371
- min?: number;
372
- max?: number;
373
- /** Path to context value for pre-filling (dot notation, e.g., 'proposal.summary') */
374
- defaultValueFromContext?: string;
375
- }
376
- /**
377
- * Form schema for action payload collection
378
- */
379
- interface FormSchema {
380
- /** Form title */
381
- title?: string;
382
- /** Form description */
383
- description?: string;
384
- /** Form fields */
385
- fields: FormField[];
386
- }
387
-
388
339
  /**
389
340
  * Serialized Registry Types
390
341
  *
@@ -392,67 +343,6 @@ interface FormSchema {
392
343
  * Serialization happens once at API startup, enabling instant response times.
393
344
  */
394
345
 
395
- /**
396
- * Serialized form field for API responses
397
- */
398
- interface SerializedFormField {
399
- name: string;
400
- label: string;
401
- type: FormFieldType;
402
- defaultValue?: unknown;
403
- required?: boolean;
404
- placeholder?: string;
405
- description?: string;
406
- options?: Array<{
407
- label: string;
408
- value: string | number;
409
- }>;
410
- min?: number;
411
- max?: number;
412
- }
413
- /**
414
- * Serialized form schema for API responses
415
- */
416
- interface SerializedFormSchema {
417
- title?: string;
418
- description?: string;
419
- fields: SerializedFormField[];
420
- layout?: 'vertical' | 'horizontal' | 'grid';
421
- }
422
- /**
423
- * Serialized execution form schema for API responses
424
- */
425
- interface SerializedExecutionFormSchema extends SerializedFormSchema {
426
- fieldMappings?: Record<string, string>;
427
- submitButton?: {
428
- label?: string;
429
- loadingLabel?: string;
430
- confirmMessage?: string;
431
- };
432
- }
433
- /**
434
- * Serialized schedule config for API responses
435
- */
436
- interface SerializedScheduleConfig {
437
- enabled: boolean;
438
- defaultSchedule?: string;
439
- allowedPatterns?: string[];
440
- }
441
- /**
442
- * Serialized webhook config for API responses
443
- */
444
- interface SerializedWebhookConfig {
445
- enabled: boolean;
446
- payloadSchema?: unknown;
447
- }
448
- /**
449
- * Serialized execution interface for API responses
450
- */
451
- interface SerializedExecutionInterface {
452
- form: SerializedExecutionFormSchema;
453
- schedule?: SerializedScheduleConfig;
454
- webhook?: SerializedWebhookConfig;
455
- }
456
346
  /**
457
347
  * Serialized agent definition (JSON-safe)
458
348
  * Result of serializeDefinition(AgentDefinition)
@@ -508,7 +398,6 @@ interface SerializedAgentDefinition {
508
398
  }>;
509
399
  };
510
400
  metricsConfig?: object;
511
- interface?: SerializedExecutionInterface;
512
401
  }
513
402
  /**
514
403
  * Serialized workflow definition (JSON-safe)
@@ -548,7 +437,56 @@ interface SerializedWorkflowDefinition {
548
437
  outputSchema?: object;
549
438
  };
550
439
  metricsConfig?: object;
551
- interface?: SerializedExecutionInterface;
440
+ }
441
+
442
+ /**
443
+ * Shared form field types for dynamic form generation
444
+ * Used by: Command Queue, Execution Runner UI, future form-based features
445
+ */
446
+ /**
447
+ * Supported form field types for action payloads
448
+ * Maps to Mantine form components
449
+ */
450
+ type FormFieldType = 'text' | 'textarea' | 'number' | 'select' | 'checkbox' | 'radio' | 'richtext';
451
+ /**
452
+ * Form field definition
453
+ */
454
+ interface FormField {
455
+ /** Field key in payload object */
456
+ name: string;
457
+ /** Field label for UI */
458
+ label: string;
459
+ /** Field type (determines UI component) */
460
+ type: FormFieldType;
461
+ /** Default value */
462
+ defaultValue?: unknown;
463
+ /** Required field */
464
+ required?: boolean;
465
+ /** Placeholder text */
466
+ placeholder?: string;
467
+ /** Help text */
468
+ description?: string;
469
+ /** Options for select/radio */
470
+ options?: Array<{
471
+ label: string;
472
+ value: string | number;
473
+ }>;
474
+ /** Min/max for number */
475
+ min?: number;
476
+ max?: number;
477
+ /** Path to context value for pre-filling (dot notation, e.g., 'proposal.summary') */
478
+ defaultValueFromContext?: string;
479
+ }
480
+ /**
481
+ * Form schema for action payload collection
482
+ */
483
+ interface FormSchema {
484
+ /** Form title */
485
+ title?: string;
486
+ /** Form description */
487
+ description?: string;
488
+ /** Form fields */
489
+ fields: FormField[];
552
490
  }
553
491
 
554
492
  /**
@@ -3646,6 +3584,294 @@ interface AgentIterationData {
3646
3584
  status: 'running' | 'completed' | 'failed' | 'warning';
3647
3585
  }
3648
3586
 
3587
+ declare const TransitionItemRequestSchema: z$1.ZodObject<{
3588
+ pipelineKey: z$1.ZodString;
3589
+ stageKey: z$1.ZodString;
3590
+ stateKey: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
3591
+ reason: z$1.ZodOptional<z$1.ZodString>;
3592
+ expectedUpdatedAt: z$1.ZodOptional<z$1.ZodString>;
3593
+ }, z$1.core.$strict>;
3594
+ /**
3595
+ * Deal detail shape — currently the same as a list item (full joined record).
3596
+ * Additive fields keep existing DealListItem callers compatible.
3597
+ */
3598
+ declare const DealDetailResponseSchema: z$1.ZodObject<{
3599
+ id: z$1.ZodString;
3600
+ organization_id: z$1.ZodString;
3601
+ contact_id: z$1.ZodNullable<z$1.ZodString>;
3602
+ contact_email: z$1.ZodString;
3603
+ pipeline_key: z$1.ZodString;
3604
+ stage_key: z$1.ZodNullable<z$1.ZodString>;
3605
+ state_key: z$1.ZodNullable<z$1.ZodString>;
3606
+ activity_log: z$1.ZodUnknown;
3607
+ discovery_data: z$1.ZodNullable<z$1.ZodUnknown>;
3608
+ discovery_submitted_at: z$1.ZodNullable<z$1.ZodString>;
3609
+ discovery_submitted_by: z$1.ZodNullable<z$1.ZodString>;
3610
+ proposal_data: z$1.ZodNullable<z$1.ZodUnknown>;
3611
+ proposal_sent_at: z$1.ZodNullable<z$1.ZodString>;
3612
+ proposal_pdf_url: z$1.ZodNullable<z$1.ZodString>;
3613
+ signature_envelope_id: z$1.ZodNullable<z$1.ZodString>;
3614
+ source_list_id: z$1.ZodNullable<z$1.ZodString>;
3615
+ source_type: z$1.ZodNullable<z$1.ZodString>;
3616
+ initial_fee: z$1.ZodNullable<z$1.ZodNumber>;
3617
+ monthly_fee: z$1.ZodNullable<z$1.ZodNumber>;
3618
+ closed_lost_at: z$1.ZodNullable<z$1.ZodString>;
3619
+ closed_lost_reason: z$1.ZodNullable<z$1.ZodString>;
3620
+ created_at: z$1.ZodString;
3621
+ updated_at: z$1.ZodString;
3622
+ priority: z$1.ZodObject<{
3623
+ bucketKey: z$1.ZodEnum<{
3624
+ needs_response: "needs_response";
3625
+ follow_up_due: "follow_up_due";
3626
+ waiting: "waiting";
3627
+ stale: "stale";
3628
+ closed_low: "closed_low";
3629
+ }>;
3630
+ rank: z$1.ZodNumber;
3631
+ label: z$1.ZodString;
3632
+ color: z$1.ZodString;
3633
+ reason: z$1.ZodString;
3634
+ latestActivityAt: z$1.ZodNullable<z$1.ZodString>;
3635
+ nextActionAt: z$1.ZodNullable<z$1.ZodString>;
3636
+ }, z$1.core.$strip>;
3637
+ ownership: z$1.ZodNullable<z$1.ZodEnum<{
3638
+ us: "us";
3639
+ them: "them";
3640
+ }>>;
3641
+ nextAction: z$1.ZodNullable<z$1.ZodString>;
3642
+ contact: z$1.ZodNullable<z$1.ZodObject<{
3643
+ id: z$1.ZodString;
3644
+ first_name: z$1.ZodNullable<z$1.ZodString>;
3645
+ last_name: z$1.ZodNullable<z$1.ZodString>;
3646
+ email: z$1.ZodString;
3647
+ title: z$1.ZodNullable<z$1.ZodString>;
3648
+ headline: z$1.ZodNullable<z$1.ZodString>;
3649
+ linkedin_url: z$1.ZodNullable<z$1.ZodString>;
3650
+ pipeline_status: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3651
+ enrichment_data: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3652
+ company: z$1.ZodNullable<z$1.ZodObject<{
3653
+ id: z$1.ZodString;
3654
+ name: z$1.ZodString;
3655
+ domain: z$1.ZodNullable<z$1.ZodString>;
3656
+ website: z$1.ZodNullable<z$1.ZodString>;
3657
+ linkedin_url: z$1.ZodNullable<z$1.ZodString>;
3658
+ segment: z$1.ZodNullable<z$1.ZodString>;
3659
+ category: z$1.ZodNullable<z$1.ZodString>;
3660
+ num_employees: z$1.ZodNullable<z$1.ZodNumber>;
3661
+ }, z$1.core.$strip>>;
3662
+ }, z$1.core.$strip>>;
3663
+ conversation: z$1.ZodObject<{
3664
+ messages: z$1.ZodArray<z$1.ZodObject<{
3665
+ id: z$1.ZodString;
3666
+ direction: z$1.ZodEnum<{
3667
+ inbound: "inbound";
3668
+ outbound: "outbound";
3669
+ }>;
3670
+ fromEmail: z$1.ZodString;
3671
+ toEmail: z$1.ZodString;
3672
+ subject: z$1.ZodNullable<z$1.ZodString>;
3673
+ body: z$1.ZodString;
3674
+ sentAt: z$1.ZodNullable<z$1.ZodString>;
3675
+ }, z$1.core.$strip>>;
3676
+ }, z$1.core.$strip>;
3677
+ }, z$1.core.$strip>;
3678
+ type TransitionItemRequest = z$1.infer<typeof TransitionItemRequestSchema>;
3679
+ type DealDetailResponse = z$1.infer<typeof DealDetailResponseSchema>;
3680
+ /**
3681
+ * Lifecycle status enum for `acq_lists.status` (mirrors DB CHECK constraint
3682
+ * from migration 20260428000003_lead_gen_acq_lists_status_and_config.sql).
3683
+ */
3684
+ declare const ListStatusSchema: z$1.ZodEnum<{
3685
+ closing: "closing";
3686
+ draft: "draft";
3687
+ enriching: "enriching";
3688
+ launched: "launched";
3689
+ archived: "archived";
3690
+ }>;
3691
+ /**
3692
+ * Single list as returned by /api/acquisition/lists/:id etc.
3693
+ * Camel-cased domain shape matching AcqList in types.ts.
3694
+ */
3695
+ declare const AcqListResponseSchema: z$1.ZodObject<{
3696
+ id: z$1.ZodString;
3697
+ organizationId: z$1.ZodString;
3698
+ name: z$1.ZodString;
3699
+ description: z$1.ZodNullable<z$1.ZodString>;
3700
+ batchIds: z$1.ZodArray<z$1.ZodString>;
3701
+ instantlyCampaignId: z$1.ZodNullable<z$1.ZodString>;
3702
+ status: z$1.ZodEnum<{
3703
+ closing: "closing";
3704
+ draft: "draft";
3705
+ enriching: "enriching";
3706
+ launched: "launched";
3707
+ archived: "archived";
3708
+ }>;
3709
+ metadata: z$1.ZodObject<{
3710
+ buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
3711
+ templateId: z$1.ZodString;
3712
+ templateLabel: z$1.ZodString;
3713
+ steps: z$1.ZodArray<z$1.ZodObject<{
3714
+ id: z$1.ZodString;
3715
+ label: z$1.ZodString;
3716
+ description: z$1.ZodOptional<z$1.ZodString>;
3717
+ primaryEntity: z$1.ZodEnum<{
3718
+ company: "company";
3719
+ contact: "contact";
3720
+ }>;
3721
+ outputs: z$1.ZodArray<z$1.ZodEnum<{
3722
+ company: "company";
3723
+ contact: "contact";
3724
+ export: "export";
3725
+ }>>;
3726
+ stageKey: z$1.ZodString;
3727
+ dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3728
+ dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3729
+ capabilityKey: z$1.ZodString;
3730
+ defaultBatchSize: z$1.ZodNumber;
3731
+ maxBatchSize: z$1.ZodNumber;
3732
+ }, z$1.core.$strip>>;
3733
+ }, z$1.core.$strip>>;
3734
+ }, z$1.core.$catchall<z$1.ZodUnknown>>;
3735
+ launchedAt: z$1.ZodNullable<z$1.ZodString>;
3736
+ completedAt: z$1.ZodNullable<z$1.ZodString>;
3737
+ createdAt: z$1.ZodString;
3738
+ scrapingConfig: z$1.ZodObject<{
3739
+ vertical: z$1.ZodOptional<z$1.ZodString>;
3740
+ geography: z$1.ZodOptional<z$1.ZodString>;
3741
+ size: z$1.ZodOptional<z$1.ZodString>;
3742
+ apifyInput: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3743
+ }, z$1.core.$strip>;
3744
+ icp: z$1.ZodObject<{
3745
+ qualificationRubricKey: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
3746
+ targetDescription: z$1.ZodOptional<z$1.ZodString>;
3747
+ minReviewCount: z$1.ZodOptional<z$1.ZodNumber>;
3748
+ minRating: z$1.ZodOptional<z$1.ZodNumber>;
3749
+ excludeFranchises: z$1.ZodOptional<z$1.ZodBoolean>;
3750
+ customRules: z$1.ZodOptional<z$1.ZodString>;
3751
+ }, z$1.core.$strip>;
3752
+ pipelineConfig: z$1.ZodObject<{
3753
+ stages: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3754
+ key: z$1.ZodString;
3755
+ label: z$1.ZodOptional<z$1.ZodString>;
3756
+ enabled: z$1.ZodOptional<z$1.ZodBoolean>;
3757
+ order: z$1.ZodOptional<z$1.ZodNumber>;
3758
+ }, z$1.core.$strip>>>;
3759
+ }, z$1.core.$strip>;
3760
+ }, z$1.core.$strip>;
3761
+ declare const ListCompaniesQuerySchema: z$1.ZodObject<{
3762
+ search: z$1.ZodOptional<z$1.ZodString>;
3763
+ listId: z$1.ZodOptional<z$1.ZodString>;
3764
+ domain: z$1.ZodOptional<z$1.ZodString>;
3765
+ website: z$1.ZodOptional<z$1.ZodString>;
3766
+ segment: z$1.ZodOptional<z$1.ZodString>;
3767
+ category: z$1.ZodOptional<z$1.ZodString>;
3768
+ batchId: z$1.ZodOptional<z$1.ZodString>;
3769
+ status: z$1.ZodOptional<z$1.ZodEnum<{
3770
+ active: "active";
3771
+ invalid: "invalid";
3772
+ }>>;
3773
+ includeAll: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodBoolean>>;
3774
+ limit: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
3775
+ offset: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
3776
+ }, z$1.core.$strict>;
3777
+ declare const ListContactsQuerySchema: z$1.ZodObject<{
3778
+ search: z$1.ZodOptional<z$1.ZodString>;
3779
+ listId: z$1.ZodOptional<z$1.ZodString>;
3780
+ openingLineIsNull: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodBoolean>>;
3781
+ batchId: z$1.ZodOptional<z$1.ZodString>;
3782
+ contactStatus: z$1.ZodOptional<z$1.ZodEnum<{
3783
+ active: "active";
3784
+ invalid: "invalid";
3785
+ }>>;
3786
+ limit: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
3787
+ offset: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
3788
+ }, z$1.core.$strict>;
3789
+ declare const AcqCompanyResponseSchema: z$1.ZodObject<{
3790
+ id: z$1.ZodString;
3791
+ organizationId: z$1.ZodString;
3792
+ name: z$1.ZodString;
3793
+ domain: z$1.ZodNullable<z$1.ZodString>;
3794
+ linkedinUrl: z$1.ZodNullable<z$1.ZodString>;
3795
+ website: z$1.ZodNullable<z$1.ZodString>;
3796
+ numEmployees: z$1.ZodNullable<z$1.ZodNumber>;
3797
+ foundedYear: z$1.ZodNullable<z$1.ZodNumber>;
3798
+ locationCity: z$1.ZodNullable<z$1.ZodString>;
3799
+ locationState: z$1.ZodNullable<z$1.ZodString>;
3800
+ category: z$1.ZodNullable<z$1.ZodString>;
3801
+ categoryPain: z$1.ZodNullable<z$1.ZodString>;
3802
+ segment: z$1.ZodNullable<z$1.ZodString>;
3803
+ pipelineStatus: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3804
+ enrichmentData: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3805
+ source: z$1.ZodNullable<z$1.ZodString>;
3806
+ batchId: z$1.ZodNullable<z$1.ZodString>;
3807
+ status: z$1.ZodEnum<{
3808
+ active: "active";
3809
+ invalid: "invalid";
3810
+ }>;
3811
+ contactCount: z$1.ZodNumber;
3812
+ verticalResearch: z$1.ZodNullable<z$1.ZodString>;
3813
+ createdAt: z$1.ZodString;
3814
+ updatedAt: z$1.ZodString;
3815
+ }, z$1.core.$strip>;
3816
+ declare const AcqContactResponseSchema: z$1.ZodObject<{
3817
+ id: z$1.ZodString;
3818
+ organizationId: z$1.ZodString;
3819
+ companyId: z$1.ZodNullable<z$1.ZodString>;
3820
+ email: z$1.ZodString;
3821
+ emailValid: z$1.ZodNullable<z$1.ZodEnum<{
3822
+ VALID: "VALID";
3823
+ INVALID: "INVALID";
3824
+ RISKY: "RISKY";
3825
+ UNKNOWN: "UNKNOWN";
3826
+ }>>;
3827
+ firstName: z$1.ZodNullable<z$1.ZodString>;
3828
+ lastName: z$1.ZodNullable<z$1.ZodString>;
3829
+ linkedinUrl: z$1.ZodNullable<z$1.ZodString>;
3830
+ title: z$1.ZodNullable<z$1.ZodString>;
3831
+ headline: z$1.ZodNullable<z$1.ZodString>;
3832
+ filterReason: z$1.ZodNullable<z$1.ZodString>;
3833
+ openingLine: z$1.ZodNullable<z$1.ZodString>;
3834
+ source: z$1.ZodNullable<z$1.ZodString>;
3835
+ sourceId: z$1.ZodNullable<z$1.ZodString>;
3836
+ pipelineStatus: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3837
+ enrichmentData: z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3838
+ attioPersonId: z$1.ZodNullable<z$1.ZodString>;
3839
+ batchId: z$1.ZodNullable<z$1.ZodString>;
3840
+ status: z$1.ZodEnum<{
3841
+ active: "active";
3842
+ invalid: "invalid";
3843
+ }>;
3844
+ company: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
3845
+ id: z$1.ZodString;
3846
+ name: z$1.ZodString;
3847
+ domain: z$1.ZodNullable<z$1.ZodString>;
3848
+ website: z$1.ZodNullable<z$1.ZodString>;
3849
+ linkedinUrl: z$1.ZodNullable<z$1.ZodString>;
3850
+ segment: z$1.ZodNullable<z$1.ZodString>;
3851
+ category: z$1.ZodNullable<z$1.ZodString>;
3852
+ status: z$1.ZodEnum<{
3853
+ active: "active";
3854
+ invalid: "invalid";
3855
+ }>;
3856
+ }, z$1.core.$strip>>>;
3857
+ createdAt: z$1.ZodString;
3858
+ updatedAt: z$1.ZodString;
3859
+ }, z$1.core.$strip>;
3860
+ declare const AcqArtifactOwnerKindSchema: z$1.ZodEnum<{
3861
+ company: "company";
3862
+ contact: "contact";
3863
+ list: "list";
3864
+ deal: "deal";
3865
+ list_member: "list_member";
3866
+ }>;
3867
+ type ListCompaniesQuery = z$1.infer<typeof ListCompaniesQuerySchema>;
3868
+ type ListContactsQuery = z$1.infer<typeof ListContactsQuerySchema>;
3869
+ type AcqCompanyResponse = z$1.infer<typeof AcqCompanyResponseSchema>;
3870
+ type AcqContactResponse = z$1.infer<typeof AcqContactResponseSchema>;
3871
+ type AcqArtifactOwnerKind = z$1.infer<typeof AcqArtifactOwnerKindSchema>;
3872
+ type ListStatus = z$1.infer<typeof ListStatusSchema>;
3873
+ type AcqListResponse = z$1.infer<typeof AcqListResponseSchema>;
3874
+
3649
3875
  /** Raw database row type for acq_deals table */
3650
3876
  type AcqDealRow = Database['public']['Tables']['acq_deals']['Row'];
3651
3877
  type DealStage = 'interested' | 'proposal' | 'closing' | 'closed_won' | 'closed_lost' | 'nurturing';
@@ -3744,294 +3970,6 @@ interface ListTelemetry {
3744
3970
  activeWorkflows?: string[];
3745
3971
  }
3746
3972
 
3747
- declare const TransitionItemRequestSchema: z.ZodObject<{
3748
- pipelineKey: z.ZodString;
3749
- stageKey: z.ZodString;
3750
- stateKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3751
- reason: z.ZodOptional<z.ZodString>;
3752
- expectedUpdatedAt: z.ZodOptional<z.ZodString>;
3753
- }, z.core.$strict>;
3754
- /**
3755
- * Deal detail shape — currently the same as a list item (full joined record).
3756
- * Additive fields keep existing DealListItem callers compatible.
3757
- */
3758
- declare const DealDetailResponseSchema: z.ZodObject<{
3759
- id: z.ZodString;
3760
- organization_id: z.ZodString;
3761
- contact_id: z.ZodNullable<z.ZodString>;
3762
- contact_email: z.ZodString;
3763
- pipeline_key: z.ZodString;
3764
- stage_key: z.ZodNullable<z.ZodString>;
3765
- state_key: z.ZodNullable<z.ZodString>;
3766
- activity_log: z.ZodUnknown;
3767
- discovery_data: z.ZodNullable<z.ZodUnknown>;
3768
- discovery_submitted_at: z.ZodNullable<z.ZodString>;
3769
- discovery_submitted_by: z.ZodNullable<z.ZodString>;
3770
- proposal_data: z.ZodNullable<z.ZodUnknown>;
3771
- proposal_sent_at: z.ZodNullable<z.ZodString>;
3772
- proposal_pdf_url: z.ZodNullable<z.ZodString>;
3773
- signature_envelope_id: z.ZodNullable<z.ZodString>;
3774
- source_list_id: z.ZodNullable<z.ZodString>;
3775
- source_type: z.ZodNullable<z.ZodString>;
3776
- initial_fee: z.ZodNullable<z.ZodNumber>;
3777
- monthly_fee: z.ZodNullable<z.ZodNumber>;
3778
- closed_lost_at: z.ZodNullable<z.ZodString>;
3779
- closed_lost_reason: z.ZodNullable<z.ZodString>;
3780
- created_at: z.ZodString;
3781
- updated_at: z.ZodString;
3782
- priority: z.ZodObject<{
3783
- bucketKey: z.ZodEnum<{
3784
- needs_response: "needs_response";
3785
- follow_up_due: "follow_up_due";
3786
- waiting: "waiting";
3787
- stale: "stale";
3788
- closed_low: "closed_low";
3789
- }>;
3790
- rank: z.ZodNumber;
3791
- label: z.ZodString;
3792
- color: z.ZodString;
3793
- reason: z.ZodString;
3794
- latestActivityAt: z.ZodNullable<z.ZodString>;
3795
- nextActionAt: z.ZodNullable<z.ZodString>;
3796
- }, z.core.$strip>;
3797
- ownership: z.ZodNullable<z.ZodEnum<{
3798
- us: "us";
3799
- them: "them";
3800
- }>>;
3801
- nextAction: z.ZodNullable<z.ZodString>;
3802
- contact: z.ZodNullable<z.ZodObject<{
3803
- id: z.ZodString;
3804
- first_name: z.ZodNullable<z.ZodString>;
3805
- last_name: z.ZodNullable<z.ZodString>;
3806
- email: z.ZodString;
3807
- title: z.ZodNullable<z.ZodString>;
3808
- headline: z.ZodNullable<z.ZodString>;
3809
- linkedin_url: z.ZodNullable<z.ZodString>;
3810
- pipeline_status: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3811
- enrichment_data: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3812
- company: z.ZodNullable<z.ZodObject<{
3813
- id: z.ZodString;
3814
- name: z.ZodString;
3815
- domain: z.ZodNullable<z.ZodString>;
3816
- website: z.ZodNullable<z.ZodString>;
3817
- linkedin_url: z.ZodNullable<z.ZodString>;
3818
- segment: z.ZodNullable<z.ZodString>;
3819
- category: z.ZodNullable<z.ZodString>;
3820
- num_employees: z.ZodNullable<z.ZodNumber>;
3821
- }, z.core.$strip>>;
3822
- }, z.core.$strip>>;
3823
- conversation: z.ZodObject<{
3824
- messages: z.ZodArray<z.ZodObject<{
3825
- id: z.ZodString;
3826
- direction: z.ZodEnum<{
3827
- inbound: "inbound";
3828
- outbound: "outbound";
3829
- }>;
3830
- fromEmail: z.ZodString;
3831
- toEmail: z.ZodString;
3832
- subject: z.ZodNullable<z.ZodString>;
3833
- body: z.ZodString;
3834
- sentAt: z.ZodNullable<z.ZodString>;
3835
- }, z.core.$strip>>;
3836
- }, z.core.$strip>;
3837
- }, z.core.$strip>;
3838
- type TransitionItemRequest = z.infer<typeof TransitionItemRequestSchema>;
3839
- type DealDetailResponse = z.infer<typeof DealDetailResponseSchema>;
3840
- /**
3841
- * Lifecycle status enum for `acq_lists.status` (mirrors DB CHECK constraint
3842
- * from migration 20260428000003_lead_gen_acq_lists_status_and_config.sql).
3843
- */
3844
- declare const ListStatusSchema: z.ZodEnum<{
3845
- closing: "closing";
3846
- draft: "draft";
3847
- enriching: "enriching";
3848
- launched: "launched";
3849
- archived: "archived";
3850
- }>;
3851
- /**
3852
- * Single list as returned by /api/acquisition/lists/:id etc.
3853
- * Camel-cased domain shape matching AcqList in types.ts.
3854
- */
3855
- declare const AcqListResponseSchema: z.ZodObject<{
3856
- id: z.ZodString;
3857
- organizationId: z.ZodString;
3858
- name: z.ZodString;
3859
- description: z.ZodNullable<z.ZodString>;
3860
- batchIds: z.ZodArray<z.ZodString>;
3861
- instantlyCampaignId: z.ZodNullable<z.ZodString>;
3862
- status: z.ZodEnum<{
3863
- closing: "closing";
3864
- draft: "draft";
3865
- enriching: "enriching";
3866
- launched: "launched";
3867
- archived: "archived";
3868
- }>;
3869
- metadata: z.ZodObject<{
3870
- buildPlanSnapshot: z.ZodOptional<z.ZodObject<{
3871
- templateId: z.ZodString;
3872
- templateLabel: z.ZodString;
3873
- steps: z.ZodArray<z.ZodObject<{
3874
- id: z.ZodString;
3875
- label: z.ZodString;
3876
- description: z.ZodOptional<z.ZodString>;
3877
- primaryEntity: z.ZodEnum<{
3878
- company: "company";
3879
- contact: "contact";
3880
- }>;
3881
- outputs: z.ZodArray<z.ZodEnum<{
3882
- company: "company";
3883
- contact: "contact";
3884
- export: "export";
3885
- }>>;
3886
- stageKey: z.ZodString;
3887
- dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
3888
- dependencyMode: z.ZodLiteral<"per-record-eligibility">;
3889
- capabilityKey: z.ZodString;
3890
- defaultBatchSize: z.ZodNumber;
3891
- maxBatchSize: z.ZodNumber;
3892
- }, z.core.$strip>>;
3893
- }, z.core.$strip>>;
3894
- }, z.core.$catchall<z.ZodUnknown>>;
3895
- launchedAt: z.ZodNullable<z.ZodString>;
3896
- completedAt: z.ZodNullable<z.ZodString>;
3897
- createdAt: z.ZodString;
3898
- scrapingConfig: z.ZodObject<{
3899
- vertical: z.ZodOptional<z.ZodString>;
3900
- geography: z.ZodOptional<z.ZodString>;
3901
- size: z.ZodOptional<z.ZodString>;
3902
- apifyInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3903
- }, z.core.$strip>;
3904
- icp: z.ZodObject<{
3905
- qualificationRubricKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3906
- targetDescription: z.ZodOptional<z.ZodString>;
3907
- minReviewCount: z.ZodOptional<z.ZodNumber>;
3908
- minRating: z.ZodOptional<z.ZodNumber>;
3909
- excludeFranchises: z.ZodOptional<z.ZodBoolean>;
3910
- customRules: z.ZodOptional<z.ZodString>;
3911
- }, z.core.$strip>;
3912
- pipelineConfig: z.ZodObject<{
3913
- stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
3914
- key: z.ZodString;
3915
- label: z.ZodOptional<z.ZodString>;
3916
- enabled: z.ZodOptional<z.ZodBoolean>;
3917
- order: z.ZodOptional<z.ZodNumber>;
3918
- }, z.core.$strip>>>;
3919
- }, z.core.$strip>;
3920
- }, z.core.$strip>;
3921
- declare const ListCompaniesQuerySchema: z.ZodObject<{
3922
- search: z.ZodOptional<z.ZodString>;
3923
- listId: z.ZodOptional<z.ZodString>;
3924
- domain: z.ZodOptional<z.ZodString>;
3925
- website: z.ZodOptional<z.ZodString>;
3926
- segment: z.ZodOptional<z.ZodString>;
3927
- category: z.ZodOptional<z.ZodString>;
3928
- batchId: z.ZodOptional<z.ZodString>;
3929
- status: z.ZodOptional<z.ZodEnum<{
3930
- active: "active";
3931
- invalid: "invalid";
3932
- }>>;
3933
- includeAll: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
3934
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
3935
- offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
3936
- }, z.core.$strict>;
3937
- declare const ListContactsQuerySchema: z.ZodObject<{
3938
- search: z.ZodOptional<z.ZodString>;
3939
- listId: z.ZodOptional<z.ZodString>;
3940
- openingLineIsNull: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
3941
- batchId: z.ZodOptional<z.ZodString>;
3942
- contactStatus: z.ZodOptional<z.ZodEnum<{
3943
- active: "active";
3944
- invalid: "invalid";
3945
- }>>;
3946
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
3947
- offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
3948
- }, z.core.$strict>;
3949
- declare const AcqCompanyResponseSchema: z.ZodObject<{
3950
- id: z.ZodString;
3951
- organizationId: z.ZodString;
3952
- name: z.ZodString;
3953
- domain: z.ZodNullable<z.ZodString>;
3954
- linkedinUrl: z.ZodNullable<z.ZodString>;
3955
- website: z.ZodNullable<z.ZodString>;
3956
- numEmployees: z.ZodNullable<z.ZodNumber>;
3957
- foundedYear: z.ZodNullable<z.ZodNumber>;
3958
- locationCity: z.ZodNullable<z.ZodString>;
3959
- locationState: z.ZodNullable<z.ZodString>;
3960
- category: z.ZodNullable<z.ZodString>;
3961
- categoryPain: z.ZodNullable<z.ZodString>;
3962
- segment: z.ZodNullable<z.ZodString>;
3963
- pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3964
- enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3965
- source: z.ZodNullable<z.ZodString>;
3966
- batchId: z.ZodNullable<z.ZodString>;
3967
- status: z.ZodEnum<{
3968
- active: "active";
3969
- invalid: "invalid";
3970
- }>;
3971
- contactCount: z.ZodNumber;
3972
- verticalResearch: z.ZodNullable<z.ZodString>;
3973
- createdAt: z.ZodString;
3974
- updatedAt: z.ZodString;
3975
- }, z.core.$strip>;
3976
- declare const AcqContactResponseSchema: z.ZodObject<{
3977
- id: z.ZodString;
3978
- organizationId: z.ZodString;
3979
- companyId: z.ZodNullable<z.ZodString>;
3980
- email: z.ZodString;
3981
- emailValid: z.ZodNullable<z.ZodEnum<{
3982
- VALID: "VALID";
3983
- INVALID: "INVALID";
3984
- RISKY: "RISKY";
3985
- UNKNOWN: "UNKNOWN";
3986
- }>>;
3987
- firstName: z.ZodNullable<z.ZodString>;
3988
- lastName: z.ZodNullable<z.ZodString>;
3989
- linkedinUrl: z.ZodNullable<z.ZodString>;
3990
- title: z.ZodNullable<z.ZodString>;
3991
- headline: z.ZodNullable<z.ZodString>;
3992
- filterReason: z.ZodNullable<z.ZodString>;
3993
- openingLine: z.ZodNullable<z.ZodString>;
3994
- source: z.ZodNullable<z.ZodString>;
3995
- sourceId: z.ZodNullable<z.ZodString>;
3996
- pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3997
- enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3998
- attioPersonId: z.ZodNullable<z.ZodString>;
3999
- batchId: z.ZodNullable<z.ZodString>;
4000
- status: z.ZodEnum<{
4001
- active: "active";
4002
- invalid: "invalid";
4003
- }>;
4004
- company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4005
- id: z.ZodString;
4006
- name: z.ZodString;
4007
- domain: z.ZodNullable<z.ZodString>;
4008
- website: z.ZodNullable<z.ZodString>;
4009
- linkedinUrl: z.ZodNullable<z.ZodString>;
4010
- segment: z.ZodNullable<z.ZodString>;
4011
- category: z.ZodNullable<z.ZodString>;
4012
- status: z.ZodEnum<{
4013
- active: "active";
4014
- invalid: "invalid";
4015
- }>;
4016
- }, z.core.$strip>>>;
4017
- createdAt: z.ZodString;
4018
- updatedAt: z.ZodString;
4019
- }, z.core.$strip>;
4020
- declare const AcqArtifactOwnerKindSchema: z.ZodEnum<{
4021
- company: "company";
4022
- contact: "contact";
4023
- list: "list";
4024
- deal: "deal";
4025
- list_member: "list_member";
4026
- }>;
4027
- type ListCompaniesQuery = z.infer<typeof ListCompaniesQuerySchema>;
4028
- type ListContactsQuery = z.infer<typeof ListContactsQuerySchema>;
4029
- type AcqCompanyResponse = z.infer<typeof AcqCompanyResponseSchema>;
4030
- type AcqContactResponse = z.infer<typeof AcqContactResponseSchema>;
4031
- type AcqArtifactOwnerKind = z.infer<typeof AcqArtifactOwnerKindSchema>;
4032
- type ListStatus = z.infer<typeof ListStatusSchema>;
4033
- type AcqListResponse = z.infer<typeof AcqListResponseSchema>;
4034
-
4035
3973
  /**
4036
3974
  * Lead Service Types
4037
3975
  * CRUD operation types for the acquisition platform (lists, companies, contacts, deals)
@@ -4349,14 +4287,14 @@ interface ProjectDetail extends ProjectRow {
4349
4287
  interface Action {
4350
4288
  key: string;
4351
4289
  label: string;
4352
- payloadSchema?: z.ZodTypeAny;
4290
+ payloadSchema?: z$1.ZodTypeAny;
4353
4291
  }
4354
4292
  interface ActionDef {
4355
4293
  key: string;
4356
4294
  label: string;
4357
4295
  isAvailableFor: (deal: AcqDealRow) => boolean;
4358
4296
  workflowId: string;
4359
- payloadSchema?: z.ZodTypeAny;
4297
+ payloadSchema?: z$1.ZodTypeAny;
4360
4298
  }
4361
4299
 
4362
4300
  type MessageType = MessageEvent['type'];
@@ -4405,6 +4343,22 @@ interface SessionTokenUsage {
4405
4343
  contextWindowSize: number;
4406
4344
  }
4407
4345
 
4346
+ /**
4347
+ * Single source of truth for all active theme preset names.
4348
+ *
4349
+ * This is the canonical list. To add a preset:
4350
+ * 1. Add the name here.
4351
+ * 2. Create `packages/ui/src/theme/presets/{name}.ts` exporting `{name}Preset: ThemePreset`.
4352
+ * 3. Add to `PRESETS` record in `packages/ui/src/theme/presets/index.ts`.
4353
+ * 4. Add to `PresetName` union in `packages/ui/src/theme/presets/types.ts`.
4354
+ * 5. Add a card in `apps/command-center/src/features/settings/appearance/components/AppearanceSettings.tsx`.
4355
+ *
4356
+ * The union type (`ThemePresetName`) and Zod enum (`ThemePresetEnum`) are derived
4357
+ * automatically — no other files need updating.
4358
+ */
4359
+ declare const THEME_PRESETS: readonly ["default", "tactical", "regal", "cyber-volt", "aurora", "rose-gold", "midnight", "titanium", "canopy", "slate", "cyber-strike", "cyber-chrome", "cyber-void", "nirvana", "wave", "synapse", "cortex", "helios", "graphite", "quarry"];
4360
+ type ThemePresetName = (typeof THEME_PRESETS)[number];
4361
+
4408
4362
  /**
4409
4363
  * Multi-tenancy configuration types
4410
4364
  *
@@ -4413,6 +4367,7 @@ interface SessionTokenUsage {
4413
4367
  * - org_memberships.config: Per-user-per-org feature overrides
4414
4368
  * - users.config: User-global config
4415
4369
  */
4370
+
4416
4371
  /**
4417
4372
  * Per-user-per-org config (stored in org_memberships.config)
4418
4373
  * Controls which features a specific member can access within their org.
@@ -4427,7 +4382,7 @@ interface MembershipFeatureConfig {
4427
4382
  */
4428
4383
  interface UserConfig {
4429
4384
  theme?: {
4430
- preset?: 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'titanium' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-chrome' | 'cyber-void' | 'nirvana' | 'wave' | 'synapse' | 'cortex' | 'helios' | 'graphite' | 'quarry' | 'canyon' | 'nord' | 'catppuccin' | 'tokyo-night' | 'gruvbox';
4385
+ preset?: ThemePresetName;
4431
4386
  colorScheme?: 'light' | 'dark' | 'auto';
4432
4387
  };
4433
4388
  onboarding?: {
@@ -4462,11 +4417,11 @@ interface UserConfig {
4462
4417
  * Membership status validation
4463
4418
  * Note: Database constraint only allows 'active' | 'inactive'
4464
4419
  */
4465
- declare const MembershipStatusSchema: z.ZodEnum<{
4420
+ declare const MembershipStatusSchema: z$1.ZodEnum<{
4466
4421
  active: "active";
4467
4422
  inactive: "inactive";
4468
4423
  }>;
4469
- type MembershipStatus = z.infer<typeof MembershipStatusSchema>;
4424
+ type MembershipStatus = z$1.infer<typeof MembershipStatusSchema>;
4470
4425
 
4471
4426
  /**
4472
4427
  * Organization Membership types based on WorkOS API
@@ -5153,15 +5108,15 @@ interface CommandViewWorkflow extends ResourceDefinition {
5153
5108
  * - uses: Resource uses an integration (teal)
5154
5109
  * - approval: Resource requires human approval (yellow)
5155
5110
  */
5156
- type RelationshipType$1 = 'triggers' | 'uses' | 'approval';
5111
+ type RelationshipType = 'triggers' | 'uses' | 'approval';
5157
5112
  /**
5158
5113
  * Command View edge (relationship between resources)
5159
5114
  */
5160
- interface CommandViewEdge$1 {
5115
+ interface CommandViewEdge {
5161
5116
  id: string;
5162
5117
  source: string;
5163
5118
  target: string;
5164
- relationship: RelationshipType$1;
5119
+ relationship: RelationshipType;
5165
5120
  label?: string;
5166
5121
  }
5167
5122
  /**
@@ -5178,59 +5133,183 @@ interface CommandViewData {
5178
5133
  integrations: IntegrationDefinition[];
5179
5134
  externalResources: ExternalResourceDefinition[];
5180
5135
  humanCheckpoints: HumanCheckpointDefinition[];
5181
- edges: CommandViewEdge$1[];
5182
- }
5183
-
5184
- declare const FeatureSchema: z.ZodObject<{
5185
- id: z.ZodString;
5186
- label: z.ZodString;
5187
- description: z.ZodOptional<z.ZodString>;
5188
- enabled: z.ZodDefault<z.ZodBoolean>;
5189
- path: z.ZodOptional<z.ZodString>;
5190
- icon: z.ZodOptional<z.ZodString>;
5191
- color: z.ZodOptional<z.ZodString>;
5192
- uiPosition: z.ZodOptional<z.ZodEnum<{
5136
+ edges: CommandViewEdge[];
5137
+ }
5138
+
5139
+ declare const FeatureSchema: z$1.ZodObject<{
5140
+ id: z$1.ZodString;
5141
+ label: z$1.ZodString;
5142
+ description: z$1.ZodOptional<z$1.ZodString>;
5143
+ enabled: z$1.ZodDefault<z$1.ZodBoolean>;
5144
+ path: z$1.ZodOptional<z$1.ZodString>;
5145
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5146
+ "nav.dashboard": "nav.dashboard";
5147
+ "nav.sales": "nav.sales";
5148
+ "nav.crm": "nav.crm";
5149
+ "nav.lead-gen": "nav.lead-gen";
5150
+ "nav.projects": "nav.projects";
5151
+ "nav.operations": "nav.operations";
5152
+ "nav.monitoring": "nav.monitoring";
5153
+ "nav.knowledge": "nav.knowledge";
5154
+ "nav.settings": "nav.settings";
5155
+ "nav.admin": "nav.admin";
5156
+ "nav.archive": "nav.archive";
5157
+ "knowledge.playbook": "knowledge.playbook";
5158
+ "knowledge.strategy": "knowledge.strategy";
5159
+ "knowledge.reference": "knowledge.reference";
5160
+ "feature.dashboard": "feature.dashboard";
5161
+ "feature.sales": "feature.sales";
5162
+ "feature.crm": "feature.crm";
5163
+ "feature.finance": "feature.finance";
5164
+ "feature.lead-gen": "feature.lead-gen";
5165
+ "feature.platform": "feature.platform";
5166
+ "feature.projects": "feature.projects";
5167
+ "feature.operations": "feature.operations";
5168
+ "feature.knowledge": "feature.knowledge";
5169
+ "feature.monitoring": "feature.monitoring";
5170
+ "feature.settings": "feature.settings";
5171
+ "feature.admin": "feature.admin";
5172
+ "feature.archive": "feature.archive";
5173
+ "feature.seo": "feature.seo";
5174
+ "resource.agent": "resource.agent";
5175
+ "resource.workflow": "resource.workflow";
5176
+ "resource.integration": "resource.integration";
5177
+ "resource.database": "resource.database";
5178
+ "resource.user": "resource.user";
5179
+ "resource.team": "resource.team";
5180
+ "integration.gmail": "integration.gmail";
5181
+ "integration.google-sheets": "integration.google-sheets";
5182
+ "integration.attio": "integration.attio";
5183
+ "surface.dashboard": "surface.dashboard";
5184
+ "surface.overview": "surface.overview";
5185
+ "surface.command-view": "surface.command-view";
5186
+ "surface.command-queue": "surface.command-queue";
5187
+ "surface.pipeline": "surface.pipeline";
5188
+ "surface.lists": "surface.lists";
5189
+ "surface.resources": "surface.resources";
5190
+ "surface.settings": "surface.settings";
5191
+ "status.success": "status.success";
5192
+ "status.error": "status.error";
5193
+ "status.warning": "status.warning";
5194
+ "status.info": "status.info";
5195
+ "status.pending": "status.pending";
5196
+ "action.approve": "action.approve";
5197
+ "action.reject": "action.reject";
5198
+ "action.retry": "action.retry";
5199
+ "action.edit": "action.edit";
5200
+ "action.view": "action.view";
5201
+ "action.launch": "action.launch";
5202
+ "action.message": "action.message";
5203
+ "action.escalate": "action.escalate";
5204
+ "action.promote": "action.promote";
5205
+ "action.submit": "action.submit";
5206
+ "action.email": "action.email";
5207
+ }>, z$1.ZodString]>>;
5208
+ color: z$1.ZodOptional<z$1.ZodString>;
5209
+ uiPosition: z$1.ZodOptional<z$1.ZodEnum<{
5193
5210
  "sidebar-primary": "sidebar-primary";
5194
5211
  "sidebar-bottom": "sidebar-bottom";
5195
5212
  }>>;
5196
- requiresAdmin: z.ZodOptional<z.ZodBoolean>;
5197
- devOnly: z.ZodOptional<z.ZodBoolean>;
5198
- }, z.core.$strip>;
5199
-
5200
- declare const OrganizationModelSchema: z.ZodObject<{
5201
- version: z.ZodDefault<z.ZodLiteral<1>>;
5202
- features: z.ZodDefault<z.ZodArray<z.ZodObject<{
5203
- id: z.ZodString;
5204
- label: z.ZodString;
5205
- description: z.ZodOptional<z.ZodString>;
5206
- enabled: z.ZodDefault<z.ZodBoolean>;
5207
- path: z.ZodOptional<z.ZodString>;
5208
- icon: z.ZodOptional<z.ZodString>;
5209
- color: z.ZodOptional<z.ZodString>;
5210
- uiPosition: z.ZodOptional<z.ZodEnum<{
5213
+ requiresAdmin: z$1.ZodOptional<z$1.ZodBoolean>;
5214
+ devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
5215
+ }, z$1.core.$strip>;
5216
+
5217
+ declare const OrganizationModelSchema: z$1.ZodObject<{
5218
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
5219
+ features: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
5220
+ id: z$1.ZodString;
5221
+ label: z$1.ZodString;
5222
+ description: z$1.ZodOptional<z$1.ZodString>;
5223
+ enabled: z$1.ZodDefault<z$1.ZodBoolean>;
5224
+ path: z$1.ZodOptional<z$1.ZodString>;
5225
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5226
+ "nav.dashboard": "nav.dashboard";
5227
+ "nav.sales": "nav.sales";
5228
+ "nav.crm": "nav.crm";
5229
+ "nav.lead-gen": "nav.lead-gen";
5230
+ "nav.projects": "nav.projects";
5231
+ "nav.operations": "nav.operations";
5232
+ "nav.monitoring": "nav.monitoring";
5233
+ "nav.knowledge": "nav.knowledge";
5234
+ "nav.settings": "nav.settings";
5235
+ "nav.admin": "nav.admin";
5236
+ "nav.archive": "nav.archive";
5237
+ "knowledge.playbook": "knowledge.playbook";
5238
+ "knowledge.strategy": "knowledge.strategy";
5239
+ "knowledge.reference": "knowledge.reference";
5240
+ "feature.dashboard": "feature.dashboard";
5241
+ "feature.sales": "feature.sales";
5242
+ "feature.crm": "feature.crm";
5243
+ "feature.finance": "feature.finance";
5244
+ "feature.lead-gen": "feature.lead-gen";
5245
+ "feature.platform": "feature.platform";
5246
+ "feature.projects": "feature.projects";
5247
+ "feature.operations": "feature.operations";
5248
+ "feature.knowledge": "feature.knowledge";
5249
+ "feature.monitoring": "feature.monitoring";
5250
+ "feature.settings": "feature.settings";
5251
+ "feature.admin": "feature.admin";
5252
+ "feature.archive": "feature.archive";
5253
+ "feature.seo": "feature.seo";
5254
+ "resource.agent": "resource.agent";
5255
+ "resource.workflow": "resource.workflow";
5256
+ "resource.integration": "resource.integration";
5257
+ "resource.database": "resource.database";
5258
+ "resource.user": "resource.user";
5259
+ "resource.team": "resource.team";
5260
+ "integration.gmail": "integration.gmail";
5261
+ "integration.google-sheets": "integration.google-sheets";
5262
+ "integration.attio": "integration.attio";
5263
+ "surface.dashboard": "surface.dashboard";
5264
+ "surface.overview": "surface.overview";
5265
+ "surface.command-view": "surface.command-view";
5266
+ "surface.command-queue": "surface.command-queue";
5267
+ "surface.pipeline": "surface.pipeline";
5268
+ "surface.lists": "surface.lists";
5269
+ "surface.resources": "surface.resources";
5270
+ "surface.settings": "surface.settings";
5271
+ "status.success": "status.success";
5272
+ "status.error": "status.error";
5273
+ "status.warning": "status.warning";
5274
+ "status.info": "status.info";
5275
+ "status.pending": "status.pending";
5276
+ "action.approve": "action.approve";
5277
+ "action.reject": "action.reject";
5278
+ "action.retry": "action.retry";
5279
+ "action.edit": "action.edit";
5280
+ "action.view": "action.view";
5281
+ "action.launch": "action.launch";
5282
+ "action.message": "action.message";
5283
+ "action.escalate": "action.escalate";
5284
+ "action.promote": "action.promote";
5285
+ "action.submit": "action.submit";
5286
+ "action.email": "action.email";
5287
+ }>, z$1.ZodString]>>;
5288
+ color: z$1.ZodOptional<z$1.ZodString>;
5289
+ uiPosition: z$1.ZodOptional<z$1.ZodEnum<{
5211
5290
  "sidebar-primary": "sidebar-primary";
5212
5291
  "sidebar-bottom": "sidebar-bottom";
5213
5292
  }>>;
5214
- requiresAdmin: z.ZodOptional<z.ZodBoolean>;
5215
- devOnly: z.ZodOptional<z.ZodBoolean>;
5216
- }, z.core.$strip>>>;
5217
- branding: z.ZodObject<{
5218
- organizationName: z.ZodString;
5219
- productName: z.ZodString;
5220
- shortName: z.ZodString;
5221
- description: z.ZodOptional<z.ZodString>;
5222
- logos: z.ZodDefault<z.ZodObject<{
5223
- light: z.ZodOptional<z.ZodString>;
5224
- dark: z.ZodOptional<z.ZodString>;
5225
- }, z.core.$strip>>;
5226
- }, z.core.$strip>;
5227
- navigation: z.ZodDefault<z.ZodObject<{
5228
- defaultSurfaceId: z.ZodOptional<z.ZodString>;
5229
- surfaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
5230
- id: z.ZodString;
5231
- label: z.ZodString;
5232
- path: z.ZodString;
5233
- surfaceType: z.ZodEnum<{
5293
+ requiresAdmin: z$1.ZodOptional<z$1.ZodBoolean>;
5294
+ devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
5295
+ }, z$1.core.$strip>>>;
5296
+ branding: z$1.ZodObject<{
5297
+ organizationName: z$1.ZodString;
5298
+ productName: z$1.ZodString;
5299
+ shortName: z$1.ZodString;
5300
+ description: z$1.ZodOptional<z$1.ZodString>;
5301
+ logos: z$1.ZodDefault<z$1.ZodObject<{
5302
+ light: z$1.ZodOptional<z$1.ZodString>;
5303
+ dark: z$1.ZodOptional<z$1.ZodString>;
5304
+ }, z$1.core.$strip>>;
5305
+ }, z$1.core.$strip>;
5306
+ navigation: z$1.ZodDefault<z$1.ZodObject<{
5307
+ defaultSurfaceId: z$1.ZodOptional<z$1.ZodString>;
5308
+ surfaces: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
5309
+ id: z$1.ZodString;
5310
+ label: z$1.ZodString;
5311
+ path: z$1.ZodString;
5312
+ surfaceType: z$1.ZodEnum<{
5234
5313
  settings: "settings";
5235
5314
  page: "page";
5236
5315
  dashboard: "dashboard";
@@ -5238,235 +5317,793 @@ declare const OrganizationModelSchema: z.ZodObject<{
5238
5317
  detail: "detail";
5239
5318
  list: "list";
5240
5319
  }>;
5241
- description: z.ZodOptional<z.ZodString>;
5242
- enabled: z.ZodDefault<z.ZodBoolean>;
5243
- devOnly: z.ZodOptional<z.ZodBoolean>;
5244
- icon: z.ZodOptional<z.ZodString>;
5245
- featureId: z.ZodOptional<z.ZodString>;
5246
- featureIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
5247
- entityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
5248
- resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
5249
- capabilityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
5250
- parentId: z.ZodOptional<z.ZodString>;
5251
- }, z.core.$strip>>>;
5252
- groups: z.ZodDefault<z.ZodArray<z.ZodObject<{
5253
- id: z.ZodString;
5254
- label: z.ZodString;
5255
- placement: z.ZodString;
5256
- surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
5257
- }, z.core.$strip>>>;
5258
- }, z.core.$strip>>;
5259
- sales: z.ZodObject<{
5260
- entityId: z.ZodString;
5261
- defaultPipelineId: z.ZodString;
5262
- pipelines: z.ZodArray<z.ZodObject<{
5263
- id: z.ZodString;
5264
- label: z.ZodString;
5265
- description: z.ZodOptional<z.ZodString>;
5266
- entityId: z.ZodString;
5267
- stages: z.ZodArray<z.ZodObject<{
5268
- label: z.ZodString;
5269
- description: z.ZodOptional<z.ZodString>;
5270
- color: z.ZodOptional<z.ZodString>;
5271
- icon: z.ZodOptional<z.ZodString>;
5272
- id: z.ZodString;
5273
- order: z.ZodNumber;
5274
- semanticClass: z.ZodEnum<{
5320
+ description: z$1.ZodOptional<z$1.ZodString>;
5321
+ enabled: z$1.ZodDefault<z$1.ZodBoolean>;
5322
+ devOnly: z$1.ZodOptional<z$1.ZodBoolean>;
5323
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5324
+ "nav.dashboard": "nav.dashboard";
5325
+ "nav.sales": "nav.sales";
5326
+ "nav.crm": "nav.crm";
5327
+ "nav.lead-gen": "nav.lead-gen";
5328
+ "nav.projects": "nav.projects";
5329
+ "nav.operations": "nav.operations";
5330
+ "nav.monitoring": "nav.monitoring";
5331
+ "nav.knowledge": "nav.knowledge";
5332
+ "nav.settings": "nav.settings";
5333
+ "nav.admin": "nav.admin";
5334
+ "nav.archive": "nav.archive";
5335
+ "knowledge.playbook": "knowledge.playbook";
5336
+ "knowledge.strategy": "knowledge.strategy";
5337
+ "knowledge.reference": "knowledge.reference";
5338
+ "feature.dashboard": "feature.dashboard";
5339
+ "feature.sales": "feature.sales";
5340
+ "feature.crm": "feature.crm";
5341
+ "feature.finance": "feature.finance";
5342
+ "feature.lead-gen": "feature.lead-gen";
5343
+ "feature.platform": "feature.platform";
5344
+ "feature.projects": "feature.projects";
5345
+ "feature.operations": "feature.operations";
5346
+ "feature.knowledge": "feature.knowledge";
5347
+ "feature.monitoring": "feature.monitoring";
5348
+ "feature.settings": "feature.settings";
5349
+ "feature.admin": "feature.admin";
5350
+ "feature.archive": "feature.archive";
5351
+ "feature.seo": "feature.seo";
5352
+ "resource.agent": "resource.agent";
5353
+ "resource.workflow": "resource.workflow";
5354
+ "resource.integration": "resource.integration";
5355
+ "resource.database": "resource.database";
5356
+ "resource.user": "resource.user";
5357
+ "resource.team": "resource.team";
5358
+ "integration.gmail": "integration.gmail";
5359
+ "integration.google-sheets": "integration.google-sheets";
5360
+ "integration.attio": "integration.attio";
5361
+ "surface.dashboard": "surface.dashboard";
5362
+ "surface.overview": "surface.overview";
5363
+ "surface.command-view": "surface.command-view";
5364
+ "surface.command-queue": "surface.command-queue";
5365
+ "surface.pipeline": "surface.pipeline";
5366
+ "surface.lists": "surface.lists";
5367
+ "surface.resources": "surface.resources";
5368
+ "surface.settings": "surface.settings";
5369
+ "status.success": "status.success";
5370
+ "status.error": "status.error";
5371
+ "status.warning": "status.warning";
5372
+ "status.info": "status.info";
5373
+ "status.pending": "status.pending";
5374
+ "action.approve": "action.approve";
5375
+ "action.reject": "action.reject";
5376
+ "action.retry": "action.retry";
5377
+ "action.edit": "action.edit";
5378
+ "action.view": "action.view";
5379
+ "action.launch": "action.launch";
5380
+ "action.message": "action.message";
5381
+ "action.escalate": "action.escalate";
5382
+ "action.promote": "action.promote";
5383
+ "action.submit": "action.submit";
5384
+ "action.email": "action.email";
5385
+ }>, z$1.ZodString]>>;
5386
+ featureId: z$1.ZodOptional<z$1.ZodString>;
5387
+ featureIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5388
+ entityIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5389
+ resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5390
+ capabilityIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5391
+ parentId: z$1.ZodOptional<z$1.ZodString>;
5392
+ }, z$1.core.$strip>>>;
5393
+ groups: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
5394
+ id: z$1.ZodString;
5395
+ label: z$1.ZodString;
5396
+ placement: z$1.ZodString;
5397
+ surfaceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5398
+ }, z$1.core.$strip>>>;
5399
+ }, z$1.core.$strip>>;
5400
+ sales: z$1.ZodObject<{
5401
+ entityId: z$1.ZodString;
5402
+ defaultPipelineId: z$1.ZodString;
5403
+ pipelines: z$1.ZodArray<z$1.ZodObject<{
5404
+ id: z$1.ZodString;
5405
+ label: z$1.ZodString;
5406
+ description: z$1.ZodOptional<z$1.ZodString>;
5407
+ entityId: z$1.ZodString;
5408
+ stages: z$1.ZodArray<z$1.ZodObject<{
5409
+ label: z$1.ZodString;
5410
+ description: z$1.ZodOptional<z$1.ZodString>;
5411
+ color: z$1.ZodOptional<z$1.ZodString>;
5412
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5413
+ "nav.dashboard": "nav.dashboard";
5414
+ "nav.sales": "nav.sales";
5415
+ "nav.crm": "nav.crm";
5416
+ "nav.lead-gen": "nav.lead-gen";
5417
+ "nav.projects": "nav.projects";
5418
+ "nav.operations": "nav.operations";
5419
+ "nav.monitoring": "nav.monitoring";
5420
+ "nav.knowledge": "nav.knowledge";
5421
+ "nav.settings": "nav.settings";
5422
+ "nav.admin": "nav.admin";
5423
+ "nav.archive": "nav.archive";
5424
+ "knowledge.playbook": "knowledge.playbook";
5425
+ "knowledge.strategy": "knowledge.strategy";
5426
+ "knowledge.reference": "knowledge.reference";
5427
+ "feature.dashboard": "feature.dashboard";
5428
+ "feature.sales": "feature.sales";
5429
+ "feature.crm": "feature.crm";
5430
+ "feature.finance": "feature.finance";
5431
+ "feature.lead-gen": "feature.lead-gen";
5432
+ "feature.platform": "feature.platform";
5433
+ "feature.projects": "feature.projects";
5434
+ "feature.operations": "feature.operations";
5435
+ "feature.knowledge": "feature.knowledge";
5436
+ "feature.monitoring": "feature.monitoring";
5437
+ "feature.settings": "feature.settings";
5438
+ "feature.admin": "feature.admin";
5439
+ "feature.archive": "feature.archive";
5440
+ "feature.seo": "feature.seo";
5441
+ "resource.agent": "resource.agent";
5442
+ "resource.workflow": "resource.workflow";
5443
+ "resource.integration": "resource.integration";
5444
+ "resource.database": "resource.database";
5445
+ "resource.user": "resource.user";
5446
+ "resource.team": "resource.team";
5447
+ "integration.gmail": "integration.gmail";
5448
+ "integration.google-sheets": "integration.google-sheets";
5449
+ "integration.attio": "integration.attio";
5450
+ "surface.dashboard": "surface.dashboard";
5451
+ "surface.overview": "surface.overview";
5452
+ "surface.command-view": "surface.command-view";
5453
+ "surface.command-queue": "surface.command-queue";
5454
+ "surface.pipeline": "surface.pipeline";
5455
+ "surface.lists": "surface.lists";
5456
+ "surface.resources": "surface.resources";
5457
+ "surface.settings": "surface.settings";
5458
+ "status.success": "status.success";
5459
+ "status.error": "status.error";
5460
+ "status.warning": "status.warning";
5461
+ "status.info": "status.info";
5462
+ "status.pending": "status.pending";
5463
+ "action.approve": "action.approve";
5464
+ "action.reject": "action.reject";
5465
+ "action.retry": "action.retry";
5466
+ "action.edit": "action.edit";
5467
+ "action.view": "action.view";
5468
+ "action.launch": "action.launch";
5469
+ "action.message": "action.message";
5470
+ "action.escalate": "action.escalate";
5471
+ "action.promote": "action.promote";
5472
+ "action.submit": "action.submit";
5473
+ "action.email": "action.email";
5474
+ }>, z$1.ZodString]>>;
5475
+ id: z$1.ZodString;
5476
+ order: z$1.ZodNumber;
5477
+ semanticClass: z$1.ZodEnum<{
5275
5478
  open: "open";
5276
5479
  active: "active";
5277
5480
  nurturing: "nurturing";
5278
5481
  closed_won: "closed_won";
5279
5482
  closed_lost: "closed_lost";
5280
5483
  }>;
5281
- surfaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
5282
- resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
5283
- }, z.core.$strip>>;
5284
- }, z.core.$strip>>;
5285
- }, z.core.$strip>;
5286
- prospecting: z.ZodObject<{
5287
- listEntityId: z.ZodString;
5288
- companyEntityId: z.ZodString;
5289
- contactEntityId: z.ZodString;
5290
- description: z.ZodOptional<z.ZodString>;
5291
- companyStages: z.ZodArray<z.ZodObject<{
5292
- label: z.ZodString;
5293
- description: z.ZodOptional<z.ZodString>;
5294
- color: z.ZodOptional<z.ZodString>;
5295
- icon: z.ZodOptional<z.ZodString>;
5296
- id: z.ZodString;
5297
- order: z.ZodNumber;
5298
- }, z.core.$strip>>;
5299
- contactStages: z.ZodArray<z.ZodObject<{
5300
- label: z.ZodString;
5301
- description: z.ZodOptional<z.ZodString>;
5302
- color: z.ZodOptional<z.ZodString>;
5303
- icon: z.ZodOptional<z.ZodString>;
5304
- id: z.ZodString;
5305
- order: z.ZodNumber;
5306
- }, z.core.$strip>>;
5307
- defaultBuildTemplateId: z.ZodString;
5308
- buildTemplates: z.ZodArray<z.ZodObject<{
5309
- label: z.ZodString;
5310
- description: z.ZodOptional<z.ZodString>;
5311
- color: z.ZodOptional<z.ZodString>;
5312
- icon: z.ZodOptional<z.ZodString>;
5313
- id: z.ZodString;
5314
- steps: z.ZodArray<z.ZodObject<{
5315
- label: z.ZodString;
5316
- description: z.ZodOptional<z.ZodString>;
5317
- color: z.ZodOptional<z.ZodString>;
5318
- icon: z.ZodOptional<z.ZodString>;
5319
- id: z.ZodString;
5320
- primaryEntity: z.ZodEnum<{
5484
+ surfaceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5485
+ resourceIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
5486
+ }, z$1.core.$strip>>;
5487
+ }, z$1.core.$strip>>;
5488
+ }, z$1.core.$strip>;
5489
+ prospecting: z$1.ZodObject<{
5490
+ listEntityId: z$1.ZodString;
5491
+ companyEntityId: z$1.ZodString;
5492
+ contactEntityId: z$1.ZodString;
5493
+ description: z$1.ZodOptional<z$1.ZodString>;
5494
+ companyStages: z$1.ZodArray<z$1.ZodObject<{
5495
+ label: z$1.ZodString;
5496
+ description: z$1.ZodOptional<z$1.ZodString>;
5497
+ color: z$1.ZodOptional<z$1.ZodString>;
5498
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5499
+ "nav.dashboard": "nav.dashboard";
5500
+ "nav.sales": "nav.sales";
5501
+ "nav.crm": "nav.crm";
5502
+ "nav.lead-gen": "nav.lead-gen";
5503
+ "nav.projects": "nav.projects";
5504
+ "nav.operations": "nav.operations";
5505
+ "nav.monitoring": "nav.monitoring";
5506
+ "nav.knowledge": "nav.knowledge";
5507
+ "nav.settings": "nav.settings";
5508
+ "nav.admin": "nav.admin";
5509
+ "nav.archive": "nav.archive";
5510
+ "knowledge.playbook": "knowledge.playbook";
5511
+ "knowledge.strategy": "knowledge.strategy";
5512
+ "knowledge.reference": "knowledge.reference";
5513
+ "feature.dashboard": "feature.dashboard";
5514
+ "feature.sales": "feature.sales";
5515
+ "feature.crm": "feature.crm";
5516
+ "feature.finance": "feature.finance";
5517
+ "feature.lead-gen": "feature.lead-gen";
5518
+ "feature.platform": "feature.platform";
5519
+ "feature.projects": "feature.projects";
5520
+ "feature.operations": "feature.operations";
5521
+ "feature.knowledge": "feature.knowledge";
5522
+ "feature.monitoring": "feature.monitoring";
5523
+ "feature.settings": "feature.settings";
5524
+ "feature.admin": "feature.admin";
5525
+ "feature.archive": "feature.archive";
5526
+ "feature.seo": "feature.seo";
5527
+ "resource.agent": "resource.agent";
5528
+ "resource.workflow": "resource.workflow";
5529
+ "resource.integration": "resource.integration";
5530
+ "resource.database": "resource.database";
5531
+ "resource.user": "resource.user";
5532
+ "resource.team": "resource.team";
5533
+ "integration.gmail": "integration.gmail";
5534
+ "integration.google-sheets": "integration.google-sheets";
5535
+ "integration.attio": "integration.attio";
5536
+ "surface.dashboard": "surface.dashboard";
5537
+ "surface.overview": "surface.overview";
5538
+ "surface.command-view": "surface.command-view";
5539
+ "surface.command-queue": "surface.command-queue";
5540
+ "surface.pipeline": "surface.pipeline";
5541
+ "surface.lists": "surface.lists";
5542
+ "surface.resources": "surface.resources";
5543
+ "surface.settings": "surface.settings";
5544
+ "status.success": "status.success";
5545
+ "status.error": "status.error";
5546
+ "status.warning": "status.warning";
5547
+ "status.info": "status.info";
5548
+ "status.pending": "status.pending";
5549
+ "action.approve": "action.approve";
5550
+ "action.reject": "action.reject";
5551
+ "action.retry": "action.retry";
5552
+ "action.edit": "action.edit";
5553
+ "action.view": "action.view";
5554
+ "action.launch": "action.launch";
5555
+ "action.message": "action.message";
5556
+ "action.escalate": "action.escalate";
5557
+ "action.promote": "action.promote";
5558
+ "action.submit": "action.submit";
5559
+ "action.email": "action.email";
5560
+ }>, z$1.ZodString]>>;
5561
+ id: z$1.ZodString;
5562
+ order: z$1.ZodNumber;
5563
+ }, z$1.core.$strip>>;
5564
+ contactStages: z$1.ZodArray<z$1.ZodObject<{
5565
+ label: z$1.ZodString;
5566
+ description: z$1.ZodOptional<z$1.ZodString>;
5567
+ color: z$1.ZodOptional<z$1.ZodString>;
5568
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5569
+ "nav.dashboard": "nav.dashboard";
5570
+ "nav.sales": "nav.sales";
5571
+ "nav.crm": "nav.crm";
5572
+ "nav.lead-gen": "nav.lead-gen";
5573
+ "nav.projects": "nav.projects";
5574
+ "nav.operations": "nav.operations";
5575
+ "nav.monitoring": "nav.monitoring";
5576
+ "nav.knowledge": "nav.knowledge";
5577
+ "nav.settings": "nav.settings";
5578
+ "nav.admin": "nav.admin";
5579
+ "nav.archive": "nav.archive";
5580
+ "knowledge.playbook": "knowledge.playbook";
5581
+ "knowledge.strategy": "knowledge.strategy";
5582
+ "knowledge.reference": "knowledge.reference";
5583
+ "feature.dashboard": "feature.dashboard";
5584
+ "feature.sales": "feature.sales";
5585
+ "feature.crm": "feature.crm";
5586
+ "feature.finance": "feature.finance";
5587
+ "feature.lead-gen": "feature.lead-gen";
5588
+ "feature.platform": "feature.platform";
5589
+ "feature.projects": "feature.projects";
5590
+ "feature.operations": "feature.operations";
5591
+ "feature.knowledge": "feature.knowledge";
5592
+ "feature.monitoring": "feature.monitoring";
5593
+ "feature.settings": "feature.settings";
5594
+ "feature.admin": "feature.admin";
5595
+ "feature.archive": "feature.archive";
5596
+ "feature.seo": "feature.seo";
5597
+ "resource.agent": "resource.agent";
5598
+ "resource.workflow": "resource.workflow";
5599
+ "resource.integration": "resource.integration";
5600
+ "resource.database": "resource.database";
5601
+ "resource.user": "resource.user";
5602
+ "resource.team": "resource.team";
5603
+ "integration.gmail": "integration.gmail";
5604
+ "integration.google-sheets": "integration.google-sheets";
5605
+ "integration.attio": "integration.attio";
5606
+ "surface.dashboard": "surface.dashboard";
5607
+ "surface.overview": "surface.overview";
5608
+ "surface.command-view": "surface.command-view";
5609
+ "surface.command-queue": "surface.command-queue";
5610
+ "surface.pipeline": "surface.pipeline";
5611
+ "surface.lists": "surface.lists";
5612
+ "surface.resources": "surface.resources";
5613
+ "surface.settings": "surface.settings";
5614
+ "status.success": "status.success";
5615
+ "status.error": "status.error";
5616
+ "status.warning": "status.warning";
5617
+ "status.info": "status.info";
5618
+ "status.pending": "status.pending";
5619
+ "action.approve": "action.approve";
5620
+ "action.reject": "action.reject";
5621
+ "action.retry": "action.retry";
5622
+ "action.edit": "action.edit";
5623
+ "action.view": "action.view";
5624
+ "action.launch": "action.launch";
5625
+ "action.message": "action.message";
5626
+ "action.escalate": "action.escalate";
5627
+ "action.promote": "action.promote";
5628
+ "action.submit": "action.submit";
5629
+ "action.email": "action.email";
5630
+ }>, z$1.ZodString]>>;
5631
+ id: z$1.ZodString;
5632
+ order: z$1.ZodNumber;
5633
+ }, z$1.core.$strip>>;
5634
+ defaultBuildTemplateId: z$1.ZodString;
5635
+ buildTemplates: z$1.ZodArray<z$1.ZodObject<{
5636
+ label: z$1.ZodString;
5637
+ description: z$1.ZodOptional<z$1.ZodString>;
5638
+ color: z$1.ZodOptional<z$1.ZodString>;
5639
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5640
+ "nav.dashboard": "nav.dashboard";
5641
+ "nav.sales": "nav.sales";
5642
+ "nav.crm": "nav.crm";
5643
+ "nav.lead-gen": "nav.lead-gen";
5644
+ "nav.projects": "nav.projects";
5645
+ "nav.operations": "nav.operations";
5646
+ "nav.monitoring": "nav.monitoring";
5647
+ "nav.knowledge": "nav.knowledge";
5648
+ "nav.settings": "nav.settings";
5649
+ "nav.admin": "nav.admin";
5650
+ "nav.archive": "nav.archive";
5651
+ "knowledge.playbook": "knowledge.playbook";
5652
+ "knowledge.strategy": "knowledge.strategy";
5653
+ "knowledge.reference": "knowledge.reference";
5654
+ "feature.dashboard": "feature.dashboard";
5655
+ "feature.sales": "feature.sales";
5656
+ "feature.crm": "feature.crm";
5657
+ "feature.finance": "feature.finance";
5658
+ "feature.lead-gen": "feature.lead-gen";
5659
+ "feature.platform": "feature.platform";
5660
+ "feature.projects": "feature.projects";
5661
+ "feature.operations": "feature.operations";
5662
+ "feature.knowledge": "feature.knowledge";
5663
+ "feature.monitoring": "feature.monitoring";
5664
+ "feature.settings": "feature.settings";
5665
+ "feature.admin": "feature.admin";
5666
+ "feature.archive": "feature.archive";
5667
+ "feature.seo": "feature.seo";
5668
+ "resource.agent": "resource.agent";
5669
+ "resource.workflow": "resource.workflow";
5670
+ "resource.integration": "resource.integration";
5671
+ "resource.database": "resource.database";
5672
+ "resource.user": "resource.user";
5673
+ "resource.team": "resource.team";
5674
+ "integration.gmail": "integration.gmail";
5675
+ "integration.google-sheets": "integration.google-sheets";
5676
+ "integration.attio": "integration.attio";
5677
+ "surface.dashboard": "surface.dashboard";
5678
+ "surface.overview": "surface.overview";
5679
+ "surface.command-view": "surface.command-view";
5680
+ "surface.command-queue": "surface.command-queue";
5681
+ "surface.pipeline": "surface.pipeline";
5682
+ "surface.lists": "surface.lists";
5683
+ "surface.resources": "surface.resources";
5684
+ "surface.settings": "surface.settings";
5685
+ "status.success": "status.success";
5686
+ "status.error": "status.error";
5687
+ "status.warning": "status.warning";
5688
+ "status.info": "status.info";
5689
+ "status.pending": "status.pending";
5690
+ "action.approve": "action.approve";
5691
+ "action.reject": "action.reject";
5692
+ "action.retry": "action.retry";
5693
+ "action.edit": "action.edit";
5694
+ "action.view": "action.view";
5695
+ "action.launch": "action.launch";
5696
+ "action.message": "action.message";
5697
+ "action.escalate": "action.escalate";
5698
+ "action.promote": "action.promote";
5699
+ "action.submit": "action.submit";
5700
+ "action.email": "action.email";
5701
+ }>, z$1.ZodString]>>;
5702
+ id: z$1.ZodString;
5703
+ steps: z$1.ZodArray<z$1.ZodObject<{
5704
+ label: z$1.ZodString;
5705
+ description: z$1.ZodOptional<z$1.ZodString>;
5706
+ color: z$1.ZodOptional<z$1.ZodString>;
5707
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5708
+ "nav.dashboard": "nav.dashboard";
5709
+ "nav.sales": "nav.sales";
5710
+ "nav.crm": "nav.crm";
5711
+ "nav.lead-gen": "nav.lead-gen";
5712
+ "nav.projects": "nav.projects";
5713
+ "nav.operations": "nav.operations";
5714
+ "nav.monitoring": "nav.monitoring";
5715
+ "nav.knowledge": "nav.knowledge";
5716
+ "nav.settings": "nav.settings";
5717
+ "nav.admin": "nav.admin";
5718
+ "nav.archive": "nav.archive";
5719
+ "knowledge.playbook": "knowledge.playbook";
5720
+ "knowledge.strategy": "knowledge.strategy";
5721
+ "knowledge.reference": "knowledge.reference";
5722
+ "feature.dashboard": "feature.dashboard";
5723
+ "feature.sales": "feature.sales";
5724
+ "feature.crm": "feature.crm";
5725
+ "feature.finance": "feature.finance";
5726
+ "feature.lead-gen": "feature.lead-gen";
5727
+ "feature.platform": "feature.platform";
5728
+ "feature.projects": "feature.projects";
5729
+ "feature.operations": "feature.operations";
5730
+ "feature.knowledge": "feature.knowledge";
5731
+ "feature.monitoring": "feature.monitoring";
5732
+ "feature.settings": "feature.settings";
5733
+ "feature.admin": "feature.admin";
5734
+ "feature.archive": "feature.archive";
5735
+ "feature.seo": "feature.seo";
5736
+ "resource.agent": "resource.agent";
5737
+ "resource.workflow": "resource.workflow";
5738
+ "resource.integration": "resource.integration";
5739
+ "resource.database": "resource.database";
5740
+ "resource.user": "resource.user";
5741
+ "resource.team": "resource.team";
5742
+ "integration.gmail": "integration.gmail";
5743
+ "integration.google-sheets": "integration.google-sheets";
5744
+ "integration.attio": "integration.attio";
5745
+ "surface.dashboard": "surface.dashboard";
5746
+ "surface.overview": "surface.overview";
5747
+ "surface.command-view": "surface.command-view";
5748
+ "surface.command-queue": "surface.command-queue";
5749
+ "surface.pipeline": "surface.pipeline";
5750
+ "surface.lists": "surface.lists";
5751
+ "surface.resources": "surface.resources";
5752
+ "surface.settings": "surface.settings";
5753
+ "status.success": "status.success";
5754
+ "status.error": "status.error";
5755
+ "status.warning": "status.warning";
5756
+ "status.info": "status.info";
5757
+ "status.pending": "status.pending";
5758
+ "action.approve": "action.approve";
5759
+ "action.reject": "action.reject";
5760
+ "action.retry": "action.retry";
5761
+ "action.edit": "action.edit";
5762
+ "action.view": "action.view";
5763
+ "action.launch": "action.launch";
5764
+ "action.message": "action.message";
5765
+ "action.escalate": "action.escalate";
5766
+ "action.promote": "action.promote";
5767
+ "action.submit": "action.submit";
5768
+ "action.email": "action.email";
5769
+ }>, z$1.ZodString]>>;
5770
+ id: z$1.ZodString;
5771
+ primaryEntity: z$1.ZodEnum<{
5321
5772
  company: "company";
5322
5773
  contact: "contact";
5323
5774
  }>;
5324
- outputs: z.ZodArray<z.ZodEnum<{
5775
+ outputs: z$1.ZodArray<z$1.ZodEnum<{
5325
5776
  company: "company";
5326
5777
  contact: "contact";
5327
5778
  export: "export";
5328
5779
  }>>;
5329
- stageKey: z.ZodString;
5330
- dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
5331
- dependencyMode: z.ZodLiteral<"per-record-eligibility">;
5332
- capabilityKey: z.ZodString;
5333
- defaultBatchSize: z.ZodNumber;
5334
- maxBatchSize: z.ZodNumber;
5335
- }, z.core.$strip>>;
5336
- }, z.core.$strip>>;
5337
- }, z.core.$strip>;
5338
- projects: z.ZodObject<{
5339
- projectEntityId: z.ZodString;
5340
- milestoneEntityId: z.ZodString;
5341
- taskEntityId: z.ZodString;
5342
- projectStatuses: z.ZodArray<z.ZodObject<{
5343
- label: z.ZodString;
5344
- description: z.ZodOptional<z.ZodString>;
5345
- color: z.ZodOptional<z.ZodString>;
5346
- icon: z.ZodOptional<z.ZodString>;
5347
- id: z.ZodString;
5348
- order: z.ZodNumber;
5349
- }, z.core.$strip>>;
5350
- milestoneStatuses: z.ZodArray<z.ZodObject<{
5351
- label: z.ZodString;
5352
- description: z.ZodOptional<z.ZodString>;
5353
- color: z.ZodOptional<z.ZodString>;
5354
- icon: z.ZodOptional<z.ZodString>;
5355
- id: z.ZodString;
5356
- order: z.ZodNumber;
5357
- }, z.core.$strip>>;
5358
- taskStatuses: z.ZodArray<z.ZodObject<{
5359
- label: z.ZodString;
5360
- description: z.ZodOptional<z.ZodString>;
5361
- color: z.ZodOptional<z.ZodString>;
5362
- icon: z.ZodOptional<z.ZodString>;
5363
- id: z.ZodString;
5364
- order: z.ZodNumber;
5365
- }, z.core.$strip>>;
5366
- }, z.core.$strip>;
5367
- identity: z.ZodDefault<z.ZodObject<{
5368
- mission: z.ZodDefault<z.ZodString>;
5369
- vision: z.ZodDefault<z.ZodString>;
5370
- legalName: z.ZodDefault<z.ZodString>;
5371
- entityType: z.ZodDefault<z.ZodString>;
5372
- jurisdiction: z.ZodDefault<z.ZodString>;
5373
- industryCategory: z.ZodDefault<z.ZodString>;
5374
- geographicFocus: z.ZodDefault<z.ZodString>;
5375
- timeZone: z.ZodDefault<z.ZodString>;
5376
- businessHours: z.ZodDefault<z.ZodObject<{
5377
- monday: z.ZodOptional<z.ZodObject<{
5378
- open: z.ZodString;
5379
- close: z.ZodString;
5380
- }, z.core.$strip>>;
5381
- tuesday: z.ZodOptional<z.ZodObject<{
5382
- open: z.ZodString;
5383
- close: z.ZodString;
5384
- }, z.core.$strip>>;
5385
- wednesday: z.ZodOptional<z.ZodObject<{
5386
- open: z.ZodString;
5387
- close: z.ZodString;
5388
- }, z.core.$strip>>;
5389
- thursday: z.ZodOptional<z.ZodObject<{
5390
- open: z.ZodString;
5391
- close: z.ZodString;
5392
- }, z.core.$strip>>;
5393
- friday: z.ZodOptional<z.ZodObject<{
5394
- open: z.ZodString;
5395
- close: z.ZodString;
5396
- }, z.core.$strip>>;
5397
- saturday: z.ZodOptional<z.ZodObject<{
5398
- open: z.ZodString;
5399
- close: z.ZodString;
5400
- }, z.core.$strip>>;
5401
- sunday: z.ZodOptional<z.ZodObject<{
5402
- open: z.ZodString;
5403
- close: z.ZodString;
5404
- }, z.core.$strip>>;
5405
- }, z.core.$strip>>;
5406
- clientBrief: z.ZodDefault<z.ZodString>;
5407
- }, z.core.$strip>>;
5408
- customers: z.ZodDefault<z.ZodObject<{
5409
- segments: z.ZodDefault<z.ZodArray<z.ZodObject<{
5410
- id: z.ZodString;
5411
- name: z.ZodDefault<z.ZodString>;
5412
- description: z.ZodDefault<z.ZodString>;
5413
- jobsToBeDone: z.ZodDefault<z.ZodString>;
5414
- pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
5415
- gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
5416
- firmographics: z.ZodDefault<z.ZodObject<{
5417
- industry: z.ZodOptional<z.ZodString>;
5418
- companySize: z.ZodOptional<z.ZodString>;
5419
- region: z.ZodOptional<z.ZodString>;
5420
- }, z.core.$strip>>;
5421
- valueProp: z.ZodDefault<z.ZodString>;
5422
- }, z.core.$strip>>>;
5423
- }, z.core.$strip>>;
5424
- offerings: z.ZodDefault<z.ZodObject<{
5425
- products: z.ZodDefault<z.ZodArray<z.ZodObject<{
5426
- id: z.ZodString;
5427
- name: z.ZodDefault<z.ZodString>;
5428
- description: z.ZodDefault<z.ZodString>;
5429
- pricingModel: z.ZodDefault<z.ZodEnum<{
5780
+ stageKey: z$1.ZodString;
5781
+ dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5782
+ dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
5783
+ capabilityKey: z$1.ZodString;
5784
+ defaultBatchSize: z$1.ZodNumber;
5785
+ maxBatchSize: z$1.ZodNumber;
5786
+ }, z$1.core.$strip>>;
5787
+ }, z$1.core.$strip>>;
5788
+ }, z$1.core.$strip>;
5789
+ projects: z$1.ZodObject<{
5790
+ projectEntityId: z$1.ZodString;
5791
+ milestoneEntityId: z$1.ZodString;
5792
+ taskEntityId: z$1.ZodString;
5793
+ projectStatuses: z$1.ZodArray<z$1.ZodObject<{
5794
+ label: z$1.ZodString;
5795
+ description: z$1.ZodOptional<z$1.ZodString>;
5796
+ color: z$1.ZodOptional<z$1.ZodString>;
5797
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5798
+ "nav.dashboard": "nav.dashboard";
5799
+ "nav.sales": "nav.sales";
5800
+ "nav.crm": "nav.crm";
5801
+ "nav.lead-gen": "nav.lead-gen";
5802
+ "nav.projects": "nav.projects";
5803
+ "nav.operations": "nav.operations";
5804
+ "nav.monitoring": "nav.monitoring";
5805
+ "nav.knowledge": "nav.knowledge";
5806
+ "nav.settings": "nav.settings";
5807
+ "nav.admin": "nav.admin";
5808
+ "nav.archive": "nav.archive";
5809
+ "knowledge.playbook": "knowledge.playbook";
5810
+ "knowledge.strategy": "knowledge.strategy";
5811
+ "knowledge.reference": "knowledge.reference";
5812
+ "feature.dashboard": "feature.dashboard";
5813
+ "feature.sales": "feature.sales";
5814
+ "feature.crm": "feature.crm";
5815
+ "feature.finance": "feature.finance";
5816
+ "feature.lead-gen": "feature.lead-gen";
5817
+ "feature.platform": "feature.platform";
5818
+ "feature.projects": "feature.projects";
5819
+ "feature.operations": "feature.operations";
5820
+ "feature.knowledge": "feature.knowledge";
5821
+ "feature.monitoring": "feature.monitoring";
5822
+ "feature.settings": "feature.settings";
5823
+ "feature.admin": "feature.admin";
5824
+ "feature.archive": "feature.archive";
5825
+ "feature.seo": "feature.seo";
5826
+ "resource.agent": "resource.agent";
5827
+ "resource.workflow": "resource.workflow";
5828
+ "resource.integration": "resource.integration";
5829
+ "resource.database": "resource.database";
5830
+ "resource.user": "resource.user";
5831
+ "resource.team": "resource.team";
5832
+ "integration.gmail": "integration.gmail";
5833
+ "integration.google-sheets": "integration.google-sheets";
5834
+ "integration.attio": "integration.attio";
5835
+ "surface.dashboard": "surface.dashboard";
5836
+ "surface.overview": "surface.overview";
5837
+ "surface.command-view": "surface.command-view";
5838
+ "surface.command-queue": "surface.command-queue";
5839
+ "surface.pipeline": "surface.pipeline";
5840
+ "surface.lists": "surface.lists";
5841
+ "surface.resources": "surface.resources";
5842
+ "surface.settings": "surface.settings";
5843
+ "status.success": "status.success";
5844
+ "status.error": "status.error";
5845
+ "status.warning": "status.warning";
5846
+ "status.info": "status.info";
5847
+ "status.pending": "status.pending";
5848
+ "action.approve": "action.approve";
5849
+ "action.reject": "action.reject";
5850
+ "action.retry": "action.retry";
5851
+ "action.edit": "action.edit";
5852
+ "action.view": "action.view";
5853
+ "action.launch": "action.launch";
5854
+ "action.message": "action.message";
5855
+ "action.escalate": "action.escalate";
5856
+ "action.promote": "action.promote";
5857
+ "action.submit": "action.submit";
5858
+ "action.email": "action.email";
5859
+ }>, z$1.ZodString]>>;
5860
+ id: z$1.ZodString;
5861
+ order: z$1.ZodNumber;
5862
+ }, z$1.core.$strip>>;
5863
+ milestoneStatuses: z$1.ZodArray<z$1.ZodObject<{
5864
+ label: z$1.ZodString;
5865
+ description: z$1.ZodOptional<z$1.ZodString>;
5866
+ color: z$1.ZodOptional<z$1.ZodString>;
5867
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5868
+ "nav.dashboard": "nav.dashboard";
5869
+ "nav.sales": "nav.sales";
5870
+ "nav.crm": "nav.crm";
5871
+ "nav.lead-gen": "nav.lead-gen";
5872
+ "nav.projects": "nav.projects";
5873
+ "nav.operations": "nav.operations";
5874
+ "nav.monitoring": "nav.monitoring";
5875
+ "nav.knowledge": "nav.knowledge";
5876
+ "nav.settings": "nav.settings";
5877
+ "nav.admin": "nav.admin";
5878
+ "nav.archive": "nav.archive";
5879
+ "knowledge.playbook": "knowledge.playbook";
5880
+ "knowledge.strategy": "knowledge.strategy";
5881
+ "knowledge.reference": "knowledge.reference";
5882
+ "feature.dashboard": "feature.dashboard";
5883
+ "feature.sales": "feature.sales";
5884
+ "feature.crm": "feature.crm";
5885
+ "feature.finance": "feature.finance";
5886
+ "feature.lead-gen": "feature.lead-gen";
5887
+ "feature.platform": "feature.platform";
5888
+ "feature.projects": "feature.projects";
5889
+ "feature.operations": "feature.operations";
5890
+ "feature.knowledge": "feature.knowledge";
5891
+ "feature.monitoring": "feature.monitoring";
5892
+ "feature.settings": "feature.settings";
5893
+ "feature.admin": "feature.admin";
5894
+ "feature.archive": "feature.archive";
5895
+ "feature.seo": "feature.seo";
5896
+ "resource.agent": "resource.agent";
5897
+ "resource.workflow": "resource.workflow";
5898
+ "resource.integration": "resource.integration";
5899
+ "resource.database": "resource.database";
5900
+ "resource.user": "resource.user";
5901
+ "resource.team": "resource.team";
5902
+ "integration.gmail": "integration.gmail";
5903
+ "integration.google-sheets": "integration.google-sheets";
5904
+ "integration.attio": "integration.attio";
5905
+ "surface.dashboard": "surface.dashboard";
5906
+ "surface.overview": "surface.overview";
5907
+ "surface.command-view": "surface.command-view";
5908
+ "surface.command-queue": "surface.command-queue";
5909
+ "surface.pipeline": "surface.pipeline";
5910
+ "surface.lists": "surface.lists";
5911
+ "surface.resources": "surface.resources";
5912
+ "surface.settings": "surface.settings";
5913
+ "status.success": "status.success";
5914
+ "status.error": "status.error";
5915
+ "status.warning": "status.warning";
5916
+ "status.info": "status.info";
5917
+ "status.pending": "status.pending";
5918
+ "action.approve": "action.approve";
5919
+ "action.reject": "action.reject";
5920
+ "action.retry": "action.retry";
5921
+ "action.edit": "action.edit";
5922
+ "action.view": "action.view";
5923
+ "action.launch": "action.launch";
5924
+ "action.message": "action.message";
5925
+ "action.escalate": "action.escalate";
5926
+ "action.promote": "action.promote";
5927
+ "action.submit": "action.submit";
5928
+ "action.email": "action.email";
5929
+ }>, z$1.ZodString]>>;
5930
+ id: z$1.ZodString;
5931
+ order: z$1.ZodNumber;
5932
+ }, z$1.core.$strip>>;
5933
+ taskStatuses: z$1.ZodArray<z$1.ZodObject<{
5934
+ label: z$1.ZodString;
5935
+ description: z$1.ZodOptional<z$1.ZodString>;
5936
+ color: z$1.ZodOptional<z$1.ZodString>;
5937
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
5938
+ "nav.dashboard": "nav.dashboard";
5939
+ "nav.sales": "nav.sales";
5940
+ "nav.crm": "nav.crm";
5941
+ "nav.lead-gen": "nav.lead-gen";
5942
+ "nav.projects": "nav.projects";
5943
+ "nav.operations": "nav.operations";
5944
+ "nav.monitoring": "nav.monitoring";
5945
+ "nav.knowledge": "nav.knowledge";
5946
+ "nav.settings": "nav.settings";
5947
+ "nav.admin": "nav.admin";
5948
+ "nav.archive": "nav.archive";
5949
+ "knowledge.playbook": "knowledge.playbook";
5950
+ "knowledge.strategy": "knowledge.strategy";
5951
+ "knowledge.reference": "knowledge.reference";
5952
+ "feature.dashboard": "feature.dashboard";
5953
+ "feature.sales": "feature.sales";
5954
+ "feature.crm": "feature.crm";
5955
+ "feature.finance": "feature.finance";
5956
+ "feature.lead-gen": "feature.lead-gen";
5957
+ "feature.platform": "feature.platform";
5958
+ "feature.projects": "feature.projects";
5959
+ "feature.operations": "feature.operations";
5960
+ "feature.knowledge": "feature.knowledge";
5961
+ "feature.monitoring": "feature.monitoring";
5962
+ "feature.settings": "feature.settings";
5963
+ "feature.admin": "feature.admin";
5964
+ "feature.archive": "feature.archive";
5965
+ "feature.seo": "feature.seo";
5966
+ "resource.agent": "resource.agent";
5967
+ "resource.workflow": "resource.workflow";
5968
+ "resource.integration": "resource.integration";
5969
+ "resource.database": "resource.database";
5970
+ "resource.user": "resource.user";
5971
+ "resource.team": "resource.team";
5972
+ "integration.gmail": "integration.gmail";
5973
+ "integration.google-sheets": "integration.google-sheets";
5974
+ "integration.attio": "integration.attio";
5975
+ "surface.dashboard": "surface.dashboard";
5976
+ "surface.overview": "surface.overview";
5977
+ "surface.command-view": "surface.command-view";
5978
+ "surface.command-queue": "surface.command-queue";
5979
+ "surface.pipeline": "surface.pipeline";
5980
+ "surface.lists": "surface.lists";
5981
+ "surface.resources": "surface.resources";
5982
+ "surface.settings": "surface.settings";
5983
+ "status.success": "status.success";
5984
+ "status.error": "status.error";
5985
+ "status.warning": "status.warning";
5986
+ "status.info": "status.info";
5987
+ "status.pending": "status.pending";
5988
+ "action.approve": "action.approve";
5989
+ "action.reject": "action.reject";
5990
+ "action.retry": "action.retry";
5991
+ "action.edit": "action.edit";
5992
+ "action.view": "action.view";
5993
+ "action.launch": "action.launch";
5994
+ "action.message": "action.message";
5995
+ "action.escalate": "action.escalate";
5996
+ "action.promote": "action.promote";
5997
+ "action.submit": "action.submit";
5998
+ "action.email": "action.email";
5999
+ }>, z$1.ZodString]>>;
6000
+ id: z$1.ZodString;
6001
+ order: z$1.ZodNumber;
6002
+ }, z$1.core.$strip>>;
6003
+ }, z$1.core.$strip>;
6004
+ identity: z$1.ZodDefault<z$1.ZodObject<{
6005
+ mission: z$1.ZodDefault<z$1.ZodString>;
6006
+ vision: z$1.ZodDefault<z$1.ZodString>;
6007
+ legalName: z$1.ZodDefault<z$1.ZodString>;
6008
+ entityType: z$1.ZodDefault<z$1.ZodString>;
6009
+ jurisdiction: z$1.ZodDefault<z$1.ZodString>;
6010
+ industryCategory: z$1.ZodDefault<z$1.ZodString>;
6011
+ geographicFocus: z$1.ZodDefault<z$1.ZodString>;
6012
+ timeZone: z$1.ZodDefault<z$1.ZodString>;
6013
+ businessHours: z$1.ZodDefault<z$1.ZodObject<{
6014
+ monday: z$1.ZodOptional<z$1.ZodObject<{
6015
+ open: z$1.ZodString;
6016
+ close: z$1.ZodString;
6017
+ }, z$1.core.$strip>>;
6018
+ tuesday: z$1.ZodOptional<z$1.ZodObject<{
6019
+ open: z$1.ZodString;
6020
+ close: z$1.ZodString;
6021
+ }, z$1.core.$strip>>;
6022
+ wednesday: z$1.ZodOptional<z$1.ZodObject<{
6023
+ open: z$1.ZodString;
6024
+ close: z$1.ZodString;
6025
+ }, z$1.core.$strip>>;
6026
+ thursday: z$1.ZodOptional<z$1.ZodObject<{
6027
+ open: z$1.ZodString;
6028
+ close: z$1.ZodString;
6029
+ }, z$1.core.$strip>>;
6030
+ friday: z$1.ZodOptional<z$1.ZodObject<{
6031
+ open: z$1.ZodString;
6032
+ close: z$1.ZodString;
6033
+ }, z$1.core.$strip>>;
6034
+ saturday: z$1.ZodOptional<z$1.ZodObject<{
6035
+ open: z$1.ZodString;
6036
+ close: z$1.ZodString;
6037
+ }, z$1.core.$strip>>;
6038
+ sunday: z$1.ZodOptional<z$1.ZodObject<{
6039
+ open: z$1.ZodString;
6040
+ close: z$1.ZodString;
6041
+ }, z$1.core.$strip>>;
6042
+ }, z$1.core.$strip>>;
6043
+ clientBrief: z$1.ZodDefault<z$1.ZodString>;
6044
+ }, z$1.core.$strip>>;
6045
+ customers: z$1.ZodDefault<z$1.ZodObject<{
6046
+ segments: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6047
+ id: z$1.ZodString;
6048
+ name: z$1.ZodDefault<z$1.ZodString>;
6049
+ description: z$1.ZodDefault<z$1.ZodString>;
6050
+ jobsToBeDone: z$1.ZodDefault<z$1.ZodString>;
6051
+ pains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6052
+ gains: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6053
+ firmographics: z$1.ZodDefault<z$1.ZodObject<{
6054
+ industry: z$1.ZodOptional<z$1.ZodString>;
6055
+ companySize: z$1.ZodOptional<z$1.ZodString>;
6056
+ region: z$1.ZodOptional<z$1.ZodString>;
6057
+ }, z$1.core.$strip>>;
6058
+ valueProp: z$1.ZodDefault<z$1.ZodString>;
6059
+ }, z$1.core.$strip>>>;
6060
+ }, z$1.core.$strip>>;
6061
+ offerings: z$1.ZodDefault<z$1.ZodObject<{
6062
+ products: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6063
+ id: z$1.ZodString;
6064
+ name: z$1.ZodDefault<z$1.ZodString>;
6065
+ description: z$1.ZodDefault<z$1.ZodString>;
6066
+ pricingModel: z$1.ZodDefault<z$1.ZodEnum<{
5430
6067
  custom: "custom";
5431
6068
  "one-time": "one-time";
5432
6069
  subscription: "subscription";
5433
6070
  "usage-based": "usage-based";
5434
6071
  }>>;
5435
- price: z.ZodDefault<z.ZodNumber>;
5436
- currency: z.ZodDefault<z.ZodString>;
5437
- targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
5438
- deliveryFeatureId: z.ZodOptional<z.ZodString>;
5439
- }, z.core.$strip>>>;
5440
- }, z.core.$strip>>;
5441
- roles: z.ZodDefault<z.ZodObject<{
5442
- roles: z.ZodDefault<z.ZodArray<z.ZodObject<{
5443
- id: z.ZodString;
5444
- title: z.ZodString;
5445
- responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
5446
- reportsToId: z.ZodOptional<z.ZodString>;
5447
- heldBy: z.ZodOptional<z.ZodString>;
5448
- }, z.core.$strip>>>;
5449
- }, z.core.$strip>>;
5450
- goals: z.ZodDefault<z.ZodObject<{
5451
- objectives: z.ZodDefault<z.ZodArray<z.ZodObject<{
5452
- id: z.ZodString;
5453
- description: z.ZodString;
5454
- periodStart: z.ZodString;
5455
- periodEnd: z.ZodString;
5456
- keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
5457
- id: z.ZodString;
5458
- description: z.ZodString;
5459
- targetMetric: z.ZodString;
5460
- currentValue: z.ZodDefault<z.ZodNumber>;
5461
- targetValue: z.ZodOptional<z.ZodNumber>;
5462
- }, z.core.$strip>>>;
5463
- }, z.core.$strip>>>;
5464
- }, z.core.$strip>>;
5465
- statuses: z.ZodDefault<z.ZodObject<{
5466
- entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
5467
- id: z.ZodString;
5468
- label: z.ZodString;
5469
- semanticClass: z.ZodEnum<{
6072
+ price: z$1.ZodDefault<z$1.ZodNumber>;
6073
+ currency: z$1.ZodDefault<z$1.ZodString>;
6074
+ targetSegmentIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6075
+ deliveryFeatureId: z$1.ZodOptional<z$1.ZodString>;
6076
+ }, z$1.core.$strip>>>;
6077
+ }, z$1.core.$strip>>;
6078
+ roles: z$1.ZodDefault<z$1.ZodObject<{
6079
+ roles: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6080
+ id: z$1.ZodString;
6081
+ title: z$1.ZodString;
6082
+ responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6083
+ reportsToId: z$1.ZodOptional<z$1.ZodString>;
6084
+ heldBy: z$1.ZodOptional<z$1.ZodString>;
6085
+ }, z$1.core.$strip>>>;
6086
+ }, z$1.core.$strip>>;
6087
+ goals: z$1.ZodDefault<z$1.ZodObject<{
6088
+ objectives: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6089
+ id: z$1.ZodString;
6090
+ description: z$1.ZodString;
6091
+ periodStart: z$1.ZodString;
6092
+ periodEnd: z$1.ZodString;
6093
+ keyResults: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6094
+ id: z$1.ZodString;
6095
+ description: z$1.ZodString;
6096
+ targetMetric: z$1.ZodString;
6097
+ currentValue: z$1.ZodDefault<z$1.ZodNumber>;
6098
+ targetValue: z$1.ZodOptional<z$1.ZodNumber>;
6099
+ }, z$1.core.$strip>>>;
6100
+ }, z$1.core.$strip>>>;
6101
+ }, z$1.core.$strip>>;
6102
+ statuses: z$1.ZodDefault<z$1.ZodObject<{
6103
+ entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6104
+ id: z$1.ZodString;
6105
+ label: z$1.ZodString;
6106
+ semanticClass: z$1.ZodEnum<{
5470
6107
  "delivery.project": "delivery.project";
5471
6108
  "delivery.milestone": "delivery.milestone";
5472
6109
  "delivery.task": "delivery.task";
@@ -5476,50 +6113,113 @@ declare const OrganizationModelSchema: z.ZodObject<{
5476
6113
  "schedule.run": "schedule.run";
5477
6114
  request: "request";
5478
6115
  }>;
5479
- category: z.ZodOptional<z.ZodString>;
5480
- }, z.core.$strip>>>;
5481
- }, z.core.$strip>>;
5482
- operations: z.ZodDefault<z.ZodObject<{
5483
- entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
5484
- id: z.ZodString;
5485
- label: z.ZodString;
5486
- semanticClass: z.ZodEnum<{
6116
+ category: z$1.ZodOptional<z$1.ZodString>;
6117
+ }, z$1.core.$strip>>>;
6118
+ }, z$1.core.$strip>>;
6119
+ operations: z$1.ZodDefault<z$1.ZodObject<{
6120
+ entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6121
+ id: z$1.ZodString;
6122
+ label: z$1.ZodString;
6123
+ semanticClass: z$1.ZodEnum<{
5487
6124
  queue: "queue";
5488
6125
  executions: "executions";
5489
6126
  sessions: "sessions";
5490
6127
  notifications: "notifications";
5491
6128
  schedules: "schedules";
5492
6129
  }>;
5493
- featureId: z.ZodOptional<z.ZodString>;
5494
- supportedStatusSemanticClass: z.ZodOptional<z.ZodArray<z.ZodString>>;
5495
- }, z.core.$strip>>>;
5496
- }, z.core.$strip>>;
5497
- knowledge: z.ZodDefault<z.ZodObject<{
5498
- nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
5499
- id: z.ZodString;
5500
- kind: z.ZodEnum<{
6130
+ featureId: z$1.ZodOptional<z$1.ZodString>;
6131
+ supportedStatusSemanticClass: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6132
+ }, z$1.core.$strip>>>;
6133
+ }, z$1.core.$strip>>;
6134
+ knowledge: z$1.ZodDefault<z$1.ZodObject<{
6135
+ nodes: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6136
+ id: z$1.ZodString;
6137
+ kind: z$1.ZodEnum<{
5501
6138
  playbook: "playbook";
5502
6139
  strategy: "strategy";
5503
6140
  reference: "reference";
5504
6141
  }>;
5505
- title: z.ZodString;
5506
- summary: z.ZodString;
5507
- body: z.ZodString;
5508
- links: z.ZodDefault<z.ZodArray<z.ZodObject<{
5509
- nodeId: z.ZodString;
5510
- }, z.core.$strip>>>;
5511
- ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
5512
- updatedAt: z.ZodString;
5513
- }, z.core.$strip>>>;
5514
- }, z.core.$strip>>;
5515
- }, z.core.$strip>;
5516
-
5517
- type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
5518
- type OrganizationModelFeature = z.infer<typeof FeatureSchema>;
5519
-
5520
- declare const LinkSchema: z.ZodObject<{
5521
- nodeId: z.ZodString;
5522
- kind: z.ZodEnum<{
6142
+ title: z$1.ZodString;
6143
+ summary: z$1.ZodString;
6144
+ icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
6145
+ "nav.dashboard": "nav.dashboard";
6146
+ "nav.sales": "nav.sales";
6147
+ "nav.crm": "nav.crm";
6148
+ "nav.lead-gen": "nav.lead-gen";
6149
+ "nav.projects": "nav.projects";
6150
+ "nav.operations": "nav.operations";
6151
+ "nav.monitoring": "nav.monitoring";
6152
+ "nav.knowledge": "nav.knowledge";
6153
+ "nav.settings": "nav.settings";
6154
+ "nav.admin": "nav.admin";
6155
+ "nav.archive": "nav.archive";
6156
+ "knowledge.playbook": "knowledge.playbook";
6157
+ "knowledge.strategy": "knowledge.strategy";
6158
+ "knowledge.reference": "knowledge.reference";
6159
+ "feature.dashboard": "feature.dashboard";
6160
+ "feature.sales": "feature.sales";
6161
+ "feature.crm": "feature.crm";
6162
+ "feature.finance": "feature.finance";
6163
+ "feature.lead-gen": "feature.lead-gen";
6164
+ "feature.platform": "feature.platform";
6165
+ "feature.projects": "feature.projects";
6166
+ "feature.operations": "feature.operations";
6167
+ "feature.knowledge": "feature.knowledge";
6168
+ "feature.monitoring": "feature.monitoring";
6169
+ "feature.settings": "feature.settings";
6170
+ "feature.admin": "feature.admin";
6171
+ "feature.archive": "feature.archive";
6172
+ "feature.seo": "feature.seo";
6173
+ "resource.agent": "resource.agent";
6174
+ "resource.workflow": "resource.workflow";
6175
+ "resource.integration": "resource.integration";
6176
+ "resource.database": "resource.database";
6177
+ "resource.user": "resource.user";
6178
+ "resource.team": "resource.team";
6179
+ "integration.gmail": "integration.gmail";
6180
+ "integration.google-sheets": "integration.google-sheets";
6181
+ "integration.attio": "integration.attio";
6182
+ "surface.dashboard": "surface.dashboard";
6183
+ "surface.overview": "surface.overview";
6184
+ "surface.command-view": "surface.command-view";
6185
+ "surface.command-queue": "surface.command-queue";
6186
+ "surface.pipeline": "surface.pipeline";
6187
+ "surface.lists": "surface.lists";
6188
+ "surface.resources": "surface.resources";
6189
+ "surface.settings": "surface.settings";
6190
+ "status.success": "status.success";
6191
+ "status.error": "status.error";
6192
+ "status.warning": "status.warning";
6193
+ "status.info": "status.info";
6194
+ "status.pending": "status.pending";
6195
+ "action.approve": "action.approve";
6196
+ "action.reject": "action.reject";
6197
+ "action.retry": "action.retry";
6198
+ "action.edit": "action.edit";
6199
+ "action.view": "action.view";
6200
+ "action.launch": "action.launch";
6201
+ "action.message": "action.message";
6202
+ "action.escalate": "action.escalate";
6203
+ "action.promote": "action.promote";
6204
+ "action.submit": "action.submit";
6205
+ "action.email": "action.email";
6206
+ }>, z$1.ZodString]>>;
6207
+ body: z$1.ZodString;
6208
+ links: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6209
+ nodeId: z$1.ZodString;
6210
+ }, z$1.core.$strip>>>;
6211
+ ownerIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
6212
+ updatedAt: z$1.ZodString;
6213
+ }, z$1.core.$strip>>>;
6214
+ }, z$1.core.$strip>>;
6215
+ }, z$1.core.$strip>;
6216
+
6217
+ type OrganizationModel = z$1.infer<typeof OrganizationModelSchema>;
6218
+ type OrganizationModelFeature = z$1.infer<typeof FeatureSchema>;
6219
+
6220
+ declare const LinkSchema: z$1.ZodObject<{
6221
+ nodeId: z$1.ZodString;
6222
+ kind: z$1.ZodEnum<{
5523
6223
  contains: "contains";
5524
6224
  references: "references";
5525
6225
  exposes: "exposes";
@@ -5528,16 +6228,16 @@ declare const LinkSchema: z.ZodObject<{
5528
6228
  uses: "uses";
5529
6229
  governs: "governs";
5530
6230
  }>;
5531
- }, z.core.$strip>;
5532
- type Link = z.infer<typeof LinkSchema>;
6231
+ }, z$1.core.$strip>;
6232
+ type Link = z$1.infer<typeof LinkSchema>;
5533
6233
 
5534
- declare const ResourceCategorySchema: z.ZodEnum<{
6234
+ declare const ResourceCategorySchema: z$1.ZodEnum<{
5535
6235
  production: "production";
5536
6236
  diagnostic: "diagnostic";
5537
6237
  internal: "internal";
5538
6238
  testing: "testing";
5539
6239
  }>;
5540
- type ResourceCategory = z.infer<typeof ResourceCategorySchema>;
6240
+ type ResourceCategory = z$1.infer<typeof ResourceCategorySchema>;
5541
6241
  type ResourceLink = Link;
5542
6242
 
5543
6243
  type ExecutionStatus = 'pending' | 'running' | 'completed' | 'failed' | 'warning';
@@ -5620,7 +6320,7 @@ interface APIExecutionListResponse {
5620
6320
  }
5621
6321
 
5622
6322
  /**
5623
- * @deprecated Use TimeRange from '@repo/core' directly. Kept as alias for backward compatibility.
6323
+ * @deprecated Use TimeRange from '@elevasis/core' directly. Kept as alias for backward compatibility.
5624
6324
  */
5625
6325
  type StatsTimeRange = TimeRange;
5626
6326
  /** Stats returned by /command-view/stats (counts only, no error details) */
@@ -5773,45 +6473,45 @@ interface PermissionDescriptor {
5773
6473
  * Execution history item.
5774
6474
  * Represents a single execution triggered by a schedule.
5775
6475
  */
5776
- declare const ExecutionHistoryItemSchema: z.ZodObject<{
5777
- id: z.ZodString;
5778
- createdAt: z.ZodString;
5779
- status: z.ZodEnum<{
6476
+ declare const ExecutionHistoryItemSchema: z$1.ZodObject<{
6477
+ id: z$1.ZodString;
6478
+ createdAt: z$1.ZodString;
6479
+ status: z$1.ZodEnum<{
5780
6480
  completed: "completed";
5781
6481
  cancelled: "cancelled";
5782
6482
  failed: "failed";
5783
6483
  running: "running";
5784
6484
  }>;
5785
- step: z.ZodNullable<z.ZodNumber>;
5786
- itemLabel: z.ZodNullable<z.ZodString>;
5787
- duration: z.ZodNullable<z.ZodNumber>;
5788
- error: z.ZodNullable<z.ZodString>;
5789
- }, z.core.$strip>;
6485
+ step: z$1.ZodNullable<z$1.ZodNumber>;
6486
+ itemLabel: z$1.ZodNullable<z$1.ZodString>;
6487
+ duration: z$1.ZodNullable<z$1.ZodNumber>;
6488
+ error: z$1.ZodNullable<z$1.ZodString>;
6489
+ }, z$1.core.$strip>;
5790
6490
  /**
5791
6491
  * Execution history response.
5792
6492
  * Returned by GET /schedules/:id/executions with pagination.
5793
6493
  */
5794
- declare const ExecutionHistoryResponseSchema: z.ZodObject<{
5795
- executions: z.ZodArray<z.ZodObject<{
5796
- id: z.ZodString;
5797
- createdAt: z.ZodString;
5798
- status: z.ZodEnum<{
6494
+ declare const ExecutionHistoryResponseSchema: z$1.ZodObject<{
6495
+ executions: z$1.ZodArray<z$1.ZodObject<{
6496
+ id: z$1.ZodString;
6497
+ createdAt: z$1.ZodString;
6498
+ status: z$1.ZodEnum<{
5799
6499
  completed: "completed";
5800
6500
  cancelled: "cancelled";
5801
6501
  failed: "failed";
5802
6502
  running: "running";
5803
6503
  }>;
5804
- step: z.ZodNullable<z.ZodNumber>;
5805
- itemLabel: z.ZodNullable<z.ZodString>;
5806
- duration: z.ZodNullable<z.ZodNumber>;
5807
- error: z.ZodNullable<z.ZodString>;
5808
- }, z.core.$strip>>;
5809
- total: z.ZodNumber;
5810
- limit: z.ZodNumber;
5811
- offset: z.ZodNumber;
5812
- }, z.core.$strip>;
5813
- type ExecutionHistoryItem = z.infer<typeof ExecutionHistoryItemSchema>;
5814
- type ExecutionHistoryResponse = z.infer<typeof ExecutionHistoryResponseSchema>;
6504
+ step: z$1.ZodNullable<z$1.ZodNumber>;
6505
+ itemLabel: z$1.ZodNullable<z$1.ZodString>;
6506
+ duration: z$1.ZodNullable<z$1.ZodNumber>;
6507
+ error: z$1.ZodNullable<z$1.ZodString>;
6508
+ }, z$1.core.$strip>>;
6509
+ total: z$1.ZodNumber;
6510
+ limit: z$1.ZodNumber;
6511
+ offset: z$1.ZodNumber;
6512
+ }, z$1.core.$strip>;
6513
+ type ExecutionHistoryItem = z$1.infer<typeof ExecutionHistoryItemSchema>;
6514
+ type ExecutionHistoryResponse = z$1.infer<typeof ExecutionHistoryResponseSchema>;
5815
6515
 
5816
6516
  /**
5817
6517
  * Deployment types — browser-safe
@@ -5855,25 +6555,77 @@ declare function getTimeRangeLabel(range: TimeRange): string;
5855
6555
  /**
5856
6556
  * GET /api/credentials - List credentials
5857
6557
  */
5858
- declare const ListCredentialsResponseSchema: z.ZodObject<{
5859
- credentials: z.ZodArray<z.ZodObject<{
5860
- id: z.ZodString;
5861
- name: z.ZodString;
5862
- type: z.ZodString;
5863
- provider: z.ZodNullable<z.ZodString>;
5864
- createdAt: z.ZodString;
5865
- }, z.core.$strip>>;
5866
- }, z.core.$strip>;
6558
+ declare const ListCredentialsResponseSchema: z$1.ZodObject<{
6559
+ credentials: z$1.ZodArray<z$1.ZodObject<{
6560
+ id: z$1.ZodString;
6561
+ name: z$1.ZodString;
6562
+ type: z$1.ZodString;
6563
+ provider: z$1.ZodNullable<z$1.ZodString>;
6564
+ createdAt: z$1.ZodString;
6565
+ }, z$1.core.$strip>>;
6566
+ }, z$1.core.$strip>;
5867
6567
  /** API response type for a single credential list item */
5868
- type CredentialListItem = z.infer<typeof ListCredentialsResponseSchema>['credentials'][number];
6568
+ type CredentialListItem = z$1.infer<typeof ListCredentialsResponseSchema>['credentials'][number];
6569
+
6570
+ /**
6571
+ * All valid dotted paths into T.
6572
+ * Arrays of primitives are treated as leaf (return K only).
6573
+ * Arrays of objects are also treated as leaf (no drilling into element shape).
6574
+ * Optional fields are unwrapped via NonNullable before recursing.
6575
+ */
6576
+ type FieldPath<T> = T extends object ? {
6577
+ [K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
6578
+ }[keyof T & string] : never;
6579
+ /** Discriminated string union of supported Mantine components. */
6580
+ type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
6581
+ /** Rendering hint for a single field within a section. */
6582
+ interface StepConfigFieldHint<T> {
6583
+ /** Typed dotted path into T — typo = TS error. */
6584
+ path: FieldPath<T>;
6585
+ /** Mantine component to render for this field. */
6586
+ component: StepConfigComponent;
6587
+ /** Overrides the field label derived from Zod .describe() or the key name. */
6588
+ label?: string;
6589
+ /** Help text shown below the field; overrides Zod .describe(). */
6590
+ description?: string;
6591
+ placeholder?: string;
6592
+ /** Required for 'segmented', 'select', 'multiselect'; ignored for others. */
6593
+ options?: ReadonlyArray<{
6594
+ value: string;
6595
+ label: string;
6596
+ }>;
6597
+ /** Minimum value — applies to 'numberinput'. */
6598
+ min?: number;
6599
+ /** Maximum value — applies to 'numberinput'. */
6600
+ max?: number;
6601
+ /** Stepper increment — applies to 'numberinput'. */
6602
+ step?: number;
6603
+ /** Per-field conditional visibility, evaluated against current form values. */
6604
+ when?: (values: T) => boolean;
6605
+ }
6606
+ /** An ordered group of fields, optionally shown conditionally. */
6607
+ interface StepConfigSection<T> {
6608
+ /** Stable key used for React rendering. */
6609
+ id: string;
6610
+ /** Section heading; omit for the top-level (untitled) section. */
6611
+ title?: string;
6612
+ description?: string;
6613
+ /** Section-level conditional visibility predicate. */
6614
+ when?: (values: T) => boolean;
6615
+ /** Fields rendered in order within this section. */
6616
+ fields: StepConfigFieldHint<T>[];
6617
+ }
6618
+ /** Top-level layout descriptor supplied by a per-integration registry entry. */
6619
+ interface StepConfigLayout<T> {
6620
+ /** Ordered top-level sections of the form. */
6621
+ sections: StepConfigSection<T>[];
6622
+ /** Optional single Advanced collapse rendered below all sections. */
6623
+ advanced?: StepConfigSection<T>;
6624
+ }
5869
6625
 
5870
6626
  type ListBuilderWorkflowCategory = 'build' | 'enrich' | 'qualify' | 'scrape' | 'utility';
5871
6627
  type LeadGenStageKey = string;
5872
6628
  type LeadGenCapabilityKey = string;
5873
- interface ListBuilderWorkflowFormProps {
5874
- list: AcqListResponse;
5875
- onSubmit: (input: unknown) => void | Promise<void>;
5876
- }
5877
6629
  interface ListBuilderWorkflow {
5878
6630
  resourceId: string;
5879
6631
  workflowId?: string;
@@ -5882,7 +6634,8 @@ interface ListBuilderWorkflow {
5882
6634
  description: string;
5883
6635
  category: ListBuilderWorkflowCategory;
5884
6636
  stagesAffected: readonly LeadGenStageKey[];
5885
- inputForm?: ComponentType<ListBuilderWorkflowFormProps>;
6637
+ schema: z.ZodTypeAny;
6638
+ layout: StepConfigLayout<any>;
5886
6639
  defaultInput?: (list: AcqListResponse) => unknown;
5887
6640
  }
5888
6641
  type ListBuilderRegistry = readonly ListBuilderWorkflow[];
@@ -7448,7 +8201,7 @@ interface ArchivedLogsState {
7448
8201
  */
7449
8202
  declare function useArchivedLogs(executionId: string | undefined): ArchivedLogsState;
7450
8203
 
7451
- interface UseExecuteResourceOptions<TSchema extends z.ZodType | undefined = undefined> {
8204
+ interface UseExecuteResourceOptions<TSchema extends z$1.ZodType | undefined = undefined> {
7452
8205
  resourceId: string;
7453
8206
  resourceType: ResourceType;
7454
8207
  schema?: TSchema;
@@ -7468,8 +8221,8 @@ interface UseExecuteResourceOptions<TSchema extends z.ZodType | undefined = unde
7468
8221
  * })
7469
8222
  * await execute({ dealId: '...', note: '...' })
7470
8223
  */
7471
- declare function useExecuteResource<TSchema extends z.ZodType | undefined = undefined>(options: UseExecuteResourceOptions<TSchema>): {
7472
- execute: (input: TSchema extends z.ZodType ? z.infer<TSchema> : unknown) => Promise<ExecuteAsyncResult>;
8224
+ declare function useExecuteResource<TSchema extends z$1.ZodType | undefined = undefined>(options: UseExecuteResourceOptions<TSchema>): {
8225
+ execute: (input: TSchema extends z$1.ZodType ? z$1.infer<TSchema> : unknown) => Promise<ExecuteAsyncResult>;
7473
8226
  mutation: ReturnType<typeof useExecuteAsync>;
7474
8227
  isPending: boolean;
7475
8228
  isSuccess: boolean;
@@ -8633,18 +9386,18 @@ declare function usePatchTask(): _tanstack_react_query.UseMutationResult<Task, E
8633
9386
  * Table mapping:
8634
9387
  * reported_requests -> RequestSchemas
8635
9388
  */
8636
- declare const RequestSeverityEnum: z.ZodEnum<{
9389
+ declare const RequestSeverityEnum: z$1.ZodEnum<{
8637
9390
  critical: "critical";
8638
9391
  warning: "warning";
8639
9392
  info: "info";
8640
9393
  }>;
8641
- declare const RequestStatusEnum: z.ZodEnum<{
9394
+ declare const RequestStatusEnum: z$1.ZodEnum<{
8642
9395
  open: "open";
8643
9396
  resolved: "resolved";
8644
9397
  investigating: "investigating";
8645
9398
  wont_fix: "wont_fix";
8646
9399
  }>;
8647
- declare const RequestSourceEnum: z.ZodEnum<{
9400
+ declare const RequestSourceEnum: z$1.ZodEnum<{
8648
9401
  agent: "agent";
8649
9402
  api: "api";
8650
9403
  external: "external";
@@ -8652,16 +9405,16 @@ declare const RequestSourceEnum: z.ZodEnum<{
8652
9405
  webhook: "webhook";
8653
9406
  cli: "cli";
8654
9407
  }>;
8655
- declare const RequestTypeEnum: z.ZodEnum<{
9408
+ declare const RequestTypeEnum: z$1.ZodEnum<{
8656
9409
  feature: "feature";
8657
9410
  other: "other";
8658
9411
  bug: "bug";
8659
9412
  question: "question";
8660
9413
  }>;
8661
- type RequestSeverity = z.infer<typeof RequestSeverityEnum>;
8662
- type RequestStatus = z.infer<typeof RequestStatusEnum>;
8663
- type RequestSource = z.infer<typeof RequestSourceEnum>;
8664
- type RequestType = z.infer<typeof RequestTypeEnum>;
9414
+ type RequestSeverity = z$1.infer<typeof RequestSeverityEnum>;
9415
+ type RequestStatus = z$1.infer<typeof RequestStatusEnum>;
9416
+ type RequestSource = z$1.infer<typeof RequestSourceEnum>;
9417
+ type RequestType = z$1.infer<typeof RequestTypeEnum>;
8665
9418
 
8666
9419
  interface RequestsListFilters {
8667
9420
  type?: RequestType;
@@ -8858,118 +9611,6 @@ declare function useCommandViewStats(timeRange?: StatsTimeRange, options?: UseCo
8858
9611
 
8859
9612
  type CommandViewVisualizationMode = 'cluster' | 'swimlane' | 'focus' | 'network' | 'spatial';
8860
9613
 
8861
- /**
8862
- * Command View Types
8863
- *
8864
- * Frontend graph types for React Flow rendering.
8865
- *
8866
- * Backend API returns CommandViewData with separate arrays (workflows[], agents[], etc.)
8867
- * Frontend transforms this to CommandViewGraph with unified nodes[] array.
8868
- *
8869
- * @see transformCommandViewData for the mapping logic
8870
- * @see CommandViewData from @repo/core for backend type
8871
- */
8872
-
8873
- /**
8874
- * Base resource node - common fields for all resources
8875
- */
8876
- interface BaseResourceNode {
8877
- id: string;
8878
- name: string;
8879
- description: string;
8880
- status: ResourceStatus;
8881
- stats?: {
8882
- totalRuns: number;
8883
- successCount: number;
8884
- failureCount: number;
8885
- warningCount: number;
8886
- lastRunAt: string | null;
8887
- } | null;
8888
- }
8889
- /**
8890
- * Agent node - autonomous AI agents
8891
- */
8892
- interface AgentNode extends BaseResourceNode {
8893
- type: 'agent';
8894
- modelProvider: string;
8895
- modelId: string;
8896
- toolCount: number;
8897
- hasKnowledgeMap: boolean;
8898
- hasMemory: boolean;
8899
- }
8900
- /**
8901
- * Workflow node - multi-step orchestrations
8902
- */
8903
- interface WorkflowNode extends BaseResourceNode {
8904
- type: 'workflow';
8905
- stepCount: number;
8906
- entryPoint: string;
8907
- }
8908
- /**
8909
- * Integration node - external service connections
8910
- */
8911
- interface IntegrationNode extends BaseResourceNode {
8912
- type: 'integration';
8913
- provider: string;
8914
- connectionStatus: 'connected' | 'disconnected' | 'error';
8915
- credentialName?: string;
8916
- }
8917
- /**
8918
- * Trigger node - what initiates executions
8919
- */
8920
- interface TriggerNode extends BaseResourceNode {
8921
- type: 'trigger';
8922
- triggerType: 'webhook' | 'schedule' | 'manual' | 'event';
8923
- schedule?: string;
8924
- webhookPath?: string;
8925
- }
8926
- /**
8927
- * External resource node - third-party automation platforms
8928
- */
8929
- interface ExternalResourceNode extends BaseResourceNode {
8930
- type: 'external';
8931
- platform: 'n8n' | 'make' | 'zapier' | 'other';
8932
- platformUrl?: string;
8933
- externalId?: string;
8934
- }
8935
- /**
8936
- * Human node - approval points requiring human decisions
8937
- */
8938
- interface HumanNode extends Omit<BaseResourceNode, 'stats'> {
8939
- type: 'human';
8940
- stats?: {
8941
- pendingCount: number;
8942
- completedCount: number;
8943
- expiredCount: number;
8944
- lastDecisionAt: string | null;
8945
- } | null;
8946
- }
8947
- /**
8948
- * Union type for all node types
8949
- */
8950
- type CommandViewNode = AgentNode | WorkflowNode | IntegrationNode | TriggerNode | ExternalResourceNode | HumanNode;
8951
- /**
8952
- * Relationship types between resources
8953
- */
8954
- type RelationshipType = 'triggers' | 'uses' | 'approval';
8955
- /**
8956
- * Edge representing a relationship
8957
- */
8958
- interface CommandViewEdge {
8959
- id: string;
8960
- source: string;
8961
- target: string;
8962
- relationship: RelationshipType;
8963
- label?: string;
8964
- }
8965
- /**
8966
- * Complete graph data for visualization
8967
- */
8968
- interface CommandViewGraph {
8969
- nodes: CommandViewNode[];
8970
- edges: CommandViewEdge[];
8971
- }
8972
-
8973
9614
  type StatusFilter$1 = ResourceStatus | 'all';
8974
9615
 
8975
9616
  interface CommandViewStore {
@@ -9028,49 +9669,6 @@ declare const useCommandViewStore: zustand.UseBoundStore<Omit<zustand.StoreApi<C
9028
9669
  };
9029
9670
  }>;
9030
9671
 
9031
- /**
9032
- * useCommandViewLayout - Hook to convert CommandViewGraph to ReactFlow nodes/edges
9033
- *
9034
- * Uses Dagre for automatic graph layout:
9035
- * - Left-to-right flow (LR)
9036
- * - Minimizes edge crossings
9037
- * - Keeps connected nodes closer together
9038
- *
9039
- * Post-processes Dagre output to sort workflow chains by their minimum name prefix
9040
- * (e.g., INB-01 chain above INB-02 chain, above INB-04 chain). Uses Union-Find
9041
- * to identify connected components based on 'triggers' and 'approval' edges
9042
- * (not 'uses' edges, which would connect everything through shared integrations).
9043
- */
9044
-
9045
- /**
9046
- * Convert CommandViewGraph to ReactFlow nodes and edges with Dagre layout
9047
- */
9048
- declare function useCommandViewLayout(graph: CommandViewGraph): {
9049
- nodes: {
9050
- id: string;
9051
- type: string;
9052
- position: {
9053
- x: number;
9054
- y: number;
9055
- };
9056
- data: Record<string, unknown>;
9057
- }[];
9058
- edges: Edge[];
9059
- };
9060
- /**
9061
- * Get graph statistics
9062
- */
9063
- declare function useGraphStats(graph: CommandViewGraph): {
9064
- agents: number;
9065
- workflows: number;
9066
- integrations: number;
9067
- triggers: number;
9068
- prodResources: number;
9069
- devResources: number;
9070
- connectedIntegrations: number;
9071
- errorIntegrations: number;
9072
- };
9073
-
9074
9672
  interface UseCheckpointTasksOptions {
9075
9673
  checkpointId: string | null;
9076
9674
  enabled?: boolean;
@@ -9486,8 +10084,12 @@ declare const acquisitionListKeys: {
9486
10084
  detail: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", string | null, string];
9487
10085
  telemetry: (organizationId: string | null) => readonly ["acquisition-lists", "telemetry", string | null];
9488
10086
  progress: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", "progress", string | null, string];
9489
- executions: (organizationId: string | null, listId: string) => readonly ["acquisition-lists", "executions", string | null, string];
10087
+ executions: (organizationId: string | null, listId: string, filters?: ListExecutionsFilters) => readonly ["acquisition-lists", "executions", string | null, string, string | null, number | null];
9490
10088
  };
10089
+ interface ListExecutionsFilters {
10090
+ resourceId?: string | null;
10091
+ limit?: number;
10092
+ }
9491
10093
  declare function useLists(): _tanstack_react_query.UseQueryResult<{
9492
10094
  id: string;
9493
10095
  organizationId: string;
@@ -9621,13 +10223,14 @@ declare function useListProgress(listId: string): _tanstack_react_query.UseQuery
9621
10223
  notAttempted: number;
9622
10224
  }>;
9623
10225
  }, Error>;
9624
- declare function useListExecutions(listId: string): _tanstack_react_query.UseQueryResult<{
10226
+ declare function useListExecutions(listId: string, filters?: ListExecutionsFilters): _tanstack_react_query.UseQueryResult<{
9625
10227
  executionId: string;
9626
10228
  resourceId: string;
9627
10229
  status: string;
9628
10230
  createdAt: string;
9629
10231
  completedAt: string | null;
9630
10232
  durationMs: number | null;
10233
+ input?: unknown;
9631
10234
  }[], Error>;
9632
10235
  declare function useCreateList(): _tanstack_react_query.UseMutationResult<{
9633
10236
  id: string;
@@ -10652,49 +11255,49 @@ declare function useDeleteWebhookEndpoint(): _tanstack_react_query.UseMutationRe
10652
11255
  *
10653
11256
  * The `key` and `id` are generated server-side and not accepted in the request.
10654
11257
  */
10655
- declare const CreateWebhookEndpointRequestSchema: z.ZodObject<{
10656
- name: z.ZodString;
10657
- resourceId: z.ZodOptional<z.ZodString>;
10658
- description: z.ZodOptional<z.ZodString>;
10659
- }, z.core.$strict>;
10660
- type CreateWebhookEndpointRequest = z.infer<typeof CreateWebhookEndpointRequestSchema>;
11258
+ declare const CreateWebhookEndpointRequestSchema: z$1.ZodObject<{
11259
+ name: z$1.ZodString;
11260
+ resourceId: z$1.ZodOptional<z$1.ZodString>;
11261
+ description: z$1.ZodOptional<z$1.ZodString>;
11262
+ }, z$1.core.$strict>;
11263
+ type CreateWebhookEndpointRequest = z$1.infer<typeof CreateWebhookEndpointRequestSchema>;
10661
11264
  /**
10662
11265
  * PATCH /api/webhook-endpoints/:id - Update an existing webhook endpoint
10663
11266
  *
10664
11267
  * At least one field must be provided.
10665
11268
  */
10666
- declare const UpdateWebhookEndpointRequestSchema: z.ZodObject<{
10667
- name: z.ZodOptional<z.ZodString>;
10668
- description: z.ZodOptional<z.ZodString>;
10669
- resourceId: z.ZodOptional<z.ZodString>;
10670
- status: z.ZodOptional<z.ZodEnum<{
11269
+ declare const UpdateWebhookEndpointRequestSchema: z$1.ZodObject<{
11270
+ name: z$1.ZodOptional<z$1.ZodString>;
11271
+ description: z$1.ZodOptional<z$1.ZodString>;
11272
+ resourceId: z$1.ZodOptional<z$1.ZodString>;
11273
+ status: z$1.ZodOptional<z$1.ZodEnum<{
10671
11274
  active: "active";
10672
11275
  paused: "paused";
10673
11276
  }>>;
10674
- }, z.core.$strict>;
10675
- type UpdateWebhookEndpointRequest = z.infer<typeof UpdateWebhookEndpointRequestSchema>;
11277
+ }, z$1.core.$strict>;
11278
+ type UpdateWebhookEndpointRequest = z$1.infer<typeof UpdateWebhookEndpointRequestSchema>;
10676
11279
  /**
10677
11280
  * Response shape for a single webhook endpoint.
10678
11281
  * NOT strict — response schemas allow extra fields for forward compatibility.
10679
11282
  */
10680
- declare const WebhookEndpointResponseSchema: z.ZodObject<{
10681
- id: z.ZodString;
10682
- organizationId: z.ZodString;
10683
- key: z.ZodOptional<z.ZodString>;
10684
- keyPrefix: z.ZodNullable<z.ZodString>;
10685
- name: z.ZodString;
10686
- description: z.ZodNullable<z.ZodString>;
10687
- resourceId: z.ZodNullable<z.ZodString>;
10688
- status: z.ZodEnum<{
11283
+ declare const WebhookEndpointResponseSchema: z$1.ZodObject<{
11284
+ id: z$1.ZodString;
11285
+ organizationId: z$1.ZodString;
11286
+ key: z$1.ZodOptional<z$1.ZodString>;
11287
+ keyPrefix: z$1.ZodNullable<z$1.ZodString>;
11288
+ name: z$1.ZodString;
11289
+ description: z$1.ZodNullable<z$1.ZodString>;
11290
+ resourceId: z$1.ZodNullable<z$1.ZodString>;
11291
+ status: z$1.ZodEnum<{
10689
11292
  active: "active";
10690
11293
  paused: "paused";
10691
11294
  }>;
10692
- lastTriggeredAt: z.ZodNullable<z.ZodString>;
10693
- requestCount: z.ZodNumber;
10694
- createdAt: z.ZodString;
10695
- updatedAt: z.ZodString;
10696
- }, z.core.$strip>;
10697
- type WebhookEndpointResponse = z.infer<typeof WebhookEndpointResponseSchema>;
11295
+ lastTriggeredAt: z$1.ZodNullable<z$1.ZodString>;
11296
+ requestCount: z$1.ZodNumber;
11297
+ createdAt: z$1.ZodString;
11298
+ updatedAt: z$1.ZodString;
11299
+ }, z$1.core.$strip>;
11300
+ type WebhookEndpointResponse = z$1.infer<typeof WebhookEndpointResponseSchema>;
10698
11301
 
10699
11302
  declare function useUpdateWebhookEndpoint(): _tanstack_react_query.UseMutationResult<{
10700
11303
  id: string;
@@ -11739,5 +12342,5 @@ declare function InitializationProvider({ children }: {
11739
12342
  children: ReactNode;
11740
12343
  }): react.FunctionComponentElement<react.ProviderProps<AppInitializationState | null>>;
11741
12344
 
11742
- export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, CrmActionsProvider, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, ListActionsProvider, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, calculateBarPosition, calculateGraphHeight, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createFeatureAccessHook, createOrganizationsSlice, createTestFeaturesProvider, createUseAppInitialization, createUseOrgInitialization, createUseOrganizations, dealKeys, dealNoteKeys, dealTaskKeys, debounce, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectActivityKeys, projectKeys, requestsKeys, restoreConsole, scheduleKeys, sessionsKeys, setupBrowserMocks, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useCrmActions, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useDirectedChainHighlighting, useEffectivePermissions, useElevasisFeatures, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutionSSE, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useGraphStats, useHasPermission, useInitialization, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisFeatures, useOrgRoles, useOrganization, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, usePresetsContext, useProfile, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowExecution, useWorkflowStepsLayout, validateEmail };
11743
- export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CreateTestFeaturesProviderOptions, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus, FailingResource, FeatureAccessResult, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LeadGenStageKey, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, ListBuilderWorkflowFormProps, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrgRole, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, RemoveCompaniesFromListResult, RequestRow, RequestsListFilters, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusColorScheme, StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowExecutionTriggerParams, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
12345
+ export { AGENT_CONSTANTS, APIClientError, API_URL, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, CrmActionsProvider, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, ListActionsProvider, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationContext, OrganizationMembershipService, OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, ScrollToTop, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, acquisitionListKeys, calculateBarPosition, calculateGraphHeight, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createFeatureAccessHook, createOrganizationsSlice, createTestFeaturesProvider, createUseAppInitialization, createUseOrgInitialization, createUseOrganizations, dealKeys, dealNoteKeys, dealTaskKeys, debounce, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, mantineThemeOverride, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, PRESETS as presets, projectActivityKeys, projectKeys, requestsKeys, restoreConsole, scheduleKeys, sessionsKeys, setupBrowserMocks, shouldAnimateEdge, sortData, suppressKnownWarnings, taskKeys, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useCrmActions, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useDirectedChainHighlighting, useEffectivePermissions, useElevasisFeatures, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutionSSE, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useHasPermission, useInitialization, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisFeatures, useOrgRoles, useOrganization, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, usePresetsContext, useProfile, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowExecution, useWorkflowStepsLayout, validateEmail };
12346
+ export type { AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityFilters, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateOrgRoleInput, CreateScheduleInput, CreateSessionResponse, CreateTestFeaturesProviderOptions, CredentialListItem, DealDetail, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus, FailingResource, FeatureAccessResult, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LeadGenStageKey, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, ListCredentialsResponse, ListExecutionsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrgRole, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, RemoveCompaniesFromListResult, RequestRow, RequestsListFilters, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ResourceFilterFacet, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, SortDirection, SortState, StaleDealSummaryItem, StatefulItem, StatusColorScheme, StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseArtifactsParams, UseBatchedResourcesHealthParams, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowExecutionTriggerParams, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };