@tapd/tapd-node-sdk 1.54.0 → 1.54.1-alpha.1
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 +33 -0
- package/package.json +2 -2
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
|
|
@@ -8480,6 +8496,23 @@ module.exports = class API extends SDK {
|
|
|
8480
8496
|
);
|
|
8481
8497
|
}
|
|
8482
8498
|
|
|
8499
|
+
/**
|
|
8500
|
+
* @description 获取子项目信息及子项目数量
|
|
8501
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/workspace/sub_workspaces_with_children_count.html
|
|
8502
|
+
* @scope workspace#r
|
|
8503
|
+
|
|
8504
|
+
* @params - {integer} parent_id 父项目ID
|
|
8505
|
+
*/
|
|
8506
|
+
subWorkspacesWithChildrenCount(...args) {
|
|
8507
|
+
return this.oAuthRequest.apply(
|
|
8508
|
+
this, [
|
|
8509
|
+
'/workspaces/sub_workspaces_with_children_count',
|
|
8510
|
+
'GET',
|
|
8511
|
+
...args
|
|
8512
|
+
]
|
|
8513
|
+
);
|
|
8514
|
+
}
|
|
8515
|
+
|
|
8483
8516
|
|
|
8484
8517
|
}
|
|
8485
8518
|
module.exports.FILE = FILE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapd/tapd-node-sdk",
|
|
3
|
-
"version": "1.54.
|
|
3
|
+
"version": "1.54.1-alpha.1",
|
|
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": "666738793f3835f91d4ce72f90145972f8d31bdd"
|
|
48
48
|
}
|