/** * Emelia Node - Version 1 * Discriminator: resource=campaign, operation=duplicate */ interface Credentials { emeliaApi: CredentialReference; } export type EmeliaV1CampaignDuplicateParams = { resource: 'campaign'; operation: 'duplicate'; /** * The ID of the campaign to duplicate. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ campaignId?: string | Expression; /** * The name of the new campaign to create */ campaignName?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Whether to copy all the contacts from the original campaign * @default false */ copyContacts?: boolean | Expression; /** Whether to set the same email provider than the original campaign * @default true */ copyProvider?: boolean | Expression; /** Whether to copy all the steps of the email sequence from the original campaign * @default true */ copyMails?: boolean | Expression; /** Whether to copy all the general settings from the original campaign * @default true */ copySettings?: boolean | Expression; }; }; export type EmeliaV1CampaignDuplicateNode = { type: 'n8n-nodes-base.emelia'; version: 1; credentials?: Credentials; config: NodeConfig; };