/** * Mailchimp Node - Version 1 * Discriminator: resource=member, operation=getAll */ interface Credentials { mailchimpApi: CredentialReference; mailchimpOAuth2Api: CredentialReference; } /** Get many members on a list */ export type MailchimpV1MemberGetAllParams = { resource: 'member'; operation: 'getAll'; authentication?: 'apiKey' | 'oAuth2' | Expression; /** * List of lists. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ list?: string | Expression; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 500 */ limit?: number | Expression; /** * Options * @default {} */ options?: { /** Restrict results to subscribers whose information changed before the set timeframe */ beforeLastChanged?: string | Expression; /** Restrict results to subscribers who opted-in before the set timeframe */ beforeTimestampOpt?: string | Expression; /** Type of email this member asked to get */ emailType?: 'html' | 'text' | Expression; /** Subscriber's current status */ status?: 'cleaned' | 'pending' | 'subscribed' | 'transactional' | 'unsubscribed' | Expression; /** Restrict results to subscribers whose information changed after the set timeframe */ sinceLastChanged?: string | Expression; }; }; export type MailchimpV1MemberGetAllOutput = { _links?: Array<{ href?: string; method?: string; rel?: string; schema?: string; targetSchema?: string; }>; consents_to_one_to_one_messaging?: boolean; contact_id?: string; email_address?: string; email_client?: string; email_type?: string; full_name?: string; id?: string; ip_opt?: string; ip_signup?: string; language?: string; last_changed?: string; list_id?: string; location?: { country_code?: string; dstoff?: number; gmtoff?: number; region?: string; timezone?: string; }; member_rating?: number; merge_fields?: { FNAME?: string; LNAME?: string; PHONE?: string; }; sms_phone_number?: string; sms_subscription_last_updated?: string; sms_subscription_status?: string; source?: string; status?: string; tags?: Array<{ id?: number; }>; tags_count?: number; timestamp_opt?: string; timestamp_signup?: string; unique_email_id?: string; vip?: boolean; web_id?: number; }; export type MailchimpV1MemberGetAllNode = { type: 'n8n-nodes-base.mailchimp'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };