Feature/extended active campaign (#928)

* feat: 🎸 node/activecampaign account, tag, account contact

* feat: 🎸 node/ActiveCampaign Update an accountContact assoc

* feat: 🎸 node/activecampaign Update an account

* feat: 🎸 node/activecampaign Get an account

* feat: 🎸 node/activecampaign GetAll & Delete an account

* feat: 🎸 node/activecampaign change ID's type to number

* refactor: 💡 node/activecampaign merge getAll properties

*  Improvements to #923

*  Improvements

*  Improvements

*  Add breaking change message

Co-authored-by: Ronald Diquélou <rdiquelou@opensafepro.com>
This commit is contained in:
Ricardo Espinoza
2020-09-18 03:42:01 -04:00
committed by GitHub
parent e18d7934ad
commit a552febab4
13 changed files with 1584 additions and 316 deletions

View File

@@ -1,6 +1,14 @@
import { INodeProperties } from "n8n-workflow";
import {
INodeProperties,
} from "n8n-workflow";
import { allCurrencies } from './currencies';
import {
allCurrencies,
} from './currencies';
import {
activeCampaignDefaultGetAllProperties,
} from './GenericFunctions';
export const ecomOrderOperations = [
{
@@ -672,45 +680,6 @@ export const ecomOrderFields = [
// ----------------------------------
// ecommerceOrder:getAll
// ----------------------------------
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'ecommerceOrder',
],
},
},
default: false,
description: 'If all results should be returned or only up to a given limit.',
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
displayOptions: {
show: {
operation: [
'getAll',
],
resource: [
'ecommerceOrder',
],
returnAll: [
false,
],
},
},
typeOptions: {
minValue: 1,
maxValue: 500,
},
default: 100,
description: 'How many results to return.',
},
...activeCampaignDefaultGetAllProperties('ecommerceOrder', 'getAll'),
] as INodeProperties[];