/** * SyncroMSP Node - Version 1 * Discriminator: resource=customer, operation=update */ interface Credentials { syncroMspApi: CredentialReference; } /** Update customer */ export type SyncroMspV1CustomerUpdateParams = { resource: 'customer'; operation: 'update'; /** * Customer ID */ customerId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Address * @default {} */ address?: { /** Address Fields */ addressFields?: { /** Line 1 */ address?: string | Expression | PlaceholderValue; /** Line 2 */ address2?: string | Expression | PlaceholderValue; /** City */ city?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** ZIP */ zip?: string | Expression | PlaceholderValue; }; }; /** Business Name */ businessName?: string | Expression | PlaceholderValue; /** Email */ email?: string | Expression | PlaceholderValue; /** First Name */ firstName?: string | Expression | PlaceholderValue; /** Get SMS * @default true */ getSms?: boolean | Expression; /** Invoice Emails */ invoiceCcEmails?: string | Expression | PlaceholderValue; /** Last Name */ lastName?: string | Expression | PlaceholderValue; /** No Email * @default false */ noEmail?: boolean | Expression; /** Notes */ notes?: string | Expression | PlaceholderValue; /** Notification Email * @displayOptions.show { noEmail: [false] } */ notificationEmail?: string | Expression | PlaceholderValue; /** Phone */ phone?: string | Expression | PlaceholderValue; /** Source from which customer is referred to the platform like Linkedin, Google, Customer name etc */ referredBy?: string | Expression | PlaceholderValue; }; }; export type SyncroMspV1CustomerUpdateNode = { type: 'n8n-nodes-base.syncroMsp'; version: 1; credentials?: Credentials; config: NodeConfig; };