refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3432)

*  Update `lintfix` script

* 👕 Remove unneeded lint exceptions

* 👕 Run baseline `lintfix`

* 👕 Apply `node-param-description-miscased-url` (#3441)

* 👕 Apply `rule node-param-placeholder-miscased-id` (#3443)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-option-name-wrong-for-upsert` (#3446)

* 👕 Apply `node-param-min-value-wrong-for-limit` (#3442)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* Apply `node-param-display-name-wrong-for-dynamic-options` (#3454)

* 🔨 fix

*  Fix `Assigned To` fields

Co-authored-by: Michael Kret <michael.k@radency.com>

* 👕 Apply `rule node-param-default-wrong-for-number` (#3453)

* 👕 Apply `node-param-default-wrong-for-string` (#3452)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* Apply `node-param-display-name-miscased` (#3449)

* 🔨 fix

* 🔨 exceptions

*  review fixes

* 👕 Apply `node-param-description-lowercase-first-char` (#3451)

*  fix

*  review fixes

*  fix

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-description-wrong-for-dynamic-options` (#3456)

* Rule working as intended

* Add rule

* 🔥 Remove repetitions

* 👕 Add exceptions

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Small fix for `node-param-description-wrong-for-dynamic-options`

* 👕 Apply `node-param-default-wrong-for-fixed-collection` (#3460)

* 👕 Apply `node-param-description-line-break-html-tag` (#3462)

* 👕 Run baseline `lintfix`

* 👕 Apply `node-param-options-type-unsorted-items` (#3459)

*  fix

* 🔨 exceptions

* Add exception for Salesmate and Zoom

Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

*  Restore `lintfix` command

Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: brianinoa <54530642+brianinoa@users.noreply.github.com>
This commit is contained in:
Iván Ovejero
2022-06-03 19:23:49 +02:00
committed by GitHub
parent 58ecadf53c
commit 70ae90fa3c
501 changed files with 4668 additions and 4555 deletions

View File

@@ -100,14 +100,14 @@ export const accountFields: INodeProperties[] = [
description: 'Annual revenue of the account',
},
{
displayName: 'Business Type ID',
displayName: 'Business Type Name or ID',
name: 'business_type_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getBusinessTypes',
},
description: 'ID of the business that the account belongs to',
description: 'ID of the business that the account belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'City',
@@ -131,14 +131,14 @@ export const accountFields: INodeProperties[] = [
description: 'Facebook username of the account',
},
{
displayName: 'Industry Type ID',
displayName: 'Industry Type Name or ID',
name: 'industry_type_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getIndustryTypes',
},
description: 'ID of the industry that the account belongs to',
description: 'ID of the industry that the account belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'LinkedIn',
@@ -155,14 +155,14 @@ export const accountFields: INodeProperties[] = [
description: 'Number of employees in the account',
},
{
displayName: 'Owner ID',
displayName: 'Owner Name or ID',
name: 'owner_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user to whom the account is assigned',
description: 'ID of the user to whom the account is assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Parent Sales Account ID',
@@ -186,14 +186,14 @@ export const accountFields: INodeProperties[] = [
description: 'State that the account belongs to',
},
{
displayName: 'Territory ID',
displayName: 'Territory Name or ID',
name: 'territory_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getTerritories',
},
description: 'ID of the territory that the account belongs to',
description: 'ID of the territory that the account belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Twitter',
@@ -267,7 +267,7 @@ export const accountFields: INodeProperties[] = [
// account: getAll
// ----------------------------------------
{
displayName: 'View',
displayName: 'View Name or ID',
name: 'view',
type: 'options',
required: true,
@@ -380,14 +380,14 @@ export const accountFields: INodeProperties[] = [
description: 'Annual revenue of the account',
},
{
displayName: 'Business Type ID',
displayName: 'Business Type Name or ID',
name: 'business_type_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getBusinessTypes',
},
description: 'ID of the business that the account belongs to',
description: 'ID of the business that the account belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'City',
@@ -411,14 +411,14 @@ export const accountFields: INodeProperties[] = [
description: 'Facebook username of the account',
},
{
displayName: 'Industry Type ID',
displayName: 'Industry Type Name or ID',
name: 'industry_type_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getIndustryTypes',
},
description: 'ID of the industry that the account belongs to',
description: 'ID of the industry that the account belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'LinkedIn',
@@ -442,14 +442,14 @@ export const accountFields: INodeProperties[] = [
description: 'Number of employees in the account',
},
{
displayName: 'Owner ID',
displayName: 'Owner Name or ID',
name: 'owner_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user to whom the account is assigned',
description: 'ID of the user to whom the account is assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Parent Sales Account ID',
@@ -473,14 +473,14 @@ export const accountFields: INodeProperties[] = [
description: 'State that the account belongs to',
},
{
displayName: 'Territory ID',
displayName: 'Territory Name or ID',
name: 'territory_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getTerritories',
},
description: 'ID of the territory that the account belongs to',
description: 'ID of the territory that the account belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Twitter',

View File

@@ -149,7 +149,7 @@ export const appointmentFields: INodeProperties[] = [
default: 'contact',
},
{
displayName: 'User ID',
displayName: 'User Name or ID',
name: 'userId',
type: 'options',
displayOptions: {
@@ -199,14 +199,14 @@ export const appointmentFields: INodeProperties[] = [
},
options: [
{
displayName: 'Creator ID',
displayName: 'Creator Name or ID',
name: 'creater_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user who created the appointment',
description: 'ID of the user who created the appointment. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Is All-Day',
@@ -237,14 +237,14 @@ export const appointmentFields: INodeProperties[] = [
description: 'Longitude of the location when you check in for an appointment',
},
{
displayName: 'Outcome ID',
displayName: 'Outcome Name or ID',
name: 'outcome_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getOutcomes',
},
description: 'ID of outcome of Appointment sales activity type',
description: 'ID of outcome of Appointment sales activity type. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Target ID',
@@ -496,7 +496,7 @@ export const appointmentFields: INodeProperties[] = [
default: 'contact',
},
{
displayName: 'User ID',
displayName: 'User Name or ID',
name: 'userId',
type: 'options',
displayOptions: {
@@ -529,14 +529,14 @@ export const appointmentFields: INodeProperties[] = [
],
},
{
displayName: 'Creator ID',
displayName: 'Creator Name or ID',
name: 'creater_id',
type: 'options',
default: [],
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user who created the appointment',
description: 'ID of the user who created the appointment. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'End Date',
@@ -574,14 +574,14 @@ export const appointmentFields: INodeProperties[] = [
description: 'Longitude of the location when you check in for an appointment',
},
{
displayName: 'Outcome ID',
displayName: 'Outcome Name or ID',
name: 'outcome_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getOutcomes',
},
description: 'ID of outcome of Appointment sales activity type',
description: 'ID of outcome of Appointment sales activity type. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Start Date',

View File

@@ -129,14 +129,14 @@ export const contactFields: INodeProperties[] = [
description: 'Address of the contact',
},
{
displayName: 'Campaign ID',
displayName: 'Campaign Name or ID',
name: 'campaign_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getCampaigns',
},
description: 'ID of the campaign that led your contact to your webapp',
description: 'ID of the campaign that led your contact to your webapp. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'City',
@@ -146,14 +146,14 @@ export const contactFields: INodeProperties[] = [
description: 'City that the contact belongs to',
},
{
displayName: 'Contact Status ID',
displayName: 'Contact Status Name or ID',
name: 'contact_status_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getContactStatuses',
},
description: 'ID of the contact status that the contact belongs to',
description: 'ID of the contact status that the contact belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Country',
@@ -198,14 +198,14 @@ export const contactFields: INodeProperties[] = [
description: 'ID of the source where contact came from',
},
{
displayName: 'Lifecycle Stage ID',
displayName: 'Lifecycle Stage Name or ID',
name: 'lifecycle_stage_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getLifecycleStages',
},
description: 'ID of the lifecycle stage that the contact belongs to',
description: 'ID of the lifecycle stage that the contact belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'LinkedIn',
@@ -229,14 +229,14 @@ export const contactFields: INodeProperties[] = [
description: 'Mobile phone number of the contact',
},
{
displayName: 'Owner ID',
displayName: 'Owner Name or ID',
name: 'owner_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user to whom the contact is assigned',
description: 'ID of the user to whom the contact is assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Sales Accounts',
@@ -270,14 +270,14 @@ export const contactFields: INodeProperties[] = [
description: 'Type of subscription that the contact is in',
},
{
displayName: 'Territory ID',
displayName: 'Territory Name or ID',
name: 'territory_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getTerritories',
},
description: 'ID of the territory that the contact belongs to',
description: 'ID of the territory that the contact belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Time Zone',
@@ -358,7 +358,7 @@ export const contactFields: INodeProperties[] = [
// contact: getAll
// ----------------------------------------
{
displayName: 'View',
displayName: 'View Name or ID',
name: 'view',
type: 'options',
displayOptions: {
@@ -463,14 +463,14 @@ export const contactFields: INodeProperties[] = [
description: 'Address of the contact',
},
{
displayName: 'Campaign ID',
displayName: 'Campaign Name or ID',
name: 'campaign_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getCampaigns',
},
description: 'ID of the campaign that led your contact to your webapp',
description: 'ID of the campaign that led your contact to your webapp. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'City',
@@ -480,14 +480,14 @@ export const contactFields: INodeProperties[] = [
description: 'City that the contact belongs to',
},
{
displayName: 'Contact Status ID',
displayName: 'Contact Status Name or ID',
name: 'contact_status_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getContactStatuses',
},
description: 'ID of the contact status that the contact belongs to',
description: 'ID of the contact status that the contact belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Country',
@@ -539,24 +539,24 @@ export const contactFields: INodeProperties[] = [
description: 'Last name of the contact',
},
{
displayName: 'Lead Source ID',
displayName: 'Lead Source Name or ID',
name: 'lead_source_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getLeadSources',
},
description: 'ID of the source where contact came from',
description: 'ID of the source where contact came from. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Lifecycle Stage ID',
displayName: 'Lifecycle Stage Name or ID',
name: 'lifecycle_stage_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getLifecycleStages',
},
description: 'ID of the lifecycle stage that the contact belongs to',
description: 'ID of the lifecycle stage that the contact belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'LinkedIn',
@@ -580,14 +580,14 @@ export const contactFields: INodeProperties[] = [
description: 'Mobile phone number of the contact',
},
{
displayName: 'Owner ID',
displayName: 'Owner Name or ID',
name: 'owner_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user to whom the contact is assigned',
description: 'ID of the user to whom the contact is assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Sales Accounts',
@@ -607,34 +607,34 @@ export const contactFields: INodeProperties[] = [
description: 'State that the contact belongs to',
},
{
displayName: 'Subscription Status',
displayName: 'Subscription Status Name or ID',
name: 'subscription_status',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getSubscriptionStatuses',
},
description: 'Status of subscription that the contact is in',
description: 'Status of subscription that the contact is in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Subscription Types',
displayName: 'Subscription Types Name or ID',
name: 'subscription_types',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getSubscriptionTypes',
},
description: 'Type of subscription that the contact is in',
description: 'Type of subscription that the contact is in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Territory ID',
displayName: 'Territory Name or ID',
name: 'territory_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getTerritories',
},
description: 'ID of the territory that the contact belongs to',
description: 'ID of the territory that the contact belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Time Zone',

View File

@@ -111,84 +111,84 @@ export const dealFields: INodeProperties[] = [
description: 'Value of the deal in base currency',
},
{
displayName: 'Campaign ID',
displayName: 'Campaign Name or ID',
name: 'campaign_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getCampaigns',
},
description: 'ID of the campaign that landed this deal',
description: 'ID of the campaign that landed this deal. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Currency ID',
displayName: 'Currency Name or ID',
name: 'currency_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getCurrencies',
},
description: 'ID of the currency that the deal belongs to',
description: 'ID of the currency that the deal belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Payment Status ID',
displayName: 'Deal Payment Status Name or ID',
name: 'deal_payment_status_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealPaymentStatuses',
},
description: 'ID of the mode of payment for the deal',
description: 'ID of the mode of payment for the deal. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Pipeline ID',
displayName: 'Deal Pipeline Name or ID',
name: 'deal_pipeline_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealPipelines',
},
description: 'ID of the deal pipeline that it belongs to',
description: 'ID of the deal pipeline that it belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Product ID',
displayName: 'Deal Product Name or ID',
name: 'deal_product_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealProducts',
},
description: 'ID of the product that the deal belongs to (in a multi-product company)',
description: 'ID of the product that the deal belongs to (in a multi-product company). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Reason ID',
displayName: 'Deal Reason Name or ID',
name: 'deal_reason_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealReasons',
},
description: 'ID of the reason for losing the deal. Can only be set if the deal is in \'Lost\' stage.',
description: 'ID of the reason for losing the deal. Can only be set if the deal is in \'Lost\' stage. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Stage ID',
displayName: 'Deal Stage Name or ID',
name: 'deal_stage_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealStages',
},
description: 'ID of the deal stage that the deal belongs to',
description: 'ID of the deal stage that the deal belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Type ID',
displayName: 'Deal Type Name or ID',
name: 'deal_type_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealTypes',
},
description: 'ID of the deal type that the deal belongs to',
description: 'ID of the deal type that the deal belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Lead Source ID',
@@ -198,14 +198,14 @@ export const dealFields: INodeProperties[] = [
description: 'ID of the source where deal came from',
},
{
displayName: 'Owner ID',
displayName: 'Owner Name or ID',
name: 'owner_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user to whom the deal is assigned',
description: 'ID of the user to whom the deal is assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Probability',
@@ -219,24 +219,24 @@ export const dealFields: INodeProperties[] = [
description: 'Probability of winning the deal as a number between 0 and 100',
},
{
displayName: 'Sales Account ID',
displayName: 'Sales Account Name or ID',
name: 'sales_account_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getAccounts',
},
description: 'ID of the account that the deal belongs to',
description: 'ID of the account that the deal belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Territory ID',
displayName: 'Territory Name or ID',
name: 'territory_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getTerritories',
},
description: 'ID of the territory that the deal belongs to',
description: 'ID of the territory that the deal belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
],
},
@@ -289,7 +289,7 @@ export const dealFields: INodeProperties[] = [
// deal: getAll
// ----------------------------------------
{
displayName: 'View',
displayName: 'View Name or ID',
name: 'view',
type: 'options',
displayOptions: {
@@ -407,84 +407,84 @@ export const dealFields: INodeProperties[] = [
description: 'Value of the deal in base currency',
},
{
displayName: 'Campaign ID',
displayName: 'Campaign Name or ID',
name: 'campaign_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getCampaigns',
},
description: 'ID of the campaign that landed this deal',
description: 'ID of the campaign that landed this deal. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Currency ID',
displayName: 'Currency Name or ID',
name: 'currency_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getCurrencies',
},
description: 'ID of the currency that the deal belongs to',
description: 'ID of the currency that the deal belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Payment Status ID',
displayName: 'Deal Payment Status Name or ID',
name: 'deal_payment_status_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealPaymentStatuses',
},
description: 'ID of the mode of payment for the deal',
description: 'ID of the mode of payment for the deal. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Pipeline ID',
displayName: 'Deal Pipeline Name or ID',
name: 'deal_pipeline_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealPipelines',
},
description: 'ID of the deal pipeline that it belongs to',
description: 'ID of the deal pipeline that it belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Product ID',
displayName: 'Deal Product Name or ID',
name: 'deal_product_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealProducts',
},
description: 'ID of the product that the deal belongs to (in a multi-product company)',
description: 'ID of the product that the deal belongs to (in a multi-product company). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Reason ID',
displayName: 'Deal Reason Name or ID',
name: 'deal_reason_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealReasons',
},
description: 'ID of the reason for losing the deal. Can only be set if the deal is in \'Lost\' stage.',
description: 'ID of the reason for losing the deal. Can only be set if the deal is in \'Lost\' stage. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Stage ID',
displayName: 'Deal Stage Name or ID',
name: 'deal_stage_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealStages',
},
description: 'ID of the deal stage that the deal belongs to',
description: 'ID of the deal stage that the deal belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Deal Type ID',
displayName: 'Deal Type Name or ID',
name: 'deal_type_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getDealTypes',
},
description: 'ID of the deal type that the deal belongs to',
description: 'ID of the deal type that the deal belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Lead Source ID',
@@ -501,14 +501,14 @@ export const dealFields: INodeProperties[] = [
description: 'Name of the deal',
},
{
displayName: 'Owner ID',
displayName: 'Owner Name or ID',
name: 'owner_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user to whom the deal is assigned',
description: 'ID of the user to whom the deal is assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Probability',
@@ -522,24 +522,24 @@ export const dealFields: INodeProperties[] = [
description: 'Probability of winning the deal as a number between 0 and 100',
},
{
displayName: 'Sales Account ID',
displayName: 'Sales Account Name or ID',
name: 'sales_account_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getAccounts',
},
description: 'ID of the account that the deal belongs to',
description: 'ID of the account that the deal belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Territory ID',
displayName: 'Territory Name or ID',
name: 'territory_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getTerritories',
},
description: 'ID of the territory that the deal belongs to',
description: 'ID of the territory that the deal belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
],
},

View File

@@ -51,14 +51,14 @@ export const salesActivityFields: INodeProperties[] = [
// salesActivity: create
// ----------------------------------------
{
displayName: 'Sales Activity Type ID',
displayName: 'Sales Activity Type Name or ID',
name: 'sales_activity_type_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getSalesActivityTypes',
},
description: 'ID of a sales activity type for which the sales activity is created',
description: 'ID of a sales activity type for which the sales activity is created. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
displayOptions: {
show: {
resource: [
@@ -89,9 +89,9 @@ export const salesActivityFields: INodeProperties[] = [
},
},
{
displayName: 'Owner ID',
displayName: 'Owner Name or ID',
name: 'ownerId',
description: 'ID of the user who owns the sales activity',
description: 'ID of the user who owns the sales activity. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
type: 'options',
default: '',
typeOptions: {
@@ -213,14 +213,14 @@ export const salesActivityFields: INodeProperties[] = [
},
options: [
{
displayName: 'Creator ID',
displayName: 'Creator Name or ID',
name: 'creater_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user who created the sales activity',
description: 'ID of the user who created the sales activity. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Latitude',
@@ -251,14 +251,14 @@ export const salesActivityFields: INodeProperties[] = [
description: 'Description about the sales activity',
},
{
displayName: 'Sales Activity Outcome ID',
displayName: 'Sales Activity Outcome Name or ID',
name: 'sales_activity_outcome_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getOutcomes',
},
description: 'ID of a sales activity\'s outcome',
description: 'ID of a sales activity\'s outcome. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
],
},
@@ -390,14 +390,14 @@ export const salesActivityFields: INodeProperties[] = [
},
options: [
{
displayName: 'Creator ID',
displayName: 'Creator Name or ID',
name: 'creater_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user who created the sales activity',
description: 'ID of the user who created the sales activity. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Start Date',
@@ -435,34 +435,34 @@ export const salesActivityFields: INodeProperties[] = [
description: 'Description about the sales activity',
},
{
displayName: 'Owner ID',
displayName: 'Owner Name or ID',
name: 'owner_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user who owns the sales activity',
description: 'ID of the user who owns the sales activity. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Sales Activity Outcome ID',
displayName: 'Sales Activity Outcome Name or ID',
name: 'sales_activity_outcome_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getOutcomes',
},
description: 'ID of a sales activity\'s outcome',
description: 'ID of a sales activity\'s outcome. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Sales Activity Type ID',
displayName: 'Sales Activity Type Name or ID',
name: 'sales_activity_type_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getSalesActivityTypes',
},
description: 'ID of a sales activity type for which the sales activity is updated',
description: 'ID of a sales activity type for which the sales activity is updated. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Start Date',

View File

@@ -87,9 +87,9 @@ export const taskFields: INodeProperties[] = [
},
},
{
displayName: 'Owner ID',
displayName: 'Owner Name or ID',
name: 'ownerId',
description: 'ID of the user to whom the task is assigned',
description: 'ID of the user to whom the task is assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
type: 'options',
default: '',
typeOptions: {
@@ -175,24 +175,24 @@ export const taskFields: INodeProperties[] = [
},
options: [
{
displayName: 'Creator ID',
displayName: 'Creator Name or ID',
name: 'creater_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user who created the task',
description: 'ID of the user who created the task. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Outcome ID',
displayName: 'Outcome Name or ID',
name: 'outcome_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getOutcomes',
},
description: 'ID of the outcome of the task',
description: 'ID of the outcome of the task. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Task Type ID',
@@ -398,14 +398,14 @@ export const taskFields: INodeProperties[] = [
},
options: [
{
displayName: 'Creator ID',
displayName: 'Creator Name or ID',
name: 'creater_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user who created the sales activity',
description: 'ID of the user who created the sales activity. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Due Date',
@@ -415,24 +415,24 @@ export const taskFields: INodeProperties[] = [
default: '',
},
{
displayName: 'Outcome ID',
displayName: 'Outcome Name or ID',
name: 'outcome_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getOutcomes',
},
description: 'ID of the outcome of the task',
description: 'ID of the outcome of the task. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Owner ID',
displayName: 'Owner Name or ID',
name: 'owner_id',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
description: 'ID of the user to whom the task is assigned',
description: 'ID of the user to whom the task is assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
},
{
displayName: 'Target ID',