| 32 | } |
| 33 | |
| 34 | export interface CRM { |
| 35 | createEvent: (event: CalendarEvent, contacts: Contact[]) => Promise<CrmEvent | undefined>; |
| 36 | updateEvent: (uid: string, event: CalendarEvent) => Promise<CrmEvent>; |
| 37 | deleteEvent: (uid: string, event: CalendarEvent) => Promise<void>; |
| 38 | getContacts: ({ |
| 39 | emails, |
| 40 | includeOwner, |
| 41 | forRoundRobinSkip, |
| 42 | }: { |
| 43 | emails: string | string[]; |
| 44 | includeOwner?: boolean; |
| 45 | forRoundRobinSkip?: boolean; |
| 46 | }) => Promise<Contact[]>; |
| 47 | createContacts: ( |
| 48 | contactsToCreate: ContactCreateInput[], |
| 49 | organizerEmail?: string, |
| 50 | calEventResponses?: CalEventResponses | null |
| 51 | ) => Promise<Contact[]>; |
| 52 | getAppOptions: () => any; |
| 53 | handleAttendeeNoShow?: ( |
| 54 | bookingUid: string, |
| 55 | attendees: { email: string; noShow: boolean }[] |
| 56 | ) => Promise<void>; |
| 57 | } |
nothing calls this directly
no outgoing calls
no test coverage detected