n8n/packages/nodes-base/nodes/Intercom/LeadInterface.ts

30 lines
571 B
TypeScript
Raw Normal View History

2021-01-13 11:20:30 -08:00
import { IDataObject } from 'n8n-workflow';
2019-11-16 15:47:28 -08:00
export interface ILeadCompany {
company_id?: string;
}
2019-11-21 09:39:04 -08:00
export interface IAvatar {
type?: string;
image_url?: string;
}
2019-11-16 15:47:28 -08:00
export interface ILead {
2019-11-20 06:45:58 -08:00
user_id?: string;
id?: string;
2019-11-21 09:39:04 -08:00
email?: string;
2019-11-16 15:47:28 -08:00
phone?: string;
name?: string;
custom_attributes?: IDataObject;
companies?: ILeadCompany[];
last_request_at?: number;
unsubscribed_from_emails?: boolean;
update_last_request_at?: boolean;
2019-11-21 09:39:04 -08:00
avatar?: IAvatar;
utm_source?: string;
utm_medium?: string;
utm_campaign?: string;
utm_term?: string;
utm_content?: string;
2019-11-16 15:47:28 -08:00
}