n8n/packages/nodes-base/nodes/AgileCrm/ContactInterface.ts
2020-05-05 13:59:45 +02:00

28 lines
484 B
TypeScript

import {
IDataObject,
} from 'n8n-workflow';
export interface IProperty {
type: string;
name: string;
subtype?: string;
value?: string;
}
export interface IContact {
type?: string,
star_value?: string;
lead_score?: string;
tags?: string[];
properties?: IDataObject[];
}
export interface IContactUpdate {
id: string,
properties?: IDataObject[],
star_value?: string;
lead_score?: string;
tags?: string[];
}