@crediblex.io/fineract-api-client
Version:
TypeScript client for Fineract APIs
41 lines • 1.08 kB
TypeScript
/**
* Represents the repayment reschedule type option.
*/
export interface RepaymentRescheduleOption {
id: number;
code: string;
value: string;
}
/**
* Represents the repayment reschedule type.
*/
export interface RepaymentRescheduleType {
id: number;
code: string;
value: string;
}
/**
* Represents the raw working days response from Fineract API.
*/
export interface FineractWorkingDaysResponse {
id: number;
recurrence: string;
repaymentRescheduleType: RepaymentRescheduleType;
extendTermForDailyRepayments: boolean;
extendTermForRepaymentsOnHolidays: boolean;
repaymentRescheduleOptions: RepaymentRescheduleOption[];
}
/**
* Represents the formatted working days response returned to consumers.
* Each day of the week is mapped to a boolean indicating if it's a working day.
*/
export interface WorkingDaysResponse {
Monday: boolean;
Tuesday: boolean;
Wednesday: boolean;
Thursday: boolean;
Friday: boolean;
Saturday: boolean;
Sunday: boolean;
}
//# sourceMappingURL=workingdays.d.ts.map