export type AdminPlayerTicketItemRow = {
  ticket_no: string;
  order_no: string | null;
  draw_no: string | null;
  currency_code: string | null;
  play_code: string;
  original_number: string | null;
  /** @deprecated 历史字段，单位为 minor；优先使用 total_bet_amount_minor */
  total_bet_amount: number;
  total_bet_amount_minor: number;
  total_bet_amount_formatted: string;
  /** @deprecated 历史字段，单位为 minor；优先使用 actual_deduct_amount_minor */
  actual_deduct_amount: number;
  actual_deduct_amount_minor: number;
  actual_deduct_amount_formatted: string;
  status: string;
  fail_reason_code: string | null;
  fail_reason_text: string | null;
  /** @deprecated 历史字段，单位为 minor；优先使用 win_amount_minor */
  win_amount: number;
  win_amount_minor: number;
  win_amount_formatted: string;
  /** @deprecated 历史字段，单位为 minor；优先使用 jackpot_win_amount_minor */
  jackpot_win_amount: number;
  jackpot_win_amount_minor: number;
  jackpot_win_amount_formatted: string;
  placed_at: string | null;
  updated_at: string | null;
};

export type AdminPlayerTicketItemsData = {
  player_id: number;
  items: AdminPlayerTicketItemRow[];
  total: number;
  page: number;
  per_page: number;
  last_page: number;
};
