UNPKG

@luka-cat-mimi/n8n-nodes-feishu-project

Version:

飞书项目 N8N 集成插件,支持附件管理等功能

25 lines 903 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const RequestUtils_1 = __importDefault(require("../../../help/utils/RequestUtils")); const PluginTokenOperate = { name: '获取Plugin_token', value: 'plugin:token', options: [], async call(index) { const credentials = await this.getCredentials('feishuProjectApi'); const body = { plugin_id: credentials.pluginId, plugin_secret: credentials.pluginSecret, }; return RequestUtils_1.default.request.call(this, { method: 'POST', url: `/open_api/authen/plugin_token`, body: body, }); } }; exports.default = PluginTokenOperate; //# sourceMappingURL=PluginTokenOperate.js.map