@wix/pro-gallery 1.0.47 → 1.0.49

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.47",
3
+ "version": "1.0.49",
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.18"
21
+ "@wix/pro-gallery_pro-gallery": "1.0.20"
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": "4c04f0bae4241abd438d839cac0e280b0ca4a26506932ab9f4658318"
46
+ "falconPackageHash": "f44d7f859de35093a08dfb7f1b3631626d0b2fd5f7c0106fab17e6b1"
47
47
  }
@@ -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.
@@ -279,6 +283,27 @@ interface ListGalleryItemsResponseNonNullableFields {
279
283
  interface DeleteGalleryResponseNonNullableFields {
280
284
  galleryId: string;
281
285
  }
286
+ interface DeleteGalleryItemsResponseNonNullableFields {
287
+ gallery?: {
288
+ items: {
289
+ image?: {
290
+ imageInfo: string;
291
+ focalPoint?: {
292
+ x: number;
293
+ y: number;
294
+ };
295
+ };
296
+ video?: {
297
+ type: VideoType;
298
+ videoInfo: string;
299
+ };
300
+ type: Type;
301
+ tags?: {
302
+ values: string[];
303
+ };
304
+ }[];
305
+ };
306
+ }
282
307
  interface DeleteGalleryItemResponseNonNullableFields {
283
308
  itemId: string;
284
309
  }
@@ -422,6 +447,10 @@ interface UpdateGallery {
422
447
  */
423
448
  _createdDate?: Date;
424
449
  }
450
+ interface DeleteGalleryItemsOptions {
451
+ /** ID of the media item to delete. */
452
+ itemsIds?: string[];
453
+ }
425
454
  interface UpdateGalleryItemIdentifiers {
426
455
  /** ID of the gallery containing the item to update. */
427
456
  galleryId: string;
@@ -591,6 +620,7 @@ declare function updateGallery$1(httpClient: HttpClient): (_id: string | null, g
591
620
  }[];
592
621
  }>;
593
622
  declare function deleteGallery$1(httpClient: HttpClient): (galleryId: string) => Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
623
+ declare function deleteGalleryItems$1(httpClient: HttpClient): (galleryId: string, options?: DeleteGalleryItemsOptions) => Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
594
624
  declare function createGalleryItem$1(httpClient: HttpClient): (galleryId: string, item: Item) => Promise<Item & {
595
625
  image?: {
596
626
  imageInfo: string;
@@ -640,6 +670,7 @@ declare const getGalleryItem: BuildRESTFunction<typeof getGalleryItem$1>;
640
670
  declare const createGallery: BuildRESTFunction<typeof createGallery$1>;
641
671
  declare const updateGallery: BuildRESTFunction<typeof updateGallery$1>;
642
672
  declare const deleteGallery: BuildRESTFunction<typeof deleteGallery$1>;
673
+ declare const deleteGalleryItems: BuildRESTFunction<typeof deleteGalleryItems$1>;
643
674
  declare const createGalleryItem: BuildRESTFunction<typeof createGalleryItem$1>;
644
675
  declare const updateGalleryItem: BuildRESTFunction<typeof updateGalleryItem$1>;
645
676
  declare const deleteGalleryItem: BuildRESTFunction<typeof deleteGalleryItem$1>;
@@ -654,6 +685,7 @@ declare const context_createGallery: typeof createGallery;
654
685
  declare const context_createGalleryItem: typeof createGalleryItem;
655
686
  declare const context_deleteGallery: typeof deleteGallery;
656
687
  declare const context_deleteGalleryItem: typeof deleteGalleryItem;
688
+ declare const context_deleteGalleryItems: typeof deleteGalleryItems;
657
689
  declare const context_getGallery: typeof getGallery;
658
690
  declare const context_getGalleryItem: typeof getGalleryItem;
659
691
  declare const context_listGalleries: typeof listGalleries;
@@ -667,7 +699,7 @@ declare const context_onGalleryUpdated: typeof onGalleryUpdated;
667
699
  declare const context_updateGallery: typeof updateGallery;
668
700
  declare const context_updateGalleryItem: typeof updateGalleryItem;
669
701
  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 };
702
+ 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_updateGallery as updateGallery, context_updateGalleryItem as updateGalleryItem };
671
703
  }
672
704
 
673
705
  export { context as proGallery };
@@ -835,7 +835,7 @@ interface DeleteGalleryResponse {
835
835
  }
836
836
  interface DeleteGalleryItemsRequest {
837
837
  /** Gallery ID. */
838
- galleryId?: string;
838
+ galleryId: string;
839
839
  /** ID of the media item to delete. */
840
840
  itemsIds?: string[];
841
841
  }
@@ -894,6 +894,9 @@ interface PublishGalleryResponse {
894
894
  /** Published gallery. */
895
895
  gallery?: Gallery;
896
896
  }
897
+ interface UndeleteInfo {
898
+ deletedDate?: Date;
899
+ }
897
900
  interface ListGalleriesResponseNonNullableFields {
898
901
  galleries: {
899
902
  items: {
@@ -1019,6 +1022,27 @@ interface UpdateGalleryResponseNonNullableFields {
1019
1022
  interface DeleteGalleryResponseNonNullableFields {
1020
1023
  galleryId: string;
1021
1024
  }
1025
+ interface DeleteGalleryItemsResponseNonNullableFields {
1026
+ gallery?: {
1027
+ items: {
1028
+ image?: {
1029
+ imageInfo: string;
1030
+ focalPoint?: {
1031
+ x: number;
1032
+ y: number;
1033
+ };
1034
+ };
1035
+ video?: {
1036
+ type: VideoType;
1037
+ videoInfo: string;
1038
+ };
1039
+ type: Type;
1040
+ tags?: {
1041
+ values: string[];
1042
+ };
1043
+ }[];
1044
+ };
1045
+ }
1022
1046
  interface CreateGalleryItemResponseNonNullableFields {
1023
1047
  item?: {
1024
1048
  image?: {
@@ -1200,6 +1224,10 @@ interface UpdateGallery {
1200
1224
  */
1201
1225
  _createdDate?: Date;
1202
1226
  }
1227
+ interface DeleteGalleryItemsOptions {
1228
+ /** ID of the media item to delete. */
1229
+ itemsIds?: string[];
1230
+ }
1203
1231
  interface UpdateGalleryItemIdentifiers {
1204
1232
  /** ID of the gallery containing the item to update. */
1205
1233
  galleryId: string;
@@ -1368,6 +1396,7 @@ declare function updateGallery(httpClient: HttpClient): (_id: string | null, gal
1368
1396
  }[];
1369
1397
  }>;
1370
1398
  declare function deleteGallery(httpClient: HttpClient): (galleryId: string) => Promise<DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields>;
1399
+ declare function deleteGalleryItems(httpClient: HttpClient): (galleryId: string, options?: DeleteGalleryItemsOptions) => Promise<DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields>;
1371
1400
  declare function createGalleryItem(httpClient: HttpClient): (galleryId: string, item: Item) => Promise<Item & {
1372
1401
  image?: {
1373
1402
  imageInfo: string;
@@ -1431,8 +1460,10 @@ type index_d_DeleteGalleryItemIdentifiers = DeleteGalleryItemIdentifiers;
1431
1460
  type index_d_DeleteGalleryItemRequest = DeleteGalleryItemRequest;
1432
1461
  type index_d_DeleteGalleryItemResponse = DeleteGalleryItemResponse;
1433
1462
  type index_d_DeleteGalleryItemResponseNonNullableFields = DeleteGalleryItemResponseNonNullableFields;
1463
+ type index_d_DeleteGalleryItemsOptions = DeleteGalleryItemsOptions;
1434
1464
  type index_d_DeleteGalleryItemsRequest = DeleteGalleryItemsRequest;
1435
1465
  type index_d_DeleteGalleryItemsResponse = DeleteGalleryItemsResponse;
1466
+ type index_d_DeleteGalleryItemsResponseNonNullableFields = DeleteGalleryItemsResponseNonNullableFields;
1436
1467
  type index_d_DeleteGalleryRequest = DeleteGalleryRequest;
1437
1468
  type index_d_DeleteGalleryResponse = DeleteGalleryResponse;
1438
1469
  type index_d_DeleteGalleryResponseNonNullableFields = DeleteGalleryResponseNonNullableFields;
@@ -1529,6 +1560,7 @@ type index_d_TpaPageLink = TpaPageLink;
1529
1560
  type index_d_Type = Type;
1530
1561
  declare const index_d_Type: typeof Type;
1531
1562
  type index_d_URI = URI;
1563
+ type index_d_UndeleteInfo = UndeleteInfo;
1532
1564
  type index_d_UnsharpMasking = UnsharpMasking;
1533
1565
  type index_d_UpdateByFilterOperation = UpdateByFilterOperation;
1534
1566
  type index_d_UpdateDocumentsEvent = UpdateDocumentsEvent;
@@ -1557,6 +1589,7 @@ declare const index_d_createGallery: typeof createGallery;
1557
1589
  declare const index_d_createGalleryItem: typeof createGalleryItem;
1558
1590
  declare const index_d_deleteGallery: typeof deleteGallery;
1559
1591
  declare const index_d_deleteGalleryItem: typeof deleteGalleryItem;
1592
+ declare const index_d_deleteGalleryItems: typeof deleteGalleryItems;
1560
1593
  declare const index_d_getGallery: typeof getGallery;
1561
1594
  declare const index_d_getGalleryItem: typeof getGalleryItem;
1562
1595
  declare const index_d_listGalleries: typeof listGalleries;
@@ -1570,7 +1603,7 @@ declare const index_d_onGalleryUpdated: typeof onGalleryUpdated;
1570
1603
  declare const index_d_updateGallery: typeof updateGallery;
1571
1604
  declare const index_d_updateGalleryItem: typeof updateGalleryItem;
1572
1605
  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 };
1606
+ 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_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_UndeleteInfo as UndeleteInfo, 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_updateGallery as updateGallery, index_d_updateGalleryItem as updateGalleryItem };
1574
1607
  }
1575
1608
 
1576
1609
  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;
@@ -1039,6 +1049,116 @@ interface UpdateGalleryResponseNonNullableFields$1 {
1039
1049
  interface DeleteGalleryResponseNonNullableFields$1 {
1040
1050
  galleryId: string;
1041
1051
  }
1052
+ interface DeleteGalleryItemsResponseNonNullableFields$1 {
1053
+ gallery?: {
1054
+ items: {
1055
+ image?: {
1056
+ type: ImageType;
1057
+ imageInfo?: {
1058
+ id: string;
1059
+ url: string;
1060
+ height: number;
1061
+ width: number;
1062
+ };
1063
+ focalPoint?: {
1064
+ x: number;
1065
+ y: number;
1066
+ };
1067
+ };
1068
+ video?: {
1069
+ type: VideoType$1;
1070
+ videoInfo?: {
1071
+ id: string;
1072
+ url: string;
1073
+ resolutions: {
1074
+ url: string;
1075
+ height: number;
1076
+ width: number;
1077
+ poster?: {
1078
+ id: string;
1079
+ url: string;
1080
+ height: number;
1081
+ width: number;
1082
+ };
1083
+ format: string;
1084
+ }[];
1085
+ posters: {
1086
+ id: string;
1087
+ url: string;
1088
+ height: number;
1089
+ width: number;
1090
+ }[];
1091
+ };
1092
+ };
1093
+ link?: {
1094
+ type: LinkType;
1095
+ wixLinkData?: {
1096
+ external?: {
1097
+ url: string;
1098
+ };
1099
+ page?: {
1100
+ pageId: string;
1101
+ rel: LinkRel[];
1102
+ };
1103
+ anchor?: {
1104
+ anchorName: string;
1105
+ anchorDataId: string;
1106
+ pageId: string;
1107
+ rel: LinkRel[];
1108
+ };
1109
+ dynamicPage?: {
1110
+ routerId: string;
1111
+ innerRoute: string;
1112
+ rel: LinkRel[];
1113
+ };
1114
+ document?: {
1115
+ docId: string;
1116
+ indexable: boolean;
1117
+ };
1118
+ email?: {
1119
+ recipient: string;
1120
+ };
1121
+ phone?: {
1122
+ phoneNumber: string;
1123
+ };
1124
+ address?: {
1125
+ address: string;
1126
+ };
1127
+ whatsApp?: {
1128
+ phoneNumber: string;
1129
+ };
1130
+ tpaPage?: {
1131
+ itemTypeIdentifier: string;
1132
+ itemId: string;
1133
+ pageId: string;
1134
+ appDefinitionId: string;
1135
+ path: string;
1136
+ rel: LinkRel[];
1137
+ };
1138
+ };
1139
+ };
1140
+ type: Type$1;
1141
+ tags?: {
1142
+ values: string[];
1143
+ };
1144
+ secondaryMedia?: {
1145
+ image?: {
1146
+ type: ImageType;
1147
+ imageInfo?: {
1148
+ id: string;
1149
+ url: string;
1150
+ height: number;
1151
+ width: number;
1152
+ };
1153
+ focalPoint?: {
1154
+ x: number;
1155
+ y: number;
1156
+ };
1157
+ };
1158
+ };
1159
+ }[];
1160
+ };
1161
+ }
1042
1162
  interface CreateGalleryItemResponseNonNullableFields$1 {
1043
1163
  item?: {
1044
1164
  image?: {
@@ -1520,6 +1640,16 @@ interface DeleteGalleryResponse {
1520
1640
  */
1521
1641
  galleryId?: string;
1522
1642
  }
1643
+ interface DeleteGalleryItemsRequest {
1644
+ /** Gallery ID. */
1645
+ galleryId: string;
1646
+ /** ID of the media item to delete. */
1647
+ itemsIds?: string[];
1648
+ }
1649
+ interface DeleteGalleryItemsResponse {
1650
+ /** Gallery that previously included the deleted media item. */
1651
+ gallery?: Gallery;
1652
+ }
1523
1653
  interface CreateGalleryItemRequest {
1524
1654
  /** Gallery ID. */
1525
1655
  galleryId: string;
@@ -1678,6 +1808,27 @@ interface UpdateGalleryResponseNonNullableFields {
1678
1808
  interface DeleteGalleryResponseNonNullableFields {
1679
1809
  galleryId: string;
1680
1810
  }
1811
+ interface DeleteGalleryItemsResponseNonNullableFields {
1812
+ gallery?: {
1813
+ items: {
1814
+ image?: {
1815
+ imageInfo: string;
1816
+ focalPoint?: {
1817
+ x: number;
1818
+ y: number;
1819
+ };
1820
+ };
1821
+ video?: {
1822
+ type: VideoType;
1823
+ videoInfo: string;
1824
+ };
1825
+ type: Type;
1826
+ tags?: {
1827
+ values: string[];
1828
+ };
1829
+ }[];
1830
+ };
1831
+ }
1681
1832
  interface CreateGalleryItemResponseNonNullableFields {
1682
1833
  item?: {
1683
1834
  image?: {
@@ -1748,6 +1899,9 @@ declare function updateGallery(): __PublicMethodMetaInfo<'PATCH', {
1748
1899
  declare function deleteGallery(): __PublicMethodMetaInfo<'DELETE', {
1749
1900
  galleryId: string;
1750
1901
  }, DeleteGalleryRequest, DeleteGalleryRequest$1, DeleteGalleryResponse & DeleteGalleryResponseNonNullableFields, DeleteGalleryResponse$1 & DeleteGalleryResponseNonNullableFields$1>;
1902
+ declare function deleteGalleryItems(): __PublicMethodMetaInfo<'DELETE', {
1903
+ galleryId: string;
1904
+ }, DeleteGalleryItemsRequest, DeleteGalleryItemsRequest$1, DeleteGalleryItemsResponse & DeleteGalleryItemsResponseNonNullableFields, DeleteGalleryItemsResponse$1 & DeleteGalleryItemsResponseNonNullableFields$1>;
1751
1905
  declare function createGalleryItem(): __PublicMethodMetaInfo<'POST', {
1752
1906
  galleryId: string;
1753
1907
  }, CreateGalleryItemRequest, CreateGalleryItemRequest$1, CreateGalleryItemResponse & CreateGalleryItemResponseNonNullableFields, CreateGalleryItemResponse$1 & CreateGalleryItemResponseNonNullableFields$1>;
@@ -1765,6 +1919,7 @@ declare const meta_createGallery: typeof createGallery;
1765
1919
  declare const meta_createGalleryItem: typeof createGalleryItem;
1766
1920
  declare const meta_deleteGallery: typeof deleteGallery;
1767
1921
  declare const meta_deleteGalleryItem: typeof deleteGalleryItem;
1922
+ declare const meta_deleteGalleryItems: typeof deleteGalleryItems;
1768
1923
  declare const meta_getGallery: typeof getGallery;
1769
1924
  declare const meta_getGalleryItem: typeof getGalleryItem;
1770
1925
  declare const meta_listGalleries: typeof listGalleries;
@@ -1772,7 +1927,7 @@ declare const meta_listGalleryItems: typeof listGalleryItems;
1772
1927
  declare const meta_updateGallery: typeof updateGallery;
1773
1928
  declare const meta_updateGalleryItem: typeof updateGalleryItem;
1774
1929
  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 };
1930
+ 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_updateGallery as updateGallery, meta_updateGalleryItem as updateGalleryItem };
1776
1931
  }
1777
1932
 
1778
1933
  export { meta as proGallery };