New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wix/pro-gallery_pro-gallery

Package Overview
Dependencies
Maintainers
26
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/pro-gallery_pro-gallery - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

16

build/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts
import { HttpClient, EventDefinition } from '@wix/sdk-types';
import { GetGalleryItemIdentifiers, UpdateGallery, Item, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, CreateGalleryOptions, GalleryCreatedEvent, GalleryDeletedEvent, GalleryItemCreatedEvent, GalleryItemDeletedEvent, GalleryItemUpdatedEvent, GalleryUpdatedEvent, GetGalleryOptions, ListGalleriesOptions, ListGalleryItemsOptions } from './pro-gallery-v2-gallery-pro-gallery.universal';
import { GetGalleryItemIdentifiers, UpdateGallery, Item, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, CreateGalleryOptions, GalleryCreatedEnvelope, GalleryDeletedEnvelope, GalleryItemCreatedEnvelope, GalleryItemDeletedEnvelope, GalleryItemUpdatedEnvelope, GalleryUpdatedEnvelope, GetGalleryOptions, ListGalleriesOptions, ListGalleryItemsOptions } from './pro-gallery-v2-gallery-pro-gallery.universal';
export declare const __metadata: {

@@ -118,9 +118,9 @@ PACKAGE_NAME: string;

export declare function deleteGalleryItem(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<import("./pro-gallery-v2-gallery-pro-gallery.universal").DeleteGalleryItemResponse & import("./pro-gallery-v2-gallery-pro-gallery.universal").DeleteGalleryItemResponseNonNullableFields>;
export declare const onGalleryCreated: EventDefinition<GalleryCreatedEvent, "wix.pro_gallery.gallery_v2_created">;
export declare const onGalleryUpdated: EventDefinition<GalleryUpdatedEvent, "wix.pro_gallery.gallery_v2_updated">;
export declare const onGalleryDeleted: EventDefinition<GalleryDeletedEvent, "wix.pro_gallery.gallery_v2_deleted">;
export declare const onGalleryItemCreated: EventDefinition<GalleryItemCreatedEvent, "wix.pro_gallery.gallery_v2_gallery_item_created">;
export declare const onGalleryItemUpdated: EventDefinition<GalleryItemUpdatedEvent, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
export declare const onGalleryItemDeleted: EventDefinition<GalleryItemDeletedEvent, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
export declare const onGalleryCreated: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
export declare const onGalleryUpdated: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
export declare const onGalleryDeleted: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
export declare const onGalleryItemCreated: EventDefinition<GalleryItemCreatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_created">;
export declare const onGalleryItemUpdated: EventDefinition<GalleryItemUpdatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
export declare const onGalleryItemDeleted: EventDefinition<GalleryItemDeletedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
export { LinkType, LinkRel, Type, ImageType, VideoType, WebhookIdentityType, Enum, SearchIndexingNotificationState, State, } from './pro-gallery-v2-gallery-pro-gallery.universal';
export { Gallery, Item, ItemMetadataOneOf, Link, WixLink, WixLinkLinkOneOf, ExternalLink, PageLink, AnchorLink, DynamicPageLink, DocumentLink, EmailLink, PhoneLink, AddressLink, WhatsAppLink, TpaPageLink, Image, Point, UnsharpMasking, Video, VideoResolution, Text, Tags, SecondaryMedia, SecondaryMediaMetadataOneOf, InvalidateCache, InvalidateCacheGetByOneOf, App, Page, URI, File, GalleryPublished, CleanDeletedGalleriesEvent, ProgallerypublisherPublishGalleryRequest, ProgallerypublisherPublishGalleryResponse, PublishGalleryItemRequest, PublishGalleryItemResponse, PublishGalleryItemsRequest, PublishGalleryItemsResponse, Empty, HtmlSitePublished, EventsPage, HtmlSiteRCPublished, DomainEvent, DomainCreatedEvent, DomainDeletedEvent, DomainUpdatedEvent, DomainActionEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, DocumentUpdateOperation, IndexDocument, DocumentPayload, DocumentImage, DeleteByIdsOperation, DeleteByFilterOperation, UpdateByFilterOperation, UpdateExistingOperation, SearchIndexingNotification, ListGalleriesItemsRequest, ItemId, ListGalleriesItemsResponse, ItemsInGallery, GalleryItemCreated, GalleryItemUpdated, GalleryItemDeleted, ListGalleriesRequest, ListGalleriesResponse, GetGalleryRequest, GetGalleryRequestVersionOneOf, GetGalleryResponse, ListGalleryItemsRequest, ListGalleryItemsResponse, GetGalleryItemRequest, GetGalleryItemResponse, CreateGalleryRequest, CreateGalleryResponse, UpdateGalleryRequest, UpdateGalleryResponse, DeleteGalleryRequest, DeleteGalleryResponse, DeleteGalleryItemsRequest, DeleteGalleryItemsResponse, CreateGalleryItemRequest, CreateGalleryItemResponse, CreateGalleryItemsRequest, CreateGalleryItemsResponse, UpdateGalleryItemRequest, UpdateGalleryItemResponse, DeleteGalleryItemRequest, DeleteGalleryItemResponse, PublishGalleryRequest, PublishGalleryResponse, ListGalleriesResponseNonNullableFields, GetGalleryResponseNonNullableFields, ListGalleryItemsResponseNonNullableFields, GetGalleryItemResponseNonNullableFields, CreateGalleryResponseNonNullableFields, UpdateGalleryResponseNonNullableFields, DeleteGalleryResponseNonNullableFields, CreateGalleryItemResponseNonNullableFields, UpdateGalleryItemResponseNonNullableFields, DeleteGalleryItemResponseNonNullableFields, BaseEventMetadata, EventMetadata, GalleryCreatedEvent, GalleryUpdatedEvent, GalleryDeletedEvent, GalleryItemCreatedEvent, GalleryItemUpdatedEvent, GalleryItemDeletedEvent, ListGalleriesOptions, GetGalleryOptions, ListGalleryItemsOptions, GetGalleryItemIdentifiers, CreateGalleryOptions, UpdateGallery, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, } from './pro-gallery-v2-gallery-pro-gallery.universal';
export { Gallery, Item, ItemMetadataOneOf, Link, WixLink, WixLinkLinkOneOf, ExternalLink, PageLink, AnchorLink, DynamicPageLink, DocumentLink, EmailLink, PhoneLink, AddressLink, WhatsAppLink, TpaPageLink, Image, Point, UnsharpMasking, Video, VideoResolution, Text, Tags, SecondaryMedia, SecondaryMediaMetadataOneOf, InvalidateCache, InvalidateCacheGetByOneOf, App, Page, URI, File, GalleryPublished, CleanDeletedGalleriesEvent, ProgallerypublisherPublishGalleryRequest, ProgallerypublisherPublishGalleryResponse, PublishGalleryItemRequest, PublishGalleryItemResponse, PublishGalleryItemsRequest, PublishGalleryItemsResponse, Empty, HtmlSitePublished, EventsPage, HtmlSiteRCPublished, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, DocumentUpdateOperation, IndexDocument, DocumentPayload, DocumentImage, DeleteByIdsOperation, DeleteByFilterOperation, UpdateByFilterOperation, UpdateExistingOperation, SearchIndexingNotification, ListGalleriesItemsRequest, ItemId, ListGalleriesItemsResponse, ItemsInGallery, GalleryItemCreated, GalleryItemUpdated, GalleryItemDeleted, ListGalleriesRequest, ListGalleriesResponse, GetGalleryRequest, GetGalleryRequestVersionOneOf, GetGalleryResponse, ListGalleryItemsRequest, ListGalleryItemsResponse, GetGalleryItemRequest, GetGalleryItemResponse, CreateGalleryRequest, CreateGalleryResponse, UpdateGalleryRequest, UpdateGalleryResponse, DeleteGalleryRequest, DeleteGalleryResponse, DeleteGalleryItemsRequest, DeleteGalleryItemsResponse, CreateGalleryItemRequest, CreateGalleryItemResponse, CreateGalleryItemsRequest, CreateGalleryItemsResponse, UpdateGalleryItemRequest, UpdateGalleryItemResponse, DeleteGalleryItemRequest, DeleteGalleryItemResponse, PublishGalleryRequest, PublishGalleryResponse, ListGalleriesResponseNonNullableFields, GetGalleryResponseNonNullableFields, ListGalleryItemsResponseNonNullableFields, GetGalleryItemResponseNonNullableFields, CreateGalleryResponseNonNullableFields, UpdateGalleryResponseNonNullableFields, DeleteGalleryResponseNonNullableFields, CreateGalleryItemResponseNonNullableFields, UpdateGalleryItemResponseNonNullableFields, DeleteGalleryItemResponseNonNullableFields, BaseEventMetadata, EventMetadata, GalleryCreatedEnvelope, GalleryUpdatedEnvelope, GalleryDeletedEnvelope, GalleryItemCreatedEnvelope, GalleryItemUpdatedEnvelope, GalleryItemDeletedEnvelope, ListGalleriesOptions, GetGalleryOptions, ListGalleryItemsOptions, GetGalleryItemIdentifiers, CreateGalleryOptions, UpdateGallery, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, } from './pro-gallery-v2-gallery-pro-gallery.universal';

@@ -482,8 +482,8 @@ export interface Gallery {

}
export interface DomainEvent<T = string> extends DomainEventBodyOneOf<T> {
export interface DomainEvent extends DomainEventBodyOneOf {
/** Information about a newly-created gallery. */
createdEvent?: EntityCreatedEvent<T>;
updatedEvent?: EntityUpdatedEvent<T>;
deletedEvent?: EntityDeletedEvent<T>;
actionEvent?: ActionEvent<T>;
createdEvent?: EntityCreatedEvent;
updatedEvent?: EntityUpdatedEvent;
deletedEvent?: EntityDeletedEvent;
actionEvent?: ActionEvent;
/**

@@ -526,21 +526,13 @@ * Unique event ID.

}
export interface DomainCreatedEvent<T> extends Omit<DomainEvent<T>, 'deletedEvent' | 'updatedEvent' | 'actionEvent'> {
}
export interface DomainDeletedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'updatedEvent' | 'actionEvent'> {
}
export interface DomainUpdatedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'actionEvent'> {
}
export interface DomainActionEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'updatedEvent'> {
}
/** @oneof */
export interface DomainEventBodyOneOf<T> {
createdEvent?: EntityCreatedEvent<T>;
updatedEvent?: EntityUpdatedEvent<T>;
deletedEvent?: EntityDeletedEvent<T>;
actionEvent?: ActionEvent<T>;
export interface DomainEventBodyOneOf {
createdEvent?: EntityCreatedEvent;
updatedEvent?: EntityUpdatedEvent;
deletedEvent?: EntityDeletedEvent;
actionEvent?: ActionEvent;
}
export interface EntityCreatedEvent<T> {
entity?: T;
export interface EntityCreatedEvent {
entity?: string;
}
export interface EntityUpdatedEvent<T> {
export interface EntityUpdatedEvent {
/**

@@ -551,10 +543,10 @@ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.

*/
currentEntity?: T;
currentEntity?: string;
}
export interface EntityDeletedEvent<T> {
export interface EntityDeletedEvent {
/** Entity that was deleted */
deletedEntity?: T | null;
deletedEntity?: string | null;
}
export interface ActionEvent<T> {
body?: T;
export interface ActionEvent {
body?: string;
}

@@ -1120,3 +1112,3 @@ export interface MessageEnvelope {

}
export interface GalleryCreatedEvent {
export interface GalleryCreatedEnvelope {
entity: Gallery;

@@ -1135,6 +1127,7 @@ metadata: EventMetadata;

* @webhook
* @eventType wix.pro_gallery.gallery_v2_created
* @documentationMaturity preview
*/
export declare function onGalleryCreated(handler: (event: GalleryCreatedEvent) => void | Promise<void>): void;
export interface GalleryUpdatedEvent {
export declare function onGalleryCreated(handler: (event: GalleryCreatedEnvelope) => void | Promise<void>): void;
export interface GalleryUpdatedEnvelope {
entity: Gallery;

@@ -1153,6 +1146,7 @@ metadata: EventMetadata;

* @webhook
* @eventType wix.pro_gallery.gallery_v2_updated
* @documentationMaturity preview
*/
export declare function onGalleryUpdated(handler: (event: GalleryUpdatedEvent) => void | Promise<void>): void;
export interface GalleryDeletedEvent {
export declare function onGalleryUpdated(handler: (event: GalleryUpdatedEnvelope) => void | Promise<void>): void;
export interface GalleryDeletedEnvelope {
metadata: EventMetadata;

@@ -1167,6 +1161,7 @@ }

* @webhook
* @eventType wix.pro_gallery.gallery_v2_deleted
* @documentationMaturity preview
*/
export declare function onGalleryDeleted(handler: (event: GalleryDeletedEvent) => void | Promise<void>): void;
export interface GalleryItemCreatedEvent {
export declare function onGalleryDeleted(handler: (event: GalleryDeletedEnvelope) => void | Promise<void>): void;
export interface GalleryItemCreatedEnvelope {
data: GalleryItemCreated;

@@ -1182,6 +1177,7 @@ metadata: EventMetadata;

* @webhook
* @eventType wix.pro_gallery.gallery_v2_gallery_item_created
* @documentationMaturity preview
*/
export declare function onGalleryItemCreated(handler: (event: GalleryItemCreatedEvent) => void | Promise<void>): void;
export interface GalleryItemUpdatedEvent {
export declare function onGalleryItemCreated(handler: (event: GalleryItemCreatedEnvelope) => void | Promise<void>): void;
export interface GalleryItemUpdatedEnvelope {
data: GalleryItemUpdated;

@@ -1197,6 +1193,7 @@ metadata: EventMetadata;

* @webhook
* @eventType wix.pro_gallery.gallery_v2_gallery_item_updated
* @documentationMaturity preview
*/
export declare function onGalleryItemUpdated(handler: (event: GalleryItemUpdatedEvent) => void | Promise<void>): void;
export interface GalleryItemDeletedEvent {
export declare function onGalleryItemUpdated(handler: (event: GalleryItemUpdatedEnvelope) => void | Promise<void>): void;
export interface GalleryItemDeletedEnvelope {
data: GalleryItemDeleted;

@@ -1215,5 +1212,6 @@ metadata: EventMetadata;

* @webhook
* @eventType wix.pro_gallery.gallery_v2_gallery_item_deleted
* @documentationMaturity preview
*/
export declare function onGalleryItemDeleted(handler: (event: GalleryItemDeletedEvent) => void | Promise<void>): void;
export declare function onGalleryItemDeleted(handler: (event: GalleryItemDeletedEnvelope) => void | Promise<void>): void;
/**

@@ -1220,0 +1218,0 @@ * Retrieves a list of galleries.

import { HttpClient, EventDefinition } from '@wix/sdk-types';
import { GetGalleryItemIdentifiers, UpdateGallery, Item, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, CreateGalleryOptions, GalleryCreatedEvent, GalleryDeletedEvent, GalleryItemCreatedEvent, GalleryItemDeletedEvent, GalleryItemUpdatedEvent, GalleryUpdatedEvent, GetGalleryOptions, ListGalleriesOptions, ListGalleryItemsOptions } from './pro-gallery-v2-gallery-pro-gallery.universal';
import { GetGalleryItemIdentifiers, UpdateGallery, Item, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, CreateGalleryOptions, GalleryCreatedEnvelope, GalleryDeletedEnvelope, GalleryItemCreatedEnvelope, GalleryItemDeletedEnvelope, GalleryItemUpdatedEnvelope, GalleryUpdatedEnvelope, GetGalleryOptions, ListGalleriesOptions, ListGalleryItemsOptions } from './pro-gallery-v2-gallery-pro-gallery.universal';
export declare const __metadata: {

@@ -118,9 +118,9 @@ PACKAGE_NAME: string;

export declare function deleteGalleryItem(httpClient: HttpClient): (identifiers: DeleteGalleryItemIdentifiers) => Promise<import("./pro-gallery-v2-gallery-pro-gallery.universal").DeleteGalleryItemResponse & import("./pro-gallery-v2-gallery-pro-gallery.universal").DeleteGalleryItemResponseNonNullableFields>;
export declare const onGalleryCreated: EventDefinition<GalleryCreatedEvent, "wix.pro_gallery.gallery_v2_created">;
export declare const onGalleryUpdated: EventDefinition<GalleryUpdatedEvent, "wix.pro_gallery.gallery_v2_updated">;
export declare const onGalleryDeleted: EventDefinition<GalleryDeletedEvent, "wix.pro_gallery.gallery_v2_deleted">;
export declare const onGalleryItemCreated: EventDefinition<GalleryItemCreatedEvent, "wix.pro_gallery.gallery_v2_gallery_item_created">;
export declare const onGalleryItemUpdated: EventDefinition<GalleryItemUpdatedEvent, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
export declare const onGalleryItemDeleted: EventDefinition<GalleryItemDeletedEvent, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
export declare const onGalleryCreated: EventDefinition<GalleryCreatedEnvelope, "wix.pro_gallery.gallery_v2_created">;
export declare const onGalleryUpdated: EventDefinition<GalleryUpdatedEnvelope, "wix.pro_gallery.gallery_v2_updated">;
export declare const onGalleryDeleted: EventDefinition<GalleryDeletedEnvelope, "wix.pro_gallery.gallery_v2_deleted">;
export declare const onGalleryItemCreated: EventDefinition<GalleryItemCreatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_created">;
export declare const onGalleryItemUpdated: EventDefinition<GalleryItemUpdatedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_updated">;
export declare const onGalleryItemDeleted: EventDefinition<GalleryItemDeletedEnvelope, "wix.pro_gallery.gallery_v2_gallery_item_deleted">;
export { LinkType, LinkRel, Type, ImageType, VideoType, WebhookIdentityType, Enum, SearchIndexingNotificationState, State, } from './pro-gallery-v2-gallery-pro-gallery.universal';
export { Gallery, Item, ItemMetadataOneOf, Link, WixLink, WixLinkLinkOneOf, ExternalLink, PageLink, AnchorLink, DynamicPageLink, DocumentLink, EmailLink, PhoneLink, AddressLink, WhatsAppLink, TpaPageLink, Image, Point, UnsharpMasking, Video, VideoResolution, Text, Tags, SecondaryMedia, SecondaryMediaMetadataOneOf, InvalidateCache, InvalidateCacheGetByOneOf, App, Page, URI, File, GalleryPublished, CleanDeletedGalleriesEvent, ProgallerypublisherPublishGalleryRequest, ProgallerypublisherPublishGalleryResponse, PublishGalleryItemRequest, PublishGalleryItemResponse, PublishGalleryItemsRequest, PublishGalleryItemsResponse, Empty, HtmlSitePublished, EventsPage, HtmlSiteRCPublished, DomainEvent, DomainCreatedEvent, DomainDeletedEvent, DomainUpdatedEvent, DomainActionEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, DocumentUpdateOperation, IndexDocument, DocumentPayload, DocumentImage, DeleteByIdsOperation, DeleteByFilterOperation, UpdateByFilterOperation, UpdateExistingOperation, SearchIndexingNotification, ListGalleriesItemsRequest, ItemId, ListGalleriesItemsResponse, ItemsInGallery, GalleryItemCreated, GalleryItemUpdated, GalleryItemDeleted, ListGalleriesRequest, ListGalleriesResponse, GetGalleryRequest, GetGalleryRequestVersionOneOf, GetGalleryResponse, ListGalleryItemsRequest, ListGalleryItemsResponse, GetGalleryItemRequest, GetGalleryItemResponse, CreateGalleryRequest, CreateGalleryResponse, UpdateGalleryRequest, UpdateGalleryResponse, DeleteGalleryRequest, DeleteGalleryResponse, DeleteGalleryItemsRequest, DeleteGalleryItemsResponse, CreateGalleryItemRequest, CreateGalleryItemResponse, CreateGalleryItemsRequest, CreateGalleryItemsResponse, UpdateGalleryItemRequest, UpdateGalleryItemResponse, DeleteGalleryItemRequest, DeleteGalleryItemResponse, PublishGalleryRequest, PublishGalleryResponse, ListGalleriesResponseNonNullableFields, GetGalleryResponseNonNullableFields, ListGalleryItemsResponseNonNullableFields, GetGalleryItemResponseNonNullableFields, CreateGalleryResponseNonNullableFields, UpdateGalleryResponseNonNullableFields, DeleteGalleryResponseNonNullableFields, CreateGalleryItemResponseNonNullableFields, UpdateGalleryItemResponseNonNullableFields, DeleteGalleryItemResponseNonNullableFields, BaseEventMetadata, EventMetadata, GalleryCreatedEvent, GalleryUpdatedEvent, GalleryDeletedEvent, GalleryItemCreatedEvent, GalleryItemUpdatedEvent, GalleryItemDeletedEvent, ListGalleriesOptions, GetGalleryOptions, ListGalleryItemsOptions, GetGalleryItemIdentifiers, CreateGalleryOptions, UpdateGallery, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, } from './pro-gallery-v2-gallery-pro-gallery.universal';
export { Gallery, Item, ItemMetadataOneOf, Link, WixLink, WixLinkLinkOneOf, ExternalLink, PageLink, AnchorLink, DynamicPageLink, DocumentLink, EmailLink, PhoneLink, AddressLink, WhatsAppLink, TpaPageLink, Image, Point, UnsharpMasking, Video, VideoResolution, Text, Tags, SecondaryMedia, SecondaryMediaMetadataOneOf, InvalidateCache, InvalidateCacheGetByOneOf, App, Page, URI, File, GalleryPublished, CleanDeletedGalleriesEvent, ProgallerypublisherPublishGalleryRequest, ProgallerypublisherPublishGalleryResponse, PublishGalleryItemRequest, PublishGalleryItemResponse, PublishGalleryItemsRequest, PublishGalleryItemsResponse, Empty, HtmlSitePublished, EventsPage, HtmlSiteRCPublished, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, DocumentUpdateOperation, IndexDocument, DocumentPayload, DocumentImage, DeleteByIdsOperation, DeleteByFilterOperation, UpdateByFilterOperation, UpdateExistingOperation, SearchIndexingNotification, ListGalleriesItemsRequest, ItemId, ListGalleriesItemsResponse, ItemsInGallery, GalleryItemCreated, GalleryItemUpdated, GalleryItemDeleted, ListGalleriesRequest, ListGalleriesResponse, GetGalleryRequest, GetGalleryRequestVersionOneOf, GetGalleryResponse, ListGalleryItemsRequest, ListGalleryItemsResponse, GetGalleryItemRequest, GetGalleryItemResponse, CreateGalleryRequest, CreateGalleryResponse, UpdateGalleryRequest, UpdateGalleryResponse, DeleteGalleryRequest, DeleteGalleryResponse, DeleteGalleryItemsRequest, DeleteGalleryItemsResponse, CreateGalleryItemRequest, CreateGalleryItemResponse, CreateGalleryItemsRequest, CreateGalleryItemsResponse, UpdateGalleryItemRequest, UpdateGalleryItemResponse, DeleteGalleryItemRequest, DeleteGalleryItemResponse, PublishGalleryRequest, PublishGalleryResponse, ListGalleriesResponseNonNullableFields, GetGalleryResponseNonNullableFields, ListGalleryItemsResponseNonNullableFields, GetGalleryItemResponseNonNullableFields, CreateGalleryResponseNonNullableFields, UpdateGalleryResponseNonNullableFields, DeleteGalleryResponseNonNullableFields, CreateGalleryItemResponseNonNullableFields, UpdateGalleryItemResponseNonNullableFields, DeleteGalleryItemResponseNonNullableFields, BaseEventMetadata, EventMetadata, GalleryCreatedEnvelope, GalleryUpdatedEnvelope, GalleryDeletedEnvelope, GalleryItemCreatedEnvelope, GalleryItemUpdatedEnvelope, GalleryItemDeletedEnvelope, ListGalleriesOptions, GetGalleryOptions, ListGalleryItemsOptions, GetGalleryItemIdentifiers, CreateGalleryOptions, UpdateGallery, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, } from './pro-gallery-v2-gallery-pro-gallery.universal';

@@ -482,8 +482,8 @@ export interface Gallery {

}
export interface DomainEvent<T = string> extends DomainEventBodyOneOf<T> {
export interface DomainEvent extends DomainEventBodyOneOf {
/** Information about a newly-created gallery. */
createdEvent?: EntityCreatedEvent<T>;
updatedEvent?: EntityUpdatedEvent<T>;
deletedEvent?: EntityDeletedEvent<T>;
actionEvent?: ActionEvent<T>;
createdEvent?: EntityCreatedEvent;
updatedEvent?: EntityUpdatedEvent;
deletedEvent?: EntityDeletedEvent;
actionEvent?: ActionEvent;
/**

@@ -526,21 +526,13 @@ * Unique event ID.

}
export interface DomainCreatedEvent<T> extends Omit<DomainEvent<T>, 'deletedEvent' | 'updatedEvent' | 'actionEvent'> {
}
export interface DomainDeletedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'updatedEvent' | 'actionEvent'> {
}
export interface DomainUpdatedEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'actionEvent'> {
}
export interface DomainActionEvent<T> extends Omit<DomainEvent<T>, 'createdEvent' | 'deletedEvent' | 'updatedEvent'> {
}
/** @oneof */
export interface DomainEventBodyOneOf<T> {
createdEvent?: EntityCreatedEvent<T>;
updatedEvent?: EntityUpdatedEvent<T>;
deletedEvent?: EntityDeletedEvent<T>;
actionEvent?: ActionEvent<T>;
export interface DomainEventBodyOneOf {
createdEvent?: EntityCreatedEvent;
updatedEvent?: EntityUpdatedEvent;
deletedEvent?: EntityDeletedEvent;
actionEvent?: ActionEvent;
}
export interface EntityCreatedEvent<T> {
entity?: T;
export interface EntityCreatedEvent {
entity?: string;
}
export interface EntityUpdatedEvent<T> {
export interface EntityUpdatedEvent {
/**

@@ -551,10 +543,10 @@ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.

*/
currentEntity?: T;
currentEntity?: string;
}
export interface EntityDeletedEvent<T> {
export interface EntityDeletedEvent {
/** Entity that was deleted */
deletedEntity?: T | null;
deletedEntity?: string | null;
}
export interface ActionEvent<T> {
body?: T;
export interface ActionEvent {
body?: string;
}

@@ -1120,3 +1112,3 @@ export interface MessageEnvelope {

}
export interface GalleryCreatedEvent {
export interface GalleryCreatedEnvelope {
entity: Gallery;

@@ -1135,6 +1127,7 @@ metadata: EventMetadata;

* @webhook
* @eventType wix.pro_gallery.gallery_v2_created
* @documentationMaturity preview
*/
export declare function onGalleryCreated(handler: (event: GalleryCreatedEvent) => void | Promise<void>): void;
export interface GalleryUpdatedEvent {
export declare function onGalleryCreated(handler: (event: GalleryCreatedEnvelope) => void | Promise<void>): void;
export interface GalleryUpdatedEnvelope {
entity: Gallery;

@@ -1153,6 +1146,7 @@ metadata: EventMetadata;

* @webhook
* @eventType wix.pro_gallery.gallery_v2_updated
* @documentationMaturity preview
*/
export declare function onGalleryUpdated(handler: (event: GalleryUpdatedEvent) => void | Promise<void>): void;
export interface GalleryDeletedEvent {
export declare function onGalleryUpdated(handler: (event: GalleryUpdatedEnvelope) => void | Promise<void>): void;
export interface GalleryDeletedEnvelope {
metadata: EventMetadata;

@@ -1167,6 +1161,7 @@ }

* @webhook
* @eventType wix.pro_gallery.gallery_v2_deleted
* @documentationMaturity preview
*/
export declare function onGalleryDeleted(handler: (event: GalleryDeletedEvent) => void | Promise<void>): void;
export interface GalleryItemCreatedEvent {
export declare function onGalleryDeleted(handler: (event: GalleryDeletedEnvelope) => void | Promise<void>): void;
export interface GalleryItemCreatedEnvelope {
data: GalleryItemCreated;

@@ -1182,6 +1177,7 @@ metadata: EventMetadata;

* @webhook
* @eventType wix.pro_gallery.gallery_v2_gallery_item_created
* @documentationMaturity preview
*/
export declare function onGalleryItemCreated(handler: (event: GalleryItemCreatedEvent) => void | Promise<void>): void;
export interface GalleryItemUpdatedEvent {
export declare function onGalleryItemCreated(handler: (event: GalleryItemCreatedEnvelope) => void | Promise<void>): void;
export interface GalleryItemUpdatedEnvelope {
data: GalleryItemUpdated;

@@ -1197,6 +1193,7 @@ metadata: EventMetadata;

* @webhook
* @eventType wix.pro_gallery.gallery_v2_gallery_item_updated
* @documentationMaturity preview
*/
export declare function onGalleryItemUpdated(handler: (event: GalleryItemUpdatedEvent) => void | Promise<void>): void;
export interface GalleryItemDeletedEvent {
export declare function onGalleryItemUpdated(handler: (event: GalleryItemUpdatedEnvelope) => void | Promise<void>): void;
export interface GalleryItemDeletedEnvelope {
data: GalleryItemDeleted;

@@ -1215,5 +1212,6 @@ metadata: EventMetadata;

* @webhook
* @eventType wix.pro_gallery.gallery_v2_gallery_item_deleted
* @documentationMaturity preview
*/
export declare function onGalleryItemDeleted(handler: (event: GalleryItemDeletedEvent) => void | Promise<void>): void;
export declare function onGalleryItemDeleted(handler: (event: GalleryItemDeletedEnvelope) => void | Promise<void>): void;
/**

@@ -1220,0 +1218,0 @@ * Retrieves a list of galleries.

{
"name": "@wix/pro-gallery_pro-gallery",
"version": "1.0.14",
"version": "1.0.15",
"publishConfig": {

@@ -42,3 +42,3 @@ "registry": "https://registry.npmjs.org/",

},
"falconPackageHash": "9b67c857eea849b2ea046a5d867a0dc2711edfee16810c60196c72a5"
"falconPackageHash": "948e0f39dc86e8228227c1f64c4603a8c26ae376250fd354654e2c71"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc