@wix/media 1.0.50 → 1.0.52
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/index.js +5 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +5 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +5 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.http.d.ts +83 -34
- package/build/cjs/src/media-site-media-v1-file-descriptor.http.js +433 -350
- 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.meta.d.ts +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.meta.js +5 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.meta.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.public.d.ts +10 -10
- package/build/cjs/src/media-site-media-v1-file-descriptor.types.d.ts +5 -6
- package/build/cjs/src/media-site-media-v1-file-descriptor.types.js +10 -10
- package/build/cjs/src/media-site-media-v1-file-descriptor.types.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.d.ts +126 -69
- package/build/cjs/src/media-site-media-v1-file-descriptor.universal.js +227 -99
- 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.js +84 -89
- package/build/cjs/src/media-site-media-v1-folder.http.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.meta.d.ts +1 -1
- package/build/cjs/src/media-site-media-v1-folder.meta.js +5 -1
- package/build/cjs/src/media-site-media-v1-folder.meta.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.public.d.ts +5 -5
- package/build/cjs/src/media-site-media-v1-folder.types.d.ts +4 -5
- package/build/cjs/src/media-site-media-v1-folder.types.js +4 -4
- package/build/cjs/src/media-site-media-v1-folder.types.js.map +1 -1
- package/build/cjs/src/media-site-media-v1-folder.universal.d.ts +4 -5
- package/build/cjs/src/media-site-media-v1-folder.universal.js +74 -37
- 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 +83 -34
- package/build/es/src/media-site-media-v1-file-descriptor.http.js +433 -350
- 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.meta.d.ts +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.public.d.ts +10 -10
- package/build/es/src/media-site-media-v1-file-descriptor.types.d.ts +5 -6
- package/build/es/src/media-site-media-v1-file-descriptor.types.js.map +1 -1
- package/build/es/src/media-site-media-v1-file-descriptor.universal.d.ts +126 -69
- package/build/es/src/media-site-media-v1-file-descriptor.universal.js +213 -89
- 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.js +84 -89
- package/build/es/src/media-site-media-v1-folder.http.js.map +1 -1
- package/build/es/src/media-site-media-v1-folder.meta.d.ts +1 -1
- package/build/es/src/media-site-media-v1-folder.public.d.ts +5 -5
- package/build/es/src/media-site-media-v1-folder.types.d.ts +4 -5
- package/build/es/src/media-site-media-v1-folder.types.js.map +1 -1
- package/build/es/src/media-site-media-v1-folder.universal.d.ts +4 -5
- package/build/es/src/media-site-media-v1-folder.universal.js +66 -33
- package/build/es/src/media-site-media-v1-folder.universal.js.map +1 -1
- package/package.json +7 -3
package/build/cjs/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0FAA0E;AAC1E,mFAAmE"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6FAA6E;AAC7E,sFAAsE"}
|
package/build/cjs/meta.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wFAAwE;AACxE,iFAAiE"}
|
|
@@ -3,24 +3,45 @@ import { BulkDeleteFilesRequest, BulkDeleteFilesResponse, BulkImportFilesRequest
|
|
|
3
3
|
/**
|
|
4
4
|
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
5
5
|
*
|
|
6
|
+
* The `generateFilesDownloadUrl()` function returns a Promise that resolves to a download URL.
|
|
7
|
+
*
|
|
6
8
|
* The compressed file can contain up to 1000 files.
|
|
7
9
|
*/
|
|
8
10
|
export declare function generateFilesDownloadUrl(payload: GenerateFilesDownloadUrlRequest): RequestOptionsFactory<GenerateFilesDownloadUrlResponse & GenerateFilesDownloadUrlResponseNonNullableFields>;
|
|
9
11
|
/**
|
|
10
12
|
* Generates one or more temporary URLs for downloading a specific file in the Media Manager.
|
|
11
13
|
*
|
|
14
|
+
* The `generateFileDownloadUrl()` function returns a Promise that resolves to an array containing download URLs for the assets specified in the options parameter.
|
|
15
|
+
*
|
|
12
16
|
* To download different assets of the file, use the `assetKeys` parameter which generates a download URL for each asset.
|
|
13
|
-
* If no
|
|
17
|
+
* If no asset key is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
14
18
|
*
|
|
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
|
|
19
|
+
* 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.
|
|
16
20
|
*/
|
|
17
21
|
export declare function generateFileDownloadUrl(payload: GenerateFileDownloadUrlRequest): RequestOptionsFactory<GenerateFileDownloadUrlResponse & GenerateFileDownloadUrlResponseNonNullableFields>;
|
|
18
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Gets information about the specified file in the Media Manager.
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* The `getFileDescriptor()` function returns a Promise that resolves to the specified file's descriptor.
|
|
27
|
+
*
|
|
28
|
+
* Use `getFileDescriptors()` to get multiple file descriptors at once.
|
|
29
|
+
*/
|
|
19
30
|
export declare function getFileDescriptor(payload: GetFileDescriptorRequest): RequestOptionsFactory<GetFileDescriptorResponse & GetFileDescriptorResponseNonNullableFields>;
|
|
20
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Gets information about the specified files in the Media Manager.
|
|
33
|
+
*
|
|
34
|
+
*
|
|
35
|
+
* The `getFileDescriptors()` function returns a Promise that resolves to an array containing the specified files' descriptors.
|
|
36
|
+
*
|
|
37
|
+
* Use `getFileDescriptor()` to get a single file descriptor.
|
|
38
|
+
*/
|
|
21
39
|
export declare function getFileDescriptors(payload: GetFileDescriptorsRequest): RequestOptionsFactory<GetFileDescriptorsResponse & GetFileDescriptorsResponseNonNullableFields>;
|
|
22
40
|
/**
|
|
23
|
-
* Updates a file.
|
|
41
|
+
* Updates a file.
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* The `updateFileDescriptor()` function returns a Promise that resolves to the updated file's descriptor.
|
|
24
45
|
*
|
|
25
46
|
* You can use the `parentFolderId` parameter to move a file from its current folder to a different folder.
|
|
26
47
|
*/
|
|
@@ -28,33 +49,36 @@ export declare function updateFileDescriptor(payload: UpdateFileDescriptorReques
|
|
|
28
49
|
/**
|
|
29
50
|
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
30
51
|
*
|
|
52
|
+
* The `generateFileUploadUrl()` function returns a Promise that resolves to an upload URL.
|
|
53
|
+
*
|
|
31
54
|
* 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 article.
|
|
32
55
|
*
|
|
33
|
-
* > **Note:** Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use
|
|
56
|
+
* > **Note:** Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use `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.
|
|
34
57
|
*/
|
|
35
58
|
export declare function generateFileUploadUrl(payload: GenerateFileUploadUrlRequest): RequestOptionsFactory<GenerateFileUploadUrlResponse & GenerateFileUploadUrlResponseNonNullableFields>;
|
|
36
59
|
/**
|
|
37
|
-
* Generates a resumable upload URL to allow external clients to
|
|
60
|
+
* Generates a resumable upload URL to allow external clients to upload large files over 10MB to the Media Manager.
|
|
38
61
|
*
|
|
39
|
-
*
|
|
62
|
+
* The `generateFileResumableUploadUrl()` function returns a Promise that resolves to an upload URL, token, and protocol.
|
|
63
|
+
*
|
|
64
|
+
* When using the resumable upload URL, any interruptions will pause the file upload process, which automatically resumes once the interruption is resolved. The resumable upload URL is also helpful when network connection is poor.
|
|
40
65
|
*
|
|
41
66
|
* 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 article.
|
|
42
67
|
*/
|
|
43
68
|
export declare function generateFileResumableUploadUrl(payload: GenerateFileResumableUploadUrlRequest): RequestOptionsFactory<GenerateFileResumableUploadUrlResponse & GenerateFileResumableUploadUrlResponseNonNullableFields>;
|
|
44
69
|
/**
|
|
45
|
-
* Imports a file to the Media Manager using an external
|
|
70
|
+
* Imports a file to the Media Manager using an external URL.
|
|
71
|
+
*
|
|
72
|
+
* The `importFile()` function returns a Promise that resolves to the imported file's descriptor.
|
|
46
73
|
*
|
|
47
|
-
* This function returns information about the imported file.
|
|
74
|
+
* This function returns information about the imported file. Importing a file is the method through which you can add files to the Media Manager.
|
|
48
75
|
* Use the `parentFolderId` parameter to specify which folder you want the file to be imported to.
|
|
49
76
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
50
77
|
*
|
|
51
|
-
* To import a file, you need to
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
57
|
-
*
|
|
78
|
+
* To import a file, you need to pass one of the following:
|
|
79
|
+
* - The file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request. For example, `'image/png'`.
|
|
80
|
+
* - The file's name and extension. For example, `'my-image.png'`.
|
|
81
|
+
* - If you don't know the file's extension or MIME type, 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.
|
|
58
82
|
*/
|
|
59
83
|
export declare function importFile(payload: ImportFileRequest): RequestOptionsFactory<ImportFileResponse & ImportFileResponseNonNullableFields>;
|
|
60
84
|
/**
|
|
@@ -62,52 +86,69 @@ export declare function importFile(payload: ImportFileRequest): RequestOptionsFa
|
|
|
62
86
|
* > This function has been replaced with `bulkImportFile()`, and will be removed on March 31, 2024.
|
|
63
87
|
*
|
|
64
88
|
*
|
|
89
|
+
* The `bulkImportFiles()` function returns a Promise that resolves to an array of the imported files' descriptors.
|
|
90
|
+
*
|
|
65
91
|
* Imports a bulk of files to the Media Manager using external urls.
|
|
66
92
|
*
|
|
67
93
|
* Returns information about the imported files. Use the `parentFolderId` parameter to specify in which folder you want each file to be imported.
|
|
68
94
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
69
95
|
*
|
|
70
|
-
* To import
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
96
|
+
* To import a file, you need to pass one of the following:
|
|
97
|
+
* - The file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request. For example, `'image/png'`.
|
|
98
|
+
* - The file's name and extension. For example, `'my-image.png'`.
|
|
99
|
+
* - If you don't know the file's extension or MIME type, 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.
|
|
74
100
|
*
|
|
75
101
|
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
76
102
|
*/
|
|
77
103
|
export declare function bulkImportFiles(payload: BulkImportFilesRequest): RequestOptionsFactory<BulkImportFilesResponse & BulkImportFilesResponseNonNullableFields>;
|
|
78
104
|
/**
|
|
79
|
-
* Imports a bulk of files to the Media Manager using external urls.
|
|
105
|
+
* Imports a bulk of files to the Media Manager using external urls.
|
|
80
106
|
*
|
|
81
|
-
*
|
|
82
|
-
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
107
|
+
* The `bulkImportFile()` function returns a Promise that resolves to an object containing bulk import metadata and an array of imported files' descriptors and metadata.
|
|
83
108
|
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* 2. Pass each file's name and extension. For example, 'my-image.png'.
|
|
87
|
-
* 3. If you don't know a file's extension or MIME type, pass its media type 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.
|
|
109
|
+
* Returns information about the imported files. Use the `parentFolderId` parameter to specify in which folder you want each file to be imported.
|
|
110
|
+
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
88
111
|
*
|
|
89
|
-
*
|
|
112
|
+
* To import a file, you need to pass one of the following:
|
|
113
|
+
* - The file's [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` parameter of the request. For example, `'image/png'`.
|
|
114
|
+
* - The file's name and extension. For example, `'my-image.png'`.
|
|
115
|
+
* - If you don't know the file's extension or MIME type, 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.
|
|
90
116
|
*/
|
|
91
117
|
export declare function bulkImportFile(payload: BulkImportFileRequest): RequestOptionsFactory<BulkImportFileResponse & BulkImportFileResponseNonNullableFields>;
|
|
92
118
|
/**
|
|
93
119
|
* Retrieves a list of files in the Media Manager.
|
|
94
120
|
*
|
|
121
|
+
* The `listFiles()` function returns a Promise that resolves to an array of the specified files' descriptors and cursor information.
|
|
122
|
+
*
|
|
95
123
|
* 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 only the list of files in the root folder of the Media Manager.
|
|
124
|
+
*
|
|
125
|
+
* To retrieve a list of (non-permanently) deleted files, use the `listDeletedFiles()` function.
|
|
96
126
|
*/
|
|
97
127
|
export declare function listFiles(payload: ListFilesRequest): RequestOptionsFactory<ListFilesResponse & ListFilesResponseNonNullableFields>;
|
|
98
128
|
/**
|
|
99
129
|
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the optional parameters.
|
|
100
130
|
*
|
|
101
|
-
*
|
|
131
|
+
* The `searchFiles()` function returns a Promise that resolves to an array of the specified files' descriptors and cursor information.
|
|
132
|
+
*
|
|
133
|
+
* If no parameters are specified, the function returns all files in the `MEDIA_ROOT` folder.
|
|
102
134
|
*/
|
|
103
135
|
export declare function searchFiles(payload: SearchFilesRequest): RequestOptionsFactory<SearchFilesResponse & SearchFilesResponseNonNullableFields>;
|
|
104
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
138
|
+
*
|
|
139
|
+
*
|
|
140
|
+
* The `generateVideoStreamingUrl()` function returns a Promise that resolves to a download URL and its asset key.
|
|
141
|
+
*
|
|
142
|
+
* To stream different assets of the file, use the `assetKeys` parameter which generates a video streaming URL for each asset. If no asset key is specified, it defaults to `src`, which generates one video streaming URL in the original file's format and quality.
|
|
143
|
+
*/
|
|
105
144
|
export declare function generateVideoStreamingUrl(payload: GenerateVideoStreamingUrlRequest): RequestOptionsFactory<GenerateVideoStreamingUrlResponse & GenerateVideoStreamingUrlResponseNonNullableFields>;
|
|
106
145
|
/**
|
|
107
146
|
* Deletes the specified files from the Media Manager.
|
|
108
147
|
*
|
|
109
148
|
*
|
|
110
|
-
* The
|
|
149
|
+
* The `bulkDeleteFiles()` function returns a Promise that resolves when the files are deleted.
|
|
150
|
+
*
|
|
151
|
+
* 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.
|
|
111
152
|
*
|
|
112
153
|
* >**Notes:**
|
|
113
154
|
* > - The specified files can be from different folders.
|
|
@@ -117,11 +158,19 @@ export declare function generateVideoStreamingUrl(payload: GenerateVideoStreamin
|
|
|
117
158
|
* > - You can use `bulkRestoreFilesFromTrashBin()` to restore files from the Media Manager's trash bin.
|
|
118
159
|
*/
|
|
119
160
|
export declare function bulkDeleteFiles(payload: BulkDeleteFilesRequest): RequestOptionsFactory<BulkDeleteFilesResponse>;
|
|
120
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
163
|
+
*
|
|
164
|
+
* The `bulkRestoreFilesFromTrashBin()` function returns a Promise that resolves when the files have been restored.
|
|
165
|
+
*/
|
|
121
166
|
export declare function bulkRestoreFilesFromTrashBin(payload: BulkRestoreFilesFromTrashBinRequest): RequestOptionsFactory<BulkRestoreFilesFromTrashBinResponse>;
|
|
122
167
|
/**
|
|
123
168
|
* Retrieves a list of files in the Media Manager's trash bin.
|
|
124
169
|
*
|
|
125
|
-
*
|
|
170
|
+
* The `listDeletedFiles()` function returns a Promise that resolves to an array of the specified deleted files' descriptors and cursor information.
|
|
171
|
+
*
|
|
172
|
+
* >**Note:** The Media Manager's trash bin (`TRASH_ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
173
|
+
*
|
|
174
|
+
* To retrieve a list of non-deleted files, use the `listFiles()` function.
|
|
126
175
|
*/
|
|
127
176
|
export declare function listDeletedFiles(payload: ListDeletedFilesRequest): RequestOptionsFactory<ListDeletedFilesResponse & ListDeletedFilesResponseNonNullableFields>;
|