/** * QuickBooks Online Node - Version 1 * Discriminator: resource=vendor, operation=update */ interface Credentials { quickBooksOAuth2Api: CredentialReference; } export type QuickbooksV1VendorUpdateParams = { resource: 'vendor'; operation: 'update'; /** * The ID of the vendor to update */ vendorId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Account Number */ AcctNum?: string | Expression | PlaceholderValue; /** Whether the employee is currently enabled for use by QuickBooks * @default false */ Active?: boolean | Expression; /** The balance reflecting any payments made against the transaction * @default 0 */ Balance?: 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; }; }; /** Company Name */ CompanyName?: string | Expression | PlaceholderValue; /** Family Name */ FamilyName?: string | Expression | PlaceholderValue; /** Given Name */ GivenName?: string | Expression | PlaceholderValue; /** Primary Email Address */ PrimaryEmailAddr?: string | Expression | PlaceholderValue; /** Primary Phone */ PrimaryPhone?: string | Expression | PlaceholderValue; /** Name of the vendor as printed on a check */ PrintOnCheckName?: string | Expression | PlaceholderValue; /** Whether the vendor is an independent contractor, given a 1099-MISC form at the end of the year * @default false */ Vendor1099?: boolean | Expression; }; }; export type QuickbooksV1VendorUpdateNode = { type: 'n8n-nodes-base.quickbooks'; version: 1; credentials?: Credentials; config: NodeConfig; };