/** * Customer.io Node - Version 1 * Discriminator: resource=event, operation=trackAnonymous */ interface Credentials { customerIoApi: CredentialReference; } /** Track an anonymous event */ export type CustomerIoV1EventTrackAnonymousParams = { resource: 'event'; operation: 'trackAnonymous'; /** * The unique identifier for the customer */ eventName?: string | Expression | PlaceholderValue; /** * JSON Parameters * @default false */ jsonParameters?: boolean | Expression; /** * Object of values to set as described <a href="https://customer.io/docs/api-triggered-data-format#basic-data-formatting">here</a> * @displayOptions.show { jsonParameters: [true] } */ additionalFieldsJson?: IDataObject | string | Expression; /** * Additional Fields * @displayOptions.show { jsonParameters: [false] } * @default {} */ additionalFields?: { /** Custom Properties * @default {} */ customAttributes?: { /** Attribute */ customAttribute?: Array<{ /** Attribute name */ key?: string | Expression | PlaceholderValue; /** Attribute value */ value?: string | Expression | PlaceholderValue; }>; }; }; }; export type CustomerIoV1EventTrackAnonymousNode = { type: 'n8n-nodes-base.customerIo'; version: 1; credentials?: Credentials; config: NodeConfig; };