files.com 1.2.533 → 1.2.535
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/AccountLineItem.md +4 -4
- package/docs/models/AutomationRun.md +1 -1
- package/docs/models/BandwidthSnapshot.md +7 -7
- package/docs/models/Bundle.md +1 -1
- package/docs/models/Invoice.md +4 -4
- package/docs/models/InvoiceLineItem.md +1 -1
- package/docs/models/Payment.md +4 -4
- package/docs/models/PaymentLineItem.md +1 -1
- package/docs/models/RemoteBandwidthSnapshot.md +2 -2
- package/docs/models/RemoteMountBackend.md +8 -8
- package/docs/models/Site.md +1 -1
- package/docs/models/UsageDailySnapshot.md +4 -4
- package/docs/models/UsageSnapshot.md +10 -10
- package/lib/Files.js +1 -1
- package/lib/models/AutomationRun.js +1 -1
- package/lib/models/Bundle.js +1 -1
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/AutomationRun.js +1 -1
- package/src/models/Bundle.js +1 -1
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.535
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
7
|
"id": 1,
|
|
8
|
-
"amount": 1.0,
|
|
9
|
-
"balance": 1.0,
|
|
8
|
+
"amount": "1.0",
|
|
9
|
+
"balance": "1.0",
|
|
10
10
|
"created_at": "2000-01-01T01:00:00Z",
|
|
11
11
|
"currency": "USD",
|
|
12
12
|
"download_uri": "https://url...",
|
|
13
13
|
"invoice_line_items": [
|
|
14
14
|
{
|
|
15
15
|
"id": 1,
|
|
16
|
-
"amount": 1.0,
|
|
16
|
+
"amount": "1.0",
|
|
17
17
|
"created_at": "2000-01-01T01:00:00Z",
|
|
18
18
|
"description": "Service from 2019-01-01 through 2019-12-31",
|
|
19
19
|
"type": "invoice",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"method": "paypal",
|
|
31
31
|
"payment_line_items": [
|
|
32
32
|
{
|
|
33
|
-
"amount": 1.0,
|
|
33
|
+
"amount": "1.0",
|
|
34
34
|
"created_at": "2000-01-01T01:00:00Z",
|
|
35
35
|
"invoice_id": 1,
|
|
36
36
|
"payment_id": 1
|
|
@@ -54,7 +54,7 @@ await AutomationRun.list({
|
|
|
54
54
|
* `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.
|
|
55
55
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
56
56
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
|
|
57
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
|
|
57
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
|
|
58
58
|
* `automation_id` (int64): Required - ID of the associated Automation.
|
|
59
59
|
|
|
60
60
|
---
|
|
@@ -5,13 +5,13 @@
|
|
|
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.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",
|
|
15
15
|
"logged_at": "2000-01-01T01:00:00Z"
|
|
16
16
|
}
|
|
17
17
|
```
|
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`.
|
package/docs/models/Invoice.md
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
7
|
"id": 1,
|
|
8
|
-
"amount": 1.0,
|
|
9
|
-
"balance": 1.0,
|
|
8
|
+
"amount": "1.0",
|
|
9
|
+
"balance": "1.0",
|
|
10
10
|
"created_at": "2000-01-01T01:00:00Z",
|
|
11
11
|
"currency": "USD",
|
|
12
12
|
"download_uri": "https://url...",
|
|
13
13
|
"invoice_line_items": [
|
|
14
14
|
{
|
|
15
15
|
"id": 1,
|
|
16
|
-
"amount": 1.0,
|
|
16
|
+
"amount": "1.0",
|
|
17
17
|
"created_at": "2000-01-01T01:00:00Z",
|
|
18
18
|
"description": "Service from 2019-01-01 through 2019-12-31",
|
|
19
19
|
"type": "invoice",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"method": "paypal",
|
|
31
31
|
"payment_line_items": [
|
|
32
32
|
{
|
|
33
|
-
"amount": 1.0,
|
|
33
|
+
"amount": "1.0",
|
|
34
34
|
"created_at": "2000-01-01T01:00:00Z",
|
|
35
35
|
"invoice_id": 1,
|
|
36
36
|
"payment_id": 1
|
package/docs/models/Payment.md
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
7
|
"id": 1,
|
|
8
|
-
"amount": 1.0,
|
|
9
|
-
"balance": 1.0,
|
|
8
|
+
"amount": "1.0",
|
|
9
|
+
"balance": "1.0",
|
|
10
10
|
"created_at": "2000-01-01T01:00:00Z",
|
|
11
11
|
"currency": "USD",
|
|
12
12
|
"download_uri": "https://url...",
|
|
13
13
|
"invoice_line_items": [
|
|
14
14
|
{
|
|
15
15
|
"id": 1,
|
|
16
|
-
"amount": 1.0,
|
|
16
|
+
"amount": "1.0",
|
|
17
17
|
"created_at": "2000-01-01T01:00:00Z",
|
|
18
18
|
"description": "Service from 2019-01-01 through 2019-12-31",
|
|
19
19
|
"type": "invoice",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"method": "paypal",
|
|
31
31
|
"payment_line_items": [
|
|
32
32
|
{
|
|
33
|
-
"amount": 1.0,
|
|
33
|
+
"amount": "1.0",
|
|
34
34
|
"created_at": "2000-01-01T01:00:00Z",
|
|
35
35
|
"invoice_id": 1,
|
|
36
36
|
"payment_id": 1
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"health_check_type": "active",
|
|
24
24
|
"id": 1,
|
|
25
25
|
"interval": 60,
|
|
26
|
-
"min_free_cpu": 1.0,
|
|
27
|
-
"min_free_mem": 1.0,
|
|
26
|
+
"min_free_cpu": "1.0",
|
|
27
|
+
"min_free_mem": "1.0",
|
|
28
28
|
"priority": 1,
|
|
29
29
|
"remote_path": "/path/on/remote",
|
|
30
30
|
"remote_server_id": 1,
|
|
@@ -92,8 +92,8 @@ await RemoteMountBackend.create({
|
|
|
92
92
|
'health_check_enabled': true,
|
|
93
93
|
'health_check_type': "active",
|
|
94
94
|
'interval': 60,
|
|
95
|
-
'min_free_cpu': 1.0,
|
|
96
|
-
'min_free_mem': 1.0,
|
|
95
|
+
'min_free_cpu': "1.0",
|
|
96
|
+
'min_free_mem': "1.0",
|
|
97
97
|
'priority': 1,
|
|
98
98
|
'remote_path': "/path/on/remote",
|
|
99
99
|
'rise': 1,
|
|
@@ -148,8 +148,8 @@ await remote_mount_backend.update({
|
|
|
148
148
|
'health_check_enabled': true,
|
|
149
149
|
'health_check_type': "active",
|
|
150
150
|
'interval': 60,
|
|
151
|
-
'min_free_cpu': 1.0,
|
|
152
|
-
'min_free_mem': 1.0,
|
|
151
|
+
'min_free_cpu': "1.0",
|
|
152
|
+
'min_free_mem': "1.0",
|
|
153
153
|
'priority': 1,
|
|
154
154
|
'remote_path': "/path/on/remote",
|
|
155
155
|
'rise': 1,
|
|
@@ -197,8 +197,8 @@ await remote_mount_backend.update({
|
|
|
197
197
|
"health_check_type": "active",
|
|
198
198
|
"id": 1,
|
|
199
199
|
"interval": 60,
|
|
200
|
-
"min_free_cpu": 1.0,
|
|
201
|
-
"min_free_mem": 1.0,
|
|
200
|
+
"min_free_cpu": "1.0",
|
|
201
|
+
"min_free_mem": "1.0",
|
|
202
202
|
"priority": 1,
|
|
203
203
|
"remote_path": "/path/on/remote",
|
|
204
204
|
"remote_server_id": 1,
|
package/docs/models/Site.md
CHANGED
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"motd_text": "example",
|
|
136
136
|
"motd_use_for_ftp": true,
|
|
137
137
|
"motd_use_for_sftp": true,
|
|
138
|
-
"next_billing_amount": 1.0,
|
|
138
|
+
"next_billing_amount": "1.0",
|
|
139
139
|
"next_billing_date": "Apr 20",
|
|
140
140
|
"office_integration_available": true,
|
|
141
141
|
"office_integration_type": "example",
|
|
@@ -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": "65536",
|
|
14
|
+
"deleted_files_storage": "65536",
|
|
15
|
+
"deleted_files_counted_in_minimum": "65536",
|
|
16
|
+
"root_storage": "65536",
|
|
17
17
|
"usage_by_top_level_dir": [
|
|
18
18
|
{
|
|
19
19
|
"dir": "dir",
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
"start_at": "2000-01-01T01:00:00Z",
|
|
9
9
|
"end_at": "2000-01-01T01:00:00Z",
|
|
10
10
|
"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.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",
|
|
21
21
|
"usage_by_top_level_dir": [
|
|
22
22
|
{
|
|
23
23
|
"dir": "dir",
|
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.535';
|
|
16
16
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
|
17
17
|
var logLevel = _Logger.LogLevel.INFO;
|
|
18
18
|
var debugRequest = false;
|
|
@@ -107,7 +107,7 @@ _AutomationRun = AutomationRun;
|
|
|
107
107
|
// 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.
|
|
108
108
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
109
109
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
|
|
110
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
|
|
110
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
|
|
111
111
|
// automation_id (required) - int64 - ID of the associated Automation.
|
|
112
112
|
(0, _defineProperty2.default)(AutomationRun, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
113
113
|
var _response$data;
|
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`.
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
|
@@ -75,7 +75,7 @@ class AutomationRun {
|
|
|
75
75
|
// 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.
|
|
76
76
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
77
77
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
|
|
78
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
|
|
78
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
|
|
79
79
|
// automation_id (required) - int64 - ID of the associated Automation.
|
|
80
80
|
static list = async (params = {}, options = {}) => {
|
|
81
81
|
if (!params.automation_id) {
|
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`.
|