files.com 1.1.429 → 1.1.430

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: b26c0e4f02dc3d72c267b0505fb01037bc6b007b7a4b6f36f6a049b76697d798
4
- data.tar.gz: ccf8ac6613af6295817415b1900f70ef3d1934bb69e2926979d9a866c58fa636
3
+ metadata.gz: 402306e446687592de2cfaee16c5304473d38ea6d843cf4232a5de4a6b987070
4
+ data.tar.gz: 2b30406c711f600be0d2cdf798ce8c4a56a828f462d53904750d6db763b1fe35
5
5
  SHA512:
6
- metadata.gz: 9c22467598f3325ffea58c9cf2e7495782a8ccb18e5bead02990ac4996731de48e94dab1f6e23e8c003b0c57c832375a6a5c088df8e98453af2230f00d7ba92f
7
- data.tar.gz: 2ddcd9f9b58543b029556eaf623fbc86aecf14ca9542c58c871e9f18d53c683b91c269763ea1d0a671303e24377fd8bd6637459dbaacdc4274014856b906aafd
6
+ metadata.gz: e4e48fbae46b91fd4e588e809018435da0a14fb416891016318fdad61af07b8c38189e869ffd38432c7da8fa786279efe36ca920792805ad5479c5b576d32922
7
+ data.tar.gz: d7993e71403b7aad14b405795ed1edb116f9de99b68cc4fa89fd17f1ac41c5e7a6dd6720f6e9a62b0dcd83c4e6fe99037cbfef25c24e2b68d42af15df48dbf2c
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.429
1
+ 1.1.430
@@ -29,7 +29,8 @@ Files::KeyLifecycleRule.list
29
29
 
30
30
  * `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.
31
31
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
32
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
32
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `key_type`.
33
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `key_type`.
33
34
 
34
35
 
35
36
  ---
data/docs/restore.md CHANGED
@@ -65,6 +65,8 @@ Files::Restore.list
65
65
 
66
66
  * `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.
67
67
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
68
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
69
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `restoration_type`.
68
70
 
69
71
 
70
72
  ---
@@ -91,11 +91,13 @@ module Files
91
91
  # Parameters:
92
92
  # 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.
93
93
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
94
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
94
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `key_type`.
95
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `key_type`.
95
96
  def self.list(params = {}, options = {})
96
97
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
97
98
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
98
99
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
100
+ raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
99
101
 
100
102
  List.new(KeyLifecycleRule, params) do
101
103
  Api.send_request("/key_lifecycle_rules", :get, params, options)
@@ -212,9 +212,13 @@ module Files
212
212
  # Parameters:
213
213
  # 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.
214
214
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
215
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
216
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `restoration_type`.
215
217
  def self.list(params = {}, options = {})
216
218
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
217
219
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
220
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
221
+ raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
218
222
 
219
223
  List.new(Restore, params) do
220
224
  Api.send_request("/restores", :get, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.429"
4
+ VERSION = "1.1.430"
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.429
4
+ version: 1.1.430
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-23 00:00:00.000000000 Z
11
+ date: 2025-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable