@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
@@ -1,5 +1,5 @@
1
- import { ConfirmationModal, RequestModal, usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, PageTitleCaption, FilterBar, TableSelectionToolbar, CustomModal, useRequest, ContextViewer, JsonViewer } from '../../../chunk-QDXTIQT4.js';
2
- export { RequestActionIcon, RequestModal, requestTopbarActionManifest } from '../../../chunk-QDXTIQT4.js';
1
+ import { ConfirmationModal, RequestModal, usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, PageTitleCaption, FilterBar, TableSelectionToolbar, CustomModal, useRequest, ContextViewer, JsonViewer } from '../../../chunk-FUKNHVUV.js';
2
+ export { RequestActionIcon, RequestModal, requestTopbarActionManifest } from '../../../chunk-FUKNHVUV.js';
3
3
  import '../../../chunk-NZ2F5RQ4.js';
4
4
  import '../../../chunk-OJJK27GC.js';
5
5
  import '../../../chunk-AUDNF2Q7.js';
@@ -10,7 +10,7 @@ import '../../../chunk-SJHM4WDG.js';
10
10
  import '../../../chunk-ZTWA5H77.js';
11
11
  import { CardHeader } from '../../../chunk-S3XR4II4.js';
12
12
  import '../../../chunk-6DO4PE3O.js';
13
- import '../../../chunk-7FJI76OH.js';
13
+ import '../../../chunk-NVVAQNKE.js';
14
14
  import '../../../chunk-DD3CCMCZ.js';
15
15
  import '../../../chunk-GMXGDO3I.js';
16
16
  import '../../../chunk-2IFYDILW.js';
@@ -19,7 +19,7 @@ import '../../../chunk-HENXLGVD.js';
19
19
  import '../../../chunk-7FPLLSHN.js';
20
20
  import '../../../chunk-RNP5R5I3.js';
21
21
  import '../../../chunk-W2SFTXMT.js';
22
- import { formatTimeAgo } from '../../../chunk-5M4HSHQ5.js';
22
+ import { formatTimeAgo } from '../../../chunk-XDEUR36B.js';
23
23
  import '../../../chunk-KRWALB24.js';
24
24
  import '../../../chunk-2FTX4WO2.js';
25
25
  import '../../../chunk-MQZE7SUI.js';
@@ -483,7 +483,11 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
483
483
  archived: "archived";
484
484
  disabled: "disabled";
485
485
  }>>;
486
- readinessProfile: z.ZodOptional<z.ZodString>;
486
+ readinessProfile: z.ZodOptional<z.ZodEnum<{
487
+ "sales.lead-gen.api": "sales.lead-gen.api";
488
+ "sales.crm.api": "sales.crm.api";
489
+ "sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
490
+ }>>;
487
491
  resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
488
492
  }, z.core.$strict>;
489
493
  type JsonPrimitive = string | number | boolean | null;
@@ -592,6 +596,7 @@ type Link = z.infer<typeof LinkSchema>;
592
596
 
593
597
  declare const OrganizationModelSchema: z.ZodObject<{
594
598
  version: z.ZodDefault<z.ZodLiteral<1>>;
599
+ snapshotHash: z.ZodOptional<z.ZodString>;
595
600
  domainMetadata: z.ZodPipe<z.ZodDefault<z.ZodObject<{
596
601
  branding: z.ZodOptional<z.ZodObject<{
597
602
  version: z.ZodDefault<z.ZodLiteral<1>>;
@@ -601,6 +606,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
601
606
  version: z.ZodDefault<z.ZodLiteral<1>>;
602
607
  lastModified: z.ZodString;
603
608
  }, z.core.$strip>>;
609
+ clients: z.ZodOptional<z.ZodObject<{
610
+ version: z.ZodDefault<z.ZodLiteral<1>>;
611
+ lastModified: z.ZodString;
612
+ }, z.core.$strip>>;
604
613
  customers: z.ZodOptional<z.ZodObject<{
605
614
  version: z.ZodDefault<z.ZodLiteral<1>>;
606
615
  lastModified: z.ZodString;
@@ -658,6 +667,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
658
667
  version: 1;
659
668
  lastModified: string;
660
669
  };
670
+ clients: {
671
+ version: 1;
672
+ lastModified: string;
673
+ };
661
674
  customers: {
662
675
  version: 1;
663
676
  lastModified: string;
@@ -715,6 +728,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
715
728
  version: 1;
716
729
  lastModified: string;
717
730
  } | undefined;
731
+ clients?: {
732
+ version: 1;
733
+ lastModified: string;
734
+ } | undefined;
718
735
  customers?: {
719
736
  version: 1;
720
737
  lastModified: string;
@@ -907,6 +924,56 @@ declare const OrganizationModelSchema: z.ZodObject<{
907
924
  shortName: z.ZodOptional<z.ZodString>;
908
925
  description: z.ZodOptional<z.ZodString>;
909
926
  }, z.core.$loose>>;
927
+ clients: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
928
+ id: z.ZodString;
929
+ slug: z.ZodString;
930
+ name: z.ZodString;
931
+ status: z.ZodDefault<z.ZodEnum<{
932
+ active: "active";
933
+ onboarding: "onboarding";
934
+ paused: "paused";
935
+ completed: "completed";
936
+ churned: "churned";
937
+ }>>;
938
+ source: z.ZodOptional<z.ZodString>;
939
+ identity: z.ZodDefault<z.ZodObject<{
940
+ organizationName: z.ZodOptional<z.ZodString>;
941
+ shortName: z.ZodOptional<z.ZodString>;
942
+ clientBrief: z.ZodDefault<z.ZodString>;
943
+ geographicFocus: z.ZodDefault<z.ZodArray<z.ZodString>>;
944
+ timeZone: z.ZodDefault<z.ZodString>;
945
+ }, z.core.$loose>>;
946
+ branding: z.ZodDefault<z.ZodObject<{
947
+ voice: z.ZodOptional<z.ZodString>;
948
+ tagline: z.ZodOptional<z.ZodString>;
949
+ values: z.ZodDefault<z.ZodArray<z.ZodString>>;
950
+ }, z.core.$loose>>;
951
+ workspace: z.ZodDefault<z.ZodObject<{
952
+ kind: z.ZodOptional<z.ZodEnum<{
953
+ "external-project": "external-project";
954
+ "internal-project": "internal-project";
955
+ none: "none";
956
+ }>>;
957
+ owner: z.ZodOptional<z.ZodEnum<{
958
+ platform: "platform";
959
+ client: "client";
960
+ developer: "developer";
961
+ }>>;
962
+ projectId: z.ZodOptional<z.ZodString>;
963
+ workspacePath: z.ZodOptional<z.ZodString>;
964
+ }, z.core.$loose>>;
965
+ links: z.ZodDefault<z.ZodObject<{
966
+ projectIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
967
+ primaryCompanyId: z.ZodOptional<z.ZodString>;
968
+ primaryContactId: z.ZodOptional<z.ZodString>;
969
+ sourceDealId: z.ZodOptional<z.ZodString>;
970
+ }, z.core.$strip>>;
971
+ prompts: z.ZodDefault<z.ZodObject<{
972
+ defaultContext: z.ZodDefault<z.ZodString>;
973
+ }, z.core.$loose>>;
974
+ config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
975
+ customValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
976
+ }, z.core.$strict>>>>;
910
977
  customers: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
911
978
  id: z.ZodString;
912
979
  order: z.ZodNumber;
@@ -1560,6 +1627,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
1560
1627
  action: "action";
1561
1628
  ontology: "ontology";
1562
1629
  role: "role";
1630
+ client: "client";
1563
1631
  stage: "stage";
1564
1632
  goal: "goal";
1565
1633
  "customer-segment": "customer-segment";
@@ -1571,7 +1639,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
1571
1639
  nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
1572
1640
  }, z.core.$strip>]>, z.ZodTransform<{
1573
1641
  target: {
1574
- kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
1642
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "client" | "stage" | "goal" | "customer-segment" | "offering";
1575
1643
  id: string;
1576
1644
  };
1577
1645
  nodeId: string;
@@ -1579,7 +1647,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
1579
1647
  nodeId: string;
1580
1648
  } | {
1581
1649
  target: {
1582
- kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "stage" | "goal" | "customer-segment" | "offering";
1650
+ kind: "knowledge" | "system" | "resource" | "action" | "ontology" | "role" | "client" | "stage" | "goal" | "customer-segment" | "offering";
1583
1651
  id: string;
1584
1652
  };
1585
1653
  }>>>>;
@@ -1,4 +1,4 @@
1
- export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-QDXTIQT4.js';
1
+ export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionDetailsSidebar, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } 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';
@@ -1253,6 +1253,7 @@ type Database = {
1253
1253
  organization_id: string;
1254
1254
  primary_company_id: string | null;
1255
1255
  primary_contact_id: string | null;
1256
+ source: string;
1256
1257
  source_deal_id: string | null;
1257
1258
  status: string;
1258
1259
  updated_at: string;
@@ -1266,6 +1267,7 @@ type Database = {
1266
1267
  organization_id: string;
1267
1268
  primary_company_id?: string | null;
1268
1269
  primary_contact_id?: string | null;
1270
+ source?: string;
1269
1271
  source_deal_id?: string | null;
1270
1272
  status?: string;
1271
1273
  updated_at?: string;
@@ -1279,6 +1281,7 @@ type Database = {
1279
1281
  organization_id?: string;
1280
1282
  primary_company_id?: string | null;
1281
1283
  primary_contact_id?: string | null;
1284
+ source?: string;
1282
1285
  source_deal_id?: string | null;
1283
1286
  status?: string;
1284
1287
  updated_at?: string;
@@ -1,4 +1,4 @@
1
- export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MyRolesPage, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-QDXTIQT4.js';
1
+ export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MyRolesPage, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } 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 { AccessKeys, useAccess } from '../../chunk-QDXTIQT4.js';
1
+ export { AccessKeys, useAccess } 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';
@@ -1251,6 +1251,7 @@ type Database = {
1251
1251
  organization_id: string;
1252
1252
  primary_company_id: string | null;
1253
1253
  primary_contact_id: string | null;
1254
+ source: string;
1254
1255
  source_deal_id: string | null;
1255
1256
  status: string;
1256
1257
  updated_at: string;
@@ -1264,6 +1265,7 @@ type Database = {
1264
1265
  organization_id: string;
1265
1266
  primary_company_id?: string | null;
1266
1267
  primary_contact_id?: string | null;
1268
+ source?: string;
1267
1269
  source_deal_id?: string | null;
1268
1270
  status?: string;
1269
1271
  updated_at?: string;
@@ -1277,6 +1279,7 @@ type Database = {
1277
1279
  organization_id?: string;
1278
1280
  primary_company_id?: string | null;
1279
1281
  primary_contact_id?: string | null;
1282
+ source?: string;
1280
1283
  source_deal_id?: string | null;
1281
1284
  status?: string;
1282
1285
  updated_at?: string;
@@ -1,4 +1,4 @@
1
- export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask2 as useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-QDXTIQT4.js';
1
+ export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask2 as useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } 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';
@@ -1434,6 +1434,7 @@ type Database = {
1434
1434
  organization_id: string;
1435
1435
  primary_company_id: string | null;
1436
1436
  primary_contact_id: string | null;
1437
+ source: string;
1437
1438
  source_deal_id: string | null;
1438
1439
  status: string;
1439
1440
  updated_at: string;
@@ -1447,6 +1448,7 @@ type Database = {
1447
1448
  organization_id: string;
1448
1449
  primary_company_id?: string | null;
1449
1450
  primary_contact_id?: string | null;
1451
+ source?: string;
1450
1452
  source_deal_id?: string | null;
1451
1453
  status?: string;
1452
1454
  updated_at?: string;
@@ -1460,6 +1462,7 @@ type Database = {
1460
1462
  organization_id?: string;
1461
1463
  primary_company_id?: string | null;
1462
1464
  primary_contact_id?: string | null;
1465
+ source?: string;
1463
1466
  source_deal_id?: string | null;
1464
1467
  status?: string;
1465
1468
  updated_at?: string;
@@ -3473,7 +3476,11 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
3473
3476
  archived: "archived";
3474
3477
  disabled: "disabled";
3475
3478
  }>>;
3476
- readinessProfile: z.ZodOptional<z.ZodString>;
3479
+ readinessProfile: z.ZodOptional<z.ZodEnum<{
3480
+ "sales.lead-gen.api": "sales.lead-gen.api";
3481
+ "sales.crm.api": "sales.crm.api";
3482
+ "sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
3483
+ }>>;
3477
3484
  resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
3478
3485
  }, z.core.$strict>;
3479
3486
  type JsonPrimitive = string | number | boolean | null;
@@ -5886,22 +5893,24 @@ interface Deployment {
5886
5893
 
5887
5894
  declare const ClientStatusSchema: z.ZodEnum<{
5888
5895
  active: "active";
5889
- completed: "completed";
5890
- paused: "paused";
5891
5896
  onboarding: "onboarding";
5897
+ paused: "paused";
5898
+ completed: "completed";
5892
5899
  churned: "churned";
5893
5900
  }>;
5901
+ declare const ClientSourceSchema: z.ZodString;
5894
5902
  declare const ClientResponseSchema: z.ZodObject<{
5895
5903
  id: z.ZodString;
5896
5904
  organizationId: z.ZodString;
5897
5905
  name: z.ZodString;
5898
5906
  status: z.ZodEnum<{
5899
5907
  active: "active";
5900
- completed: "completed";
5901
- paused: "paused";
5902
5908
  onboarding: "onboarding";
5909
+ paused: "paused";
5910
+ completed: "completed";
5903
5911
  churned: "churned";
5904
5912
  }>;
5913
+ source: z.ZodString;
5905
5914
  sourceDealId: z.ZodNullable<z.ZodString>;
5906
5915
  primaryCompanyId: z.ZodNullable<z.ZodString>;
5907
5916
  primaryContactId: z.ZodNullable<z.ZodString>;
@@ -5916,11 +5925,12 @@ declare const ClientDetailResponseSchema: z.ZodObject<{
5916
5925
  name: z.ZodString;
5917
5926
  status: z.ZodEnum<{
5918
5927
  active: "active";
5919
- completed: "completed";
5920
- paused: "paused";
5921
5928
  onboarding: "onboarding";
5929
+ paused: "paused";
5930
+ completed: "completed";
5922
5931
  churned: "churned";
5923
5932
  }>;
5933
+ source: z.ZodString;
5924
5934
  sourceDealId: z.ZodNullable<z.ZodString>;
5925
5935
  primaryCompanyId: z.ZodNullable<z.ZodString>;
5926
5936
  primaryContactId: z.ZodNullable<z.ZodString>;
@@ -5964,9 +5974,9 @@ declare const ClientStatusResponseSchema: z.ZodObject<{
5964
5974
  totalClients: z.ZodNumber;
5965
5975
  byStatus: z.ZodRecord<z.ZodEnum<{
5966
5976
  active: "active";
5967
- completed: "completed";
5968
- paused: "paused";
5969
5977
  onboarding: "onboarding";
5978
+ paused: "paused";
5979
+ completed: "completed";
5970
5980
  churned: "churned";
5971
5981
  }>, z.ZodNumber>;
5972
5982
  linkedDeals: z.ZodNumber;
@@ -5978,11 +5988,12 @@ declare const CreateClientRequestSchema: z.ZodObject<{
5978
5988
  name: z.ZodString;
5979
5989
  status: z.ZodOptional<z.ZodEnum<{
5980
5990
  active: "active";
5981
- completed: "completed";
5982
- paused: "paused";
5983
5991
  onboarding: "onboarding";
5992
+ paused: "paused";
5993
+ completed: "completed";
5984
5994
  churned: "churned";
5985
5995
  }>>;
5996
+ source: z.ZodOptional<z.ZodString>;
5986
5997
  sourceDealId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5987
5998
  primaryCompanyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5988
5999
  primaryContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5992,17 +6003,19 @@ declare const UpdateClientRequestSchema: z.ZodObject<{
5992
6003
  name: z.ZodOptional<z.ZodString>;
5993
6004
  status: z.ZodOptional<z.ZodEnum<{
5994
6005
  active: "active";
5995
- completed: "completed";
5996
- paused: "paused";
5997
6006
  onboarding: "onboarding";
6007
+ paused: "paused";
6008
+ completed: "completed";
5998
6009
  churned: "churned";
5999
6010
  }>>;
6011
+ source: z.ZodOptional<z.ZodString>;
6000
6012
  sourceDealId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6001
6013
  primaryCompanyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6002
6014
  primaryContactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6003
6015
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6004
6016
  }, z.core.$strict>;
6005
6017
  type ClientStatus = z.infer<typeof ClientStatusSchema>;
6018
+ type ClientSource = z.infer<typeof ClientSourceSchema>;
6006
6019
  type ClientResponse = z.infer<typeof ClientResponseSchema>;
6007
6020
  type ClientDetailResponse = z.infer<typeof ClientDetailResponseSchema>;
6008
6021
  type ClientStatusResponse = z.infer<typeof ClientStatusResponseSchema>;
@@ -7490,6 +7503,7 @@ declare function useSubmitRequest(): _tanstack_react_query.UseMutationResult<unk
7490
7503
 
7491
7504
  interface ClientsListFilters {
7492
7505
  status?: ClientStatus;
7506
+ source?: ClientSource;
7493
7507
  search?: string;
7494
7508
  limit?: number;
7495
7509
  offset?: number;
@@ -7509,7 +7523,8 @@ declare function useClients(filters?: ClientsListFilters): _tanstack_react_query
7509
7523
  id: string;
7510
7524
  organizationId: string;
7511
7525
  name: string;
7512
- status: "active" | "completed" | "paused" | "onboarding" | "churned";
7526
+ status: "active" | "onboarding" | "paused" | "completed" | "churned";
7527
+ source: string;
7513
7528
  sourceDealId: string | null;
7514
7529
  primaryCompanyId: string | null;
7515
7530
  primaryContactId: string | null;
@@ -7525,7 +7540,7 @@ declare function useClients(filters?: ClientsListFilters): _tanstack_react_query
7525
7540
 
7526
7541
  declare function useClientStatus(): _tanstack_react_query.UseQueryResult<{
7527
7542
  totalClients: number;
7528
- byStatus: Record<"active" | "completed" | "paused" | "onboarding" | "churned", number>;
7543
+ byStatus: Record<"active" | "onboarding" | "paused" | "completed" | "churned", number>;
7529
7544
  linkedDeals: number;
7530
7545
  linkedProjects: number;
7531
7546
  linkedCompanies: number;
@@ -7536,7 +7551,8 @@ declare function useClient(clientId: string | undefined): _tanstack_react_query.
7536
7551
  id: string;
7537
7552
  organizationId: string;
7538
7553
  name: string;
7539
- status: "active" | "completed" | "paused" | "onboarding" | "churned";
7554
+ status: "active" | "onboarding" | "paused" | "completed" | "churned";
7555
+ source: string;
7540
7556
  sourceDealId: string | null;
7541
7557
  primaryCompanyId: string | null;
7542
7558
  primaryContactId: string | null;
@@ -7581,7 +7597,8 @@ declare function useCreateClient(): _tanstack_react_query.UseMutationResult<{
7581
7597
  id: string;
7582
7598
  organizationId: string;
7583
7599
  name: string;
7584
- status: "active" | "completed" | "paused" | "onboarding" | "churned";
7600
+ status: "active" | "onboarding" | "paused" | "completed" | "churned";
7601
+ source: string;
7585
7602
  sourceDealId: string | null;
7586
7603
  primaryCompanyId: string | null;
7587
7604
  primaryContactId: string | null;
@@ -7591,7 +7608,8 @@ declare function useCreateClient(): _tanstack_react_query.UseMutationResult<{
7591
7608
  updatedAt: string;
7592
7609
  }, Error, {
7593
7610
  name: string;
7594
- status?: "active" | "completed" | "paused" | "onboarding" | "churned" | undefined;
7611
+ status?: "active" | "onboarding" | "paused" | "completed" | "churned" | undefined;
7612
+ source?: string | undefined;
7595
7613
  sourceDealId?: string | null | undefined;
7596
7614
  primaryCompanyId?: string | null | undefined;
7597
7615
  primaryContactId?: string | null | undefined;
@@ -7606,7 +7624,8 @@ declare function useUpdateClient(): _tanstack_react_query.UseMutationResult<{
7606
7624
  id: string;
7607
7625
  organizationId: string;
7608
7626
  name: string;
7609
- status: "active" | "completed" | "paused" | "onboarding" | "churned";
7627
+ status: "active" | "onboarding" | "paused" | "completed" | "churned";
7628
+ source: string;
7610
7629
  sourceDealId: string | null;
7611
7630
  primaryCompanyId: string | null;
7612
7631
  primaryContactId: string | null;
@@ -1,4 +1,4 @@
1
- export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask2 as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution } from '../chunk-QDXTIQT4.js';
1
+ export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask2 as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution } 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
  export { useMergedExecution } from '../chunk-7FPLLSHN.js';
19
19
  import '../chunk-RNP5R5I3.js';
20
20
  import '../chunk-W2SFTXMT.js';
21
- export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-5M4HSHQ5.js';
21
+ export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-XDEUR36B.js';
22
22
  import '../chunk-KRWALB24.js';
23
23
  import '../chunk-2FTX4WO2.js';
24
24
  import '../chunk-MQZE7SUI.js';
@@ -328,7 +328,11 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
328
328
  archived: "archived";
329
329
  disabled: "disabled";
330
330
  }>>;
331
- readinessProfile: z.ZodOptional<z.ZodString>;
331
+ readinessProfile: z.ZodOptional<z.ZodEnum<{
332
+ "sales.lead-gen.api": "sales.lead-gen.api";
333
+ "sales.crm.api": "sales.crm.api";
334
+ "sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
335
+ }>>;
332
336
  resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
333
337
  }, z.core.$strict>;
334
338
  type JsonPrimitive = string | number | boolean | null;