files.com 1.2.42 → 1.2.43
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/Errors.md +1 -0
- package/docs/models/Snapshot.md +15 -0
- package/lib/Errors.js +311 -299
- package/lib/Files.js +1 -1
- package/lib/models/Snapshot.js +138 -89
- package/package.json +1 -1
- package/src/Errors.js +1 -0
- package/src/Files.js +1 -1
- package/src/models/Snapshot.js +26 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
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
|
package/docs/models/Snapshot.md
CHANGED
@@ -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
|