n8n/packages/nodes-base/credentials/TwakeServerApi.credentials.ts
2020-08-17 14:42:09 +02:00

31 lines
587 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class TwakeServerApi implements ICredentialType {
name = 'twakeServerApi';
displayName = 'Twake API';
documentationUrl = 'twake';
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: '',
},
];
}