n8n/packages/nodes-base/credentials/TwakeServerApi.credentials.ts
Ricardo Espinoza b77bdfbcfe
Feature/twake node (#815)
* ️ ADD Twake node

* Convert space in tab

*  Twake-Node

*  Improvements

*  Small improvements

Co-authored-by: Benoit <benoit.tallandier@gmail.com>
2020-08-04 17:23:06 +02:00

30 lines
558 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class TwakeServerApi implements ICredentialType {
name = 'twakeServerApi';
displayName = 'Twake API';
properties = [
{
displayName: 'Host URL',
name: 'hostUrl',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Public ID',
name: 'publicId',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Private API Key',
name: 'privateApiKey',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}