diff --git a/packages/nodes-base/nodes/Harvest/InvoiceDescription.ts b/packages/nodes-base/nodes/Harvest/InvoiceDescription.ts index f294653fb2..b38e6a6658 100644 --- a/packages/nodes-base/nodes/Harvest/InvoiceDescription.ts +++ b/packages/nodes-base/nodes/Harvest/InvoiceDescription.ts @@ -338,6 +338,22 @@ export const invoiceFields = [ /* -------------------------------------------------------------------------- */ /* invoice:update */ /* -------------------------------------------------------------------------- */ + { + displayName: 'Invoice Id', + name: 'id', + type: 'string', + default: '', + required: true, + displayOptions: { + show: { + operation: [ + 'update', + ], + resource, + }, + }, + description: 'The ID of the invoice want to update.', + }, { displayName: 'Update Fields', name: 'updateFields', @@ -346,7 +362,7 @@ export const invoiceFields = [ displayOptions: { show: { operation: [ - 'create', + 'update', ], resource, }, diff --git a/packages/nodes-base/nodes/Harvest/ProjectDescription.ts b/packages/nodes-base/nodes/Harvest/ProjectDescription.ts index d2092b4276..607894bcd5 100644 --- a/packages/nodes-base/nodes/Harvest/ProjectDescription.ts +++ b/packages/nodes-base/nodes/Harvest/ProjectDescription.ts @@ -381,7 +381,22 @@ export const projectFields = [ /* -------------------------------------------------------------------------- */ /* project:update */ /* -------------------------------------------------------------------------- */ - + { + displayName: 'Project Id', + name: 'id', + type: 'string', + default: '', + required: true, + displayOptions: { + show: { + operation: [ + 'update', + ], + resource, + }, + }, + description: 'The ID of the project want to update.', + }, { displayName: 'Update Fields', name: 'updateFields', @@ -390,7 +405,7 @@ export const projectFields = [ displayOptions: { show: { operation: [ - 'create', + 'update', ], resource, },