/** * Agile CRM Node - Version 1 * Discriminator: resource=deal, operation=update */ interface Credentials { agileCrmApi: CredentialReference; } /** Update contact properties */ export type AgileCrmV1DealUpdateParams = { resource: 'deal'; operation: 'update'; /** * ID of deal to update */ dealId?: string | Expression | PlaceholderValue; /** * JSON Parameters * @default false */ jsonParameters?: boolean | Expression; /** * Object of values to set as described <a href="https://github.com/agilecrm/rest-api#1-deals---companies-api">here</a> * @displayOptions.show { jsonParameters: [true] } */ additionalFieldsJson?: IDataObject | string | Expression; /** * Additional Fields * @displayOptions.show { jsonParameters: [false] } * @default {} */ additionalFields?: { /** Expected Value of deal */ expectedValue?: number | Expression; /** Name of deal */ name?: string | Expression | PlaceholderValue; /** Expected Value of deal * @default 50 */ probability?: number | Expression; /** Unique contact identifiers * @default [] */ contactIds?: string | Expression | PlaceholderValue; /** Custom Data * @default {} */ customData?: { /** Property */ customProperty?: Array<{ /** Property name */ name?: string | Expression | PlaceholderValue; /** Property value */ value?: string | Expression | PlaceholderValue; }>; }; }; }; export type AgileCrmV1DealUpdateNode = { type: 'n8n-nodes-base.agileCrm'; version: 1; credentials?: Credentials; config: NodeConfig; };