@tapd/tapd-node-sdk 1.47.1-alpha.1 → 1.47.1-alpha.2

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.
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapd/tapd-node-sdk",
3
- "version": "1.47.1-alpha.1",
3
+ "version": "1.47.1-alpha.2",
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": "a797a36c9a601bb4379ddd1d83e1ffcc9819ef08"
47
+ "gitHead": "fee48f9793f5bf410e6e2fc78428838ccb050cba"
48
48
  }