files.com 1.1.680 → 1.1.681

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: a3ed7783348dc256c9b8494234c6aa30ef8ebb741823ef5b448c73a8914a08a2
4
- data.tar.gz: 518d591f6f1058bfaf127a7780d7510a5702019288d9f155ecca8155f4ac9c53
3
+ metadata.gz: c9c833a143a8391a44ebde9b88e149f7d231ecc18fcd2f4a3044b76494e55ff1
4
+ data.tar.gz: 2e262c76502adb4d6523427d1c7cce881bb5c07775ccbc0e4b44d06b89473d48
5
5
  SHA512:
6
- metadata.gz: 100499f45577b4cfa4c24bf8c8624709fe65c96628aeca54026d8b660af6bd776da5978feb054f2825fbb73d1b5b87f85cd06e8269d1eb766dface24d8de774f
7
- data.tar.gz: 95413d3720645e247e3f686bf29b28c0e7aaf364d9390eb109fcc40bd1fe4223a1ee08d8902970cf9f13a872ded2ce81073c6181eca0c8279b66edc3cb9ad805
6
+ metadata.gz: 016bf4fe6fbc5d50b77775ecc437637bb63dbedd13a7412d4b2fc75459b685b91caa624540eb66830b0cf9fb208384e5afbca6e6226f8cb430bc3385d648bdf0
7
+ data.tar.gz: 2aa8a0bfd3146849efb5fd6269f8fa3711c18ffc39c405b50dd4a6edd7b81d72d3c375cbe985a75df871b37e786542ec2a3eee4eb24786fc917a9a50b7fa8483
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.680
1
+ 1.1.681
data/docs/automation.md CHANGED
@@ -176,6 +176,15 @@ Files::Automation.find(id)
176
176
  * `id` (int64): Required - Automation ID.
177
177
 
178
178
 
179
+ ---
180
+
181
+ ## Show the Automation v2 authoring schema and active node catalog
182
+
183
+ ```
184
+ Files::Automation.get_authoring_schema
185
+ ```
186
+
187
+
179
188
  ---
180
189
 
181
190
  ## Create Automation
@@ -0,0 +1,15 @@
1
+ # AutomationAuthoringSchema
2
+
3
+ ## Example AutomationAuthoringSchema Object
4
+
5
+ ```
6
+ {
7
+ "definition_schema": "example",
8
+ "nodes": [
9
+ "example"
10
+ ]
11
+ }
12
+ ```
13
+
14
+ * `definition_schema` (object): JSON Schema for active Automation v2 graph definitions.
15
+ * `nodes` (array(object)): Active Automation v2 node authoring metadata.
@@ -546,6 +546,11 @@ module Files
546
546
  find(id, params, options)
547
547
  end
548
548
 
549
+ def self.get_authoring_schema(params = {}, options = {})
550
+ response, options = Api.send_request("/automations/authoring_schema", :get, params, options)
551
+ AutomationAuthoringSchema.new(response.data, options)
552
+ end
553
+
549
554
  # Parameters:
550
555
  # source - string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
551
556
  # destinations - array(string) - A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Files
4
+ class AutomationAuthoringSchema
5
+ attr_reader :options, :attributes
6
+
7
+ def initialize(attributes = {}, options = {})
8
+ @attributes = attributes || {}
9
+ @options = options || {}
10
+ end
11
+
12
+ # object - JSON Schema for active Automation v2 graph definitions.
13
+ def definition_schema
14
+ @attributes[:definition_schema]
15
+ end
16
+
17
+ # array(object) - Active Automation v2 node authoring metadata.
18
+ def nodes
19
+ @attributes[:nodes]
20
+ end
21
+ end
22
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.680"
4
+ VERSION = "1.1.681"
5
5
  end
data/lib/files.com.rb CHANGED
@@ -49,6 +49,7 @@ require "files.com/models/as2_partner"
49
49
  require "files.com/models/as2_station"
50
50
  require "files.com/models/auto"
51
51
  require "files.com/models/automation"
52
+ require "files.com/models/automation_authoring_schema"
52
53
  require "files.com/models/automation_log"
53
54
  require "files.com/models/automation_run"
54
55
  require "files.com/models/bandwidth_snapshot"
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.680
4
+ version: 1.1.681
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-07-13 00:00:00.000000000 Z
11
+ date: 2026-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -187,6 +187,7 @@ files:
187
187
  - docs/as2_station.md
188
188
  - docs/auto.md
189
189
  - docs/automation.md
190
+ - docs/automation_authoring_schema.md
190
191
  - docs/automation_log.md
191
192
  - docs/automation_run.md
192
193
  - docs/bandwidth_snapshot.md
@@ -334,6 +335,7 @@ files:
334
335
  - lib/files.com/models/as2_station.rb
335
336
  - lib/files.com/models/auto.rb
336
337
  - lib/files.com/models/automation.rb
338
+ - lib/files.com/models/automation_authoring_schema.rb
337
339
  - lib/files.com/models/automation_log.rb
338
340
  - lib/files.com/models/automation_run.rb
339
341
  - lib/files.com/models/bandwidth_snapshot.rb