@wix/media 1.0.131 → 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 +221 -284
- package/type-bundles/index.bundle.d.ts +221 -284
- package/type-bundles/meta.bundle.d.ts +100 -142
|
@@ -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 ([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
|
|
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
|
|
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,8 +2526,10 @@ interface GetFileDescriptorRequest {
|
|
|
2498
2526
|
/**
|
|
2499
2527
|
* File ID.
|
|
2500
2528
|
*
|
|
2501
|
-
* You can also
|
|
2502
|
-
* Learn more
|
|
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)).
|
|
2531
|
+
*
|
|
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`.
|
|
2503
2533
|
*/
|
|
2504
2534
|
fileId: string;
|
|
2505
2535
|
}
|
|
@@ -2511,8 +2541,8 @@ interface GetFileDescriptorsRequest {
|
|
|
2511
2541
|
/**
|
|
2512
2542
|
* File IDs.
|
|
2513
2543
|
*
|
|
2514
|
-
* You can also
|
|
2515
|
-
* Learn more
|
|
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)).
|
|
2516
2546
|
*/
|
|
2517
2547
|
fileIds: string[];
|
|
2518
2548
|
}
|
|
@@ -2539,7 +2569,7 @@ interface GenerateFileUploadUrlRequest {
|
|
|
2539
2569
|
mimeType: string | null;
|
|
2540
2570
|
/**
|
|
2541
2571
|
* Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
|
|
2542
|
-
* <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.
|
|
2543
2573
|
*/
|
|
2544
2574
|
fileName?: string | null;
|
|
2545
2575
|
/**
|
|
@@ -2553,11 +2583,11 @@ interface GenerateFileUploadUrlRequest {
|
|
|
2553
2583
|
* Default: `media-root`.
|
|
2554
2584
|
*/
|
|
2555
2585
|
parentFolderId?: string | null;
|
|
2556
|
-
/** Whether the file will be public or private.
|
|
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)). */
|
|
2557
2587
|
private?: boolean | null;
|
|
2558
|
-
/** 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. */
|
|
2559
2589
|
labels?: string[] | null;
|
|
2560
|
-
/**
|
|
2590
|
+
/** A place to map an external entity to an uploaded file in the Wix Media Manager. */
|
|
2561
2591
|
externalInfo?: ExternalInfo;
|
|
2562
2592
|
/**
|
|
2563
2593
|
* Path to the folder where the file will be stored.
|
|
@@ -2616,7 +2646,7 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
2616
2646
|
mimeType: string | null;
|
|
2617
2647
|
/**
|
|
2618
2648
|
* Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
|
|
2619
|
-
* <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.
|
|
2620
2650
|
*/
|
|
2621
2651
|
fileName?: string | null;
|
|
2622
2652
|
/**
|
|
@@ -2630,9 +2660,9 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
2630
2660
|
* Default: `media-root`.
|
|
2631
2661
|
*/
|
|
2632
2662
|
parentFolderId?: string | null;
|
|
2633
|
-
/** Whether the file will be public or private.
|
|
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)). */
|
|
2634
2664
|
private?: boolean | null;
|
|
2635
|
-
/** 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. */
|
|
2636
2666
|
labels?: string[] | null;
|
|
2637
2667
|
/** The upload protocol to use for implementing the resumable upload. */
|
|
2638
2668
|
uploadProtocol?: UploadProtocol;
|
|
@@ -2649,11 +2679,7 @@ declare enum UploadProtocol {
|
|
|
2649
2679
|
TUS = "TUS"
|
|
2650
2680
|
}
|
|
2651
2681
|
interface GenerateFileResumableUploadUrlResponse {
|
|
2652
|
-
/**
|
|
2653
|
-
* The upload protocol to use for implementing the resumable upload.
|
|
2654
|
-
*
|
|
2655
|
-
* Supported values: `"TUS"`
|
|
2656
|
-
*/
|
|
2682
|
+
/** The upload protocol to use for implementing the resumable upload. */
|
|
2657
2683
|
uploadProtocol?: UploadProtocol;
|
|
2658
2684
|
/** The URL for uploading a file to the Media Manager. */
|
|
2659
2685
|
uploadUrl?: string;
|
|
@@ -2663,7 +2689,10 @@ interface GenerateFileResumableUploadUrlResponse {
|
|
|
2663
2689
|
interface ImportFileRequest {
|
|
2664
2690
|
/** Publicly accessible external file URL. */
|
|
2665
2691
|
url: string;
|
|
2666
|
-
/**
|
|
2692
|
+
/**
|
|
2693
|
+
* Media type of the file to import.
|
|
2694
|
+
* excluding: OTHER media type
|
|
2695
|
+
*/
|
|
2667
2696
|
mediaType?: MediaType;
|
|
2668
2697
|
/** File name that appears in the Media Manager. */
|
|
2669
2698
|
displayName?: string | null;
|
|
@@ -2673,13 +2702,13 @@ interface ImportFileRequest {
|
|
|
2673
2702
|
* Default: `media-root`.
|
|
2674
2703
|
*/
|
|
2675
2704
|
parentFolderId?: string | null;
|
|
2676
|
-
/** Whether the file will be public or private.
|
|
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)). */
|
|
2677
2706
|
private?: boolean | null;
|
|
2678
|
-
/** 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. */
|
|
2679
2708
|
labels?: string[] | null;
|
|
2680
2709
|
/** File mime type. */
|
|
2681
2710
|
mimeType?: string;
|
|
2682
|
-
/** 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. */
|
|
2683
2712
|
externalInfo?: ExternalInfo;
|
|
2684
2713
|
/** Optional parameters that should be sent with the external URL. */
|
|
2685
2714
|
urlParams?: Record<string, any> | null;
|
|
@@ -2708,11 +2737,7 @@ interface BulkImportFilesResponse {
|
|
|
2708
2737
|
interface BulkImportFileRequest {
|
|
2709
2738
|
/** Information about the files to import. */
|
|
2710
2739
|
importFileRequests: ImportFileRequest[];
|
|
2711
|
-
/**
|
|
2712
|
-
* Whether to include the imported File Descriptor in the response. Set to `false` to exclude the File Descriptor from the returned object.
|
|
2713
|
-
*
|
|
2714
|
-
* Default: `true`
|
|
2715
|
-
*/
|
|
2740
|
+
/** Default: `true` */
|
|
2716
2741
|
returnEntity?: boolean | null;
|
|
2717
2742
|
}
|
|
2718
2743
|
interface BulkImportFileResponse {
|
|
@@ -2724,7 +2749,7 @@ interface BulkImportFileResponse {
|
|
|
2724
2749
|
interface BulkImportFileResult {
|
|
2725
2750
|
/** Item metadata. */
|
|
2726
2751
|
itemMetadata?: ItemMetadata;
|
|
2727
|
-
/** 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`. */
|
|
2728
2753
|
item?: FileDescriptor;
|
|
2729
2754
|
}
|
|
2730
2755
|
interface ItemMetadata {
|
|
@@ -2751,26 +2776,16 @@ interface ListFilesRequest {
|
|
|
2751
2776
|
* Default:`media-root`.
|
|
2752
2777
|
*/
|
|
2753
2778
|
parentFolderId?: string | null;
|
|
2754
|
-
/**
|
|
2755
|
-
* File media type.
|
|
2756
|
-
* excluding: OTHER media type
|
|
2757
|
-
*/
|
|
2779
|
+
/** File media type. */
|
|
2758
2780
|
mediaTypes?: MediaType[];
|
|
2759
|
-
/**
|
|
2760
|
-
* `true`: Returns only private files.
|
|
2761
|
-
* `false`: Returns only public files.
|
|
2762
|
-
* `undefined`: Returns public and private files.
|
|
2763
|
-
* For more, see the Private Files article.
|
|
2764
|
-
*/
|
|
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)). */
|
|
2765
2782
|
private?: boolean | null;
|
|
2766
2783
|
/**
|
|
2767
|
-
* Field name and order to sort by. One of:
|
|
2768
|
-
*
|
|
2769
|
-
*
|
|
2770
|
-
*
|
|
2771
|
-
*
|
|
2772
|
-
*
|
|
2773
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
2784
|
+
* Field name and order to sort by. One of: <br />
|
|
2785
|
+
* * `displayName`
|
|
2786
|
+
* * `updatedDate`
|
|
2787
|
+
* * `sizeInBytes`
|
|
2788
|
+
* Default: `updatedDate` in `desc` order.
|
|
2774
2789
|
*/
|
|
2775
2790
|
sort?: Sorting$1;
|
|
2776
2791
|
/** Cursor and paging information. */
|
|
@@ -2825,26 +2840,16 @@ interface SearchFilesRequest {
|
|
|
2825
2840
|
* Default: `MEDIA_ROOT`.
|
|
2826
2841
|
*/
|
|
2827
2842
|
rootFolder?: RootFolder$1;
|
|
2828
|
-
/**
|
|
2829
|
-
* File media type.
|
|
2830
|
-
* excluding: OTHER media type
|
|
2831
|
-
*/
|
|
2843
|
+
/** File media type. */
|
|
2832
2844
|
mediaTypes?: MediaType[];
|
|
2833
|
-
/**
|
|
2834
|
-
* `true`: Returns only private files.
|
|
2835
|
-
* `false`: Returns only public files.
|
|
2836
|
-
* `undefined`: Returns public and private files.
|
|
2837
|
-
* For more, see the Private Files article.
|
|
2838
|
-
*/
|
|
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)). */
|
|
2839
2846
|
private?: boolean | null;
|
|
2840
2847
|
/**
|
|
2841
|
-
* Field name and order to sort by. One of:
|
|
2842
|
-
*
|
|
2843
|
-
*
|
|
2844
|
-
*
|
|
2845
|
-
*
|
|
2846
|
-
*
|
|
2847
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
2848
|
+
* Field name and order to sort by. One of: <br />
|
|
2849
|
+
* * `displayName`
|
|
2850
|
+
* * `updatedDate`
|
|
2851
|
+
* * `sizeInBytes`
|
|
2852
|
+
* Default: `updatedDate` in `desc` order.
|
|
2848
2853
|
*/
|
|
2849
2854
|
sort?: Sorting$1;
|
|
2850
2855
|
/** Cursor and paging information. */
|
|
@@ -2868,8 +2873,8 @@ interface GenerateVideoStreamingUrlRequest {
|
|
|
2868
2873
|
/**
|
|
2869
2874
|
* File ID.
|
|
2870
2875
|
*
|
|
2871
|
-
* You can also
|
|
2872
|
-
* Learn more
|
|
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)).
|
|
2873
2878
|
*/
|
|
2874
2879
|
fileId: string;
|
|
2875
2880
|
/** Video stream format. */
|
|
@@ -2894,8 +2899,8 @@ interface BulkDeleteFilesRequest {
|
|
|
2894
2899
|
/**
|
|
2895
2900
|
* IDs of the files to move to the Media Manager's trash bin.
|
|
2896
2901
|
*
|
|
2897
|
-
* You can also
|
|
2898
|
-
* Learn more
|
|
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)).
|
|
2899
2904
|
*/
|
|
2900
2905
|
fileIds: string[];
|
|
2901
2906
|
/**
|
|
@@ -2910,8 +2915,8 @@ interface BulkRestoreFilesFromTrashBinRequest {
|
|
|
2910
2915
|
/**
|
|
2911
2916
|
* IDs of the files to restore from the Media Manager's trash bin.
|
|
2912
2917
|
*
|
|
2913
|
-
* You can also
|
|
2914
|
-
* Learn more
|
|
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)).
|
|
2915
2920
|
*/
|
|
2916
2921
|
fileIds: string[];
|
|
2917
2922
|
}
|
|
@@ -2923,26 +2928,16 @@ interface ListDeletedFilesRequest {
|
|
|
2923
2928
|
* Default: `media-root`.
|
|
2924
2929
|
*/
|
|
2925
2930
|
parentFolderId?: string | null;
|
|
2926
|
-
/**
|
|
2927
|
-
* File media type.
|
|
2928
|
-
* excluding: OTHER media type
|
|
2929
|
-
*/
|
|
2931
|
+
/** File media type. */
|
|
2930
2932
|
mediaTypes?: MediaType[];
|
|
2931
|
-
/**
|
|
2932
|
-
* `true`: Returns only private files.
|
|
2933
|
-
* `false`: Returns only public files.
|
|
2934
|
-
* `undefined`: Returns public and private files.
|
|
2935
|
-
* For more, see the Private Files article.
|
|
2936
|
-
*/
|
|
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)). */
|
|
2937
2934
|
private?: boolean | null;
|
|
2938
2935
|
/**
|
|
2939
|
-
* Field name and order to sort by. One of:
|
|
2940
|
-
*
|
|
2941
|
-
*
|
|
2942
|
-
*
|
|
2943
|
-
*
|
|
2944
|
-
*
|
|
2945
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
2936
|
+
* Field name and order to sort by. One of: <br />
|
|
2937
|
+
* * `displayName`
|
|
2938
|
+
* * `updatedDate`
|
|
2939
|
+
* * `sizeInBytes`
|
|
2940
|
+
* Default: `updatedDate` in `desc` order.
|
|
2946
2941
|
*/
|
|
2947
2942
|
sort?: Sorting$1;
|
|
2948
2943
|
/** Cursor and paging information. */
|
|
@@ -2958,8 +2953,8 @@ interface BulkPublishDraftFilesRequest {
|
|
|
2958
2953
|
/**
|
|
2959
2954
|
* IDs of the files to move to the Media Manager's trash bin.
|
|
2960
2955
|
*
|
|
2961
|
-
* You can also
|
|
2962
|
-
* 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)).
|
|
2963
2958
|
*/
|
|
2964
2959
|
fileIds?: string[];
|
|
2965
2960
|
/**
|
|
@@ -2988,8 +2983,8 @@ interface UpdateFileRequest {
|
|
|
2988
2983
|
/**
|
|
2989
2984
|
* ID of the file to update.
|
|
2990
2985
|
*
|
|
2991
|
-
* You can also
|
|
2992
|
-
* Learn more
|
|
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)).
|
|
2993
2988
|
*/
|
|
2994
2989
|
fileId?: string;
|
|
2995
2990
|
/** File name that appears in the Media Manager. */
|
|
@@ -2999,7 +2994,7 @@ interface UpdateFileRequest {
|
|
|
2999
2994
|
* Default: `media-root`.
|
|
3000
2995
|
*/
|
|
3001
2996
|
parentFolderId?: string | null;
|
|
3002
|
-
/** 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. */
|
|
3003
2998
|
labels?: string[] | null;
|
|
3004
2999
|
}
|
|
3005
3000
|
interface UpdateFileResponse {
|
|
@@ -3164,6 +3159,8 @@ interface FileMediaNonNullableFields {
|
|
|
3164
3159
|
archive?: ArchiveNonNullableFields;
|
|
3165
3160
|
model3d?: Model3DNonNullableFields;
|
|
3166
3161
|
other?: OtherMediaNonNullableFields;
|
|
3162
|
+
icon?: ImageMediaNonNullableFields;
|
|
3163
|
+
flash?: OtherMediaNonNullableFields;
|
|
3167
3164
|
}
|
|
3168
3165
|
interface IdentityInfoNonNullableFields {
|
|
3169
3166
|
identityType: IdentityType;
|
|
@@ -3287,26 +3284,26 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
3287
3284
|
*/
|
|
3288
3285
|
entityEventSequence?: string | null;
|
|
3289
3286
|
}
|
|
3290
|
-
interface
|
|
3291
|
-
entity: FileDescriptor;
|
|
3287
|
+
interface FileDescriptorDeletedEnvelope {
|
|
3292
3288
|
metadata: EventMetadata$1;
|
|
3293
3289
|
}
|
|
3294
|
-
interface
|
|
3290
|
+
interface FileDescriptorFileFailedEnvelope {
|
|
3291
|
+
data: FileFailed;
|
|
3295
3292
|
metadata: EventMetadata$1;
|
|
3296
3293
|
}
|
|
3297
3294
|
interface FileDescriptorFileReadyEnvelope {
|
|
3298
3295
|
data: FileReady;
|
|
3299
3296
|
metadata: EventMetadata$1;
|
|
3300
3297
|
}
|
|
3301
|
-
interface
|
|
3302
|
-
|
|
3298
|
+
interface FileDescriptorUpdatedEnvelope {
|
|
3299
|
+
entity: FileDescriptor;
|
|
3303
3300
|
metadata: EventMetadata$1;
|
|
3304
3301
|
}
|
|
3305
3302
|
interface GenerateFileDownloadUrlOptions {
|
|
3306
3303
|
/**
|
|
3307
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 />
|
|
3308
3305
|
*
|
|
3309
|
-
* **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.
|
|
3310
3307
|
*/
|
|
3311
3308
|
downloadFileName?: string | null;
|
|
3312
3309
|
/**
|
|
@@ -3338,7 +3335,7 @@ interface GenerateFileDownloadUrlOptions {
|
|
|
3338
3335
|
interface GenerateFileUploadUrlOptions {
|
|
3339
3336
|
/**
|
|
3340
3337
|
* Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
|
|
3341
|
-
* <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.
|
|
3342
3339
|
*/
|
|
3343
3340
|
fileName?: string | null;
|
|
3344
3341
|
/**
|
|
@@ -3352,11 +3349,11 @@ interface GenerateFileUploadUrlOptions {
|
|
|
3352
3349
|
* Default: `media-root`.
|
|
3353
3350
|
*/
|
|
3354
3351
|
parentFolderId?: string | null;
|
|
3355
|
-
/** Whether the file will be public or private.
|
|
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)). */
|
|
3356
3353
|
private?: boolean | null;
|
|
3357
|
-
/** 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. */
|
|
3358
3355
|
labels?: string[] | null;
|
|
3359
|
-
/**
|
|
3356
|
+
/** A place to map an external entity to an uploaded file in the Wix Media Manager. */
|
|
3360
3357
|
externalInfo?: ExternalInfo;
|
|
3361
3358
|
/**
|
|
3362
3359
|
* Path to the folder where the file will be stored.
|
|
@@ -3369,7 +3366,7 @@ interface GenerateFileUploadUrlOptions {
|
|
|
3369
3366
|
interface GenerateFileResumableUploadUrlOptions {
|
|
3370
3367
|
/**
|
|
3371
3368
|
* Temporary file name used to identify the file type. For example, a file named "myFile.jpeg" identifies as an "image/jpeg" file type.
|
|
3372
|
-
* <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.
|
|
3373
3370
|
*/
|
|
3374
3371
|
fileName?: string | null;
|
|
3375
3372
|
/**
|
|
@@ -3383,15 +3380,11 @@ interface GenerateFileResumableUploadUrlOptions {
|
|
|
3383
3380
|
* Default: `media-root`.
|
|
3384
3381
|
*/
|
|
3385
3382
|
parentFolderId?: string | null;
|
|
3386
|
-
/** Whether the file will be public or private.
|
|
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)). */
|
|
3387
3384
|
private?: boolean | null;
|
|
3388
|
-
/** 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. */
|
|
3389
3386
|
labels?: string[] | null;
|
|
3390
|
-
/**
|
|
3391
|
-
* The upload protocol to use for implementing the resumable upload.
|
|
3392
|
-
*
|
|
3393
|
-
* Supported values: `"TUS"`
|
|
3394
|
-
*/
|
|
3387
|
+
/** The upload protocol to use for implementing the resumable upload. */
|
|
3395
3388
|
uploadProtocol?: UploadProtocol;
|
|
3396
3389
|
/**
|
|
3397
3390
|
* Path to the folder where the file will be stored.
|
|
@@ -3402,7 +3395,10 @@ interface GenerateFileResumableUploadUrlOptions {
|
|
|
3402
3395
|
filePath?: string | null;
|
|
3403
3396
|
}
|
|
3404
3397
|
interface ImportFileOptions {
|
|
3405
|
-
/**
|
|
3398
|
+
/**
|
|
3399
|
+
* Media type of the file to import.
|
|
3400
|
+
* excluding: OTHER media type
|
|
3401
|
+
*/
|
|
3406
3402
|
mediaType?: MediaType;
|
|
3407
3403
|
/** File name that appears in the Media Manager. */
|
|
3408
3404
|
displayName?: string | null;
|
|
@@ -3412,13 +3408,13 @@ interface ImportFileOptions {
|
|
|
3412
3408
|
* Default: `media-root`.
|
|
3413
3409
|
*/
|
|
3414
3410
|
parentFolderId?: string | null;
|
|
3415
|
-
/** Whether the file will be public or private.
|
|
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)). */
|
|
3416
3412
|
private?: boolean | null;
|
|
3417
|
-
/** 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. */
|
|
3418
3414
|
labels?: string[] | null;
|
|
3419
3415
|
/** File mime type. */
|
|
3420
3416
|
mimeType?: string;
|
|
3421
|
-
/** 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. */
|
|
3422
3418
|
externalInfo?: ExternalInfo;
|
|
3423
3419
|
/** Optional parameters that should be sent with the external URL. */
|
|
3424
3420
|
urlParams?: Record<string, any> | null;
|
|
@@ -3433,11 +3429,7 @@ interface ImportFileOptions {
|
|
|
3433
3429
|
filePath?: string | null;
|
|
3434
3430
|
}
|
|
3435
3431
|
interface BulkImportFileOptions {
|
|
3436
|
-
/**
|
|
3437
|
-
* Whether to include the imported File Descriptor in the response. Set to `false` to exclude the File Descriptor from the returned object.
|
|
3438
|
-
*
|
|
3439
|
-
* Default: `true`
|
|
3440
|
-
*/
|
|
3432
|
+
/** Default: `true` */
|
|
3441
3433
|
returnEntity?: boolean | null;
|
|
3442
3434
|
}
|
|
3443
3435
|
interface ListFilesOptions {
|
|
@@ -3446,23 +3438,16 @@ interface ListFilesOptions {
|
|
|
3446
3438
|
* Default:`media-root`.
|
|
3447
3439
|
*/
|
|
3448
3440
|
parentFolderId?: string | null;
|
|
3449
|
-
/**
|
|
3441
|
+
/** File media type. */
|
|
3450
3442
|
mediaTypes?: MediaType[];
|
|
3451
|
-
/**
|
|
3452
|
-
* `true`: Returns only private files.
|
|
3453
|
-
* `false`: Returns only public files.
|
|
3454
|
-
* `undefined`: Returns public and private files.
|
|
3455
|
-
* For more, see the Private Files article.
|
|
3456
|
-
*/
|
|
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)). */
|
|
3457
3444
|
private?: boolean | null;
|
|
3458
3445
|
/**
|
|
3459
|
-
* Field name and order to sort by. One of:
|
|
3460
|
-
*
|
|
3461
|
-
*
|
|
3462
|
-
*
|
|
3463
|
-
*
|
|
3464
|
-
*
|
|
3465
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
3446
|
+
* Field name and order to sort by. One of: <br />
|
|
3447
|
+
* * `displayName`
|
|
3448
|
+
* * `updatedDate`
|
|
3449
|
+
* * `sizeInBytes`
|
|
3450
|
+
* Default: `updatedDate` in `desc` order.
|
|
3466
3451
|
*/
|
|
3467
3452
|
sort?: Sorting$1;
|
|
3468
3453
|
/** Cursor and paging information. */
|
|
@@ -3476,30 +3461,20 @@ interface SearchFilesOptions {
|
|
|
3476
3461
|
*/
|
|
3477
3462
|
search?: string | null;
|
|
3478
3463
|
/**
|
|
3479
|
-
* A root folder in the media manager to search in.
|
|
3480
|
-
*
|
|
3464
|
+
* A root folder in the media manager to search in. <br />
|
|
3481
3465
|
* Default: `MEDIA_ROOT`.
|
|
3482
3466
|
*/
|
|
3483
3467
|
rootFolder?: RootFolder$1;
|
|
3484
|
-
/**
|
|
3468
|
+
/** File media type. */
|
|
3485
3469
|
mediaTypes?: MediaType[];
|
|
3486
|
-
/**
|
|
3487
|
-
* `true`: Returns only private files.
|
|
3488
|
-
* `false`: Returns only public files.
|
|
3489
|
-
* `undefined`: Returns public and private files.
|
|
3490
|
-
* For more, see the Private Files article.
|
|
3491
|
-
*
|
|
3492
|
-
* Default: `false`.
|
|
3493
|
-
*/
|
|
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)). */
|
|
3494
3471
|
private?: boolean | null;
|
|
3495
3472
|
/**
|
|
3496
|
-
* Field name and order to sort by. One of:
|
|
3497
|
-
*
|
|
3498
|
-
*
|
|
3499
|
-
*
|
|
3500
|
-
*
|
|
3501
|
-
*
|
|
3502
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
3473
|
+
* Field name and order to sort by. One of: <br />
|
|
3474
|
+
* * `displayName`
|
|
3475
|
+
* * `updatedDate`
|
|
3476
|
+
* * `sizeInBytes`
|
|
3477
|
+
* Default: `updatedDate` in `desc` order.
|
|
3503
3478
|
*/
|
|
3504
3479
|
sort?: Sorting$1;
|
|
3505
3480
|
/** Cursor and paging information. */
|
|
@@ -3522,23 +3497,16 @@ interface ListDeletedFilesOptions {
|
|
|
3522
3497
|
* Default: `media-root`.
|
|
3523
3498
|
*/
|
|
3524
3499
|
parentFolderId?: string | null;
|
|
3525
|
-
/**
|
|
3500
|
+
/** File media type. */
|
|
3526
3501
|
mediaTypes?: MediaType[];
|
|
3527
|
-
/**
|
|
3528
|
-
* `true`: Returns only private files.
|
|
3529
|
-
* `false`: Returns only public files.
|
|
3530
|
-
* `undefined`: Returns public and private files.
|
|
3531
|
-
* For more, see the Private Files article.
|
|
3532
|
-
*/
|
|
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)). */
|
|
3533
3503
|
private?: boolean | null;
|
|
3534
3504
|
/**
|
|
3535
|
-
* Field name and order to sort by. One of:
|
|
3536
|
-
*
|
|
3537
|
-
*
|
|
3538
|
-
*
|
|
3539
|
-
*
|
|
3540
|
-
*
|
|
3541
|
-
* Default: `_updatedDate` in `"DESC"` order.
|
|
3505
|
+
* Field name and order to sort by. One of: <br />
|
|
3506
|
+
* * `displayName`
|
|
3507
|
+
* * `updatedDate`
|
|
3508
|
+
* * `sizeInBytes`
|
|
3509
|
+
* Default: `updatedDate` in `desc` order.
|
|
3542
3510
|
*/
|
|
3543
3511
|
sort?: Sorting$1;
|
|
3544
3512
|
/** Cursor and paging information. */
|
|
@@ -3550,13 +3518,11 @@ interface GenerateFilesDownloadUrlSignature {
|
|
|
3550
3518
|
/**
|
|
3551
3519
|
* Generates a URL for downloading a compressed file containing specific files in the Media Manager.
|
|
3552
3520
|
*
|
|
3553
|
-
* The `generateFilesDownloadUrl()` function returns a Promise that resolves to a download URL.
|
|
3554
|
-
*
|
|
3555
3521
|
* The compressed file can contain up to 1000 files.
|
|
3556
3522
|
*
|
|
3557
|
-
* To generate
|
|
3558
|
-
*
|
|
3559
|
-
* 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.
|
|
3560
3526
|
* @param - IDs of the files to download.
|
|
3561
3527
|
*
|
|
3562
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"]`.
|
|
@@ -3569,15 +3535,14 @@ interface GenerateFileDownloadUrlSignature {
|
|
|
3569
3535
|
/**
|
|
3570
3536
|
* Generates one or more temporary URLs for downloading a specific file in the Media Manager.
|
|
3571
3537
|
*
|
|
3572
|
-
*
|
|
3573
|
-
*
|
|
3574
|
-
* To download different assets of the file, use the `assetKeys` parameter which generates a download URL for each asset.
|
|
3575
|
-
* If no asset key is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
3538
|
+
* To download different assets of the file, specify the `assetKeys` parameter which generates a download URL for each asset.
|
|
3539
|
+
* If no `assetKey` is specified, it defaults to `src`, which generates one download URL in the original file's format and quality.
|
|
3576
3540
|
*
|
|
3577
|
-
*
|
|
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.
|
|
3578
3542
|
*
|
|
3579
|
-
* To generate a permanent URL for downloading a compressed file that contains multiple files in the Media Manager,
|
|
3580
|
-
* Since this is a permanent URL, it is less secure.
|
|
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.
|
|
3544
|
+
* Since this is a permanent URL, it is less secure.
|
|
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.
|
|
3581
3546
|
* @param - Options to use when generating a file's download URL.
|
|
3582
3547
|
* @param - File ID.
|
|
3583
3548
|
*
|
|
@@ -3589,12 +3554,7 @@ interface GenerateFileDownloadUrlSignature {
|
|
|
3589
3554
|
declare function getFileDescriptor$1(httpClient: HttpClient): GetFileDescriptorSignature;
|
|
3590
3555
|
interface GetFileDescriptorSignature {
|
|
3591
3556
|
/**
|
|
3592
|
-
* Gets information about
|
|
3593
|
-
*
|
|
3594
|
-
*
|
|
3595
|
-
* The `getFileDescriptor()` function returns a Promise that resolves to the specified file's descriptor.
|
|
3596
|
-
*
|
|
3597
|
-
* Use `getFileDescriptors()` to get multiple file descriptors at once.
|
|
3557
|
+
* Gets information about a specific file in the Media Manager.
|
|
3598
3558
|
* @param - File ID.
|
|
3599
3559
|
*
|
|
3600
3560
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
@@ -3606,12 +3566,7 @@ interface GetFileDescriptorSignature {
|
|
|
3606
3566
|
declare function getFileDescriptors$1(httpClient: HttpClient): GetFileDescriptorsSignature;
|
|
3607
3567
|
interface GetFileDescriptorsSignature {
|
|
3608
3568
|
/**
|
|
3609
|
-
* Gets information about
|
|
3610
|
-
*
|
|
3611
|
-
*
|
|
3612
|
-
* The `getFileDescriptors()` function returns a Promise that resolves to an array containing the specified files' descriptors.
|
|
3613
|
-
*
|
|
3614
|
-
* Use `getFileDescriptor()` to get a single file descriptor.
|
|
3569
|
+
* Gets information about specific files in the Media Manager.
|
|
3615
3570
|
* @param - File IDs.
|
|
3616
3571
|
*
|
|
3617
3572
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
@@ -3622,12 +3577,9 @@ interface GetFileDescriptorsSignature {
|
|
|
3622
3577
|
declare function updateFileDescriptor$1(httpClient: HttpClient): UpdateFileDescriptorSignature;
|
|
3623
3578
|
interface UpdateFileDescriptorSignature {
|
|
3624
3579
|
/**
|
|
3625
|
-
* Updates a file.
|
|
3580
|
+
* Updates a file. <br />
|
|
3626
3581
|
*
|
|
3627
|
-
*
|
|
3628
|
-
* The `updateFileDescriptor()` function returns a Promise that resolves to the updated file's descriptor.
|
|
3629
|
-
*
|
|
3630
|
-
* You can use the `parentFolderId` parameter to move a file from its current folder to a different folder.
|
|
3582
|
+
* Specify the `parentFolderId` parameter to move a file from its current folder to a different folder.
|
|
3631
3583
|
* @param - The file to update.
|
|
3632
3584
|
* @returns Information about the updated file.
|
|
3633
3585
|
*/
|
|
@@ -3636,15 +3588,12 @@ interface UpdateFileDescriptorSignature {
|
|
|
3636
3588
|
declare function generateFileUploadUrl$1(httpClient: HttpClient): GenerateFileUploadUrlSignature;
|
|
3637
3589
|
interface GenerateFileUploadUrlSignature {
|
|
3638
3590
|
/**
|
|
3639
|
-
* Generates an upload URL to allow external clients to upload a file to the Media Manager.
|
|
3640
|
-
*
|
|
3641
|
-
* The `generateFileUploadUrl()` function returns a Promise that resolves to an upload URL.
|
|
3642
|
-
*
|
|
3643
|
-
* 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.
|
|
3591
|
+
* Generates an upload URL to allow external clients to upload a file to the Media Manager. <br/>
|
|
3644
3592
|
*
|
|
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)).
|
|
3645
3594
|
* > **Notes:**
|
|
3646
|
-
* > - When you upload a file, it's not immediately available, meaning you can't manage or use the file straight away. Learn more about
|
|
3647
|
-
* > - 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.
|
|
3648
3597
|
* @param - File mime type.
|
|
3649
3598
|
* @param - Options to use when generating a file's upload URL.
|
|
3650
3599
|
*/
|
|
@@ -3653,15 +3602,12 @@ interface GenerateFileUploadUrlSignature {
|
|
|
3653
3602
|
declare function generateFileResumableUploadUrl$1(httpClient: HttpClient): GenerateFileResumableUploadUrlSignature;
|
|
3654
3603
|
interface GenerateFileResumableUploadUrlSignature {
|
|
3655
3604
|
/**
|
|
3656
|
-
* Generates a resumable upload URL to allow external clients to upload large files over 10MB to the Media Manager.
|
|
3657
|
-
*
|
|
3658
|
-
* The `generateFileResumableUploadUrl()` function returns a Promise that resolves to an upload URL, token, and protocol.
|
|
3659
|
-
*
|
|
3660
|
-
* 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.
|
|
3605
|
+
* Generates a resumable upload URL to allow external clients to easily upload large files over 10MB to the Media Manager. <br/>
|
|
3661
3606
|
*
|
|
3662
|
-
*
|
|
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.
|
|
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)).
|
|
3663
3609
|
*
|
|
3664
|
-
* > **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)).
|
|
3665
3611
|
* @param - File mime type.
|
|
3666
3612
|
* @param - Options to use when generating a resumable upload URL.
|
|
3667
3613
|
*/
|
|
@@ -3670,21 +3616,21 @@ interface GenerateFileResumableUploadUrlSignature {
|
|
|
3670
3616
|
declare function importFile$1(httpClient: HttpClient): ImportFileSignature;
|
|
3671
3617
|
interface ImportFileSignature {
|
|
3672
3618
|
/**
|
|
3673
|
-
* Imports a file to the Media Manager using an external
|
|
3619
|
+
* Imports a file to the Media Manager using an external url.
|
|
3674
3620
|
*
|
|
3675
|
-
*
|
|
3676
|
-
*
|
|
3677
|
-
* This function returns information about the imported file. Importing a file is the method through which you can add files to the Media Manager.
|
|
3678
|
-
* Use the `parentFolderId` and `filePath` parameters to specify which folder you want the file to be imported to.
|
|
3621
|
+
* Returns information about the imported file.
|
|
3622
|
+
* Specify the `parentFolderId` and `filePath` parameters to specify which folder you want the file to be imported to.
|
|
3679
3623
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
3680
3624
|
*
|
|
3681
|
-
*
|
|
3625
|
+
* >**Notes:**
|
|
3626
|
+
* > - The `media` property isn't returned in the `files` response object.
|
|
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)).
|
|
3682
3628
|
*
|
|
3683
3629
|
* To import a file, you need to do one of the following:
|
|
3684
|
-
* -
|
|
3685
|
-
* -
|
|
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`.
|
|
3686
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.
|
|
3687
|
-
*
|
|
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'`.
|
|
3688
3634
|
* @param - Publicly accessible external file URL.
|
|
3689
3635
|
* @param - Options to use when importing a single file.
|
|
3690
3636
|
*/
|
|
@@ -3693,24 +3639,29 @@ interface ImportFileSignature {
|
|
|
3693
3639
|
declare function bulkImportFiles$1(httpClient: HttpClient): BulkImportFilesSignature;
|
|
3694
3640
|
interface BulkImportFilesSignature {
|
|
3695
3641
|
/**
|
|
3696
|
-
*
|
|
3697
|
-
* >
|
|
3642
|
+
* Imports a bulk of files to the Media Manager using external urls. <br/>
|
|
3643
|
+
* <blockquote class='warning'>
|
|
3644
|
+
*
|
|
3645
|
+
* __Deprecation Notice:__
|
|
3698
3646
|
*
|
|
3647
|
+
* This endpoint has been replaced with Bulk Import File and will be removed on March 31, 2024.
|
|
3699
3648
|
*
|
|
3700
|
-
*
|
|
3649
|
+
* </blockquote>
|
|
3701
3650
|
*
|
|
3702
|
-
*
|
|
3651
|
+
* Returns information about the imported files.
|
|
3703
3652
|
*
|
|
3704
|
-
*
|
|
3653
|
+
* Use the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.
|
|
3705
3654
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
3706
3655
|
*
|
|
3707
|
-
* >**
|
|
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)).
|
|
3708
3659
|
*
|
|
3709
3660
|
* To import files, you need to do one of the following for each file:
|
|
3710
|
-
* -
|
|
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'`.
|
|
3711
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`.
|
|
3712
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.
|
|
3713
|
-
*
|
|
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'`.
|
|
3714
3665
|
* @param - Information about the files to import.
|
|
3715
3666
|
* @param - Options to use when uploading multiple files.
|
|
3716
3667
|
* @deprecated
|
|
@@ -3720,20 +3671,22 @@ interface BulkImportFilesSignature {
|
|
|
3720
3671
|
declare function bulkImportFile$1(httpClient: HttpClient): BulkImportFileSignature;
|
|
3721
3672
|
interface BulkImportFileSignature {
|
|
3722
3673
|
/**
|
|
3723
|
-
* Imports a bulk of files to the Media Manager using external urls.
|
|
3674
|
+
* Imports a bulk of files to the Media Manager using external urls. <br/>
|
|
3724
3675
|
*
|
|
3725
|
-
*
|
|
3676
|
+
* Returns information about the imported files.
|
|
3726
3677
|
*
|
|
3727
|
-
*
|
|
3678
|
+
* Specify the `parentFolderId` and `filePath` parameters to specify the folder you want each file to be imported to.
|
|
3728
3679
|
* If no folder is specified, the file is imported to the `media-root` folder.
|
|
3729
3680
|
*
|
|
3730
|
-
*
|
|
3681
|
+
* >**Notes:**
|
|
3682
|
+
* > - The `media` property isn't returned in the `files` response object.
|
|
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)).
|
|
3731
3684
|
*
|
|
3732
3685
|
* To import files, you need to do one of the following for each file:
|
|
3733
|
-
* -
|
|
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'`.
|
|
3734
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`.
|
|
3735
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.
|
|
3736
|
-
*
|
|
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'`.
|
|
3737
3690
|
* @param - Information about the files to import.
|
|
3738
3691
|
* @param - Options to include the file descriptor in the response.
|
|
3739
3692
|
*/
|
|
@@ -3744,11 +3697,7 @@ interface ListFilesSignature {
|
|
|
3744
3697
|
/**
|
|
3745
3698
|
* Retrieves a list of files in the Media Manager.
|
|
3746
3699
|
*
|
|
3747
|
-
*
|
|
3748
|
-
*
|
|
3749
|
-
* 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.
|
|
3750
|
-
*
|
|
3751
|
-
* To retrieve a list of (non-permanently) deleted files, use the `listDeletedFiles()` function.
|
|
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.
|
|
3752
3701
|
* @param - Options to use when listing media files.
|
|
3753
3702
|
*/
|
|
3754
3703
|
(options?: ListFilesOptions | undefined): Promise<ListFilesResponse & ListFilesResponseNonNullableFields>;
|
|
@@ -3756,11 +3705,9 @@ interface ListFilesSignature {
|
|
|
3756
3705
|
declare function searchFiles$1(httpClient: HttpClient): SearchFilesSignature;
|
|
3757
3706
|
interface SearchFilesSignature {
|
|
3758
3707
|
/**
|
|
3759
|
-
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the
|
|
3760
|
-
*
|
|
3761
|
-
* The `searchFiles()` function returns a Promise that resolves to an array of the specified files' descriptors and cursor information.
|
|
3708
|
+
* Searches all folders in the Media Manager and returns a list of files that match the terms specified in the parameters. <br/>
|
|
3762
3709
|
*
|
|
3763
|
-
* If no parameters are specified, the
|
|
3710
|
+
* If no parameters are specified, the endpoint returns all files in the `MEDIA_ROOT` folder.
|
|
3764
3711
|
* @param - Options to specify which folders to search.
|
|
3765
3712
|
*/
|
|
3766
3713
|
(options?: SearchFilesOptions | undefined): Promise<SearchFilesResponse & SearchFilesResponseNonNullableFields>;
|
|
@@ -3768,12 +3715,9 @@ interface SearchFilesSignature {
|
|
|
3768
3715
|
declare function generateVideoStreamingUrl$1(httpClient: HttpClient): GenerateVideoStreamingUrlSignature;
|
|
3769
3716
|
interface GenerateVideoStreamingUrlSignature {
|
|
3770
3717
|
/**
|
|
3771
|
-
* Generates a URL for streaming a specific video file in the Media Manager.
|
|
3772
|
-
*
|
|
3718
|
+
* Generates a URL for streaming a specific video file in the Media Manager. <br/>
|
|
3773
3719
|
*
|
|
3774
|
-
*
|
|
3775
|
-
*
|
|
3776
|
-
* To stream different assets of the file, use the `assetKeys` parameter which generates a video streaming URL for each asset. If no asset key is specified, it defaults to `src`, which generates one video streaming URL in the original file's format and quality.
|
|
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.
|
|
3777
3721
|
* @param - Options to use when generating a video file's streaming URL.
|
|
3778
3722
|
* @param - File ID.
|
|
3779
3723
|
*
|
|
@@ -3785,19 +3729,16 @@ interface GenerateVideoStreamingUrlSignature {
|
|
|
3785
3729
|
declare function bulkDeleteFiles$1(httpClient: HttpClient): BulkDeleteFilesSignature;
|
|
3786
3730
|
interface BulkDeleteFilesSignature {
|
|
3787
3731
|
/**
|
|
3788
|
-
* Deletes the specified files from the Media Manager.
|
|
3789
|
-
*
|
|
3732
|
+
* Deletes the specified files from the Media Manager. <br/>
|
|
3790
3733
|
*
|
|
3791
|
-
* The `
|
|
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.
|
|
3792
3735
|
*
|
|
3793
|
-
*
|
|
3794
|
-
*
|
|
3795
|
-
*
|
|
3796
|
-
*
|
|
3797
|
-
*
|
|
3798
|
-
*
|
|
3799
|
-
* > - 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).
|
|
3800
|
-
* > - You can use `bulkRestoreFilesFromTrashBin()` to restore files from the Media Manager's trash bin.
|
|
3736
|
+
* Note the following:
|
|
3737
|
+
* * The specified files can be from different folders.
|
|
3738
|
+
* * Moving multiple files at once is an asynchronous action, and may take time for the changes to appear in the Media Manager.
|
|
3739
|
+
* * Attempting to delete files that are already in the trash bin doesn't result in an error.
|
|
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.
|
|
3801
3742
|
* @param - Options to use when deleting files.
|
|
3802
3743
|
* @param - IDs of the files to move to the Media Manager's trash bin.
|
|
3803
3744
|
*
|
|
@@ -3810,8 +3751,6 @@ declare function bulkRestoreFilesFromTrashBin$1(httpClient: HttpClient): BulkRes
|
|
|
3810
3751
|
interface BulkRestoreFilesFromTrashBinSignature {
|
|
3811
3752
|
/**
|
|
3812
3753
|
* Restores the specified files from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.
|
|
3813
|
-
*
|
|
3814
|
-
* The `bulkRestoreFilesFromTrashBin()` function returns a Promise that resolves when the files have been restored.
|
|
3815
3754
|
* @param - IDs of the files to restore from the Media Manager's trash bin.
|
|
3816
3755
|
*
|
|
3817
3756
|
* You can also pass the files' Wix media URLs. For example, `["wix:image://v1/0abec0_b291a9349a0b4da59067f76287e386fb~mv2.jpg/leon.jpg#originWidth=3024&originHeight=4032"]`.
|
|
@@ -3822,21 +3761,17 @@ interface BulkRestoreFilesFromTrashBinSignature {
|
|
|
3822
3761
|
declare function listDeletedFiles$1(httpClient: HttpClient): ListDeletedFilesSignature;
|
|
3823
3762
|
interface ListDeletedFilesSignature {
|
|
3824
3763
|
/**
|
|
3825
|
-
* Retrieves a list of files in the Media Manager's trash bin.
|
|
3764
|
+
* Retrieves a list of files in the Media Manager's trash bin. <br/>
|
|
3826
3765
|
*
|
|
3827
|
-
* The
|
|
3828
|
-
*
|
|
3829
|
-
* >**Note:** The Media Manager's trash bin (`TRASH_ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
3830
|
-
*
|
|
3831
|
-
* To retrieve a list of non-deleted files, use the `listFiles()` function.
|
|
3766
|
+
* >**Note:** The Media Manager's trash bin (`TRASH-ROOT` folder) only contains temporarily deleted files, not permanently deleted files.
|
|
3832
3767
|
* @param - Options to use when listing deleted files from the trash bin.
|
|
3833
3768
|
*/
|
|
3834
3769
|
(options?: ListDeletedFilesOptions | undefined): Promise<ListDeletedFilesResponse & ListDeletedFilesResponseNonNullableFields>;
|
|
3835
3770
|
}
|
|
3836
|
-
declare const onFileDescriptorUpdated$1: EventDefinition<FileDescriptorUpdatedEnvelope, "wix.media.site_media.v1.file_descriptor_updated">;
|
|
3837
3771
|
declare const onFileDescriptorDeleted$1: EventDefinition<FileDescriptorDeletedEnvelope, "wix.media.site_media.v1.file_descriptor_deleted">;
|
|
3838
|
-
declare const onFileDescriptorFileReady$1: EventDefinition<FileDescriptorFileReadyEnvelope, "wix.media.site_media.v1.file_descriptor_file_ready">;
|
|
3839
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">;
|
|
3840
3775
|
|
|
3841
3776
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3842
3777
|
|
|
@@ -3857,21 +3792,21 @@ declare const bulkDeleteFiles: MaybeContext<BuildRESTFunction<typeof bulkDeleteF
|
|
|
3857
3792
|
declare const bulkRestoreFilesFromTrashBin: MaybeContext<BuildRESTFunction<typeof bulkRestoreFilesFromTrashBin$1> & typeof bulkRestoreFilesFromTrashBin$1>;
|
|
3858
3793
|
declare const listDeletedFiles: MaybeContext<BuildRESTFunction<typeof listDeletedFiles$1> & typeof listDeletedFiles$1>;
|
|
3859
3794
|
|
|
3860
|
-
type _publicOnFileDescriptorUpdatedType = typeof onFileDescriptorUpdated$1;
|
|
3861
|
-
/** */
|
|
3862
|
-
declare const onFileDescriptorUpdated: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorUpdatedType>>;
|
|
3863
|
-
|
|
3864
3795
|
type _publicOnFileDescriptorDeletedType = typeof onFileDescriptorDeleted$1;
|
|
3865
3796
|
/** */
|
|
3866
3797
|
declare const onFileDescriptorDeleted: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorDeletedType>>;
|
|
3867
3798
|
|
|
3799
|
+
type _publicOnFileDescriptorFileFailedType = typeof onFileDescriptorFileFailed$1;
|
|
3800
|
+
/** */
|
|
3801
|
+
declare const onFileDescriptorFileFailed: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorFileFailedType>>;
|
|
3802
|
+
|
|
3868
3803
|
type _publicOnFileDescriptorFileReadyType = typeof onFileDescriptorFileReady$1;
|
|
3869
3804
|
/** */
|
|
3870
3805
|
declare const onFileDescriptorFileReady: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorFileReadyType>>;
|
|
3871
3806
|
|
|
3872
|
-
type
|
|
3807
|
+
type _publicOnFileDescriptorUpdatedType = typeof onFileDescriptorUpdated$1;
|
|
3873
3808
|
/** */
|
|
3874
|
-
declare const
|
|
3809
|
+
declare const onFileDescriptorUpdated: ReturnType<typeof createEventModule$1<_publicOnFileDescriptorUpdatedType>>;
|
|
3875
3810
|
|
|
3876
3811
|
type index_d$1_ApplicationError = ApplicationError;
|
|
3877
3812
|
type index_d$1_Archive = Archive;
|
|
@@ -3912,6 +3847,8 @@ type index_d$1_FileFailed = FileFailed;
|
|
|
3912
3847
|
type index_d$1_FileMedia = FileMedia;
|
|
3913
3848
|
type index_d$1_FileMediaMediaOneOf = FileMediaMediaOneOf;
|
|
3914
3849
|
type index_d$1_FileReady = FileReady;
|
|
3850
|
+
type index_d$1_FontAsset = FontAsset;
|
|
3851
|
+
type index_d$1_FontMedia = FontMedia;
|
|
3915
3852
|
type index_d$1_GenerateFileDownloadUrlOptions = GenerateFileDownloadUrlOptions;
|
|
3916
3853
|
type index_d$1_GenerateFileDownloadUrlRequest = GenerateFileDownloadUrlRequest;
|
|
3917
3854
|
type index_d$1_GenerateFileDownloadUrlResponse = GenerateFileDownloadUrlResponse;
|
|
@@ -4009,7 +3946,7 @@ declare const index_d$1_onFileDescriptorUpdated: typeof onFileDescriptorUpdated;
|
|
|
4009
3946
|
declare const index_d$1_searchFiles: typeof searchFiles;
|
|
4010
3947
|
declare const index_d$1_updateFileDescriptor: typeof updateFileDescriptor;
|
|
4011
3948
|
declare namespace index_d$1 {
|
|
4012
|
-
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 };
|
|
4013
3950
|
}
|
|
4014
3951
|
|
|
4015
3952
|
interface Folder {
|