files.com 1.2.536 → 1.2.538
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/BandwidthSnapshot.md +14 -14
- package/lib/Files.js +1 -1
- package/lib/models/BandwidthSnapshot.js +7 -7
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/BandwidthSnapshot.js +7 -7
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.538
|
|
@@ -5,25 +5,25 @@
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
7
|
"id": 1,
|
|
8
|
-
"bytes_received":
|
|
9
|
-
"bytes_sent":
|
|
10
|
-
"sync_bytes_received":
|
|
11
|
-
"sync_bytes_sent":
|
|
12
|
-
"requests_get":
|
|
13
|
-
"requests_put":
|
|
14
|
-
"requests_other":
|
|
8
|
+
"bytes_received": 1,
|
|
9
|
+
"bytes_sent": 1,
|
|
10
|
+
"sync_bytes_received": 1,
|
|
11
|
+
"sync_bytes_sent": 1,
|
|
12
|
+
"requests_get": 1,
|
|
13
|
+
"requests_put": 1,
|
|
14
|
+
"requests_other": 1,
|
|
15
15
|
"logged_at": "2000-01-01T01:00:00Z"
|
|
16
16
|
}
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
* `id` (int64): Site bandwidth ID
|
|
20
|
-
* `bytes_received` (
|
|
21
|
-
* `bytes_sent` (
|
|
22
|
-
* `sync_bytes_received` (
|
|
23
|
-
* `sync_bytes_sent` (
|
|
24
|
-
* `requests_get` (
|
|
25
|
-
* `requests_put` (
|
|
26
|
-
* `requests_other` (
|
|
20
|
+
* `bytes_received` (int64): Site bandwidth report bytes received
|
|
21
|
+
* `bytes_sent` (int64): Site bandwidth report bytes sent
|
|
22
|
+
* `sync_bytes_received` (int64): Site sync bandwidth report bytes received
|
|
23
|
+
* `sync_bytes_sent` (int64): Site sync bandwidth report bytes sent
|
|
24
|
+
* `requests_get` (int64): Site bandwidth report get requests
|
|
25
|
+
* `requests_put` (int64): Site bandwidth report put requests
|
|
26
|
+
* `requests_other` (int64): Site bandwidth report other requests
|
|
27
27
|
* `logged_at` (date-time): Time the site bandwidth report was logged
|
|
28
28
|
|
|
29
29
|
---
|
package/lib/Files.js
CHANGED
|
@@ -12,7 +12,7 @@ var apiKey;
|
|
|
12
12
|
var baseUrl = 'https://app.files.com';
|
|
13
13
|
var sessionId = null;
|
|
14
14
|
var language = null;
|
|
15
|
-
var version = '1.2.
|
|
15
|
+
var version = '1.2.538';
|
|
16
16
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
17
17
|
var logLevel = _Logger.LogLevel.INFO;
|
|
18
18
|
var debugRequest = false;
|
|
@@ -36,31 +36,31 @@ var BandwidthSnapshot = /*#__PURE__*/(0, _createClass2.default)(function Bandwid
|
|
|
36
36
|
(0, _defineProperty2.default)(this, "getId", function () {
|
|
37
37
|
return _this.attributes.id;
|
|
38
38
|
});
|
|
39
|
-
//
|
|
39
|
+
// int64 # Site bandwidth report bytes received
|
|
40
40
|
(0, _defineProperty2.default)(this, "getBytesReceived", function () {
|
|
41
41
|
return _this.attributes.bytes_received;
|
|
42
42
|
});
|
|
43
|
-
//
|
|
43
|
+
// int64 # Site bandwidth report bytes sent
|
|
44
44
|
(0, _defineProperty2.default)(this, "getBytesSent", function () {
|
|
45
45
|
return _this.attributes.bytes_sent;
|
|
46
46
|
});
|
|
47
|
-
//
|
|
47
|
+
// int64 # Site sync bandwidth report bytes received
|
|
48
48
|
(0, _defineProperty2.default)(this, "getSyncBytesReceived", function () {
|
|
49
49
|
return _this.attributes.sync_bytes_received;
|
|
50
50
|
});
|
|
51
|
-
//
|
|
51
|
+
// int64 # Site sync bandwidth report bytes sent
|
|
52
52
|
(0, _defineProperty2.default)(this, "getSyncBytesSent", function () {
|
|
53
53
|
return _this.attributes.sync_bytes_sent;
|
|
54
54
|
});
|
|
55
|
-
//
|
|
55
|
+
// int64 # Site bandwidth report get requests
|
|
56
56
|
(0, _defineProperty2.default)(this, "getRequestsGet", function () {
|
|
57
57
|
return _this.attributes.requests_get;
|
|
58
58
|
});
|
|
59
|
-
//
|
|
59
|
+
// int64 # Site bandwidth report put requests
|
|
60
60
|
(0, _defineProperty2.default)(this, "getRequestsPut", function () {
|
|
61
61
|
return _this.attributes.requests_put;
|
|
62
62
|
});
|
|
63
|
-
//
|
|
63
|
+
// int64 # Site bandwidth report other requests
|
|
64
64
|
(0, _defineProperty2.default)(this, "getRequestsOther", function () {
|
|
65
65
|
return _this.attributes.requests_other;
|
|
66
66
|
});
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
|
@@ -31,25 +31,25 @@ class BandwidthSnapshot {
|
|
|
31
31
|
// int64 # Site bandwidth ID
|
|
32
32
|
getId = () => this.attributes.id
|
|
33
33
|
|
|
34
|
-
//
|
|
34
|
+
// int64 # Site bandwidth report bytes received
|
|
35
35
|
getBytesReceived = () => this.attributes.bytes_received
|
|
36
36
|
|
|
37
|
-
//
|
|
37
|
+
// int64 # Site bandwidth report bytes sent
|
|
38
38
|
getBytesSent = () => this.attributes.bytes_sent
|
|
39
39
|
|
|
40
|
-
//
|
|
40
|
+
// int64 # Site sync bandwidth report bytes received
|
|
41
41
|
getSyncBytesReceived = () => this.attributes.sync_bytes_received
|
|
42
42
|
|
|
43
|
-
//
|
|
43
|
+
// int64 # Site sync bandwidth report bytes sent
|
|
44
44
|
getSyncBytesSent = () => this.attributes.sync_bytes_sent
|
|
45
45
|
|
|
46
|
-
//
|
|
46
|
+
// int64 # Site bandwidth report get requests
|
|
47
47
|
getRequestsGet = () => this.attributes.requests_get
|
|
48
48
|
|
|
49
|
-
//
|
|
49
|
+
// int64 # Site bandwidth report put requests
|
|
50
50
|
getRequestsPut = () => this.attributes.requests_put
|
|
51
51
|
|
|
52
|
-
//
|
|
52
|
+
// int64 # Site bandwidth report other requests
|
|
53
53
|
getRequestsOther = () => this.attributes.requests_other
|
|
54
54
|
|
|
55
55
|
// date-time # Time the site bandwidth report was logged
|