@wix/media 1.0.130 → 1.0.132
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 +236 -212
- package/type-bundles/index.bundle.d.ts +236 -212
- package/type-bundles/meta.bundle.d.ts +58 -78
|
@@ -2049,7 +2049,7 @@ interface FileDescriptor {
|
|
|
2049
2049
|
*/
|
|
2050
2050
|
sizeInBytes?: string | null;
|
|
2051
2051
|
/**
|
|
2052
|
-
* Whether the file is public or private.
|
|
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).
|
|
2053
2053
|
* @readonly
|
|
2054
2054
|
*/
|
|
2055
2055
|
private?: boolean;
|
|
@@ -2371,9 +2371,9 @@ interface FileReady {
|
|
|
2371
2371
|
triggeredByUndelete?: boolean;
|
|
2372
2372
|
}
|
|
2373
2373
|
interface ExternalInfo {
|
|
2374
|
-
/** External information to pass in the File Ready or File Failed events. */
|
|
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. */
|
|
2375
2375
|
origin?: string;
|
|
2376
|
-
/** External IDs to pass in the File Ready or File Failed events. */
|
|
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. */
|
|
2377
2377
|
externalIds?: string[];
|
|
2378
2378
|
}
|
|
2379
2379
|
interface FileFailed {
|
|
@@ -2399,7 +2399,7 @@ interface BulkAnnotateImagesRequest {
|
|
|
2399
2399
|
overwrite?: boolean | null;
|
|
2400
2400
|
}
|
|
2401
2401
|
declare enum ImageAnnotationType {
|
|
2402
|
-
|
|
2402
|
+
UNKNOWN_ANNOTATION_TYPE = "UNKNOWN_ANNOTATION_TYPE",
|
|
2403
2403
|
CONTAINS_TEXT = "CONTAINS_TEXT",
|
|
2404
2404
|
IS_ANIMATED = "IS_ANIMATED",
|
|
2405
2405
|
FACES = "FACES",
|
|
@@ -2416,7 +2416,7 @@ interface GenerateFilesDownloadUrlRequest {
|
|
|
2416
2416
|
* IDs of the files to download.
|
|
2417
2417
|
*
|
|
2418
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
|
|
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).
|
|
2420
2420
|
*/
|
|
2421
2421
|
fileIds: string[];
|
|
2422
2422
|
}
|
|
@@ -2428,8 +2428,8 @@ interface GenerateFileDownloadUrlRequest {
|
|
|
2428
2428
|
/**
|
|
2429
2429
|
* File ID.
|
|
2430
2430
|
*
|
|
2431
|
-
* You can also pass the file's Wix media URL. For example, `
|
|
2432
|
-
* Learn more
|
|
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).
|
|
2433
2433
|
*/
|
|
2434
2434
|
fileId: string;
|
|
2435
2435
|
/**
|
|
@@ -2483,12 +2483,25 @@ interface DownloadUrl {
|
|
|
2483
2483
|
*/
|
|
2484
2484
|
assetKey?: string;
|
|
2485
2485
|
}
|
|
2486
|
+
interface ServiceError {
|
|
2487
|
+
/**
|
|
2488
|
+
* Error codes are groups of related errors
|
|
2489
|
+
* The error code can be used to provide additional details to wix support while debugging service errors
|
|
2490
|
+
*/
|
|
2491
|
+
internalCode?: string | null;
|
|
2492
|
+
/** Debugging information, http status code returned from wix media internal API */
|
|
2493
|
+
internalHttpStatusCode?: number | null;
|
|
2494
|
+
/** Optional Debugging information, error key will represent the error "family" returned from wix media internal API */
|
|
2495
|
+
internalKey?: string | null;
|
|
2496
|
+
}
|
|
2486
2497
|
interface GetFileDescriptorRequest {
|
|
2487
2498
|
/**
|
|
2488
2499
|
* File ID.
|
|
2489
2500
|
*
|
|
2490
|
-
* You can also pass the file's Wix media URL. For example, `
|
|
2491
|
-
* Learn more
|
|
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).
|
|
2503
|
+
*
|
|
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`.
|
|
2492
2505
|
*/
|
|
2493
2506
|
fileId: string;
|
|
2494
2507
|
}
|
|
@@ -2501,7 +2514,7 @@ interface GetFileDescriptorsRequest {
|
|
|
2501
2514
|
* File IDs.
|
|
2502
2515
|
*
|
|
2503
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"]`.
|
|
2504
|
-
* Learn more
|
|
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).
|
|
2505
2518
|
*/
|
|
2506
2519
|
fileIds: string[];
|
|
2507
2520
|
}
|
|
@@ -2517,6 +2530,12 @@ interface UpdateFileDescriptorResponse {
|
|
|
2517
2530
|
/** Information about the updated file. */
|
|
2518
2531
|
file?: FileDescriptor;
|
|
2519
2532
|
}
|
|
2533
|
+
interface UnsupportedRequestValueError {
|
|
2534
|
+
/** Optional A list of allowed values */
|
|
2535
|
+
allowedValues?: string[];
|
|
2536
|
+
/** The unsupported value send in the request */
|
|
2537
|
+
requestValue?: string;
|
|
2538
|
+
}
|
|
2520
2539
|
interface GenerateFileUploadUrlRequest {
|
|
2521
2540
|
/** File mime type. */
|
|
2522
2541
|
mimeType: string | null;
|
|
@@ -2536,11 +2555,11 @@ interface GenerateFileUploadUrlRequest {
|
|
|
2536
2555
|
* Default: `media-root`.
|
|
2537
2556
|
*/
|
|
2538
2557
|
parentFolderId?: string | null;
|
|
2539
|
-
/** Whether the file will be public or private.
|
|
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). */
|
|
2540
2559
|
private?: boolean | null;
|
|
2541
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. */
|
|
2542
2561
|
labels?: string[] | null;
|
|
2543
|
-
/**
|
|
2562
|
+
/** A place to map an external entity to an uploaded file in the Wix Media Manager. */
|
|
2544
2563
|
externalInfo?: ExternalInfo;
|
|
2545
2564
|
/**
|
|
2546
2565
|
* Path to the folder where the file will be stored.
|
|
@@ -2554,6 +2573,46 @@ interface GenerateFileUploadUrlResponse {
|
|
|
2554
2573
|
/** The URL for uploading a file to the Media Manager. */
|
|
2555
2574
|
uploadUrl?: string;
|
|
2556
2575
|
}
|
|
2576
|
+
interface SiteQuotaExceededError {
|
|
2577
|
+
/**
|
|
2578
|
+
* Error codes are groups of related errors
|
|
2579
|
+
* The error code can be used to provide additional details to wix support while debugging service errors
|
|
2580
|
+
*/
|
|
2581
|
+
internalCode?: string | null;
|
|
2582
|
+
/** Debugging information, http status code returned from wix media internal API */
|
|
2583
|
+
internalHttpStatusCode?: number | null;
|
|
2584
|
+
/** Optional Debugging information, error key will represent the error "family" returned from wix media internal API */
|
|
2585
|
+
internalKey?: string | null;
|
|
2586
|
+
/** The quota details */
|
|
2587
|
+
quota?: TotalQuota;
|
|
2588
|
+
}
|
|
2589
|
+
interface TotalQuota {
|
|
2590
|
+
/** Storage quota in bytes */
|
|
2591
|
+
storage?: string | null;
|
|
2592
|
+
/** Plans that are related to the quota */
|
|
2593
|
+
plans?: Plans;
|
|
2594
|
+
/** Time for which the quota is relevant - When the plans were retrieved from premium */
|
|
2595
|
+
timestamp?: Date | null;
|
|
2596
|
+
}
|
|
2597
|
+
interface Plans {
|
|
2598
|
+
/** Premium Plan */
|
|
2599
|
+
premium?: Plan;
|
|
2600
|
+
/** Upgrade URL - the URL which a site owner can use to upgrade their quota. May be empty if an upgrade is not available. */
|
|
2601
|
+
upgradeUrl?: string;
|
|
2602
|
+
}
|
|
2603
|
+
interface Plan {
|
|
2604
|
+
/**
|
|
2605
|
+
* Plan ID - Premium product ID
|
|
2606
|
+
* @readonly
|
|
2607
|
+
*/
|
|
2608
|
+
_id?: string;
|
|
2609
|
+
/** Plan name */
|
|
2610
|
+
name?: string;
|
|
2611
|
+
/** When the plan was created */
|
|
2612
|
+
createdAt?: Date | null;
|
|
2613
|
+
/** When then plan expires */
|
|
2614
|
+
expiresAt?: Date | null;
|
|
2615
|
+
}
|
|
2557
2616
|
interface GenerateFileResumableUploadUrlRequest {
|
|
2558
2617
|
/** File mime type. */
|
|
2559
2618
|
mimeType: string | null;
|
|
@@ -2573,7 +2632,7 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
2573
2632
|
* Default: `media-root`.
|
|
2574
2633
|
*/
|
|
2575
2634
|
parentFolderId?: string | null;
|
|
2576
|
-
/** Whether the file will be public or private.
|
|
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). */
|
|
2577
2636
|
private?: boolean | null;
|
|
2578
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. */
|
|
2579
2638
|
labels?: string[] | null;
|
|
@@ -2592,11 +2651,7 @@ declare enum UploadProtocol {
|
|
|
2592
2651
|
TUS = "TUS"
|
|
2593
2652
|
}
|
|
2594
2653
|
interface GenerateFileResumableUploadUrlResponse {
|
|
2595
|
-
/**
|
|
2596
|
-
* The upload protocol to use for implementing the resumable upload.
|
|
2597
|
-
*
|
|
2598
|
-
* Supported values: `"TUS"`
|
|
2599
|
-
*/
|
|
2654
|
+
/** The upload protocol to use for implementing the resumable upload. */
|
|
2600
2655
|
uploadProtocol?: UploadProtocol;
|
|
2601
2656
|
/** The URL for uploading a file to the Media Manager. */
|
|
2602
2657
|
uploadUrl?: string;
|
|
@@ -2606,7 +2661,10 @@ interface GenerateFileResumableUploadUrlResponse {
|
|
|
2606
2661
|
interface ImportFileRequest {
|
|
2607
2662
|
/** Publicly accessible external file URL. */
|
|
2608
2663
|
url: string;
|
|
2609
|
-
/**
|
|
2664
|
+
/**
|
|
2665
|
+
* Media type of the file to import.
|
|
2666
|
+
* excluding: OTHER media type
|
|
2667
|
+
*/
|
|
2610
2668
|
mediaType?: MediaType;
|
|
2611
2669
|
/** File name that appears in the Media Manager. */
|
|
2612
2670
|
displayName?: string | null;
|
|
@@ -2616,13 +2674,13 @@ interface ImportFileRequest {
|
|
|
2616
2674
|
* Default: `media-root`.
|
|
2617
2675
|
*/
|
|
2618
2676
|
parentFolderId?: string | null;
|
|
2619
|
-
/** Whether the file will be public or private.
|
|
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). */
|
|
2620
2678
|
private?: boolean | null;
|
|
2621
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. */
|
|
2622
2680
|
labels?: string[] | null;
|
|
2623
2681
|
/** File mime type. */
|
|
2624
2682
|
mimeType?: string;
|
|
2625
|
-
/** Information sent to the
|
|
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. */
|
|
2626
2684
|
externalInfo?: ExternalInfo;
|
|
2627
2685
|
/** Optional parameters that should be sent with the external URL. */
|
|
2628
2686
|
urlParams?: Record<string, any> | null;
|
|
@@ -2699,21 +2757,14 @@ interface ListFilesRequest {
|
|
|
2699
2757
|
* excluding: OTHER media type
|
|
2700
2758
|
*/
|
|
2701
2759
|
mediaTypes?: MediaType[];
|
|
2702
|
-
/**
|
|
2703
|
-
* `true`: Returns only private files.
|
|
2704
|
-
* `false`: Returns only public files.
|
|
2705
|
-
* `undefined`: Returns public and private files.
|
|
2706
|
-
* For more, see the Private Files article.
|
|
2707
|
-
*/
|
|
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). */
|
|
2708
2761
|
private?: boolean | null;
|
|
2709
2762
|
/**
|
|
2710
|
-
* Field name and order to sort by. One of:
|
|
2711
|
-
*
|
|
2712
|
-
*
|
|
2713
|
-
*
|
|
2714
|
-
*
|
|
2715
|
-
*
|
|
2716
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
2763
|
+
* Field name and order to sort by. One of: <br />
|
|
2764
|
+
* * `displayName`
|
|
2765
|
+
* * `updatedDate`
|
|
2766
|
+
* * `sizeInBytes`
|
|
2767
|
+
* Default: `updatedDate` in `desc` order.
|
|
2717
2768
|
*/
|
|
2718
2769
|
sort?: Sorting$1;
|
|
2719
2770
|
/** Cursor and paging information. */
|
|
@@ -2773,21 +2824,14 @@ interface SearchFilesRequest {
|
|
|
2773
2824
|
* excluding: OTHER media type
|
|
2774
2825
|
*/
|
|
2775
2826
|
mediaTypes?: MediaType[];
|
|
2776
|
-
/**
|
|
2777
|
-
* `true`: Returns only private files.
|
|
2778
|
-
* `false`: Returns only public files.
|
|
2779
|
-
* `undefined`: Returns public and private files.
|
|
2780
|
-
* For more, see the Private Files article.
|
|
2781
|
-
*/
|
|
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). */
|
|
2782
2828
|
private?: boolean | null;
|
|
2783
2829
|
/**
|
|
2784
|
-
* Field name and order to sort by. One of:
|
|
2785
|
-
*
|
|
2786
|
-
*
|
|
2787
|
-
*
|
|
2788
|
-
*
|
|
2789
|
-
*
|
|
2790
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
2830
|
+
* Field name and order to sort by. One of: <br />
|
|
2831
|
+
* * `displayName`
|
|
2832
|
+
* * `updatedDate`
|
|
2833
|
+
* * `sizeInBytes`
|
|
2834
|
+
* Default: `updatedDate` in `desc` order.
|
|
2791
2835
|
*/
|
|
2792
2836
|
sort?: Sorting$1;
|
|
2793
2837
|
/** Cursor and paging information. */
|
|
@@ -2811,8 +2855,8 @@ interface GenerateVideoStreamingUrlRequest {
|
|
|
2811
2855
|
/**
|
|
2812
2856
|
* File ID.
|
|
2813
2857
|
*
|
|
2814
|
-
* You can also pass the file's Wix media URL. For example, `
|
|
2815
|
-
* Learn more
|
|
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).
|
|
2816
2860
|
*/
|
|
2817
2861
|
fileId: string;
|
|
2818
2862
|
/** Video stream format. */
|
|
@@ -2838,7 +2882,7 @@ interface BulkDeleteFilesRequest {
|
|
|
2838
2882
|
* IDs of the files to move to the Media Manager's trash bin.
|
|
2839
2883
|
*
|
|
2840
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"]`.
|
|
2841
|
-
* Learn more
|
|
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).
|
|
2842
2886
|
*/
|
|
2843
2887
|
fileIds: string[];
|
|
2844
2888
|
/**
|
|
@@ -2854,7 +2898,7 @@ interface BulkRestoreFilesFromTrashBinRequest {
|
|
|
2854
2898
|
* IDs of the files to restore from the Media Manager's trash bin.
|
|
2855
2899
|
*
|
|
2856
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"]`.
|
|
2857
|
-
* Learn more
|
|
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).
|
|
2858
2902
|
*/
|
|
2859
2903
|
fileIds: string[];
|
|
2860
2904
|
}
|
|
@@ -2871,21 +2915,14 @@ interface ListDeletedFilesRequest {
|
|
|
2871
2915
|
* excluding: OTHER media type
|
|
2872
2916
|
*/
|
|
2873
2917
|
mediaTypes?: MediaType[];
|
|
2874
|
-
/**
|
|
2875
|
-
* `true`: Returns only private files.
|
|
2876
|
-
* `false`: Returns only public files.
|
|
2877
|
-
* `undefined`: Returns public and private files.
|
|
2878
|
-
* For more, see the Private Files article.
|
|
2879
|
-
*/
|
|
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). */
|
|
2880
2919
|
private?: boolean | null;
|
|
2881
2920
|
/**
|
|
2882
|
-
* Field name and order to sort by. One of:
|
|
2883
|
-
*
|
|
2884
|
-
*
|
|
2885
|
-
*
|
|
2886
|
-
*
|
|
2887
|
-
*
|
|
2888
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
2921
|
+
* Field name and order to sort by. One of: <br />
|
|
2922
|
+
* * `displayName`
|
|
2923
|
+
* * `updatedDate`
|
|
2924
|
+
* * `sizeInBytes`
|
|
2925
|
+
* Default: `updatedDate` in `desc` order.
|
|
2889
2926
|
*/
|
|
2890
2927
|
sort?: Sorting$1;
|
|
2891
2928
|
/** Cursor and paging information. */
|
|
@@ -2897,12 +2934,42 @@ interface ListDeletedFilesResponse {
|
|
|
2897
2934
|
/** The next cursor if it exists. */
|
|
2898
2935
|
nextCursor?: PagingMetadataV2$1;
|
|
2899
2936
|
}
|
|
2937
|
+
interface BulkPublishDraftFilesRequest {
|
|
2938
|
+
/**
|
|
2939
|
+
* IDs of the files to move to the Media Manager's trash bin.
|
|
2940
|
+
*
|
|
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).
|
|
2943
|
+
*/
|
|
2944
|
+
fileIds?: string[];
|
|
2945
|
+
/**
|
|
2946
|
+
* The namespace the files will be published to
|
|
2947
|
+
* Note, private files must have a namespace
|
|
2948
|
+
*/
|
|
2949
|
+
namespace?: Namespace$1;
|
|
2950
|
+
/**
|
|
2951
|
+
* ID of the file's parent folder. <br />
|
|
2952
|
+
* This folder is the path root for the `filePath`. <br />
|
|
2953
|
+
* Default: `media-root`.
|
|
2954
|
+
*/
|
|
2955
|
+
parentFolderId?: string | null;
|
|
2956
|
+
/**
|
|
2957
|
+
* Path to the folder where the file will be stored.
|
|
2958
|
+
* For example, `/videos/2024/december`. <br/>
|
|
2959
|
+
* If `parentFolderId` is defined, the parent folder is used as the path root. Otherwise, the root is `media-root`.
|
|
2960
|
+
* The folders in the path will be created if they don't already exist. <br />
|
|
2961
|
+
*/
|
|
2962
|
+
filePath?: string | null;
|
|
2963
|
+
}
|
|
2964
|
+
interface BulkPublishDraftFilesResponse {
|
|
2965
|
+
files?: FileDescriptor[];
|
|
2966
|
+
}
|
|
2900
2967
|
interface UpdateFileRequest {
|
|
2901
2968
|
/**
|
|
2902
2969
|
* ID of the file to update.
|
|
2903
2970
|
*
|
|
2904
|
-
* You can also pass the file's Wix media URL. For example, `
|
|
2905
|
-
* Learn more
|
|
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).
|
|
2906
2973
|
*/
|
|
2907
2974
|
fileId?: string;
|
|
2908
2975
|
/** File name that appears in the Media Manager. */
|
|
@@ -3265,11 +3332,11 @@ interface GenerateFileUploadUrlOptions {
|
|
|
3265
3332
|
* Default: `media-root`.
|
|
3266
3333
|
*/
|
|
3267
3334
|
parentFolderId?: string | null;
|
|
3268
|
-
/** Whether the file will be public or private.
|
|
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). */
|
|
3269
3336
|
private?: boolean | null;
|
|
3270
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. */
|
|
3271
3338
|
labels?: string[] | null;
|
|
3272
|
-
/**
|
|
3339
|
+
/** A place to map an external entity to an uploaded file in the Wix Media Manager. */
|
|
3273
3340
|
externalInfo?: ExternalInfo;
|
|
3274
3341
|
/**
|
|
3275
3342
|
* Path to the folder where the file will be stored.
|
|
@@ -3296,15 +3363,11 @@ interface GenerateFileResumableUploadUrlOptions {
|
|
|
3296
3363
|
* Default: `media-root`.
|
|
3297
3364
|
*/
|
|
3298
3365
|
parentFolderId?: string | null;
|
|
3299
|
-
/** Whether the file will be public or private.
|
|
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). */
|
|
3300
3367
|
private?: boolean | null;
|
|
3301
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. */
|
|
3302
3369
|
labels?: string[] | null;
|
|
3303
|
-
/**
|
|
3304
|
-
* The upload protocol to use for implementing the resumable upload.
|
|
3305
|
-
*
|
|
3306
|
-
* Supported values: `"TUS"`
|
|
3307
|
-
*/
|
|
3370
|
+
/** The upload protocol to use for implementing the resumable upload. */
|
|
3308
3371
|
uploadProtocol?: UploadProtocol;
|
|
3309
3372
|
/**
|
|
3310
3373
|
* Path to the folder where the file will be stored.
|
|
@@ -3315,7 +3378,10 @@ interface GenerateFileResumableUploadUrlOptions {
|
|
|
3315
3378
|
filePath?: string | null;
|
|
3316
3379
|
}
|
|
3317
3380
|
interface ImportFileOptions {
|
|
3318
|
-
/**
|
|
3381
|
+
/**
|
|
3382
|
+
* Media type of the file to import.
|
|
3383
|
+
* excluding: OTHER media type
|
|
3384
|
+
*/
|
|
3319
3385
|
mediaType?: MediaType;
|
|
3320
3386
|
/** File name that appears in the Media Manager. */
|
|
3321
3387
|
displayName?: string | null;
|
|
@@ -3325,13 +3391,13 @@ interface ImportFileOptions {
|
|
|
3325
3391
|
* Default: `media-root`.
|
|
3326
3392
|
*/
|
|
3327
3393
|
parentFolderId?: string | null;
|
|
3328
|
-
/** Whether the file will be public or private.
|
|
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). */
|
|
3329
3395
|
private?: boolean | null;
|
|
3330
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. */
|
|
3331
3397
|
labels?: string[] | null;
|
|
3332
3398
|
/** File mime type. */
|
|
3333
3399
|
mimeType?: string;
|
|
3334
|
-
/** Information sent to the
|
|
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. */
|
|
3335
3401
|
externalInfo?: ExternalInfo;
|
|
3336
3402
|
/** Optional parameters that should be sent with the external URL. */
|
|
3337
3403
|
urlParams?: Record<string, any> | null;
|
|
@@ -3359,23 +3425,19 @@ interface ListFilesOptions {
|
|
|
3359
3425
|
* Default:`media-root`.
|
|
3360
3426
|
*/
|
|
3361
3427
|
parentFolderId?: string | null;
|
|
3362
|
-
/** Media file type. */
|
|
3363
|
-
mediaTypes?: MediaType[];
|
|
3364
3428
|
/**
|
|
3365
|
-
*
|
|
3366
|
-
*
|
|
3367
|
-
* `undefined`: Returns public and private files.
|
|
3368
|
-
* For more, see the Private Files article.
|
|
3429
|
+
* File media type.
|
|
3430
|
+
* excluding: OTHER media type
|
|
3369
3431
|
*/
|
|
3432
|
+
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). */
|
|
3370
3434
|
private?: boolean | null;
|
|
3371
3435
|
/**
|
|
3372
|
-
* Field name and order to sort by. One of:
|
|
3373
|
-
*
|
|
3374
|
-
*
|
|
3375
|
-
*
|
|
3376
|
-
*
|
|
3377
|
-
*
|
|
3378
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
3436
|
+
* Field name and order to sort by. One of: <br />
|
|
3437
|
+
* * `displayName`
|
|
3438
|
+
* * `updatedDate`
|
|
3439
|
+
* * `sizeInBytes`
|
|
3440
|
+
* Default: `updatedDate` in `desc` order.
|
|
3379
3441
|
*/
|
|
3380
3442
|
sort?: Sorting$1;
|
|
3381
3443
|
/** Cursor and paging information. */
|
|
@@ -3389,30 +3451,23 @@ interface SearchFilesOptions {
|
|
|
3389
3451
|
*/
|
|
3390
3452
|
search?: string | null;
|
|
3391
3453
|
/**
|
|
3392
|
-
* A root folder in the media manager to search in.
|
|
3393
|
-
*
|
|
3454
|
+
* A root folder in the media manager to search in. <br />
|
|
3394
3455
|
* Default: `MEDIA_ROOT`.
|
|
3395
3456
|
*/
|
|
3396
3457
|
rootFolder?: RootFolder$1;
|
|
3397
|
-
/** Media file type. */
|
|
3398
|
-
mediaTypes?: MediaType[];
|
|
3399
3458
|
/**
|
|
3400
|
-
*
|
|
3401
|
-
*
|
|
3402
|
-
* `undefined`: Returns public and private files.
|
|
3403
|
-
* For more, see the Private Files article.
|
|
3404
|
-
*
|
|
3405
|
-
* Default: `false`.
|
|
3459
|
+
* File media type.
|
|
3460
|
+
* excluding: OTHER media type
|
|
3406
3461
|
*/
|
|
3462
|
+
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). */
|
|
3407
3464
|
private?: boolean | null;
|
|
3408
3465
|
/**
|
|
3409
|
-
* Field name and order to sort by. One of:
|
|
3410
|
-
*
|
|
3411
|
-
*
|
|
3412
|
-
*
|
|
3413
|
-
*
|
|
3414
|
-
*
|
|
3415
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
3466
|
+
* Field name and order to sort by. One of: <br />
|
|
3467
|
+
* * `displayName`
|
|
3468
|
+
* * `updatedDate`
|
|
3469
|
+
* * `sizeInBytes`
|
|
3470
|
+
* Default: `updatedDate` in `desc` order.
|
|
3416
3471
|
*/
|
|
3417
3472
|
sort?: Sorting$1;
|
|
3418
3473
|
/** Cursor and paging information. */
|
|
@@ -3435,23 +3490,19 @@ interface ListDeletedFilesOptions {
|
|
|
3435
3490
|
* Default: `media-root`.
|
|
3436
3491
|
*/
|
|
3437
3492
|
parentFolderId?: string | null;
|
|
3438
|
-
/** Media file type. */
|
|
3439
|
-
mediaTypes?: MediaType[];
|
|
3440
3493
|
/**
|
|
3441
|
-
*
|
|
3442
|
-
*
|
|
3443
|
-
* `undefined`: Returns public and private files.
|
|
3444
|
-
* For more, see the Private Files article.
|
|
3494
|
+
* File media type.
|
|
3495
|
+
* excluding: OTHER media type
|
|
3445
3496
|
*/
|
|
3497
|
+
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). */
|
|
3446
3499
|
private?: boolean | null;
|
|
3447
3500
|
/**
|
|
3448
|
-
* Field name and order to sort by. One of:
|
|
3449
|
-
*
|
|
3450
|
-
*
|
|
3451
|
-
*
|
|
3452
|
-
*
|
|
3453
|
-
*
|
|
3454
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
3501
|
+
* Field name and order to sort by. One of: <br />
|
|
3502
|
+
* * `displayName`
|
|
3503
|
+
* * `updatedDate`
|
|
3504
|
+
* * `sizeInBytes`
|
|
3505
|
+
* Default: `updatedDate` in `desc` order.
|
|
3455
3506
|
*/
|
|
3456
3507
|
sort?: Sorting$1;
|
|
3457
3508
|
/** Cursor and paging information. */
|
|
@@ -3463,13 +3514,11 @@ interface GenerateFilesDownloadUrlSignature {
|
|
|
3463
3514
|
/**
|
|
3464
3515
|
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
3465
3516
|
*
|
|
3466
|
-
* The `generateFilesDownloadUrl()` function returns a Promise that resolves to a download URL.
|
|
3467
|
-
*
|
|
3468
3517
|
* The compressed file can contain up to 1000 files.
|
|
3469
3518
|
*
|
|
3470
|
-
* To generate one or more temporary URLs for downloading a specific file in the Media Manager, use the
|
|
3471
|
-
* You can use the `expirationInMinutes` parameter to set the URL expiration time, making it more secure than the
|
|
3472
|
-
* Therefore, to download private files, use the
|
|
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.
|
|
3473
3522
|
* @param - IDs of the files to download.
|
|
3474
3523
|
*
|
|
3475
3524
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
@@ -3482,15 +3531,14 @@ interface GenerateFileDownloadUrlSignature {
|
|
|
3482
3531
|
/**
|
|
3483
3532
|
* Generates one or more temporary URLs for downloading a specific file in the Media Manager.
|
|
3484
3533
|
*
|
|
3485
|
-
* The `generateFileDownloadUrl()` function returns a Promise that resolves to an array containing download URLs for the assets specified in the options parameter.
|
|
3486
|
-
*
|
|
3487
3534
|
* To download different assets of the file, use the `assetKeys` parameter which generates a download URL for each asset.
|
|
3488
|
-
* If no
|
|
3535
|
+
* If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
3489
3536
|
*
|
|
3490
|
-
* Use this
|
|
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.
|
|
3491
3538
|
*
|
|
3492
|
-
* To generate a permanent URL for downloading a compressed file that contains multiple files in the Media Manager, use the
|
|
3493
|
-
* Since this is a permanent URL, it is less secure.
|
|
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.
|
|
3540
|
+
* 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.
|
|
3494
3542
|
* @param - Options to use when generating a file's download URL.
|
|
3495
3543
|
* @param - File ID.
|
|
3496
3544
|
*
|
|
@@ -3502,12 +3550,7 @@ interface GenerateFileDownloadUrlSignature {
|
|
|
3502
3550
|
declare function getFileDescriptor$1(httpClient: HttpClient): GetFileDescriptorSignature;
|
|
3503
3551
|
interface GetFileDescriptorSignature {
|
|
3504
3552
|
/**
|
|
3505
|
-
* Gets information about
|
|
3506
|
-
*
|
|
3507
|
-
*
|
|
3508
|
-
* The `getFileDescriptor()` function returns a Promise that resolves to the specified file's descriptor.
|
|
3509
|
-
*
|
|
3510
|
-
* Use `getFileDescriptors()` to get multiple file descriptors at once.
|
|
3553
|
+
* Gets information about a specific file in the Media Manager.
|
|
3511
3554
|
* @param - File ID.
|
|
3512
3555
|
*
|
|
3513
3556
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
@@ -3519,12 +3562,7 @@ interface GetFileDescriptorSignature {
|
|
|
3519
3562
|
declare function getFileDescriptors$1(httpClient: HttpClient): GetFileDescriptorsSignature;
|
|
3520
3563
|
interface GetFileDescriptorsSignature {
|
|
3521
3564
|
/**
|
|
3522
|
-
* Gets information about
|
|
3523
|
-
*
|
|
3524
|
-
*
|
|
3525
|
-
* The `getFileDescriptors()` function returns a Promise that resolves to an array containing the specified files' descriptors.
|
|
3526
|
-
*
|
|
3527
|
-
* Use `getFileDescriptor()` to get a single file descriptor.
|
|
3565
|
+
* Gets information about specific files in the Media Manager.
|
|
3528
3566
|
* @param - File IDs.
|
|
3529
3567
|
*
|
|
3530
3568
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
@@ -3535,10 +3573,7 @@ interface GetFileDescriptorsSignature {
|
|
|
3535
3573
|
declare function updateFileDescriptor$1(httpClient: HttpClient): UpdateFileDescriptorSignature;
|
|
3536
3574
|
interface UpdateFileDescriptorSignature {
|
|
3537
3575
|
/**
|
|
3538
|
-
* Updates a file.
|
|
3539
|
-
*
|
|
3540
|
-
*
|
|
3541
|
-
* The `updateFileDescriptor()` function returns a Promise that resolves to the updated file's descriptor.
|
|
3576
|
+
* Updates a file. <br />
|
|
3542
3577
|
*
|
|
3543
3578
|
* You can use the `parentFolderId` parameter to move a file from its current folder to a different folder.
|
|
3544
3579
|
* @param - The file to update.
|
|
@@ -3549,15 +3584,12 @@ interface UpdateFileDescriptorSignature {
|
|
|
3549
3584
|
declare function generateFileUploadUrl$1(httpClient: HttpClient): GenerateFileUploadUrlSignature;
|
|
3550
3585
|
interface GenerateFileUploadUrlSignature {
|
|
3551
3586
|
/**
|
|
3552
|
-
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
3553
|
-
*
|
|
3554
|
-
* The `generateFileUploadUrl()` function returns a Promise that resolves to an upload URL.
|
|
3555
|
-
*
|
|
3556
|
-
* 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 article.
|
|
3587
|
+
* Generates an upload URL to allow external clients to upload a file to the Media Manager. <br/>
|
|
3557
3588
|
*
|
|
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.
|
|
3558
3590
|
* > **Notes:**
|
|
3559
|
-
* > - 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](/files/importing-files).
|
|
3560
|
-
* > - Any interruption in the upload process stops the file upload. For files larger than 10MB, or when network connection is poor, use
|
|
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.
|
|
3561
3593
|
* @param - File mime type.
|
|
3562
3594
|
* @param - Options to use when generating a file's upload URL.
|
|
3563
3595
|
*/
|
|
@@ -3566,15 +3598,12 @@ interface GenerateFileUploadUrlSignature {
|
|
|
3566
3598
|
declare function generateFileResumableUploadUrl$1(httpClient: HttpClient): GenerateFileResumableUploadUrlSignature;
|
|
3567
3599
|
interface GenerateFileResumableUploadUrlSignature {
|
|
3568
3600
|
/**
|
|
3569
|
-
* Generates a resumable upload URL to allow external clients to upload large files over 10MB to the Media Manager.
|
|
3570
|
-
*
|
|
3571
|
-
* The `generateFileResumableUploadUrl()` function returns a Promise that resolves to an upload URL, token, and protocol.
|
|
3572
|
-
*
|
|
3573
|
-
* When using the resumable upload URL, any interruptions will pause the file upload process, which automatically resumes once the interruption is resolved. The resumable upload URL is also helpful when network connection is poor.
|
|
3601
|
+
* Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager. <br/>
|
|
3574
3602
|
*
|
|
3575
|
-
*
|
|
3603
|
+
* 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.
|
|
3576
3605
|
*
|
|
3577
|
-
* > **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](/files/importing-files).
|
|
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).
|
|
3578
3607
|
* @param - File mime type.
|
|
3579
3608
|
* @param - Options to use when generating a resumable upload URL.
|
|
3580
3609
|
*/
|
|
@@ -3583,21 +3612,21 @@ interface GenerateFileResumableUploadUrlSignature {
|
|
|
3583
3612
|
declare function importFile$1(httpClient: HttpClient): ImportFileSignature;
|
|
3584
3613
|
interface ImportFileSignature {
|
|
3585
3614
|
/**
|
|
3586
|
-
* Imports a file to the Media Manager using an external
|
|
3615
|
+
* Imports a file to the Media Manager using an external url.
|
|
3587
3616
|
*
|
|
3588
|
-
*
|
|
3589
|
-
*
|
|
3590
|
-
* This function returns information about the imported file. Importing a file is the method through which you can add files to the Media Manager.
|
|
3617
|
+
* Returns information about the imported file.
|
|
3591
3618
|
* Use the `parentFolderId` and `filePath` parameters to specify which folder you want the file to be imported to.
|
|
3592
3619
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
3593
3620
|
*
|
|
3594
|
-
*
|
|
3621
|
+
* >**Notes:**
|
|
3622
|
+
* > - 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).
|
|
3595
3624
|
*
|
|
3596
3625
|
* To import a file, you need to do one of the following:
|
|
3597
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'`.
|
|
3598
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`.
|
|
3599
3628
|
* - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.
|
|
3600
|
-
*
|
|
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'`.
|
|
3601
3630
|
* @param - Publicly accessible external file URL.
|
|
3602
3631
|
* @param - Options to use when importing a single file.
|
|
3603
3632
|
*/
|
|
@@ -3606,15 +3635,17 @@ interface ImportFileSignature {
|
|
|
3606
3635
|
declare function bulkImportFiles$1(httpClient: HttpClient): BulkImportFilesSignature;
|
|
3607
3636
|
interface BulkImportFilesSignature {
|
|
3608
3637
|
/**
|
|
3609
|
-
*
|
|
3610
|
-
* >
|
|
3638
|
+
* Imports a bulk of files to the Media Manager using external urls. <br/>
|
|
3639
|
+
* <blockquote class='warning'>
|
|
3611
3640
|
*
|
|
3641
|
+
* __Deprecation Notice:__
|
|
3612
3642
|
*
|
|
3613
|
-
*
|
|
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.
|
|
3614
3644
|
*
|
|
3615
|
-
*
|
|
3645
|
+
* </blockquote>
|
|
3646
|
+
* Returns information about the imported files.
|
|
3616
3647
|
*
|
|
3617
|
-
*
|
|
3648
|
+
* Use the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.
|
|
3618
3649
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
3619
3650
|
*
|
|
3620
3651
|
* >**Note:** The `media` property isn't returned in the `files` response object.
|
|
@@ -3623,7 +3654,8 @@ interface BulkImportFilesSignature {
|
|
|
3623
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'`.
|
|
3624
3655
|
* - 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`.
|
|
3625
3656
|
* - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.
|
|
3626
|
-
*
|
|
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'`.
|
|
3627
3659
|
* @param - Information about the files to import.
|
|
3628
3660
|
* @param - Options to use when uploading multiple files.
|
|
3629
3661
|
* @deprecated
|
|
@@ -3633,20 +3665,22 @@ interface BulkImportFilesSignature {
|
|
|
3633
3665
|
declare function bulkImportFile$1(httpClient: HttpClient): BulkImportFileSignature;
|
|
3634
3666
|
interface BulkImportFileSignature {
|
|
3635
3667
|
/**
|
|
3636
|
-
* Imports a bulk of files to the Media Manager using external urls.
|
|
3668
|
+
* Imports a bulk of files to the Media Manager using external urls. <br/>
|
|
3637
3669
|
*
|
|
3638
|
-
*
|
|
3670
|
+
* Returns information about the imported files.
|
|
3639
3671
|
*
|
|
3640
|
-
*
|
|
3672
|
+
* Use the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.
|
|
3641
3673
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
3642
3674
|
*
|
|
3643
|
-
*
|
|
3675
|
+
* >**Notes:**
|
|
3676
|
+
* > - 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).
|
|
3644
3678
|
*
|
|
3645
3679
|
* To import files, you need to do one of the following for each file:
|
|
3646
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'`.
|
|
3647
3681
|
* - 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`.
|
|
3648
3682
|
* - Ensure the server hosting the file supports HEAD requests. In these cases the Wix servers can retrieve the MIME type from the hosting server.
|
|
3649
|
-
*
|
|
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'`.
|
|
3650
3684
|
* @param - Information about the files to import.
|
|
3651
3685
|
* @param - Options to include the file descriptor in the response.
|
|
3652
3686
|
*/
|
|
@@ -3657,11 +3691,7 @@ interface ListFilesSignature {
|
|
|
3657
3691
|
/**
|
|
3658
3692
|
* Retrieves a list of files in the Media Manager.
|
|
3659
3693
|
*
|
|
3660
|
-
*
|
|
3661
|
-
*
|
|
3662
|
-
* 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 function retrieves only the files in the root folder of the Media Manager.
|
|
3663
|
-
*
|
|
3664
|
-
* To retrieve a list of (non-permanently) deleted files, use the `listDeletedFiles()` function.
|
|
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.
|
|
3665
3695
|
* @param - Options to use when listing media files.
|
|
3666
3696
|
*/
|
|
3667
3697
|
(options?: ListFilesOptions | undefined): Promise<ListFilesResponse & ListFilesResponseNonNullableFields>;
|
|
@@ -3669,11 +3699,9 @@ interface ListFilesSignature {
|
|
|
3669
3699
|
declare function searchFiles$1(httpClient: HttpClient): SearchFilesSignature;
|
|
3670
3700
|
interface SearchFilesSignature {
|
|
3671
3701
|
/**
|
|
3672
|
-
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the
|
|
3702
|
+
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the parameters. <br/>
|
|
3673
3703
|
*
|
|
3674
|
-
*
|
|
3675
|
-
*
|
|
3676
|
-
* If no parameters are specified, the function returns all files in the `MEDIA_ROOT` folder.
|
|
3704
|
+
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
3677
3705
|
* @param - Options to specify which folders to search.
|
|
3678
3706
|
*/
|
|
3679
3707
|
(options?: SearchFilesOptions | undefined): Promise<SearchFilesResponse & SearchFilesResponseNonNullableFields>;
|
|
@@ -3681,12 +3709,9 @@ interface SearchFilesSignature {
|
|
|
3681
3709
|
declare function generateVideoStreamingUrl$1(httpClient: HttpClient): GenerateVideoStreamingUrlSignature;
|
|
3682
3710
|
interface GenerateVideoStreamingUrlSignature {
|
|
3683
3711
|
/**
|
|
3684
|
-
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
3685
|
-
*
|
|
3686
|
-
*
|
|
3687
|
-
* The `generateVideoStreamingUrl()` function returns a Promise that resolves to a download URL and its asset key.
|
|
3712
|
+
* Generates a URL for streaming a specific video file in the Media Manager. <br/>
|
|
3688
3713
|
*
|
|
3689
|
-
* To stream different assets of the file, use the `assetKeys` parameter which generates a video streaming URL for each asset. If no
|
|
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.
|
|
3690
3715
|
* @param - Options to use when generating a video file's streaming URL.
|
|
3691
3716
|
* @param - File ID.
|
|
3692
3717
|
*
|
|
@@ -3698,19 +3723,16 @@ interface GenerateVideoStreamingUrlSignature {
|
|
|
3698
3723
|
declare function bulkDeleteFiles$1(httpClient: HttpClient): BulkDeleteFilesSignature;
|
|
3699
3724
|
interface BulkDeleteFilesSignature {
|
|
3700
3725
|
/**
|
|
3701
|
-
* Deletes the specified files from the Media Manager.
|
|
3702
|
-
*
|
|
3703
|
-
*
|
|
3704
|
-
* The `bulkDeleteFiles()` function returns a Promise that resolves when the files are deleted.
|
|
3726
|
+
* Deletes the specified files from the Media Manager. <br/>
|
|
3705
3727
|
*
|
|
3706
|
-
* The deleted files are moved to the Media Manager's trash bin (`
|
|
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.
|
|
3707
3729
|
*
|
|
3708
|
-
*
|
|
3709
|
-
*
|
|
3710
|
-
*
|
|
3711
|
-
*
|
|
3712
|
-
*
|
|
3713
|
-
*
|
|
3730
|
+
* Note the following:
|
|
3731
|
+
* * The specified files can be from different folders.
|
|
3732
|
+
* * Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
3733
|
+
* * 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.
|
|
3714
3736
|
* @param - Options to use when deleting files.
|
|
3715
3737
|
* @param - IDs of the files to move to the Media Manager's trash bin.
|
|
3716
3738
|
*
|
|
@@ -3723,8 +3745,6 @@ declare function bulkRestoreFilesFromTrashBin$1(httpClient: HttpClient): BulkRes
|
|
|
3723
3745
|
interface BulkRestoreFilesFromTrashBinSignature {
|
|
3724
3746
|
/**
|
|
3725
3747
|
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
3726
|
-
*
|
|
3727
|
-
* The `bulkRestoreFilesFromTrashBin()` function returns a Promise that resolves when the files have been restored.
|
|
3728
3748
|
* @param - IDs of the files to restore from the Media Manager's trash bin.
|
|
3729
3749
|
*
|
|
3730
3750
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
@@ -3735,13 +3755,9 @@ interface BulkRestoreFilesFromTrashBinSignature {
|
|
|
3735
3755
|
declare function listDeletedFiles$1(httpClient: HttpClient): ListDeletedFilesSignature;
|
|
3736
3756
|
interface ListDeletedFilesSignature {
|
|
3737
3757
|
/**
|
|
3738
|
-
* Retrieves a list of files in the Media Manager's trash bin.
|
|
3739
|
-
*
|
|
3740
|
-
* The `listDeletedFiles()` function returns a Promise that resolves to an array of the specified deleted files' descriptors and cursor information.
|
|
3741
|
-
*
|
|
3742
|
-
* >**Note:** The Media Manager's trash bin (`TRASH_ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
3758
|
+
* Retrieves a list of files in the Media Manager's trash bin. <br/>
|
|
3743
3759
|
*
|
|
3744
|
-
*
|
|
3760
|
+
* >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
3745
3761
|
* @param - Options to use when listing deleted files from the trash bin.
|
|
3746
3762
|
*/
|
|
3747
3763
|
(options?: ListDeletedFilesOptions | undefined): Promise<ListDeletedFilesResponse & ListDeletedFilesResponseNonNullableFields>;
|
|
@@ -3803,6 +3819,8 @@ type context$1_BulkImportFileResult = BulkImportFileResult;
|
|
|
3803
3819
|
type context$1_BulkImportFilesRequest = BulkImportFilesRequest;
|
|
3804
3820
|
type context$1_BulkImportFilesResponse = BulkImportFilesResponse;
|
|
3805
3821
|
type context$1_BulkImportFilesResponseNonNullableFields = BulkImportFilesResponseNonNullableFields;
|
|
3822
|
+
type context$1_BulkPublishDraftFilesRequest = BulkPublishDraftFilesRequest;
|
|
3823
|
+
type context$1_BulkPublishDraftFilesResponse = BulkPublishDraftFilesResponse;
|
|
3806
3824
|
type context$1_BulkRestoreFilesFromTrashBinRequest = BulkRestoreFilesFromTrashBinRequest;
|
|
3807
3825
|
type context$1_BulkRestoreFilesFromTrashBinResponse = BulkRestoreFilesFromTrashBinResponse;
|
|
3808
3826
|
type context$1_Color = Color;
|
|
@@ -3875,12 +3893,18 @@ type context$1_Model3D = Model3D;
|
|
|
3875
3893
|
type context$1_OperationStatus = OperationStatus;
|
|
3876
3894
|
declare const context$1_OperationStatus: typeof OperationStatus;
|
|
3877
3895
|
type context$1_OtherMedia = OtherMedia;
|
|
3896
|
+
type context$1_Plan = Plan;
|
|
3897
|
+
type context$1_Plans = Plans;
|
|
3878
3898
|
type context$1_SearchFilesOptions = SearchFilesOptions;
|
|
3879
3899
|
type context$1_SearchFilesRequest = SearchFilesRequest;
|
|
3880
3900
|
type context$1_SearchFilesResponse = SearchFilesResponse;
|
|
3881
3901
|
type context$1_SearchFilesResponseNonNullableFields = SearchFilesResponseNonNullableFields;
|
|
3902
|
+
type context$1_ServiceError = ServiceError;
|
|
3903
|
+
type context$1_SiteQuotaExceededError = SiteQuotaExceededError;
|
|
3882
3904
|
type context$1_StreamFormat = StreamFormat;
|
|
3883
3905
|
declare const context$1_StreamFormat: typeof StreamFormat;
|
|
3906
|
+
type context$1_TotalQuota = TotalQuota;
|
|
3907
|
+
type context$1_UnsupportedRequestValueError = UnsupportedRequestValueError;
|
|
3884
3908
|
type context$1_UpdateFileDescriptorRequest = UpdateFileDescriptorRequest;
|
|
3885
3909
|
type context$1_UpdateFileDescriptorResponse = UpdateFileDescriptorResponse;
|
|
3886
3910
|
type context$1_UpdateFileDescriptorResponseNonNullableFields = UpdateFileDescriptorResponseNonNullableFields;
|
|
@@ -3914,7 +3938,7 @@ declare const context$1_onFileDescriptorUpdated: typeof onFileDescriptorUpdated;
|
|
|
3914
3938
|
declare const context$1_searchFiles: typeof searchFiles;
|
|
3915
3939
|
declare const context$1_updateFileDescriptor: typeof updateFileDescriptor;
|
|
3916
3940
|
declare namespace context$1 {
|
|
3917
|
-
export { type ActionEvent$1 as ActionEvent, type context$1_ApplicationError as ApplicationError, type context$1_Archive as Archive, type context$1_AudioV2 as AudioV2, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_BulkActionMetadata as BulkActionMetadata, type context$1_BulkAnnotateImagesRequest as BulkAnnotateImagesRequest, type context$1_BulkAnnotateImagesResponse as BulkAnnotateImagesResponse, type context$1_BulkDeleteFilesOptions as BulkDeleteFilesOptions, type context$1_BulkDeleteFilesRequest as BulkDeleteFilesRequest, type context$1_BulkDeleteFilesResponse as BulkDeleteFilesResponse, type context$1_BulkImportFileOptions as BulkImportFileOptions, type context$1_BulkImportFileRequest as BulkImportFileRequest, type context$1_BulkImportFileResponse as BulkImportFileResponse, type context$1_BulkImportFileResponseNonNullableFields as BulkImportFileResponseNonNullableFields, type context$1_BulkImportFileResult as BulkImportFileResult, type context$1_BulkImportFilesRequest as BulkImportFilesRequest, type context$1_BulkImportFilesResponse as BulkImportFilesResponse, type context$1_BulkImportFilesResponseNonNullableFields as BulkImportFilesResponseNonNullableFields, type context$1_BulkRestoreFilesFromTrashBinRequest as BulkRestoreFilesFromTrashBinRequest, type context$1_BulkRestoreFilesFromTrashBinResponse as BulkRestoreFilesFromTrashBinResponse, type context$1_Color as Color, type context$1_ColorRGB as ColorRGB, type context$1_Colors as Colors, context$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 context$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 context$1_ExternalInfo as ExternalInfo, type context$1_FaceRecognition as FaceRecognition, type context$1_FileDescriptor as FileDescriptor, type context$1_FileDescriptorDeletedEnvelope as FileDescriptorDeletedEnvelope, type context$1_FileDescriptorFileFailedEnvelope as FileDescriptorFileFailedEnvelope, type context$1_FileDescriptorFileReadyEnvelope as FileDescriptorFileReadyEnvelope, type context$1_FileDescriptorNonNullableFields as FileDescriptorNonNullableFields, type context$1_FileDescriptorUpdatedEnvelope as FileDescriptorUpdatedEnvelope, type context$1_FileFailed as FileFailed, type context$1_FileMedia as FileMedia, type context$1_FileMediaMediaOneOf as FileMediaMediaOneOf, type context$1_FileReady as FileReady, type context$1_GenerateFileDownloadUrlOptions as GenerateFileDownloadUrlOptions, type context$1_GenerateFileDownloadUrlRequest as GenerateFileDownloadUrlRequest, type context$1_GenerateFileDownloadUrlResponse as GenerateFileDownloadUrlResponse, type context$1_GenerateFileDownloadUrlResponseNonNullableFields as GenerateFileDownloadUrlResponseNonNullableFields, type context$1_GenerateFileResumableUploadUrlOptions as GenerateFileResumableUploadUrlOptions, type context$1_GenerateFileResumableUploadUrlRequest as GenerateFileResumableUploadUrlRequest, type context$1_GenerateFileResumableUploadUrlResponse as GenerateFileResumableUploadUrlResponse, type context$1_GenerateFileResumableUploadUrlResponseNonNullableFields as GenerateFileResumableUploadUrlResponseNonNullableFields, type context$1_GenerateFileUploadUrlOptions as GenerateFileUploadUrlOptions, type context$1_GenerateFileUploadUrlRequest as GenerateFileUploadUrlRequest, type context$1_GenerateFileUploadUrlResponse as GenerateFileUploadUrlResponse, type context$1_GenerateFileUploadUrlResponseNonNullableFields as GenerateFileUploadUrlResponseNonNullableFields, type context$1_GenerateFilesDownloadUrlRequest as GenerateFilesDownloadUrlRequest, type context$1_GenerateFilesDownloadUrlResponse as GenerateFilesDownloadUrlResponse, type context$1_GenerateFilesDownloadUrlResponseNonNullableFields as GenerateFilesDownloadUrlResponseNonNullableFields, type context$1_GenerateVideoStreamingUrlOptions as GenerateVideoStreamingUrlOptions, type context$1_GenerateVideoStreamingUrlRequest as GenerateVideoStreamingUrlRequest, type context$1_GenerateVideoStreamingUrlResponse as GenerateVideoStreamingUrlResponse, type context$1_GenerateVideoStreamingUrlResponseNonNullableFields as GenerateVideoStreamingUrlResponseNonNullableFields, type context$1_GenerateWebSocketTokenRequest as GenerateWebSocketTokenRequest, type context$1_GenerateWebSocketTokenResponse as GenerateWebSocketTokenResponse, type context$1_GetFileDescriptorRequest as GetFileDescriptorRequest, type context$1_GetFileDescriptorResponse as GetFileDescriptorResponse, type context$1_GetFileDescriptorResponseNonNullableFields as GetFileDescriptorResponseNonNullableFields, type context$1_GetFileDescriptorsRequest as GetFileDescriptorsRequest, type context$1_GetFileDescriptorsResponse as GetFileDescriptorsResponse, type context$1_GetFileDescriptorsResponseNonNullableFields as GetFileDescriptorsResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_IdentityInfo as IdentityInfo, context$1_IdentityType as IdentityType, context$1_ImageAnnotationType as ImageAnnotationType, type context$1_ImageMedia as ImageMedia, type context$1_ImportFileOptions as ImportFileOptions, type context$1_ImportFileRequest as ImportFileRequest, type context$1_ImportFileResponse as ImportFileResponse, type context$1_ImportFileResponseNonNullableFields as ImportFileResponseNonNullableFields, type context$1_ItemMetadata as ItemMetadata, type context$1_ListDeletedFilesOptions as ListDeletedFilesOptions, type context$1_ListDeletedFilesRequest as ListDeletedFilesRequest, type context$1_ListDeletedFilesResponse as ListDeletedFilesResponse, type context$1_ListDeletedFilesResponseNonNullableFields as ListDeletedFilesResponseNonNullableFields, type context$1_ListFilesOptions as ListFilesOptions, type context$1_ListFilesRequest as ListFilesRequest, type context$1_ListFilesResponse as ListFilesResponse, type context$1_ListFilesResponseNonNullableFields as ListFilesResponseNonNullableFields, context$1_MediaType as MediaType, type MessageEnvelope$1 as MessageEnvelope, type context$1_Model3D as Model3D, Namespace$1 as Namespace, context$1_OperationStatus as OperationStatus, type context$1_OtherMedia as OtherMedia, type PagingMetadataV2$1 as PagingMetadataV2, type RestoreInfo$1 as RestoreInfo, RootFolder$1 as RootFolder, type context$1_SearchFilesOptions as SearchFilesOptions, type context$1_SearchFilesRequest as SearchFilesRequest, type context$1_SearchFilesResponse as SearchFilesResponse, type context$1_SearchFilesResponseNonNullableFields as SearchFilesResponseNonNullableFields, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, context$1_StreamFormat as StreamFormat, type context$1_UpdateFileDescriptorRequest as UpdateFileDescriptorRequest, type context$1_UpdateFileDescriptorResponse as UpdateFileDescriptorResponse, type context$1_UpdateFileDescriptorResponseNonNullableFields as UpdateFileDescriptorResponseNonNullableFields, type context$1_UpdateFileRequest as UpdateFileRequest, type context$1_UpdateFileResponse as UpdateFileResponse, context$1_UploadProtocol as UploadProtocol, type context$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicOnFileDescriptorDeletedType as _publicOnFileDescriptorDeletedType, type context$1__publicOnFileDescriptorFileFailedType as _publicOnFileDescriptorFileFailedType, type context$1__publicOnFileDescriptorFileReadyType as _publicOnFileDescriptorFileReadyType, type context$1__publicOnFileDescriptorUpdatedType as _publicOnFileDescriptorUpdatedType, context$1_bulkDeleteFiles as bulkDeleteFiles, context$1_bulkImportFile as bulkImportFile, context$1_bulkImportFiles as bulkImportFiles, context$1_bulkRestoreFilesFromTrashBin as bulkRestoreFilesFromTrashBin, context$1_generateFileDownloadUrl as generateFileDownloadUrl, context$1_generateFileResumableUploadUrl as generateFileResumableUploadUrl, context$1_generateFileUploadUrl as generateFileUploadUrl, context$1_generateFilesDownloadUrl as generateFilesDownloadUrl, context$1_generateVideoStreamingUrl as generateVideoStreamingUrl, context$1_getFileDescriptor as getFileDescriptor, context$1_getFileDescriptors as getFileDescriptors, context$1_importFile as importFile, context$1_listDeletedFiles as listDeletedFiles, context$1_listFiles as listFiles, context$1_onFileDescriptorDeleted as onFileDescriptorDeleted, context$1_onFileDescriptorFileFailed as onFileDescriptorFileFailed, context$1_onFileDescriptorFileReady as onFileDescriptorFileReady, context$1_onFileDescriptorUpdated as onFileDescriptorUpdated, onFileDescriptorDeleted$1 as publicOnFileDescriptorDeleted, onFileDescriptorFileFailed$1 as publicOnFileDescriptorFileFailed, onFileDescriptorFileReady$1 as publicOnFileDescriptorFileReady, onFileDescriptorUpdated$1 as publicOnFileDescriptorUpdated, context$1_searchFiles as searchFiles, context$1_updateFileDescriptor as updateFileDescriptor };
|
|
3941
|
+
export { type ActionEvent$1 as ActionEvent, type context$1_ApplicationError as ApplicationError, type context$1_Archive as Archive, type context$1_AudioV2 as AudioV2, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_BulkActionMetadata as BulkActionMetadata, type context$1_BulkAnnotateImagesRequest as BulkAnnotateImagesRequest, type context$1_BulkAnnotateImagesResponse as BulkAnnotateImagesResponse, type context$1_BulkDeleteFilesOptions as BulkDeleteFilesOptions, type context$1_BulkDeleteFilesRequest as BulkDeleteFilesRequest, type context$1_BulkDeleteFilesResponse as BulkDeleteFilesResponse, type context$1_BulkImportFileOptions as BulkImportFileOptions, type context$1_BulkImportFileRequest as BulkImportFileRequest, type context$1_BulkImportFileResponse as BulkImportFileResponse, type context$1_BulkImportFileResponseNonNullableFields as BulkImportFileResponseNonNullableFields, type context$1_BulkImportFileResult as BulkImportFileResult, type context$1_BulkImportFilesRequest as BulkImportFilesRequest, type context$1_BulkImportFilesResponse as BulkImportFilesResponse, type context$1_BulkImportFilesResponseNonNullableFields as BulkImportFilesResponseNonNullableFields, type context$1_BulkPublishDraftFilesRequest as BulkPublishDraftFilesRequest, type context$1_BulkPublishDraftFilesResponse as BulkPublishDraftFilesResponse, type context$1_BulkRestoreFilesFromTrashBinRequest as BulkRestoreFilesFromTrashBinRequest, type context$1_BulkRestoreFilesFromTrashBinResponse as BulkRestoreFilesFromTrashBinResponse, type context$1_Color as Color, type context$1_ColorRGB as ColorRGB, type context$1_Colors as Colors, context$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 context$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 context$1_ExternalInfo as ExternalInfo, type context$1_FaceRecognition as FaceRecognition, type context$1_FileDescriptor as FileDescriptor, type context$1_FileDescriptorDeletedEnvelope as FileDescriptorDeletedEnvelope, type context$1_FileDescriptorFileFailedEnvelope as FileDescriptorFileFailedEnvelope, type context$1_FileDescriptorFileReadyEnvelope as FileDescriptorFileReadyEnvelope, type context$1_FileDescriptorNonNullableFields as FileDescriptorNonNullableFields, type context$1_FileDescriptorUpdatedEnvelope as FileDescriptorUpdatedEnvelope, type context$1_FileFailed as FileFailed, type context$1_FileMedia as FileMedia, type context$1_FileMediaMediaOneOf as FileMediaMediaOneOf, type context$1_FileReady as FileReady, type context$1_GenerateFileDownloadUrlOptions as GenerateFileDownloadUrlOptions, type context$1_GenerateFileDownloadUrlRequest as GenerateFileDownloadUrlRequest, type context$1_GenerateFileDownloadUrlResponse as GenerateFileDownloadUrlResponse, type context$1_GenerateFileDownloadUrlResponseNonNullableFields as GenerateFileDownloadUrlResponseNonNullableFields, type context$1_GenerateFileResumableUploadUrlOptions as GenerateFileResumableUploadUrlOptions, type context$1_GenerateFileResumableUploadUrlRequest as GenerateFileResumableUploadUrlRequest, type context$1_GenerateFileResumableUploadUrlResponse as GenerateFileResumableUploadUrlResponse, type context$1_GenerateFileResumableUploadUrlResponseNonNullableFields as GenerateFileResumableUploadUrlResponseNonNullableFields, type context$1_GenerateFileUploadUrlOptions as GenerateFileUploadUrlOptions, type context$1_GenerateFileUploadUrlRequest as GenerateFileUploadUrlRequest, type context$1_GenerateFileUploadUrlResponse as GenerateFileUploadUrlResponse, type context$1_GenerateFileUploadUrlResponseNonNullableFields as GenerateFileUploadUrlResponseNonNullableFields, type context$1_GenerateFilesDownloadUrlRequest as GenerateFilesDownloadUrlRequest, type context$1_GenerateFilesDownloadUrlResponse as GenerateFilesDownloadUrlResponse, type context$1_GenerateFilesDownloadUrlResponseNonNullableFields as GenerateFilesDownloadUrlResponseNonNullableFields, type context$1_GenerateVideoStreamingUrlOptions as GenerateVideoStreamingUrlOptions, type context$1_GenerateVideoStreamingUrlRequest as GenerateVideoStreamingUrlRequest, type context$1_GenerateVideoStreamingUrlResponse as GenerateVideoStreamingUrlResponse, type context$1_GenerateVideoStreamingUrlResponseNonNullableFields as GenerateVideoStreamingUrlResponseNonNullableFields, type context$1_GenerateWebSocketTokenRequest as GenerateWebSocketTokenRequest, type context$1_GenerateWebSocketTokenResponse as GenerateWebSocketTokenResponse, type context$1_GetFileDescriptorRequest as GetFileDescriptorRequest, type context$1_GetFileDescriptorResponse as GetFileDescriptorResponse, type context$1_GetFileDescriptorResponseNonNullableFields as GetFileDescriptorResponseNonNullableFields, type context$1_GetFileDescriptorsRequest as GetFileDescriptorsRequest, type context$1_GetFileDescriptorsResponse as GetFileDescriptorsResponse, type context$1_GetFileDescriptorsResponseNonNullableFields as GetFileDescriptorsResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_IdentityInfo as IdentityInfo, context$1_IdentityType as IdentityType, context$1_ImageAnnotationType as ImageAnnotationType, type context$1_ImageMedia as ImageMedia, type context$1_ImportFileOptions as ImportFileOptions, type context$1_ImportFileRequest as ImportFileRequest, type context$1_ImportFileResponse as ImportFileResponse, type context$1_ImportFileResponseNonNullableFields as ImportFileResponseNonNullableFields, type context$1_ItemMetadata as ItemMetadata, type context$1_ListDeletedFilesOptions as ListDeletedFilesOptions, type context$1_ListDeletedFilesRequest as ListDeletedFilesRequest, type context$1_ListDeletedFilesResponse as ListDeletedFilesResponse, type context$1_ListDeletedFilesResponseNonNullableFields as ListDeletedFilesResponseNonNullableFields, type context$1_ListFilesOptions as ListFilesOptions, type context$1_ListFilesRequest as ListFilesRequest, type context$1_ListFilesResponse as ListFilesResponse, type context$1_ListFilesResponseNonNullableFields as ListFilesResponseNonNullableFields, context$1_MediaType as MediaType, type MessageEnvelope$1 as MessageEnvelope, type context$1_Model3D as Model3D, Namespace$1 as Namespace, context$1_OperationStatus as OperationStatus, type context$1_OtherMedia as OtherMedia, type PagingMetadataV2$1 as PagingMetadataV2, type context$1_Plan as Plan, type context$1_Plans as Plans, type RestoreInfo$1 as RestoreInfo, RootFolder$1 as RootFolder, type context$1_SearchFilesOptions as SearchFilesOptions, type context$1_SearchFilesRequest as SearchFilesRequest, type context$1_SearchFilesResponse as SearchFilesResponse, type context$1_SearchFilesResponseNonNullableFields as SearchFilesResponseNonNullableFields, type context$1_ServiceError as ServiceError, type context$1_SiteQuotaExceededError as SiteQuotaExceededError, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, State$1 as State, context$1_StreamFormat as StreamFormat, type context$1_TotalQuota as TotalQuota, type context$1_UnsupportedRequestValueError as UnsupportedRequestValueError, type context$1_UpdateFileDescriptorRequest as UpdateFileDescriptorRequest, type context$1_UpdateFileDescriptorResponse as UpdateFileDescriptorResponse, type context$1_UpdateFileDescriptorResponseNonNullableFields as UpdateFileDescriptorResponseNonNullableFields, type context$1_UpdateFileRequest as UpdateFileRequest, type context$1_UpdateFileResponse as UpdateFileResponse, context$1_UploadProtocol as UploadProtocol, type context$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicOnFileDescriptorDeletedType as _publicOnFileDescriptorDeletedType, type context$1__publicOnFileDescriptorFileFailedType as _publicOnFileDescriptorFileFailedType, type context$1__publicOnFileDescriptorFileReadyType as _publicOnFileDescriptorFileReadyType, type context$1__publicOnFileDescriptorUpdatedType as _publicOnFileDescriptorUpdatedType, context$1_bulkDeleteFiles as bulkDeleteFiles, context$1_bulkImportFile as bulkImportFile, context$1_bulkImportFiles as bulkImportFiles, context$1_bulkRestoreFilesFromTrashBin as bulkRestoreFilesFromTrashBin, context$1_generateFileDownloadUrl as generateFileDownloadUrl, context$1_generateFileResumableUploadUrl as generateFileResumableUploadUrl, context$1_generateFileUploadUrl as generateFileUploadUrl, context$1_generateFilesDownloadUrl as generateFilesDownloadUrl, context$1_generateVideoStreamingUrl as generateVideoStreamingUrl, context$1_getFileDescriptor as getFileDescriptor, context$1_getFileDescriptors as getFileDescriptors, context$1_importFile as importFile, context$1_listDeletedFiles as listDeletedFiles, context$1_listFiles as listFiles, context$1_onFileDescriptorDeleted as onFileDescriptorDeleted, context$1_onFileDescriptorFileFailed as onFileDescriptorFileFailed, context$1_onFileDescriptorFileReady as onFileDescriptorFileReady, context$1_onFileDescriptorUpdated as onFileDescriptorUpdated, onFileDescriptorDeleted$1 as publicOnFileDescriptorDeleted, onFileDescriptorFileFailed$1 as publicOnFileDescriptorFileFailed, onFileDescriptorFileReady$1 as publicOnFileDescriptorFileReady, onFileDescriptorUpdated$1 as publicOnFileDescriptorUpdated, context$1_searchFiles as searchFiles, context$1_updateFileDescriptor as updateFileDescriptor };
|
|
3918
3942
|
}
|
|
3919
3943
|
|
|
3920
3944
|
interface Folder {
|