export type PaymentRow = {
  numberPayment?: number;
  percentPayment: number;
};

export type RequestFinGAP = {
  calcType: number;
  payments: PaymentRow[];
  values: {
    plPrice: number;
    discount: number;
    firstPayment: number;
    leasingPeriod: number;
    premiumPerc: number;
  };
};

export type ResponseFinGAP = {
  sum: number;
  premium: number;
};
