files.com 1.2.42 → 1.2.43

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 CHANGED
@@ -1 +1 @@
1
- 1.2.42
1
+ 1.2.43
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
@@ -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