files.com 1.1.159 → 1.1.160

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: 361ccfcbada262630ef18ad850b145a4496e220ce4f4162a51e44db7313d5e26
4
- data.tar.gz: e37c113ecfae13f89390f5d94648f9104aed00e08534bc1de9e67e74029c5a5d
3
+ metadata.gz: 6098e188fddc3bb4fa1a646353c98958a8591f75e8a6c261b53ac3814f8c16e6
4
+ data.tar.gz: 7172eac90e65d22bd1d9df26a3c60d86b605f4042b526b75fe6fd96be2eb0514
5
5
  SHA512:
6
- metadata.gz: d9b8e3de8f140bd290d1a5865726f84cfd53cd7d5d3273872047b6512de2debfed6bc8f8a0dc5a8ef6cd25e77b495ea66ddb5caa7cea710539809f9ce8594224
7
- data.tar.gz: c5707205c459e7419c1f7b5cf4b62f8b5ed989c3139603a0e346caf463712a8d116f7a156af1ba35748fd78460f72663f7e3e6c376015ada6a742afa65740c37
6
+ metadata.gz: b0a697c2f69a9a02cb05443a58963bae6a87223ef539e3f7f2a18d7c53badc8874d924746429d1115a7c824635f526386fe6f247947c12c6650612af979ec06b
7
+ data.tar.gz: 5226a4c8701a475fd5b21f1d79fa16b6eeac396c12674ecc99432ec41194a593ee4fba767a6126ff92232c64a095be599a74d283c5d280038b77aa1743eac55a
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.159
1
+ 1.1.160
data/docs/bundle.md CHANGED
@@ -151,9 +151,10 @@ Files::Bundle.list(
151
151
  * `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.
152
152
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
153
153
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `code` or `note`.
154
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
154
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `code`, `note` or `created_at`.
155
155
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
156
156
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
157
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code` and `note`.
157
158
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
158
159
  * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
159
160
 
@@ -519,9 +519,10 @@ module Files
519
519
  # 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.
520
520
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
521
521
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `code` or `note`.
522
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
522
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `code`, `note` or `created_at`.
523
523
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
524
524
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
525
+ # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code` and `note`.
525
526
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
526
527
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
527
528
  def self.list(params = {}, options = {})
@@ -532,6 +533,7 @@ module Files
532
533
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
533
534
  raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
534
535
  raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
536
+ raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
535
537
  raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
536
538
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
537
539
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.159"
4
+ VERSION = "1.1.160"
5
5
  end
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.1.159
4
+ version: 1.1.160
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com