files.com 1.2.43 → 1.2.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_VERSION +1 -1
- package/docs/models/Bundle.md +13 -3
- package/lib/Files.js +1 -1
- package/lib/models/Bundle.js +1 -1
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/Bundle.js +1 -1
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.44
|
package/docs/models/Bundle.md
CHANGED
@@ -77,7 +77,12 @@
|
|
77
77
|
"paths": [
|
78
78
|
"file.txt"
|
79
79
|
],
|
80
|
-
"bundlepaths":
|
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` (
|
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":
|
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.
|
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;
|
package/lib/models/Bundle.js
CHANGED
@@ -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
|
-
//
|
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
package/src/Files.js
CHANGED
package/src/models/Bundle.js
CHANGED
@@ -290,7 +290,7 @@ class Bundle {
|
|
290
290
|
this.attributes.paths = value
|
291
291
|
}
|
292
292
|
|
293
|
-
//
|
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 => {
|