files.com 1.2.75 → 1.2.77

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.75
1
+ 1.2.77
@@ -25,7 +25,7 @@
25
25
  * `name` (string): Name for this behavior.
26
26
  * `description` (string): Description for this behavior.
27
27
  * `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.
28
- * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
28
+ * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
29
29
  * `recursive` (boolean): Is behavior recursive?
30
30
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
31
31
  * `attachment_delete` (boolean): If true, will delete the file stored in attachment
@@ -106,7 +106,7 @@ await Behavior.create({
106
106
 
107
107
  * `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
108
108
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
109
- * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
109
+ * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
110
110
  * `recursive` (boolean): Is behavior recursive?
111
111
  * `name` (string): Name for this behavior.
112
112
  * `description` (string): Description for this behavior.
@@ -162,7 +162,7 @@ await behavior.update({
162
162
  * `id` (int64): Required - Behavior ID.
163
163
  * `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
164
164
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
165
- * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
165
+ * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
166
166
  * `recursive` (boolean): Is behavior recursive?
167
167
  * `name` (string): Name for this behavior.
168
168
  * `description` (string): Description for this behavior.
@@ -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.75';
14
+ var version = '1.2.77';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -82,7 +82,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
82
82
  (0, _defineProperty2.default)(this, "setValue", function (value) {
83
83
  _this.attributes.value = value;
84
84
  });
85
- // boolean # If true, the parent folder's behavior will be disabled for this folder.
85
+ // boolean # If true, the parent folder's behavior will be disabled for this folder and its children.
86
86
  (0, _defineProperty2.default)(this, "getDisableParentFolderBehavior", function () {
87
87
  return _this.attributes.disable_parent_folder_behavior;
88
88
  });
@@ -113,7 +113,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
113
113
  // Parameters:
114
114
  // value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
115
115
  // attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
116
- // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
116
+ // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder and its children.
117
117
  // recursive - boolean - Is behavior recursive?
118
118
  // name - string - Name for this behavior.
119
119
  // description - string - Description for this behavior.
@@ -479,7 +479,7 @@ _Behavior = Behavior;
479
479
  // Parameters:
480
480
  // value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
481
481
  // attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
482
- // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
482
+ // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder and its children.
483
483
  // recursive - boolean - Is behavior recursive?
484
484
  // name - string - Name for this behavior.
485
485
  // description - string - Description for this behavior.
@@ -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.75",
3
+ "version": "1.2.77",
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.75'
8
+ const version = '1.2.77'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -77,7 +77,7 @@ class Behavior {
77
77
  this.attributes.value = value
78
78
  }
79
79
 
80
- // boolean # If true, the parent folder's behavior will be disabled for this folder.
80
+ // boolean # If true, the parent folder's behavior will be disabled for this folder and its children.
81
81
  getDisableParentFolderBehavior = () => this.attributes.disable_parent_folder_behavior
82
82
 
83
83
  setDisableParentFolderBehavior = value => {
@@ -108,7 +108,7 @@ class Behavior {
108
108
  // Parameters:
109
109
  // value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
110
110
  // attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
111
- // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
111
+ // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder and its children.
112
112
  // recursive - boolean - Is behavior recursive?
113
113
  // name - string - Name for this behavior.
114
114
  // description - string - Description for this behavior.
@@ -298,7 +298,7 @@ class Behavior {
298
298
  // Parameters:
299
299
  // value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
300
300
  // attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
301
- // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
301
+ // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder and its children.
302
302
  // recursive - boolean - Is behavior recursive?
303
303
  // name - string - Name for this behavior.
304
304
  // description - string - Description for this behavior.
@@ -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