@elevasis/ui 1.25.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,27 @@
1
1
  import { useBreadcrumbs } from '../chunk-MG3NF7QL.js';
2
2
  import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer } from '../chunk-L3GVDMCA.js';
3
- import { NotificationList } from '../chunk-7RS6VTAV.js';
4
- export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList } from '../chunk-7RS6VTAV.js';
5
- export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal } from '../chunk-3EVTCVKR.js';
3
+ import { NotificationList } from '../chunk-4INR75ZS.js';
4
+ export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList } from '../chunk-4INR75ZS.js';
5
+ export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal } from '../chunk-LR4WVA7W.js';
6
6
  import { FilterBar } from '../chunk-PDHTXPSF.js';
7
7
  export { FilterBar } from '../chunk-PDHTXPSF.js';
8
8
  export { ResourceHealthChart, getHealthColor } from '../chunk-LGKLC5MG.js';
9
- export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, FormFieldRenderer, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, useNewKnowledgeMapLayout } from '../chunk-HYYI4ZFT.js';
9
+ export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CommandViewEdge, CommandViewGraph, CommandViewNode, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, FormFieldRenderer, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, useNewKnowledgeMapLayout } from '../chunk-TCKIAHDC.js';
10
10
  import { SubshellLoader, PageContainer, SubshellSidebarSection, SidebarListItem, CollapsibleSidebarGroup } from '../chunk-AWT255UH.js';
11
- export { ResourceHealthPanel } from '../chunk-RIL2CDFE.js';
11
+ export { ResourceHealthPanel } from '../chunk-4WKWLFBZ.js';
12
12
  import { CustomModal } from '../chunk-GBMNCNHX.js';
13
13
  export { ConfirmationInputModal, ConfirmationModal, CustomModal } from '../chunk-GBMNCNHX.js';
14
- export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-QNABH7YG.js';
15
- import '../chunk-US4JUSI3.js';
16
- import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, CenteredErrorState, CardHeader, ActivityTimeline, StatusBadge } from '../chunk-G25YWGUL.js';
17
- export { APIErrorAlert, ActivityTimeline, CardHeader, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-G25YWGUL.js';
14
+ export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-O4UB5DQQ.js';
15
+ import '../chunk-JHVKGZ2P.js';
16
+ import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, CenteredErrorState, CardHeader, ActivityTimeline, StatusBadge } from '../chunk-MCA6LOGM.js';
17
+ export { APIErrorAlert, ActivityTimeline, CardHeader, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-MCA6LOGM.js';
18
18
  export { StyledMarkdown } from '../chunk-3KMDHCAR.js';
19
19
  export { NavigationButton } from '../chunk-NNKKBSJN.js';
20
20
  import { AppShellLoader } from '../chunk-WWEMNIHW.js';
21
21
  import '../chunk-QJ2S46NI.js';
22
- import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useDealNotes, useCreateDealNote, useDeals, useSyncDealStage, dealKeys, useDealTasksDue, useCreateDealTask, useTasks, useProjects, useMilestones } from '../chunk-R565P6XC.js';
23
- import { usePaginationState, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useMarkAllAsRead, useNotifications, showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-QDO6NF2I.js';
24
- export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-QDO6NF2I.js';
25
- import { useSupabase } from '../chunk-NJJ3NQ7B.js';
22
+ import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useTasks, useProjects, useMilestones } from '../chunk-YNGQ7U5H.js';
23
+ import { usePaginationState, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useDealNotes, useCreateDealNote, useDeals, useSyncDealStage, dealKeys, useDealTasksDue, useCreateDealTask, useMarkAllAsRead, useNotifications, showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-ZVJKIJFG.js';
24
+ export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-ZVJKIJFG.js';
26
25
  import '../chunk-LXHZYSMQ.js';
27
26
  import '../chunk-MHW43EOH.js';
28
27
  export { Graph_module_css_default as graphStyles } from '../chunk-F6RBK7NJ.js';
@@ -43,7 +42,7 @@ import { formatDateTime, PAGE_SIZE_DEFAULT, formatTimeAgo } from '../chunk-IOKL7
43
42
  import '../chunk-RWQIFKMJ.js';
44
43
  import '../chunk-ALA56RGZ.js';
45
44
  import { useInitialization } from '../chunk-TUXTSEAF.js';
46
- import { useOrganization } from '../chunk-DD3CCMCZ.js';
45
+ import '../chunk-DD3CCMCZ.js';
47
46
  import { useElevasisServices } from '../chunk-QEPXAWE2.js';
48
47
  import '../chunk-BRJ3QZ4E.js';
49
48
  import { useRouterContext } from '../chunk-Q7DJKLEN.js';
@@ -3327,7 +3326,7 @@ function KanbanBoard({ config = DEFAULT_KANBAN_CONFIG, renderDrawerActions }) {
3327
3326
  return /* @__PURE__ */ jsx(SubshellContentContainer, { children: /* @__PURE__ */ jsx(Alert, { color: "red", children: "Failed to load deals" }) });
3328
3327
  }
3329
3328
  return /* @__PURE__ */ jsxs(SubshellContentContainer, { children: [
3330
- /* @__PURE__ */ jsxs(Stack, { gap: "md", style: { height: "100%" }, children: [
3329
+ /* @__PURE__ */ jsxs(Stack, { style: { height: "100%" }, children: [
3331
3330
  /* @__PURE__ */ jsx(PageTitleCaption, { title: "Pipeline", caption: "Kanban view of your deal pipeline" }),
3332
3331
  /* @__PURE__ */ jsx(ScrollArea, { style: { flex: 1 }, scrollbarSize: 8, type: "auto", children: /* @__PURE__ */ jsx(Group, { align: "flex-start", wrap: "nowrap", gap: "sm", style: { paddingBottom: 16, minWidth: "max-content" }, children: columns.map((columnKey) => {
3333
3332
  const columnDeals = groupedDeals.get(columnKey) ?? [];
@@ -3339,8 +3338,8 @@ function KanbanBoard({ config = DEFAULT_KANBAN_CONFIG, renderDrawerActions }) {
3339
3338
  {
3340
3339
  withBorder: true,
3341
3340
  style: {
3342
- width: 300,
3343
- minWidth: 300,
3341
+ width: 320,
3342
+ minWidth: 320,
3344
3343
  backgroundColor: isDragTarget ? "color-mix(in srgb, var(--color-primary) 8%, var(--glass-background))" : "var(--glass-background)",
3345
3344
  border: isDragTarget ? "1px solid var(--color-primary)" : "1px solid var(--color-border)",
3346
3345
  transition: "background-color var(--duration-fast) var(--easing), border-color var(--duration-fast) var(--easing)"
@@ -3348,7 +3347,7 @@ function KanbanBoard({ config = DEFAULT_KANBAN_CONFIG, renderDrawerActions }) {
3348
3347
  onDragOver: (e) => handleDragOver(e, columnKey),
3349
3348
  onDragLeave: handleDragLeave,
3350
3349
  onDrop: (e) => handleDrop(e, columnKey),
3351
- children: /* @__PURE__ */ jsxs(Stack, { gap: "sm", p: "sm", children: [
3350
+ children: /* @__PURE__ */ jsxs(Stack, { gap: "sm", p: "xs", children: [
3352
3351
  /* @__PURE__ */ jsxs(Group, { justify: "space-between", wrap: "nowrap", children: [
3353
3352
  /* @__PURE__ */ jsx(Text, { size: "sm", fw: 600, tt: "uppercase", lineClamp: 1, children: formatStageLabel2(columnKey) }),
3354
3353
  /* @__PURE__ */ jsx(Badge, { variant: "light", color: badgeColor, size: "sm", style: { flexShrink: 0 }, children: columnDeals.length })
@@ -3477,88 +3476,18 @@ function useCrmQuickMetrics() {
3477
3476
  }, [deals]);
3478
3477
  return { data, isLoading, error };
3479
3478
  }
3480
- var RECENT_NOTES_LIMIT = 50;
3481
3479
  function useRecentCrmActivity(opts) {
3482
- const limit = opts?.limit ?? 25;
3483
- const supabase = useSupabase();
3484
- const { currentSupabaseOrganizationId: organizationId, isInitializing, isOrgRefreshing } = useOrganization();
3485
- const isReady = !!organizationId && !isInitializing && !isOrgRefreshing;
3486
- const { data: deals, isLoading: dealsLoading, error: dealsError } = useDeals();
3487
- const {
3488
- data: rawNotes,
3489
- isLoading: notesLoading,
3490
- error: notesError
3491
- } = useQuery({
3492
- queryKey: ["crm-recent-notes", organizationId],
3493
- queryFn: async () => {
3494
- if (!organizationId) return [];
3495
- const { data: data2, error } = await supabase.from("acq_deal_notes").select("id, deal_id, organization_id, body, created_at").eq("organization_id", organizationId).order("created_at", { ascending: false }).limit(RECENT_NOTES_LIMIT);
3496
- if (error) throw error;
3497
- return data2 ?? [];
3498
- },
3480
+ const { apiRequest, isReady, organizationId } = useElevasisServices();
3481
+ const limit = opts?.limit ?? 20;
3482
+ const query = useQuery({
3483
+ queryKey: ["recent-crm-activity", organizationId, limit],
3484
+ queryFn: () => apiRequest(`/crm/recent-activity?limit=${limit}`),
3499
3485
  enabled: isReady
3500
3486
  });
3501
- const data = useMemo(() => {
3502
- const dealList = deals ?? [];
3503
- const noteList = rawNotes ?? [];
3504
- const dealById = /* @__PURE__ */ new Map();
3505
- for (const deal of dealList) {
3506
- dealById.set(deal.id, deal);
3507
- }
3508
- const entries = [];
3509
- for (const note of noteList) {
3510
- const deal = dealById.get(note.deal_id);
3511
- const contact = deal?.contact ?? null;
3512
- const contactName = contact ? [contact.first_name, contact.last_name].filter(Boolean).join(" ") || null : null;
3513
- const companyName = contact?.company?.name ?? null;
3514
- entries.push({
3515
- id: `note-${note.id}`,
3516
- kind: "note",
3517
- dealId: note.deal_id,
3518
- occurredAt: note.created_at,
3519
- description: note.body.slice(0, 120),
3520
- contactName,
3521
- companyName,
3522
- stage: deal?.cached_stage ?? null
3523
- });
3524
- }
3525
- for (const deal of dealList) {
3526
- const rawLog = deal.activity_log;
3527
- if (!Array.isArray(rawLog) || rawLog.length === 0) continue;
3528
- const contact = deal.contact ?? null;
3529
- const contactName = contact ? [contact.first_name, contact.last_name].filter(Boolean).join(" ") || null : null;
3530
- const companyName = contact?.company?.name ?? null;
3531
- const activityLog = rawLog;
3532
- for (let i = 0; i < activityLog.length; i++) {
3533
- const entry = activityLog[i];
3534
- const kind = i === 0 ? "deal_created" : "stage_change";
3535
- let description;
3536
- if (entry.description) {
3537
- description = entry.description;
3538
- } else if (kind === "deal_created") {
3539
- description = "Deal created";
3540
- } else {
3541
- description = entry.title ?? "Stage updated";
3542
- }
3543
- entries.push({
3544
- id: `${kind}-${deal.id}-${i}`,
3545
- kind,
3546
- dealId: deal.id,
3547
- occurredAt: entry.occurredAt,
3548
- description,
3549
- contactName,
3550
- companyName,
3551
- stage: deal.cached_stage ?? null
3552
- });
3553
- }
3554
- }
3555
- entries.sort((a, b) => a.occurredAt < b.occurredAt ? 1 : a.occurredAt > b.occurredAt ? -1 : 0);
3556
- return entries.slice(0, limit);
3557
- }, [deals, rawNotes, limit]);
3558
3487
  return {
3559
- data,
3560
- isLoading: dealsLoading || notesLoading,
3561
- error: dealsError ?? notesError ?? null
3488
+ data: query.data?.entries ?? [],
3489
+ isLoading: query.isLoading,
3490
+ error: query.error
3562
3491
  };
3563
3492
  }
3564
3493
  var currencyFormatter = new Intl.NumberFormat("en-US", {
@@ -3932,24 +3861,21 @@ function MyTasksPanel({ onTaskClick, onSeeAll }) {
3932
3861
  const tasks = data ?? [];
3933
3862
  const total = tasks.length;
3934
3863
  const visible = tasks.slice(0, 5);
3935
- return /* @__PURE__ */ jsxs(Box, { children: [
3936
- /* @__PURE__ */ jsx(Divider, { mb: "xs" }),
3937
- /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
3938
- /* @__PURE__ */ jsxs(Group, { justify: "space-between", mb: 4, children: [
3939
- /* @__PURE__ */ jsx(Text, { fz: "xs", tt: "uppercase", c: "dimmed", fw: 600, children: "My Tasks" }),
3940
- total > 0 && /* @__PURE__ */ jsx(Badge, { size: "xs", variant: "light", children: total })
3941
- ] }),
3942
- isLoading && /* @__PURE__ */ jsx(Center, { py: 4, children: /* @__PURE__ */ jsx(Loader, { size: "xs" }) }),
3943
- isError && /* @__PURE__ */ jsx(Text, { size: "xs", c: "red", children: "Failed to load tasks" }),
3944
- !isLoading && !isError && visible.length === 0 && /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: "No tasks due \u2014 you're caught up." }),
3945
- !isLoading && !isError && visible.map((task) => /* @__PURE__ */ jsx(TaskRow, { task, onClick: () => onTaskClick(task.dealId) }, task.id)),
3946
- onSeeAll && total > 5 && /* @__PURE__ */ jsx(UnstyledButton, { onClick: onSeeAll, mt: 2, style: { display: "inline-block" }, children: /* @__PURE__ */ jsxs(Text, { size: "xs", c: "dimmed", style: { textDecoration: "underline" }, children: [
3947
- "See all (",
3948
- total,
3949
- ")"
3950
- ] }) })
3951
- ] })
3952
- ] });
3864
+ return /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
3865
+ /* @__PURE__ */ jsxs(Group, { justify: "space-between", mb: 4, children: [
3866
+ /* @__PURE__ */ jsx(Text, { fz: "xs", tt: "uppercase", c: "dimmed", fw: 600, children: "My Tasks" }),
3867
+ total > 0 && /* @__PURE__ */ jsx(Badge, { size: "xs", variant: "light", children: total })
3868
+ ] }),
3869
+ isLoading && /* @__PURE__ */ jsx(Center, { py: 4, children: /* @__PURE__ */ jsx(Loader, { size: "xs" }) }),
3870
+ isError && /* @__PURE__ */ jsx(Text, { size: "xs", c: "red", children: "Failed to load tasks" }),
3871
+ !isLoading && !isError && visible.length === 0 && /* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", children: "No tasks due \u2014 you're caught up." }),
3872
+ !isLoading && !isError && visible.map((task) => /* @__PURE__ */ jsx(TaskRow, { task, onClick: () => onTaskClick(task.dealId) }, task.id)),
3873
+ onSeeAll && total > 5 && /* @__PURE__ */ jsx(UnstyledButton, { onClick: onSeeAll, mt: 2, style: { display: "inline-block" }, children: /* @__PURE__ */ jsxs(Text, { size: "xs", c: "dimmed", style: { textDecoration: "underline" }, children: [
3874
+ "See all (",
3875
+ total,
3876
+ ")"
3877
+ ] }) })
3878
+ ] }) });
3953
3879
  }
3954
3880
  var ICON_MAP = {
3955
3881
  IconUser,
@@ -1,14 +1,13 @@
1
1
  import { ResourceHealthChart } from '../../chunk-LGKLC5MG.js';
2
- import { ExecutionStats } from '../../chunk-QNABH7YG.js';
3
- import { HeroStatsRow, useCyberColors } from '../../chunk-US4JUSI3.js';
4
- import { CardHeader, EmptyState, PageTitleCaption, TabCountBadge, GlowDot } from '../../chunk-G25YWGUL.js';
2
+ import { ExecutionStats } from '../../chunk-O4UB5DQQ.js';
3
+ import { HeroStatsRow, useCyberColors } from '../../chunk-JHVKGZ2P.js';
4
+ import { CardHeader, EmptyState, PageTitleCaption, TabCountBadge, GlowDot } from '../../chunk-MCA6LOGM.js';
5
5
  import '../../chunk-3KMDHCAR.js';
6
6
  import '../../chunk-NNKKBSJN.js';
7
7
  import { AppShellCenteredContainer, AppShellLoader } from '../../chunk-WWEMNIHW.js';
8
8
  import '../../chunk-QJ2S46NI.js';
9
- import { useTimeRangeDates } from '../../chunk-R565P6XC.js';
10
- import { useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from '../../chunk-QDO6NF2I.js';
11
- import '../../chunk-NJJ3NQ7B.js';
9
+ import { useTimeRangeDates } from '../../chunk-YNGQ7U5H.js';
10
+ import { useDashboardMetrics, useResources, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from '../../chunk-ZVJKIJFG.js';
12
11
  import { getTimeRangeDates } from '../../chunk-LXHZYSMQ.js';
13
12
  import '../../chunk-MHW43EOH.js';
14
13
  import '../../chunk-F6RBK7NJ.js';
@@ -1,17 +1,16 @@
1
- import { ExecutionLogsFilters, ExecutionLogsTable, ExecutionHealthCard, ErrorBreakdownTable, ErrorAnalysisCard, CostBreakdownCard, CostByModelTable, ActivityFilters, ActivityTable, ActivityCard, NotificationList } from '../../chunk-7RS6VTAV.js';
1
+ import { ExecutionLogsFilters, ExecutionLogsTable, ExecutionHealthCard, ErrorBreakdownTable, ErrorAnalysisCard, CostBreakdownCard, CostByModelTable, ActivityFilters, ActivityTable, ActivityCard, NotificationList } from '../../chunk-4INR75ZS.js';
2
2
  import '../../chunk-PDHTXPSF.js';
3
3
  import '../../chunk-LGKLC5MG.js';
4
- import '../../chunk-RIL2CDFE.js';
4
+ import '../../chunk-4WKWLFBZ.js';
5
5
  import { CustomModal } from '../../chunk-GBMNCNHX.js';
6
- import { CostTrendChart, ActivityTrendChart } from '../../chunk-US4JUSI3.js';
7
- import { PageTitleCaption, JsonViewer, EmptyState } from '../../chunk-G25YWGUL.js';
6
+ import { CostTrendChart, ActivityTrendChart } from '../../chunk-JHVKGZ2P.js';
7
+ import { PageTitleCaption, JsonViewer, EmptyState } from '../../chunk-MCA6LOGM.js';
8
8
  import '../../chunk-3KMDHCAR.js';
9
9
  import '../../chunk-NNKKBSJN.js';
10
10
  import { AppShellLoader } from '../../chunk-WWEMNIHW.js';
11
11
  import '../../chunk-QJ2S46NI.js';
12
- import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from '../../chunk-R565P6XC.js';
13
- import { usePaginationState, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from '../../chunk-QDO6NF2I.js';
14
- import '../../chunk-NJJ3NQ7B.js';
12
+ import { useExecutionLogsFilters, useTimeRangeDates, useActivityFilters } from '../../chunk-YNGQ7U5H.js';
13
+ import { usePaginationState, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from '../../chunk-ZVJKIJFG.js';
15
14
  import { getTimeRangeDates } from '../../chunk-LXHZYSMQ.js';
16
15
  import '../../chunk-MHW43EOH.js';
17
16
  import '../../chunk-F6RBK7NJ.js';
@@ -1,18 +1,17 @@
1
1
  import { ChatHeader, ChatSidebar } from '../../chunk-ROSMICXG.js';
2
- import { FormFieldRenderer, ResourceDefinitionSection, CommandQueueTaskRow, getIcon, ActionModal, CommandViewGraph, WorkflowExecutionLogs, AgentExecutionLogs, ResourceFilter, getExecutionStatusConfig, SessionMemory } from '../../chunk-HYYI4ZFT.js';
2
+ import { FormFieldRenderer, ResourceDefinitionSection, CommandQueueTaskRow, getIcon, ActionModal, CommandViewGraph, WorkflowExecutionLogs, AgentExecutionLogs, ResourceFilter, getExecutionStatusConfig, SessionMemory } from '../../chunk-TCKIAHDC.js';
3
3
  import { SubshellLoader, SubshellSidebarSection, PageContainer, CollapsibleSidebarGroup, SidebarListItem } from '../../chunk-AWT255UH.js';
4
- import { ResourceHealthPanel } from '../../chunk-RIL2CDFE.js';
4
+ import { ResourceHealthPanel } from '../../chunk-4WKWLFBZ.js';
5
5
  import { ConfirmationModal, CustomModal } from '../../chunk-GBMNCNHX.js';
6
- import { ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline } from '../../chunk-QNABH7YG.js';
7
- import { useCyberColors, CyberDonut } from '../../chunk-US4JUSI3.js';
8
- import { PageTitleCaption, TabCountBadge, ResourceCard, ContextViewer, JsonViewer, APIErrorAlert, EmptyState, CardHeader } from '../../chunk-G25YWGUL.js';
6
+ import { ExecutionStats, UnifiedWorkflowGraph, WorkflowExecutionTimeline, AgentExecutionVisualizer, AgentExecutionTimeline } from '../../chunk-O4UB5DQQ.js';
7
+ import { useCyberColors, CyberDonut } from '../../chunk-JHVKGZ2P.js';
8
+ import { PageTitleCaption, TabCountBadge, ResourceCard, ContextViewer, JsonViewer, APIErrorAlert, EmptyState, CardHeader } from '../../chunk-MCA6LOGM.js';
9
9
  import '../../chunk-3KMDHCAR.js';
10
10
  import '../../chunk-NNKKBSJN.js';
11
11
  import { AppShellLoader } from '../../chunk-WWEMNIHW.js';
12
12
  import { topbarHeight } from '../../chunk-QJ2S46NI.js';
13
- import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters, useCommandViewDomainFilters } from '../../chunk-R565P6XC.js';
14
- import { usePaginationState, useResources, useRecentExecutionsByResource, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueueTotals, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStore, useCommandViewStats, useCalibrationProjects, useCalibrationProject, useAllCalibrationProjects, useResourceExecutions, useCheckpointTasks, useCalibrationSSE, useCalibrationRunFull, useExecuteRun, useGradeRun, useCalibrationRuns, useExecutionPanelState, useExecution, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, calibrationKeys, useDeleteProject, useCreateProject } from '../../chunk-QDO6NF2I.js';
15
- import '../../chunk-NJJ3NQ7B.js';
13
+ import { useStatusFilter, useResourceSearch, useResourcesDomainFilters, filterByDomainFilters, useCommandViewDomainFilters } from '../../chunk-YNGQ7U5H.js';
14
+ import { usePaginationState, useResources, useRecentExecutionsByResource, useExecuteAsync, useResourceDefinition, isSessionCapable, useDeleteTask, useCommandQueueTotals, useCommandQueue, useSubmitAction, useCommandViewData, useCommandViewStore, useCommandViewStats, useCalibrationProjects, useCalibrationProject, useAllCalibrationProjects, useResourceExecutions, useCheckpointTasks, useCalibrationSSE, useCalibrationRunFull, useExecuteRun, useGradeRun, useCalibrationRuns, useExecutionPanelState, useExecution, useDeleteSession, useCreateSession, useSessions, useSessionExecutions, useSession, calibrationKeys, useDeleteProject, useCreateProject } from '../../chunk-ZVJKIJFG.js';
16
15
  import '../../chunk-LXHZYSMQ.js';
17
16
  import '../../chunk-MHW43EOH.js';
18
17
  import '../../chunk-F6RBK7NJ.js';
@@ -1,15 +1,14 @@
1
1
  import { useAvailablePresets } from '../../chunk-BS4J2LAW.js';
2
- import { OrganizationMembershipsList, WebhookUrlDisplayModal, MembershipFeaturePanel, MembershipStatusBadge, getCredentialSchema, OAuthConnectModal, buildCredentialValue } from '../../chunk-3EVTCVKR.js';
2
+ import { OrganizationMembershipsList, WebhookUrlDisplayModal, MembershipFeaturePanel, MembershipStatusBadge, getCredentialSchema, OAuthConnectModal, buildCredentialValue } from '../../chunk-LR4WVA7W.js';
3
3
  import '../../chunk-PDHTXPSF.js';
4
4
  import { CustomModal } from '../../chunk-GBMNCNHX.js';
5
- import { PageTitleCaption, EmptyState, CardHeader, ListSkeleton, StatCard } from '../../chunk-G25YWGUL.js';
5
+ import { PageTitleCaption, EmptyState, CardHeader, ListSkeleton, StatCard } from '../../chunk-MCA6LOGM.js';
6
6
  import '../../chunk-3KMDHCAR.js';
7
7
  import '../../chunk-NNKKBSJN.js';
8
8
  import { AppShellLoader } from '../../chunk-WWEMNIHW.js';
9
9
  import '../../chunk-QJ2S46NI.js';
10
- import { useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from '../../chunk-R565P6XC.js';
11
- import { useResources, showErrorNotification } from '../../chunk-QDO6NF2I.js';
12
- import '../../chunk-NJJ3NQ7B.js';
10
+ import { useUserMemberships, useUpdateWebhookEndpoint, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas } from '../../chunk-YNGQ7U5H.js';
11
+ import { useResources, showErrorNotification } from '../../chunk-ZVJKIJFG.js';
13
12
  import '../../chunk-LXHZYSMQ.js';
14
13
  import '../../chunk-MHW43EOH.js';
15
14
  import '../../chunk-F6RBK7NJ.js';
@@ -8577,12 +8577,14 @@ declare function useSuccessNotification(): (title: string, message: string) => v
8577
8577
  declare function useWarningNotification(): (title: string, message: string) => void;
8578
8578
 
8579
8579
  /**
8580
- * Generic batch delete hook. Deletes multiple rows from a Supabase table by ID.
8580
+ * Batch mark-as-read hook for notifications.
8581
+ *
8582
+ * Sends a DELETE request to `/notifications/batch` with the given IDs,
8583
+ * which the API treats as a bulk mark-as-read operation.
8581
8584
  *
8582
- * @param tableName - Supabase table name (e.g. 'acq_social_posts')
8583
8585
  * @param invalidateQueryKeys - Array of query key prefixes to invalidate on success
8584
8586
  */
8585
- declare function useBatchDelete(tableName: string, invalidateQueryKeys: readonly (readonly unknown[])[]): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
8587
+ declare function useBatchDelete(invalidateQueryKeys: readonly (readonly unknown[])[]): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
8586
8588
 
8587
8589
  /**
8588
8590
  * Mutation hook to send a test notification.
@@ -10430,11 +10432,11 @@ declare function useCalibrationSSE({ runId, manager, apiUrl, enabled }: UseCalib
10430
10432
  * Query keys for acquisition deals
10431
10433
  */
10432
10434
  declare const dealKeys: {
10433
- all: readonly ["acq-deals"];
10434
- lists: () => readonly ["acq-deals", "list"];
10435
- list: (orgId: string | null, filters: DealFilters) => readonly ["acq-deals", "list", string | null, DealFilters];
10436
- details: () => readonly ["acq-deals", "detail"];
10437
- detail: (id: string) => readonly ["acq-deals", "detail", string];
10435
+ all: readonly ["deals"];
10436
+ lists: () => readonly ["deals", "list"];
10437
+ list: (orgId: string | null, filters: DealFilters) => readonly ["deals", "list", string | null, DealFilters];
10438
+ details: () => readonly ["deals", "detail"];
10439
+ detail: (id: string) => readonly ["deals", "detail", string];
10438
10440
  };
10439
10441
  /**
10440
10442
  * Fetch deals with optional filters
@@ -10452,13 +10454,10 @@ interface SyncDealStageParams {
10452
10454
  stage: DealStage;
10453
10455
  }
10454
10456
  /**
10455
- * Sync a deal's cached_stage to the database.
10457
+ * Sync a deal's cached_stage via the API.
10456
10458
  *
10457
- * Mirrors what acqDb.syncDealStage does on the backend (lead-service.ts:1150).
10458
- * The UI writes directly via Supabase (RLS enforces org scope) which is the
10459
- * established pattern for acquisition hooks. The full backend syncDealStage
10460
- * additionally logs a stage_change activity entry — the Kanban optimistic
10461
- * update is sufficient for the UI; the activity log will lag slightly.
10459
+ * The backend syncDealStage method additionally logs a stage_change activity entry.
10460
+ * On success invalidates the deals list and the specific deal detail query.
10462
10461
  */
10463
10462
  declare function useSyncDealStage(): _tanstack_react_query.UseMutationResult<void, Error, SyncDealStageParams, unknown>;
10464
10463
 
@@ -10466,8 +10465,8 @@ declare function useSyncDealStage(): _tanstack_react_query.UseMutationResult<voi
10466
10465
  * Query keys for deal notes
10467
10466
  */
10468
10467
  declare const dealNoteKeys: {
10469
- all: readonly ["dealNotes"];
10470
- list: (organizationId: string | null, dealId: string) => readonly ["dealNotes", string | null, string];
10468
+ all: readonly ["deal-notes"];
10469
+ list: (organizationId: string | null, dealId: string) => readonly ["deal-notes", string | null, string];
10471
10470
  };
10472
10471
  /**
10473
10472
  * Fetch notes for a specific deal, newest-first.
@@ -10476,13 +10475,11 @@ declare function useDealNotes(dealId: string): _tanstack_react_query.UseQueryRes
10476
10475
  interface CreateDealNoteParams {
10477
10476
  dealId: string;
10478
10477
  body: string;
10479
- authorUserId?: string;
10480
10478
  }
10481
10479
  /**
10482
10480
  * Create a new deal note. On success invalidates the notes list for that deal.
10483
10481
  *
10484
- * The frontend writes directly via Supabase, which is covered by RLS
10485
- * (org member write policy).
10482
+ * Server derives organizationId and authorUserId from JWT no need to send them.
10486
10483
  */
10487
10484
  declare function useCreateDealNote(): _tanstack_react_query.UseMutationResult<AcqDealNote, Error, CreateDealNoteParams, unknown>;
10488
10485
 
@@ -10520,25 +10517,22 @@ interface CreateDealTaskParams {
10520
10517
  kind?: AcqDealTaskKind;
10521
10518
  dueAt?: string | null;
10522
10519
  assigneeUserId?: string | null;
10523
- createdByUserId?: string | null;
10524
10520
  }
10525
10521
  /**
10526
10522
  * Create a new task attached to a deal.
10527
10523
  *
10528
- * Writes directly to Supabase, covered by RLS (org member write policy).
10524
+ * Server derives organizationId and createdByUserId from JWT.
10529
10525
  * On success invalidates both the deal's task list and any due-tasks queries.
10530
10526
  */
10531
10527
  declare function useCreateDealTask(): _tanstack_react_query.UseMutationResult<AcqDealTask, Error, CreateDealTaskParams, unknown>;
10532
10528
  interface CompleteDealTaskParams {
10533
10529
  taskId: string;
10534
10530
  dealId: string;
10535
- completedByUserId?: string | null;
10536
10531
  }
10537
10532
  /**
10538
10533
  * Mark a deal task as completed.
10539
10534
  *
10540
- * Writes directly to Supabase, covered by RLS (org member write policy).
10541
- * Both `id` and `organization_id` filters are applied for multi-tenancy safety.
10535
+ * Server extracts completedByUserId from JWT.
10542
10536
  * On success invalidates both the deal's task list and any due-tasks queries.
10543
10537
  */
10544
10538
  declare function useCompleteDealTask(): _tanstack_react_query.UseMutationResult<AcqDealTask, Error, CompleteDealTaskParams, unknown>;
@@ -10548,8 +10542,12 @@ declare function useBatchTelemetry(): _tanstack_react_query.UseQueryResult<Batch
10548
10542
  // Row types from Supabase
10549
10543
  type ProjectRow = Database['public']['Tables']['prj_projects']['Row']
10550
10544
  type ProjectUpdate = Database['public']['Tables']['prj_projects']['Update']
10545
+
10546
+ type MilestoneRow = Database['public']['Tables']['prj_milestones']['Row']
10551
10547
  type MilestoneUpdate = Database['public']['Tables']['prj_milestones']['Update']
10552
10548
 
10549
+ type TaskRow = Database['public']['Tables']['prj_tasks']['Row']
10550
+
10553
10551
  // Status enums
10554
10552
  type ProjectStatus = 'active' | 'on_track' | 'at_risk' | 'blocked' | 'completed' | 'paused'
10555
10553
 
@@ -10605,6 +10603,12 @@ interface ProjectWithCounts extends ProjectRow {
10605
10603
  completedTasks?: number
10606
10604
  }
10607
10605
 
10606
+ interface ProjectDetail extends ProjectRow {
10607
+ milestones: MilestoneRow[]
10608
+ tasks: TaskRow[]
10609
+ company: { id: string; name: string; domain: string | null } | null
10610
+ }
10611
+
10608
10612
  declare const projectKeys: {
10609
10613
  all: readonly ["projects"];
10610
10614
  lists: () => readonly ["projects", "list"];
@@ -10613,62 +10617,7 @@ declare const projectKeys: {
10613
10617
  detail: (id: string) => readonly ["projects", "detail", string];
10614
10618
  };
10615
10619
  declare function useProjects(filters?: ProjectFilters): _tanstack_react_query.UseQueryResult<ProjectWithCounts[], Error>;
10616
- declare function useProject(id: string): _tanstack_react_query.UseQueryResult<{
10617
- actual_end_date: string | null;
10618
- client_company_id: string | null;
10619
- contract_value: number | null;
10620
- created_at: string;
10621
- deal_id: string | null;
10622
- description: string | null;
10623
- id: string;
10624
- kind: string;
10625
- metadata: Json$1 | null;
10626
- name: string;
10627
- organization_id: string;
10628
- start_date: string | null;
10629
- status: string;
10630
- target_end_date: string | null;
10631
- updated_at: string;
10632
- milestones: {
10633
- checklist: Json$1 | null;
10634
- completed_at: string | null;
10635
- created_at: string;
10636
- description: string | null;
10637
- due_date: string | null;
10638
- id: string;
10639
- metadata: Json$1 | null;
10640
- name: string;
10641
- organization_id: string;
10642
- project_id: string;
10643
- sequence: number;
10644
- status: string;
10645
- updated_at: string;
10646
- }[];
10647
- tasks: {
10648
- checklist: Json$1;
10649
- completed_at: string | null;
10650
- created_at: string;
10651
- description: string | null;
10652
- due_date: string | null;
10653
- file_url: string | null;
10654
- id: string;
10655
- metadata: Json$1 | null;
10656
- milestone_id: string | null;
10657
- name: string;
10658
- organization_id: string;
10659
- parent_task_id: string | null;
10660
- project_id: string;
10661
- resume_context: Json$1 | null;
10662
- status: string;
10663
- type: string;
10664
- updated_at: string;
10665
- }[];
10666
- company: {
10667
- id: string;
10668
- name: string;
10669
- domain: string | null;
10670
- } | null;
10671
- } | null, Error>;
10620
+ declare function useProject(id: string): _tanstack_react_query.UseQueryResult<ProjectDetail | null, Error>;
10672
10621
  declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
10673
10622
  actual_end_date: string | null;
10674
10623
  client_company_id: string | null;
@@ -10720,7 +10669,7 @@ declare function useUpdateProject(): _tanstack_react_query.UseMutationResult<{
10720
10669
  updated_at: string;
10721
10670
  }, Error, {
10722
10671
  id: string;
10723
- updates: ProjectUpdate;
10672
+ updates: Omit<ProjectUpdate, "organization_id">;
10724
10673
  }, unknown>;
10725
10674
  declare function useDeleteProject(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
10726
10675
 
@@ -10731,6 +10680,19 @@ declare const milestoneKeys: {
10731
10680
  details: () => readonly ["project-milestones", "detail"];
10732
10681
  detail: (id: string) => readonly ["project-milestones", "detail", string];
10733
10682
  };
10683
+ /**
10684
+ * Fetches milestones for a project.
10685
+ *
10686
+ * NOTE: The API only supports nested listing via GET /projects/:projectId/milestones.
10687
+ * There is no cross-project milestone endpoint. When filters.projectId is absent,
10688
+ * the query is disabled and returns undefined. Callers that previously relied on
10689
+ * cross-project querying (no projectId) will need to supply a projectId or migrate
10690
+ * to a different approach.
10691
+ *
10692
+ * NOTE: The filters.status field is not forwarded to the API (no querystring support
10693
+ * on the milestones list endpoint). Client-side filtering on the returned array is
10694
+ * required if status filtering is needed.
10695
+ */
10734
10696
  declare function useMilestones(filters?: MilestoneFilters): _tanstack_react_query.UseQueryResult<{
10735
10697
  checklist: Json$1 | null;
10736
10698
  completed_at: string | null;
@@ -10791,7 +10753,7 @@ declare function useUpdateMilestone(): _tanstack_react_query.UseMutationResult<{
10791
10753
  updated_at: string;
10792
10754
  }, Error, {
10793
10755
  id: string;
10794
- updates: MilestoneUpdate;
10756
+ updates: Omit<MilestoneUpdate, "organization_id">;
10795
10757
  }, unknown>;
10796
10758
  declare function useDeleteMilestone(): _tanstack_react_query.UseMutationResult<void, Error, {
10797
10759
  id: string;
@@ -10805,6 +10767,19 @@ declare const taskKeys: {
10805
10767
  details: () => readonly ["project-tasks", "detail"];
10806
10768
  detail: (id: string) => readonly ["project-tasks", "detail", string];
10807
10769
  };
10770
+ /**
10771
+ * Fetches tasks for a project.
10772
+ *
10773
+ * NOTE: The API only supports nested listing via GET /projects/:projectId/tasks.
10774
+ * There is no cross-project task endpoint. When filters.projectId is absent,
10775
+ * the query is disabled. Callers that previously relied on cross-project querying
10776
+ * will need to supply a projectId.
10777
+ *
10778
+ * NOTE: filters.type is not forwarded to the API (no querystring support on the
10779
+ * tasks list endpoint for type). Client-side filtering is required if needed.
10780
+ *
10781
+ * Supported API query params: status, milestoneId (mapped to milestone_id).
10782
+ */
10808
10783
  declare function useTasks(filters?: TaskFilters): _tanstack_react_query.UseQueryResult<{
10809
10784
  checklist: Json$1;
10810
10785
  completed_at: string | null;
@@ -10836,6 +10811,16 @@ declare const noteKeys: {
10836
10811
  details: () => readonly ["project-notes", "detail"];
10837
10812
  detail: (id: string) => readonly ["project-notes", "detail", string];
10838
10813
  };
10814
+ /**
10815
+ * Fetches notes for a project.
10816
+ *
10817
+ * NOTE: The API only supports nested listing via GET /projects/:projectId/notes.
10818
+ * There is no cross-project notes endpoint. When filters.projectId is absent,
10819
+ * the query is disabled.
10820
+ *
10821
+ * NOTE: filters.type is not forwarded to the API (the notes list endpoint has no
10822
+ * querystring schema for type filtering). Client-side filtering is required if needed.
10823
+ */
10839
10824
  declare function useProjectNotes(filters?: NoteFilters): _tanstack_react_query.UseQueryResult<{
10840
10825
  content: string;
10841
10826
  created_at: string;
@@ -1,6 +1,5 @@
1
- export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, dealKeys, dealNoteKeys, dealTaskKeys, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useBatchTelemetry, useCommandViewDomainFilters, useCompleteDealTask, useCreateApiKey, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteApiKey, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useSyncDealStage, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-R565P6XC.js';
2
- export { OperationsService, calibrationKeys, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-QDO6NF2I.js';
3
- import '../chunk-NJJ3NQ7B.js';
1
+ export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-YNGQ7U5H.js';
2
+ export { OperationsService, calibrationKeys, createUseFeatureAccess, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompleteDealTask, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateDealNote, useCreateDealTask, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteDeal, useDeleteExecution, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-ZVJKIJFG.js';
4
3
  export { observabilityKeys, useErrorTrends } from '../chunk-LXHZYSMQ.js';
5
4
  import '../chunk-F6RBK7NJ.js';
6
5
  import '../chunk-L4XXM55J.js';