Add Harvest update task operations (#1603)

* Add create/update task in Harvest node

*  Small improvements

Co-authored-by: dali <servfrdali@yahoo.fr>
This commit is contained in:
Ricardo Espinoza
2021-04-02 11:56:45 -04:00
committed by GitHub
parent aab6946e9e
commit 7995bd610d
11 changed files with 158 additions and 66 deletions

View File

@@ -1,6 +1,10 @@
import { INodeProperties } from 'n8n-workflow';
import {
INodeProperties,
} from 'n8n-workflow';
const resource = ['client'];
const resource = [
'client',
];
export const clientOperations = [
{
@@ -49,7 +53,7 @@ export const clientOperations = [
export const clientFields = [
/* -------------------------------------------------------------------------- */
/* client:getAll */
/* client:getAll */
/* -------------------------------------------------------------------------- */
{
@@ -122,7 +126,7 @@ export const clientFields = [
},
/* -------------------------------------------------------------------------- */
/* client:get */
/* client:get */
/* -------------------------------------------------------------------------- */
{
displayName: 'Client Id',
@@ -142,7 +146,7 @@ export const clientFields = [
},
/* -------------------------------------------------------------------------- */
/* client:delete */
/* client:delete */
/* -------------------------------------------------------------------------- */
{
displayName: 'Client Id',
@@ -162,7 +166,7 @@ export const clientFields = [
},
/* -------------------------------------------------------------------------- */
/* client:create */
/* client:create */
/* -------------------------------------------------------------------------- */
{
displayName: 'Name',
@@ -220,7 +224,7 @@ export const clientFields = [
},
/* -------------------------------------------------------------------------- */
/* client:update */
/* client:update */
/* -------------------------------------------------------------------------- */
{
displayName: 'Client Id',