@tapd/tapd-node-sdk 1.59.0 → 1.59.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 +17 -0
- package/package.json +2 -2
package/node-sdk/src/index.js
CHANGED
|
@@ -8609,6 +8609,23 @@ module.exports = class API extends SDK {
|
|
|
8609
8609
|
);
|
|
8610
8610
|
}
|
|
8611
8611
|
|
|
8612
|
+
/**
|
|
8613
|
+
* @description 获取项目部门id
|
|
8614
|
+
* @link o.tapd.tencent.com/document/api-doc/API%E6%96%87%E6%A1%A3/api_reference/workspace/get_workspace_dept_id.html
|
|
8615
|
+
* @scope workspace#r
|
|
8616
|
+
|
|
8617
|
+
* @params - {integer} workspace_id 项目ID
|
|
8618
|
+
*/
|
|
8619
|
+
getWorkspaceDeptId(...args) {
|
|
8620
|
+
return this.oAuthRequest.apply(
|
|
8621
|
+
this, [
|
|
8622
|
+
'/workspaces/get_workspace_dept_id',
|
|
8623
|
+
'GET',
|
|
8624
|
+
...args
|
|
8625
|
+
]
|
|
8626
|
+
);
|
|
8627
|
+
}
|
|
8628
|
+
|
|
8612
8629
|
|
|
8613
8630
|
}
|
|
8614
8631
|
module.exports.FILE = FILE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapd/tapd-node-sdk",
|
|
3
|
-
"version": "1.59.0",
|
|
3
|
+
"version": "1.59.1-alpha.0",
|
|
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": "fd7b5718afdf7a2b4c0cd365d97e981046e4347f"
|
|
48
48
|
}
|