refactor: Apply more nodelinting rules (#3324)

* ✏️ Alphabetize lint rules

* 🔥 Remove duplicates

*  Update `lintfix` script

* 👕 Apply `node-param-operation-without-no-data-expression` (#3329)

* 👕 Apply `node-param-operation-without-no-data-expression`

* 👕 Add exceptions

* 👕 Apply `node-param-description-weak` (#3328)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-option-value-duplicate` (#3331)

* 👕 Apply `node-param-description-miscased-json` (#3337)

* 👕 Apply `node-param-display-name-excess-inner-whitespace` (#3335)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-type-options-missing-from-limit` (#3336)

* Rule workig as intended

* ✏️ Uncomment rules

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-option-name-duplicate` (#3338)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-description-wrong-for-simplify` (#3334)

*  fix

*  exceptions

*  changed rule ignoring from file to line

* 👕 Apply `node-param-resource-without-no-data-expression` (#3339)

* 👕 Apply `node-param-display-name-untrimmed` (#3341)

* 👕 Apply `node-param-display-name-miscased-id` (#3340)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-resource-with-plural-option` (#3342)

* 👕 Apply `node-param-description-wrong-for-upsert` (#3333)

*  fix

*  replaced record with contact in description

*  fix

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-option-description-identical-to-name` (#3343)

* 👕 Apply `node-param-option-name-containing-star` (#3347)

* 👕 Apply `node-param-display-name-wrong-for-update-fields` (#3348)

* 👕 Apply `node-param-option-name-wrong-for-get-all` (#3345)

*  fix

*  exceptions

* 👕 Apply node-param-display-name-wrong-for-simplify (#3344)

* Rule working as intended

* Uncomented other rules

* 👕 Undo and add exceptions

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

*  Alphabetize lint rules

*  Restore `lintfix` script

Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com>
This commit is contained in:
Iván Ovejero
2022-05-20 23:47:24 +02:00
committed by GitHub
parent e7fa0ae883
commit 6dcdb30bf4
781 changed files with 1262 additions and 1071 deletions

View File

@@ -388,28 +388,41 @@ module.exports = {
'n8n-nodes-base/node-param-default-wrong-for-simplify': 'error', 'n8n-nodes-base/node-param-default-wrong-for-simplify': 'error',
'n8n-nodes-base/node-param-description-comma-separated-hyphen': 'error', 'n8n-nodes-base/node-param-description-comma-separated-hyphen': 'error',
'n8n-nodes-base/node-param-description-empty-string': 'error', 'n8n-nodes-base/node-param-description-empty-string': 'error',
'n8n-nodes-base/node-param-description-excess-final-period': 'error',
'n8n-nodes-base/node-param-description-excess-inner-whitespace': 'error', 'n8n-nodes-base/node-param-description-excess-inner-whitespace': 'error',
'n8n-nodes-base/node-param-description-identical-to-display-name': 'error', 'n8n-nodes-base/node-param-description-identical-to-display-name': 'error',
'n8n-nodes-base/node-param-description-miscased-id': 'error',
'n8n-nodes-base/node-param-description-miscased-json': 'error',
'n8n-nodes-base/node-param-description-missing-final-period': 'error', 'n8n-nodes-base/node-param-description-missing-final-period': 'error',
'n8n-nodes-base/node-param-description-missing-for-ignore-ssl-issues': 'error', 'n8n-nodes-base/node-param-description-missing-for-ignore-ssl-issues': 'error',
'n8n-nodes-base/node-param-description-missing-for-return-all': 'error', 'n8n-nodes-base/node-param-description-missing-for-return-all': 'error',
'n8n-nodes-base/node-param-description-missing-for-simplify': 'error', 'n8n-nodes-base/node-param-description-missing-for-simplify': 'error',
'n8n-nodes-base/node-param-description-untrimmed': 'error',
'n8n-nodes-base/node-param-description-missing-from-limit': 'error', 'n8n-nodes-base/node-param-description-missing-from-limit': 'error',
'n8n-nodes-base/node-param-description-unneeded-backticks': 'error',
'n8n-nodes-base/node-param-description-wrong-for-return-all': 'error',
'n8n-nodes-base/node-param-description-wrong-for-limit': 'error',
'n8n-nodes-base/node-param-description-excess-final-period': 'error',
'n8n-nodes-base/node-param-description-untrimmed': 'error',
'n8n-nodes-base/node-param-description-missing-from-limit': 'error',
'n8n-nodes-base/node-param-description-unneeded-backticks': 'error',
'n8n-nodes-base/node-param-description-wrong-for-return-all': 'error',
'n8n-nodes-base/node-param-description-miscased-id': 'error',
'n8n-nodes-base/node-param-description-unencoded-angle-brackets': 'error', 'n8n-nodes-base/node-param-description-unencoded-angle-brackets': 'error',
'n8n-nodes-base/node-param-description-wrong-for-return-all': 'error', 'n8n-nodes-base/node-param-description-unneeded-backticks': 'error',
'n8n-nodes-base/node-param-description-untrimmed': 'error',
'n8n-nodes-base/node-param-description-url-missing-protocol': 'error', 'n8n-nodes-base/node-param-description-url-missing-protocol': 'error',
'n8n-nodes-base/node-param-description-weak': 'error',
'n8n-nodes-base/node-param-description-wrong-for-ignore-ssl-issues': 'error', 'n8n-nodes-base/node-param-description-wrong-for-ignore-ssl-issues': 'error',
'n8n-nodes-base/node-param-description-wrong-for-limit': 'error',
'n8n-nodes-base/node-param-description-wrong-for-return-all': 'error',
'n8n-nodes-base/node-param-description-wrong-for-simplify': 'error',
'n8n-nodes-base/node-param-description-wrong-for-upsert': 'error',
'n8n-nodes-base/node-param-display-name-excess-inner-whitespace': 'error',
'n8n-nodes-base/node-param-display-name-miscased-id': 'error',
'n8n-nodes-base/node-param-display-name-untrimmed': 'error',
'n8n-nodes-base/node-param-display-name-wrong-for-simplify': 'error',
'n8n-nodes-base/node-param-display-name-wrong-for-update-fields': 'error',
'n8n-nodes-base/node-param-operation-without-no-data-expression': 'error',
'n8n-nodes-base/node-param-option-description-identical-to-name': 'error',
'n8n-nodes-base/node-param-option-name-containing-star': 'error',
'n8n-nodes-base/node-param-option-name-duplicate': 'error',
'n8n-nodes-base/node-param-option-name-wrong-for-get-all': 'error',
'n8n-nodes-base/node-param-option-value-duplicate': 'error',
'n8n-nodes-base/node-param-required-false': 'error', 'n8n-nodes-base/node-param-required-false': 'error',
'n8n-nodes-base/node-param-resource-with-plural-option': 'error',
'n8n-nodes-base/node-param-resource-without-no-data-expression': 'error',
'n8n-nodes-base/node-param-type-options-missing-from-limit': 'error',
}, },
}, },
], ],

View File

@@ -72,6 +72,7 @@ export class ActionNetwork implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Attendance', name: 'Attendance',
@@ -103,7 +104,6 @@ export class ActionNetwork implements INodeType {
}, },
], ],
default: 'attendance', default: 'attendance',
description: 'Resource to consume',
}, },
...attendanceOperations, ...attendanceOperations,
...attendanceFields, ...attendanceFields,

View File

@@ -11,6 +11,7 @@ export const attendanceOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -33,7 +34,6 @@ export const attendanceOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'Operation to perform',
}, },
]; ];

View File

@@ -12,6 +12,7 @@ export const eventOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -34,7 +35,6 @@ export const eventOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'Operation to perform',
}, },
]; ];

View File

@@ -12,6 +12,7 @@ export const personOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -38,7 +39,6 @@ export const personOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'Operation to perform',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const personTagOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -25,7 +26,6 @@ export const personTagOperations: INodeProperties[] = [
}, },
], ],
default: 'add', default: 'add',
description: 'Operation to perform',
}, },
]; ];

View File

@@ -12,6 +12,7 @@ export const petitionOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -38,7 +39,6 @@ export const petitionOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'Operation to perform',
}, },
]; ];

View File

@@ -362,7 +362,7 @@ export const petitionAdditionalFieldsOptions: INodeProperties[] = [
]; ];
export const makeSimpleField = (resource: Resource, operation: Operation): INodeProperties => ({ export const makeSimpleField = (resource: Resource, operation: Operation): INodeProperties => ({
displayName: 'Simple', displayName: 'Simplify',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',
displayOptions: { displayOptions: {
@@ -376,5 +376,5 @@ export const makeSimpleField = (resource: Resource, operation: Operation): INode
}, },
}, },
default: true, default: true,
description: 'Return a simplified version of the response instead of the raw data', description: 'Whether to return a simplified version of the response instead of the raw data',
}); });

View File

@@ -11,6 +11,7 @@ export const signatureOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -37,7 +38,6 @@ export const signatureOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'Operation to perform',
}, },
]; ];

View File

@@ -11,6 +11,7 @@ export const tagOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -33,7 +34,6 @@ export const tagOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'Operation to perform',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const accountContactOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -32,7 +33,6 @@ export const accountContactOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -11,6 +11,7 @@ export const accountOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -46,7 +47,6 @@ export const accountOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -133,6 +133,7 @@ export class ActiveCampaign implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Account', name: 'Account',
@@ -171,7 +172,7 @@ export class ActiveCampaign implements INodeType {
value: 'ecommerceCustomer', value: 'ecommerceCustomer',
}, },
{ {
name: 'E-commerce Order Products', name: 'E-commerce Order Product',
value: 'ecommerceOrderProducts', value: 'ecommerceOrderProducts',
}, },
{ {
@@ -184,7 +185,6 @@ export class ActiveCampaign implements INodeType {
}, },
], ],
default: 'contact', default: 'contact',
description: 'The resource to operate on.',
}, },
// ---------------------------------- // ----------------------------------

View File

@@ -11,6 +11,7 @@ export const connectionOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -46,7 +47,6 @@ export const connectionOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -11,6 +11,7 @@ export const contactOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -46,7 +47,6 @@ export const contactOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const contactListOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -27,7 +28,6 @@ export const contactListOperations: INodeProperties[] = [
}, },
], ],
default: 'add', default: 'add',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const contactTagOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -27,7 +28,6 @@ export const contactTagOperations: INodeProperties[] = [
}, },
], ],
default: 'add', default: 'add',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -15,6 +15,7 @@ export const dealOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -60,7 +61,6 @@ export const dealOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -11,6 +11,7 @@ export const ecomCustomerOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -46,7 +47,6 @@ export const ecomCustomerOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -15,6 +15,7 @@ export const ecomOrderOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -50,7 +51,6 @@ export const ecomOrderOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];
@@ -416,7 +416,7 @@ export const ecomOrderFields: INodeProperties[] = [
}, },
{ {
displayName: 'Add Field', displayName: 'Update Fields',
name: 'updateFields', name: 'updateFields',
type: 'collection', type: 'collection',
placeholder: 'Add Field', placeholder: 'Add Field',

View File

@@ -11,6 +11,7 @@ export const ecomOrderProductsOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -36,7 +37,6 @@ export const ecomOrderProductsOperations: INodeProperties[] = [
}, },
], ],
default: 'getAll', default: 'getAll',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -160,7 +160,7 @@ export function activeCampaignDefaultGetAllProperties(resource: string, operatio
description: 'Max number of results to return', description: 'Max number of results to return',
}, },
{ {
displayName: 'Simplify Response', displayName: 'Simplify',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',
displayOptions: { displayOptions: {
@@ -174,7 +174,7 @@ export function activeCampaignDefaultGetAllProperties(resource: string, operatio
}, },
}, },
default: true, default: true,
description: 'Return a simplified version of the response instead of the raw data', description: 'Whether to return a simplified version of the response instead of the raw data',
}, },
]; ];
} }

View File

@@ -11,6 +11,7 @@ export const listOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -26,7 +27,6 @@ export const listOperations: INodeProperties[] = [
}, },
], ],
default: 'getAll', default: 'getAll',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -11,6 +11,7 @@ export const tagOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -46,7 +47,6 @@ export const tagOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -75,7 +75,6 @@ export class AcuitySchedulingTrigger implements INodeType {
}, },
], ],
default: 'apiKey', default: 'apiKey',
description: 'Method of authentication.',
}, },
{ {
displayName: 'Event', displayName: 'Event',

View File

@@ -69,6 +69,7 @@ export class Affinity implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'List', name: 'List',
@@ -88,7 +89,6 @@ export class Affinity implements INodeType {
}, },
], ],
default: 'organization', default: 'organization',
description: 'Resource to consume.',
}, },
...listOperations, ...listOperations,
...listFields, ...listFields,

View File

@@ -7,6 +7,7 @@ export const listOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -27,7 +28,6 @@ export const listOperations: INodeProperties[] = [
}, },
], ],
default: 'get', default: 'get',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const listEntryOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -37,7 +38,6 @@ export const listEntryOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const organizationOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -42,7 +43,6 @@ export const organizationOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const personOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -42,7 +43,6 @@ export const personOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -74,6 +74,7 @@ export class AgileCrm implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Company', name: 'Company',
@@ -89,7 +90,6 @@ export class AgileCrm implements INodeType {
}, },
], ],
default: 'contact', default: 'contact',
description: 'Resource to consume.',
}, },
// CONTACT // CONTACT
...contactOperations, ...contactOperations,

View File

@@ -7,6 +7,7 @@ export const companyOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -42,7 +43,6 @@ export const companyOperations: INodeProperties[] = [
}, },
], ],
default: 'get', default: 'get',
description: 'The operation to perform.',
}, },
]; ];
@@ -93,6 +93,9 @@ export const companyFields: INodeProperties[] = [
displayName: 'Limit', displayName: 'Limit',
name: 'limit', name: 'limit',
type: 'number', type: 'number',
typeOptions: {
minValue: 1,
},
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -170,7 +173,7 @@ export const companyFields: INodeProperties[] = [
default: 'anyFilter', default: 'anyFilter',
}, },
{ {
displayName: 'Simplify Response', displayName: 'Simplify',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',
displayOptions: { displayOptions: {
@@ -185,7 +188,7 @@ export const companyFields: INodeProperties[] = [
}, },
// eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify // eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify
default: false, default: false,
description: 'Return a simplified version of the response instead of the raw data', description: 'Whether to return a simplified version of the response instead of the raw data',
}, },
{ {
displayName: 'Filters', displayName: 'Filters',
@@ -400,7 +403,7 @@ export const companyFields: INodeProperties[] = [
}, },
}, },
{ {
displayName: ' Additional Fields', displayName: 'Additional Fields',
name: 'additionalFieldsJson', name: 'additionalFieldsJson',
type: 'json', type: 'json',
typeOptions: { typeOptions: {
@@ -696,7 +699,7 @@ export const companyFields: INodeProperties[] = [
}, },
}, },
{ {
displayName: ' Additional Fields', displayName: 'Additional Fields',
name: 'additionalFieldsJson', name: 'additionalFieldsJson',
type: 'json', type: 'json',
typeOptions: { typeOptions: {

View File

@@ -7,6 +7,7 @@ export const contactOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -42,7 +43,6 @@ export const contactOperations: INodeProperties[] = [
}, },
], ],
default: 'get', default: 'get',
description: 'The operation to perform.',
}, },
]; ];
@@ -93,6 +93,9 @@ export const contactFields: INodeProperties[] = [
displayName: 'Limit', displayName: 'Limit',
name: 'limit', name: 'limit',
type: 'number', type: 'number',
typeOptions: {
minValue: 1,
},
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -170,7 +173,7 @@ export const contactFields: INodeProperties[] = [
default: 'anyFilter', default: 'anyFilter',
}, },
{ {
displayName: 'Simplify Response', displayName: 'Simplify',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',
displayOptions: { displayOptions: {
@@ -185,7 +188,7 @@ export const contactFields: INodeProperties[] = [
}, },
// eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify // eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify
default: false, default: false,
description: 'Return a simplified version of the response instead of the raw data', description: 'Whether to return a simplified version of the response instead of the raw data',
}, },
{ {
displayName: 'Filters', displayName: 'Filters',
@@ -401,7 +404,7 @@ export const contactFields: INodeProperties[] = [
}, },
}, },
{ {
displayName: ' Additional Fields', displayName: 'Additional Fields',
name: 'additionalFieldsJson', name: 'additionalFieldsJson',
type: 'json', type: 'json',
typeOptions: { typeOptions: {
@@ -864,7 +867,7 @@ export const contactFields: INodeProperties[] = [
}, },
}, },
{ {
displayName: ' Additional Fields', displayName: 'Additional Fields',
name: 'additionalFieldsJson', name: 'additionalFieldsJson',
type: 'json', type: 'json',
typeOptions: { typeOptions: {

View File

@@ -7,6 +7,7 @@ export const dealOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -43,7 +44,6 @@ export const dealOperations: INodeProperties[] = [
], ],
default: 'get', default: 'get',
description: 'The operation to perform.',
}, },
]; ];
@@ -78,6 +78,9 @@ export const dealFields: INodeProperties[] = [
displayName: 'Limit', displayName: 'Limit',
name: 'limit', name: 'limit',
type: 'number', type: 'number',
typeOptions: {
minValue: 1,
},
description: 'Max number of results to return', description: 'Max number of results to return',
default: 20, default: 20,
displayOptions: { displayOptions: {
@@ -244,7 +247,7 @@ export const dealFields: INodeProperties[] = [
}, },
}, },
{ {
displayName: ' Additional Fields', displayName: 'Additional Fields',
name: 'additionalFieldsJson', name: 'additionalFieldsJson',
type: 'json', type: 'json',
typeOptions: { typeOptions: {
@@ -287,7 +290,7 @@ export const dealFields: INodeProperties[] = [
}, },
options: [ options: [
{ {
displayName: 'Contact Ids', displayName: 'Contact IDs',
name: 'contactIds', name: 'contactIds',
type: 'string', type: 'string',
typeOptions: { typeOptions: {
@@ -465,7 +468,7 @@ export const dealFields: INodeProperties[] = [
description: 'Expected Value of deal', description: 'Expected Value of deal',
}, },
{ {
displayName: 'Contact Ids', displayName: 'Contact IDs',
name: 'contactIds', name: 'contactIds',
type: 'string', type: 'string',
typeOptions: { typeOptions: {

View File

@@ -40,6 +40,7 @@ export class Airtable implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Append', name: 'Append',
@@ -68,7 +69,6 @@ export class Airtable implements INodeType {
}, },
], ],
default: 'read', default: 'read',
description: 'The operation to perform.',
}, },
// ---------------------------------- // ----------------------------------

View File

@@ -44,6 +44,7 @@ export class ApiTemplateIo implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Account', name: 'Account',
@@ -59,15 +60,14 @@ export class ApiTemplateIo implements INodeType {
}, },
], ],
default: 'image', default: 'image',
description: 'Resource to consume',
}, },
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
default: 'create', default: 'create',
required: true, required: true,
description: 'Operation to perform',
options: [ options: [
{ {
name: 'Create', name: 'Create',
@@ -87,9 +87,9 @@ export class ApiTemplateIo implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
default: 'get', default: 'get',
required: true, required: true,
description: 'Operation to perform',
options: [ options: [
{ {
name: 'Get', name: 'Get',

View File

@@ -88,12 +88,12 @@ export class Asana implements INodeType {
}, },
], ],
default: 'accessToken', default: 'accessToken',
description: 'The resource to operate on.',
}, },
{ {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Project', name: 'Project',
@@ -125,7 +125,6 @@ export class Asana implements INodeType {
}, },
], ],
default: 'task', default: 'task',
description: 'The resource to operate on.',
}, },
// ---------------------------------- // ----------------------------------
// subtask // subtask
@@ -134,6 +133,7 @@ export class Asana implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -154,7 +154,6 @@ export class Asana implements INodeType {
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
// ---------------------------------- // ----------------------------------
@@ -401,6 +400,7 @@ export class Asana implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -446,7 +446,6 @@ export class Asana implements INodeType {
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
// ---------------------------------- // ----------------------------------
@@ -955,6 +954,7 @@ export class Asana implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -975,7 +975,6 @@ export class Asana implements INodeType {
}, },
], ],
default: 'add', default: 'add',
description: 'The operation to perform.',
}, },
// ---------------------------------- // ----------------------------------
@@ -1123,6 +1122,7 @@ export class Asana implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -1143,7 +1143,6 @@ export class Asana implements INodeType {
}, },
], ],
default: 'add', default: 'add',
description: 'The operation to perform.',
}, },
// ---------------------------------- // ----------------------------------
// taskProject:add // taskProject:add
@@ -1279,6 +1278,7 @@ export class Asana implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -1299,7 +1299,6 @@ export class Asana implements INodeType {
}, },
], ],
default: 'add', default: 'add',
description: 'The operation to perform.',
}, },
// ---------------------------------- // ----------------------------------
@@ -1403,6 +1402,7 @@ export class Asana implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -1423,7 +1423,6 @@ export class Asana implements INodeType {
}, },
], ],
default: 'get', default: 'get',
description: 'The operation to perform.',
}, },
// ---------------------------------- // ----------------------------------
@@ -1482,6 +1481,7 @@ export class Asana implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -1517,7 +1517,6 @@ export class Asana implements INodeType {
}, },
], ],
default: 'get', default: 'get',
description: 'The operation to perform.',
}, },
// ---------------------------------- // ----------------------------------

View File

@@ -83,7 +83,6 @@ export class AsanaTrigger implements INodeType {
}, },
], ],
default: 'accessToken', default: 'accessToken',
description: 'The resource to operate on.',
}, },
{ {
displayName: 'Resource', displayName: 'Resource',

View File

@@ -51,6 +51,7 @@ export class Automizy implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Contact', name: 'Contact',
@@ -62,7 +63,6 @@ export class Automizy implements INodeType {
}, },
], ],
default: 'contact', default: 'contact',
description: 'The resource to operate on.',
}, },
...contactOperations, ...contactOperations,

View File

@@ -7,6 +7,7 @@ export const contactOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -42,7 +43,6 @@ export const contactOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const listOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -42,7 +43,6 @@ export const listOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -61,6 +61,7 @@ export class Autopilot implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Contact', name: 'Contact',
@@ -80,7 +81,6 @@ export class Autopilot implements INodeType {
}, },
], ],
default: 'contact', default: 'contact',
description: 'The resource to operate on.',
}, },
...contactOperations, ...contactOperations,

View File

@@ -7,6 +7,7 @@ export const contactOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -18,7 +19,7 @@ export const contactOperations: INodeProperties[] = [
{ {
name: 'Create/Update', name: 'Create/Update',
value: 'upsert', value: 'upsert',
description: 'Create/Update a contact', description: 'Create a new contact, or update the current one if it already exists (upsert)',
}, },
{ {
name: 'Delete', name: 'Delete',
@@ -37,7 +38,6 @@ export const contactOperations: INodeProperties[] = [
}, },
], ],
default: 'upsert', default: 'upsert',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const contactJourneyOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -22,7 +23,6 @@ export const contactJourneyOperations: INodeProperties[] = [
}, },
], ],
default: 'add', default: 'add',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const contactListOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -37,7 +38,6 @@ export const contactListOperations: INodeProperties[] = [
}, },
], ],
default: 'add', default: 'add',
description: 'Operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const listOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -27,7 +28,6 @@ export const listOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -38,6 +38,7 @@ export class AwsLambda implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Invoke', name: 'Invoke',
@@ -46,7 +47,6 @@ export class AwsLambda implements INodeType {
}, },
], ],
default: 'invoke', default: 'invoke',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Function', displayName: 'Function',

View File

@@ -37,6 +37,7 @@ export class AwsSns implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Publish', name: 'Publish',
@@ -45,7 +46,6 @@ export class AwsSns implements INodeType {
}, },
], ],
default: 'publish', default: 'publish',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Topic', displayName: 'Topic',

View File

@@ -38,6 +38,7 @@ export class AwsComprehend implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Text', name: 'Text',
@@ -51,6 +52,7 @@ export class AwsComprehend implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Detect Dominant Language', name: 'Detect Dominant Language',
@@ -69,7 +71,6 @@ export class AwsComprehend implements INodeType {
}, },
], ],
default: 'detectDominantLanguage', default: 'detectDominantLanguage',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Language Code', displayName: 'Language Code',
@@ -157,7 +158,7 @@ export class AwsComprehend implements INodeType {
description: 'The text to send', description: 'The text to send',
}, },
{ {
displayName: 'Simplify Response', displayName: 'Simplify',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',
displayOptions: { displayOptions: {
@@ -171,7 +172,7 @@ export class AwsComprehend implements INodeType {
}, },
}, },
default: true, default: true,
description: 'Return a simplified version of the response instead of the raw data', description: 'Whether to return a simplified version of the response instead of the raw data',
}, },
{ {
displayName: 'Additional Fields', displayName: 'Additional Fields',

View File

@@ -62,6 +62,7 @@ export class AwsDynamoDB implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Item', name: 'Item',

View File

@@ -7,6 +7,7 @@ export const itemOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -18,7 +19,7 @@ export const itemOperations: INodeProperties[] = [
{ {
name: 'Create or Update', name: 'Create or Update',
value: 'upsert', value: 'upsert',
description: 'Create a new record, or update the current one if it already exists (upsert/put)', description: 'Create a new record, or update the current one if it already exists (upsert)',
}, },
{ {
name: 'Delete', name: 'Delete',
@@ -352,7 +353,7 @@ export const itemFields: INodeProperties[] = [
description: 'Item\'s primary key. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key', description: 'Item\'s primary key. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key',
}, },
{ {
displayName: 'Simple', displayName: 'Simplify',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',
displayOptions: { displayOptions: {
@@ -513,7 +514,7 @@ export const itemFields: INodeProperties[] = [
default: 'ALL_ATTRIBUTES', default: 'ALL_ATTRIBUTES',
}, },
{ {
displayName: 'Simple', displayName: 'Simplify',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',
displayOptions: { displayOptions: {
@@ -859,7 +860,7 @@ export const itemFields: INodeProperties[] = [
default: 'ALL_ATTRIBUTES', default: 'ALL_ATTRIBUTES',
}, },
{ {
displayName: 'Simple', displayName: 'Simplify',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',
displayOptions: { displayOptions: {

View File

@@ -42,6 +42,7 @@ export class AwsRekognition implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Image', name: 'Image',
@@ -49,12 +50,12 @@ export class AwsRekognition implements INodeType {
}, },
], ],
default: 'image', default: 'image',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Analyze', name: 'Analyze',
@@ -62,7 +63,6 @@ export class AwsRekognition implements INodeType {
}, },
], ],
default: 'analyze', default: 'analyze',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Type', displayName: 'Type',
@@ -101,7 +101,6 @@ export class AwsRekognition implements INodeType {
}, },
], ],
default: 'detectFaces', default: 'detectFaces',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Binary Data', displayName: 'Binary Data',

View File

@@ -72,6 +72,7 @@ export class AwsS3 implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Bucket', name: 'Bucket',
@@ -87,7 +88,6 @@ export class AwsS3 implements INodeType {
}, },
], ],
default: 'file', default: 'file',
description: 'The operation to perform.',
}, },
// BUCKET // BUCKET
...bucketOperations, ...bucketOperations,

View File

@@ -7,6 +7,7 @@ export const bucketOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -37,7 +38,6 @@ export const bucketOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const fileOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -42,7 +43,6 @@ export const fileOperations: INodeProperties[] = [
}, },
], ],
default: 'download', default: 'download',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const folderOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -32,7 +33,6 @@ export const folderOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -48,6 +48,7 @@ export class AwsSes implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Custom Verification Email', name: 'Custom Verification Email',
@@ -63,12 +64,12 @@ export class AwsSes implements INodeType {
}, },
], ],
default: 'email', default: 'email',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -109,7 +110,6 @@ export class AwsSes implements INodeType {
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
{ {
@@ -382,6 +382,9 @@ export class AwsSes implements INodeType {
displayName: 'Limit', displayName: 'Limit',
name: 'limit', name: 'limit',
type: 'number', type: 'number',
typeOptions: {
minValue: 1,
},
description: 'Max number of results to return', description: 'Max number of results to return',
default: 20, default: 20,
displayOptions: { displayOptions: {
@@ -402,6 +405,7 @@ export class AwsSes implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -420,7 +424,6 @@ export class AwsSes implements INodeType {
}, },
], ],
default: 'send', default: 'send',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Is Body HTML', displayName: 'Is Body HTML',
@@ -705,6 +708,7 @@ export class AwsSes implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -740,7 +744,6 @@ export class AwsSes implements INodeType {
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Template Name', displayName: 'Template Name',
@@ -884,6 +887,9 @@ export class AwsSes implements INodeType {
displayName: 'Limit', displayName: 'Limit',
name: 'limit', name: 'limit',
type: 'number', type: 'number',
typeOptions: {
minValue: 1,
},
description: 'Max number of results to return', description: 'Max number of results to return',
default: 20, default: 20,
displayOptions: { displayOptions: {

View File

@@ -51,6 +51,7 @@ export class AwsSqs implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Send message', name: 'Send message',
@@ -59,7 +60,6 @@ export class AwsSqs implements INodeType {
}, },
], ],
default: 'sendMessage', default: 'sendMessage',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Queue', displayName: 'Queue',
@@ -97,7 +97,6 @@ export class AwsSqs implements INodeType {
}, },
], ],
default: 'standard', default: 'standard',
description: 'The operation to perform.',
}, },
{ {
displayName: 'Send Input Data', displayName: 'Send Input Data',

View File

@@ -48,6 +48,7 @@ export class AwsTextract implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Analyze Receipt or Invoice', name: 'Analyze Receipt or Invoice',
@@ -72,7 +73,7 @@ export class AwsTextract implements INodeType {
description: 'The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG.', description: 'The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG.',
}, },
{ {
displayName: 'Simplify Response', displayName: 'Simplify',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',
displayOptions: { displayOptions: {
@@ -83,7 +84,7 @@ export class AwsTextract implements INodeType {
}, },
}, },
default: true, default: true,
description: 'Return a simplified version of the response instead of the raw data', description: 'Whether to return a simplified version of the response instead of the raw data',
}, },
], ],
}; };

View File

@@ -39,6 +39,7 @@ export class AwsTranscribe implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Transcription Job', name: 'Transcription Job',
@@ -46,12 +47,12 @@ export class AwsTranscribe implements INodeType {
}, },
], ],
default: 'transcriptionJob', default: 'transcriptionJob',
description: 'Resource to operate on.',
}, },
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Create', name: 'Create',
@@ -75,7 +76,6 @@ export class AwsTranscribe implements INodeType {
}, },
], ],
default: 'create', default: 'create',
description: 'Operation to perform.',
}, },
{ {
displayName: 'Job Name', displayName: 'Job Name',
@@ -282,7 +282,7 @@ export class AwsTranscribe implements INodeType {
description: 'By default, the response only contains metadata about the transcript. Enable this option to retrieve the transcript instead.', description: 'By default, the response only contains metadata about the transcript. Enable this option to retrieve the transcript instead.',
}, },
{ {
displayName: 'Simple', displayName: 'Simplify',
name: 'simple', name: 'simple',
type: 'boolean', type: 'boolean',
displayOptions: { displayOptions: {
@@ -299,7 +299,7 @@ export class AwsTranscribe implements INodeType {
}, },
}, },
default: true, default: true,
description: 'Return a simplified version of the response instead of the raw data', description: 'Whether to return a simplified version of the response instead of the raw data',
}, },
{ {
displayName: 'Return All', displayName: 'Return All',

View File

@@ -13,6 +13,7 @@ export const descriptions: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [

View File

@@ -19,6 +19,7 @@ export const descriptions: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [

View File

@@ -62,7 +62,7 @@ export const employeeDocumentGetAllDescription: EmployeeDocumentProperties = [
}, },
}, },
{ {
displayName: 'Simplify Output', displayName: 'Simplify',
name: 'simplifyOutput', name: 'simplifyOutput',
type: 'boolean', type: 'boolean',
default: true, default: true,
@@ -76,6 +76,6 @@ export const employeeDocumentGetAllDescription: EmployeeDocumentProperties = [
], ],
}, },
}, },
description: 'Whether to simplify the output or not', description: 'Whether to return a simplified version of the response instead of the raw data',
}, },
]; ];

View File

@@ -21,6 +21,7 @@ export const descriptions: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [

View File

@@ -45,7 +45,7 @@ export const fileGetAllDescription: FileProperties = [
}, },
}, },
{ {
displayName: 'Simplify Output', displayName: 'Simplify',
name: 'simplifyOutput', name: 'simplifyOutput',
type: 'boolean', type: 'boolean',
default: true, default: true,
@@ -59,6 +59,6 @@ export const fileGetAllDescription: FileProperties = [
], ],
}, },
}, },
description: 'Whether to simplify the output or not', description: 'Whether to return a simplified version of the response instead of the raw data',
}, },
]; ];

View File

@@ -21,6 +21,7 @@ export const descriptions: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [

View File

@@ -30,6 +30,7 @@ export const versionDescription: INodeTypeDescription = {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Company Report', name: 'Company Report',

View File

@@ -51,6 +51,7 @@ export class Bannerbear implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Image', name: 'Image',
@@ -62,7 +63,6 @@ export class Bannerbear implements INodeType {
}, },
], ],
default: 'image', default: 'image',
description: 'Resource to consume.',
}, },
// IMAGE // IMAGE
...imageOperations, ...imageOperations,

View File

@@ -7,6 +7,7 @@ export const imageOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -27,7 +28,6 @@ export const imageOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const templateOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -27,7 +28,6 @@ export const templateOperations: INodeProperties[] = [
}, },
], ],
default: 'get', default: 'get',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -56,6 +56,7 @@ export class Baserow implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Row', name: 'Row',
@@ -63,12 +64,12 @@ export class Baserow implements INodeType {
}, },
], ],
default: 'row', default: 'row',
description: 'Operation to perform',
}, },
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -104,7 +105,6 @@ export class Baserow implements INodeType {
}, },
], ],
default: 'getAll', default: 'getAll',
description: 'Operation to perform',
}, },
...operationFields, ...operationFields,
], ],

View File

@@ -51,6 +51,7 @@ export class Beeminder implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
required: true, required: true,
options: [ options: [
{ {
@@ -59,12 +60,12 @@ export class Beeminder implements INodeType {
}, },
], ],
default: 'datapoint', default: 'datapoint',
description: 'The resource to operate on.',
}, },
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Create', name: 'Create',
@@ -88,7 +89,6 @@ export class Beeminder implements INodeType {
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
required: true, required: true,
}, },
{ {

View File

@@ -55,6 +55,7 @@ export class BitbucketTrigger implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
required: true, required: true,
options: [ options: [
{ {
@@ -67,7 +68,6 @@ export class BitbucketTrigger implements INodeType {
}, },
], ],
default: 'workspace', default: 'workspace',
description: 'The resource to operate on.',
}, },
{ {
displayName: 'Workspace', displayName: 'Workspace',

View File

@@ -75,20 +75,19 @@ export class Bitly implements INodeType {
}, },
], ],
default: 'accessToken', default: 'accessToken',
description: 'The resource to operate on.',
}, },
{ {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: ' Link', name: 'Link',
value: 'link', value: 'link',
}, },
], ],
default: 'link', default: 'link',
description: 'Resource to consume.',
}, },
...linkOperations, ...linkOperations,
...linkFields, ...linkFields,

View File

@@ -5,6 +5,7 @@ export const linkOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -30,7 +31,6 @@ export const linkOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -73,6 +73,7 @@ export class Bitwarden implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Collection', name: 'Collection',
@@ -92,7 +93,6 @@ export class Bitwarden implements INodeType {
}, },
], ],
default: 'collection', default: 'collection',
description: 'Resource to consume',
}, },
...collectionOperations, ...collectionOperations,
...collectionFields, ...collectionFields,

View File

@@ -7,8 +7,8 @@ export const collectionOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
default: 'get', default: 'get',
description: 'Operation to perform',
options: [ options: [
{ {
name: 'Delete', name: 'Delete',
@@ -87,6 +87,9 @@ export const collectionFields: INodeProperties[] = [
displayName: 'Limit', displayName: 'Limit',
name: 'limit', name: 'limit',
type: 'number', type: 'number',
typeOptions: {
minValue: 1,
},
default: 10, default: 10,
description: 'Max number of results to return', description: 'Max number of results to return',
displayOptions: { displayOptions: {

View File

@@ -7,8 +7,8 @@ export const eventOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
default: 'get', default: 'get',
description: 'Operation to perform',
options: [ options: [
{ {
name: 'Get All', name: 'Get All',
@@ -51,6 +51,9 @@ export const eventFields: INodeProperties[] = [
displayName: 'Limit', displayName: 'Limit',
name: 'limit', name: 'limit',
type: 'number', type: 'number',
typeOptions: {
minValue: 1,
},
default: 10, default: 10,
description: 'Max number of results to return', description: 'Max number of results to return',
displayOptions: { displayOptions: {

View File

@@ -7,8 +7,8 @@ export const groupOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
default: 'get', default: 'get',
description: 'Operation to perform',
options: [ options: [
{ {
name: 'Create', name: 'Create',
@@ -101,6 +101,9 @@ export const groupFields: INodeProperties[] = [
displayName: 'Limit', displayName: 'Limit',
name: 'limit', name: 'limit',
type: 'number', type: 'number',
typeOptions: {
minValue: 1,
},
default: 10, default: 10,
description: 'Max number of results to return', description: 'Max number of results to return',
displayOptions: { displayOptions: {

View File

@@ -7,8 +7,8 @@ export const memberOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
default: 'get', default: 'get',
description: 'Operation to perform',
options: [ options: [
{ {
name: 'Create', name: 'Create',
@@ -135,6 +135,9 @@ export const memberFields: INodeProperties[] = [
displayName: 'Limit', displayName: 'Limit',
name: 'limit', name: 'limit',
type: 'number', type: 'number',
typeOptions: {
minValue: 1,
},
default: 10, default: 10,
description: 'Max number of results to return', description: 'Max number of results to return',
displayOptions: { displayOptions: {

View File

@@ -57,6 +57,7 @@ export class Box implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'File', name: 'File',
@@ -68,7 +69,6 @@ export class Box implements INodeType {
}, },
], ],
default: 'file', default: 'file',
description: 'The resource to operate on.',
}, },
...fileOperations, ...fileOperations,
...fileFields, ...fileFields,

View File

@@ -7,6 +7,7 @@ export const fileOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -52,7 +53,6 @@ export const fileOperations: INodeProperties[] = [
}, },
], ],
default: 'upload', default: 'upload',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const folderOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -47,7 +48,6 @@ export const folderOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -38,6 +38,7 @@ export class Brandfetch implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
@@ -67,7 +68,6 @@ export class Brandfetch implements INodeType {
}, },
], ],
default: 'logo', default: 'logo',
description: 'The operation to perform',
}, },
// ---------------------------------- // ----------------------------------

View File

@@ -46,6 +46,7 @@ export class Bubble implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Object', name: 'Object',
@@ -53,7 +54,6 @@ export class Bubble implements INodeType {
}, },
], ],
default: 'object', default: 'object',
description: 'Resource to consume',
}, },
...objectOperations, ...objectOperations,
...objectFields, ...objectFields,

View File

@@ -7,8 +7,8 @@ export const objectOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
default: 'get', default: 'get',
description: 'Operation to perform',
options: [ options: [
{ {
name: 'Create', name: 'Create',

View File

@@ -49,6 +49,7 @@ export class Chargebee implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Customer', name: 'Customer',
@@ -64,7 +65,6 @@ export class Chargebee implements INodeType {
}, },
], ],
default: 'invoice', default: 'invoice',
description: 'The resource to operate on.',
}, },
@@ -76,6 +76,7 @@ export class Chargebee implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -91,7 +92,6 @@ export class Chargebee implements INodeType {
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
// ---------------------------------- // ----------------------------------
@@ -116,7 +116,7 @@ export class Chargebee implements INodeType {
placeholder: 'Add Property', placeholder: 'Add Property',
options: [ options: [
{ {
displayName: 'User Id', displayName: 'User ID',
name: 'id', name: 'id',
type: 'string', type: 'string',
default: '', default: '',
@@ -203,8 +203,8 @@ export class Chargebee implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
default: 'list', default: 'list',
description: 'The operation to perform.',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -279,6 +279,7 @@ export class Chargebee implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Is', name: 'Is',
@@ -318,6 +319,7 @@ export class Chargebee implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Is', name: 'Is',
@@ -366,7 +368,7 @@ export class Chargebee implements INodeType {
// invoice:pdfUrl // invoice:pdfUrl
// ---------------------------------- // ----------------------------------
{ {
displayName: 'Invoice Id', displayName: 'Invoice ID',
name: 'invoiceId', name: 'invoiceId',
description: 'The ID of the invoice to get', description: 'The ID of the invoice to get',
type: 'string', type: 'string',
@@ -393,6 +395,7 @@ export class Chargebee implements INodeType {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -413,14 +416,13 @@ export class Chargebee implements INodeType {
}, },
], ],
default: 'delete', default: 'delete',
description: 'The operation to perform.',
}, },
// ---------------------------------- // ----------------------------------
// subscription:cancel // subscription:cancel
// ---------------------------------- // ----------------------------------
{ {
displayName: 'Subscription Id', displayName: 'Subscription ID',
name: 'subscriptionId', name: 'subscriptionId',
description: 'The ID of the subscription to cancel', description: 'The ID of the subscription to cancel',
type: 'string', type: 'string',
@@ -459,7 +461,7 @@ export class Chargebee implements INodeType {
// subscription:delete // subscription:delete
// ---------------------------------- // ----------------------------------
{ {
displayName: 'Subscription Id', displayName: 'Subscription ID',
name: 'subscriptionId', name: 'subscriptionId',
description: 'The ID of the subscription to delete', description: 'The ID of the subscription to delete',
type: 'string', type: 'string',

View File

@@ -38,7 +38,6 @@ export class ChargebeeTrigger implements INodeType {
type: 'multiOptions', type: 'multiOptions',
required: true, required: true,
default: [], default: [],
description: 'The operation to perform.',
options: [ options: [
{ {
name: '*', name: '*',

View File

@@ -44,14 +44,14 @@ export class CircleCi implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: ' Pipeline', name: 'Pipeline',
value: 'pipeline', value: 'pipeline',
}, },
], ],
default: 'pipeline', default: 'pipeline',
description: 'Resource to consume.',
}, },
...pipelineOperations, ...pipelineOperations,
...pipelineFields, ...pipelineFields,

View File

@@ -7,6 +7,7 @@ export const pipelineOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -32,7 +33,6 @@ export const pipelineOperations: INodeProperties[] = [
}, },
], ],
default: 'get', default: 'get',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -55,6 +55,7 @@ export class CiscoWebex implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Meeting', name: 'Meeting',
@@ -70,7 +71,6 @@ export class CiscoWebex implements INodeType {
}, },
], ],
default: 'message', default: 'message',
description: 'Resource to consume',
}, },
...meetingOperations, ...meetingOperations,
...meetingFields, ...meetingFields,

View File

@@ -56,6 +56,7 @@ export class CiscoWebexTrigger implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Attachment Action', name: 'Attachment Action',
@@ -86,7 +87,7 @@ export class CiscoWebexTrigger implements INodeType {
value: 'room', value: 'room',
}, },
{ {
name: '*', name: '[All]',
value: 'all', value: 'all',
}, },
], ],

View File

@@ -7,6 +7,7 @@ export const meetingOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -37,7 +38,6 @@ export const meetingOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'Operation to perform',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const meetingTranscriptOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -25,7 +26,6 @@ export const meetingTranscriptOperations: INodeProperties[] = [
}, },
], ],
default: 'download', default: 'download',
description: 'Operation to perform',
}, },
]; ];

View File

@@ -11,6 +11,7 @@ export const messageOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -41,7 +42,6 @@ export const messageOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'Operation to perform',
}, },
]; ];

View File

@@ -48,6 +48,7 @@ export class Clearbit implements INodeType {
displayName: 'Resource', displayName: 'Resource',
name: 'resource', name: 'resource',
type: 'options', type: 'options',
noDataExpression: true,
options: [ options: [
{ {
name: 'Company', name: 'Company',
@@ -61,7 +62,6 @@ export class Clearbit implements INodeType {
}, },
], ],
default: 'company', default: 'company',
description: 'Resource to consume.',
}, },
...companyOperations, ...companyOperations,
...companyFields, ...companyFields,

View File

@@ -5,6 +5,7 @@ export const companyOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -25,7 +26,6 @@ export const companyOperations: INodeProperties[] = [
}, },
], ],
default: 'enrich', default: 'enrich',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -5,6 +5,7 @@ export const personOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -20,7 +21,6 @@ export const personOperations: INodeProperties[] = [
}, },
], ],
default: 'enrich', default: 'enrich',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const checklistOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -32,7 +33,6 @@ export const checklistOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

View File

@@ -7,6 +7,7 @@ export const checklistItemOperations: INodeProperties[] = [
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
type: 'options', type: 'options',
noDataExpression: true,
displayOptions: { displayOptions: {
show: { show: {
resource: [ resource: [
@@ -32,7 +33,6 @@ export const checklistItemOperations: INodeProperties[] = [
}, },
], ],
default: 'create', default: 'create',
description: 'The operation to perform.',
}, },
]; ];

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