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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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-description-comma-separated-hyphen': '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-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-for-ignore-ssl-issues': '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-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-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-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-weak': '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-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',
name: 'resource',
type: 'options',
noDataExpression: true,
options: [
{
name: 'Attendance',
@ -103,7 +104,6 @@ export class ActionNetwork implements INodeType {
},
],
default: 'attendance',
description: 'Resource to consume',
},
...attendanceOperations,
...attendanceFields,

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -362,7 +362,7 @@ export const petitionAdditionalFieldsOptions: INodeProperties[] = [
];
export const makeSimpleField = (resource: Resource, operation: Operation): INodeProperties => ({
displayName: 'Simple',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@ -376,5 +376,5 @@ export const makeSimpleField = (resource: Resource, operation: Operation): INode
},
},
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',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@ -37,7 +38,6 @@ export const signatureOperations: INodeProperties[] = [
},
],
default: 'create',
description: 'Operation to perform',
},
];

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -11,6 +11,7 @@ export const ecomOrderProductsOperations: INodeProperties[] = [
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@ -36,7 +37,6 @@ export const ecomOrderProductsOperations: INodeProperties[] = [
},
],
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',
},
{
displayName: 'Simplify Response',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@ -174,7 +174,7 @@ export function activeCampaignDefaultGetAllProperties(resource: string, operatio
},
},
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',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@ -26,7 +27,6 @@ export const listOperations: INodeProperties[] = [
},
],
default: 'getAll',
description: 'The operation to perform.',
},
];

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -7,6 +7,7 @@ export const companyOperations: INodeProperties[] = [
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@ -42,7 +43,6 @@ export const companyOperations: INodeProperties[] = [
},
],
default: 'get',
description: 'The operation to perform.',
},
];
@ -93,6 +93,9 @@ export const companyFields: INodeProperties[] = [
displayName: 'Limit',
name: 'limit',
type: 'number',
typeOptions: {
minValue: 1,
},
displayOptions: {
show: {
resource: [
@ -170,7 +173,7 @@ export const companyFields: INodeProperties[] = [
default: 'anyFilter',
},
{
displayName: 'Simplify Response',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@ -185,7 +188,7 @@ export const companyFields: INodeProperties[] = [
},
// eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify
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',
@ -400,7 +403,7 @@ export const companyFields: INodeProperties[] = [
},
},
{
displayName: ' Additional Fields',
displayName: 'Additional Fields',
name: 'additionalFieldsJson',
type: 'json',
typeOptions: {
@ -696,7 +699,7 @@ export const companyFields: INodeProperties[] = [
},
},
{
displayName: ' Additional Fields',
displayName: 'Additional Fields',
name: 'additionalFieldsJson',
type: 'json',
typeOptions: {

View file

@ -7,6 +7,7 @@ export const contactOperations: INodeProperties[] = [
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@ -42,7 +43,6 @@ export const contactOperations: INodeProperties[] = [
},
],
default: 'get',
description: 'The operation to perform.',
},
];
@ -93,6 +93,9 @@ export const contactFields: INodeProperties[] = [
displayName: 'Limit',
name: 'limit',
type: 'number',
typeOptions: {
minValue: 1,
},
displayOptions: {
show: {
resource: [
@ -170,7 +173,7 @@ export const contactFields: INodeProperties[] = [
default: 'anyFilter',
},
{
displayName: 'Simplify Response',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@ -185,7 +188,7 @@ export const contactFields: INodeProperties[] = [
},
// eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify
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',
@ -401,7 +404,7 @@ export const contactFields: INodeProperties[] = [
},
},
{
displayName: ' Additional Fields',
displayName: 'Additional Fields',
name: 'additionalFieldsJson',
type: 'json',
typeOptions: {
@ -864,7 +867,7 @@ export const contactFields: INodeProperties[] = [
},
},
{
displayName: ' Additional Fields',
displayName: 'Additional Fields',
name: 'additionalFieldsJson',
type: 'json',
typeOptions: {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -38,6 +38,7 @@ export class AwsComprehend implements INodeType {
displayName: 'Resource',
name: 'resource',
type: 'options',
noDataExpression: true,
options: [
{
name: 'Text',
@ -51,6 +52,7 @@ export class AwsComprehend implements INodeType {
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
options: [
{
name: 'Detect Dominant Language',
@ -69,7 +71,6 @@ export class AwsComprehend implements INodeType {
},
],
default: 'detectDominantLanguage',
description: 'The operation to perform.',
},
{
displayName: 'Language Code',
@ -157,7 +158,7 @@ export class AwsComprehend implements INodeType {
description: 'The text to send',
},
{
displayName: 'Simplify Response',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@ -171,7 +172,7 @@ export class AwsComprehend implements INodeType {
},
},
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',

View file

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

View file

@ -7,6 +7,7 @@ export const itemOperations: INodeProperties[] = [
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@ -18,7 +19,7 @@ export const itemOperations: INodeProperties[] = [
{
name: 'Create or Update',
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',
@ -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',
},
{
displayName: 'Simple',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@ -513,7 +514,7 @@ export const itemFields: INodeProperties[] = [
default: 'ALL_ATTRIBUTES',
},
{
displayName: 'Simple',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@ -859,7 +860,7 @@ export const itemFields: INodeProperties[] = [
default: 'ALL_ATTRIBUTES',
},
{
displayName: 'Simple',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -48,6 +48,7 @@ export class AwsTextract implements INodeType {
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
options: [
{
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.',
},
{
displayName: 'Simplify Response',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@ -83,7 +84,7 @@ export class AwsTextract implements INodeType {
},
},
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',
name: 'resource',
type: 'options',
noDataExpression: true,
options: [
{
name: 'Transcription Job',
@ -46,12 +47,12 @@ export class AwsTranscribe implements INodeType {
},
],
default: 'transcriptionJob',
description: 'Resource to operate on.',
},
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
options: [
{
name: 'Create',
@ -75,7 +76,6 @@ export class AwsTranscribe implements INodeType {
},
],
default: 'create',
description: 'Operation to perform.',
},
{
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.',
},
{
displayName: 'Simple',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@ -299,7 +299,7 @@ export class AwsTranscribe implements INodeType {
},
},
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',

View file

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

View file

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

View file

@ -62,7 +62,7 @@ export const employeeDocumentGetAllDescription: EmployeeDocumentProperties = [
},
},
{
displayName: 'Simplify Output',
displayName: 'Simplify',
name: 'simplifyOutput',
type: 'boolean',
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',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [

View file

@ -45,7 +45,7 @@ export const fileGetAllDescription: FileProperties = [
},
},
{
displayName: 'Simplify Output',
displayName: 'Simplify',
name: 'simplifyOutput',
type: 'boolean',
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',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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