files.com 1.0.268 → 1.0.269

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.268
1
+ 1.0.269
@@ -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.
@@ -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 this string. Wildcards of `*` and `?` are acceptable here.
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`.
@@ -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
  });
@@ -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 this string. Wildcards of `*` and `?` are acceptable here.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.268",
3
+ "version": "1.0.269",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -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 => {
@@ -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 this string. Wildcards of `*` and `?` are acceptable here.
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`.