From 79d544bbd4f5186ced5a94c605d164f4b254776e Mon Sep 17 00:00:00 2001 From: Tysmith17 Date: Thu, 28 Jan 2021 10:38:57 -0700 Subject: [PATCH 1/3] add deal description to hubspot --- packages/nodes-base/nodes/Hubspot/DealDescription.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/nodes-base/nodes/Hubspot/DealDescription.ts b/packages/nodes-base/nodes/Hubspot/DealDescription.ts index 7bd4597b8a..01c5e80aa3 100644 --- a/packages/nodes-base/nodes/Hubspot/DealDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/DealDescription.ts @@ -170,6 +170,12 @@ export const dealFields = [ }, ], }, + { + displayName: 'Deal Description', + name: 'description', + type: 'string', + default: '', + }, { displayName: 'Deal Name', name: 'dealName', From ddb1f5a22d97eeb2a6a4110cdeddee18d32e7661 Mon Sep 17 00:00:00 2001 From: Tysmith17 Date: Fri, 5 Feb 2021 10:42:33 -0700 Subject: [PATCH 2/3] add missing file --- packages/nodes-base/nodes/Hubspot/Hubspot.node.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts index fd2e720447..a7bcefc5a4 100644 --- a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts +++ b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts @@ -1880,6 +1880,12 @@ export class Hubspot implements INodeType { value: additionalFields.pipeline as string, }); } + if (additionalFields.description) { + body.properties.push({ + name: 'description', + value: additionalFields.description as string, + }); + } if (additionalFields.customPropertiesUi) { const customProperties = (additionalFields.customPropertiesUi as IDataObject).customPropertiesValues as IDataObject[]; if (customProperties) { @@ -1936,6 +1942,12 @@ export class Hubspot implements INodeType { value: updateFields.pipeline as string, }); } + if (updateFields.description) { + body.properties.push({ + name: 'description', + value: updateFields.description as string, + }); + } if (updateFields.customPropertiesUi) { const customProperties = (updateFields.customPropertiesUi as IDataObject).customPropertiesValues as IDataObject[]; if (customProperties) { From 51f2db05787de2a05c4463409bd9e86ad46dfc53 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Mon, 8 Mar 2021 14:44:37 +0100 Subject: [PATCH 3/3] :zap: Add missing description parameter for Deal -> Update --- packages/nodes-base/nodes/Hubspot/DealDescription.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/nodes-base/nodes/Hubspot/DealDescription.ts b/packages/nodes-base/nodes/Hubspot/DealDescription.ts index 01c5e80aa3..8c66afbd28 100644 --- a/packages/nodes-base/nodes/Hubspot/DealDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/DealDescription.ts @@ -285,6 +285,12 @@ export const dealFields = [ }, ], }, + { + displayName: 'Deal Description', + name: 'description', + type: 'string', + default: '', + }, { displayName: 'Deal Name', name: 'dealName',