15 lines
662 B
TypeScript
15 lines
662 B
TypeScript
import { InsurancePolicy } from '@rentaldrivego/database';
|
|
export declare function calculateInsuranceCharge(policy: InsurancePolicy, totalDays: number, baseRentalAmount: number): number;
|
|
export declare function applyInsurancesToReservation(reservationId: string, companyId: string, selectedPolicyIds: string[], totalDays: number, baseRentalAmount: number): Promise<{
|
|
records: {
|
|
reservationId: string;
|
|
insurancePolicyId: any;
|
|
policyName: any;
|
|
policyType: any;
|
|
chargeType: any;
|
|
chargeValue: any;
|
|
totalCharge: number;
|
|
}[];
|
|
insuranceTotal: number;
|
|
}>;
|
|
//# sourceMappingURL=insuranceService.d.ts.map
|