files.com 1.2.369 → 1.2.371
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/README.md +1 -0
- package/_VERSION +1 -1
- package/docs/Errors.md +1 -0
- package/docs/models/Bundle.md +1 -1
- package/docs/models/RemoteServer.md +7 -0
- package/lib/Errors.js +361 -349
- package/lib/Files.js +1 -1
- package/lib/models/Bundle.js +1 -1
- package/lib/models/RemoteServer.js +152 -131
- package/package.json +1 -1
- package/src/Errors.js +1 -0
- package/src/Files.js +1 -1
- package/src/models/Bundle.js +1 -1
- package/src/models/RemoteServer.js +17 -0
package/README.md
CHANGED
|
@@ -712,6 +712,7 @@ Error
|
|
|
712
712
|
| `ProcessingFailure_AlreadyCompletedError`| `ProcessingFailureError` |
|
|
713
713
|
| `ProcessingFailure_AutomationCannotBeRunManuallyError`| `ProcessingFailureError` |
|
|
714
714
|
| `ProcessingFailure_BehaviorNotAllowedOnRemoteServerError`| `ProcessingFailureError` |
|
|
715
|
+
| `ProcessingFailure_BufferedUploadDisabledForThisDestinationError`| `ProcessingFailureError` |
|
|
715
716
|
| `ProcessingFailure_BundleOnlyAllowsPreviewsError`| `ProcessingFailureError` |
|
|
716
717
|
| `ProcessingFailure_BundleOperationRequiresSubfolderError`| `ProcessingFailureError` |
|
|
717
718
|
| `ProcessingFailure_CouldNotCreateParentError`| `ProcessingFailureError` |
|
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.371
|
package/docs/Errors.md
CHANGED
|
@@ -166,6 +166,7 @@ These errors are derived from the error groups listed above.
|
|
|
166
166
|
### ProcessingFailure_AlreadyCompletedError
|
|
167
167
|
### ProcessingFailure_AutomationCannotBeRunManuallyError
|
|
168
168
|
### ProcessingFailure_BehaviorNotAllowedOnRemoteServerError
|
|
169
|
+
### ProcessingFailure_BufferedUploadDisabledForThisDestinationError
|
|
169
170
|
### ProcessingFailure_BundleOnlyAllowsPreviewsError
|
|
170
171
|
### ProcessingFailure_BundleOperationRequiresSubfolderError
|
|
171
172
|
### ProcessingFailure_CouldNotCreateParentError
|
package/docs/models/Bundle.md
CHANGED
|
@@ -152,7 +152,7 @@ await Bundle.list({
|
|
|
152
152
|
* `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.
|
|
153
153
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
154
154
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
155
|
-
* `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,
|
|
155
|
+
* `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 ]`.
|
|
156
156
|
* `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`.
|
|
157
157
|
* `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`.
|
|
158
158
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"hostname": "remote-server.com",
|
|
11
11
|
"remote_home_path": "/home/user1",
|
|
12
12
|
"name": "My Remote server",
|
|
13
|
+
"description": "More information or notes about my server",
|
|
13
14
|
"port": 1,
|
|
14
15
|
"buffer_uploads": "example",
|
|
15
16
|
"max_connections": 1,
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
* `hostname` (string): Hostname or IP address
|
|
70
71
|
* `remote_home_path` (string): Initial home folder on remote server
|
|
71
72
|
* `name` (string): Internal name for your reference
|
|
73
|
+
* `description` (string): Internal description for your reference
|
|
72
74
|
* `port` (int64): Port for remote server. Not needed for S3.
|
|
73
75
|
* `buffer_uploads` (string): If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
|
|
74
76
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
|
@@ -203,6 +205,7 @@ await RemoteServer.create({
|
|
|
203
205
|
'cloudflare_access_key': "example",
|
|
204
206
|
'cloudflare_bucket': "my-bucket",
|
|
205
207
|
'cloudflare_endpoint': "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
208
|
+
'description': "More information or notes about my server",
|
|
206
209
|
'dropbox_teams': true,
|
|
207
210
|
'enable_dedicated_ips': true,
|
|
208
211
|
'filebase_access_key': "example",
|
|
@@ -275,6 +278,7 @@ await RemoteServer.create({
|
|
|
275
278
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
276
279
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
277
280
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
281
|
+
* `description` (string): Internal description for your reference
|
|
278
282
|
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
279
283
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
280
284
|
* `filebase_access_key` (string): Filebase: Access Key.
|
|
@@ -401,6 +405,7 @@ await remote_server.update({
|
|
|
401
405
|
'cloudflare_access_key': "example",
|
|
402
406
|
'cloudflare_bucket': "my-bucket",
|
|
403
407
|
'cloudflare_endpoint': "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
408
|
+
'description': "More information or notes about my server",
|
|
404
409
|
'dropbox_teams': true,
|
|
405
410
|
'enable_dedicated_ips': true,
|
|
406
411
|
'filebase_access_key': "example",
|
|
@@ -473,6 +478,7 @@ await remote_server.update({
|
|
|
473
478
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
474
479
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
475
480
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
481
|
+
* `description` (string): Internal description for your reference
|
|
476
482
|
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
477
483
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
478
484
|
* `filebase_access_key` (string): Filebase: Access Key.
|
|
@@ -517,6 +523,7 @@ await remote_server.update({
|
|
|
517
523
|
"hostname": "remote-server.com",
|
|
518
524
|
"remote_home_path": "/home/user1",
|
|
519
525
|
"name": "My Remote server",
|
|
526
|
+
"description": "More information or notes about my server",
|
|
520
527
|
"port": 1,
|
|
521
528
|
"buffer_uploads": "example",
|
|
522
529
|
"max_connections": 1,
|