include User ID in Options to Person Add, Update

This commit is contained in:
Rodrigo Correia
2022-02-14 19:08:55 -03:00
parent 6453996de3
commit dbd7686213
2 changed files with 163 additions and 118 deletions

View File

@@ -3139,6 +3139,31 @@ export class Pipedrive implements INodeType {
},
default: '',
},
{
displayName: 'Marketing Status',
name: 'marketing_status',
type: 'options',
options: [
{
name: 'No Consent',
value: 'no_consent',
},
{
name: 'Unsubscribed',
value: 'unsubscribed',
},
{
name: 'Subscribed',
value: 'subscribed',
},
{
name: 'Archived',
value: 'archived',
},
],
default: 'subscribed',
description: 'Please be aware that it is only allowed once to change the marketing status from an old status to a new one.',
},
{
displayName: 'Organization ID',
name: 'org_id',
@@ -3176,6 +3201,16 @@ export class Pipedrive implements INodeType {
default: '3',
description: 'Visibility of the person. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user.',
},
{
displayName: 'User ID',
name: 'owner_id',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getUserIds',
},
default: '',
description: 'ID of the User this deal will be associated with.',
},
],
},
@@ -3361,6 +3396,16 @@ export class Pipedrive implements INodeType {
default: '3',
description: 'Visibility of the deal. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user.',
},
{
displayName: 'User ID',
name: 'owner_id',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getUserIds',
},
default: '',
description: 'ID of the User this deal will be associated with.',
},
],
},