@tapd/tapd-node-sdk 1.59.0 → 1.60.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.
@@ -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.60.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": "73f1850240cb1fb387965997dcab13dc994aefa6"
47
+ "gitHead": "b1a42a4e2ae2eca55f6088356fab8a05a80ea678"
48
48
  }