@elevasis/ui 2.17.2 → 2.19.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.
- package/dist/api/index.js +2 -2
- package/dist/app/index.js +5 -5
- package/dist/charts/index.js +3 -3
- package/dist/chunk-3JCMO7SD.js +14 -0
- package/dist/{chunk-TP5NMF6K.js → chunk-46Z2VHY3.js} +4 -4
- package/dist/{chunk-FNWWVX5N.js → chunk-5SCVXZPM.js} +358 -188
- package/dist/{chunk-TTP62HWW.js → chunk-BHR7IV72.js} +10 -15
- package/dist/{chunk-MJ6YV2B5.js → chunk-CTTY6FUT.js} +2 -2
- package/dist/{chunk-P3TFNFZS.js → chunk-EUWBY43Z.js} +2 -2
- package/dist/{chunk-MDO4UCEJ.js → chunk-IBOX2M24.js} +47 -82
- package/dist/{chunk-HH3RNG2O.js → chunk-JEQM67SO.js} +307 -173
- package/dist/{chunk-2TDZBYXI.js → chunk-LR5CRY5A.js} +1 -1
- package/dist/{chunk-JU6UB4YA.js → chunk-LVCJ2H2T.js} +4 -4
- package/dist/{chunk-GRGRBWIO.js → chunk-M7W7CGPL.js} +1 -1
- package/dist/{chunk-34NQLV2W.js → chunk-MJAKU2WA.js} +3 -3
- package/dist/{chunk-OCCZRPER.js → chunk-Q4QJOSVS.js} +1 -1
- package/dist/{chunk-R73EHHPN.js → chunk-Q5HC6ENG.js} +18 -2
- package/dist/{chunk-VDM6DQES.js → chunk-R7OJCNL3.js} +1 -1
- package/dist/{chunk-6RWMRQN5.js → chunk-TIIPYB2Z.js} +1 -1
- package/dist/{chunk-ABUDMATM.js → chunk-TKEKYPZA.js} +6 -6
- package/dist/{chunk-R7GKX4HW.js → chunk-UU6PJ4EJ.js} +192 -82
- package/dist/{chunk-7L42RRHZ.js → chunk-Y7TDUZEH.js} +221 -514
- package/dist/{chunk-7GCWOUFT.js → chunk-YVAXWM3W.js} +73 -121
- package/dist/components/index.d.ts +219 -2810
- package/dist/components/index.js +41 -27
- package/dist/features/crm/index.d.ts +54 -53
- package/dist/features/crm/index.js +11 -11
- package/dist/features/dashboard/index.js +12 -12
- package/dist/features/delivery/index.d.ts +2642 -2605
- package/dist/features/delivery/index.js +11 -11
- package/dist/features/lead-gen/index.d.ts +152 -16
- package/dist/features/lead-gen/index.js +11 -22
- package/dist/features/monitoring/index.js +13 -13
- package/dist/features/monitoring/requests/index.d.ts +38 -27
- package/dist/features/monitoring/requests/index.js +212 -106
- package/dist/features/operations/index.d.ts +9 -26
- package/dist/features/operations/index.js +15 -15
- package/dist/features/settings/index.d.ts +36 -37
- package/dist/features/settings/index.js +12 -12
- package/dist/hooks/delivery/index.d.ts +2712 -2699
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.d.ts +1997 -4627
- package/dist/hooks/index.js +10 -10
- package/dist/hooks/published.d.ts +1997 -4627
- package/dist/hooks/published.js +10 -10
- package/dist/index.d.ts +1124 -3673
- package/dist/index.js +11 -11
- package/dist/layout/index.d.ts +14 -2
- package/dist/layout/index.js +1 -1
- package/dist/provider/index.d.ts +320 -249
- package/dist/provider/index.js +8 -8
- package/dist/provider/published.d.ts +320 -249
- package/dist/provider/published.js +5 -5
- package/dist/sse/index.d.ts +1 -6
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.ts +1608 -2487
- package/dist/utils/index.d.ts +32 -1
- package/dist/utils/index.js +1 -1
- package/dist/zustand/index.d.ts +4 -8
- package/dist/zustand/index.js +2 -2
- package/package.json +4 -4
- package/dist/chunk-ADSSLKKP.js +0 -10
- /package/dist/{chunk-GCBWGGI6.js → chunk-OD7GWIZS.js} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { useBreadcrumbs } from '../chunk-MG3NF7QL.js';
|
|
2
2
|
import '../chunk-6GUW5GGF.js';
|
|
3
|
-
export { AllTasksPage, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../chunk-
|
|
4
|
-
export { LEAD_GEN_ROUTE_LINKS, LIST_TEMPLATE_OPTIONS, LeadGenCompaniesPage, LeadGenContactsPage,
|
|
5
|
-
export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, operationsManifest, useNewKnowledgeMapLayout } from '../chunk-
|
|
3
|
+
export { AllTasksPage, HealthStatusCard, MilestoneTimeline, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, TaskCard, UpcomingMilestonesPage, calculateProgress, deliveryManifest, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors } from '../chunk-5SCVXZPM.js';
|
|
4
|
+
export { LEAD_GEN_ROUTE_LINKS, LIST_TEMPLATE_OPTIONS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, buildListConfig, getEnrichmentColor, getStatusColor, leadGenManifest, useDeleteLists } from '../chunk-Y7TDUZEH.js';
|
|
5
|
+
export { ActionModal, AgentDefinitionDisplay, AgentExecutionLogs, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, CheckpointGroup, CollapsibleJsonSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, ConfigCard, ContentSections, ContextUsageBadge, ContractDisplay, ExecutionErrorSection, LogEntry, LogGroup, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceNotFoundState, SessionMemory, ToolsListDisplay, WorkflowDefinitionDisplay, WorkflowExecutionLogs, getExecutionStatusConfig, getIcon, getLogLevelConfig, iconMap, operationsManifest, useNewKnowledgeMapLayout } from '../chunk-JEQM67SO.js';
|
|
6
6
|
import '../chunk-ROSMICXG.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-3JCMO7SD.js';
|
|
8
8
|
import '../chunk-ZTWA5H77.js';
|
|
9
|
-
import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton } from '../chunk-
|
|
10
|
-
export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, FormFieldRenderer, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, RunResourceButton, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, ZodFormRenderer, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-
|
|
9
|
+
import { BaseNode, useGraphTheme, BaseEdge, GraphBackground, GraphLegend, GraphFitViewButton } from '../chunk-TKEKYPZA.js';
|
|
10
|
+
export { AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, BaseEdge, BaseNode, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, FormFieldRenderer, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, RunResourceButton, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WorkflowExecutionTimeline, ZodFormRenderer, getGraphBackgroundStyles, useGraphBackgroundStyles, useGraphTheme } from '../chunk-TKEKYPZA.js';
|
|
11
11
|
import '../chunk-442LZPIR.js';
|
|
12
|
-
import { NotificationList } from '../chunk-
|
|
13
|
-
export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList, monitoringManifest } from '../chunk-
|
|
14
|
-
export { ResourceHealthPanel } from '../chunk-
|
|
12
|
+
import { NotificationList } from '../chunk-46Z2VHY3.js';
|
|
13
|
+
export { ActivityCard, ActivityFilters as ActivityFiltersBar, ActivityTable, BusinessImpactCard, CostBreakdownCard, CostByModelTable, CostMetricsCard, ErrorAnalysisCard, ErrorBreakdownTable, ExecutionBreakdownTable, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, NotificationItem, NotificationList, monitoringManifest } from '../chunk-46Z2VHY3.js';
|
|
14
|
+
export { ResourceHealthPanel } from '../chunk-LVCJ2H2T.js';
|
|
15
15
|
export { ResourceHealthChart, getHealthColor } from '../chunk-LGKLC5MG.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-CTTY6FUT.js';
|
|
17
17
|
export { SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, seoManifest } from '../chunk-AL23U6C3.js';
|
|
18
|
-
export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest } from '../chunk-
|
|
18
|
+
export { CreateCredentialModal, CredentialList, CredentialSettings, MembershipFeaturePanel, MembershipStatusBadge, OAuthConnectModal, OrganizationMembershipsList, WebhookUrlDisplayModal, settingsManifest } from '../chunk-YVAXWM3W.js';
|
|
19
19
|
import { AppShellLoader } from '../chunk-M25JL54Z.js';
|
|
20
|
-
export { ActivityFeedWidget, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, TasksDueWidget, crmManifest, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity } from '../chunk-
|
|
20
|
+
export { ActivityFeedWidget, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, TasksDueWidget, crmManifest, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity } from '../chunk-IBOX2M24.js';
|
|
21
21
|
import '../chunk-BZZCNLT6.js';
|
|
22
22
|
export { SortableHeader, TableSelectionToolbar } from '../chunk-TUMSNGTX.js';
|
|
23
23
|
import '../chunk-CEWTOKE7.js';
|
|
@@ -26,30 +26,30 @@ import { FilterBar } from '../chunk-PDHTXPSF.js';
|
|
|
26
26
|
export { FilterBar } from '../chunk-PDHTXPSF.js';
|
|
27
27
|
import { CustomModal } from '../chunk-GBMNCNHX.js';
|
|
28
28
|
export { ConfirmationInputModal, ConfirmationModal, CustomModal } from '../chunk-GBMNCNHX.js';
|
|
29
|
-
import '../chunk-
|
|
29
|
+
import '../chunk-TIIPYB2Z.js';
|
|
30
30
|
export { CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS } from '../chunk-E4WQGJNS.js';
|
|
31
31
|
import '../chunk-7M2VOCYN.js';
|
|
32
|
-
import { useCommandViewLayout, useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, usePaginationState, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useDealNotes, useCreateDealNote, useDeals, useSyncDealStage, dealKeys, useMarkAllAsRead, useNotifications } from '../chunk-
|
|
32
|
+
import { useCommandViewLayout, useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, usePaginationState, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useDealNotes, useCreateDealNote, useDeals, useSyncDealStage, dealKeys, useMarkAllAsRead, useNotifications } from '../chunk-UU6PJ4EJ.js';
|
|
33
33
|
import '../chunk-BRXELOHC.js';
|
|
34
34
|
import '../chunk-QSTH6T77.js';
|
|
35
|
-
import { showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-
|
|
36
|
-
export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-
|
|
35
|
+
import { showErrorNotification, showSuccessNotification, showApiErrorNotification } from '../chunk-M7W7CGPL.js';
|
|
36
|
+
export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-M7W7CGPL.js';
|
|
37
37
|
import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, GRAPH_CONSTANTS } from '../chunk-22UVE3RA.js';
|
|
38
38
|
export { Graph_module_css_default as graphStyles } from '../chunk-22UVE3RA.js';
|
|
39
39
|
import '../chunk-3ZMAGTWF.js';
|
|
40
|
-
import '../chunk-
|
|
41
|
-
import '../chunk-
|
|
42
|
-
import '../chunk-
|
|
40
|
+
import '../chunk-Q4QJOSVS.js';
|
|
41
|
+
import '../chunk-MJAKU2WA.js';
|
|
42
|
+
import '../chunk-Q5HC6ENG.js';
|
|
43
43
|
import '../chunk-WLOQ4IBG.js';
|
|
44
|
-
import '../chunk-
|
|
45
|
-
import '../chunk-
|
|
44
|
+
import '../chunk-LR5CRY5A.js';
|
|
45
|
+
import '../chunk-EUWBY43Z.js';
|
|
46
46
|
import { SubshellContentContainer } from '../chunk-RX4UWZZR.js';
|
|
47
|
-
import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, CenteredErrorState, CardHeader, ActivityTimeline } from '../chunk-
|
|
48
|
-
export { APIErrorAlert, ActivityTimeline, CardHeader, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, FeatureUnavailableState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-
|
|
47
|
+
import { ListSkeleton, EmptyState, PageTitleCaption, StatCard, CenteredErrorState, CardHeader, ActivityTimeline } from '../chunk-BHR7IV72.js';
|
|
48
|
+
export { APIErrorAlert, ActivityTimeline, CardHeader, CenteredErrorState, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, FeatureUnavailableState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-BHR7IV72.js';
|
|
49
49
|
export { ElevasisLoader } from '../chunk-SZHARWKU.js';
|
|
50
50
|
export { StyledMarkdown } from '../chunk-3KMDHCAR.js';
|
|
51
51
|
export { NavigationButton } from '../chunk-NYBEU5TE.js';
|
|
52
|
-
import '../chunk-
|
|
52
|
+
import '../chunk-R7OJCNL3.js';
|
|
53
53
|
import '../chunk-2IFYDILW.js';
|
|
54
54
|
import { useRouterContext } from '../chunk-Q7DJKLEN.js';
|
|
55
55
|
import '../chunk-7YQKVWSD.js';
|
|
@@ -58,7 +58,7 @@ import { useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
|
58
58
|
import '../chunk-HQ7M6PBW.js';
|
|
59
59
|
import '../chunk-DT3QYZVU.js';
|
|
60
60
|
import '../chunk-RNP5R5I3.js';
|
|
61
|
-
import { getResourceIcon, getResourceColor, formatDateTime, PAGE_SIZE_DEFAULT, formatTimeAgo } from '../chunk-
|
|
61
|
+
import { getResourceIcon, getResourceColor, formatDateTime, PAGE_SIZE_DEFAULT, formatTimeAgo } from '../chunk-OD7GWIZS.js';
|
|
62
62
|
import '../chunk-KRWALB24.js';
|
|
63
63
|
import '../chunk-SLH2QLKV.js';
|
|
64
64
|
import { useInitialization } from '../chunk-DK2HVHCY.js';
|
|
@@ -3241,6 +3241,7 @@ function DealDrawer({ deal, config, opened, onClose, renderActions }) {
|
|
|
3241
3241
|
);
|
|
3242
3242
|
}
|
|
3243
3243
|
var UNSTAGED_KEY = "unstaged";
|
|
3244
|
+
var KANBAN_FETCH_LIMIT = 250;
|
|
3244
3245
|
function formatStageLabel2(stage) {
|
|
3245
3246
|
if (stage === UNSTAGED_KEY) return "Unstaged";
|
|
3246
3247
|
return stage.split("_").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
|
|
@@ -3260,7 +3261,10 @@ function groupDealsByStage(deals, columns) {
|
|
|
3260
3261
|
return map;
|
|
3261
3262
|
}
|
|
3262
3263
|
function KanbanBoard({ config, renderDrawerActions }) {
|
|
3263
|
-
const { data: deals, isLoading, error } = useDeals(
|
|
3264
|
+
const { data: deals, total, isLoading, error } = useDeals({
|
|
3265
|
+
limit: KANBAN_FETCH_LIMIT,
|
|
3266
|
+
offset: 0
|
|
3267
|
+
});
|
|
3264
3268
|
const syncStage = useSyncDealStage();
|
|
3265
3269
|
const queryClient = useQueryClient();
|
|
3266
3270
|
const [selectedDeal, setSelectedDeal] = useState(null);
|
|
@@ -3300,7 +3304,10 @@ function KanbanBoard({ config, renderDrawerActions }) {
|
|
|
3300
3304
|
if (deal.cached_stage === targetStage) return;
|
|
3301
3305
|
queryClient.setQueriesData({ queryKey: dealKeys.lists() }, (old) => {
|
|
3302
3306
|
if (!old) return old;
|
|
3303
|
-
return
|
|
3307
|
+
return {
|
|
3308
|
+
...old,
|
|
3309
|
+
data: old.data.map((d) => d.id === deal.id ? { ...d, cached_stage: targetStage } : d)
|
|
3310
|
+
};
|
|
3304
3311
|
});
|
|
3305
3312
|
syncStage.mutate({ dealId: deal.id, stage: targetStage });
|
|
3306
3313
|
},
|
|
@@ -3332,6 +3339,13 @@ function KanbanBoard({ config, renderDrawerActions }) {
|
|
|
3332
3339
|
return /* @__PURE__ */ jsxs(SubshellContentContainer, { children: [
|
|
3333
3340
|
/* @__PURE__ */ jsxs(Stack, { children: [
|
|
3334
3341
|
/* @__PURE__ */ jsx(PageTitleCaption, { title: "Pipeline", caption: "Kanban view of your deal pipeline" }),
|
|
3342
|
+
total > deals.length && /* @__PURE__ */ jsxs(Alert, { color: "yellow", variant: "light", children: [
|
|
3343
|
+
"Showing the first ",
|
|
3344
|
+
deals.length,
|
|
3345
|
+
" of ",
|
|
3346
|
+
total,
|
|
3347
|
+
" deals in the board. This view is temporarily bounded to the list endpoint until full-board pagination lands."
|
|
3348
|
+
] }),
|
|
3335
3349
|
/* @__PURE__ */ jsx(
|
|
3336
3350
|
Paper,
|
|
3337
3351
|
{
|
|
@@ -2722,6 +2722,60 @@ interface DealListItem extends AcqDealRow {
|
|
|
2722
2722
|
}
|
|
2723
2723
|
type DealDetail = DealListItem;
|
|
2724
2724
|
|
|
2725
|
+
/**
|
|
2726
|
+
* CRM Overview API Schemas
|
|
2727
|
+
*
|
|
2728
|
+
* Request/response validation for /api/crm surface.
|
|
2729
|
+
* Covers recent activity feeds sourced from acq_deal_notes and deal
|
|
2730
|
+
* activity_log entries.
|
|
2731
|
+
*
|
|
2732
|
+
* The CrmActivityEntry discriminated union mirrors the CrmActivityEntry
|
|
2733
|
+
* interface defined in:
|
|
2734
|
+
* packages/ui/src/features/acquisition/overview/hooks/useRecentCrmActivity.ts
|
|
2735
|
+
*/
|
|
2736
|
+
declare const CrmActivityKindSchema: z.ZodEnum<{
|
|
2737
|
+
note: "note";
|
|
2738
|
+
stage_change: "stage_change";
|
|
2739
|
+
deal_created: "deal_created";
|
|
2740
|
+
}>;
|
|
2741
|
+
/**
|
|
2742
|
+
* A single CRM activity entry (note, stage change, or deal creation).
|
|
2743
|
+
* Matches the CrmActivityEntry interface from useRecentCrmActivity.ts.
|
|
2744
|
+
*/
|
|
2745
|
+
declare const RecentActivityEntrySchema: z.ZodObject<{
|
|
2746
|
+
id: z.ZodString;
|
|
2747
|
+
kind: z.ZodEnum<{
|
|
2748
|
+
note: "note";
|
|
2749
|
+
stage_change: "stage_change";
|
|
2750
|
+
deal_created: "deal_created";
|
|
2751
|
+
}>;
|
|
2752
|
+
dealId: z.ZodString;
|
|
2753
|
+
occurredAt: z.ZodString;
|
|
2754
|
+
description: z.ZodString;
|
|
2755
|
+
contactName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2756
|
+
companyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2757
|
+
stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2758
|
+
}, z.core.$strip>;
|
|
2759
|
+
declare const GetRecentActivityResponseSchema: z.ZodObject<{
|
|
2760
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
2761
|
+
id: z.ZodString;
|
|
2762
|
+
kind: z.ZodEnum<{
|
|
2763
|
+
note: "note";
|
|
2764
|
+
stage_change: "stage_change";
|
|
2765
|
+
deal_created: "deal_created";
|
|
2766
|
+
}>;
|
|
2767
|
+
dealId: z.ZodString;
|
|
2768
|
+
occurredAt: z.ZodString;
|
|
2769
|
+
description: z.ZodString;
|
|
2770
|
+
contactName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2771
|
+
companyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2772
|
+
stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2773
|
+
}, z.core.$strip>>;
|
|
2774
|
+
}, z.core.$strip>;
|
|
2775
|
+
type CrmActivityKind = z.infer<typeof CrmActivityKindSchema>;
|
|
2776
|
+
type RecentActivityEntry = z.infer<typeof RecentActivityEntrySchema>;
|
|
2777
|
+
type GetRecentActivityResponse = z.infer<typeof GetRecentActivityResponseSchema>;
|
|
2778
|
+
|
|
2725
2779
|
interface PipelineStageSummary {
|
|
2726
2780
|
stage: DealStage;
|
|
2727
2781
|
count: number;
|
|
@@ -2750,59 +2804,6 @@ declare function useCrmQuickMetrics(): {
|
|
|
2750
2804
|
error: unknown;
|
|
2751
2805
|
};
|
|
2752
2806
|
|
|
2753
|
-
/**
|
|
2754
|
-
* CRM Overview API Schemas
|
|
2755
|
-
*
|
|
2756
|
-
* Request/response validation for /api/crm surface.
|
|
2757
|
-
* Covers recent activity feeds sourced from acq_deal_notes and deal
|
|
2758
|
-
* activity_log entries.
|
|
2759
|
-
*
|
|
2760
|
-
* The CrmActivityEntry discriminated union mirrors the CrmActivityEntry
|
|
2761
|
-
* interface defined in:
|
|
2762
|
-
* packages/ui/src/features/acquisition/overview/hooks/useRecentCrmActivity.ts
|
|
2763
|
-
*/
|
|
2764
|
-
|
|
2765
|
-
// ---------------------------------------------------------------------------
|
|
2766
|
-
// Enum literals
|
|
2767
|
-
// ---------------------------------------------------------------------------
|
|
2768
|
-
|
|
2769
|
-
declare const CrmActivityKindSchema = z.enum(['note', 'stage_change', 'deal_created'])
|
|
2770
|
-
|
|
2771
|
-
// ---------------------------------------------------------------------------
|
|
2772
|
-
// Activity entry shapes
|
|
2773
|
-
// ---------------------------------------------------------------------------
|
|
2774
|
-
|
|
2775
|
-
/**
|
|
2776
|
-
* A single CRM activity entry (note, stage change, or deal creation).
|
|
2777
|
-
* Matches the CrmActivityEntry interface from useRecentCrmActivity.ts.
|
|
2778
|
-
*/
|
|
2779
|
-
declare const RecentActivityEntrySchema = z.object({
|
|
2780
|
-
id: z.string(),
|
|
2781
|
-
kind: CrmActivityKindSchema,
|
|
2782
|
-
dealId: z.string(),
|
|
2783
|
-
occurredAt: z.string(),
|
|
2784
|
-
description: z.string(),
|
|
2785
|
-
contactName: z.string().nullable().optional(),
|
|
2786
|
-
companyName: z.string().nullable().optional(),
|
|
2787
|
-
stage: z.string().nullable().optional()
|
|
2788
|
-
})
|
|
2789
|
-
|
|
2790
|
-
// ---------------------------------------------------------------------------
|
|
2791
|
-
// Response schemas (no .strict() — forward-compatible)
|
|
2792
|
-
// ---------------------------------------------------------------------------
|
|
2793
|
-
|
|
2794
|
-
declare const GetRecentActivityResponseSchema = z.object({
|
|
2795
|
-
entries: z.array(RecentActivityEntrySchema)
|
|
2796
|
-
})
|
|
2797
|
-
|
|
2798
|
-
// ---------------------------------------------------------------------------
|
|
2799
|
-
// Inferred types
|
|
2800
|
-
// ---------------------------------------------------------------------------
|
|
2801
|
-
|
|
2802
|
-
type CrmActivityKind = z.infer<typeof CrmActivityKindSchema>
|
|
2803
|
-
type RecentActivityEntry = z.infer<typeof RecentActivityEntrySchema>
|
|
2804
|
-
type GetRecentActivityResponse = z.infer<typeof GetRecentActivityResponseSchema>
|
|
2805
|
-
|
|
2806
2807
|
declare function useRecentCrmActivity(opts?: {
|
|
2807
2808
|
limit?: number;
|
|
2808
2809
|
}): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, TasksDueWidget, crmManifest, formatDealStageLabel, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity } from '../../chunk-
|
|
1
|
+
export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, TasksDueWidget, crmManifest, formatDealStageLabel, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity } from '../../chunk-IBOX2M24.js';
|
|
2
2
|
import '../../chunk-BZZCNLT6.js';
|
|
3
3
|
import '../../chunk-TUMSNGTX.js';
|
|
4
4
|
import '../../chunk-CEWTOKE7.js';
|
|
@@ -6,24 +6,24 @@ import '../../chunk-IIMU5YAJ.js';
|
|
|
6
6
|
import '../../chunk-PDHTXPSF.js';
|
|
7
7
|
import '../../chunk-GBMNCNHX.js';
|
|
8
8
|
import '../../chunk-7M2VOCYN.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-UU6PJ4EJ.js';
|
|
10
10
|
import '../../chunk-BRXELOHC.js';
|
|
11
11
|
import '../../chunk-QSTH6T77.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-M7W7CGPL.js';
|
|
13
13
|
import '../../chunk-22UVE3RA.js';
|
|
14
14
|
import '../../chunk-3ZMAGTWF.js';
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-Q4QJOSVS.js';
|
|
16
|
+
import '../../chunk-MJAKU2WA.js';
|
|
17
|
+
import '../../chunk-Q5HC6ENG.js';
|
|
18
18
|
import '../../chunk-WLOQ4IBG.js';
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-LR5CRY5A.js';
|
|
20
|
+
import '../../chunk-EUWBY43Z.js';
|
|
21
21
|
import '../../chunk-RX4UWZZR.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-BHR7IV72.js';
|
|
23
23
|
import '../../chunk-SZHARWKU.js';
|
|
24
24
|
import '../../chunk-3KMDHCAR.js';
|
|
25
25
|
import '../../chunk-NYBEU5TE.js';
|
|
26
|
-
import '../../chunk-
|
|
26
|
+
import '../../chunk-R7OJCNL3.js';
|
|
27
27
|
import '../../chunk-2IFYDILW.js';
|
|
28
28
|
import '../../chunk-Q7DJKLEN.js';
|
|
29
29
|
import '../../chunk-7YQKVWSD.js';
|
|
@@ -32,7 +32,7 @@ import '../../chunk-QJ2KCHKX.js';
|
|
|
32
32
|
import '../../chunk-HQ7M6PBW.js';
|
|
33
33
|
import '../../chunk-DT3QYZVU.js';
|
|
34
34
|
import '../../chunk-RNP5R5I3.js';
|
|
35
|
-
import '../../chunk-
|
|
35
|
+
import '../../chunk-OD7GWIZS.js';
|
|
36
36
|
import '../../chunk-KRWALB24.js';
|
|
37
37
|
import '../../chunk-SLH2QLKV.js';
|
|
38
38
|
import '../../chunk-DK2HVHCY.js';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { Dashboard, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser } from '../../chunk-
|
|
1
|
+
export { Dashboard, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser } from '../../chunk-TKEKYPZA.js';
|
|
2
2
|
import '../../chunk-LGKLC5MG.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-CTTY6FUT.js';
|
|
4
4
|
import '../../chunk-M25JL54Z.js';
|
|
5
5
|
import '../../chunk-E4WQGJNS.js';
|
|
6
6
|
import '../../chunk-7M2VOCYN.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-UU6PJ4EJ.js';
|
|
8
8
|
import '../../chunk-BRXELOHC.js';
|
|
9
9
|
import '../../chunk-QSTH6T77.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-M7W7CGPL.js';
|
|
11
11
|
import '../../chunk-22UVE3RA.js';
|
|
12
12
|
import '../../chunk-3ZMAGTWF.js';
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-Q4QJOSVS.js';
|
|
14
|
+
import '../../chunk-MJAKU2WA.js';
|
|
15
|
+
import '../../chunk-Q5HC6ENG.js';
|
|
16
16
|
import '../../chunk-WLOQ4IBG.js';
|
|
17
|
-
import '../../chunk-
|
|
18
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-LR5CRY5A.js';
|
|
18
|
+
import '../../chunk-EUWBY43Z.js';
|
|
19
19
|
import '../../chunk-RX4UWZZR.js';
|
|
20
|
-
import '../../chunk-
|
|
20
|
+
import '../../chunk-BHR7IV72.js';
|
|
21
21
|
import '../../chunk-SZHARWKU.js';
|
|
22
22
|
import '../../chunk-3KMDHCAR.js';
|
|
23
23
|
import '../../chunk-NYBEU5TE.js';
|
|
24
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-R7OJCNL3.js';
|
|
25
25
|
import '../../chunk-2IFYDILW.js';
|
|
26
26
|
import '../../chunk-Q7DJKLEN.js';
|
|
27
27
|
import '../../chunk-7YQKVWSD.js';
|
|
@@ -30,7 +30,7 @@ import '../../chunk-QJ2KCHKX.js';
|
|
|
30
30
|
import '../../chunk-HQ7M6PBW.js';
|
|
31
31
|
import '../../chunk-DT3QYZVU.js';
|
|
32
32
|
import '../../chunk-RNP5R5I3.js';
|
|
33
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-OD7GWIZS.js';
|
|
34
34
|
import '../../chunk-KRWALB24.js';
|
|
35
35
|
import '../../chunk-SLH2QLKV.js';
|
|
36
36
|
import '../../chunk-DK2HVHCY.js';
|