Skip to content

Commit 66f9c62

Browse files
[Bot] push changes from Files.com
1 parent 1bb64ea commit 66f9c62

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.615
1+
1.2.616

docs/models/Behavior.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* `description` (string): Description for this behavior.
2727
* `value` (object): Settings for this behavior. See the section above for an example value to provide here. Formatting is different for each Behavior type. May be sent as nested JSON or a single JSON-encoded string. If using XML encoding for the API call, this data must be sent as a JSON-encoded string.
2828
* `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
29-
* `recursive` (boolean): Is behavior recursive?
29+
* `recursive` (boolean): Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
3030
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
3131
* `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.
3232

@@ -101,7 +101,7 @@ await Behavior.create({
101101
* `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
102102
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
103103
* `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
104-
* `recursive` (boolean): If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
104+
* `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
105105
* `name` (string): Name for this behavior.
106106
* `description` (string): Description for this behavior.
107107
* `path` (string): Required - Path where this behavior should apply.
@@ -154,7 +154,7 @@ await behavior.update({
154154
* `value` (object): This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
155155
* `attachment_file` (file): Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
156156
* `disable_parent_folder_behavior` (boolean): If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
157-
* `recursive` (boolean): If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
157+
* `recursive` (boolean): Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
158158
* `name` (string): Name for this behavior.
159159
* `description` (string): Description for this behavior.
160160
* `attachment_delete` (boolean): If `true`, delete the file stored in `attachment`.

lib/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var apiKey;
1212
var baseUrl = 'https://app.files.com';
1313
var sessionId = null;
1414
var language = null;
15-
var version = '1.2.615';
15+
var version = '1.2.616';
1616
var userAgent = "Files.com JavaScript SDK v".concat(version);
1717
var logLevel = _Logger.LogLevel.INFO;
1818
var debugRequest = false;

lib/models/Behavior.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
8888
(0, _defineProperty2.default)(this, "setDisableParentFolderBehavior", function (value) {
8989
_this.attributes.disable_parent_folder_behavior = value;
9090
});
91-
// boolean # Is behavior recursive?
91+
// boolean # Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
9292
(0, _defineProperty2.default)(this, "getRecursive", function () {
9393
return _this.attributes.recursive;
9494
});
@@ -113,7 +113,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
113113
// value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
114114
// attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
115115
// disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
116-
// recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
116+
// recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
117117
// name - string - Name for this behavior.
118118
// description - string - Description for this behavior.
119119
// attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
@@ -444,7 +444,7 @@ _Behavior = Behavior;
444444
// value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
445445
// attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
446446
// disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
447-
// recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
447+
// recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
448448
// name - string - Name for this behavior.
449449
// description - string - Description for this behavior.
450450
// path (required) - string - Path where this behavior should apply.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "files.com",
3-
"version": "1.2.615",
3+
"version": "1.2.616",
44
"description": "Files.com SDK for JavaScript",
55
"keywords": [
66
"files.com",

src/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let apiKey
66
let baseUrl = 'https://app.files.com'
77
let sessionId = null
88
let language = null
9-
const version = '1.2.615'
9+
const version = '1.2.616'
1010
let userAgent = `Files.com JavaScript SDK v${version}`
1111

1212
let logLevel = LogLevel.INFO

src/models/Behavior.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class Behavior {
8484
this.attributes.disable_parent_folder_behavior = value
8585
}
8686

87-
// boolean # Is behavior recursive?
87+
// boolean # Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
8888
getRecursive = () => this.attributes.recursive
8989

9090
setRecursive = value => {
@@ -109,7 +109,7 @@ class Behavior {
109109
// value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
110110
// attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
111111
// disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
112-
// recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
112+
// recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
113113
// name - string - Name for this behavior.
114114
// description - string - Description for this behavior.
115115
// attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
@@ -274,7 +274,7 @@ class Behavior {
274274
// value - object - This field stores a hash of data specific to the type of behavior. See The Behavior Types section for example values for each type of behavior.
275275
// attachment_file - file - Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
276276
// disable_parent_folder_behavior - boolean - If `true`, the parent folder's behavior will be disabled for this folder and its children. This is the main mechanism for canceling out a `recursive` behavior higher in the folder tree.
277-
// recursive - boolean - If `true`, behavior is treated as recursive, meaning that it impacts child folders as well.
277+
// recursive - boolean - Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
278278
// name - string - Name for this behavior.
279279
// description - string - Description for this behavior.
280280
// path (required) - string - Path where this behavior should apply.

0 commit comments

Comments
 (0)