@elevasis/ui 2.42.0 → 2.44.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 (54) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +69 -2
  3. package/dist/app/index.js +3 -3
  4. package/dist/auth/index.js +3 -3
  5. package/dist/charts/index.js +3 -3
  6. package/dist/{chunk-3MTAHV5M.js → chunk-B75DHNNJ.js} +226 -74
  7. package/dist/{chunk-MA7YCY7C.js → chunk-NVVAQNKE.js} +1 -1
  8. package/dist/{chunk-EDVZ3AHA.js → chunk-UECAFQKT.js} +1 -1
  9. package/dist/{chunk-YEGMSADG.js → chunk-XDEUR36B.js} +14 -2
  10. package/dist/components/index.d.ts +3 -0
  11. package/dist/components/index.js +3 -3
  12. package/dist/components/navigation/index.js +3 -3
  13. package/dist/features/auth/index.d.ts +3 -0
  14. package/dist/features/auth/index.js +4 -4
  15. package/dist/features/clients/index.d.ts +6 -3
  16. package/dist/features/clients/index.js +80 -19
  17. package/dist/features/crm/index.d.ts +3 -0
  18. package/dist/features/crm/index.js +3 -3
  19. package/dist/features/dashboard/index.js +3 -3
  20. package/dist/features/delivery/index.d.ts +3 -0
  21. package/dist/features/delivery/index.js +3 -3
  22. package/dist/features/knowledge/index.js +3 -3
  23. package/dist/features/lead-gen/index.d.ts +72 -3
  24. package/dist/features/lead-gen/index.js +3 -3
  25. package/dist/features/monitoring/index.js +3 -3
  26. package/dist/features/monitoring/requests/index.js +4 -4
  27. package/dist/features/operations/index.d.ts +66 -2
  28. package/dist/features/operations/index.js +3 -3
  29. package/dist/features/settings/index.d.ts +3 -0
  30. package/dist/features/settings/index.js +3 -3
  31. package/dist/hooks/access/index.js +3 -3
  32. package/dist/hooks/delivery/index.d.ts +3 -0
  33. package/dist/hooks/delivery/index.js +3 -3
  34. package/dist/hooks/index.d.ts +33 -18
  35. package/dist/hooks/index.js +3 -3
  36. package/dist/hooks/published.d.ts +33 -18
  37. package/dist/hooks/published.js +3 -3
  38. package/dist/index.d.ts +99 -20
  39. package/dist/index.js +4 -4
  40. package/dist/initialization/index.d.ts +3 -0
  41. package/dist/knowledge/index.d.ts +96 -7
  42. package/dist/knowledge/index.js +68 -8
  43. package/dist/layout/index.js +3 -3
  44. package/dist/organization/index.js +3 -3
  45. package/dist/profile/index.d.ts +3 -0
  46. package/dist/provider/index.d.ts +69 -2
  47. package/dist/provider/index.js +3 -3
  48. package/dist/provider/published.d.ts +69 -2
  49. package/dist/provider/published.js +3 -3
  50. package/dist/supabase/index.d.ts +6 -0
  51. package/dist/test-utils/index.js +3 -3
  52. package/dist/types/index.d.ts +3 -0
  53. package/dist/utils/index.js +1 -1
  54. package/package.json +4 -4
package/dist/api/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { createElevasisQueryClient } from '../chunk-EDVZ3AHA.js';
2
- export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-MA7YCY7C.js';
1
+ export { createElevasisQueryClient } from '../chunk-UECAFQKT.js';
2
+ export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-NVVAQNKE.js';
3
3
  import '../chunk-DD3CCMCZ.js';
4
- import '../chunk-YEGMSADG.js';
4
+ import '../chunk-XDEUR36B.js';
5
5
  import '../chunk-KRWALB24.js';
6
6
  import '../chunk-TVTSASST.js';
7
7
  import '../chunk-I2KLQ2HA.js';
@@ -1260,6 +1260,7 @@ type Database = {
1260
1260
  organization_id: string;
1261
1261
  primary_company_id: string | null;
1262
1262
  primary_contact_id: string | null;
1263
+ source: string;
1263
1264
  source_deal_id: string | null;
1264
1265
  status: string;
1265
1266
  updated_at: string;
@@ -1273,6 +1274,7 @@ type Database = {
1273
1274
  organization_id: string;
1274
1275
  primary_company_id?: string | null;
1275
1276
  primary_contact_id?: string | null;
1277
+ source?: string;
1276
1278
  source_deal_id?: string | null;
1277
1279
  status?: string;
1278
1280
  updated_at?: string;
@@ -1286,6 +1288,7 @@ type Database = {
1286
1288
  organization_id?: string;
1287
1289
  primary_company_id?: string | null;
1288
1290
  primary_contact_id?: string | null;
1291
+ source?: string;
1289
1292
  source_deal_id?: string | null;
1290
1293
  status?: string;
1291
1294
  updated_at?: string;
@@ -3527,6 +3530,7 @@ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
3527
3530
 
3528
3531
  declare const OrganizationModelSchema: z$1.ZodObject<{
3529
3532
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3533
+ snapshotHash: z$1.ZodOptional<z$1.ZodString>;
3530
3534
  domainMetadata: z$1.ZodPipe<z$1.ZodDefault<z$1.ZodObject<{
3531
3535
  branding: z$1.ZodOptional<z$1.ZodObject<{
3532
3536
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
@@ -3536,6 +3540,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3536
3540
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3537
3541
  lastModified: z$1.ZodString;
3538
3542
  }, z$1.core.$strip>>;
3543
+ clients: z$1.ZodOptional<z$1.ZodObject<{
3544
+ version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3545
+ lastModified: z$1.ZodString;
3546
+ }, z$1.core.$strip>>;
3539
3547
  customers: z$1.ZodOptional<z$1.ZodObject<{
3540
3548
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3541
3549
  lastModified: z$1.ZodString;
@@ -3593,6 +3601,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3593
3601
  version: 1;
3594
3602
  lastModified: string;
3595
3603
  };
3604
+ clients: {
3605
+ version: 1;
3606
+ lastModified: string;
3607
+ };
3596
3608
  customers: {
3597
3609
  version: 1;
3598
3610
  lastModified: string;
@@ -3650,6 +3662,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3650
3662
  version: 1;
3651
3663
  lastModified: string;
3652
3664
  } | undefined;
3665
+ clients?: {
3666
+ version: 1;
3667
+ lastModified: string;
3668
+ } | undefined;
3653
3669
  customers?: {
3654
3670
  version: 1;
3655
3671
  lastModified: string;
@@ -3842,6 +3858,56 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3842
3858
  shortName: z$1.ZodOptional<z$1.ZodString>;
3843
3859
  description: z$1.ZodOptional<z$1.ZodString>;
3844
3860
  }, z$1.core.$loose>>;
3861
+ clients: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3862
+ id: z$1.ZodString;
3863
+ slug: z$1.ZodString;
3864
+ name: z$1.ZodString;
3865
+ status: z$1.ZodDefault<z$1.ZodEnum<{
3866
+ active: "active";
3867
+ onboarding: "onboarding";
3868
+ paused: "paused";
3869
+ completed: "completed";
3870
+ churned: "churned";
3871
+ }>>;
3872
+ source: z$1.ZodOptional<z$1.ZodString>;
3873
+ identity: z$1.ZodDefault<z$1.ZodObject<{
3874
+ organizationName: z$1.ZodOptional<z$1.ZodString>;
3875
+ shortName: z$1.ZodOptional<z$1.ZodString>;
3876
+ clientBrief: z$1.ZodDefault<z$1.ZodString>;
3877
+ geographicFocus: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3878
+ timeZone: z$1.ZodDefault<z$1.ZodString>;
3879
+ }, z$1.core.$loose>>;
3880
+ branding: z$1.ZodDefault<z$1.ZodObject<{
3881
+ voice: z$1.ZodOptional<z$1.ZodString>;
3882
+ tagline: z$1.ZodOptional<z$1.ZodString>;
3883
+ values: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3884
+ }, z$1.core.$loose>>;
3885
+ workspace: z$1.ZodDefault<z$1.ZodObject<{
3886
+ kind: z$1.ZodOptional<z$1.ZodEnum<{
3887
+ "external-project": "external-project";
3888
+ "internal-project": "internal-project";
3889
+ none: "none";
3890
+ }>>;
3891
+ owner: z$1.ZodOptional<z$1.ZodEnum<{
3892
+ platform: "platform";
3893
+ client: "client";
3894
+ developer: "developer";
3895
+ }>>;
3896
+ projectId: z$1.ZodOptional<z$1.ZodString>;
3897
+ workspacePath: z$1.ZodOptional<z$1.ZodString>;
3898
+ }, z$1.core.$loose>>;
3899
+ links: z$1.ZodDefault<z$1.ZodObject<{
3900
+ projectIds: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
3901
+ primaryCompanyId: z$1.ZodOptional<z$1.ZodString>;
3902
+ primaryContactId: z$1.ZodOptional<z$1.ZodString>;
3903
+ sourceDealId: z$1.ZodOptional<z$1.ZodString>;
3904
+ }, z$1.core.$strip>>;
3905
+ prompts: z$1.ZodDefault<z$1.ZodObject<{
3906
+ defaultContext: z$1.ZodDefault<z$1.ZodString>;
3907
+ }, z$1.core.$loose>>;
3908
+ config: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>>>;
3909
+ customValues: z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>>>;
3910
+ }, z$1.core.$strict>>>>;
3845
3911
  customers: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3846
3912
  id: z$1.ZodString;
3847
3913
  order: z$1.ZodNumber;
@@ -4495,6 +4561,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4495
4561
  action: "action";
4496
4562
  ontology: "ontology";
4497
4563
  role: "role";
4564
+ client: "client";
4498
4565
  stage: "stage";
4499
4566
  goal: "goal";
4500
4567
  "customer-segment": "customer-segment";
@@ -4506,7 +4573,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4506
4573
  nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
4507
4574
  }, z$1.core.$strip>]>, z$1.ZodTransform<{
4508
4575
  target: {
4509
- kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
4576
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "client" | "stage" | "goal" | "customer-segment" | "offering";
4510
4577
  id: string;
4511
4578
  };
4512
4579
  nodeId: string;
@@ -4514,7 +4581,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4514
4581
  nodeId: string;
4515
4582
  } | {
4516
4583
  target: {
4517
- kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
4584
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "client" | "stage" | "goal" | "customer-segment" | "offering";
4518
4585
  id: string;
4519
4586
  };
4520
4587
  }>>>>;
package/dist/app/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { useSessionCheck, AppErrorBoundary, SidebarProvider, ElevasisSystemsProvider, useElevasisSystems, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer, SystemShell, ElevasisUIProvider } from '../chunk-3MTAHV5M.js';
1
+ import { useSessionCheck, AppErrorBoundary, SidebarProvider, ElevasisSystemsProvider, useElevasisSystems, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer, SystemShell, ElevasisUIProvider } from '../chunk-B75DHNNJ.js';
2
2
  import '../chunk-NZ2F5RQ4.js';
3
3
  import '../chunk-OJJK27GC.js';
4
4
  import '../chunk-AUDNF2Q7.js';
@@ -9,7 +9,7 @@ import '../chunk-SJHM4WDG.js';
9
9
  import '../chunk-ZTWA5H77.js';
10
10
  import '../chunk-S3XR4II4.js';
11
11
  import { useInitialization } from '../chunk-6DO4PE3O.js';
12
- import '../chunk-MA7YCY7C.js';
12
+ import '../chunk-NVVAQNKE.js';
13
13
  import '../chunk-DD3CCMCZ.js';
14
14
  import '../chunk-GMXGDO3I.js';
15
15
  import { TanStackRouterBridge, ScrollToTop } from '../chunk-2IFYDILW.js';
@@ -18,7 +18,7 @@ import '../chunk-HENXLGVD.js';
18
18
  import '../chunk-7FPLLSHN.js';
19
19
  import '../chunk-RNP5R5I3.js';
20
20
  import '../chunk-W2SFTXMT.js';
21
- import { listAllSystems } from '../chunk-YEGMSADG.js';
21
+ import { listAllSystems } from '../chunk-XDEUR36B.js';
22
22
  import '../chunk-KRWALB24.js';
23
23
  import '../chunk-2FTX4WO2.js';
24
24
  import '../chunk-MQZE7SUI.js';
@@ -1,4 +1,4 @@
1
- export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-3MTAHV5M.js';
1
+ export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-B75DHNNJ.js';
2
2
  import '../chunk-NZ2F5RQ4.js';
3
3
  import '../chunk-OJJK27GC.js';
4
4
  import '../chunk-AUDNF2Q7.js';
@@ -9,7 +9,7 @@ import '../chunk-SJHM4WDG.js';
9
9
  import '../chunk-ZTWA5H77.js';
10
10
  import '../chunk-S3XR4II4.js';
11
11
  import '../chunk-6DO4PE3O.js';
12
- import '../chunk-MA7YCY7C.js';
12
+ import '../chunk-NVVAQNKE.js';
13
13
  import '../chunk-DD3CCMCZ.js';
14
14
  import '../chunk-GMXGDO3I.js';
15
15
  import '../chunk-2IFYDILW.js';
@@ -18,7 +18,7 @@ import '../chunk-HENXLGVD.js';
18
18
  import '../chunk-7FPLLSHN.js';
19
19
  import '../chunk-RNP5R5I3.js';
20
20
  import '../chunk-W2SFTXMT.js';
21
- import '../chunk-YEGMSADG.js';
21
+ import '../chunk-XDEUR36B.js';
22
22
  import '../chunk-KRWALB24.js';
23
23
  import '../chunk-2FTX4WO2.js';
24
24
  import '../chunk-MQZE7SUI.js';
@@ -1,4 +1,4 @@
1
- export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-3MTAHV5M.js';
1
+ export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-B75DHNNJ.js';
2
2
  import '../chunk-NZ2F5RQ4.js';
3
3
  import '../chunk-OJJK27GC.js';
4
4
  import '../chunk-AUDNF2Q7.js';
@@ -9,7 +9,7 @@ import '../chunk-SJHM4WDG.js';
9
9
  import '../chunk-ZTWA5H77.js';
10
10
  import '../chunk-S3XR4II4.js';
11
11
  import '../chunk-6DO4PE3O.js';
12
- import '../chunk-MA7YCY7C.js';
12
+ import '../chunk-NVVAQNKE.js';
13
13
  import '../chunk-DD3CCMCZ.js';
14
14
  import '../chunk-GMXGDO3I.js';
15
15
  import '../chunk-2IFYDILW.js';
@@ -18,7 +18,7 @@ import '../chunk-HENXLGVD.js';
18
18
  import '../chunk-7FPLLSHN.js';
19
19
  import '../chunk-RNP5R5I3.js';
20
20
  import '../chunk-W2SFTXMT.js';
21
- import '../chunk-YEGMSADG.js';
21
+ import '../chunk-XDEUR36B.js';
22
22
  import '../chunk-KRWALB24.js';
23
23
  import '../chunk-2FTX4WO2.js';
24
24
  import '../chunk-MQZE7SUI.js';