2023-01-27 03:22:44 -08:00
|
|
|
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2020-10-12 23:56:24 -07:00
|
|
|
|
|
|
|
export class VonageApi implements ICredentialType {
|
|
|
|
name = 'vonageApi';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2020-10-12 23:56:24 -07:00
|
|
|
displayName = 'Vonage API';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2020-10-16 07:47:25 -07:00
|
|
|
documentationUrl = 'vonage';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-10-12 23:56:24 -07:00
|
|
|
{
|
|
|
|
displayName: 'API Key',
|
|
|
|
name: 'apiKey',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2022-11-01 09:41:45 -07:00
|
|
|
typeOptions: { password: true },
|
2020-10-12 23:56:24 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'API Secret',
|
|
|
|
name: 'apiSecret',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-10-12 23:56:24 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|