n8n-nodes-zola-fake
Version:
Các node hỗ trợ Zalo cho n8n Thong
30 lines (29 loc) • 886 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ZaloTTSApi = void 0;
class ZaloTTSApi {
constructor() {
this.name = 'zaloTTSApi';
this.displayName = 'ZaloTTS API';
this.documentationUrl = 'https://ai.zalo.cloud/docs/api/text-to-audio-converter';
this.properties = [
{
displayName: 'API Key',
name: 'xiApiKey',
type: 'string',
typeOptions: { password: true },
default: '',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
'apikey': '={{$credentials.xiApiKey}}',
accept: 'application/x-www-form-urlencoded',
},
},
};
}
}
exports.ZaloTTSApi = ZaloTTSApi;