@wix/pro-gallery 1.0.48 → 1.0.50

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.48",
3
+ "version": "1.0.50",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,10 +18,9 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/pro-gallery_pro-gallery": "1.0.19"
21
+ "@wix/pro-gallery_pro-gallery": "1.0.21"
22
22
  },
23
23
  "devDependencies": {
24
- "@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
25
24
  "glob": "^10.4.1",
26
25
  "rollup": "^4.18.0",
27
26
  "rollup-plugin-dts": "^6.1.1",
@@ -43,5 +42,5 @@
43
42
  "fqdn": ""
44
43
  }
45
44
  },
46
- "falconPackageHash": "bb34791a4ea3abff00cbc8bc0c0b5d51daf481a19bdd313796fd0989"
45
+ "falconPackageHash": "03636935404e20e47a9f375f69d542110df32f7526e7056d7fa83e85"
47
46
  }
@@ -240,10 +240,6 @@ interface DeleteGalleryItemResponse {
240
240
  */
241
241
  itemId?: string;
242
242
  }
243
- interface PublishGalleryResponse {
244
- /** Published gallery. */
245
- gallery?: Gallery;
246
- }
247
243
  interface ListGalleriesResponseNonNullableFields {
248
244
  galleries: {
249
245
  items: {
@@ -311,27 +307,6 @@ interface DeleteGalleryItemsResponseNonNullableFields {
311
307
  interface DeleteGalleryItemResponseNonNullableFields {
312
308
  itemId: string;
313
309
  }
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
- }
335
310
  interface BaseEventMetadata {
336
311
  /** App instance ID. */
337
312
  instanceId?: string | null;
@@ -536,6 +511,7 @@ interface DeleteGalleryItemIdentifiers {
536
511
  type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
537
512
  interface HttpClient {
538
513
  request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
514
+ fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
539
515
  }
540
516
  type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
541
517
  type HttpResponse<T = any> = {
@@ -561,13 +537,20 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
561
537
  __type: 'event-definition';
562
538
  type: Type;
563
539
  isDomainEvent?: boolean;
564
- transformations?: unknown;
540
+ transformations?: (envelope: unknown) => Payload;
565
541
  __payload: Payload;
566
542
  };
567
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
543
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
568
544
  type EventHandler<T extends EventDefinition> = (payload: T['__payload']) => void | Promise<void>;
569
545
  type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: EventHandler<T>) => void;
570
546
 
547
+ declare global {
548
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
549
+ interface SymbolConstructor {
550
+ readonly observable: symbol;
551
+ }
552
+ }
553
+
571
554
  declare function listGalleries$1(httpClient: HttpClient): (options?: ListGalleriesOptions) => Promise<ListGalleriesResponse & ListGalleriesResponseNonNullableFields>;
572
555
  declare function getGallery$1(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions) => Promise<Gallery & {
573
556
  items: {
@@ -681,7 +664,6 @@ declare function updateGalleryItem$1(httpClient: HttpClient): (identifiers: Upda
681
664
  } | undefined;
682
665
  }>;
683
666
  declare function deleteGalleryItem$1(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
684
- declare function publishGallery$1(httpClient: HttpClient): (galleryId: string) => Promise<PublishGalleryResponse & PublishGalleryResponseNonNullableFields>;
685
667
  declare const onGalleryCreated$1: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
686
668
  declare const onGalleryUpdated$1: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
687
669
  declare const onGalleryDeleted$1: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
@@ -700,7 +682,6 @@ declare const deleteGalleryItems: BuildRESTFunction<typeof deleteGalleryItems$1>
700
682
  declare const createGalleryItem: BuildRESTFunction<typeof createGalleryItem$1>;
701
683
  declare const updateGalleryItem: BuildRESTFunction<typeof updateGalleryItem$1>;
702
684
  declare const deleteGalleryItem: BuildRESTFunction<typeof deleteGalleryItem$1>;
703
- declare const publishGallery: BuildRESTFunction<typeof publishGallery$1>;
704
685
  declare const onGalleryCreated: BuildEventDefinition<typeof onGalleryCreated$1>;
705
686
  declare const onGalleryUpdated: BuildEventDefinition<typeof onGalleryUpdated$1>;
706
687
  declare const onGalleryDeleted: BuildEventDefinition<typeof onGalleryDeleted$1>;
@@ -723,11 +704,10 @@ declare const context_onGalleryItemCreated: typeof onGalleryItemCreated;
723
704
  declare const context_onGalleryItemDeleted: typeof onGalleryItemDeleted;
724
705
  declare const context_onGalleryItemUpdated: typeof onGalleryItemUpdated;
725
706
  declare const context_onGalleryUpdated: typeof onGalleryUpdated;
726
- declare const context_publishGallery: typeof publishGallery;
727
707
  declare const context_updateGallery: typeof updateGallery;
728
708
  declare const context_updateGalleryItem: typeof updateGalleryItem;
729
709
  declare namespace context {
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 };
710
+ 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 };
731
711
  }
732
712
 
733
713
  export { context as proGallery };
@@ -888,12 +888,15 @@ interface DeleteGalleryItemResponse {
888
888
  }
889
889
  interface PublishGalleryRequest {
890
890
  /** ID of the gallery to publish. */
891
- galleryId: string;
891
+ galleryId?: string;
892
892
  }
893
893
  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: {
@@ -1081,27 +1084,6 @@ interface UpdateGalleryItemResponseNonNullableFields {
1081
1084
  interface DeleteGalleryItemResponseNonNullableFields {
1082
1085
  itemId: string;
1083
1086
  }
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
- }
1105
1087
  interface BaseEventMetadata {
1106
1088
  /** App instance ID. */
1107
1089
  instanceId?: string | null;
@@ -1305,6 +1287,7 @@ interface DeleteGalleryItemIdentifiers {
1305
1287
 
1306
1288
  interface HttpClient {
1307
1289
  request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
1290
+ fetchWithAuth: (url: string | URL, init?: RequestInit) => Promise<Response>;
1308
1291
  }
1309
1292
  type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
1310
1293
  type HttpResponse<T = any> = {
@@ -1329,10 +1312,17 @@ type EventDefinition<Payload = unknown, Type extends string = string> = {
1329
1312
  __type: 'event-definition';
1330
1313
  type: Type;
1331
1314
  isDomainEvent?: boolean;
1332
- transformations?: unknown;
1315
+ transformations?: (envelope: unknown) => Payload;
1333
1316
  __payload: Payload;
1334
1317
  };
1335
- declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, _transformations?: unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1318
+ declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
1319
+
1320
+ declare global {
1321
+ // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
1322
+ interface SymbolConstructor {
1323
+ readonly observable: symbol;
1324
+ }
1325
+ }
1336
1326
 
1337
1327
  declare const __metadata: {
1338
1328
  PACKAGE_NAME: string;
@@ -1450,7 +1440,6 @@ declare function updateGalleryItem(httpClient: HttpClient): (identifiers: Update
1450
1440
  } | undefined;
1451
1441
  }>;
1452
1442
  declare function deleteGalleryItem(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<DeleteGalleryItemResponse & DeleteGalleryItemResponseNonNullableFields>;
1453
- declare function publishGallery(httpClient: HttpClient): (galleryId: string) => Promise<PublishGalleryResponse & PublishGalleryResponseNonNullableFields>;
1454
1443
  declare const onGalleryCreated: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
1455
1444
  declare const onGalleryUpdated: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
1456
1445
  declare const onGalleryDeleted: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
@@ -1566,7 +1555,6 @@ type index_d_PublishGalleryItemsRequest = PublishGalleryItemsRequest;
1566
1555
  type index_d_PublishGalleryItemsResponse = PublishGalleryItemsResponse;
1567
1556
  type index_d_PublishGalleryRequest = PublishGalleryRequest;
1568
1557
  type index_d_PublishGalleryResponse = PublishGalleryResponse;
1569
- type index_d_PublishGalleryResponseNonNullableFields = PublishGalleryResponseNonNullableFields;
1570
1558
  type index_d_SearchIndexingNotification = SearchIndexingNotification;
1571
1559
  type index_d_SearchIndexingNotificationState = SearchIndexingNotificationState;
1572
1560
  declare const index_d_SearchIndexingNotificationState: typeof SearchIndexingNotificationState;
@@ -1580,6 +1568,7 @@ type index_d_TpaPageLink = TpaPageLink;
1580
1568
  type index_d_Type = Type;
1581
1569
  declare const index_d_Type: typeof Type;
1582
1570
  type index_d_URI = URI;
1571
+ type index_d_UndeleteInfo = UndeleteInfo;
1583
1572
  type index_d_UnsharpMasking = UnsharpMasking;
1584
1573
  type index_d_UpdateByFilterOperation = UpdateByFilterOperation;
1585
1574
  type index_d_UpdateDocumentsEvent = UpdateDocumentsEvent;
@@ -1619,11 +1608,10 @@ declare const index_d_onGalleryItemCreated: typeof onGalleryItemCreated;
1619
1608
  declare const index_d_onGalleryItemDeleted: typeof onGalleryItemDeleted;
1620
1609
  declare const index_d_onGalleryItemUpdated: typeof onGalleryItemUpdated;
1621
1610
  declare const index_d_onGalleryUpdated: typeof onGalleryUpdated;
1622
- declare const index_d_publishGallery: typeof publishGallery;
1623
1611
  declare const index_d_updateGallery: typeof updateGallery;
1624
1612
  declare const index_d_updateGalleryItem: typeof updateGalleryItem;
1625
1613
  declare namespace index_d {
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 };
1614
+ 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 };
1627
1615
  }
1628
1616
 
1629
1617
  export { index_d as proGallery };
@@ -390,14 +390,6 @@ interface DeleteGalleryItemResponse$1 {
390
390
  */
391
391
  itemId?: string;
392
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
- }
401
393
  interface ListGalleriesResponseNonNullableFields$1 {
402
394
  galleries: {
403
395
  items: {
@@ -1386,116 +1378,6 @@ interface UpdateGalleryItemResponseNonNullableFields$1 {
1386
1378
  interface DeleteGalleryItemResponseNonNullableFields$1 {
1387
1379
  itemId: string;
1388
1380
  }
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
- }
1499
1381
 
1500
1382
  interface Gallery {
1501
1383
  /**
@@ -1801,14 +1683,6 @@ interface DeleteGalleryItemResponse {
1801
1683
  */
1802
1684
  itemId?: string;
1803
1685
  }
1804
- interface PublishGalleryRequest {
1805
- /** ID of the gallery to publish. */
1806
- galleryId: string;
1807
- }
1808
- interface PublishGalleryResponse {
1809
- /** Published gallery. */
1810
- gallery?: Gallery;
1811
- }
1812
1686
  interface ListGalleriesResponseNonNullableFields {
1813
1687
  galleries: {
1814
1688
  items: {
@@ -1996,27 +1870,6 @@ interface UpdateGalleryItemResponseNonNullableFields {
1996
1870
  interface DeleteGalleryItemResponseNonNullableFields {
1997
1871
  itemId: string;
1998
1872
  }
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
- }
2020
1873
 
2021
1874
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
2022
1875
  getUrl: (context: any) => string;
@@ -2060,9 +1913,6 @@ declare function deleteGalleryItem(): __PublicMethodMetaInfo<'DELETE', {
2060
1913
  galleryId: string;
2061
1914
  itemId: string;
2062
1915
  }, 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>;
2066
1916
 
2067
1917
  type meta___PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = __PublicMethodMetaInfo<K, M, T, S, Q, R>;
2068
1918
  declare const meta_createGallery: typeof createGallery;
@@ -2074,11 +1924,10 @@ declare const meta_getGallery: typeof getGallery;
2074
1924
  declare const meta_getGalleryItem: typeof getGalleryItem;
2075
1925
  declare const meta_listGalleries: typeof listGalleries;
2076
1926
  declare const meta_listGalleryItems: typeof listGalleryItems;
2077
- declare const meta_publishGallery: typeof publishGallery;
2078
1927
  declare const meta_updateGallery: typeof updateGallery;
2079
1928
  declare const meta_updateGalleryItem: typeof updateGalleryItem;
2080
1929
  declare namespace meta {
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 };
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 };
2082
1931
  }
2083
1932
 
2084
1933
  export { meta as proGallery };