@tapd/tapd-node-sdk 1.53.1 → 1.54.1-alpha.0
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 -5
package/node-sdk/src/index.js
CHANGED
|
@@ -7974,6 +7974,22 @@ module.exports = class API extends SDK {
|
|
|
7974
7974
|
);
|
|
7975
7975
|
}
|
|
7976
7976
|
|
|
7977
|
+
/**
|
|
7978
|
+
* @description 获取项目关联第三方应用信息
|
|
7979
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/workspace/relate_third_projects.html
|
|
7980
|
+
* @scope workspace#r
|
|
7981
|
+
|
|
7982
|
+
*/
|
|
7983
|
+
relateThirdProjects(...args) {
|
|
7984
|
+
return this.oAuthRequest.apply(
|
|
7985
|
+
this, [
|
|
7986
|
+
'/workspaces/relate_third_projects',
|
|
7987
|
+
'GET',
|
|
7988
|
+
...args
|
|
7989
|
+
]
|
|
7990
|
+
);
|
|
7991
|
+
}
|
|
7992
|
+
|
|
7977
7993
|
/**
|
|
7978
7994
|
* @description 获取需求各个分类的数量
|
|
7979
7995
|
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/story/count_story_by_categories.html
|
|
@@ -8416,6 +8432,22 @@ module.exports = class API extends SDK {
|
|
|
8416
8432
|
);
|
|
8417
8433
|
}
|
|
8418
8434
|
|
|
8435
|
+
/**
|
|
8436
|
+
* @description 批量禁用用户
|
|
8437
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/user/batch_disable_user.html
|
|
8438
|
+
* @scope user#w
|
|
8439
|
+
|
|
8440
|
+
*/
|
|
8441
|
+
batchDisableUser(...args) {
|
|
8442
|
+
return this.oAuthRequest.apply(
|
|
8443
|
+
this, [
|
|
8444
|
+
'/users/batch_disable',
|
|
8445
|
+
'POST',
|
|
8446
|
+
...args
|
|
8447
|
+
]
|
|
8448
|
+
);
|
|
8449
|
+
}
|
|
8450
|
+
|
|
8419
8451
|
/**
|
|
8420
8452
|
* @description 批量新建用户
|
|
8421
8453
|
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/user/batch_new_user.html
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapd/tapd-node-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.54.1-alpha.0",
|
|
4
4
|
"description": "node sdk for open tapd ",
|
|
5
5
|
"main": "node-sdk/src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -44,8 +44,5 @@
|
|
|
44
44
|
"directories": {
|
|
45
45
|
"test": "test"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
48
|
-
"publishConfig": {
|
|
49
|
-
"tag": "latest"
|
|
50
|
-
}
|
|
47
|
+
"gitHead": "d189565195dc09a0e5f82355ec15a38965eb52b3"
|
|
51
48
|
}
|