mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
b77bdfbcfe
* ⚡️ ADD Twake node * Convert space in tab * ✨ Twake-Node * ⚡ Improvements * ⚡ Small improvements Co-authored-by: Benoit <benoit.tallandier@gmail.com>
30 lines
558 B
TypeScript
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: '',
|
|
},
|
|
];
|
|
}
|