@wix/media 1.0.132 → 1.0.134

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.
@@ -2049,7 +2049,7 @@ interface FileDescriptor {
2049
2049
  */
2050
2050
  sizeInBytes?: string | null;
2051
2051
  /**
2052
- * 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).
2052
+ * 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)).
2053
2053
  * @readonly
2054
2054
  */
2055
2055
  private?: boolean;
@@ -2081,7 +2081,7 @@ interface FileDescriptor {
2081
2081
  * @readonly
2082
2082
  */
2083
2083
  thumbnailUrl?: string | null;
2084
- /** 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. */
2084
+ /** 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. */
2085
2085
  labels?: string[];
2086
2086
  /**
2087
2087
  * Date and time the file was created.
@@ -2297,7 +2297,7 @@ interface OtherMedia {
2297
2297
  /** WixMedia ID. for use with Site Media APIs only */
2298
2298
  _id?: string;
2299
2299
  /**
2300
- * The media type of the file: 'site_icon', 'swf', 'package', 'ufont'
2300
+ * The media type of the file: 'package', 'raw'
2301
2301
  * @readonly
2302
2302
  */
2303
2303
  internalMediaType?: string | null;
@@ -2309,6 +2309,34 @@ interface OtherMedia {
2309
2309
  /** The file URL. */
2310
2310
  url?: string;
2311
2311
  }
2312
+ interface FontMedia {
2313
+ /** WixMedia ID. for use with Site Media APIs only */
2314
+ _id?: string | null;
2315
+ /**
2316
+ * size in bytes. Optional.
2317
+ * @readonly
2318
+ */
2319
+ sizeInBytes?: string | null;
2320
+ /** The format of the font asset. ttf, woff, woff2 */
2321
+ format?: string | null;
2322
+ /** The font family name. */
2323
+ family?: string | null;
2324
+ /** The font name */
2325
+ fontName?: string | null;
2326
+ /** Font formats available for this file. */
2327
+ assets?: FontAsset[];
2328
+ }
2329
+ interface FontAsset {
2330
+ /**
2331
+ * Keys for downloading different assets of a file.
2332
+ * Default: `src`, key representing the original file's format and quality.
2333
+ */
2334
+ assetKey?: string | null;
2335
+ /** The URL of the font asset. */
2336
+ url?: string | null;
2337
+ /** The format of the font asset. ttf, woff, woff2 */
2338
+ format?: string | null;
2339
+ }
2312
2340
  declare enum OperationStatus {
2313
2341
  /** File upload or processing failed */
2314
2342
  FAILED = "FAILED",
@@ -2363,23 +2391,23 @@ declare enum IdentityType {
2363
2391
  APP = "APP"
2364
2392
  }
2365
2393
  interface FileReady {
2366
- /** File entity that is ready with full information */
2394
+ /** File entity that is ready with full information. */
2367
2395
  file?: FileDescriptor;
2368
- /** External information passed in the file import or upload. */
2396
+ /** External information specified in the file import or upload. */
2369
2397
  externalInfo?: ExternalInfo;
2370
- /** The File was restored from the trash-bin */
2398
+ /** File was restored from the trash-bin. */
2371
2399
  triggeredByUndelete?: boolean;
2372
2400
  }
2373
2401
  interface ExternalInfo {
2374
- /** External information to pass in the [File Ready](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-ready) or [File Failed](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-failed) events. */
2402
+ /** External information to specify in the File Ready or File Failed events. */
2375
2403
  origin?: string;
2376
- /** External IDs to pass in the [File Ready](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-ready) or [File Failed](https://dev.wix.com/docs/rest/assets/media/media-manager/files/file-failed) events. */
2404
+ /** External IDs to specify in the File Ready or File Failed events. */
2377
2405
  externalIds?: string[];
2378
2406
  }
2379
2407
  interface FileFailed {
2380
- /** External information passed in the file import or upload. */
2408
+ /** External information specified in the file import or upload. */
2381
2409
  externalInfo?: ExternalInfo;
2382
- /** Error information */
2410
+ /** Error information. */
2383
2411
  error?: ApplicationError;
2384
2412
  }
2385
2413
  interface ApplicationError {
@@ -2390,6 +2418,12 @@ interface ApplicationError {
2390
2418
  /** Data related to the error. */
2391
2419
  data?: Record<string, any> | null;
2392
2420
  }
2421
+ interface DraftFilePublished {
2422
+ /** The file after it was published */
2423
+ file?: FileDescriptor;
2424
+ /** The namespace the file was published to */
2425
+ namespace?: Namespace$1;
2426
+ }
2393
2427
  interface BulkAnnotateImagesRequest {
2394
2428
  /** The file ids to run detection on */
2395
2429
  fileIds?: string[];
@@ -2415,8 +2449,8 @@ interface GenerateFilesDownloadUrlRequest {
2415
2449
  /**
2416
2450
  * IDs of the files to download.
2417
2451
  *
2418
- * You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2419
- * 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).
2452
+ * You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2453
+ * 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)).
2420
2454
  */
2421
2455
  fileIds: string[];
2422
2456
  }
@@ -2428,14 +2462,14 @@ interface GenerateFileDownloadUrlRequest {
2428
2462
  /**
2429
2463
  * File ID.
2430
2464
  *
2431
- * 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`.
2432
- * 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).
2465
+ * 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`.
2466
+ * 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)).
2433
2467
  */
2434
2468
  fileId: string;
2435
2469
  /**
2436
2470
  * Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type. <br />
2437
2471
  *
2438
- * **Note:** The name that appears in the Media Manager is taken from the `filename` query parameter in the upload request.
2472
+ * **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
2439
2473
  */
2440
2474
  downloadFileName?: string | null;
2441
2475
  /**
@@ -2498,10 +2532,10 @@ interface GetFileDescriptorRequest {
2498
2532
  /**
2499
2533
  * File ID.
2500
2534
  *
2501
- * 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`.
2502
- * 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).
2535
+ * 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`.
2536
+ * 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)).
2503
2537
  *
2504
- * 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`.
2538
+ * 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`.
2505
2539
  */
2506
2540
  fileId: string;
2507
2541
  }
@@ -2513,8 +2547,8 @@ interface GetFileDescriptorsRequest {
2513
2547
  /**
2514
2548
  * File IDs.
2515
2549
  *
2516
- * You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2517
- * 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).
2550
+ * You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2551
+ * 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)).
2518
2552
  */
2519
2553
  fileIds: string[];
2520
2554
  }
@@ -2541,7 +2575,7 @@ interface GenerateFileUploadUrlRequest {
2541
2575
  mimeType: string | null;
2542
2576
  /**
2543
2577
  * Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
2544
- * <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` query parameter in the upload request.
2578
+ * <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
2545
2579
  */
2546
2580
  fileName?: string | null;
2547
2581
  /**
@@ -2555,9 +2589,9 @@ interface GenerateFileUploadUrlRequest {
2555
2589
  * Default: `media-root`.
2556
2590
  */
2557
2591
  parentFolderId?: string | null;
2558
- /** 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). */
2592
+ /** 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)). */
2559
2593
  private?: boolean | null;
2560
- /** 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. */
2594
+ /** 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. */
2561
2595
  labels?: string[] | null;
2562
2596
  /** A place to map an external entity to an uploaded file in the Wix Media Manager. */
2563
2597
  externalInfo?: ExternalInfo;
@@ -2618,7 +2652,7 @@ interface GenerateFileResumableUploadUrlRequest {
2618
2652
  mimeType: string | null;
2619
2653
  /**
2620
2654
  * Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
2621
- * <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` query parameter in the upload request.
2655
+ * <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
2622
2656
  */
2623
2657
  fileName?: string | null;
2624
2658
  /**
@@ -2632,9 +2666,9 @@ interface GenerateFileResumableUploadUrlRequest {
2632
2666
  * Default: `media-root`.
2633
2667
  */
2634
2668
  parentFolderId?: string | null;
2635
- /** 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). */
2669
+ /** 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)). */
2636
2670
  private?: boolean | null;
2637
- /** 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. */
2671
+ /** 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. */
2638
2672
  labels?: string[] | null;
2639
2673
  /** The upload protocol to use for implementing the resumable upload. */
2640
2674
  uploadProtocol?: UploadProtocol;
@@ -2674,13 +2708,13 @@ interface ImportFileRequest {
2674
2708
  * Default: `media-root`.
2675
2709
  */
2676
2710
  parentFolderId?: string | null;
2677
- /** 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). */
2711
+ /** 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)). */
2678
2712
  private?: boolean | null;
2679
- /** 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. */
2713
+ /** 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. */
2680
2714
  labels?: string[] | null;
2681
2715
  /** File mime type. */
2682
2716
  mimeType?: string;
2683
- /** 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. */
2717
+ /** 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. */
2684
2718
  externalInfo?: ExternalInfo;
2685
2719
  /** Optional parameters that should be sent with the external URL. */
2686
2720
  urlParams?: Record<string, any> | null;
@@ -2709,11 +2743,7 @@ interface BulkImportFilesResponse {
2709
2743
  interface BulkImportFileRequest {
2710
2744
  /** Information about the files to import. */
2711
2745
  importFileRequests: ImportFileRequest[];
2712
- /**
2713
- * Whether to include the imported File Descriptor in the response. Set to `false` to exclude the File Descriptor from the returned object.
2714
- *
2715
- * Default: `true`
2716
- */
2746
+ /** Default: `true` */
2717
2747
  returnEntity?: boolean | null;
2718
2748
  }
2719
2749
  interface BulkImportFileResponse {
@@ -2725,7 +2755,7 @@ interface BulkImportFileResponse {
2725
2755
  interface BulkImportFileResult {
2726
2756
  /** Item metadata. */
2727
2757
  itemMetadata?: ItemMetadata;
2728
- /** Imported file. This field is returned if the operation was successful and `returnEntity` is not set to `false`. */
2758
+ /** Imported file. This field is included in the response if the operation was successful and `returnEntity` is not set to `false`. */
2729
2759
  item?: FileDescriptor;
2730
2760
  }
2731
2761
  interface ItemMetadata {
@@ -2752,12 +2782,9 @@ interface ListFilesRequest {
2752
2782
  * Default:`media-root`.
2753
2783
  */
2754
2784
  parentFolderId?: string | null;
2755
- /**
2756
- * File media type.
2757
- * excluding: OTHER media type
2758
- */
2785
+ /** File media type. */
2759
2786
  mediaTypes?: MediaType[];
2760
- /** \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). */
2787
+ /** \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)). */
2761
2788
  private?: boolean | null;
2762
2789
  /**
2763
2790
  * Field name and order to sort by. One of: <br />
@@ -2819,12 +2846,9 @@ interface SearchFilesRequest {
2819
2846
  * Default: `MEDIA_ROOT`.
2820
2847
  */
2821
2848
  rootFolder?: RootFolder$1;
2822
- /**
2823
- * File media type.
2824
- * excluding: OTHER media type
2825
- */
2849
+ /** File media type. */
2826
2850
  mediaTypes?: MediaType[];
2827
- /** \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). */
2851
+ /** \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)). */
2828
2852
  private?: boolean | null;
2829
2853
  /**
2830
2854
  * Field name and order to sort by. One of: <br />
@@ -2855,8 +2879,8 @@ interface GenerateVideoStreamingUrlRequest {
2855
2879
  /**
2856
2880
  * File ID.
2857
2881
  *
2858
- * 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`.
2859
- * 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).
2882
+ * 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`.
2883
+ * 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)).
2860
2884
  */
2861
2885
  fileId: string;
2862
2886
  /** Video stream format. */
@@ -2881,8 +2905,8 @@ interface BulkDeleteFilesRequest {
2881
2905
  /**
2882
2906
  * IDs of the files to move to the Media Manager's trash bin.
2883
2907
  *
2884
- * You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2885
- * 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).
2908
+ * You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2909
+ * 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)).
2886
2910
  */
2887
2911
  fileIds: string[];
2888
2912
  /**
@@ -2897,8 +2921,8 @@ interface BulkRestoreFilesFromTrashBinRequest {
2897
2921
  /**
2898
2922
  * IDs of the files to restore from the Media Manager's trash bin.
2899
2923
  *
2900
- * You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2901
- * 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).
2924
+ * You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2925
+ * 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)).
2902
2926
  */
2903
2927
  fileIds: string[];
2904
2928
  }
@@ -2910,12 +2934,9 @@ interface ListDeletedFilesRequest {
2910
2934
  * Default: `media-root`.
2911
2935
  */
2912
2936
  parentFolderId?: string | null;
2913
- /**
2914
- * File media type.
2915
- * excluding: OTHER media type
2916
- */
2937
+ /** File media type. */
2917
2938
  mediaTypes?: MediaType[];
2918
- /** \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). */
2939
+ /** \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)). */
2919
2940
  private?: boolean | null;
2920
2941
  /**
2921
2942
  * Field name and order to sort by. One of: <br />
@@ -2938,8 +2959,8 @@ interface BulkPublishDraftFilesRequest {
2938
2959
  /**
2939
2960
  * IDs of the files to move to the Media Manager's trash bin.
2940
2961
  *
2941
- * You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2942
- * 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).
2962
+ * You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
2963
+ * 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)).
2943
2964
  */
2944
2965
  fileIds?: string[];
2945
2966
  /**
@@ -2968,8 +2989,8 @@ interface UpdateFileRequest {
2968
2989
  /**
2969
2990
  * ID of the file to update.
2970
2991
  *
2971
- * 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`.
2972
- * 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).
2992
+ * 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`.
2993
+ * 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)).
2973
2994
  */
2974
2995
  fileId?: string;
2975
2996
  /** File name that appears in the Media Manager. */
@@ -2979,7 +3000,7 @@ interface UpdateFileRequest {
2979
3000
  * Default: `media-root`.
2980
3001
  */
2981
3002
  parentFolderId?: string | null;
2982
- /** 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. */
3003
+ /** 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. */
2983
3004
  labels?: string[] | null;
2984
3005
  }
2985
3006
  interface UpdateFileResponse {
@@ -3144,6 +3165,8 @@ interface FileMediaNonNullableFields {
3144
3165
  archive?: ArchiveNonNullableFields;
3145
3166
  model3d?: Model3DNonNullableFields;
3146
3167
  other?: OtherMediaNonNullableFields;
3168
+ icon?: ImageMediaNonNullableFields;
3169
+ flash?: OtherMediaNonNullableFields;
3147
3170
  }
3148
3171
  interface IdentityInfoNonNullableFields {
3149
3172
  identityType: IdentityType;
@@ -3267,26 +3290,26 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
3267
3290
  */
3268
3291
  entityEventSequence?: string | null;
3269
3292
  }
3270
- interface FileDescriptorUpdatedEnvelope {
3271
- entity: FileDescriptor;
3293
+ interface FileDescriptorDeletedEnvelope {
3272
3294
  metadata: EventMetadata$1;
3273
3295
  }
3274
- interface FileDescriptorDeletedEnvelope {
3296
+ interface FileDescriptorFileFailedEnvelope {
3297
+ data: FileFailed;
3275
3298
  metadata: EventMetadata$1;
3276
3299
  }
3277
3300
  interface FileDescriptorFileReadyEnvelope {
3278
3301
  data: FileReady;
3279
3302
  metadata: EventMetadata$1;
3280
3303
  }
3281
- interface FileDescriptorFileFailedEnvelope {
3282
- data: FileFailed;
3304
+ interface FileDescriptorUpdatedEnvelope {
3305
+ entity: FileDescriptor;
3283
3306
  metadata: EventMetadata$1;
3284
3307
  }
3285
3308
  interface GenerateFileDownloadUrlOptions {
3286
3309
  /**
3287
3310
  * Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type. <br />
3288
3311
  *
3289
- * **Note:** The name that appears in the Media Manager is taken from the `filename` query parameter in the upload request.
3312
+ * **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
3290
3313
  */
3291
3314
  downloadFileName?: string | null;
3292
3315
  /**
@@ -3318,7 +3341,7 @@ interface GenerateFileDownloadUrlOptions {
3318
3341
  interface GenerateFileUploadUrlOptions {
3319
3342
  /**
3320
3343
  * Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
3321
- * <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` query parameter in the upload request.
3344
+ * <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
3322
3345
  */
3323
3346
  fileName?: string | null;
3324
3347
  /**
@@ -3332,9 +3355,9 @@ interface GenerateFileUploadUrlOptions {
3332
3355
  * Default: `media-root`.
3333
3356
  */
3334
3357
  parentFolderId?: string | null;
3335
- /** 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). */
3358
+ /** 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)). */
3336
3359
  private?: boolean | null;
3337
- /** 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. */
3360
+ /** 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. */
3338
3361
  labels?: string[] | null;
3339
3362
  /** A place to map an external entity to an uploaded file in the Wix Media Manager. */
3340
3363
  externalInfo?: ExternalInfo;
@@ -3349,7 +3372,7 @@ interface GenerateFileUploadUrlOptions {
3349
3372
  interface GenerateFileResumableUploadUrlOptions {
3350
3373
  /**
3351
3374
  * Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
3352
- * <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` query parameter in the upload request.
3375
+ * <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
3353
3376
  */
3354
3377
  fileName?: string | null;
3355
3378
  /**
@@ -3363,9 +3386,9 @@ interface GenerateFileResumableUploadUrlOptions {
3363
3386
  * Default: `media-root`.
3364
3387
  */
3365
3388
  parentFolderId?: string | null;
3366
- /** 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). */
3389
+ /** 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)). */
3367
3390
  private?: boolean | null;
3368
- /** 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. */
3391
+ /** 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. */
3369
3392
  labels?: string[] | null;
3370
3393
  /** The upload protocol to use for implementing the resumable upload. */
3371
3394
  uploadProtocol?: UploadProtocol;
@@ -3391,13 +3414,13 @@ interface ImportFileOptions {
3391
3414
  * Default: `media-root`.
3392
3415
  */
3393
3416
  parentFolderId?: string | null;
3394
- /** 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). */
3417
+ /** 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)). */
3395
3418
  private?: boolean | null;
3396
- /** 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. */
3419
+ /** 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. */
3397
3420
  labels?: string[] | null;
3398
3421
  /** File mime type. */
3399
3422
  mimeType?: string;
3400
- /** 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. */
3423
+ /** 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. */
3401
3424
  externalInfo?: ExternalInfo;
3402
3425
  /** Optional parameters that should be sent with the external URL. */
3403
3426
  urlParams?: Record<string, any> | null;
@@ -3412,11 +3435,7 @@ interface ImportFileOptions {
3412
3435
  filePath?: string | null;
3413
3436
  }
3414
3437
  interface BulkImportFileOptions {
3415
- /**
3416
- * Whether to include the imported File Descriptor in the response. Set to `false` to exclude the File Descriptor from the returned object.
3417
- *
3418
- * Default: `true`
3419
- */
3438
+ /** Default: `true` */
3420
3439
  returnEntity?: boolean | null;
3421
3440
  }
3422
3441
  interface ListFilesOptions {
@@ -3425,12 +3444,9 @@ interface ListFilesOptions {
3425
3444
  * Default:`media-root`.
3426
3445
  */
3427
3446
  parentFolderId?: string | null;
3428
- /**
3429
- * File media type.
3430
- * excluding: OTHER media type
3431
- */
3447
+ /** File media type. */
3432
3448
  mediaTypes?: MediaType[];
3433
- /** \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). */
3449
+ /** \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)). */
3434
3450
  private?: boolean | null;
3435
3451
  /**
3436
3452
  * Field name and order to sort by. One of: <br />
@@ -3455,12 +3471,9 @@ interface SearchFilesOptions {
3455
3471
  * Default: `MEDIA_ROOT`.
3456
3472
  */
3457
3473
  rootFolder?: RootFolder$1;
3458
- /**
3459
- * File media type.
3460
- * excluding: OTHER media type
3461
- */
3474
+ /** File media type. */
3462
3475
  mediaTypes?: MediaType[];
3463
- /** \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). */
3476
+ /** \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)). */
3464
3477
  private?: boolean | null;
3465
3478
  /**
3466
3479
  * Field name and order to sort by. One of: <br />
@@ -3490,12 +3503,9 @@ interface ListDeletedFilesOptions {
3490
3503
  * Default: `media-root`.
3491
3504
  */
3492
3505
  parentFolderId?: string | null;
3493
- /**
3494
- * File media type.
3495
- * excluding: OTHER media type
3496
- */
3506
+ /** File media type. */
3497
3507
  mediaTypes?: MediaType[];
3498
- /** \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). */
3508
+ /** \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)). */
3499
3509
  private?: boolean | null;
3500
3510
  /**
3501
3511
  * Field name and order to sort by. One of: <br />
@@ -3516,9 +3526,9 @@ interface GenerateFilesDownloadUrlSignature {
3516
3526
  *
3517
3527
  * The compressed file can contain up to 1000 files.
3518
3528
  *
3519
- * To generate one or more temporary URLs for downloading a specific file in the Media Manager, use the [Generate File Download URL](/generate-file-download-url) endpoint.
3520
- * You can use the `expirationInMinutes` parameter to set the URL expiration time, making it more secure than the Generate Files Download URL endpoint.
3521
- * Therefore, to download private files, use the Generate File Download URL endpoint for each private file that you want to generate a download URL for.
3529
+ * To generate a permanent URL for downloading a compressed file that contains multiple files in the Media Manager, call the Generate Files Download URL endpoint.
3530
+ * Since this is a permanent URL, it is less secure.
3531
+ * Therefore, to download private files, call the Generate File Download URL endpoint for each private file that you want to generate a download URL for.
3522
3532
  * @param - IDs of the files to download.
3523
3533
  *
3524
3534
  * You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
@@ -3531,14 +3541,14 @@ interface GenerateFileDownloadUrlSignature {
3531
3541
  /**
3532
3542
  * Generates one or more temporary URLs for downloading a specific file in the Media Manager.
3533
3543
  *
3534
- * To download different assets of the file, use the `assetKeys` parameter which generates a download URL for each asset.
3544
+ * To download different assets of the file, specify the `assetKeys` parameter which generates a download URL for each asset.
3535
3545
  * If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
3536
3546
  *
3537
- * 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.
3547
+ * Call this endpoint to grant external clients access to a private media file. Specify the `expirationInMinutes` parameter to set the URL expiration time, and the `expirationRedirectUrl` parameter to add a redirect url when the URL expires.
3538
3548
  *
3539
- * To generate a permanent URL for downloading a compressed file that contains multiple files in the Media Manager, use the [Generate Files Download URL](/generate-files-download-url) endpoint.
3549
+ * To generate a permanent URL for downloading a compressed file that contains multiple files in the Media Manager, call the Generate Files Download URL endpoint.
3540
3550
  * Since this is a permanent URL, it is less secure.
3541
- * Therefore, to download private files, use the Generate File Download URL endpoint for each private file that you want to generate a download URL for.
3551
+ * Therefore, to download private files, call the Generate File Download URL endpoint for each private file that you want to generate a download URL for.
3542
3552
  * @param - Options to use when generating a file's download URL.
3543
3553
  * @param - File ID.
3544
3554
  *
@@ -3575,7 +3585,7 @@ interface UpdateFileDescriptorSignature {
3575
3585
  /**
3576
3586
  * Updates a file. <br />
3577
3587
  *
3578
- * You can use the `parentFolderId` parameter to move a file from its current folder to a different folder.
3588
+ * Specify the `parentFolderId` parameter to move a file from its current folder to a different folder.
3579
3589
  * @param - The file to update.
3580
3590
  * @returns Information about the updated file.
3581
3591
  */
@@ -3586,10 +3596,10 @@ interface GenerateFileUploadUrlSignature {
3586
3596
  /**
3587
3597
  * Generates an upload URL to allow external clients to upload a file to the Media Manager. <br/>
3588
3598
  *
3589
- * 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](https://dev.wix.com/docs/rest/assets/media/media-manager/files/upload-api) article.
3599
+ * To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see Upload API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/upload-api) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/upload-api)).
3590
3600
  * > **Notes:**
3591
- * > - When you upload a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about [knowing when a file is ready](/media-manager/files/importing-files#knowing-when-a-file-is-ready).
3592
- * > - 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://dev.wix.com/api/rest/media/media-manager/files/generate-file-resumable-upload-url) 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.
3601
+ * > - When you upload a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).
3602
+ * > - Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, call Generate File Resumable Upload URL 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.
3593
3603
  * @param - File mime type.
3594
3604
  * @param - Options to use when generating a file's upload URL.
3595
3605
  */
@@ -3601,9 +3611,9 @@ interface GenerateFileResumableUploadUrlSignature {
3601
3611
  * Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager. <br/>
3602
3612
  *
3603
3613
  * 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.
3604
- * 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](https://dev.wix.com/api/rest/media/media-manager/files/resumable-upload-api) article.
3614
+ * To learn how external clients can use the generated upload URL in the response to upload large files to the Media Manager, see Resumable Upload API ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/resumable-upload-api) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/resumable-upload-api)).
3605
3615
  *
3606
- * > **Note:** When you upload a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about [knowing when a file is ready](/media-manager/files/importing-files#knowing-when-a-file-is-ready).
3616
+ * > **Note:** When you upload a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).
3607
3617
  * @param - File mime type.
3608
3618
  * @param - Options to use when generating a resumable upload URL.
3609
3619
  */
@@ -3615,18 +3625,18 @@ interface ImportFileSignature {
3615
3625
  * Imports a file to the Media Manager using an external url.
3616
3626
  *
3617
3627
  * Returns information about the imported file.
3618
- * Use the `parentFolderId` and `filePath` parameters to specify which folder you want the file to be imported to.
3628
+ * Specify the `parentFolderId` and `filePath` parameters to specify which folder you want the file to be imported to.
3619
3629
  * If no folder is specified, the file is imported to the `media-root` folder.
3620
3630
  *
3621
3631
  * >**Notes:**
3622
3632
  * > - The `media` property isn't returned in the `files` response object.
3623
- * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about [knowing when a file is ready](/media-manager/files/importing-files#knowing-when-a-file-is-ready).
3633
+ * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).
3624
3634
  *
3625
3635
  * To import a file, you need to do one of the following:
3626
- * - Pass its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.
3627
- * - Include its extension in either the `displayName` or `url` field of the request. For example, `displayName: 'Example Image.jpeg` or `url: https://www.example.com/image.jpeg`.
3636
+ * - Specify its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.
3637
+ * - Specify its extension in either the `displayName` or `url` field of the request. For example, `displayName: 'Example Image.jpeg` or `url: https://www.example.com/image.jpeg`.
3628
3638
  * - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.
3629
- * > **Note:** If you want to validate the media type, pass the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.
3639
+ * > **Note:** If you want to validate the media type, specify the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.
3630
3640
  * @param - Publicly accessible external file URL.
3631
3641
  * @param - Options to use when importing a single file.
3632
3642
  */
@@ -3640,22 +3650,24 @@ interface BulkImportFilesSignature {
3640
3650
  *
3641
3651
  * __Deprecation Notice:__
3642
3652
  *
3643
- * This endpoint has been replaced with [Bulk Import File](https://dev.wix.com/api/rest/media/media-manager/files/bulk-import-file) and will be removed on March 31, 2024.
3653
+ * This endpoint has been replaced with Bulk Import File and will be removed on March 31, 2024.
3644
3654
  *
3645
3655
  * </blockquote>
3656
+ *
3646
3657
  * Returns information about the imported files.
3647
3658
  *
3648
3659
  * Use the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.
3649
3660
  * If no folder is specified, the file is imported to the `media-root` folder.
3650
3661
  *
3651
- * >**Note:** The `media` property isn't returned in the `files` response object.
3662
+ * >**Notes:**
3663
+ * > - The `media` property isn't returned in the `files` response object.
3664
+ * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).
3652
3665
  *
3653
3666
  * To import files, you need to do one of the following for each file:
3654
- * - Pass its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.
3667
+ * - Specify its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.
3655
3668
  * - Include its extension in either the `displayName` or `url` field of the request. For example, `displayName: 'Example Image.jpeg` or `url: https://www.example.com/image.jpeg`.
3656
3669
  * - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.
3657
- *
3658
- * > **Note:** If you want to validate the media type, pass the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.
3670
+ * > **Note:** If you want to validate the media type, specify the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.
3659
3671
  * @param - Information about the files to import.
3660
3672
  * @param - Options to use when uploading multiple files.
3661
3673
  * @deprecated
@@ -3669,18 +3681,18 @@ interface BulkImportFileSignature {
3669
3681
  *
3670
3682
  * Returns information about the imported files.
3671
3683
  *
3672
- * Use the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.
3684
+ * Specify the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.
3673
3685
  * If no folder is specified, the file is imported to the `media-root` folder.
3674
3686
  *
3675
3687
  * >**Notes:**
3676
3688
  * > - The `media` property isn't returned in the `files` response object.
3677
- * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about [knowing when a file is ready](/media-manager/files/importing-files#knowing-when-a-file-is-ready).
3689
+ * > - When you import a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about knowing when a file is ready ([SDK](https://dev.wix.com/docs/sdk/backend-modules/media/files/importing-files#backend-modules_media_files_knowing-when-a-file-is-ready) | [REST](https://dev.wix.com/docs/rest/assets/media/media-manager/files/importing-files#knowing-when-a-file-is-ready)).
3678
3690
  *
3679
3691
  * To import files, you need to do one of the following for each file:
3680
- * - Pass its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.
3692
+ * - Specify its [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in the `mimeType` field of the request. For example, `mimeType: 'image/jpeg'`.
3681
3693
  * - Include its extension in either the `displayName` or `url` field of the request. For example, `displayName: 'Example Image.jpeg` or `url: https://www.example.com/image.jpeg`.
3682
3694
  * - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.
3683
- * > **Note:** If you want to validate the media type, pass the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.
3695
+ * > **Note:** If you want to validate the media type, specify the file's expected media type in the optional `mediaType` field of the request. For example, `mediaType: 'IMAGE'`.
3684
3696
  * @param - Information about the files to import.
3685
3697
  * @param - Options to include the file descriptor in the response.
3686
3698
  */
@@ -3691,7 +3703,7 @@ interface ListFilesSignature {
3691
3703
  /**
3692
3704
  * Retrieves a list of files in the Media Manager.
3693
3705
  *
3694
- * 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.
3706
+ * To retrieve a list of files within a specific folder in the Media Manager, specify the folder's ID in the `parentFolderId` parameter. If no folder is specified, the method retrieves the list of files in the root folder of the Media Manager.
3695
3707
  * @param - Options to use when listing media files.
3696
3708
  */
3697
3709
  (options?: ListFilesOptions | undefined): Promise<ListFilesResponse & ListFilesResponseNonNullableFields>;
@@ -3711,7 +3723,7 @@ interface GenerateVideoStreamingUrlSignature {
3711
3723
  /**
3712
3724
  * Generates a URL for streaming a specific video file in the Media Manager. <br/>
3713
3725
  *
3714
- * 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.
3726
+ * To stream different assets of the file, specify 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.
3715
3727
  * @param - Options to use when generating a video file's streaming URL.
3716
3728
  * @param - File ID.
3717
3729
  *
@@ -3725,14 +3737,14 @@ interface BulkDeleteFilesSignature {
3725
3737
  /**
3726
3738
  * Deletes the specified files from the Media Manager. <br/>
3727
3739
  *
3728
- * 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.
3740
+ * The deleted files are moved to the Media Manager's trash bin (`TRASH-ROOT` folder) unless permanently deleted. To permanently delete files, specify 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.
3729
3741
  *
3730
3742
  * Note the following:
3731
3743
  * * The specified files can be from different folders.
3732
3744
  * * Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
3733
3745
  * * Attempting to delete files that are already in the trash bin doesn't result in an error.
3734
- * * 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).
3735
- * * You can use the [Bulk Restore Files From Trash Bin](https://dev.wix.com/api/rest/media/media-manager/files/bulk-restore-files-from-trash-bin) endpoint to restore files from the Media Manager's trash bin.
3746
+ * * If a site contains deleted media files, the deleted media files still appear on the site as the files are still in the Media Manager (in the trash bin).
3747
+ * * You can use Bulk Restore Files From Trash Bin to restore files from the Media Manager's trash bin.
3736
3748
  * @param - Options to use when deleting files.
3737
3749
  * @param - IDs of the files to move to the Media Manager's trash bin.
3738
3750
  *
@@ -3762,10 +3774,10 @@ interface ListDeletedFilesSignature {
3762
3774
  */
3763
3775
  (options?: ListDeletedFilesOptions | undefined): Promise<ListDeletedFilesResponse & ListDeletedFilesResponseNonNullableFields>;
3764
3776
  }
3765
- declare const onFileDescriptorUpdated$1: EventDefinition<FileDescriptorUpdatedEnvelope, "wix.media.site_media.v1.file_descriptor_updated">;
3766
3777
  declare const onFileDescriptorDeleted$1: EventDefinition<FileDescriptorDeletedEnvelope, "wix.media.site_media.v1.file_descriptor_deleted">;
3767
- declare const onFileDescriptorFileReady$1: EventDefinition<FileDescriptorFileReadyEnvelope, "wix.media.site_media.v1.file_descriptor_file_ready">;
3768
3778
  declare const onFileDescriptorFileFailed$1: EventDefinition<FileDescriptorFileFailedEnvelope, "wix.media.site_media.v1.file_descriptor_file_failed">;
3779
+ declare const onFileDescriptorFileReady$1: EventDefinition<FileDescriptorFileReadyEnvelope, "wix.media.site_media.v1.file_descriptor_file_ready">;
3780
+ declare const onFileDescriptorUpdated$1: EventDefinition<FileDescriptorUpdatedEnvelope, "wix.media.site_media.v1.file_descriptor_updated">;
3769
3781
 
3770
3782
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3771
3783
 
@@ -3786,21 +3798,21 @@ declare const bulkDeleteFiles: MaybeContext<BuildRESTFunction<typeof bulkDeleteF
3786
3798
  declare const bulkRestoreFilesFromTrashBin: MaybeContext<BuildRESTFunction<typeof bulkRestoreFilesFromTrashBin$1> & typeof bulkRestoreFilesFromTrashBin$1>;
3787
3799
  declare const listDeletedFiles: MaybeContext<BuildRESTFunction<typeof listDeletedFiles$1> & typeof listDeletedFiles$1>;
3788
3800
 
3789
- type _publicOnFileDescriptorUpdatedType = typeof onFileDescriptorUpdated$1;
3790
- /** */
3791
- declare const onFileDescriptorUpdated: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorUpdatedType>>;
3792
-
3793
3801
  type _publicOnFileDescriptorDeletedType = typeof onFileDescriptorDeleted$1;
3794
3802
  /** */
3795
3803
  declare const onFileDescriptorDeleted: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorDeletedType>>;
3796
3804
 
3805
+ type _publicOnFileDescriptorFileFailedType = typeof onFileDescriptorFileFailed$1;
3806
+ /** */
3807
+ declare const onFileDescriptorFileFailed: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorFileFailedType>>;
3808
+
3797
3809
  type _publicOnFileDescriptorFileReadyType = typeof onFileDescriptorFileReady$1;
3798
3810
  /** */
3799
3811
  declare const onFileDescriptorFileReady: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorFileReadyType>>;
3800
3812
 
3801
- type _publicOnFileDescriptorFileFailedType = typeof onFileDescriptorFileFailed$1;
3813
+ type _publicOnFileDescriptorUpdatedType = typeof onFileDescriptorUpdated$1;
3802
3814
  /** */
3803
- declare const onFileDescriptorFileFailed: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorFileFailedType>>;
3815
+ declare const onFileDescriptorUpdated: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorUpdatedType>>;
3804
3816
 
3805
3817
  type index_d$1_ApplicationError = ApplicationError;
3806
3818
  type index_d$1_Archive = Archive;
@@ -3829,6 +3841,7 @@ type index_d$1_Colors = Colors;
3829
3841
  type index_d$1_ContentDisposition = ContentDisposition;
3830
3842
  declare const index_d$1_ContentDisposition: typeof ContentDisposition;
3831
3843
  type index_d$1_DownloadUrl = DownloadUrl;
3844
+ type index_d$1_DraftFilePublished = DraftFilePublished;
3832
3845
  type index_d$1_ExternalInfo = ExternalInfo;
3833
3846
  type index_d$1_FaceRecognition = FaceRecognition;
3834
3847
  type index_d$1_FileDescriptor = FileDescriptor;
@@ -3841,6 +3854,8 @@ type index_d$1_FileFailed = FileFailed;
3841
3854
  type index_d$1_FileMedia = FileMedia;
3842
3855
  type index_d$1_FileMediaMediaOneOf = FileMediaMediaOneOf;
3843
3856
  type index_d$1_FileReady = FileReady;
3857
+ type index_d$1_FontAsset = FontAsset;
3858
+ type index_d$1_FontMedia = FontMedia;
3844
3859
  type index_d$1_GenerateFileDownloadUrlOptions = GenerateFileDownloadUrlOptions;
3845
3860
  type index_d$1_GenerateFileDownloadUrlRequest = GenerateFileDownloadUrlRequest;
3846
3861
  type index_d$1_GenerateFileDownloadUrlResponse = GenerateFileDownloadUrlResponse;
@@ -3938,7 +3953,7 @@ declare const index_d$1_onFileDescriptorUpdated: typeof onFileDescriptorUpdated;
3938
3953
  declare const index_d$1_searchFiles: typeof searchFiles;
3939
3954
  declare const index_d$1_updateFileDescriptor: typeof updateFileDescriptor;
3940
3955
  declare namespace index_d$1 {
3941
- export { type ActionEvent$1 as ActionEvent, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Archive as Archive, type index_d$1_AudioV2 as AudioV2, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkAnnotateImagesRequest as BulkAnnotateImagesRequest, type index_d$1_BulkAnnotateImagesResponse as BulkAnnotateImagesResponse, type index_d$1_BulkDeleteFilesOptions as BulkDeleteFilesOptions, type index_d$1_BulkDeleteFilesRequest as BulkDeleteFilesRequest, type index_d$1_BulkDeleteFilesResponse as BulkDeleteFilesResponse, type index_d$1_BulkImportFileOptions as BulkImportFileOptions, type index_d$1_BulkImportFileRequest as BulkImportFileRequest, type index_d$1_BulkImportFileResponse as BulkImportFileResponse, type index_d$1_BulkImportFileResponseNonNullableFields as BulkImportFileResponseNonNullableFields, type index_d$1_BulkImportFileResult as BulkImportFileResult, type index_d$1_BulkImportFilesRequest as BulkImportFilesRequest, type index_d$1_BulkImportFilesResponse as BulkImportFilesResponse, type index_d$1_BulkImportFilesResponseNonNullableFields as BulkImportFilesResponseNonNullableFields, type index_d$1_BulkPublishDraftFilesRequest as BulkPublishDraftFilesRequest, type index_d$1_BulkPublishDraftFilesResponse as BulkPublishDraftFilesResponse, type index_d$1_BulkRestoreFilesFromTrashBinRequest as BulkRestoreFilesFromTrashBinRequest, type index_d$1_BulkRestoreFilesFromTrashBinResponse as BulkRestoreFilesFromTrashBinResponse, type index_d$1_Color as Color, type index_d$1_ColorRGB as ColorRGB, type index_d$1_Colors as Colors, index_d$1_ContentDisposition as ContentDisposition, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_DownloadUrl as DownloadUrl, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_ExternalInfo as ExternalInfo, type index_d$1_FaceRecognition as FaceRecognition, type index_d$1_FileDescriptor as FileDescriptor, type index_d$1_FileDescriptorDeletedEnvelope as FileDescriptorDeletedEnvelope, type index_d$1_FileDescriptorFileFailedEnvelope as FileDescriptorFileFailedEnvelope, type index_d$1_FileDescriptorFileReadyEnvelope as FileDescriptorFileReadyEnvelope, type index_d$1_FileDescriptorNonNullableFields as FileDescriptorNonNullableFields, type index_d$1_FileDescriptorUpdatedEnvelope as FileDescriptorUpdatedEnvelope, type index_d$1_FileFailed as FileFailed, type index_d$1_FileMedia as FileMedia, type index_d$1_FileMediaMediaOneOf as FileMediaMediaOneOf, type index_d$1_FileReady as FileReady, type index_d$1_GenerateFileDownloadUrlOptions as GenerateFileDownloadUrlOptions, type index_d$1_GenerateFileDownloadUrlRequest as GenerateFileDownloadUrlRequest, type index_d$1_GenerateFileDownloadUrlResponse as GenerateFileDownloadUrlResponse, type index_d$1_GenerateFileDownloadUrlResponseNonNullableFields as GenerateFileDownloadUrlResponseNonNullableFields, type index_d$1_GenerateFileResumableUploadUrlOptions as GenerateFileResumableUploadUrlOptions, type index_d$1_GenerateFileResumableUploadUrlRequest as GenerateFileResumableUploadUrlRequest, type index_d$1_GenerateFileResumableUploadUrlResponse as GenerateFileResumableUploadUrlResponse, type index_d$1_GenerateFileResumableUploadUrlResponseNonNullableFields as GenerateFileResumableUploadUrlResponseNonNullableFields, type index_d$1_GenerateFileUploadUrlOptions as GenerateFileUploadUrlOptions, type index_d$1_GenerateFileUploadUrlRequest as GenerateFileUploadUrlRequest, type index_d$1_GenerateFileUploadUrlResponse as GenerateFileUploadUrlResponse, type index_d$1_GenerateFileUploadUrlResponseNonNullableFields as GenerateFileUploadUrlResponseNonNullableFields, type index_d$1_GenerateFilesDownloadUrlRequest as GenerateFilesDownloadUrlRequest, type index_d$1_GenerateFilesDownloadUrlResponse as GenerateFilesDownloadUrlResponse, type index_d$1_GenerateFilesDownloadUrlResponseNonNullableFields as GenerateFilesDownloadUrlResponseNonNullableFields, type index_d$1_GenerateVideoStreamingUrlOptions as GenerateVideoStreamingUrlOptions, type index_d$1_GenerateVideoStreamingUrlRequest as GenerateVideoStreamingUrlRequest, type index_d$1_GenerateVideoStreamingUrlResponse as GenerateVideoStreamingUrlResponse, type index_d$1_GenerateVideoStreamingUrlResponseNonNullableFields as GenerateVideoStreamingUrlResponseNonNullableFields, type index_d$1_GenerateWebSocketTokenRequest as GenerateWebSocketTokenRequest, type index_d$1_GenerateWebSocketTokenResponse as GenerateWebSocketTokenResponse, type index_d$1_GetFileDescriptorRequest as GetFileDescriptorRequest, type index_d$1_GetFileDescriptorResponse as GetFileDescriptorResponse, type index_d$1_GetFileDescriptorResponseNonNullableFields as GetFileDescriptorResponseNonNullableFields, type index_d$1_GetFileDescriptorsRequest as GetFileDescriptorsRequest, type index_d$1_GetFileDescriptorsResponse as GetFileDescriptorsResponse, type index_d$1_GetFileDescriptorsResponseNonNullableFields as GetFileDescriptorsResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_IdentityInfo as IdentityInfo, index_d$1_IdentityType as IdentityType, index_d$1_ImageAnnotationType as ImageAnnotationType, type index_d$1_ImageMedia as ImageMedia, type index_d$1_ImportFileOptions as ImportFileOptions, type index_d$1_ImportFileRequest as ImportFileRequest, type index_d$1_ImportFileResponse as ImportFileResponse, type index_d$1_ImportFileResponseNonNullableFields as ImportFileResponseNonNullableFields, type index_d$1_ItemMetadata as ItemMetadata, type index_d$1_ListDeletedFilesOptions as ListDeletedFilesOptions, type index_d$1_ListDeletedFilesRequest as ListDeletedFilesRequest, type index_d$1_ListDeletedFilesResponse as ListDeletedFilesResponse, type index_d$1_ListDeletedFilesResponseNonNullableFields as ListDeletedFilesResponseNonNullableFields, type index_d$1_ListFilesOptions as ListFilesOptions, type index_d$1_ListFilesRequest as ListFilesRequest, type index_d$1_ListFilesResponse as ListFilesResponse, type index_d$1_ListFilesResponseNonNullableFields as ListFilesResponseNonNullableFields, index_d$1_MediaType as MediaType, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_Model3D as Model3D, Namespace$1 as Namespace, index_d$1_OperationStatus as OperationStatus, type index_d$1_OtherMedia as OtherMedia, type PagingMetadataV2$1 as PagingMetadataV2, type index_d$1_Plan as Plan, type index_d$1_Plans as Plans, type RestoreInfo$1 as RestoreInfo, RootFolder$1 as RootFolder, type index_d$1_SearchFilesOptions as SearchFilesOptions, type index_d$1_SearchFilesRequest as SearchFilesRequest, type index_d$1_SearchFilesResponse as SearchFilesResponse, type index_d$1_SearchFilesResponseNonNullableFields as SearchFilesResponseNonNullableFields, type index_d$1_ServiceError as ServiceError, type index_d$1_SiteQuotaExceededError as SiteQuotaExceededError, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, index_d$1_StreamFormat as StreamFormat, type index_d$1_TotalQuota as TotalQuota, type index_d$1_UnsupportedRequestValueError as UnsupportedRequestValueError, type index_d$1_UpdateFileDescriptorRequest as UpdateFileDescriptorRequest, type index_d$1_UpdateFileDescriptorResponse as UpdateFileDescriptorResponse, type index_d$1_UpdateFileDescriptorResponseNonNullableFields as UpdateFileDescriptorResponseNonNullableFields, type index_d$1_UpdateFileRequest as UpdateFileRequest, type index_d$1_UpdateFileResponse as UpdateFileResponse, index_d$1_UploadProtocol as UploadProtocol, type index_d$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, type index_d$1__publicOnFileDescriptorDeletedType as _publicOnFileDescriptorDeletedType, type index_d$1__publicOnFileDescriptorFileFailedType as _publicOnFileDescriptorFileFailedType, type index_d$1__publicOnFileDescriptorFileReadyType as _publicOnFileDescriptorFileReadyType, type index_d$1__publicOnFileDescriptorUpdatedType as _publicOnFileDescriptorUpdatedType, index_d$1_bulkDeleteFiles as bulkDeleteFiles, index_d$1_bulkImportFile as bulkImportFile, index_d$1_bulkImportFiles as bulkImportFiles, index_d$1_bulkRestoreFilesFromTrashBin as bulkRestoreFilesFromTrashBin, index_d$1_generateFileDownloadUrl as generateFileDownloadUrl, index_d$1_generateFileResumableUploadUrl as generateFileResumableUploadUrl, index_d$1_generateFileUploadUrl as generateFileUploadUrl, index_d$1_generateFilesDownloadUrl as generateFilesDownloadUrl, index_d$1_generateVideoStreamingUrl as generateVideoStreamingUrl, index_d$1_getFileDescriptor as getFileDescriptor, index_d$1_getFileDescriptors as getFileDescriptors, index_d$1_importFile as importFile, index_d$1_listDeletedFiles as listDeletedFiles, index_d$1_listFiles as listFiles, index_d$1_onFileDescriptorDeleted as onFileDescriptorDeleted, index_d$1_onFileDescriptorFileFailed as onFileDescriptorFileFailed, index_d$1_onFileDescriptorFileReady as onFileDescriptorFileReady, index_d$1_onFileDescriptorUpdated as onFileDescriptorUpdated, onFileDescriptorDeleted$1 as publicOnFileDescriptorDeleted, onFileDescriptorFileFailed$1 as publicOnFileDescriptorFileFailed, onFileDescriptorFileReady$1 as publicOnFileDescriptorFileReady, onFileDescriptorUpdated$1 as publicOnFileDescriptorUpdated, index_d$1_searchFiles as searchFiles, index_d$1_updateFileDescriptor as updateFileDescriptor };
3956
+ export { type ActionEvent$1 as ActionEvent, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Archive as Archive, type index_d$1_AudioV2 as AudioV2, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, type index_d$1_BulkAnnotateImagesRequest as BulkAnnotateImagesRequest, type index_d$1_BulkAnnotateImagesResponse as BulkAnnotateImagesResponse, type index_d$1_BulkDeleteFilesOptions as BulkDeleteFilesOptions, type index_d$1_BulkDeleteFilesRequest as BulkDeleteFilesRequest, type index_d$1_BulkDeleteFilesResponse as BulkDeleteFilesResponse, type index_d$1_BulkImportFileOptions as BulkImportFileOptions, type index_d$1_BulkImportFileRequest as BulkImportFileRequest, type index_d$1_BulkImportFileResponse as BulkImportFileResponse, type index_d$1_BulkImportFileResponseNonNullableFields as BulkImportFileResponseNonNullableFields, type index_d$1_BulkImportFileResult as BulkImportFileResult, type index_d$1_BulkImportFilesRequest as BulkImportFilesRequest, type index_d$1_BulkImportFilesResponse as BulkImportFilesResponse, type index_d$1_BulkImportFilesResponseNonNullableFields as BulkImportFilesResponseNonNullableFields, type index_d$1_BulkPublishDraftFilesRequest as BulkPublishDraftFilesRequest, type index_d$1_BulkPublishDraftFilesResponse as BulkPublishDraftFilesResponse, type index_d$1_BulkRestoreFilesFromTrashBinRequest as BulkRestoreFilesFromTrashBinRequest, type index_d$1_BulkRestoreFilesFromTrashBinResponse as BulkRestoreFilesFromTrashBinResponse, type index_d$1_Color as Color, type index_d$1_ColorRGB as ColorRGB, type index_d$1_Colors as Colors, index_d$1_ContentDisposition as ContentDisposition, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$1_DownloadUrl as DownloadUrl, type index_d$1_DraftFilePublished as DraftFilePublished, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_ExternalInfo as ExternalInfo, type index_d$1_FaceRecognition as FaceRecognition, type index_d$1_FileDescriptor as FileDescriptor, type index_d$1_FileDescriptorDeletedEnvelope as FileDescriptorDeletedEnvelope, type index_d$1_FileDescriptorFileFailedEnvelope as FileDescriptorFileFailedEnvelope, type index_d$1_FileDescriptorFileReadyEnvelope as FileDescriptorFileReadyEnvelope, type index_d$1_FileDescriptorNonNullableFields as FileDescriptorNonNullableFields, type index_d$1_FileDescriptorUpdatedEnvelope as FileDescriptorUpdatedEnvelope, type index_d$1_FileFailed as FileFailed, type index_d$1_FileMedia as FileMedia, type index_d$1_FileMediaMediaOneOf as FileMediaMediaOneOf, type index_d$1_FileReady as FileReady, type index_d$1_FontAsset as FontAsset, type index_d$1_FontMedia as FontMedia, type index_d$1_GenerateFileDownloadUrlOptions as GenerateFileDownloadUrlOptions, type index_d$1_GenerateFileDownloadUrlRequest as GenerateFileDownloadUrlRequest, type index_d$1_GenerateFileDownloadUrlResponse as GenerateFileDownloadUrlResponse, type index_d$1_GenerateFileDownloadUrlResponseNonNullableFields as GenerateFileDownloadUrlResponseNonNullableFields, type index_d$1_GenerateFileResumableUploadUrlOptions as GenerateFileResumableUploadUrlOptions, type index_d$1_GenerateFileResumableUploadUrlRequest as GenerateFileResumableUploadUrlRequest, type index_d$1_GenerateFileResumableUploadUrlResponse as GenerateFileResumableUploadUrlResponse, type index_d$1_GenerateFileResumableUploadUrlResponseNonNullableFields as GenerateFileResumableUploadUrlResponseNonNullableFields, type index_d$1_GenerateFileUploadUrlOptions as GenerateFileUploadUrlOptions, type index_d$1_GenerateFileUploadUrlRequest as GenerateFileUploadUrlRequest, type index_d$1_GenerateFileUploadUrlResponse as GenerateFileUploadUrlResponse, type index_d$1_GenerateFileUploadUrlResponseNonNullableFields as GenerateFileUploadUrlResponseNonNullableFields, type index_d$1_GenerateFilesDownloadUrlRequest as GenerateFilesDownloadUrlRequest, type index_d$1_GenerateFilesDownloadUrlResponse as GenerateFilesDownloadUrlResponse, type index_d$1_GenerateFilesDownloadUrlResponseNonNullableFields as GenerateFilesDownloadUrlResponseNonNullableFields, type index_d$1_GenerateVideoStreamingUrlOptions as GenerateVideoStreamingUrlOptions, type index_d$1_GenerateVideoStreamingUrlRequest as GenerateVideoStreamingUrlRequest, type index_d$1_GenerateVideoStreamingUrlResponse as GenerateVideoStreamingUrlResponse, type index_d$1_GenerateVideoStreamingUrlResponseNonNullableFields as GenerateVideoStreamingUrlResponseNonNullableFields, type index_d$1_GenerateWebSocketTokenRequest as GenerateWebSocketTokenRequest, type index_d$1_GenerateWebSocketTokenResponse as GenerateWebSocketTokenResponse, type index_d$1_GetFileDescriptorRequest as GetFileDescriptorRequest, type index_d$1_GetFileDescriptorResponse as GetFileDescriptorResponse, type index_d$1_GetFileDescriptorResponseNonNullableFields as GetFileDescriptorResponseNonNullableFields, type index_d$1_GetFileDescriptorsRequest as GetFileDescriptorsRequest, type index_d$1_GetFileDescriptorsResponse as GetFileDescriptorsResponse, type index_d$1_GetFileDescriptorsResponseNonNullableFields as GetFileDescriptorsResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_IdentityInfo as IdentityInfo, index_d$1_IdentityType as IdentityType, index_d$1_ImageAnnotationType as ImageAnnotationType, type index_d$1_ImageMedia as ImageMedia, type index_d$1_ImportFileOptions as ImportFileOptions, type index_d$1_ImportFileRequest as ImportFileRequest, type index_d$1_ImportFileResponse as ImportFileResponse, type index_d$1_ImportFileResponseNonNullableFields as ImportFileResponseNonNullableFields, type index_d$1_ItemMetadata as ItemMetadata, type index_d$1_ListDeletedFilesOptions as ListDeletedFilesOptions, type index_d$1_ListDeletedFilesRequest as ListDeletedFilesRequest, type index_d$1_ListDeletedFilesResponse as ListDeletedFilesResponse, type index_d$1_ListDeletedFilesResponseNonNullableFields as ListDeletedFilesResponseNonNullableFields, type index_d$1_ListFilesOptions as ListFilesOptions, type index_d$1_ListFilesRequest as ListFilesRequest, type index_d$1_ListFilesResponse as ListFilesResponse, type index_d$1_ListFilesResponseNonNullableFields as ListFilesResponseNonNullableFields, index_d$1_MediaType as MediaType, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_Model3D as Model3D, Namespace$1 as Namespace, index_d$1_OperationStatus as OperationStatus, type index_d$1_OtherMedia as OtherMedia, type PagingMetadataV2$1 as PagingMetadataV2, type index_d$1_Plan as Plan, type index_d$1_Plans as Plans, type RestoreInfo$1 as RestoreInfo, RootFolder$1 as RootFolder, type index_d$1_SearchFilesOptions as SearchFilesOptions, type index_d$1_SearchFilesRequest as SearchFilesRequest, type index_d$1_SearchFilesResponse as SearchFilesResponse, type index_d$1_SearchFilesResponseNonNullableFields as SearchFilesResponseNonNullableFields, type index_d$1_ServiceError as ServiceError, type index_d$1_SiteQuotaExceededError as SiteQuotaExceededError, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, index_d$1_StreamFormat as StreamFormat, type index_d$1_TotalQuota as TotalQuota, type index_d$1_UnsupportedRequestValueError as UnsupportedRequestValueError, type index_d$1_UpdateFileDescriptorRequest as UpdateFileDescriptorRequest, type index_d$1_UpdateFileDescriptorResponse as UpdateFileDescriptorResponse, type index_d$1_UpdateFileDescriptorResponseNonNullableFields as UpdateFileDescriptorResponseNonNullableFields, type index_d$1_UpdateFileRequest as UpdateFileRequest, type index_d$1_UpdateFileResponse as UpdateFileResponse, index_d$1_UploadProtocol as UploadProtocol, type index_d$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, type index_d$1__publicOnFileDescriptorDeletedType as _publicOnFileDescriptorDeletedType, type index_d$1__publicOnFileDescriptorFileFailedType as _publicOnFileDescriptorFileFailedType, type index_d$1__publicOnFileDescriptorFileReadyType as _publicOnFileDescriptorFileReadyType, type index_d$1__publicOnFileDescriptorUpdatedType as _publicOnFileDescriptorUpdatedType, index_d$1_bulkDeleteFiles as bulkDeleteFiles, index_d$1_bulkImportFile as bulkImportFile, index_d$1_bulkImportFiles as bulkImportFiles, index_d$1_bulkRestoreFilesFromTrashBin as bulkRestoreFilesFromTrashBin, index_d$1_generateFileDownloadUrl as generateFileDownloadUrl, index_d$1_generateFileResumableUploadUrl as generateFileResumableUploadUrl, index_d$1_generateFileUploadUrl as generateFileUploadUrl, index_d$1_generateFilesDownloadUrl as generateFilesDownloadUrl, index_d$1_generateVideoStreamingUrl as generateVideoStreamingUrl, index_d$1_getFileDescriptor as getFileDescriptor, index_d$1_getFileDescriptors as getFileDescriptors, index_d$1_importFile as importFile, index_d$1_listDeletedFiles as listDeletedFiles, index_d$1_listFiles as listFiles, index_d$1_onFileDescriptorDeleted as onFileDescriptorDeleted, index_d$1_onFileDescriptorFileFailed as onFileDescriptorFileFailed, index_d$1_onFileDescriptorFileReady as onFileDescriptorFileReady, index_d$1_onFileDescriptorUpdated as onFileDescriptorUpdated, onFileDescriptorDeleted$1 as publicOnFileDescriptorDeleted, onFileDescriptorFileFailed$1 as publicOnFileDescriptorFileFailed, onFileDescriptorFileReady$1 as publicOnFileDescriptorFileReady, onFileDescriptorUpdated$1 as publicOnFileDescriptorUpdated, index_d$1_searchFiles as searchFiles, index_d$1_updateFileDescriptor as updateFileDescriptor };
3942
3957
  }
3943
3958
 
3944
3959
  interface Folder {