UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

76 lines (72 loc) 1.73 kB
/** * Copper Node - Version 1 * Discriminator: resource=company, operation=update */ interface Credentials { copperApi: CredentialReference; } export type CopperV1CompanyUpdateParams = { resource: 'company'; operation: 'update'; /** * ID of the company to update */ companyId?: string | Expression<string> | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Address * @default {} */ address?: { /** Address Fields */ addressFields?: { /** Street */ street?: string | Expression<string> | PlaceholderValue; /** City */ city?: string | Expression<string> | PlaceholderValue; /** State */ state?: string | Expression<string> | PlaceholderValue; /** Postal Code */ postal_code?: string | Expression<string> | PlaceholderValue; /** ISO 3166 alpha-2 country code */ country?: string | Expression<string> | PlaceholderValue; }; }; /** Description to set for the company */ details?: string | Expression<string> | PlaceholderValue; /** Name to set for the company */ name?: string | Expression<string> | PlaceholderValue; /** Phone Numbers * @default {} */ phone_numbers?: { /** Phone Fields */ phoneFields?: Array<{ /** Number */ number?: string | Expression<string> | PlaceholderValue; /** Category */ category?: string | Expression<string> | PlaceholderValue; }>; }; }; }; export type CopperV1CompanyUpdateNode = { type: 'n8n-nodes-base.copper'; version: 1; credentials?: Credentials; config: NodeConfig<CopperV1CompanyUpdateParams>; };