@tapd/tapd-node-sdk 1.47.1-alpha.1 → 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 +49 -0
- package/package.json +2 -2
package/node-sdk/src/index.js
CHANGED
|
@@ -7996,6 +7996,23 @@ module.exports = class API extends SDK {
|
|
|
7996
7996
|
);
|
|
7997
7997
|
}
|
|
7998
7998
|
|
|
7999
|
+
/**
|
|
8000
|
+
* @description 删除组织架构
|
|
8001
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/org/remove_all_organization.html
|
|
8002
|
+
* @scope org#w
|
|
8003
|
+
|
|
8004
|
+
* @params - {integer} workspace_id 项目ID
|
|
8005
|
+
*/
|
|
8006
|
+
removeAllOrganization(...args) {
|
|
8007
|
+
return this.oAuthRequest.apply(
|
|
8008
|
+
this, [
|
|
8009
|
+
'/organizations/remove_all',
|
|
8010
|
+
'POST',
|
|
8011
|
+
...args
|
|
8012
|
+
]
|
|
8013
|
+
);
|
|
8014
|
+
}
|
|
8015
|
+
|
|
7999
8016
|
/**
|
|
8000
8017
|
* @description 更新角色信息
|
|
8001
8018
|
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/user/update_role.html
|
|
@@ -8229,6 +8246,38 @@ module.exports = class API extends SDK {
|
|
|
8229
8246
|
);
|
|
8230
8247
|
}
|
|
8231
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
|
+
|
|
8232
8281
|
|
|
8233
8282
|
}
|
|
8234
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
|
}
|