/** * QuickBooks Online Node - Version 1 * Discriminator: resource=customer, operation=update */ interface Credentials { quickBooksOAuth2Api: CredentialReference; } export type QuickbooksV1CustomerUpdateParams = { resource: 'customer'; operation: 'update'; /** * The ID of the customer to update */ customerId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Whether the customer is currently enabled for use by QuickBooks * @default true */ Active?: boolean | Expression; /** Open balance amount or amount unpaid by the customer */ Balance?: string | Expression | PlaceholderValue; /** Cumulative open balance amount for the customer (or job) and all its sub-jobs * @default 0 */ BalanceWithJobs?: number | Expression; /** Billing Address * @default {} */ BillAddr?: { /** Details */ details?: { /** City */ City?: string | Expression | PlaceholderValue; /** Line 1 */ Line1?: string | Expression | PlaceholderValue; /** Postal Code */ PostalCode?: string | Expression | PlaceholderValue; /** Latitude */ Lat?: string | Expression | PlaceholderValue; /** Longitude */ Long?: string | Expression | PlaceholderValue; /** Country Subdivision Code */ CountrySubDivisionCode?: string | Expression | PlaceholderValue; }; }; /** Whether to bill this customer together with its parent * @default false */ BillWithParent?: boolean | Expression; /** Company Name */ CompanyName?: string | Expression | PlaceholderValue; /** Family Name */ FamilyName?: string | Expression | PlaceholderValue; /** Fully Qualified Name */ FullyQualifiedName?: string | Expression | PlaceholderValue; /** Given Name */ GivenName?: string | Expression | PlaceholderValue; /** Preferred Delivery Method * @default Print */ PreferredDeliveryMethod?: 'Print' | 'Email' | 'None' | Expression; /** Primary Email Address */ PrimaryEmailAddr?: string | Expression | PlaceholderValue; /** Primary Phone */ PrimaryPhone?: string | Expression | PlaceholderValue; /** Name of the customer as printed on a check */ PrintOnCheckName?: string | Expression | PlaceholderValue; /** Whether transactions for this customer are taxable * @default false */ Taxable?: boolean | Expression; }; }; export type QuickbooksV1CustomerUpdateNode = { type: 'n8n-nodes-base.quickbooks'; version: 1; credentials?: Credentials; config: NodeConfig; };