files.com 1.0.343 → 1.0.344

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: c71156389e0b6234b60ed41cfb6a47c63d40733c7510e8ab5fb6aaf9b0994c24
4
- data.tar.gz: 10b5604e99412b84b1011ceea259c14a111c4a5a6196430a4fce201ccbfaa1a8
3
+ metadata.gz: e998a43775abe983b4df5de11fb0710b77851d07597a6c4bc6a3a6b793d134a5
4
+ data.tar.gz: b0a613d4e127e3f74abeb0d5f7f27d10934045f738094f1df5a742960e4ab615
5
5
  SHA512:
6
- metadata.gz: 8a2746cc39fcf8518b8d3e5cdbda82ded80e1f0ac5bf130728c49e708bc4ca856cc2f39826f54c590f4702dd2c13ea991a5d00c08d24156bf673d180565ed1b2
7
- data.tar.gz: d5851ae9f52779f23fd9e04a45ab22e8e890d05a145455cf450395ef8b1aa266a1f10466b6f226d3349e62d84a59aab31d1c50bd44656baf803f4c7a69545244
6
+ metadata.gz: 41ea84db12136eee0a9294684b77e908ca408c99b0931b827e716106676aec34cb79728ee3249408583e88effce42be3ae8290bc01cf8d0ce384cb8a4f873dbe
7
+ data.tar.gz: c96ab2737e8c509b2f44289c69b2d36ff25240c68bdfc8dafd7d6b7f254fc4b34e147ca935da89bcecd8342f1e2eaa0ec5aa4e123c30ce18e08ab49f62b442d6
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.343
1
+ 1.0.344
@@ -38,9 +38,9 @@ Files::AutomationRun.list(
38
38
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
39
39
  * `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.
40
40
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
41
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at` and `status`.
42
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
41
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation_id]=desc`). Valid fields are `automation_id`, `created_at` or `status`.
43
42
  * `automation_id` (int64): Required - ID of the associated Automation.
43
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `automation_id`. Valid field combinations are `[ automation_id, status ]`.
44
44
 
45
45
 
46
46
  ---
@@ -43,16 +43,16 @@ module Files
43
43
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
44
44
  # 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.
45
45
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
46
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at` and `status`.
47
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
46
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation_id]=desc`). Valid fields are `automation_id`, `created_at` or `status`.
48
47
  # automation_id (required) - int64 - ID of the associated Automation.
48
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `automation_id`. Valid field combinations are `[ automation_id, status ]`.
49
49
  def self.list(params = {}, options = {})
50
50
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
51
51
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
52
52
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
53
53
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
54
- raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
55
54
  raise InvalidParameterError.new("Bad parameter: automation_id must be an Integer") if params[:automation_id] and !params[:automation_id].is_a?(Integer)
55
+ raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
56
56
  raise MissingParameterError.new("Parameter missing: automation_id") unless params[:automation_id]
57
57
 
58
58
  List.new(AutomationRun, params) do
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.0.343
4
+ version: 1.0.344
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-25 00:00:00.000000000 Z
11
+ date: 2023-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable