@wix/media 1.0.104 → 1.0.105

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.
@@ -29,7 +29,7 @@ declare enum PublishStatus$3 {
29
29
  PUBLISHED = "PUBLISHED",
30
30
  WIX_ONLY = "WIX_ONLY"
31
31
  }
32
- declare enum MediaType$4 {
32
+ declare enum MediaType$5 {
33
33
  MIXED = "MIXED",
34
34
  IMAGE = "IMAGE",
35
35
  VIDEO = "VIDEO",
@@ -95,46 +95,29 @@ interface GetMediaManagerCategoriesResponse$1 {
95
95
  /** The category details */
96
96
  category?: EnterpriseCategoryTree$1;
97
97
  }
98
+ interface EnterpriseCategoryNonNullableFields$1 {
99
+ id: string;
100
+ publishStatus: PublishStatus$3;
101
+ mediaType: MediaType$5;
102
+ }
98
103
  interface CreateCategoryResponseNonNullableFields$1 {
99
- category?: {
100
- id: string;
101
- publishStatus: PublishStatus$3;
102
- mediaType: MediaType$4;
103
- };
104
+ category?: EnterpriseCategoryNonNullableFields$1;
104
105
  }
105
106
  interface UpdateCategoryResponseNonNullableFields$1 {
106
- category?: {
107
- id: string;
108
- publishStatus: PublishStatus$3;
109
- mediaType: MediaType$4;
110
- };
107
+ category?: EnterpriseCategoryNonNullableFields$1;
108
+ }
109
+ interface EnterpriseCategoryTreeNonNullableFields$1 {
110
+ category?: EnterpriseCategoryNonNullableFields$1;
111
+ subCategories: EnterpriseCategoryTreeNonNullableFields$1[];
111
112
  }
112
113
  interface GetCategoryResponseNonNullableFields$1 {
113
- category?: {
114
- category?: {
115
- id: string;
116
- publishStatus: PublishStatus$3;
117
- mediaType: MediaType$4;
118
- };
119
- subCategories: NonNullable<GetCategoryResponseNonNullableFields$1>['category'][];
120
- };
114
+ category?: EnterpriseCategoryTreeNonNullableFields$1;
121
115
  }
122
116
  interface EnterpriseOnboardingResponseNonNullableFields$1 {
123
- category?: {
124
- id: string;
125
- publishStatus: PublishStatus$3;
126
- mediaType: MediaType$4;
127
- };
117
+ category?: EnterpriseCategoryNonNullableFields$1;
128
118
  }
129
119
  interface GetMediaManagerCategoriesResponseNonNullableFields$1 {
130
- category?: {
131
- category?: {
132
- id: string;
133
- publishStatus: PublishStatus$3;
134
- mediaType: MediaType$4;
135
- };
136
- subCategories: NonNullable<GetMediaManagerCategoriesResponseNonNullableFields$1>['category'][];
137
- };
120
+ category?: EnterpriseCategoryTreeNonNullableFields$1;
138
121
  }
139
122
 
140
123
  interface EnterpriseCategory {
@@ -168,6 +151,16 @@ declare enum PublishStatus$2 {
168
151
  PUBLISHED = "PUBLISHED",
169
152
  WIX_ONLY = "WIX_ONLY"
170
153
  }
154
+ declare enum MediaType$4 {
155
+ MIXED = "MIXED",
156
+ IMAGE = "IMAGE",
157
+ VIDEO = "VIDEO",
158
+ AUDIO = "AUDIO",
159
+ DOCUMENT = "DOCUMENT",
160
+ VECTOR = "VECTOR",
161
+ ARCHIVE = "ARCHIVE",
162
+ MODEL3D = "MODEL3D"
163
+ }
171
164
  interface CreateCategoryRequest {
172
165
  /** The category object that will be created */
173
166
  category: EnterpriseCategory;
@@ -224,41 +217,29 @@ interface GetMediaManagerCategoriesResponse {
224
217
  /** The category details */
225
218
  category?: EnterpriseCategoryTree;
226
219
  }
220
+ interface EnterpriseCategoryNonNullableFields {
221
+ _id: string;
222
+ publishStatus: PublishStatus$2;
223
+ mediaType: MediaType$4;
224
+ }
227
225
  interface CreateCategoryResponseNonNullableFields {
228
- category?: {
229
- _id: string;
230
- publishStatus: PublishStatus$2;
231
- };
226
+ category?: EnterpriseCategoryNonNullableFields;
232
227
  }
233
228
  interface UpdateCategoryResponseNonNullableFields {
234
- category?: {
235
- _id: string;
236
- publishStatus: PublishStatus$2;
237
- };
229
+ category?: EnterpriseCategoryNonNullableFields;
230
+ }
231
+ interface EnterpriseCategoryTreeNonNullableFields {
232
+ category?: EnterpriseCategoryNonNullableFields;
233
+ subCategories: EnterpriseCategoryTreeNonNullableFields[];
238
234
  }
239
235
  interface GetCategoryResponseNonNullableFields {
240
- category?: {
241
- category?: {
242
- _id: string;
243
- publishStatus: PublishStatus$2;
244
- };
245
- subCategories: NonNullable<GetCategoryResponseNonNullableFields>['category'][];
246
- };
236
+ category?: EnterpriseCategoryTreeNonNullableFields;
247
237
  }
248
238
  interface EnterpriseOnboardingResponseNonNullableFields {
249
- category?: {
250
- _id: string;
251
- publishStatus: PublishStatus$2;
252
- };
239
+ category?: EnterpriseCategoryNonNullableFields;
253
240
  }
254
241
  interface GetMediaManagerCategoriesResponseNonNullableFields {
255
- category?: {
256
- category?: {
257
- _id: string;
258
- publishStatus: PublishStatus$2;
259
- };
260
- subCategories: NonNullable<GetMediaManagerCategoriesResponseNonNullableFields>['category'][];
261
- };
242
+ category?: EnterpriseCategoryTreeNonNullableFields;
262
243
  }
263
244
 
264
245
  type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -761,410 +742,93 @@ interface OverwriteItemCategoriesResponse$1 {
761
742
  interface GenerateFileUploadUrlResponseNonNullableFields$3 {
762
743
  uploadUrl: string;
763
744
  }
745
+ interface ImageNonNullableFields$1 {
746
+ id: string;
747
+ url: string;
748
+ height: number;
749
+ width: number;
750
+ }
751
+ interface VideoResolutionNonNullableFields$1 {
752
+ url: string;
753
+ height: number;
754
+ width: number;
755
+ poster?: ImageNonNullableFields$1;
756
+ format: string;
757
+ }
758
+ interface VideoV2NonNullableFields$1 {
759
+ id: string;
760
+ url: string;
761
+ resolutions: VideoResolutionNonNullableFields$1[];
762
+ posters: ImageNonNullableFields$1[];
763
+ }
764
+ interface AudioNonNullableFields$1 {
765
+ id: string;
766
+ url: string;
767
+ }
768
+ interface DocumentNonNullableFields$1 {
769
+ id: string;
770
+ url: string;
771
+ }
772
+ interface ArchiveNonNullableFields$3 {
773
+ id: string;
774
+ url: string;
775
+ }
776
+ interface Model3DNonNullableFields$3 {
777
+ id: string;
778
+ url: string;
779
+ thumbnail?: ImageNonNullableFields$1;
780
+ }
781
+ interface ItemAssetsNonNullableFields$1 {
782
+ image?: ImageNonNullableFields$1;
783
+ video?: VideoV2NonNullableFields$1;
784
+ vector?: ImageNonNullableFields$1;
785
+ audio?: AudioNonNullableFields$1;
786
+ document?: DocumentNonNullableFields$1;
787
+ archive?: ArchiveNonNullableFields$3;
788
+ model3d?: Model3DNonNullableFields$3;
789
+ }
790
+ interface EnterpriseMediaItemNonNullableFields$1 {
791
+ id: string;
792
+ mediaType: MediaType$3;
793
+ assets?: ItemAssetsNonNullableFields$1;
794
+ publishStatus: PublishStatus$1;
795
+ }
764
796
  interface ImportFileResponseNonNullableFields$3 {
765
- item?: {
766
- id: string;
767
- mediaType: MediaType$3;
768
- assets?: {
769
- image?: {
770
- id: string;
771
- url: string;
772
- height: number;
773
- width: number;
774
- };
775
- video?: {
776
- id: string;
777
- url: string;
778
- resolutions: {
779
- url: string;
780
- height: number;
781
- width: number;
782
- poster?: {
783
- id: string;
784
- url: string;
785
- height: number;
786
- width: number;
787
- };
788
- format: string;
789
- }[];
790
- posters: {
791
- id: string;
792
- url: string;
793
- height: number;
794
- width: number;
795
- }[];
796
- };
797
- vector?: {
798
- id: string;
799
- url: string;
800
- height: number;
801
- width: number;
802
- };
803
- audio?: {
804
- id: string;
805
- url: string;
806
- };
807
- document?: {
808
- id: string;
809
- url: string;
810
- };
811
- archive?: {
812
- id: string;
813
- url: string;
814
- };
815
- model3d?: {
816
- id: string;
817
- url: string;
818
- thumbnail?: {
819
- id: string;
820
- url: string;
821
- height: number;
822
- width: number;
823
- };
824
- };
825
- };
826
- publishStatus: PublishStatus$1;
827
- };
797
+ item?: EnterpriseMediaItemNonNullableFields$1;
828
798
  }
829
799
  interface SearchItemsResponseNonNullableFields$1 {
830
- items: {
831
- id: string;
832
- mediaType: MediaType$3;
833
- assets?: {
834
- image?: {
835
- id: string;
836
- url: string;
837
- height: number;
838
- width: number;
839
- };
840
- video?: {
841
- id: string;
842
- url: string;
843
- resolutions: {
844
- url: string;
845
- height: number;
846
- width: number;
847
- poster?: {
848
- id: string;
849
- url: string;
850
- height: number;
851
- width: number;
852
- };
853
- format: string;
854
- }[];
855
- posters: {
856
- id: string;
857
- url: string;
858
- height: number;
859
- width: number;
860
- }[];
861
- };
862
- vector?: {
863
- id: string;
864
- url: string;
865
- height: number;
866
- width: number;
867
- };
868
- audio?: {
869
- id: string;
870
- url: string;
871
- };
872
- document?: {
873
- id: string;
874
- url: string;
875
- };
876
- archive?: {
877
- id: string;
878
- url: string;
879
- };
880
- model3d?: {
881
- id: string;
882
- url: string;
883
- thumbnail?: {
884
- id: string;
885
- url: string;
886
- height: number;
887
- width: number;
888
- };
889
- };
890
- };
891
- publishStatus: PublishStatus$1;
892
- }[];
800
+ items: EnterpriseMediaItemNonNullableFields$1[];
893
801
  }
894
802
  interface QueryItemsResponseNonNullableFields$1 {
895
- items: {
896
- id: string;
897
- mediaType: MediaType$3;
898
- assets?: {
899
- image?: {
900
- id: string;
901
- url: string;
902
- height: number;
903
- width: number;
904
- };
905
- video?: {
906
- id: string;
907
- url: string;
908
- resolutions: {
909
- url: string;
910
- height: number;
911
- width: number;
912
- poster?: {
913
- id: string;
914
- url: string;
915
- height: number;
916
- width: number;
917
- };
918
- format: string;
919
- }[];
920
- posters: {
921
- id: string;
922
- url: string;
923
- height: number;
924
- width: number;
925
- }[];
926
- };
927
- vector?: {
928
- id: string;
929
- url: string;
930
- height: number;
931
- width: number;
932
- };
933
- audio?: {
934
- id: string;
935
- url: string;
936
- };
937
- document?: {
938
- id: string;
939
- url: string;
940
- };
941
- archive?: {
942
- id: string;
943
- url: string;
944
- };
945
- model3d?: {
946
- id: string;
947
- url: string;
948
- thumbnail?: {
949
- id: string;
950
- url: string;
951
- height: number;
952
- width: number;
953
- };
954
- };
955
- };
956
- publishStatus: PublishStatus$1;
957
- }[];
803
+ items: EnterpriseMediaItemNonNullableFields$1[];
958
804
  }
959
805
  interface UpdateItemResponseNonNullableFields$1 {
960
- item?: {
961
- id: string;
962
- mediaType: MediaType$3;
963
- assets?: {
964
- image?: {
965
- id: string;
966
- url: string;
967
- height: number;
968
- width: number;
969
- };
970
- video?: {
971
- id: string;
972
- url: string;
973
- resolutions: {
974
- url: string;
975
- height: number;
976
- width: number;
977
- poster?: {
978
- id: string;
979
- url: string;
980
- height: number;
981
- width: number;
982
- };
983
- format: string;
984
- }[];
985
- posters: {
986
- id: string;
987
- url: string;
988
- height: number;
989
- width: number;
990
- }[];
991
- };
992
- vector?: {
993
- id: string;
994
- url: string;
995
- height: number;
996
- width: number;
997
- };
998
- audio?: {
999
- id: string;
1000
- url: string;
1001
- };
1002
- document?: {
1003
- id: string;
1004
- url: string;
1005
- };
1006
- archive?: {
1007
- id: string;
1008
- url: string;
1009
- };
1010
- model3d?: {
1011
- id: string;
1012
- url: string;
1013
- thumbnail?: {
1014
- id: string;
1015
- url: string;
1016
- height: number;
1017
- width: number;
1018
- };
1019
- };
1020
- };
1021
- publishStatus: PublishStatus$1;
1022
- };
806
+ item?: EnterpriseMediaItemNonNullableFields$1;
807
+ }
808
+ interface ApplicationErrorNonNullableFields$3 {
809
+ code: string;
810
+ description: string;
811
+ }
812
+ interface ItemMetadataNonNullableFields$3 {
813
+ originalIndex: number;
814
+ success: boolean;
815
+ error?: ApplicationErrorNonNullableFields$3;
816
+ }
817
+ interface BulkItemUpdateResultNonNullableFields$1 {
818
+ itemMetadata?: ItemMetadataNonNullableFields$3;
819
+ item?: EnterpriseMediaItemNonNullableFields$1;
820
+ }
821
+ interface BulkActionMetadataNonNullableFields$3 {
822
+ totalSuccesses: number;
823
+ totalFailures: number;
824
+ undetailedFailures: number;
1023
825
  }
1024
826
  interface BulkUpdateItemResponseNonNullableFields$1 {
1025
- results: {
1026
- itemMetadata?: {
1027
- originalIndex: number;
1028
- success: boolean;
1029
- error?: {
1030
- code: string;
1031
- description: string;
1032
- };
1033
- };
1034
- item?: {
1035
- id: string;
1036
- mediaType: MediaType$3;
1037
- assets?: {
1038
- image?: {
1039
- id: string;
1040
- url: string;
1041
- height: number;
1042
- width: number;
1043
- };
1044
- video?: {
1045
- id: string;
1046
- url: string;
1047
- resolutions: {
1048
- url: string;
1049
- height: number;
1050
- width: number;
1051
- poster?: {
1052
- id: string;
1053
- url: string;
1054
- height: number;
1055
- width: number;
1056
- };
1057
- format: string;
1058
- }[];
1059
- posters: {
1060
- id: string;
1061
- url: string;
1062
- height: number;
1063
- width: number;
1064
- }[];
1065
- };
1066
- vector?: {
1067
- id: string;
1068
- url: string;
1069
- height: number;
1070
- width: number;
1071
- };
1072
- audio?: {
1073
- id: string;
1074
- url: string;
1075
- };
1076
- document?: {
1077
- id: string;
1078
- url: string;
1079
- };
1080
- archive?: {
1081
- id: string;
1082
- url: string;
1083
- };
1084
- model3d?: {
1085
- id: string;
1086
- url: string;
1087
- thumbnail?: {
1088
- id: string;
1089
- url: string;
1090
- height: number;
1091
- width: number;
1092
- };
1093
- };
1094
- };
1095
- publishStatus: PublishStatus$1;
1096
- };
1097
- }[];
1098
- bulkActionMetadata?: {
1099
- totalSuccesses: number;
1100
- totalFailures: number;
1101
- undetailedFailures: number;
1102
- };
827
+ results: BulkItemUpdateResultNonNullableFields$1[];
828
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$3;
1103
829
  }
1104
830
  interface GetItemResponseNonNullableFields$1 {
1105
- item?: {
1106
- id: string;
1107
- mediaType: MediaType$3;
1108
- assets?: {
1109
- image?: {
1110
- id: string;
1111
- url: string;
1112
- height: number;
1113
- width: number;
1114
- };
1115
- video?: {
1116
- id: string;
1117
- url: string;
1118
- resolutions: {
1119
- url: string;
1120
- height: number;
1121
- width: number;
1122
- poster?: {
1123
- id: string;
1124
- url: string;
1125
- height: number;
1126
- width: number;
1127
- };
1128
- format: string;
1129
- }[];
1130
- posters: {
1131
- id: string;
1132
- url: string;
1133
- height: number;
1134
- width: number;
1135
- }[];
1136
- };
1137
- vector?: {
1138
- id: string;
1139
- url: string;
1140
- height: number;
1141
- width: number;
1142
- };
1143
- audio?: {
1144
- id: string;
1145
- url: string;
1146
- };
1147
- document?: {
1148
- id: string;
1149
- url: string;
1150
- };
1151
- archive?: {
1152
- id: string;
1153
- url: string;
1154
- };
1155
- model3d?: {
1156
- id: string;
1157
- url: string;
1158
- thumbnail?: {
1159
- id: string;
1160
- url: string;
1161
- height: number;
1162
- width: number;
1163
- };
1164
- };
1165
- };
1166
- publishStatus: PublishStatus$1;
1167
- };
831
+ item?: EnterpriseMediaItemNonNullableFields$1;
1168
832
  }
1169
833
 
1170
834
  /**
@@ -1564,158 +1228,66 @@ interface OverwriteItemCategoriesResponse {
1564
1228
  interface GenerateFileUploadUrlResponseNonNullableFields$2 {
1565
1229
  uploadUrl: string;
1566
1230
  }
1231
+ interface ArchiveNonNullableFields$2 {
1232
+ _id: string;
1233
+ url: string;
1234
+ }
1235
+ interface Model3DNonNullableFields$2 {
1236
+ _id: string;
1237
+ url: string;
1238
+ thumbnail: string;
1239
+ }
1240
+ interface ItemAssetsNonNullableFields {
1241
+ image: string;
1242
+ video: string;
1243
+ vector: string;
1244
+ audio: string;
1245
+ document: string;
1246
+ archive?: ArchiveNonNullableFields$2;
1247
+ model3d?: Model3DNonNullableFields$2;
1248
+ }
1249
+ interface EnterpriseMediaItemNonNullableFields {
1250
+ _id: string;
1251
+ mediaType: MediaType$2;
1252
+ assets?: ItemAssetsNonNullableFields;
1253
+ publishStatus: PublishStatus;
1254
+ }
1567
1255
  interface ImportFileResponseNonNullableFields$2 {
1568
- item?: {
1569
- _id: string;
1570
- mediaType: MediaType$2;
1571
- assets?: {
1572
- image: string;
1573
- video: string;
1574
- vector: string;
1575
- audio: string;
1576
- document: string;
1577
- archive?: {
1578
- _id: string;
1579
- url: string;
1580
- };
1581
- model3d?: {
1582
- _id: string;
1583
- url: string;
1584
- thumbnail: string;
1585
- };
1586
- };
1587
- publishStatus: PublishStatus;
1588
- };
1256
+ item?: EnterpriseMediaItemNonNullableFields;
1589
1257
  }
1590
1258
  interface SearchItemsResponseNonNullableFields {
1591
- items: {
1592
- _id: string;
1593
- mediaType: MediaType$2;
1594
- assets?: {
1595
- image: string;
1596
- video: string;
1597
- vector: string;
1598
- audio: string;
1599
- document: string;
1600
- archive?: {
1601
- _id: string;
1602
- url: string;
1603
- };
1604
- model3d?: {
1605
- _id: string;
1606
- url: string;
1607
- thumbnail: string;
1608
- };
1609
- };
1610
- publishStatus: PublishStatus;
1611
- }[];
1259
+ items: EnterpriseMediaItemNonNullableFields[];
1612
1260
  }
1613
1261
  interface QueryItemsResponseNonNullableFields {
1614
- items: {
1615
- _id: string;
1616
- mediaType: MediaType$2;
1617
- assets?: {
1618
- image: string;
1619
- video: string;
1620
- vector: string;
1621
- audio: string;
1622
- document: string;
1623
- archive?: {
1624
- _id: string;
1625
- url: string;
1626
- };
1627
- model3d?: {
1628
- _id: string;
1629
- url: string;
1630
- thumbnail: string;
1631
- };
1632
- };
1633
- publishStatus: PublishStatus;
1634
- }[];
1262
+ items: EnterpriseMediaItemNonNullableFields[];
1635
1263
  }
1636
1264
  interface UpdateItemResponseNonNullableFields {
1637
- item?: {
1638
- _id: string;
1639
- mediaType: MediaType$2;
1640
- assets?: {
1641
- image: string;
1642
- video: string;
1643
- vector: string;
1644
- audio: string;
1645
- document: string;
1646
- archive?: {
1647
- _id: string;
1648
- url: string;
1649
- };
1650
- model3d?: {
1651
- _id: string;
1652
- url: string;
1653
- thumbnail: string;
1654
- };
1655
- };
1656
- publishStatus: PublishStatus;
1657
- };
1265
+ item?: EnterpriseMediaItemNonNullableFields;
1266
+ }
1267
+ interface ApplicationErrorNonNullableFields$2 {
1268
+ code: string;
1269
+ description: string;
1270
+ }
1271
+ interface ItemMetadataNonNullableFields$2 {
1272
+ originalIndex: number;
1273
+ success: boolean;
1274
+ error?: ApplicationErrorNonNullableFields$2;
1275
+ }
1276
+ interface BulkItemUpdateResultNonNullableFields {
1277
+ itemMetadata?: ItemMetadataNonNullableFields$2;
1278
+ item?: EnterpriseMediaItemNonNullableFields;
1279
+ }
1280
+ interface BulkActionMetadataNonNullableFields$2 {
1281
+ totalSuccesses: number;
1282
+ totalFailures: number;
1283
+ undetailedFailures: number;
1658
1284
  }
1659
1285
  interface BulkUpdateItemResponseNonNullableFields {
1660
- results: {
1661
- itemMetadata?: {
1662
- originalIndex: number;
1663
- success: boolean;
1664
- error?: {
1665
- code: string;
1666
- description: string;
1667
- };
1668
- };
1669
- item?: {
1670
- _id: string;
1671
- mediaType: MediaType$2;
1672
- assets?: {
1673
- image: string;
1674
- video: string;
1675
- vector: string;
1676
- audio: string;
1677
- document: string;
1678
- archive?: {
1679
- _id: string;
1680
- url: string;
1681
- };
1682
- model3d?: {
1683
- _id: string;
1684
- url: string;
1685
- thumbnail: string;
1686
- };
1687
- };
1688
- publishStatus: PublishStatus;
1689
- };
1690
- }[];
1691
- bulkActionMetadata?: {
1692
- totalSuccesses: number;
1693
- totalFailures: number;
1694
- undetailedFailures: number;
1695
- };
1286
+ results: BulkItemUpdateResultNonNullableFields[];
1287
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
1696
1288
  }
1697
1289
  interface GetItemResponseNonNullableFields {
1698
- item?: {
1699
- _id: string;
1700
- mediaType: MediaType$2;
1701
- assets?: {
1702
- image: string;
1703
- video: string;
1704
- vector: string;
1705
- audio: string;
1706
- document: string;
1707
- archive?: {
1708
- _id: string;
1709
- url: string;
1710
- };
1711
- model3d?: {
1712
- _id: string;
1713
- url: string;
1714
- thumbnail: string;
1715
- };
1716
- };
1717
- publishStatus: PublishStatus;
1718
- };
1290
+ item?: EnterpriseMediaItemNonNullableFields;
1719
1291
  }
1720
1292
 
1721
1293
  type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -2108,7 +1680,7 @@ declare enum State$3 {
2108
1680
  /** Deleted file */
2109
1681
  DELETED = "DELETED"
2110
1682
  }
2111
- declare enum Namespace$1 {
1683
+ declare enum Namespace$3 {
2112
1684
  NO_NAMESPACE = "NO_NAMESPACE",
2113
1685
  OTHERS = "OTHERS",
2114
1686
  /** ANY = 2; */
@@ -2134,7 +1706,7 @@ declare enum Namespace$1 {
2134
1706
  /** _nsWixForms */
2135
1707
  WIX_FORMS = "WIX_FORMS"
2136
1708
  }
2137
- declare enum IdentityType {
1709
+ declare enum IdentityType$1 {
2138
1710
  UNKNOWN = "UNKNOWN",
2139
1711
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2140
1712
  MEMBER = "MEMBER",
@@ -2618,368 +2190,105 @@ interface ListDeletedFilesResponse$1 {
2618
2190
  interface GenerateFilesDownloadUrlResponseNonNullableFields$1 {
2619
2191
  downloadUrl: string;
2620
2192
  }
2193
+ interface DownloadUrlNonNullableFields$1 {
2194
+ url: string;
2195
+ assetKey: string;
2196
+ }
2621
2197
  interface GenerateFileDownloadUrlResponseNonNullableFields$1 {
2622
- downloadUrls: {
2623
- url: string;
2624
- assetKey: string;
2625
- }[];
2198
+ downloadUrls: DownloadUrlNonNullableFields$1[];
2199
+ }
2200
+ interface ImageNonNullableFields {
2201
+ id: string;
2202
+ url: string;
2203
+ height: number;
2204
+ width: number;
2205
+ }
2206
+ interface FaceRecognitionNonNullableFields$1 {
2207
+ confidence: number;
2208
+ x: number;
2209
+ y: number;
2210
+ height: number;
2211
+ width: number;
2212
+ }
2213
+ interface ImageMediaNonNullableFields$1 {
2214
+ image?: ImageNonNullableFields;
2215
+ faces: FaceRecognitionNonNullableFields$1[];
2216
+ previewImage?: ImageNonNullableFields;
2217
+ }
2218
+ interface VideoResolutionNonNullableFields {
2219
+ url: string;
2220
+ height: number;
2221
+ width: number;
2222
+ poster?: ImageNonNullableFields;
2223
+ format: string;
2224
+ }
2225
+ interface VideoV2NonNullableFields {
2226
+ id: string;
2227
+ url: string;
2228
+ resolutions: VideoResolutionNonNullableFields[];
2229
+ posters: ImageNonNullableFields[];
2230
+ }
2231
+ interface AudioNonNullableFields {
2232
+ id: string;
2233
+ url: string;
2234
+ }
2235
+ interface AudioV2NonNullableFields$1 {
2236
+ id: string;
2237
+ assets: AudioNonNullableFields[];
2238
+ }
2239
+ interface DocumentNonNullableFields {
2240
+ id: string;
2241
+ url: string;
2242
+ }
2243
+ interface ArchiveNonNullableFields$1 {
2244
+ id: string;
2245
+ url: string;
2246
+ }
2247
+ interface Model3DNonNullableFields$1 {
2248
+ id: string;
2249
+ url: string;
2250
+ thumbnail?: ImageNonNullableFields;
2251
+ }
2252
+ interface OtherMediaNonNullableFields$1 {
2253
+ id: string;
2254
+ }
2255
+ interface FileMediaNonNullableFields$1 {
2256
+ image?: ImageMediaNonNullableFields$1;
2257
+ video?: VideoV2NonNullableFields;
2258
+ audio?: AudioV2NonNullableFields$1;
2259
+ document?: DocumentNonNullableFields;
2260
+ vector?: ImageMediaNonNullableFields$1;
2261
+ archive?: ArchiveNonNullableFields$1;
2262
+ model3d?: Model3DNonNullableFields$1;
2263
+ other?: OtherMediaNonNullableFields$1;
2264
+ }
2265
+ interface IdentityInfoNonNullableFields$1 {
2266
+ identityType: IdentityType$1;
2267
+ }
2268
+ interface FileDescriptorNonNullableFields$1 {
2269
+ id: string;
2270
+ displayName: string;
2271
+ url: string;
2272
+ hash: string;
2273
+ private: boolean;
2274
+ mediaType: MediaType$1;
2275
+ media?: FileMediaNonNullableFields$1;
2276
+ operationStatus: OperationStatus$1;
2277
+ labels: string[];
2278
+ siteId: string;
2279
+ state: State$3;
2280
+ internalTags: string[];
2281
+ namespace: Namespace$3;
2282
+ addedBy?: IdentityInfoNonNullableFields$1;
2626
2283
  }
2627
2284
  interface GetFileDescriptorResponseNonNullableFields$1 {
2628
- file?: {
2629
- id: string;
2630
- displayName: string;
2631
- url: string;
2632
- hash: string;
2633
- private: boolean;
2634
- mediaType: MediaType$1;
2635
- media?: {
2636
- image?: {
2637
- image?: {
2638
- id: string;
2639
- url: string;
2640
- height: number;
2641
- width: number;
2642
- };
2643
- colors?: {
2644
- palette: Color$1[];
2645
- };
2646
- faces: {
2647
- confidence: number;
2648
- x: number;
2649
- y: number;
2650
- height: number;
2651
- width: number;
2652
- }[];
2653
- previewImage?: {
2654
- id: string;
2655
- url: string;
2656
- height: number;
2657
- width: number;
2658
- };
2659
- };
2660
- video?: {
2661
- id: string;
2662
- url: string;
2663
- resolutions: {
2664
- url: string;
2665
- height: number;
2666
- width: number;
2667
- poster?: {
2668
- id: string;
2669
- url: string;
2670
- height: number;
2671
- width: number;
2672
- };
2673
- format: string;
2674
- }[];
2675
- posters: {
2676
- id: string;
2677
- url: string;
2678
- height: number;
2679
- width: number;
2680
- }[];
2681
- };
2682
- audio?: {
2683
- id: string;
2684
- assets: {
2685
- id: string;
2686
- url: string;
2687
- }[];
2688
- };
2689
- document?: {
2690
- id: string;
2691
- url: string;
2692
- };
2693
- vector?: {
2694
- image?: {
2695
- id: string;
2696
- url: string;
2697
- height: number;
2698
- width: number;
2699
- };
2700
- colors?: {
2701
- palette: Color$1[];
2702
- };
2703
- faces: {
2704
- confidence: number;
2705
- x: number;
2706
- y: number;
2707
- height: number;
2708
- width: number;
2709
- }[];
2710
- previewImage?: {
2711
- id: string;
2712
- url: string;
2713
- height: number;
2714
- width: number;
2715
- };
2716
- };
2717
- archive?: {
2718
- id: string;
2719
- url: string;
2720
- };
2721
- model3d?: {
2722
- id: string;
2723
- url: string;
2724
- thumbnail?: {
2725
- id: string;
2726
- url: string;
2727
- height: number;
2728
- width: number;
2729
- };
2730
- };
2731
- other?: {
2732
- id: string;
2733
- };
2734
- };
2735
- operationStatus: OperationStatus$1;
2736
- labels: string[];
2737
- siteId: string;
2738
- state: State$3;
2739
- internalTags: string[];
2740
- namespace: Namespace$1;
2741
- addedBy?: {
2742
- identityType: IdentityType;
2743
- };
2744
- };
2285
+ file?: FileDescriptorNonNullableFields$1;
2745
2286
  }
2746
2287
  interface GetFileDescriptorsResponseNonNullableFields$1 {
2747
- files: {
2748
- id: string;
2749
- displayName: string;
2750
- url: string;
2751
- hash: string;
2752
- private: boolean;
2753
- mediaType: MediaType$1;
2754
- media?: {
2755
- image?: {
2756
- image?: {
2757
- id: string;
2758
- url: string;
2759
- height: number;
2760
- width: number;
2761
- };
2762
- colors?: {
2763
- palette: Color$1[];
2764
- };
2765
- faces: {
2766
- confidence: number;
2767
- x: number;
2768
- y: number;
2769
- height: number;
2770
- width: number;
2771
- }[];
2772
- previewImage?: {
2773
- id: string;
2774
- url: string;
2775
- height: number;
2776
- width: number;
2777
- };
2778
- };
2779
- video?: {
2780
- id: string;
2781
- url: string;
2782
- resolutions: {
2783
- url: string;
2784
- height: number;
2785
- width: number;
2786
- poster?: {
2787
- id: string;
2788
- url: string;
2789
- height: number;
2790
- width: number;
2791
- };
2792
- format: string;
2793
- }[];
2794
- posters: {
2795
- id: string;
2796
- url: string;
2797
- height: number;
2798
- width: number;
2799
- }[];
2800
- };
2801
- audio?: {
2802
- id: string;
2803
- assets: {
2804
- id: string;
2805
- url: string;
2806
- }[];
2807
- };
2808
- document?: {
2809
- id: string;
2810
- url: string;
2811
- };
2812
- vector?: {
2813
- image?: {
2814
- id: string;
2815
- url: string;
2816
- height: number;
2817
- width: number;
2818
- };
2819
- colors?: {
2820
- palette: Color$1[];
2821
- };
2822
- faces: {
2823
- confidence: number;
2824
- x: number;
2825
- y: number;
2826
- height: number;
2827
- width: number;
2828
- }[];
2829
- previewImage?: {
2830
- id: string;
2831
- url: string;
2832
- height: number;
2833
- width: number;
2834
- };
2835
- };
2836
- archive?: {
2837
- id: string;
2838
- url: string;
2839
- };
2840
- model3d?: {
2841
- id: string;
2842
- url: string;
2843
- thumbnail?: {
2844
- id: string;
2845
- url: string;
2846
- height: number;
2847
- width: number;
2848
- };
2849
- };
2850
- other?: {
2851
- id: string;
2852
- };
2853
- };
2854
- operationStatus: OperationStatus$1;
2855
- labels: string[];
2856
- siteId: string;
2857
- state: State$3;
2858
- internalTags: string[];
2859
- namespace: Namespace$1;
2860
- addedBy?: {
2861
- identityType: IdentityType;
2862
- };
2863
- }[];
2288
+ files: FileDescriptorNonNullableFields$1[];
2864
2289
  }
2865
2290
  interface UpdateFileDescriptorResponseNonNullableFields$1 {
2866
- file?: {
2867
- id: string;
2868
- displayName: string;
2869
- url: string;
2870
- hash: string;
2871
- private: boolean;
2872
- mediaType: MediaType$1;
2873
- media?: {
2874
- image?: {
2875
- image?: {
2876
- id: string;
2877
- url: string;
2878
- height: number;
2879
- width: number;
2880
- };
2881
- colors?: {
2882
- palette: Color$1[];
2883
- };
2884
- faces: {
2885
- confidence: number;
2886
- x: number;
2887
- y: number;
2888
- height: number;
2889
- width: number;
2890
- }[];
2891
- previewImage?: {
2892
- id: string;
2893
- url: string;
2894
- height: number;
2895
- width: number;
2896
- };
2897
- };
2898
- video?: {
2899
- id: string;
2900
- url: string;
2901
- resolutions: {
2902
- url: string;
2903
- height: number;
2904
- width: number;
2905
- poster?: {
2906
- id: string;
2907
- url: string;
2908
- height: number;
2909
- width: number;
2910
- };
2911
- format: string;
2912
- }[];
2913
- posters: {
2914
- id: string;
2915
- url: string;
2916
- height: number;
2917
- width: number;
2918
- }[];
2919
- };
2920
- audio?: {
2921
- id: string;
2922
- assets: {
2923
- id: string;
2924
- url: string;
2925
- }[];
2926
- };
2927
- document?: {
2928
- id: string;
2929
- url: string;
2930
- };
2931
- vector?: {
2932
- image?: {
2933
- id: string;
2934
- url: string;
2935
- height: number;
2936
- width: number;
2937
- };
2938
- colors?: {
2939
- palette: Color$1[];
2940
- };
2941
- faces: {
2942
- confidence: number;
2943
- x: number;
2944
- y: number;
2945
- height: number;
2946
- width: number;
2947
- }[];
2948
- previewImage?: {
2949
- id: string;
2950
- url: string;
2951
- height: number;
2952
- width: number;
2953
- };
2954
- };
2955
- archive?: {
2956
- id: string;
2957
- url: string;
2958
- };
2959
- model3d?: {
2960
- id: string;
2961
- url: string;
2962
- thumbnail?: {
2963
- id: string;
2964
- url: string;
2965
- height: number;
2966
- width: number;
2967
- };
2968
- };
2969
- other?: {
2970
- id: string;
2971
- };
2972
- };
2973
- operationStatus: OperationStatus$1;
2974
- labels: string[];
2975
- siteId: string;
2976
- state: State$3;
2977
- internalTags: string[];
2978
- namespace: Namespace$1;
2979
- addedBy?: {
2980
- identityType: IdentityType;
2981
- };
2982
- };
2291
+ file?: FileDescriptorNonNullableFields$1;
2983
2292
  }
2984
2293
  interface GenerateFileUploadUrlResponseNonNullableFields$1 {
2985
2294
  uploadUrl: string;
@@ -2990,739 +2299,44 @@ interface GenerateFileResumableUploadUrlResponseNonNullableFields$1 {
2990
2299
  uploadToken: string;
2991
2300
  }
2992
2301
  interface ImportFileResponseNonNullableFields$1 {
2993
- file?: {
2994
- id: string;
2995
- displayName: string;
2996
- url: string;
2997
- hash: string;
2998
- private: boolean;
2999
- mediaType: MediaType$1;
3000
- media?: {
3001
- image?: {
3002
- image?: {
3003
- id: string;
3004
- url: string;
3005
- height: number;
3006
- width: number;
3007
- };
3008
- colors?: {
3009
- palette: Color$1[];
3010
- };
3011
- faces: {
3012
- confidence: number;
3013
- x: number;
3014
- y: number;
3015
- height: number;
3016
- width: number;
3017
- }[];
3018
- previewImage?: {
3019
- id: string;
3020
- url: string;
3021
- height: number;
3022
- width: number;
3023
- };
3024
- };
3025
- video?: {
3026
- id: string;
3027
- url: string;
3028
- resolutions: {
3029
- url: string;
3030
- height: number;
3031
- width: number;
3032
- poster?: {
3033
- id: string;
3034
- url: string;
3035
- height: number;
3036
- width: number;
3037
- };
3038
- format: string;
3039
- }[];
3040
- posters: {
3041
- id: string;
3042
- url: string;
3043
- height: number;
3044
- width: number;
3045
- }[];
3046
- };
3047
- audio?: {
3048
- id: string;
3049
- assets: {
3050
- id: string;
3051
- url: string;
3052
- }[];
3053
- };
3054
- document?: {
3055
- id: string;
3056
- url: string;
3057
- };
3058
- vector?: {
3059
- image?: {
3060
- id: string;
3061
- url: string;
3062
- height: number;
3063
- width: number;
3064
- };
3065
- colors?: {
3066
- palette: Color$1[];
3067
- };
3068
- faces: {
3069
- confidence: number;
3070
- x: number;
3071
- y: number;
3072
- height: number;
3073
- width: number;
3074
- }[];
3075
- previewImage?: {
3076
- id: string;
3077
- url: string;
3078
- height: number;
3079
- width: number;
3080
- };
3081
- };
3082
- archive?: {
3083
- id: string;
3084
- url: string;
3085
- };
3086
- model3d?: {
3087
- id: string;
3088
- url: string;
3089
- thumbnail?: {
3090
- id: string;
3091
- url: string;
3092
- height: number;
3093
- width: number;
3094
- };
3095
- };
3096
- other?: {
3097
- id: string;
3098
- };
3099
- };
3100
- operationStatus: OperationStatus$1;
3101
- labels: string[];
3102
- siteId: string;
3103
- state: State$3;
3104
- internalTags: string[];
3105
- namespace: Namespace$1;
3106
- addedBy?: {
3107
- identityType: IdentityType;
3108
- };
3109
- };
2302
+ file?: FileDescriptorNonNullableFields$1;
3110
2303
  }
3111
2304
  interface BulkImportFilesResponseNonNullableFields$1 {
3112
- files: {
3113
- id: string;
3114
- displayName: string;
3115
- url: string;
3116
- hash: string;
3117
- private: boolean;
3118
- mediaType: MediaType$1;
3119
- media?: {
3120
- image?: {
3121
- image?: {
3122
- id: string;
3123
- url: string;
3124
- height: number;
3125
- width: number;
3126
- };
3127
- colors?: {
3128
- palette: Color$1[];
3129
- };
3130
- faces: {
3131
- confidence: number;
3132
- x: number;
3133
- y: number;
3134
- height: number;
3135
- width: number;
3136
- }[];
3137
- previewImage?: {
3138
- id: string;
3139
- url: string;
3140
- height: number;
3141
- width: number;
3142
- };
3143
- };
3144
- video?: {
3145
- id: string;
3146
- url: string;
3147
- resolutions: {
3148
- url: string;
3149
- height: number;
3150
- width: number;
3151
- poster?: {
3152
- id: string;
3153
- url: string;
3154
- height: number;
3155
- width: number;
3156
- };
3157
- format: string;
3158
- }[];
3159
- posters: {
3160
- id: string;
3161
- url: string;
3162
- height: number;
3163
- width: number;
3164
- }[];
3165
- };
3166
- audio?: {
3167
- id: string;
3168
- assets: {
3169
- id: string;
3170
- url: string;
3171
- }[];
3172
- };
3173
- document?: {
3174
- id: string;
3175
- url: string;
3176
- };
3177
- vector?: {
3178
- image?: {
3179
- id: string;
3180
- url: string;
3181
- height: number;
3182
- width: number;
3183
- };
3184
- colors?: {
3185
- palette: Color$1[];
3186
- };
3187
- faces: {
3188
- confidence: number;
3189
- x: number;
3190
- y: number;
3191
- height: number;
3192
- width: number;
3193
- }[];
3194
- previewImage?: {
3195
- id: string;
3196
- url: string;
3197
- height: number;
3198
- width: number;
3199
- };
3200
- };
3201
- archive?: {
3202
- id: string;
3203
- url: string;
3204
- };
3205
- model3d?: {
3206
- id: string;
3207
- url: string;
3208
- thumbnail?: {
3209
- id: string;
3210
- url: string;
3211
- height: number;
3212
- width: number;
3213
- };
3214
- };
3215
- other?: {
3216
- id: string;
3217
- };
3218
- };
3219
- operationStatus: OperationStatus$1;
3220
- labels: string[];
3221
- siteId: string;
3222
- state: State$3;
3223
- internalTags: string[];
3224
- namespace: Namespace$1;
3225
- addedBy?: {
3226
- identityType: IdentityType;
3227
- };
3228
- }[];
2305
+ files: FileDescriptorNonNullableFields$1[];
2306
+ }
2307
+ interface ApplicationErrorNonNullableFields$1 {
2308
+ code: string;
2309
+ description: string;
2310
+ }
2311
+ interface ItemMetadataNonNullableFields$1 {
2312
+ originalIndex: number;
2313
+ success: boolean;
2314
+ error?: ApplicationErrorNonNullableFields$1;
2315
+ }
2316
+ interface BulkImportFileResultNonNullableFields$1 {
2317
+ itemMetadata?: ItemMetadataNonNullableFields$1;
2318
+ item?: FileDescriptorNonNullableFields$1;
2319
+ }
2320
+ interface BulkActionMetadataNonNullableFields$1 {
2321
+ totalSuccesses: number;
2322
+ totalFailures: number;
2323
+ undetailedFailures: number;
3229
2324
  }
3230
2325
  interface BulkImportFileResponseNonNullableFields$1 {
3231
- results: {
3232
- itemMetadata?: {
3233
- originalIndex: number;
3234
- success: boolean;
3235
- error?: {
3236
- code: string;
3237
- description: string;
3238
- };
3239
- };
3240
- item?: {
3241
- id: string;
3242
- displayName: string;
3243
- url: string;
3244
- hash: string;
3245
- private: boolean;
3246
- mediaType: MediaType$1;
3247
- media?: {
3248
- image?: {
3249
- image?: {
3250
- id: string;
3251
- url: string;
3252
- height: number;
3253
- width: number;
3254
- };
3255
- colors?: {
3256
- palette: Color$1[];
3257
- };
3258
- faces: {
3259
- confidence: number;
3260
- x: number;
3261
- y: number;
3262
- height: number;
3263
- width: number;
3264
- }[];
3265
- previewImage?: {
3266
- id: string;
3267
- url: string;
3268
- height: number;
3269
- width: number;
3270
- };
3271
- };
3272
- video?: {
3273
- id: string;
3274
- url: string;
3275
- resolutions: {
3276
- url: string;
3277
- height: number;
3278
- width: number;
3279
- poster?: {
3280
- id: string;
3281
- url: string;
3282
- height: number;
3283
- width: number;
3284
- };
3285
- format: string;
3286
- }[];
3287
- posters: {
3288
- id: string;
3289
- url: string;
3290
- height: number;
3291
- width: number;
3292
- }[];
3293
- };
3294
- audio?: {
3295
- id: string;
3296
- assets: {
3297
- id: string;
3298
- url: string;
3299
- }[];
3300
- };
3301
- document?: {
3302
- id: string;
3303
- url: string;
3304
- };
3305
- vector?: {
3306
- image?: {
3307
- id: string;
3308
- url: string;
3309
- height: number;
3310
- width: number;
3311
- };
3312
- colors?: {
3313
- palette: Color$1[];
3314
- };
3315
- faces: {
3316
- confidence: number;
3317
- x: number;
3318
- y: number;
3319
- height: number;
3320
- width: number;
3321
- }[];
3322
- previewImage?: {
3323
- id: string;
3324
- url: string;
3325
- height: number;
3326
- width: number;
3327
- };
3328
- };
3329
- archive?: {
3330
- id: string;
3331
- url: string;
3332
- };
3333
- model3d?: {
3334
- id: string;
3335
- url: string;
3336
- thumbnail?: {
3337
- id: string;
3338
- url: string;
3339
- height: number;
3340
- width: number;
3341
- };
3342
- };
3343
- other?: {
3344
- id: string;
3345
- };
3346
- };
3347
- operationStatus: OperationStatus$1;
3348
- labels: string[];
3349
- siteId: string;
3350
- state: State$3;
3351
- internalTags: string[];
3352
- namespace: Namespace$1;
3353
- addedBy?: {
3354
- identityType: IdentityType;
3355
- };
3356
- };
3357
- }[];
3358
- bulkActionMetadata?: {
3359
- totalSuccesses: number;
3360
- totalFailures: number;
3361
- undetailedFailures: number;
3362
- };
2326
+ results: BulkImportFileResultNonNullableFields$1[];
2327
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$1;
3363
2328
  }
3364
2329
  interface ListFilesResponseNonNullableFields$1 {
3365
- files: {
3366
- id: string;
3367
- displayName: string;
3368
- url: string;
3369
- hash: string;
3370
- private: boolean;
3371
- mediaType: MediaType$1;
3372
- media?: {
3373
- image?: {
3374
- image?: {
3375
- id: string;
3376
- url: string;
3377
- height: number;
3378
- width: number;
3379
- };
3380
- colors?: {
3381
- palette: Color$1[];
3382
- };
3383
- faces: {
3384
- confidence: number;
3385
- x: number;
3386
- y: number;
3387
- height: number;
3388
- width: number;
3389
- }[];
3390
- previewImage?: {
3391
- id: string;
3392
- url: string;
3393
- height: number;
3394
- width: number;
3395
- };
3396
- };
3397
- video?: {
3398
- id: string;
3399
- url: string;
3400
- resolutions: {
3401
- url: string;
3402
- height: number;
3403
- width: number;
3404
- poster?: {
3405
- id: string;
3406
- url: string;
3407
- height: number;
3408
- width: number;
3409
- };
3410
- format: string;
3411
- }[];
3412
- posters: {
3413
- id: string;
3414
- url: string;
3415
- height: number;
3416
- width: number;
3417
- }[];
3418
- };
3419
- audio?: {
3420
- id: string;
3421
- assets: {
3422
- id: string;
3423
- url: string;
3424
- }[];
3425
- };
3426
- document?: {
3427
- id: string;
3428
- url: string;
3429
- };
3430
- vector?: {
3431
- image?: {
3432
- id: string;
3433
- url: string;
3434
- height: number;
3435
- width: number;
3436
- };
3437
- colors?: {
3438
- palette: Color$1[];
3439
- };
3440
- faces: {
3441
- confidence: number;
3442
- x: number;
3443
- y: number;
3444
- height: number;
3445
- width: number;
3446
- }[];
3447
- previewImage?: {
3448
- id: string;
3449
- url: string;
3450
- height: number;
3451
- width: number;
3452
- };
3453
- };
3454
- archive?: {
3455
- id: string;
3456
- url: string;
3457
- };
3458
- model3d?: {
3459
- id: string;
3460
- url: string;
3461
- thumbnail?: {
3462
- id: string;
3463
- url: string;
3464
- height: number;
3465
- width: number;
3466
- };
3467
- };
3468
- other?: {
3469
- id: string;
3470
- };
3471
- };
3472
- operationStatus: OperationStatus$1;
3473
- labels: string[];
3474
- siteId: string;
3475
- state: State$3;
3476
- internalTags: string[];
3477
- namespace: Namespace$1;
3478
- addedBy?: {
3479
- identityType: IdentityType;
3480
- };
3481
- }[];
2330
+ files: FileDescriptorNonNullableFields$1[];
3482
2331
  }
3483
2332
  interface SearchFilesResponseNonNullableFields$1 {
3484
- files: {
3485
- id: string;
3486
- displayName: string;
3487
- url: string;
3488
- hash: string;
3489
- private: boolean;
3490
- mediaType: MediaType$1;
3491
- media?: {
3492
- image?: {
3493
- image?: {
3494
- id: string;
3495
- url: string;
3496
- height: number;
3497
- width: number;
3498
- };
3499
- colors?: {
3500
- palette: Color$1[];
3501
- };
3502
- faces: {
3503
- confidence: number;
3504
- x: number;
3505
- y: number;
3506
- height: number;
3507
- width: number;
3508
- }[];
3509
- previewImage?: {
3510
- id: string;
3511
- url: string;
3512
- height: number;
3513
- width: number;
3514
- };
3515
- };
3516
- video?: {
3517
- id: string;
3518
- url: string;
3519
- resolutions: {
3520
- url: string;
3521
- height: number;
3522
- width: number;
3523
- poster?: {
3524
- id: string;
3525
- url: string;
3526
- height: number;
3527
- width: number;
3528
- };
3529
- format: string;
3530
- }[];
3531
- posters: {
3532
- id: string;
3533
- url: string;
3534
- height: number;
3535
- width: number;
3536
- }[];
3537
- };
3538
- audio?: {
3539
- id: string;
3540
- assets: {
3541
- id: string;
3542
- url: string;
3543
- }[];
3544
- };
3545
- document?: {
3546
- id: string;
3547
- url: string;
3548
- };
3549
- vector?: {
3550
- image?: {
3551
- id: string;
3552
- url: string;
3553
- height: number;
3554
- width: number;
3555
- };
3556
- colors?: {
3557
- palette: Color$1[];
3558
- };
3559
- faces: {
3560
- confidence: number;
3561
- x: number;
3562
- y: number;
3563
- height: number;
3564
- width: number;
3565
- }[];
3566
- previewImage?: {
3567
- id: string;
3568
- url: string;
3569
- height: number;
3570
- width: number;
3571
- };
3572
- };
3573
- archive?: {
3574
- id: string;
3575
- url: string;
3576
- };
3577
- model3d?: {
3578
- id: string;
3579
- url: string;
3580
- thumbnail?: {
3581
- id: string;
3582
- url: string;
3583
- height: number;
3584
- width: number;
3585
- };
3586
- };
3587
- other?: {
3588
- id: string;
3589
- };
3590
- };
3591
- operationStatus: OperationStatus$1;
3592
- labels: string[];
3593
- siteId: string;
3594
- state: State$3;
3595
- internalTags: string[];
3596
- namespace: Namespace$1;
3597
- addedBy?: {
3598
- identityType: IdentityType;
3599
- };
3600
- }[];
2333
+ files: FileDescriptorNonNullableFields$1[];
3601
2334
  }
3602
2335
  interface GenerateVideoStreamingUrlResponseNonNullableFields$1 {
3603
- downloadUrl?: {
3604
- url: string;
3605
- assetKey: string;
3606
- };
2336
+ downloadUrl?: DownloadUrlNonNullableFields$1;
3607
2337
  }
3608
2338
  interface ListDeletedFilesResponseNonNullableFields$1 {
3609
- files: {
3610
- id: string;
3611
- displayName: string;
3612
- url: string;
3613
- hash: string;
3614
- private: boolean;
3615
- mediaType: MediaType$1;
3616
- media?: {
3617
- image?: {
3618
- image?: {
3619
- id: string;
3620
- url: string;
3621
- height: number;
3622
- width: number;
3623
- };
3624
- colors?: {
3625
- palette: Color$1[];
3626
- };
3627
- faces: {
3628
- confidence: number;
3629
- x: number;
3630
- y: number;
3631
- height: number;
3632
- width: number;
3633
- }[];
3634
- previewImage?: {
3635
- id: string;
3636
- url: string;
3637
- height: number;
3638
- width: number;
3639
- };
3640
- };
3641
- video?: {
3642
- id: string;
3643
- url: string;
3644
- resolutions: {
3645
- url: string;
3646
- height: number;
3647
- width: number;
3648
- poster?: {
3649
- id: string;
3650
- url: string;
3651
- height: number;
3652
- width: number;
3653
- };
3654
- format: string;
3655
- }[];
3656
- posters: {
3657
- id: string;
3658
- url: string;
3659
- height: number;
3660
- width: number;
3661
- }[];
3662
- };
3663
- audio?: {
3664
- id: string;
3665
- assets: {
3666
- id: string;
3667
- url: string;
3668
- }[];
3669
- };
3670
- document?: {
3671
- id: string;
3672
- url: string;
3673
- };
3674
- vector?: {
3675
- image?: {
3676
- id: string;
3677
- url: string;
3678
- height: number;
3679
- width: number;
3680
- };
3681
- colors?: {
3682
- palette: Color$1[];
3683
- };
3684
- faces: {
3685
- confidence: number;
3686
- x: number;
3687
- y: number;
3688
- height: number;
3689
- width: number;
3690
- }[];
3691
- previewImage?: {
3692
- id: string;
3693
- url: string;
3694
- height: number;
3695
- width: number;
3696
- };
3697
- };
3698
- archive?: {
3699
- id: string;
3700
- url: string;
3701
- };
3702
- model3d?: {
3703
- id: string;
3704
- url: string;
3705
- thumbnail?: {
3706
- id: string;
3707
- url: string;
3708
- height: number;
3709
- width: number;
3710
- };
3711
- };
3712
- other?: {
3713
- id: string;
3714
- };
3715
- };
3716
- operationStatus: OperationStatus$1;
3717
- labels: string[];
3718
- siteId: string;
3719
- state: State$3;
3720
- internalTags: string[];
3721
- namespace: Namespace$1;
3722
- addedBy?: {
3723
- identityType: IdentityType;
3724
- };
3725
- }[];
2339
+ files: FileDescriptorNonNullableFields$1[];
3726
2340
  }
3727
2341
 
3728
2342
  interface FileDescriptor {
@@ -4000,6 +2614,39 @@ declare enum State$2 {
4000
2614
  /** Deleted file */
4001
2615
  DELETED = "DELETED"
4002
2616
  }
2617
+ declare enum Namespace$2 {
2618
+ NO_NAMESPACE = "NO_NAMESPACE",
2619
+ OTHERS = "OTHERS",
2620
+ /** ANY = 2; */
2621
+ WIX_VIDEO = "WIX_VIDEO",
2622
+ /** _nsWixMusic */
2623
+ WIX_MUSIC = "WIX_MUSIC",
2624
+ /** _nsArtStore */
2625
+ ALBUMS_AND_ART_STORE = "ALBUMS_AND_ART_STORE",
2626
+ /** _nsDigitalProduct */
2627
+ WIX_ECOM = "WIX_ECOM",
2628
+ /** _nsPhotoShareApp */
2629
+ PHOTO_SHARE_APP = "PHOTO_SHARE_APP",
2630
+ /** _nsSharingApp, */
2631
+ SHARING_APP = "SHARING_APP",
2632
+ /** engage */
2633
+ CHAT = "CHAT",
2634
+ /** logobuilder */
2635
+ LOGO_BUILDER = "LOGO_BUILDER",
2636
+ /** WixExposure */
2637
+ ALBUMS_OLD = "ALBUMS_OLD",
2638
+ /** chat-mobile-uploads */
2639
+ CHAT_MOBILE = "CHAT_MOBILE",
2640
+ /** _nsWixForms */
2641
+ WIX_FORMS = "WIX_FORMS"
2642
+ }
2643
+ declare enum IdentityType {
2644
+ UNKNOWN = "UNKNOWN",
2645
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2646
+ MEMBER = "MEMBER",
2647
+ WIX_USER = "WIX_USER",
2648
+ APP = "APP"
2649
+ }
4003
2650
  interface ExternalInfo {
4004
2651
  /** External information to pass in the File Ready or File Failed events. */
4005
2652
  origin?: string;
@@ -4482,188 +3129,78 @@ interface ListDeletedFilesResponse {
4482
3129
  interface GenerateFilesDownloadUrlResponseNonNullableFields {
4483
3130
  downloadUrl: string;
4484
3131
  }
3132
+ interface DownloadUrlNonNullableFields {
3133
+ url: string;
3134
+ assetKey: string;
3135
+ }
4485
3136
  interface GenerateFileDownloadUrlResponseNonNullableFields {
4486
- downloadUrls: {
4487
- url: string;
4488
- assetKey: string;
4489
- }[];
3137
+ downloadUrls: DownloadUrlNonNullableFields[];
3138
+ }
3139
+ interface FaceRecognitionNonNullableFields {
3140
+ confidence: number;
3141
+ x: number;
3142
+ y: number;
3143
+ height: number;
3144
+ width: number;
3145
+ }
3146
+ interface ImageMediaNonNullableFields {
3147
+ image: string;
3148
+ faces: FaceRecognitionNonNullableFields[];
3149
+ previewImage: string;
3150
+ }
3151
+ interface AudioV2NonNullableFields {
3152
+ _id: string;
3153
+ assets: string[];
3154
+ }
3155
+ interface ArchiveNonNullableFields {
3156
+ _id: string;
3157
+ url: string;
3158
+ }
3159
+ interface Model3DNonNullableFields {
3160
+ _id: string;
3161
+ url: string;
3162
+ thumbnail: string;
3163
+ }
3164
+ interface OtherMediaNonNullableFields {
3165
+ _id: string;
3166
+ }
3167
+ interface FileMediaNonNullableFields {
3168
+ image?: ImageMediaNonNullableFields;
3169
+ video: string;
3170
+ audio?: AudioV2NonNullableFields;
3171
+ document: string;
3172
+ vector?: ImageMediaNonNullableFields;
3173
+ archive?: ArchiveNonNullableFields;
3174
+ model3d?: Model3DNonNullableFields;
3175
+ other?: OtherMediaNonNullableFields;
3176
+ }
3177
+ interface IdentityInfoNonNullableFields {
3178
+ identityType: IdentityType;
3179
+ }
3180
+ interface FileDescriptorNonNullableFields {
3181
+ _id: string;
3182
+ displayName: string;
3183
+ url: string;
3184
+ hash: string;
3185
+ private: boolean;
3186
+ mediaType: MediaType;
3187
+ media?: FileMediaNonNullableFields;
3188
+ operationStatus: OperationStatus;
3189
+ labels: string[];
3190
+ siteId: string;
3191
+ state: State$2;
3192
+ internalTags: string[];
3193
+ namespace: Namespace$2;
3194
+ addedBy?: IdentityInfoNonNullableFields;
4490
3195
  }
4491
3196
  interface GetFileDescriptorResponseNonNullableFields {
4492
- file?: {
4493
- _id: string;
4494
- displayName: string;
4495
- url: string;
4496
- hash: string;
4497
- private: boolean;
4498
- mediaType: MediaType;
4499
- media?: {
4500
- image?: {
4501
- image: string;
4502
- colors?: {
4503
- palette: Color[];
4504
- };
4505
- faces: {
4506
- confidence: number;
4507
- x: number;
4508
- y: number;
4509
- height: number;
4510
- width: number;
4511
- }[];
4512
- previewImage: string;
4513
- };
4514
- video: string;
4515
- audio?: {
4516
- _id: string;
4517
- assets: string;
4518
- };
4519
- document: string;
4520
- vector?: {
4521
- image: string;
4522
- colors?: {
4523
- palette: Color[];
4524
- };
4525
- faces: {
4526
- confidence: number;
4527
- x: number;
4528
- y: number;
4529
- height: number;
4530
- width: number;
4531
- }[];
4532
- previewImage: string;
4533
- };
4534
- archive?: {
4535
- _id: string;
4536
- url: string;
4537
- };
4538
- model3d?: {
4539
- _id: string;
4540
- url: string;
4541
- thumbnail: string;
4542
- };
4543
- };
4544
- operationStatus: OperationStatus;
4545
- labels: string[];
4546
- siteId: string;
4547
- state: State$2;
4548
- };
3197
+ file?: FileDescriptorNonNullableFields;
4549
3198
  }
4550
3199
  interface GetFileDescriptorsResponseNonNullableFields {
4551
- files: {
4552
- _id: string;
4553
- displayName: string;
4554
- url: string;
4555
- hash: string;
4556
- private: boolean;
4557
- mediaType: MediaType;
4558
- media?: {
4559
- image?: {
4560
- image: string;
4561
- colors?: {
4562
- palette: Color[];
4563
- };
4564
- faces: {
4565
- confidence: number;
4566
- x: number;
4567
- y: number;
4568
- height: number;
4569
- width: number;
4570
- }[];
4571
- previewImage: string;
4572
- };
4573
- video: string;
4574
- audio?: {
4575
- _id: string;
4576
- assets: string;
4577
- };
4578
- document: string;
4579
- vector?: {
4580
- image: string;
4581
- colors?: {
4582
- palette: Color[];
4583
- };
4584
- faces: {
4585
- confidence: number;
4586
- x: number;
4587
- y: number;
4588
- height: number;
4589
- width: number;
4590
- }[];
4591
- previewImage: string;
4592
- };
4593
- archive?: {
4594
- _id: string;
4595
- url: string;
4596
- };
4597
- model3d?: {
4598
- _id: string;
4599
- url: string;
4600
- thumbnail: string;
4601
- };
4602
- };
4603
- operationStatus: OperationStatus;
4604
- labels: string[];
4605
- siteId: string;
4606
- state: State$2;
4607
- }[];
3200
+ files: FileDescriptorNonNullableFields[];
4608
3201
  }
4609
3202
  interface UpdateFileDescriptorResponseNonNullableFields {
4610
- file?: {
4611
- _id: string;
4612
- displayName: string;
4613
- url: string;
4614
- hash: string;
4615
- private: boolean;
4616
- mediaType: MediaType;
4617
- media?: {
4618
- image?: {
4619
- image: string;
4620
- colors?: {
4621
- palette: Color[];
4622
- };
4623
- faces: {
4624
- confidence: number;
4625
- x: number;
4626
- y: number;
4627
- height: number;
4628
- width: number;
4629
- }[];
4630
- previewImage: string;
4631
- };
4632
- video: string;
4633
- audio?: {
4634
- _id: string;
4635
- assets: string;
4636
- };
4637
- document: string;
4638
- vector?: {
4639
- image: string;
4640
- colors?: {
4641
- palette: Color[];
4642
- };
4643
- faces: {
4644
- confidence: number;
4645
- x: number;
4646
- y: number;
4647
- height: number;
4648
- width: number;
4649
- }[];
4650
- previewImage: string;
4651
- };
4652
- archive?: {
4653
- _id: string;
4654
- url: string;
4655
- };
4656
- model3d?: {
4657
- _id: string;
4658
- url: string;
4659
- thumbnail: string;
4660
- };
4661
- };
4662
- operationStatus: OperationStatus;
4663
- labels: string[];
4664
- siteId: string;
4665
- state: State$2;
4666
- };
3203
+ file?: FileDescriptorNonNullableFields;
4667
3204
  }
4668
3205
  interface GenerateFileUploadUrlResponseNonNullableFields {
4669
3206
  uploadUrl: string;
@@ -4674,379 +3211,44 @@ interface GenerateFileResumableUploadUrlResponseNonNullableFields {
4674
3211
  uploadToken: string;
4675
3212
  }
4676
3213
  interface ImportFileResponseNonNullableFields {
4677
- file?: {
4678
- _id: string;
4679
- displayName: string;
4680
- url: string;
4681
- hash: string;
4682
- private: boolean;
4683
- mediaType: MediaType;
4684
- media?: {
4685
- image?: {
4686
- image: string;
4687
- colors?: {
4688
- palette: Color[];
4689
- };
4690
- faces: {
4691
- confidence: number;
4692
- x: number;
4693
- y: number;
4694
- height: number;
4695
- width: number;
4696
- }[];
4697
- previewImage: string;
4698
- };
4699
- video: string;
4700
- audio?: {
4701
- _id: string;
4702
- assets: string;
4703
- };
4704
- document: string;
4705
- vector?: {
4706
- image: string;
4707
- colors?: {
4708
- palette: Color[];
4709
- };
4710
- faces: {
4711
- confidence: number;
4712
- x: number;
4713
- y: number;
4714
- height: number;
4715
- width: number;
4716
- }[];
4717
- previewImage: string;
4718
- };
4719
- archive?: {
4720
- _id: string;
4721
- url: string;
4722
- };
4723
- model3d?: {
4724
- _id: string;
4725
- url: string;
4726
- thumbnail: string;
4727
- };
4728
- };
4729
- operationStatus: OperationStatus;
4730
- labels: string[];
4731
- siteId: string;
4732
- state: State$2;
4733
- };
3214
+ file?: FileDescriptorNonNullableFields;
4734
3215
  }
4735
3216
  interface BulkImportFilesResponseNonNullableFields {
4736
- files: {
4737
- _id: string;
4738
- displayName: string;
4739
- url: string;
4740
- hash: string;
4741
- private: boolean;
4742
- mediaType: MediaType;
4743
- media?: {
4744
- image?: {
4745
- image: string;
4746
- colors?: {
4747
- palette: Color[];
4748
- };
4749
- faces: {
4750
- confidence: number;
4751
- x: number;
4752
- y: number;
4753
- height: number;
4754
- width: number;
4755
- }[];
4756
- previewImage: string;
4757
- };
4758
- video: string;
4759
- audio?: {
4760
- _id: string;
4761
- assets: string;
4762
- };
4763
- document: string;
4764
- vector?: {
4765
- image: string;
4766
- colors?: {
4767
- palette: Color[];
4768
- };
4769
- faces: {
4770
- confidence: number;
4771
- x: number;
4772
- y: number;
4773
- height: number;
4774
- width: number;
4775
- }[];
4776
- previewImage: string;
4777
- };
4778
- archive?: {
4779
- _id: string;
4780
- url: string;
4781
- };
4782
- model3d?: {
4783
- _id: string;
4784
- url: string;
4785
- thumbnail: string;
4786
- };
4787
- };
4788
- operationStatus: OperationStatus;
4789
- labels: string[];
4790
- siteId: string;
4791
- state: State$2;
4792
- }[];
3217
+ files: FileDescriptorNonNullableFields[];
3218
+ }
3219
+ interface ApplicationErrorNonNullableFields {
3220
+ code: string;
3221
+ description: string;
3222
+ }
3223
+ interface ItemMetadataNonNullableFields {
3224
+ originalIndex: number;
3225
+ success: boolean;
3226
+ error?: ApplicationErrorNonNullableFields;
3227
+ }
3228
+ interface BulkImportFileResultNonNullableFields {
3229
+ itemMetadata?: ItemMetadataNonNullableFields;
3230
+ item?: FileDescriptorNonNullableFields;
3231
+ }
3232
+ interface BulkActionMetadataNonNullableFields {
3233
+ totalSuccesses: number;
3234
+ totalFailures: number;
3235
+ undetailedFailures: number;
4793
3236
  }
4794
3237
  interface BulkImportFileResponseNonNullableFields {
4795
- results: {
4796
- itemMetadata?: {
4797
- originalIndex: number;
4798
- success: boolean;
4799
- error?: {
4800
- code: string;
4801
- description: string;
4802
- };
4803
- };
4804
- item?: {
4805
- _id: string;
4806
- displayName: string;
4807
- url: string;
4808
- hash: string;
4809
- private: boolean;
4810
- mediaType: MediaType;
4811
- media?: {
4812
- image?: {
4813
- image: string;
4814
- colors?: {
4815
- palette: Color[];
4816
- };
4817
- faces: {
4818
- confidence: number;
4819
- x: number;
4820
- y: number;
4821
- height: number;
4822
- width: number;
4823
- }[];
4824
- previewImage: string;
4825
- };
4826
- video: string;
4827
- audio?: {
4828
- _id: string;
4829
- assets: string;
4830
- };
4831
- document: string;
4832
- vector?: {
4833
- image: string;
4834
- colors?: {
4835
- palette: Color[];
4836
- };
4837
- faces: {
4838
- confidence: number;
4839
- x: number;
4840
- y: number;
4841
- height: number;
4842
- width: number;
4843
- }[];
4844
- previewImage: string;
4845
- };
4846
- archive?: {
4847
- _id: string;
4848
- url: string;
4849
- };
4850
- model3d?: {
4851
- _id: string;
4852
- url: string;
4853
- thumbnail: string;
4854
- };
4855
- };
4856
- operationStatus: OperationStatus;
4857
- labels: string[];
4858
- siteId: string;
4859
- state: State$2;
4860
- };
4861
- }[];
4862
- bulkActionMetadata?: {
4863
- totalSuccesses: number;
4864
- totalFailures: number;
4865
- undetailedFailures: number;
4866
- };
3238
+ results: BulkImportFileResultNonNullableFields[];
3239
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields;
4867
3240
  }
4868
3241
  interface ListFilesResponseNonNullableFields {
4869
- files: {
4870
- _id: string;
4871
- displayName: string;
4872
- url: string;
4873
- hash: string;
4874
- private: boolean;
4875
- mediaType: MediaType;
4876
- media?: {
4877
- image?: {
4878
- image: string;
4879
- colors?: {
4880
- palette: Color[];
4881
- };
4882
- faces: {
4883
- confidence: number;
4884
- x: number;
4885
- y: number;
4886
- height: number;
4887
- width: number;
4888
- }[];
4889
- previewImage: string;
4890
- };
4891
- video: string;
4892
- audio?: {
4893
- _id: string;
4894
- assets: string;
4895
- };
4896
- document: string;
4897
- vector?: {
4898
- image: string;
4899
- colors?: {
4900
- palette: Color[];
4901
- };
4902
- faces: {
4903
- confidence: number;
4904
- x: number;
4905
- y: number;
4906
- height: number;
4907
- width: number;
4908
- }[];
4909
- previewImage: string;
4910
- };
4911
- archive?: {
4912
- _id: string;
4913
- url: string;
4914
- };
4915
- model3d?: {
4916
- _id: string;
4917
- url: string;
4918
- thumbnail: string;
4919
- };
4920
- };
4921
- operationStatus: OperationStatus;
4922
- labels: string[];
4923
- siteId: string;
4924
- state: State$2;
4925
- }[];
3242
+ files: FileDescriptorNonNullableFields[];
4926
3243
  }
4927
3244
  interface SearchFilesResponseNonNullableFields {
4928
- files: {
4929
- _id: string;
4930
- displayName: string;
4931
- url: string;
4932
- hash: string;
4933
- private: boolean;
4934
- mediaType: MediaType;
4935
- media?: {
4936
- image?: {
4937
- image: string;
4938
- colors?: {
4939
- palette: Color[];
4940
- };
4941
- faces: {
4942
- confidence: number;
4943
- x: number;
4944
- y: number;
4945
- height: number;
4946
- width: number;
4947
- }[];
4948
- previewImage: string;
4949
- };
4950
- video: string;
4951
- audio?: {
4952
- _id: string;
4953
- assets: string;
4954
- };
4955
- document: string;
4956
- vector?: {
4957
- image: string;
4958
- colors?: {
4959
- palette: Color[];
4960
- };
4961
- faces: {
4962
- confidence: number;
4963
- x: number;
4964
- y: number;
4965
- height: number;
4966
- width: number;
4967
- }[];
4968
- previewImage: string;
4969
- };
4970
- archive?: {
4971
- _id: string;
4972
- url: string;
4973
- };
4974
- model3d?: {
4975
- _id: string;
4976
- url: string;
4977
- thumbnail: string;
4978
- };
4979
- };
4980
- operationStatus: OperationStatus;
4981
- labels: string[];
4982
- siteId: string;
4983
- state: State$2;
4984
- }[];
3245
+ files: FileDescriptorNonNullableFields[];
4985
3246
  }
4986
3247
  interface GenerateVideoStreamingUrlResponseNonNullableFields {
4987
- downloadUrl?: {
4988
- url: string;
4989
- assetKey: string;
4990
- };
3248
+ downloadUrl?: DownloadUrlNonNullableFields;
4991
3249
  }
4992
3250
  interface ListDeletedFilesResponseNonNullableFields {
4993
- files: {
4994
- _id: string;
4995
- displayName: string;
4996
- url: string;
4997
- hash: string;
4998
- private: boolean;
4999
- mediaType: MediaType;
5000
- media?: {
5001
- image?: {
5002
- image: string;
5003
- colors?: {
5004
- palette: Color[];
5005
- };
5006
- faces: {
5007
- confidence: number;
5008
- x: number;
5009
- y: number;
5010
- height: number;
5011
- width: number;
5012
- }[];
5013
- previewImage: string;
5014
- };
5015
- video: string;
5016
- audio?: {
5017
- _id: string;
5018
- assets: string;
5019
- };
5020
- document: string;
5021
- vector?: {
5022
- image: string;
5023
- colors?: {
5024
- palette: Color[];
5025
- };
5026
- faces: {
5027
- confidence: number;
5028
- x: number;
5029
- y: number;
5030
- height: number;
5031
- width: number;
5032
- }[];
5033
- previewImage: string;
5034
- };
5035
- archive?: {
5036
- _id: string;
5037
- url: string;
5038
- };
5039
- model3d?: {
5040
- _id: string;
5041
- url: string;
5042
- thumbnail: string;
5043
- };
5044
- };
5045
- operationStatus: OperationStatus;
5046
- labels: string[];
5047
- siteId: string;
5048
- state: State$2;
5049
- }[];
3251
+ files: FileDescriptorNonNullableFields[];
5050
3252
  }
5051
3253
 
5052
3254
  type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -5123,7 +3325,7 @@ declare enum State$1 {
5123
3325
  OK = "OK",
5124
3326
  DELETED = "DELETED"
5125
3327
  }
5126
- declare enum Namespace {
3328
+ declare enum Namespace$1 {
5127
3329
  NO_NAMESPACE = "NO_NAMESPACE",
5128
3330
  OTHERS = "OTHERS",
5129
3331
  /** ANY = 2; */
@@ -5307,62 +3509,33 @@ interface ListDeletedFoldersResponse$1 {
5307
3509
  /** The next cursor if it exists. */
5308
3510
  nextCursor?: PagingMetadataV2$1;
5309
3511
  }
3512
+ interface FolderNonNullableFields$1 {
3513
+ id: string;
3514
+ displayName: string;
3515
+ parentFolderId: string;
3516
+ state: State$1;
3517
+ namespace: Namespace$1;
3518
+ }
5310
3519
  interface CreateFolderResponseNonNullableFields$1 {
5311
- folder?: {
5312
- id: string;
5313
- displayName: string;
5314
- parentFolderId: string;
5315
- state: State$1;
5316
- namespace: Namespace;
5317
- };
3520
+ folder?: FolderNonNullableFields$1;
5318
3521
  }
5319
3522
  interface GetFolderResponseNonNullableFields$1 {
5320
- folder?: {
5321
- id: string;
5322
- displayName: string;
5323
- parentFolderId: string;
5324
- state: State$1;
5325
- namespace: Namespace;
5326
- };
3523
+ folder?: FolderNonNullableFields$1;
5327
3524
  }
5328
3525
  interface ListFoldersResponseNonNullableFields$1 {
5329
- folders: {
5330
- id: string;
5331
- displayName: string;
5332
- parentFolderId: string;
5333
- state: State$1;
5334
- namespace: Namespace;
5335
- }[];
3526
+ folders: FolderNonNullableFields$1[];
5336
3527
  }
5337
3528
  interface SearchFoldersResponseNonNullableFields$1 {
5338
- folders: {
5339
- id: string;
5340
- displayName: string;
5341
- parentFolderId: string;
5342
- state: State$1;
5343
- namespace: Namespace;
5344
- }[];
3529
+ folders: FolderNonNullableFields$1[];
5345
3530
  }
5346
3531
  interface UpdateFolderResponseNonNullableFields$1 {
5347
- folder?: {
5348
- id: string;
5349
- displayName: string;
5350
- parentFolderId: string;
5351
- state: State$1;
5352
- namespace: Namespace;
5353
- };
3532
+ folder?: FolderNonNullableFields$1;
5354
3533
  }
5355
3534
  interface GenerateFolderDownloadUrlResponseNonNullableFields$1 {
5356
3535
  downloadUrl: string;
5357
3536
  }
5358
3537
  interface ListDeletedFoldersResponseNonNullableFields$1 {
5359
- folders: {
5360
- id: string;
5361
- displayName: string;
5362
- parentFolderId: string;
5363
- state: State$1;
5364
- namespace: Namespace;
5365
- }[];
3538
+ folders: FolderNonNullableFields$1[];
5366
3539
  }
5367
3540
 
5368
3541
  interface Folder {
@@ -5392,6 +3565,32 @@ declare enum State {
5392
3565
  OK = "OK",
5393
3566
  DELETED = "DELETED"
5394
3567
  }
3568
+ declare enum Namespace {
3569
+ NO_NAMESPACE = "NO_NAMESPACE",
3570
+ OTHERS = "OTHERS",
3571
+ /** ANY = 2; */
3572
+ WIX_VIDEO = "WIX_VIDEO",
3573
+ /** _nsWixMusic */
3574
+ WIX_MUSIC = "WIX_MUSIC",
3575
+ /** _nsArtStore */
3576
+ ALBUMS_AND_ART_STORE = "ALBUMS_AND_ART_STORE",
3577
+ /** _nsDigitalProduct */
3578
+ WIX_ECOM = "WIX_ECOM",
3579
+ /** _nsPhotoShareApp */
3580
+ PHOTO_SHARE_APP = "PHOTO_SHARE_APP",
3581
+ /** _nsSharingApp, */
3582
+ SHARING_APP = "SHARING_APP",
3583
+ /** engage */
3584
+ CHAT = "CHAT",
3585
+ /** logobuilder */
3586
+ LOGO_BUILDER = "LOGO_BUILDER",
3587
+ /** WixExposure */
3588
+ ALBUMS_OLD = "ALBUMS_OLD",
3589
+ /** chat-mobile-uploads */
3590
+ CHAT_MOBILE = "CHAT_MOBILE",
3591
+ /** _nsWixForms */
3592
+ WIX_FORMS = "WIX_FORMS"
3593
+ }
5395
3594
  interface CreateFolderRequest {
5396
3595
  /** Folder name that appears in the Media Manager. */
5397
3596
  displayName: string;
@@ -5552,56 +3751,33 @@ interface ListDeletedFoldersResponse {
5552
3751
  /** The next cursor if it exists. */
5553
3752
  nextCursor?: PagingMetadataV2;
5554
3753
  }
3754
+ interface FolderNonNullableFields {
3755
+ _id: string;
3756
+ displayName: string;
3757
+ parentFolderId: string;
3758
+ state: State;
3759
+ namespace: Namespace;
3760
+ }
5555
3761
  interface CreateFolderResponseNonNullableFields {
5556
- folder?: {
5557
- _id: string;
5558
- displayName: string;
5559
- parentFolderId: string;
5560
- state: State;
5561
- };
3762
+ folder?: FolderNonNullableFields;
5562
3763
  }
5563
3764
  interface GetFolderResponseNonNullableFields {
5564
- folder?: {
5565
- _id: string;
5566
- displayName: string;
5567
- parentFolderId: string;
5568
- state: State;
5569
- };
3765
+ folder?: FolderNonNullableFields;
5570
3766
  }
5571
3767
  interface ListFoldersResponseNonNullableFields {
5572
- folders: {
5573
- _id: string;
5574
- displayName: string;
5575
- parentFolderId: string;
5576
- state: State;
5577
- }[];
3768
+ folders: FolderNonNullableFields[];
5578
3769
  }
5579
3770
  interface SearchFoldersResponseNonNullableFields {
5580
- folders: {
5581
- _id: string;
5582
- displayName: string;
5583
- parentFolderId: string;
5584
- state: State;
5585
- }[];
3771
+ folders: FolderNonNullableFields[];
5586
3772
  }
5587
3773
  interface UpdateFolderResponseNonNullableFields {
5588
- folder?: {
5589
- _id: string;
5590
- displayName: string;
5591
- parentFolderId: string;
5592
- state: State;
5593
- };
3774
+ folder?: FolderNonNullableFields;
5594
3775
  }
5595
3776
  interface GenerateFolderDownloadUrlResponseNonNullableFields {
5596
3777
  downloadUrl: string;
5597
3778
  }
5598
3779
  interface ListDeletedFoldersResponseNonNullableFields {
5599
- folders: {
5600
- _id: string;
5601
- displayName: string;
5602
- parentFolderId: string;
5603
- state: State;
5604
- }[];
3780
+ folders: FolderNonNullableFields[];
5605
3781
  }
5606
3782
 
5607
3783
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {