files.com 1.1.196 → 1.1.197

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: fea65d5d158b5b256c56c0f7d9526ad60a3f54ffbd92c933c5c119cfe55d5c8a
4
- data.tar.gz: d5119e758283ec9478e998cea1f9076c1e3f4369908455033457420c6ca8af1b
3
+ metadata.gz: d25011fc48fd8a94bebc5be3072085cb86b07f80783addb16c0701f04feed540
4
+ data.tar.gz: a46a4632765ee7eb931435fd20e2b6ce26f0bf8e1627c79ab6d8bdf01254a6fd
5
5
  SHA512:
6
- metadata.gz: 177719f943fc5f9f6f46caf550d429165187e51b046b9eb834e2d105d84b9472751edfad5b7a276b997b6cc1c3c6ff631a268e3cdb9cace802bbba50546e2326
7
- data.tar.gz: e8cf0529dab484480d19d927760b3fc0d33c38954f47f718806f275fad84cad4e36ab04850e1c931b67d0aa7abd6b890c5a459085b805fbafc2879400090ab1d
6
+ metadata.gz: fd7f71ae3444a3a6d1468d566a63a54ea1b2c3aa512a4b7a6ff5121684c0a711ca9e4092c06187ee617436dd39ab0391c5f8b693602bc6612b9eb1c84a78c82e
7
+ data.tar.gz: 605c707f7751f2dc0126172cc3c3f98313baf299e7a2a148bf55d7dc35b8dc4ed7f9f5c3e94e50c8c3eb09efbbd4042b160e28255d3cf3a04301cd46d747b69a
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.196
1
+ 1.1.197
data/docs/bundle.md CHANGED
@@ -150,13 +150,7 @@ Files::Bundle.list(
150
150
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
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
- * `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 `code`, `note` or `created_at`.
155
- * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
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`.
158
- * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
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`.
153
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
160
154
 
161
155
 
162
156
  ---
@@ -518,24 +518,12 @@ module Files
518
518
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
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
- # 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 `code`, `note` or `created_at`.
523
- # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
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`.
526
- # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
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`.
521
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
528
522
  def self.list(params = {}, options = {})
529
523
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
530
524
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
531
525
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
532
526
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
533
- raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
534
- raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
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)
537
- raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
538
- raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
539
527
 
540
528
  List.new(Bundle, params) do
541
529
  Api.send_request("/bundles", :get, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.196"
4
+ VERSION = "1.1.197"
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.196
4
+ version: 1.1.197
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-12-09 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable