files.com 1.1.195 → 1.1.197

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: a5731d69c5daf7582f684b0a1d449d00e3525555644d96be67fa637ad24f3edc
4
- data.tar.gz: aebecb236db44374a9a94354d890e445ba3c01ce1c023640861ed3ae5ade3bac
3
+ metadata.gz: d25011fc48fd8a94bebc5be3072085cb86b07f80783addb16c0701f04feed540
4
+ data.tar.gz: a46a4632765ee7eb931435fd20e2b6ce26f0bf8e1627c79ab6d8bdf01254a6fd
5
5
  SHA512:
6
- metadata.gz: '068b15831e814ca9871acee01d08170850c23909d77b1ddd3f79d3d3e317d40110cca206dcba18a8e051e7aa4ff94a0c60854d400e79b3f46bf7d2c5b0bde045'
7
- data.tar.gz: beecc6bb096dfe2f315f4d896b47f3200cf850b7fe4100297facc75bd76f8584234247789e922adc6bb0f824dbc74546f36e424d6a36d4ee7c0e88169641268b
6
+ metadata.gz: fd7f71ae3444a3a6d1468d566a63a54ea1b2c3aa512a4b7a6ff5121684c0a711ca9e4092c06187ee617436dd39ab0391c5f8b693602bc6612b9eb1c84a78c82e
7
+ data.tar.gz: 605c707f7751f2dc0126172cc3c3f98313baf299e7a2a148bf55d7dc35b8dc4ed7f9f5c3e94e50c8c3eb09efbbd4042b160e28255d3cf3a04301cd46d747b69a
data/CONTRIBUTORS CHANGED
@@ -5,3 +5,4 @@ Kevin Bombino <kevin.bombino@files.com>
5
5
  Kevin Killingsworth <kevin.killingsworth@files.com>
6
6
  Martyn Garcia <martyn.garcia@files.com>
7
7
  Rommel Santor <rommel.santor@files.com>
8
+ Sam Harrison <sam.harrison@files.com>
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.195
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.195"
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.195
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-05 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