files.com 1.1.407 → 1.1.408

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: 5bf22654e58e0baa1ea74c3cac23bc39599b75c6b18198e242f43d4c18876ec0
4
- data.tar.gz: 7af2d649037756bd6f9fa9cec4b1a493f21d5abdb8e1c93020e1b4aba1d8e3ca
3
+ metadata.gz: 2e1565de75caff420c9d3a651f2ee02b199cc11915a6d404e630b670c1e800b8
4
+ data.tar.gz: e8ef94458d5129b73f1d422e5a4e0f5c77778d34e1cb05637889ebf9f94a3e3f
5
5
  SHA512:
6
- metadata.gz: 249a0d68e75760df60a53d36b8787fd6f1d9d9d79ff87b8c0cf5527d483518c5ba492fa0d38d9fef2c2c36ed5eff285727b3588037c7c301a8c9193fd7ac2435
7
- data.tar.gz: b140d5448e75e4b5ce0fa16c665dc9bc721f8ad9c6bb9ba43e18c8f9b5092adb0126ebab3a5fcffce718f76a9a953a4cf862d6c7e9f386e44d29c8c3746a25c7
6
+ metadata.gz: be4e7d3f443ae8cc807b35b1f18eb241688d38e032f300ce51be83545de17af9e10375ef3145310c92a51a591c51cdf1eaefc90ad51e136bdc7c9ddbf99c73c7
7
+ data.tar.gz: 380747899a1dc0711011a1d247bff6767ef1c08a7a2f2622ac2f3ee65dda23e47f47ff9a73add6ba01ba490b0a764baf9aeba28cc2e33c0b49fa9121ecaf0339
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.407
1
+ 1.1.408
data/docs/behavior.md CHANGED
@@ -44,7 +44,7 @@ Files::Behavior.list
44
44
  * `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.
45
45
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
46
46
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
47
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
47
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
48
48
 
49
49
 
50
50
  ---
data/docs/sync.md CHANGED
@@ -110,6 +110,8 @@ Files::Sync.list
110
110
 
111
111
  * `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.
112
112
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
113
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`.
114
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `src_remote_server_id` and `dest_remote_server_id`.
113
115
 
114
116
 
115
117
  ---
@@ -159,7 +159,7 @@ module Files
159
159
  # 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.
160
160
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
161
161
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
162
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
162
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
163
163
  def self.list(params = {}, options = {})
164
164
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
165
165
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -339,9 +339,13 @@ module Files
339
339
  # Parameters:
340
340
  # 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.
341
341
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
342
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`.
343
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `src_remote_server_id` and `dest_remote_server_id`.
342
344
  def self.list(params = {}, options = {})
343
345
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
344
346
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
347
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
348
+ raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
345
349
 
346
350
  List.new(Sync, params) do
347
351
  Api.send_request("/syncs", :get, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.407"
4
+ VERSION = "1.1.408"
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.407
4
+ version: 1.1.408
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com