🔀 Merge branch 'master' into Doc-Link-to-Node-Credentials-Modal

This commit is contained in:
Jan Oberhauser
2020-08-27 09:35:22 +02:00
79 changed files with 7685 additions and 719 deletions

View File

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

View File

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

View File

@@ -0,0 +1,23 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class PaddleApi implements ICredentialType {
name = 'paddleApi';
displayName = 'Paddle API';
properties = [
{
displayName: 'Vendor Auth Code',
name: 'vendorAuthCode',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Vendor ID',
name: 'vendorId',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}

View File

@@ -36,10 +36,24 @@ export class Postgres implements ICredentialType {
},
default: '',
},
{
displayName: 'Ignore SSL Issues',
name: 'allowUnauthorizedCerts',
type: 'boolean' as NodePropertyTypes,
default: false,
description: 'Connect even if SSL certificate validation is not possible.',
},
{
displayName: 'SSL',
name: 'ssl',
type: 'options' as NodePropertyTypes,
displayOptions: {
show: {
allowUnauthorizedCerts: [
false,
],
},
},
options: [
{
name: 'disable',

View File

@@ -0,0 +1,46 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class TodoistOAuth2Api implements ICredentialType {
name = 'todoistOAuth2Api';
extends = [
'oAuth2Api',
];
displayName = 'Todoist OAuth2 API';
properties = [
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden' as NodePropertyTypes,
default: 'https://todoist.com/oauth/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden' as NodePropertyTypes,
default: 'https://todoist.com/oauth/access_token',
required: true,
},
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
default: 'data:read_write,data:delete',
},
{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden' as NodePropertyTypes,
default: '',
},
{
displayName: 'Authentication',
name: 'authentication',
type: 'hidden' as NodePropertyTypes,
default: 'body',
},
];
}

View File

@@ -13,7 +13,8 @@ export class ZendeskApi implements ICredentialType {
name: 'subdomain',
type: 'string' as NodePropertyTypes,
description: 'The subdomain of your Zendesk work environment.',
default: 'n8n',
placeholder: 'company',
default: '',
},
{
displayName: 'Email',