@elevasis/ui 2.41.1 → 2.43.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 (57) hide show
  1. package/dist/api/index.js +3 -3
  2. package/dist/app/index.d.ts +74 -3
  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-QDXTIQT4.js → chunk-FUKNHVUV.js} +205 -415
  7. package/dist/{chunk-7FJI76OH.js → chunk-NVVAQNKE.js} +1 -1
  8. package/dist/{chunk-V5HWC5EW.js → chunk-UECAFQKT.js} +1 -1
  9. package/dist/{chunk-5M4HSHQ5.js → chunk-XDEUR36B.js} +388 -25
  10. package/dist/components/index.d.ts +8 -1
  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.d.ts +5 -1
  20. package/dist/features/dashboard/index.js +3 -3
  21. package/dist/features/delivery/index.d.ts +3 -0
  22. package/dist/features/delivery/index.js +3 -3
  23. package/dist/features/knowledge/index.js +3 -3
  24. package/dist/features/lead-gen/index.d.ts +77 -4
  25. package/dist/features/lead-gen/index.js +3 -3
  26. package/dist/features/monitoring/index.js +3 -3
  27. package/dist/features/monitoring/requests/index.js +4 -4
  28. package/dist/features/operations/index.d.ts +71 -3
  29. package/dist/features/operations/index.js +3 -3
  30. package/dist/features/settings/index.d.ts +3 -0
  31. package/dist/features/settings/index.js +3 -3
  32. package/dist/hooks/access/index.js +3 -3
  33. package/dist/hooks/delivery/index.d.ts +3 -0
  34. package/dist/hooks/delivery/index.js +3 -3
  35. package/dist/hooks/index.d.ts +38 -19
  36. package/dist/hooks/index.js +3 -3
  37. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +5 -1
  38. package/dist/hooks/published.d.ts +38 -19
  39. package/dist/hooks/published.js +3 -3
  40. package/dist/index.d.ts +104 -21
  41. package/dist/index.js +4 -4
  42. package/dist/initialization/index.d.ts +3 -0
  43. package/dist/knowledge/index.d.ts +76 -7
  44. package/dist/knowledge/index.js +68 -8
  45. package/dist/layout/index.js +3 -3
  46. package/dist/organization/index.js +3 -3
  47. package/dist/profile/index.d.ts +3 -0
  48. package/dist/provider/index.d.ts +74 -3
  49. package/dist/provider/index.js +3 -3
  50. package/dist/provider/published.d.ts +74 -3
  51. package/dist/provider/published.js +3 -3
  52. package/dist/supabase/index.d.ts +6 -0
  53. package/dist/test-utils/index.js +3 -3
  54. package/dist/types/index.d.ts +8 -1
  55. package/dist/utils/index.d.ts +5 -1
  56. package/dist/utils/index.js +1 -1
  57. package/package.json +5 -5
package/dist/api/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export { createElevasisQueryClient } from '../chunk-V5HWC5EW.js';
2
- export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-7FJI76OH.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-5M4HSHQ5.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;
@@ -3438,7 +3441,11 @@ declare const SystemApiInterfaceSchema: z$1.ZodObject<{
3438
3441
  archived: "archived";
3439
3442
  disabled: "disabled";
3440
3443
  }>>;
3441
- readinessProfile: z$1.ZodOptional<z$1.ZodString>;
3444
+ readinessProfile: z$1.ZodOptional<z$1.ZodEnum<{
3445
+ "sales.lead-gen.api": "sales.lead-gen.api";
3446
+ "sales.crm.api": "sales.crm.api";
3447
+ "sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
3448
+ }>>;
3442
3449
  resourceIds: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
3443
3450
  }, z$1.core.$strict>;
3444
3451
  type JsonPrimitive = string | number | boolean | null;
@@ -3523,6 +3530,7 @@ type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
3523
3530
 
3524
3531
  declare const OrganizationModelSchema: z$1.ZodObject<{
3525
3532
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3533
+ snapshotHash: z$1.ZodOptional<z$1.ZodString>;
3526
3534
  domainMetadata: z$1.ZodPipe<z$1.ZodDefault<z$1.ZodObject<{
3527
3535
  branding: z$1.ZodOptional<z$1.ZodObject<{
3528
3536
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
@@ -3532,6 +3540,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3532
3540
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3533
3541
  lastModified: z$1.ZodString;
3534
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>>;
3535
3547
  customers: z$1.ZodOptional<z$1.ZodObject<{
3536
3548
  version: z$1.ZodDefault<z$1.ZodLiteral<1>>;
3537
3549
  lastModified: z$1.ZodString;
@@ -3589,6 +3601,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3589
3601
  version: 1;
3590
3602
  lastModified: string;
3591
3603
  };
3604
+ clients: {
3605
+ version: 1;
3606
+ lastModified: string;
3607
+ };
3592
3608
  customers: {
3593
3609
  version: 1;
3594
3610
  lastModified: string;
@@ -3646,6 +3662,10 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3646
3662
  version: 1;
3647
3663
  lastModified: string;
3648
3664
  } | undefined;
3665
+ clients?: {
3666
+ version: 1;
3667
+ lastModified: string;
3668
+ } | undefined;
3649
3669
  customers?: {
3650
3670
  version: 1;
3651
3671
  lastModified: string;
@@ -3838,6 +3858,56 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3838
3858
  shortName: z$1.ZodOptional<z$1.ZodString>;
3839
3859
  description: z$1.ZodOptional<z$1.ZodString>;
3840
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>>>>;
3841
3911
  customers: z$1.ZodDefault<z$1.ZodDefault<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
3842
3912
  id: z$1.ZodString;
3843
3913
  order: z$1.ZodNumber;
@@ -4491,6 +4561,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4491
4561
  action: "action";
4492
4562
  ontology: "ontology";
4493
4563
  role: "role";
4564
+ client: "client";
4494
4565
  stage: "stage";
4495
4566
  goal: "goal";
4496
4567
  "customer-segment": "customer-segment";
@@ -4502,7 +4573,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4502
4573
  nodeId: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodTemplateLiteral<`ontology:${string}`>]>;
4503
4574
  }, z$1.core.$strip>]>, z$1.ZodTransform<{
4504
4575
  target: {
4505
- 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";
4506
4577
  id: string;
4507
4578
  };
4508
4579
  nodeId: string;
@@ -4510,7 +4581,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4510
4581
  nodeId: string;
4511
4582
  } | {
4512
4583
  target: {
4513
- 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";
4514
4585
  id: string;
4515
4586
  };
4516
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-QDXTIQT4.js';
1
+ import { useSessionCheck, AppErrorBoundary, SidebarProvider, ElevasisSystemsProvider, useElevasisSystems, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer, SystemShell, ElevasisUIProvider } from '../chunk-FUKNHVUV.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-7FJI76OH.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-5M4HSHQ5.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-QDXTIQT4.js';
1
+ export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-FUKNHVUV.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-7FJI76OH.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-5M4HSHQ5.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-QDXTIQT4.js';
1
+ export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-FUKNHVUV.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-7FJI76OH.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-5M4HSHQ5.js';
21
+ import '../chunk-XDEUR36B.js';
22
22
  import '../chunk-KRWALB24.js';
23
23
  import '../chunk-2FTX4WO2.js';
24
24
  import '../chunk-MQZE7SUI.js';