/** * PostHog Node - Version 1 * Discriminator: resource=track, operation=screen */ interface Credentials { postHogApi: CredentialReference; } /** Track a screen */ export type PostHogV1TrackScreenParams = { resource: 'track'; operation: 'screen'; /** * Name */ name?: string | Expression | PlaceholderValue; /** * The user's distinct ID */ distinctId?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Category */ category?: string | Expression | PlaceholderValue; /** Context * @default {} */ contextUi?: { /** Context */ contextValues?: Array<{ /** Key */ key?: string | Expression | PlaceholderValue; /** Value */ value?: string | Expression | PlaceholderValue; }>; }; /** Message ID */ messageId?: string | Expression | PlaceholderValue; /** Properties * @default {} */ propertiesUi?: { /** Property */ propertyValues?: Array<{ /** Key */ key?: string | Expression | PlaceholderValue; /** Value */ value?: string | Expression | PlaceholderValue; }>; }; /** If not set, it'll automatically be set to the current time */ timestamp?: string | Expression; }; }; export type PostHogV1TrackScreenNode = { type: 'n8n-nodes-base.postHog'; version: 1; credentials?: Credentials; config: NodeConfig; };