1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-10-26 13:29:14 +03:00

refactor: Fix some typos (no-changelog) (#5616)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-03-03 18:49:19 +01:00 committed by GitHub
parent 4e244937c9
commit 3c57062571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
53 changed files with 100 additions and 99 deletions

View File

@ -1,5 +1,6 @@
{
"recommendations": [
"streetsidesoftware.code-spell-checker",
"dangmai.workspace-default-settings",
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",

View File

@ -173,9 +173,9 @@ export class MessageEventBusDestinationWebhook
acc: Promise<{ [key: string]: any }>,
cur: { name: string; value: string; parameterType?: string; inputDataFieldName?: string },
) => {
const acumulator = await acc;
acumulator[cur.name] = cur.value;
return acumulator;
const accumulator = await acc;
accumulator[cur.name] = cur.value;
return accumulator;
};
// Get parameters defined in the UI

View File

@ -620,7 +620,7 @@ export default mixins(
beforeDestroy() {
this.resetWorkspace();
// Make sure the event listeners get removed again else we
// could add up with them registred multiple times
// could add up with them registered multiple times
document.removeEventListener('keydown', this.keyDown);
document.removeEventListener('keyup', this.keyUp);
this.unregisterCustomAction('showNodeCreator');

View File

@ -220,7 +220,7 @@ export class AffinityTrigger implements INodeType {
return false;
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
return true;

View File

@ -184,7 +184,7 @@ export class AsanaTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
delete webhookData.webhookEvents;
delete webhookData.hookSecret;

View File

@ -324,7 +324,7 @@ export class BoxTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
return true;

View File

@ -183,7 +183,7 @@ export class CalTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
return true;

View File

@ -217,7 +217,7 @@ export class CalendlyTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
}

View File

@ -569,7 +569,7 @@ export class CiscoWebexTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
return true;

View File

@ -100,9 +100,9 @@ export async function simplify(this: IExecuteFunctions, contacts: IContact[], li
for (const contact of contacts) {
const extras = contact.extra.reduce(
(acumulator: IDataObject, currentValue: IDataObject): any => {
(accumulator: IDataObject, currentValue: IDataObject): any => {
const key = fieldsKeyValue[currentValue.field_id as string] as string;
return { [key]: currentValue.value, ...acumulator };
return { [key]: currentValue.value, ...accumulator };
},
{},
);

View File

@ -155,7 +155,7 @@ export class FigmaTrigger implements INodeType {
return false;
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
return true;

View File

@ -154,7 +154,7 @@ export class FormstackTrigger implements INodeType {
return false;
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}

View File

@ -564,7 +564,7 @@ export class GithubTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
delete webhookData.webhookEvents;
}

View File

@ -286,7 +286,7 @@ export class GitlabTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
delete webhookData.webhookEvents;
}

View File

@ -175,7 +175,7 @@ export class HelpScoutTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
delete webhookData.secret;
}

View File

@ -335,13 +335,13 @@ export class Html implements INodeType {
},
};
// Itterate over all the defined values which should be extracted
// Iterate over all the defined values which should be extracted
let htmlElement;
for (const valueData of extractionValues.values as IValueData[]) {
htmlElement = $(valueData.cssSelector);
if (valueData.returnArray) {
// An array should be returned so itterate over one
// An array should be returned so iterate over one
// value at a time
newItem.json[valueData.key] = [];
htmlElement.each((i, el) => {

View File

@ -271,13 +271,13 @@ export class HtmlExtract implements INodeType {
},
};
// Itterate over all the defined values which should be extracted
// Iterate over all the defined values which should be extracted
let htmlElement;
for (const valueData of extractionValues.values as IValueData[]) {
htmlElement = $(valueData.cssSelector);
if (valueData.returnArray) {
// An array should be returned so itterate over one
// An array should be returned so iterate over one
// value at a time
newItem.json[valueData.key] = [];
htmlElement.each((i, el) => {

View File

@ -318,7 +318,7 @@ export class HttpRequestV1 implements INodeType {
name: 'fullResponse',
type: 'boolean',
default: false,
description: 'Whether to return the full reponse data instead of only the body',
description: 'Whether to return the full response data instead of only the body',
},
{
displayName: 'Follow All Redirects',
@ -598,7 +598,7 @@ export class HttpRequestV1 implements INodeType {
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
const items = this.getInputData();
const fullReponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];
const fullResponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];
const responseFormat = this.getNodeParameter('responseFormat', 0) as string;
@ -1035,7 +1035,7 @@ export class HttpRequestV1 implements INodeType {
if (fullResponse) {
const returnItem: IDataObject = {};
for (const property of fullReponseProperties) {
for (const property of fullResponseProperties) {
if (property === 'body') {
continue;
}
@ -1063,7 +1063,7 @@ export class HttpRequestV1 implements INodeType {
if (fullResponse) {
const returnItem: IDataObject = {};
for (const property of fullReponseProperties) {
for (const property of fullResponseProperties) {
if (property === 'body') {
returnItem[dataPropertyName] = response![property];
continue;
@ -1091,7 +1091,7 @@ export class HttpRequestV1 implements INodeType {
// responseFormat: 'json'
if (fullResponse) {
const returnItem: IDataObject = {};
for (const property of fullReponseProperties) {
for (const property of fullResponseProperties) {
returnItem[property] = response![property];
}

View File

@ -330,7 +330,7 @@ export class HttpRequestV2 implements INodeType {
name: 'fullResponse',
type: 'boolean',
default: false,
description: 'Whether to return the full reponse data instead of only the body',
description: 'Whether to return the full response data instead of only the body',
},
{
displayName: 'Follow All Redirects',
@ -610,7 +610,7 @@ export class HttpRequestV2 implements INodeType {
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
const items = this.getInputData();
const fullReponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];
const fullResponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];
let authentication;
@ -1086,7 +1086,7 @@ export class HttpRequestV2 implements INodeType {
if (fullResponse) {
const returnItem: IDataObject = {};
for (const property of fullReponseProperties) {
for (const property of fullResponseProperties) {
if (property === 'body') {
continue;
}
@ -1114,7 +1114,7 @@ export class HttpRequestV2 implements INodeType {
if (fullResponse) {
const returnItem: IDataObject = {};
for (const property of fullReponseProperties) {
for (const property of fullResponseProperties) {
if (property === 'body') {
returnItem[dataPropertyName] = response![property];
continue;
@ -1142,7 +1142,7 @@ export class HttpRequestV2 implements INodeType {
// responseFormat: 'json'
if (fullResponse) {
const returnItem: IDataObject = {};
for (const property of fullReponseProperties) {
for (const property of fullResponseProperties) {
returnItem[property] = response![property];
}

View File

@ -798,7 +798,7 @@ export class HttpRequestV3 implements INodeType {
type: 'boolean',
default: false,
description:
'Whether to return the full reponse (headers and response status code) data instead of only the body',
'Whether to return the full response (headers and response status code) data instead of only the body',
},
{
displayName: 'Never Error',
@ -879,7 +879,7 @@ export class HttpRequestV3 implements INodeType {
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
const items = this.getInputData();
const fullReponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];
const fullResponseProperties = ['body', 'headers', 'statusCode', 'statusMessage'];
let authentication;
@ -1061,14 +1061,14 @@ export class HttpRequestV3 implements INodeType {
});
}
const parmetersToKeyValue = async (
const parametersToKeyValue = async (
acc: Promise<{ [key: string]: any }>,
cur: { name: string; value: string; parameterType?: string; inputDataFieldName?: string },
) => {
const acumulator = await acc;
const accumulator = await acc;
if (cur.parameterType === 'formBinaryData') {
const binaryDataOnInput = items[itemIndex]?.binary;
if (!cur.inputDataFieldName) return acumulator;
if (!cur.inputDataFieldName) return accumulator;
if (!binaryDataOnInput?.[cur.inputDataFieldName]) {
throw new NodeOperationError(
@ -1080,29 +1080,29 @@ export class HttpRequestV3 implements INodeType {
);
}
if (!cur.inputDataFieldName) return acumulator;
if (!cur.inputDataFieldName) return accumulator;
const binaryData = binaryDataOnInput[cur.inputDataFieldName];
const buffer = await this.helpers.getBinaryDataBuffer(itemIndex, cur.inputDataFieldName);
acumulator[cur.name] = {
accumulator[cur.name] = {
value: buffer,
options: {
filename: binaryData.fileName,
contentType: binaryData.mimeType,
},
};
return acumulator;
return accumulator;
}
acumulator[cur.name] = cur.value;
return acumulator;
accumulator[cur.name] = cur.value;
return accumulator;
};
// Get parameters defined in the UI
if (sendBody && bodyParameters) {
if (specifyBody === 'keypair' || bodyContentType === 'multipart-form-data') {
requestOptions.body = await bodyParameters.reduce(
parmetersToKeyValue,
parametersToKeyValue,
Promise.resolve({}),
);
} else if (specifyBody === 'json') {
@ -1156,7 +1156,7 @@ export class HttpRequestV3 implements INodeType {
if (sendQuery && queryParameters) {
if (specifyQuery === 'keypair') {
requestOptions.qs = await queryParameters.reduce(
parmetersToKeyValue,
parametersToKeyValue,
Promise.resolve({}),
);
} else if (specifyQuery === 'json') {
@ -1181,7 +1181,7 @@ export class HttpRequestV3 implements INodeType {
if (sendHeaders && headerParameters) {
if (specifyHeaders === 'keypair') {
requestOptions.headers = await headerParameters.reduce(
parmetersToKeyValue,
parametersToKeyValue,
Promise.resolve({}),
);
} else if (specifyHeaders === 'json') {
@ -1399,7 +1399,7 @@ export class HttpRequestV3 implements INodeType {
if (fullResponse) {
const returnItem: IDataObject = {};
for (const property of fullReponseProperties) {
for (const property of fullResponseProperties) {
if (property === 'body') {
continue;
}
@ -1430,7 +1430,7 @@ export class HttpRequestV3 implements INodeType {
) as string;
if (fullResponse) {
const returnItem: IDataObject = {};
for (const property of fullReponseProperties) {
for (const property of fullResponseProperties) {
if (property === 'body') {
returnItem[outputPropertyName] = toText(response![property]);
continue;
@ -1458,7 +1458,7 @@ export class HttpRequestV3 implements INodeType {
// responseFormat: 'json'
if (requestOptions.resolveWithFullResponse === true) {
const returnItem: IDataObject = {};
for (const property of fullReponseProperties) {
for (const property of fullResponseProperties) {
returnItem[property] = response![property];
}

View File

@ -421,7 +421,7 @@ export class If implements INodeType {
// The different dataTypes to check the values in
const dataTypes = ['boolean', 'dateTime', 'number', 'string'];
// Itterate over all items to check which ones should be output as via output "true" and
// Iterate over all items to check which ones should be output as via output "true" and
// which ones via output "false"
let dataType: string;
let compareOperationResult: boolean;

View File

@ -202,7 +202,7 @@ export class InvoiceNinjaTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}

View File

@ -467,7 +467,7 @@ export class JiraTrigger implements INodeType {
return false;
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}

View File

@ -141,7 +141,7 @@ export class KeapTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}

View File

@ -229,7 +229,7 @@ export class LinearTrigger implements INodeType {
return false;
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
return true;

View File

@ -49,13 +49,13 @@ export class MailchimpTrigger implements INodeType {
{
name: 'setup',
httpMethod: 'GET',
reponseMode: 'onReceived',
responseMode: 'onReceived',
path: 'webhook',
},
{
name: 'default',
httpMethod: 'POST',
reponseMode: 'onReceived',
responseMode: 'onReceived',
path: 'webhook',
},
],

View File

@ -160,7 +160,7 @@ export class MailerLiteTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
return true;

View File

@ -35,7 +35,7 @@ export class PayPalTrigger implements INodeType {
{
name: 'default',
httpMethod: 'POST',
reponseMode: 'onReceived',
responseMode: 'onReceived',
path: 'webhook',
},
],

View File

@ -230,7 +230,7 @@ export function pipedriveResolveCustomProperties(
const json = item.json as IDataObject;
// Itterate over all keys and replace the custom ones
// Iterate over all keys and replace the custom ones
for (const key of Object.keys(json)) {
if (customProperties[key] !== undefined) {
// Is a custom property

View File

@ -304,7 +304,7 @@ export class PipedriveTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
delete webhookData.webhookEvents;
}

View File

@ -1,6 +1,6 @@
import type { INodeProperties } from 'n8n-workflow';
import { buildBinAPIURL, transformBinReponse } from './GenericFunctions';
import { buildBinAPIURL, transformBinResponse } from './GenericFunctions';
// Operations for the `Bin` resource:
export const binOperations: INodeProperties[] = [
@ -25,7 +25,7 @@ export const binOperations: INodeProperties[] = [
url: '/developers/postbin/api/bin',
},
output: {
postReceive: [transformBinReponse],
postReceive: [transformBinResponse],
},
},
action: 'Create a bin',
@ -39,7 +39,7 @@ export const binOperations: INodeProperties[] = [
method: 'GET',
},
output: {
postReceive: [transformBinReponse],
postReceive: [transformBinResponse],
},
send: {
preSend: [

View File

@ -94,7 +94,7 @@ export async function buildRequestURL(
* Converts the bin response data and adds additional properties
*
*/
export async function transformBinReponse(
export async function transformBinResponse(
this: IExecuteSingleFunctions,
items: INodeExecutionData[],
_response: IN8nHttpFullResponse,

View File

@ -237,7 +237,7 @@ export class PostmarkTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
delete webhookData.webhookEvents;
}

View File

@ -99,7 +99,7 @@ export class PushcutTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
return true;

View File

@ -426,7 +426,7 @@ const sendHtmlTemplateEmailFields: INodeProperties[] = [
values: [
{
displayName: 'Parameter',
name: 'parmeters',
name: 'parameters',
type: 'string',
default: '',
placeholder: 'key=value',

View File

@ -266,8 +266,8 @@ export namespace SendInBlueNode {
'additionalFields.templateParameters.parameterValues',
);
const { body } = requestOptions;
const { parmeters } = parameterData as JsonObject;
const params = (parmeters as string)
const { parameters } = parameterData as JsonObject;
const params = (parameters as string)
.split(',')
.filter((parameter) => {
return parameter.split('=').length === 2;

View File

@ -268,7 +268,7 @@ export class SendInBlueTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
delete webhookData.webhookEvents;
delete webhookData.hookSecret;

View File

@ -223,7 +223,7 @@ export class StravaTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
return true;

View File

@ -35,7 +35,7 @@ export class StripeTrigger implements INodeType {
{
name: 'default',
httpMethod: 'POST',
reponseMode: 'onReceived',
responseMode: 'onReceived',
path: 'webhook',
},
],
@ -908,7 +908,7 @@ export class StripeTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
delete webhookData.webhookEvents;
delete webhookData.webhookSecret;

View File

@ -459,7 +459,7 @@ export class SurveyMonkeyTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}

View File

@ -618,7 +618,7 @@ export class Switch implements INodeType {
}
};
// Itterate over all items to check to which output they should be routed to
// Iterate over all items to check to which output they should be routed to
itemLoop: for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
try {
item = items[itemIndex];

View File

@ -26,7 +26,7 @@ export class TheHiveTrigger implements INodeType {
{
name: 'default',
httpMethod: 'POST',
reponseMode: 'onReceived',
responseMode: 'onReceived',
path: 'webhook',
},
],

View File

@ -122,7 +122,7 @@ export class TrelloTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}

View File

@ -212,7 +212,7 @@ export class TypeformTrigger implements INodeType {
return false;
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
@ -240,16 +240,16 @@ export class TypeformTrigger implements INodeType {
const answers = (bodyData.form_response as IDataObject).answers as ITypeformAnswer[];
// Some fields contain lower level fields of which we are only interested of the values
const subvalueKeys = ['label', 'labels'];
const subValueKeys = ['label', 'labels'];
if (simplifyAnswers) {
// Convert the answers to simple key -> value pairs
const definition = (bodyData.form_response as IDataObject).definition as ITypeformDefinition;
// Create a dictionary to get the field title by its ID
const defintitionsById: { [key: string]: string } = {};
const definitionsById: { [key: string]: string } = {};
for (const field of definition.fields) {
defintitionsById[field.id] = field.title.replace(/\{\{/g, '[').replace(/\}\}/g, ']');
definitionsById[field.id] = field.title.replace(/\{\{/g, '[').replace(/\}\}/g, ']');
}
// Convert the answers to key -> value pair
@ -257,14 +257,14 @@ export class TypeformTrigger implements INodeType {
for (const answer of answers) {
let value = answer[answer.type];
if (typeof value === 'object') {
for (const key of subvalueKeys) {
for (const key of subValueKeys) {
if ((value as IDataObject)[key] !== undefined) {
value = (value as ITypeformAnswerField)[key];
break;
}
}
}
convertedAnswers[defintitionsById[answer.field.id]] = value;
convertedAnswers[definitionsById[answer.field.id]] = value;
}
if (onlyAnswers) {

View File

@ -162,7 +162,7 @@ export class VenafiTlsProtectCloudTrigger implements INodeType {
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}

View File

@ -607,7 +607,7 @@ export class Wait implements INodeType {
};
async webhook(this: IWebhookFunctions): Promise<IWebhookResponseData> {
// INFO: Currently (20.06.2021) 100% identical with Webook-Node
// INFO: Currently (20.06.2021) 100% identical with Webhook-Node
const incomingAuthentication = this.getNodeParameter('incomingAuthentication') as string;
const options = this.getNodeParameter('options', {}) as IDataObject;
const req = this.getRequestObject();

View File

@ -1100,7 +1100,7 @@ export const messageTypeFields: INodeProperties[] = [
},
},
//{
// // Search for ISO6391.getCode(language) in the Twitter node. Pehaps, we can use the same library?
// // Search for ISO6391.getCode(language) in the Twitter node. Perhaps, we can use the same library?
// //TODO: would be nice to change this to a searchable dropdown with all the possible language codes
// displayName: 'Language Code',
// name: 'templateLanguageCode',

View File

@ -419,11 +419,11 @@ export class Wordpress implements INodeType {
responseData = await wordpressApiRequest.call(this, 'DELETE', '/users/me', {}, qs);
}
}
const exectutionData = this.helpers.constructExecutionMetaData(
const executionData = this.helpers.constructExecutionMetaData(
this.helpers.returnJsonArray(responseData as IDataObject[]),
{ itemData: { item: i } },
);
returnData.push(...exectutionData);
returnData.push(...executionData);
} catch (error) {
if (this.continueOnFail()) {
returnData.push({ json: { error: error.message } });

View File

@ -179,7 +179,7 @@ export class WorkableTrigger implements INodeType {
return false;
}
// Remove from the static workflow data so that it is clear
// that no webhooks are registred anymore
// that no webhooks are registered anymore
delete webhookData.webhookId;
}
return true;

View File

@ -94,7 +94,7 @@ export const organizationFields: INodeProperties[] = [
name: 'details',
type: 'string',
default: '',
description: 'Details obout the organization, such as the address',
description: 'Details about the organization, such as the address',
},
{
displayName: 'Domain Names',
@ -192,7 +192,7 @@ export const organizationFields: INodeProperties[] = [
name: 'details',
type: 'string',
default: '',
description: 'Details obout the organization, such as the address',
description: 'Details about the organization, such as the address',
},
{
displayName: 'Domain Names',

View File

@ -213,12 +213,12 @@ export const triggerPlaceholders = [
description: 'Your notes, stored in your profile',
},
{
name: 'Satisfation Current Rating',
name: 'Satisfaction Current Rating',
value: 'satisfaction.current_rating',
description: 'The text of the current satisfaction rating',
},
{
name: 'Satisfation Current Comment',
name: 'Satisfaction Current Comment',
value: 'satisfaction.current_comment',
description: 'The text of the current satisfaction rating comment',
},

View File

@ -158,7 +158,7 @@ export const dealFields: INodeProperties[] = [
name: 'Lead_Conversion_Time',
type: 'number',
default: '',
description: 'Averge number of days to convert the lead into a deal',
description: 'Average number of days to convert the lead into a deal',
},
{
displayName: 'Next Step',
@ -172,7 +172,7 @@ export const dealFields: INodeProperties[] = [
name: 'Overall_Sales_Duration',
type: 'number',
default: '',
description: 'Averge number of days to convert the lead into a deal and to win the deal',
description: 'Average number of days to convert the lead into a deal and to win the deal',
},
{
displayName: 'Probability',
@ -190,7 +190,7 @@ export const dealFields: INodeProperties[] = [
name: 'Sales_Cycle_Duration',
type: 'number',
default: 0,
description: 'Averge number of days for the deal to be won',
description: 'Average number of days for the deal to be won',
},
],
},
@ -304,7 +304,7 @@ export const dealFields: INodeProperties[] = [
name: 'Lead_Conversion_Time',
type: 'number',
default: '',
description: 'Averge number of days to convert the lead into a deal',
description: 'Average number of days to convert the lead into a deal',
},
{
displayName: 'Next Step',
@ -318,7 +318,7 @@ export const dealFields: INodeProperties[] = [
name: 'Overall_Sales_Duration',
type: 'number',
default: '',
description: 'Averge number of days to convert the lead into a deal and to win the deal',
description: 'Average number of days to convert the lead into a deal and to win the deal',
},
{
displayName: 'Probability',
@ -336,7 +336,7 @@ export const dealFields: INodeProperties[] = [
name: 'Sales_Cycle_Duration',
type: 'number',
default: 0,
description: 'Averge number of days to win the deal',
description: 'Average number of days to win the deal',
},
{
displayName: 'Stage Name or ID',

View File

@ -199,8 +199,8 @@ export const meetingRegistrantFields: INodeProperties[] = [
value: 'Evaluator/Recommender',
},
{
name: 'Influener',
value: 'Influener',
name: 'Influencer',
value: 'Influencer',
},
{
name: 'Not Involved',