/** * Microsoft Dynamics CRM Node - Version 1 * Discriminator: resource=account, operation=update */ interface Credentials { microsoftDynamicsOAuth2Api: CredentialReference; } export type MicrosoftDynamicsCrmV1AccountUpdateParams = { resource: 'account'; operation: 'update'; /** * Account ID */ accountId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Category to indicate whether the customer account is standard or preferred. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ accountcategorycode?: string | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ accountratingcode?: string | Expression; /** Address * @default {} */ addresses?: { /** Address Fields */ address?: Array<{ /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ addresstypecode?: string | Expression; /** Line1 */ line1?: string | Expression | PlaceholderValue; /** Line2 */ line2?: string | Expression | PlaceholderValue; /** Line3 */ line3?: string | Expression | PlaceholderValue; /** City */ city?: string | Expression | PlaceholderValue; /** State or Province */ stateorprovince?: string | Expression | PlaceholderValue; /** Country */ country?: string | Expression | PlaceholderValue; /** Name */ name?: string | Expression | PlaceholderValue; /** Postalcode */ postalcode?: string | Expression | PlaceholderValue; /** Primary Contact Name */ primarycontactname?: string | Expression | PlaceholderValue; /** Telephone1 */ telephone1?: string | Expression | PlaceholderValue; /** Telephone2 */ telephone2?: string | Expression | PlaceholderValue; /** Fax */ fax?: string | Expression | PlaceholderValue; }>; }; /** The legal designation or other business type of the account for contracts or reporting purposes. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ businesstypecode?: string | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ customersizecode?: string | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ customertypecode?: string | Expression; /** Additional information to describe the account, such as an excerpt from the company’s website */ description?: string | Expression | PlaceholderValue; /** The primary email address for the account */ emailaddress1?: string | Expression | PlaceholderValue; /** The secondary email address for the account */ emailaddress2?: string | Expression | PlaceholderValue; /** Alternate email address for the account */ emailaddress3?: string | Expression | PlaceholderValue; /** Fax */ fax?: string | Expression | PlaceholderValue; /** URL for the account’s FTP site to enable users to access data and share documents */ ftpsiteurl?: string | Expression | PlaceholderValue; /** The account’s primary industry for use in marketing segmentation and demographic analysis. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ industrycode?: string | Expression; /** Company o business name */ name?: string | Expression | PlaceholderValue; /** Credit limit of the account. This is a useful reference when you address invoice and accounting issues with the customer. */ creditlimit?: number | Expression; /** Number of employees that work at the account for use in marketing segmentation and demographic analysis * @default 0 */ numberofemployees?: number | Expression; /** The payment terms to indicate when the customer needs to pay the total amount. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ paymenttermscode?: string | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ preferredappointmentdaycode?: string | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ preferredappointmenttimecode?: string | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ preferredcontactmethodcode?: string | Expression; /** Primary Satori ID */ primarysatoriid?: string | Expression | PlaceholderValue; /** Primary Twitter ID */ primarytwitterid?: string | Expression | PlaceholderValue; /** The annual revenue for the account, used as an indicator in financial performance analysis */ revenue?: number | Expression; /** The number of shares available to the public for the account. This number is used as an indicator in financial performance analysis. */ sharesoutstanding?: number | Expression; /** Shipping method for deliveries sent to the account’s address to designate the preferred carrier or other delivery option. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ shippingmethodcode?: string | Expression; /** The Standard Industrial Classification (SIC) code that indicates the account’s primary industry of business, for use in marketing segmentation and demographic analysis */ sic?: string | Expression | PlaceholderValue; /** Stage ID */ stageid?: string | Expression | PlaceholderValue; /** The stock exchange at which the account is listed to track their stock and financial performance of the company */ stockexchange?: string | Expression | PlaceholderValue; /** The main phone number for this account */ telephone1?: string | Expression | PlaceholderValue; /** The second phone number for this account */ telephone2?: string | Expression | PlaceholderValue; /** The third phone number for this account */ telephone3?: string | Expression | PlaceholderValue; /** Region or territory for the account for use in segmentation and analysis. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ territorycode?: string | Expression; /** Type the stock exchange symbol for the account to track financial performance of the company. You can click the code entered in this field to access the latest trading information from MSN Money. */ tickersymbol?: string | Expression | PlaceholderValue; /** The account’s website URL to get quick details about the company profile */ websiteurl?: string | Expression | PlaceholderValue; /** The phonetic spelling of the company name, if specified in Japanese, to make sure the name is pronounced correctly in phone calls and other communications */ yominame?: string | Expression | PlaceholderValue; }; /** * Options * @default {} */ options?: { /** Fields the response will include. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ returnFields?: string[]; }; }; export type MicrosoftDynamicsCrmV1AccountUpdateNode = { type: 'n8n-nodes-base.microsoftDynamicsCrm'; version: 1; credentials?: Credentials; config: NodeConfig; };