Add Spontit Node (#1186)

* Added first trial for a spontit integration

* Added spontit packages

* Changed option types from collection to string

*  Improvements to Spontit Node

Improvements to #1163

Co-authored-by: Tobias Schulz-Hess <tobias.schulz-hess@xing.com>
This commit is contained in:
Ricardo Espinoza
2020-11-24 17:19:41 -05:00
committed by GitHub
parent 56d19cc2c6
commit 2dbde92fd5
6 changed files with 361 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class SpontitApi implements ICredentialType {
name = 'spontitApi';
displayName = 'Spontit API';
documentationUrl = 'spontit';
properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Username',
name: 'username',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}