files.com 1.0.268 → 1.0.270
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/AutomationRun.md +2 -2
- package/docs/models/Behavior.md +1 -1
- package/docs/models/Folder.md +1 -1
- package/lib/models/AutomationRun.js +2 -2
- package/lib/models/Behavior.js +1 -1
- package/lib/models/Folder.js +1 -1
- package/package.json +1 -1
- package/src/models/AutomationRun.js +2 -2
- package/src/models/Behavior.js +1 -1
- package/src/models/Folder.js +1 -1
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
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[
|
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
|
|
package/docs/models/Behavior.md
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
```
|
18
18
|
|
19
19
|
* `id` (int64): Folder behavior ID
|
20
|
-
* `path` (string): Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
20
|
+
* `path` (string): Folder path. Note that Behavior paths cannot be updated once initially set. You will need to remove and re-create the behavior on the new path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
21
21
|
* `attachment_url` (string): URL for attached file
|
22
22
|
* `behavior` (string): Behavior type.
|
23
23
|
* `name` (string): Name for this behavior.
|
package/docs/models/Folder.md
CHANGED
@@ -70,7 +70,7 @@ await Folder.listFor(path, {
|
|
70
70
|
* `cursor` (string): Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
71
71
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
72
72
|
* `path` (string): Required - Path to operate on.
|
73
|
-
* `filter` (string): If specified, will filter folders/files list by
|
73
|
+
* `filter` (string): If specified, will filter folders/files list by name. Ignores text before last `/`. Wildcards of `*` and `?` are acceptable here.
|
74
74
|
* `preview_size` (string): Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
75
75
|
* `sort_by` (object): Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
|
76
76
|
* `search` (string): If `search_all` is `true`, provide the search string here. Otherwise, this parameter acts like an alias of `filter`.
|
@@ -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[
|
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/lib/models/Behavior.js
CHANGED
@@ -38,7 +38,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
38
38
|
(0, _defineProperty2.default)(this, "setId", function (value) {
|
39
39
|
_this.attributes.id = value;
|
40
40
|
});
|
41
|
-
// string # Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
41
|
+
// string # Folder path. Note that Behavior paths cannot be updated once initially set. You will need to remove and re-create the behavior on the new path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
42
42
|
(0, _defineProperty2.default)(this, "getPath", function () {
|
43
43
|
return _this.attributes.path;
|
44
44
|
});
|
package/lib/models/Folder.js
CHANGED
@@ -184,7 +184,7 @@ var Folder = /*#__PURE__*/(0, _createClass2.default)(function Folder() {
|
|
184
184
|
// cursor - string - Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
185
185
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
186
186
|
// path (required) - string - Path to operate on.
|
187
|
-
// filter - string - If specified, will filter folders/files list by
|
187
|
+
// filter - string - If specified, will filter folders/files list by name. Ignores text before last `/`. Wildcards of `*` and `?` are acceptable here.
|
188
188
|
// preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
189
189
|
// sort_by - object - Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
|
190
190
|
// search - string - If `search_all` is `true`, provide the search string here. Otherwise, this parameter acts like an alias of `filter`.
|
package/package.json
CHANGED
@@ -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[
|
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')
|
package/src/models/Behavior.js
CHANGED
@@ -30,7 +30,7 @@ class Behavior {
|
|
30
30
|
this.attributes.id = value
|
31
31
|
}
|
32
32
|
|
33
|
-
// string # Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
33
|
+
// string # Folder path. Note that Behavior paths cannot be updated once initially set. You will need to remove and re-create the behavior on the new path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
34
34
|
getPath = () => this.attributes.path
|
35
35
|
|
36
36
|
setPath = value => {
|
package/src/models/Folder.js
CHANGED
@@ -164,7 +164,7 @@ class Folder {
|
|
164
164
|
// cursor - string - Send cursor to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
165
165
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
166
166
|
// path (required) - string - Path to operate on.
|
167
|
-
// filter - string - If specified, will filter folders/files list by
|
167
|
+
// filter - string - If specified, will filter folders/files list by name. Ignores text before last `/`. Wildcards of `*` and `?` are acceptable here.
|
168
168
|
// preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
169
169
|
// sort_by - object - Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
|
170
170
|
// search - string - If `search_all` is `true`, provide the search string here. Otherwise, this parameter acts like an alias of `filter`.
|