@wix/media 1.0.26 → 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.universal.d.ts +9 -30
- package/build/cjs/src/media-site-media-v1-folder.universal.js +9 -30
- 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.universal.d.ts +9 -30
- package/build/es/src/media-site-media-v1-folder.universal.js +9 -30
- package/build/es/src/media-site-media-v1-folder.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -199,10 +199,8 @@ export interface ListDeletedFoldersResponse {
|
|
|
199
199
|
*
|
|
200
200
|
* Use the `parentFolderId` parameter to specify in which existing folder you want the new folder to be created.
|
|
201
201
|
* If no folder is specified, the new folder is created in the `media-root` folder.
|
|
202
|
-
* >**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.
|
|
203
202
|
* @param displayName - Folder name that appears in the Media Manager.
|
|
204
203
|
* @public
|
|
205
|
-
* @documentationMaturity preview
|
|
206
204
|
* @requiredField displayName
|
|
207
205
|
* @param options - Options for specifying where to create a folder.
|
|
208
206
|
*/
|
|
@@ -213,10 +211,8 @@ export interface CreateFolderOptions {
|
|
|
213
211
|
}
|
|
214
212
|
/**
|
|
215
213
|
* Gets information from a specific folder in the Media Manager.
|
|
216
|
-
* >**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.
|
|
217
214
|
* @param folderId - Folder ID.
|
|
218
215
|
* @public
|
|
219
|
-
* @documentationMaturity preview
|
|
220
216
|
* @requiredField folderId
|
|
221
217
|
* @returns Information about the folder.
|
|
222
218
|
*/
|
|
@@ -225,10 +221,7 @@ export declare function getFolder(folderId: string): Promise<Folder>;
|
|
|
225
221
|
* Retrieves a list of folders in the Media Manager.
|
|
226
222
|
*
|
|
227
223
|
* To retrieve a list of folders within a specific folder in the Media Manager, pass the specific folder's ID in the `parentFolderId` parameter. If no folder is specified, the endpoint retrieves a list of folders within the root folder of the Media Manager.
|
|
228
|
-
*
|
|
229
|
-
* >**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.
|
|
230
224
|
* @public
|
|
231
|
-
* @documentationMaturity preview
|
|
232
225
|
* @param options - Options to use when listing folders from the Media Manager.
|
|
233
226
|
*/
|
|
234
227
|
export declare function listFolders(options?: ListFoldersOptions): Promise<ListFoldersResponse>;
|
|
@@ -252,10 +245,7 @@ export interface ListFoldersOptions {
|
|
|
252
245
|
* Searches the Media Manager and returns a list of folders that match the terms specified in the parameters.
|
|
253
246
|
*
|
|
254
247
|
* If no parameters are specified, the endpoint returns all folders in the `MEDIA_ROOT` folder.
|
|
255
|
-
*
|
|
256
|
-
* >**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.
|
|
257
248
|
* @public
|
|
258
|
-
* @documentationMaturity preview
|
|
259
249
|
* @param options - Options specifying which folders to search.
|
|
260
250
|
*/
|
|
261
251
|
export declare function searchFolders(options?: SearchFoldersOptions): Promise<SearchFoldersResponse>;
|
|
@@ -285,11 +275,8 @@ export interface SearchFoldersOptions {
|
|
|
285
275
|
* Updates a folder.
|
|
286
276
|
*
|
|
287
277
|
* You can use the `parentFolderId` parameter to move a folder from its current parent folder to a different parent folder.
|
|
288
|
-
*
|
|
289
|
-
* >**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.
|
|
290
278
|
* @param _id - Folder ID. Generated when a folder is created in the Media Manager.
|
|
291
279
|
* @public
|
|
292
|
-
* @documentationMaturity preview
|
|
293
280
|
* @requiredField _id
|
|
294
281
|
* @requiredField folder
|
|
295
282
|
* @param options - @internal
|
|
@@ -326,11 +313,8 @@ export interface UpdateFolder {
|
|
|
326
313
|
* Generates a URL for downloading a compressed file containing a specific folder in the Media Manager.
|
|
327
314
|
*
|
|
328
315
|
* The compressed file can contain sub-folders, and up to 1000 files.
|
|
329
|
-
*
|
|
330
|
-
* >**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.
|
|
331
316
|
* @param folderId - Folder ID.
|
|
332
317
|
* @public
|
|
333
|
-
* @documentationMaturity preview
|
|
334
318
|
* @requiredField folderId
|
|
335
319
|
*/
|
|
336
320
|
export declare function generateFolderDownloadUrl(folderId: string): Promise<GenerateFolderDownloadUrlResponse>;
|
|
@@ -339,18 +323,15 @@ export declare function generateFolderDownloadUrl(folderId: string): Promise<Gen
|
|
|
339
323
|
*
|
|
340
324
|
* The deleted folders are moved to the Media Manager's `trash-root` folder (trash bin) unless permanently deleted. To permanently delete folders, pass the `permanent` parameter with the value `true`. Permanently deleting folders isn't reversible, so make sure that the files in these folders aren't being used in a site or in any other way as the files will no longer be accessible.
|
|
341
325
|
*
|
|
342
|
-
*
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
* >**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.
|
|
326
|
+
* >**Notes:**
|
|
327
|
+
* > - When a folder is deleted, the files in that folder are deleted.
|
|
328
|
+
* > - The specified folders can be from different parent folders.
|
|
329
|
+
* > - Moving multiple folders at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
330
|
+
* > - Attempting to delete folders that are already in the trash bin doesn't result in an error.
|
|
331
|
+
* > - If your site contains files from a deleted media folder, the files still appear on your site as the deleted folder is still in the Media Manager (in the trash bin).
|
|
332
|
+
* > - You can use the [Bulk Restore Folders From Trash Bin](#bulkrestorefoldersfromtrashbin) endpoint to restore folders from the Media Manager's trash bin.
|
|
351
333
|
* @param folderIds - IDs of the folders to move to the Media Manager's trash bin.
|
|
352
334
|
* @public
|
|
353
|
-
* @documentationMaturity preview
|
|
354
335
|
* @requiredField folderIds
|
|
355
336
|
* @param options - Options to use when deleting folders.
|
|
356
337
|
*/
|
|
@@ -364,18 +345,16 @@ export interface BulkDeleteFoldersOptions {
|
|
|
364
345
|
}
|
|
365
346
|
/**
|
|
366
347
|
* Restores the specified folders from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
367
|
-
* >**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.
|
|
368
348
|
* @param folderIds - IDs of the folders to restore from the Media Manager's trash bin.
|
|
369
349
|
* @public
|
|
370
|
-
* @documentationMaturity preview
|
|
371
350
|
* @requiredField folderIds
|
|
372
351
|
*/
|
|
373
352
|
export declare function bulkRestoreFoldersFromTrashBin(folderIds: string[]): Promise<void>;
|
|
374
353
|
/**
|
|
375
354
|
* Retrieves a list of deleted folders from the trash bin.
|
|
376
|
-
*
|
|
355
|
+
*
|
|
356
|
+
* This function is not a universal function and runs only on the backend.
|
|
377
357
|
* @public
|
|
378
|
-
* @documentationMaturity preview
|
|
379
358
|
* @param options - Options to use when listing deleted folders from the trash bin.
|
|
380
359
|
*/
|
|
381
360
|
export declare function listDeletedFolders(options?: ListDeletedFoldersOptions): Promise<ListDeletedFoldersResponse>;
|
|
@@ -88,10 +88,8 @@ const _updateFolderResponse = {};
|
|
|
88
88
|
*
|
|
89
89
|
* Use the `parentFolderId` parameter to specify in which existing folder you want the new folder to be created.
|
|
90
90
|
* If no folder is specified, the new folder is created in the `media-root` folder.
|
|
91
|
-
* >**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.
|
|
92
91
|
* @param displayName - Folder name that appears in the Media Manager.
|
|
93
92
|
* @public
|
|
94
|
-
* @documentationMaturity preview
|
|
95
93
|
* @requiredField displayName
|
|
96
94
|
* @param options - Options for specifying where to create a folder.
|
|
97
95
|
*/
|
|
@@ -145,10 +143,8 @@ function createFolder(displayName, options) {
|
|
|
145
143
|
exports.createFolder = createFolder;
|
|
146
144
|
/**
|
|
147
145
|
* Gets information from a specific folder in the Media Manager.
|
|
148
|
-
* >**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.
|
|
149
146
|
* @param folderId - Folder ID.
|
|
150
147
|
* @public
|
|
151
|
-
* @documentationMaturity preview
|
|
152
148
|
* @requiredField folderId
|
|
153
149
|
* @returns Information about the folder.
|
|
154
150
|
*/
|
|
@@ -200,10 +196,7 @@ exports.getFolder = getFolder;
|
|
|
200
196
|
* Retrieves a list of folders in the Media Manager.
|
|
201
197
|
*
|
|
202
198
|
* To retrieve a list of folders within a specific folder in the Media Manager, pass the specific folder's ID in the `parentFolderId` parameter. If no folder is specified, the endpoint retrieves a list of folders within the root folder of the Media Manager.
|
|
203
|
-
*
|
|
204
|
-
* >**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.
|
|
205
199
|
* @public
|
|
206
|
-
* @documentationMaturity preview
|
|
207
200
|
* @param options - Options to use when listing folders from the Media Manager.
|
|
208
201
|
*/
|
|
209
202
|
function listFolders(options) {
|
|
@@ -258,10 +251,7 @@ exports.listFolders = listFolders;
|
|
|
258
251
|
* Searches the Media Manager and returns a list of folders that match the terms specified in the parameters.
|
|
259
252
|
*
|
|
260
253
|
* If no parameters are specified, the endpoint returns all folders in the `MEDIA_ROOT` folder.
|
|
261
|
-
*
|
|
262
|
-
* >**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.
|
|
263
254
|
* @public
|
|
264
|
-
* @documentationMaturity preview
|
|
265
255
|
* @param options - Options specifying which folders to search.
|
|
266
256
|
*/
|
|
267
257
|
function searchFolders(options) {
|
|
@@ -317,11 +307,8 @@ exports.searchFolders = searchFolders;
|
|
|
317
307
|
* Updates a folder.
|
|
318
308
|
*
|
|
319
309
|
* You can use the `parentFolderId` parameter to move a folder from its current parent folder to a different parent folder.
|
|
320
|
-
*
|
|
321
|
-
* >**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.
|
|
322
310
|
* @param _id - Folder ID. Generated when a folder is created in the Media Manager.
|
|
323
311
|
* @public
|
|
324
|
-
* @documentationMaturity preview
|
|
325
312
|
* @requiredField _id
|
|
326
313
|
* @requiredField folder
|
|
327
314
|
* @param options - @internal
|
|
@@ -377,11 +364,8 @@ exports.updateFolder = updateFolder;
|
|
|
377
364
|
* Generates a URL for downloading a compressed file containing a specific folder in the Media Manager.
|
|
378
365
|
*
|
|
379
366
|
* The compressed file can contain sub-folders, and up to 1000 files.
|
|
380
|
-
*
|
|
381
|
-
* >**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.
|
|
382
367
|
* @param folderId - Folder ID.
|
|
383
368
|
* @public
|
|
384
|
-
* @documentationMaturity preview
|
|
385
369
|
* @requiredField folderId
|
|
386
370
|
*/
|
|
387
371
|
function generateFolderDownloadUrl(folderId) {
|
|
@@ -433,18 +417,15 @@ exports.generateFolderDownloadUrl = generateFolderDownloadUrl;
|
|
|
433
417
|
*
|
|
434
418
|
* The deleted folders are moved to the Media Manager's `trash-root` folder (trash bin) unless permanently deleted. To permanently delete folders, pass the `permanent` parameter with the value `true`. Permanently deleting folders isn't reversible, so make sure that the files in these folders aren't being used in a site or in any other way as the files will no longer be accessible.
|
|
435
419
|
*
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
*
|
|
443
|
-
*
|
|
444
|
-
* >**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.
|
|
420
|
+
* >**Notes:**
|
|
421
|
+
* > - When a folder is deleted, the files in that folder are deleted.
|
|
422
|
+
* > - The specified folders can be from different parent folders.
|
|
423
|
+
* > - Moving multiple folders at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
424
|
+
* > - Attempting to delete folders that are already in the trash bin doesn't result in an error.
|
|
425
|
+
* > - If your site contains files from a deleted media folder, the files still appear on your site as the deleted folder is still in the Media Manager (in the trash bin).
|
|
426
|
+
* > - You can use the [Bulk Restore Folders From Trash Bin](#bulkrestorefoldersfromtrashbin) endpoint to restore folders from the Media Manager's trash bin.
|
|
445
427
|
* @param folderIds - IDs of the folders to move to the Media Manager's trash bin.
|
|
446
428
|
* @public
|
|
447
|
-
* @documentationMaturity preview
|
|
448
429
|
* @requiredField folderIds
|
|
449
430
|
* @param options - Options to use when deleting folders.
|
|
450
431
|
*/
|
|
@@ -498,10 +479,8 @@ function bulkDeleteFolders(folderIds, options) {
|
|
|
498
479
|
exports.bulkDeleteFolders = bulkDeleteFolders;
|
|
499
480
|
/**
|
|
500
481
|
* Restores the specified folders from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
501
|
-
* >**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.
|
|
502
482
|
* @param folderIds - IDs of the folders to restore from the Media Manager's trash bin.
|
|
503
483
|
* @public
|
|
504
|
-
* @documentationMaturity preview
|
|
505
484
|
* @requiredField folderIds
|
|
506
485
|
*/
|
|
507
486
|
function bulkRestoreFoldersFromTrashBin(folderIds) {
|
|
@@ -550,9 +529,9 @@ function bulkRestoreFoldersFromTrashBin(folderIds) {
|
|
|
550
529
|
exports.bulkRestoreFoldersFromTrashBin = bulkRestoreFoldersFromTrashBin;
|
|
551
530
|
/**
|
|
552
531
|
* Retrieves a list of deleted folders from the trash bin.
|
|
553
|
-
*
|
|
532
|
+
*
|
|
533
|
+
* This function is not a universal function and runs only on the backend.
|
|
554
534
|
* @public
|
|
555
|
-
* @documentationMaturity preview
|
|
556
535
|
* @param options - Options to use when listing deleted folders from the trash bin.
|
|
557
536
|
*/
|
|
558
537
|
function listDeletedFolders(options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-site-media-v1-folder.universal.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-folder.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,uGAAyF;AAEzF,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,C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ChC;YACD,oBAAoB,EAAE,qBAAqB;SAC5C,CAAC,CAAC;QAEH,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAA,iBAAU,EAAC;YAC9B,UAAU,EAAE,2BAA2B;YACvC,UAAU,EAAE,EAAE;YACd,kBAAkB,EAAE;gBAClB,KAAK,EAAE,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;gBAC7B,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAE/C,MAAM,OAAO,GACX,mCAAmC,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;QAElE,KAAK,CAAC,8CAA8C,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAE1E,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;QAC5B,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AAzDD,gDAyDC"}
|
|
1
|
+
{"version":3,"file":"media-site-media-v1-folder.universal.js","sourceRoot":"","sources":["../../../src/media-site-media-v1-folder.universal.ts"],"names":[],"mappings":";;;;;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 +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>;
|
|
@@ -103,8 +103,6 @@ function resolveComWixMediaSiteMediaV1FilesServiceUrl(opts) {
|
|
|
103
103
|
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
104
104
|
*
|
|
105
105
|
* The compressed file can contain up to 1000 files.
|
|
106
|
-
*
|
|
107
|
-
* >**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.
|
|
108
106
|
*/
|
|
109
107
|
export function generateFilesDownloadUrl(payload) {
|
|
110
108
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_generateFilesDownloadUrlRequest, {});
|
|
@@ -135,8 +133,6 @@ export function generateFilesDownloadUrl(payload) {
|
|
|
135
133
|
* If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
136
134
|
*
|
|
137
135
|
* 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.
|
|
138
|
-
*
|
|
139
|
-
* >**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.
|
|
140
136
|
*/
|
|
141
137
|
export function generateFileDownloadUrl(payload) {
|
|
142
138
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_generateFileDownloadUrlRequest, {});
|
|
@@ -160,10 +156,7 @@ export function generateFileDownloadUrl(payload) {
|
|
|
160
156
|
__generateFileDownloadUrl.fromReq = fromReq;
|
|
161
157
|
return __generateFileDownloadUrl;
|
|
162
158
|
}
|
|
163
|
-
/**
|
|
164
|
-
* Gets information about a specific file in the Media Manager.
|
|
165
|
-
* >**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.
|
|
166
|
-
*/
|
|
159
|
+
/** Gets information about a specific file in the Media Manager. */
|
|
167
160
|
export function getFileDescriptor(payload) {
|
|
168
161
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_getFileDescriptorRequest, {});
|
|
169
162
|
const { fromJSON: fromRes } = serializer(_getFileDescriptorResponse, {
|
|
@@ -199,10 +192,7 @@ export function getFileDescriptor(payload) {
|
|
|
199
192
|
__getFileDescriptor.fromReq = fromReq;
|
|
200
193
|
return __getFileDescriptor;
|
|
201
194
|
}
|
|
202
|
-
/**
|
|
203
|
-
* Gets information about the specified files in the Media Manager.
|
|
204
|
-
* >**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.
|
|
205
|
-
*/
|
|
195
|
+
/** Gets information about the specified files in the Media Manager. */
|
|
206
196
|
export function getFileDescriptors(payload) {
|
|
207
197
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_getFileDescriptorsRequest, {});
|
|
208
198
|
const { fromJSON: fromRes } = serializer(_getFileDescriptorsResponse, {
|
|
@@ -294,10 +284,9 @@ export function updateFileDescriptor(payload) {
|
|
|
294
284
|
/**
|
|
295
285
|
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
296
286
|
*
|
|
297
|
-
* 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](
|
|
298
|
-
*
|
|
299
|
-
* >
|
|
300
|
-
* > - 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.
|
|
287
|
+
* 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).
|
|
288
|
+
*
|
|
289
|
+
* > **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.
|
|
301
290
|
*/
|
|
302
291
|
export function generateFileUploadUrl(payload) {
|
|
303
292
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_generateFileUploadUrlRequest, {});
|
|
@@ -326,9 +315,7 @@ export function generateFileUploadUrl(payload) {
|
|
|
326
315
|
*
|
|
327
316
|
* 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.
|
|
328
317
|
*
|
|
329
|
-
* 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](
|
|
330
|
-
*
|
|
331
|
-
* >**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.
|
|
318
|
+
* 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.
|
|
332
319
|
*/
|
|
333
320
|
export function generateFileResumableUploadUrl(payload) {
|
|
334
321
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_generateFileResumableUploadUrlRequest, {});
|
|
@@ -364,9 +351,7 @@ export function generateFileResumableUploadUrl(payload) {
|
|
|
364
351
|
* 2. Pass the file's name and extension. For example, `'my-image.png'`.
|
|
365
352
|
* 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.
|
|
366
353
|
*
|
|
367
|
-
* >**
|
|
368
|
-
* > - 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.
|
|
369
|
-
* > - The `media` property isn't returned in the `files` response object.
|
|
354
|
+
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
370
355
|
*
|
|
371
356
|
*/
|
|
372
357
|
export function importFile(payload) {
|
|
@@ -415,9 +400,7 @@ export function importFile(payload) {
|
|
|
415
400
|
* 2. Pass each file's name and extension. For example, `'my-image.png'`.
|
|
416
401
|
* 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.
|
|
417
402
|
*
|
|
418
|
-
* >**
|
|
419
|
-
* > - 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.
|
|
420
|
-
* > - The `media` property isn't returned in the `files` response object.
|
|
403
|
+
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
421
404
|
*/
|
|
422
405
|
export function bulkImportFiles(payload) {
|
|
423
406
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_bulkImportFilesRequest, { _importFileRequest });
|
|
@@ -458,8 +441,6 @@ export function bulkImportFiles(payload) {
|
|
|
458
441
|
* Retrieves a list of files in the Media Manager.
|
|
459
442
|
*
|
|
460
443
|
* 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.
|
|
461
|
-
*
|
|
462
|
-
* >**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.
|
|
463
444
|
*/
|
|
464
445
|
export function listFiles(payload) {
|
|
465
446
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_listFilesRequest, {});
|
|
@@ -500,8 +481,6 @@ export function listFiles(payload) {
|
|
|
500
481
|
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the optional parameters.
|
|
501
482
|
*
|
|
502
483
|
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
503
|
-
*
|
|
504
|
-
* >**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.
|
|
505
484
|
*/
|
|
506
485
|
export function searchFiles(payload) {
|
|
507
486
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_searchFilesRequest, {});
|
|
@@ -542,8 +521,6 @@ export function searchFiles(payload) {
|
|
|
542
521
|
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
543
522
|
*
|
|
544
523
|
* 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.
|
|
545
|
-
*
|
|
546
|
-
* >**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.
|
|
547
524
|
*/
|
|
548
525
|
export function generateVideoStreamingUrl(payload) {
|
|
549
526
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_generateVideoStreamingUrlRequest, {});
|
|
@@ -573,15 +550,12 @@ export function generateVideoStreamingUrl(payload) {
|
|
|
573
550
|
*
|
|
574
551
|
* 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.
|
|
575
552
|
*
|
|
576
|
-
*
|
|
577
|
-
*
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
*
|
|
581
|
-
*
|
|
582
|
-
*
|
|
583
|
-
*
|
|
584
|
-
* >**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.
|
|
553
|
+
* >**Notes:**
|
|
554
|
+
* > - The specified files can be from different folders.
|
|
555
|
+
* > - Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
556
|
+
* > - Attempting to delete files that are already in the trash bin doesn't result in an error.
|
|
557
|
+
* > - 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).
|
|
558
|
+
* > - You can use the [Bulk Restore Files From Trash Bin](#bulkrestorefilesfromtrashbin) endpoint to restore files from the Media Manager's trash bin.
|
|
585
559
|
*/
|
|
586
560
|
export function bulkDeleteFiles(payload) {
|
|
587
561
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_bulkDeleteFilesRequest, {});
|
|
@@ -605,10 +579,7 @@ export function bulkDeleteFiles(payload) {
|
|
|
605
579
|
__bulkDeleteFiles.fromReq = fromReq;
|
|
606
580
|
return __bulkDeleteFiles;
|
|
607
581
|
}
|
|
608
|
-
/**
|
|
609
|
-
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
610
|
-
* >**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.
|
|
611
|
-
*/
|
|
582
|
+
/** Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager. */
|
|
612
583
|
export function bulkRestoreFilesFromTrashBin(payload) {
|
|
613
584
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_bulkRestoreFilesFromTrashBinRequest, {});
|
|
614
585
|
const { fromJSON: fromRes } = serializer(_bulkRestoreFilesFromTrashBinResponse, {});
|
|
@@ -633,9 +604,8 @@ export function bulkRestoreFilesFromTrashBin(payload) {
|
|
|
633
604
|
}
|
|
634
605
|
/**
|
|
635
606
|
* Retrieves a list of files in the Media Manager's trash bin.
|
|
636
|
-
*
|
|
637
|
-
*
|
|
638
|
-
* > - The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
607
|
+
*
|
|
608
|
+
* >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
639
609
|
*/
|
|
640
610
|
export function listDeletedFiles(payload) {
|
|
641
611
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_listDeletedFilesRequest, {});
|