@wix/auto_sdk_media_files 1.0.49 → 1.0.50
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.d.ts +11 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +37 -35
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +18 -18
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +11 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +37 -35
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +18 -18
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +37 -35
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +18 -18
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -9
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +37 -35
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +18 -18
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ interface FileDescriptor {
|
|
|
38
38
|
*/
|
|
39
39
|
sizeInBytes?: string | null;
|
|
40
40
|
/**
|
|
41
|
-
* Whether the file is public or private. Learn more about
|
|
41
|
+
* Whether the file is public or private. Learn more about private files ([SDK](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files) | [REST](https://dev.wix.com/docs/sdk/backend-modules/media/files/private-files)).
|
|
42
42
|
* @readonly
|
|
43
43
|
*/
|
|
44
44
|
private?: boolean;
|
|
@@ -667,7 +667,7 @@ interface GenerateFilesDownloadUrlRequest {
|
|
|
667
667
|
* IDs of the files to download.
|
|
668
668
|
*
|
|
669
669
|
* You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
670
|
-
* Learn more about the
|
|
670
|
+
* Learn more about the file ID parameter ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/file-and-folder-ids#file-id-as-a-parameter) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter)).
|
|
671
671
|
* @minSize 1
|
|
672
672
|
* @maxSize 1000
|
|
673
673
|
* @maxLength 1000
|
|
@@ -686,7 +686,7 @@ interface GenerateFileDownloadUrlRequest {
|
|
|
686
686
|
* File ID.
|
|
687
687
|
*
|
|
688
688
|
* You can also specify the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
689
|
-
* Learn more about the
|
|
689
|
+
* Learn more about the file ID parameter ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/file-and-folder-ids#file-id-as-a-parameter) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter)).
|
|
690
690
|
* @maxLength 1000
|
|
691
691
|
*/
|
|
692
692
|
fileId: string;
|
|
@@ -775,7 +775,7 @@ interface GetFileDescriptorRequest {
|
|
|
775
775
|
* File ID.
|
|
776
776
|
*
|
|
777
777
|
* You can also specify the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
778
|
-
* Learn more about the
|
|
778
|
+
* Learn more about the file ID parameter ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/file-and-folder-ids#file-id-as-a-parameter) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter)).
|
|
779
779
|
*
|
|
780
780
|
* If you are working in REST, note that you must encode the Wix media URL to specify it as a query param because it contains special characters. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032` becomes `wix%3Aimage%3A%2F%2Fv1%2F0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg%2Fleon.jpg%23originWidth%3D3024%26originHeight%3D4032`.
|
|
781
781
|
* @maxLength 1000
|
|
@@ -791,7 +791,7 @@ interface GetFileDescriptorsRequest {
|
|
|
791
791
|
* File IDs.
|
|
792
792
|
*
|
|
793
793
|
* You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
794
|
-
* Learn more about the
|
|
794
|
+
* Learn more about the file ID parameter ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/file-and-folder-ids#file-id-as-a-parameter) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter)).
|
|
795
795
|
* @minSize 1
|
|
796
796
|
* @maxSize 100
|
|
797
797
|
* @maxLength 1000
|
|
@@ -852,7 +852,7 @@ interface GenerateFileUploadUrlRequest {
|
|
|
852
852
|
* @maxLength 100
|
|
853
853
|
*/
|
|
854
854
|
parentFolderId?: string | null;
|
|
855
|
-
/** Whether the file will be public or private. Learn more about
|
|
855
|
+
/** Whether the file will be public or private. Learn more about private files ([SDK](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files) | [REST](https://dev.wix.com/docs/sdk/backend-modules/media/files/private-files)). */
|
|
856
856
|
private?: boolean | null;
|
|
857
857
|
/**
|
|
858
858
|
* Labels assigned to media files that describe and categorize them. Provided by the Wix user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images.
|
|
@@ -963,7 +963,7 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
963
963
|
* @maxLength 100
|
|
964
964
|
*/
|
|
965
965
|
parentFolderId?: string | null;
|
|
966
|
-
/** Whether the file will be public or private. Learn more about
|
|
966
|
+
/** Whether the file will be public or private. Learn more about private files ([SDK](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files) | [REST](https://dev.wix.com/docs/sdk/backend-modules/media/files/private-files)). */
|
|
967
967
|
private?: boolean | null;
|
|
968
968
|
/**
|
|
969
969
|
* Labels assigned to media files that describe and categorize them. Provided by the Wix user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images.
|
|
@@ -1025,7 +1025,7 @@ interface ImportFileRequest {
|
|
|
1025
1025
|
* @maxLength 100
|
|
1026
1026
|
*/
|
|
1027
1027
|
parentFolderId?: string | null;
|
|
1028
|
-
/** Whether the file will be public or private. Learn more about
|
|
1028
|
+
/** Whether the file will be public or private. Learn more about private files ([SDK](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files) | [REST](https://dev.wix.com/docs/sdk/backend-modules/media/files/private-files)). */
|
|
1029
1029
|
private?: boolean | null;
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Labels assigned to media files that describe and categorize them. Provided by the Wix user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images.
|
|
@@ -1038,7 +1038,7 @@ interface ImportFileRequest {
|
|
|
1038
1038
|
* @maxLength 100
|
|
1039
1039
|
*/
|
|
1040
1040
|
mimeType?: string;
|
|
1041
|
-
/** Information sent to the File Ready and File Failed events. See
|
|
1041
|
+
/** Information sent to the File Ready and File Failed events. See Importing Files ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_using-externalinfo) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#using-externalinfo)) to learn more. */
|
|
1042
1042
|
externalInfo?: ExternalInfo;
|
|
1043
1043
|
/** Optional parameters that should be sent with the external URL. */
|
|
1044
1044
|
urlParams?: Record<string, any> | null;
|
|
@@ -1127,7 +1127,7 @@ interface ListFilesRequest {
|
|
|
1127
1127
|
* + `false`: Returns only public files.
|
|
1128
1128
|
* + `undefined`: Returns public and private files.
|
|
1129
1129
|
*
|
|
1130
|
-
* Learn more about
|
|
1130
|
+
* Learn more about private files ([SDK](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files) | [REST](https://dev.wix.com/docs/sdk/backend-modules/media/files/private-files)).
|
|
1131
1131
|
*/
|
|
1132
1132
|
private?: boolean | null;
|
|
1133
1133
|
/**
|
|
@@ -1206,7 +1206,7 @@ interface SearchFilesRequest {
|
|
|
1206
1206
|
search?: string | null;
|
|
1207
1207
|
/**
|
|
1208
1208
|
* The root folder in the media manager to search in.
|
|
1209
|
-
* For more information, see Root Folders in [
|
|
1209
|
+
* For more information, see Root Folders in Terminology ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/introduction#terminology) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction#terminology)).
|
|
1210
1210
|
*
|
|
1211
1211
|
* Default: `MEDIA_ROOT`.
|
|
1212
1212
|
*/
|
|
@@ -1222,7 +1222,7 @@ interface SearchFilesRequest {
|
|
|
1222
1222
|
* + `false`: Returns only public files.
|
|
1223
1223
|
* + `undefined`: Returns public and private files.
|
|
1224
1224
|
*
|
|
1225
|
-
* Learn more about
|
|
1225
|
+
* Learn more about private files ([SDK](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files) | [REST](https://dev.wix.com/docs/sdk/backend-modules/media/files/private-files)).
|
|
1226
1226
|
*/
|
|
1227
1227
|
private?: boolean | null;
|
|
1228
1228
|
/**
|
|
@@ -1265,7 +1265,7 @@ interface GenerateVideoStreamingUrlRequest {
|
|
|
1265
1265
|
* File ID.
|
|
1266
1266
|
*
|
|
1267
1267
|
* You can also specify the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
1268
|
-
* Learn more about the
|
|
1268
|
+
* Learn more about the file ID parameter ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/file-and-folder-ids#file-id-as-a-parameter) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter)).
|
|
1269
1269
|
* @maxLength 1000
|
|
1270
1270
|
*/
|
|
1271
1271
|
fileId: string;
|
|
@@ -1297,7 +1297,7 @@ interface BulkDeleteFilesRequest {
|
|
|
1297
1297
|
* IDs of the files to move to the Media Manager's trash bin.
|
|
1298
1298
|
*
|
|
1299
1299
|
* You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
1300
|
-
* Learn more about the
|
|
1300
|
+
* Learn more about the file ID parameter ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/file-and-folder-ids#file-id-as-a-parameter) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter)).
|
|
1301
1301
|
* @maxSize 1000
|
|
1302
1302
|
* @maxLength 1000
|
|
1303
1303
|
*/
|
|
@@ -1315,7 +1315,7 @@ interface BulkRestoreFilesFromTrashBinRequest {
|
|
|
1315
1315
|
* IDs of the files to restore from the Media Manager's trash bin.
|
|
1316
1316
|
*
|
|
1317
1317
|
* You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
1318
|
-
* Learn more about the
|
|
1318
|
+
* Learn more about the file ID parameter ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/file-and-folder-ids#file-id-as-a-parameter) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter)).
|
|
1319
1319
|
* @maxSize 1000
|
|
1320
1320
|
* @maxLength 1000
|
|
1321
1321
|
*/
|
|
@@ -1335,7 +1335,7 @@ interface ListDeletedFilesRequest {
|
|
|
1335
1335
|
* @maxSize 30
|
|
1336
1336
|
*/
|
|
1337
1337
|
mediaTypes?: MediaTypeWithLiterals[];
|
|
1338
|
-
/** \n`true`: Returns only private files. \n`false`: Returns only public files. \n`undefined`: Returns public and private files. \n Learn more about
|
|
1338
|
+
/** \n`true`: Returns only private files. \n`false`: Returns only public files. \n`undefined`: Returns public and private files. \n Learn more about private files ([SDK](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files) | [REST](https://dev.wix.com/docs/sdk/backend-modules/media/files/private-files)). */
|
|
1339
1339
|
private?: boolean | null;
|
|
1340
1340
|
/**
|
|
1341
1341
|
* Field name and order to sort by. One of: <br />
|
|
@@ -1362,7 +1362,7 @@ interface BulkPublishDraftFilesRequest {
|
|
|
1362
1362
|
* IDs of the draft files to be published.
|
|
1363
1363
|
*
|
|
1364
1364
|
* You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
1365
|
-
* Learn more about the
|
|
1365
|
+
* Learn more about the file ID parameter ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/file-and-folder-ids#file-id-as-a-parameter) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter)).
|
|
1366
1366
|
* @maxSize 100
|
|
1367
1367
|
* @maxLength 1000
|
|
1368
1368
|
*/
|
|
@@ -1410,7 +1410,7 @@ interface UpdateFileRequest {
|
|
|
1410
1410
|
* ID of the file to update.
|
|
1411
1411
|
*
|
|
1412
1412
|
* You can also specify the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
|
|
1413
|
-
* Learn more about the
|
|
1413
|
+
* Learn more about the file ID parameter ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/file-and-folder-ids#file-id-as-a-parameter) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter)).
|
|
1414
1414
|
* @maxLength 1000
|
|
1415
1415
|
*/
|
|
1416
1416
|
fileId?: string;
|