/** * GetResponse Node - Version 1 * Discriminator: resource=contact, operation=getAll */ interface Credentials { getResponseApi: CredentialReference; getResponseOAuth2Api: CredentialReference; } /** Get many contacts */ export type GetResponseV1ContactGetAllParams = { resource: 'contact'; operation: 'getAll'; authentication?: 'apiKey' | 'oAuth2' | 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 20 */ limit?: number | Expression; /** * Options * @default {} */ options?: { /** Search contacts by campaign ID */ campaignId?: string | Expression | PlaceholderValue; /** Search contacts edited from this date */ changeOnFrom?: string | Expression; /** Search contacts edited to this date */ changeOnTo?: string | Expression; /** Count data from this date */ createdOnFrom?: string | Expression; /** Count data from this date */ createdOnTo?: string | Expression; /** Whether to search for contacts with the exact value of the email and name provided in the query string. Without this flag, matching is done via a standard 'like' comparison, which may sometimes be slow. * @default false */ exactMatch?: boolean | Expression; /** List of fields that should be returned. ID is always returned. Fields should be separated by comma */ fields?: string | Expression | PlaceholderValue; /** Search contacts by name */ name?: string | Expression | PlaceholderValue; /** Search contacts by origin */ origin?: 'api' | 'copy' | 'email' | 'forward' | 'import' | 'iphone' | 'landing_page' | 'leads' | 'panel' | 'sale' | 'survey' | 'webinar' | 'www' | Expression; /** Sort By */ sortBy?: 'campaignId' | 'changedOn' | 'createdOn' | 'email' | Expression; /** Sort Order */ sortOrder?: 'ASC' | 'DESC' | Expression; }; }; export type GetResponseV1ContactGetAllOutput = { activities?: string; campaign?: { campaignId?: string; href?: string; name?: string; }; changedOn?: string; contactId?: string; createdOn?: string; email?: string; href?: string; ipAddress?: string; note?: null; origin?: string; timeZone?: string; }; export type GetResponseV1ContactGetAllNode = { type: 'n8n-nodes-base.getResponse'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };