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 = ['invoice'];
const resource = [
'invoice',
];
export const invoiceOperations = [
{
@@ -48,7 +52,7 @@ export const invoiceOperations = [
export const invoiceFields = [
/* -------------------------------------------------------------------------- */
/* invoice:getAll */
/* invoice:getAll */
/* -------------------------------------------------------------------------- */
{
@@ -177,7 +181,7 @@ export const invoiceFields = [
},
/* -------------------------------------------------------------------------- */
/* invoice:get */
/* invoice:get */
/* -------------------------------------------------------------------------- */
{
displayName: 'Invoice Id',
@@ -197,7 +201,7 @@ export const invoiceFields = [
},
/* -------------------------------------------------------------------------- */
/* invoice:delete */
/* invoice:delete */
/* -------------------------------------------------------------------------- */
{
displayName: 'Invoice Id',
@@ -217,7 +221,7 @@ export const invoiceFields = [
},
/* -------------------------------------------------------------------------- */
/* invoice:create */
/* invoice:create */
/* -------------------------------------------------------------------------- */
{
displayName: 'Client Id',
@@ -345,7 +349,7 @@ export const invoiceFields = [
},
/* -------------------------------------------------------------------------- */
/* invoice:update */
/* invoice:update */
/* -------------------------------------------------------------------------- */
{
displayName: 'Invoice Id',