export type CashSessionStatus = 'OPEN' | 'CLOSED';

export interface PosCashSession {
  id: string;
  terminalId: string;
  storeId: string;
  userId: string;
  status: CashSessionStatus;
  openedAt: Date;
  closedAt: Date | null;
  openingCashCents: number;
  closingCashCents: number | null;
  expectedCashCents: number | null;
  actualCashCents: number | null;
  differenceCents: number | null;
  notes: string | null;
  createdAt: Date;
  updatedAt: Date;
}

export interface OpenCashSessionInput {
  terminalId: string;
  userId: string;
  openingCashCents: number;
}

export interface CloseCashSessionInput {
  sessionId: string;
  closingCashCents: number;
  actualCashCents: number;
  notes?: string;
}
