@elevasis/ui 2.72.0 → 2.74.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 (100) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +172 -20
  3. package/dist/app/index.js +9 -10
  4. package/dist/auth/index.js +5 -6
  5. package/dist/charts/index.js +5 -6
  6. package/dist/chunk-2GIJBHZT.js +60 -0
  7. package/dist/{chunk-2454MK7P.js → chunk-2MRRDF32.js} +115 -8
  8. package/dist/chunk-3LOKYZJC.js +231 -0
  9. package/dist/chunk-3QHX4ZKV.js +224 -0
  10. package/dist/chunk-43LC6XAX.js +69 -0
  11. package/dist/chunk-4M2BSHVT.js +116 -0
  12. package/dist/{chunk-SV4M2BUI.js → chunk-4MXNHJTA.js} +111 -46
  13. package/dist/{chunk-LEQGGX2U.js → chunk-5A6KCFS5.js} +36 -43
  14. package/dist/{chunk-KIDZXZM5.js → chunk-6JN2TLV2.js} +1480 -4200
  15. package/dist/{chunk-UZ5JO5TK.js → chunk-7ARBBELS.js} +1 -1
  16. package/dist/{chunk-DJWIIPKW.js → chunk-7RJ7P6S6.js} +6 -3
  17. package/dist/chunk-ARAFQBNI.js +515 -0
  18. package/dist/{chunk-DKVGO6RJ.js → chunk-BA3AZJUR.js} +1 -1
  19. package/dist/chunk-BRTGCFBH.js +305 -0
  20. package/dist/{chunk-7ESZKTQG.js → chunk-CQPULKKL.js} +5 -3
  21. package/dist/chunk-CRA7WQZH.js +49 -0
  22. package/dist/{chunk-XZIOCB5D.js → chunk-DCQKTDIG.js} +2 -52
  23. package/dist/{chunk-A3JHFZDP.js → chunk-E6YGA5WH.js} +1 -1
  24. package/dist/chunk-FA7LMNQO.js +439 -0
  25. package/dist/chunk-FZSG6M6W.js +45 -0
  26. package/dist/chunk-GDOR57D7.js +165 -0
  27. package/dist/{chunk-RRS2QR3W.js → chunk-GO4XJ5D4.js} +1 -1
  28. package/dist/chunk-GPQQGQGT.js +645 -0
  29. package/dist/chunk-HYQOGRWG.js +54 -0
  30. package/dist/{chunk-LCHL5SM2.js → chunk-LN4UW6S4.js} +1 -1
  31. package/dist/chunk-N6K2Q5BM.js +393 -0
  32. package/dist/{chunk-Z2W5VNN3.js → chunk-O32UQ26A.js} +3 -2
  33. package/dist/{chunk-M7WWRZ5Z.js → chunk-QFGNRKIE.js} +1 -78
  34. package/dist/{chunk-Q3O3WY7Q.js → chunk-R5UGIFYU.js} +74 -18
  35. package/dist/{chunk-753MKWFV.js → chunk-RFNJ2PTO.js} +1 -1
  36. package/dist/chunk-VM2OWOXL.js +24 -0
  37. package/dist/{chunk-ZBXCEWKF.js → chunk-W2QRBQQA.js} +5 -3
  38. package/dist/chunk-WDBNW44Z.js +49 -0
  39. package/dist/{chunk-IXBRUIYI.js → chunk-WZU3MCKI.js} +1 -1
  40. package/dist/chunk-YQQ5GRUR.js +21 -0
  41. package/dist/{chunk-IMZTRDY2.js → chunk-ZFA56VSR.js} +2 -2
  42. package/dist/{chunk-AFBFSXP3.js → chunk-ZWI62BQ6.js} +7 -4
  43. package/dist/chunk-ZYNVCWDZ.js +286 -0
  44. package/dist/components/index.d.ts +490 -22
  45. package/dist/components/index.js +335 -35
  46. package/dist/components/navigation/index.js +6 -7
  47. package/dist/features/auth/index.d.ts +154 -2
  48. package/dist/features/auth/index.js +18 -9
  49. package/dist/features/clients/index.js +7 -7
  50. package/dist/features/content/index.d.ts +718 -34
  51. package/dist/features/content/index.js +1345 -51
  52. package/dist/features/crm/index.d.ts +172 -20
  53. package/dist/features/crm/index.js +10 -8
  54. package/dist/features/dashboard/index.d.ts +19 -10
  55. package/dist/features/dashboard/index.js +9 -8
  56. package/dist/features/delivery/index.d.ts +134 -0
  57. package/dist/features/delivery/index.js +23 -7
  58. package/dist/features/knowledge/index.js +5 -6
  59. package/dist/features/lead-gen/index.d.ts +47 -35
  60. package/dist/features/lead-gen/index.js +12 -8
  61. package/dist/features/monitoring/index.js +11 -9
  62. package/dist/features/monitoring/requests/index.js +8 -7
  63. package/dist/features/operations/index.d.ts +38 -20
  64. package/dist/features/operations/index.js +15 -11
  65. package/dist/features/public-agent-chat/index.js +3 -1
  66. package/dist/features/settings/index.d.ts +134 -0
  67. package/dist/features/settings/index.js +9 -8
  68. package/dist/hooks/access/index.js +5 -6
  69. package/dist/hooks/delivery/index.d.ts +134 -0
  70. package/dist/hooks/delivery/index.js +3 -2
  71. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +20 -11
  72. package/dist/hooks/published.d.ts +1421 -29
  73. package/dist/hooks/published.js +22 -6
  74. package/dist/initialization/index.d.ts +134 -0
  75. package/dist/knowledge/index.d.ts +38 -20
  76. package/dist/knowledge/index.js +167 -11
  77. package/dist/{knowledge-search-index-RZLIVWPJ.js → knowledge-search-index-6GQK55IQ.js} +1 -1
  78. package/dist/layout/index.js +8 -9
  79. package/dist/profile/index.d.ts +134 -0
  80. package/dist/provider/index.d.ts +191 -21
  81. package/dist/provider/index.js +5 -6
  82. package/dist/provider/published.d.ts +219 -21
  83. package/dist/provider/published.js +5 -6
  84. package/dist/test-utils/index.d.ts +16 -5
  85. package/dist/test-utils/index.js +17 -18
  86. package/dist/types/index.d.ts +184 -14
  87. package/dist/utils/index.d.ts +102 -13
  88. package/dist/utils/index.js +1 -1
  89. package/package.json +7 -6
  90. package/dist/chunk-6M6OLGQY.js +0 -36
  91. package/dist/chunk-MKH2KOAO.js +0 -39
  92. package/dist/hooks/index.css +0 -659
  93. package/dist/hooks/index.d.ts +0 -12853
  94. package/dist/hooks/index.js +0 -27
  95. package/dist/supabase/index.d.ts +0 -6969
  96. package/dist/supabase/index.js +0 -3
  97. package/dist/typeform/index.d.ts +0 -462
  98. package/dist/typeform/index.js +0 -2051
  99. package/dist/typeform/schemas.d.ts +0 -67
  100. package/dist/typeform/schemas.js +0 -2
package/dist/api/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { createElevasisQueryClient } from '../chunk-753MKWFV.js';
2
- export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-Z2W5VNN3.js';
1
+ export { createElevasisQueryClient } from '../chunk-RFNJ2PTO.js';
2
+ export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-O32UQ26A.js';
3
3
  import '../chunk-DD3CCMCZ.js';
4
- import '../chunk-Q3O3WY7Q.js';
4
+ import '../chunk-R5UGIFYU.js';
5
5
  import '../chunk-Y6I3IC45.js';
6
6
  import '../chunk-6SSQGWK7.js';
7
7
  import '../chunk-TVTSASST.js';
@@ -1462,6 +1462,64 @@ type Database = {
1462
1462
  }
1463
1463
  ];
1464
1464
  };
1465
+ content_distribution_metrics: {
1466
+ Row: {
1467
+ captured_at: string;
1468
+ created_at: string;
1469
+ distribution_id: string;
1470
+ id: string;
1471
+ metrics: Json;
1472
+ organization_id: string;
1473
+ raw: Json;
1474
+ source: string;
1475
+ source_execution_id: string | null;
1476
+ };
1477
+ Insert: {
1478
+ captured_at?: string;
1479
+ created_at?: string;
1480
+ distribution_id: string;
1481
+ id?: string;
1482
+ metrics?: Json;
1483
+ organization_id: string;
1484
+ raw?: Json;
1485
+ source: string;
1486
+ source_execution_id?: string | null;
1487
+ };
1488
+ Update: {
1489
+ captured_at?: string;
1490
+ created_at?: string;
1491
+ distribution_id?: string;
1492
+ id?: string;
1493
+ metrics?: Json;
1494
+ organization_id?: string;
1495
+ raw?: Json;
1496
+ source?: string;
1497
+ source_execution_id?: string | null;
1498
+ };
1499
+ Relationships: [
1500
+ {
1501
+ foreignKeyName: "content_distribution_metrics_distribution_fkey";
1502
+ columns: ["distribution_id", "organization_id"];
1503
+ isOneToOne: false;
1504
+ referencedRelation: "content_distributions";
1505
+ referencedColumns: ["id", "organization_id"];
1506
+ },
1507
+ {
1508
+ foreignKeyName: "content_distribution_metrics_organization_id_fkey";
1509
+ columns: ["organization_id"];
1510
+ isOneToOne: false;
1511
+ referencedRelation: "organizations";
1512
+ referencedColumns: ["id"];
1513
+ },
1514
+ {
1515
+ foreignKeyName: "content_distribution_metrics_source_execution_id_fkey";
1516
+ columns: ["source_execution_id"];
1517
+ isOneToOne: false;
1518
+ referencedRelation: "execution_logs";
1519
+ referencedColumns: ["execution_id"];
1520
+ }
1521
+ ];
1522
+ };
1465
1523
  content_distributions: {
1466
1524
  Row: {
1467
1525
  adapted_body: string | null;
@@ -1611,6 +1669,63 @@ type Database = {
1611
1669
  }
1612
1670
  ];
1613
1671
  };
1672
+ content_item_source_assets: {
1673
+ Row: {
1674
+ alt_text: string | null;
1675
+ content_item_id: string;
1676
+ created_at: string;
1677
+ crop: Json | null;
1678
+ derivative_crop: Json | null;
1679
+ derivative_path: string | null;
1680
+ derivative_rendered_at: string | null;
1681
+ id: string;
1682
+ organization_id: string;
1683
+ position: number;
1684
+ source_asset_id: string;
1685
+ };
1686
+ Insert: {
1687
+ alt_text?: string | null;
1688
+ content_item_id: string;
1689
+ created_at?: string;
1690
+ crop?: Json | null;
1691
+ derivative_crop?: Json | null;
1692
+ derivative_path?: string | null;
1693
+ derivative_rendered_at?: string | null;
1694
+ id?: string;
1695
+ organization_id: string;
1696
+ position: number;
1697
+ source_asset_id: string;
1698
+ };
1699
+ Update: {
1700
+ alt_text?: string | null;
1701
+ content_item_id?: string;
1702
+ created_at?: string;
1703
+ crop?: Json | null;
1704
+ derivative_crop?: Json | null;
1705
+ derivative_path?: string | null;
1706
+ derivative_rendered_at?: string | null;
1707
+ id?: string;
1708
+ organization_id?: string;
1709
+ position?: number;
1710
+ source_asset_id?: string;
1711
+ };
1712
+ Relationships: [
1713
+ {
1714
+ foreignKeyName: "content_item_source_assets_asset_fkey";
1715
+ columns: ["source_asset_id", "organization_id"];
1716
+ isOneToOne: false;
1717
+ referencedRelation: "content_source_assets";
1718
+ referencedColumns: ["id", "organization_id"];
1719
+ },
1720
+ {
1721
+ foreignKeyName: "content_item_source_assets_item_fkey";
1722
+ columns: ["content_item_id", "organization_id"];
1723
+ isOneToOne: false;
1724
+ referencedRelation: "content_items";
1725
+ referencedColumns: ["id", "organization_id"];
1726
+ }
1727
+ ];
1728
+ };
1614
1729
  content_items: {
1615
1730
  Row: {
1616
1731
  body: string | null;
@@ -3366,6 +3481,25 @@ type Database = {
3366
3481
  };
3367
3482
  Returns: Json;
3368
3483
  };
3484
+ activate_deployment_atomic: {
3485
+ Args: {
3486
+ p_deployment_id: string;
3487
+ p_organization_id: string;
3488
+ };
3489
+ Returns: {
3490
+ created_at: string;
3491
+ deployment_version: string | null;
3492
+ error_message: string | null;
3493
+ id: string;
3494
+ organization_id: string;
3495
+ pid: number | null;
3496
+ port: number | null;
3497
+ sdk_version: string;
3498
+ status: string;
3499
+ tarball_path: string | null;
3500
+ updated_at: string;
3501
+ };
3502
+ };
3369
3503
  append_deal_activity: {
3370
3504
  Args: {
3371
3505
  p_activity: Json;
@@ -3746,7 +3880,9 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3746
3880
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3747
3881
  properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3748
3882
  storage: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3749
- }, z$1.core.$loose>>>>;
3883
+ rowSchema: z$1.ZodOptional<z$1.ZodString>;
3884
+ stateCatalogId: z$1.ZodOptional<z$1.ZodString>;
3885
+ }, z$1.core.$strict>>>>;
3750
3886
  linkTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3751
3887
  id: z$1.ZodString;
3752
3888
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -3757,7 +3893,7 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3757
3893
  to: z$1.ZodString;
3758
3894
  cardinality: z$1.ZodOptional<z$1.ZodString>;
3759
3895
  via: z$1.ZodOptional<z$1.ZodString>;
3760
- }, z$1.core.$loose>>>>;
3896
+ }, z$1.core.$strict>>>>;
3761
3897
  actionTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3762
3898
  id: z$1.ZodString;
3763
3899
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -3767,7 +3903,11 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3767
3903
  actsOn: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3768
3904
  input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3769
3905
  effects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
3770
- }, z$1.core.$loose>>>>;
3906
+ resourceId: z$1.ZodOptional<z$1.ZodString>;
3907
+ invocations: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown>>;
3908
+ lifecycle: z$1.ZodOptional<z$1.ZodString>;
3909
+ legacyActionId: z$1.ZodOptional<z$1.ZodString>;
3910
+ }, z$1.core.$strict>>>>;
3771
3911
  catalogTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3772
3912
  id: z$1.ZodString;
3773
3913
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -3777,7 +3917,10 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3777
3917
  kind: z$1.ZodOptional<z$1.ZodString>;
3778
3918
  appliesTo: z$1.ZodOptional<z$1.ZodString>;
3779
3919
  entries: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3780
- }, z$1.core.$loose>>>>;
3920
+ legacyCatalogKey: z$1.ZodOptional<z$1.ZodString>;
3921
+ legacyPipelineKey: z$1.ZodOptional<z$1.ZodString>;
3922
+ legacyEntityKey: z$1.ZodOptional<z$1.ZodString>;
3923
+ }, z$1.core.$strict>>>>;
3781
3924
  eventTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3782
3925
  id: z$1.ZodString;
3783
3926
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -3785,7 +3928,7 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3785
3928
  ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3786
3929
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3787
3930
  payload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3788
- }, z$1.core.$loose>>>>;
3931
+ }, z$1.core.$strict>>>>;
3789
3932
  interfaceTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3790
3933
  id: z$1.ZodString;
3791
3934
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -3793,7 +3936,7 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3793
3936
  ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3794
3937
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3795
3938
  properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
3796
- }, z$1.core.$loose>>>>;
3939
+ }, z$1.core.$strict>>>>;
3797
3940
  valueTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3798
3941
  id: z$1.ZodString;
3799
3942
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -3801,7 +3944,7 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3801
3944
  ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3802
3945
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3803
3946
  primitive: z$1.ZodOptional<z$1.ZodString>;
3804
- }, z$1.core.$loose>>>>;
3947
+ }, z$1.core.$strict>>>>;
3805
3948
  sharedProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3806
3949
  id: z$1.ZodString;
3807
3950
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -3811,7 +3954,7 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3811
3954
  valueType: z$1.ZodOptional<z$1.ZodString>;
3812
3955
  searchable: z$1.ZodOptional<z$1.ZodBoolean>;
3813
3956
  pii: z$1.ZodOptional<z$1.ZodBoolean>;
3814
- }, z$1.core.$loose>>>>;
3957
+ }, z$1.core.$strict>>>>;
3815
3958
  groups: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3816
3959
  id: z$1.ZodString;
3817
3960
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -3819,7 +3962,7 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3819
3962
  ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3820
3963
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3821
3964
  members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3822
- }, z$1.core.$loose>>>>;
3965
+ }, z$1.core.$strict>>>>;
3823
3966
  endpoints: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3824
3967
  id: z$1.ZodString;
3825
3968
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -3827,7 +3970,7 @@ declare const OntologyScopeSchema: z$1.ZodDefault<z$1.ZodObject<{
3827
3970
  ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
3828
3971
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3829
3972
  route: z$1.ZodOptional<z$1.ZodString>;
3830
- }, z$1.core.$loose>>>>;
3973
+ }, z$1.core.$strict>>>>;
3831
3974
  }, z$1.core.$strict>>;
3832
3975
  type OntologyScope = z$1.infer<typeof OntologyScopeSchema>;
3833
3976
 
@@ -4369,7 +4512,9 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4369
4512
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4370
4513
  properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
4371
4514
  storage: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
4372
- }, z$1.core.$loose>>>>;
4515
+ rowSchema: z$1.ZodOptional<z$1.ZodString>;
4516
+ stateCatalogId: z$1.ZodOptional<z$1.ZodString>;
4517
+ }, z$1.core.$strict>>>>;
4373
4518
  linkTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4374
4519
  id: z$1.ZodString;
4375
4520
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -4380,7 +4525,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4380
4525
  to: z$1.ZodString;
4381
4526
  cardinality: z$1.ZodOptional<z$1.ZodString>;
4382
4527
  via: z$1.ZodOptional<z$1.ZodString>;
4383
- }, z$1.core.$loose>>>>;
4528
+ }, z$1.core.$strict>>>>;
4384
4529
  actionTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4385
4530
  id: z$1.ZodString;
4386
4531
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -4390,7 +4535,11 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4390
4535
  actsOn: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
4391
4536
  input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
4392
4537
  effects: z$1.ZodOptional<z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>>;
4393
- }, z$1.core.$loose>>>>;
4538
+ resourceId: z$1.ZodOptional<z$1.ZodString>;
4539
+ invocations: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnknown>>;
4540
+ lifecycle: z$1.ZodOptional<z$1.ZodString>;
4541
+ legacyActionId: z$1.ZodOptional<z$1.ZodString>;
4542
+ }, z$1.core.$strict>>>>;
4394
4543
  catalogTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4395
4544
  id: z$1.ZodString;
4396
4545
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -4400,7 +4549,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4400
4549
  kind: z$1.ZodOptional<z$1.ZodString>;
4401
4550
  appliesTo: z$1.ZodOptional<z$1.ZodString>;
4402
4551
  entries: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
4403
- }, z$1.core.$loose>>>>;
4552
+ legacyCatalogKey: z$1.ZodOptional<z$1.ZodString>;
4553
+ legacyPipelineKey: z$1.ZodOptional<z$1.ZodString>;
4554
+ legacyEntityKey: z$1.ZodOptional<z$1.ZodString>;
4555
+ }, z$1.core.$strict>>>>;
4404
4556
  eventTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4405
4557
  id: z$1.ZodString;
4406
4558
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -4408,7 +4560,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4408
4560
  ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
4409
4561
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4410
4562
  payload: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
4411
- }, z$1.core.$loose>>>>;
4563
+ }, z$1.core.$strict>>>>;
4412
4564
  interfaceTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4413
4565
  id: z$1.ZodString;
4414
4566
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -4416,7 +4568,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4416
4568
  ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
4417
4569
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4418
4570
  properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>>;
4419
- }, z$1.core.$loose>>>>;
4571
+ }, z$1.core.$strict>>>>;
4420
4572
  valueTypes: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4421
4573
  id: z$1.ZodString;
4422
4574
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -4424,7 +4576,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4424
4576
  ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
4425
4577
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4426
4578
  primitive: z$1.ZodOptional<z$1.ZodString>;
4427
- }, z$1.core.$loose>>>>;
4579
+ }, z$1.core.$strict>>>>;
4428
4580
  sharedProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4429
4581
  id: z$1.ZodString;
4430
4582
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -4434,7 +4586,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4434
4586
  valueType: z$1.ZodOptional<z$1.ZodString>;
4435
4587
  searchable: z$1.ZodOptional<z$1.ZodBoolean>;
4436
4588
  pii: z$1.ZodOptional<z$1.ZodBoolean>;
4437
- }, z$1.core.$loose>>>>;
4589
+ }, z$1.core.$strict>>>>;
4438
4590
  groups: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4439
4591
  id: z$1.ZodString;
4440
4592
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -4442,7 +4594,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4442
4594
  ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
4443
4595
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4444
4596
  members: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
4445
- }, z$1.core.$loose>>>>;
4597
+ }, z$1.core.$strict>>>>;
4446
4598
  endpoints: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
4447
4599
  id: z$1.ZodString;
4448
4600
  label: z$1.ZodOptional<z$1.ZodString>;
@@ -4450,7 +4602,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4450
4602
  ownerSystemId: z$1.ZodOptional<z$1.ZodString>;
4451
4603
  aliases: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4452
4604
  route: z$1.ZodOptional<z$1.ZodString>;
4453
- }, z$1.core.$loose>>>>;
4605
+ }, z$1.core.$strict>>>>;
4454
4606
  }, z$1.core.$strict>>>;
4455
4607
  resources: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4456
4608
  id: z$1.ZodString;
package/dist/app/index.js CHANGED
@@ -1,19 +1,18 @@
1
- import { AppErrorBoundary } from '../chunk-LCHL5SM2.js';
2
- import { SidebarProvider, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer } from '../chunk-RRS2QR3W.js';
3
- import '../chunk-DKVGO6RJ.js';
4
- import '../chunk-A3JHFZDP.js';
1
+ import { AppErrorBoundary } from '../chunk-LN4UW6S4.js';
2
+ import { SidebarProvider, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer } from '../chunk-GO4XJ5D4.js';
3
+ import '../chunk-BA3AZJUR.js';
4
+ import '../chunk-E6YGA5WH.js';
5
5
  import '../chunk-BZZCNLT6.js';
6
- import { useSessionCheck, ElevasisSystemsProvider, useElevasisSystems, SystemShell, ElevasisUIProvider } from '../chunk-KIDZXZM5.js';
6
+ import { useSessionCheck, ElevasisSystemsProvider, useElevasisSystems, SystemShell, ElevasisUIProvider } from '../chunk-6JN2TLV2.js';
7
7
  import '../chunk-R6NMRXNO.js';
8
8
  import '../chunk-RBGVNPA6.js';
9
- import '../chunk-MKH2KOAO.js';
10
- import '../chunk-Z2W5VNN3.js';
9
+ import '../chunk-O32UQ26A.js';
11
10
  import '../chunk-L7BZZ4SI.js';
12
- import '../chunk-XZIOCB5D.js';
11
+ import '../chunk-HYQOGRWG.js';
13
12
  import '../chunk-MISHPEJX.js';
14
13
  import '../chunk-62GVNH5U.js';
15
14
  import { useInitialization } from '../chunk-P45GQ3ZW.js';
16
- import '../chunk-M7WWRZ5Z.js';
15
+ import '../chunk-2GIJBHZT.js';
17
16
  import '../chunk-3KMDHCAR.js';
18
17
  import { TanStackRouterBridge, ScrollToTop } from '../chunk-2IFYDILW.js';
19
18
  import '../chunk-BLXJEIQS.js';
@@ -21,7 +20,7 @@ import '../chunk-UD657ICS.js';
21
20
  import '../chunk-DD3CCMCZ.js';
22
21
  import '../chunk-RNP5R5I3.js';
23
22
  import '../chunk-RT4KRGZT.js';
24
- import '../chunk-Q3O3WY7Q.js';
23
+ import '../chunk-R5UGIFYU.js';
25
24
  import '../chunk-Y6I3IC45.js';
26
25
  import '../chunk-6SSQGWK7.js';
27
26
  import '../chunk-BI5VDO2K.js';
@@ -1,14 +1,13 @@
1
- export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-KIDZXZM5.js';
1
+ export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-6JN2TLV2.js';
2
2
  import '../chunk-R6NMRXNO.js';
3
3
  import '../chunk-RBGVNPA6.js';
4
- import '../chunk-MKH2KOAO.js';
5
- import '../chunk-Z2W5VNN3.js';
4
+ import '../chunk-O32UQ26A.js';
6
5
  import '../chunk-L7BZZ4SI.js';
7
- import '../chunk-XZIOCB5D.js';
6
+ import '../chunk-HYQOGRWG.js';
8
7
  import '../chunk-MISHPEJX.js';
9
8
  import '../chunk-62GVNH5U.js';
10
9
  import '../chunk-P45GQ3ZW.js';
11
- import '../chunk-M7WWRZ5Z.js';
10
+ import '../chunk-2GIJBHZT.js';
12
11
  import '../chunk-3KMDHCAR.js';
13
12
  import '../chunk-2IFYDILW.js';
14
13
  import '../chunk-BLXJEIQS.js';
@@ -16,7 +15,7 @@ import '../chunk-UD657ICS.js';
16
15
  import '../chunk-DD3CCMCZ.js';
17
16
  import '../chunk-RNP5R5I3.js';
18
17
  import '../chunk-RT4KRGZT.js';
19
- import '../chunk-Q3O3WY7Q.js';
18
+ import '../chunk-R5UGIFYU.js';
20
19
  import '../chunk-Y6I3IC45.js';
21
20
  import '../chunk-6SSQGWK7.js';
22
21
  import '../chunk-BI5VDO2K.js';
@@ -1,14 +1,13 @@
1
- export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-KIDZXZM5.js';
1
+ export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-6JN2TLV2.js';
2
2
  import '../chunk-R6NMRXNO.js';
3
3
  import '../chunk-RBGVNPA6.js';
4
- import '../chunk-MKH2KOAO.js';
5
- import '../chunk-Z2W5VNN3.js';
4
+ import '../chunk-O32UQ26A.js';
6
5
  import '../chunk-L7BZZ4SI.js';
7
- import '../chunk-XZIOCB5D.js';
6
+ import '../chunk-HYQOGRWG.js';
8
7
  import '../chunk-MISHPEJX.js';
9
8
  import '../chunk-62GVNH5U.js';
10
9
  import '../chunk-P45GQ3ZW.js';
11
- import '../chunk-M7WWRZ5Z.js';
10
+ import '../chunk-2GIJBHZT.js';
12
11
  import '../chunk-3KMDHCAR.js';
13
12
  import '../chunk-2IFYDILW.js';
14
13
  import '../chunk-BLXJEIQS.js';
@@ -16,7 +15,7 @@ import '../chunk-UD657ICS.js';
16
15
  import '../chunk-DD3CCMCZ.js';
17
16
  import '../chunk-RNP5R5I3.js';
18
17
  import '../chunk-RT4KRGZT.js';
19
- import '../chunk-Q3O3WY7Q.js';
18
+ import '../chunk-R5UGIFYU.js';
20
19
  import '../chunk-Y6I3IC45.js';
21
20
  import '../chunk-6SSQGWK7.js';
22
21
  import '../chunk-BI5VDO2K.js';
@@ -0,0 +1,60 @@
1
+ import { UuidSchema } from './chunk-TVTSASST.js';
2
+ import { z } from 'zod';
3
+
4
+ var SessionIdParamSchema = z.object({
5
+ sessionId: UuidSchema
6
+ }).strict();
7
+ var ExecutionIdParamsSchema = z.object({
8
+ sessionId: UuidSchema,
9
+ executionId: UuidSchema
10
+ }).strict();
11
+ var CreateSessionSchema = z.object({
12
+ resourceId: z.string().min(1).max(100),
13
+ userId: UuidSchema.optional(),
14
+ metadata: z.any().optional()
15
+ }).strict();
16
+ z.object({
17
+ input: z.unknown().refine(
18
+ (val) => {
19
+ let text;
20
+ if (typeof val === "string") {
21
+ text = val;
22
+ } else if (val && typeof val === "object" && "message" in val) {
23
+ text = String(val.message);
24
+ } else {
25
+ text = JSON.stringify(val);
26
+ }
27
+ return text.length > 0 && text.length <= 1e5;
28
+ },
29
+ { message: "Input must be between 1 and 100,000 characters" }
30
+ ),
31
+ metadata: z.any().optional()
32
+ }).strict();
33
+ z.object({
34
+ userId: UuidSchema.optional(),
35
+ resourceId: z.string().optional(),
36
+ limit: z.coerce.number().int().min(1).max(100).default(20)
37
+ }).strict();
38
+ z.object({
39
+ limit: z.coerce.number().int().min(1).max(100).default(100),
40
+ cursor: z.coerce.number().int().min(0).optional()
41
+ }).strict();
42
+ var WebSocketSessionTurnSchema = z.object({
43
+ type: z.literal("session:turn"),
44
+ input: z.unknown().refine(
45
+ (val) => {
46
+ let text;
47
+ if (typeof val === "string") {
48
+ text = val;
49
+ } else if (val && typeof val === "object" && "message" in val) {
50
+ text = String(val.message);
51
+ } else {
52
+ text = JSON.stringify(val) || "";
53
+ }
54
+ return text && text.length > 0 && text.length <= 1e5;
55
+ },
56
+ { message: "Input must be between 1 and 100,000 characters" }
57
+ )
58
+ }).strict();
59
+
60
+ export { CreateSessionSchema, ExecutionIdParamsSchema, SessionIdParamSchema, WebSocketSessionTurnSchema };