@wix/media 1.0.126 → 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/build/cjs/context.js +1 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -0
- package/package.json +6 -9
- package/type-bundles/context.bundle.d.ts +606 -276
- package/type-bundles/index.bundle.d.ts +606 -276
- package/type-bundles/meta.bundle.d.ts +46 -31
|
@@ -16,12 +16,12 @@ interface EnterpriseCategory$1 {
|
|
|
16
16
|
* Date and time the category was created.
|
|
17
17
|
* @readonly
|
|
18
18
|
*/
|
|
19
|
-
createdDate?: Date;
|
|
19
|
+
createdDate?: Date | null;
|
|
20
20
|
/**
|
|
21
21
|
* Date and time the category was updated.
|
|
22
22
|
* @readonly
|
|
23
23
|
*/
|
|
24
|
-
updatedDate?: Date;
|
|
24
|
+
updatedDate?: Date | null;
|
|
25
25
|
}
|
|
26
26
|
declare enum PublishStatus$3 {
|
|
27
27
|
UNDEFINED = "UNDEFINED",
|
|
@@ -138,12 +138,12 @@ interface EnterpriseCategory {
|
|
|
138
138
|
* Date and time the category was created.
|
|
139
139
|
* @readonly
|
|
140
140
|
*/
|
|
141
|
-
_createdDate?: Date;
|
|
141
|
+
_createdDate?: Date | null;
|
|
142
142
|
/**
|
|
143
143
|
* Date and time the category was updated.
|
|
144
144
|
* @readonly
|
|
145
145
|
*/
|
|
146
|
-
_updatedDate?: Date;
|
|
146
|
+
_updatedDate?: Date | null;
|
|
147
147
|
}
|
|
148
148
|
declare enum PublishStatus$2 {
|
|
149
149
|
UNDEFINED = "UNDEFINED",
|
|
@@ -323,12 +323,12 @@ interface EnterpriseMediaItem$1 {
|
|
|
323
323
|
* Date and time the item was created.
|
|
324
324
|
* @readonly
|
|
325
325
|
*/
|
|
326
|
-
createdDate?: Date;
|
|
326
|
+
createdDate?: Date | null;
|
|
327
327
|
/**
|
|
328
328
|
* Date and time the item was updated.
|
|
329
329
|
* @readonly
|
|
330
330
|
*/
|
|
331
|
-
updatedDate?: Date;
|
|
331
|
+
updatedDate?: Date | null;
|
|
332
332
|
/**
|
|
333
333
|
* An internal id used with different wix media systems
|
|
334
334
|
* @readonly
|
|
@@ -457,7 +457,7 @@ interface Archive$3 {
|
|
|
457
457
|
* Archive URL expiration date (when relevant).
|
|
458
458
|
* @readonly
|
|
459
459
|
*/
|
|
460
|
-
urlExpirationDate?: Date;
|
|
460
|
+
urlExpirationDate?: Date | null;
|
|
461
461
|
/** Archive size in bytes. */
|
|
462
462
|
sizeInBytes?: string | null;
|
|
463
463
|
/** Archive filename. */
|
|
@@ -476,7 +476,7 @@ interface Model3D$3 {
|
|
|
476
476
|
* 3D URL expiration date (when relevant).
|
|
477
477
|
* @readonly
|
|
478
478
|
*/
|
|
479
|
-
urlExpirationDate?: Date;
|
|
479
|
+
urlExpirationDate?: Date | null;
|
|
480
480
|
/**
|
|
481
481
|
* 3D filename.
|
|
482
482
|
* @readonly
|
|
@@ -881,12 +881,12 @@ interface EnterpriseMediaItem {
|
|
|
881
881
|
* Date and time the item was created.
|
|
882
882
|
* @readonly
|
|
883
883
|
*/
|
|
884
|
-
_createdDate?: Date;
|
|
884
|
+
_createdDate?: Date | null;
|
|
885
885
|
/**
|
|
886
886
|
* Date and time the item was updated.
|
|
887
887
|
* @readonly
|
|
888
888
|
*/
|
|
889
|
-
_updatedDate?: Date;
|
|
889
|
+
_updatedDate?: Date | null;
|
|
890
890
|
/**
|
|
891
891
|
* An internal id used with different wix media systems
|
|
892
892
|
* @readonly
|
|
@@ -945,7 +945,7 @@ interface Archive$2 {
|
|
|
945
945
|
* Archive URL expiration date (when relevant).
|
|
946
946
|
* @readonly
|
|
947
947
|
*/
|
|
948
|
-
urlExpirationDate?: Date;
|
|
948
|
+
urlExpirationDate?: Date | null;
|
|
949
949
|
/** Archive size in bytes. */
|
|
950
950
|
sizeInBytes?: string | null;
|
|
951
951
|
/** Archive filename. */
|
|
@@ -964,7 +964,7 @@ interface Model3D$2 {
|
|
|
964
964
|
* 3D URL expiration date (when relevant).
|
|
965
965
|
* @readonly
|
|
966
966
|
*/
|
|
967
|
-
urlExpirationDate?: Date;
|
|
967
|
+
urlExpirationDate?: Date | null;
|
|
968
968
|
/**
|
|
969
969
|
* 3D filename.
|
|
970
970
|
* @readonly
|
|
@@ -1403,12 +1403,12 @@ interface FileDescriptor$1 {
|
|
|
1403
1403
|
* Date and time the file was created.
|
|
1404
1404
|
* @readonly
|
|
1405
1405
|
*/
|
|
1406
|
-
createdDate?: Date;
|
|
1406
|
+
createdDate?: Date | null;
|
|
1407
1407
|
/**
|
|
1408
1408
|
* Date and time the file was updated.
|
|
1409
1409
|
* @readonly
|
|
1410
1410
|
*/
|
|
1411
|
-
updatedDate?: Date;
|
|
1411
|
+
updatedDate?: Date | null;
|
|
1412
1412
|
/**
|
|
1413
1413
|
* The Wix site ID where the media file is stored.
|
|
1414
1414
|
* @readonly
|
|
@@ -1634,7 +1634,7 @@ interface Archive$1 {
|
|
|
1634
1634
|
* Archive URL expiration date (when relevant).
|
|
1635
1635
|
* @readonly
|
|
1636
1636
|
*/
|
|
1637
|
-
urlExpirationDate?: Date;
|
|
1637
|
+
urlExpirationDate?: Date | null;
|
|
1638
1638
|
/** Archive size in bytes. */
|
|
1639
1639
|
sizeInBytes?: string | null;
|
|
1640
1640
|
/** Archive filename. */
|
|
@@ -1653,7 +1653,7 @@ interface Model3D$1 {
|
|
|
1653
1653
|
* 3D URL expiration date (when relevant).
|
|
1654
1654
|
* @readonly
|
|
1655
1655
|
*/
|
|
1656
|
-
urlExpirationDate?: Date;
|
|
1656
|
+
urlExpirationDate?: Date | null;
|
|
1657
1657
|
/**
|
|
1658
1658
|
* 3D filename.
|
|
1659
1659
|
* @readonly
|
|
@@ -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;
|
|
@@ -2403,12 +2403,12 @@ interface FileDescriptor {
|
|
|
2403
2403
|
* Date and time the file was created.
|
|
2404
2404
|
* @readonly
|
|
2405
2405
|
*/
|
|
2406
|
-
_createdDate?: Date;
|
|
2406
|
+
_createdDate?: Date | null;
|
|
2407
2407
|
/**
|
|
2408
2408
|
* Date and time the file was updated.
|
|
2409
2409
|
* @readonly
|
|
2410
2410
|
*/
|
|
2411
|
-
_updatedDate?: Date;
|
|
2411
|
+
_updatedDate?: Date | null;
|
|
2412
2412
|
/**
|
|
2413
2413
|
* The Wix site ID where the media file is stored.
|
|
2414
2414
|
* @readonly
|
|
@@ -2564,7 +2564,7 @@ interface Archive {
|
|
|
2564
2564
|
* Archive URL expiration date (when relevant).
|
|
2565
2565
|
* @readonly
|
|
2566
2566
|
*/
|
|
2567
|
-
urlExpirationDate?: Date;
|
|
2567
|
+
urlExpirationDate?: Date | null;
|
|
2568
2568
|
/** Archive size in bytes. */
|
|
2569
2569
|
sizeInBytes?: string | null;
|
|
2570
2570
|
/** Archive filename. */
|
|
@@ -2583,7 +2583,7 @@ interface Model3D {
|
|
|
2583
2583
|
* 3D URL expiration date (when relevant).
|
|
2584
2584
|
* @readonly
|
|
2585
2585
|
*/
|
|
2586
|
-
urlExpirationDate?: Date;
|
|
2586
|
+
urlExpirationDate?: Date | null;
|
|
2587
2587
|
/**
|
|
2588
2588
|
* 3D filename.
|
|
2589
2589
|
* @readonly
|
|
@@ -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:
|
|
@@ -3305,12 +3320,12 @@ interface Folder$1 {
|
|
|
3305
3320
|
* Date the folder was created.
|
|
3306
3321
|
* @readonly
|
|
3307
3322
|
*/
|
|
3308
|
-
createdDate?: Date;
|
|
3323
|
+
createdDate?: Date | null;
|
|
3309
3324
|
/**
|
|
3310
3325
|
* Date the folder was updated.
|
|
3311
3326
|
* @readonly
|
|
3312
3327
|
*/
|
|
3313
|
-
updatedDate?: Date;
|
|
3328
|
+
updatedDate?: Date | null;
|
|
3314
3329
|
/**
|
|
3315
3330
|
* State of the folder.
|
|
3316
3331
|
* @readonly
|
|
@@ -3545,12 +3560,12 @@ interface Folder {
|
|
|
3545
3560
|
* Date the folder was created.
|
|
3546
3561
|
* @readonly
|
|
3547
3562
|
*/
|
|
3548
|
-
_createdDate?: Date;
|
|
3563
|
+
_createdDate?: Date | null;
|
|
3549
3564
|
/**
|
|
3550
3565
|
* Date the folder was updated.
|
|
3551
3566
|
* @readonly
|
|
3552
3567
|
*/
|
|
3553
|
-
_updatedDate?: Date;
|
|
3568
|
+
_updatedDate?: Date | null;
|
|
3554
3569
|
/**
|
|
3555
3570
|
* State of the folder.
|
|
3556
3571
|
* @readonly
|