@wix/auto_sdk_media_files 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.
@@ -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 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)).
41
+ * Whether the file is public or private. Learn more about [private files](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files).
42
42
  * @readonly
43
43
  */
44
44
  private?: boolean;
@@ -54,9 +54,6 @@ interface FileDescriptor {
54
54
  media?: FileMedia;
55
55
  /**
56
56
  * Status of the file that was uploaded.
57
- * * `FAILED`: The file failed to upload, for example, during media post processing.
58
- * * `READY`: The file uploaded, finished all processing, and is ready for use.
59
- * * `PENDING`: The file is processing and the URLs are not yet available. This response is returned when importing a file.
60
57
  * @readonly
61
58
  */
62
59
  operationStatus?: OperationStatusWithLiterals;
@@ -468,11 +465,11 @@ interface FontAsset {
468
465
  format?: string | null;
469
466
  }
470
467
  declare enum OperationStatus {
471
- /** File upload or processing failed */
468
+ /** The file failed to upload, for example, during media post processing. */
472
469
  FAILED = "FAILED",
473
- /** File is ready for consumption */
470
+ /** The file uploaded, finished all processing, and is ready for use. */
474
471
  READY = "READY",
475
- /** File is waiting for processing or currently being processed */
472
+ /** The file is processing and the URLs are not yet available. This response is returned when importing a file. */
476
473
  PENDING = "PENDING"
477
474
  }
478
475
  /** @enumType */
@@ -667,7 +664,7 @@ interface GenerateFilesDownloadUrlRequest {
667
664
  * IDs of the files to download.
668
665
  *
669
666
  * 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 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)).
667
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/file-id).
671
668
  * @minSize 1
672
669
  * @maxSize 1000
673
670
  * @maxLength 1000
@@ -686,7 +683,7 @@ interface GenerateFileDownloadUrlRequest {
686
683
  * File ID.
687
684
  *
688
685
  * 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 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)).
686
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/file-id).
690
687
  * @maxLength 1000
691
688
  */
692
689
  fileId: string;
@@ -775,7 +772,7 @@ interface GetFileDescriptorRequest {
775
772
  * File ID.
776
773
  *
777
774
  * 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 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)).
775
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/file-id).
779
776
  *
780
777
  * 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
778
  * @maxLength 1000
@@ -791,7 +788,7 @@ interface GetFileDescriptorsRequest {
791
788
  * File IDs.
792
789
  *
793
790
  * 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 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)).
791
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/file-id).
795
792
  * @minSize 1
796
793
  * @maxSize 100
797
794
  * @maxLength 1000
@@ -852,7 +849,7 @@ interface GenerateFileUploadUrlRequest {
852
849
  * @maxLength 100
853
850
  */
854
851
  parentFolderId?: string | null;
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)). */
852
+ /** Whether the file will be public or private. Learn more about [private files](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files). */
856
853
  private?: boolean | null;
857
854
  /**
858
855
  * 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 +960,7 @@ interface GenerateFileResumableUploadUrlRequest {
963
960
  * @maxLength 100
964
961
  */
965
962
  parentFolderId?: string | null;
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)). */
963
+ /** Whether the file will be public or private. Learn more about [private files](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files). */
967
964
  private?: boolean | null;
968
965
  /**
969
966
  * 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 +1022,7 @@ interface ImportFileRequest {
1025
1022
  * @maxLength 100
1026
1023
  */
1027
1024
  parentFolderId?: string | null;
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)). */
1025
+ /** Whether the file will be public or private. Learn more about [private files](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files). */
1029
1026
  private?: boolean | null;
1030
1027
  /**
1031
1028
  * 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 +1035,7 @@ interface ImportFileRequest {
1038
1035
  * @maxLength 100
1039
1036
  */
1040
1037
  mimeType?: string;
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. */
1038
+ /** Information sent to the File Ready and File Failed events. See [Importing Files](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/importing-files) to learn more. */
1042
1039
  externalInfo?: ExternalInfo;
1043
1040
  /** Optional parameters that should be sent with the external URL. */
1044
1041
  urlParams?: Record<string, any> | null;
@@ -1127,7 +1124,7 @@ interface ListFilesRequest {
1127
1124
  * + `false`: Returns only public files.
1128
1125
  * + `undefined`: Returns public and private files.
1129
1126
  *
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)).
1127
+ * Learn more about [private files](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files).
1131
1128
  */
1132
1129
  private?: boolean | null;
1133
1130
  /**
@@ -1206,7 +1203,7 @@ interface SearchFilesRequest {
1206
1203
  search?: string | null;
1207
1204
  /**
1208
1205
  * The root folder in the media manager to search 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)).
1206
+ * For more information, see Root Folders in [Terminology](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction#terminology).
1210
1207
  *
1211
1208
  * Default: `MEDIA_ROOT`.
1212
1209
  */
@@ -1222,7 +1219,7 @@ interface SearchFilesRequest {
1222
1219
  * + `false`: Returns only public files.
1223
1220
  * + `undefined`: Returns public and private files.
1224
1221
  *
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)).
1222
+ * Learn more about [private files](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files).
1226
1223
  */
1227
1224
  private?: boolean | null;
1228
1225
  /**
@@ -1265,7 +1262,7 @@ interface GenerateVideoStreamingUrlRequest {
1265
1262
  * File ID.
1266
1263
  *
1267
1264
  * 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 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)).
1265
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/file-id).
1269
1266
  * @maxLength 1000
1270
1267
  */
1271
1268
  fileId: string;
@@ -1297,7 +1294,7 @@ interface BulkDeleteFilesRequest {
1297
1294
  * IDs of the files to move to the Media Manager's trash bin.
1298
1295
  *
1299
1296
  * 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 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)).
1297
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/file-id).
1301
1298
  * @maxSize 1000
1302
1299
  * @maxLength 1000
1303
1300
  */
@@ -1315,7 +1312,7 @@ interface BulkRestoreFilesFromTrashBinRequest {
1315
1312
  * IDs of the files to restore from the Media Manager's trash bin.
1316
1313
  *
1317
1314
  * 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 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)).
1315
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/file-id).
1319
1316
  * @maxSize 1000
1320
1317
  * @maxLength 1000
1321
1318
  */
@@ -1335,7 +1332,7 @@ interface ListDeletedFilesRequest {
1335
1332
  * @maxSize 30
1336
1333
  */
1337
1334
  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 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)). */
1335
+ /** \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](https://dev.wix.com/docs/rest/assets/media/media-manager/files/private-files). */
1339
1336
  private?: boolean | null;
1340
1337
  /**
1341
1338
  * Field name and order to sort by. One of: <br />
@@ -1362,7 +1359,7 @@ interface BulkPublishDraftFilesRequest {
1362
1359
  * IDs of the draft files to be published.
1363
1360
  *
1364
1361
  * 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 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)).
1362
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/file-id).
1366
1363
  * @maxSize 100
1367
1364
  * @maxLength 1000
1368
1365
  */
@@ -1410,7 +1407,7 @@ interface UpdateFileRequest {
1410
1407
  * ID of the file to update.
1411
1408
  *
1412
1409
  * 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 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)).
1410
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/api-reference/assets/media/media-manager/files/file-id).
1414
1411
  * @maxLength 1000
1415
1412
  */
1416
1413
  fileId?: string;