files.com 1.1.167 → 1.1.168

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: eb49f5bdfe74a55f62155d1dffa22f498aa2a3db48eaf5d6f12f538eb64be331
4
- data.tar.gz: c1bb382e52c5b48119dd6df7803e11e1de4cac30f8776d8ce66a1affec6b8958
3
+ metadata.gz: 244ffe1d6792c4e56c3e2d9d3eeb0258ec4639f0170e1113d3515bf75f9d3ece
4
+ data.tar.gz: c05fc3f129f405b0604c873978fca9f529f3483b90f59c3a84766763f320bd3a
5
5
  SHA512:
6
- metadata.gz: '097904be7961b17798bbea6fb8113e77151e894004e0fa7209bcdecbf6fdf9d3e83641493c51d8832d41ff14eb54248c294c5241e0089d5e6695ebc5286a1544'
7
- data.tar.gz: 612f50a7d928a702e9b01df77f4910fb035f72ae962ae792df92842175d8f2d2607df6d5aeaf373d21dfdc7ae52143fa122cc2ba82d227d1ec946f0b44c04978
6
+ metadata.gz: d4b269dce0476c7334893f8b8a32c86790cda599b25eee5dd501fca4e81276f5423ca9f731cfb7fc8fd1ed519ab2ab9929d1c847ef5c953e5f22b478624f0a47
7
+ data.tar.gz: a330c1f1fcdccad1523ce93e99e01b89162bb79ebf9916dd1f2b84b7b5c29ee73a8e27174e821632970ae345a3d401d2dce809d617018323c76dd34b5a83969c
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.167
1
+ 1.1.168
@@ -42,21 +42,16 @@
42
42
  ## List Bundle Actions
43
43
 
44
44
  ```
45
- Files::BundleAction.list(
46
- bundle_id: 1,
47
- bundle_registration_id: 1
48
- )
45
+ Files::BundleAction.list
49
46
  ```
50
47
 
51
48
  ### Parameters
52
49
 
53
50
  * `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.
54
51
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
55
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
56
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
52
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
53
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `bundle_id` or `bundle_registration_id`. Valid field combinations are `[ created_at, bundle_id ]`, `[ created_at, bundle_registration_id ]`, `[ bundle_id, bundle_registration_id ]` or `[ created_at, bundle_id, bundle_registration_id ]`.
57
54
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
58
55
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
59
56
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
60
57
  * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
61
- * `bundle_id` (int64): Bundle ID
62
- * `bundle_registration_id` (int64): BundleRegistration ID
@@ -42,14 +42,12 @@ module Files
42
42
  # Parameters:
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
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
46
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
45
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
46
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `bundle_id` or `bundle_registration_id`. Valid field combinations are `[ created_at, bundle_id ]`, `[ created_at, bundle_registration_id ]`, `[ bundle_id, bundle_registration_id ]` or `[ created_at, bundle_id, bundle_registration_id ]`.
47
47
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
48
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
49
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
50
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`.
51
- # bundle_id - int64 - Bundle ID
52
- # bundle_registration_id - int64 - BundleRegistration ID
53
51
  def self.list(params = {}, options = {})
54
52
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
55
53
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -59,8 +57,6 @@ module Files
59
57
  raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
60
58
  raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
61
59
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
62
- raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
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)
64
60
 
65
61
  List.new(BundleAction, params) do
66
62
  Api.send_request("/bundle_actions", :get, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.167"
4
+ VERSION = "1.1.168"
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.167
4
+ version: 1.1.168
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-10-30 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable