mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
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:
@@ -141,14 +141,14 @@ export const companyFields: INodeProperties[] = [
|
||||
description: 'The domain name of the company or organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Company Owner',
|
||||
displayName: 'Company Owner Name or ID',
|
||||
name: 'companyOwner',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getOwners',
|
||||
},
|
||||
default: '',
|
||||
description: 'The owner of the company',
|
||||
description: 'The owner of the company. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Country/Region',
|
||||
@@ -172,14 +172,14 @@ export const companyFields: INodeProperties[] = [
|
||||
displayName: 'Custom Property',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Property',
|
||||
displayName: 'Property Name or ID',
|
||||
name: 'property',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyCustomProperties',
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the property',
|
||||
description: 'Name of the property. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -217,14 +217,14 @@ export const companyFields: INodeProperties[] = [
|
||||
description: 'The URL of the Google Plus page for the company or organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Industry',
|
||||
displayName: 'Industry Name or ID',
|
||||
name: 'industry',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyIndustries',
|
||||
},
|
||||
default: '',
|
||||
description: 'The type of business the company performs',
|
||||
description: 'The type of business the company performs. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Is Public',
|
||||
@@ -234,24 +234,24 @@ export const companyFields: INodeProperties[] = [
|
||||
description: 'Indicates that the company is publicly traded',
|
||||
},
|
||||
{
|
||||
displayName: 'Lead Status',
|
||||
displayName: 'Lead Status Name or ID',
|
||||
name: 'leadStatus',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyleadStatuses',
|
||||
},
|
||||
default: '',
|
||||
description: 'The company\'s sales, prospecting or outreach status',
|
||||
description: 'The company\'s sales, prospecting or outreach status. 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',
|
||||
displayName: 'Lifecycle Stage Name or ID',
|
||||
name: 'lifecycleStatus',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanylifecycleStages',
|
||||
},
|
||||
default: '',
|
||||
description: 'The most advanced lifecycle stage across all contacts associated with this company or organization',
|
||||
description: 'The most advanced lifecycle stage across all contacts associated with this company or organization. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'LinkedIn Bio',
|
||||
@@ -278,14 +278,14 @@ export const companyFields: INodeProperties[] = [
|
||||
description: 'The total number of employees who work for the company or organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Original Source Type',
|
||||
displayName: 'Original Source Type Name or ID',
|
||||
name: 'originalSourceType',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanySourceTypes',
|
||||
},
|
||||
default: '',
|
||||
description: 'Original source for the contact with the earliest activity for this company or organization',
|
||||
description: 'Original source for the contact with the earliest activity for this company or organization. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone Number',
|
||||
@@ -324,14 +324,14 @@ export const companyFields: INodeProperties[] = [
|
||||
},
|
||||
|
||||
{
|
||||
displayName: 'Target Account',
|
||||
displayName: 'Target Account Name or ID',
|
||||
name: 'targetAccount',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyTargetAccounts',
|
||||
},
|
||||
default: '',
|
||||
description: 'The Target Account property is a means to flag high priority companies if you are following an account based strategy',
|
||||
description: 'The Target Account property is a means to flag high priority companies if you are following an account based strategy. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Timezone',
|
||||
@@ -378,24 +378,24 @@ export const companyFields: INodeProperties[] = [
|
||||
description: 'The main twitter account of the company or organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Type',
|
||||
displayName: 'Type Name or ID',
|
||||
name: 'type',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyTypes',
|
||||
},
|
||||
default: '',
|
||||
description: 'The optional classification of this company record - prospect, partner, etc',
|
||||
description: 'The optional classification of this company record - prospect, partner, etc. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Web Technologies',
|
||||
displayName: 'Web Technologies Name or ID',
|
||||
name: 'webTechnologies',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyWebTechnologies',
|
||||
},
|
||||
default: '',
|
||||
description: 'The web technologies used by the company or organization. Powered by HubSpot Insights.',
|
||||
description: 'The web technologies used by the company or organization. Powered by HubSpot Insights. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Website URL',
|
||||
@@ -493,14 +493,14 @@ export const companyFields: INodeProperties[] = [
|
||||
description: 'The domain name of the company or organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Company Owmer',
|
||||
displayName: 'Company Owmer Name or ID',
|
||||
name: 'companyOwner',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getOwners',
|
||||
},
|
||||
default: '',
|
||||
description: 'The owner of the company',
|
||||
description: 'The owner of the company. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Country/Region',
|
||||
@@ -524,14 +524,14 @@ export const companyFields: INodeProperties[] = [
|
||||
displayName: 'Custom Property',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Property',
|
||||
displayName: 'Property Name or ID',
|
||||
name: 'property',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyCustomProperties',
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the property',
|
||||
description: 'Name of the property. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -569,14 +569,14 @@ export const companyFields: INodeProperties[] = [
|
||||
description: 'The URL of the Google Plus page for the company or organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Industry',
|
||||
displayName: 'Industry Name or ID',
|
||||
name: 'industry',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyIndustries',
|
||||
},
|
||||
default: '',
|
||||
description: 'The type of business the company performs',
|
||||
description: 'The type of business the company performs. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Is Public',
|
||||
@@ -586,24 +586,24 @@ export const companyFields: INodeProperties[] = [
|
||||
description: 'Indicates that the company is publicly traded',
|
||||
},
|
||||
{
|
||||
displayName: 'Lead Status',
|
||||
displayName: 'Lead Status Name or ID',
|
||||
name: 'leadStatus',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyleadStatuses',
|
||||
},
|
||||
default: '',
|
||||
description: 'The company\'s sales, prospecting or outreach status',
|
||||
description: 'The company\'s sales, prospecting or outreach status. 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',
|
||||
displayName: 'Lifecycle Stage Name or ID',
|
||||
name: 'lifecycleStatus',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanylifecycleStages',
|
||||
},
|
||||
default: '',
|
||||
description: 'The most advanced lifecycle stage across all contacts associated with this company or organization',
|
||||
description: 'The most advanced lifecycle stage across all contacts associated with this company or organization. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Linkedin Bio',
|
||||
@@ -636,14 +636,14 @@ export const companyFields: INodeProperties[] = [
|
||||
description: 'The total number of employees who work for the company or organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Original Source Type',
|
||||
displayName: 'Original Source Type Name or ID',
|
||||
name: 'originalSourceType',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanySourceTypes',
|
||||
},
|
||||
default: '',
|
||||
description: 'Original source for the contact with the earliest activity for this company or organization',
|
||||
description: 'Original source for the contact with the earliest activity for this company or organization. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone Number',
|
||||
@@ -682,14 +682,14 @@ export const companyFields: INodeProperties[] = [
|
||||
},
|
||||
|
||||
{
|
||||
displayName: 'Target Account',
|
||||
displayName: 'Target Account Name or ID',
|
||||
name: 'targetAccount',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyTargetAccounts',
|
||||
},
|
||||
default: '',
|
||||
description: 'The Target Account property is a means to flag high priority companies if you are following an account based strategy',
|
||||
description: 'The Target Account property is a means to flag high priority companies if you are following an account based strategy. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Timezone',
|
||||
@@ -736,24 +736,24 @@ export const companyFields: INodeProperties[] = [
|
||||
description: 'The main twitter account of the company or organization',
|
||||
},
|
||||
{
|
||||
displayName: 'Type',
|
||||
displayName: 'Type Name or ID',
|
||||
name: 'type',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyTypes',
|
||||
},
|
||||
default: '',
|
||||
description: 'The optional classification of this company record - prospect, partner, etc',
|
||||
description: 'The optional classification of this company record - prospect, partner, etc. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Web Technologies',
|
||||
displayName: 'Web Technologies Name or ID',
|
||||
name: 'webTechnologies',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCompanyWebTechnologies',
|
||||
},
|
||||
default: '',
|
||||
description: 'The web technologies used by the company or organization. Powered by HubSpot Insights.',
|
||||
description: 'The web technologies used by the company or organization. Powered by HubSpot Insights. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Website URL',
|
||||
|
||||
Reference in New Issue
Block a user