seafile-js 0.2.206 → 0.2.207
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 +11 -0
- package/package.json +1 -1
package/lib/seafile-api.js
CHANGED
|
@@ -526,6 +526,17 @@ var SeafileAPI = /*#__PURE__*/function () {
|
|
|
526
526
|
var url = this.server + '/api/v2.1/share-links/' + token + '/';
|
|
527
527
|
return this.req["delete"](url);
|
|
528
528
|
}
|
|
529
|
+
}, {
|
|
530
|
+
key: "deleteShareLinks",
|
|
531
|
+
value: function deleteShareLinks(tokens) {
|
|
532
|
+
var url = this.server + '/api/v2.1/share-links/';
|
|
533
|
+
var param = {
|
|
534
|
+
tokens: tokens
|
|
535
|
+
};
|
|
536
|
+
return this.req["delete"](url, {
|
|
537
|
+
data: param
|
|
538
|
+
});
|
|
539
|
+
}
|
|
529
540
|
}, {
|
|
530
541
|
key: "cleanInvalidShareLinks",
|
|
531
542
|
value: function cleanInvalidShareLinks() {
|