@elevasis/ui 1.26.1 → 1.27.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 (53) hide show
  1. package/dist/charts/index.js +2 -2
  2. package/dist/{chunk-AWT255UH.js → chunk-2IJCM3VQ.js} +37 -37
  3. package/dist/chunk-5COLSYBE.js +199 -0
  4. package/dist/{chunk-RMPXGBNI.js → chunk-5JSR6TL5.js} +2 -2
  5. package/dist/chunk-BAGYETKM.js +635 -0
  6. package/dist/{chunk-L3GVDMCA.js → chunk-C27LLJM6.js} +3 -195
  7. package/dist/{chunk-O4UB5DQQ.js → chunk-F2J7675J.js} +1 -1
  8. package/dist/chunk-ITCEULI5.js +238 -0
  9. package/dist/{chunk-4WKWLFBZ.js → chunk-P5EWG45B.js} +1 -1
  10. package/dist/{chunk-BS4J2LAW.js → chunk-QTD5HPKD.js} +1 -1
  11. package/dist/{chunk-ZVJKIJFG.js → chunk-RCQPWA5X.js} +13 -42
  12. package/dist/chunk-TLAIQC7B.js +6382 -0
  13. package/dist/{chunk-FEZZ3IDU.js → chunk-TXPUIHX2.js} +10 -10
  14. package/dist/{chunk-L4XXM55J.js → chunk-W4VYXIN7.js} +142 -3
  15. package/dist/chunk-WJ7W7JU4.js +2115 -0
  16. package/dist/{chunk-YNGQ7U5H.js → chunk-WLNEJ6JJ.js} +2 -2
  17. package/dist/{chunk-4INR75ZS.js → chunk-Y2SYGFRF.js} +589 -65
  18. package/dist/components/index.d.ts +333 -73
  19. package/dist/components/index.js +838 -686
  20. package/dist/features/auth/index.d.ts +125 -0
  21. package/dist/features/auth/index.js +2 -2
  22. package/dist/features/dashboard/index.d.ts +28 -2
  23. package/dist/features/dashboard/index.js +21 -635
  24. package/dist/features/monitoring/index.d.ts +28 -1
  25. package/dist/features/monitoring/index.js +19 -529
  26. package/dist/features/operations/index.d.ts +51 -8
  27. package/dist/features/operations/index.js +25 -3760
  28. package/dist/features/settings/index.d.ts +153 -1
  29. package/dist/features/settings/index.js +19 -1438
  30. package/dist/hooks/index.d.ts +262 -25
  31. package/dist/hooks/index.js +12 -8
  32. package/dist/hooks/published.d.ts +137 -25
  33. package/dist/hooks/published.js +11 -7
  34. package/dist/index.d.ts +310 -28
  35. package/dist/index.js +12 -11
  36. package/dist/initialization/index.d.ts +125 -0
  37. package/dist/layout/index.d.ts +2 -0
  38. package/dist/layout/index.js +6 -5
  39. package/dist/organization/index.js +1 -2
  40. package/dist/profile/index.d.ts +125 -0
  41. package/dist/provider/index.d.ts +48 -3
  42. package/dist/provider/index.js +10 -4
  43. package/dist/provider/published.d.ts +48 -3
  44. package/dist/provider/published.js +8 -2
  45. package/dist/supabase/index.d.ts +242 -0
  46. package/dist/theme/index.js +2 -2
  47. package/dist/types/index.d.ts +126 -1
  48. package/package.json +3 -3
  49. package/dist/chunk-LR4WVA7W.js +0 -682
  50. package/dist/chunk-R7WLWGPO.js +0 -126
  51. package/dist/chunk-TCKIAHDC.js +0 -2626
  52. package/dist/chunk-V7XHGJQZ.js +0 -145
  53. package/dist/{chunk-WWEMNIHW.js → chunk-YYBM5LNJ.js} +1 -1
@@ -2116,6 +2116,106 @@ type Database = {
2116
2116
  }
2117
2117
  ];
2118
2118
  };
2119
+ acq_list_companies: {
2120
+ Row: {
2121
+ added_at: string;
2122
+ added_by: string | null;
2123
+ company_id: string;
2124
+ id: string;
2125
+ list_id: string;
2126
+ source_execution_id: string | null;
2127
+ source_input_hash: string | null;
2128
+ source_resource_id: string | null;
2129
+ stage: string | null;
2130
+ stage_updated_at: string | null;
2131
+ };
2132
+ Insert: {
2133
+ added_at?: string;
2134
+ added_by?: string | null;
2135
+ company_id: string;
2136
+ id?: string;
2137
+ list_id: string;
2138
+ source_execution_id?: string | null;
2139
+ source_input_hash?: string | null;
2140
+ source_resource_id?: string | null;
2141
+ stage?: string | null;
2142
+ stage_updated_at?: string | null;
2143
+ };
2144
+ Update: {
2145
+ added_at?: string;
2146
+ added_by?: string | null;
2147
+ company_id?: string;
2148
+ id?: string;
2149
+ list_id?: string;
2150
+ source_execution_id?: string | null;
2151
+ source_input_hash?: string | null;
2152
+ source_resource_id?: string | null;
2153
+ stage?: string | null;
2154
+ stage_updated_at?: string | null;
2155
+ };
2156
+ Relationships: [
2157
+ {
2158
+ foreignKeyName: "acq_list_companies_company_id_fkey";
2159
+ columns: ["company_id"];
2160
+ isOneToOne: false;
2161
+ referencedRelation: "acq_companies";
2162
+ referencedColumns: ["id"];
2163
+ },
2164
+ {
2165
+ foreignKeyName: "acq_list_companies_list_id_fkey";
2166
+ columns: ["list_id"];
2167
+ isOneToOne: false;
2168
+ referencedRelation: "acq_lists";
2169
+ referencedColumns: ["id"];
2170
+ },
2171
+ {
2172
+ foreignKeyName: "acq_list_companies_source_execution_id_fkey";
2173
+ columns: ["source_execution_id"];
2174
+ isOneToOne: false;
2175
+ referencedRelation: "execution_logs";
2176
+ referencedColumns: ["execution_id"];
2177
+ }
2178
+ ];
2179
+ };
2180
+ acq_list_executions: {
2181
+ Row: {
2182
+ created_at: string;
2183
+ execution_id: string;
2184
+ id: string;
2185
+ list_id: string;
2186
+ payload: Json;
2187
+ };
2188
+ Insert: {
2189
+ created_at?: string;
2190
+ execution_id: string;
2191
+ id?: string;
2192
+ list_id: string;
2193
+ payload?: Json;
2194
+ };
2195
+ Update: {
2196
+ created_at?: string;
2197
+ execution_id?: string;
2198
+ id?: string;
2199
+ list_id?: string;
2200
+ payload?: Json;
2201
+ };
2202
+ Relationships: [
2203
+ {
2204
+ foreignKeyName: "acq_list_executions_execution_id_fkey";
2205
+ columns: ["execution_id"];
2206
+ isOneToOne: false;
2207
+ referencedRelation: "execution_logs";
2208
+ referencedColumns: ["execution_id"];
2209
+ },
2210
+ {
2211
+ foreignKeyName: "acq_list_executions_list_id_fkey";
2212
+ columns: ["list_id"];
2213
+ isOneToOne: false;
2214
+ referencedRelation: "acq_lists";
2215
+ referencedColumns: ["id"];
2216
+ }
2217
+ ];
2218
+ };
2119
2219
  acq_list_members: {
2120
2220
  Row: {
2121
2221
  added_at: string;
@@ -2123,6 +2223,11 @@ type Database = {
2123
2223
  contact_id: string;
2124
2224
  id: string;
2125
2225
  list_id: string;
2226
+ source_execution_id: string | null;
2227
+ source_input_hash: string | null;
2228
+ source_resource_id: string | null;
2229
+ stage: string | null;
2230
+ stage_updated_at: string | null;
2126
2231
  };
2127
2232
  Insert: {
2128
2233
  added_at?: string;
@@ -2130,6 +2235,11 @@ type Database = {
2130
2235
  contact_id: string;
2131
2236
  id?: string;
2132
2237
  list_id: string;
2238
+ source_execution_id?: string | null;
2239
+ source_input_hash?: string | null;
2240
+ source_resource_id?: string | null;
2241
+ stage?: string | null;
2242
+ stage_updated_at?: string | null;
2133
2243
  };
2134
2244
  Update: {
2135
2245
  added_at?: string;
@@ -2137,6 +2247,11 @@ type Database = {
2137
2247
  contact_id?: string;
2138
2248
  id?: string;
2139
2249
  list_id?: string;
2250
+ source_execution_id?: string | null;
2251
+ source_input_hash?: string | null;
2252
+ source_resource_id?: string | null;
2253
+ stage?: string | null;
2254
+ stage_updated_at?: string | null;
2140
2255
  };
2141
2256
  Relationships: [
2142
2257
  {
@@ -2152,6 +2267,13 @@ type Database = {
2152
2267
  isOneToOne: false;
2153
2268
  referencedRelation: "acq_lists";
2154
2269
  referencedColumns: ["id"];
2270
+ },
2271
+ {
2272
+ foreignKeyName: "acq_list_members_source_execution_id_fkey";
2273
+ columns: ["source_execution_id"];
2274
+ isOneToOne: false;
2275
+ referencedRelation: "execution_logs";
2276
+ referencedColumns: ["execution_id"];
2155
2277
  }
2156
2278
  ];
2157
2279
  };
@@ -2159,6 +2281,7 @@ type Database = {
2159
2281
  Row: {
2160
2282
  batch_ids: string[];
2161
2283
  completed_at: string | null;
2284
+ config: Json;
2162
2285
  created_at: string;
2163
2286
  description: string | null;
2164
2287
  id: string;
@@ -2173,6 +2296,7 @@ type Database = {
2173
2296
  Insert: {
2174
2297
  batch_ids?: string[];
2175
2298
  completed_at?: string | null;
2299
+ config?: Json;
2176
2300
  created_at?: string;
2177
2301
  description?: string | null;
2178
2302
  id?: string;
@@ -2187,6 +2311,7 @@ type Database = {
2187
2311
  Update: {
2188
2312
  batch_ids?: string[];
2189
2313
  completed_at?: string | null;
2314
+ config?: Json;
2190
2315
  created_at?: string;
2191
2316
  description?: string | null;
2192
2317
  id?: string;
@@ -4312,7 +4437,7 @@ interface NotificationDTO {
4312
4437
 
4313
4438
  /** Raw database row type for acq_deals table */
4314
4439
  type AcqDealRow = Database['public']['Tables']['acq_deals']['Row'];
4315
- type DealStage = 'interested' | 'booked' | 'qualified' | 'demo_booked' | 'proposal' | 'proposal_sent' | 'proposal_signed' | 'payment_sent' | 'proposal_revision' | 'closed_won' | 'closed_lost' | 'nurturing' | 'cancelled' | 'no_show';
4440
+ type DealStage = 'interested' | 'proposal' | 'closing' | 'closed_won' | 'closed_lost' | 'nurturing';
4316
4441
  interface DealContact {
4317
4442
  id: string;
4318
4443
  first_name: string | null;
@@ -4365,45 +4490,30 @@ interface AcqDealTask {
4365
4490
  createdByUserId: string | null;
4366
4491
  }
4367
4492
  /**
4368
- * Aggregated pipeline telemetry for a single acquisition batch.
4369
- * Stage counts reflect how far companies/contacts have progressed through
4370
- * the lead-gen pipeline for the given batchId.
4493
+ * Live-scan aggregate telemetry for a single list, computed on demand from
4494
+ * the list junction tables and current contact deliverability state.
4371
4495
  */
4372
- interface BatchTelemetry {
4373
- batchId: string;
4496
+ interface ListTelemetry {
4497
+ listId: string;
4374
4498
  totalCompanies: number;
4375
4499
  totalContacts: number;
4376
- /** Per-stage company and contact counts derived from pipeline_status fields */
4377
4500
  stageCounts: {
4378
- /** Companies where pipeline_status.acquired === true */
4379
- scraped: number;
4380
- /** Companies where pipeline_status.enrichment.websiteCrawl?.status === 'complete' */
4501
+ populated: number;
4381
4502
  extracted: number;
4382
- /** Companies where category_pain != null */
4383
- categoryPained: number;
4384
- /** Companies where category != null AND category_pain != null */
4385
4503
  qualified: number;
4386
- /** Total contacts belonging to the batch */
4387
4504
  discovered: number;
4388
- /** Contacts where email_valid != null */
4389
4505
  verified: number;
4390
- /** Contacts where pipeline_status.personalization.status === 'complete' */
4391
4506
  personalized: number;
4507
+ uploaded: number;
4392
4508
  };
4393
- /** Email deliverability breakdown for contacts in the batch */
4394
4509
  deliverability: {
4395
- /** Contacts where email_valid === 'VALID' */
4396
4510
  valid: number;
4397
- /** Contacts where email_valid === 'RISKY' */
4398
4511
  risky: number;
4399
- /** Contacts where email_valid === 'INVALID' */
4400
4512
  invalid: number;
4401
- /** Contacts where email_valid === 'UNKNOWN' or email_valid is null */
4402
4513
  unknown: number;
4403
- /** Contacts where pipeline_status.outreach.status === 'bounced' */
4404
4514
  bounced: number;
4405
4515
  };
4406
- /** Reserved for future use — active workflow IDs associated with this batch */
4516
+ /** Reserved -- active workflow IDs associated with this list. */
4407
4517
  activeWorkflows?: string[];
4408
4518
  }
4409
4519
 
@@ -6936,6 +7046,8 @@ interface UseExecutionPanelStateOptions {
6936
7046
  apiUrl: string;
6937
7047
  limit?: number;
6938
7048
  onConnectionStatus?: (connected: boolean, runningCount: number) => void;
7049
+ selectedId?: string | null;
7050
+ onSelectedIdChange?: (id: string | null) => void;
6939
7051
  }
6940
7052
  interface UseExecutionPanelStateReturn {
6941
7053
  executions: APIExecutionSummary[];
@@ -6968,7 +7080,7 @@ interface UseExecutionPanelStateReturn {
6968
7080
  * } = useExecutionPanelState({ resourceId, manager, onConnectionStatus })
6969
7081
  * ```
6970
7082
  */
6971
- declare function useExecutionPanelState({ resourceId, manager, apiUrl, limit, onConnectionStatus }: UseExecutionPanelStateOptions): UseExecutionPanelStateReturn;
7083
+ declare function useExecutionPanelState({ resourceId, manager, apiUrl, limit, onConnectionStatus, selectedId: controlledSelectedId, onSelectedIdChange }: UseExecutionPanelStateOptions): UseExecutionPanelStateReturn;
6972
7084
 
6973
7085
  /**
6974
7086
  * Utilities for extracting typed properties from resource definitions
@@ -7496,7 +7608,7 @@ interface CompleteDealTaskParams {
7496
7608
  */
7497
7609
  declare function useCompleteDealTask(): _tanstack_react_query.UseMutationResult<AcqDealTask, Error, CompleteDealTaskParams, unknown>;
7498
7610
 
7499
- declare function useBatchTelemetry(): _tanstack_react_query.UseQueryResult<BatchTelemetry[], Error>;
7611
+ declare function useBatchTelemetry(): _tanstack_react_query.UseQueryResult<ListTelemetry[], Error>;
7500
7612
 
7501
7613
  /**
7502
7614
  * Hook to fetch sessions list with optional filtering.
@@ -1,19 +1,23 @@
1
- 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';
1
+ export { OperationsService, calibrationKeys, 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-RCQPWA5X.js';
2
2
  export { observabilityKeys, useErrorTrends } from '../chunk-LXHZYSMQ.js';
3
3
  import '../chunk-F6RBK7NJ.js';
4
- import '../chunk-L4XXM55J.js';
5
- import '../chunk-RNP5R5I3.js';
6
- import '../chunk-RMPXGBNI.js';
4
+ import '../chunk-5JSR6TL5.js';
7
5
  import '../chunk-SZHARWKU.js';
8
- import '../chunk-FEZZ3IDU.js';
6
+ import '../chunk-TXPUIHX2.js';
9
7
  import '../chunk-CYXZHBP4.js';
10
- import '../chunk-R7WLWGPO.js';
8
+ export { createUseFeatureAccess } from '../chunk-ITCEULI5.js';
9
+ import '../chunk-5COLSYBE.js';
11
10
  import '../chunk-NVOCKXUQ.js';
12
- import '../chunk-V7XHGJQZ.js';
11
+ import '../chunk-MHW43EOH.js';
12
+ import '../chunk-W4VYXIN7.js';
13
13
  import '../chunk-QJ2KCHKX.js';
14
+ import '../chunk-QJ2S46NI.js';
15
+ import '../chunk-SLVC5OJ2.js';
16
+ import '../chunk-RNP5R5I3.js';
14
17
  export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-IOKL7BKE.js';
15
18
  import '../chunk-ALA56RGZ.js';
16
19
  import '../chunk-TUXTSEAF.js';
17
20
  import '../chunk-DD3CCMCZ.js';
18
21
  import '../chunk-QEPXAWE2.js';
19
22
  import '../chunk-BRJ3QZ4E.js';
23
+ import '../chunk-Q7DJKLEN.js';