mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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:
@@ -484,16 +484,16 @@ export class Pipedrive implements INodeType {
|
||||
value: 'getAll',
|
||||
description: 'Get data of all organizations',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update an organization',
|
||||
},
|
||||
{
|
||||
name: 'Search',
|
||||
value: 'search',
|
||||
description: 'Search organizations',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update an organization',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
},
|
||||
@@ -610,7 +610,7 @@ export class Pipedrive implements INodeType {
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Not done',
|
||||
name: 'Not Done',
|
||||
value: '0',
|
||||
},
|
||||
{
|
||||
@@ -683,14 +683,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Note of the activity (HTML format)',
|
||||
},
|
||||
{
|
||||
displayName: 'Organization ID',
|
||||
displayName: 'Organization Name or ID',
|
||||
name: 'org_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getOrganizationIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the organization this activity will be associated with',
|
||||
description: 'ID of the organization this activity will be associated with. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Person ID',
|
||||
@@ -700,14 +700,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'ID of the person this activity will be associated with',
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
displayName: 'User Name or ID',
|
||||
name: 'user_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user.',
|
||||
description: 'ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Properties',
|
||||
@@ -847,7 +847,7 @@ export class Pipedrive implements INodeType {
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Not done',
|
||||
name: 'Not Done',
|
||||
value: '0',
|
||||
},
|
||||
{
|
||||
@@ -871,14 +871,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Note of the activity (HTML format)',
|
||||
},
|
||||
{
|
||||
displayName: 'Organization ID',
|
||||
displayName: 'Organization Name or ID',
|
||||
name: 'org_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getOrganizationIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the organization this activity will be associated with',
|
||||
description: 'ID of the organization this activity will be associated with. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Person ID',
|
||||
@@ -903,14 +903,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Type of the activity like "call", "meeting", etc',
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
displayName: 'User Name or ID',
|
||||
name: 'user_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user.',
|
||||
description: 'ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Properties',
|
||||
@@ -1084,14 +1084,14 @@ export class Pipedrive implements INodeType {
|
||||
displayName: 'Property',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Property Name',
|
||||
displayName: 'Property Name or ID',
|
||||
name: 'name',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getDealCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the property to set',
|
||||
description: 'Name of the property to set. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Property Value',
|
||||
@@ -1105,7 +1105,7 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'Label',
|
||||
displayName: 'Label Name or ID',
|
||||
name: 'label',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -1161,14 +1161,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Deal success probability percentage',
|
||||
},
|
||||
{
|
||||
displayName: 'Stage ID',
|
||||
displayName: 'Stage Name or ID',
|
||||
name: 'stage_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getStageIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the stage this deal will be placed in a pipeline. If omitted, the deal will be placed in the first stage of the default pipeline. (PIPELINE > STAGE)',
|
||||
description: 'ID of the stage this deal will be placed in a pipeline. If omitted, the deal will be placed in the first stage of the default pipeline. (PIPELINE > STAGE). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Status',
|
||||
@@ -1196,14 +1196,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'The status of the deal. If not provided it will automatically be set to "open".',
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
displayName: 'User Name or ID',
|
||||
name: 'user_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user.',
|
||||
description: 'ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -1213,16 +1213,16 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Value of the deal. If not set it will automatically be set to 0.',
|
||||
},
|
||||
{
|
||||
displayName: 'Visible to',
|
||||
displayName: 'Visible To',
|
||||
name: 'visible_to',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Owner & followers (private)',
|
||||
name: 'Owner & Followers (Private)',
|
||||
value: '1',
|
||||
},
|
||||
{
|
||||
name: 'Entire company (shared)',
|
||||
name: 'Entire Company (Shared)',
|
||||
value: '3',
|
||||
},
|
||||
],
|
||||
@@ -1359,14 +1359,14 @@ export class Pipedrive implements INodeType {
|
||||
displayName: 'Property',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Property Name',
|
||||
displayName: 'Property Name or ID',
|
||||
name: 'name',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getDealCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the custom field to set',
|
||||
description: 'Name of the custom field to set. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Property Value',
|
||||
@@ -1380,17 +1380,17 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
displayName: 'User Name or ID',
|
||||
name: 'user_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user.',
|
||||
description: 'ID of the active user whom the activity will be assigned to. If omitted, the activity will be assigned to the authorized user. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Label',
|
||||
displayName: 'Label Name or ID',
|
||||
name: 'label',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -1406,14 +1406,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Reason why the deal was lost',
|
||||
},
|
||||
{
|
||||
displayName: 'Organization ID',
|
||||
displayName: 'Organization Name or ID',
|
||||
name: 'org_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getOrganizationIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the organization this deal will be associated with',
|
||||
description: 'ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Person ID',
|
||||
@@ -1434,14 +1434,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Deal success probability percentage',
|
||||
},
|
||||
{
|
||||
displayName: 'Stage ID',
|
||||
displayName: 'Stage Name or ID',
|
||||
name: 'stage_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getStageIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the stage this deal will be placed in a pipeline. If omitted, the deal will be placed in the first stage of the default pipeline. (PIPELINE > STAGE)',
|
||||
description: 'ID of the stage this deal will be placed in a pipeline. If omitted, the deal will be placed in the first stage of the default pipeline. (PIPELINE > STAGE). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Status',
|
||||
@@ -1483,16 +1483,16 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Value of the deal. If not set it will automatically be set to 0.',
|
||||
},
|
||||
{
|
||||
displayName: 'Visible to',
|
||||
displayName: 'Visible To',
|
||||
name: 'visible_to',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Owner & followers (private)',
|
||||
name: 'Owner & Followers (Private)',
|
||||
value: '1',
|
||||
},
|
||||
{
|
||||
name: 'Entire company (shared)',
|
||||
name: 'Entire Company (Shared)',
|
||||
value: '3',
|
||||
},
|
||||
],
|
||||
@@ -1505,7 +1505,7 @@ export class Pipedrive implements INodeType {
|
||||
// dealProduct:add
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
displayName: 'Deal Name or ID',
|
||||
name: 'dealId',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -1523,10 +1523,10 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the deal to add a product to',
|
||||
description: 'The ID of the deal to add a product to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Product ID',
|
||||
displayName: 'Product Name or ID',
|
||||
name: 'productId',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -1544,7 +1544,7 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the product to add to a deal',
|
||||
description: 'The ID of the product to add to a deal. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Item Price',
|
||||
@@ -1639,7 +1639,7 @@ export class Pipedrive implements INodeType {
|
||||
// dealProduct:update
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
displayName: 'Deal Name or ID',
|
||||
name: 'dealId',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -1657,10 +1657,10 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the deal whose product to update',
|
||||
description: 'The ID of the deal whose product to update. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Product Attachment ID',
|
||||
displayName: 'Product Attachment Name or ID',
|
||||
name: 'productAttachmentId',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -1681,7 +1681,7 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'ID of the deal-product (the ID of the product attached to the deal)',
|
||||
description: 'ID of the deal-product (the ID of the product attached to 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: 'Update Fields',
|
||||
@@ -1756,7 +1756,7 @@ export class Pipedrive implements INodeType {
|
||||
// dealProduct:remove
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
displayName: 'Deal Name or ID',
|
||||
name: 'dealId',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -1774,10 +1774,10 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the deal whose product to remove',
|
||||
description: 'The ID of the deal whose product to remove. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Product Attachment ID',
|
||||
displayName: 'Product Attachment Name or ID',
|
||||
name: 'productAttachmentId',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -1798,13 +1798,13 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'ID of the deal-product (the ID of the product attached to the deal)',
|
||||
description: 'ID of the deal-product (the ID of the product attached to the deal). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
// ----------------------------------
|
||||
// dealProduct:getAll
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
displayName: 'Deal Name or ID',
|
||||
name: 'dealId',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -1822,7 +1822,7 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the deal whose products to retrieve',
|
||||
description: 'The ID of the deal whose products to retrieve. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -2045,14 +2045,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'ID of the deal this file will be associated with',
|
||||
},
|
||||
{
|
||||
displayName: 'Organization ID',
|
||||
displayName: 'Organization Name or ID',
|
||||
name: 'org_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getOrganizationIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the organization this deal will be associated with',
|
||||
description: 'ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Person ID',
|
||||
@@ -2295,14 +2295,14 @@ export class Pipedrive implements INodeType {
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Owner ID',
|
||||
displayName: 'Owner Name or ID',
|
||||
name: 'owner_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the user who will own the lead to create',
|
||||
description: 'ID of the user who will own the lead to create. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Person ID',
|
||||
@@ -2439,14 +2439,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Name of the lead to update',
|
||||
},
|
||||
{
|
||||
displayName: 'Owner ID',
|
||||
displayName: 'Owner Name or ID',
|
||||
name: 'owner_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the user who will own the lead to update',
|
||||
description: 'ID of the user who will own the lead to update. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Label IDs',
|
||||
@@ -2459,14 +2459,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'ID of the labels to attach to the lead to update',
|
||||
},
|
||||
{
|
||||
displayName: 'Person ID',
|
||||
displayName: 'Person Name or ID',
|
||||
name: 'person_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getPersons',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the person to link to this lead',
|
||||
description: 'ID of the person to link to this lead. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -2688,14 +2688,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'ID of the lead this note will be associated with',
|
||||
},
|
||||
{
|
||||
displayName: 'Organization ID',
|
||||
displayName: 'Organization Name or ID',
|
||||
name: 'org_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getOrganizationIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the organization this deal will be associated with',
|
||||
description: 'ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Person ID',
|
||||
@@ -2785,7 +2785,7 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'Label',
|
||||
displayName: 'Label Name or ID',
|
||||
name: 'label',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -2794,16 +2794,16 @@ export class Pipedrive implements INodeType {
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Visible to',
|
||||
displayName: 'Visible To',
|
||||
name: 'visible_to',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Owner & followers (private)',
|
||||
name: 'Owner & Followers (Private)',
|
||||
value: '1',
|
||||
},
|
||||
{
|
||||
name: 'Entire company (shared)',
|
||||
name: 'Entire Company (Shared)',
|
||||
value: '3',
|
||||
},
|
||||
],
|
||||
@@ -3008,7 +3008,7 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'Label',
|
||||
displayName: 'Label Name or ID',
|
||||
name: 'label',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -3031,16 +3031,16 @@ export class Pipedrive implements INodeType {
|
||||
description: 'The ID of the user who will be marked as the owner of this Organization. When omitted, the authorized User ID will be used.',
|
||||
},
|
||||
{
|
||||
displayName: 'Visible to',
|
||||
displayName: 'Visible To',
|
||||
name: 'visible_to',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Owner & followers (private)',
|
||||
name: 'Owner & Followers (Private)',
|
||||
value: '1',
|
||||
},
|
||||
{
|
||||
name: 'Entire company (shared)',
|
||||
name: 'Entire Company (Shared)',
|
||||
value: '3',
|
||||
},
|
||||
],
|
||||
@@ -3110,14 +3110,14 @@ export class Pipedrive implements INodeType {
|
||||
displayName: 'Property',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Property Name',
|
||||
displayName: 'Property Name or ID',
|
||||
name: 'name',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getPersonCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the custom field to set',
|
||||
description: 'Name of the custom field to set. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Property Value',
|
||||
@@ -3141,7 +3141,7 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Email of the person',
|
||||
},
|
||||
{
|
||||
displayName: 'Label',
|
||||
displayName: 'Label Name or ID',
|
||||
name: 'label',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -3175,14 +3175,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Please be aware that it is only allowed once to change the marketing status from an old status to a new one',
|
||||
},
|
||||
{
|
||||
displayName: 'Organization ID',
|
||||
displayName: 'Organization Name or ID',
|
||||
name: 'org_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getOrganizationIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the organization this deal will be associated with',
|
||||
description: 'ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone',
|
||||
@@ -3195,16 +3195,16 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Phone number of the person',
|
||||
},
|
||||
{
|
||||
displayName: 'Visible to',
|
||||
displayName: 'Visible To',
|
||||
name: 'visible_to',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Owner & followers (private)',
|
||||
name: 'Owner & Followers (Private)',
|
||||
value: '1',
|
||||
},
|
||||
{
|
||||
name: 'Entire company (shared)',
|
||||
name: 'Entire Company (Shared)',
|
||||
value: '3',
|
||||
},
|
||||
],
|
||||
@@ -3212,14 +3212,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Visibility of the person. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user.',
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
displayName: 'User Name or ID',
|
||||
name: 'owner_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the User this deal will be associated with',
|
||||
description: 'ID of the User this deal will be associated with. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -3323,14 +3323,14 @@ export class Pipedrive implements INodeType {
|
||||
displayName: 'Property',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Property Name',
|
||||
displayName: 'Property Name or ID',
|
||||
name: 'name',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getPersonCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of the custom field to set',
|
||||
description: 'Name of the custom field to set. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Property Value',
|
||||
@@ -3354,7 +3354,7 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Email of the person',
|
||||
},
|
||||
{
|
||||
displayName: 'Label',
|
||||
displayName: 'Label Name or ID',
|
||||
name: 'label',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -3395,14 +3395,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'The name of the person',
|
||||
},
|
||||
{
|
||||
displayName: 'Organization ID',
|
||||
displayName: 'Organization Name or ID',
|
||||
name: 'org_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getOrganizationIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the organization this deal will be associated with',
|
||||
description: 'ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone',
|
||||
@@ -3415,26 +3415,26 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Phone number of the person',
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
displayName: 'User Name or ID',
|
||||
name: 'owner_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the User this person will be associated with',
|
||||
description: 'ID of the User this person will be associated with. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Visible to',
|
||||
displayName: 'Visible To',
|
||||
name: 'visible_to',
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'Owner & followers (private)',
|
||||
name: 'Owner & Followers (Private)',
|
||||
value: '1',
|
||||
},
|
||||
{
|
||||
name: 'Entire company (shared)',
|
||||
name: 'Entire Company (Shared)',
|
||||
value: '3',
|
||||
},
|
||||
],
|
||||
@@ -3533,7 +3533,7 @@ export class Pipedrive implements INodeType {
|
||||
// dealActivities:getAll
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
displayName: 'Deal Name or ID',
|
||||
name: 'dealId',
|
||||
type: 'options',
|
||||
default: '',
|
||||
@@ -3551,7 +3551,7 @@ export class Pipedrive implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the deal whose activity to retrieve',
|
||||
description: 'The ID of the deal whose activity to retrieve. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -3658,14 +3658,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'If supplied, only organizations whose name starts with the specified letter will be returned',
|
||||
},
|
||||
{
|
||||
displayName: 'Predefined Filter',
|
||||
displayName: 'Predefined Filter Name or ID',
|
||||
name: 'filterId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getFilters',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the filter to use',
|
||||
description: 'ID of the filter to use. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -3691,14 +3691,14 @@ export class Pipedrive implements INodeType {
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
displayName: 'Predefined Filter',
|
||||
displayName: 'Predefined Filter Name or ID',
|
||||
name: 'filterId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getFilters',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the filter to use',
|
||||
description: 'ID of the filter to use. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'First Char',
|
||||
@@ -3822,14 +3822,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'ID of the lead this note will be associated with',
|
||||
},
|
||||
{
|
||||
displayName: 'Organization ID',
|
||||
displayName: 'Organization Name or ID',
|
||||
name: 'org_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getOrganizationIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the organization this deal will be associated with',
|
||||
description: 'ID of the organization this deal will be associated with. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Person ID',
|
||||
@@ -3875,14 +3875,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Use the Activity due date where you wish to stop fetching Activities from. Insert due date in YYYY-MM-DD format.',
|
||||
},
|
||||
{
|
||||
displayName: 'Predefined Filter',
|
||||
displayName: 'Predefined Filter Name or ID',
|
||||
name: 'filterId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getFilters',
|
||||
},
|
||||
default: '',
|
||||
description: 'The ID of the Filter to use (will narrow down results if used together with user_id parameter)',
|
||||
description: 'The ID of the Filter to use (will narrow down results if used together with user_id parameter). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Star Date',
|
||||
@@ -3902,14 +3902,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Type of the Activity',
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
displayName: 'User Name or ID',
|
||||
name: 'user_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'The ID of the User whose Activities will be fetched. If omitted, the User associated with the API token will be used. If 0, Activities for all company Users will be fetched based on the permission sets.',
|
||||
description: 'The ID of the User whose Activities will be fetched. If omitted, the User associated with the API token will be used. If 0, Activities for all company Users will be fetched based on the permission sets. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -3934,24 +3934,24 @@ export class Pipedrive implements INodeType {
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
displayName: 'Predefined Filter',
|
||||
displayName: 'Predefined Filter Name or ID',
|
||||
name: 'filter_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getFilters',
|
||||
},
|
||||
default: '',
|
||||
description: 'Predefined filter to apply to the deals to retrieve',
|
||||
description: 'Predefined filter to apply to the deals to retrieve. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Stage ID',
|
||||
displayName: 'Stage Name or ID',
|
||||
name: 'stage_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getStageIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the stage to filter deals by',
|
||||
description: 'ID of the stage to filter deals by. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Status',
|
||||
@@ -3983,14 +3983,14 @@ export class Pipedrive implements INodeType {
|
||||
description: 'Status to filter deals by. Defaults to <code>all_not_deleted</code>',
|
||||
},
|
||||
{
|
||||
displayName: 'User ID',
|
||||
displayName: 'User Name or ID',
|
||||
name: 'user_id',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserIds',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the user to filter deals by',
|
||||
description: 'ID of the user to filter deals by. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user