@tapd/tapd-node-sdk 1.47.1-alpha.2 → 1.47.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node-sdk/src/index.js +32 -0
- package/package.json +2 -2
package/node-sdk/src/index.js
CHANGED
|
@@ -8246,6 +8246,38 @@ module.exports = class API extends SDK {
|
|
|
8246
8246
|
);
|
|
8247
8247
|
}
|
|
8248
8248
|
|
|
8249
|
+
/**
|
|
8250
|
+
* @description 获取插件动态配置
|
|
8251
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/setting/get_plugin_options.html
|
|
8252
|
+
* @scope setting#r
|
|
8253
|
+
|
|
8254
|
+
*/
|
|
8255
|
+
getPluginOptions(...args) {
|
|
8256
|
+
return this.oAuthRequest.apply(
|
|
8257
|
+
this, [
|
|
8258
|
+
'/auto_tasks/get_plugin_options',
|
|
8259
|
+
'POST',
|
|
8260
|
+
...args
|
|
8261
|
+
]
|
|
8262
|
+
);
|
|
8263
|
+
}
|
|
8264
|
+
|
|
8265
|
+
/**
|
|
8266
|
+
* @description 获取插件运行时数据
|
|
8267
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/setting/get_plugin_execute_data.html
|
|
8268
|
+
* @scope setting#r
|
|
8269
|
+
|
|
8270
|
+
*/
|
|
8271
|
+
getPluginExecuteData(...args) {
|
|
8272
|
+
return this.oAuthRequest.apply(
|
|
8273
|
+
this, [
|
|
8274
|
+
'/auto_tasks/get_plugin_execute_data',
|
|
8275
|
+
'POST',
|
|
8276
|
+
...args
|
|
8277
|
+
]
|
|
8278
|
+
);
|
|
8279
|
+
}
|
|
8280
|
+
|
|
8249
8281
|
|
|
8250
8282
|
}
|
|
8251
8283
|
module.exports.FILE = FILE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapd/tapd-node-sdk",
|
|
3
|
-
"version": "1.47.1-alpha.
|
|
3
|
+
"version": "1.47.1-alpha.3",
|
|
4
4
|
"description": "node sdk for open tapd ",
|
|
5
5
|
"main": "node-sdk/src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"directories": {
|
|
45
45
|
"test": "test"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "0dbfe5b028087e0335b2b8d538e0a92bbf0d9b95"
|
|
48
48
|
}
|