UNPKG

n8n-nodes-chatwork

Version:

Provides an n8n community node for integrating Chatwork messaging and task APIs into automated workflows.

37 lines 1.21 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ChatworkApi = void 0; class ChatworkApi { constructor() { this.name = 'chatworkApi'; this.displayName = 'Chatwork API'; this.icon = 'file:../icons/Chatwork.svg'; this.documentationUrl = 'https://help.chatwork.com/hc/ja/articles/115000172402-API%E3%83%88%E3%83%BC%E3%82%AF%E3%83%B3%E3%82%92%E7%99%BA%E8%A1%8C%E3%81%99%E3%82%8B'; this.properties = [ { displayName: 'API Token', name: 'apiToken', type: 'string', typeOptions: { password: true }, default: '', }, ]; this.authenticate = { type: 'generic', properties: { headers: { ['X-ChatWorkToken']: '={{$credentials?.apiToken}}', }, }, }; this.test = { request: { baseURL: 'https://api.chatwork.com/v2', url: '/me', method: 'GET', }, }; } } exports.ChatworkApi = ChatworkApi; //# sourceMappingURL=ChatworkApi.credentials.js.map