Enforce type checking in all node params (#2509)

This commit is contained in:
Iván Ovejero 2021-12-03 09:44:16 +01:00 committed by GitHub
parent ca761c88c8
commit a783288338
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
527 changed files with 2289 additions and 2259 deletions

View file

@ -6,7 +6,7 @@ import {
makeSimpleField, makeSimpleField,
} from './SharedFields'; } from './SharedFields';
export const attendanceOperations = [ export const attendanceOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -35,9 +35,9 @@ export const attendanceOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const attendanceFields = [ export const attendanceFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// attendance: create // attendance: create
// ---------------------------------------- // ----------------------------------------
@ -182,4 +182,4 @@ export const attendanceFields = [
}, },
}, },
makeSimpleField('attendance', 'getAll'), makeSimpleField('attendance', 'getAll'),
] as INodeProperties[]; ];

View file

@ -7,7 +7,7 @@ import {
makeSimpleField, makeSimpleField,
} from './SharedFields'; } from './SharedFields';
export const eventOperations = [ export const eventOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -36,9 +36,9 @@ export const eventOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const eventFields = [ export const eventFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// event: create // event: create
// ---------------------------------------- // ----------------------------------------
@ -165,4 +165,4 @@ export const eventFields = [
}, },
}, },
makeSimpleField('event', 'getAll'), makeSimpleField('event', 'getAll'),
] as INodeProperties[]; ];

View file

@ -7,7 +7,7 @@ import {
personAdditionalFieldsOptions, personAdditionalFieldsOptions,
} from './SharedFields'; } from './SharedFields';
export const personOperations = [ export const personOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -40,9 +40,9 @@ export const personOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const personFields = [ export const personFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// person: create // person: create
// ---------------------------------------- // ----------------------------------------
@ -247,4 +247,4 @@ export const personFields = [
}, },
options: personAdditionalFieldsOptions, options: personAdditionalFieldsOptions,
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const personTagOperations = [ export const personTagOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -27,9 +27,9 @@ export const personTagOperations = [
default: 'add', default: 'add',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const personTagFields = [ export const personTagFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// personTag: add // personTag: add
// ---------------------------------------- // ----------------------------------------
@ -103,7 +103,9 @@ export const personTagFields = [
description: 'ID of the tagging to remove.', description: 'ID of the tagging to remove.',
type: 'options', type: 'options',
typeOptions: { typeOptions: {
loadOptionsDependsOn: 'tagId', loadOptionsDependsOn: [
'tagId',
],
loadOptionsMethod: 'getTaggings', loadOptionsMethod: 'getTaggings',
}, },
required: true, required: true,
@ -119,4 +121,4 @@ export const personTagFields = [
}, },
}, },
}, },
] as INodeProperties[]; ];

View file

@ -7,7 +7,7 @@ import {
petitionAdditionalFieldsOptions, petitionAdditionalFieldsOptions,
} from './SharedFields'; } from './SharedFields';
export const petitionOperations = [ export const petitionOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -40,9 +40,9 @@ export const petitionOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const petitionFields = [ export const petitionFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// petition: create // petition: create
// ---------------------------------------- // ----------------------------------------
@ -210,4 +210,4 @@ export const petitionFields = [
}, },
options: petitionAdditionalFieldsOptions, options: petitionAdditionalFieldsOptions,
}, },
] as INodeProperties[]; ];

View file

@ -1,9 +1,13 @@
import {
INodeProperties,
} from 'n8n-workflow';
import { import {
Operation, Operation,
Resource, Resource,
} from '../types'; } from '../types';
export const languageOptions = [ export const languageOptions: INodeProperties['options'] = [
{ {
name: 'Danish', name: 'Danish',
value: 'da', value: 'da',
@ -68,9 +72,9 @@ export const languageOptions = [
name: 'Welsh', name: 'Welsh',
value: 'cy', value: 'cy',
}, },
] as const; ];
const postalAddressesFields = [ const postalAddressesFields: INodeProperties[] = [
{ {
displayName: 'Primary', displayName: 'Primary',
name: 'primary', name: 'primary',
@ -150,7 +154,7 @@ const postalAddressesFields = [
}, },
]; ];
export const eventAdditionalFieldsOptions = [ export const eventAdditionalFieldsOptions: INodeProperties['options'] = [
{ {
displayName: 'Browser URL', displayName: 'Browser URL',
name: 'browser_url', name: 'browser_url',
@ -221,7 +225,7 @@ export const eventAdditionalFieldsOptions = [
}, },
]; ];
export const personAdditionalFieldsOptions = [ export const personAdditionalFieldsOptions: INodeProperties['options'] = [
{ {
displayName: 'Family Name', displayName: 'Family Name',
name: 'family_name', name: 'family_name',
@ -319,7 +323,7 @@ export const personAdditionalFieldsOptions = [
}, },
]; ];
export const petitionAdditionalFieldsOptions = [ export const petitionAdditionalFieldsOptions: INodeProperties[] = [
{ {
displayName: 'Browser URL', displayName: 'Browser URL',
name: 'browser_url', name: 'browser_url',
@ -357,7 +361,7 @@ export const petitionAdditionalFieldsOptions = [
}, },
]; ];
export const makeSimpleField = (resource: Resource, operation: Operation) => ({ export const makeSimpleField = (resource: Resource, operation: Operation): INodeProperties => ({
displayName: 'Simple', displayName: 'Simple',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',

View file

@ -6,7 +6,7 @@ import {
makeSimpleField, makeSimpleField,
} from './SharedFields'; } from './SharedFields';
export const signatureOperations = [ export const signatureOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const signatureOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const signatureFields = [ export const signatureFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// signature: create // signature: create
// ---------------------------------------- // ----------------------------------------
@ -279,4 +279,4 @@ export const signatureFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -6,7 +6,7 @@ import {
makeSimpleField, makeSimpleField,
} from './SharedFields'; } from './SharedFields';
export const tagOperations = [ export const tagOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -35,9 +35,9 @@ export const tagOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const tagFields = [ export const tagFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// tag: create // tag: create
// ---------------------------------------- // ----------------------------------------
@ -128,4 +128,4 @@ export const tagFields = [
}, },
}, },
makeSimpleField('tag', 'getAll'), makeSimpleField('tag', 'getAll'),
] as INodeProperties[]; ];

View file

@ -4,6 +4,7 @@ export type Resource = 'attendance' | 'event' | 'person' | 'personTag' | 'petiti
export type Operation = 'create' | 'delete' | 'get' | 'getAll' | 'update' | 'add' | 'remove'; export type Operation = 'create' | 'delete' | 'get' | 'getAll' | 'update' | 'add' | 'remove';
// @ts-ignore
export type LanguageCodes = typeof languageOptions[number]['value'] export type LanguageCodes = typeof languageOptions[number]['value']

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const accountContactOperations = [ export const accountContactOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -34,9 +34,9 @@ export const accountContactOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const accountContactFields = [ export const accountContactFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// accountContact:create // accountContact:create
// ---------------------------------- // ----------------------------------
@ -172,4 +172,4 @@ export const accountContactFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -6,7 +6,7 @@ import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from './GenericFunctions'; } from './GenericFunctions';
export const accountOperations = [ export const accountOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -48,9 +48,9 @@ export const accountOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const accountFields = [ export const accountFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// contact:create // contact:create
// ---------------------------------- // ----------------------------------
@ -299,4 +299,4 @@ export const accountFields = [
], ],
}, },
] as INodeProperties[]; ];

View file

@ -6,7 +6,7 @@ import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from './GenericFunctions'; } from './GenericFunctions';
export const connectionOperations = [ export const connectionOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -49,9 +49,9 @@ export const connectionOperations = [
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const connectionFields = [ export const connectionFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// connection:create // connection:create
// ---------------------------------- // ----------------------------------
@ -286,4 +286,4 @@ export const connectionFields = [
// ---------------------------------- // ----------------------------------
...activeCampaignDefaultGetAllProperties('connection', 'getAll'), ...activeCampaignDefaultGetAllProperties('connection', 'getAll'),
] as INodeProperties[]; ];

View file

@ -6,7 +6,7 @@ import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from './GenericFunctions'; } from './GenericFunctions';
export const contactOperations = [ export const contactOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -48,9 +48,9 @@ export const contactOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const contactFields = [ export const contactFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// contact:create // contact:create
// ---------------------------------- // ----------------------------------
@ -510,4 +510,4 @@ export const contactFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const contactListOperations = [ export const contactListOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const contactListOperations = [
default: 'add', default: 'add',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const contactListFields = [ export const contactListFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// contactList:add // contactList:add
// ---------------------------------- // ----------------------------------
@ -111,4 +111,4 @@ export const contactListFields = [
}, },
description: 'Contact ID', description: 'Contact ID',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const contactTagOperations = [ export const contactTagOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const contactTagOperations = [
default: 'add', default: 'add',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const contactTagFields = [ export const contactTagFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// contactTag:add // contactTag:add
// ---------------------------------- // ----------------------------------
@ -95,4 +95,4 @@ export const contactTagFields = [
required: true, required: true,
description: 'ID of the contact tag to delete.', description: 'ID of the contact tag to delete.',
}, },
] as INodeProperties[]; ];

View file

@ -10,7 +10,7 @@ import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from './GenericFunctions'; } from './GenericFunctions';
export const dealOperations = [ export const dealOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -63,9 +63,9 @@ export const dealOperations = [
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const dealFields = [ export const dealFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// deal:create // deal:create
// ---------------------------------- // ----------------------------------
@ -494,4 +494,4 @@ export const dealFields = [
description: 'The content of the deal note', description: 'The content of the deal note',
}, },
] as INodeProperties[]; ];

View file

@ -6,7 +6,7 @@ import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from './GenericFunctions'; } from './GenericFunctions';
export const ecomCustomerOperations = [ export const ecomCustomerOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -48,9 +48,9 @@ export const ecomCustomerOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const ecomCustomerFields = [ export const ecomCustomerFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// ecommerceCustomer:create // ecommerceCustomer:create
// ---------------------------------- // ----------------------------------
@ -253,4 +253,4 @@ export const ecomCustomerFields = [
// ecommerceCustomer:getAll // ecommerceCustomer:getAll
// ---------------------------------- // ----------------------------------
...activeCampaignDefaultGetAllProperties('ecommerceCustomer', 'getAll'), ...activeCampaignDefaultGetAllProperties('ecommerceCustomer', 'getAll'),
] as INodeProperties[]; ];

View file

@ -10,7 +10,7 @@ import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from './GenericFunctions'; } from './GenericFunctions';
export const ecomOrderOperations = [ export const ecomOrderOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -52,9 +52,9 @@ export const ecomOrderOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const ecomOrderFields = [ export const ecomOrderFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// ecommerceOrder:create // ecommerceOrder:create
// ---------------------------------- // ----------------------------------
@ -682,4 +682,4 @@ export const ecomOrderFields = [
// ---------------------------------- // ----------------------------------
...activeCampaignDefaultGetAllProperties('ecommerceOrder', 'getAll'), ...activeCampaignDefaultGetAllProperties('ecommerceOrder', 'getAll'),
] as INodeProperties[]; ];

View file

@ -6,7 +6,7 @@ import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from './GenericFunctions'; } from './GenericFunctions';
export const ecomOrderProductsOperations = [ export const ecomOrderProductsOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -38,9 +38,9 @@ export const ecomOrderProductsOperations = [
default: 'getAll', default: 'getAll',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const ecomOrderProductsFields = [ export const ecomOrderProductsFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// ecommerceOrderProducts:getByOrderId // ecommerceOrderProducts:getByOrderId
// ---------------------------------- // ----------------------------------
@ -87,4 +87,4 @@ export const ecomOrderProductsFields = [
// ecommerceOrderProducts:getAll // ecommerceOrderProducts:getAll
// ---------------------------------- // ----------------------------------
...activeCampaignDefaultGetAllProperties('ecommerceOrderProducts', 'getAll'), ...activeCampaignDefaultGetAllProperties('ecommerceOrderProducts', 'getAll'),
] as INodeProperties[]; ];

View file

@ -6,7 +6,7 @@ import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from './GenericFunctions'; } from './GenericFunctions';
export const listOperations = [ export const listOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -28,11 +28,11 @@ export const listOperations = [
default: 'getAll', default: 'getAll',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const listFields = [ export const listFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// list:getAll // list:getAll
// ---------------------------------- // ----------------------------------
...activeCampaignDefaultGetAllProperties('list', 'getAll'), ...activeCampaignDefaultGetAllProperties('list', 'getAll'),
] as INodeProperties[]; ];

View file

@ -6,7 +6,7 @@ import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from './GenericFunctions'; } from './GenericFunctions';
export const tagOperations = [ export const tagOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -48,9 +48,9 @@ export const tagOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const tagFields = [ export const tagFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// contact:create // contact:create
// ---------------------------------- // ----------------------------------
@ -229,4 +229,4 @@ export const tagFields = [
// tag:getAll // tag:getAll
// ---------------------------------- // ----------------------------------
...activeCampaignDefaultGetAllProperties('tag', 'getAll'), ...activeCampaignDefaultGetAllProperties('tag', 'getAll'),
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const listOperations = [ export const listOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const listOperations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const listFields = [ export const listFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* list:get */ /* list:get */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -97,4 +97,4 @@ export const listFields = [
default: 5, default: 5,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const listEntryOperations = [ export const listEntryOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const listEntryOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const listEntryFields = [ export const listEntryFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* listEntry:create */ /* listEntry:create */
@ -259,4 +259,4 @@ export const listEntryFields = [
}, },
description: 'The unique id of the list entry object to be deleted.', description: 'The unique id of the list entry object to be deleted.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const organizationOperations = [ export const organizationOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const organizationOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const organizationFields = [ export const organizationFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* organization:create */ /* organization:create */
@ -325,4 +325,4 @@ export const organizationFields = [
}, },
description: 'Unique identifier for the organization.', description: 'Unique identifier for the organization.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const personOperations = [ export const personOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const personOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const personFields = [ export const personFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* person:create */ /* person:create */
@ -369,4 +369,4 @@ export const personFields = [
}, },
description: 'Unique identifier for the person.', description: 'Unique identifier for the person.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const companyOperations = [ export const companyOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const companyOperations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const companyFields = [ export const companyFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* company:get */ /* company:get */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -520,6 +520,7 @@ export const companyFields = [
name: 'websiteOptions', name: 'websiteOptions',
type: 'fixedCollection', type: 'fixedCollection',
description: 'Companies websites.', description: 'Companies websites.',
default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -598,6 +599,7 @@ export const companyFields = [
displayName: 'Custom Properties', displayName: 'Custom Properties',
name: 'customProperties', name: 'customProperties',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Custom Properties', description: 'Custom Properties',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -815,6 +817,7 @@ export const companyFields = [
displayName: 'Website', displayName: 'Website',
name: 'websiteOptions', name: 'websiteOptions',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Companys websites.', description: 'Companys websites.',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -894,6 +897,7 @@ export const companyFields = [
displayName: 'Custom Properties', displayName: 'Custom Properties',
name: 'customProperties', name: 'customProperties',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Custom Properties', description: 'Custom Properties',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -932,4 +936,4 @@ export const companyFields = [
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const contactOperations = [ export const contactOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const contactOperations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const contactFields = [ export const contactFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* contact:get */ /* contact:get */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -450,6 +450,7 @@ export const contactFields = [
displayName: 'Address', displayName: 'Address',
name: 'addressOptions', name: 'addressOptions',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Contacts address.', description: 'Contacts address.',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -504,6 +505,7 @@ export const contactFields = [
displayName: 'Email', displayName: 'Email',
name: 'emailOptions', name: 'emailOptions',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Contact email.', description: 'Contact email.',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -604,6 +606,7 @@ export const contactFields = [
displayName: 'Phone', displayName: 'Phone',
name: 'phoneOptions', name: 'phoneOptions',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Contacts phone.', description: 'Contacts phone.',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -685,6 +688,7 @@ export const contactFields = [
displayName: 'Website', displayName: 'Website',
name: 'websiteOptions', name: 'websiteOptions',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Contacts websites.', description: 'Contacts websites.',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -764,6 +768,7 @@ export const contactFields = [
displayName: 'Custom Properties', displayName: 'Custom Properties',
name: 'customProperties', name: 'customProperties',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Custom Properties', description: 'Custom Properties',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -909,6 +914,7 @@ export const contactFields = [
displayName: 'Address', displayName: 'Address',
name: 'addressOptions', name: 'addressOptions',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Contacts address.', description: 'Contacts address.',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -963,6 +969,7 @@ export const contactFields = [
displayName: 'Email', displayName: 'Email',
name: 'emailOptions', name: 'emailOptions',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Contact email.', description: 'Contact email.',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -1063,6 +1070,7 @@ export const contactFields = [
displayName: 'Phone', displayName: 'Phone',
name: 'phoneOptions', name: 'phoneOptions',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Contacts phone.', description: 'Contacts phone.',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -1144,6 +1152,7 @@ export const contactFields = [
displayName: 'Website', displayName: 'Website',
name: 'websiteOptions', name: 'websiteOptions',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Contacts websites.', description: 'Contacts websites.',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -1223,6 +1232,7 @@ export const contactFields = [
displayName: 'Custom Properties', displayName: 'Custom Properties',
name: 'customProperties', name: 'customProperties',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Custom Properties', description: 'Custom Properties',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -1261,4 +1271,4 @@ export const contactFields = [
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const dealOperations = [ export const dealOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -45,9 +45,9 @@ export const dealOperations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const dealFields = [ export const dealFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* deal:get */ /* deal:get */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -301,6 +301,7 @@ export const dealFields = [
displayName: 'Custom Data', displayName: 'Custom Data',
name: 'customData', name: 'customData',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Custom Data', description: 'Custom Data',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -480,6 +481,7 @@ export const dealFields = [
displayName: 'Custom Data', displayName: 'Custom Data',
name: 'customData', name: 'customData',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
description: 'Custom Data', description: 'Custom Data',
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
@ -510,4 +512,4 @@ export const dealFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const contactOperations = [ export const contactOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const contactOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const contactFields = [ export const contactFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* contact:create */ /* contact:create */
@ -477,4 +477,4 @@ export const contactFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const listOperations = [ export const listOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const listOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const listFields = [ export const listFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* list:create */ /* list:create */
@ -238,4 +238,4 @@ export const listFields = [
}, },
default: '', default: '',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const contactOperations = [ export const contactOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const contactOperations = [
default: 'upsert', default: 'upsert',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const contactFields = [ export const contactFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* contact:upsert */ /* contact:upsert */
@ -366,4 +366,4 @@ export const contactFields = [
default: 100, default: 100,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const contactJourneyOperations = [ export const contactJourneyOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -24,9 +24,9 @@ export const contactJourneyOperations = [
default: 'add', default: 'add',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const contactJourneyFields = [ export const contactJourneyFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* contactJourney:add */ /* contactJourney:add */
@ -70,4 +70,4 @@ export const contactJourneyFields = [
default: '', default: '',
description: 'Can be ID or email.', description: 'Can be ID or email.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const contactListOperations = [ export const contactListOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const contactListOperations = [
default: 'add', default: 'add',
description: 'Operation to perform.', description: 'Operation to perform.',
}, },
] as INodeProperties[]; ];
export const contactListFields = [ export const contactListFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* contactList:add */ /* contactList:add */
@ -135,4 +135,4 @@ export const contactListFields = [
default: 100, default: 100,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const listOperations = [ export const listOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const listOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const listFields = [ export const listFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* list:create */ /* list:create */
@ -99,4 +99,4 @@ export const listFields = [
default: 100, default: 100,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const itemOperations = [ export const itemOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -38,9 +38,9 @@ export const itemOperations = [
], ],
default: 'upsert', default: 'upsert',
}, },
] as INodeProperties[]; ];
export const itemFields = [ export const itemFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// all // all
// ---------------------------------- // ----------------------------------
@ -959,4 +959,4 @@ export const itemFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const bucketOperations = [ export const bucketOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const bucketOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const bucketFields = [ export const bucketFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* bucket:create */ /* bucket:create */
@ -352,4 +352,4 @@ export const bucketFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const fileOperations = [ export const fileOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const fileOperations = [
default: 'download', default: 'download',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const fileFields = [ export const fileFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* file:copy */ /* file:copy */
@ -919,4 +919,4 @@ export const fileFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const folderOperations = [ export const folderOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -34,9 +34,9 @@ export const folderOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const folderFields = [ export const folderFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* folder:create */ /* folder:create */
@ -275,4 +275,4 @@ export const folderFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const imageOperations = [ export const imageOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const imageOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const imageFields = [ export const imageFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* image:create */ /* image:create */
@ -205,4 +205,4 @@ export const imageFields = [
}, },
description: 'Unique identifier for the image.', description: 'Unique identifier for the image.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const templateOperations = [ export const templateOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const templateOperations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const templateFields = [ export const templateFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* template:get */ /* template:get */
@ -54,4 +54,4 @@ export const templateFields = [
}, },
description: 'Unique identifier for the template.', description: 'Unique identifier for the template.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const operationFields = [ export const operationFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// shared // shared
// ---------------------------------- // ----------------------------------
@ -472,4 +472,4 @@ export const operationFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const linkOperations = [ export const linkOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -32,9 +32,9 @@ export const linkOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const linkFields = [ export const linkFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* link:create */ /* link:create */
@ -313,4 +313,4 @@ export const linkFields = [
}, },
}, },
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const collectionOperations = [ export const collectionOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -35,9 +35,9 @@ export const collectionOperations = [
}, },
}, },
}, },
] as INodeProperties[]; ];
export const collectionFields = [ export const collectionFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// collection: shared // collection: shared
// ---------------------------------- // ----------------------------------
@ -144,7 +144,7 @@ export const collectionFields = [
}, },
}, },
}, },
] as INodeProperties[]; ];
export interface CollectionUpdateFields { export interface CollectionUpdateFields {
groups: string[]; groups: string[];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const eventOperations = [ export const eventOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -23,10 +23,10 @@ export const eventOperations = [
}, },
}, },
}, },
] as INodeProperties[]; ];
export const eventFields = [ export const eventFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// event: getAll // event: getAll
// ---------------------------------- // ----------------------------------
@ -116,4 +116,4 @@ export const eventFields = [
}, },
}, },
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const groupOperations = [ export const groupOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -47,9 +47,9 @@ export const groupOperations = [
}, },
}, },
}, },
] as INodeProperties[]; ];
export const groupFields = [ export const groupFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// group: shared // group: shared
// ---------------------------------- // ----------------------------------
@ -267,7 +267,7 @@ export const groupFields = [
}, },
}, },
}, },
] as INodeProperties[]; ];
type GroupSchema = { type GroupSchema = {
name: string; name: string;

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const memberOperations = [ export const memberOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -47,9 +47,9 @@ export const memberOperations = [
}, },
}, },
}, },
] as INodeProperties[]; ];
export const memberFields = [ export const memberFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// member: shared // member: shared
// ---------------------------------- // ----------------------------------
@ -312,7 +312,7 @@ export const memberFields = [
}, },
}, },
}, },
] as INodeProperties[]; ];
type MemberSchema = { type MemberSchema = {
email: string; email: string;

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const fileOperations = [ export const fileOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -54,9 +54,9 @@ export const fileOperations = [
default: 'upload', default: 'upload',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const fileFields = [ export const fileFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* file:copy */ /* file:copy */
@ -832,4 +832,4 @@ export const fileFields = [
default: '', default: '',
description: 'ID of the parent folder that will contain the file. If not it will be uploaded to the root folder', description: 'ID of the parent folder that will contain the file. If not it will be uploaded to the root folder',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const folderOperations = [ export const folderOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -49,9 +49,9 @@ export const folderOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const folderFields = [ export const folderFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* folder:create */ /* folder:create */
@ -860,4 +860,4 @@ export const folderFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const objectOperations = [ export const objectOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const objectOperations = [
}, },
}, },
}, },
] as INodeProperties[]; ];
export const objectFields = [ export const objectFields: INodeProperties[] = [
// ---------------------------------- // ----------------------------------
// object: create // object: create
// ---------------------------------- // ----------------------------------
@ -513,4 +513,4 @@ export const objectFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const pipelineOperations = [ export const pipelineOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -34,9 +34,9 @@ export const pipelineOperations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const pipelineFields = [ export const pipelineFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* pipeline:shared */ /* pipeline:shared */
@ -222,4 +222,4 @@ export const pipelineFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -149,7 +149,7 @@ export function getAttachemnts(attachements: IDataObject[]) {
return _attachments; return _attachments;
} }
export function getActionInheritedProperties() { export function getActionInheritedProperties(): INodeProperties[] {
return [ return [
{ {
displayName: 'Title', displayName: 'Title',
@ -190,7 +190,7 @@ export function getActionInheritedProperties() {
]; ];
} }
export function getTextBlockProperties() { export function getTextBlockProperties(): INodeProperties[] {
return [ return [
{ {
displayName: 'Text', displayName: 'Text',
@ -522,7 +522,7 @@ export function getTextBlockProperties() {
]; ];
} }
export function getInputTextProperties() { export function getInputTextProperties(): INodeProperties[] {
return [ return [
{ {
displayName: 'ID', displayName: 'ID',

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const meetingOperations = [ export const meetingOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const meetingOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const meetingFields = [ export const meetingFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// meeting: create // meeting: create
// ---------------------------------------- // ----------------------------------------
@ -965,4 +965,4 @@ export const meetingFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const meetingTranscriptOperations = [ export const meetingTranscriptOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -27,9 +27,9 @@ export const meetingTranscriptOperations = [
default: 'download', default: 'download',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const meetingTranscriptFields = [ export const meetingTranscriptFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// meetingTranscript: download // meetingTranscript: download
// ---------------------------------------- // ----------------------------------------
@ -193,4 +193,4 @@ export const meetingTranscriptFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -6,7 +6,7 @@ import {
getActionInheritedProperties, getInputTextProperties, getTextBlockProperties, getActionInheritedProperties, getInputTextProperties, getTextBlockProperties,
} from '../GenericFunctions'; } from '../GenericFunctions';
export const messageOperations = [ export const messageOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -43,9 +43,9 @@ export const messageOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const messageFields = [ export const messageFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// message: create // message: create
// ---------------------------------------- // ----------------------------------------
@ -210,6 +210,7 @@ export const messageFields = [
displayName: 'Attachments', displayName: 'Attachments',
name: 'attachmentsUi', name: 'attachmentsUi',
type: 'fixedCollection', type: 'fixedCollection',
default: {},
typeOptions: { typeOptions: {
multipleValues: true, multipleValues: true,
}, },
@ -654,4 +655,4 @@ export const messageFields = [
}, },
}, },
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const companyOperations = [ export const companyOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -27,9 +27,9 @@ export const companyOperations = [
default: 'enrich', default: 'enrich',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const companyFields = [ export const companyFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* company:enrich */ /* company:enrich */
@ -121,4 +121,4 @@ export const companyFields = [
}, },
description: 'Name is the partial name of the company.', description: 'Name is the partial name of the company.',
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const personOperations = [ export const personOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -22,9 +22,9 @@ export const personOperations = [
default: 'enrich', default: 'enrich',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const personFields = [ export const personFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* person:enrich */ /* person:enrich */
@ -129,4 +129,4 @@ export const personFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const checklistOperations = [ export const checklistOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -34,9 +34,9 @@ export const checklistOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const checklistFields = [ export const checklistFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* checklist:create */ /* checklist:create */
@ -149,4 +149,4 @@ export const checklistFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const checklistItemOperations = [ export const checklistItemOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -34,9 +34,9 @@ export const checklistItemOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const checklistItemFields = [ export const checklistItemFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* checklistItem:create */ /* checklistItem:create */
@ -220,4 +220,4 @@ export const checklistItemFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const commentOperations = [ export const commentOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const commentOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const commentFields = [ export const commentFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* comment:create */ /* comment:create */
@ -292,4 +292,4 @@ export const commentFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const folderOperations = [ export const folderOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const folderOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const folderFields = [ export const folderFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* folder:create */ /* folder:create */
@ -439,4 +439,4 @@ export const folderFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const goalOperations = [ export const goalOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const goalOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const goalFields = [ export const goalFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* goal:create */ /* goal:create */
@ -306,4 +306,4 @@ export const goalFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const goalKeyResultOperations = [ export const goalKeyResultOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -34,9 +34,9 @@ export const goalKeyResultOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const goalKeyResultFields = [ export const goalKeyResultFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* goalKeyResult:create */ /* goalKeyResult:create */
@ -288,4 +288,4 @@ export const goalKeyResultFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const guestOperations = [ export const guestOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const guestOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const guestFields = [ export const guestFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* guest:create */ /* guest:create */
@ -285,4 +285,4 @@ export const guestFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const listOperations = [ export const listOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -54,9 +54,9 @@ export const listOperations = [
default: 'customFields', default: 'customFields',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const listFields = [ export const listFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* list:create */ /* list:create */
@ -223,11 +223,11 @@ export const listFields = [
displayName: 'Status', displayName: 'Status',
name: 'status', name: 'status',
type: 'options', type: 'options',
typeOptions: {
loadOptionsMethod: 'getStatuses',
loadOptionsDependsOn: [ loadOptionsDependsOn: [
'list', 'list',
], ],
typeOptions: {
loadOptionsMethod: 'getStatuses',
}, },
default: '', default: '',
}, },
@ -915,11 +915,11 @@ export const listFields = [
displayName: 'Assignee', displayName: 'Assignee',
name: 'assignee', name: 'assignee',
type: 'options', type: 'options',
typeOptions: {
loadOptionsMethod: 'getAssignees',
loadOptionsDependsOn: [ loadOptionsDependsOn: [
'list', 'list',
], ],
typeOptions: {
loadOptionsMethod: 'getAssignees',
}, },
default: '', default: '',
@ -970,4 +970,4 @@ export const listFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const spaceTagOperations = [ export const spaceTagOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const spaceTagOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const spaceTagFields = [ export const spaceTagFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* spaceTag:create */ /* spaceTag:create */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -201,4 +201,4 @@ export const spaceTagFields = [
default: 50, default: 50,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const taskDependencyOperations = [ export const taskDependencyOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const taskDependencyOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const taskDependencyFields = [ export const taskDependencyFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* taskDependency:create */ /* taskDependency:create */
@ -57,6 +57,7 @@ export const taskDependencyFields = [
displayName: 'Depends On Task ID', displayName: 'Depends On Task ID',
name: 'dependsOnTask', name: 'dependsOnTask',
type: 'string', type: 'string',
default: '',
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@ -94,6 +95,7 @@ export const taskDependencyFields = [
displayName: 'Depends On Task ID', displayName: 'Depends On Task ID',
name: 'dependsOnTask', name: 'dependsOnTask',
type: 'string', type: 'string',
default: '',
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@ -106,4 +108,4 @@ export const taskDependencyFields = [
}, },
required: true, required: true,
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const taskOperations = [ export const taskOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -54,9 +54,9 @@ export const taskOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const taskFields = [ export const taskFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* task:create */ /* task:create */
@ -238,11 +238,11 @@ export const taskFields = [
displayName: 'Assignees', displayName: 'Assignees',
name: 'assignees', name: 'assignees',
type: 'multiOptions', type: 'multiOptions',
typeOptions: {
loadOptionsMethod: 'getAssignees',
loadOptionsDependsOn: [ loadOptionsDependsOn: [
'list', 'list',
], ],
typeOptions: {
loadOptionsMethod: 'getAssignees',
}, },
default: [], default: [],
}, },
@ -322,11 +322,11 @@ export const taskFields = [
displayName: 'Status', displayName: 'Status',
name: 'status', name: 'status',
type: 'options', type: 'options',
typeOptions: {
loadOptionsMethod: 'getStatuses',
loadOptionsDependsOn: [ loadOptionsDependsOn: [
'list', 'list',
], ],
typeOptions: {
loadOptionsMethod: 'getStatuses',
}, },
default: '', default: '',
}, },
@ -334,11 +334,11 @@ export const taskFields = [
displayName: 'Tags', displayName: 'Tags',
name: 'tags', name: 'tags',
type: 'multiOptions', type: 'multiOptions',
typeOptions: {
loadOptionsMethod: 'getTags',
loadOptionsDependsOn: [ loadOptionsDependsOn: [
'space', 'space',
], ],
typeOptions: {
loadOptionsMethod: 'getTags',
}, },
default: [], default: [],
description: 'The array of tags applied to this task', description: 'The array of tags applied to this task',
@ -722,11 +722,11 @@ export const taskFields = [
displayName: 'Assignees', displayName: 'Assignees',
name: 'assignees', name: 'assignees',
type: 'multiOptions', type: 'multiOptions',
typeOptions: {
loadOptionsMethod: 'getAssignees',
loadOptionsDependsOn: [ loadOptionsDependsOn: [
'list', 'list',
], ],
typeOptions: {
loadOptionsMethod: 'getAssignees',
}, },
default: [], default: [],
@ -893,11 +893,11 @@ export const taskFields = [
displayName: 'Statuses', displayName: 'Statuses',
name: 'statuses', name: 'statuses',
type: 'multiOptions', type: 'multiOptions',
typeOptions: {
loadOptionsMethod: 'getStatuses',
loadOptionsDependsOn: [ loadOptionsDependsOn: [
'list', 'list',
], ],
typeOptions: {
loadOptionsMethod: 'getStatuses',
}, },
default: [], default: [],
}, },
@ -912,11 +912,11 @@ export const taskFields = [
displayName: 'Tags', displayName: 'Tags',
name: 'tags', name: 'tags',
type: 'multiOptions', type: 'multiOptions',
typeOptions: {
loadOptionsMethod: 'getTags',
loadOptionsDependsOn: [ loadOptionsDependsOn: [
'space', 'space',
], ],
typeOptions: {
loadOptionsMethod: 'getTags',
}, },
default: [], default: [],
description: 'The array of tags applied to this task', description: 'The array of tags applied to this task',
@ -1085,4 +1085,4 @@ export const taskFields = [
}, },
description: 'The value to set on custom field.', description: 'The value to set on custom field.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const taskListOperations = [ export const taskListOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const taskListOperations = [
default: 'add', default: 'add',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const taskListFields = [ export const taskListFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* taskList:add */ /* taskList:add */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -71,4 +71,4 @@ export const taskListFields = [
}, },
required: true, required: true,
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const taskTagOperations = [ export const taskTagOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const taskTagOperations = [
default: 'add', default: 'add',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const taskTagFields = [ export const taskTagFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* taskTag:add */ /* taskTag:add */
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
@ -108,4 +108,4 @@ export const taskTagFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const timeEntryOperations = [ export const timeEntryOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -54,9 +54,9 @@ export const timeEntryOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const timeEntryFields = [ export const timeEntryFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* timeEntry:getAll */ /* timeEntry:getAll */
@ -434,11 +434,11 @@ export const timeEntryFields = [
displayName: 'Assignee IDs', displayName: 'Assignee IDs',
name: 'assignee', name: 'assignee',
type: 'options', type: 'options',
typeOptions: {
loadOptionsMethod: 'getAssignees',
loadOptionsDependsOn: [ loadOptionsDependsOn: [
'list', 'list',
], ],
typeOptions: {
loadOptionsMethod: 'getAssignees',
}, },
default: [], default: [],
}, },
@ -804,11 +804,11 @@ export const timeEntryFields = [
displayName: 'Assignee IDs', displayName: 'Assignee IDs',
name: 'assignee', name: 'assignee',
type: 'options', type: 'options',
typeOptions: {
loadOptionsMethod: 'getAssignees',
loadOptionsDependsOn: [ loadOptionsDependsOn: [
'list', 'list',
], ],
typeOptions: {
loadOptionsMethod: 'getAssignees',
}, },
default: [], default: [],
}, },
@ -865,4 +865,4 @@ export const timeEntryFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const timeEntryTagOperations = [ export const timeEntryTagOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -34,9 +34,9 @@ export const timeEntryTagOperations = [
default: 'add', default: 'add',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const timeEntryTagFields = [ export const timeEntryTagFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* timeEntryTag:getAll */ /* timeEntryTag:getAll */
@ -253,4 +253,4 @@ export const timeEntryTagFields = [
}, },
required: true, required: true,
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const projectOperations = [ export const projectOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const projectOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const projectFields = [ export const projectFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* project:create */ /* project:create */
@ -525,4 +525,4 @@ export const projectFields = [
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const tagOperations = [ export const tagOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const tagOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const tagFields = [ export const tagFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* tag:create */ /* tag:create */
@ -239,4 +239,4 @@ export const tagFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const taskOperations = [ export const taskOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -44,9 +44,9 @@ export const taskOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const taskFields = [ export const taskFields: INodeProperties[] = [
{ {
displayName: 'Project ID', displayName: 'Project ID',
name: 'projectId', name: 'projectId',
@ -353,4 +353,4 @@ export const taskFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const timeEntryOperations = [ export const timeEntryOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const timeEntryOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const timeEntryFields = [ export const timeEntryFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* timeEntry:create */ /* timeEntry:create */
@ -381,4 +381,4 @@ export const timeEntryFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const collectionOperations = [ export const collectionOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -32,9 +32,9 @@ export const collectionOperations = [
default: 'getAll', default: 'getAll',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const collectionFields = [ export const collectionFields: INodeProperties[] = [
{ {
displayName: 'Collection', displayName: 'Collection',
name: 'collection', name: 'collection',
@ -285,4 +285,4 @@ export const collectionFields = [
], ],
description: 'Entry data to send.', description: 'Entry data to send.',
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const formOperations = [ export const formOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -23,9 +23,9 @@ export const formOperations = [
default: 'submit', default: 'submit',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const formFields = [ export const formFields: INodeProperties[] = [
{ {
displayName: 'Form', displayName: 'Form',
name: 'form', name: 'form',
@ -128,4 +128,4 @@ export const formFields = [
], ],
description: 'Form data to send.', description: 'Form data to send.',
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const singletonOperations = [ export const singletonOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -22,9 +22,9 @@ export const singletonOperations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const singletonFields = [ export const singletonFields: INodeProperties[] = [
{ {
displayName: 'Singleton', displayName: 'Singleton',
name: 'singleton', name: 'singleton',
@ -43,4 +43,4 @@ export const singletonFields = [
required: true, required: true,
description: 'Name of the singleton to operate on.', description: 'Name of the singleton to operate on.',
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const controlOperations = [ export const controlOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -27,9 +27,9 @@ export const controlOperations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const controlFields = [ export const controlFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* control:get */ /* control:get */
@ -138,4 +138,4 @@ export const controlFields = [
default: 50, default: 50,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const formulaOperations = [ export const formulaOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -27,9 +27,9 @@ export const formulaOperations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const formulaFields = [ export const formulaFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* formula:get */ /* formula:get */
@ -138,4 +138,4 @@ export const formulaFields = [
default: 50, default: 50,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const tableOperations = [ export const tableOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -52,9 +52,9 @@ export const tableOperations = [
default: 'createRow', default: 'createRow',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const tableFields = [ export const tableFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* table:createRow */ /* table:createRow */
@ -754,4 +754,4 @@ export const tableFields = [
default: 50, default: 50,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const viewOperations = [ export const viewOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -52,9 +52,9 @@ export const viewOperations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const viewFields = [ export const viewFields: INodeProperties[] = [
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
/* view:get */ /* view:get */
@ -706,4 +706,4 @@ export const viewFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const coinOperations = [ export const coinOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -58,9 +58,9 @@ export const coinOperations = [
], ],
default: 'getAll', default: 'getAll',
}, },
] as INodeProperties[]; ];
export const coinFields = [ export const coinFields: INodeProperties[] = [
{ {
displayName: 'Search By', displayName: 'Search By',
name: 'searchBy', name: 'searchBy',
@ -239,6 +239,7 @@ export const coinFields = [
name: 'contractAddress', name: 'contractAddress',
required: true, required: true,
type: 'string', type: 'string',
default: '',
displayOptions: { displayOptions: {
show: { show: {
operation: [ operation: [
@ -260,6 +261,7 @@ export const coinFields = [
name: 'contractAddresses', name: 'contractAddresses',
required: true, required: true,
type: 'string', type: 'string',
default: '',
displayOptions: { displayOptions: {
show: { show: {
operation: [ operation: [
@ -779,4 +781,4 @@ export const coinFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const eventOperations = [ export const eventOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -23,9 +23,9 @@ export const eventOperations = [
], ],
default: 'getAll', default: 'getAll',
}, },
] as INodeProperties[]; ];
export const eventFields = [ export const eventFields: INodeProperties[] = [
{ {
displayName: 'Return All', displayName: 'Return All',
name: 'returnAll', name: 'returnAll',
@ -127,4 +127,4 @@ export const eventFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -8,7 +8,7 @@ export const resource = {
value: 'asset', value: 'asset',
} as INodePropertyOptions; } as INodePropertyOptions;
export const operations = [ export const operations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -33,9 +33,9 @@ export const operations = [
default: 'getAll', default: 'getAll',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const fields = [ export const fields: INodeProperties[] = [
{ {
displayName: 'Environment ID', displayName: 'Environment ID',
name: 'environmentId', name: 'environmentId',
@ -201,4 +201,4 @@ export const fields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -8,7 +8,7 @@ export const resource = {
value: 'contentType', value: 'contentType',
} as INodePropertyOptions; } as INodePropertyOptions;
export const operations = [ export const operations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const operations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const fields = [ export const fields: INodeProperties[] = [
{ {
displayName: 'Environment ID', displayName: 'Environment ID',
name: 'environmentId', name: 'environmentId',
@ -92,4 +92,4 @@ export const fields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -8,7 +8,7 @@ export const resource = {
value: 'entry', value: 'entry',
} as INodePropertyOptions; } as INodePropertyOptions;
export const operations = [ export const operations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -33,9 +33,9 @@ export const operations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const fields = [ export const fields: INodeProperties[] = [
{ {
displayName: 'Environment ID', displayName: 'Environment ID',
name: 'environmentId', name: 'environmentId',
@ -208,4 +208,4 @@ export const fields = [
}, },
}, },
}, },
] as INodeProperties[]; ];

View file

@ -8,7 +8,7 @@ export const resource = {
value: 'locale', value: 'locale',
} as INodePropertyOptions; } as INodePropertyOptions;
export const operations = [ export const operations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const operations = [
default: 'getAll', default: 'getAll',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const fields = [ export const fields: INodeProperties[] = [
{ {
displayName: 'Environment ID', displayName: 'Environment ID',
name: 'environmentId', name: 'environmentId',
@ -91,4 +91,4 @@ export const fields = [
default: 100, default: 100,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -1,6 +1,6 @@
import { INodeProperties } from 'n8n-workflow'; import { INodeProperties } from 'n8n-workflow';
export const fields = [ export const fields: INodeProperties[] = [
{ {
displayName: 'Search Parameters', displayName: 'Search Parameters',
name: 'search_parameters', name: 'search_parameters',
@ -34,4 +34,4 @@ export const fields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -7,7 +7,7 @@ export const resource = {
value: 'space', value: 'space',
}; };
export const operations = [ export const operations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -28,6 +28,6 @@ export const operations = [
default: 'get', default: 'get',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const fields = [] as INodeProperties[]; export const fields: INodeProperties[] = [];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const customFieldOperations = [ export const customFieldOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const customFieldOperations = [
default: 'update', default: 'update',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const customFieldFields = [ export const customFieldFields: INodeProperties[] = [
{ {
displayName: 'Field ID', displayName: 'Field ID',
name: 'id', name: 'id',
@ -121,4 +121,4 @@ export const customFieldFields = [
default: 100, default: 100,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties INodeProperties
} from 'n8n-workflow'; } from 'n8n-workflow';
export const formOperations = [ export const formOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -34,9 +34,9 @@ export const formOperations = [
default: 'addSubscriber', default: 'addSubscriber',
description: 'The operations to perform.', description: 'The operations to perform.',
}, },
] as INodeProperties[]; ];
export const formFields = [ export const formFields: INodeProperties[] = [
{ {
displayName: 'Form ID', displayName: 'Form ID',
name: 'id', name: 'id',
@ -217,4 +217,4 @@ export const formFields = [
], ],
description: 'Receive only active subscribers or cancelled subscribers.', description: 'Receive only active subscribers or cancelled subscribers.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const sequenceOperations = [ export const sequenceOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -34,9 +34,9 @@ export const sequenceOperations = [
default: 'addSubscriber', default: 'addSubscriber',
description: 'The operations to perform.', description: 'The operations to perform.',
}, },
] as INodeProperties[]; ];
export const sequenceFields = [ export const sequenceFields: INodeProperties[] = [
{ {
displayName: 'Sequence ID', displayName: 'Sequence ID',
name: 'id', name: 'id',
@ -227,4 +227,4 @@ export const sequenceFields = [
], ],
description: 'Receive only active subscribers or cancelled subscribers.', description: 'Receive only active subscribers or cancelled subscribers.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const tagOperations = [ export const tagOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -29,9 +29,9 @@ export const tagOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const tagFields = [ export const tagFields: INodeProperties[] = [
{ {
displayName: 'Name', displayName: 'Name',
name: 'name', name: 'name',
@ -91,4 +91,4 @@ export const tagFields = [
default: 100, default: 100,
description: 'How many results to return.', description: 'How many results to return.',
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const tagSubscriberOperations = [ export const tagSubscriberOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -34,9 +34,9 @@ export const tagSubscriberOperations = [
default: 'create', default: 'create',
description: 'The operation to perform.', description: 'The operation to perform.',
}, },
] as INodeProperties[]; ];
export const tagSubscriberFields = [ export const tagSubscriberFields: INodeProperties[] = [
{ {
displayName: 'Tag ID', displayName: 'Tag ID',
name: 'tagId', name: 'tagId',
@ -216,4 +216,4 @@ export const tagSubscriberFields = [
], ],
description: 'Receive only active subscribers or cancelled subscribers.', description: 'Receive only active subscribers or cancelled subscribers.',
}, },
] as INodeProperties[]; ];

View file

@ -11,7 +11,7 @@ import {
phoneNumbersFixedCollection, phoneNumbersFixedCollection,
} from '../utils/sharedFields'; } from '../utils/sharedFields';
export const companyOperations = [ export const companyOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -48,9 +48,9 @@ export const companyOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const companyFields = [ export const companyFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// company: create // company: create
// ---------------------------------------- // ----------------------------------------
@ -286,4 +286,4 @@ export const companyFields = [
phoneNumbersFixedCollection, phoneNumbersFixedCollection,
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const customerSourceOperations = [ export const customerSourceOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -23,9 +23,9 @@ export const customerSourceOperations = [
default: 'getAll', default: 'getAll',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const customerSourceFields = [ export const customerSourceFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// customerSource: getAll // customerSource: getAll
// ---------------------------------------- // ----------------------------------------
@ -70,4 +70,4 @@ export const customerSourceFields = [
}, },
}, },
}, },
] as INodeProperties[]; ];

View file

@ -8,7 +8,7 @@ import {
phoneNumbersFixedCollection, phoneNumbersFixedCollection,
} from '../utils/sharedFields'; } from '../utils/sharedFields';
export const leadOperations = [ export const leadOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -45,9 +45,9 @@ export const leadOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const leadFields = [ export const leadFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// lead: create // lead: create
// ---------------------------------------- // ----------------------------------------
@ -271,4 +271,4 @@ export const leadFields = [
phoneNumbersFixedCollection, phoneNumbersFixedCollection,
], ],
}, },
] as INodeProperties[]; ];

View file

@ -2,7 +2,7 @@ import {
INodeProperties, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export const opportunityOperations = [ export const opportunityOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -39,9 +39,9 @@ export const opportunityOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const opportunityFields = [ export const opportunityFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// opportunity: create // opportunity: create
// ---------------------------------------- // ----------------------------------------
@ -281,4 +281,4 @@ export const opportunityFields = [
}, },
], ],
}, },
] as INodeProperties[]; ];

View file

@ -8,7 +8,7 @@ import {
phoneNumbersFixedCollection, phoneNumbersFixedCollection,
} from '../utils/sharedFields'; } from '../utils/sharedFields';
export const personOperations = [ export const personOperations: INodeProperties[] = [
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -45,9 +45,9 @@ export const personOperations = [
default: 'create', default: 'create',
description: 'Operation to perform', description: 'Operation to perform',
}, },
] as INodeProperties[]; ];
export const personFields = [ export const personFields: INodeProperties[] = [
// ---------------------------------------- // ----------------------------------------
// person: create // person: create
// ---------------------------------------- // ----------------------------------------
@ -283,4 +283,4 @@ export const personFields = [
phoneNumbersFixedCollection, phoneNumbersFixedCollection,
], ],
}, },
] as INodeProperties[]; ];

Some files were not shown because too many files have changed in this diff Show more