files.com 1.1.499 → 1.1.500

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3922a37fd626cabfb43ab4a73a5e94356b261990d951b22681bdc0625a79ef1
4
- data.tar.gz: b064acb8f57a4beb85cae845fbeef86ca76ff6c1e73171835fe806549b7d7dda
3
+ metadata.gz: d14b7fda81f70d725a9adaa9d8c8d43425f6aab6091744280a5e5872456551ab
4
+ data.tar.gz: 3150b03eebb796b167d4c9546ca71bbb9fd60587305d1a185131a7ecd3be966b
5
5
  SHA512:
6
- metadata.gz: d51ea6bcbfc1ce81f6f46c229717850c2df8867196793795ebefecf91fc7569f8e21b670885700032533e00bdff4dfa9b7e956e7e975ed3ada8cab7d335b63ea
7
- data.tar.gz: 16dea8c5405ce839372581e6db12ef367b99a7f19d3a8fc3eedf109620e9553592fbbbc61cb793e34d1bccf43d627ffbff0c054ab1a902bb9f70929cfea97fd1
6
+ metadata.gz: a8ff42a225dcaf167f60ea449bd45320932dd962b30f48a73939970b8eee24b9903f2ae250fcee6d43e987448b7baafdbc44c504e2c855b1fbea0232663e37ce
7
+ data.tar.gz: d2e4f190cc865b9352676c0cd2d7fe1b6583259f68e2e355ab3a0e28386743318940e7884a5f91d2c9804c547021ec7c68c4ff2d9cb51a9123cd4e08a5434a51
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.499
1
+ 1.1.500
@@ -54,7 +54,7 @@ Files::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
 
@@ -9,6 +9,7 @@
9
9
  "authentication_method": "password",
10
10
  "hostname": "remote-server.com",
11
11
  "remote_home_path": "/home/user1",
12
+ "upload_staging_path": "/tmp/uploads",
12
13
  "name": "My Remote server",
13
14
  "description": "More information or notes about my server",
14
15
  "port": 1,
@@ -70,11 +71,12 @@
70
71
  }
71
72
  ```
72
73
 
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
76
77
  * `hostname` (string): Hostname or IP address
77
78
  * `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.
78
80
  * `name` (string): Internal name for your reference
79
81
  * `description` (string): Internal description for your reference
80
82
  * `port` (int64): Port for remote server.
@@ -239,6 +241,7 @@ Files::RemoteServer.create(
239
241
  one_drive_account_type: "personal",
240
242
  pin_to_site_region: true,
241
243
  port: 1,
244
+ upload_staging_path: "/tmp/uploads",
242
245
  remote_server_credential_id: 1,
243
246
  s3_bucket: "my-bucket",
244
247
  s3_compatible_access_key: "example",
@@ -314,6 +317,7 @@ Files::RemoteServer.create(
314
317
  * `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
315
318
  * `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.
316
319
  * `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.
317
321
  * `remote_server_credential_id` (int64): ID of Remote Server Credential, if applicable.
318
322
  * `s3_bucket` (string): S3 bucket name
319
323
  * `s3_compatible_access_key` (string): S3-compatible: Access Key
@@ -423,6 +427,7 @@ Files::RemoteServer.update(id,
423
427
  one_drive_account_type: "personal",
424
428
  pin_to_site_region: true,
425
429
  port: 1,
430
+ upload_staging_path: "/tmp/uploads",
426
431
  remote_server_credential_id: 1,
427
432
  s3_bucket: "my-bucket",
428
433
  s3_compatible_access_key: "example",
@@ -498,6 +503,7 @@ Files::RemoteServer.update(id,
498
503
  * `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
499
504
  * `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.
500
505
  * `port` (int64): Port for remote server.
506
+ * `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.
501
507
  * `remote_server_credential_id` (int64): ID of Remote Server Credential, if applicable.
502
508
  * `s3_bucket` (string): S3 bucket name
503
509
  * `s3_compatible_access_key` (string): S3-compatible: Access Key
@@ -625,6 +631,7 @@ remote_server.update(
625
631
  one_drive_account_type: "personal",
626
632
  pin_to_site_region: true,
627
633
  port: 1,
634
+ upload_staging_path: "/tmp/uploads",
628
635
  remote_server_credential_id: 1,
629
636
  s3_bucket: "my-bucket",
630
637
  s3_compatible_access_key: "example",
@@ -700,6 +707,7 @@ remote_server.update(
700
707
  * `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
701
708
  * `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.
702
709
  * `port` (int64): Port for remote server.
710
+ * `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.
703
711
  * `remote_server_credential_id` (int64): ID of Remote Server Credential, if applicable.
704
712
  * `s3_bucket` (string): S3 bucket name
705
713
  * `s3_compatible_access_key` (string): S3-compatible: Access Key
@@ -84,7 +84,7 @@ module Files
84
84
  # 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.
85
85
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
86
86
  # 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`.
87
- # 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 ]`.
87
+ # 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 ]`.
88
88
  # automation_id (required) - int64 - ID of the associated Automation.
89
89
  def self.list(params = {}, options = {})
90
90
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
@@ -9,7 +9,7 @@ module Files
9
9
  @options = options || {}
10
10
  end
11
11
 
12
- # int64 - Remote server ID
12
+ # int64 - Remote Server ID
13
13
  def id
14
14
  @attributes[:id]
15
15
  end
@@ -18,7 +18,7 @@ module Files
18
18
  @attributes[:id] = value
19
19
  end
20
20
 
21
- # boolean - If true, this server has been disabled due to failures. Make any change or set disabled to false to clear this flag.
21
+ # boolean - If true, this Remote Server has been disabled due to failures. Make any change or set disabled to false to clear this flag.
22
22
  def disabled
23
23
  @attributes[:disabled]
24
24
  end
@@ -27,7 +27,7 @@ module Files
27
27
  @attributes[:disabled] = value
28
28
  end
29
29
 
30
- # string - Type of authentication method
30
+ # string - Type of authentication method to use
31
31
  def authentication_method
32
32
  @attributes[:authentication_method]
33
33
  end
@@ -54,6 +54,15 @@ module Files
54
54
  @attributes[:remote_home_path] = value
55
55
  end
56
56
 
57
+ # 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.
58
+ def upload_staging_path
59
+ @attributes[:upload_staging_path]
60
+ end
61
+
62
+ def upload_staging_path=(value)
63
+ @attributes[:upload_staging_path] = value
64
+ end
65
+
57
66
  # string - Internal name for your reference
58
67
  def name
59
68
  @attributes[:name]
@@ -848,6 +857,7 @@ module Files
848
857
  # one_drive_account_type - string - OneDrive: Either personal or business_other account types
849
858
  # 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.
850
859
  # port - int64 - Port for remote server.
860
+ # 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.
851
861
  # remote_server_credential_id - int64 - ID of Remote Server Credential, if applicable.
852
862
  # s3_bucket - string - S3 bucket name
853
863
  # s3_compatible_access_key - string - S3-compatible: Access Key
@@ -917,6 +927,7 @@ module Files
917
927
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
918
928
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
919
929
  raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
930
+ raise InvalidParameterError.new("Bad parameter: upload_staging_path must be an String") if params[:upload_staging_path] and !params[:upload_staging_path].is_a?(String)
920
931
  raise InvalidParameterError.new("Bad parameter: remote_server_credential_id must be an Integer") if params[:remote_server_credential_id] and !params[:remote_server_credential_id].is_a?(Integer)
921
932
  raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params[:s3_bucket] and !params[:s3_bucket].is_a?(String)
922
933
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
@@ -1068,6 +1079,7 @@ module Files
1068
1079
  # one_drive_account_type - string - OneDrive: Either personal or business_other account types
1069
1080
  # 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.
1070
1081
  # port - int64 - Port for remote server.
1082
+ # 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.
1071
1083
  # remote_server_credential_id - int64 - ID of Remote Server Credential, if applicable.
1072
1084
  # s3_bucket - string - S3 bucket name
1073
1085
  # s3_compatible_access_key - string - S3-compatible: Access Key
@@ -1134,6 +1146,7 @@ module Files
1134
1146
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
1135
1147
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
1136
1148
  raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
1149
+ raise InvalidParameterError.new("Bad parameter: upload_staging_path must be an String") if params[:upload_staging_path] and !params[:upload_staging_path].is_a?(String)
1137
1150
  raise InvalidParameterError.new("Bad parameter: remote_server_credential_id must be an Integer") if params[:remote_server_credential_id] and !params[:remote_server_credential_id].is_a?(Integer)
1138
1151
  raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params[:s3_bucket] and !params[:s3_bucket].is_a?(String)
1139
1152
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
@@ -1256,6 +1269,7 @@ module Files
1256
1269
  # one_drive_account_type - string - OneDrive: Either personal or business_other account types
1257
1270
  # 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.
1258
1271
  # port - int64 - Port for remote server.
1272
+ # 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.
1259
1273
  # remote_server_credential_id - int64 - ID of Remote Server Credential, if applicable.
1260
1274
  # s3_bucket - string - S3 bucket name
1261
1275
  # s3_compatible_access_key - string - S3-compatible: Access Key
@@ -1324,6 +1338,7 @@ module Files
1324
1338
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
1325
1339
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
1326
1340
  raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
1341
+ raise InvalidParameterError.new("Bad parameter: upload_staging_path must be an String") if params[:upload_staging_path] and !params[:upload_staging_path].is_a?(String)
1327
1342
  raise InvalidParameterError.new("Bad parameter: remote_server_credential_id must be an Integer") if params[:remote_server_credential_id] and !params[:remote_server_credential_id].is_a?(Integer)
1328
1343
  raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params[:s3_bucket] and !params[:s3_bucket].is_a?(String)
1329
1344
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.499"
4
+ VERSION = "1.1.500"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.499
4
+ version: 1.1.500
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-15 00:00:00.000000000 Z
11
+ date: 2026-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable