
* Suggestion: let prettier sort imports order # Conflicts: # yarn.lock * AUTO SORT ALL THE IMPORTS * Linting * Fixes test
22 lines
431 B
TypeScript
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;
|
|
};
|