calcom/lib/types/booking.ts
Mihai C 8d6fec79d3
feat: add translations for emails and type error fixes overall (#994)
* feat: add translations for forgot password email and misc

* fix: type fixes

* feat: translate invitation email

* fix: e2e tests

* fix: lint

* feat: type fixes and i18n for emails

* Merge main

* fix: jest import on server path

* Merge

* fix: playwright tests

* fix: lint

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-10-25 14:05:21 +01:00

23 lines
451 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;
language: string;
};
export type BookingResponse = Booking & {
paymentUid?: string;
};