2020-04-30 05:03:36 -07:00
|
|
|
import {
|
|
|
|
IDataObject,
|
2020-05-11 11:22:31 -07:00
|
|
|
} from 'n8n-workflow';
|
2020-04-30 05:03:36 -07:00
|
|
|
|
2020-05-11 11:22:31 -07:00
|
|
|
export interface IProperty {
|
|
|
|
type: string;
|
|
|
|
name: string;
|
|
|
|
subtype?: string;
|
|
|
|
value?: string;
|
2020-04-30 05:03:36 -07:00
|
|
|
}
|
|
|
|
|
2020-05-11 11:22:31 -07:00
|
|
|
export interface IContact {
|
|
|
|
type?: string;
|
|
|
|
star_value?: string;
|
|
|
|
lead_score?: string;
|
|
|
|
tags?: string[];
|
|
|
|
properties?: IDataObject[];
|
|
|
|
}
|
2020-05-05 02:08:30 -07:00
|
|
|
|
2020-05-11 11:22:31 -07:00
|
|
|
export interface IContactUpdate {
|
|
|
|
id: string;
|
|
|
|
properties?: IDataObject[];
|
|
|
|
star_value?: string;
|
|
|
|
lead_score?: string;
|
|
|
|
tags?: string[];
|
|
|
|
}
|