files.com 1.1.680 → 1.1.682

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: 2c86cae5b00c3655207ca8a4425401eac36bcd0a92db0200cd34d546f490d2df
4
+ data.tar.gz: 9ba89c4e3380e60f347d418849583781c727212f3902b467ee04c05b9979f0f8
5
5
  SHA512:
6
- metadata.gz: 100499f45577b4cfa4c24bf8c8624709fe65c96628aeca54026d8b660af6bd776da5978feb054f2825fbb73d1b5b87f85cd06e8269d1eb766dface24d8de774f
7
- data.tar.gz: 95413d3720645e247e3f686bf29b28c0e7aaf364d9390eb109fcc40bd1fe4223a1ee08d8902970cf9f13a872ded2ce81073c6181eca0c8279b66edc3cb9ad805
6
+ metadata.gz: 54f1251d77ee97cc00f53e0d43df23e2801aa6807a160456967cfcf3df397f2b61faf72888c2b6cdab58852de95bcbc70e51cbd7a7542bc665ef5c2b7480a50f
7
+ data.tar.gz: 6dc7aba8222b3e55812567b362282e3ce3b93bf37ae4077bcef14f1911490288dceb0502df924f4118727ec490a1e2c0cc28cfa00fe5203ea68587243d63dc30
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.680
1
+ 1.1.682
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,19 @@
1
+ # AutomationAuthoringSchema
2
+
3
+ ## Example AutomationAuthoringSchema Object
4
+
5
+ ```
6
+ {
7
+ "definition_schema": "example",
8
+ "error_families": [
9
+ "example"
10
+ ],
11
+ "nodes": [
12
+ "example"
13
+ ]
14
+ }
15
+ ```
16
+
17
+ * `definition_schema` (object): JSON Schema for active Automation v2 graph definitions.
18
+ * `error_families` (array(object)): Typed error families accepted by Automation v2 on_error rules.
19
+ * `nodes` (array(object)): Active Automation v2 node authoring metadata.
data/docs/behavior.md CHANGED
@@ -46,7 +46,7 @@ Files::Behavior.list
46
46
  * `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.
47
47
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
48
48
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
49
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
49
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]` and `[ behavior, remote_server_id ]`.
50
50
 
51
51
 
52
52
  ---
@@ -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,27 @@
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) - Typed error families accepted by Automation v2 on_error rules.
18
+ def error_families
19
+ @attributes[:error_families]
20
+ end
21
+
22
+ # array(object) - Active Automation v2 node authoring metadata.
23
+ def nodes
24
+ @attributes[:nodes]
25
+ end
26
+ end
27
+ end
@@ -167,7 +167,7 @@ module Files
167
167
  # 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.
168
168
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
169
169
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
170
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
170
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]` and `[ behavior, remote_server_id ]`.
171
171
  def self.list(params = {}, options = {})
172
172
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
173
173
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -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.682"
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.682
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