mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
🔀 Merge master
This commit is contained in:
commit
5560f42f8d
|
@ -6,7 +6,7 @@ import {
|
|||
makeSimpleField,
|
||||
} from './SharedFields';
|
||||
|
||||
export const attendanceOperations = [
|
||||
export const attendanceOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -35,9 +35,9 @@ export const attendanceOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const attendanceFields = [
|
||||
export const attendanceFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// attendance: create
|
||||
// ----------------------------------------
|
||||
|
@ -182,4 +182,4 @@ export const attendanceFields = [
|
|||
},
|
||||
},
|
||||
makeSimpleField('attendance', 'getAll'),
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -7,7 +7,7 @@ import {
|
|||
makeSimpleField,
|
||||
} from './SharedFields';
|
||||
|
||||
export const eventOperations = [
|
||||
export const eventOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -36,9 +36,9 @@ export const eventOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const eventFields = [
|
||||
export const eventFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// event: create
|
||||
// ----------------------------------------
|
||||
|
@ -165,4 +165,4 @@ export const eventFields = [
|
|||
},
|
||||
},
|
||||
makeSimpleField('event', 'getAll'),
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -7,7 +7,7 @@ import {
|
|||
personAdditionalFieldsOptions,
|
||||
} from './SharedFields';
|
||||
|
||||
export const personOperations = [
|
||||
export const personOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -40,9 +40,9 @@ export const personOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const personFields = [
|
||||
export const personFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// person: create
|
||||
// ----------------------------------------
|
||||
|
@ -247,4 +247,4 @@ export const personFields = [
|
|||
},
|
||||
options: personAdditionalFieldsOptions,
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const personTagOperations = [
|
||||
export const personTagOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -27,9 +27,9 @@ export const personTagOperations = [
|
|||
default: 'add',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const personTagFields = [
|
||||
export const personTagFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// personTag: add
|
||||
// ----------------------------------------
|
||||
|
@ -103,7 +103,9 @@ export const personTagFields = [
|
|||
description: 'ID of the tagging to remove.',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsDependsOn: 'tagId',
|
||||
loadOptionsDependsOn: [
|
||||
'tagId',
|
||||
],
|
||||
loadOptionsMethod: 'getTaggings',
|
||||
},
|
||||
required: true,
|
||||
|
@ -119,4 +121,4 @@ export const personTagFields = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -7,7 +7,7 @@ import {
|
|||
petitionAdditionalFieldsOptions,
|
||||
} from './SharedFields';
|
||||
|
||||
export const petitionOperations = [
|
||||
export const petitionOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -40,9 +40,9 @@ export const petitionOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const petitionFields = [
|
||||
export const petitionFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// petition: create
|
||||
// ----------------------------------------
|
||||
|
@ -210,4 +210,4 @@ export const petitionFields = [
|
|||
},
|
||||
options: petitionAdditionalFieldsOptions,
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
Operation,
|
||||
Resource,
|
||||
} from '../types';
|
||||
|
||||
export const languageOptions = [
|
||||
export const languageOptions: INodeProperties['options'] = [
|
||||
{
|
||||
name: 'Danish',
|
||||
value: 'da',
|
||||
|
@ -68,9 +72,9 @@ export const languageOptions = [
|
|||
name: 'Welsh',
|
||||
value: 'cy',
|
||||
},
|
||||
] as const;
|
||||
];
|
||||
|
||||
const postalAddressesFields = [
|
||||
const postalAddressesFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Primary',
|
||||
name: 'primary',
|
||||
|
@ -150,7 +154,7 @@ const postalAddressesFields = [
|
|||
},
|
||||
];
|
||||
|
||||
export const eventAdditionalFieldsOptions = [
|
||||
export const eventAdditionalFieldsOptions: INodeProperties['options'] = [
|
||||
{
|
||||
displayName: 'Browser URL',
|
||||
name: 'browser_url',
|
||||
|
@ -221,7 +225,7 @@ export const eventAdditionalFieldsOptions = [
|
|||
},
|
||||
];
|
||||
|
||||
export const personAdditionalFieldsOptions = [
|
||||
export const personAdditionalFieldsOptions: INodeProperties['options'] = [
|
||||
{
|
||||
displayName: 'Family Name',
|
||||
name: 'family_name',
|
||||
|
@ -319,7 +323,7 @@ export const personAdditionalFieldsOptions = [
|
|||
},
|
||||
];
|
||||
|
||||
export const petitionAdditionalFieldsOptions = [
|
||||
export const petitionAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: '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',
|
||||
name: 'simple',
|
||||
type: 'boolean',
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
makeSimpleField,
|
||||
} from './SharedFields';
|
||||
|
||||
export const signatureOperations = [
|
||||
export const signatureOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const signatureOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const signatureFields = [
|
||||
export const signatureFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// signature: create
|
||||
// ----------------------------------------
|
||||
|
@ -279,4 +279,4 @@ export const signatureFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
makeSimpleField,
|
||||
} from './SharedFields';
|
||||
|
||||
export const tagOperations = [
|
||||
export const tagOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -35,9 +35,9 @@ export const tagOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const tagFields = [
|
||||
export const tagFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// tag: create
|
||||
// ----------------------------------------
|
||||
|
@ -128,4 +128,4 @@ export const tagFields = [
|
|||
},
|
||||
},
|
||||
makeSimpleField('tag', 'getAll'),
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -4,6 +4,7 @@ export type Resource = 'attendance' | 'event' | 'person' | 'personTag' | 'petiti
|
|||
|
||||
export type Operation = 'create' | 'delete' | 'get' | 'getAll' | 'update' | 'add' | 'remove';
|
||||
|
||||
// @ts-ignore
|
||||
export type LanguageCodes = typeof languageOptions[number]['value']
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const accountContactOperations = [
|
||||
export const accountContactOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -34,9 +34,9 @@ export const accountContactOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const accountContactFields = [
|
||||
export const accountContactFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// accountContact:create
|
||||
// ----------------------------------
|
||||
|
@ -172,4 +172,4 @@ export const accountContactFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
activeCampaignDefaultGetAllProperties,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export const accountOperations = [
|
||||
export const accountOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -48,9 +48,9 @@ export const accountOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const accountFields = [
|
||||
export const accountFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// contact:create
|
||||
// ----------------------------------
|
||||
|
@ -299,4 +299,4 @@ export const accountFields = [
|
|||
],
|
||||
},
|
||||
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
activeCampaignDefaultGetAllProperties,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export const connectionOperations = [
|
||||
export const connectionOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -49,9 +49,9 @@ export const connectionOperations = [
|
|||
description: 'The operation to perform.',
|
||||
},
|
||||
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const connectionFields = [
|
||||
export const connectionFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// connection:create
|
||||
// ----------------------------------
|
||||
|
@ -286,4 +286,4 @@ export const connectionFields = [
|
|||
// ----------------------------------
|
||||
...activeCampaignDefaultGetAllProperties('connection', 'getAll'),
|
||||
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
activeCampaignDefaultGetAllProperties,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export const contactOperations = [
|
||||
export const contactOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -48,9 +48,9 @@ export const contactOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const contactFields = [
|
||||
export const contactFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// contact:create
|
||||
// ----------------------------------
|
||||
|
@ -510,4 +510,4 @@ export const contactFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const contactListOperations = [
|
||||
export const contactListOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const contactListOperations = [
|
|||
default: 'add',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const contactListFields = [
|
||||
export const contactListFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// contactList:add
|
||||
// ----------------------------------
|
||||
|
@ -111,4 +111,4 @@ export const contactListFields = [
|
|||
},
|
||||
description: 'Contact ID',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const contactTagOperations = [
|
||||
export const contactTagOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const contactTagOperations = [
|
|||
default: 'add',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const contactTagFields = [
|
||||
export const contactTagFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// contactTag:add
|
||||
// ----------------------------------
|
||||
|
@ -95,4 +95,4 @@ export const contactTagFields = [
|
|||
required: true,
|
||||
description: 'ID of the contact tag to delete.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -10,7 +10,7 @@ import {
|
|||
activeCampaignDefaultGetAllProperties,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export const dealOperations = [
|
||||
export const dealOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -63,9 +63,9 @@ export const dealOperations = [
|
|||
description: 'The operation to perform.',
|
||||
},
|
||||
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const dealFields = [
|
||||
export const dealFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// deal:create
|
||||
// ----------------------------------
|
||||
|
@ -494,4 +494,4 @@ export const dealFields = [
|
|||
description: 'The content of the deal note',
|
||||
},
|
||||
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
activeCampaignDefaultGetAllProperties,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export const ecomCustomerOperations = [
|
||||
export const ecomCustomerOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -48,9 +48,9 @@ export const ecomCustomerOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const ecomCustomerFields = [
|
||||
export const ecomCustomerFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// ecommerceCustomer:create
|
||||
// ----------------------------------
|
||||
|
@ -253,4 +253,4 @@ export const ecomCustomerFields = [
|
|||
// ecommerceCustomer:getAll
|
||||
// ----------------------------------
|
||||
...activeCampaignDefaultGetAllProperties('ecommerceCustomer', 'getAll'),
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -10,7 +10,7 @@ import {
|
|||
activeCampaignDefaultGetAllProperties,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export const ecomOrderOperations = [
|
||||
export const ecomOrderOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -52,9 +52,9 @@ export const ecomOrderOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const ecomOrderFields = [
|
||||
export const ecomOrderFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// ecommerceOrder:create
|
||||
// ----------------------------------
|
||||
|
@ -682,4 +682,4 @@ export const ecomOrderFields = [
|
|||
// ----------------------------------
|
||||
...activeCampaignDefaultGetAllProperties('ecommerceOrder', 'getAll'),
|
||||
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
activeCampaignDefaultGetAllProperties,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export const ecomOrderProductsOperations = [
|
||||
export const ecomOrderProductsOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -38,9 +38,9 @@ export const ecomOrderProductsOperations = [
|
|||
default: 'getAll',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const ecomOrderProductsFields = [
|
||||
export const ecomOrderProductsFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// ecommerceOrderProducts:getByOrderId
|
||||
// ----------------------------------
|
||||
|
@ -87,4 +87,4 @@ export const ecomOrderProductsFields = [
|
|||
// ecommerceOrderProducts:getAll
|
||||
// ----------------------------------
|
||||
...activeCampaignDefaultGetAllProperties('ecommerceOrderProducts', 'getAll'),
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
activeCampaignDefaultGetAllProperties,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export const listOperations = [
|
||||
export const listOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -28,11 +28,11 @@ export const listOperations = [
|
|||
default: 'getAll',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const listFields = [
|
||||
export const listFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// list:getAll
|
||||
// ----------------------------------
|
||||
...activeCampaignDefaultGetAllProperties('list', 'getAll'),
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
activeCampaignDefaultGetAllProperties,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export const tagOperations = [
|
||||
export const tagOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -48,9 +48,9 @@ export const tagOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const tagFields = [
|
||||
export const tagFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// contact:create
|
||||
// ----------------------------------
|
||||
|
@ -229,4 +229,4 @@ export const tagFields = [
|
|||
// tag:getAll
|
||||
// ----------------------------------
|
||||
...activeCampaignDefaultGetAllProperties('tag', 'getAll'),
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const listOperations = [
|
||||
export const listOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const listOperations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const listFields = [
|
||||
export const listFields: INodeProperties[] = [
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* list:get */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
@ -97,4 +97,4 @@ export const listFields = [
|
|||
default: 5,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const listEntryOperations = [
|
||||
export const listEntryOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const listEntryOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const listEntryFields = [
|
||||
export const listEntryFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* listEntry:create */
|
||||
|
@ -259,4 +259,4 @@ export const listEntryFields = [
|
|||
},
|
||||
description: 'The unique id of the list entry object to be deleted.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const organizationOperations = [
|
||||
export const organizationOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const organizationOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const organizationFields = [
|
||||
export const organizationFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* organization:create */
|
||||
|
@ -325,4 +325,4 @@ export const organizationFields = [
|
|||
},
|
||||
description: 'Unique identifier for the organization.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const personOperations = [
|
||||
export const personOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const personOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const personFields = [
|
||||
export const personFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* person:create */
|
||||
|
@ -369,4 +369,4 @@ export const personFields = [
|
|||
},
|
||||
description: 'Unique identifier for the person.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const companyOperations = [
|
||||
export const companyOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const companyOperations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const companyFields = [
|
||||
export const companyFields: INodeProperties[] = [
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* company:get */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
@ -520,6 +520,7 @@ export const companyFields = [
|
|||
name: 'websiteOptions',
|
||||
type: 'fixedCollection',
|
||||
description: 'Companies websites.',
|
||||
default: {},
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
|
@ -598,6 +599,7 @@ export const companyFields = [
|
|||
displayName: 'Custom Properties',
|
||||
name: 'customProperties',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Custom Properties',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -815,6 +817,7 @@ export const companyFields = [
|
|||
displayName: 'Website',
|
||||
name: 'websiteOptions',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Companys websites.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -894,6 +897,7 @@ export const companyFields = [
|
|||
displayName: 'Custom Properties',
|
||||
name: 'customProperties',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Custom Properties',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -932,4 +936,4 @@ export const companyFields = [
|
|||
],
|
||||
},
|
||||
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const contactOperations = [
|
||||
export const contactOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const contactOperations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const contactFields = [
|
||||
export const contactFields: INodeProperties[] = [
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* contact:get */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
@ -450,6 +450,7 @@ export const contactFields = [
|
|||
displayName: 'Address',
|
||||
name: 'addressOptions',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Contacts address.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -504,6 +505,7 @@ export const contactFields = [
|
|||
displayName: 'Email',
|
||||
name: 'emailOptions',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Contact email.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -604,6 +606,7 @@ export const contactFields = [
|
|||
displayName: 'Phone',
|
||||
name: 'phoneOptions',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Contacts phone.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -685,6 +688,7 @@ export const contactFields = [
|
|||
displayName: 'Website',
|
||||
name: 'websiteOptions',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Contacts websites.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -764,6 +768,7 @@ export const contactFields = [
|
|||
displayName: 'Custom Properties',
|
||||
name: 'customProperties',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Custom Properties',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -909,6 +914,7 @@ export const contactFields = [
|
|||
displayName: 'Address',
|
||||
name: 'addressOptions',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Contacts address.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -963,6 +969,7 @@ export const contactFields = [
|
|||
displayName: 'Email',
|
||||
name: 'emailOptions',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Contact email.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -1063,6 +1070,7 @@ export const contactFields = [
|
|||
displayName: 'Phone',
|
||||
name: 'phoneOptions',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Contacts phone.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -1144,6 +1152,7 @@ export const contactFields = [
|
|||
displayName: 'Website',
|
||||
name: 'websiteOptions',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Contacts websites.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -1223,6 +1232,7 @@ export const contactFields = [
|
|||
displayName: 'Custom Properties',
|
||||
name: 'customProperties',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Custom Properties',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -1261,4 +1271,4 @@ export const contactFields = [
|
|||
],
|
||||
},
|
||||
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const dealOperations = [
|
||||
export const dealOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -45,9 +45,9 @@ export const dealOperations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const dealFields = [
|
||||
export const dealFields: INodeProperties[] = [
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* deal:get */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
@ -301,6 +301,7 @@ export const dealFields = [
|
|||
displayName: 'Custom Data',
|
||||
name: 'customData',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Custom Data',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -480,6 +481,7 @@ export const dealFields = [
|
|||
displayName: 'Custom Data',
|
||||
name: 'customData',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
description: 'Custom Data',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -510,4 +512,4 @@ export const dealFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const contactOperations = [
|
||||
export const contactOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const contactOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const contactFields = [
|
||||
export const contactFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* contact:create */
|
||||
|
@ -477,4 +477,4 @@ export const contactFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const listOperations = [
|
||||
export const listOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const listOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const listFields = [
|
||||
export const listFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* list:create */
|
||||
|
@ -238,4 +238,4 @@ export const listFields = [
|
|||
},
|
||||
default: '',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const contactOperations = [
|
||||
export const contactOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const contactOperations = [
|
|||
default: 'upsert',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const contactFields = [
|
||||
export const contactFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* contact:upsert */
|
||||
|
@ -366,4 +366,4 @@ export const contactFields = [
|
|||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const contactJourneyOperations = [
|
||||
export const contactJourneyOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -24,9 +24,9 @@ export const contactJourneyOperations = [
|
|||
default: 'add',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const contactJourneyFields = [
|
||||
export const contactJourneyFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* contactJourney:add */
|
||||
|
@ -70,4 +70,4 @@ export const contactJourneyFields = [
|
|||
default: '',
|
||||
description: 'Can be ID or email.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const contactListOperations = [
|
||||
export const contactListOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const contactListOperations = [
|
|||
default: 'add',
|
||||
description: 'Operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const contactListFields = [
|
||||
export const contactListFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* contactList:add */
|
||||
|
@ -135,4 +135,4 @@ export const contactListFields = [
|
|||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const listOperations = [
|
||||
export const listOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const listOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const listFields = [
|
||||
export const listFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* list:create */
|
||||
|
@ -99,4 +99,4 @@ export const listFields = [
|
|||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const itemOperations = [
|
||||
export const itemOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -38,9 +38,9 @@ export const itemOperations = [
|
|||
],
|
||||
default: 'upsert',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const itemFields = [
|
||||
export const itemFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// all
|
||||
// ----------------------------------
|
||||
|
@ -959,4 +959,4 @@ export const itemFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const bucketOperations = [
|
||||
export const bucketOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const bucketOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const bucketFields = [
|
||||
export const bucketFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* bucket:create */
|
||||
|
@ -352,4 +352,4 @@ export const bucketFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const fileOperations = [
|
||||
export const fileOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const fileOperations = [
|
|||
default: 'download',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const fileFields = [
|
||||
export const fileFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* file:copy */
|
||||
|
@ -919,4 +919,4 @@ export const fileFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const folderOperations = [
|
||||
export const folderOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -34,9 +34,9 @@ export const folderOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const folderFields = [
|
||||
export const folderFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* folder:create */
|
||||
|
@ -275,4 +275,4 @@ export const folderFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const imageOperations = [
|
||||
export const imageOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const imageOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const imageFields = [
|
||||
export const imageFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* image:create */
|
||||
|
@ -205,4 +205,4 @@ export const imageFields = [
|
|||
},
|
||||
description: 'Unique identifier for the image.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const templateOperations = [
|
||||
export const templateOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const templateOperations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const templateFields = [
|
||||
export const templateFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* template:get */
|
||||
|
@ -54,4 +54,4 @@ export const templateFields = [
|
|||
},
|
||||
description: 'Unique identifier for the template.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const operationFields = [
|
||||
export const operationFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// shared
|
||||
// ----------------------------------
|
||||
|
@ -472,4 +472,4 @@ export const operationFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const linkOperations = [
|
||||
export const linkOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -32,9 +32,9 @@ export const linkOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const linkFields = [
|
||||
export const linkFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* link:create */
|
||||
|
@ -313,4 +313,4 @@ export const linkFields = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const collectionOperations = [
|
||||
export const collectionOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -35,9 +35,9 @@ export const collectionOperations = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const collectionFields = [
|
||||
export const collectionFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// collection: shared
|
||||
// ----------------------------------
|
||||
|
@ -144,7 +144,7 @@ export const collectionFields = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export interface CollectionUpdateFields {
|
||||
groups: string[];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const eventOperations = [
|
||||
export const eventOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -23,10 +23,10 @@ export const eventOperations = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
|
||||
export const eventFields = [
|
||||
export const eventFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// event: getAll
|
||||
// ----------------------------------
|
||||
|
@ -116,4 +116,4 @@ export const eventFields = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const groupOperations = [
|
||||
export const groupOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -47,9 +47,9 @@ export const groupOperations = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const groupFields = [
|
||||
export const groupFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// group: shared
|
||||
// ----------------------------------
|
||||
|
@ -267,7 +267,7 @@ export const groupFields = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
type GroupSchema = {
|
||||
name: string;
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const memberOperations = [
|
||||
export const memberOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -47,9 +47,9 @@ export const memberOperations = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const memberFields = [
|
||||
export const memberFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// member: shared
|
||||
// ----------------------------------
|
||||
|
@ -312,7 +312,7 @@ export const memberFields = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
type MemberSchema = {
|
||||
email: string;
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const fileOperations = [
|
||||
export const fileOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -54,9 +54,9 @@ export const fileOperations = [
|
|||
default: 'upload',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const fileFields = [
|
||||
export const fileFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* file:copy */
|
||||
|
@ -832,4 +832,4 @@ export const fileFields = [
|
|||
default: '',
|
||||
description: 'ID of the parent folder that will contain the file. If not it will be uploaded to the root folder',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const folderOperations = [
|
||||
export const folderOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -49,9 +49,9 @@ export const folderOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const folderFields = [
|
||||
export const folderFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* folder:create */
|
||||
|
@ -860,4 +860,4 @@ export const folderFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const objectOperations = [
|
||||
export const objectOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const objectOperations = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const objectFields = [
|
||||
export const objectFields: INodeProperties[] = [
|
||||
// ----------------------------------
|
||||
// object: create
|
||||
// ----------------------------------
|
||||
|
@ -513,4 +513,4 @@ export const objectFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const pipelineOperations = [
|
||||
export const pipelineOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -34,9 +34,9 @@ export const pipelineOperations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const pipelineFields = [
|
||||
export const pipelineFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* pipeline:shared */
|
||||
|
@ -222,4 +222,4 @@ export const pipelineFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -149,7 +149,7 @@ export function getAttachemnts(attachements: IDataObject[]) {
|
|||
return _attachments;
|
||||
}
|
||||
|
||||
export function getActionInheritedProperties() {
|
||||
export function getActionInheritedProperties(): INodeProperties[] {
|
||||
return [
|
||||
{
|
||||
displayName: 'Title',
|
||||
|
@ -190,7 +190,7 @@ export function getActionInheritedProperties() {
|
|||
];
|
||||
}
|
||||
|
||||
export function getTextBlockProperties() {
|
||||
export function getTextBlockProperties(): INodeProperties[] {
|
||||
return [
|
||||
{
|
||||
displayName: 'Text',
|
||||
|
@ -522,7 +522,7 @@ export function getTextBlockProperties() {
|
|||
];
|
||||
}
|
||||
|
||||
export function getInputTextProperties() {
|
||||
export function getInputTextProperties(): INodeProperties[] {
|
||||
return [
|
||||
{
|
||||
displayName: 'ID',
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const meetingOperations = [
|
||||
export const meetingOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const meetingOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const meetingFields = [
|
||||
export const meetingFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// meeting: create
|
||||
// ----------------------------------------
|
||||
|
@ -965,4 +965,4 @@ export const meetingFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const meetingTranscriptOperations = [
|
||||
export const meetingTranscriptOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -27,9 +27,9 @@ export const meetingTranscriptOperations = [
|
|||
default: 'download',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const meetingTranscriptFields = [
|
||||
export const meetingTranscriptFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// meetingTranscript: download
|
||||
// ----------------------------------------
|
||||
|
@ -193,4 +193,4 @@ export const meetingTranscriptFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
getActionInheritedProperties, getInputTextProperties, getTextBlockProperties,
|
||||
} from '../GenericFunctions';
|
||||
|
||||
export const messageOperations = [
|
||||
export const messageOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -43,9 +43,9 @@ export const messageOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const messageFields = [
|
||||
export const messageFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// message: create
|
||||
// ----------------------------------------
|
||||
|
@ -210,6 +210,7 @@ export const messageFields = [
|
|||
displayName: 'Attachments',
|
||||
name: 'attachmentsUi',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
|
@ -654,4 +655,4 @@ export const messageFields = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const companyOperations = [
|
||||
export const companyOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -27,9 +27,9 @@ export const companyOperations = [
|
|||
default: 'enrich',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const companyFields = [
|
||||
export const companyFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* company:enrich */
|
||||
|
@ -121,4 +121,4 @@ export const companyFields = [
|
|||
},
|
||||
description: 'Name is the partial name of the company.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const personOperations = [
|
||||
export const personOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -22,9 +22,9 @@ export const personOperations = [
|
|||
default: 'enrich',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const personFields = [
|
||||
export const personFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* person:enrich */
|
||||
|
@ -129,4 +129,4 @@ export const personFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const checklistOperations = [
|
||||
export const checklistOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -34,9 +34,9 @@ export const checklistOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const checklistFields = [
|
||||
export const checklistFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* checklist:create */
|
||||
|
@ -149,4 +149,4 @@ export const checklistFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const checklistItemOperations = [
|
||||
export const checklistItemOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -34,9 +34,9 @@ export const checklistItemOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const checklistItemFields = [
|
||||
export const checklistItemFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* checklistItem:create */
|
||||
|
@ -220,4 +220,4 @@ export const checklistItemFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const commentOperations = [
|
||||
export const commentOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const commentOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const commentFields = [
|
||||
export const commentFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* comment:create */
|
||||
|
@ -292,4 +292,4 @@ export const commentFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const folderOperations = [
|
||||
export const folderOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const folderOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const folderFields = [
|
||||
export const folderFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* folder:create */
|
||||
|
@ -439,4 +439,4 @@ export const folderFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const goalOperations = [
|
||||
export const goalOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const goalOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const goalFields = [
|
||||
export const goalFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* goal:create */
|
||||
|
@ -306,4 +306,4 @@ export const goalFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const goalKeyResultOperations = [
|
||||
export const goalKeyResultOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -34,9 +34,9 @@ export const goalKeyResultOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const goalKeyResultFields = [
|
||||
export const goalKeyResultFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* goalKeyResult:create */
|
||||
|
@ -288,4 +288,4 @@ export const goalKeyResultFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const guestOperations = [
|
||||
export const guestOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const guestOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const guestFields = [
|
||||
export const guestFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* guest:create */
|
||||
|
@ -285,4 +285,4 @@ export const guestFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const listOperations = [
|
||||
export const listOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -54,9 +54,9 @@ export const listOperations = [
|
|||
default: 'customFields',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const listFields = [
|
||||
export const listFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* list:create */
|
||||
|
@ -223,11 +223,11 @@ export const listFields = [
|
|||
displayName: 'Status',
|
||||
name: 'status',
|
||||
type: 'options',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getStatuses',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
},
|
||||
default: '',
|
||||
},
|
||||
|
@ -915,11 +915,11 @@ export const listFields = [
|
|||
displayName: 'Assignee',
|
||||
name: 'assignee',
|
||||
type: 'options',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAssignees',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
},
|
||||
|
||||
default: '',
|
||||
|
@ -970,4 +970,4 @@ export const listFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const spaceTagOperations = [
|
||||
export const spaceTagOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const spaceTagOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const spaceTagFields = [
|
||||
export const spaceTagFields: INodeProperties[] = [
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* spaceTag:create */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
@ -201,4 +201,4 @@ export const spaceTagFields = [
|
|||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const taskDependencyOperations = [
|
||||
export const taskDependencyOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const taskDependencyOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const taskDependencyFields = [
|
||||
export const taskDependencyFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* taskDependency:create */
|
||||
|
@ -57,6 +57,7 @@ export const taskDependencyFields = [
|
|||
displayName: 'Depends On Task ID',
|
||||
name: 'dependsOnTask',
|
||||
type: 'string',
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
@ -94,6 +95,7 @@ export const taskDependencyFields = [
|
|||
displayName: 'Depends On Task ID',
|
||||
name: 'dependsOnTask',
|
||||
type: 'string',
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
@ -106,4 +108,4 @@ export const taskDependencyFields = [
|
|||
},
|
||||
required: true,
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const taskOperations = [
|
||||
export const taskOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -54,9 +54,9 @@ export const taskOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const taskFields = [
|
||||
export const taskFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* task:create */
|
||||
|
@ -238,11 +238,11 @@ export const taskFields = [
|
|||
displayName: 'Assignees',
|
||||
name: 'assignees',
|
||||
type: 'multiOptions',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAssignees',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
},
|
||||
|
@ -322,11 +322,11 @@ export const taskFields = [
|
|||
displayName: 'Status',
|
||||
name: 'status',
|
||||
type: 'options',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getStatuses',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
},
|
||||
default: '',
|
||||
},
|
||||
|
@ -334,11 +334,11 @@ export const taskFields = [
|
|||
displayName: 'Tags',
|
||||
name: 'tags',
|
||||
type: 'multiOptions',
|
||||
loadOptionsDependsOn: [
|
||||
'space',
|
||||
],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTags',
|
||||
loadOptionsDependsOn: [
|
||||
'space',
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The array of tags applied to this task',
|
||||
|
@ -722,11 +722,11 @@ export const taskFields = [
|
|||
displayName: 'Assignees',
|
||||
name: 'assignees',
|
||||
type: 'multiOptions',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAssignees',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
},
|
||||
|
||||
default: [],
|
||||
|
@ -893,11 +893,11 @@ export const taskFields = [
|
|||
displayName: 'Statuses',
|
||||
name: 'statuses',
|
||||
type: 'multiOptions',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getStatuses',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
},
|
||||
|
@ -912,11 +912,11 @@ export const taskFields = [
|
|||
displayName: 'Tags',
|
||||
name: 'tags',
|
||||
type: 'multiOptions',
|
||||
loadOptionsDependsOn: [
|
||||
'space',
|
||||
],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTags',
|
||||
loadOptionsDependsOn: [
|
||||
'space',
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The array of tags applied to this task',
|
||||
|
@ -1085,4 +1085,4 @@ export const taskFields = [
|
|||
},
|
||||
description: 'The value to set on custom field.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const taskListOperations = [
|
||||
export const taskListOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const taskListOperations = [
|
|||
default: 'add',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const taskListFields = [
|
||||
export const taskListFields: INodeProperties[] = [
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* taskList:add */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
@ -71,4 +71,4 @@ export const taskListFields = [
|
|||
},
|
||||
required: true,
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const taskTagOperations = [
|
||||
export const taskTagOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const taskTagOperations = [
|
|||
default: 'add',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const taskTagFields = [
|
||||
export const taskTagFields: INodeProperties[] = [
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* taskTag:add */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
@ -108,4 +108,4 @@ export const taskTagFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const timeEntryOperations = [
|
||||
export const timeEntryOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -54,9 +54,9 @@ export const timeEntryOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const timeEntryFields = [
|
||||
export const timeEntryFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* timeEntry:getAll */
|
||||
|
@ -434,11 +434,11 @@ export const timeEntryFields = [
|
|||
displayName: 'Assignee IDs',
|
||||
name: 'assignee',
|
||||
type: 'options',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAssignees',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
},
|
||||
|
@ -804,11 +804,11 @@ export const timeEntryFields = [
|
|||
displayName: 'Assignee IDs',
|
||||
name: 'assignee',
|
||||
type: 'options',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAssignees',
|
||||
loadOptionsDependsOn: [
|
||||
'list',
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
},
|
||||
|
@ -865,4 +865,4 @@ export const timeEntryFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const timeEntryTagOperations = [
|
||||
export const timeEntryTagOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -34,9 +34,9 @@ export const timeEntryTagOperations = [
|
|||
default: 'add',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const timeEntryTagFields = [
|
||||
export const timeEntryTagFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* timeEntryTag:getAll */
|
||||
|
@ -253,4 +253,4 @@ export const timeEntryTagFields = [
|
|||
},
|
||||
required: true,
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const projectOperations = [
|
||||
export const projectOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const projectOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const projectFields = [
|
||||
export const projectFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* project:create */
|
||||
|
@ -525,4 +525,4 @@ export const projectFields = [
|
|||
],
|
||||
},
|
||||
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const tagOperations = [
|
||||
export const tagOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const tagOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const tagFields = [
|
||||
export const tagFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* tag:create */
|
||||
|
@ -239,4 +239,4 @@ export const tagFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const taskOperations = [
|
||||
export const taskOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -44,9 +44,9 @@ export const taskOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const taskFields = [
|
||||
export const taskFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Project ID',
|
||||
name: 'projectId',
|
||||
|
@ -353,4 +353,4 @@ export const taskFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const timeEntryOperations = [
|
||||
export const timeEntryOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const timeEntryOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const timeEntryFields = [
|
||||
export const timeEntryFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* timeEntry:create */
|
||||
|
@ -381,4 +381,4 @@ export const timeEntryFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const collectionOperations = [
|
||||
export const collectionOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -32,9 +32,9 @@ export const collectionOperations = [
|
|||
default: 'getAll',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const collectionFields = [
|
||||
export const collectionFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Collection',
|
||||
name: 'collection',
|
||||
|
@ -285,4 +285,4 @@ export const collectionFields = [
|
|||
],
|
||||
description: 'Entry data to send.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const formOperations = [
|
||||
export const formOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -23,9 +23,9 @@ export const formOperations = [
|
|||
default: 'submit',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const formFields = [
|
||||
export const formFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Form',
|
||||
name: 'form',
|
||||
|
@ -128,4 +128,4 @@ export const formFields = [
|
|||
],
|
||||
description: 'Form data to send.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const singletonOperations = [
|
||||
export const singletonOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -22,9 +22,9 @@ export const singletonOperations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const singletonFields = [
|
||||
export const singletonFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Singleton',
|
||||
name: 'singleton',
|
||||
|
@ -43,4 +43,4 @@ export const singletonFields = [
|
|||
required: true,
|
||||
description: 'Name of the singleton to operate on.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const controlOperations = [
|
||||
export const controlOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -27,9 +27,9 @@ export const controlOperations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const controlFields = [
|
||||
export const controlFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* control:get */
|
||||
|
@ -138,4 +138,4 @@ export const controlFields = [
|
|||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const formulaOperations = [
|
||||
export const formulaOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -27,9 +27,9 @@ export const formulaOperations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const formulaFields = [
|
||||
export const formulaFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* formula:get */
|
||||
|
@ -138,4 +138,4 @@ export const formulaFields = [
|
|||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const tableOperations = [
|
||||
export const tableOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -52,9 +52,9 @@ export const tableOperations = [
|
|||
default: 'createRow',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const tableFields = [
|
||||
export const tableFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* table:createRow */
|
||||
|
@ -754,4 +754,4 @@ export const tableFields = [
|
|||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const viewOperations = [
|
||||
export const viewOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -52,9 +52,9 @@ export const viewOperations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const viewFields = [
|
||||
export const viewFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* view:get */
|
||||
|
@ -706,4 +706,4 @@ export const viewFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const coinOperations = [
|
||||
export const coinOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -58,9 +58,9 @@ export const coinOperations = [
|
|||
],
|
||||
default: 'getAll',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const coinFields = [
|
||||
export const coinFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Search By',
|
||||
name: 'searchBy',
|
||||
|
@ -239,6 +239,7 @@ export const coinFields = [
|
|||
name: 'contractAddress',
|
||||
required: true,
|
||||
type: 'string',
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
|
@ -260,6 +261,7 @@ export const coinFields = [
|
|||
name: 'contractAddresses',
|
||||
required: true,
|
||||
type: 'string',
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
operation: [
|
||||
|
@ -779,4 +781,4 @@ export const coinFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const eventOperations = [
|
||||
export const eventOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -23,9 +23,9 @@ export const eventOperations = [
|
|||
],
|
||||
default: 'getAll',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const eventFields = [
|
||||
export const eventFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Return All',
|
||||
name: 'returnAll',
|
||||
|
@ -127,4 +127,4 @@ export const eventFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -8,7 +8,7 @@ export const resource = {
|
|||
value: 'asset',
|
||||
} as INodePropertyOptions;
|
||||
|
||||
export const operations = [
|
||||
export const operations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -33,9 +33,9 @@ export const operations = [
|
|||
default: 'getAll',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const fields = [
|
||||
export const fields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Environment ID',
|
||||
name: 'environmentId',
|
||||
|
@ -201,4 +201,4 @@ export const fields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -8,7 +8,7 @@ export const resource = {
|
|||
value: 'contentType',
|
||||
} as INodePropertyOptions;
|
||||
|
||||
export const operations = [
|
||||
export const operations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const operations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const fields = [
|
||||
export const fields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Environment ID',
|
||||
name: 'environmentId',
|
||||
|
@ -92,4 +92,4 @@ export const fields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -8,7 +8,7 @@ export const resource = {
|
|||
value: 'entry',
|
||||
} as INodePropertyOptions;
|
||||
|
||||
export const operations = [
|
||||
export const operations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -33,9 +33,9 @@ export const operations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const fields = [
|
||||
export const fields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Environment ID',
|
||||
name: 'environmentId',
|
||||
|
@ -208,4 +208,4 @@ export const fields = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -8,7 +8,7 @@ export const resource = {
|
|||
value: 'locale',
|
||||
} as INodePropertyOptions;
|
||||
|
||||
export const operations = [
|
||||
export const operations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const operations = [
|
|||
default: 'getAll',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const fields = [
|
||||
export const fields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Environment ID',
|
||||
name: 'environmentId',
|
||||
|
@ -91,4 +91,4 @@ export const fields = [
|
|||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const fields = [
|
||||
export const fields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Search Parameters',
|
||||
name: 'search_parameters',
|
||||
|
@ -34,4 +34,4 @@ export const fields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -7,7 +7,7 @@ export const resource = {
|
|||
value: 'space',
|
||||
};
|
||||
|
||||
export const operations = [
|
||||
export const operations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -28,6 +28,6 @@ export const operations = [
|
|||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const fields = [] as INodeProperties[];
|
||||
export const fields: INodeProperties[] = [];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const customFieldOperations = [
|
||||
export const customFieldOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const customFieldOperations = [
|
|||
default: 'update',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const customFieldFields = [
|
||||
export const customFieldFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Field ID',
|
||||
name: 'id',
|
||||
|
@ -121,4 +121,4 @@ export const customFieldFields = [
|
|||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const formOperations = [
|
||||
export const formOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -34,9 +34,9 @@ export const formOperations = [
|
|||
default: 'addSubscriber',
|
||||
description: 'The operations to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const formFields = [
|
||||
export const formFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Form ID',
|
||||
name: 'id',
|
||||
|
@ -217,4 +217,4 @@ export const formFields = [
|
|||
],
|
||||
description: 'Receive only active subscribers or cancelled subscribers.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const sequenceOperations = [
|
||||
export const sequenceOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -34,9 +34,9 @@ export const sequenceOperations = [
|
|||
default: 'addSubscriber',
|
||||
description: 'The operations to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const sequenceFields = [
|
||||
export const sequenceFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Sequence ID',
|
||||
name: 'id',
|
||||
|
@ -227,4 +227,4 @@ export const sequenceFields = [
|
|||
],
|
||||
description: 'Receive only active subscribers or cancelled subscribers.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const tagOperations = [
|
||||
export const tagOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -29,9 +29,9 @@ export const tagOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const tagFields = [
|
||||
export const tagFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Name',
|
||||
name: 'name',
|
||||
|
@ -91,4 +91,4 @@ export const tagFields = [
|
|||
default: 100,
|
||||
description: 'How many results to return.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const tagSubscriberOperations = [
|
||||
export const tagSubscriberOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -34,9 +34,9 @@ export const tagSubscriberOperations = [
|
|||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const tagSubscriberFields = [
|
||||
export const tagSubscriberFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Tag ID',
|
||||
name: 'tagId',
|
||||
|
@ -216,4 +216,4 @@ export const tagSubscriberFields = [
|
|||
],
|
||||
description: 'Receive only active subscribers or cancelled subscribers.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -11,7 +11,7 @@ import {
|
|||
phoneNumbersFixedCollection,
|
||||
} from '../utils/sharedFields';
|
||||
|
||||
export const companyOperations = [
|
||||
export const companyOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -48,9 +48,9 @@ export const companyOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const companyFields = [
|
||||
export const companyFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// company: create
|
||||
// ----------------------------------------
|
||||
|
@ -286,4 +286,4 @@ export const companyFields = [
|
|||
phoneNumbersFixedCollection,
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const customerSourceOperations = [
|
||||
export const customerSourceOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -23,9 +23,9 @@ export const customerSourceOperations = [
|
|||
default: 'getAll',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const customerSourceFields = [
|
||||
export const customerSourceFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// customerSource: getAll
|
||||
// ----------------------------------------
|
||||
|
@ -70,4 +70,4 @@ export const customerSourceFields = [
|
|||
},
|
||||
},
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -8,7 +8,7 @@ import {
|
|||
phoneNumbersFixedCollection,
|
||||
} from '../utils/sharedFields';
|
||||
|
||||
export const leadOperations = [
|
||||
export const leadOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -45,9 +45,9 @@ export const leadOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const leadFields = [
|
||||
export const leadFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// lead: create
|
||||
// ----------------------------------------
|
||||
|
@ -271,4 +271,4 @@ export const leadFields = [
|
|||
phoneNumbersFixedCollection,
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const opportunityOperations = [
|
||||
export const opportunityOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -39,9 +39,9 @@ export const opportunityOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const opportunityFields = [
|
||||
export const opportunityFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// opportunity: create
|
||||
// ----------------------------------------
|
||||
|
@ -281,4 +281,4 @@ export const opportunityFields = [
|
|||
},
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
|
@ -8,7 +8,7 @@ import {
|
|||
phoneNumbersFixedCollection,
|
||||
} from '../utils/sharedFields';
|
||||
|
||||
export const personOperations = [
|
||||
export const personOperations: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
|
@ -45,9 +45,9 @@ export const personOperations = [
|
|||
default: 'create',
|
||||
description: 'Operation to perform',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
||||
export const personFields = [
|
||||
export const personFields: INodeProperties[] = [
|
||||
// ----------------------------------------
|
||||
// person: create
|
||||
// ----------------------------------------
|
||||
|
@ -283,4 +283,4 @@ export const personFields = [
|
|||
phoneNumbersFixedCollection,
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
];
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue