files.com 1.1.69 → 1.1.70

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: 9e258145ec94fae9a99f20b7e095335c046030ce03ec514ccca1837ac5e4edf0
4
- data.tar.gz: fd32e8e9aafa0123daee4e225139a75056beae0ca7a6b1174abb84b8dfff48ed
3
+ metadata.gz: 57e368d88766eb036faa68c4b64ba5e83e80d820734d70e8944a1b617bb55dc5
4
+ data.tar.gz: a4a70f2606513729e530a02d5c4363f3cbb404450f5cc210ca84636c7d5bf5ba
5
5
  SHA512:
6
- metadata.gz: 7fe5885a342ae4b3621fb43d19bad61137aca4a75fe26d70c00caa1763fbcbf81647ac65ab2247ad6aac0c95441229ddbb458ba9b30d192630fa23a3717f729a
7
- data.tar.gz: 5bf0f15e4c2e538bf5be6d43277cb2353e1e7dedefc1c38948937abc3999a83f41cd2890d3c440da2db93071245c6109353e27eddbe704c72d124aa45a25a54f
6
+ metadata.gz: 64c39d297d976046ee52a312e8d396992746c2b29faa2b8e6091bbc296479a554419e103ae549dc24cced101cf18df72f8fa379fab8ad541fb640fd52d9a33f7
7
+ data.tar.gz: f45356628321914c0ae34ad42bfb9b58a05f8dd7959ff21f65061d9716cb2fe697c91bf7e32fd38bce9418143a85574e2ec7bb814f02a63bb22dde7d096e1d10
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.69
1
+ 1.1.70
@@ -54,5 +54,10 @@ Files::BundleAction.list(
54
54
  * `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.
55
55
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
56
56
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[bundle_registration_id]=desc`). Valid fields are `bundle_registration_id` and `created_at`.
57
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
58
+ * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
59
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
60
+ * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
61
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
57
62
  * `bundle_id` (int64): Bundle ID
58
63
  * `bundle_registration_id` (int64): BundleRegistration ID
@@ -43,12 +43,22 @@ module Files
43
43
  # 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.
44
44
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
45
45
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[bundle_registration_id]=desc`). Valid fields are `bundle_registration_id` and `created_at`.
46
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
47
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
48
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
49
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
50
+ # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
46
51
  # bundle_id - int64 - Bundle ID
47
52
  # bundle_registration_id - int64 - BundleRegistration ID
48
53
  def self.list(params = {}, options = {})
49
54
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
50
55
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
51
56
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
57
+ raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
58
+ raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
59
+ raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
60
+ raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
61
+ raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
52
62
  raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
53
63
  raise InvalidParameterError.new("Bad parameter: bundle_registration_id must be an Integer") if params[:bundle_registration_id] and !params[:bundle_registration_id].is_a?(Integer)
54
64
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.69"
4
+ VERSION = "1.1.70"
5
5
  end
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.69
4
+ version: 1.1.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-08 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable