n8n/packages/nodes-base/credentials/SpontitApi.credentials.ts
Ricardo Espinoza 2dbde92fd5
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>
2020-11-24 23:19:41 +01:00

25 lines
454 B
TypeScript

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: '',
},
];
}