👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 15:46:03 +02:00
parent 5b7efd67ca
commit 40c2acd77b
491 changed files with 4045 additions and 3936 deletions

View File

@@ -74,7 +74,7 @@ export const accountFields = [
],
operation: [
'create',
]
],
},
},
description: 'Name of the account. Maximum size is 255 characters.',
@@ -328,7 +328,7 @@ export const accountFields = [
],
operation: [
'update',
]
],
},
},
description: 'Id of account that needs to be fetched',
@@ -590,7 +590,7 @@ export const accountFields = [
],
operation: [
'get',
]
],
},
},
description: 'Id of account that needs to be fetched',
@@ -611,7 +611,7 @@ export const accountFields = [
],
operation: [
'delete',
]
],
},
},
description: 'Id of account that needs to be fetched',
@@ -684,7 +684,7 @@ export const accountFields = [
default: '',
description: 'Fields to include separated by ,',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* account:addNote */
@@ -702,7 +702,7 @@ export const accountFields = [
],
operation: [
'addNote',
]
],
},
},
description: 'Id of account that needs to be fetched',
@@ -720,7 +720,7 @@ export const accountFields = [
],
operation: [
'addNote',
]
],
},
},
description: 'Title of the note.',
@@ -769,6 +769,6 @@ export const accountFields = [
default: '',
description: 'ID of the user who owns the note.',
},
]
],
},
] as INodeProperties[];

View File

@@ -66,7 +66,7 @@ export const attachmentFields = [
'attachment',
],
operation: [
'create'
'create',
],
},
},
@@ -84,7 +84,7 @@ export const attachmentFields = [
'attachment',
],
operation: [
'create'
'create',
],
},
},
@@ -102,7 +102,7 @@ export const attachmentFields = [
'attachment',
],
operation: [
'create'
'create',
],
},
},
@@ -168,7 +168,7 @@ export const attachmentFields = [
],
operation: [
'update',
]
],
},
},
description: 'Id of attachment that needs to be fetched',
@@ -248,7 +248,7 @@ export const attachmentFields = [
],
operation: [
'get',
]
],
},
},
description: 'Id of attachment that needs to be fetched',
@@ -269,7 +269,7 @@ export const attachmentFields = [
],
operation: [
'delete',
]
],
},
},
description: 'Id of attachment that needs to be fetched',
@@ -342,6 +342,6 @@ export const attachmentFields = [
default: '',
description: 'Fields to include separated by ,',
},
]
],
},
] as INodeProperties[];

View File

@@ -235,7 +235,7 @@ export const caseFields = [
],
operation: [
'update',
]
],
},
},
description: 'Id of case that needs to be fetched',
@@ -406,7 +406,7 @@ export const caseFields = [
],
operation: [
'get',
]
],
},
},
description: 'Id of case that needs to be fetched',
@@ -427,7 +427,7 @@ export const caseFields = [
],
operation: [
'delete',
]
],
},
},
description: 'Id of case that needs to be fetched',
@@ -500,7 +500,7 @@ export const caseFields = [
default: '',
description: 'Fields to include separated by ,',
},
]
],
},
/* -------------------------------------------------------------------------- */
@@ -519,7 +519,7 @@ export const caseFields = [
],
operation: [
'addComment',
]
],
},
},
description: 'Id of case that needs to be fetched',
@@ -558,6 +558,6 @@ export const caseFields = [
default: false,
description: 'Indicates whether the CaseComment is visible to customers in the Self-Service portal (true) or not (false). ',
},
]
],
},
] as INodeProperties[];

View File

@@ -79,7 +79,7 @@ export const contactFields = [
],
operation: [
'create',
]
],
},
},
description: 'Required. Last name of the contact. Limited to 80 characters.',
@@ -367,7 +367,7 @@ export const contactFields = [
],
operation: [
'update',
]
],
},
},
description: 'Id of contact that needs to be fetched',
@@ -656,7 +656,7 @@ export const contactFields = [
],
operation: [
'get',
]
],
},
},
description: 'Id of contact that needs to be fetched',
@@ -677,7 +677,7 @@ export const contactFields = [
],
operation: [
'delete',
]
],
},
},
description: 'Id of contact that needs to be fetched',
@@ -750,7 +750,7 @@ export const contactFields = [
default: '',
description: 'Fields to include separated by ,',
},
]
],
},
/* -------------------------------------------------------------------------- */
@@ -769,7 +769,7 @@ export const contactFields = [
],
operation: [
'addToCampaign',
]
],
},
},
description: 'Id of contact that needs to be fetched',
@@ -790,7 +790,7 @@ export const contactFields = [
],
operation: [
'addToCampaign',
]
],
},
},
description: 'Id of the campaign that needs to be fetched',
@@ -819,7 +819,7 @@ export const contactFields = [
default: '',
description: 'Controls the HasResponded flag on this object',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* contact:addNote */
@@ -837,7 +837,7 @@ export const contactFields = [
],
operation: [
'addNote',
]
],
},
},
description: 'Id of contact that needs to be fetched',
@@ -855,7 +855,7 @@ export const contactFields = [
],
operation: [
'addNote',
]
],
},
},
description: 'Title of the note.',
@@ -904,6 +904,6 @@ export const contactFields = [
default: '',
description: 'ID of the user who owns the note.',
},
]
],
},
] as INodeProperties[];

View File

@@ -92,7 +92,7 @@ export const flowFields = [
'flow',
],
operation: [
'invoke'
'invoke',
],
},
},
@@ -109,7 +109,7 @@ export const flowFields = [
'flow',
],
operation: [
'invoke'
'invoke',
],
},
},
@@ -125,7 +125,7 @@ export const flowFields = [
'flow',
],
operation: [
'invoke'
'invoke',
],
jsonParameters: [
true,
@@ -149,7 +149,7 @@ export const flowFields = [
'flow',
],
operation: [
'invoke'
'invoke',
],
jsonParameters: [
false,
@@ -177,7 +177,7 @@ export const flowFields = [
default: '',
description: 'Value of the input variable.',
},
]
],
},
],
},

View File

@@ -21,7 +21,7 @@ export async function salesforceApiRequest(this: IExecuteFunctions | IExecuteSin
body: method === 'GET' ? undefined : body,
qs,
uri: `https://${subdomain}.salesforce.com/services/data/v39.0${uri || endpoint}`,
json: true
json: true,
};
try {
//@ts-ignore

View File

@@ -315,7 +315,7 @@ export const leadFields = [
default: '',
description: 'Website for the lead.',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* lead:update */
@@ -333,7 +333,7 @@ export const leadFields = [
],
operation: [
'update',
]
],
},
},
description: 'Id of Lead that needs to be fetched',
@@ -565,7 +565,7 @@ export const leadFields = [
default: '',
description: 'Website for the lead.',
},
]
],
},
/* -------------------------------------------------------------------------- */
@@ -584,7 +584,7 @@ export const leadFields = [
],
operation: [
'get',
]
],
},
},
description: 'Id of Lead that needs to be fetched',
@@ -605,7 +605,7 @@ export const leadFields = [
],
operation: [
'delete',
]
],
},
},
description: 'Id of Lead that needs to be fetched',
@@ -678,7 +678,7 @@ export const leadFields = [
default: '',
description: 'Fields to include separated by ,',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* contact:addToCampaign */
@@ -696,7 +696,7 @@ export const leadFields = [
],
operation: [
'addToCampaign',
]
],
},
},
description: 'Id of contact that needs to be fetched',
@@ -717,7 +717,7 @@ export const leadFields = [
],
operation: [
'addToCampaign',
]
],
},
},
description: 'Id of the campaign that needs to be fetched',
@@ -746,7 +746,7 @@ export const leadFields = [
default: '',
description: 'Controls the HasResponded flag on this object',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* lead:addNote */
@@ -764,7 +764,7 @@ export const leadFields = [
],
operation: [
'addNote',
]
],
},
},
description: 'Id of lead that needs to be fetched',
@@ -782,7 +782,7 @@ export const leadFields = [
],
operation: [
'addNote',
]
],
},
},
description: 'Title of the note.',
@@ -831,6 +831,6 @@ export const leadFields = [
default: '',
description: 'ID of the user who owns the note.',
},
]
],
},
] as INodeProperties[];

View File

@@ -74,7 +74,7 @@ export const opportunityFields = [
],
operation: [
'create',
]
],
},
},
description: 'Required. Last name of the opportunity. Limited to 80 characters.',
@@ -92,7 +92,7 @@ export const opportunityFields = [
],
operation: [
'create',
]
],
},
},
description: 'Required. Date when the opportunity is expected to close.',
@@ -102,7 +102,7 @@ export const opportunityFields = [
name: 'stageName',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getStages'
loadOptionsMethod: 'getStages',
},
required: true,
default: '',
@@ -113,7 +113,7 @@ export const opportunityFields = [
],
operation: [
'create',
]
],
},
},
description: 'Required. Date when the opportunity is expected to close.',
@@ -301,7 +301,7 @@ export const opportunityFields = [
],
operation: [
'update',
]
],
},
},
description: 'Id of opportunity that needs to be fetched',
@@ -473,7 +473,7 @@ export const opportunityFields = [
name: 'stageName',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getStages'
loadOptionsMethod: 'getStages',
},
default: '',
description: 'Required. Date when the opportunity is expected to close.',
@@ -514,7 +514,7 @@ export const opportunityFields = [
],
operation: [
'get',
]
],
},
},
description: 'Id of opportunity that needs to be fetched',
@@ -535,7 +535,7 @@ export const opportunityFields = [
],
operation: [
'delete',
]
],
},
},
description: 'Id of opportunity that needs to be fetched',
@@ -608,7 +608,7 @@ export const opportunityFields = [
default: '',
description: 'Fields to include separated by ,',
},
]
],
},
/* -------------------------------------------------------------------------- */
@@ -627,7 +627,7 @@ export const opportunityFields = [
],
operation: [
'addNote',
]
],
},
},
description: 'Id of opportunity that needs to be fetched',
@@ -645,7 +645,7 @@ export const opportunityFields = [
],
operation: [
'addNote',
]
],
},
},
description: 'Title of the note.',
@@ -694,6 +694,6 @@ export const opportunityFields = [
default: '',
description: 'ID of the user who owns the note.',
},
]
],
},
] as INodeProperties[];

View File

@@ -224,7 +224,7 @@ export const taskFields = [
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getTaskRecurrenceTypes'
loadOptionsMethod: 'getTaskRecurrenceTypes',
},
description: 'Recurrence Type of the task.',
},
@@ -278,52 +278,52 @@ export const taskFields = [
options: [
{
name: 'January',
value: 'January'
value: 'January',
},
{
name: 'February',
value: 'February'
value: 'February',
},
{
name: 'March',
value: 'March'
value: 'March',
},
{
name: 'April',
value: 'April'
value: 'April',
},
{
name: 'May',
value: 'May'
value: 'May',
},
{
name: 'June',
value: 'June'
value: 'June',
},
{
name: 'July',
value: 'July'
value: 'July',
},
{
name: 'August',
value: 'August'
value: 'August',
},
{
name: 'September',
value: 'September'
value: 'September',
},
{
name: 'October',
value: 'October'
value: 'October',
},
{
name: 'November',
value: 'November'
value: 'November',
},
{
name: 'December',
value: 'December'
}
value: 'December',
},
],
default: '',
description: 'The month of the year in which the task repeats.',
@@ -336,16 +336,16 @@ export const taskFields = [
options: [
{
name: 'After due date',
value: 'RecurrenceRegenerateAfterDueDate'
value: 'RecurrenceRegenerateAfterDueDate',
},
{
name: 'After date completed',
value: 'RecurrenceRegenerateAfterToday'
value: 'RecurrenceRegenerateAfterToday',
},
{
name: '(Task Closed)',
value: 'RecurrenceRegenerated'
}
value: 'RecurrenceRegenerated',
},
],
description: `Represents what triggers a repeating task to repeat.<br/>
Add this field to a page layout together with the RecurrenceInterval field,<br/>
@@ -405,7 +405,7 @@ export const taskFields = [
description: `The WhoId represents a human such as a lead or a contact.<br/>
WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contacts ID or a leads ID.`,
},
]
],
},
/* -------------------------------------------------------------------------- */
/* task:update */
@@ -423,7 +423,7 @@ export const taskFields = [
],
operation: [
'update',
]
],
},
},
description: 'Id of task that needs to be fetched',
@@ -639,52 +639,52 @@ export const taskFields = [
options: [
{
name: 'January',
value: 'January'
value: 'January',
},
{
name: 'February',
value: 'February'
value: 'February',
},
{
name: 'March',
value: 'March'
value: 'March',
},
{
name: 'April',
value: 'April'
value: 'April',
},
{
name: 'May',
value: 'May'
value: 'May',
},
{
name: 'June',
value: 'June'
value: 'June',
},
{
name: 'July',
value: 'July'
value: 'July',
},
{
name: 'August',
value: 'August'
value: 'August',
},
{
name: 'September',
value: 'September'
value: 'September',
},
{
name: 'October',
value: 'October'
value: 'October',
},
{
name: 'November',
value: 'November'
value: 'November',
},
{
name: 'December',
value: 'December'
}
value: 'December',
},
],
default: '',
description: 'The month of the year in which the task repeats.',
@@ -705,16 +705,16 @@ export const taskFields = [
options: [
{
name: 'After due date',
value: 'RecurrenceRegenerateAfterDueDate'
value: 'RecurrenceRegenerateAfterDueDate',
},
{
name: 'After date completed',
value: 'RecurrenceRegenerateAfterToday'
value: 'RecurrenceRegenerateAfterToday',
},
{
name: '(Task Closed)',
value: 'RecurrenceRegenerated'
}
value: 'RecurrenceRegenerated',
},
],
description: `Represents what triggers a repeating task to repeat.<br/>
Add this field to a page layout together with the RecurrenceInterval field,<br/>
@@ -727,7 +727,7 @@ export const taskFields = [
type: 'options',
default: '',
typeOptions: {
loadOptionsMethod: 'getTaskRecurrenceTypes'
loadOptionsMethod: 'getTaskRecurrenceTypes',
},
description: 'Website for the task.',
},
@@ -766,7 +766,7 @@ export const taskFields = [
description: `The WhoId represents a human such as a lead or a contact.<br/>
WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contacts ID or a leads ID.`,
},
]
],
},
/* -------------------------------------------------------------------------- */
@@ -785,7 +785,7 @@ export const taskFields = [
],
operation: [
'get',
]
],
},
},
description: 'Id of task that needs to be fetched',
@@ -806,7 +806,7 @@ export const taskFields = [
],
operation: [
'delete',
]
],
},
},
description: 'Id of task that needs to be fetched',
@@ -879,6 +879,6 @@ export const taskFields = [
default: '',
description: 'Fields to include separated by ,',
},
]
],
},
] as INodeProperties[];

View File

@@ -27,8 +27,8 @@ export const userOperations = [
},
],
default: 'get',
description: 'The operation to perform.'
}
description: 'The operation to perform.',
},
] as INodeProperties[];
export const userFields = [
@@ -51,7 +51,7 @@ export const userFields = [
],
},
},
description: 'Id of user that needs to be fetched'
description: 'Id of user that needs to be fetched',
},
/* -------------------------------------------------------------------------- */
/* user:getAll */
@@ -68,10 +68,10 @@ export const userFields = [
operation: [
'getAll',
],
}
},
},
default: false,
description: 'If all results should be returned or only up to a given limit.'
description: 'If all results should be returned or only up to a given limit.',
},
{
displayName: 'Limit',
@@ -92,10 +92,10 @@ export const userFields = [
},
typeOptions: {
minValue: 1,
maxValue: 100
maxValue: 100,
},
default: 50,
description: 'How many results to return.'
description: 'How many results to return.',
},
{
displayName: 'Options',
@@ -119,7 +119,7 @@ export const userFields = [
name: 'fields',
type: 'string',
default: '',
description: 'Fields to include separated by ,'
description: 'Fields to include separated by ,',
},
],
},