1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-11-10 12:35:46 +03:00

Simplify property types in credentials (#1869)

This commit is contained in:
Iván Ovejero 2021-06-12 18:39:55 +02:00 committed by GitHub
parent d095588ac7
commit 5481dc3d25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
248 changed files with 1211 additions and 1210 deletions

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,17 +8,17 @@ export class ActiveCampaignApi implements ICredentialType {
name = 'activeCampaignApi';
displayName = 'ActiveCampaign API';
documentationUrl = 'activeCampaign';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API URL',
name: 'apiUrl',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,23 +1,23 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class AcuitySchedulingApi implements ICredentialType {
name = 'acuitySchedulingApi';
displayName = 'Acuity Scheduling API';
documentationUrl = 'acuityScheduling';
properties = [
properties: INodeProperties[] = [
{
displayName: 'User ID',
name: 'userId',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -11,38 +11,38 @@ export class AcuitySchedulingOAuth2Api implements ICredentialType {
];
displayName = 'AcuityScheduling OAuth2 API';
documentationUrl = 'acuityScheduling';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://acuityscheduling.com/oauth2/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://acuityscheduling.com/oauth2/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'api-v1',
required: true,
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class AffinityApi implements ICredentialType {
name = 'affinityApi';
displayName = 'Affinity API';
documentationUrl = 'affinity';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,29 +1,29 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class AgileCrmApi implements ICredentialType {
name = 'agileCrmApi';
displayName = 'AgileCRM API';
documentationUrl = 'agileCrm';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Email',
name: 'email',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Subdomain',
name: 'subdomain',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
placeholder: 'example',
description: 'If the domain is https://example.agilecrm.com "example" would have to be entered.',

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,11 +8,11 @@ export class AirtableApi implements ICredentialType {
name = 'airtableApi';
displayName = 'Airtable API';
documentationUrl = 'airtable';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,29 +8,29 @@ export class Amqp implements ICredentialType {
name = 'amqp';
displayName = 'AMQP';
documentationUrl = 'amqp';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Hostname',
name: 'hostname',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Port',
name: 'port',
type: 'number' as NodePropertyTypes,
type: 'number',
default: 5672,
},
{
displayName: 'User',
name: 'username',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: {
password: true,
},
@ -39,7 +39,7 @@ export class Amqp implements ICredentialType {
{
displayName: 'Transport Type',
name: 'transportType',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'Optional Transport Type to use.',
},

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class ApiTemplateIoApi implements ICredentialType {
name = 'apiTemplateIoApi';
displayName = 'APITemplate.io API';
documentationUrl = 'apiTemplateIo';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class AsanaApi implements ICredentialType {
name = 'asanaApi';
displayName = 'Asana API';
documentationUrl = 'asana';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class AsanaOAuth2Api implements ICredentialType {
@ -10,37 +10,37 @@ export class AsanaOAuth2Api implements ICredentialType {
];
displayName = 'Asana OAuth2 API';
documentationUrl = 'asana';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://app.asana.com/-/oauth_authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://app.asana.com/-/oauth_token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
description: 'Resource to consume.',
},

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class AutomizyApi implements ICredentialType {
name = 'automizyApi';
displayName = 'Automizy API';
documentationUrl = 'automizy';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Token',
name: 'apiToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class AutopilotApi implements ICredentialType {
name = 'autopilotApi';
displayName = 'Autopilot API';
documentationUrl = 'autopilot';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,23 +8,23 @@ export class Aws implements ICredentialType {
name = 'aws';
displayName = 'AWS';
documentationUrl = 'aws';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Region',
name: 'region',
type: 'string' as NodePropertyTypes,
type: 'string',
default: 'us-east-1',
},
{
displayName: 'Access Key Id',
name: 'accessKeyId',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Secret Access Key',
name: 'secretAccessKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
typeOptions: {
password: true,
@ -33,14 +33,14 @@ export class Aws implements ICredentialType {
{
displayName: 'Custom Endpoints',
name: 'customEndpoints',
type: 'boolean' as NodePropertyTypes,
type: 'boolean',
default: false,
},
{
displayName: 'Rekognition Endpoint',
name: 'rekognitionEndpoint',
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and Rekognition using a VPC endpoint. Leave blank to use the default endpoint.',
type: 'string' as NodePropertyTypes,
type: 'string',
displayOptions: {
show: {
customEndpoints: [
@ -55,7 +55,7 @@ export class Aws implements ICredentialType {
displayName: 'Lambda Endpoint',
name: 'lambdaEndpoint',
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and Lambda using a VPC endpoint. Leave blank to use the default endpoint.',
type: 'string' as NodePropertyTypes,
type: 'string',
displayOptions: {
show: {
customEndpoints: [
@ -70,7 +70,7 @@ export class Aws implements ICredentialType {
displayName: 'SNS Endpoint',
name: 'snsEndpoint',
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and SNS using a VPC endpoint. Leave blank to use the default endpoint.',
type: 'string' as NodePropertyTypes,
type: 'string',
displayOptions: {
show: {
customEndpoints: [
@ -85,7 +85,7 @@ export class Aws implements ICredentialType {
displayName: 'SES Endpoint',
name: 'sesEndpoint',
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and SES using a VPC endpoint. Leave blank to use the default endpoint.',
type: 'string' as NodePropertyTypes,
type: 'string',
displayOptions: {
show: {
customEndpoints: [
@ -100,7 +100,7 @@ export class Aws implements ICredentialType {
displayName: 'SQS Endpoint',
name: 'sqsEndpoint',
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and SQS using a VPC endpoint. Leave blank to use the default endpoint.',
type: 'string' as NodePropertyTypes,
type: 'string',
displayOptions: {
show: {
customEndpoints: [
@ -115,7 +115,7 @@ export class Aws implements ICredentialType {
displayName: 'S3 Endpoint',
name: 's3Endpoint',
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and S3 using a VPC endpoint. Leave blank to use the default endpoint.',
type: 'string' as NodePropertyTypes,
type: 'string',
displayOptions: {
show: {
customEndpoints: [

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class BannerbearApi implements ICredentialType {
name = 'bannerbearApi';
displayName = 'Bannerbear API';
documentationUrl = 'bannerbear';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Project API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,22 +1,22 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class BeeminderApi implements ICredentialType {
name = 'beeminderApi';
displayName = 'Beeminder API';
properties = [
properties: INodeProperties[] = [
{
displayName: 'User',
name: 'user',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Auth Token',
name: 'authToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,23 +1,23 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class BitbucketApi implements ICredentialType {
name = 'bitbucketApi';
displayName = 'Bitbucket API';
documentationUrl = 'bitbucket';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Username',
name: 'username',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'App Password',
name: 'appPassword',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class BitlyApi implements ICredentialType {
name = 'bitlyApi';
displayName = 'Bitly API';
documentationUrl = 'bitly';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -11,32 +11,32 @@ export class BitlyOAuth2Api implements ICredentialType {
extends = [
'oAuth2Api',
];
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://bitly.com/oauth/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://api-ssl.bitly.com/oauth/access_token',
required: true,
},
{
displayName: 'Client ID',
name: 'clientId',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
required: true,
},
{
displayName: 'Client Secret',
name: 'clientSecret',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: {
password: true,
},
@ -46,13 +46,13 @@ export class BitlyOAuth2Api implements ICredentialType {
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
description: 'For some services additional query parameters have to be set which can be defined here.',
placeholder: '',
@ -60,7 +60,7 @@ export class BitlyOAuth2Api implements ICredentialType {
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
description: 'Resource to consume.',
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
// https://bitwarden.com/help/article/public-api/#authentication
@ -9,23 +9,23 @@ export class BitwardenApi implements ICredentialType {
name = 'bitwardenApi';
displayName = 'Bitwarden API';
documentationUrl = 'bitwarden';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Client ID',
name: 'clientId',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Client Secret',
name: 'clientSecret',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Environment',
name: 'environment',
type: 'options' as NodePropertyTypes,
type: 'options',
default: 'cloudHosted',
options: [
{
@ -41,7 +41,7 @@ export class BitwardenApi implements ICredentialType {
{
displayName: 'Self-hosted domain',
name: 'domain',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
placeholder: 'https://www.mydomain.com',
displayOptions: {

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class BoxOAuth2Api implements ICredentialType {
@ -10,37 +10,37 @@ export class BoxOAuth2Api implements ICredentialType {
];
displayName = 'Box OAuth2 API';
documentationUrl = 'box';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://account.box.com/api/oauth2/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://api.box.com/oauth2/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class BrandfetchApi implements ICredentialType {
name = 'brandfetchApi';
displayName = 'Brandfetch API';
documentationUrl = 'brandfetch';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,29 +1,29 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class BubbleApi implements ICredentialType {
name = 'bubbleApi';
displayName = 'Bubble API';
documentationUrl = 'bubble';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Token',
name: 'apiToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'App Name',
name: 'appName',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Environment',
name: 'environment',
type: 'options' as NodePropertyTypes,
type: 'options',
default: 'live',
options: [
{
@ -39,7 +39,7 @@ export class BubbleApi implements ICredentialType {
{
displayName: 'Hosting',
name: 'hosting',
type: 'options' as NodePropertyTypes,
type: 'options',
default: 'bubbleHosted',
options: [
{
@ -55,7 +55,7 @@ export class BubbleApi implements ICredentialType {
{
displayName: 'Domain',
name: 'domain',
type: 'string' as NodePropertyTypes,
type: 'string',
placeholder: 'mydomain.com',
default: '',
displayOptions: {

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class CalendlyApi implements ICredentialType {
name = 'calendlyApi';
displayName = 'Calendly API';
documentationUrl = 'calendly';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,17 +8,17 @@ export class ChargebeeApi implements ICredentialType {
name = 'chargebeeApi';
displayName = 'Chargebee API';
documentationUrl = 'chargebee';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Account Name',
name: 'accountName',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Api Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class CircleCiApi implements ICredentialType {
name = 'circleCiApi';
displayName = 'CircleCI API';
documentationUrl = 'circleCi';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Personal API Token',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class ClearbitApi implements ICredentialType {
name = 'clearbitApi';
displayName = 'Clearbit API';
documentationUrl = 'clearbit';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class ClickUpApi implements ICredentialType {
name = 'clickUpApi';
displayName = 'ClickUp API';
documentationUrl = 'clickUp';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class ClickUpOAuth2Api implements ICredentialType {
@ -10,37 +10,37 @@ export class ClickUpOAuth2Api implements ICredentialType {
];
displayName = 'ClickUp OAuth2 API';
documentationUrl = 'clickUp';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://app.clickup.com/api',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://api.clickup.com/api/v2/oauth/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
description: 'Resource to consume.',
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,14 +8,14 @@ export class ClockifyApi implements ICredentialType {
name = 'clockifyApi';
displayName = 'Clockify API';
documentationUrl = 'clockify';
properties = [
properties: INodeProperties[] = [
// The credentials to get from user and save encrypted.
// Properties can be defined exactly in the same way
// as node properties.
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,24 +1,24 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class CockpitApi implements ICredentialType {
name = 'cockpitApi';
displayName = 'Cockpit API';
documentationUrl = 'cockpit';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Cockpit URL',
name: 'url',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
placeholder: 'https://example.com',
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class CodaApi implements ICredentialType {
name = 'codaApi';
displayName = 'Coda API';
documentationUrl = 'coda';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
//https://www.contentful.com/developers/docs/references/authentication/
@ -8,11 +8,11 @@ export class ContentfulApi implements ICredentialType {
name = 'contentfulApi';
displayName = 'Contenful API';
documentationUrl = 'contentful';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Space ID',
name: 'spaceId',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
required: true,
description: 'The id for the Contentful space.',
@ -20,14 +20,14 @@ export class ContentfulApi implements ICredentialType {
{
displayName: 'Content Delivery API Access token',
name: 'ContentDeliveryaccessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'Access token that has access to the space. Can be left empty if only Delivery API should be used.',
},
{
displayName: 'Content Preview API Access token',
name: 'ContentPreviewaccessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'Access token that has access to the space. Can be left empty if only Preview API should be used.',
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,11 +8,11 @@ export class ConvertKitApi implements ICredentialType {
name = 'convertKitApi';
displayName = 'ConvertKit API';
documentationUrl = 'convertKit';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Secret',
name: 'apiSecret',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
typeOptions: {
password: true,

View File

@ -1,25 +1,25 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class CopperApi implements ICredentialType {
name = 'copperApi';
displayName = 'Copper API';
documentationUrl = 'copper';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
required: true,
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Email',
name: 'email',
required: true,
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,17 +8,17 @@ export class CortexApi implements ICredentialType {
name = 'cortexApi';
displayName = 'Cortex API';
documentationUrl = 'cortex';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'cortexApiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Cortex Instance',
name: 'host',
type: 'string' as NodePropertyTypes,
type: 'string',
description: 'The URL of the Cortex instance',
default: '',
placeholder: 'https://localhost:9001',

View File

@ -1,32 +1,32 @@
import { ICredentialType, NodePropertyTypes } from 'n8n-workflow';
import { ICredentialType, INodeProperties } from 'n8n-workflow';
export class CrateDb implements ICredentialType {
name = 'crateDb';
displayName = 'CrateDB';
documentationUrl = 'crateDb';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Host',
name: 'host',
type: 'string' as NodePropertyTypes,
type: 'string',
default: 'localhost',
},
{
displayName: 'Database',
name: 'database',
type: 'string' as NodePropertyTypes,
type: 'string',
default: 'doc',
},
{
displayName: 'User',
name: 'user',
type: 'string' as NodePropertyTypes,
type: 'string',
default: 'crate',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: {
password: true,
},
@ -35,7 +35,7 @@ export class CrateDb implements ICredentialType {
{
displayName: 'SSL',
name: 'ssl',
type: 'options' as NodePropertyTypes,
type: 'options',
options: [
{
name: 'disable',
@ -63,7 +63,7 @@ export class CrateDb implements ICredentialType {
{
displayName: 'Port',
name: 'port',
type: 'number' as NodePropertyTypes,
type: 'number',
default: 5432,
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,11 +8,11 @@ export class CustomerIoApi implements ICredentialType {
name = 'customerIoApi';
displayName = 'Customer.io API';
documentationUrl = 'customerIo';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Tracking API Key',
name: 'trackingApiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'Required for tracking API.',
required: true,
@ -20,14 +20,14 @@ export class CustomerIoApi implements ICredentialType {
{
displayName: 'Tracking Site ID',
name: 'trackingSiteId',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'Required for tracking API.',
},
{
displayName: 'App API Key',
name: 'appApiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'Required for App API.',
},

View File

@ -1,20 +1,20 @@
import { ICredentialType, NodePropertyTypes } from 'n8n-workflow';
import { ICredentialType, INodeProperties } from 'n8n-workflow';
export class DeepLApi implements ICredentialType {
name = 'deepLApi';
displayName = 'DeepL API';
documentationUrl = 'deepL';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'API Plan',
name: 'apiPlan',
type: 'options' as NodePropertyTypes,
type: 'options',
options: [
{
name: 'Pro Plan',

View File

@ -1,23 +1,23 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class DemioApi implements ICredentialType {
name = 'demioApi';
displayName = 'Demio API';
documentationUrl = 'demio';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'API Secret',
name: 'apiSecret',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,33 +1,33 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class DiscourseApi implements ICredentialType {
name = 'discourseApi';
displayName = 'Discourse API';
documentationUrl = 'discourse';
properties = [
properties: INodeProperties[] = [
{
displayName: 'URL',
name: 'url',
required: true,
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'API Key',
name: 'apiKey',
required: true,
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Username',
name: 'username',
required: true,
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];
}
}

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class DisqusApi implements ICredentialType {
name = 'disqusApi';
displayName = 'Disqus API';
documentationUrl = 'disqus';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'Visit your account details page, and grab the Access Token. See <a href="https://disqus.com/api/docs/auth/">Disqus auth</a>.',
},

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class DriftApi implements ICredentialType {
name = 'driftApi';
displayName = 'Drift API';
documentationUrl = 'drift';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Personal Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'Visit your account details page, and grab the Access Token. See <a href="https://devdocs.drift.com/docs/quick-start">Drift auth</a>.',
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -11,37 +11,37 @@ export class DriftOAuth2Api implements ICredentialType {
];
displayName = 'Drift OAuth2 API';
documentationUrl = 'drift';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://dev.drift.com/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://driftapi.com/oauth2/token',
required: true,
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
},
];

View File

@ -1,23 +1,23 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class DropboxApi implements ICredentialType {
name = 'dropboxApi';
displayName = 'Dropbox API';
documentationUrl = 'dropbox';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'APP Access Type',
name: 'accessType',
type: 'options' as NodePropertyTypes,
type: 'options',
options: [
{
name: 'App Folder',

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -17,43 +17,43 @@ export class DropboxOAuth2Api implements ICredentialType {
];
displayName = 'Dropbox OAuth2 API';
documentationUrl = 'dropbox';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://www.dropbox.com/oauth2/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://api.dropboxapi.com/oauth2/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'token_access_type=offline&force_reapprove=true',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'header',
},
{
displayName: 'APP Access Type',
name: 'accessType',
type: 'options' as NodePropertyTypes,
type: 'options',
options: [
{
name: 'App Folder',

View File

@ -1,29 +1,29 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class ERPNextApi implements ICredentialType {
name = 'erpNextApi';
displayName = 'ERPNext API';
documentationUrl = 'erpnext';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'API Secret',
name: 'apiSecret',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Environment',
name: 'environment',
type: 'options' as NodePropertyTypes,
type: 'options',
default: 'cloudHosted',
options: [
{
@ -39,7 +39,7 @@ export class ERPNextApi implements ICredentialType {
{
displayName: 'Subdomain',
name: 'subdomain',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
placeholder: 'n8n',
description: 'Subdomain of cloud-hosted ERPNext instance. For example, "n8n" is the subdomain in: <code>https://n8n.erpnext.com</code>',
@ -54,7 +54,7 @@ export class ERPNextApi implements ICredentialType {
{
displayName: 'Domain',
name: 'domain',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
placeholder: 'https://www.mydomain.com',
description: 'Fully qualified domain name of self-hosted ERPNext instance.',

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,14 +8,14 @@ export class EgoiApi implements ICredentialType {
name = 'egoiApi';
displayName = 'E-goi API';
documentationUrl = 'egoi';
properties = [
properties: INodeProperties[] = [
// The credentials to get from user and save encrypted.
// Properties can be defined exactly in the same way
// as node properties.
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class EmeliaApi implements ICredentialType {
name = 'emeliaApi';
displayName = 'Emelia API';
documentationUrl = 'emelia';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class EventbriteApi implements ICredentialType {
name = 'eventbriteApi';
displayName = 'Eventbrite API';
documentationUrl = 'eventbrite';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Private Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -11,37 +11,37 @@ export class EventbriteOAuth2Api implements ICredentialType {
];
displayName = 'Eventbrite OAuth2 API';
documentationUrl = 'eventbrite';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://www.eventbrite.com/oauth/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://www.eventbrite.com/oauth/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,11 +8,11 @@ export class FacebookGraphApi implements ICredentialType {
name = 'facebookGraphApi';
displayName = 'Facebook Graph API';
documentationUrl = 'facebookGraph';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class FacebookGraphAppApi implements ICredentialType {
@ -10,11 +10,11 @@ export class FacebookGraphAppApi implements ICredentialType {
extends = [
'facebookGraphApi',
];
properties = [
properties: INodeProperties[] = [
{
displayName: 'App Secret',
name: 'appSecret',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: '(Optional) When the app secret is set the node will verify this signature to validate the integrity and origin of the payload.',
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,29 +8,29 @@ export class FileMaker implements ICredentialType {
name = 'fileMaker';
displayName = 'FileMaker API';
documentationUrl = 'fileMaker';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Host',
name: 'host',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Database',
name: 'db',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Login',
name: 'login',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: {
password: true,
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,17 +8,17 @@ export class FlowApi implements ICredentialType {
name = 'flowApi';
displayName = 'Flow API';
documentationUrl = 'flow';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Organization ID',
name: 'organizationId',
type: 'number' as NodePropertyTypes,
type: 'number',
default: 0,
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,17 +8,17 @@ export class FreshdeskApi implements ICredentialType {
name = 'freshdeskApi';
displayName = 'Freshdesk API';
documentationUrl = 'freshdesk';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Domain',
name: 'domain',
type: 'string' as NodePropertyTypes,
type: 'string',
placeholder: 'company',
description: 'If the URL you get displayed on Freshdesk is "https://company.freshdesk.com" enter "company"',
default: '',

View File

@ -1,18 +1,18 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class Ftp implements ICredentialType {
name = 'ftp';
displayName = 'FTP';
documentationUrl = 'ftp';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Host',
name: 'host',
required: true,
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
placeholder: 'localhost',
},
@ -20,19 +20,19 @@ export class Ftp implements ICredentialType {
displayName: 'Port',
name: 'port',
required: true,
type: 'number' as NodePropertyTypes,
type: 'number',
default: 21,
},
{
displayName: 'Username',
name: 'username',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: {
password: true,
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -17,11 +17,11 @@ export class GSuiteAdminOAuth2Api implements ICredentialType {
];
displayName = 'G Suite Admin OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,16 +1,16 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class GetResponseApi implements ICredentialType {
name = 'getResponseApi';
displayName = 'GetResponse API';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class GetResponseOAuth2Api implements ICredentialType {
@ -9,37 +9,37 @@ export class GetResponseOAuth2Api implements ICredentialType {
'oAuth2Api',
];
displayName = 'GetResponse OAuth2 API';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://app.getresponse.com/oauth2_authorize.html',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://api.getresponse.com/v3/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'header',
description: 'Resource to consume.',
},

View File

@ -1,24 +1,24 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class GhostAdminApi implements ICredentialType {
name = 'ghostAdminApi';
displayName = 'Ghost Admin API';
documentationUrl = 'ghost';
properties = [
properties: INodeProperties[] = [
{
displayName: 'URL',
name: 'url',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
placeholder: 'http://localhost:3001',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,24 +1,24 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class GhostContentApi implements ICredentialType {
name = 'ghostContentApi';
displayName = 'Ghost Content API';
documentationUrl = 'ghost';
properties = [
properties: INodeProperties[] = [
{
displayName: 'URL',
name: 'url',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
placeholder: 'http://localhost:3001',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,23 +1,23 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class GitPassword implements ICredentialType {
name = 'gitPassword';
displayName = 'Git';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Username',
name: 'username',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
decription: 'The username to authenticate with.',
description: 'The username to authenticate with.',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: {
password: true,
},

View File

@ -1,30 +1,30 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class GithubApi implements ICredentialType {
name = 'githubApi';
displayName = 'Github API';
documentationUrl = 'github';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Github Server',
name: 'server',
type: 'string' as NodePropertyTypes,
type: 'string',
default: 'https://api.github.com',
description: 'The server to connect to. Does only have to get changed if Github Enterprise gets used.',
},
{
displayName: 'User',
name: 'user',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -11,44 +11,44 @@ export class GithubOAuth2Api implements ICredentialType {
];
displayName = 'Github OAuth2 API';
documentationUrl = 'github';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Github Server',
name: 'server',
type: 'string' as NodePropertyTypes,
type: 'string',
default: 'https://api.github.com',
description: 'The server to connect to. Does only have to get changed if Github Enterprise gets used.',
},
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '={{$self["server"] === "https://api.github.com" ? "https://github.com" : $self["server"]}}/login/oauth/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '={{$self["server"] === "https://api.github.com" ? "https://github.com" : $self["server"]}}/login/oauth/access_token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'repo,admin:repo_hook,admin:org,admin:org_hook,gist,notifications,user,write:packages,read:packages,delete:packages,worfklow',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'header',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,17 +8,17 @@ export class GitlabApi implements ICredentialType {
name = 'gitlabApi';
displayName = 'Gitlab API';
documentationUrl = 'gitlab';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Gitlab Server',
name: 'server',
type: 'string' as NodePropertyTypes,
type: 'string',
default: 'https://gitlab.com',
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -11,43 +11,43 @@ export class GitlabOAuth2Api implements ICredentialType {
];
displayName = 'Gitlab OAuth2 API';
documentationUrl = 'gitlab';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Gitlab Server',
name: 'server',
type: 'string' as NodePropertyTypes,
type: 'string',
default: 'https://gitlab.com',
},
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '={{$self["server"]}}/oauth/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '={{$self["server"]}}/oauth/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'api',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -20,11 +20,11 @@ export class GmailOAuth2Api implements ICredentialType {
];
displayName = 'Gmail OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class GoToWebinarOAuth2Api implements ICredentialType {
@ -10,35 +10,35 @@ export class GoToWebinarOAuth2Api implements ICredentialType {
];
displayName = 'GoToWebinar OAuth2 API';
documentationUrl = 'goToWebinar';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://api.getgo.com/oauth/v2/authorize',
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://api.getgo.com/oauth/v2/token',
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '', // set when creating the OAuth client
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'header',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -16,11 +16,11 @@ export class GoogleAnalyticsOAuth2Api implements ICredentialType {
];
displayName = 'Google Analytics OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,11 +8,11 @@ export class GoogleApi implements ICredentialType {
name = 'googleApi';
displayName = 'Google API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Service Account Email',
name: 'email',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'The Google Service account similar to user-808@project.iam.gserviceaccount.com.',
@ -20,21 +20,22 @@ export class GoogleApi implements ICredentialType {
{
displayName: 'Private Key',
name: 'privateKey',
// @ts-ignore
lines: 5,
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'Use the multiline editor. Make sure there are exactly 3 lines.<br />-----BEGIN PRIVATE KEY-----<br />KEY IN A SINGLE LINE<br />-----END PRIVATE KEY-----',
},
{
displayName: ' Impersonate a User',
name: 'inpersonate',
type: 'boolean' as NodePropertyTypes,
type: 'boolean',
default: false,
},
{
displayName: 'Email',
name: 'delegatedEmail',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
displayOptions: {
show: {

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -14,11 +14,11 @@ export class GoogleBigQueryOAuth2Api implements ICredentialType {
];
displayName = 'Google BigQuery OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -14,11 +14,11 @@ export class GoogleBooksOAuth2Api implements ICredentialType {
];
displayName = 'Google Books OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -15,11 +15,11 @@ export class GoogleCalendarOAuth2Api implements ICredentialType {
];
displayName = 'Google Calendar OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -15,11 +15,11 @@ export class GoogleCloudNaturalLanguageOAuth2Api implements ICredentialType {
];
displayName = 'Google Cloud Natural Language OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -14,11 +14,11 @@ export class GoogleContactsOAuth2Api implements ICredentialType {
];
displayName = 'Google Contacts OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -16,11 +16,11 @@ export class GoogleDriveOAuth2Api implements ICredentialType {
];
displayName = 'Google Drive OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -15,11 +15,11 @@ export class GoogleFirebaseCloudFirestoreOAuth2Api implements ICredentialType {
];
displayName = 'Google Firebase Cloud Firestore OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -16,11 +16,11 @@ export class GoogleFirebaseRealtimeDatabaseOAuth2Api implements ICredentialType
];
displayName = 'Google Firebase Realtime Database OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class GoogleOAuth2Api implements ICredentialType {
@ -10,29 +10,29 @@ export class GoogleOAuth2Api implements ICredentialType {
];
displayName = 'Google OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://accounts.google.com/o/oauth2/v2/auth',
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://oauth2.googleapis.com/token',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'access_type=offline&prompt=consent',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -15,11 +15,11 @@ export class GoogleSheetsOAuth2Api implements ICredentialType {
];
displayName = 'Google Sheets OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -15,11 +15,11 @@ export class GoogleSlidesOAuth2Api implements ICredentialType {
];
displayName = 'Google Slides OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -12,11 +12,11 @@ export class GoogleTasksOAuth2Api implements ICredentialType {
extends = ['googleOAuth2Api'];
displayName = 'Google Tasks OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -14,11 +14,11 @@ export class GoogleTranslateOAuth2Api implements ICredentialType {
];
displayName = 'Google Translate OAuth2 API';
documentationUrl = 'google';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
];

View File

@ -1,31 +1,31 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class GotifyApi implements ICredentialType {
name = 'gotifyApi';
displayName = 'Gotify API';
documentationUrl = 'gotify';
properties = [
properties: INodeProperties[] = [
{
displayName: 'App API Token',
name: 'appApiToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: '(Optional) Needed for message creation.',
},
{
displayName: 'Client API Token',
name: 'clientApiToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: '(Optional) Needed for everything (delete, getAll) but message creation.',
},
{
displayName: 'URL',
name: 'url',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'The URL of the Gotify host.',
},

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class GumroadApi implements ICredentialType {
name = 'gumroadApi';
displayName = 'Gumroad API';
documentationUrl = 'gumroad';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class HarvestApi implements ICredentialType {
name = 'harvestApi';
displayName = 'Harvest API';
documentationUrl = 'harvest';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
description: 'Visit your account details page, and grab the Access Token. See <a href="https://help.getharvest.com/api-v2/authentication-api/authentication/authentication/">Harvest Personal Access Tokens</a>.',
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -10,37 +10,37 @@ export class HarvestOAuth2Api implements ICredentialType {
'oAuth2Api',
];
displayName = 'Harvest OAuth2 API';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://id.getharvest.com/oauth2/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://id.getharvest.com/api/v2/oauth2/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'all',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
description: 'Resource to consume.',
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class HelpScoutOAuth2Api implements ICredentialType {
@ -10,37 +10,37 @@ export class HelpScoutOAuth2Api implements ICredentialType {
];
displayName = 'HelpScout OAuth2 API';
documentationUrl = 'helpScout';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://secure.helpscout.net/authentication/authorizeClientApplication',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://api.helpscout.net/v2/oauth2/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,18 +8,18 @@ export class HttpBasicAuth implements ICredentialType {
name = 'httpBasicAuth';
displayName = 'Basic Auth';
documentationUrl = 'httpRequest';
properties = [
properties: INodeProperties[] = [
{
displayName: 'User',
name: 'user',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: {
password: true,
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,18 +8,18 @@ export class HttpDigestAuth implements ICredentialType {
name = 'httpDigestAuth';
displayName = 'Digest Auth';
documentationUrl = 'httpRequest';
properties = [
properties: INodeProperties[] = [
{
displayName: 'User',
name: 'user',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: {
password: true,
},

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,18 +8,18 @@ export class HttpHeaderAuth implements ICredentialType {
name = 'httpHeaderAuth';
displayName = 'Header Auth';
documentationUrl = 'httpRequest';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Name',
name: 'name',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Value',
name: 'value',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class HubspotApi implements ICredentialType {
name = 'hubspotApi';
displayName = 'Hubspot API';
documentationUrl = 'hubspot';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,29 +1,29 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class HubspotDeveloperApi implements ICredentialType {
name = 'hubspotDeveloperApi';
displayName = 'Hubspot Developer API';
documentationUrl = 'hubspot';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Developer API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Client Secret',
name: 'clientSecret',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'App ID',
name: 'appId',
type: 'string' as NodePropertyTypes,
type: 'string',
required: true,
default: '',
description: 'The App ID',

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
const scopes = [
@ -16,37 +16,37 @@ export class HubspotOAuth2Api implements ICredentialType {
];
displayName = 'Hubspot OAuth2 API';
documentationUrl = 'hubspot';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://app.hubspot.com/oauth/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'https://api.hubapi.com/oauth/v1/token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: scopes.join(' '),
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'grant_type=authorization_code',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
type: 'hidden',
default: 'body',
description: 'Resource to consume.',
},

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class HumanticAiApi implements ICredentialType {
name = 'humanticAiApi';
displayName = 'Humantic AI API';
documentationUrl = 'humanticAi';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class HunterApi implements ICredentialType {
name = 'hunterApi';
displayName = 'Hunter API';
documentationUrl = 'hunter';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,18 +8,18 @@ export class Imap implements ICredentialType {
name = 'imap';
displayName = 'IMAP';
documentationUrl = 'imap';
properties = [
properties: INodeProperties[] = [
{
displayName: 'User',
name: 'user',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: {
password: true,
},
@ -28,19 +28,19 @@ export class Imap implements ICredentialType {
{
displayName: 'Host',
name: 'host',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
{
displayName: 'Port',
name: 'port',
type: 'number' as NodePropertyTypes,
type: 'number',
default: 993,
},
{
displayName: 'SSL/TLS',
name: 'secure',
type: 'boolean' as NodePropertyTypes,
type: 'boolean',
default: true,
},
];

View File

@ -1,6 +1,6 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
@ -8,11 +8,11 @@ export class IntercomApi implements ICredentialType {
name = 'intercomApi';
displayName = 'Intercom API';
documentationUrl = 'intercom';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,23 +1,23 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class InvoiceNinjaApi implements ICredentialType {
name = 'invoiceNinjaApi';
displayName = 'Invoice Ninja API';
documentationUrl = 'invoiceNinja';
properties = [
properties: INodeProperties[] = [
{
displayName: 'URL',
name: 'url',
type: 'string' as NodePropertyTypes,
type: 'string',
default: 'https://app.invoiceninja.com',
},
{
displayName: 'API Token',
name: 'apiToken',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

View File

@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class IterableApi implements ICredentialType {
name = 'iterableApi';
displayName = 'Iterable API';
documentationUrl = 'iterable';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];

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