files.com 1.2.43 → 1.2.44

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.43
1
+ 1.2.44
@@ -77,7 +77,12 @@
77
77
  "paths": [
78
78
  "file.txt"
79
79
  ],
80
- "bundlepaths": "example"
80
+ "bundlepaths": [
81
+ {
82
+ "recursive": true,
83
+ "path": "example"
84
+ }
85
+ ]
81
86
  }
82
87
  ```
83
88
 
@@ -119,7 +124,7 @@
119
124
  * `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
120
125
  * `has_inbox` (boolean): Does this bundle have an associated inbox?
121
126
  * `paths` (array): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
122
- * `bundlepaths` (BundlePath): A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
127
+ * `bundlepaths` (array): A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
123
128
  * `password` (string): Password for this bundle.
124
129
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
125
130
  * `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
@@ -395,7 +400,12 @@ await bundle.update({
395
400
  "paths": [
396
401
  "file.txt"
397
402
  ],
398
- "bundlepaths": "example"
403
+ "bundlepaths": [
404
+ {
405
+ "recursive": true,
406
+ "path": "example"
407
+ }
408
+ ]
399
409
  }
400
410
  ```
401
411
 
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.43';
14
+ var version = '1.2.44';
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -296,7 +296,7 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
296
296
  (0, _defineProperty2.default)(this, "setPaths", function (value) {
297
297
  _this.attributes.paths = value;
298
298
  });
299
- // BundlePath # A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
299
+ // array # A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
300
300
  (0, _defineProperty2.default)(this, "getBundlepaths", function () {
301
301
  return _this.attributes.bundlepaths;
302
302
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.43",
3
+ "version": "1.2.44",
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.43'
8
+ const version = '1.2.44'
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -290,7 +290,7 @@ class Bundle {
290
290
  this.attributes.paths = value
291
291
  }
292
292
 
293
- // BundlePath # A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
293
+ // array # A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
294
294
  getBundlepaths = () => this.attributes.bundlepaths
295
295
 
296
296
  setBundlepaths = value => {