feat: Salesforce - pass company booking response to the Lead field (#17860)
* Catch undefined app option properties * Add `getCompanyNameFromBookingResponse` method * Pass bookingResponse when Lead is being created * Pass bookingResponse from CRMManager * Handle empty company response * Return the company value
This commit is contained in:
1 parent
0b66ddc6db
commit
f81716fbb2
3 files changed
+67
-19
No files matched your search
Vendored
+6
-2
@@ -1,4 +1,4 @@
|
||||
import type { CalendarEvent } from "./Calendar";
|
||||
import type { CalendarEvent, CalEventResponses } from "./Calendar";
|
||||
|
||||
export interface CrmData {
|
||||
id: string;
|
||||
@@ -38,7 +38,11 @@ export interface CRM {
|
||||
includeOwner?: boolean;
|
||||
forRoundRobinSkip?: boolean;
|
||||
}) => Promise<Contact[]>;
|
||||
createContacts: (contactsToCreate: ContactCreateInput[], organizerEmail?: string) => Promise<Contact[]>;
|
||||
createContacts: (
|
||||
contactsToCreate: ContactCreateInput[],
|
||||
organizerEmail?: string,
|
||||
calEventResponses?: CalEventResponses | null
|
||||
) => Promise<Contact[]>;
|
||||
getAppOptions: () => any;
|
||||
handleAttendeeNoShow?: (
|
||||
bookingUid: string,
|
||||
|
||||
Reference in new issue
Block a user