files.com 1.1.78 → 1.1.80

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: 79ec4f7fc4d8091ac92dda83aea7c4724c89ad10ab0eeac34775e0d9232cb9ad
4
- data.tar.gz: a43e8c690405f9ec0c73d16955534382f4e7e7639ea046bab88e6e9b912fd4c4
3
+ metadata.gz: fb64b3962881003eaa1321f393eaa78263adffa6673058112ca54faae4a30f04
4
+ data.tar.gz: f90717c54d61cf5be75ec075aad171c656d46c3d043b46f78d5c351910f62f38
5
5
  SHA512:
6
- metadata.gz: d5242a5ac7d6b06f9d59de50d3d38585bd70ff3ac742f9a61f0cb06c7b6de1791b6478c33038e90fe8d4e7c902ea5c09c9fe00b2a5a45ea22a6d8ddeaa732e52
7
- data.tar.gz: 1cbb0b88fa1d4c206515af83d674bf954496446a69ca9476980593aacb2f1199d15adec081be5c3b8e092b5574b2e8d7608840e22dfec8da53a95128b45a507f
6
+ metadata.gz: d079eed4185586e823ede2746a194fa50d3af47f67d21049f06b21642076ccdd332f4205391c2a3ad6103aa3c198f8faaef3bf31361d0948619a5a912dcb1d44
7
+ data.tar.gz: 8b21fabe60da61aa2fefd34ddc8acbe95c6642cb4371a1057586744d0bb254e91dbaf50ea5e25625b214e32fa06f657a5ab5210085d5bb0757c77a8d08856055
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.78
1
+ 1.1.80
@@ -18,6 +18,7 @@
18
18
  "api_name": "example",
19
19
  "user_agent": "example",
20
20
  "error_type": "example",
21
+ "error_message": "example",
21
22
  "response_code": 1,
22
23
  "success": true,
23
24
  "duration_ms": 1
@@ -38,6 +39,7 @@
38
39
  * `api_name` (string): Name of API Endpoint
39
40
  * `user_agent` (string): User-Agent
40
41
  * `error_type` (string): Error type, if applicable
42
+ * `error_message` (string): Error message, if applicable
41
43
  * `response_code` (int64): HTTP Response Code
42
44
  * `success` (boolean): `false` if HTTP Response Code is 4xx or 5xx
43
45
  * `duration_ms` (int64): Duration (in milliseconds)
data/docs/behavior.md CHANGED
@@ -45,8 +45,8 @@ Files::Behavior.list(
45
45
 
46
46
  * `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.
47
47
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
48
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior`.
49
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
48
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior` and `impacts_ui`.
49
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
50
50
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
51
51
 
52
52
 
@@ -78,8 +78,8 @@ Files::Behavior.list_for(path,
78
78
 
79
79
  * `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.
80
80
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
81
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior`.
82
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
81
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior` and `impacts_ui`.
82
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
83
83
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
84
84
  * `path` (string): Required - Path to operate on.
85
85
  * `ancestor_behaviors` (string): Show behaviors above this path?
@@ -212,6 +212,8 @@ module Files
212
212
  class ServiceUnavailableError < APIError; end
213
213
  class AgentUnavailableError < ServiceUnavailableError; end
214
214
  class AutomationsUnavailableError < ServiceUnavailableError; end
215
+ class MigrationInProgressError < ServiceUnavailableError; end
216
+ class SiteDisabledError < ServiceUnavailableError; end
215
217
  class UploadsUnavailableError < ServiceUnavailableError; end
216
218
 
217
219
  class SiteConfigurationError < APIError; end
@@ -79,6 +79,11 @@ module Files
79
79
  @attributes[:error_type]
80
80
  end
81
81
 
82
+ # string - Error message, if applicable
83
+ def error_message
84
+ @attributes[:error_message]
85
+ end
86
+
82
87
  # int64 - HTTP Response Code
83
88
  def response_code
84
89
  @attributes[:response_code]
@@ -162,8 +162,8 @@ module Files
162
162
  # Parameters:
163
163
  # 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.
164
164
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
165
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior`.
166
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
165
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior` and `impacts_ui`.
166
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
167
167
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
168
168
  def self.list(params = {}, options = {})
169
169
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -200,8 +200,8 @@ module Files
200
200
  # Parameters:
201
201
  # 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.
202
202
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
203
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior`.
204
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
203
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior` and `impacts_ui`.
204
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
205
205
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
206
206
  # path (required) - string - Path to operate on.
207
207
  # ancestor_behaviors - string - Show behaviors above this path?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.78"
4
+ VERSION = "1.1.80"
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.78
4
+ version: 1.1.80
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-05-16 00:00:00.000000000 Z
11
+ date: 2024-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable