export type WalletSettlementBillDirection = "receivable" | "payable";

export type WalletSettlementBillItem = {
  id: number;
  settlement_period_id: number;
  period_start: string | null;
  period_end: string | null;
  gross_win_loss: number;
  rebate_amount: number;
  net_amount: number;
  paid_amount: number;
  unpaid_amount: number;
  direction: WalletSettlementBillDirection;
  status: string;
};

export type WalletSettlementBillsSummary = {
  pending_receivable: number;
  pending_payable: number;
  net_pending: number;
  pending_count: number;
};

export type WalletSettlementBillsData = {
  items: WalletSettlementBillItem[];
  summary: WalletSettlementBillsSummary;
  funding_mode: string;
};
