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:
@@ -18,26 +18,31 @@ export const workerOperations: INodeProperties[] = [
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new Onfleet worker',
|
||||
action: 'Create a worker',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete an Onfleet worker',
|
||||
action: 'Delete a worker',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a specific Onfleet worker',
|
||||
action: 'Get a worker',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all Onfleet workers',
|
||||
action: 'Get all workers',
|
||||
},
|
||||
{
|
||||
name: 'Get Schedule',
|
||||
value: 'getSchedule',
|
||||
description: 'Get a specific Onfleet worker schedule',
|
||||
action: 'Get the schedule for a worker',
|
||||
},
|
||||
// {
|
||||
// name: 'Set Worker\'s Schedule',
|
||||
@@ -48,6 +53,7 @@ export const workerOperations: INodeProperties[] = [
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
description: 'Update an Onfleet worker',
|
||||
action: 'Update a worker',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
|
||||
Reference in New Issue
Block a user