files.com 1.2.74 → 1.2.76

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.74
1
+ 1.2.76
@@ -45,8 +45,8 @@ await 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 @@ await Behavior.listFor(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?
@@ -48,7 +48,7 @@
48
48
  * `max_concurrent_jobs` (int64): Maximum number of concurrent jobs (default CPU Count * 4)
49
49
  * `graceful_shutdown_timeout` (int64): Graceful shutdown timeout in seconds
50
50
  * `transfer_rate_limit` (string): File transfer (upload/download) rate limit
51
- <limit>-<period>, with the given periods:
51
+ `<limit>-<period>`, with the given periods:
52
52
  * 'S': second
53
53
  * 'M': minute
54
54
  * 'H': hour
package/lib/Files.js CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
11
11
  var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
- var version = '1.2.74';
14
+ var version = '1.2.76';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -299,8 +299,8 @@ _Behavior = Behavior;
299
299
  // Parameters:
300
300
  // 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.
301
301
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
302
- // 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`.
303
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
302
+ // 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`.
303
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
304
304
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
305
305
  (0, _defineProperty2.default)(Behavior, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
306
306
  var _response$data;
@@ -398,8 +398,8 @@ _Behavior = Behavior;
398
398
  // Parameters:
399
399
  // 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.
400
400
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
401
- // 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`.
402
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
401
+ // 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`.
402
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
403
403
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
404
404
  // path (required) - string - Path to operate on.
405
405
  // ancestor_behaviors - string - Show behaviors above this path?
@@ -94,7 +94,7 @@ var RemoteServerConfigurationFile = /*#__PURE__*/(0, _createClass2.default)(func
94
94
  return _this.attributes.graceful_shutdown_timeout;
95
95
  });
96
96
  // string # File transfer (upload/download) rate limit
97
- // <limit>-<period>, with the given periods:
97
+ // `<limit>-<period>`, with the given periods:
98
98
  // * 'S': second
99
99
  // * 'M': minute
100
100
  // * 'H': hour
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.74",
3
+ "version": "1.2.76",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- const version = '1.2.74'
8
+ const version = '1.2.76'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -205,8 +205,8 @@ class Behavior {
205
205
  // Parameters:
206
206
  // 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.
207
207
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
208
- // 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`.
209
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
208
+ // 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`.
209
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
210
210
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
211
211
  static list = async (params = {}, options = {}) => {
212
212
  if (params.cursor && !isString(params.cursor)) {
@@ -253,8 +253,8 @@ class Behavior {
253
253
  // Parameters:
254
254
  // 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.
255
255
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
256
- // 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`.
257
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
256
+ // 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`.
257
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
258
258
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
259
259
  // path (required) - string - Path to operate on.
260
260
  // ancestor_behaviors - string - Show behaviors above this path?
@@ -77,7 +77,7 @@ class RemoteServerConfigurationFile {
77
77
  getGracefulShutdownTimeout = () => this.attributes.graceful_shutdown_timeout
78
78
 
79
79
  // string # File transfer (upload/download) rate limit
80
- // <limit>-<period>, with the given periods:
80
+ // `<limit>-<period>`, with the given periods:
81
81
  // * 'S': second
82
82
  // * 'M': minute
83
83
  // * 'H': hour