export type RecurringTransactionInterval = 'monthly' | 'quarterly' | 'yearly';

export interface RecurringTransaction {
  id: number;
  description: string;
  amount: number;
  type: number;
  interval: RecurringTransactionInterval;
  nextRunDate: string;
  active: boolean;
  createdAt?: string;
}

export interface CreateRecurringTransaction {
  teamId: number;
  description: string;
  amount: number;
  type: number;
  interval: RecurringTransactionInterval;
  startDate: string;
}

export interface UpdateRecurringTransaction {
  description: string;
  amount: number;
  type: number;
  interval: RecurringTransactionInterval;
  active: boolean;
}
