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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
import { import {
ICredentialType, ICredentialType,
NodePropertyTypes, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
@ -8,23 +8,23 @@ export class Aws implements ICredentialType {
name = 'aws'; name = 'aws';
displayName = 'AWS'; displayName = 'AWS';
documentationUrl = 'aws'; documentationUrl = 'aws';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'Region', displayName: 'Region',
name: 'region', name: 'region',
type: 'string' as NodePropertyTypes, type: 'string',
default: 'us-east-1', default: 'us-east-1',
}, },
{ {
displayName: 'Access Key Id', displayName: 'Access Key Id',
name: 'accessKeyId', name: 'accessKeyId',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
}, },
{ {
displayName: 'Secret Access Key', displayName: 'Secret Access Key',
name: 'secretAccessKey', name: 'secretAccessKey',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
typeOptions: { typeOptions: {
password: true, password: true,
@ -33,14 +33,14 @@ export class Aws implements ICredentialType {
{ {
displayName: 'Custom Endpoints', displayName: 'Custom Endpoints',
name: 'customEndpoints', name: 'customEndpoints',
type: 'boolean' as NodePropertyTypes, type: 'boolean',
default: false, default: false,
}, },
{ {
displayName: 'Rekognition Endpoint', displayName: 'Rekognition Endpoint',
name: 'rekognitionEndpoint', 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.', 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: { displayOptions: {
show: { show: {
customEndpoints: [ customEndpoints: [
@ -55,7 +55,7 @@ export class Aws implements ICredentialType {
displayName: 'Lambda Endpoint', displayName: 'Lambda Endpoint',
name: 'lambdaEndpoint', 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.', 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: { displayOptions: {
show: { show: {
customEndpoints: [ customEndpoints: [
@ -70,7 +70,7 @@ export class Aws implements ICredentialType {
displayName: 'SNS Endpoint', displayName: 'SNS Endpoint',
name: 'snsEndpoint', 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.', 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: { displayOptions: {
show: { show: {
customEndpoints: [ customEndpoints: [
@ -85,7 +85,7 @@ export class Aws implements ICredentialType {
displayName: 'SES Endpoint', displayName: 'SES Endpoint',
name: 'sesEndpoint', 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.', 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: { displayOptions: {
show: { show: {
customEndpoints: [ customEndpoints: [
@ -100,7 +100,7 @@ export class Aws implements ICredentialType {
displayName: 'SQS Endpoint', displayName: 'SQS Endpoint',
name: 'sqsEndpoint', 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.', 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: { displayOptions: {
show: { show: {
customEndpoints: [ customEndpoints: [
@ -115,7 +115,7 @@ export class Aws implements ICredentialType {
displayName: 'S3 Endpoint', displayName: 'S3 Endpoint',
name: 's3Endpoint', 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.', 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: { displayOptions: {
show: { show: {
customEndpoints: [ customEndpoints: [

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
import { import {
ICredentialType, ICredentialType,
NodePropertyTypes, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
@ -8,17 +8,17 @@ export class CortexApi implements ICredentialType {
name = 'cortexApi'; name = 'cortexApi';
displayName = 'Cortex API'; displayName = 'Cortex API';
documentationUrl = 'cortex'; documentationUrl = 'cortex';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'API Key', displayName: 'API Key',
name: 'cortexApiKey', name: 'cortexApiKey',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
}, },
{ {
displayName: 'Cortex Instance', displayName: 'Cortex Instance',
name: 'host', name: 'host',
type: 'string' as NodePropertyTypes, type: 'string',
description: 'The URL of the Cortex instance', description: 'The URL of the Cortex instance',
default: '', default: '',
placeholder: 'https://localhost:9001', 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 { export class CrateDb implements ICredentialType {
name = 'crateDb'; name = 'crateDb';
displayName = 'CrateDB'; displayName = 'CrateDB';
documentationUrl = 'crateDb'; documentationUrl = 'crateDb';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'Host', displayName: 'Host',
name: 'host', name: 'host',
type: 'string' as NodePropertyTypes, type: 'string',
default: 'localhost', default: 'localhost',
}, },
{ {
displayName: 'Database', displayName: 'Database',
name: 'database', name: 'database',
type: 'string' as NodePropertyTypes, type: 'string',
default: 'doc', default: 'doc',
}, },
{ {
displayName: 'User', displayName: 'User',
name: 'user', name: 'user',
type: 'string' as NodePropertyTypes, type: 'string',
default: 'crate', default: 'crate',
}, },
{ {
displayName: 'Password', displayName: 'Password',
name: 'password', name: 'password',
type: 'string' as NodePropertyTypes, type: 'string',
typeOptions: { typeOptions: {
password: true, password: true,
}, },
@ -35,7 +35,7 @@ export class CrateDb implements ICredentialType {
{ {
displayName: 'SSL', displayName: 'SSL',
name: 'ssl', name: 'ssl',
type: 'options' as NodePropertyTypes, type: 'options',
options: [ options: [
{ {
name: 'disable', name: 'disable',
@ -63,7 +63,7 @@ export class CrateDb implements ICredentialType {
{ {
displayName: 'Port', displayName: 'Port',
name: 'port', name: 'port',
type: 'number' as NodePropertyTypes, type: 'number',
default: 5432, default: 5432,
}, },
]; ];

View file

@ -1,6 +1,6 @@
import { import {
ICredentialType, ICredentialType,
NodePropertyTypes, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
@ -8,11 +8,11 @@ export class CustomerIoApi implements ICredentialType {
name = 'customerIoApi'; name = 'customerIoApi';
displayName = 'Customer.io API'; displayName = 'Customer.io API';
documentationUrl = 'customerIo'; documentationUrl = 'customerIo';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'Tracking API Key', displayName: 'Tracking API Key',
name: 'trackingApiKey', name: 'trackingApiKey',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
description: 'Required for tracking API.', description: 'Required for tracking API.',
required: true, required: true,
@ -20,14 +20,14 @@ export class CustomerIoApi implements ICredentialType {
{ {
displayName: 'Tracking Site ID', displayName: 'Tracking Site ID',
name: 'trackingSiteId', name: 'trackingSiteId',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
description: 'Required for tracking API.', description: 'Required for tracking API.',
}, },
{ {
displayName: 'App API Key', displayName: 'App API Key',
name: 'appApiKey', name: 'appApiKey',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
description: 'Required for App API.', 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 { export class DeepLApi implements ICredentialType {
name = 'deepLApi'; name = 'deepLApi';
displayName = 'DeepL API'; displayName = 'DeepL API';
documentationUrl = 'deepL'; documentationUrl = 'deepL';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'API Key', displayName: 'API Key',
name: 'apiKey', name: 'apiKey',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
}, },
{ {
displayName: 'API Plan', displayName: 'API Plan',
name: 'apiPlan', name: 'apiPlan',
type: 'options' as NodePropertyTypes, type: 'options',
options: [ options: [
{ {
name: 'Pro Plan', name: 'Pro Plan',

View file

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

View file

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

View file

@ -1,17 +1,17 @@
import { import {
ICredentialType, ICredentialType,
NodePropertyTypes, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export class DisqusApi implements ICredentialType { export class DisqusApi implements ICredentialType {
name = 'disqusApi'; name = 'disqusApi';
displayName = 'Disqus API'; displayName = 'Disqus API';
documentationUrl = 'disqus'; documentationUrl = 'disqus';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'Access Token', displayName: 'Access Token',
name: 'accessToken', name: 'accessToken',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
description: 'Visit your account details page, and grab the Access Token. See <a href="https://disqus.com/api/docs/auth/">Disqus auth</a>.', 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 { import {
ICredentialType, ICredentialType,
NodePropertyTypes, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export class DriftApi implements ICredentialType { export class DriftApi implements ICredentialType {
name = 'driftApi'; name = 'driftApi';
displayName = 'Drift API'; displayName = 'Drift API';
documentationUrl = 'drift'; documentationUrl = 'drift';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'Personal Access Token', displayName: 'Personal Access Token',
name: 'accessToken', name: 'accessToken',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', 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>.', 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 { import {
ICredentialType, ICredentialType,
NodePropertyTypes, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
@ -11,37 +11,37 @@ export class DriftOAuth2Api implements ICredentialType {
]; ];
displayName = 'Drift OAuth2 API'; displayName = 'Drift OAuth2 API';
documentationUrl = 'drift'; documentationUrl = 'drift';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'Authorization URL', displayName: 'Authorization URL',
name: 'authUrl', name: 'authUrl',
type: 'hidden' as NodePropertyTypes, type: 'hidden',
default: 'https://dev.drift.com/authorize', default: 'https://dev.drift.com/authorize',
required: true, required: true,
}, },
{ {
displayName: 'Access Token URL', displayName: 'Access Token URL',
name: 'accessTokenUrl', name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes, type: 'hidden',
default: 'https://driftapi.com/oauth2/token', default: 'https://driftapi.com/oauth2/token',
required: true, required: true,
}, },
{ {
displayName: 'Auth URI Query Parameters', displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters', name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes, type: 'hidden',
default: '', default: '',
}, },
{ {
displayName: 'Scope', displayName: 'Scope',
name: 'scope', name: 'scope',
type: 'hidden' as NodePropertyTypes, type: 'hidden',
default: '', default: '',
}, },
{ {
displayName: 'Authentication', displayName: 'Authentication',
name: 'authentication', name: 'authentication',
type: 'hidden' as NodePropertyTypes, type: 'hidden',
default: 'body', default: 'body',
}, },
]; ];

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
import { import {
ICredentialType, ICredentialType,
NodePropertyTypes, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
export class FacebookGraphAppApi implements ICredentialType { export class FacebookGraphAppApi implements ICredentialType {
@ -10,11 +10,11 @@ export class FacebookGraphAppApi implements ICredentialType {
extends = [ extends = [
'facebookGraphApi', 'facebookGraphApi',
]; ];
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'App Secret', displayName: 'App Secret',
name: 'appSecret', name: 'appSecret',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
description: '(Optional) When the app secret is set the node will verify this signature to validate the integrity and origin of the payload.', 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 { import {
ICredentialType, ICredentialType,
NodePropertyTypes, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
@ -8,29 +8,29 @@ export class FileMaker implements ICredentialType {
name = 'fileMaker'; name = 'fileMaker';
displayName = 'FileMaker API'; displayName = 'FileMaker API';
documentationUrl = 'fileMaker'; documentationUrl = 'fileMaker';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'Host', displayName: 'Host',
name: 'host', name: 'host',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
}, },
{ {
displayName: 'Database', displayName: 'Database',
name: 'db', name: 'db',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
}, },
{ {
displayName: 'Login', displayName: 'Login',
name: 'login', name: 'login',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
}, },
{ {
displayName: 'Password', displayName: 'Password',
name: 'password', name: 'password',
type: 'string' as NodePropertyTypes, type: 'string',
typeOptions: { typeOptions: {
password: true, password: true,
}, },

View file

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

View file

@ -1,6 +1,6 @@
import { import {
ICredentialType, ICredentialType,
NodePropertyTypes, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
@ -8,17 +8,17 @@ export class FreshdeskApi implements ICredentialType {
name = 'freshdeskApi'; name = 'freshdeskApi';
displayName = 'Freshdesk API'; displayName = 'Freshdesk API';
documentationUrl = 'freshdesk'; documentationUrl = 'freshdesk';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'API Key', displayName: 'API Key',
name: 'apiKey', name: 'apiKey',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
}, },
{ {
displayName: 'Domain', displayName: 'Domain',
name: 'domain', name: 'domain',
type: 'string' as NodePropertyTypes, type: 'string',
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: '',

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
import { import {
ICredentialType, ICredentialType,
NodePropertyTypes, INodeProperties,
} from 'n8n-workflow'; } from 'n8n-workflow';
@ -8,11 +8,11 @@ export class GoogleApi implements ICredentialType {
name = 'googleApi'; name = 'googleApi';
displayName = 'Google API'; displayName = 'Google API';
documentationUrl = 'google'; documentationUrl = 'google';
properties = [ properties: INodeProperties[] = [
{ {
displayName: 'Service Account Email', displayName: 'Service Account Email',
name: 'email', name: 'email',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
description: 'The Google Service account similar to user-808@project.iam.gserviceaccount.com.', 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', displayName: 'Private Key',
name: 'privateKey', name: 'privateKey',
// @ts-ignore
lines: 5, lines: 5,
type: 'string' as NodePropertyTypes, type: 'string',
default: '', 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-----', 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', displayName: ' Impersonate a User',
name: 'inpersonate', name: 'inpersonate',
type: 'boolean' as NodePropertyTypes, type: 'boolean',
default: false, default: false,
}, },
{ {
displayName: 'Email', displayName: 'Email',
name: 'delegatedEmail', name: 'delegatedEmail',
type: 'string' as NodePropertyTypes, type: 'string',
default: '', default: '',
displayOptions: { displayOptions: {
show: { show: {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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