@wix/pro-gallery 1.0.46 → 1.0.48
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/pro-gallery",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.48",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
6
6
|
"access": "public"
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"type-bundles"
|
19
19
|
],
|
20
20
|
"dependencies": {
|
21
|
-
"@wix/pro-gallery_pro-gallery": "1.0.
|
21
|
+
"@wix/pro-gallery_pro-gallery": "1.0.19"
|
22
22
|
},
|
23
23
|
"devDependencies": {
|
24
24
|
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
@@ -43,5 +43,5 @@
|
|
43
43
|
"fqdn": ""
|
44
44
|
}
|
45
45
|
},
|
46
|
-
"falconPackageHash": "
|
46
|
+
"falconPackageHash": "bb34791a4ea3abff00cbc8bc0c0b5d51daf481a19bdd313796fd0989"
|
47
47
|
}
|
@@ -155,7 +155,7 @@ interface Text {
|
|
155
155
|
/**
|
156
156
|
* Set of key-value pairs describing the [CSS style](https://en.wikipedia.org/wiki/CSS) of the text.
|
157
157
|
*
|
158
|
-
* __Note:__ The object structure is customizable. See the [
|
158
|
+
* __Note:__ The object structure is customizable. See the [`listGalleryItems()`](/pro-gallery/list-gallery-items) code example for supported values.
|
159
159
|
*/
|
160
160
|
css?: Record<string, any> | null;
|
161
161
|
/** Reserved for internal use. */
|
@@ -229,6 +229,10 @@ interface DeleteGalleryResponse {
|
|
229
229
|
*/
|
230
230
|
galleryId?: string;
|
231
231
|
}
|
232
|
+
interface DeleteGalleryItemsResponse {
|
233
|
+
/** Gallery that previously included the deleted media item. */
|
234
|
+
gallery?: Gallery;
|
235
|
+
}
|
232
236
|
interface DeleteGalleryItemResponse {
|
233
237
|
/**
|
234
238
|
* ID of the deleted media item.
|
@@ -236,6 +240,10 @@ interface DeleteGalleryItemResponse {
|
|
236
240
|
*/
|
237
241
|
itemId?: string;
|
238
242
|
}
|
243
|
+
interface PublishGalleryResponse {
|
244
|
+
/** Published gallery. */
|
245
|
+
gallery?: Gallery;
|
246
|
+
}
|
239
247
|
interface ListGalleriesResponseNonNullableFields {
|
240
248
|
galleries: {
|
241
249
|
items: {
|
@@ -279,9 +287,51 @@ interface ListGalleryItemsResponseNonNullableFields {
|
|
279
287
|
interface DeleteGalleryResponseNonNullableFields {
|
280
288
|
galleryId: string;
|
281
289
|
}
|
290
|
+
interface DeleteGalleryItemsResponseNonNullableFields {
|
291
|
+
gallery?: {
|
292
|
+
items: {
|
293
|
+
image?: {
|
294
|
+
imageInfo: string;
|
295
|
+
focalPoint?: {
|
296
|
+
x: number;
|
297
|
+
y: number;
|
298
|
+
};
|
299
|
+
};
|
300
|
+
video?: {
|
301
|
+
type: VideoType;
|
302
|
+
videoInfo: string;
|
303
|
+
};
|
304
|
+
type: Type;
|
305
|
+
tags?: {
|
306
|
+
values: string[];
|
307
|
+
};
|
308
|
+
}[];
|
309
|
+
};
|
310
|
+
}
|
282
311
|
interface DeleteGalleryItemResponseNonNullableFields {
|
283
312
|
itemId: string;
|
284
313
|
}
|
314
|
+
interface PublishGalleryResponseNonNullableFields {
|
315
|
+
gallery?: {
|
316
|
+
items: {
|
317
|
+
image?: {
|
318
|
+
imageInfo: string;
|
319
|
+
focalPoint?: {
|
320
|
+
x: number;
|
321
|
+
y: number;
|
322
|
+
};
|
323
|
+
};
|
324
|
+
video?: {
|
325
|
+
type: VideoType;
|
326
|
+
videoInfo: string;
|
327
|
+
};
|
328
|
+
type: Type;
|
329
|
+
tags?: {
|
330
|
+
values: string[];
|
331
|
+
};
|
332
|
+
}[];
|
333
|
+
};
|
334
|
+
}
|
285
335
|
interface BaseEventMetadata {
|
286
336
|
/** App instance ID. */
|
287
337
|
instanceId?: string | null;
|
@@ -352,15 +402,15 @@ interface GalleryItemDeletedEnvelope {
|
|
352
402
|
metadata: EventMetadata;
|
353
403
|
}
|
354
404
|
interface ListGalleriesOptions {
|
355
|
-
/** Number of galleries to list. Defaults to 10
|
405
|
+
/** Number of galleries to list. Defaults to `10`. */
|
356
406
|
itemLimit?: number | null;
|
357
|
-
/** Number of galleries to skip in the returns. Defaults to 0
|
407
|
+
/** Number of galleries to skip in the returns. Defaults to `0`. */
|
358
408
|
offset?: number | null;
|
359
|
-
/** Number of galleries to list. Defaults to 10
|
409
|
+
/** Number of galleries to list. Defaults to `10`. */
|
360
410
|
limit?: number | null;
|
361
411
|
}
|
362
412
|
interface GetGalleryOptions extends GetGalleryRequestVersionOneOf {
|
363
|
-
/** Number of media items to skip in the returns. Defaults to 0
|
413
|
+
/** Number of media items to skip in the returns. Defaults to `0`. */
|
364
414
|
itemOffset?: number | null;
|
365
415
|
/**
|
366
416
|
* Maximum number of media items to return. <br />
|
@@ -372,7 +422,7 @@ interface GetGalleryOptions extends GetGalleryRequestVersionOneOf {
|
|
372
422
|
itemLimit?: number | null;
|
373
423
|
}
|
374
424
|
interface ListGalleryItemsOptions {
|
375
|
-
/** Number of media items to skip in the returns. Defaults to 0
|
425
|
+
/** Number of media items to skip in the returns. Defaults to `0`. */
|
376
426
|
itemOffset?: number | null;
|
377
427
|
/**
|
378
428
|
* Maximum number of media items to return. <br />
|
@@ -422,6 +472,10 @@ interface UpdateGallery {
|
|
422
472
|
*/
|
423
473
|
_createdDate?: Date;
|
424
474
|
}
|
475
|
+
interface DeleteGalleryItemsOptions {
|
476
|
+
/** ID of the media item to delete. */
|
477
|
+
itemsIds?: string[];
|
478
|
+
}
|
425
479
|
interface UpdateGalleryItemIdentifiers {
|
426
480
|
/** ID of the gallery containing the item to update. */
|
427
481
|
galleryId: string;
|
@@ -591,6 +645,7 @@ declare function updateGallery$1(httpClient: HttpClient): (_id: string | null, g
|
|
591
645
|
}[];
|
592
646
|
}>;
|
593
647
|
declare function deleteGallery$1(httpClient: HttpClient): (galleryId: string) => Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
|
648
|
+
declare function deleteGalleryItems$1(httpClient: HttpClient): (galleryId: string, options?: DeleteGalleryItemsOptions) => Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
|
594
649
|
declare function createGalleryItem$1(httpClient: HttpClient): (galleryId: string, item: Item) => Promise<Item & {
|
595
650
|
image?: {
|
596
651
|
imageInfo: string;
|
@@ -626,6 +681,7 @@ declare function updateGalleryItem$1(httpClient: HttpClient): (identifiers: Upda
|
|
626
681
|
} | undefined;
|
627
682
|
}>;
|
628
683
|
declare function deleteGalleryItem$1(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
|
684
|
+
declare function publishGallery$1(httpClient: HttpClient): (galleryId: string) => Promise<PublishGalleryResponse & PublishGalleryResponseNonNullableFields>;
|
629
685
|
declare const onGalleryCreated$1: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
|
630
686
|
declare const onGalleryUpdated$1: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
|
631
687
|
declare const onGalleryDeleted$1: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
|
@@ -640,9 +696,11 @@ declare const getGalleryItem: BuildRESTFunction<typeof getGalleryItem$1>;
|
|
640
696
|
declare const createGallery: BuildRESTFunction<typeof createGallery$1>;
|
641
697
|
declare const updateGallery: BuildRESTFunction<typeof updateGallery$1>;
|
642
698
|
declare const deleteGallery: BuildRESTFunction<typeof deleteGallery$1>;
|
699
|
+
declare const deleteGalleryItems: BuildRESTFunction<typeof deleteGalleryItems$1>;
|
643
700
|
declare const createGalleryItem: BuildRESTFunction<typeof createGalleryItem$1>;
|
644
701
|
declare const updateGalleryItem: BuildRESTFunction<typeof updateGalleryItem$1>;
|
645
702
|
declare const deleteGalleryItem: BuildRESTFunction<typeof deleteGalleryItem$1>;
|
703
|
+
declare const publishGallery: BuildRESTFunction<typeof publishGallery$1>;
|
646
704
|
declare const onGalleryCreated: BuildEventDefinition<typeof onGalleryCreated$1>;
|
647
705
|
declare const onGalleryUpdated: BuildEventDefinition<typeof onGalleryUpdated$1>;
|
648
706
|
declare const onGalleryDeleted: BuildEventDefinition<typeof onGalleryDeleted$1>;
|
@@ -654,6 +712,7 @@ declare const context_createGallery: typeof createGallery;
|
|
654
712
|
declare const context_createGalleryItem: typeof createGalleryItem;
|
655
713
|
declare const context_deleteGallery: typeof deleteGallery;
|
656
714
|
declare const context_deleteGalleryItem: typeof deleteGalleryItem;
|
715
|
+
declare const context_deleteGalleryItems: typeof deleteGalleryItems;
|
657
716
|
declare const context_getGallery: typeof getGallery;
|
658
717
|
declare const context_getGalleryItem: typeof getGalleryItem;
|
659
718
|
declare const context_listGalleries: typeof listGalleries;
|
@@ -664,10 +723,11 @@ declare const context_onGalleryItemCreated: typeof onGalleryItemCreated;
|
|
664
723
|
declare const context_onGalleryItemDeleted: typeof onGalleryItemDeleted;
|
665
724
|
declare const context_onGalleryItemUpdated: typeof onGalleryItemUpdated;
|
666
725
|
declare const context_onGalleryUpdated: typeof onGalleryUpdated;
|
726
|
+
declare const context_publishGallery: typeof publishGallery;
|
667
727
|
declare const context_updateGallery: typeof updateGallery;
|
668
728
|
declare const context_updateGalleryItem: typeof updateGalleryItem;
|
669
729
|
declare namespace context {
|
670
|
-
export { context_createGallery as createGallery, context_createGalleryItem as createGalleryItem, context_deleteGallery as deleteGallery, context_deleteGalleryItem as deleteGalleryItem, context_getGallery as getGallery, context_getGalleryItem as getGalleryItem, context_listGalleries as listGalleries, context_listGalleryItems as listGalleryItems, context_onGalleryCreated as onGalleryCreated, context_onGalleryDeleted as onGalleryDeleted, context_onGalleryItemCreated as onGalleryItemCreated, context_onGalleryItemDeleted as onGalleryItemDeleted, context_onGalleryItemUpdated as onGalleryItemUpdated, context_onGalleryUpdated as onGalleryUpdated, context_updateGallery as updateGallery, context_updateGalleryItem as updateGalleryItem };
|
730
|
+
export { context_createGallery as createGallery, context_createGalleryItem as createGalleryItem, context_deleteGallery as deleteGallery, context_deleteGalleryItem as deleteGalleryItem, context_deleteGalleryItems as deleteGalleryItems, context_getGallery as getGallery, context_getGalleryItem as getGalleryItem, context_listGalleries as listGalleries, context_listGalleryItems as listGalleryItems, context_onGalleryCreated as onGalleryCreated, context_onGalleryDeleted as onGalleryDeleted, context_onGalleryItemCreated as onGalleryItemCreated, context_onGalleryItemDeleted as onGalleryItemDeleted, context_onGalleryItemUpdated as onGalleryItemUpdated, context_onGalleryUpdated as onGalleryUpdated, context_publishGallery as publishGallery, context_updateGallery as updateGallery, context_updateGalleryItem as updateGalleryItem };
|
671
731
|
}
|
672
732
|
|
673
733
|
export { context as proGallery };
|
@@ -321,7 +321,7 @@ interface Text {
|
|
321
321
|
/**
|
322
322
|
* Set of key-value pairs describing the [CSS style](https://en.wikipedia.org/wiki/CSS) of the text.
|
323
323
|
*
|
324
|
-
* __Note:__ The object structure is customizable. See the [
|
324
|
+
* __Note:__ The object structure is customizable. See the [`listGalleryItems()`](/pro-gallery/list-gallery-items) code example for supported values.
|
325
325
|
*/
|
326
326
|
css?: Record<string, any> | null;
|
327
327
|
/** Reserved for internal use. */
|
@@ -735,11 +735,11 @@ interface GalleryItemDeleted {
|
|
735
735
|
itemId?: string;
|
736
736
|
}
|
737
737
|
interface ListGalleriesRequest {
|
738
|
-
/** Number of galleries to list. Defaults to 10
|
738
|
+
/** Number of galleries to list. Defaults to `10`. */
|
739
739
|
itemLimit?: number | null;
|
740
|
-
/** Number of galleries to skip in the returns. Defaults to 0
|
740
|
+
/** Number of galleries to skip in the returns. Defaults to `0`. */
|
741
741
|
offset?: number | null;
|
742
|
-
/** Number of galleries to list. Defaults to 10
|
742
|
+
/** Number of galleries to list. Defaults to `10`. */
|
743
743
|
limit?: number | null;
|
744
744
|
}
|
745
745
|
declare enum State {
|
@@ -758,7 +758,7 @@ interface ListGalleriesResponse {
|
|
758
758
|
interface GetGalleryRequest extends GetGalleryRequestVersionOneOf {
|
759
759
|
/** Gallery ID. */
|
760
760
|
galleryId: string;
|
761
|
-
/** Number of media items to skip in the returns. Defaults to 0
|
761
|
+
/** Number of media items to skip in the returns. Defaults to `0`. */
|
762
762
|
itemOffset?: number | null;
|
763
763
|
/**
|
764
764
|
* Maximum number of media items to return. <br />
|
@@ -779,7 +779,7 @@ interface GetGalleryResponse {
|
|
779
779
|
interface ListGalleryItemsRequest {
|
780
780
|
/** Gallery ID. */
|
781
781
|
galleryId: string;
|
782
|
-
/** Number of media items to skip in the returns. Defaults to 0
|
782
|
+
/** Number of media items to skip in the returns. Defaults to `0`. */
|
783
783
|
itemOffset?: number | null;
|
784
784
|
/**
|
785
785
|
* Maximum number of media items to return. <br />
|
@@ -835,7 +835,7 @@ interface DeleteGalleryResponse {
|
|
835
835
|
}
|
836
836
|
interface DeleteGalleryItemsRequest {
|
837
837
|
/** Gallery ID. */
|
838
|
-
galleryId
|
838
|
+
galleryId: string;
|
839
839
|
/** ID of the media item to delete. */
|
840
840
|
itemsIds?: string[];
|
841
841
|
}
|
@@ -888,7 +888,7 @@ interface DeleteGalleryItemResponse {
|
|
888
888
|
}
|
889
889
|
interface PublishGalleryRequest {
|
890
890
|
/** ID of the gallery to publish. */
|
891
|
-
galleryId
|
891
|
+
galleryId: string;
|
892
892
|
}
|
893
893
|
interface PublishGalleryResponse {
|
894
894
|
/** Published gallery. */
|
@@ -1019,6 +1019,27 @@ interface UpdateGalleryResponseNonNullableFields {
|
|
1019
1019
|
interface DeleteGalleryResponseNonNullableFields {
|
1020
1020
|
galleryId: string;
|
1021
1021
|
}
|
1022
|
+
interface DeleteGalleryItemsResponseNonNullableFields {
|
1023
|
+
gallery?: {
|
1024
|
+
items: {
|
1025
|
+
image?: {
|
1026
|
+
imageInfo: string;
|
1027
|
+
focalPoint?: {
|
1028
|
+
x: number;
|
1029
|
+
y: number;
|
1030
|
+
};
|
1031
|
+
};
|
1032
|
+
video?: {
|
1033
|
+
type: VideoType;
|
1034
|
+
videoInfo: string;
|
1035
|
+
};
|
1036
|
+
type: Type;
|
1037
|
+
tags?: {
|
1038
|
+
values: string[];
|
1039
|
+
};
|
1040
|
+
}[];
|
1041
|
+
};
|
1042
|
+
}
|
1022
1043
|
interface CreateGalleryItemResponseNonNullableFields {
|
1023
1044
|
item?: {
|
1024
1045
|
image?: {
|
@@ -1060,6 +1081,27 @@ interface UpdateGalleryItemResponseNonNullableFields {
|
|
1060
1081
|
interface DeleteGalleryItemResponseNonNullableFields {
|
1061
1082
|
itemId: string;
|
1062
1083
|
}
|
1084
|
+
interface PublishGalleryResponseNonNullableFields {
|
1085
|
+
gallery?: {
|
1086
|
+
items: {
|
1087
|
+
image?: {
|
1088
|
+
imageInfo: string;
|
1089
|
+
focalPoint?: {
|
1090
|
+
x: number;
|
1091
|
+
y: number;
|
1092
|
+
};
|
1093
|
+
};
|
1094
|
+
video?: {
|
1095
|
+
type: VideoType;
|
1096
|
+
videoInfo: string;
|
1097
|
+
};
|
1098
|
+
type: Type;
|
1099
|
+
tags?: {
|
1100
|
+
values: string[];
|
1101
|
+
};
|
1102
|
+
}[];
|
1103
|
+
};
|
1104
|
+
}
|
1063
1105
|
interface BaseEventMetadata {
|
1064
1106
|
/** App instance ID. */
|
1065
1107
|
instanceId?: string | null;
|
@@ -1130,15 +1172,15 @@ interface GalleryItemDeletedEnvelope {
|
|
1130
1172
|
metadata: EventMetadata;
|
1131
1173
|
}
|
1132
1174
|
interface ListGalleriesOptions {
|
1133
|
-
/** Number of galleries to list. Defaults to 10
|
1175
|
+
/** Number of galleries to list. Defaults to `10`. */
|
1134
1176
|
itemLimit?: number | null;
|
1135
|
-
/** Number of galleries to skip in the returns. Defaults to 0
|
1177
|
+
/** Number of galleries to skip in the returns. Defaults to `0`. */
|
1136
1178
|
offset?: number | null;
|
1137
|
-
/** Number of galleries to list. Defaults to 10
|
1179
|
+
/** Number of galleries to list. Defaults to `10`. */
|
1138
1180
|
limit?: number | null;
|
1139
1181
|
}
|
1140
1182
|
interface GetGalleryOptions extends GetGalleryRequestVersionOneOf {
|
1141
|
-
/** Number of media items to skip in the returns. Defaults to 0
|
1183
|
+
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1142
1184
|
itemOffset?: number | null;
|
1143
1185
|
/**
|
1144
1186
|
* Maximum number of media items to return. <br />
|
@@ -1150,7 +1192,7 @@ interface GetGalleryOptions extends GetGalleryRequestVersionOneOf {
|
|
1150
1192
|
itemLimit?: number | null;
|
1151
1193
|
}
|
1152
1194
|
interface ListGalleryItemsOptions {
|
1153
|
-
/** Number of media items to skip in the returns. Defaults to 0
|
1195
|
+
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1154
1196
|
itemOffset?: number | null;
|
1155
1197
|
/**
|
1156
1198
|
* Maximum number of media items to return. <br />
|
@@ -1200,6 +1242,10 @@ interface UpdateGallery {
|
|
1200
1242
|
*/
|
1201
1243
|
_createdDate?: Date;
|
1202
1244
|
}
|
1245
|
+
interface DeleteGalleryItemsOptions {
|
1246
|
+
/** ID of the media item to delete. */
|
1247
|
+
itemsIds?: string[];
|
1248
|
+
}
|
1203
1249
|
interface UpdateGalleryItemIdentifiers {
|
1204
1250
|
/** ID of the gallery containing the item to update. */
|
1205
1251
|
galleryId: string;
|
@@ -1368,6 +1414,7 @@ declare function updateGallery(httpClient: HttpClient): (_id: string | null, gal
|
|
1368
1414
|
}[];
|
1369
1415
|
}>;
|
1370
1416
|
declare function deleteGallery(httpClient: HttpClient): (galleryId: string) => Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
|
1417
|
+
declare function deleteGalleryItems(httpClient: HttpClient): (galleryId: string, options?: DeleteGalleryItemsOptions) => Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
|
1371
1418
|
declare function createGalleryItem(httpClient: HttpClient): (galleryId: string, item: Item) => Promise<Item & {
|
1372
1419
|
image?: {
|
1373
1420
|
imageInfo: string;
|
@@ -1403,6 +1450,7 @@ declare function updateGalleryItem(httpClient: HttpClient): (identifiers: Update
|
|
1403
1450
|
} | undefined;
|
1404
1451
|
}>;
|
1405
1452
|
declare function deleteGalleryItem(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
|
1453
|
+
declare function publishGallery(httpClient: HttpClient): (galleryId: string) => Promise<PublishGalleryResponse & PublishGalleryResponseNonNullableFields>;
|
1406
1454
|
declare const onGalleryCreated: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
|
1407
1455
|
declare const onGalleryUpdated: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
|
1408
1456
|
declare const onGalleryDeleted: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
|
@@ -1431,8 +1479,10 @@ type index_d_DeleteGalleryItemIdentifiers = DeleteGalleryItemIdentifiers;
|
|
1431
1479
|
type index_d_DeleteGalleryItemRequest = DeleteGalleryItemRequest;
|
1432
1480
|
type index_d_DeleteGalleryItemResponse = DeleteGalleryItemResponse;
|
1433
1481
|
type index_d_DeleteGalleryItemResponseNonNullableFields = DeleteGalleryItemResponseNonNullableFields;
|
1482
|
+
type index_d_DeleteGalleryItemsOptions = DeleteGalleryItemsOptions;
|
1434
1483
|
type index_d_DeleteGalleryItemsRequest = DeleteGalleryItemsRequest;
|
1435
1484
|
type index_d_DeleteGalleryItemsResponse = DeleteGalleryItemsResponse;
|
1485
|
+
type index_d_DeleteGalleryItemsResponseNonNullableFields = DeleteGalleryItemsResponseNonNullableFields;
|
1436
1486
|
type index_d_DeleteGalleryRequest = DeleteGalleryRequest;
|
1437
1487
|
type index_d_DeleteGalleryResponse = DeleteGalleryResponse;
|
1438
1488
|
type index_d_DeleteGalleryResponseNonNullableFields = DeleteGalleryResponseNonNullableFields;
|
@@ -1516,6 +1566,7 @@ type index_d_PublishGalleryItemsRequest = PublishGalleryItemsRequest;
|
|
1516
1566
|
type index_d_PublishGalleryItemsResponse = PublishGalleryItemsResponse;
|
1517
1567
|
type index_d_PublishGalleryRequest = PublishGalleryRequest;
|
1518
1568
|
type index_d_PublishGalleryResponse = PublishGalleryResponse;
|
1569
|
+
type index_d_PublishGalleryResponseNonNullableFields = PublishGalleryResponseNonNullableFields;
|
1519
1570
|
type index_d_SearchIndexingNotification = SearchIndexingNotification;
|
1520
1571
|
type index_d_SearchIndexingNotificationState = SearchIndexingNotificationState;
|
1521
1572
|
declare const index_d_SearchIndexingNotificationState: typeof SearchIndexingNotificationState;
|
@@ -1557,6 +1608,7 @@ declare const index_d_createGallery: typeof createGallery;
|
|
1557
1608
|
declare const index_d_createGalleryItem: typeof createGalleryItem;
|
1558
1609
|
declare const index_d_deleteGallery: typeof deleteGallery;
|
1559
1610
|
declare const index_d_deleteGalleryItem: typeof deleteGalleryItem;
|
1611
|
+
declare const index_d_deleteGalleryItems: typeof deleteGalleryItems;
|
1560
1612
|
declare const index_d_getGallery: typeof getGallery;
|
1561
1613
|
declare const index_d_getGalleryItem: typeof getGalleryItem;
|
1562
1614
|
declare const index_d_listGalleries: typeof listGalleries;
|
@@ -1567,10 +1619,11 @@ declare const index_d_onGalleryItemCreated: typeof onGalleryItemCreated;
|
|
1567
1619
|
declare const index_d_onGalleryItemDeleted: typeof onGalleryItemDeleted;
|
1568
1620
|
declare const index_d_onGalleryItemUpdated: typeof onGalleryItemUpdated;
|
1569
1621
|
declare const index_d_onGalleryUpdated: typeof onGalleryUpdated;
|
1622
|
+
declare const index_d_publishGallery: typeof publishGallery;
|
1570
1623
|
declare const index_d_updateGallery: typeof updateGallery;
|
1571
1624
|
declare const index_d_updateGalleryItem: typeof updateGalleryItem;
|
1572
1625
|
declare namespace index_d {
|
1573
|
-
export { type index_d_ActionEvent as ActionEvent, type index_d_AddressLink as AddressLink, type index_d_AnchorLink as AnchorLink, type index_d_App as App, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CleanDeletedGalleriesEvent as CleanDeletedGalleriesEvent, type index_d_CreateGalleryItemRequest as CreateGalleryItemRequest, type index_d_CreateGalleryItemResponse as CreateGalleryItemResponse, type index_d_CreateGalleryItemResponseNonNullableFields as CreateGalleryItemResponseNonNullableFields, type index_d_CreateGalleryItemsRequest as CreateGalleryItemsRequest, type index_d_CreateGalleryItemsResponse as CreateGalleryItemsResponse, type index_d_CreateGalleryOptions as CreateGalleryOptions, type index_d_CreateGalleryRequest as CreateGalleryRequest, type index_d_CreateGalleryResponse as CreateGalleryResponse, type index_d_CreateGalleryResponseNonNullableFields as CreateGalleryResponseNonNullableFields, type index_d_DeleteByFilterOperation as DeleteByFilterOperation, type index_d_DeleteByIdsOperation as DeleteByIdsOperation, type index_d_DeleteGalleryItemIdentifiers as DeleteGalleryItemIdentifiers, type index_d_DeleteGalleryItemRequest as DeleteGalleryItemRequest, type index_d_DeleteGalleryItemResponse as DeleteGalleryItemResponse, type index_d_DeleteGalleryItemResponseNonNullableFields as DeleteGalleryItemResponseNonNullableFields, type index_d_DeleteGalleryItemsRequest as DeleteGalleryItemsRequest, type index_d_DeleteGalleryItemsResponse as DeleteGalleryItemsResponse, type index_d_DeleteGalleryRequest as DeleteGalleryRequest, type index_d_DeleteGalleryResponse as DeleteGalleryResponse, type index_d_DeleteGalleryResponseNonNullableFields as DeleteGalleryResponseNonNullableFields, type index_d_DocumentImage as DocumentImage, type index_d_DocumentLink as DocumentLink, type index_d_DocumentPayload as DocumentPayload, type index_d_DocumentUpdateOperation as DocumentUpdateOperation, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_DynamicPageLink as DynamicPageLink, type index_d_EmailLink as EmailLink, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, index_d_Enum as Enum, type index_d_EventMetadata as EventMetadata, type index_d_EventsPage as EventsPage, type index_d_ExternalLink as ExternalLink, type index_d_File as File, type index_d_Gallery as Gallery, type index_d_GalleryCreatedEnvelope as GalleryCreatedEnvelope, type index_d_GalleryDeletedEnvelope as GalleryDeletedEnvelope, type index_d_GalleryItemCreated as GalleryItemCreated, type index_d_GalleryItemCreatedEnvelope as GalleryItemCreatedEnvelope, type index_d_GalleryItemDeleted as GalleryItemDeleted, type index_d_GalleryItemDeletedEnvelope as GalleryItemDeletedEnvelope, type index_d_GalleryItemUpdated as GalleryItemUpdated, type index_d_GalleryItemUpdatedEnvelope as GalleryItemUpdatedEnvelope, type index_d_GalleryPublished as GalleryPublished, type index_d_GalleryUpdatedEnvelope as GalleryUpdatedEnvelope, type index_d_GetGalleryItemIdentifiers as GetGalleryItemIdentifiers, type index_d_GetGalleryItemRequest as GetGalleryItemRequest, type index_d_GetGalleryItemResponse as GetGalleryItemResponse, type index_d_GetGalleryItemResponseNonNullableFields as GetGalleryItemResponseNonNullableFields, type index_d_GetGalleryOptions as GetGalleryOptions, type index_d_GetGalleryRequest as GetGalleryRequest, type index_d_GetGalleryRequestVersionOneOf as GetGalleryRequestVersionOneOf, type index_d_GetGalleryResponse as GetGalleryResponse, type index_d_GetGalleryResponseNonNullableFields as GetGalleryResponseNonNullableFields, type index_d_HtmlSitePublished as HtmlSitePublished, type index_d_HtmlSiteRCPublished as HtmlSiteRCPublished, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Image as Image, index_d_ImageType as ImageType, type index_d_IndexDocument as IndexDocument, type index_d_InvalidateCache as InvalidateCache, type index_d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d_Item as Item, type index_d_ItemId as ItemId, type index_d_ItemMetadataOneOf as ItemMetadataOneOf, type index_d_ItemsInGallery as ItemsInGallery, type index_d_Link as Link, index_d_LinkRel as LinkRel, index_d_LinkType as LinkType, type index_d_ListGalleriesItemsRequest as ListGalleriesItemsRequest, type index_d_ListGalleriesItemsResponse as ListGalleriesItemsResponse, type index_d_ListGalleriesOptions as ListGalleriesOptions, type index_d_ListGalleriesRequest as ListGalleriesRequest, type index_d_ListGalleriesResponse as ListGalleriesResponse, type index_d_ListGalleriesResponseNonNullableFields as ListGalleriesResponseNonNullableFields, type index_d_ListGalleryItemsOptions as ListGalleryItemsOptions, type index_d_ListGalleryItemsRequest as ListGalleryItemsRequest, type index_d_ListGalleryItemsResponse as ListGalleryItemsResponse, type index_d_ListGalleryItemsResponseNonNullableFields as ListGalleryItemsResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Page as Page, type index_d_PageLink as PageLink, type index_d_PhoneLink as PhoneLink, type index_d_Point as Point, type index_d_ProgallerypublisherPublishGalleryRequest as ProgallerypublisherPublishGalleryRequest, type index_d_ProgallerypublisherPublishGalleryResponse as ProgallerypublisherPublishGalleryResponse, type index_d_PublishGalleryItemRequest as PublishGalleryItemRequest, type index_d_PublishGalleryItemResponse as PublishGalleryItemResponse, type index_d_PublishGalleryItemsRequest as PublishGalleryItemsRequest, type index_d_PublishGalleryItemsResponse as PublishGalleryItemsResponse, type index_d_PublishGalleryRequest as PublishGalleryRequest, type index_d_PublishGalleryResponse as PublishGalleryResponse, type index_d_SearchIndexingNotification as SearchIndexingNotification, index_d_SearchIndexingNotificationState as SearchIndexingNotificationState, type index_d_SecondaryMedia as SecondaryMedia, type index_d_SecondaryMediaMetadataOneOf as SecondaryMediaMetadataOneOf, index_d_State as State, type index_d_Tags as Tags, type index_d_Text as Text, type index_d_TpaPageLink as TpaPageLink, index_d_Type as Type, type index_d_URI as URI, type index_d_UnsharpMasking as UnsharpMasking, type index_d_UpdateByFilterOperation as UpdateByFilterOperation, type index_d_UpdateDocumentsEvent as UpdateDocumentsEvent, type index_d_UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOf, type index_d_UpdateExistingOperation as UpdateExistingOperation, type index_d_UpdateGallery as UpdateGallery, type index_d_UpdateGalleryItem as UpdateGalleryItem, type index_d_UpdateGalleryItemIdentifiers as UpdateGalleryItemIdentifiers, type index_d_UpdateGalleryItemRequest as UpdateGalleryItemRequest, type index_d_UpdateGalleryItemResponse as UpdateGalleryItemResponse, type index_d_UpdateGalleryItemResponseNonNullableFields as UpdateGalleryItemResponseNonNullableFields, type index_d_UpdateGalleryRequest as UpdateGalleryRequest, type index_d_UpdateGalleryResponse as UpdateGalleryResponse, type index_d_UpdateGalleryResponseNonNullableFields as UpdateGalleryResponseNonNullableFields, type index_d_Video as Video, type index_d_VideoResolution as VideoResolution, index_d_VideoType as VideoType, index_d_WebhookIdentityType as WebhookIdentityType, type index_d_WhatsAppLink as WhatsAppLink, type index_d_WixLink as WixLink, type index_d_WixLinkLinkOneOf as WixLinkLinkOneOf, index_d___metadata as __metadata, index_d_createGallery as createGallery, index_d_createGalleryItem as createGalleryItem, index_d_deleteGallery as deleteGallery, index_d_deleteGalleryItem as deleteGalleryItem, index_d_getGallery as getGallery, index_d_getGalleryItem as getGalleryItem, index_d_listGalleries as listGalleries, index_d_listGalleryItems as listGalleryItems, index_d_onGalleryCreated as onGalleryCreated, index_d_onGalleryDeleted as onGalleryDeleted, index_d_onGalleryItemCreated as onGalleryItemCreated, index_d_onGalleryItemDeleted as onGalleryItemDeleted, index_d_onGalleryItemUpdated as onGalleryItemUpdated, index_d_onGalleryUpdated as onGalleryUpdated, index_d_updateGallery as updateGallery, index_d_updateGalleryItem as updateGalleryItem };
|
1626
|
+
export { type index_d_ActionEvent as ActionEvent, type index_d_AddressLink as AddressLink, type index_d_AnchorLink as AnchorLink, type index_d_App as App, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CleanDeletedGalleriesEvent as CleanDeletedGalleriesEvent, type index_d_CreateGalleryItemRequest as CreateGalleryItemRequest, type index_d_CreateGalleryItemResponse as CreateGalleryItemResponse, type index_d_CreateGalleryItemResponseNonNullableFields as CreateGalleryItemResponseNonNullableFields, type index_d_CreateGalleryItemsRequest as CreateGalleryItemsRequest, type index_d_CreateGalleryItemsResponse as CreateGalleryItemsResponse, type index_d_CreateGalleryOptions as CreateGalleryOptions, type index_d_CreateGalleryRequest as CreateGalleryRequest, type index_d_CreateGalleryResponse as CreateGalleryResponse, type index_d_CreateGalleryResponseNonNullableFields as CreateGalleryResponseNonNullableFields, type index_d_DeleteByFilterOperation as DeleteByFilterOperation, type index_d_DeleteByIdsOperation as DeleteByIdsOperation, type index_d_DeleteGalleryItemIdentifiers as DeleteGalleryItemIdentifiers, type index_d_DeleteGalleryItemRequest as DeleteGalleryItemRequest, type index_d_DeleteGalleryItemResponse as DeleteGalleryItemResponse, type index_d_DeleteGalleryItemResponseNonNullableFields as DeleteGalleryItemResponseNonNullableFields, type index_d_DeleteGalleryItemsOptions as DeleteGalleryItemsOptions, type index_d_DeleteGalleryItemsRequest as DeleteGalleryItemsRequest, type index_d_DeleteGalleryItemsResponse as DeleteGalleryItemsResponse, type index_d_DeleteGalleryItemsResponseNonNullableFields as DeleteGalleryItemsResponseNonNullableFields, type index_d_DeleteGalleryRequest as DeleteGalleryRequest, type index_d_DeleteGalleryResponse as DeleteGalleryResponse, type index_d_DeleteGalleryResponseNonNullableFields as DeleteGalleryResponseNonNullableFields, type index_d_DocumentImage as DocumentImage, type index_d_DocumentLink as DocumentLink, type index_d_DocumentPayload as DocumentPayload, type index_d_DocumentUpdateOperation as DocumentUpdateOperation, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_DynamicPageLink as DynamicPageLink, type index_d_EmailLink as EmailLink, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, index_d_Enum as Enum, type index_d_EventMetadata as EventMetadata, type index_d_EventsPage as EventsPage, type index_d_ExternalLink as ExternalLink, type index_d_File as File, type index_d_Gallery as Gallery, type index_d_GalleryCreatedEnvelope as GalleryCreatedEnvelope, type index_d_GalleryDeletedEnvelope as GalleryDeletedEnvelope, type index_d_GalleryItemCreated as GalleryItemCreated, type index_d_GalleryItemCreatedEnvelope as GalleryItemCreatedEnvelope, type index_d_GalleryItemDeleted as GalleryItemDeleted, type index_d_GalleryItemDeletedEnvelope as GalleryItemDeletedEnvelope, type index_d_GalleryItemUpdated as GalleryItemUpdated, type index_d_GalleryItemUpdatedEnvelope as GalleryItemUpdatedEnvelope, type index_d_GalleryPublished as GalleryPublished, type index_d_GalleryUpdatedEnvelope as GalleryUpdatedEnvelope, type index_d_GetGalleryItemIdentifiers as GetGalleryItemIdentifiers, type index_d_GetGalleryItemRequest as GetGalleryItemRequest, type index_d_GetGalleryItemResponse as GetGalleryItemResponse, type index_d_GetGalleryItemResponseNonNullableFields as GetGalleryItemResponseNonNullableFields, type index_d_GetGalleryOptions as GetGalleryOptions, type index_d_GetGalleryRequest as GetGalleryRequest, type index_d_GetGalleryRequestVersionOneOf as GetGalleryRequestVersionOneOf, type index_d_GetGalleryResponse as GetGalleryResponse, type index_d_GetGalleryResponseNonNullableFields as GetGalleryResponseNonNullableFields, type index_d_HtmlSitePublished as HtmlSitePublished, type index_d_HtmlSiteRCPublished as HtmlSiteRCPublished, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_Image as Image, index_d_ImageType as ImageType, type index_d_IndexDocument as IndexDocument, type index_d_InvalidateCache as InvalidateCache, type index_d_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d_Item as Item, type index_d_ItemId as ItemId, type index_d_ItemMetadataOneOf as ItemMetadataOneOf, type index_d_ItemsInGallery as ItemsInGallery, type index_d_Link as Link, index_d_LinkRel as LinkRel, index_d_LinkType as LinkType, type index_d_ListGalleriesItemsRequest as ListGalleriesItemsRequest, type index_d_ListGalleriesItemsResponse as ListGalleriesItemsResponse, type index_d_ListGalleriesOptions as ListGalleriesOptions, type index_d_ListGalleriesRequest as ListGalleriesRequest, type index_d_ListGalleriesResponse as ListGalleriesResponse, type index_d_ListGalleriesResponseNonNullableFields as ListGalleriesResponseNonNullableFields, type index_d_ListGalleryItemsOptions as ListGalleryItemsOptions, type index_d_ListGalleryItemsRequest as ListGalleryItemsRequest, type index_d_ListGalleryItemsResponse as ListGalleryItemsResponse, type index_d_ListGalleryItemsResponseNonNullableFields as ListGalleryItemsResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Page as Page, type index_d_PageLink as PageLink, type index_d_PhoneLink as PhoneLink, type index_d_Point as Point, type index_d_ProgallerypublisherPublishGalleryRequest as ProgallerypublisherPublishGalleryRequest, type index_d_ProgallerypublisherPublishGalleryResponse as ProgallerypublisherPublishGalleryResponse, type index_d_PublishGalleryItemRequest as PublishGalleryItemRequest, type index_d_PublishGalleryItemResponse as PublishGalleryItemResponse, type index_d_PublishGalleryItemsRequest as PublishGalleryItemsRequest, type index_d_PublishGalleryItemsResponse as PublishGalleryItemsResponse, type index_d_PublishGalleryRequest as PublishGalleryRequest, type index_d_PublishGalleryResponse as PublishGalleryResponse, type index_d_PublishGalleryResponseNonNullableFields as PublishGalleryResponseNonNullableFields, type index_d_SearchIndexingNotification as SearchIndexingNotification, index_d_SearchIndexingNotificationState as SearchIndexingNotificationState, type index_d_SecondaryMedia as SecondaryMedia, type index_d_SecondaryMediaMetadataOneOf as SecondaryMediaMetadataOneOf, index_d_State as State, type index_d_Tags as Tags, type index_d_Text as Text, type index_d_TpaPageLink as TpaPageLink, index_d_Type as Type, type index_d_URI as URI, type index_d_UnsharpMasking as UnsharpMasking, type index_d_UpdateByFilterOperation as UpdateByFilterOperation, type index_d_UpdateDocumentsEvent as UpdateDocumentsEvent, type index_d_UpdateDocumentsEventOperationOneOf as UpdateDocumentsEventOperationOneOf, type index_d_UpdateExistingOperation as UpdateExistingOperation, type index_d_UpdateGallery as UpdateGallery, type index_d_UpdateGalleryItem as UpdateGalleryItem, type index_d_UpdateGalleryItemIdentifiers as UpdateGalleryItemIdentifiers, type index_d_UpdateGalleryItemRequest as UpdateGalleryItemRequest, type index_d_UpdateGalleryItemResponse as UpdateGalleryItemResponse, type index_d_UpdateGalleryItemResponseNonNullableFields as UpdateGalleryItemResponseNonNullableFields, type index_d_UpdateGalleryRequest as UpdateGalleryRequest, type index_d_UpdateGalleryResponse as UpdateGalleryResponse, type index_d_UpdateGalleryResponseNonNullableFields as UpdateGalleryResponseNonNullableFields, type index_d_Video as Video, type index_d_VideoResolution as VideoResolution, index_d_VideoType as VideoType, index_d_WebhookIdentityType as WebhookIdentityType, type index_d_WhatsAppLink as WhatsAppLink, type index_d_WixLink as WixLink, type index_d_WixLinkLinkOneOf as WixLinkLinkOneOf, index_d___metadata as __metadata, index_d_createGallery as createGallery, index_d_createGalleryItem as createGalleryItem, index_d_deleteGallery as deleteGallery, index_d_deleteGalleryItem as deleteGalleryItem, index_d_deleteGalleryItems as deleteGalleryItems, index_d_getGallery as getGallery, index_d_getGalleryItem as getGalleryItem, index_d_listGalleries as listGalleries, index_d_listGalleryItems as listGalleryItems, index_d_onGalleryCreated as onGalleryCreated, index_d_onGalleryDeleted as onGalleryDeleted, index_d_onGalleryItemCreated as onGalleryItemCreated, index_d_onGalleryItemDeleted as onGalleryItemDeleted, index_d_onGalleryItemUpdated as onGalleryItemUpdated, index_d_onGalleryUpdated as onGalleryUpdated, index_d_publishGallery as publishGallery, index_d_updateGallery as updateGallery, index_d_updateGalleryItem as updateGalleryItem };
|
1574
1627
|
}
|
1575
1628
|
|
1576
1629
|
export { index_d as proGallery };
|
@@ -347,6 +347,16 @@ interface DeleteGalleryResponse$1 {
|
|
347
347
|
*/
|
348
348
|
galleryId?: string;
|
349
349
|
}
|
350
|
+
interface DeleteGalleryItemsRequest$1 {
|
351
|
+
/** Gallery ID. */
|
352
|
+
galleryId: string;
|
353
|
+
/** ID of the media item to delete. */
|
354
|
+
itemsIds?: string[];
|
355
|
+
}
|
356
|
+
interface DeleteGalleryItemsResponse$1 {
|
357
|
+
/** Gallery that previously included the deleted media item. */
|
358
|
+
gallery?: Gallery$1;
|
359
|
+
}
|
350
360
|
interface CreateGalleryItemRequest$1 {
|
351
361
|
/** Gallery ID. */
|
352
362
|
galleryId: string;
|
@@ -380,6 +390,14 @@ interface DeleteGalleryItemResponse$1 {
|
|
380
390
|
*/
|
381
391
|
itemId?: string;
|
382
392
|
}
|
393
|
+
interface PublishGalleryRequest$1 {
|
394
|
+
/** ID of the gallery to publish. */
|
395
|
+
galleryId: string;
|
396
|
+
}
|
397
|
+
interface PublishGalleryResponse$1 {
|
398
|
+
/** Published gallery. */
|
399
|
+
gallery?: Gallery$1;
|
400
|
+
}
|
383
401
|
interface ListGalleriesResponseNonNullableFields$1 {
|
384
402
|
galleries: {
|
385
403
|
items: {
|
@@ -1039,6 +1057,116 @@ interface UpdateGalleryResponseNonNullableFields$1 {
|
|
1039
1057
|
interface DeleteGalleryResponseNonNullableFields$1 {
|
1040
1058
|
galleryId: string;
|
1041
1059
|
}
|
1060
|
+
interface DeleteGalleryItemsResponseNonNullableFields$1 {
|
1061
|
+
gallery?: {
|
1062
|
+
items: {
|
1063
|
+
image?: {
|
1064
|
+
type: ImageType;
|
1065
|
+
imageInfo?: {
|
1066
|
+
id: string;
|
1067
|
+
url: string;
|
1068
|
+
height: number;
|
1069
|
+
width: number;
|
1070
|
+
};
|
1071
|
+
focalPoint?: {
|
1072
|
+
x: number;
|
1073
|
+
y: number;
|
1074
|
+
};
|
1075
|
+
};
|
1076
|
+
video?: {
|
1077
|
+
type: VideoType$1;
|
1078
|
+
videoInfo?: {
|
1079
|
+
id: string;
|
1080
|
+
url: string;
|
1081
|
+
resolutions: {
|
1082
|
+
url: string;
|
1083
|
+
height: number;
|
1084
|
+
width: number;
|
1085
|
+
poster?: {
|
1086
|
+
id: string;
|
1087
|
+
url: string;
|
1088
|
+
height: number;
|
1089
|
+
width: number;
|
1090
|
+
};
|
1091
|
+
format: string;
|
1092
|
+
}[];
|
1093
|
+
posters: {
|
1094
|
+
id: string;
|
1095
|
+
url: string;
|
1096
|
+
height: number;
|
1097
|
+
width: number;
|
1098
|
+
}[];
|
1099
|
+
};
|
1100
|
+
};
|
1101
|
+
link?: {
|
1102
|
+
type: LinkType;
|
1103
|
+
wixLinkData?: {
|
1104
|
+
external?: {
|
1105
|
+
url: string;
|
1106
|
+
};
|
1107
|
+
page?: {
|
1108
|
+
pageId: string;
|
1109
|
+
rel: LinkRel[];
|
1110
|
+
};
|
1111
|
+
anchor?: {
|
1112
|
+
anchorName: string;
|
1113
|
+
anchorDataId: string;
|
1114
|
+
pageId: string;
|
1115
|
+
rel: LinkRel[];
|
1116
|
+
};
|
1117
|
+
dynamicPage?: {
|
1118
|
+
routerId: string;
|
1119
|
+
innerRoute: string;
|
1120
|
+
rel: LinkRel[];
|
1121
|
+
};
|
1122
|
+
document?: {
|
1123
|
+
docId: string;
|
1124
|
+
indexable: boolean;
|
1125
|
+
};
|
1126
|
+
email?: {
|
1127
|
+
recipient: string;
|
1128
|
+
};
|
1129
|
+
phone?: {
|
1130
|
+
phoneNumber: string;
|
1131
|
+
};
|
1132
|
+
address?: {
|
1133
|
+
address: string;
|
1134
|
+
};
|
1135
|
+
whatsApp?: {
|
1136
|
+
phoneNumber: string;
|
1137
|
+
};
|
1138
|
+
tpaPage?: {
|
1139
|
+
itemTypeIdentifier: string;
|
1140
|
+
itemId: string;
|
1141
|
+
pageId: string;
|
1142
|
+
appDefinitionId: string;
|
1143
|
+
path: string;
|
1144
|
+
rel: LinkRel[];
|
1145
|
+
};
|
1146
|
+
};
|
1147
|
+
};
|
1148
|
+
type: Type$1;
|
1149
|
+
tags?: {
|
1150
|
+
values: string[];
|
1151
|
+
};
|
1152
|
+
secondaryMedia?: {
|
1153
|
+
image?: {
|
1154
|
+
type: ImageType;
|
1155
|
+
imageInfo?: {
|
1156
|
+
id: string;
|
1157
|
+
url: string;
|
1158
|
+
height: number;
|
1159
|
+
width: number;
|
1160
|
+
};
|
1161
|
+
focalPoint?: {
|
1162
|
+
x: number;
|
1163
|
+
y: number;
|
1164
|
+
};
|
1165
|
+
};
|
1166
|
+
};
|
1167
|
+
}[];
|
1168
|
+
};
|
1169
|
+
}
|
1042
1170
|
interface CreateGalleryItemResponseNonNullableFields$1 {
|
1043
1171
|
item?: {
|
1044
1172
|
image?: {
|
@@ -1258,6 +1386,116 @@ interface UpdateGalleryItemResponseNonNullableFields$1 {
|
|
1258
1386
|
interface DeleteGalleryItemResponseNonNullableFields$1 {
|
1259
1387
|
itemId: string;
|
1260
1388
|
}
|
1389
|
+
interface PublishGalleryResponseNonNullableFields$1 {
|
1390
|
+
gallery?: {
|
1391
|
+
items: {
|
1392
|
+
image?: {
|
1393
|
+
type: ImageType;
|
1394
|
+
imageInfo?: {
|
1395
|
+
id: string;
|
1396
|
+
url: string;
|
1397
|
+
height: number;
|
1398
|
+
width: number;
|
1399
|
+
};
|
1400
|
+
focalPoint?: {
|
1401
|
+
x: number;
|
1402
|
+
y: number;
|
1403
|
+
};
|
1404
|
+
};
|
1405
|
+
video?: {
|
1406
|
+
type: VideoType$1;
|
1407
|
+
videoInfo?: {
|
1408
|
+
id: string;
|
1409
|
+
url: string;
|
1410
|
+
resolutions: {
|
1411
|
+
url: string;
|
1412
|
+
height: number;
|
1413
|
+
width: number;
|
1414
|
+
poster?: {
|
1415
|
+
id: string;
|
1416
|
+
url: string;
|
1417
|
+
height: number;
|
1418
|
+
width: number;
|
1419
|
+
};
|
1420
|
+
format: string;
|
1421
|
+
}[];
|
1422
|
+
posters: {
|
1423
|
+
id: string;
|
1424
|
+
url: string;
|
1425
|
+
height: number;
|
1426
|
+
width: number;
|
1427
|
+
}[];
|
1428
|
+
};
|
1429
|
+
};
|
1430
|
+
link?: {
|
1431
|
+
type: LinkType;
|
1432
|
+
wixLinkData?: {
|
1433
|
+
external?: {
|
1434
|
+
url: string;
|
1435
|
+
};
|
1436
|
+
page?: {
|
1437
|
+
pageId: string;
|
1438
|
+
rel: LinkRel[];
|
1439
|
+
};
|
1440
|
+
anchor?: {
|
1441
|
+
anchorName: string;
|
1442
|
+
anchorDataId: string;
|
1443
|
+
pageId: string;
|
1444
|
+
rel: LinkRel[];
|
1445
|
+
};
|
1446
|
+
dynamicPage?: {
|
1447
|
+
routerId: string;
|
1448
|
+
innerRoute: string;
|
1449
|
+
rel: LinkRel[];
|
1450
|
+
};
|
1451
|
+
document?: {
|
1452
|
+
docId: string;
|
1453
|
+
indexable: boolean;
|
1454
|
+
};
|
1455
|
+
email?: {
|
1456
|
+
recipient: string;
|
1457
|
+
};
|
1458
|
+
phone?: {
|
1459
|
+
phoneNumber: string;
|
1460
|
+
};
|
1461
|
+
address?: {
|
1462
|
+
address: string;
|
1463
|
+
};
|
1464
|
+
whatsApp?: {
|
1465
|
+
phoneNumber: string;
|
1466
|
+
};
|
1467
|
+
tpaPage?: {
|
1468
|
+
itemTypeIdentifier: string;
|
1469
|
+
itemId: string;
|
1470
|
+
pageId: string;
|
1471
|
+
appDefinitionId: string;
|
1472
|
+
path: string;
|
1473
|
+
rel: LinkRel[];
|
1474
|
+
};
|
1475
|
+
};
|
1476
|
+
};
|
1477
|
+
type: Type$1;
|
1478
|
+
tags?: {
|
1479
|
+
values: string[];
|
1480
|
+
};
|
1481
|
+
secondaryMedia?: {
|
1482
|
+
image?: {
|
1483
|
+
type: ImageType;
|
1484
|
+
imageInfo?: {
|
1485
|
+
id: string;
|
1486
|
+
url: string;
|
1487
|
+
height: number;
|
1488
|
+
width: number;
|
1489
|
+
};
|
1490
|
+
focalPoint?: {
|
1491
|
+
x: number;
|
1492
|
+
y: number;
|
1493
|
+
};
|
1494
|
+
};
|
1495
|
+
};
|
1496
|
+
}[];
|
1497
|
+
};
|
1498
|
+
}
|
1261
1499
|
|
1262
1500
|
interface Gallery {
|
1263
1501
|
/**
|
@@ -1416,7 +1654,7 @@ interface Text {
|
|
1416
1654
|
/**
|
1417
1655
|
* Set of key-value pairs describing the [CSS style](https://en.wikipedia.org/wiki/CSS) of the text.
|
1418
1656
|
*
|
1419
|
-
* __Note:__ The object structure is customizable. See the [
|
1657
|
+
* __Note:__ The object structure is customizable. See the [`listGalleryItems()`](/pro-gallery/list-gallery-items) code example for supported values.
|
1420
1658
|
*/
|
1421
1659
|
css?: Record<string, any> | null;
|
1422
1660
|
/** Reserved for internal use. */
|
@@ -1429,11 +1667,11 @@ interface Tags {
|
|
1429
1667
|
values?: string[];
|
1430
1668
|
}
|
1431
1669
|
interface ListGalleriesRequest {
|
1432
|
-
/** Number of galleries to list. Defaults to 10
|
1670
|
+
/** Number of galleries to list. Defaults to `10`. */
|
1433
1671
|
itemLimit?: number | null;
|
1434
|
-
/** Number of galleries to skip in the returns. Defaults to 0
|
1672
|
+
/** Number of galleries to skip in the returns. Defaults to `0`. */
|
1435
1673
|
offset?: number | null;
|
1436
|
-
/** Number of galleries to list. Defaults to 10
|
1674
|
+
/** Number of galleries to list. Defaults to `10`. */
|
1437
1675
|
limit?: number | null;
|
1438
1676
|
}
|
1439
1677
|
interface ListGalleriesResponse {
|
@@ -1445,7 +1683,7 @@ interface ListGalleriesResponse {
|
|
1445
1683
|
interface GetGalleryRequest extends GetGalleryRequestVersionOneOf {
|
1446
1684
|
/** Gallery ID. */
|
1447
1685
|
galleryId: string;
|
1448
|
-
/** Number of media items to skip in the returns. Defaults to 0
|
1686
|
+
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1449
1687
|
itemOffset?: number | null;
|
1450
1688
|
/**
|
1451
1689
|
* Maximum number of media items to return. <br />
|
@@ -1466,7 +1704,7 @@ interface GetGalleryResponse {
|
|
1466
1704
|
interface ListGalleryItemsRequest {
|
1467
1705
|
/** Gallery ID. */
|
1468
1706
|
galleryId: string;
|
1469
|
-
/** Number of media items to skip in the returns. Defaults to 0
|
1707
|
+
/** Number of media items to skip in the returns. Defaults to `0`. */
|
1470
1708
|
itemOffset?: number | null;
|
1471
1709
|
/**
|
1472
1710
|
* Maximum number of media items to return. <br />
|
@@ -1520,6 +1758,16 @@ interface DeleteGalleryResponse {
|
|
1520
1758
|
*/
|
1521
1759
|
galleryId?: string;
|
1522
1760
|
}
|
1761
|
+
interface DeleteGalleryItemsRequest {
|
1762
|
+
/** Gallery ID. */
|
1763
|
+
galleryId: string;
|
1764
|
+
/** ID of the media item to delete. */
|
1765
|
+
itemsIds?: string[];
|
1766
|
+
}
|
1767
|
+
interface DeleteGalleryItemsResponse {
|
1768
|
+
/** Gallery that previously included the deleted media item. */
|
1769
|
+
gallery?: Gallery;
|
1770
|
+
}
|
1523
1771
|
interface CreateGalleryItemRequest {
|
1524
1772
|
/** Gallery ID. */
|
1525
1773
|
galleryId: string;
|
@@ -1553,6 +1801,14 @@ interface DeleteGalleryItemResponse {
|
|
1553
1801
|
*/
|
1554
1802
|
itemId?: string;
|
1555
1803
|
}
|
1804
|
+
interface PublishGalleryRequest {
|
1805
|
+
/** ID of the gallery to publish. */
|
1806
|
+
galleryId: string;
|
1807
|
+
}
|
1808
|
+
interface PublishGalleryResponse {
|
1809
|
+
/** Published gallery. */
|
1810
|
+
gallery?: Gallery;
|
1811
|
+
}
|
1556
1812
|
interface ListGalleriesResponseNonNullableFields {
|
1557
1813
|
galleries: {
|
1558
1814
|
items: {
|
@@ -1678,6 +1934,27 @@ interface UpdateGalleryResponseNonNullableFields {
|
|
1678
1934
|
interface DeleteGalleryResponseNonNullableFields {
|
1679
1935
|
galleryId: string;
|
1680
1936
|
}
|
1937
|
+
interface DeleteGalleryItemsResponseNonNullableFields {
|
1938
|
+
gallery?: {
|
1939
|
+
items: {
|
1940
|
+
image?: {
|
1941
|
+
imageInfo: string;
|
1942
|
+
focalPoint?: {
|
1943
|
+
x: number;
|
1944
|
+
y: number;
|
1945
|
+
};
|
1946
|
+
};
|
1947
|
+
video?: {
|
1948
|
+
type: VideoType;
|
1949
|
+
videoInfo: string;
|
1950
|
+
};
|
1951
|
+
type: Type;
|
1952
|
+
tags?: {
|
1953
|
+
values: string[];
|
1954
|
+
};
|
1955
|
+
}[];
|
1956
|
+
};
|
1957
|
+
}
|
1681
1958
|
interface CreateGalleryItemResponseNonNullableFields {
|
1682
1959
|
item?: {
|
1683
1960
|
image?: {
|
@@ -1719,6 +1996,27 @@ interface UpdateGalleryItemResponseNonNullableFields {
|
|
1719
1996
|
interface DeleteGalleryItemResponseNonNullableFields {
|
1720
1997
|
itemId: string;
|
1721
1998
|
}
|
1999
|
+
interface PublishGalleryResponseNonNullableFields {
|
2000
|
+
gallery?: {
|
2001
|
+
items: {
|
2002
|
+
image?: {
|
2003
|
+
imageInfo: string;
|
2004
|
+
focalPoint?: {
|
2005
|
+
x: number;
|
2006
|
+
y: number;
|
2007
|
+
};
|
2008
|
+
};
|
2009
|
+
video?: {
|
2010
|
+
type: VideoType;
|
2011
|
+
videoInfo: string;
|
2012
|
+
};
|
2013
|
+
type: Type;
|
2014
|
+
tags?: {
|
2015
|
+
values: string[];
|
2016
|
+
};
|
2017
|
+
}[];
|
2018
|
+
};
|
2019
|
+
}
|
1722
2020
|
|
1723
2021
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
1724
2022
|
getUrl: (context: any) => string;
|
@@ -1748,6 +2046,9 @@ declare function updateGallery(): __PublicMethodMetaInfo<'PATCH', {
|
|
1748
2046
|
declare function deleteGallery(): __PublicMethodMetaInfo<'DELETE', {
|
1749
2047
|
galleryId: string;
|
1750
2048
|
}, DeleteGalleryRequest, DeleteGalleryRequest$1, DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields, DeleteGalleryResponse$1 & DeleteGalleryResponseNonNullableFields$1>;
|
2049
|
+
declare function deleteGalleryItems(): __PublicMethodMetaInfo<'DELETE', {
|
2050
|
+
galleryId: string;
|
2051
|
+
}, DeleteGalleryItemsRequest, DeleteGalleryItemsRequest$1, DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields, DeleteGalleryItemsResponse$1 & DeleteGalleryItemsResponseNonNullableFields$1>;
|
1751
2052
|
declare function createGalleryItem(): __PublicMethodMetaInfo<'POST', {
|
1752
2053
|
galleryId: string;
|
1753
2054
|
}, CreateGalleryItemRequest, CreateGalleryItemRequest$1, CreateGalleryItemResponse & CreateGalleryItemResponseNonNullableFields, CreateGalleryItemResponse$1 & CreateGalleryItemResponseNonNullableFields$1>;
|
@@ -1759,20 +2060,25 @@ declare function deleteGalleryItem(): __PublicMethodMetaInfo<'DELETE', {
|
|
1759
2060
|
galleryId: string;
|
1760
2061
|
itemId: string;
|
1761
2062
|
}, DeleteGalleryItemRequest, DeleteGalleryItemRequest$1, DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields, DeleteGalleryItemResponse$1 & DeleteGalleryItemResponseNonNullableFields$1>;
|
2063
|
+
declare function publishGallery(): __PublicMethodMetaInfo<'POST', {
|
2064
|
+
galleryId: string;
|
2065
|
+
}, PublishGalleryRequest, PublishGalleryRequest$1, PublishGalleryResponse & PublishGalleryResponseNonNullableFields, PublishGalleryResponse$1 & PublishGalleryResponseNonNullableFields$1>;
|
1762
2066
|
|
1763
2067
|
type meta___PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = __PublicMethodMetaInfo<K, M, T, S, Q, R>;
|
1764
2068
|
declare const meta_createGallery: typeof createGallery;
|
1765
2069
|
declare const meta_createGalleryItem: typeof createGalleryItem;
|
1766
2070
|
declare const meta_deleteGallery: typeof deleteGallery;
|
1767
2071
|
declare const meta_deleteGalleryItem: typeof deleteGalleryItem;
|
2072
|
+
declare const meta_deleteGalleryItems: typeof deleteGalleryItems;
|
1768
2073
|
declare const meta_getGallery: typeof getGallery;
|
1769
2074
|
declare const meta_getGalleryItem: typeof getGalleryItem;
|
1770
2075
|
declare const meta_listGalleries: typeof listGalleries;
|
1771
2076
|
declare const meta_listGalleryItems: typeof listGalleryItems;
|
2077
|
+
declare const meta_publishGallery: typeof publishGallery;
|
1772
2078
|
declare const meta_updateGallery: typeof updateGallery;
|
1773
2079
|
declare const meta_updateGalleryItem: typeof updateGalleryItem;
|
1774
2080
|
declare namespace meta {
|
1775
|
-
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_createGallery as createGallery, meta_createGalleryItem as createGalleryItem, meta_deleteGallery as deleteGallery, meta_deleteGalleryItem as deleteGalleryItem, meta_getGallery as getGallery, meta_getGalleryItem as getGalleryItem, meta_listGalleries as listGalleries, meta_listGalleryItems as listGalleryItems, meta_updateGallery as updateGallery, meta_updateGalleryItem as updateGalleryItem };
|
2081
|
+
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_createGallery as createGallery, meta_createGalleryItem as createGalleryItem, meta_deleteGallery as deleteGallery, meta_deleteGalleryItem as deleteGalleryItem, meta_deleteGalleryItems as deleteGalleryItems, meta_getGallery as getGallery, meta_getGalleryItem as getGalleryItem, meta_listGalleries as listGalleries, meta_listGalleryItems as listGalleryItems, meta_publishGallery as publishGallery, meta_updateGallery as updateGallery, meta_updateGalleryItem as updateGalleryItem };
|
1776
2082
|
}
|
1777
2083
|
|
1778
2084
|
export { meta as proGallery };
|