Skip to content

Commit 7be3c14

Browse files
v1.2.539
[Bot] push changes from Files.com
1 parent 10cc434 commit 7be3c14

7 files changed

Lines changed: 44 additions & 44 deletions

File tree

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.538
1+
1.2.539

docs/models/UsageSnapshot.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
"start_at": "2000-01-01T01:00:00Z",
99
"end_at": "2000-01-01T01:00:00Z",
1010
"high_water_user_count": 1,
11-
"current_storage": "1.0",
12-
"high_water_storage": "1.0",
13-
"root_storage": "1.0",
14-
"deleted_files_counted_in_minimum": "1.0",
15-
"deleted_files_storage": "1.0",
16-
"total_billable_usage": "1.0",
17-
"total_billable_transfer_usage": "1.0",
18-
"bytes_sent": "1.0",
19-
"sync_bytes_received": "1.0",
20-
"sync_bytes_sent": "1.0",
11+
"current_storage": 1,
12+
"high_water_storage": 1,
13+
"root_storage": 1,
14+
"deleted_files_counted_in_minimum": 1,
15+
"deleted_files_storage": 1,
16+
"total_billable_usage": 1,
17+
"total_billable_transfer_usage": 1,
18+
"bytes_sent": 1,
19+
"sync_bytes_received": 1,
20+
"sync_bytes_sent": 1,
2121
"usage_by_top_level_dir": [
2222
{
2323
"dir": "dir",
@@ -32,16 +32,16 @@
3232
* `start_at` (date-time): Usage snapshot start date/time
3333
* `end_at` (date-time): Usage snapshot end date/time
3434
* `high_water_user_count` (int64): Highest user count number in time period
35-
* `current_storage` (double): Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
36-
* `high_water_storage` (double): Highest Storage Usage GB recorded in time period (used for billing)
37-
* `root_storage` (double): Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
38-
* `deleted_files_counted_in_minimum` (double): Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
39-
* `deleted_files_storage` (double): Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing)
40-
* `total_billable_usage` (double): Storage + Transfer Usage - Total Billable amount
41-
* `total_billable_transfer_usage` (double): Transfer usage for period - Total Billable amount
42-
* `bytes_sent` (double): Transfer Usage for period - Outbound GB from Files Native Storage
43-
* `sync_bytes_received` (double): Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount)
44-
* `sync_bytes_sent` (double): Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount)
35+
* `current_storage` (int64): Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
36+
* `high_water_storage` (int64): Highest Storage Usage GB recorded in time period (used for billing)
37+
* `root_storage` (int64): Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
38+
* `deleted_files_counted_in_minimum` (int64): Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
39+
* `deleted_files_storage` (int64): Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing)
40+
* `total_billable_usage` (int64): Storage + Transfer Usage - Total Billable amount
41+
* `total_billable_transfer_usage` (int64): Transfer usage for period - Total Billable amount
42+
* `bytes_sent` (int64): Transfer Usage for period - Outbound GB from Files Native Storage
43+
* `sync_bytes_received` (int64): Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount)
44+
* `sync_bytes_sent` (int64): Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount)
4545
* `usage_by_top_level_dir` (array(object)): Storage Usage - map of root folders to their usage as of end date (not necessarily high water mark, which is used for billing)
4646

4747
---

lib/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var apiKey;
1212
var baseUrl = 'https://app.files.com';
1313
var sessionId = null;
1414
var language = null;
15-
var version = '1.2.538';
15+
var version = '1.2.539';
1616
var userAgent = "Files.com JavaScript SDK v".concat(version);
1717
var logLevel = _Logger.LogLevel.INFO;
1818
var debugRequest = false;

lib/models/UsageSnapshot.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,43 +48,43 @@ var UsageSnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageSnapsh
4848
(0, _defineProperty2.default)(this, "getHighWaterUserCount", function () {
4949
return _this.attributes.high_water_user_count;
5050
});
51-
// double # Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
51+
// int64 # Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
5252
(0, _defineProperty2.default)(this, "getCurrentStorage", function () {
5353
return _this.attributes.current_storage;
5454
});
55-
// double # Highest Storage Usage GB recorded in time period (used for billing)
55+
// int64 # Highest Storage Usage GB recorded in time period (used for billing)
5656
(0, _defineProperty2.default)(this, "getHighWaterStorage", function () {
5757
return _this.attributes.high_water_storage;
5858
});
59-
// double # Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
59+
// int64 # Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
6060
(0, _defineProperty2.default)(this, "getRootStorage", function () {
6161
return _this.attributes.root_storage;
6262
});
63-
// double # Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
63+
// int64 # Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
6464
(0, _defineProperty2.default)(this, "getDeletedFilesCountedInMinimum", function () {
6565
return _this.attributes.deleted_files_counted_in_minimum;
6666
});
67-
// double # Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing)
67+
// int64 # Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing)
6868
(0, _defineProperty2.default)(this, "getDeletedFilesStorage", function () {
6969
return _this.attributes.deleted_files_storage;
7070
});
71-
// double # Storage + Transfer Usage - Total Billable amount
71+
// int64 # Storage + Transfer Usage - Total Billable amount
7272
(0, _defineProperty2.default)(this, "getTotalBillableUsage", function () {
7373
return _this.attributes.total_billable_usage;
7474
});
75-
// double # Transfer usage for period - Total Billable amount
75+
// int64 # Transfer usage for period - Total Billable amount
7676
(0, _defineProperty2.default)(this, "getTotalBillableTransferUsage", function () {
7777
return _this.attributes.total_billable_transfer_usage;
7878
});
79-
// double # Transfer Usage for period - Outbound GB from Files Native Storage
79+
// int64 # Transfer Usage for period - Outbound GB from Files Native Storage
8080
(0, _defineProperty2.default)(this, "getBytesSent", function () {
8181
return _this.attributes.bytes_sent;
8282
});
83-
// double # Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount)
83+
// int64 # Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount)
8484
(0, _defineProperty2.default)(this, "getSyncBytesReceived", function () {
8585
return _this.attributes.sync_bytes_received;
8686
});
87-
// double # Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount)
87+
// int64 # Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount)
8888
(0, _defineProperty2.default)(this, "getSyncBytesSent", function () {
8989
return _this.attributes.sync_bytes_sent;
9090
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "files.com",
3-
"version": "1.2.538",
3+
"version": "1.2.539",
44
"description": "Files.com SDK for JavaScript",
55
"keywords": [
66
"files.com",

src/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let apiKey
66
let baseUrl = 'https://app.files.com'
77
let sessionId = null
88
let language = null
9-
const version = '1.2.538'
9+
const version = '1.2.539'
1010
let userAgent = `Files.com JavaScript SDK v${version}`
1111

1212
let logLevel = LogLevel.INFO

src/models/UsageSnapshot.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,34 +40,34 @@ class UsageSnapshot {
4040
// int64 # Highest user count number in time period
4141
getHighWaterUserCount = () => this.attributes.high_water_user_count
4242

43-
// double # Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
43+
// int64 # Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing)
4444
getCurrentStorage = () => this.attributes.current_storage
4545

46-
// double # Highest Storage Usage GB recorded in time period (used for billing)
46+
// int64 # Highest Storage Usage GB recorded in time period (used for billing)
4747
getHighWaterStorage = () => this.attributes.high_water_storage
4848

49-
// double # Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
49+
// int64 # Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing)
5050
getRootStorage = () => this.attributes.root_storage
5151

52-
// double # Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
52+
// int64 # Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing)
5353
getDeletedFilesCountedInMinimum = () => this.attributes.deleted_files_counted_in_minimum
5454

55-
// double # Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing)
55+
// int64 # Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing)
5656
getDeletedFilesStorage = () => this.attributes.deleted_files_storage
5757

58-
// double # Storage + Transfer Usage - Total Billable amount
58+
// int64 # Storage + Transfer Usage - Total Billable amount
5959
getTotalBillableUsage = () => this.attributes.total_billable_usage
6060

61-
// double # Transfer usage for period - Total Billable amount
61+
// int64 # Transfer usage for period - Total Billable amount
6262
getTotalBillableTransferUsage = () => this.attributes.total_billable_transfer_usage
6363

64-
// double # Transfer Usage for period - Outbound GB from Files Native Storage
64+
// int64 # Transfer Usage for period - Outbound GB from Files Native Storage
6565
getBytesSent = () => this.attributes.bytes_sent
6666

67-
// double # Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount)
67+
// int64 # Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount)
6868
getSyncBytesReceived = () => this.attributes.sync_bytes_received
6969

70-
// double # Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount)
70+
// int64 # Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount)
7171
getSyncBytesSent = () => this.attributes.sync_bytes_sent
7272

7373
// array(object) # Storage Usage - map of root folders to their usage as of end date (not necessarily high water mark, which is used for billing)

0 commit comments

Comments
 (0)