/** * MailerLite Node - Version 1 * Discriminator: resource=subscriber, operation=update */ interface Credentials { mailerLiteApi: CredentialReference; } /** Update an subscriber */ export type MailerLiteV1SubscriberUpdateParams = { resource: 'subscriber'; operation: 'update'; /** * Email of subscriber */ subscriberId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** 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 it is needed to resend autoresponders * @default false */ resend_autoresponders?: boolean | Expression; /** Type */ type?: 'active' | 'unsubscribed' | 'unconfirmed' | Expression; }; }; export type MailerLiteV1SubscriberUpdateNode = { type: 'n8n-nodes-base.mailerLite'; version: 1; credentials?: Credentials; config: NodeConfig; };