mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -50,32 +50,32 @@ import {
|
|||||||
import {
|
import {
|
||||||
accountFields,
|
accountFields,
|
||||||
accountOperations
|
accountOperations
|
||||||
} from "./AccountDescription";
|
} from './AccountDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
tagFields,
|
tagFields,
|
||||||
tagOperations
|
tagOperations
|
||||||
} from "./TagDescription";
|
} from './TagDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
accountContactFields,
|
accountContactFields,
|
||||||
accountContactOperations
|
accountContactOperations
|
||||||
} from "./AccountContactDescription";
|
} from './AccountContactDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
contactListFields,
|
contactListFields,
|
||||||
contactListOperations,
|
contactListOperations,
|
||||||
} from "./ContactListDescription";
|
} from './ContactListDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
contactTagFields,
|
contactTagFields,
|
||||||
contactTagOperations,
|
contactTagOperations,
|
||||||
} from "./ContactTagDescription";
|
} from './ContactTagDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
listFields,
|
listFields,
|
||||||
listOperations,
|
listOperations,
|
||||||
} from "./ListDescription";
|
} from './ListDescription';
|
||||||
|
|
||||||
interface CustomProperty {
|
interface CustomProperty {
|
||||||
name: string;
|
name: string;
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import {
|
import {
|
||||||
INodeProperties,
|
INodeProperties,
|
||||||
} from "n8n-workflow";
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
activeCampaignDefaultGetAllProperties,
|
activeCampaignDefaultGetAllProperties,
|
||||||
} from "./GenericFunctions";
|
} from './GenericFunctions';
|
||||||
|
|
||||||
export const connectionOperations = [
|
export const connectionOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
INodeProperties,
|
INodeProperties,
|
||||||
} from "n8n-workflow";
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
allCurrencies,
|
allCurrencies,
|
||||||
@@ -8,7 +8,7 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
activeCampaignDefaultGetAllProperties,
|
activeCampaignDefaultGetAllProperties,
|
||||||
} from "./GenericFunctions";
|
} from './GenericFunctions';
|
||||||
|
|
||||||
export const dealOperations = [
|
export const dealOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
INodeProperties,
|
INodeProperties,
|
||||||
} from "n8n-workflow";
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
allCurrencies,
|
allCurrencies,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
INodeProperties,
|
INodeProperties,
|
||||||
} from "n8n-workflow";
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
activeCampaignDefaultGetAllProperties,
|
activeCampaignDefaultGetAllProperties,
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ export const allCurrencies = [
|
|||||||
{ name: 'Tajikistani Somoni', value: 'tjs' },
|
{ name: 'Tajikistani Somoni', value: 'tjs' },
|
||||||
{ name: 'Turkmenistani Manat', value: 'tmt' },
|
{ name: 'Turkmenistani Manat', value: 'tmt' },
|
||||||
{ name: 'Tunisian Dinar', value: 'tnd' },
|
{ name: 'Tunisian Dinar', value: 'tnd' },
|
||||||
{ name: "Tongan Pa'anga", value: 'top' },
|
{ name: 'Tongan Pa\'anga', value: 'top' },
|
||||||
{ name: 'Turkish Lira', value: 'try' },
|
{ name: 'Turkish Lira', value: 'try' },
|
||||||
{ name: 'Trinidad and Tobago Dollar', value: 'ttd' },
|
{ name: 'Trinidad and Tobago Dollar', value: 'ttd' },
|
||||||
{ name: 'New Taiwan Dollar', value: 'twd' },
|
{ name: 'New Taiwan Dollar', value: 'twd' },
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ import {
|
|||||||
|
|
||||||
function getEndpointForService(service: string, credentials: ICredentialDataDecryptedObject): string {
|
function getEndpointForService(service: string, credentials: ICredentialDataDecryptedObject): string {
|
||||||
let endpoint;
|
let endpoint;
|
||||||
if (service === "lambda" && credentials.lambdaEndpoint) {
|
if (service === 'lambda' && credentials.lambdaEndpoint) {
|
||||||
endpoint = credentials.lambdaEndpoint;
|
endpoint = credentials.lambdaEndpoint;
|
||||||
} else if (service === "sns" && credentials.snsEndpoint) {
|
} else if (service === 'sns' && credentials.snsEndpoint) {
|
||||||
endpoint = credentials.snsEndpoint;
|
endpoint = credentials.snsEndpoint;
|
||||||
} else {
|
} else {
|
||||||
endpoint = `https://${service}.${credentials.region}.amazonaws.com`;
|
endpoint = `https://${service}.${credentials.region}.amazonaws.com`;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { IHourlyRateDto, IMembershipDto } from './CommonDtos';
|
import { IHourlyRateDto, IMembershipDto } from './CommonDtos';
|
||||||
|
|
||||||
enum EstimateEnum {
|
enum EstimateEnum {
|
||||||
AUTO = "AUTO",
|
AUTO = 'AUTO',
|
||||||
MANUAL = "MANUAL",
|
MANUAL = 'MANUAL',
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IEstimateDto {
|
interface IEstimateDto {
|
||||||
|
|||||||
@@ -59,5 +59,5 @@ export async function copperApiRequest(this: IHookFunctions | IExecuteFunctions
|
|||||||
*/
|
*/
|
||||||
export function getAutomaticSecret(credentials: ICredentialDataDecryptedObject) {
|
export function getAutomaticSecret(credentials: ICredentialDataDecryptedObject) {
|
||||||
const data = `${credentials.email},${credentials.apiKey}`;
|
const data = `${credentials.email},${credentials.apiKey}`;
|
||||||
return createHash('md5').update(data).digest("hex");
|
return createHash('md5').update(data).digest('hex');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import {
|
|||||||
parseQuery,
|
parseQuery,
|
||||||
parseScripts,
|
parseScripts,
|
||||||
parseSort,
|
parseSort,
|
||||||
} from "./GenericFunctions";
|
} from './GenericFunctions';
|
||||||
|
|
||||||
export class FileMaker implements INodeType {
|
export class FileMaker implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
|
|||||||
@@ -212,11 +212,11 @@ export async function getToken(this: ILoadOptionsFunctions | IExecuteFunctions |
|
|||||||
pass: password as string,
|
pass: password as string,
|
||||||
};
|
};
|
||||||
requestOptions.body = {
|
requestOptions.body = {
|
||||||
"fmDataSource": [
|
'fmDataSource': [
|
||||||
{
|
{
|
||||||
"database": host,
|
'database': host,
|
||||||
"username": login as string,
|
'username': login as string,
|
||||||
"password": password as string,
|
'password': password as string,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const taskOpeations = [
|
export const taskOpeations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const companyOperations = [
|
export const companyOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { IDataObject } from "n8n-workflow";
|
import { IDataObject } from 'n8n-workflow';
|
||||||
|
|
||||||
export interface ICompany {
|
export interface ICompany {
|
||||||
remote_created_at?: string;
|
remote_created_at?: string;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const leadOpeations = [
|
export const leadOpeations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { IDataObject } from "n8n-workflow";
|
import { IDataObject } from 'n8n-workflow';
|
||||||
|
|
||||||
export interface ILeadCompany {
|
export interface ILeadCompany {
|
||||||
company_id?: string;
|
company_id?: string;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const userOpeations = [
|
export const userOpeations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { IDataObject } from "n8n-workflow";
|
import { IDataObject } from 'n8n-workflow';
|
||||||
|
|
||||||
export interface IUserCompany {
|
export interface IUserCompany {
|
||||||
company_id?: string;
|
company_id?: string;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const clientOperations = [
|
export const clientOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { IDataObject } from "n8n-workflow";
|
import { IDataObject } from 'n8n-workflow';
|
||||||
|
|
||||||
export interface IContact {
|
export interface IContact {
|
||||||
first_name?: string;
|
first_name?: string;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const expenseOperations = [
|
export const expenseOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const invoiceOperations = [
|
export const invoiceOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const paymentOperations = [
|
export const paymentOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const quoteOperations = [
|
export const quoteOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const taskOperations = [
|
export const taskOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -258,7 +258,7 @@ export class Jira implements INodeType {
|
|||||||
// the interface call must bring username
|
// the interface call must bring username
|
||||||
const users = await jiraSoftwareCloudApiRequest.call(this, '/api/2/user/search', 'GET', {},
|
const users = await jiraSoftwareCloudApiRequest.call(this, '/api/2/user/search', 'GET', {},
|
||||||
{
|
{
|
||||||
username: "'",
|
username: '\'',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
for (const user of users) {
|
for (const user of users) {
|
||||||
@@ -675,7 +675,7 @@ export class Jira implements INodeType {
|
|||||||
version: 1,
|
version: 1,
|
||||||
content: [
|
content: [
|
||||||
{
|
{
|
||||||
type: "paragraph",
|
type: 'paragraph',
|
||||||
content: [
|
content: [
|
||||||
{
|
{
|
||||||
type: 'text',
|
type: 'text',
|
||||||
@@ -750,7 +750,7 @@ export class Jira implements INodeType {
|
|||||||
version: 1,
|
version: 1,
|
||||||
content: [
|
content: [
|
||||||
{
|
{
|
||||||
type: "paragraph",
|
type: 'paragraph',
|
||||||
content: [
|
content: [
|
||||||
{
|
{
|
||||||
type: 'text',
|
type: 'text',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const postOperations = [
|
export const postOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ export const accountOperations = [
|
|||||||
{
|
{
|
||||||
name: 'Me',
|
name: 'Me',
|
||||||
value: 'me',
|
value: 'me',
|
||||||
description: "Get current user's account information",
|
description: 'Get current user\'s account information',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
default: 'me',
|
default: 'me',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
} from "n8n-workflow";
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
export interface IData {
|
export interface IData {
|
||||||
data: [
|
data: [
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { INodeProperties } from "n8n-workflow";
|
import { INodeProperties } from 'n8n-workflow';
|
||||||
|
|
||||||
export const payoutOperations = [
|
export const payoutOperations = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { IDataObject } from "n8n-workflow";
|
import { IDataObject } from 'n8n-workflow';
|
||||||
|
|
||||||
export enum RecipientType {
|
export enum RecipientType {
|
||||||
email = 'EMAIL',
|
email = 'EMAIL',
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export class RundeckApi {
|
|||||||
|
|
||||||
if(args) {
|
if(args) {
|
||||||
for(const arg of args) {
|
for(const arg of args) {
|
||||||
params += "-" + arg.name + " " + arg.value + " ";
|
params += '-' + arg.name + ' ' + arg.value + ' ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ export function getQuery(options: IDataObject, sobject: string, returnAll: boole
|
|||||||
return query;
|
return query;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getValue(value: any) {
|
export function getValue(value: any) { // tslint:disable-line:no-any
|
||||||
if (typeof value === 'string') {
|
if (typeof value === 'string') {
|
||||||
return `'${value}'`;
|
return `'${value}'`;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { IDataObject } from "n8n-workflow";
|
import { IDataObject } from 'n8n-workflow';
|
||||||
|
|
||||||
export interface IIdentify {
|
export interface IIdentify {
|
||||||
userId?: string;
|
userId?: string;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,36 +1,36 @@
|
|||||||
export const groups = {
|
export const groups = {
|
||||||
groups: [{
|
groups: [{
|
||||||
"translated": "Audio",
|
'translated': 'Audio',
|
||||||
"name": "audio",
|
'name': 'audio',
|
||||||
}, {
|
}, {
|
||||||
"translated": "Communication",
|
'translated': 'Communication',
|
||||||
"name": "communication",
|
'name': 'communication',
|
||||||
}, {
|
}, {
|
||||||
"translated": "Company",
|
'translated': 'Company',
|
||||||
"name": "company",
|
'name': 'company',
|
||||||
}, {
|
}, {
|
||||||
"translated": "Finance",
|
'translated': 'Finance',
|
||||||
"name": "finance",
|
'name': 'finance',
|
||||||
}, {
|
}, {
|
||||||
"translated": "Geographical",
|
'translated': 'Geographical',
|
||||||
"name": "geographic",
|
'name': 'geographic',
|
||||||
}, {
|
}, {
|
||||||
"translated": "Image",
|
'translated': 'Image',
|
||||||
"name": "image",
|
'name': 'image',
|
||||||
}, {
|
}, {
|
||||||
"translated": "Internet",
|
'translated': 'Internet',
|
||||||
"name": "internet",
|
'name': 'internet',
|
||||||
}, {
|
}, {
|
||||||
"translated": "Personal",
|
'translated': 'Personal',
|
||||||
"name": "personal",
|
'name': 'personal',
|
||||||
}, {
|
}, {
|
||||||
"translated": "Product",
|
'translated': 'Product',
|
||||||
"name": "product",
|
'name': 'product',
|
||||||
}, {
|
}, {
|
||||||
"translated": "Security",
|
'translated': 'Security',
|
||||||
"name": "security",
|
'name': 'security',
|
||||||
}, {
|
}, {
|
||||||
"translated": "Text",
|
'translated': 'Text',
|
||||||
"name": "text",
|
'name': 'text',
|
||||||
}],
|
}],
|
||||||
};
|
};
|
||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user