43 lines
1.3 KiB
TypeScript
43 lines
1.3 KiB
TypeScript
export declare function listReservations(companyId: string, query: {
|
|
status?: string;
|
|
vehicleId?: string;
|
|
source?: string;
|
|
startDate?: string;
|
|
endDate?: string;
|
|
page?: number;
|
|
pageSize?: number;
|
|
}): Promise<{
|
|
data: any;
|
|
total: any;
|
|
page: number;
|
|
pageSize: number;
|
|
totalPages: number;
|
|
}>;
|
|
export declare function getReservation(id: string, companyId: string): Promise<any>;
|
|
export declare function createReservation(companyId: string, body: {
|
|
vehicleId: string;
|
|
customerId: string;
|
|
startDate: string;
|
|
endDate: string;
|
|
pickupLocation?: string;
|
|
returnLocation?: string;
|
|
offerId?: string;
|
|
promoCodeUsed?: string;
|
|
depositAmount?: number;
|
|
paymentMode?: string;
|
|
notes?: string;
|
|
selectedInsurancePolicyIds?: string[];
|
|
additionalDrivers?: any[];
|
|
}): Promise<any>;
|
|
export declare function updateReservation(id: string, companyId: string, body: {
|
|
startDate?: string;
|
|
endDate?: string;
|
|
pickupLocation?: string | null;
|
|
returnLocation?: string | null;
|
|
depositAmount?: number;
|
|
notes?: string | null;
|
|
paymentMode?: string | null;
|
|
damageChargeAmount?: number;
|
|
damageChargeNote?: string | null;
|
|
}): Promise<any>;
|
|
//# sourceMappingURL=reservation.service.d.ts.map
|