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 CHANGED
@@ -1 +1 @@
1
- 1.2.536
1
+ 1.2.538
@@ -5,25 +5,25 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "bytes_received": "1.0",
9
- "bytes_sent": "1.0",
10
- "sync_bytes_received": "1.0",
11
- "sync_bytes_sent": "1.0",
12
- "requests_get": "1.0",
13
- "requests_put": "1.0",
14
- "requests_other": "1.0",
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` (double): Site bandwidth report bytes received
21
- * `bytes_sent` (double): Site bandwidth report bytes sent
22
- * `sync_bytes_received` (double): Site sync bandwidth report bytes received
23
- * `sync_bytes_sent` (double): Site sync bandwidth report bytes sent
24
- * `requests_get` (double): Site bandwidth report get requests
25
- * `requests_put` (double): Site bandwidth report put requests
26
- * `requests_other` (double): Site bandwidth report other requests
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.536';
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
- // double # Site bandwidth report bytes received
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
- // double # Site bandwidth report bytes sent
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
- // double # Site sync bandwidth report bytes received
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
- // double # Site sync bandwidth report bytes sent
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
- // double # Site bandwidth report get requests
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
- // double # Site bandwidth report put requests
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
- // double # Site bandwidth report other requests
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.536",
3
+ "version": "1.2.538",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -6,7 +6,7 @@ let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
8
  let language = null
9
- const version = '1.2.536'
9
+ const version = '1.2.538'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO
@@ -31,25 +31,25 @@ class BandwidthSnapshot {
31
31
  // int64 # Site bandwidth ID
32
32
  getId = () => this.attributes.id
33
33
 
34
- // double # Site bandwidth report bytes received
34
+ // int64 # Site bandwidth report bytes received
35
35
  getBytesReceived = () => this.attributes.bytes_received
36
36
 
37
- // double # Site bandwidth report bytes sent
37
+ // int64 # Site bandwidth report bytes sent
38
38
  getBytesSent = () => this.attributes.bytes_sent
39
39
 
40
- // double # Site sync bandwidth report bytes received
40
+ // int64 # Site sync bandwidth report bytes received
41
41
  getSyncBytesReceived = () => this.attributes.sync_bytes_received
42
42
 
43
- // double # Site sync bandwidth report bytes sent
43
+ // int64 # Site sync bandwidth report bytes sent
44
44
  getSyncBytesSent = () => this.attributes.sync_bytes_sent
45
45
 
46
- // double # Site bandwidth report get requests
46
+ // int64 # Site bandwidth report get requests
47
47
  getRequestsGet = () => this.attributes.requests_get
48
48
 
49
- // double # Site bandwidth report put requests
49
+ // int64 # Site bandwidth report put requests
50
50
  getRequestsPut = () => this.attributes.requests_put
51
51
 
52
- // double # Site bandwidth report other requests
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