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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0acf3ca829b1f589c4215997d54340fdd629d1c6c2dd1d0721867177ffd7ad19
4
- data.tar.gz: d0aa06a6630c68a3c4f3dcb00113887626e797cd0ea58818566d57fdef0fbb66
3
+ metadata.gz: 96d662ce2e9a678c8cdf460d004d04f7fc252533bc815064bcda9da4b449a666
4
+ data.tar.gz: 51b66a5f5c5b1dd748a666b66b65b4fd43a46b1f926eb5ad5f65e8e5b1a2088d
5
5
  SHA512:
6
- metadata.gz: b1f03566c17c5599b8642c7c6d2267cfd5d9809e4f55b2d88222a53a654f1ccbd54fb5bc6e349fd0e6b3462f21a124946cfb22ec43d399c1b8330cb6a85b664d
7
- data.tar.gz: aea8520b418b619f5660eafb44e2745b42a0c4506afc3d2ec4f24368c8a4d95615b18a0475b771816b62262bbcecae1ca5a3f131cbd19811e8cf59c6aefcd28e
6
+ metadata.gz: 83b915157bb622c3ae50b21d2f52299c998d441c5e661d42f381bda15947acf73feab29701d2d3889bb35885d94cdf52ab6d367e2c6e46b106de56e6ee9d29b8
7
+ data.tar.gz: 50899c311cbdc45799e647a27d3de203960551a6b3c44da7b6c5b1d3f34e3d638ed54f2ec1ec4d59b374b58774a047132f273fc334ca2fc803df810d950802fe
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.702
1
+ 1.1.704
@@ -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. v2 Automations require Site or Workspace Admin permission
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. v2 Automations require Site or Workspace Admin permission
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` (int64): Exavault API 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
@@ -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
@@ -69,6 +69,11 @@ module Files
69
69
  @attributes[:as2_from]
70
70
  end
71
71
 
72
+ # string - AS2 Subject
73
+ def as2_subject
74
+ @attributes[:as2_subject]
75
+ end
76
+
72
77
  # string - Date Header
73
78
  def date
74
79
  @attributes[:date]
@@ -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. v2 Automations require Site or Workspace Admin permission
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. v2 Automations require Site or Workspace Admin permission
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.
@@ -19,7 +19,7 @@ module Files
19
19
  @attributes[:endpoint]
20
20
  end
21
21
 
22
- # int64 - Exavault API Version
22
+ # double - Exavault API Version
23
23
  def version
24
24
  @attributes[:version]
25
25
  end
@@ -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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.702"
4
+ VERSION = "1.1.704"
5
5
  end
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.702
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-04 00:00:00.000000000 Z
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