2023-11-16 01:09:48 +00:00
|
|
|
import { type IVoucher } from './voucher.js';
|
2021-04-15 00:59:56 +00:00
|
|
|
|
|
|
|
export interface IMonthlyCheckpoint {
|
|
|
|
start: number;
|
|
|
|
end: number;
|
|
|
|
pdfVoucher: IVoucher;
|
|
|
|
}
|
|
|
|
|
2023-11-16 01:09:48 +00:00
|
|
|
export interface IPaymentAccount {
|
|
|
|
id: string;
|
2021-04-15 00:59:56 +00:00
|
|
|
data: {
|
|
|
|
status: 'active' | 'inactive' | 'deleted';
|
|
|
|
connectionData: {
|
|
|
|
bankAdapterType: string;
|
|
|
|
credentials: unknown;
|
|
|
|
};
|
|
|
|
currency: 'EUR' | 'USD';
|
|
|
|
name: string;
|
|
|
|
checkpoints: {
|
|
|
|
[key: string]: {
|
|
|
|
1: IMonthlyCheckpoint;
|
|
|
|
2: IMonthlyCheckpoint;
|
|
|
|
3: IMonthlyCheckpoint;
|
|
|
|
4: IMonthlyCheckpoint;
|
|
|
|
5: IMonthlyCheckpoint;
|
|
|
|
6: IMonthlyCheckpoint;
|
|
|
|
7: IMonthlyCheckpoint;
|
|
|
|
8: IMonthlyCheckpoint;
|
|
|
|
9: IMonthlyCheckpoint;
|
|
|
|
10: IMonthlyCheckpoint;
|
|
|
|
11: IMonthlyCheckpoint;
|
|
|
|
12: IMonthlyCheckpoint;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|