files.com 1.0.269 → 1.0.270

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.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.269
1
+ 1.0.270
@@ -38,9 +38,9 @@ await AutomationRun.list({
38
38
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's 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: 10,000, 1,000 or less is recommended).
41
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at` and `status`.
42
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
41
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation_id]=desc`). Valid fields are `automation_id`, `created_at` or `status`.
43
42
  * `automation_id` (int64): Required - ID of the associated Automation.
43
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `automation_id`. Valid field combinations are `[ automation_id, status ]`.
44
44
 
45
45
  ---
46
46
 
@@ -72,9 +72,9 @@ var AutomationRun = /*#__PURE__*/(0, _createClass2.default)(function AutomationR
72
72
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
73
73
  // 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.
74
74
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
75
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at` and `status`.
76
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
75
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation_id]=desc`). Valid fields are `automation_id`, `created_at` or `status`.
77
76
  // automation_id (required) - int64 - ID of the associated Automation.
77
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `automation_id`. Valid field combinations are `[ automation_id, status ]`.
78
78
  (0, _defineProperty2.default)(AutomationRun, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
79
79
  var _response$data;
80
80
  var params,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.269",
3
+ "version": "1.0.270",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -46,9 +46,9 @@ class AutomationRun {
46
46
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
47
47
  // 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.
48
48
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
49
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at` and `status`.
50
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
49
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation_id]=desc`). Valid fields are `automation_id`, `created_at` or `status`.
51
50
  // automation_id (required) - int64 - ID of the associated Automation.
51
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `automation_id`. Valid field combinations are `[ automation_id, status ]`.
52
52
  static list = async (params = {}, options = {}) => {
53
53
  if (!params['automation_id']) {
54
54
  throw new errors.MissingParameterError('Parameter missing: automation_id')