files.com 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/File.md +1 -1
- package/docs/models/Folder.md +1 -1
- package/lib/Files.js +1 -1
- package/lib/models/File.js +1 -1
- package/lib/models/Folder.js +1 -1
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/File.js +1 -1
- package/src/models/Folder.js +1 -1
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.3
|
package/docs/models/File.md
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
* `md5` (string): File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
43
43
|
* `mime_type` (string): MIME Type. This is determined by the filename extension and is not stored separately internally.
|
44
44
|
* `region` (string): Region location
|
45
|
-
* `permissions` (string): A short string representing the current user's permissions. Can be `r
|
45
|
+
* `permissions` (string): A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
|
46
46
|
* `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
|
47
47
|
* `is_locked` (boolean): Is this folder locked and unable to be modified?
|
48
48
|
* `download_uri` (string): Link to download file. Provided only in response to a download request.
|
package/docs/models/Folder.md
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
* `md5` (string): File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
43
43
|
* `mime_type` (string): MIME Type. This is determined by the filename extension and is not stored separately internally.
|
44
44
|
* `region` (string): Region location
|
45
|
-
* `permissions` (string): A short string representing the current user's permissions. Can be `r
|
45
|
+
* `permissions` (string): A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
|
46
46
|
* `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
|
47
47
|
* `is_locked` (boolean): Is this folder locked and unable to be modified?
|
48
48
|
* `download_uri` (string): Link to download file. Provided only in response to a download request.
|
package/lib/Files.js
CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
|
|
11
11
|
var apiKey;
|
12
12
|
var baseUrl = 'https://app.files.com';
|
13
13
|
var sessionId = null;
|
14
|
-
var version = '1.2.
|
14
|
+
var version = '1.2.3';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
package/lib/models/File.js
CHANGED
@@ -239,7 +239,7 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
239
239
|
(0, _defineProperty2.default)(this, "setRegion", function (value) {
|
240
240
|
_this.attributes.region = value;
|
241
241
|
});
|
242
|
-
// string # A short string representing the current user's permissions. Can be `r
|
242
|
+
// string # A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
|
243
243
|
(0, _defineProperty2.default)(this, "getPermissions", function () {
|
244
244
|
return _this.attributes.permissions;
|
245
245
|
});
|
package/lib/models/Folder.js
CHANGED
@@ -105,7 +105,7 @@ var Folder = /*#__PURE__*/(0, _createClass2.default)(function Folder() {
|
|
105
105
|
(0, _defineProperty2.default)(this, "setRegion", function (value) {
|
106
106
|
_this.attributes.region = value;
|
107
107
|
});
|
108
|
-
// string # A short string representing the current user's permissions. Can be `r
|
108
|
+
// string # A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
|
109
109
|
(0, _defineProperty2.default)(this, "getPermissions", function () {
|
110
110
|
return _this.attributes.permissions;
|
111
111
|
});
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
package/src/models/File.js
CHANGED
@@ -382,7 +382,7 @@ class File {
|
|
382
382
|
this.attributes.region = value
|
383
383
|
}
|
384
384
|
|
385
|
-
// string # A short string representing the current user's permissions. Can be `r
|
385
|
+
// string # A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
|
386
386
|
getPermissions = () => this.attributes.permissions
|
387
387
|
|
388
388
|
setPermissions = value => {
|
package/src/models/Folder.js
CHANGED
@@ -101,7 +101,7 @@ class Folder {
|
|
101
101
|
this.attributes.region = value
|
102
102
|
}
|
103
103
|
|
104
|
-
// string # A short string representing the current user's permissions. Can be `r
|
104
|
+
// string # A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
|
105
105
|
getPermissions = () => this.attributes.permissions
|
106
106
|
|
107
107
|
setPermissions = value => {
|