@wix/media 1.0.25 → 1.0.27
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/build/cjs/src/media-site-media-v1-file-descriptor.http.d.ts +17 -47
- package/build/cjs/src/media-site-media-v1-file-descriptor.http.js +17 -47
- package/build/cjs/src/media-site-media-v1-file-descriptor.http.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.d.ts +16 -53
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js +16 -53
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.http.d.ts +10 -30
- package/build/cjs/src/media-site-media-v1-folder.http.js +10 -30
- package/build/cjs/src/media-site-media-v1-folder.http.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.public.d.ts +3 -3
- package/build/cjs/src/media-site-media-v1-folder.public.js +1 -1
- package/build/cjs/src/media-site-media-v1-folder.public.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.types.d.ts +0 -6
- package/build/cjs/src/media-site-media-v1-folder.universal.d.ts +10 -45
- package/build/cjs/src/media-site-media-v1-folder.universal.js +13 -40
- package/build/cjs/src/media-site-media-v1-folder.universal.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.http.d.ts +17 -47
- package/build/es/src/media-site-media-v1-file-descriptor.http.js +17 -47
- package/build/es/src/media-site-media-v1-file-descriptor.http.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.universal.d.ts +16 -53
- package/build/es/src/media-site-media-v1-file-descriptor.universal.js +16 -53
- package/build/es/src/media-site-media-v1-file-descriptor.universal.js.map +1 -1
- package/build/es/src/media-site-media-v1-folder.http.d.ts +10 -30
- package/build/es/src/media-site-media-v1-folder.http.js +10 -30
- package/build/es/src/media-site-media-v1-folder.http.js.map +1 -1
- package/build/es/src/media-site-media-v1-folder.public.d.ts +3 -3
- package/build/es/src/media-site-media-v1-folder.public.js +1 -1
- package/build/es/src/media-site-media-v1-folder.public.js.map +1 -1
- package/build/es/src/media-site-media-v1-folder.types.d.ts +0 -6
- package/build/es/src/media-site-media-v1-folder.universal.d.ts +10 -45
- package/build/es/src/media-site-media-v1-folder.universal.js +13 -40
- package/build/es/src/media-site-media-v1-folder.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -4,8 +4,6 @@ import { BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkImportFilesRequest
|
|
|
4
4
|
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
5
5
|
*
|
|
6
6
|
* The compressed file can contain up to 1000 files.
|
|
7
|
-
*
|
|
8
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
9
7
|
*/
|
|
10
8
|
export declare function generateFilesDownloadUrl(payload: GenerateFilesDownloadUrlRequest): RequestOptionsFactory<GenerateFilesDownloadUrlResponse>;
|
|
11
9
|
/**
|
|
@@ -15,19 +13,11 @@ export declare function generateFilesDownloadUrl(payload: GenerateFilesDownloadU
|
|
|
15
13
|
* If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
16
14
|
*
|
|
17
15
|
* Use this endpoint to grant external clients access to a private media file. Use the `expirationInMinutes` parameter to set the URL expiration time, and the `expirationRedirectUrl` parameter to add a redirect url when the URL expires.
|
|
18
|
-
*
|
|
19
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
20
16
|
*/
|
|
21
17
|
export declare function generateFileDownloadUrl(payload: GenerateFileDownloadUrlRequest): RequestOptionsFactory<GenerateFileDownloadUrlResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* Gets information about a specific file in the Media Manager.
|
|
24
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
25
|
-
*/
|
|
18
|
+
/** Gets information about a specific file in the Media Manager. */
|
|
26
19
|
export declare function getFileDescriptor(payload: GetFileDescriptorRequest): RequestOptionsFactory<GetFileDescriptorResponse>;
|
|
27
|
-
/**
|
|
28
|
-
* Gets information about the specified files in the Media Manager.
|
|
29
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
30
|
-
*/
|
|
20
|
+
/** Gets information about the specified files in the Media Manager. */
|
|
31
21
|
export declare function getFileDescriptors(payload: GetFileDescriptorsRequest): RequestOptionsFactory<GetFileDescriptorsResponse>;
|
|
32
22
|
/**
|
|
33
23
|
* Updates a file. <br />
|
|
@@ -38,10 +28,9 @@ export declare function updateFileDescriptor(payload: UpdateFileDescriptorReques
|
|
|
38
28
|
/**
|
|
39
29
|
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
40
30
|
*
|
|
41
|
-
* To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see the [Upload API](
|
|
42
|
-
*
|
|
43
|
-
* >
|
|
44
|
-
* > - Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use the [Generate File Resumable Upload Url](https://www.wix.com/velo/reference/wix-media-v2/files/generatefileresumableuploadurl) instead. With the resumable upload URL, any interruption in the upload process pauses the file upload, and resumes the file upload process after the interruption.
|
|
31
|
+
* To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see the [Upload API](#upload-api).
|
|
32
|
+
*
|
|
33
|
+
* > **Note:** Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use the [Generate File Resumable Upload Url](#generatefileresumableuploadurl) instead. With the resumable upload URL, any interruption in the upload process pauses the file upload, and resumes the file upload process after the interruption.
|
|
45
34
|
*/
|
|
46
35
|
export declare function generateFileUploadUrl(payload: GenerateFileUploadUrlRequest): RequestOptionsFactory<GenerateFileUploadUrlResponse>;
|
|
47
36
|
/**
|
|
@@ -49,9 +38,7 @@ export declare function generateFileUploadUrl(payload: GenerateFileUploadUrlRequ
|
|
|
49
38
|
*
|
|
50
39
|
* With the resumable upload URL, any interruptions in the upload process pauses the file upload, and resumes the file upload process after the interruption. The resumable upload URL is also helpful when network connection is poor.
|
|
51
40
|
*
|
|
52
|
-
* To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see the [Resumable Upload API](
|
|
53
|
-
*
|
|
54
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
41
|
+
* To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see the [Resumable Upload API](#resumable-upload-api) article.
|
|
55
42
|
*/
|
|
56
43
|
export declare function generateFileResumableUploadUrl(payload: GenerateFileResumableUploadUrlRequest): RequestOptionsFactory<GenerateFileResumableUploadUrlResponse>;
|
|
57
44
|
/**
|
|
@@ -66,9 +53,7 @@ export declare function generateFileResumableUploadUrl(payload: GenerateFileResu
|
|
|
66
53
|
* 2. Pass the file's name and extension. For example, `'my-image.png'`.
|
|
67
54
|
* 3. If you don't know the file's extension or MIME type, pass its [media type](https://support.wix.com/en/article/wix-media-supported-media-file-types-and-file-sizes) in the `mediaType` parameter of the request. For example, `'IMAGE'`. Note that this option only works if the server hosting the media allows a 'HEAD' request.
|
|
68
55
|
*
|
|
69
|
-
* >**
|
|
70
|
-
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
71
|
-
* > - The `media` property isn't returned in the `files` response object.
|
|
56
|
+
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
72
57
|
*
|
|
73
58
|
*/
|
|
74
59
|
export declare function importFile(payload: ImportFileRequest): RequestOptionsFactory<ImportFileResponse>;
|
|
@@ -83,33 +68,25 @@ export declare function importFile(payload: ImportFileRequest): RequestOptionsFa
|
|
|
83
68
|
* 2. Pass each file's name and extension. For example, `'my-image.png'`.
|
|
84
69
|
* 3. If you don't know a file's extension or MIME type, pass its [media type](https://support.wix.com/en/article/wix-media-supported-media-file-types-and-file-sizes) in the `mediaType` parameter of the request. For example, `'IMAGE'`. Note that this option only works if the server hosting the media allows a 'HEAD' request.
|
|
85
70
|
*
|
|
86
|
-
* >**
|
|
87
|
-
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
88
|
-
* > - The `media` property isn't returned in the `files` response object.
|
|
71
|
+
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
89
72
|
*/
|
|
90
73
|
export declare function bulkImportFiles(payload: BulkImportFilesRequest): RequestOptionsFactory<BulkImportFilesResponse>;
|
|
91
74
|
/**
|
|
92
75
|
* Retrieves a list of files in the Media Manager.
|
|
93
76
|
*
|
|
94
77
|
* To retrieve a list of files within a specific folder in the Media Manager, pass the folder's ID in the `parentFolderId` parameter. If no folder is specified, the endpoint retrieves the list of files in the root folder of the Media Manager.
|
|
95
|
-
*
|
|
96
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
97
78
|
*/
|
|
98
79
|
export declare function listFiles(payload: ListFilesRequest): RequestOptionsFactory<ListFilesResponse>;
|
|
99
80
|
/**
|
|
100
81
|
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the optional parameters.
|
|
101
82
|
*
|
|
102
83
|
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
103
|
-
*
|
|
104
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
105
84
|
*/
|
|
106
85
|
export declare function searchFiles(payload: SearchFilesRequest): RequestOptionsFactory<SearchFilesResponse>;
|
|
107
86
|
/**
|
|
108
87
|
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
109
88
|
*
|
|
110
89
|
* To stream different assets of the file, use the `assetKeys` parameter which generates a video streaming URL for each asset. If no assetKey is specified, it defaults to `src`, which generates one video streaming URL in the original file's format and quality.
|
|
111
|
-
*
|
|
112
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
113
90
|
*/
|
|
114
91
|
export declare function generateVideoStreamingUrl(payload: GenerateVideoStreamingUrlRequest): RequestOptionsFactory<GenerateVideoStreamingUrlResponse>;
|
|
115
92
|
/**
|
|
@@ -118,26 +95,19 @@ export declare function generateVideoStreamingUrl(payload: GenerateVideoStreamin
|
|
|
118
95
|
*
|
|
119
96
|
* The deleted files are moved to the Media Manager's trash bin (`TRASH-ROOT` folder) unless permanently deleted. To permanently delete files, pass the `permanent` parameter with the value `true`. Permanently deleting files isn't reversible, so make sure that these files aren't being used in a site or in any other way as the files will no longer be accessible.
|
|
120
97
|
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
98
|
+
* >**Notes:**
|
|
99
|
+
* > - The specified files can be from different folders.
|
|
100
|
+
* > - Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
101
|
+
* > - Attempting to delete files that are already in the trash bin doesn't result in an error.
|
|
102
|
+
* > - If your site contains deleted media files, the deleted media files still appear on your site as the files are still in the Media Manager (in the trash bin).
|
|
103
|
+
* > - You can use the [Bulk Restore Files From Trash Bin](#bulkrestorefilesfromtrashbin) endpoint to restore files from the Media Manager's trash bin.
|
|
130
104
|
*/
|
|
131
105
|
export declare function bulkDeleteFiles(payload: BulkDeleteFilesRequest): RequestOptionsFactory<BulkDeleteFilesResponse>;
|
|
132
|
-
/**
|
|
133
|
-
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
134
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
135
|
-
*/
|
|
106
|
+
/** Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager. */
|
|
136
107
|
export declare function bulkRestoreFilesFromTrashBin(payload: BulkRestoreFilesFromTrashBinRequest): RequestOptionsFactory<BulkRestoreFilesFromTrashBinResponse>;
|
|
137
108
|
/**
|
|
138
109
|
* Retrieves a list of files in the Media Manager's trash bin.
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
* > - The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
110
|
+
*
|
|
111
|
+
* >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
142
112
|
*/
|
|
143
113
|
export declare function listDeletedFiles(payload: ListDeletedFilesRequest): RequestOptionsFactory<ListDeletedFilesResponse>;
|
|
@@ -106,8 +106,6 @@ function resolveComWixMediaSiteMediaV1FilesServiceUrl(opts) {
|
|
|
106
106
|
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
107
107
|
*
|
|
108
108
|
* The compressed file can contain up to 1000 files.
|
|
109
|
-
*
|
|
110
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
111
109
|
*/
|
|
112
110
|
function generateFilesDownloadUrl(payload) {
|
|
113
111
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_generateFilesDownloadUrlRequest, {});
|
|
@@ -139,8 +137,6 @@ exports.generateFilesDownloadUrl = generateFilesDownloadUrl;
|
|
|
139
137
|
* If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
140
138
|
*
|
|
141
139
|
* Use this endpoint to grant external clients access to a private media file. Use the `expirationInMinutes` parameter to set the URL expiration time, and the `expirationRedirectUrl` parameter to add a redirect url when the URL expires.
|
|
142
|
-
*
|
|
143
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
144
140
|
*/
|
|
145
141
|
function generateFileDownloadUrl(payload) {
|
|
146
142
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_generateFileDownloadUrlRequest, {});
|
|
@@ -165,10 +161,7 @@ function generateFileDownloadUrl(payload) {
|
|
|
165
161
|
return __generateFileDownloadUrl;
|
|
166
162
|
}
|
|
167
163
|
exports.generateFileDownloadUrl = generateFileDownloadUrl;
|
|
168
|
-
/**
|
|
169
|
-
* Gets information about a specific file in the Media Manager.
|
|
170
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
171
|
-
*/
|
|
164
|
+
/** Gets information about a specific file in the Media Manager. */
|
|
172
165
|
function getFileDescriptor(payload) {
|
|
173
166
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_getFileDescriptorRequest, {});
|
|
174
167
|
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_getFileDescriptorResponse, {
|
|
@@ -205,10 +198,7 @@ function getFileDescriptor(payload) {
|
|
|
205
198
|
return __getFileDescriptor;
|
|
206
199
|
}
|
|
207
200
|
exports.getFileDescriptor = getFileDescriptor;
|
|
208
|
-
/**
|
|
209
|
-
* Gets information about the specified files in the Media Manager.
|
|
210
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
211
|
-
*/
|
|
201
|
+
/** Gets information about the specified files in the Media Manager. */
|
|
212
202
|
function getFileDescriptors(payload) {
|
|
213
203
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_getFileDescriptorsRequest, {});
|
|
214
204
|
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_getFileDescriptorsResponse, {
|
|
@@ -302,10 +292,9 @@ exports.updateFileDescriptor = updateFileDescriptor;
|
|
|
302
292
|
/**
|
|
303
293
|
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
304
294
|
*
|
|
305
|
-
* To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see the [Upload API](
|
|
306
|
-
*
|
|
307
|
-
* >
|
|
308
|
-
* > - Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use the [Generate File Resumable Upload Url](https://www.wix.com/velo/reference/wix-media-v2/files/generatefileresumableuploadurl) instead. With the resumable upload URL, any interruption in the upload process pauses the file upload, and resumes the file upload process after the interruption.
|
|
295
|
+
* To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see the [Upload API](#upload-api).
|
|
296
|
+
*
|
|
297
|
+
* > **Note:** Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use the [Generate File Resumable Upload Url](#generatefileresumableuploadurl) instead. With the resumable upload URL, any interruption in the upload process pauses the file upload, and resumes the file upload process after the interruption.
|
|
309
298
|
*/
|
|
310
299
|
function generateFileUploadUrl(payload) {
|
|
311
300
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_generateFileUploadUrlRequest, {});
|
|
@@ -335,9 +324,7 @@ exports.generateFileUploadUrl = generateFileUploadUrl;
|
|
|
335
324
|
*
|
|
336
325
|
* With the resumable upload URL, any interruptions in the upload process pauses the file upload, and resumes the file upload process after the interruption. The resumable upload URL is also helpful when network connection is poor.
|
|
337
326
|
*
|
|
338
|
-
* To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see the [Resumable Upload API](
|
|
339
|
-
*
|
|
340
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
327
|
+
* To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see the [Resumable Upload API](#resumable-upload-api) article.
|
|
341
328
|
*/
|
|
342
329
|
function generateFileResumableUploadUrl(payload) {
|
|
343
330
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_generateFileResumableUploadUrlRequest, {});
|
|
@@ -374,9 +361,7 @@ exports.generateFileResumableUploadUrl = generateFileResumableUploadUrl;
|
|
|
374
361
|
* 2. Pass the file's name and extension. For example, `'my-image.png'`.
|
|
375
362
|
* 3. If you don't know the file's extension or MIME type, pass its [media type](https://support.wix.com/en/article/wix-media-supported-media-file-types-and-file-sizes) in the `mediaType` parameter of the request. For example, `'IMAGE'`. Note that this option only works if the server hosting the media allows a 'HEAD' request.
|
|
376
363
|
*
|
|
377
|
-
* >**
|
|
378
|
-
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
379
|
-
* > - The `media` property isn't returned in the `files` response object.
|
|
364
|
+
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
380
365
|
*
|
|
381
366
|
*/
|
|
382
367
|
function importFile(payload) {
|
|
@@ -426,9 +411,7 @@ exports.importFile = importFile;
|
|
|
426
411
|
* 2. Pass each file's name and extension. For example, `'my-image.png'`.
|
|
427
412
|
* 3. If you don't know a file's extension or MIME type, pass its [media type](https://support.wix.com/en/article/wix-media-supported-media-file-types-and-file-sizes) in the `mediaType` parameter of the request. For example, `'IMAGE'`. Note that this option only works if the server hosting the media allows a 'HEAD' request.
|
|
428
413
|
*
|
|
429
|
-
* >**
|
|
430
|
-
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
431
|
-
* > - The `media` property isn't returned in the `files` response object.
|
|
414
|
+
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
432
415
|
*/
|
|
433
416
|
function bulkImportFiles(payload) {
|
|
434
417
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_bulkImportFilesRequest, { _importFileRequest });
|
|
@@ -470,8 +453,6 @@ exports.bulkImportFiles = bulkImportFiles;
|
|
|
470
453
|
* Retrieves a list of files in the Media Manager.
|
|
471
454
|
*
|
|
472
455
|
* To retrieve a list of files within a specific folder in the Media Manager, pass the folder's ID in the `parentFolderId` parameter. If no folder is specified, the endpoint retrieves the list of files in the root folder of the Media Manager.
|
|
473
|
-
*
|
|
474
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
475
456
|
*/
|
|
476
457
|
function listFiles(payload) {
|
|
477
458
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_listFilesRequest, {});
|
|
@@ -513,8 +494,6 @@ exports.listFiles = listFiles;
|
|
|
513
494
|
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the optional parameters.
|
|
514
495
|
*
|
|
515
496
|
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
516
|
-
*
|
|
517
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
518
497
|
*/
|
|
519
498
|
function searchFiles(payload) {
|
|
520
499
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_searchFilesRequest, {});
|
|
@@ -556,8 +535,6 @@ exports.searchFiles = searchFiles;
|
|
|
556
535
|
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
557
536
|
*
|
|
558
537
|
* To stream different assets of the file, use the `assetKeys` parameter which generates a video streaming URL for each asset. If no assetKey is specified, it defaults to `src`, which generates one video streaming URL in the original file's format and quality.
|
|
559
|
-
*
|
|
560
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
561
538
|
*/
|
|
562
539
|
function generateVideoStreamingUrl(payload) {
|
|
563
540
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_generateVideoStreamingUrlRequest, {});
|
|
@@ -588,15 +565,12 @@ exports.generateVideoStreamingUrl = generateVideoStreamingUrl;
|
|
|
588
565
|
*
|
|
589
566
|
* The deleted files are moved to the Media Manager's trash bin (`TRASH-ROOT` folder) unless permanently deleted. To permanently delete files, pass the `permanent` parameter with the value `true`. Permanently deleting files isn't reversible, so make sure that these files aren't being used in a site or in any other way as the files will no longer be accessible.
|
|
590
567
|
*
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
*
|
|
594
|
-
*
|
|
595
|
-
*
|
|
596
|
-
*
|
|
597
|
-
*
|
|
598
|
-
*
|
|
599
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
568
|
+
* >**Notes:**
|
|
569
|
+
* > - The specified files can be from different folders.
|
|
570
|
+
* > - Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
571
|
+
* > - Attempting to delete files that are already in the trash bin doesn't result in an error.
|
|
572
|
+
* > - If your site contains deleted media files, the deleted media files still appear on your site as the files are still in the Media Manager (in the trash bin).
|
|
573
|
+
* > - You can use the [Bulk Restore Files From Trash Bin](#bulkrestorefilesfromtrashbin) endpoint to restore files from the Media Manager's trash bin.
|
|
600
574
|
*/
|
|
601
575
|
function bulkDeleteFiles(payload) {
|
|
602
576
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_bulkDeleteFilesRequest, {});
|
|
@@ -621,10 +595,7 @@ function bulkDeleteFiles(payload) {
|
|
|
621
595
|
return __bulkDeleteFiles;
|
|
622
596
|
}
|
|
623
597
|
exports.bulkDeleteFiles = bulkDeleteFiles;
|
|
624
|
-
/**
|
|
625
|
-
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
626
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
627
|
-
*/
|
|
598
|
+
/** Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager. */
|
|
628
599
|
function bulkRestoreFilesFromTrashBin(payload) {
|
|
629
600
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_bulkRestoreFilesFromTrashBinRequest, {});
|
|
630
601
|
const { fromJSON: fromRes } = (0, ambassador_1.serializer)(_bulkRestoreFilesFromTrashBinResponse, {});
|
|
@@ -650,9 +621,8 @@ function bulkRestoreFilesFromTrashBin(payload) {
|
|
|
650
621
|
exports.bulkRestoreFilesFromTrashBin = bulkRestoreFilesFromTrashBin;
|
|
651
622
|
/**
|
|
652
623
|
* Retrieves a list of files in the Media Manager's trash bin.
|
|
653
|
-
*
|
|
654
|
-
*
|
|
655
|
-
* > - The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
624
|
+
*
|
|
625
|
+
* >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
656
626
|
*/
|
|
657
627
|
function listDeletedFiles(payload) {
|
|
658
628
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_listDeletedFilesRequest, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-site-media-v1-file-descriptor.http.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-file-descriptor.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAoChD,MAAM,QAAQ,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AACpE,MAAM,MAAM,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AAClE,MAAM,QAAQ,GAA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AAO,CAAC;IAErC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AA3CD,4CA2CC"}
|
|
1
|
+
{"version":3,"file":"media-site-media-v1-file-descriptor.http.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-file-descriptor.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAoChD,MAAM,QAAQ,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AACpE,MAAM,MAAM,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AAClE,MAAM,QAAQ,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AACtC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,uBAAuB,GAAG,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,CAAC;AAC7E,MAAM,wBAAwB,GAAG,EAAE,KAAK,EAAE,iBAAiB,EAAE,CAAC;AAC9D,MAAM,oCAAoC,GAAG,EAAE,CAAC;AAChD,MAAM,qCAAqC,GAAG,EAAE,CAAC;AACjD,MAAM,SAAS,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AACrE,MAAM,gBAAgB,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC;AAClD,MAAM,eAAe,GAAG;IACtB,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,YAAY;CACpB,CAAC;AACF,MAAM,UAAU,GAAG;IACjB,KAAK,EAAE,aAAa;IACpB,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,aAAa;IACrB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;CACpB,CAAC;AACF,MAAM,+BAA+B,GAAG,EAAE,CAAC;AAC3C,MAAM,gCAAgC,GAAG,EAAE,CAAC;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,QAAQ,GAAG;YACf,UAAU,EAAE,yCAAyC;YACrD,MAAM,EAAE,KAAY;YACpB,SAAS,EAAE,2DAA2D;YACtE,GAAG,EAAE,4CAA4C,CAAC;gBAChD,SAAS,EAAE,qBAAqB;gBAChC,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,MAAM,EAAE,IAAA,iCAAiB,EAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,kBAAkB,CAAC,OAAO,GAAG,OAAO,CAAC;IAErC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AA3CD,4CA2CC"}
|
|
@@ -665,11 +665,8 @@ export interface ListDeletedFilesResponse {
|
|
|
665
665
|
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
666
666
|
*
|
|
667
667
|
* The compressed file can contain up to 1000 files.
|
|
668
|
-
*
|
|
669
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
670
668
|
* @param fileIds - IDs of the files to download.
|
|
671
669
|
* @public
|
|
672
|
-
* @documentationMaturity preview
|
|
673
670
|
* @requiredField fileIds
|
|
674
671
|
*/
|
|
675
672
|
export declare function generateFilesDownloadUrl(fileIds: string[]): Promise<GenerateFilesDownloadUrlResponse>;
|
|
@@ -680,11 +677,8 @@ export declare function generateFilesDownloadUrl(fileIds: string[]): Promise<Gen
|
|
|
680
677
|
* If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
681
678
|
*
|
|
682
679
|
* Use this endpoint to grant external clients access to a private media file. Use the `expirationInMinutes` parameter to set the URL expiration time, and the `expirationRedirectUrl` parameter to add a redirect url when the URL expires.
|
|
683
|
-
*
|
|
684
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
685
680
|
* @param fileId - File ID.
|
|
686
681
|
* @public
|
|
687
|
-
* @documentationMaturity preview
|
|
688
682
|
* @requiredField fileId
|
|
689
683
|
* @param options - Options to use when generating a file's download URL.
|
|
690
684
|
*/
|
|
@@ -715,20 +709,16 @@ export interface GenerateFileDownloadUrlOptions {
|
|
|
715
709
|
}
|
|
716
710
|
/**
|
|
717
711
|
* Gets information about a specific file in the Media Manager.
|
|
718
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
719
712
|
* @param fileId - File ID.
|
|
720
713
|
* @public
|
|
721
|
-
* @documentationMaturity preview
|
|
722
714
|
* @requiredField fileId
|
|
723
715
|
* @returns Information about the file.
|
|
724
716
|
*/
|
|
725
717
|
export declare function getFileDescriptor(fileId: string): Promise<FileDescriptor>;
|
|
726
718
|
/**
|
|
727
719
|
* Gets information about the specified files in the Media Manager.
|
|
728
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
729
720
|
* @param fileIds - File IDs.
|
|
730
721
|
* @public
|
|
731
|
-
* @documentationMaturity preview
|
|
732
722
|
* @requiredField fileIds
|
|
733
723
|
*/
|
|
734
724
|
export declare function getFileDescriptors(fileIds: string[]): Promise<GetFileDescriptorsResponse>;
|
|
@@ -738,7 +728,6 @@ export declare function getFileDescriptors(fileIds: string[]): Promise<GetFileDe
|
|
|
738
728
|
* You can use the `parentFolderId` parameter to move a file from its current folder to a different folder.
|
|
739
729
|
* @param _id - File ID. Generated when a file is uploaded to the Media Manager.
|
|
740
730
|
* @public
|
|
741
|
-
* @documentationMaturity preview
|
|
742
731
|
* @requiredField _id
|
|
743
732
|
* @requiredField file
|
|
744
733
|
* @returns Information about the updated file.
|
|
@@ -834,13 +823,11 @@ export interface UpdateFileDescriptorFile {
|
|
|
834
823
|
/**
|
|
835
824
|
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
836
825
|
*
|
|
837
|
-
* To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see the [Upload API](
|
|
838
|
-
*
|
|
839
|
-
* >
|
|
840
|
-
* > - Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use the [Generate File Resumable Upload Url](https://www.wix.com/velo/reference/wix-media-v2/files/generatefileresumableuploadurl) instead. With the resumable upload URL, any interruption in the upload process pauses the file upload, and resumes the file upload process after the interruption.
|
|
826
|
+
* To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see the [Upload API](#upload-api).
|
|
827
|
+
*
|
|
828
|
+
* > **Note:** Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use the [Generate File Resumable Upload Url](#generatefileresumableuploadurl) instead. With the resumable upload URL, any interruption in the upload process pauses the file upload, and resumes the file upload process after the interruption.
|
|
841
829
|
* @param mimeType - File mime type.
|
|
842
830
|
* @public
|
|
843
|
-
* @documentationMaturity preview
|
|
844
831
|
* @requiredField mimeType
|
|
845
832
|
* @param options - Options to use when generating a file's upload URL.
|
|
846
833
|
*/
|
|
@@ -870,12 +857,9 @@ export interface GenerateFileUploadUrlOptions {
|
|
|
870
857
|
*
|
|
871
858
|
* With the resumable upload URL, any interruptions in the upload process pauses the file upload, and resumes the file upload process after the interruption. The resumable upload URL is also helpful when network connection is poor.
|
|
872
859
|
*
|
|
873
|
-
* To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see the [Resumable Upload API](
|
|
874
|
-
*
|
|
875
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
860
|
+
* To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see the [Resumable Upload API](#resumable-upload-api) article.
|
|
876
861
|
* @param mimeType - File mime type.
|
|
877
862
|
* @public
|
|
878
|
-
* @documentationMaturity preview
|
|
879
863
|
* @requiredField mimeType
|
|
880
864
|
* @param options - Options to use when generating a resumable upload URL.
|
|
881
865
|
*/
|
|
@@ -916,13 +900,10 @@ export interface GenerateFileResumableUploadUrlOptions {
|
|
|
916
900
|
* 2. Pass the file's name and extension. For example, `'my-image.png'`.
|
|
917
901
|
* 3. If you don't know the file's extension or MIME type, pass its [media type](https://support.wix.com/en/article/wix-media-supported-media-file-types-and-file-sizes) in the `mediaType` parameter of the request. For example, `'IMAGE'`. Note that this option only works if the server hosting the media allows a 'HEAD' request.
|
|
918
902
|
*
|
|
919
|
-
* >**
|
|
920
|
-
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
921
|
-
* > - The `media` property isn't returned in the `files` response object.
|
|
903
|
+
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
922
904
|
*
|
|
923
905
|
* @param url - Publicly accessible external file URL.
|
|
924
906
|
* @public
|
|
925
|
-
* @documentationMaturity preview
|
|
926
907
|
* @requiredField url
|
|
927
908
|
* @param options - Options to use when importing a single file.
|
|
928
909
|
*/
|
|
@@ -965,12 +946,9 @@ export interface ImportFileOptions {
|
|
|
965
946
|
* 2. Pass each file's name and extension. For example, `'my-image.png'`.
|
|
966
947
|
* 3. If you don't know a file's extension or MIME type, pass its [media type](https://support.wix.com/en/article/wix-media-supported-media-file-types-and-file-sizes) in the `mediaType` parameter of the request. For example, `'IMAGE'`. Note that this option only works if the server hosting the media allows a 'HEAD' request.
|
|
967
948
|
*
|
|
968
|
-
* >**
|
|
969
|
-
* > - This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
970
|
-
* > - The `media` property isn't returned in the `files` response object.
|
|
949
|
+
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
971
950
|
* @param importFileRequests - Information about the files to import.
|
|
972
951
|
* @public
|
|
973
|
-
* @documentationMaturity preview
|
|
974
952
|
* @requiredField importFileRequests
|
|
975
953
|
* @requiredField importFileRequests.url
|
|
976
954
|
* @param options - Options to use when uploading multiple files.
|
|
@@ -980,10 +958,7 @@ export declare function bulkImportFiles(importFileRequests: ImportFileRequest[])
|
|
|
980
958
|
* Retrieves a list of files in the Media Manager.
|
|
981
959
|
*
|
|
982
960
|
* To retrieve a list of files within a specific folder in the Media Manager, pass the folder's ID in the `parentFolderId` parameter. If no folder is specified, the endpoint retrieves the list of files in the root folder of the Media Manager.
|
|
983
|
-
*
|
|
984
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
985
961
|
* @public
|
|
986
|
-
* @documentationMaturity preview
|
|
987
962
|
* @param options - Options to use when listing media files.
|
|
988
963
|
*/
|
|
989
964
|
export declare function listFiles(options?: ListFilesOptions): Promise<ListFilesResponse>;
|
|
@@ -1015,10 +990,7 @@ export interface ListFilesOptions {
|
|
|
1015
990
|
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the optional parameters.
|
|
1016
991
|
*
|
|
1017
992
|
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
1018
|
-
*
|
|
1019
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
1020
993
|
* @public
|
|
1021
|
-
* @documentationMaturity preview
|
|
1022
994
|
* @param options - Options to specify which folders to search.
|
|
1023
995
|
*/
|
|
1024
996
|
export declare function searchFiles(options?: SearchFilesOptions): Promise<SearchFilesResponse>;
|
|
@@ -1056,11 +1028,8 @@ export interface SearchFilesOptions {
|
|
|
1056
1028
|
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
1057
1029
|
*
|
|
1058
1030
|
* To stream different assets of the file, use the `assetKeys` parameter which generates a video streaming URL for each asset. If no assetKey is specified, it defaults to `src`, which generates one video streaming URL in the original file's format and quality.
|
|
1059
|
-
*
|
|
1060
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
1061
1031
|
* @param fileId - File ID.
|
|
1062
1032
|
* @public
|
|
1063
|
-
* @documentationMaturity preview
|
|
1064
1033
|
* @requiredField fileId
|
|
1065
1034
|
* @param options - Options to use when generating a video file's streaming URL.
|
|
1066
1035
|
*/
|
|
@@ -1081,18 +1050,14 @@ export interface GenerateVideoStreamingUrlOptions {
|
|
|
1081
1050
|
*
|
|
1082
1051
|
* The deleted files are moved to the Media Manager's trash bin (`TRASH-ROOT` folder) unless permanently deleted. To permanently delete files, pass the `permanent` parameter with the value `true`. Permanently deleting files isn't reversible, so make sure that these files aren't being used in a site or in any other way as the files will no longer be accessible.
|
|
1083
1052
|
*
|
|
1084
|
-
*
|
|
1085
|
-
*
|
|
1086
|
-
*
|
|
1087
|
-
*
|
|
1088
|
-
*
|
|
1089
|
-
*
|
|
1090
|
-
*
|
|
1091
|
-
*
|
|
1092
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
1053
|
+
* >**Notes:**
|
|
1054
|
+
* > - The specified files can be from different folders.
|
|
1055
|
+
* > - Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
1056
|
+
* > - Attempting to delete files that are already in the trash bin doesn't result in an error.
|
|
1057
|
+
* > - If your site contains deleted media files, the deleted media files still appear on your site as the files are still in the Media Manager (in the trash bin).
|
|
1058
|
+
* > - You can use the [Bulk Restore Files From Trash Bin](#bulkrestorefilesfromtrashbin) endpoint to restore files from the Media Manager's trash bin.
|
|
1093
1059
|
* @param fileIds - IDs of the files to move to the Media Manager's trash bin.
|
|
1094
1060
|
* @public
|
|
1095
|
-
* @documentationMaturity preview
|
|
1096
1061
|
* @requiredField fileIds
|
|
1097
1062
|
* @param options - Options to use when deleting files.
|
|
1098
1063
|
*/
|
|
@@ -1106,20 +1071,18 @@ export interface BulkDeleteFilesOptions {
|
|
|
1106
1071
|
}
|
|
1107
1072
|
/**
|
|
1108
1073
|
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
1109
|
-
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
1110
1074
|
* @param fileIds - IDs of the files to restore from the Media Manager's trash bin.
|
|
1111
1075
|
* @public
|
|
1112
|
-
* @documentationMaturity preview
|
|
1113
1076
|
* @requiredField fileIds
|
|
1114
1077
|
*/
|
|
1115
1078
|
export declare function bulkRestoreFilesFromTrashBin(fileIds: string[]): Promise<void>;
|
|
1116
1079
|
/**
|
|
1117
1080
|
* Retrieves a list of files in the Media Manager's trash bin.
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
1081
|
+
*
|
|
1082
|
+
* >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
1083
|
+
*
|
|
1084
|
+
* This function is not a universal function and runs only on the backend.
|
|
1121
1085
|
* @public
|
|
1122
|
-
* @documentationMaturity preview
|
|
1123
1086
|
* @param options - Options to use when listing deleted files from the trash bin.
|
|
1124
1087
|
*/
|
|
1125
1088
|
export declare function listDeletedFiles(options?: ListDeletedFilesOptions): Promise<ListDeletedFilesResponse>;
|