/** * SyncroMSP Node - Version 1 * Discriminator: resource=customer, operation=create */ interface Credentials { syncroMspApi: CredentialReference; } /** Create new customer */ export type SyncroMspV1CustomerCreateParams = { resource: 'customer'; operation: 'create'; /** * Email */ email?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** 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; /** First Name */ firstName?: string | Expression | PlaceholderValue; /** Get SMS * @default false */ 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 SyncroMspV1CustomerCreateNode = { type: 'n8n-nodes-base.syncroMsp'; version: 1; credentials?: Credentials; config: NodeConfig; };