files.com 1.1.702 → 1.1.704
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 +4 -4
- data/_VERSION +1 -1
- data/docs/agent_node.md +27 -0
- data/docs/as2_outgoing_message.md +2 -0
- data/docs/automation.md +2 -2
- data/docs/exavault_api_request_log.md +2 -2
- data/docs/remote_server.md +28 -0
- data/docs/remote_server_configuration_file.md +2 -0
- data/lib/files.com/models/agent_node.rb +57 -0
- data/lib/files.com/models/as2_outgoing_message.rb +5 -0
- data/lib/files.com/models/automation.rb +2 -2
- data/lib/files.com/models/exavault_api_request_log.rb +1 -1
- data/lib/files.com/models/remote_server.rb +22 -0
- data/lib/files.com/models/remote_server_configuration_file.rb +5 -0
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96d662ce2e9a678c8cdf460d004d04f7fc252533bc815064bcda9da4b449a666
|
|
4
|
+
data.tar.gz: 51b66a5f5c5b1dd748a666b66b65b4fd43a46b1f926eb5ad5f65e8e5b1a2088d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83b915157bb622c3ae50b21d2f52299c998d441c5e661d42f381bda15947acf73feab29701d2d3889bb35885d94cdf52ab6d367e2c6e46b106de56e6ee9d29b8
|
|
7
|
+
data.tar.gz: 50899c311cbdc45799e647a27d3de203960551a6b3c44da7b6c5b1d3f34e3d638ed54f2ec1ec4d59b374b58774a047132f273fc334ca2fc803df810d950802fe
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.704
|
data/docs/agent_node.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# AgentNode
|
|
2
|
+
|
|
3
|
+
## Example AgentNode Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"node_id": "example",
|
|
8
|
+
"name": "example",
|
|
9
|
+
"hostname": "example",
|
|
10
|
+
"availability_role": "example",
|
|
11
|
+
"connection_status": "example",
|
|
12
|
+
"is_default": true,
|
|
13
|
+
"agent_version": "example",
|
|
14
|
+
"direct_transfer_available": true,
|
|
15
|
+
"last_seen_at": "2000-01-01T01:00:00Z"
|
|
16
|
+
}
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
* `node_id` (string): Stable Agent installation ID
|
|
20
|
+
* `name` (string): Customer-configured Agent node name
|
|
21
|
+
* `hostname` (string): Hostname reported by the Agent
|
|
22
|
+
* `availability_role` (string): Configured traffic preference
|
|
23
|
+
* `connection_status` (string): Whether this node is currently available for traffic
|
|
24
|
+
* `is_default` (boolean): Whether this node is the current default route for new unscoped work
|
|
25
|
+
* `agent_version` (string): Agent version reported by this node
|
|
26
|
+
* `direct_transfer_available` (boolean): Whether the proxy recently validated a direct connection to this Agent node. False means direct transfers are enabled but not currently available; null means disabled or unsupported.
|
|
27
|
+
* `last_seen_at` (date-time): Most recent successful node observation
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"mic_sha_256": "example",
|
|
19
19
|
"as2_to": "example",
|
|
20
20
|
"as2_from": "example",
|
|
21
|
+
"as2_subject": "example",
|
|
21
22
|
"date": "example",
|
|
22
23
|
"message_id": "example",
|
|
23
24
|
"body_size": "example",
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
* `mic_sha_256` (string): AS2 Message Integrity Check SHA256
|
|
55
56
|
* `as2_to` (string): AS2 TO
|
|
56
57
|
* `as2_from` (string): AS2 FROM
|
|
58
|
+
* `as2_subject` (string): AS2 Subject
|
|
57
59
|
* `date` (string): Date Header
|
|
58
60
|
* `message_id` (string): AS2 Message Id
|
|
59
61
|
* `body_size` (string): Encrypted Payload Body Size
|
data/docs/automation.md
CHANGED
|
@@ -283,7 +283,7 @@ Files::Automation.upgrade(id)
|
|
|
283
283
|
|
|
284
284
|
---
|
|
285
285
|
|
|
286
|
-
## Manually Run Automation
|
|
286
|
+
## Manually Run Automation
|
|
287
287
|
|
|
288
288
|
```
|
|
289
289
|
Files::Automation.manual_run(id,
|
|
@@ -407,7 +407,7 @@ automation.upgrade
|
|
|
407
407
|
|
|
408
408
|
---
|
|
409
409
|
|
|
410
|
-
## Manually Run Automation
|
|
410
|
+
## Manually Run Automation
|
|
411
411
|
|
|
412
412
|
```
|
|
413
413
|
automation = Files::Automation.find(id)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{
|
|
7
7
|
"timestamp": "2000-01-01T01:00:00Z",
|
|
8
8
|
"endpoint": "example",
|
|
9
|
-
"version": 1,
|
|
9
|
+
"version": 1.0,
|
|
10
10
|
"request_ip": "example",
|
|
11
11
|
"request_method": "example",
|
|
12
12
|
"error_type": "example",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
* `timestamp` (date-time): Start Time of Action. Deprecrated: Use created_at.
|
|
23
23
|
* `endpoint` (string): Name of API Endpoint
|
|
24
|
-
* `version` (
|
|
24
|
+
* `version` (double): Exavault API Version
|
|
25
25
|
* `request_ip` (string): IP of requesting client
|
|
26
26
|
* `request_method` (string): HTTP Method
|
|
27
27
|
* `error_type` (string): Error type, if applicable
|
data/docs/remote_server.md
CHANGED
|
@@ -221,6 +221,19 @@ Files::RemoteServer.find(id)
|
|
|
221
221
|
* `id` (int64): Required - Remote Server ID.
|
|
222
222
|
|
|
223
223
|
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## List Files.com Agent nodes
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
Files::RemoteServer.agent_nodes(id)
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Parameters
|
|
233
|
+
|
|
234
|
+
* `id` (int64): Required - Remote Server ID.
|
|
235
|
+
|
|
236
|
+
|
|
224
237
|
---
|
|
225
238
|
|
|
226
239
|
## Download configuration file (required for some Remote Server integrations, such as the Files.com Agent)
|
|
@@ -613,6 +626,21 @@ Files::RemoteServer.delete(id)
|
|
|
613
626
|
* `id` (int64): Required - Remote Server ID.
|
|
614
627
|
|
|
615
628
|
|
|
629
|
+
---
|
|
630
|
+
|
|
631
|
+
## List Files.com Agent nodes
|
|
632
|
+
|
|
633
|
+
```
|
|
634
|
+
remote_server = Files::RemoteServer.find(id)
|
|
635
|
+
|
|
636
|
+
remote_server.agent_nodes
|
|
637
|
+
```
|
|
638
|
+
|
|
639
|
+
### Parameters
|
|
640
|
+
|
|
641
|
+
* `id` (int64): Required - Remote Server ID.
|
|
642
|
+
|
|
643
|
+
|
|
616
644
|
---
|
|
617
645
|
|
|
618
646
|
## Push update to Files Agent
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"private_key": "example",
|
|
10
10
|
"subdomain": "example",
|
|
11
11
|
"root": "C:\\Users\\",
|
|
12
|
+
"node_name": "example",
|
|
12
13
|
"follow_links": true,
|
|
13
14
|
"prefer_protocol": "example",
|
|
14
15
|
"dns": "example",
|
|
@@ -37,6 +38,7 @@
|
|
|
37
38
|
* `private_key` (string): The private key for the agent
|
|
38
39
|
* `subdomain` (string): Files.com subdomain site name
|
|
39
40
|
* `root` (string): The root directory for the agent
|
|
41
|
+
* `node_name` (string): Optional customer-facing name for this Agent installation
|
|
40
42
|
* `follow_links` (boolean): Follow symlinks when traversing directories
|
|
41
43
|
* `prefer_protocol` (string): Preferred network protocol ['udp', 'tcp'] (default udp)
|
|
42
44
|
* `dns` (string): DNS lookup method ['auto','doh','system'] (default auto)
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Files
|
|
4
|
+
class AgentNode
|
|
5
|
+
attr_reader :options, :attributes
|
|
6
|
+
|
|
7
|
+
def initialize(attributes = {}, options = {})
|
|
8
|
+
@attributes = attributes || {}
|
|
9
|
+
@options = options || {}
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
# string - Stable Agent installation ID
|
|
13
|
+
def node_id
|
|
14
|
+
@attributes[:node_id]
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# string - Customer-configured Agent node name
|
|
18
|
+
def name
|
|
19
|
+
@attributes[:name]
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# string - Hostname reported by the Agent
|
|
23
|
+
def hostname
|
|
24
|
+
@attributes[:hostname]
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# string - Configured traffic preference
|
|
28
|
+
def availability_role
|
|
29
|
+
@attributes[:availability_role]
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# string - Whether this node is currently available for traffic
|
|
33
|
+
def connection_status
|
|
34
|
+
@attributes[:connection_status]
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# boolean - Whether this node is the current default route for new unscoped work
|
|
38
|
+
def is_default
|
|
39
|
+
@attributes[:is_default]
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# string - Agent version reported by this node
|
|
43
|
+
def agent_version
|
|
44
|
+
@attributes[:agent_version]
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# boolean - Whether the proxy recently validated a direct connection to this Agent node. False means direct transfers are enabled but not currently available; null means disabled or unsupported.
|
|
48
|
+
def direct_transfer_available
|
|
49
|
+
@attributes[:direct_transfer_available]
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# date-time - Most recent successful node observation
|
|
53
|
+
def last_seen_at
|
|
54
|
+
@attributes[:last_seen_at]
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
@@ -416,7 +416,7 @@ module Files
|
|
|
416
416
|
Api.send_request("/automations/#{@attributes[:id]}/upgrade", :post, params, @options)
|
|
417
417
|
end
|
|
418
418
|
|
|
419
|
-
# Manually Run Automation
|
|
419
|
+
# Manually Run Automation
|
|
420
420
|
#
|
|
421
421
|
# Parameters:
|
|
422
422
|
# items - array(object) - Initial items for a v2 manual trigger. Each item contains exactly one `file` path or `data` object.
|
|
@@ -655,7 +655,7 @@ module Files
|
|
|
655
655
|
Automation.new(response.data, options)
|
|
656
656
|
end
|
|
657
657
|
|
|
658
|
-
# Manually Run Automation
|
|
658
|
+
# Manually Run Automation
|
|
659
659
|
#
|
|
660
660
|
# Parameters:
|
|
661
661
|
# items - array(object) - Initial items for a v2 manual trigger. Each item contains exactly one `file` path or `data` object.
|
|
@@ -918,6 +918,17 @@ module Files
|
|
|
918
918
|
@attributes[:files_api_key] = value
|
|
919
919
|
end
|
|
920
920
|
|
|
921
|
+
# List Files.com Agent nodes
|
|
922
|
+
def agent_nodes(params = {})
|
|
923
|
+
params ||= {}
|
|
924
|
+
params[:id] = @attributes[:id]
|
|
925
|
+
raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
|
|
926
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
927
|
+
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
928
|
+
|
|
929
|
+
Api.send_request("/remote_servers/#{@attributes[:id]}/agent_nodes", :get, params, @options)
|
|
930
|
+
end
|
|
931
|
+
|
|
921
932
|
# Push update to Files Agent
|
|
922
933
|
def agent_push_update(params = {})
|
|
923
934
|
params ||= {}
|
|
@@ -1198,6 +1209,17 @@ module Files
|
|
|
1198
1209
|
find(id, params, options)
|
|
1199
1210
|
end
|
|
1200
1211
|
|
|
1212
|
+
# List Files.com Agent nodes
|
|
1213
|
+
def self.agent_nodes(id, params = {}, options = {})
|
|
1214
|
+
params ||= {}
|
|
1215
|
+
params[:id] = id
|
|
1216
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
|
|
1217
|
+
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
|
1218
|
+
|
|
1219
|
+
response, options = Api.send_request("/remote_servers/#{params[:id]}/agent_nodes", :get, params, options)
|
|
1220
|
+
AgentNode.new(response.data, options)
|
|
1221
|
+
end
|
|
1222
|
+
|
|
1201
1223
|
# Parameters:
|
|
1202
1224
|
# id (required) - int64 - Remote Server ID.
|
|
1203
1225
|
def self.find_configuration_file(id, params = {}, options = {})
|
|
@@ -34,6 +34,11 @@ module Files
|
|
|
34
34
|
@attributes[:root]
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
# string - Optional customer-facing name for this Agent installation
|
|
38
|
+
def node_name
|
|
39
|
+
@attributes[:node_name]
|
|
40
|
+
end
|
|
41
|
+
|
|
37
42
|
# boolean - Follow symlinks when traversing directories
|
|
38
43
|
def follow_links
|
|
39
44
|
@attributes[:follow_links]
|
data/lib/files.com/version.rb
CHANGED
data/lib/files.com.rb
CHANGED
|
@@ -37,6 +37,7 @@ require "files.com/models/action"
|
|
|
37
37
|
require "files.com/models/action_log"
|
|
38
38
|
require "files.com/models/action_notification_export"
|
|
39
39
|
require "files.com/models/action_notification_export_result"
|
|
40
|
+
require "files.com/models/agent_node"
|
|
40
41
|
require "files.com/models/agent_push_update"
|
|
41
42
|
require "files.com/models/ai_assistant_personality"
|
|
42
43
|
require "files.com/models/ai_task"
|
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.
|
|
4
|
+
version: 1.1.704
|
|
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-08-
|
|
11
|
+
date: 2026-08-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|
|
@@ -175,6 +175,7 @@ files:
|
|
|
175
175
|
- docs/action_log.md
|
|
176
176
|
- docs/action_notification_export.md
|
|
177
177
|
- docs/action_notification_export_result.md
|
|
178
|
+
- docs/agent_node.md
|
|
178
179
|
- docs/agent_push_update.md
|
|
179
180
|
- docs/ai_assistant_personality.md
|
|
180
181
|
- docs/ai_task.md
|
|
@@ -327,6 +328,7 @@ files:
|
|
|
327
328
|
- lib/files.com/models/action_log.rb
|
|
328
329
|
- lib/files.com/models/action_notification_export.rb
|
|
329
330
|
- lib/files.com/models/action_notification_export_result.rb
|
|
331
|
+
- lib/files.com/models/agent_node.rb
|
|
330
332
|
- lib/files.com/models/agent_push_update.rb
|
|
331
333
|
- lib/files.com/models/ai_assistant_personality.rb
|
|
332
334
|
- lib/files.com/models/ai_task.rb
|