/** * MailerLite Node - Version 2 * Discriminator: resource=subscriber, operation=update */ interface Credentials { mailerLiteApi: CredentialReference; } /** Update an subscriber */ export type MailerLiteV2SubscriberUpdateParams = { resource: 'subscriber'; operation: 'update'; /** * Email of subscriber */ subscriberId?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** 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; }>; }; /** Status */ status?: 'active' | 'bounced' | 'junk' | 'unconfirmed' | 'unsubscribed' | Expression; /** Subscribed At */ subscribed_at?: string | Expression; /** IP Address */ ip_address?: string | Expression | PlaceholderValue; /** Opted In At */ opted_in_at?: string | Expression; /** Opt In IP */ optin_ip?: string | Expression | PlaceholderValue; /** Unsubscribed At */ unsubscribed_at?: string | Expression; }; }; export type MailerLiteV2SubscriberUpdateNode = { type: 'n8n-nodes-base.mailerLite'; version: 2; credentials?: Credentials; config: NodeConfig; };