mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Add action to all operations on all nodes (#3655)
* 👕 Add `action` to `INodePropertyOptions` * 👕 Apply `node-param-operation-option-without-action` * ✏️ Fix add/remove phrasing * ✏️ Fix email template phrasing * ✏️ Fix add/remove phrasing * ✏️ Fix custom fields phrasing * ✏️ Fix job report phrasing * ✏️ Fix query phrasing * ✏️ Various phrasing fixes * ✏️ Fix final phrasings * ✏️ Remove `conversation` * ✏️ Fix plural
This commit is contained in:
@@ -185,26 +185,31 @@ export class Pipedrive implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create an activity',
|
||||
action: 'Create an activity',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete an activity',
|
||||
action: 'Delete an activity',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get data of an activity',
|
||||
action: 'Get an activity',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get data of all activities',
|
||||
action: 'Get all activities',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update an activity',
|
||||
action: 'Update an activity',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -227,36 +232,43 @@ export class Pipedrive implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a deal',
|
||||
action: 'Create a deal',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a deal',
|
||||
action: 'Delete a deal',
|
||||
},
|
||||
{
|
||||
name: 'Duplicate',
|
||||
value: 'duplicate',
|
||||
description: 'Duplicate a deal',
|
||||
action: 'Duplicate a deal',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get data of a deal',
|
||||
action: 'Get a deal',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get data of all deals',
|
||||
action: 'Get all deals',
|
||||
},
|
||||
{
|
||||
name: 'Search',
|
||||
value: 'search',
|
||||
description: 'Search a deal',
|
||||
action: 'Search a deal',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a deal',
|
||||
action: 'Update a deal',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -279,6 +291,7 @@ export class Pipedrive implements INodeType {
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all activities of a deal',
|
||||
action: 'Get all deal activities',
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
@@ -301,21 +314,25 @@ export class Pipedrive implements INodeType {
|
||||
name: 'Add',
|
||||
value: 'add',
|
||||
description: 'Add a product to a deal',
|
||||
action: 'Add a deal product',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all products in a deal',
|
||||
action: 'Get all deal products',
|
||||
},
|
||||
{
|
||||
name: 'Remove',
|
||||
value: 'remove',
|
||||
description: 'Remove a product from a deal',
|
||||
action: 'Remove a deal product',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a product in a deal',
|
||||
action: 'Update a deal product',
|
||||
},
|
||||
],
|
||||
default: 'add',
|
||||
@@ -338,21 +355,25 @@ export class Pipedrive implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a file',
|
||||
action: 'Create a file',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a file',
|
||||
action: 'Delete a file',
|
||||
},
|
||||
{
|
||||
name: 'Download',
|
||||
value: 'download',
|
||||
description: 'Download a file',
|
||||
action: 'Download a file',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get data of a file',
|
||||
action: 'Get a file',
|
||||
},
|
||||
// {
|
||||
// name: 'Get All',
|
||||
@@ -385,26 +406,31 @@ export class Pipedrive implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a lead',
|
||||
action: 'Create a lead',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a lead',
|
||||
action: 'Delete a lead',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get data of a lead',
|
||||
action: 'Get a lead',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get data of all leads',
|
||||
action: 'Get all leads',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a lead',
|
||||
action: 'Update a lead',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -426,26 +452,31 @@ export class Pipedrive implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a note',
|
||||
action: 'Create a note',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a note',
|
||||
action: 'Delete a note',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get data of a note',
|
||||
action: 'Get a note',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get data of all notes',
|
||||
action: 'Get all notes',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a note',
|
||||
action: 'Update a note',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -468,31 +499,37 @@ export class Pipedrive implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create an organization',
|
||||
action: 'Create an organization',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete an organization',
|
||||
action: 'Delete an organization',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get data of an organization',
|
||||
action: 'Get an organization',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get data of all organizations',
|
||||
action: 'Get all organizations',
|
||||
},
|
||||
{
|
||||
name: 'Search',
|
||||
value: 'search',
|
||||
description: 'Search organizations',
|
||||
action: 'Search an organization',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update an organization',
|
||||
action: 'Update an organization',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -515,31 +552,37 @@ export class Pipedrive implements INodeType {
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a person',
|
||||
action: 'Create a person',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a person',
|
||||
action: 'Delete a person',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get data of a person',
|
||||
action: 'Get a person',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get data of all persons',
|
||||
action: 'Get all people',
|
||||
},
|
||||
{
|
||||
name: 'Search',
|
||||
value: 'search',
|
||||
description: 'Search all persons',
|
||||
action: 'Search a person',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update a person',
|
||||
action: 'Update a person',
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
@@ -562,6 +605,7 @@ export class Pipedrive implements INodeType {
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get data of all products',
|
||||
action: 'Get all products',
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
|
||||
@@ -136,26 +136,31 @@ export class PipedriveTrigger implements INodeType {
|
||||
name: 'Added',
|
||||
value: 'added',
|
||||
description: 'Data got added',
|
||||
action: 'Data was added',
|
||||
},
|
||||
{
|
||||
name: 'All',
|
||||
value: '*',
|
||||
description: 'Any change',
|
||||
action: 'Any change',
|
||||
},
|
||||
{
|
||||
name: 'Deleted',
|
||||
value: 'deleted',
|
||||
description: 'Data got deleted',
|
||||
action: 'Data was deleted',
|
||||
},
|
||||
{
|
||||
name: 'Merged',
|
||||
value: 'merged',
|
||||
description: 'Data got merged',
|
||||
action: 'Data was merged',
|
||||
},
|
||||
{
|
||||
name: 'Updated',
|
||||
value: 'updated',
|
||||
description: 'Data got updated',
|
||||
action: 'Data was updated',
|
||||
},
|
||||
],
|
||||
default: '*',
|
||||
|
||||
Reference in New Issue
Block a user