/** * GetResponse Node - Version 1 * Discriminator: resource=contact, operation=update */ interface Credentials { getResponseApi: CredentialReference; getResponseOAuth2Api: CredentialReference; } /** Update contact properties */ export type GetResponseV1ContactUpdateParams = { resource: 'contact'; operation: 'update'; authentication?: 'apiKey' | 'oAuth2' | Expression; /** * Unique identifier for a particular contact */ contactId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ campaignId?: string | Expression; /** Custom Fields * @default {} */ customFieldsUi?: { /** Custom Field */ customFieldValues?: Array<{ /** The end user specified key of the user defined data. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ customFieldId?: string | Expression; /** The end user specified value of the user defined data */ value?: string | Expression | PlaceholderValue; }>; }; /** The day on which the contact is in the Autoresponder cycle. null indicates the contacts is not in the cycle. */ dayOfCycle?: string | Expression | PlaceholderValue; /** Email */ email?: string | Expression | PlaceholderValue; /** The contact's IP address. IPv4 and IPv6 formats are accepted. */ ipAddress?: string | Expression | PlaceholderValue; /** Name */ name?: string | Expression | PlaceholderValue; /** Note */ note?: string | Expression | PlaceholderValue; /** Contact scoring, pass null to remove the score from a contact */ scoring?: number | Expression; /** Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default [] */ tags?: string[]; }; }; export type GetResponseV1ContactUpdateNode = { type: 'n8n-nodes-base.getResponse'; version: 1; credentials?: Credentials; config: NodeConfig; };