/** * Copper Node - Version 1 * Discriminator: resource=person, operation=update */ interface Credentials { copperApi: CredentialReference; } export type CopperV1PersonUpdateParams = { resource: 'person'; operation: 'update'; /** * ID of the person to update */ personId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Address * @default {} */ address?: { /** Address Fields */ addressFields?: { /** Street */ street?: string | Expression | PlaceholderValue; /** City */ city?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Postal Code */ postal_code?: string | Expression | PlaceholderValue; /** ISO 3166 alpha-2 country code */ country?: string | Expression | PlaceholderValue; }; }; /** Description to set for the person */ details?: string | Expression | PlaceholderValue; /** Email Domain */ email_domain?: string | Expression | PlaceholderValue; /** Emails * @default {} */ emails?: { /** Email Fields */ emailFields?: Array<{ /** Email */ email?: string | Expression | PlaceholderValue; /** Category */ category?: string | Expression | PlaceholderValue; }>; }; /** Name to set for the person */ name?: string | Expression | PlaceholderValue; /** Phone Numbers * @default {} */ phone_numbers?: { /** Phone Fields */ phoneFields?: Array<{ /** Number */ number?: string | Expression | PlaceholderValue; /** Category */ category?: string | Expression | PlaceholderValue; }>; }; }; }; export type CopperV1PersonUpdateNode = { type: 'n8n-nodes-base.copper'; version: 1; credentials?: Credentials; config: NodeConfig; };