feat(Salesforce Node): Add country field (#3314)

This commit is contained in:
Michael Kret
2022-05-24 09:56:33 +03:00
committed by GitHub
parent 5c5de0c92c
commit 90a1bc120b
9 changed files with 102 additions and 88 deletions

View File

@@ -31,6 +31,11 @@ export const accountOperations: INodeProperties[] = [
value: 'upsert',
description: 'Create a new account, or update the current one if it already exists (upsert)',
},
{
name: 'Delete',
value: 'delete',
description: 'Delete an account',
},
{
name: 'Get',
value: 'get',
@@ -46,11 +51,6 @@ export const accountOperations: INodeProperties[] = [
value: 'getSummary',
description: 'Returns an overview of account\'s metadata',
},
{
name: 'Delete',
value: 'delete',
description: 'Delete an account',
},
{
name: 'Update',
value: 'update',
@@ -152,16 +152,6 @@ export const accountFields: INodeProperties[] = [
default: '',
description: 'Account number assigned to this account (not the unique ID). Maximum size is 40 characters.',
},
{
displayName: 'Account Source',
name: 'accountSource',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getAccountSources',
},
default: '',
description: 'The source of the account record',
},
{
displayName: 'Annual Revenue',
name: 'annualRevenue',
@@ -172,6 +162,16 @@ export const accountFields: INodeProperties[] = [
default: '',
description: 'Estimated annual revenue of the account',
},
{
displayName: 'Account Source',
name: 'accountSource',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getAccountSources',
},
default: '',
description: 'The source of the account record',
},
{
displayName: 'Billing City',
name: 'billingCity',
@@ -290,6 +290,13 @@ export const accountFields: INodeProperties[] = [
default: '',
description: 'The owner of the account',
},
{
displayName: 'Parent ID',
name: 'parentId',
type: 'string',
default: '',
description: 'ID of the parent object, if any',
},
{
displayName: 'Phone',
name: 'phone',
@@ -326,13 +333,6 @@ export const accountFields: INodeProperties[] = [
},
description: 'Type of account',
},
{
displayName: 'Parent ID',
name: 'parentId',
type: 'string',
default: '',
description: 'ID of the parent object, if any',
},
{
displayName: 'Shipping City',
name: 'shippingCity',
@@ -545,6 +545,19 @@ export const accountFields: INodeProperties[] = [
default: '',
description: 'References the ID of a company in Data.com',
},
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
description: 'Name of the account. Maximum size is 255 characters.',
},
{
displayName: 'Number Of Employees',
name: 'numberOfEmployees',
type: 'number',
default: '',
},
{
displayName: 'Owner',
name: 'ownerId',
@@ -555,6 +568,13 @@ export const accountFields: INodeProperties[] = [
default: '',
description: 'The owner of the account',
},
{
displayName: 'Parent ID',
name: 'parentId',
type: 'string',
default: '',
description: 'ID of the parent object, if any',
},
{
displayName: 'Phone',
name: 'phone',
@@ -571,36 +591,6 @@ export const accountFields: INodeProperties[] = [
},
default: '',
},
{
displayName: 'Type',
name: 'type',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getAccountTypes',
},
description: 'Type of account',
},
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
description: 'Name of the account. Maximum size is 255 characters.',
},
{
displayName: 'Number Of Employees',
name: 'numberOfEmployees',
type: 'number',
default: '',
},
{
displayName: 'Parent ID',
name: 'parentId',
type: 'string',
default: '',
description: 'ID of the parent object, if any',
},
{
displayName: 'SicDesc',
name: 'sicDesc',
@@ -646,6 +636,16 @@ export const accountFields: INodeProperties[] = [
default: '',
description: 'The street address of the shipping address for this account. Maximum of 255 characters.',
},
{
displayName: 'Type',
name: 'type',
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getAccountTypes',
},
description: 'Type of account',
},
{
displayName: 'Website',
name: 'website',
@@ -906,7 +906,7 @@ export const accountFields: INodeProperties[] = [
name: 'isPrivate',
type: 'boolean',
default: false,
description: 'If true, only the note owner or a user with the “Modify All Data” permission can view the note or query it via the API',
description: 'Whether true, only the note owner or a user with the “Modify All Data” permission can view the note or query it via the API',
},
{
displayName: 'Owner',