/**
 * My Requests TypeScript interfaces
 */

export interface MyRequest {
  id: string;
  requestId: string;
  displayId?: string;
  title: string;
  description?: string;
  status: string;
  priority: string;
  department?: string;
  submittedDate?: string;
  createdAt?: string;
  currentApprover?: string;
  approverLevel?: string;
  templateType?: string;
  workflowType?: string;
  templateName?: string;
  pauseInfo?: {
    isPaused: boolean;
    reason?: string;
    pausedAt?: string;
    pausedBy?: string;
  };
}

export interface MyRequestsStats {
  total: number;
  pending: number;
  paused: number;
  approved: number;
  rejected: number;
  draft: number;
  closed: number;
}

export interface MyRequestsFilters {
  search: string;
  status: string;
  priority: string;
  templateType?: string;
}

export interface PaginationState {
  currentPage: number;
  totalPages: number;
  totalRecords: number;
  itemsPerPage: number;
}

