Skip to content

Commit 3b93b50

Browse files
[Bot] push changes from Files.com
1 parent 312b800 commit 3b93b50

10 files changed

Lines changed: 134 additions & 89 deletions

File tree

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.502
1+
1.2.503

docs/models/AutomationRun.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ await AutomationRun.list({
5454
* `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.
5555
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
5656
* `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 `[ workspace_id, status ]`, `[ 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 `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
5858
* `automation_id` (int64): Required - ID of the associated Automation.
5959

6060
---

docs/models/RemoteServer.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"authentication_method": "password",
1010
"hostname": "remote-server.com",
1111
"remote_home_path": "/home/user1",
12+
"upload_staging_path": "/tmp/uploads",
1213
"name": "My Remote server",
1314
"description": "More information or notes about my server",
1415
"port": 1,
@@ -70,11 +71,12 @@
7071
}
7172
```
7273

73-
* `id` (int64): Remote server ID
74-
* `disabled` (boolean): If true, this server has been disabled due to failures. Make any change or set disabled to false to clear this flag.
75-
* `authentication_method` (string): Type of authentication method
74+
* `id` (int64): Remote Server ID
75+
* `disabled` (boolean): If true, this Remote Server has been disabled due to failures. Make any change or set disabled to false to clear this flag.
76+
* `authentication_method` (string): Type of authentication method to use
7677
* `hostname` (string): Hostname or IP address
7778
* `remote_home_path` (string): Initial home folder on remote server
79+
* `upload_staging_path` (string): Upload staging path. Applies to SFTP only. If a path is provided here, files will first be uploaded to this path on the remote folder and the moved into the final correct path via an SFTP move command. This is required by some remote MFT systems to emulate atomic uploads, which are otherwise not supoprted by SFTP.
7880
* `name` (string): Internal name for your reference
7981
* `description` (string): Internal description for your reference
8082
* `port` (int64): Port for remote server.
@@ -238,6 +240,7 @@ await RemoteServer.create({
238240
'one_drive_account_type': "personal",
239241
'pin_to_site_region': true,
240242
'port': 1,
243+
'upload_staging_path': "/tmp/uploads",
241244
'remote_server_credential_id': 1,
242245
's3_bucket': "my-bucket",
243246
's3_compatible_access_key': "example",
@@ -314,6 +317,7 @@ await RemoteServer.create({
314317
* `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
315318
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
316319
* `port` (int64): Port for remote server.
320+
* `upload_staging_path` (string): Upload staging path. Applies to SFTP only. If a path is provided here, files will first be uploaded to this path on the remote folder and the moved into the final correct path via an SFTP move command. This is required by some remote MFT systems to emulate atomic uploads, which are otherwise not supoprted by SFTP.
317321
* `remote_server_credential_id` (int64): ID of Remote Server Credential, if applicable.
318322
* `s3_bucket` (string): S3 bucket name
319323
* `s3_compatible_access_key` (string): S3-compatible: Access Key
@@ -471,6 +475,7 @@ await remote_server.update({
471475
'one_drive_account_type': "personal",
472476
'pin_to_site_region': true,
473477
'port': 1,
478+
'upload_staging_path': "/tmp/uploads",
474479
'remote_server_credential_id': 1,
475480
's3_bucket': "my-bucket",
476481
's3_compatible_access_key': "example",
@@ -546,6 +551,7 @@ await remote_server.update({
546551
* `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
547552
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
548553
* `port` (int64): Port for remote server.
554+
* `upload_staging_path` (string): Upload staging path. Applies to SFTP only. If a path is provided here, files will first be uploaded to this path on the remote folder and the moved into the final correct path via an SFTP move command. This is required by some remote MFT systems to emulate atomic uploads, which are otherwise not supoprted by SFTP.
549555
* `remote_server_credential_id` (int64): ID of Remote Server Credential, if applicable.
550556
* `s3_bucket` (string): S3 bucket name
551557
* `s3_compatible_access_key` (string): S3-compatible: Access Key
@@ -571,6 +577,7 @@ await remote_server.update({
571577
"authentication_method": "password",
572578
"hostname": "remote-server.com",
573579
"remote_home_path": "/home/user1",
580+
"upload_staging_path": "/tmp/uploads",
574581
"name": "My Remote server",
575582
"description": "More information or notes about my server",
576583
"port": 1,

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.502';
15+
var version = '1.2.503';
1616
var userAgent = "Files.com JavaScript SDK v".concat(version);
1717
var logLevel = _Logger.LogLevel.INFO;
1818
var debugRequest = false;

lib/models/AutomationRun.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ _AutomationRun = AutomationRun;
107107
// 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.
108108
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
109109
// 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 `[ workspace_id, status ]`, `[ 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 `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
111111
// automation_id (required) - int64 - ID of the associated Automation.
112112
(0, _defineProperty2.default)(AutomationRun, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
113113
var _response$data;

0 commit comments

Comments
 (0)