mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
👕 Fix built issue by fixing lint issues
This commit is contained in:
@@ -6,9 +6,9 @@ import {
|
|||||||
|
|
||||||
export class BitlyOAuth2Api implements ICredentialType {
|
export class BitlyOAuth2Api implements ICredentialType {
|
||||||
name = 'bitlyOAuth2Api';
|
name = 'bitlyOAuth2Api';
|
||||||
displayName = 'Bitly OAuth2 API';
|
displayName = 'Bitly OAuth2 API';
|
||||||
documentationUrl = 'bitly';
|
documentationUrl = 'bitly';
|
||||||
extends = [
|
extends = [
|
||||||
'oAuth2Api',
|
'oAuth2Api',
|
||||||
];
|
];
|
||||||
properties = [
|
properties = [
|
||||||
|
|||||||
@@ -38,11 +38,11 @@ export class ClickUpOAuth2Api implements ICredentialType {
|
|||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Authentication',
|
displayName: 'Authentication',
|
||||||
name: 'authentication',
|
name: 'authentication',
|
||||||
type: 'hidden' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: 'body',
|
default: 'body',
|
||||||
description: 'Resource to consume.',
|
description: 'Resource to consume.',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ export class DropboxOAuth2Api implements ICredentialType {
|
|||||||
type: 'hidden' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: 'https://api.dropboxapi.com/oauth2/token',
|
default: 'https://api.dropboxapi.com/oauth2/token',
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Scope',
|
displayName: 'Scope',
|
||||||
name: 'scope',
|
name: 'scope',
|
||||||
type: 'hidden' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
|
|||||||
@@ -22,6 +22,6 @@ export class FreshdeskApi implements ICredentialType {
|
|||||||
placeholder: 'company',
|
placeholder: 'company',
|
||||||
description: 'If the URL you get displayed on Freshdesk is "https://company.freshdesk.com" enter "company"',
|
description: 'If the URL you get displayed on Freshdesk is "https://company.freshdesk.com" enter "company"',
|
||||||
default: ''
|
default: ''
|
||||||
}
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,11 +44,11 @@ export class HubspotOAuth2Api implements ICredentialType {
|
|||||||
default: 'grant_type=authorization_code',
|
default: 'grant_type=authorization_code',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Authentication',
|
displayName: 'Authentication',
|
||||||
name: 'authentication',
|
name: 'authentication',
|
||||||
type: 'hidden' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: 'body',
|
default: 'body',
|
||||||
description: 'Resource to consume.',
|
description: 'Resource to consume.',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ export class Mqtt implements ICredentialType {
|
|||||||
{
|
{
|
||||||
displayName: 'Protocol',
|
displayName: 'Protocol',
|
||||||
name: 'protocol',
|
name: 'protocol',
|
||||||
type: 'options' as NodePropertyTypes,
|
type: 'options' as NodePropertyTypes,
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'mqtt',
|
name: 'mqtt',
|
||||||
value: 'mqtt',
|
value: 'mqtt',
|
||||||
@@ -57,4 +57,3 @@ export class Mqtt implements ICredentialType {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,6 @@ export class SpotifyOAuth2Api implements ICredentialType {
|
|||||||
name: 'authentication',
|
name: 'authentication',
|
||||||
type: 'hidden' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: 'header',
|
default: 'header',
|
||||||
}
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,6 @@ export class WufooApi implements ICredentialType {
|
|||||||
name: 'subdomain',
|
name: 'subdomain',
|
||||||
type: 'string' as NodePropertyTypes,
|
type: 'string' as NodePropertyTypes,
|
||||||
default: '',
|
default: '',
|
||||||
}
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
|
||||||
INodeType,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -18,33 +18,33 @@ import {
|
|||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
contactFields,
|
||||||
contactOperations,
|
contactOperations,
|
||||||
contactFields
|
|
||||||
} from './ContactDescription';
|
} from './ContactDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
dealFields,
|
||||||
dealOperations,
|
dealOperations,
|
||||||
dealFields
|
|
||||||
} from './DealDescription';
|
} from './DealDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
ecomOrderFields,
|
||||||
ecomOrderOperations,
|
ecomOrderOperations,
|
||||||
ecomOrderFields
|
|
||||||
} from './EcomOrderDescription';
|
} from './EcomOrderDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
ecomCustomerFields,
|
||||||
ecomCustomerOperations,
|
ecomCustomerOperations,
|
||||||
ecomCustomerFields
|
|
||||||
} from './EcomCustomerDescription';
|
} from './EcomCustomerDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
ecomOrderProductsFields,
|
||||||
ecomOrderProductsOperations,
|
ecomOrderProductsOperations,
|
||||||
ecomOrderProductsFields
|
|
||||||
} from './EcomOrderProductsDescription';
|
} from './EcomOrderProductsDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
connectionFields,
|
||||||
connectionOperations,
|
connectionOperations,
|
||||||
connectionFields
|
|
||||||
} from './ConnectionDescription';
|
} from './ConnectionDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ import {
|
|||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodePropertyOptions,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
INodePropertyOptions,
|
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ import {
|
|||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import {
|
import {
|
||||||
affinityApiRequest,
|
affinityApiRequest,
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
IWebhookResponseData,
|
|
||||||
IDataObject,
|
IDataObject,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { OptionsWithUri } from 'request';
|
import { OptionsWithUri } from 'request';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
BINARY_ENCODING,
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
BINARY_ENCODING
|
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow';
|
import { IDataObject, IHookFunctions, IWebhookFunctions } from 'n8n-workflow';
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
|
IExecuteSingleFunctions,
|
||||||
IHookFunctions,
|
IHookFunctions,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
IExecuteSingleFunctions,
|
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -3,11 +3,9 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
ILoadOptionsFunctions,
|
|
||||||
INodePropertyOptions,
|
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import {
|
|||||||
IDataObject,
|
IDataObject,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
@@ -17,9 +17,9 @@ import {
|
|||||||
getWorkspaces,
|
getWorkspaces,
|
||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
// import {
|
||||||
createHmac,
|
// createHmac,
|
||||||
} from 'crypto';
|
// } from 'crypto';
|
||||||
|
|
||||||
export class AsanaTrigger implements INodeType {
|
export class AsanaTrigger implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import { IExecuteFunctions } from 'n8n-core';
|
import { IExecuteFunctions } from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
IDataObject,
|
||||||
INodeExecutionData,
|
|
||||||
INodeType,
|
|
||||||
INodePropertyOptions,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
IDataObject
|
INodeExecutionData,
|
||||||
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { awsApiRequestREST } from './GenericFunctions';
|
import { awsApiRequestREST } from './GenericFunctions';
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { IExecuteFunctions } from 'n8n-core';
|
import { IExecuteFunctions } from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
IDataObject,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
IDataObject
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { awsApiRequestSOAP } from './GenericFunctions';
|
import { awsApiRequestSOAP } from './GenericFunctions';
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
import { IExecuteFunctions } from 'n8n-core';
|
import { IExecuteFunctions } from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
IDataObject,
|
||||||
INodeExecutionData,
|
|
||||||
INodeType,
|
|
||||||
INodePropertyOptions,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
IDataObject
|
INodeExecutionData,
|
||||||
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { awsApiRequestSOAP } from './GenericFunctions';
|
import { awsApiRequestSOAP } from './GenericFunctions';
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
IWebhookResponseData,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
snakeCase,
|
|
||||||
paramCase,
|
paramCase,
|
||||||
|
snakeCase,
|
||||||
} from 'change-case';
|
} from 'change-case';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ import {
|
|||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodePropertyOptions,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
INodePropertyOptions,
|
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
|
||||||
INodeType,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
IBinaryKeyData,
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
IBinaryKeyData,
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import {
|
|||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
IExecuteSingleFunctions,
|
IExecuteSingleFunctions,
|
||||||
ILoadOptionsFunctions,
|
|
||||||
IHookFunctions,
|
IHookFunctions,
|
||||||
|
ILoadOptionsFunctions,
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { IExecuteFunctions } from 'n8n-core';
|
import { IExecuteFunctions } from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
NodeParameterValue,
|
NodeParameterValue,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ import {
|
|||||||
companyOperations,
|
companyOperations,
|
||||||
} from './CompanyDescription';
|
} from './CompanyDescription';
|
||||||
import {
|
import {
|
||||||
personOperations,
|
|
||||||
personFields,
|
personFields,
|
||||||
|
personOperations,
|
||||||
} from './PersonDescription';
|
} from './PersonDescription';
|
||||||
|
|
||||||
export class Clearbit implements INodeType {
|
export class Clearbit implements INodeType {
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ import {
|
|||||||
singletonOperations,
|
singletonOperations,
|
||||||
} from './SingletonDescription';
|
} from './SingletonDescription';
|
||||||
import {
|
import {
|
||||||
getSingleton,
|
|
||||||
getAllSingletonNames,
|
getAllSingletonNames,
|
||||||
|
getSingleton,
|
||||||
} from './SingletonFunctions';
|
} from './SingletonFunctions';
|
||||||
|
|
||||||
export class Cockpit implements INodeType {
|
export class Cockpit implements INodeType {
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
|
||||||
INodeType,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import {
|
import {
|
||||||
codaApiRequest,
|
codaApiRequest,
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { OptionsWithUri } from 'request';
|
import { OptionsWithUri } from 'request';
|
||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
ILoadOptionsFunctions,
|
|
||||||
IExecuteSingleFunctions,
|
IExecuteSingleFunctions,
|
||||||
|
ILoadOptionsFunctions,
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import { IDataObject } from 'n8n-workflow';
|
import { IDataObject } from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ import {
|
|||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
contentfulApiRequest,
|
|
||||||
contenfulApiRequestAllItems,
|
contenfulApiRequestAllItems,
|
||||||
|
contentfulApiRequest,
|
||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import * as SpaceDescription from './SpaceDescription';
|
import * as SpaceDescription from './SpaceDescription';
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import {
|
|||||||
IDataObject,
|
IDataObject,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import {
|
|||||||
IDataObject,
|
IDataObject,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
import { set } from 'lodash';
|
import { set } from 'lodash';
|
||||||
import { IExecuteFunctions } from 'n8n-core';
|
import { IExecuteFunctions } from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
|
ILoadOptionsFunctions,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
|
INodePropertyOptions,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
IDataObject,
|
|
||||||
ILoadOptionsFunctions,
|
|
||||||
INodePropertyOptions,
|
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -3,15 +3,30 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import { customerIoApiRequest, validateJSON } from './GenericFunctions';
|
import {
|
||||||
import { campaignOperations, campaignFields } from './CampaignDescription';
|
customerIoApiRequest,
|
||||||
import { customerOperations, customerFields } from './CustomerDescription';
|
validateJSON,
|
||||||
import { eventOperations, eventFields } from './EventDescription';
|
} from './GenericFunctions';
|
||||||
import { segmentOperations, segmentFields } from './SegmentDescription';
|
import {
|
||||||
|
campaignFields,
|
||||||
|
campaignOperations,
|
||||||
|
} from './CampaignDescription';
|
||||||
|
import {
|
||||||
|
customerFields,
|
||||||
|
customerOperations,
|
||||||
|
} from './CustomerDescription';
|
||||||
|
import {
|
||||||
|
eventFields,
|
||||||
|
eventOperations,
|
||||||
|
} from './EventDescription';
|
||||||
|
import {
|
||||||
|
segmentFields,
|
||||||
|
segmentOperations,
|
||||||
|
} from './SegmentDescription';
|
||||||
|
|
||||||
|
|
||||||
export class CustomerIo implements INodeType {
|
export class CustomerIo implements INodeType {
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
IDataObject,
|
IDataObject,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ import {
|
|||||||
IDataObject,
|
IDataObject,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
|
INodePropertyOptions,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
INodePropertyOptions,
|
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ import { get } from 'lodash';
|
|||||||
import { IExecuteFunctions } from 'n8n-core';
|
import { IExecuteFunctions } from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
export class Discord implements INodeType {
|
export class Discord implements INodeType {
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { disqusApiRequest, disqusApiRequestAllItems } from './GenericFunctions';
|
import { disqusApiRequest, disqusApiRequestAllItems } from './GenericFunctions';
|
||||||
|
|||||||
@@ -2,10 +2,10 @@ import {
|
|||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
INodeExecutionData,
|
|
||||||
IDataObject,
|
IDataObject,
|
||||||
|
INodeExecutionData,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import {
|
import {
|
||||||
driftApiRequest,
|
driftApiRequest,
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -9,7 +9,13 @@ import {
|
|||||||
ITriggerResponse,
|
ITriggerResponse,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { connect as imapConnect, ImapSimple, ImapSimpleOptions, getParts, Message } from 'imap-simple';
|
import {
|
||||||
|
connect as imapConnect,
|
||||||
|
getParts,
|
||||||
|
ImapSimple,
|
||||||
|
ImapSimpleOptions,
|
||||||
|
Message,
|
||||||
|
} from 'imap-simple';
|
||||||
import {
|
import {
|
||||||
simpleParser,
|
simpleParser,
|
||||||
Source as ParserSource,
|
Source as ParserSource,
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { createTransport } from 'nodemailer';
|
import { createTransport } from 'nodemailer';
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import {
|
|||||||
IDataObject,
|
IDataObject,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ const fsReadFileAsync = promisify(fsReadFile);
|
|||||||
|
|
||||||
import { IExecuteFunctions } from 'n8n-core';
|
import { IExecuteFunctions } from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
|
IExecuteWorkflowInfo,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
IExecuteWorkflowInfo,
|
|
||||||
IWorkflowBase,
|
IWorkflowBase,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -9,17 +9,17 @@ import {
|
|||||||
|
|
||||||
import {OptionsWithUri} from 'request';
|
import {OptionsWithUri} from 'request';
|
||||||
import {
|
import {
|
||||||
layoutsApiRequest,
|
|
||||||
getFields,
|
getFields,
|
||||||
getPortals,
|
getPortals,
|
||||||
getScripts,
|
getScripts,
|
||||||
getToken,
|
getToken,
|
||||||
parseSort,
|
layoutsApiRequest,
|
||||||
|
logout,
|
||||||
|
parseFields,
|
||||||
parsePortals,
|
parsePortals,
|
||||||
parseQuery,
|
parseQuery,
|
||||||
parseScripts,
|
parseScripts,
|
||||||
parseFields,
|
parseSort,
|
||||||
logout
|
|
||||||
} from "./GenericFunctions";
|
} from "./GenericFunctions";
|
||||||
|
|
||||||
export class FileMaker implements INodeType {
|
export class FileMaker implements INodeType {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
|
IExecuteSingleFunctions,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
IExecuteSingleFunctions
|
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -9,7 +9,6 @@ import {
|
|||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {OptionsWithUri} from 'request';
|
import {OptionsWithUri} from 'request';
|
||||||
import {Url} from "url";
|
|
||||||
|
|
||||||
interface ScriptsOptions {
|
interface ScriptsOptions {
|
||||||
script?: any; //tslint:disable-line:no-any
|
script?: any; //tslint:disable-line:no-any
|
||||||
|
|||||||
@@ -3,17 +3,17 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import {
|
import {
|
||||||
flowApiRequest,
|
flowApiRequest,
|
||||||
FlowApiRequestAllItems,
|
FlowApiRequestAllItems,
|
||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
import {
|
import {
|
||||||
taskOpeations,
|
|
||||||
taskFields,
|
taskFields,
|
||||||
|
taskOpeations,
|
||||||
} from './TaskDescription';
|
} from './TaskDescription';
|
||||||
import {
|
import {
|
||||||
ITask, TaskInfo,
|
ITask, TaskInfo,
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { OptionsWithUri } from 'request';
|
import { OptionsWithUri } from 'request';
|
||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
|
IExecuteSingleFunctions,
|
||||||
IHookFunctions,
|
IHookFunctions,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
IExecuteSingleFunctions,
|
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import { IDataObject } from 'n8n-workflow';
|
import { IDataObject } from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
|
||||||
INodeType,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -12,10 +12,10 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
capitalize,
|
||||||
freshdeskApiRequest,
|
freshdeskApiRequest,
|
||||||
freshdeskApiRequestAllItems,
|
freshdeskApiRequestAllItems,
|
||||||
// validateJSON,
|
// validateJSON,
|
||||||
capitalize
|
|
||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -27,9 +27,6 @@ import {
|
|||||||
contactOperations,
|
contactOperations,
|
||||||
} from './ContactDescription';
|
} from './ContactDescription';
|
||||||
|
|
||||||
import * as moment from 'moment-timezone';
|
|
||||||
import { response } from 'express';
|
|
||||||
|
|
||||||
enum Status {
|
enum Status {
|
||||||
Open = 2,
|
Open = 2,
|
||||||
Pending = 3,
|
Pending = 3,
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ import {
|
|||||||
} from 'request';
|
} from 'request';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
BINARY_ENCODING,
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
BINARY_ENCODING
|
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -5,13 +5,13 @@ import {
|
|||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
githubApiRequest,
|
|
||||||
getFileSha,
|
getFileSha,
|
||||||
|
githubApiRequest,
|
||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
export class Github implements INodeType {
|
export class Github implements INodeType {
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import {
|
|||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeExecutionData,
|
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -17,8 +17,8 @@ import {
|
|||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
eventOperations,
|
|
||||||
eventFields,
|
eventFields,
|
||||||
|
eventOperations,
|
||||||
} from './EventDescription';
|
} from './EventDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeExecutionData,
|
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -19,8 +19,8 @@ import {
|
|||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
contactOperations,
|
|
||||||
contactFields,
|
contactFields,
|
||||||
|
contactOperations,
|
||||||
} from './ContactDescription';
|
} from './ContactDescription';
|
||||||
|
|
||||||
import * as moment from 'moment';
|
import * as moment from 'moment';
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IBinaryKeyData,
|
IBinaryKeyData,
|
||||||
ILoadOptionsFunctions,
|
|
||||||
IDataObject,
|
IDataObject,
|
||||||
|
ILoadOptionsFunctions,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
INodeType,
|
INodeType,
|
||||||
@@ -21,23 +21,23 @@ import {
|
|||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
messageOperations,
|
|
||||||
messageFields,
|
messageFields,
|
||||||
|
messageOperations,
|
||||||
} from './MessageDescription';
|
} from './MessageDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
messageLabelOperations,
|
|
||||||
messageLabelFields,
|
messageLabelFields,
|
||||||
|
messageLabelOperations,
|
||||||
} from './MessageLabelDescription';
|
} from './MessageLabelDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
labelOperations,
|
|
||||||
labelFields,
|
labelFields,
|
||||||
|
labelOperations,
|
||||||
} from './LabelDescription';
|
} from './LabelDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
draftOperations,
|
|
||||||
draftFields,
|
draftFields,
|
||||||
|
draftOperations,
|
||||||
} from './DraftDescription';
|
} from './DraftDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
OptionsWithUri,
|
OptionsWithUri,
|
||||||
} from 'request';
|
} from 'request';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
@@ -61,7 +61,7 @@ export async function googleApiRequest(this: IExecuteFunctions | IExecuteSingleF
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function googleApiRequestAllItems(this: IExecuteFunctions | ILoadOptionsFunctions, propertyName: string ,method: string, endpoint: string, body: any = {}, query: IDataObject = {}): Promise<any> { // tslint:disable-line:no-any
|
export async function googleApiRequestAllItems(this: IExecuteFunctions | ILoadOptionsFunctions, propertyName: string, method: string, endpoint: string, body: any = {}, query: IDataObject = {}): Promise<any> { // tslint:disable-line:no-any
|
||||||
|
|
||||||
const returnData: IDataObject[] = [];
|
const returnData: IDataObject[] = [];
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ export async function googleApiRequestAllItems(this: IExecuteFunctions | ILoadOp
|
|||||||
return returnData;
|
return returnData;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAccessToken(this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, credentials: IDataObject) : Promise<IDataObject> {
|
function getAccessToken(this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, credentials: IDataObject): Promise<IDataObject> {
|
||||||
//https://developers.google.com/identity/protocols/oauth2/service-account#httprest
|
//https://developers.google.com/identity/protocols/oauth2/service-account#httprest
|
||||||
|
|
||||||
const scopes = [
|
const scopes = [
|
||||||
@@ -93,25 +93,25 @@ function getAccessToken(this: IExecuteFunctions | IExecuteSingleFunctions | ILoa
|
|||||||
|
|
||||||
const signature = jwt.sign(
|
const signature = jwt.sign(
|
||||||
{
|
{
|
||||||
'iss': credentials.email as string,
|
'iss': credentials.email as string,
|
||||||
'sub': credentials.email as string,
|
'sub': credentials.email as string,
|
||||||
'scope': scopes.join(' '),
|
'scope': scopes.join(' '),
|
||||||
'aud': `https://oauth2.googleapis.com/token`,
|
'aud': `https://oauth2.googleapis.com/token`,
|
||||||
'iat': now,
|
'iat': now,
|
||||||
'exp': now + 3600,
|
'exp': now + 3600,
|
||||||
},
|
},
|
||||||
credentials.privateKey as string,
|
credentials.privateKey as string,
|
||||||
{
|
{
|
||||||
algorithm: 'RS256',
|
algorithm: 'RS256',
|
||||||
header: {
|
header: {
|
||||||
'kid': credentials.privateKey as string,
|
'kid': credentials.privateKey as string,
|
||||||
'typ': 'JWT',
|
'typ': 'JWT',
|
||||||
'alg': 'RS256',
|
'alg': 'RS256',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
const options: OptionsWithUri = {
|
const options: OptionsWithUri = {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded',
|
'Content-Type': 'application/x-www-form-urlencoded',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ import {
|
|||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
googleApiRequest,
|
googleApiRequest,
|
||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
utils as xlsxUtils,
|
utils as xlsxUtils,
|
||||||
@@ -84,9 +84,9 @@ export class GoogleSheet {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the cell values
|
* Returns the cell values
|
||||||
*/
|
*/
|
||||||
async getData(range: string, valueRenderMode: ValueRenderOption): Promise<string[][] | undefined> {
|
async getData(range: string, valueRenderMode: ValueRenderOption): Promise<string[][] | undefined> {
|
||||||
|
|
||||||
const query = {
|
const query = {
|
||||||
@@ -129,9 +129,9 @@ export class GoogleSheet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the cell values
|
* Sets the cell values
|
||||||
*/
|
*/
|
||||||
async batchUpdate(updateData: ISheetUpdateData[], valueInputMode: ValueInputOption) {
|
async batchUpdate(updateData: ISheetUpdateData[], valueInputMode: ValueInputOption) {
|
||||||
|
|
||||||
const body = {
|
const body = {
|
||||||
@@ -145,9 +145,9 @@ export class GoogleSheet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the cell values
|
* Sets the cell values
|
||||||
*/
|
*/
|
||||||
async setData(range: string, data: string[][], valueInputMode: ValueInputOption) {
|
async setData(range: string, data: string[][], valueInputMode: ValueInputOption) {
|
||||||
|
|
||||||
const body = {
|
const body = {
|
||||||
@@ -161,9 +161,9 @@ export class GoogleSheet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Appends the cell values
|
* Appends the cell values
|
||||||
*/
|
*/
|
||||||
async appendData(range: string, data: string[][], valueInputMode: ValueInputOption) {
|
async appendData(range: string, data: string[][], valueInputMode: ValueInputOption) {
|
||||||
|
|
||||||
const body = {
|
const body = {
|
||||||
@@ -180,9 +180,9 @@ export class GoogleSheet {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the given sheet data in a structured way
|
* Returns the given sheet data in a structured way
|
||||||
*/
|
*/
|
||||||
structureData(inputData: string[][], startRow: number, keys: string[], addEmpty?: boolean): IDataObject[] {
|
structureData(inputData: string[][], startRow: number, keys: string[], addEmpty?: boolean): IDataObject[] {
|
||||||
const returnData = [];
|
const returnData = [];
|
||||||
|
|
||||||
@@ -207,10 +207,10 @@ export class GoogleSheet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the given sheet data in a structured way using
|
* Returns the given sheet data in a structured way using
|
||||||
* the startRow as the one with the name of the key
|
* the startRow as the one with the name of the key
|
||||||
*/
|
*/
|
||||||
structureArrayDataByColumn(inputData: string[][], keyRow: number, dataStartRow: number): IDataObject[] {
|
structureArrayDataByColumn(inputData: string[][], keyRow: number, dataStartRow: number): IDataObject[] {
|
||||||
|
|
||||||
const keys: string[] = [];
|
const keys: string[] = [];
|
||||||
@@ -235,7 +235,7 @@ export class GoogleSheet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
getColumnWithOffset (startColumn: string, offset: number): string {
|
getColumnWithOffset(startColumn: string, offset: number): string {
|
||||||
const columnIndex = xlsxUtils.decode_col(startColumn) + offset;
|
const columnIndex = xlsxUtils.decode_col(startColumn) + offset;
|
||||||
return xlsxUtils.encode_col(columnIndex);
|
return xlsxUtils.encode_col(columnIndex);
|
||||||
}
|
}
|
||||||
@@ -303,7 +303,7 @@ export class GoogleSheet {
|
|||||||
sheetDataKeyColumn.shift();
|
sheetDataKeyColumn.shift();
|
||||||
|
|
||||||
// Create an Array which all the key-values of the Google Sheet
|
// Create an Array which all the key-values of the Google Sheet
|
||||||
const keyColumnIndexLookup = sheetDataKeyColumn.map((rowContent) => rowContent[0] );
|
const keyColumnIndexLookup = sheetDataKeyColumn.map((rowContent) => rowContent[0]);
|
||||||
|
|
||||||
const updateData: ISheetUpdateData[] = [];
|
const updateData: ISheetUpdateData[] = [];
|
||||||
let itemKey: string | number | undefined | null;
|
let itemKey: string | number | undefined | null;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
@@ -613,7 +613,7 @@ export class GoogleSheets implements INodeType {
|
|||||||
range = this.getNodeParameter('range', 0) as string;
|
range = this.getNodeParameter('range', 0) as string;
|
||||||
if (range.includes('!')) {
|
if (range.includes('!')) {
|
||||||
const [sheet, ranges] = range.split('!');
|
const [sheet, ranges] = range.split('!');
|
||||||
range = `${encodeURIComponent(sheet)}!${ranges}`;
|
range = `${encodeURIComponent(sheet)}!${ranges}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ import {
|
|||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
taskOperations,
|
|
||||||
taskFields,
|
taskFields,
|
||||||
|
taskOperations,
|
||||||
} from './TaskDescription';
|
} from './TaskDescription';
|
||||||
|
|
||||||
export class GoogleTasks implements INodeType {
|
export class GoogleTasks implements INodeType {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
|
||||||
BINARY_ENCODING,
|
BINARY_ENCODING,
|
||||||
|
IExecuteFunctions,
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -28,8 +28,8 @@ import {
|
|||||||
} from './PlaylistDescription';
|
} from './PlaylistDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
playlistItemOperations,
|
|
||||||
playlistItemFields,
|
playlistItemFields,
|
||||||
|
playlistItemOperations,
|
||||||
} from './PlaylistItemDescription';
|
} from './PlaylistItemDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -3,10 +3,10 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
IDataObject,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
IDataObject,
|
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -3,22 +3,52 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { clientOperations, clientFields } from './ClientDescription';
|
import {
|
||||||
import { contactOperations, contactFields } from './ContactDescription';
|
clientFields,
|
||||||
|
clientOperations,
|
||||||
|
} from './ClientDescription';
|
||||||
|
import {
|
||||||
|
contactFields,
|
||||||
|
contactOperations,
|
||||||
|
} from './ContactDescription';
|
||||||
import { companyOperations } from './CompanyDescription';
|
import { companyOperations } from './CompanyDescription';
|
||||||
import { estimateOperations, estimateFields } from './EstimateDescription';
|
import {
|
||||||
import { expenseOperations, expenseFields } from './ExpenseDescription';
|
estimateFields,
|
||||||
import { harvestApiRequest, harvestApiRequestAllItems } from './GenericFunctions';
|
estimateOperations,
|
||||||
import { invoiceOperations, invoiceFields } from './InvoiceDescription';
|
} from './EstimateDescription';
|
||||||
import { projectOperations, projectFields } from './ProjectDescription';
|
import {
|
||||||
import { taskOperations, taskFields } from './TaskDescription';
|
expenseFields,
|
||||||
import { timeEntryOperations, timeEntryFields } from './TimeEntryDescription';
|
expenseOperations,
|
||||||
import { userOperations, userFields } from './UserDescription';
|
} from './ExpenseDescription';
|
||||||
|
import {
|
||||||
|
harvestApiRequest,
|
||||||
|
harvestApiRequestAllItems,
|
||||||
|
} from './GenericFunctions';
|
||||||
|
import {
|
||||||
|
invoiceFields,
|
||||||
|
invoiceOperations,
|
||||||
|
} from './InvoiceDescription';
|
||||||
|
import {
|
||||||
|
projectFields,
|
||||||
|
projectOperations,
|
||||||
|
} from './ProjectDescription';
|
||||||
|
import {
|
||||||
|
taskFields,
|
||||||
|
taskOperations,
|
||||||
|
} from './TaskDescription';
|
||||||
|
import {
|
||||||
|
timeEntryFields,
|
||||||
|
timeEntryOperations,
|
||||||
|
} from './TimeEntryDescription';
|
||||||
|
import {
|
||||||
|
userFields,
|
||||||
|
userOperations,
|
||||||
|
} from './UserDescription';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* fetch All resource using paginated calls
|
* fetch All resource using paginated calls
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { OptionsWithUri } from 'request';
|
import { OptionsWithUri } from 'request';
|
||||||
import {
|
import {
|
||||||
IHookFunctions,
|
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
IExecuteSingleFunctions,
|
IExecuteSingleFunctions,
|
||||||
|
IHookFunctions,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import {
|
|||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import * as cheerio from 'cheerio';
|
import * as cheerio from 'cheerio';
|
||||||
import { IExecuteFunctions } from 'n8n-core';
|
import { IExecuteFunctions } from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
|
IDataObject,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
IDataObject,
|
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
type Cheerio = ReturnType<typeof cheerio>;
|
type Cheerio = ReturnType<typeof cheerio>;
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ import {
|
|||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
|
IBinaryData,
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
IBinaryData,
|
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { OptionsWithUri } from 'request';
|
import { OptionsWithUri } from 'request';
|
||||||
|
|||||||
@@ -17,28 +17,28 @@ import {
|
|||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
contactOperations,
|
|
||||||
contactFields,
|
contactFields,
|
||||||
|
contactOperations,
|
||||||
} from './ContactDescription';
|
} from './ContactDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
companyOperations,
|
|
||||||
companyFields,
|
companyFields,
|
||||||
|
companyOperations,
|
||||||
} from './CompanyDescription';
|
} from './CompanyDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
dealOperations,
|
|
||||||
dealFields,
|
dealFields,
|
||||||
|
dealOperations,
|
||||||
} from './DealDescription';
|
} from './DealDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
formOperations,
|
|
||||||
formFields,
|
formFields,
|
||||||
|
formOperations,
|
||||||
} from './FormDescription';
|
} from './FormDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ticketOperations,
|
|
||||||
ticketFields,
|
ticketFields,
|
||||||
|
ticketOperations,
|
||||||
} from './TicketDescription';
|
} from './TicketDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -46,8 +46,8 @@ import {
|
|||||||
} from './FormInterface';
|
} from './FormInterface';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
IDeal,
|
|
||||||
IAssociation,
|
IAssociation,
|
||||||
|
IDeal,
|
||||||
} from './DealInterface';
|
} from './DealInterface';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
IWebhookResponseData,
|
|
||||||
IDataObject,
|
IDataObject,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import {
|
import {
|
||||||
hunterApiRequest,
|
hunterApiRequest,
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ import { OptionsWithUri } from 'request';
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
|
IExecuteSingleFunctions,
|
||||||
IHookFunctions,
|
IHookFunctions,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
IExecuteSingleFunctions
|
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -3,15 +3,15 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
|
||||||
INodeType,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import {
|
import {
|
||||||
leadOpeations,
|
|
||||||
leadFields,
|
leadFields,
|
||||||
|
leadOpeations,
|
||||||
} from './LeadDescription';
|
} from './LeadDescription';
|
||||||
import {
|
import {
|
||||||
intercomApiRequest,
|
intercomApiRequest,
|
||||||
@@ -19,13 +19,22 @@ import {
|
|||||||
validateJSON,
|
validateJSON,
|
||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
import {
|
import {
|
||||||
|
IAvatar,
|
||||||
ILead,
|
ILead,
|
||||||
ILeadCompany,
|
ILeadCompany,
|
||||||
IAvatar,
|
|
||||||
} from './LeadInterface';
|
} from './LeadInterface';
|
||||||
import { userOpeations, userFields } from './UserDescription';
|
import {
|
||||||
import { IUser, IUserCompany } from './UserInterface';
|
userFields,
|
||||||
import { companyOperations, companyFields } from './CompanyDescription';
|
userOpeations,
|
||||||
|
} from './UserDescription';
|
||||||
|
import {
|
||||||
|
IUser,
|
||||||
|
IUserCompany,
|
||||||
|
} from './UserInterface';
|
||||||
|
import {
|
||||||
|
companyFields,
|
||||||
|
companyOperations,
|
||||||
|
} from './CompanyDescription';
|
||||||
import { ICompany } from './CompanyInteface';
|
import { ICompany } from './CompanyInteface';
|
||||||
|
|
||||||
export class Intercom implements INodeType {
|
export class Intercom implements INodeType {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3,8 +3,8 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeExecutionData,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
|
||||||
ICredentialDataDecryptedObject,
|
ICredentialDataDecryptedObject,
|
||||||
|
IDataObject,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
export async function jiraSoftwareCloudApiRequest(this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, endpoint: string, method: string, body: any = {}, query?: IDataObject, uri?: string): Promise<any> { // tslint:disable-line:no-any
|
export async function jiraSoftwareCloudApiRequest(this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, endpoint: string, method: string, body: any = {}, query?: IDataObject, uri?: string): Promise<any> { // tslint:disable-line:no-any
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ import {
|
|||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
issueOperations,
|
|
||||||
issueFields,
|
issueFields,
|
||||||
|
issueOperations,
|
||||||
} from './IssueDescription';
|
} from './IssueDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -5,16 +5,16 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
jiraSoftwareCloudApiRequest,
|
allEvents,
|
||||||
eventExists,
|
eventExists,
|
||||||
getId,
|
getId,
|
||||||
allEvents,
|
jiraSoftwareCloudApiRequest,
|
||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import * as queryString from 'querystring';
|
import * as queryString from 'querystring';
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ import {
|
|||||||
IDataObject,
|
IDataObject,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -3,13 +3,13 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
|
||||||
INodeExecutionData,
|
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
ILoadOptionsFunctions,
|
|
||||||
INodePropertyOptions,
|
|
||||||
IBinaryKeyData,
|
IBinaryKeyData,
|
||||||
|
IDataObject,
|
||||||
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -19,57 +19,57 @@ import {
|
|||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
contactOperations,
|
|
||||||
contactFields,
|
contactFields,
|
||||||
|
contactOperations,
|
||||||
} from './ContactDescription';
|
} from './ContactDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
contactNoteOperations,
|
|
||||||
contactNoteFields,
|
contactNoteFields,
|
||||||
|
contactNoteOperations,
|
||||||
} from './ContactNoteDescription';
|
} from './ContactNoteDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
contactTagOperations,
|
|
||||||
contactTagFields,
|
contactTagFields,
|
||||||
|
contactTagOperations,
|
||||||
} from './ContactTagDescription';
|
} from './ContactTagDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ecommerceOrderOperations,
|
|
||||||
ecommerceOrderFields,
|
ecommerceOrderFields,
|
||||||
|
ecommerceOrderOperations,
|
||||||
} from './EcommerceOrderDescripion';
|
} from './EcommerceOrderDescripion';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ecommerceProductOperations,
|
|
||||||
ecommerceProductFields,
|
ecommerceProductFields,
|
||||||
|
ecommerceProductOperations,
|
||||||
} from './EcommerceProductDescription';
|
} from './EcommerceProductDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
emailOperations,
|
|
||||||
emailFields,
|
emailFields,
|
||||||
|
emailOperations,
|
||||||
} from './EmailDescription';
|
} from './EmailDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
fileOperations,
|
|
||||||
fileFields,
|
fileFields,
|
||||||
|
fileOperations,
|
||||||
} from './FileDescription';
|
} from './FileDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
companyOperations,
|
|
||||||
companyFields,
|
companyFields,
|
||||||
|
companyOperations,
|
||||||
} from './CompanyDescription';
|
} from './CompanyDescription';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
IContact,
|
|
||||||
IAddress,
|
IAddress,
|
||||||
IFax,
|
IContact,
|
||||||
IEmailContact,
|
IEmailContact,
|
||||||
ISocialAccount,
|
IFax,
|
||||||
IPhone,
|
IPhone,
|
||||||
|
ISocialAccount,
|
||||||
} from './ConctactInterface';
|
} from './ConctactInterface';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
IEmail,
|
|
||||||
IAttachment,
|
IAttachment,
|
||||||
|
IEmail,
|
||||||
} from './EmaiIInterface';
|
} from './EmaiIInterface';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
IWebhookResponseData,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { IExecuteSingleFunctions } from 'n8n-core';
|
import { IExecuteSingleFunctions } from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
export class LinkFish implements INodeType {
|
export class LinkFish implements INodeType {
|
||||||
|
|||||||
@@ -1,14 +1,20 @@
|
|||||||
import { IExecuteFunctions, BINARY_ENCODING } from 'n8n-core';
|
import {
|
||||||
|
BINARY_ENCODING,
|
||||||
|
IExecuteFunctions,
|
||||||
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
|
||||||
INodeType,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import { linkedInApiRequest } from './GenericFunctions';
|
import { linkedInApiRequest } from './GenericFunctions';
|
||||||
import { postOperations, postFields } from './PostDescription';
|
import {
|
||||||
|
postFields,
|
||||||
|
postOperations,
|
||||||
|
} from './PostDescription';
|
||||||
|
|
||||||
export class LinkedIn implements INodeType {
|
export class LinkedIn implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
IWebhookResponseData,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import {
|
import {
|
||||||
mailchimpApiRequest,
|
mailchimpApiRequest,
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ import {
|
|||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import {
|
import {
|
||||||
mailjetApiRequest,
|
mailjetApiRequest,
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
IWebhookResponseData,
|
IWebhookResponseData,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import {
|
|||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
INodeTypeDescription,
|
|
||||||
INodePropertyOptions,
|
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
|
INodePropertyOptions,
|
||||||
INodeType,
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ import { OptionsWithUri } from 'request';
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
|
IExecuteSingleFunctions,
|
||||||
IHookFunctions,
|
IHookFunctions,
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
IExecuteSingleFunctions
|
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user