n8n/packages/nodes-base/nodes/Segment/TrackInterface.ts
2020-09-07 09:04:27 +02:00

20 lines
334 B
TypeScript

import {
IDataObject,
} from 'n8n-workflow';
export interface ITrack {
event?: string;
userId?: string;
name?: string;
anonymousId?: string;
traits?: IDataObject;
context?: IDataObject;
timestamp?: string;
properties?: IDataObject;
integrations?: IDataObject;
}
export interface IGroup extends ITrack{
groupId: string;
}