files.com 1.2.42 → 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.42
1
+ 1.2.44
package/docs/Errors.md CHANGED
@@ -149,6 +149,7 @@ These errors are derived from the error groups listed above.
149
149
  ### NotFound_PlanNotFoundError
150
150
  ### NotFound_SiteNotFoundError
151
151
  ### NotFound_UserNotFoundError
152
+ ### ProcessingFailure_AlreadyCompletedError
152
153
  ### ProcessingFailure_AutomationCannotBeRunManuallyError
153
154
  ### ProcessingFailure_BundleOnlyAllowsPreviewsError
154
155
  ### ProcessingFailure_BundleOperationRequiresSubfolderError
@@ -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
 
@@ -68,6 +68,21 @@ await Snapshot.create({
68
68
  * `name` (string): A name for the snapshot.
69
69
  * `paths` (array(string)): An array of paths to add to the snapshot.
70
70
 
71
+ ---
72
+
73
+ ## Finalize Snapshot
74
+
75
+ ```
76
+ const [snapshot] = await Snapshot.list()
77
+
78
+ await snapshot.finalize()
79
+ ```
80
+
81
+ ### Parameters
82
+
83
+ * `id` (int64): Required - Snapshot ID.
84
+
85
+
71
86
  ---
72
87
 
73
88
  ## Update Snapshot