n8n/packages/nodes-base/nodes/Segment/TrackInterface.ts

20 lines
334 B
TypeScript
Raw Normal View History

import {
IDataObject,
} from 'n8n-workflow';
2020-01-23 09:27:28 -08:00
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;
}