files.com 1.2.539 → 1.2.541
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/Bundle.md +1 -1
- package/docs/models/UsageDailySnapshot.md +8 -8
- package/lib/Files.js +1 -1
- package/lib/models/Bundle.js +1 -1
- package/lib/models/UsageDailySnapshot.js +4 -4
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/Bundle.js +1 -1
- package/src/models/UsageDailySnapshot.js +4 -4
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.541
|
package/docs/models/Bundle.md
CHANGED
|
@@ -154,7 +154,7 @@ await Bundle.list({
|
|
|
154
154
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
155
155
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
156
156
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
157
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
157
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
158
158
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
159
159
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
160
160
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"read_api_usage": 1,
|
|
11
11
|
"write_api_usage": 1,
|
|
12
12
|
"user_count": 1,
|
|
13
|
-
"current_storage":
|
|
14
|
-
"deleted_files_storage":
|
|
15
|
-
"deleted_files_counted_in_minimum":
|
|
16
|
-
"root_storage":
|
|
13
|
+
"current_storage": 1,
|
|
14
|
+
"deleted_files_storage": 1,
|
|
15
|
+
"deleted_files_counted_in_minimum": 1,
|
|
16
|
+
"root_storage": 1,
|
|
17
17
|
"usage_by_top_level_dir": [
|
|
18
18
|
{
|
|
19
19
|
"dir": "dir",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
* `read_api_usage` (int64): Read API Calls used on this day. Note: only updated for days before the current day.
|
|
31
31
|
* `write_api_usage` (int64): Write API Calls used on this day. Note: only updated for days before the current day.
|
|
32
32
|
* `user_count` (int64): Number of billable users as of this day.
|
|
33
|
-
* `current_storage` (
|
|
34
|
-
* `deleted_files_storage` (
|
|
35
|
-
* `deleted_files_counted_in_minimum` (
|
|
36
|
-
* `root_storage` (
|
|
33
|
+
* `current_storage` (int64): GB of Files Native Storage used on this day.
|
|
34
|
+
* `deleted_files_storage` (int64): GB of Files Native Storage used on this day for files that have been deleted and are stored as backups.
|
|
35
|
+
* `deleted_files_counted_in_minimum` (int64): GB of Files Native Storage used on this day for files that have been permanently deleted but were uploaded less than 30 days ago, and are still billable.
|
|
36
|
+
* `root_storage` (int64): GB of Files Native Storage used for the root folder. Included here because this value will not be part of `usage_by_top_level_dir`
|
|
37
37
|
* `usage_by_top_level_dir` (array(object)): Usage broken down by each top-level folder
|
|
38
38
|
|
|
39
39
|
---
|
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.541';
|
|
16
16
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
17
17
|
var logLevel = _Logger.LogLevel.INFO;
|
|
18
18
|
var debugRequest = false;
|
package/lib/models/Bundle.js
CHANGED
|
@@ -699,7 +699,7 @@ _Bundle = Bundle;
|
|
|
699
699
|
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
700
700
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
701
701
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
702
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
702
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
703
703
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
704
704
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
705
705
|
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -56,19 +56,19 @@ var UsageDailySnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageD
|
|
|
56
56
|
(0, _defineProperty2.default)(this, "getUserCount", function () {
|
|
57
57
|
return _this.attributes.user_count;
|
|
58
58
|
});
|
|
59
|
-
//
|
|
59
|
+
// int64 # GB of Files Native Storage used on this day.
|
|
60
60
|
(0, _defineProperty2.default)(this, "getCurrentStorage", function () {
|
|
61
61
|
return _this.attributes.current_storage;
|
|
62
62
|
});
|
|
63
|
-
//
|
|
63
|
+
// int64 # GB of Files Native Storage used on this day for files that have been deleted and are stored as backups.
|
|
64
64
|
(0, _defineProperty2.default)(this, "getDeletedFilesStorage", function () {
|
|
65
65
|
return _this.attributes.deleted_files_storage;
|
|
66
66
|
});
|
|
67
|
-
//
|
|
67
|
+
// int64 # GB of Files Native Storage used on this day for files that have been permanently deleted but were uploaded less than 30 days ago, and are still billable.
|
|
68
68
|
(0, _defineProperty2.default)(this, "getDeletedFilesCountedInMinimum", function () {
|
|
69
69
|
return _this.attributes.deleted_files_counted_in_minimum;
|
|
70
70
|
});
|
|
71
|
-
//
|
|
71
|
+
// int64 # GB of Files Native Storage used for the root folder. Included here because this value will not be part of `usage_by_top_level_dir`
|
|
72
72
|
(0, _defineProperty2.default)(this, "getRootStorage", function () {
|
|
73
73
|
return _this.attributes.root_storage;
|
|
74
74
|
});
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
package/src/models/Bundle.js
CHANGED
|
@@ -556,7 +556,7 @@ class Bundle {
|
|
|
556
556
|
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
557
557
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
558
558
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
559
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id,
|
|
559
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
|
|
560
560
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
561
561
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
562
562
|
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -46,16 +46,16 @@ class UsageDailySnapshot {
|
|
|
46
46
|
// int64 # Number of billable users as of this day.
|
|
47
47
|
getUserCount = () => this.attributes.user_count
|
|
48
48
|
|
|
49
|
-
//
|
|
49
|
+
// int64 # GB of Files Native Storage used on this day.
|
|
50
50
|
getCurrentStorage = () => this.attributes.current_storage
|
|
51
51
|
|
|
52
|
-
//
|
|
52
|
+
// int64 # GB of Files Native Storage used on this day for files that have been deleted and are stored as backups.
|
|
53
53
|
getDeletedFilesStorage = () => this.attributes.deleted_files_storage
|
|
54
54
|
|
|
55
|
-
//
|
|
55
|
+
// int64 # GB of Files Native Storage used on this day for files that have been permanently deleted but were uploaded less than 30 days ago, and are still billable.
|
|
56
56
|
getDeletedFilesCountedInMinimum = () => this.attributes.deleted_files_counted_in_minimum
|
|
57
57
|
|
|
58
|
-
//
|
|
58
|
+
// int64 # GB of Files Native Storage used for the root folder. Included here because this value will not be part of `usage_by_top_level_dir`
|
|
59
59
|
getRootStorage = () => this.attributes.root_storage
|
|
60
60
|
|
|
61
61
|
// array(object) # Usage broken down by each top-level folder
|