files.com 1.1.765 → 1.1.766

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: b540907b4aa610b0239747d91a1710cd35ff7af0e774ab3660c91cd84000eb98
4
- data.tar.gz: 2b3a2d27357ccfde59362062ede8310a5cce6a946250fadab2e980aa8f870820
3
+ metadata.gz: 0bb1d5b48b96119ec91525d8f055be9455d19406b796869d5e9db694bc10e34d
4
+ data.tar.gz: 3b963488ee21b159a12a9bd256e343d0e86987f4ac8701de9e3eccc1fdc86876
5
5
  SHA512:
6
- metadata.gz: af713258d9020064047de855c2797b433227e09943f212baa0aab236b6f401e401d3ff8f11c8cd94655b3dcefe91efd752b97b08e77265ed720721c2215c6957
7
- data.tar.gz: d9427a91e8a004891c8a760b1b7606bd5c39dc75c957005dc2dfae2848803c4cb9d7a438127166817af033725a89f4da8d8673828c0e5b20f7a0dd053fe4306a
6
+ metadata.gz: ebe6a92f79a33732e665c36dec9269f648bb77be622659921ae9594fb703eebc457e628b058daa103ba693a15df62410b8c0e87f9b4f1f0eda714cda06937a15
7
+ data.tar.gz: 279cacd8d1dbadfb490ecbbecfd8a1069b019633469e731c1fac550aa42791f601c2f173868681b8d78fc71ed5d9f1dded664bc45c3cd27ac524e9e9e647e4e7
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.765
1
+ 1.1.766
data/docs/partner.md CHANGED
@@ -79,7 +79,7 @@ Files::Partner.list
79
79
 
80
80
  * `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.
81
81
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
82
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `id`.
82
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
83
83
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
84
84
 
85
85
 
@@ -34,3 +34,4 @@ Files::UserSftpClientUse.list(
34
34
  * `user_id` (int64): User ID. If provided, will return uses for this user.
35
35
  * `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.
36
36
  * `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
37
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
@@ -264,7 +264,7 @@ module Files
264
264
  # Parameters:
265
265
  # 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.
266
266
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
267
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `id`.
267
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
268
268
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
269
269
  def self.list(params = {}, options = {})
270
270
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -38,10 +38,12 @@ module Files
38
38
  # user_id - int64 - User ID. If provided, will return uses for this user.
39
39
  # 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.
40
40
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
41
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
41
42
  def self.list(params = {}, options = {})
42
43
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
43
44
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
44
45
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
46
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
45
47
 
46
48
  List.new(UserSftpClientUse, params) do
47
49
  Api.send_request("/user_sftp_client_uses", :get, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.765"
4
+ VERSION = "1.1.766"
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.765
4
+ version: 1.1.766
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com