files.com 1.2.18 → 1.2.19
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/_VERSION +1 -1
- package/docs/models/ExternalEvent.md +4 -0
- package/lib/Files.js +1 -1
- package/lib/models/ExternalEvent.js +14 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/ExternalEvent.js +14 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.19
|
@@ -14,6 +14,8 @@
|
|
14
14
|
"successful_files": 1,
|
15
15
|
"errored_files": 1,
|
16
16
|
"bytes_synced": 1,
|
17
|
+
"compared_files": 1,
|
18
|
+
"compared_folders": 1,
|
17
19
|
"remote_server_type": "example"
|
18
20
|
}
|
19
21
|
```
|
@@ -28,6 +30,8 @@
|
|
28
30
|
* `successful_files` (int64): For sync events, the number of files handled successfully.
|
29
31
|
* `errored_files` (int64): For sync events, the number of files that encountered errors.
|
30
32
|
* `bytes_synced` (int64): For sync events, the total number of bytes synced.
|
33
|
+
* `compared_files` (int64): For sync events, the number of files considered for the sync.
|
34
|
+
* `compared_folders` (int64): For sync events, the number of folders listed and considered for the sync.
|
31
35
|
* `remote_server_type` (string): Associated Remote Server type, if any
|
32
36
|
|
33
37
|
---
|
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.19';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
@@ -100,6 +100,20 @@ var ExternalEvent = /*#__PURE__*/(0, _createClass2.default)(function ExternalEve
|
|
100
100
|
(0, _defineProperty2.default)(this, "setBytesSynced", function (value) {
|
101
101
|
_this.attributes.bytes_synced = value;
|
102
102
|
});
|
103
|
+
// int64 # For sync events, the number of files considered for the sync.
|
104
|
+
(0, _defineProperty2.default)(this, "getComparedFiles", function () {
|
105
|
+
return _this.attributes.compared_files;
|
106
|
+
});
|
107
|
+
(0, _defineProperty2.default)(this, "setComparedFiles", function (value) {
|
108
|
+
_this.attributes.compared_files = value;
|
109
|
+
});
|
110
|
+
// int64 # For sync events, the number of folders listed and considered for the sync.
|
111
|
+
(0, _defineProperty2.default)(this, "getComparedFolders", function () {
|
112
|
+
return _this.attributes.compared_folders;
|
113
|
+
});
|
114
|
+
(0, _defineProperty2.default)(this, "setComparedFolders", function (value) {
|
115
|
+
_this.attributes.compared_folders = value;
|
116
|
+
});
|
103
117
|
// string # Associated Remote Server type, if any
|
104
118
|
(0, _defineProperty2.default)(this, "getRemoteServerType", function () {
|
105
119
|
return _this.attributes.remote_server_type;
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
@@ -94,6 +94,20 @@ class ExternalEvent {
|
|
94
94
|
this.attributes.bytes_synced = value
|
95
95
|
}
|
96
96
|
|
97
|
+
// int64 # For sync events, the number of files considered for the sync.
|
98
|
+
getComparedFiles = () => this.attributes.compared_files
|
99
|
+
|
100
|
+
setComparedFiles = value => {
|
101
|
+
this.attributes.compared_files = value
|
102
|
+
}
|
103
|
+
|
104
|
+
// int64 # For sync events, the number of folders listed and considered for the sync.
|
105
|
+
getComparedFolders = () => this.attributes.compared_folders
|
106
|
+
|
107
|
+
setComparedFolders = value => {
|
108
|
+
this.attributes.compared_folders = value
|
109
|
+
}
|
110
|
+
|
97
111
|
// string # Associated Remote Server type, if any
|
98
112
|
getRemoteServerType = () => this.attributes.remote_server_type
|
99
113
|
|