n8n/packages/nodes-base/credentials/DhlApi.credentials.ts
Ricardo Espinoza a58c251a28
Add DHL node (#2385)
*  DHL node

*  Add credentials verfication

* 👕 Nodelinter pass

*  Improvements

*  Fix node name

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-11-25 18:48:52 +01:00

19 lines
320 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class DhlApi implements ICredentialType {
name = 'dhlApi';
displayName = 'DHL API';
documentationUrl = 'dhl';
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
default: '',
},
];
}