seafile-js 0.2.229 → 0.2.230
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/lib/seafile-api.js +12 -4
- package/package.json +1 -1
- package/lib/seafile-api-0.js +0 -4684
package/lib/seafile-api.js
CHANGED
|
@@ -131,8 +131,6 @@ var SeafileAPI = /*#__PURE__*/function () {
|
|
|
131
131
|
var url = this.server + '/api2/account/info/';
|
|
132
132
|
return this.req.get(url);
|
|
133
133
|
}
|
|
134
|
-
|
|
135
|
-
//---- Group operation
|
|
136
134
|
}, {
|
|
137
135
|
key: "listDepartments",
|
|
138
136
|
value: function listDepartments() {
|
|
@@ -2014,8 +2012,6 @@ var SeafileAPI = /*#__PURE__*/function () {
|
|
|
2014
2012
|
var url = this.server + '/api/v2.1/ai/task-status/?task_id=' + taskId;
|
|
2015
2013
|
return this.req.get(url);
|
|
2016
2014
|
}
|
|
2017
|
-
|
|
2018
|
-
// single org admin api
|
|
2019
2015
|
}, {
|
|
2020
2016
|
key: "orgAdminGetOrgInfo",
|
|
2021
2017
|
value: function orgAdminGetOrgInfo() {
|
|
@@ -2349,6 +2345,12 @@ var SeafileAPI = /*#__PURE__*/function () {
|
|
|
2349
2345
|
var url = this.server + '/api/v2.1/org/' + orgID + '/admin/groups/' + groupID + '/';
|
|
2350
2346
|
return this.req["delete"](url);
|
|
2351
2347
|
}
|
|
2348
|
+
}, {
|
|
2349
|
+
key: "orgAdminListDepartments",
|
|
2350
|
+
value: function orgAdminListDepartments(orgID) {
|
|
2351
|
+
var url = this.server + '/api/v2.1/org/' + orgID + '/admin/departments/';
|
|
2352
|
+
return this.req.get(url);
|
|
2353
|
+
}
|
|
2352
2354
|
}, {
|
|
2353
2355
|
key: "orgAdminListOrgRepos",
|
|
2354
2356
|
value: function orgAdminListOrgRepos(orgID, page, orderBy) {
|
|
@@ -4373,6 +4375,12 @@ var SeafileAPI = /*#__PURE__*/function () {
|
|
|
4373
4375
|
var url = this.server + '/api/v2.1/admin/institutions/' + institutionID + '/users/' + encodeURIComponent(email) + '/';
|
|
4374
4376
|
return this.req["delete"](url);
|
|
4375
4377
|
}
|
|
4378
|
+
}, {
|
|
4379
|
+
key: "sysAdminListDepartments",
|
|
4380
|
+
value: function sysAdminListDepartments() {
|
|
4381
|
+
var url = this.server + '/api/v2.1/admin/departments/';
|
|
4382
|
+
return this.req.get(url);
|
|
4383
|
+
}
|
|
4376
4384
|
}, {
|
|
4377
4385
|
key: "sysAdminListTermsAndConditions",
|
|
4378
4386
|
value: function sysAdminListTermsAndConditions() {
|