@wix/media 1.0.127 → 1.0.128
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/media",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.128",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@wix/media_enterprise-media-categories": "1.0.33",
|
|
22
22
|
"@wix/media_enterprise-media-items": "1.0.37",
|
|
23
|
-
"@wix/media_files": "1.0.
|
|
23
|
+
"@wix/media_files": "1.0.59",
|
|
24
24
|
"@wix/media_folders": "1.0.37"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"fqdn": ""
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
49
|
+
"falconPackageHash": "c17e07bf4cdc1a112a6dd1779b0d15a02dbc08857371cad70a5f2290"
|
|
50
50
|
}
|
|
@@ -1995,7 +1995,7 @@ interface FileDescriptor {
|
|
|
1995
1995
|
*/
|
|
1996
1996
|
sizeInBytes?: string | null;
|
|
1997
1997
|
/**
|
|
1998
|
-
* Whether the
|
|
1998
|
+
* Whether the file is public or private. For more, see the Private Files article.
|
|
1999
1999
|
* @readonly
|
|
2000
2000
|
*/
|
|
2001
2001
|
private?: boolean;
|
|
@@ -2482,7 +2482,7 @@ interface GenerateFileUploadUrlRequest {
|
|
|
2482
2482
|
* Default: `media-root`.
|
|
2483
2483
|
*/
|
|
2484
2484
|
parentFolderId?: string | null;
|
|
2485
|
-
/** Whether the
|
|
2485
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
2486
2486
|
private?: boolean | null;
|
|
2487
2487
|
/** 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. */
|
|
2488
2488
|
labels?: string[] | null;
|
|
@@ -2519,7 +2519,7 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
2519
2519
|
* Default: `media-root`.
|
|
2520
2520
|
*/
|
|
2521
2521
|
parentFolderId?: string | null;
|
|
2522
|
-
/** Whether the
|
|
2522
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
2523
2523
|
private?: boolean | null;
|
|
2524
2524
|
/** 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. */
|
|
2525
2525
|
labels?: string[] | null;
|
|
@@ -2562,7 +2562,7 @@ interface ImportFileRequest {
|
|
|
2562
2562
|
* Default: `media-root`.
|
|
2563
2563
|
*/
|
|
2564
2564
|
parentFolderId?: string | null;
|
|
2565
|
-
/** Whether the
|
|
2565
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
2566
2566
|
private?: boolean | null;
|
|
2567
2567
|
/** 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. */
|
|
2568
2568
|
labels?: string[] | null;
|
|
@@ -2645,7 +2645,12 @@ interface ListFilesRequest {
|
|
|
2645
2645
|
* excluding: OTHER media type
|
|
2646
2646
|
*/
|
|
2647
2647
|
mediaTypes?: MediaType[];
|
|
2648
|
-
/**
|
|
2648
|
+
/**
|
|
2649
|
+
* `true`: Returns only private files.
|
|
2650
|
+
* `false`: Returns only public files.
|
|
2651
|
+
* `undefined`: Returns public and private files.
|
|
2652
|
+
* For more, see the Private Files article.
|
|
2653
|
+
*/
|
|
2649
2654
|
private?: boolean | null;
|
|
2650
2655
|
/**
|
|
2651
2656
|
* Field name and order to sort by. One of:
|
|
@@ -2714,7 +2719,12 @@ interface SearchFilesRequest {
|
|
|
2714
2719
|
* excluding: OTHER media type
|
|
2715
2720
|
*/
|
|
2716
2721
|
mediaTypes?: MediaType[];
|
|
2717
|
-
/**
|
|
2722
|
+
/**
|
|
2723
|
+
* `true`: Returns only private files.
|
|
2724
|
+
* `false`: Returns only public files.
|
|
2725
|
+
* `undefined`: Returns public and private files.
|
|
2726
|
+
* For more, see the Private Files article.
|
|
2727
|
+
*/
|
|
2718
2728
|
private?: boolean | null;
|
|
2719
2729
|
/**
|
|
2720
2730
|
* Field name and order to sort by. One of:
|
|
@@ -2807,7 +2817,12 @@ interface ListDeletedFilesRequest {
|
|
|
2807
2817
|
* excluding: OTHER media type
|
|
2808
2818
|
*/
|
|
2809
2819
|
mediaTypes?: MediaType[];
|
|
2810
|
-
/**
|
|
2820
|
+
/**
|
|
2821
|
+
* `true`: Returns only private files.
|
|
2822
|
+
* `false`: Returns only public files.
|
|
2823
|
+
* `undefined`: Returns public and private files.
|
|
2824
|
+
* For more, see the Private Files article.
|
|
2825
|
+
*/
|
|
2811
2826
|
private?: boolean | null;
|
|
2812
2827
|
/**
|
|
2813
2828
|
* Field name and order to sort by. One of:
|
|
@@ -3196,7 +3211,7 @@ interface GenerateFileUploadUrlOptions {
|
|
|
3196
3211
|
* Default: `media-root`.
|
|
3197
3212
|
*/
|
|
3198
3213
|
parentFolderId?: string | null;
|
|
3199
|
-
/** Whether the
|
|
3214
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
3200
3215
|
private?: boolean | null;
|
|
3201
3216
|
/** 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. */
|
|
3202
3217
|
labels?: string[] | null;
|
|
@@ -3227,7 +3242,7 @@ interface GenerateFileResumableUploadUrlOptions {
|
|
|
3227
3242
|
* Default: `media-root`.
|
|
3228
3243
|
*/
|
|
3229
3244
|
parentFolderId?: string | null;
|
|
3230
|
-
/** Whether the
|
|
3245
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
3231
3246
|
private?: boolean | null;
|
|
3232
3247
|
/** 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. */
|
|
3233
3248
|
labels?: string[] | null;
|
|
@@ -3256,7 +3271,7 @@ interface ImportFileOptions {
|
|
|
3256
3271
|
* Default: `media-root`.
|
|
3257
3272
|
*/
|
|
3258
3273
|
parentFolderId?: string | null;
|
|
3259
|
-
/** Whether the
|
|
3274
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
3260
3275
|
private?: boolean | null;
|
|
3261
3276
|
/** 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. */
|
|
3262
3277
|
labels?: string[] | null;
|
|
@@ -3292,7 +3307,12 @@ interface ListFilesOptions {
|
|
|
3292
3307
|
parentFolderId?: string | null;
|
|
3293
3308
|
/** Media file type. */
|
|
3294
3309
|
mediaTypes?: MediaType[];
|
|
3295
|
-
/**
|
|
3310
|
+
/**
|
|
3311
|
+
* `true`: Returns only private files.
|
|
3312
|
+
* `false`: Returns only public files.
|
|
3313
|
+
* `undefined`: Returns public and private files.
|
|
3314
|
+
* For more, see the Private Files article.
|
|
3315
|
+
*/
|
|
3296
3316
|
private?: boolean | null;
|
|
3297
3317
|
/**
|
|
3298
3318
|
* Field name and order to sort by. One of:
|
|
@@ -3323,7 +3343,10 @@ interface SearchFilesOptions {
|
|
|
3323
3343
|
/** Media file type. */
|
|
3324
3344
|
mediaTypes?: MediaType[];
|
|
3325
3345
|
/**
|
|
3326
|
-
*
|
|
3346
|
+
* `true`: Returns only private files.
|
|
3347
|
+
* `false`: Returns only public files.
|
|
3348
|
+
* `undefined`: Returns public and private files.
|
|
3349
|
+
* For more, see the Private Files article.
|
|
3327
3350
|
*
|
|
3328
3351
|
* Default: `false`.
|
|
3329
3352
|
*/
|
|
@@ -3360,7 +3383,12 @@ interface ListDeletedFilesOptions {
|
|
|
3360
3383
|
parentFolderId?: string | null;
|
|
3361
3384
|
/** Media file type. */
|
|
3362
3385
|
mediaTypes?: MediaType[];
|
|
3363
|
-
/**
|
|
3386
|
+
/**
|
|
3387
|
+
* `true`: Returns only private files.
|
|
3388
|
+
* `false`: Returns only public files.
|
|
3389
|
+
* `undefined`: Returns public and private files.
|
|
3390
|
+
* For more, see the Private Files article.
|
|
3391
|
+
*/
|
|
3364
3392
|
private?: boolean | null;
|
|
3365
3393
|
/**
|
|
3366
3394
|
* Field name and order to sort by. One of:
|
|
@@ -1995,7 +1995,7 @@ interface FileDescriptor {
|
|
|
1995
1995
|
*/
|
|
1996
1996
|
sizeInBytes?: string | null;
|
|
1997
1997
|
/**
|
|
1998
|
-
* Whether the
|
|
1998
|
+
* Whether the file is public or private. For more, see the Private Files article.
|
|
1999
1999
|
* @readonly
|
|
2000
2000
|
*/
|
|
2001
2001
|
private?: boolean;
|
|
@@ -2482,7 +2482,7 @@ interface GenerateFileUploadUrlRequest {
|
|
|
2482
2482
|
* Default: `media-root`.
|
|
2483
2483
|
*/
|
|
2484
2484
|
parentFolderId?: string | null;
|
|
2485
|
-
/** Whether the
|
|
2485
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
2486
2486
|
private?: boolean | null;
|
|
2487
2487
|
/** 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. */
|
|
2488
2488
|
labels?: string[] | null;
|
|
@@ -2519,7 +2519,7 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
2519
2519
|
* Default: `media-root`.
|
|
2520
2520
|
*/
|
|
2521
2521
|
parentFolderId?: string | null;
|
|
2522
|
-
/** Whether the
|
|
2522
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
2523
2523
|
private?: boolean | null;
|
|
2524
2524
|
/** 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. */
|
|
2525
2525
|
labels?: string[] | null;
|
|
@@ -2562,7 +2562,7 @@ interface ImportFileRequest {
|
|
|
2562
2562
|
* Default: `media-root`.
|
|
2563
2563
|
*/
|
|
2564
2564
|
parentFolderId?: string | null;
|
|
2565
|
-
/** Whether the
|
|
2565
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
2566
2566
|
private?: boolean | null;
|
|
2567
2567
|
/** 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. */
|
|
2568
2568
|
labels?: string[] | null;
|
|
@@ -2645,7 +2645,12 @@ interface ListFilesRequest {
|
|
|
2645
2645
|
* excluding: OTHER media type
|
|
2646
2646
|
*/
|
|
2647
2647
|
mediaTypes?: MediaType[];
|
|
2648
|
-
/**
|
|
2648
|
+
/**
|
|
2649
|
+
* `true`: Returns only private files.
|
|
2650
|
+
* `false`: Returns only public files.
|
|
2651
|
+
* `undefined`: Returns public and private files.
|
|
2652
|
+
* For more, see the Private Files article.
|
|
2653
|
+
*/
|
|
2649
2654
|
private?: boolean | null;
|
|
2650
2655
|
/**
|
|
2651
2656
|
* Field name and order to sort by. One of:
|
|
@@ -2714,7 +2719,12 @@ interface SearchFilesRequest {
|
|
|
2714
2719
|
* excluding: OTHER media type
|
|
2715
2720
|
*/
|
|
2716
2721
|
mediaTypes?: MediaType[];
|
|
2717
|
-
/**
|
|
2722
|
+
/**
|
|
2723
|
+
* `true`: Returns only private files.
|
|
2724
|
+
* `false`: Returns only public files.
|
|
2725
|
+
* `undefined`: Returns public and private files.
|
|
2726
|
+
* For more, see the Private Files article.
|
|
2727
|
+
*/
|
|
2718
2728
|
private?: boolean | null;
|
|
2719
2729
|
/**
|
|
2720
2730
|
* Field name and order to sort by. One of:
|
|
@@ -2807,7 +2817,12 @@ interface ListDeletedFilesRequest {
|
|
|
2807
2817
|
* excluding: OTHER media type
|
|
2808
2818
|
*/
|
|
2809
2819
|
mediaTypes?: MediaType[];
|
|
2810
|
-
/**
|
|
2820
|
+
/**
|
|
2821
|
+
* `true`: Returns only private files.
|
|
2822
|
+
* `false`: Returns only public files.
|
|
2823
|
+
* `undefined`: Returns public and private files.
|
|
2824
|
+
* For more, see the Private Files article.
|
|
2825
|
+
*/
|
|
2811
2826
|
private?: boolean | null;
|
|
2812
2827
|
/**
|
|
2813
2828
|
* Field name and order to sort by. One of:
|
|
@@ -3196,7 +3211,7 @@ interface GenerateFileUploadUrlOptions {
|
|
|
3196
3211
|
* Default: `media-root`.
|
|
3197
3212
|
*/
|
|
3198
3213
|
parentFolderId?: string | null;
|
|
3199
|
-
/** Whether the
|
|
3214
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
3200
3215
|
private?: boolean | null;
|
|
3201
3216
|
/** 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. */
|
|
3202
3217
|
labels?: string[] | null;
|
|
@@ -3227,7 +3242,7 @@ interface GenerateFileResumableUploadUrlOptions {
|
|
|
3227
3242
|
* Default: `media-root`.
|
|
3228
3243
|
*/
|
|
3229
3244
|
parentFolderId?: string | null;
|
|
3230
|
-
/** Whether the
|
|
3245
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
3231
3246
|
private?: boolean | null;
|
|
3232
3247
|
/** 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. */
|
|
3233
3248
|
labels?: string[] | null;
|
|
@@ -3256,7 +3271,7 @@ interface ImportFileOptions {
|
|
|
3256
3271
|
* Default: `media-root`.
|
|
3257
3272
|
*/
|
|
3258
3273
|
parentFolderId?: string | null;
|
|
3259
|
-
/** Whether the
|
|
3274
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
3260
3275
|
private?: boolean | null;
|
|
3261
3276
|
/** 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. */
|
|
3262
3277
|
labels?: string[] | null;
|
|
@@ -3292,7 +3307,12 @@ interface ListFilesOptions {
|
|
|
3292
3307
|
parentFolderId?: string | null;
|
|
3293
3308
|
/** Media file type. */
|
|
3294
3309
|
mediaTypes?: MediaType[];
|
|
3295
|
-
/**
|
|
3310
|
+
/**
|
|
3311
|
+
* `true`: Returns only private files.
|
|
3312
|
+
* `false`: Returns only public files.
|
|
3313
|
+
* `undefined`: Returns public and private files.
|
|
3314
|
+
* For more, see the Private Files article.
|
|
3315
|
+
*/
|
|
3296
3316
|
private?: boolean | null;
|
|
3297
3317
|
/**
|
|
3298
3318
|
* Field name and order to sort by. One of:
|
|
@@ -3323,7 +3343,10 @@ interface SearchFilesOptions {
|
|
|
3323
3343
|
/** Media file type. */
|
|
3324
3344
|
mediaTypes?: MediaType[];
|
|
3325
3345
|
/**
|
|
3326
|
-
*
|
|
3346
|
+
* `true`: Returns only private files.
|
|
3347
|
+
* `false`: Returns only public files.
|
|
3348
|
+
* `undefined`: Returns public and private files.
|
|
3349
|
+
* For more, see the Private Files article.
|
|
3327
3350
|
*
|
|
3328
3351
|
* Default: `false`.
|
|
3329
3352
|
*/
|
|
@@ -3360,7 +3383,12 @@ interface ListDeletedFilesOptions {
|
|
|
3360
3383
|
parentFolderId?: string | null;
|
|
3361
3384
|
/** Media file type. */
|
|
3362
3385
|
mediaTypes?: MediaType[];
|
|
3363
|
-
/**
|
|
3386
|
+
/**
|
|
3387
|
+
* `true`: Returns only private files.
|
|
3388
|
+
* `false`: Returns only public files.
|
|
3389
|
+
* `undefined`: Returns public and private files.
|
|
3390
|
+
* For more, see the Private Files article.
|
|
3391
|
+
*/
|
|
3364
3392
|
private?: boolean | null;
|
|
3365
3393
|
/**
|
|
3366
3394
|
* Field name and order to sort by. One of:
|
|
@@ -2365,7 +2365,7 @@ interface FileDescriptor {
|
|
|
2365
2365
|
*/
|
|
2366
2366
|
sizeInBytes?: string | null;
|
|
2367
2367
|
/**
|
|
2368
|
-
* Whether the
|
|
2368
|
+
* Whether the file is public or private. For more, see the Private Files article.
|
|
2369
2369
|
* @readonly
|
|
2370
2370
|
*/
|
|
2371
2371
|
private?: boolean;
|
|
@@ -2781,7 +2781,7 @@ interface GenerateFileUploadUrlRequest {
|
|
|
2781
2781
|
* Default: `media-root`.
|
|
2782
2782
|
*/
|
|
2783
2783
|
parentFolderId?: string | null;
|
|
2784
|
-
/** Whether the
|
|
2784
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
2785
2785
|
private?: boolean | null;
|
|
2786
2786
|
/** 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. */
|
|
2787
2787
|
labels?: string[] | null;
|
|
@@ -2818,7 +2818,7 @@ interface GenerateFileResumableUploadUrlRequest {
|
|
|
2818
2818
|
* Default: `media-root`.
|
|
2819
2819
|
*/
|
|
2820
2820
|
parentFolderId?: string | null;
|
|
2821
|
-
/** Whether the
|
|
2821
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
2822
2822
|
private?: boolean | null;
|
|
2823
2823
|
/** 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. */
|
|
2824
2824
|
labels?: string[] | null;
|
|
@@ -2861,7 +2861,7 @@ interface ImportFileRequest {
|
|
|
2861
2861
|
* Default: `media-root`.
|
|
2862
2862
|
*/
|
|
2863
2863
|
parentFolderId?: string | null;
|
|
2864
|
-
/** Whether the
|
|
2864
|
+
/** Whether the file will be public or private. For more, see the Private Files article. */
|
|
2865
2865
|
private?: boolean | null;
|
|
2866
2866
|
/** 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. */
|
|
2867
2867
|
labels?: string[] | null;
|
|
@@ -2944,7 +2944,12 @@ interface ListFilesRequest {
|
|
|
2944
2944
|
* excluding: OTHER media type
|
|
2945
2945
|
*/
|
|
2946
2946
|
mediaTypes?: MediaType[];
|
|
2947
|
-
/**
|
|
2947
|
+
/**
|
|
2948
|
+
* `true`: Returns only private files.
|
|
2949
|
+
* `false`: Returns only public files.
|
|
2950
|
+
* `undefined`: Returns public and private files.
|
|
2951
|
+
* For more, see the Private Files article.
|
|
2952
|
+
*/
|
|
2948
2953
|
private?: boolean | null;
|
|
2949
2954
|
/**
|
|
2950
2955
|
* Field name and order to sort by. One of:
|
|
@@ -3013,7 +3018,12 @@ interface SearchFilesRequest {
|
|
|
3013
3018
|
* excluding: OTHER media type
|
|
3014
3019
|
*/
|
|
3015
3020
|
mediaTypes?: MediaType[];
|
|
3016
|
-
/**
|
|
3021
|
+
/**
|
|
3022
|
+
* `true`: Returns only private files.
|
|
3023
|
+
* `false`: Returns only public files.
|
|
3024
|
+
* `undefined`: Returns public and private files.
|
|
3025
|
+
* For more, see the Private Files article.
|
|
3026
|
+
*/
|
|
3017
3027
|
private?: boolean | null;
|
|
3018
3028
|
/**
|
|
3019
3029
|
* Field name and order to sort by. One of:
|
|
@@ -3100,7 +3110,12 @@ interface ListDeletedFilesRequest {
|
|
|
3100
3110
|
* excluding: OTHER media type
|
|
3101
3111
|
*/
|
|
3102
3112
|
mediaTypes?: MediaType[];
|
|
3103
|
-
/**
|
|
3113
|
+
/**
|
|
3114
|
+
* `true`: Returns only private files.
|
|
3115
|
+
* `false`: Returns only public files.
|
|
3116
|
+
* `undefined`: Returns public and private files.
|
|
3117
|
+
* For more, see the Private Files article.
|
|
3118
|
+
*/
|
|
3104
3119
|
private?: boolean | null;
|
|
3105
3120
|
/**
|
|
3106
3121
|
* Field name and order to sort by. One of:
|