mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
🔀 Merge branch 'master' into Doc-Link-to-Node-Credentials-Modal
This commit is contained in:
34
packages/nodes-base/credentials/ContentfulApi.credentials.ts
Normal file
34
packages/nodes-base/credentials/ContentfulApi.credentials.ts
Normal 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.',
|
||||
},
|
||||
];
|
||||
}
|
||||
21
packages/nodes-base/credentials/ConvertKitApi.credentials.ts
Normal file
21
packages/nodes-base/credentials/ConvertKitApi.credentials.ts
Normal 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,
|
||||
},
|
||||
},
|
||||
];
|
||||
}
|
||||
23
packages/nodes-base/credentials/PaddleApi.credentials.ts
Normal file
23
packages/nodes-base/credentials/PaddleApi.credentials.ts
Normal 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: '',
|
||||
},
|
||||
];
|
||||
}
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
];
|
||||
}
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user