archetecture security fix
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
type AvailabilityStatus = 'AVAILABLE' | 'RESERVED' | 'MAINTENANCE' | 'UNAVAILABLE';
|
||||
type DateRange = {
|
||||
startDate: Date;
|
||||
endDate: Date;
|
||||
};
|
||||
export interface VehicleAvailabilitySummary {
|
||||
available: boolean;
|
||||
status: AvailabilityStatus;
|
||||
nextAvailableAt: Date | null;
|
||||
blockingReason: 'RESERVATION' | 'MAINTENANCE' | 'BLOCK' | 'STATUS' | null;
|
||||
}
|
||||
export declare function getVehicleAvailabilitySummary(vehicleId: string, { range, includeDraftReservations, companyId, }?: {
|
||||
range?: DateRange;
|
||||
includeDraftReservations?: boolean;
|
||||
companyId?: string;
|
||||
}): Promise<VehicleAvailabilitySummary>;
|
||||
export {};
|
||||
//# sourceMappingURL=vehicleAvailabilityService.d.ts.map
|
||||
Reference in New Issue
Block a user