/** * Sendy Node - Version 1 * Discriminator: resource=campaign, operation=create */ interface Credentials { sendyApi: CredentialReference; } /** Create a campaign */ export type SendyV1CampaignCreateParams = { resource: 'campaign'; operation: 'create'; /** * The 'From name' of your campaign */ fromName?: string | Expression | PlaceholderValue; /** * The 'From email' of your campaign */ fromEmail?: string | Expression | PlaceholderValue; /** * The 'Reply to' of your campaign */ replyTo?: string | Expression | PlaceholderValue; /** * The 'Title' of your campaign */ title?: string | Expression | PlaceholderValue; /** * The 'Subject' of your campaign */ subject?: string | Expression | PlaceholderValue; /** * The 'HTML version' of your campaign */ htmlText?: string | Expression | PlaceholderValue; /** * Whether to send the campaign as well and not just create a draft. Default is false. * @default false */ sendCampaign?: boolean | Expression; /** * Brand ID * @displayOptions.show { sendCampaign: [false] } */ brandId?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Lists to exclude from your campaign. List IDs should be single or comma-separated. */ excludeListIds?: string | Expression | PlaceholderValue; /** Segments to exclude from your campaign. Segment IDs should be single or comma-separated. */ excludeSegmentIds?: string | Expression | PlaceholderValue; /** List IDs should be single or comma-separated */ listIds?: string | Expression | PlaceholderValue; /** The 'Plain text version' of your campaign */ plainText?: string | Expression | PlaceholderValue; /** Google Analytics tags */ queryString?: string | Expression | PlaceholderValue; /** Segment IDs should be single or comma-separated */ segmentIds?: string | Expression | PlaceholderValue; /** Whether to disable clicks tracking. Default is true. * @default true */ trackClicks?: boolean | Expression; /** Whether to disable opens tracking. Default is true. * @default true */ trackOpens?: boolean | Expression; }; }; export type SendyV1CampaignCreateNode = { type: 'n8n-nodes-base.sendy'; version: 1; credentials?: Credentials; config: NodeConfig; };