files.com 1.0.213 → 1.0.214

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e045daa127987d2f0eb06955dbe9bbc09207311d00cef771bfb1a49a8d967c5a
4
- data.tar.gz: 45db1790ded201753f0a9649a98336f68be1e5b87dffbcff4a09970cbca1b184
3
+ metadata.gz: 682d65badf2f2b5959e33732aea8568c7686419a82b901412e6c2167686d567a
4
+ data.tar.gz: eb56721186431afe8bcd29333fe61ccf4d4ab0812c713e7cb6fab8984237c865
5
5
  SHA512:
6
- metadata.gz: 92fe4d433c889b9e34ec8e0d6de04a3aa37bb69696685255f5d3955e959b60cb2dc9afe9ed484c35d1f1c636393618b754ef4d9802642e976341e4a47c69614c
7
- data.tar.gz: e8d38b379e51963e1b2865dbff139914e1dac9662833b12802ca0f2694d4c637dcba8b32defcee00d543cc3429577878695737bf5c000e4d573b8f3ce1aaa4b2
6
+ metadata.gz: d43bd7d7c0af088126dc40bae4ddb9540f357832503f630ab94908dd2048ef9c79a0282df2ae7d02acdc6ffc2bb5254a8786bad238b48a19db5ee38cb76b3b1b
7
+ data.tar.gz: 4a653db334f7bfb293e13863fdf2159550bd691eb659def6cb751844dc247d9b0f562228e530f22e0eee49725dc9fcdf168fd8df60a650dfa32e04bffe1247e6
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.213
1
+ 1.0.214
@@ -32,4 +32,11 @@ Files::AutomationRun.list(
32
32
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
33
33
  * `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
34
34
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
35
+ * `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `status`.
36
+ * `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `status`.
37
+ * `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `status`.
38
+ * `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `status`.
39
+ * `filter_like` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `status`.
40
+ * `filter_lt` (object): If set, return records where the specifiied field is less than the supplied value. Valid fields are `status`.
41
+ * `filter_lteq` (object): If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `status`.
35
42
  * `automation_id` (int64): Required - ID of the associated Automation.
@@ -28,11 +28,25 @@ module Files
28
28
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
29
29
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
30
30
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
31
+ # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `status`.
32
+ # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `status`.
33
+ # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `status`.
34
+ # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `status`.
35
+ # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `status`.
36
+ # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `status`.
37
+ # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `status`.
31
38
  # automation_id (required) - int64 - ID of the associated Automation.
32
39
  def self.list(params = {}, options = {})
33
40
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
34
41
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
35
42
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
43
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params.dig(:sort_by) and !params.dig(:sort_by).is_a?(Hash)
44
+ raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params.dig(:filter) and !params.dig(:filter).is_a?(Hash)
45
+ raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params.dig(:filter_gt) and !params.dig(:filter_gt).is_a?(Hash)
46
+ raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params.dig(:filter_gteq) and !params.dig(:filter_gteq).is_a?(Hash)
47
+ raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params.dig(:filter_like) and !params.dig(:filter_like).is_a?(Hash)
48
+ raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params.dig(:filter_lt) and !params.dig(:filter_lt).is_a?(Hash)
49
+ raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params.dig(:filter_lteq) and !params.dig(:filter_lteq).is_a?(Hash)
36
50
  raise InvalidParameterError.new("Bad parameter: automation_id must be an Integer") if params.dig(:automation_id) and !params.dig(:automation_id).is_a?(Integer)
37
51
  raise MissingParameterError.new("Parameter missing: automation_id") unless params.dig(:automation_id)
38
52
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.213
4
+ version: 1.0.214
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com