@wix/media 1.0.129 → 1.0.131

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.
@@ -557,6 +557,58 @@ interface ImportFileResponse$3 {
557
557
  */
558
558
  item?: EnterpriseMediaItem$1;
559
559
  }
560
+ interface BulkImportFilesRequest$3 {
561
+ /** Information about the files to import. */
562
+ importFileRequests: ImportFileRequest$3[];
563
+ /**
564
+ * Whether to include the imported File Descriptor in the response. Set to `false` to exclude the File Descriptor from the returned object.
565
+ * Default: `true`
566
+ */
567
+ returnEntity?: boolean | null;
568
+ /**
569
+ * An optional list of categories to link all the items to
570
+ * The item will be linked to the account category automatically
571
+ */
572
+ categoryIds?: string[] | null;
573
+ }
574
+ interface BulkImportFilesResponse$3 {
575
+ /** Items created by bulk action. */
576
+ results?: BulkImportFilesResult$1[];
577
+ /** Bulk action metadata. */
578
+ bulkActionMetadata?: BulkActionMetadata$3;
579
+ }
580
+ interface BulkImportFilesResult$1 {
581
+ /** Item metadata. */
582
+ itemMetadata?: ItemMetadata$3;
583
+ /** Imported file. This field is returned if the operation was successful and `returnEntity` is not set to `false`. */
584
+ item?: EnterpriseMediaItem$1;
585
+ }
586
+ interface ItemMetadata$3 {
587
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
588
+ id?: string | null;
589
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
590
+ originalIndex?: number;
591
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
592
+ success?: boolean;
593
+ /** Details about the error in case of failure. */
594
+ error?: ApplicationError$3;
595
+ }
596
+ interface ApplicationError$3 {
597
+ /** Error code. */
598
+ code?: string;
599
+ /** Description of the error. */
600
+ description?: string;
601
+ /** Data related to the error. */
602
+ data?: Record<string, any> | null;
603
+ }
604
+ interface BulkActionMetadata$3 {
605
+ /** Number of items that were successfully processed. */
606
+ totalSuccesses?: number;
607
+ /** Number of items that couldn't be processed. */
608
+ totalFailures?: number;
609
+ /** Number of failures without details because detailed failure threshold was exceeded. */
610
+ undetailedFailures?: number;
611
+ }
560
612
  interface SearchItemsRequest$1 {
561
613
  /** Items search query */
562
614
  query?: Search$1;
@@ -675,32 +727,6 @@ interface BulkItemUpdateResult$1 {
675
727
  /** only returned if operation was successful and if returnEntity flag was on */
676
728
  item?: EnterpriseMediaItem$1;
677
729
  }
678
- interface ItemMetadata$3 {
679
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
680
- id?: string | null;
681
- /** Index of the item within the request array. Allows for correlation between request and response items. */
682
- originalIndex?: number;
683
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
684
- success?: boolean;
685
- /** Details about the error in case of failure. */
686
- error?: ApplicationError$3;
687
- }
688
- interface ApplicationError$3 {
689
- /** Error code. */
690
- code?: string;
691
- /** Description of the error. */
692
- description?: string;
693
- /** Data related to the error. */
694
- data?: Record<string, any> | null;
695
- }
696
- interface BulkActionMetadata$3 {
697
- /** Number of items that were successfully processed. */
698
- totalSuccesses?: number;
699
- /** Number of items that couldn't be processed. */
700
- totalFailures?: number;
701
- /** Number of failures without details because detailed failure threshold was exceeded. */
702
- undetailedFailures?: number;
703
- }
704
730
  interface GetItemRequest$1 {
705
731
  /** Item id */
706
732
  itemId: string;
@@ -798,15 +824,6 @@ interface EnterpriseMediaItemNonNullableFields$1 {
798
824
  interface ImportFileResponseNonNullableFields$3 {
799
825
  item?: EnterpriseMediaItemNonNullableFields$1;
800
826
  }
801
- interface SearchItemsResponseNonNullableFields$1 {
802
- items: EnterpriseMediaItemNonNullableFields$1[];
803
- }
804
- interface QueryItemsResponseNonNullableFields$1 {
805
- items: EnterpriseMediaItemNonNullableFields$1[];
806
- }
807
- interface UpdateItemResponseNonNullableFields$1 {
808
- item?: EnterpriseMediaItemNonNullableFields$1;
809
- }
810
827
  interface ApplicationErrorNonNullableFields$3 {
811
828
  code: string;
812
829
  description: string;
@@ -816,7 +833,7 @@ interface ItemMetadataNonNullableFields$3 {
816
833
  success: boolean;
817
834
  error?: ApplicationErrorNonNullableFields$3;
818
835
  }
819
- interface BulkItemUpdateResultNonNullableFields$1 {
836
+ interface BulkImportFilesResultNonNullableFields$1 {
820
837
  itemMetadata?: ItemMetadataNonNullableFields$3;
821
838
  item?: EnterpriseMediaItemNonNullableFields$1;
822
839
  }
@@ -825,6 +842,23 @@ interface BulkActionMetadataNonNullableFields$3 {
825
842
  totalFailures: number;
826
843
  undetailedFailures: number;
827
844
  }
845
+ interface BulkImportFilesResponseNonNullableFields$3 {
846
+ results: BulkImportFilesResultNonNullableFields$1[];
847
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
848
+ }
849
+ interface SearchItemsResponseNonNullableFields$1 {
850
+ items: EnterpriseMediaItemNonNullableFields$1[];
851
+ }
852
+ interface QueryItemsResponseNonNullableFields$1 {
853
+ items: EnterpriseMediaItemNonNullableFields$1[];
854
+ }
855
+ interface UpdateItemResponseNonNullableFields$1 {
856
+ item?: EnterpriseMediaItemNonNullableFields$1;
857
+ }
858
+ interface BulkItemUpdateResultNonNullableFields$1 {
859
+ itemMetadata?: ItemMetadataNonNullableFields$3;
860
+ item?: EnterpriseMediaItemNonNullableFields$1;
861
+ }
828
862
  interface BulkUpdateItemResponseNonNullableFields$1 {
829
863
  results: BulkItemUpdateResultNonNullableFields$1[];
830
864
  bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
@@ -1045,6 +1079,58 @@ interface ImportFileResponse$2 {
1045
1079
  */
1046
1080
  item?: EnterpriseMediaItem;
1047
1081
  }
1082
+ interface BulkImportFilesRequest$2 {
1083
+ /** Information about the files to import. */
1084
+ importFileRequests: ImportFileRequest$2[];
1085
+ /**
1086
+ * Whether to include the imported File Descriptor in the response. Set to `false` to exclude the File Descriptor from the returned object.
1087
+ * Default: `true`
1088
+ */
1089
+ returnEntity?: boolean | null;
1090
+ /**
1091
+ * An optional list of categories to link all the items to
1092
+ * The item will be linked to the account category automatically
1093
+ */
1094
+ categoryIds?: string[] | null;
1095
+ }
1096
+ interface BulkImportFilesResponse$2 {
1097
+ /** Items created by bulk action. */
1098
+ results?: BulkImportFilesResult[];
1099
+ /** Bulk action metadata. */
1100
+ bulkActionMetadata?: BulkActionMetadata$2;
1101
+ }
1102
+ interface BulkImportFilesResult {
1103
+ /** Item metadata. */
1104
+ itemMetadata?: ItemMetadata$2;
1105
+ /** Imported file. This field is returned if the operation was successful and `returnEntity` is not set to `false`. */
1106
+ item?: EnterpriseMediaItem;
1107
+ }
1108
+ interface ItemMetadata$2 {
1109
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
1110
+ _id?: string | null;
1111
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
1112
+ originalIndex?: number;
1113
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
1114
+ success?: boolean;
1115
+ /** Details about the error in case of failure. */
1116
+ error?: ApplicationError$2;
1117
+ }
1118
+ interface ApplicationError$2 {
1119
+ /** Error code. */
1120
+ code?: string;
1121
+ /** Description of the error. */
1122
+ description?: string;
1123
+ /** Data related to the error. */
1124
+ data?: Record<string, any> | null;
1125
+ }
1126
+ interface BulkActionMetadata$2 {
1127
+ /** Number of items that were successfully processed. */
1128
+ totalSuccesses?: number;
1129
+ /** Number of items that couldn't be processed. */
1130
+ totalFailures?: number;
1131
+ /** Number of failures without details because detailed failure threshold was exceeded. */
1132
+ undetailedFailures?: number;
1133
+ }
1048
1134
  interface SearchItemsRequest {
1049
1135
  /** Items search query */
1050
1136
  query?: Search;
@@ -1163,32 +1249,6 @@ interface BulkItemUpdateResult {
1163
1249
  /** only returned if operation was successful and if returnEntity flag was on */
1164
1250
  item?: EnterpriseMediaItem;
1165
1251
  }
1166
- interface ItemMetadata$2 {
1167
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
1168
- _id?: string | null;
1169
- /** Index of the item within the request array. Allows for correlation between request and response items. */
1170
- originalIndex?: number;
1171
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
1172
- success?: boolean;
1173
- /** Details about the error in case of failure. */
1174
- error?: ApplicationError$2;
1175
- }
1176
- interface ApplicationError$2 {
1177
- /** Error code. */
1178
- code?: string;
1179
- /** Description of the error. */
1180
- description?: string;
1181
- /** Data related to the error. */
1182
- data?: Record<string, any> | null;
1183
- }
1184
- interface BulkActionMetadata$2 {
1185
- /** Number of items that were successfully processed. */
1186
- totalSuccesses?: number;
1187
- /** Number of items that couldn't be processed. */
1188
- totalFailures?: number;
1189
- /** Number of failures without details because detailed failure threshold was exceeded. */
1190
- undetailedFailures?: number;
1191
- }
1192
1252
  interface GetItemRequest {
1193
1253
  /** Item id */
1194
1254
  itemId: string;
@@ -1259,15 +1319,6 @@ interface EnterpriseMediaItemNonNullableFields {
1259
1319
  interface ImportFileResponseNonNullableFields$2 {
1260
1320
  item?: EnterpriseMediaItemNonNullableFields;
1261
1321
  }
1262
- interface SearchItemsResponseNonNullableFields {
1263
- items: EnterpriseMediaItemNonNullableFields[];
1264
- }
1265
- interface QueryItemsResponseNonNullableFields {
1266
- items: EnterpriseMediaItemNonNullableFields[];
1267
- }
1268
- interface UpdateItemResponseNonNullableFields {
1269
- item?: EnterpriseMediaItemNonNullableFields;
1270
- }
1271
1322
  interface ApplicationErrorNonNullableFields$2 {
1272
1323
  code: string;
1273
1324
  description: string;
@@ -1277,7 +1328,7 @@ interface ItemMetadataNonNullableFields$2 {
1277
1328
  success: boolean;
1278
1329
  error?: ApplicationErrorNonNullableFields$2;
1279
1330
  }
1280
- interface BulkItemUpdateResultNonNullableFields {
1331
+ interface BulkImportFilesResultNonNullableFields {
1281
1332
  itemMetadata?: ItemMetadataNonNullableFields$2;
1282
1333
  item?: EnterpriseMediaItemNonNullableFields;
1283
1334
  }
@@ -1286,6 +1337,23 @@ interface BulkActionMetadataNonNullableFields$2 {
1286
1337
  totalFailures: number;
1287
1338
  undetailedFailures: number;
1288
1339
  }
1340
+ interface BulkImportFilesResponseNonNullableFields$2 {
1341
+ results: BulkImportFilesResultNonNullableFields[];
1342
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
1343
+ }
1344
+ interface SearchItemsResponseNonNullableFields {
1345
+ items: EnterpriseMediaItemNonNullableFields[];
1346
+ }
1347
+ interface QueryItemsResponseNonNullableFields {
1348
+ items: EnterpriseMediaItemNonNullableFields[];
1349
+ }
1350
+ interface UpdateItemResponseNonNullableFields {
1351
+ item?: EnterpriseMediaItemNonNullableFields;
1352
+ }
1353
+ interface BulkItemUpdateResultNonNullableFields {
1354
+ itemMetadata?: ItemMetadataNonNullableFields$2;
1355
+ item?: EnterpriseMediaItemNonNullableFields;
1356
+ }
1289
1357
  interface BulkUpdateItemResponseNonNullableFields {
1290
1358
  results: BulkItemUpdateResultNonNullableFields[];
1291
1359
  bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
@@ -1307,6 +1375,7 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
1307
1375
  declare function itemUploadCallback(): __PublicMethodMetaInfo$2<'POST', {}, ItemUploadCallbackRequest, ItemUploadCallbackRequest$1, ItemUploadCallbackResponse, ItemUploadCallbackResponse$1>;
1308
1376
  declare function generateFileUploadUrl$1(): __PublicMethodMetaInfo$2<'POST', {}, GenerateFileUploadUrlRequest$2, GenerateFileUploadUrlRequest$3, GenerateFileUploadUrlResponse$2 & GenerateFileUploadUrlResponseNonNullableFields$2, GenerateFileUploadUrlResponse$3 & GenerateFileUploadUrlResponseNonNullableFields$3>;
1309
1377
  declare function importFile$1(): __PublicMethodMetaInfo$2<'POST', {}, ImportFileRequest$2, ImportFileRequest$3, ImportFileResponse$2 & ImportFileResponseNonNullableFields$2, ImportFileResponse$3 & ImportFileResponseNonNullableFields$3>;
1378
+ declare function bulkImportFiles$1(): __PublicMethodMetaInfo$2<'POST', {}, BulkImportFilesRequest$2, BulkImportFilesRequest$3, BulkImportFilesResponse$2 & BulkImportFilesResponseNonNullableFields$2, BulkImportFilesResponse$3 & BulkImportFilesResponseNonNullableFields$3>;
1310
1379
  declare function searchItems(): __PublicMethodMetaInfo$2<'POST', {}, SearchItemsRequest, SearchItemsRequest$1, SearchItemsResponse & SearchItemsResponseNonNullableFields, SearchItemsResponse$1 & SearchItemsResponseNonNullableFields$1>;
1311
1380
  declare function queryItems(): __PublicMethodMetaInfo$2<'POST', {}, QueryItemsRequest, QueryItemsRequest$1, QueryItemsResponse & QueryItemsResponseNonNullableFields, QueryItemsResponse$1 & QueryItemsResponseNonNullableFields$1>;
1312
1381
  declare function updateItem(): __PublicMethodMetaInfo$2<'PATCH', {
@@ -1336,7 +1405,7 @@ declare const meta$2_searchItems: typeof searchItems;
1336
1405
  declare const meta$2_unlinkItemFromCategories: typeof unlinkItemFromCategories;
1337
1406
  declare const meta$2_updateItem: typeof updateItem;
1338
1407
  declare namespace meta$2 {
1339
- export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkUpdateItem as bulkUpdateItem, generateFileUploadUrl$1 as generateFileUploadUrl, meta$2_getItem as getItem, importFile$1 as importFile, meta$2_itemUploadCallback as itemUploadCallback, meta$2_linkItemToCategories as linkItemToCategories, meta$2_overwriteItemCategories as overwriteItemCategories, meta$2_queryItems as queryItems, meta$2_searchItems as searchItems, meta$2_unlinkItemFromCategories as unlinkItemFromCategories, meta$2_updateItem as updateItem };
1408
+ export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, bulkImportFiles$1 as bulkImportFiles, meta$2_bulkUpdateItem as bulkUpdateItem, generateFileUploadUrl$1 as generateFileUploadUrl, meta$2_getItem as getItem, importFile$1 as importFile, meta$2_itemUploadCallback as itemUploadCallback, meta$2_linkItemToCategories as linkItemToCategories, meta$2_overwriteItemCategories as overwriteItemCategories, meta$2_queryItems as queryItems, meta$2_searchItems as searchItems, meta$2_unlinkItemFromCategories as unlinkItemFromCategories, meta$2_updateItem as updateItem };
1340
1409
  }
1341
1410
 
1342
1411
  interface FileDescriptor$1 {
@@ -1365,7 +1434,7 @@ interface FileDescriptor$1 {
1365
1434
  */
1366
1435
  sizeInBytes?: string | null;
1367
1436
  /**
1368
- * Whether the link to the uploaded file is public or private. Private links require a token.
1437
+ * 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).
1369
1438
  * @readonly
1370
1439
  */
1371
1440
  private?: boolean;
@@ -1731,7 +1800,7 @@ interface GenerateFilesDownloadUrlRequest$1 {
1731
1800
  * IDs of the files to download.
1732
1801
  *
1733
1802
  * You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
1734
- * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/file-id#file-id-as-a-parameter).
1803
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter).
1735
1804
  */
1736
1805
  fileIds: string[];
1737
1806
  }
@@ -1744,7 +1813,7 @@ interface GenerateFileDownloadUrlRequest$1 {
1744
1813
  * File ID.
1745
1814
  *
1746
1815
  * You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
1747
- * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/file-id#file-id-as-a-parameter).
1816
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter).
1748
1817
  */
1749
1818
  fileId: string;
1750
1819
  /**
@@ -1803,7 +1872,7 @@ interface GetFileDescriptorRequest$1 {
1803
1872
  * File ID.
1804
1873
  *
1805
1874
  * You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
1806
- * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/file-id#file-id-as-a-parameter).
1875
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter).
1807
1876
  *
1808
1877
  * Note that you must encode the Wix media URL to pass 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`.
1809
1878
  */
@@ -1818,7 +1887,7 @@ interface GetFileDescriptorsRequest$1 {
1818
1887
  * File IDs.
1819
1888
  *
1820
1889
  * You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
1821
- * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/file-id#file-id-as-a-parameter).
1890
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter).
1822
1891
  */
1823
1892
  fileIds: string[];
1824
1893
  }
@@ -1853,7 +1922,7 @@ interface GenerateFileUploadUrlRequest$1 {
1853
1922
  * Default: `media-root`.
1854
1923
  */
1855
1924
  parentFolderId?: string | null;
1856
- /** Whether the link to the uploaded file is public or private. See `Private Files` in terminology. */
1925
+ /** 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). */
1857
1926
  private?: boolean | null;
1858
1927
  /** Labels assigned to media files that describe and categorize them. Provided by the user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images. */
1859
1928
  labels?: string[] | null;
@@ -1890,7 +1959,7 @@ interface GenerateFileResumableUploadUrlRequest$1 {
1890
1959
  * Default: `media-root`.
1891
1960
  */
1892
1961
  parentFolderId?: string | null;
1893
- /** Whether the link to the imported file is public or private. See `Private Files` in terminology. */
1962
+ /** 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). */
1894
1963
  private?: boolean | null;
1895
1964
  /** Labels assigned to media files that describe and categorize them. Provided by the user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images. */
1896
1965
  labels?: string[] | null;
@@ -1932,13 +2001,13 @@ interface ImportFileRequest$1 {
1932
2001
  * Default: `media-root`.
1933
2002
  */
1934
2003
  parentFolderId?: string | null;
1935
- /** Whether the link to the imported file is public or private. */
2004
+ /** 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). */
1936
2005
  private?: boolean | null;
1937
2006
  /** Labels assigned to media files that describe and categorize them. Provided by the user, or generated by [Google Vision API](https://cloud.google.com/vision/docs/drag-and-drop) for images. */
1938
2007
  labels?: string[] | null;
1939
2008
  /** File mime type. */
1940
2009
  mimeType?: string;
1941
- /** Information sent to the [File Ready](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-ready) and [File Failed](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-failed) webhooks. See [Importing Files](/importing-files#using-externalinfo) to learn more. */
2010
+ /** Information sent to the [File Ready](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-ready) and [File Failed](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-failed) webhooks. See [Importing Files](/files/importing-files#using-externalinfo) to learn more. */
1942
2011
  externalInfo?: ExternalInfo$1;
1943
2012
  /** Optional parameters that should be sent with the external URL. */
1944
2013
  urlParams?: Record<string, any> | null;
@@ -2015,7 +2084,7 @@ interface ListFilesRequest$1 {
2015
2084
  * excluding: OTHER media type
2016
2085
  */
2017
2086
  mediaTypes?: MediaType$1[];
2018
- /** Whether the link to the imported file is public or private. */
2087
+ /** \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). */
2019
2088
  private?: boolean | null;
2020
2089
  /**
2021
2090
  * Field name and order to sort by. One of: <br />
@@ -2082,7 +2151,7 @@ interface SearchFilesRequest$1 {
2082
2151
  * excluding: OTHER media type
2083
2152
  */
2084
2153
  mediaTypes?: MediaType$1[];
2085
- /** Whether the link to the imported file is public or private. */
2154
+ /** \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). */
2086
2155
  private?: boolean | null;
2087
2156
  /**
2088
2157
  * Field name and order to sort by. One of: <br />
@@ -2114,7 +2183,7 @@ interface GenerateVideoStreamingUrlRequest$1 {
2114
2183
  * File ID.
2115
2184
  *
2116
2185
  * You can also pass the file's Wix media URL. For example, `wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032`.
2117
- * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/file-id#file-id-as-a-parameter).
2186
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter).
2118
2187
  */
2119
2188
  fileId: string;
2120
2189
  /** Video stream format. */
@@ -2134,7 +2203,7 @@ interface BulkDeleteFilesRequest$1 {
2134
2203
  * IDs of the files to move to the Media Manager's trash bin.
2135
2204
  *
2136
2205
  * You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2137
- * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/file-id#file-id-as-a-parameter).
2206
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter).
2138
2207
  */
2139
2208
  fileIds: string[];
2140
2209
  /**
@@ -2150,7 +2219,7 @@ interface BulkRestoreFilesFromTrashBinRequest$1 {
2150
2219
  * IDs of the files to restore from the Media Manager's trash bin.
2151
2220
  *
2152
2221
  * You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2153
- * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/file-id#file-id-as-a-parameter).
2222
+ * Learn more about the [file ID parameter](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-id#file-id-as-a-parameter).
2154
2223
  */
2155
2224
  fileIds: string[];
2156
2225
  }
@@ -2167,7 +2236,7 @@ interface ListDeletedFilesRequest$1 {
2167
2236
  * excluding: OTHER media type
2168
2237
  */
2169
2238
  mediaTypes?: MediaType$1[];
2170
- /** Whether the link to the imported file is public or private. */
2239
+ /** \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). */
2171
2240
  private?: boolean | null;
2172
2241
  /**
2173
2242
  * Field name and order to sort by. One of: <br />