files.com 1.2.33 → 1.2.34

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.33
1
+ 1.2.34
@@ -90,6 +90,7 @@ await Behavior.listFor(path, {
90
90
  ```
91
91
  await Behavior.create({
92
92
  'value': "{\"method\": \"GET\"}",
93
+ 'disable_parent_folder_behavior': true,
93
94
  'name': "example",
94
95
  'description': "example",
95
96
  'path': "path",
@@ -102,6 +103,7 @@ await Behavior.create({
102
103
 
103
104
  * `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.
104
105
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
106
+ * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
105
107
  * `name` (string): Name for this behavior.
106
108
  * `description` (string): Description for this behavior.
107
109
  * `path` (string): Required - Folder behaviors path.
@@ -141,6 +143,7 @@ const [behavior] = await Behavior.list()
141
143
 
142
144
  await behavior.update({
143
145
  'value': "{\"method\": \"GET\"}",
146
+ 'disable_parent_folder_behavior': true,
144
147
  'name': "example",
145
148
  'description': "example",
146
149
  'behavior': "webhook",
@@ -154,6 +157,7 @@ await behavior.update({
154
157
  * `id` (int64): Required - Behavior ID.
155
158
  * `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.
156
159
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
160
+ * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
157
161
  * `name` (string): Name for this behavior.
158
162
  * `description` (string): Description for this behavior.
159
163
  * `behavior` (string): Behavior type.
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.33';
14
+ var version = '1.2.34';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -106,6 +106,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
106
106
  // Parameters:
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
110
  // name - string - Name for this behavior.
110
111
  // description - string - Description for this behavior.
111
112
  // behavior - string - Behavior type.
@@ -470,6 +471,7 @@ _Behavior = Behavior;
470
471
  // Parameters:
471
472
  // 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.
472
473
  // attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
474
+ // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
473
475
  // name - string - Name for this behavior.
474
476
  // description - string - Description for this behavior.
475
477
  // path (required) - string - Folder behaviors path.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.33",
3
+ "version": "1.2.34",
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.33'
8
+ const version = '1.2.34'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -101,6 +101,7 @@ class Behavior {
101
101
  // Parameters:
102
102
  // 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.
103
103
  // attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
104
+ // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
104
105
  // name - string - Name for this behavior.
105
106
  // description - string - Description for this behavior.
106
107
  // behavior - string - Behavior type.
@@ -289,6 +290,7 @@ class Behavior {
289
290
  // Parameters:
290
291
  // 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.
291
292
  // attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
293
+ // disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
292
294
  // name - string - Name for this behavior.
293
295
  // description - string - Description for this behavior.
294
296
  // path (required) - string - Folder behaviors path.