@optifye/dashboard-core 6.1.12 → 6.2.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/index.d.ts CHANGED
@@ -8,6 +8,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import { Modifiers } from 'react-day-picker';
9
9
  import html2canvas from 'html2canvas';
10
10
  import * as SelectPrimitive from '@radix-ui/react-select';
11
+ import Player from 'video.js/dist/types/player';
11
12
  import { NextApiRequest, NextApiResponse } from 'next';
12
13
  import { ClassValue } from 'clsx';
13
14
 
@@ -546,6 +547,8 @@ interface PageHeaderProps {
546
547
  headerLogo?: React.ReactNode;
547
548
  /** Stickiness of the header */
548
549
  sticky?: boolean;
550
+ /** Handler for opening mobile menu */
551
+ onMobileMenuOpen?: () => void;
549
552
  }
550
553
 
551
554
  /**
@@ -2216,6 +2219,128 @@ interface UseSKUsReturn {
2216
2219
  }
2217
2220
  declare const useSKUs: (companyId: string) => UseSKUsReturn;
2218
2221
 
2222
+ interface SupportTicketHistory {
2223
+ id: string;
2224
+ title: string;
2225
+ category: 'general' | 'technical' | 'feature' | 'billing';
2226
+ priority: 'low' | 'normal' | 'high' | 'urgent';
2227
+ description: string;
2228
+ user_email: string;
2229
+ company_id: string | null;
2230
+ status: 'submitted' | 'in_progress' | 'resolved' | 'closed';
2231
+ submitted_at: string;
2232
+ updated_at: string;
2233
+ }
2234
+ interface CreateTicketData {
2235
+ title: string;
2236
+ category: 'general' | 'technical' | 'feature' | 'billing';
2237
+ priority: 'low' | 'normal' | 'high' | 'urgent';
2238
+ description: string;
2239
+ user_email: string;
2240
+ company_id: string;
2241
+ }
2242
+ declare class TicketHistoryService {
2243
+ /**
2244
+ * Create a new support ticket in history
2245
+ */
2246
+ static createTicket(ticketData: CreateTicketData): Promise<SupportTicketHistory>;
2247
+ /**
2248
+ * Get all tickets for a specific company
2249
+ */
2250
+ static getCompanyTickets(companyId: string): Promise<SupportTicketHistory[]>;
2251
+ /**
2252
+ * Get all tickets (admin view)
2253
+ */
2254
+ static getAllTickets(): Promise<SupportTicketHistory[]>;
2255
+ /**
2256
+ * Update ticket status
2257
+ */
2258
+ static updateTicketStatus(ticketId: string, status: 'submitted' | 'in_progress' | 'resolved' | 'closed'): Promise<SupportTicketHistory>;
2259
+ }
2260
+
2261
+ interface UseTicketHistoryReturn {
2262
+ tickets: SupportTicketHistory[];
2263
+ loading: boolean;
2264
+ error: string | null;
2265
+ createTicket: (ticketData: CreateTicketData) => Promise<void>;
2266
+ refreshTickets: () => Promise<void>;
2267
+ updateTicketStatus: (ticketId: string, status: 'submitted' | 'in_progress' | 'resolved' | 'closed') => Promise<void>;
2268
+ }
2269
+ declare function useTicketHistory(companyId?: string): UseTicketHistoryReturn;
2270
+
2271
+ /**
2272
+ * S3 Clips API Service
2273
+ * Handles fetching HLS video clips from S3 with AWS SDK integration
2274
+ * Based on the HLS streaming architecture using playlist.m3u8 files
2275
+ * Enhanced with enterprise-grade caching and performance optimizations
2276
+ */
2277
+
2278
+ /**
2279
+ * Video Index Entry for efficient navigation
2280
+ */
2281
+ interface VideoIndexEntry {
2282
+ uri: string;
2283
+ category: string;
2284
+ timestamp: string;
2285
+ videoId: string;
2286
+ workspaceId: string;
2287
+ date: string;
2288
+ shiftId: string;
2289
+ }
2290
+ /**
2291
+ * Video Index structure for storing all video paths
2292
+ */
2293
+ interface VideoIndex {
2294
+ byCategory: Map<string, VideoIndexEntry[]>;
2295
+ allVideos: VideoIndexEntry[];
2296
+ counts: Record<string, number>;
2297
+ workspaceId: string;
2298
+ date: string;
2299
+ shiftId: string;
2300
+ lastUpdated: Date;
2301
+ }
2302
+ /**
2303
+ * Result type that includes both clip counts and video index
2304
+ */
2305
+ interface ClipCountsWithIndex {
2306
+ counts: Record<string, number>;
2307
+ videoIndex: VideoIndex;
2308
+ }
2309
+
2310
+ /**
2311
+ * usePrefetchClipCounts Hook
2312
+ *
2313
+ * Prefetches clip counts for video clips when workspace detail page loads.
2314
+ * This hook is designed to start fetching data before the user clicks on the clips tab,
2315
+ * enabling 70-90% faster rendering when they do access the clips.
2316
+ */
2317
+
2318
+ interface UsePrefetchClipCountsOptions {
2319
+ /**
2320
+ * Workspace ID to prefetch counts for
2321
+ */
2322
+ workspaceId: string;
2323
+ /**
2324
+ * Optional date string (YYYY-MM-DD). If not provided, uses operational date
2325
+ */
2326
+ date?: string;
2327
+ /**
2328
+ * Optional shift ID (0 = day, 1 = night). If not provided, uses current shift
2329
+ */
2330
+ shift?: number | string;
2331
+ /**
2332
+ * Whether to enable prefetching. Defaults to true
2333
+ */
2334
+ enabled?: boolean;
2335
+ }
2336
+ /**
2337
+ * Hook to prefetch clip counts and build video index for faster clips tab loading
2338
+ */
2339
+ declare const usePrefetchClipCounts: ({ workspaceId, date, shift, enabled }: UsePrefetchClipCountsOptions) => {
2340
+ prefetchClipCounts: () => Promise<ClipCountsWithIndex | null>;
2341
+ cacheKey: string;
2342
+ };
2343
+
2219
2344
  /**
2220
2345
  * Interface for navigation method used across packages
2221
2346
  * Abstracts navigation implementation details from components
@@ -3033,6 +3158,7 @@ declare class VideoPreloader {
3033
3158
  clear: () => void;
3034
3159
  private processQueue;
3035
3160
  private preloadUrlInternal;
3161
+ private canPlayHlsNatively;
3036
3162
  private bufferNative;
3037
3163
  private handleHls;
3038
3164
  private bufferHls;
@@ -3486,6 +3612,11 @@ declare const ShiftDisplay: React__default.FC<ShiftDisplayProps>;
3486
3612
  */
3487
3613
  declare const ISTTimer: React__default.FC;
3488
3614
 
3615
+ interface TicketHistoryProps {
3616
+ companyId: string;
3617
+ }
3618
+ declare const TicketHistory: React__default.FC<TicketHistoryProps>;
3619
+
3489
3620
  interface LinePdfExportButtonProps {
3490
3621
  /** The DOM element or a selector string for the element to capture. */
3491
3622
  targetElement: HTMLElement | string;
@@ -4227,8 +4358,19 @@ declare const Header: React__default.FC<HeaderProps>;
4227
4358
  * SideNavBar is a fixed implementation for the original src version,
4228
4359
  * hardcoded with specific routes and icons.
4229
4360
  * It does not use the navItems prop for backward compatibility.
4361
+ * Now supports mobile responsiveness with hamburger menu functionality.
4230
4362
  */
4231
- declare const SideNavBar: React__default.FC<SideNavBarProps>;
4363
+ declare const SideNavBar: React__default.FC<SideNavBarProps & {
4364
+ isMobileMenuOpen?: boolean;
4365
+ onMobileMenuClose?: () => void;
4366
+ }>;
4367
+
4368
+ interface HamburgerButtonProps {
4369
+ onClick: () => void;
4370
+ className?: string;
4371
+ 'aria-label'?: string;
4372
+ }
4373
+ declare const HamburgerButton: React__default.FC<HamburgerButtonProps>;
4232
4374
 
4233
4375
  declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
4234
4376
 
@@ -4317,6 +4459,79 @@ interface OptifyeLogoLoaderProps {
4317
4459
  */
4318
4460
  declare const OptifyeLogoLoader: React__default.FC<OptifyeLogoLoaderProps>;
4319
4461
 
4462
+ interface VideoPlayerRef {
4463
+ /** The Video.js player instance */
4464
+ player: Player | null;
4465
+ /** Play the video */
4466
+ play: () => Promise<void> | undefined;
4467
+ /** Pause the video */
4468
+ pause: () => void;
4469
+ /** Get or set current time */
4470
+ currentTime: (time?: number) => number;
4471
+ /** Get video duration */
4472
+ duration: () => number;
4473
+ /** Check if video is paused */
4474
+ paused: () => boolean;
4475
+ /** Get or set mute state */
4476
+ mute: (isMuted?: boolean) => boolean;
4477
+ /** Get or set volume level (0-1) */
4478
+ volume: (level?: number) => number;
4479
+ /** Dispose the player */
4480
+ dispose: () => void;
4481
+ /** Whether the player is ready */
4482
+ isReady: boolean;
4483
+ }
4484
+ interface VideoPlayerEventData {
4485
+ player: Player;
4486
+ currentTime?: number;
4487
+ duration?: number;
4488
+ error?: any;
4489
+ }
4490
+
4491
+ interface VideoPlayerProps {
4492
+ /** Video source URL (.m3u8 for HLS or regular video files) */
4493
+ src: string;
4494
+ /** Video poster image URL */
4495
+ poster?: string;
4496
+ /** Whether to autoplay the video */
4497
+ autoplay?: boolean;
4498
+ /** Whether to show controls */
4499
+ controls?: boolean;
4500
+ /** Whether to loop the video */
4501
+ loop?: boolean;
4502
+ /** Whether to mute the video */
4503
+ muted?: boolean;
4504
+ /** Whether to play inline on mobile */
4505
+ playsInline?: boolean;
4506
+ /** CSS classes to apply to the video container */
4507
+ className?: string;
4508
+ /** Video player options */
4509
+ options?: any;
4510
+ /** Event callbacks */
4511
+ onReady?: (player: Player) => void;
4512
+ onPlay?: (player: Player) => void;
4513
+ onPause?: (player: Player) => void;
4514
+ onTimeUpdate?: (player: Player, currentTime: number) => void;
4515
+ onDurationChange?: (player: Player, duration: number) => void;
4516
+ onEnded?: (player: Player) => void;
4517
+ onError?: (player: Player, error: any) => void;
4518
+ onLoadStart?: (player: Player) => void;
4519
+ onLoadedMetadata?: (player: Player) => void;
4520
+ onSeeking?: (player: Player) => void;
4521
+ onSeeked?: (player: Player) => void;
4522
+ }
4523
+ /**
4524
+ * Production-ready Video.js React component with HLS support
4525
+ *
4526
+ * Features:
4527
+ * - Native Safari HLS support
4528
+ * - HLS.js fallback for other browsers
4529
+ * - Proper event handling
4530
+ * - TypeScript support
4531
+ * - Automatic cleanup
4532
+ */
4533
+ declare const VideoPlayer: React__default.ForwardRefExoticComponent<VideoPlayerProps & React__default.RefAttributes<VideoPlayerRef>>;
4534
+
4320
4535
  interface LoadingStateProps {
4321
4536
  message?: string;
4322
4537
  subMessage?: string;
@@ -5004,4 +5219,4 @@ interface ThreadSidebarProps {
5004
5219
  }
5005
5220
  declare const ThreadSidebar: React__default.FC<ThreadSidebarProps>;
5006
5221
 
5007
- export { ACTION_NAMES, AIAgentView, type Action, type ActionName, type ActionService, type ActionThreshold, type ActiveBreak, type AnalyticsConfig, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, type AuthUser, AuthenticatedFactoryView, AuthenticatedHelpView, AuthenticatedHomeView, AuthenticatedTargetsView, BarChart, type BarChartDataItem, type BarChartProps, type BarProps, BaseHistoryCalendar, type BaseHistoryCalendarProps, type BaseLineMetric, type BasePerformanceMetric, type BottleneckFilterType, type BottleneckVideo, type BottleneckVideoData, BottlenecksContent, type BottlenecksContentProps, type BreadcrumbItem, type Break, BreakNotificationPopup, type BreakNotificationPopupProps, type BreakRowProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChatMessage, type ChatThread, type ClipCounts, type ComponentOverride, type CoreComponents, type CurrentShiftResult, CycleTimeChart, type CycleTimeChartProps, CycleTimeOverTimeChart, type CycleTimeOverTimeChartProps, DEFAULT_ANALYTICS_CONFIG, DEFAULT_AUTH_CONFIG, DEFAULT_CONFIG, DEFAULT_DATABASE_CONFIG, DEFAULT_DATE_TIME_CONFIG, DEFAULT_ENDPOINTS_CONFIG, DEFAULT_ENTITY_CONFIG, DEFAULT_SHIFT_CONFIG, DEFAULT_THEME_CONFIG, DEFAULT_VIDEO_CONFIG, DEFAULT_WORKSPACE_CONFIG, DEFAULT_WORKSPACE_POSITIONS, type DashboardConfig, DashboardHeader, type DashboardKPIs, DashboardLayout, type DashboardLayoutProps, DashboardOverridesProvider, DashboardProvider, type DashboardService, type DatabaseConfig, DateDisplay, type DateTimeConfig, DateTimeDisplay, type DateTimeDisplayProps, type DayHistoryData, type DaySummaryData, DebugAuth, DebugAuthView, EmptyStateMessage, type EmptyStateMessageProps, type EndpointsConfig, type EntityConfig, type FactoryOverviewData, FactoryView, type FactoryViewProps, type FormatNumberOptions, GaugeChart, type GaugeChartProps, GridComponentsPlaceholder, Header, type HeaderProps, HelpView, type HelpViewProps, type HistoryCalendarProps, HomeView, type HookOverride, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, type ISTDateProps, ISTTimer, type ISTTimerProps, KPICard, type KPICardProps, KPIDetailViewWithDisplayNames as KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, LINE_1_UUID, LINE_2_UUID, LargeOutputProgressChart, type LargeOutputProgressChartProps, LeaderboardDetailViewWithDisplayNames as LeaderboardDetailView, type LeaderboardDetailViewProps, type LeaderboardEntry, Legend, LineChart, type LineChartDataItem, type LineChartProps, type LineDetails, type LineDisplayData, LineHistoryCalendar, type LineHistoryCalendarProps, type LineInfo, type LineMetrics, LineMonthlyHistory, type LineMonthlyHistoryProps, type LineMonthlyMetric, LineMonthlyPdfGenerator, type LineMonthlyPdfGeneratorProps, type LineNavigationParams, LinePdfExportButton, type LinePdfExportButtonProps, LinePdfGenerator, type LinePdfGeneratorProps, type LineProps, type LineShiftConfig, type LineSnapshot, type LineThreshold, LineWhatsAppShareButton, type LineWhatsAppShareProps, LiveTimer, LoadingInline, LoadingInline as LoadingInlineProps, LoadingOverlay, LoadingPage, LoadingSkeleton, LoadingSkeleton as LoadingSkeletonProps, LoadingState, LoadingState as LoadingStateProps, LoginPage, type LoginPageProps, LoginView, type LoginViewProps, MainLayout, type MainLayoutProps, type Metric, MetricCard, type MetricCardProps$1 as MetricCardProps, type MetricsError, type NavItem, type NavItemTrackingEvent, type NavigationMethod, NoWorkspaceData, type OperatorData, type OperatorInfo, OptifyeAgentClient, type OptifyeAgentContext, type OptifyeAgentRequest, type OptifyeAgentResponse, OptifyeLogoLoader, OutputProgressChart, type OutputProgressChartProps, type OverridesMap, type OverviewLineMetric, type OverviewWorkspaceMetric, PageHeader, type PageHeaderProps, type PageOverride, PieChart, type PieChartProps, type PoorPerformingWorkspace, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeService, RegistryProvider, type RoutePath, type S3ClipsAPIParams, type S3Config, type S3ListObjectsParams, S3Service, type S3ServiceConfig, type SKU, type SKUConfig, type SKUCreateInput, type SKUListProps, SKUManagementView, type SKUModalProps, type SKUSelectorProps, type SKUUpdateInput, type SOPCategory, SOPComplianceChart, type SOPComplianceChartProps, SSEChatClient, type SSEEvent, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type ShiftConfig, type ShiftConfiguration, type ShiftConfigurationRecord, type ShiftData$2 as ShiftData, ShiftDisplay, type ShiftHistoryData, type ShiftHoursMap, type ShiftPanelProps, type ShiftSummaryData, type ShiftTime, ShiftsView, type ShiftsViewProps, SideNavBar, type SideNavBarProps, type SimpleLine, SingleVideoStream, type SingleVideoStreamProps, Skeleton, SlackAPI, type StreamProxyConfig, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsViewWithDisplayNames as TargetsView, type TargetsViewProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TimeDisplay, TimePickerDropdown, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UseActiveBreaksResult, type UseDashboardMetricsProps, type UseFactoryOverviewOptions, type UseFormatNumberResult, type UseMessagesResult, type UseRealtimeLineMetricsProps, type UseTargetsOptions, type UseThreadsResult, type UseWorkspaceOperatorsOptions, type UserProfileConfig, VideoCard, type VideoConfig, type VideoCroppingConfig, type VideoCroppingRect, VideoGridView, type VideoMetadata, VideoPreloader, type VideoSeverity, type VideoSummary, type VideoType, WORKSPACE_POSITIONS, type WhatsAppSendResult, WhatsAppShareButton, type WhatsAppShareButtonProps, type WhatsappService, type Workspace, type WorkspaceActionUpdate, WorkspaceCard, type WorkspaceCardProps, type WorkspaceConfig, WrappedComponent as WorkspaceDetailView, type WorkspaceDetailedMetrics, WorkspaceDisplayNameExample, WorkspaceGrid, WorkspaceGridItem, type WorkspaceGridItemProps, WorkspaceHistoryCalendar, WorkspaceMetricCards, type WorkspaceMetricCardsProps, type WorkspaceMetrics, WorkspaceMonthlyDataFetcher, type WorkspaceMonthlyDataFetcherProps, type WorkspaceMonthlyMetric, WorkspaceMonthlyPdfGenerator, type WorkspaceMonthlyPdfGeneratorProps, type WorkspaceNavigationParams, WorkspacePdfExportButton, type WorkspacePdfExportButtonProps, WorkspacePdfGenerator, type WorkspacePdfGeneratorProps, type WorkspacePosition, type WorkspaceQualityData, type WorkspaceUrlMapping, WorkspaceWhatsAppShareButton, type WorkspaceWhatsAppShareProps, actionService, apiUtils, authCoreService, authOTPService, authRateLimitService, cacheService, checkRateLimit, clearAllRateLimits, clearRateLimit, clearS3VideoCache, clearS3VideoFromCache, clearWorkspaceDisplayNamesCache, cn, createStreamProxyHandler, createSupabaseClient, createThrottledReload, dashboardService, deleteThread, forceRefreshWorkspaceDisplayNames, formatDateInZone, formatDateTimeInZone, formatISTDate, formatIdleTime, formatTimeInZone, fromUrlFriendlyName, getAllLineDisplayNames, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAnonClient, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getConfiguredLineIds, getCoreSessionRecordingProperties, getCoreSessionReplayUrl, getCurrentShift, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultLineId, getDefaultTabForWorkspace, getLineDisplayName, getManufacturingInsights, getMetricsTablePrefix, getOperationalDate, getS3SignedUrl, getS3VideoSrc, getShortWorkspaceDisplayName, getShortWorkspaceDisplayNameAsync, getStoredWorkspaceMappings, getSubscriptionManager, getThreadMessages, getUserThreads, getUserThreadsPaginated, getWorkspaceDisplayName, getWorkspaceDisplayNameAsync, getWorkspaceDisplayNamesMap, getWorkspaceFromUrl, getWorkspaceNavigationParams, identifyCoreUser, initializeCoreMixpanel, isLegacyConfiguration, isTransitionPeriod, isUrlPermanentlyFailed, isValidFactoryViewConfiguration, isValidLineInfoPayload, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, mergeWithDefaultConfig, migrateLegacyConfiguration, optifyeAgentClient, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, resetFailedUrl, resetSubscriptionManager, s3VideoPreloader, skuService, startCoreSessionRecording, stopCoreSessionRecording, storeWorkspaceMapping, streamProxyConfig, throttledReloadDashboard, toUrlFriendlyName, trackCoreEvent, trackCorePageView, updateThreadTitle, useActiveBreaks, useAllWorkspaceMetrics, useAnalyticsConfig, useAuth, useAuthConfig, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineWorkspaceMetrics, useMessages, useMetrics, useNavigation, useOverrides, usePageOverride, useRealtimeLineMetrics, useRegistry, useSKUs, useShiftConfig, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useTargets, useTheme, useThemeConfig, useThreads, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, videoPreloader, whatsappService, withAuth, withRegistry, workspaceService };
5222
+ export { ACTION_NAMES, AIAgentView, type Action, type ActionName, type ActionService, type ActionThreshold, type ActiveBreak, type AnalyticsConfig, AuthCallback, type AuthCallbackProps, AuthCallbackView, type AuthCallbackViewProps, type AuthConfig, AuthProvider, type AuthUser, AuthenticatedFactoryView, AuthenticatedHelpView, AuthenticatedHomeView, AuthenticatedTargetsView, BarChart, type BarChartDataItem, type BarChartProps, type BarProps, BaseHistoryCalendar, type BaseHistoryCalendarProps, type BaseLineMetric, type BasePerformanceMetric, type BottleneckFilterType, type BottleneckVideo, type BottleneckVideoData, BottlenecksContent, type BottlenecksContentProps, type BreadcrumbItem, type Break, BreakNotificationPopup, type BreakNotificationPopupProps, type BreakRowProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChatMessage, type ChatThread, type ClipCounts, type ComponentOverride, type CoreComponents, type CurrentShiftResult, CycleTimeChart, type CycleTimeChartProps, CycleTimeOverTimeChart, type CycleTimeOverTimeChartProps, DEFAULT_ANALYTICS_CONFIG, DEFAULT_AUTH_CONFIG, DEFAULT_CONFIG, DEFAULT_DATABASE_CONFIG, DEFAULT_DATE_TIME_CONFIG, DEFAULT_ENDPOINTS_CONFIG, DEFAULT_ENTITY_CONFIG, DEFAULT_SHIFT_CONFIG, DEFAULT_THEME_CONFIG, DEFAULT_VIDEO_CONFIG, DEFAULT_WORKSPACE_CONFIG, DEFAULT_WORKSPACE_POSITIONS, type DashboardConfig, DashboardHeader, type DashboardKPIs, DashboardLayout, type DashboardLayoutProps, DashboardOverridesProvider, DashboardProvider, type DashboardService, type DatabaseConfig, DateDisplay, type DateTimeConfig, DateTimeDisplay, type DateTimeDisplayProps, type DayHistoryData, type DaySummaryData, DebugAuth, DebugAuthView, EmptyStateMessage, type EmptyStateMessageProps, type EndpointsConfig, type EntityConfig, type FactoryOverviewData, FactoryView, type FactoryViewProps, type FormatNumberOptions, GaugeChart, type GaugeChartProps, GridComponentsPlaceholder, HamburgerButton, type HamburgerButtonProps, Header, type HeaderProps, HelpView, type HelpViewProps, type HistoryCalendarProps, HomeView, type HookOverride, HourlyOutputChart, type HourlyOutputChartProps, type HourlyPerformance, type ISTDateProps, ISTTimer, type ISTTimerProps, KPICard, type KPICardProps, KPIDetailViewWithDisplayNames as KPIDetailView, type KPIDetailViewProps, KPIGrid, type KPIGridProps, KPIHeader, type KPIHeaderProps, KPISection, type KPITrend, KPIsOverviewView, type KPIsOverviewViewProps, LINE_1_UUID, LINE_2_UUID, LargeOutputProgressChart, type LargeOutputProgressChartProps, LeaderboardDetailViewWithDisplayNames as LeaderboardDetailView, type LeaderboardDetailViewProps, type LeaderboardEntry, Legend, LineChart, type LineChartDataItem, type LineChartProps, type LineDetails, type LineDisplayData, LineHistoryCalendar, type LineHistoryCalendarProps, type LineInfo, type LineMetrics, LineMonthlyHistory, type LineMonthlyHistoryProps, type LineMonthlyMetric, LineMonthlyPdfGenerator, type LineMonthlyPdfGeneratorProps, type LineNavigationParams, LinePdfExportButton, type LinePdfExportButtonProps, LinePdfGenerator, type LinePdfGeneratorProps, type LineProps, type LineShiftConfig, type LineSnapshot, type LineThreshold, LineWhatsAppShareButton, type LineWhatsAppShareProps, LiveTimer, LoadingInline, LoadingInline as LoadingInlineProps, LoadingOverlay, LoadingPage, LoadingSkeleton, LoadingSkeleton as LoadingSkeletonProps, LoadingState, LoadingState as LoadingStateProps, LoginPage, type LoginPageProps, LoginView, type LoginViewProps, MainLayout, type MainLayoutProps, type Metric, MetricCard, type MetricCardProps$1 as MetricCardProps, type MetricsError, type NavItem, type NavItemTrackingEvent, type NavigationMethod, NoWorkspaceData, type OperatorData, type OperatorInfo, OptifyeAgentClient, type OptifyeAgentContext, type OptifyeAgentRequest, type OptifyeAgentResponse, OptifyeLogoLoader, OutputProgressChart, type OutputProgressChartProps, type OverridesMap, type OverviewLineMetric, type OverviewWorkspaceMetric, PageHeader, type PageHeaderProps, type PageOverride, PieChart, type PieChartProps, type PoorPerformingWorkspace, type ProfileMenuItem, ProfileView, type QualityMetric, type QualityOverview, type QualityService, type RateLimitOptions, type RateLimitResult, type RealtimeService, RegistryProvider, type RoutePath, type S3ClipsAPIParams, type S3Config, type S3ListObjectsParams, S3Service, type S3ServiceConfig, type SKU, type SKUConfig, type SKUCreateInput, type SKUListProps, SKUManagementView, type SKUModalProps, type SKUSelectorProps, type SKUUpdateInput, type SOPCategory, SOPComplianceChart, type SOPComplianceChartProps, SSEChatClient, type SSEEvent, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type ShiftConfig, type ShiftConfiguration, type ShiftConfigurationRecord, type ShiftData$2 as ShiftData, ShiftDisplay, type ShiftHistoryData, type ShiftHoursMap, type ShiftPanelProps, type ShiftSummaryData, type ShiftTime, ShiftsView, type ShiftsViewProps, SideNavBar, type SideNavBarProps, type SimpleLine, SingleVideoStream, type SingleVideoStreamProps, Skeleton, SlackAPI, type StreamProxyConfig, SubscriptionManager, SubscriptionManagerProvider, type SupabaseClient, SupabaseProvider, type Target, TargetWorkspaceGrid, type TargetWorkspaceGridProps, TargetsViewWithDisplayNames as TargetsView, type TargetsViewProps, type ThemeColorValue, type ThemeConfig, ThreadSidebar, TicketHistory, TicketHistoryService, TimeDisplay, TimePickerDropdown, type TrackingEventProperties, type TrendDirection, type UnderperformingWorkspace, type UnderperformingWorkspaces, type UseActiveBreaksResult, type UseDashboardMetricsProps, type UseFactoryOverviewOptions, type UseFormatNumberResult, type UseMessagesResult, type UseRealtimeLineMetricsProps, type UseTargetsOptions, type UseThreadsResult, type UseTicketHistoryReturn, type UseWorkspaceOperatorsOptions, type UserProfileConfig, VideoCard, type VideoConfig, type VideoCroppingConfig, type VideoCroppingRect, VideoGridView, type VideoMetadata, VideoPlayer, type VideoPlayerEventData, type VideoPlayerProps, type VideoPlayerRef, VideoPreloader, type VideoSeverity, type VideoSummary, type VideoType, WORKSPACE_POSITIONS, type WhatsAppSendResult, WhatsAppShareButton, type WhatsAppShareButtonProps, type WhatsappService, type Workspace, type WorkspaceActionUpdate, WorkspaceCard, type WorkspaceCardProps, type WorkspaceConfig, WrappedComponent as WorkspaceDetailView, type WorkspaceDetailedMetrics, WorkspaceDisplayNameExample, WorkspaceGrid, WorkspaceGridItem, type WorkspaceGridItemProps, WorkspaceHistoryCalendar, WorkspaceMetricCards, type WorkspaceMetricCardsProps, type WorkspaceMetrics, WorkspaceMonthlyDataFetcher, type WorkspaceMonthlyDataFetcherProps, type WorkspaceMonthlyMetric, WorkspaceMonthlyPdfGenerator, type WorkspaceMonthlyPdfGeneratorProps, type WorkspaceNavigationParams, WorkspacePdfExportButton, type WorkspacePdfExportButtonProps, WorkspacePdfGenerator, type WorkspacePdfGeneratorProps, type WorkspacePosition, type WorkspaceQualityData, type WorkspaceUrlMapping, WorkspaceWhatsAppShareButton, type WorkspaceWhatsAppShareProps, actionService, apiUtils, authCoreService, authOTPService, authRateLimitService, cacheService, checkRateLimit, clearAllRateLimits, clearRateLimit, clearS3VideoCache, clearS3VideoFromCache, clearWorkspaceDisplayNamesCache, cn, createStreamProxyHandler, createSupabaseClient, createThrottledReload, dashboardService, deleteThread, forceRefreshWorkspaceDisplayNames, formatDateInZone, formatDateTimeInZone, formatISTDate, formatIdleTime, formatTimeInZone, fromUrlFriendlyName, getAllLineDisplayNames, getAllThreadMessages, getAllWorkspaceDisplayNamesAsync, getAnonClient, getCameraNumber, getCompanyMetricsTableName, getConfigurableShortWorkspaceDisplayName, getConfigurableWorkspaceDisplayName, getConfiguredLineIds, getCoreSessionRecordingProperties, getCoreSessionReplayUrl, getCurrentShift, getCurrentTimeInZone, getDashboardHeaderTimeInZone, getDaysDifferenceInZone, getDefaultCameraStreamUrl, getDefaultLineId, getDefaultTabForWorkspace, getLineDisplayName, getManufacturingInsights, getMetricsTablePrefix, getOperationalDate, getS3SignedUrl, getS3VideoSrc, getShortWorkspaceDisplayName, getShortWorkspaceDisplayNameAsync, getStoredWorkspaceMappings, getSubscriptionManager, getThreadMessages, getUserThreads, getUserThreadsPaginated, getWorkspaceDisplayName, getWorkspaceDisplayNameAsync, getWorkspaceDisplayNamesMap, getWorkspaceFromUrl, getWorkspaceNavigationParams, identifyCoreUser, initializeCoreMixpanel, isLegacyConfiguration, isTransitionPeriod, isUrlPermanentlyFailed, isValidFactoryViewConfiguration, isValidLineInfoPayload, isValidWorkspaceDetailedMetricsPayload, isValidWorkspaceMetricsPayload, isWorkspaceDisplayNamesLoaded, isWorkspaceDisplayNamesLoading, mergeWithDefaultConfig, migrateLegacyConfiguration, optifyeAgentClient, preInitializeWorkspaceDisplayNames, preloadS3Video, preloadS3VideoUrl, preloadS3VideosUrl, preloadVideoUrl, preloadVideosUrl, qualityService, realtimeService, refreshWorkspaceDisplayNames, resetCoreMixpanel, resetFailedUrl, resetSubscriptionManager, s3VideoPreloader, skuService, startCoreSessionRecording, stopCoreSessionRecording, storeWorkspaceMapping, streamProxyConfig, throttledReloadDashboard, toUrlFriendlyName, trackCoreEvent, trackCorePageView, updateThreadTitle, useActiveBreaks, useAllWorkspaceMetrics, useAnalyticsConfig, useAuth, useAuthConfig, useComponentOverride, useCustomConfig, useDashboardConfig, useDashboardMetrics, useDatabaseConfig, useDateFormatter, useDateTimeConfig, useEndpointsConfig, useEntityConfig, useFactoryOverviewMetrics, useFeatureFlags, useFormatNumber, useHistoricWorkspaceMetrics, useHlsStream, useHlsStreamWithCropping, useHookOverride, useLeaderboardMetrics, useLineDetailedMetrics, useLineKPIs, useLineMetrics, useLineWorkspaceMetrics, useMessages, useMetrics, useNavigation, useOverrides, usePageOverride, usePrefetchClipCounts, useRealtimeLineMetrics, useRegistry, useSKUs, useShiftConfig, useShifts, useSubscriptionManager, useSubscriptionManagerSafe, useSupabase, useSupabaseClient, useTargets, useTheme, useThemeConfig, useThreads, useTicketHistory, useVideoConfig, useWorkspaceConfig, useWorkspaceDetailedMetrics, useWorkspaceDisplayName, useWorkspaceDisplayNames, useWorkspaceDisplayNamesMap, useWorkspaceMetrics, useWorkspaceNavigation, useWorkspaceOperators, videoPreloader, whatsappService, withAuth, withRegistry, workspaceService };