@wix/media 1.0.132 → 1.0.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/type-bundles/context.bundle.d.ts +145 -137
- package/type-bundles/index.bundle.d.ts +145 -137
- package/type-bundles/meta.bundle.d.ts +78 -100
|
@@ -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
|
|
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: '
|
|
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
|
|
2396
|
+
/** External information specified in the file import or upload. */
|
|
2369
2397
|
externalInfo?: ExternalInfo;
|
|
2370
|
-
/**
|
|
2398
|
+
/** File was restored from the trash-bin. */
|
|
2371
2399
|
triggeredByUndelete?: boolean;
|
|
2372
2400
|
}
|
|
2373
2401
|
interface ExternalInfo {
|
|
2374
|
-
/** External information to
|
|
2402
|
+
/** External information to specify in the File Ready or File Failed events. */
|
|
2375
2403
|
origin?: string;
|
|
2376
|
-
/** External IDs to
|
|
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
|
|
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 {
|
|
@@ -2415,8 +2443,8 @@ interface GenerateFilesDownloadUrlRequest {
|
|
|
2415
2443
|
/**
|
|
2416
2444
|
* IDs of the files to download.
|
|
2417
2445
|
*
|
|
2418
|
-
* You can also
|
|
2419
|
-
* Learn more about the
|
|
2446
|
+
* You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
2447
|
+
* 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
2448
|
*/
|
|
2421
2449
|
fileIds: string[];
|
|
2422
2450
|
}
|
|
@@ -2428,14 +2456,14 @@ interface GenerateFileDownloadUrlRequest {
|
|
|
2428
2456
|
/**
|
|
2429
2457
|
* File ID.
|
|
2430
2458
|
*
|
|
2431
|
-
* You can also
|
|
2432
|
-
* Learn more about the
|
|
2459
|
+
* 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`.
|
|
2460
|
+
* 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
2461
|
*/
|
|
2434
2462
|
fileId: string;
|
|
2435
2463
|
/**
|
|
2436
2464
|
* 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
2465
|
*
|
|
2438
|
-
* **Note:** The name that appears in the Media Manager is taken from the `filename`
|
|
2466
|
+
* **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
|
|
2439
2467
|
*/
|
|
2440
2468
|
downloadFileName?: string | null;
|
|
2441
2469
|
/**
|
|
@@ -2498,10 +2526,10 @@ interface GetFileDescriptorRequest {
|
|
|
2498
2526
|
/**
|
|
2499
2527
|
* File ID.
|
|
2500
2528
|
*
|
|
2501
|
-
* You can also
|
|
2502
|
-
* Learn more about the
|
|
2529
|
+
* 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`.
|
|
2530
|
+
* 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
2531
|
*
|
|
2504
|
-
*
|
|
2532
|
+
* 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
2533
|
*/
|
|
2506
2534
|
fileId: string;
|
|
2507
2535
|
}
|
|
@@ -2513,8 +2541,8 @@ interface GetFileDescriptorsRequest {
|
|
|
2513
2541
|
/**
|
|
2514
2542
|
* File IDs.
|
|
2515
2543
|
*
|
|
2516
|
-
* You can also
|
|
2517
|
-
* Learn more about the
|
|
2544
|
+
* You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
2545
|
+
* 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
2546
|
*/
|
|
2519
2547
|
fileIds: string[];
|
|
2520
2548
|
}
|
|
@@ -2541,7 +2569,7 @@ interface GenerateFileUploadUrlRequest {
|
|
|
2541
2569
|
mimeType: string | null;
|
|
2542
2570
|
/**
|
|
2543
2571
|
* 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`
|
|
2572
|
+
* <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
|
|
2545
2573
|
*/
|
|
2546
2574
|
fileName?: string | null;
|
|
2547
2575
|
/**
|
|
@@ -2555,9 +2583,9 @@ interface GenerateFileUploadUrlRequest {
|
|
|
2555
2583
|
* Default: `media-root`.
|
|
2556
2584
|
*/
|
|
2557
2585
|
parentFolderId?: string | null;
|
|
2558
|
-
/** Whether the file will be public or private. Learn more about
|
|
2586
|
+
/** 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
2587
|
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. */
|
|
2588
|
+
/** 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
2589
|
labels?: string[] | null;
|
|
2562
2590
|
/** A place to map an external entity to an uploaded file in the Wix Media Manager. */
|
|
2563
2591
|
externalInfo?: ExternalInfo;
|
|
@@ -2618,7 +2646,7 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
2618
2646
|
mimeType: string | null;
|
|
2619
2647
|
/**
|
|
2620
2648
|
* 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`
|
|
2649
|
+
* <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
|
|
2622
2650
|
*/
|
|
2623
2651
|
fileName?: string | null;
|
|
2624
2652
|
/**
|
|
@@ -2632,9 +2660,9 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
2632
2660
|
* Default: `media-root`.
|
|
2633
2661
|
*/
|
|
2634
2662
|
parentFolderId?: string | null;
|
|
2635
|
-
/** Whether the file will be public or private. Learn more about
|
|
2663
|
+
/** 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
2664
|
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. */
|
|
2665
|
+
/** 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
2666
|
labels?: string[] | null;
|
|
2639
2667
|
/** The upload protocol to use for implementing the resumable upload. */
|
|
2640
2668
|
uploadProtocol?: UploadProtocol;
|
|
@@ -2674,13 +2702,13 @@ interface ImportFileRequest {
|
|
|
2674
2702
|
* Default: `media-root`.
|
|
2675
2703
|
*/
|
|
2676
2704
|
parentFolderId?: string | null;
|
|
2677
|
-
/** Whether the file will be public or private. Learn more about
|
|
2705
|
+
/** 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
2706
|
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. */
|
|
2707
|
+
/** 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
2708
|
labels?: string[] | null;
|
|
2681
2709
|
/** File mime type. */
|
|
2682
2710
|
mimeType?: string;
|
|
2683
|
-
/** Information sent to the
|
|
2711
|
+
/** 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
2712
|
externalInfo?: ExternalInfo;
|
|
2685
2713
|
/** Optional parameters that should be sent with the external URL. */
|
|
2686
2714
|
urlParams?: Record<string, any> | null;
|
|
@@ -2709,11 +2737,7 @@ interface BulkImportFilesResponse {
|
|
|
2709
2737
|
interface BulkImportFileRequest {
|
|
2710
2738
|
/** Information about the files to import. */
|
|
2711
2739
|
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
|
-
*/
|
|
2740
|
+
/** Default: `true` */
|
|
2717
2741
|
returnEntity?: boolean | null;
|
|
2718
2742
|
}
|
|
2719
2743
|
interface BulkImportFileResponse {
|
|
@@ -2725,7 +2749,7 @@ interface BulkImportFileResponse {
|
|
|
2725
2749
|
interface BulkImportFileResult {
|
|
2726
2750
|
/** Item metadata. */
|
|
2727
2751
|
itemMetadata?: ItemMetadata;
|
|
2728
|
-
/** Imported file. This field is
|
|
2752
|
+
/** Imported file. This field is included in the response if the operation was successful and `returnEntity` is not set to `false`. */
|
|
2729
2753
|
item?: FileDescriptor;
|
|
2730
2754
|
}
|
|
2731
2755
|
interface ItemMetadata {
|
|
@@ -2752,12 +2776,9 @@ interface ListFilesRequest {
|
|
|
2752
2776
|
* Default:`media-root`.
|
|
2753
2777
|
*/
|
|
2754
2778
|
parentFolderId?: string | null;
|
|
2755
|
-
/**
|
|
2756
|
-
* File media type.
|
|
2757
|
-
* excluding: OTHER media type
|
|
2758
|
-
*/
|
|
2779
|
+
/** File media type. */
|
|
2759
2780
|
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
|
|
2781
|
+
/** \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
2782
|
private?: boolean | null;
|
|
2762
2783
|
/**
|
|
2763
2784
|
* Field name and order to sort by. One of: <br />
|
|
@@ -2819,12 +2840,9 @@ interface SearchFilesRequest {
|
|
|
2819
2840
|
* Default: `MEDIA_ROOT`.
|
|
2820
2841
|
*/
|
|
2821
2842
|
rootFolder?: RootFolder$1;
|
|
2822
|
-
/**
|
|
2823
|
-
* File media type.
|
|
2824
|
-
* excluding: OTHER media type
|
|
2825
|
-
*/
|
|
2843
|
+
/** File media type. */
|
|
2826
2844
|
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
|
|
2845
|
+
/** \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
2846
|
private?: boolean | null;
|
|
2829
2847
|
/**
|
|
2830
2848
|
* Field name and order to sort by. One of: <br />
|
|
@@ -2855,8 +2873,8 @@ interface GenerateVideoStreamingUrlRequest {
|
|
|
2855
2873
|
/**
|
|
2856
2874
|
* File ID.
|
|
2857
2875
|
*
|
|
2858
|
-
* You can also
|
|
2859
|
-
* Learn more about the
|
|
2876
|
+
* 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`.
|
|
2877
|
+
* 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
2878
|
*/
|
|
2861
2879
|
fileId: string;
|
|
2862
2880
|
/** Video stream format. */
|
|
@@ -2881,8 +2899,8 @@ interface BulkDeleteFilesRequest {
|
|
|
2881
2899
|
/**
|
|
2882
2900
|
* IDs of the files to move to the Media Manager's trash bin.
|
|
2883
2901
|
*
|
|
2884
|
-
* You can also
|
|
2885
|
-
* Learn more about the
|
|
2902
|
+
* You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
2903
|
+
* 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
2904
|
*/
|
|
2887
2905
|
fileIds: string[];
|
|
2888
2906
|
/**
|
|
@@ -2897,8 +2915,8 @@ interface BulkRestoreFilesFromTrashBinRequest {
|
|
|
2897
2915
|
/**
|
|
2898
2916
|
* IDs of the files to restore from the Media Manager's trash bin.
|
|
2899
2917
|
*
|
|
2900
|
-
* You can also
|
|
2901
|
-
* Learn more about the
|
|
2918
|
+
* You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
2919
|
+
* 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
2920
|
*/
|
|
2903
2921
|
fileIds: string[];
|
|
2904
2922
|
}
|
|
@@ -2910,12 +2928,9 @@ interface ListDeletedFilesRequest {
|
|
|
2910
2928
|
* Default: `media-root`.
|
|
2911
2929
|
*/
|
|
2912
2930
|
parentFolderId?: string | null;
|
|
2913
|
-
/**
|
|
2914
|
-
* File media type.
|
|
2915
|
-
* excluding: OTHER media type
|
|
2916
|
-
*/
|
|
2931
|
+
/** File media type. */
|
|
2917
2932
|
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
|
|
2933
|
+
/** \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
2934
|
private?: boolean | null;
|
|
2920
2935
|
/**
|
|
2921
2936
|
* Field name and order to sort by. One of: <br />
|
|
@@ -2938,8 +2953,8 @@ interface BulkPublishDraftFilesRequest {
|
|
|
2938
2953
|
/**
|
|
2939
2954
|
* IDs of the files to move to the Media Manager's trash bin.
|
|
2940
2955
|
*
|
|
2941
|
-
* You can also
|
|
2942
|
-
* Learn more about the
|
|
2956
|
+
* You can also specify the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
2957
|
+
* 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
2958
|
*/
|
|
2944
2959
|
fileIds?: string[];
|
|
2945
2960
|
/**
|
|
@@ -2968,8 +2983,8 @@ interface UpdateFileRequest {
|
|
|
2968
2983
|
/**
|
|
2969
2984
|
* ID of the file to update.
|
|
2970
2985
|
*
|
|
2971
|
-
* You can also
|
|
2972
|
-
* Learn more about the
|
|
2986
|
+
* 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`.
|
|
2987
|
+
* 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
2988
|
*/
|
|
2974
2989
|
fileId?: string;
|
|
2975
2990
|
/** File name that appears in the Media Manager. */
|
|
@@ -2979,7 +2994,7 @@ interface UpdateFileRequest {
|
|
|
2979
2994
|
* Default: `media-root`.
|
|
2980
2995
|
*/
|
|
2981
2996
|
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. */
|
|
2997
|
+
/** 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
2998
|
labels?: string[] | null;
|
|
2984
2999
|
}
|
|
2985
3000
|
interface UpdateFileResponse {
|
|
@@ -3144,6 +3159,8 @@ interface FileMediaNonNullableFields {
|
|
|
3144
3159
|
archive?: ArchiveNonNullableFields;
|
|
3145
3160
|
model3d?: Model3DNonNullableFields;
|
|
3146
3161
|
other?: OtherMediaNonNullableFields;
|
|
3162
|
+
icon?: ImageMediaNonNullableFields;
|
|
3163
|
+
flash?: OtherMediaNonNullableFields;
|
|
3147
3164
|
}
|
|
3148
3165
|
interface IdentityInfoNonNullableFields {
|
|
3149
3166
|
identityType: IdentityType;
|
|
@@ -3267,26 +3284,26 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
3267
3284
|
*/
|
|
3268
3285
|
entityEventSequence?: string | null;
|
|
3269
3286
|
}
|
|
3270
|
-
interface
|
|
3271
|
-
entity: FileDescriptor;
|
|
3287
|
+
interface FileDescriptorDeletedEnvelope {
|
|
3272
3288
|
metadata: EventMetadata$1;
|
|
3273
3289
|
}
|
|
3274
|
-
interface
|
|
3290
|
+
interface FileDescriptorFileFailedEnvelope {
|
|
3291
|
+
data: FileFailed;
|
|
3275
3292
|
metadata: EventMetadata$1;
|
|
3276
3293
|
}
|
|
3277
3294
|
interface FileDescriptorFileReadyEnvelope {
|
|
3278
3295
|
data: FileReady;
|
|
3279
3296
|
metadata: EventMetadata$1;
|
|
3280
3297
|
}
|
|
3281
|
-
interface
|
|
3282
|
-
|
|
3298
|
+
interface FileDescriptorUpdatedEnvelope {
|
|
3299
|
+
entity: FileDescriptor;
|
|
3283
3300
|
metadata: EventMetadata$1;
|
|
3284
3301
|
}
|
|
3285
3302
|
interface GenerateFileDownloadUrlOptions {
|
|
3286
3303
|
/**
|
|
3287
3304
|
* 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
3305
|
*
|
|
3289
|
-
* **Note:** The name that appears in the Media Manager is taken from the `filename`
|
|
3306
|
+
* **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
|
|
3290
3307
|
*/
|
|
3291
3308
|
downloadFileName?: string | null;
|
|
3292
3309
|
/**
|
|
@@ -3318,7 +3335,7 @@ interface GenerateFileDownloadUrlOptions {
|
|
|
3318
3335
|
interface GenerateFileUploadUrlOptions {
|
|
3319
3336
|
/**
|
|
3320
3337
|
* 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`
|
|
3338
|
+
* <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
|
|
3322
3339
|
*/
|
|
3323
3340
|
fileName?: string | null;
|
|
3324
3341
|
/**
|
|
@@ -3332,9 +3349,9 @@ interface GenerateFileUploadUrlOptions {
|
|
|
3332
3349
|
* Default: `media-root`.
|
|
3333
3350
|
*/
|
|
3334
3351
|
parentFolderId?: string | null;
|
|
3335
|
-
/** Whether the file will be public or private. Learn more about
|
|
3352
|
+
/** 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
3353
|
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. */
|
|
3354
|
+
/** 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
3355
|
labels?: string[] | null;
|
|
3339
3356
|
/** A place to map an external entity to an uploaded file in the Wix Media Manager. */
|
|
3340
3357
|
externalInfo?: ExternalInfo;
|
|
@@ -3349,7 +3366,7 @@ interface GenerateFileUploadUrlOptions {
|
|
|
3349
3366
|
interface GenerateFileResumableUploadUrlOptions {
|
|
3350
3367
|
/**
|
|
3351
3368
|
* 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`
|
|
3369
|
+
* <br /> **Note:** The name that appears in the Media Manager is taken from the `filename` parameter in the Generate File Upload Url call.
|
|
3353
3370
|
*/
|
|
3354
3371
|
fileName?: string | null;
|
|
3355
3372
|
/**
|
|
@@ -3363,9 +3380,9 @@ interface GenerateFileResumableUploadUrlOptions {
|
|
|
3363
3380
|
* Default: `media-root`.
|
|
3364
3381
|
*/
|
|
3365
3382
|
parentFolderId?: string | null;
|
|
3366
|
-
/** Whether the file will be public or private. Learn more about
|
|
3383
|
+
/** 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
3384
|
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. */
|
|
3385
|
+
/** 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
3386
|
labels?: string[] | null;
|
|
3370
3387
|
/** The upload protocol to use for implementing the resumable upload. */
|
|
3371
3388
|
uploadProtocol?: UploadProtocol;
|
|
@@ -3391,13 +3408,13 @@ interface ImportFileOptions {
|
|
|
3391
3408
|
* Default: `media-root`.
|
|
3392
3409
|
*/
|
|
3393
3410
|
parentFolderId?: string | null;
|
|
3394
|
-
/** Whether the file will be public or private. Learn more about
|
|
3411
|
+
/** 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
3412
|
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. */
|
|
3413
|
+
/** 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
3414
|
labels?: string[] | null;
|
|
3398
3415
|
/** File mime type. */
|
|
3399
3416
|
mimeType?: string;
|
|
3400
|
-
/** Information sent to the
|
|
3417
|
+
/** 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
3418
|
externalInfo?: ExternalInfo;
|
|
3402
3419
|
/** Optional parameters that should be sent with the external URL. */
|
|
3403
3420
|
urlParams?: Record<string, any> | null;
|
|
@@ -3412,11 +3429,7 @@ interface ImportFileOptions {
|
|
|
3412
3429
|
filePath?: string | null;
|
|
3413
3430
|
}
|
|
3414
3431
|
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
|
-
*/
|
|
3432
|
+
/** Default: `true` */
|
|
3420
3433
|
returnEntity?: boolean | null;
|
|
3421
3434
|
}
|
|
3422
3435
|
interface ListFilesOptions {
|
|
@@ -3425,12 +3438,9 @@ interface ListFilesOptions {
|
|
|
3425
3438
|
* Default:`media-root`.
|
|
3426
3439
|
*/
|
|
3427
3440
|
parentFolderId?: string | null;
|
|
3428
|
-
/**
|
|
3429
|
-
* File media type.
|
|
3430
|
-
* excluding: OTHER media type
|
|
3431
|
-
*/
|
|
3441
|
+
/** File media type. */
|
|
3432
3442
|
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
|
|
3443
|
+
/** \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
3444
|
private?: boolean | null;
|
|
3435
3445
|
/**
|
|
3436
3446
|
* Field name and order to sort by. One of: <br />
|
|
@@ -3455,12 +3465,9 @@ interface SearchFilesOptions {
|
|
|
3455
3465
|
* Default: `MEDIA_ROOT`.
|
|
3456
3466
|
*/
|
|
3457
3467
|
rootFolder?: RootFolder$1;
|
|
3458
|
-
/**
|
|
3459
|
-
* File media type.
|
|
3460
|
-
* excluding: OTHER media type
|
|
3461
|
-
*/
|
|
3468
|
+
/** File media type. */
|
|
3462
3469
|
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
|
|
3470
|
+
/** \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
3471
|
private?: boolean | null;
|
|
3465
3472
|
/**
|
|
3466
3473
|
* Field name and order to sort by. One of: <br />
|
|
@@ -3490,12 +3497,9 @@ interface ListDeletedFilesOptions {
|
|
|
3490
3497
|
* Default: `media-root`.
|
|
3491
3498
|
*/
|
|
3492
3499
|
parentFolderId?: string | null;
|
|
3493
|
-
/**
|
|
3494
|
-
* File media type.
|
|
3495
|
-
* excluding: OTHER media type
|
|
3496
|
-
*/
|
|
3500
|
+
/** File media type. */
|
|
3497
3501
|
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
|
|
3502
|
+
/** \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
3503
|
private?: boolean | null;
|
|
3500
3504
|
/**
|
|
3501
3505
|
* Field name and order to sort by. One of: <br />
|
|
@@ -3516,9 +3520,9 @@ interface GenerateFilesDownloadUrlSignature {
|
|
|
3516
3520
|
*
|
|
3517
3521
|
* The compressed file can contain up to 1000 files.
|
|
3518
3522
|
*
|
|
3519
|
-
* To generate
|
|
3520
|
-
*
|
|
3521
|
-
* Therefore, to download private files,
|
|
3523
|
+
* 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.
|
|
3524
|
+
* Since this is a permanent URL, it is less secure.
|
|
3525
|
+
* 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
3526
|
* @param - IDs of the files to download.
|
|
3523
3527
|
*
|
|
3524
3528
|
* 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 +3535,14 @@ interface GenerateFileDownloadUrlSignature {
|
|
|
3531
3535
|
/**
|
|
3532
3536
|
* Generates one or more temporary URLs for downloading a specific file in the Media Manager.
|
|
3533
3537
|
*
|
|
3534
|
-
* To download different assets of the file,
|
|
3538
|
+
* To download different assets of the file, specify the `assetKeys` parameter which generates a download URL for each asset.
|
|
3535
3539
|
* If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
3536
3540
|
*
|
|
3537
|
-
*
|
|
3541
|
+
* 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
3542
|
*
|
|
3539
|
-
* To generate a permanent URL for downloading a compressed file that contains multiple files in the Media Manager,
|
|
3543
|
+
* 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
3544
|
* Since this is a permanent URL, it is less secure.
|
|
3541
|
-
* Therefore, to download private files,
|
|
3545
|
+
* 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
3546
|
* @param - Options to use when generating a file's download URL.
|
|
3543
3547
|
* @param - File ID.
|
|
3544
3548
|
*
|
|
@@ -3575,7 +3579,7 @@ interface UpdateFileDescriptorSignature {
|
|
|
3575
3579
|
/**
|
|
3576
3580
|
* Updates a file. <br />
|
|
3577
3581
|
*
|
|
3578
|
-
*
|
|
3582
|
+
* Specify the `parentFolderId` parameter to move a file from its current folder to a different folder.
|
|
3579
3583
|
* @param - The file to update.
|
|
3580
3584
|
* @returns Information about the updated file.
|
|
3581
3585
|
*/
|
|
@@ -3586,10 +3590,10 @@ interface GenerateFileUploadUrlSignature {
|
|
|
3586
3590
|
/**
|
|
3587
3591
|
* Generates an upload URL to allow external clients to upload a file to the Media Manager. <br/>
|
|
3588
3592
|
*
|
|
3589
|
-
* To learn how external clients can use the generated upload URL in the response to upload a file to the Media Manager, see
|
|
3593
|
+
* 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
3594
|
* > **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
|
|
3592
|
-
* > - Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor,
|
|
3595
|
+
* > - 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)).
|
|
3596
|
+
* > - 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
3597
|
* @param - File mime type.
|
|
3594
3598
|
* @param - Options to use when generating a file's upload URL.
|
|
3595
3599
|
*/
|
|
@@ -3601,9 +3605,9 @@ interface GenerateFileResumableUploadUrlSignature {
|
|
|
3601
3605
|
* Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager. <br/>
|
|
3602
3606
|
*
|
|
3603
3607
|
* 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
|
|
3608
|
+
* 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
3609
|
*
|
|
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
|
|
3610
|
+
* > **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
3611
|
* @param - File mime type.
|
|
3608
3612
|
* @param - Options to use when generating a resumable upload URL.
|
|
3609
3613
|
*/
|
|
@@ -3615,18 +3619,18 @@ interface ImportFileSignature {
|
|
|
3615
3619
|
* Imports a file to the Media Manager using an external url.
|
|
3616
3620
|
*
|
|
3617
3621
|
* Returns information about the imported file.
|
|
3618
|
-
*
|
|
3622
|
+
* Specify the `parentFolderId` and `filePath` parameters to specify which folder you want the file to be imported to.
|
|
3619
3623
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
3620
3624
|
*
|
|
3621
3625
|
* >**Notes:**
|
|
3622
3626
|
* > - 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
|
|
3627
|
+
* > - 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
3628
|
*
|
|
3625
3629
|
* To import a file, you need to do one of the following:
|
|
3626
|
-
* -
|
|
3627
|
-
* -
|
|
3630
|
+
* - 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'`.
|
|
3631
|
+
* - 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
3632
|
* - 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,
|
|
3633
|
+
* > **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
3634
|
* @param - Publicly accessible external file URL.
|
|
3631
3635
|
* @param - Options to use when importing a single file.
|
|
3632
3636
|
*/
|
|
@@ -3640,22 +3644,24 @@ interface BulkImportFilesSignature {
|
|
|
3640
3644
|
*
|
|
3641
3645
|
* __Deprecation Notice:__
|
|
3642
3646
|
*
|
|
3643
|
-
* This endpoint has been replaced with
|
|
3647
|
+
* This endpoint has been replaced with Bulk Import File and will be removed on March 31, 2024.
|
|
3644
3648
|
*
|
|
3645
3649
|
* </blockquote>
|
|
3650
|
+
*
|
|
3646
3651
|
* Returns information about the imported files.
|
|
3647
3652
|
*
|
|
3648
3653
|
* Use the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.
|
|
3649
3654
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
3650
3655
|
*
|
|
3651
|
-
* >**
|
|
3656
|
+
* >**Notes:**
|
|
3657
|
+
* > - The `media` property isn't returned in the `files` response object.
|
|
3658
|
+
* > - 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
3659
|
*
|
|
3653
3660
|
* To import files, you need to do one of the following for each file:
|
|
3654
|
-
* -
|
|
3661
|
+
* - 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
3662
|
* - 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
3663
|
* - 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'`.
|
|
3664
|
+
* > **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
3665
|
* @param - Information about the files to import.
|
|
3660
3666
|
* @param - Options to use when uploading multiple files.
|
|
3661
3667
|
* @deprecated
|
|
@@ -3669,18 +3675,18 @@ interface BulkImportFileSignature {
|
|
|
3669
3675
|
*
|
|
3670
3676
|
* Returns information about the imported files.
|
|
3671
3677
|
*
|
|
3672
|
-
*
|
|
3678
|
+
* Specify the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.
|
|
3673
3679
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
3674
3680
|
*
|
|
3675
3681
|
* >**Notes:**
|
|
3676
3682
|
* > - 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
|
|
3683
|
+
* > - 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
3684
|
*
|
|
3679
3685
|
* To import files, you need to do one of the following for each file:
|
|
3680
|
-
* -
|
|
3686
|
+
* - 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
3687
|
* - 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
3688
|
* - 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,
|
|
3689
|
+
* > **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
3690
|
* @param - Information about the files to import.
|
|
3685
3691
|
* @param - Options to include the file descriptor in the response.
|
|
3686
3692
|
*/
|
|
@@ -3691,7 +3697,7 @@ interface ListFilesSignature {
|
|
|
3691
3697
|
/**
|
|
3692
3698
|
* Retrieves a list of files in the Media Manager.
|
|
3693
3699
|
*
|
|
3694
|
-
* To retrieve a list of files within a specific folder in the Media Manager,
|
|
3700
|
+
* 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
3701
|
* @param - Options to use when listing media files.
|
|
3696
3702
|
*/
|
|
3697
3703
|
(options?: ListFilesOptions | undefined): Promise<ListFilesResponse & ListFilesResponseNonNullableFields>;
|
|
@@ -3711,7 +3717,7 @@ interface GenerateVideoStreamingUrlSignature {
|
|
|
3711
3717
|
/**
|
|
3712
3718
|
* Generates a URL for streaming a specific video file in the Media Manager. <br/>
|
|
3713
3719
|
*
|
|
3714
|
-
* To stream different assets of the file,
|
|
3720
|
+
* 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
3721
|
* @param - Options to use when generating a video file's streaming URL.
|
|
3716
3722
|
* @param - File ID.
|
|
3717
3723
|
*
|
|
@@ -3725,14 +3731,14 @@ interface BulkDeleteFilesSignature {
|
|
|
3725
3731
|
/**
|
|
3726
3732
|
* Deletes the specified files from the Media Manager. <br/>
|
|
3727
3733
|
*
|
|
3728
|
-
* The deleted files are moved to the Media Manager's trash bin (`TRASH-ROOT` folder) unless permanently deleted. To permanently delete files,
|
|
3734
|
+
* 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
3735
|
*
|
|
3730
3736
|
* Note the following:
|
|
3731
3737
|
* * The specified files can be from different folders.
|
|
3732
3738
|
* * Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
3733
3739
|
* * Attempting to delete files that are already in the trash bin doesn't result in an error.
|
|
3734
|
-
* * If
|
|
3735
|
-
* * You can use
|
|
3740
|
+
* * 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).
|
|
3741
|
+
* * You can use Bulk Restore Files From Trash Bin to restore files from the Media Manager's trash bin.
|
|
3736
3742
|
* @param - Options to use when deleting files.
|
|
3737
3743
|
* @param - IDs of the files to move to the Media Manager's trash bin.
|
|
3738
3744
|
*
|
|
@@ -3762,10 +3768,10 @@ interface ListDeletedFilesSignature {
|
|
|
3762
3768
|
*/
|
|
3763
3769
|
(options?: ListDeletedFilesOptions | undefined): Promise<ListDeletedFilesResponse & ListDeletedFilesResponseNonNullableFields>;
|
|
3764
3770
|
}
|
|
3765
|
-
declare const onFileDescriptorUpdated$1: EventDefinition<FileDescriptorUpdatedEnvelope, "wix.media.site_media.v1.file_descriptor_updated">;
|
|
3766
3771
|
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
3772
|
declare const onFileDescriptorFileFailed$1: EventDefinition<FileDescriptorFileFailedEnvelope, "wix.media.site_media.v1.file_descriptor_file_failed">;
|
|
3773
|
+
declare const onFileDescriptorFileReady$1: EventDefinition<FileDescriptorFileReadyEnvelope, "wix.media.site_media.v1.file_descriptor_file_ready">;
|
|
3774
|
+
declare const onFileDescriptorUpdated$1: EventDefinition<FileDescriptorUpdatedEnvelope, "wix.media.site_media.v1.file_descriptor_updated">;
|
|
3769
3775
|
|
|
3770
3776
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3771
3777
|
|
|
@@ -3786,21 +3792,21 @@ declare const bulkDeleteFiles: MaybeContext<BuildRESTFunction<typeof bulkDeleteF
|
|
|
3786
3792
|
declare const bulkRestoreFilesFromTrashBin: MaybeContext<BuildRESTFunction<typeof bulkRestoreFilesFromTrashBin$1> & typeof bulkRestoreFilesFromTrashBin$1>;
|
|
3787
3793
|
declare const listDeletedFiles: MaybeContext<BuildRESTFunction<typeof listDeletedFiles$1> & typeof listDeletedFiles$1>;
|
|
3788
3794
|
|
|
3789
|
-
type _publicOnFileDescriptorUpdatedType = typeof onFileDescriptorUpdated$1;
|
|
3790
|
-
/** */
|
|
3791
|
-
declare const onFileDescriptorUpdated: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorUpdatedType>>;
|
|
3792
|
-
|
|
3793
3795
|
type _publicOnFileDescriptorDeletedType = typeof onFileDescriptorDeleted$1;
|
|
3794
3796
|
/** */
|
|
3795
3797
|
declare const onFileDescriptorDeleted: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorDeletedType>>;
|
|
3796
3798
|
|
|
3799
|
+
type _publicOnFileDescriptorFileFailedType = typeof onFileDescriptorFileFailed$1;
|
|
3800
|
+
/** */
|
|
3801
|
+
declare const onFileDescriptorFileFailed: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorFileFailedType>>;
|
|
3802
|
+
|
|
3797
3803
|
type _publicOnFileDescriptorFileReadyType = typeof onFileDescriptorFileReady$1;
|
|
3798
3804
|
/** */
|
|
3799
3805
|
declare const onFileDescriptorFileReady: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorFileReadyType>>;
|
|
3800
3806
|
|
|
3801
|
-
type
|
|
3807
|
+
type _publicOnFileDescriptorUpdatedType = typeof onFileDescriptorUpdated$1;
|
|
3802
3808
|
/** */
|
|
3803
|
-
declare const
|
|
3809
|
+
declare const onFileDescriptorUpdated: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorUpdatedType>>;
|
|
3804
3810
|
|
|
3805
3811
|
type index_d$1_ApplicationError = ApplicationError;
|
|
3806
3812
|
type index_d$1_Archive = Archive;
|
|
@@ -3841,6 +3847,8 @@ type index_d$1_FileFailed = FileFailed;
|
|
|
3841
3847
|
type index_d$1_FileMedia = FileMedia;
|
|
3842
3848
|
type index_d$1_FileMediaMediaOneOf = FileMediaMediaOneOf;
|
|
3843
3849
|
type index_d$1_FileReady = FileReady;
|
|
3850
|
+
type index_d$1_FontAsset = FontAsset;
|
|
3851
|
+
type index_d$1_FontMedia = FontMedia;
|
|
3844
3852
|
type index_d$1_GenerateFileDownloadUrlOptions = GenerateFileDownloadUrlOptions;
|
|
3845
3853
|
type index_d$1_GenerateFileDownloadUrlRequest = GenerateFileDownloadUrlRequest;
|
|
3846
3854
|
type index_d$1_GenerateFileDownloadUrlResponse = GenerateFileDownloadUrlResponse;
|
|
@@ -3938,7 +3946,7 @@ declare const index_d$1_onFileDescriptorUpdated: typeof onFileDescriptorUpdated;
|
|
|
3938
3946
|
declare const index_d$1_searchFiles: typeof searchFiles;
|
|
3939
3947
|
declare const index_d$1_updateFileDescriptor: typeof updateFileDescriptor;
|
|
3940
3948
|
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 };
|
|
3949
|
+
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_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
3950
|
}
|
|
3943
3951
|
|
|
3944
3952
|
interface Folder {
|