/** * MailerLite Node - Version 1 * Discriminator: resource=subscriber, operation=create */ interface Credentials { mailerLiteApi: CredentialReference; } /** Create a new subscriber */ export type MailerLiteV1SubscriberCreateParams = { resource: 'subscriber'; operation: 'create'; /** * Email of new subscriber */ email?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Confirmation Timestamp */ confirmation_timestamp?: string | Expression | PlaceholderValue; /** Confirmation IP */ confirmation_ip?: string | Expression | PlaceholderValue; /** Filter by custom fields * @default {} */ customFieldsUi?: { /** Custom Field */ customFieldsValues?: Array<{ /** The ID of the field to add custom field to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ fieldId?: string | Expression; /** The value to set on custom field */ value?: string | Expression | PlaceholderValue; }>; }; /** Name */ name?: string | Expression | PlaceholderValue; /** Whether to reactivate subscriber * @default false */ resubscribe?: boolean | Expression; /** Signup IP */ signup_ip?: string | Expression | PlaceholderValue; /** Signup Timestamp */ signup_timestamp?: string | Expression | PlaceholderValue; /** Type */ type?: 'active' | 'unsubscribed' | 'unconfirmed' | Expression; }; }; export type MailerLiteV1SubscriberCreateNode = { type: 'n8n-nodes-base.mailerLite'; version: 1; credentials?: Credentials; config: NodeConfig; };