calcom/lib/types/booking.ts
Omar López d194878bb2
Suggestion: let prettier sort imports order (#673)
* Suggestion: let prettier sort imports order

# Conflicts:
#	yarn.lock

* AUTO SORT ALL THE IMPORTS

* Linting

* Fixes test
2021-09-22 13:52:38 -06:00

22 lines
431 B
TypeScript

import { Booking } from "@prisma/client";
import { LocationType } from "@lib/location";
export type BookingCreateBody = {
email: string;
end: string;
eventTypeId: number;
guests: string[];
location?: LocationType;
name: string;
notes: string;
rescheduleUid?: string;
start: string;
timeZone: string;
users?: string[];
user?: string;
};
export type BookingResponse = Booking & {
paymentUid?: string;
};