MCPcopy
hub / github.com/calcom/cal.diy / CRM

Interface CRM

packages/types/CrmService.d.ts:34–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34export 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}

Callers

nothing calls this directly

Implementers 6

CloseComCRMServicepackages/app-store/closecom/lib/CrmSer
BiginCrmServicepackages/app-store/zoho-bigin/lib/CrmS
HubspotCalendarServicepackages/app-store/hubspot/lib/CrmServ
ZohoCrmCrmServicepackages/app-store/zohocrm/lib/CrmServ
PipedriveCrmServicepackages/app-store/pipedrive-crm/lib/C
SalesforceCRMServicepackages/app-store/salesforce/lib/CrmS

Calls

no outgoing calls

Tested by

no test coverage detected