@wix/auto_sdk_pro-gallery_pro-gallery 1.0.0
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/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +56 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js +69 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +1 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +90 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js +821 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +1 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +47 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js +256 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +1 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +167 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js +309 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +1 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts +1138 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js +102 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +1 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +1606 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js +849 -0
- package/build/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +56 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.context.js +56 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +1 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +90 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.http.js +806 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +1 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +47 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js +218 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +1 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +167 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.public.js +284 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +1 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts +1138 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.types.js +99 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +1 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +1606 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js +811 -0
- package/build/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +56 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js +69 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +1 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +90 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js +821 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +1 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +47 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js +256 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +1 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +167 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js +309 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +1 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts +1138 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js +102 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +1 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +1606 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js +849 -0
- package/build/internal/cjs/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.context.d.ts +56 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.context.js +56 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.context.js.map +1 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.http.d.ts +90 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.http.js +806 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.http.js.map +1 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.meta.d.ts +47 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js +218 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.meta.js.map +1 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.public.d.ts +167 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.public.js +284 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.public.js.map +1 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.types.d.ts +1138 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.types.js +99 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.types.js.map +1 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.universal.d.ts +1606 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js +811 -0
- package/build/internal/es/src/pro-gallery-v2-gallery-pro-gallery.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
@@ -0,0 +1 @@
|
|
1
|
+
export * from './src/pro-gallery-v2-gallery-pro-gallery.context.js';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./src/pro-gallery-v2-gallery-pro-gallery.context.js"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sFAAoE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './src/pro-gallery-v2-gallery-pro-gallery.universal.js';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./src/pro-gallery-v2-gallery-pro-gallery.universal.js"), exports);
|
18
|
+
//# sourceMappingURL=index.typings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wFAAsE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './src/pro-gallery-v2-gallery-pro-gallery.meta.js';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./src/pro-gallery-v2-gallery-pro-gallery.meta.js"), exports);
|
18
|
+
//# sourceMappingURL=meta.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mFAAiE"}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { listGalleries as publicListGalleries, getGallery as publicGetGallery, listGalleryItems as publicListGalleryItems, getGalleryItem as publicGetGalleryItem, createGallery as publicCreateGallery, updateGallery as publicUpdateGallery, deleteGallery as publicDeleteGallery, deleteGalleryItems as publicDeleteGalleryItems, bulkDeleteGalleryItems as publicBulkDeleteGalleryItems, createGalleryItem as publicCreateGalleryItem, updateGalleryItem as publicUpdateGalleryItem, deleteGalleryItem as publicDeleteGalleryItem } from './pro-gallery-v2-gallery-pro-gallery.public.js';
|
2
|
+
import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
|
3
|
+
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
4
|
+
import { onGalleryCreated as publicOnGalleryCreated } from './pro-gallery-v2-gallery-pro-gallery.public.js';
|
5
|
+
import { onGalleryDeleted as publicOnGalleryDeleted } from './pro-gallery-v2-gallery-pro-gallery.public.js';
|
6
|
+
import { onGalleryItemCreated as publicOnGalleryItemCreated } from './pro-gallery-v2-gallery-pro-gallery.public.js';
|
7
|
+
import { onGalleryItemDeleted as publicOnGalleryItemDeleted } from './pro-gallery-v2-gallery-pro-gallery.public.js';
|
8
|
+
import { onGalleryItemUpdated as publicOnGalleryItemUpdated } from './pro-gallery-v2-gallery-pro-gallery.public.js';
|
9
|
+
import { onGalleryUpdated as publicOnGalleryUpdated } from './pro-gallery-v2-gallery-pro-gallery.public.js';
|
10
|
+
export declare const listGalleries: MaybeContext<BuildRESTFunction<typeof publicListGalleries> & typeof publicListGalleries>;
|
11
|
+
export declare const getGallery: MaybeContext<BuildRESTFunction<typeof publicGetGallery> & typeof publicGetGallery>;
|
12
|
+
export declare const listGalleryItems: MaybeContext<BuildRESTFunction<typeof publicListGalleryItems> & typeof publicListGalleryItems>;
|
13
|
+
export declare const getGalleryItem: MaybeContext<BuildRESTFunction<typeof publicGetGalleryItem> & typeof publicGetGalleryItem>;
|
14
|
+
export declare const createGallery: MaybeContext<BuildRESTFunction<typeof publicCreateGallery> & typeof publicCreateGallery>;
|
15
|
+
export declare const updateGallery: MaybeContext<BuildRESTFunction<typeof publicUpdateGallery> & typeof publicUpdateGallery>;
|
16
|
+
export declare const deleteGallery: MaybeContext<BuildRESTFunction<typeof publicDeleteGallery> & typeof publicDeleteGallery>;
|
17
|
+
export declare const deleteGalleryItems: MaybeContext<BuildRESTFunction<typeof publicDeleteGalleryItems> & typeof publicDeleteGalleryItems>;
|
18
|
+
export declare const bulkDeleteGalleryItems: MaybeContext<BuildRESTFunction<typeof publicBulkDeleteGalleryItems> & typeof publicBulkDeleteGalleryItems>;
|
19
|
+
export declare const createGalleryItem: MaybeContext<BuildRESTFunction<typeof publicCreateGalleryItem> & typeof publicCreateGalleryItem>;
|
20
|
+
export declare const updateGalleryItem: MaybeContext<BuildRESTFunction<typeof publicUpdateGalleryItem> & typeof publicUpdateGalleryItem>;
|
21
|
+
export declare const deleteGalleryItem: MaybeContext<BuildRESTFunction<typeof publicDeleteGalleryItem> & typeof publicDeleteGalleryItem>;
|
22
|
+
/**
|
23
|
+
* Triggered when a gallery is created.
|
24
|
+
*
|
25
|
+
* > __Note:__ The event data doesn't include gallery items or their IDs.
|
26
|
+
* > To receive information about the created items you need to listen to the [Gallery Item Created webhook](https://dev.wix.com/api/rest/site-content/pro-gallery/gallery-item-created-webhook).
|
27
|
+
*/
|
28
|
+
export declare const onGalleryCreated: ReturnType<typeof createEventModule<typeof publicOnGalleryCreated>>;
|
29
|
+
/**
|
30
|
+
* Triggered when a gallery is deleted.
|
31
|
+
*/
|
32
|
+
export declare const onGalleryDeleted: ReturnType<typeof createEventModule<typeof publicOnGalleryDeleted>>;
|
33
|
+
/**
|
34
|
+
* Triggered when a media item in a specified gallery is created.
|
35
|
+
*/
|
36
|
+
export declare const onGalleryItemCreated: ReturnType<typeof createEventModule<typeof publicOnGalleryItemCreated>>;
|
37
|
+
/**
|
38
|
+
* Triggered when a media item in a specified gallery is deleted.
|
39
|
+
*
|
40
|
+
* > __Note:__ The event is triggered when a gallery item is deleted individually and when a gallery item is deleted because its gallery is deleted.
|
41
|
+
* > The property `originatedFrom` has the value `Gallery Deleted` if the entire gallery is deleted. If the gallery item is deleted individually, this field is empty.
|
42
|
+
*/
|
43
|
+
export declare const onGalleryItemDeleted: ReturnType<typeof createEventModule<typeof publicOnGalleryItemDeleted>>;
|
44
|
+
/**
|
45
|
+
* Triggered when a media item in a specified gallery is updated.
|
46
|
+
*/
|
47
|
+
export declare const onGalleryItemUpdated: ReturnType<typeof createEventModule<typeof publicOnGalleryItemUpdated>>;
|
48
|
+
/**
|
49
|
+
* Triggered when a gallery is updated.
|
50
|
+
*
|
51
|
+
* > __Note:__ The event data doesn't include gallery items or their IDs.
|
52
|
+
* > To receive information about the updated items you need to listen to the [Gallery Item Updated webhook](https://dev.wix.com/api/rest/site-content/pro-gallery/gallery-item-updated-webhook).
|
53
|
+
*/
|
54
|
+
export declare const onGalleryUpdated: ReturnType<typeof createEventModule<typeof publicOnGalleryUpdated>>;
|
55
|
+
export { LinkType, LinkRel, Type, ImageType, VideoType, RCLabel, WebhookIdentityType, Enum, SearchIndexingNotificationState, State, } from './pro-gallery-v2-gallery-pro-gallery.universal.js';
|
56
|
+
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, GetActiveGalleryRevisionRequest, GetActiveGalleryRevisionResponse, GetGalleryRevisionRequest, GetGalleryRevisionResponse, PublishGalleryItemRequest, PublishGalleryItemResponse, PublishGalleryItemsRequest, PublishGalleryItemsResponse, Empty, HtmlSitePublished, EventsPage, HtmlSiteRCPublished, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, 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, BulkDeleteGalleryItemsRequest, BulkDeleteGalleryItemsResponse, CreateGalleryItemRequest, CreateGalleryItemResponse, CreateGalleryItemsRequest, CreateGalleryItemsResponse, UpdateGalleryItemRequest, UpdateGalleryItemResponse, DeleteGalleryItemRequest, DeleteGalleryItemResponse, PublishGalleryRequest, PublishGalleryResponse, ItemNonNullableFields, GalleryNonNullableFields, ListGalleriesResponseNonNullableFields, GetGalleryResponseNonNullableFields, ListGalleryItemsResponseNonNullableFields, GetGalleryItemResponseNonNullableFields, CreateGalleryResponseNonNullableFields, UpdateGalleryResponseNonNullableFields, DeleteGalleryResponseNonNullableFields, DeleteGalleryItemsResponseNonNullableFields, BulkDeleteGalleryItemsResponseNonNullableFields, CreateGalleryItemResponseNonNullableFields, UpdateGalleryItemResponseNonNullableFields, DeleteGalleryItemResponseNonNullableFields, BaseEventMetadata, EventMetadata, GalleryCreatedEnvelope, GalleryDeletedEnvelope, GalleryItemCreatedEnvelope, GalleryItemDeletedEnvelope, GalleryItemUpdatedEnvelope, GalleryUpdatedEnvelope, ListGalleriesOptions, GetGalleryOptions, ListGalleryItemsOptions, GetGalleryItemIdentifiers, CreateGalleryOptions, UpdateGallery, DeleteGalleryItemsOptions, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, } from './pro-gallery-v2-gallery-pro-gallery.universal.js';
|
@@ -0,0 +1,69 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.State = exports.SearchIndexingNotificationState = exports.Enum = exports.WebhookIdentityType = exports.RCLabel = exports.VideoType = exports.ImageType = exports.Type = exports.LinkRel = exports.LinkType = exports.onGalleryUpdated = exports.onGalleryItemUpdated = exports.onGalleryItemDeleted = exports.onGalleryItemCreated = exports.onGalleryDeleted = exports.onGalleryCreated = exports.deleteGalleryItem = exports.updateGalleryItem = exports.createGalleryItem = exports.bulkDeleteGalleryItems = exports.deleteGalleryItems = exports.deleteGallery = exports.updateGallery = exports.createGallery = exports.getGalleryItem = exports.listGalleryItems = exports.getGallery = exports.listGalleries = void 0;
|
4
|
+
const pro_gallery_v2_gallery_pro_gallery_public_js_1 = require("./pro-gallery-v2-gallery-pro-gallery.public.js");
|
5
|
+
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
6
|
+
const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules");
|
7
|
+
const pro_gallery_v2_gallery_pro_gallery_public_js_2 = require("./pro-gallery-v2-gallery-pro-gallery.public.js");
|
8
|
+
const pro_gallery_v2_gallery_pro_gallery_public_js_3 = require("./pro-gallery-v2-gallery-pro-gallery.public.js");
|
9
|
+
const pro_gallery_v2_gallery_pro_gallery_public_js_4 = require("./pro-gallery-v2-gallery-pro-gallery.public.js");
|
10
|
+
const pro_gallery_v2_gallery_pro_gallery_public_js_5 = require("./pro-gallery-v2-gallery-pro-gallery.public.js");
|
11
|
+
const pro_gallery_v2_gallery_pro_gallery_public_js_6 = require("./pro-gallery-v2-gallery-pro-gallery.public.js");
|
12
|
+
const pro_gallery_v2_gallery_pro_gallery_public_js_7 = require("./pro-gallery-v2-gallery-pro-gallery.public.js");
|
13
|
+
exports.listGalleries = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.listGalleries);
|
14
|
+
exports.getGallery = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.getGallery);
|
15
|
+
exports.listGalleryItems = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.listGalleryItems);
|
16
|
+
exports.getGalleryItem = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.getGalleryItem);
|
17
|
+
exports.createGallery = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.createGallery);
|
18
|
+
exports.updateGallery = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.updateGallery);
|
19
|
+
exports.deleteGallery = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.deleteGallery);
|
20
|
+
exports.deleteGalleryItems = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.deleteGalleryItems);
|
21
|
+
exports.bulkDeleteGalleryItems = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.bulkDeleteGalleryItems);
|
22
|
+
exports.createGalleryItem = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.createGalleryItem);
|
23
|
+
exports.updateGalleryItem = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.updateGalleryItem);
|
24
|
+
exports.deleteGalleryItem = (0, rest_modules_1.createRESTModule)(pro_gallery_v2_gallery_pro_gallery_public_js_1.deleteGalleryItem);
|
25
|
+
/**
|
26
|
+
* Triggered when a gallery is created.
|
27
|
+
*
|
28
|
+
* > __Note:__ The event data doesn't include gallery items or their IDs.
|
29
|
+
* > To receive information about the created items you need to listen to the [Gallery Item Created webhook](https://dev.wix.com/api/rest/site-content/pro-gallery/gallery-item-created-webhook).
|
30
|
+
*/
|
31
|
+
exports.onGalleryCreated = (0, event_definition_modules_1.createEventModule)(pro_gallery_v2_gallery_pro_gallery_public_js_2.onGalleryCreated);
|
32
|
+
/**
|
33
|
+
* Triggered when a gallery is deleted.
|
34
|
+
*/
|
35
|
+
exports.onGalleryDeleted = (0, event_definition_modules_1.createEventModule)(pro_gallery_v2_gallery_pro_gallery_public_js_3.onGalleryDeleted);
|
36
|
+
/**
|
37
|
+
* Triggered when a media item in a specified gallery is created.
|
38
|
+
*/
|
39
|
+
exports.onGalleryItemCreated = (0, event_definition_modules_1.createEventModule)(pro_gallery_v2_gallery_pro_gallery_public_js_4.onGalleryItemCreated);
|
40
|
+
/**
|
41
|
+
* Triggered when a media item in a specified gallery is deleted.
|
42
|
+
*
|
43
|
+
* > __Note:__ The event is triggered when a gallery item is deleted individually and when a gallery item is deleted because its gallery is deleted.
|
44
|
+
* > The property `originatedFrom` has the value `Gallery Deleted` if the entire gallery is deleted. If the gallery item is deleted individually, this field is empty.
|
45
|
+
*/
|
46
|
+
exports.onGalleryItemDeleted = (0, event_definition_modules_1.createEventModule)(pro_gallery_v2_gallery_pro_gallery_public_js_5.onGalleryItemDeleted);
|
47
|
+
/**
|
48
|
+
* Triggered when a media item in a specified gallery is updated.
|
49
|
+
*/
|
50
|
+
exports.onGalleryItemUpdated = (0, event_definition_modules_1.createEventModule)(pro_gallery_v2_gallery_pro_gallery_public_js_6.onGalleryItemUpdated);
|
51
|
+
/**
|
52
|
+
* Triggered when a gallery is updated.
|
53
|
+
*
|
54
|
+
* > __Note:__ The event data doesn't include gallery items or their IDs.
|
55
|
+
* > To receive information about the updated items you need to listen to the [Gallery Item Updated webhook](https://dev.wix.com/api/rest/site-content/pro-gallery/gallery-item-updated-webhook).
|
56
|
+
*/
|
57
|
+
exports.onGalleryUpdated = (0, event_definition_modules_1.createEventModule)(pro_gallery_v2_gallery_pro_gallery_public_js_7.onGalleryUpdated);
|
58
|
+
var pro_gallery_v2_gallery_pro_gallery_universal_js_1 = require("./pro-gallery-v2-gallery-pro-gallery.universal.js");
|
59
|
+
Object.defineProperty(exports, "LinkType", { enumerable: true, get: function () { return pro_gallery_v2_gallery_pro_gallery_universal_js_1.LinkType; } });
|
60
|
+
Object.defineProperty(exports, "LinkRel", { enumerable: true, get: function () { return pro_gallery_v2_gallery_pro_gallery_universal_js_1.LinkRel; } });
|
61
|
+
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return pro_gallery_v2_gallery_pro_gallery_universal_js_1.Type; } });
|
62
|
+
Object.defineProperty(exports, "ImageType", { enumerable: true, get: function () { return pro_gallery_v2_gallery_pro_gallery_universal_js_1.ImageType; } });
|
63
|
+
Object.defineProperty(exports, "VideoType", { enumerable: true, get: function () { return pro_gallery_v2_gallery_pro_gallery_universal_js_1.VideoType; } });
|
64
|
+
Object.defineProperty(exports, "RCLabel", { enumerable: true, get: function () { return pro_gallery_v2_gallery_pro_gallery_universal_js_1.RCLabel; } });
|
65
|
+
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return pro_gallery_v2_gallery_pro_gallery_universal_js_1.WebhookIdentityType; } });
|
66
|
+
Object.defineProperty(exports, "Enum", { enumerable: true, get: function () { return pro_gallery_v2_gallery_pro_gallery_universal_js_1.Enum; } });
|
67
|
+
Object.defineProperty(exports, "SearchIndexingNotificationState", { enumerable: true, get: function () { return pro_gallery_v2_gallery_pro_gallery_universal_js_1.SearchIndexingNotificationState; } });
|
68
|
+
Object.defineProperty(exports, "State", { enumerable: true, get: function () { return pro_gallery_v2_gallery_pro_gallery_universal_js_1.State; } });
|
69
|
+
//# sourceMappingURL=pro-gallery-v2-gallery-pro-gallery.context.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pro-gallery-v2-gallery-pro-gallery.context.js","sourceRoot":"","sources":["../../../src/pro-gallery-v2-gallery-pro-gallery.context.ts"],"names":[],"mappings":";;;AAAA,iHAawD;AACxD,gEAAiE;AACjE,wFAA8E;AAE9E,iHAA4G;AAC5G,iHAA4G;AAC5G,iHAAoH;AACpH,iHAAoH;AACpH,iHAAoH;AACpH,iHAA4G;AAE/F,QAAA,aAAa,GAER,IAAA,+BAAgB,EAAC,4DAAmB,CAAC,CAAC;AAC3C,QAAA,UAAU,GAEL,IAAA,+BAAgB,EAAC,yDAAgB,CAAC,CAAC;AACxC,QAAA,gBAAgB,GAGX,IAAA,+BAAgB,EAAC,+DAAsB,CAAC,CAAC;AAC9C,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,6DAAoB,CAAC,CAAC;AAC5C,QAAA,aAAa,GAER,IAAA,+BAAgB,EAAC,4DAAmB,CAAC,CAAC;AAC3C,QAAA,aAAa,GAER,IAAA,+BAAgB,EAAC,4DAAmB,CAAC,CAAC;AAC3C,QAAA,aAAa,GAER,IAAA,+BAAgB,EAAC,4DAAmB,CAAC,CAAC;AAC3C,QAAA,kBAAkB,GAGb,IAAA,+BAAgB,EAAC,iEAAwB,CAAC,CAAC;AAChD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,qEAA4B,CAAC,CAAC;AACpD,QAAA,iBAAiB,GAGZ,IAAA,+BAAgB,EAAC,gEAAuB,CAAC,CAAC;AAC/C,QAAA,iBAAiB,GAGZ,IAAA,+BAAgB,EAAC,gEAAuB,CAAC,CAAC;AAC/C,QAAA,iBAAiB,GAGZ,IAAA,+BAAgB,EAAC,gEAAuB,CAAC,CAAC;AAC5D;;;;;GAKG;AACU,QAAA,gBAAgB,GAEzB,IAAA,4CAAiB,EAAC,+DAAsB,CAAC,CAAC;AAC9C;;GAEG;AACU,QAAA,gBAAgB,GAEzB,IAAA,4CAAiB,EAAC,+DAAsB,CAAC,CAAC;AAC9C;;GAEG;AACU,QAAA,oBAAoB,GAE7B,IAAA,4CAAiB,EAAC,mEAA0B,CAAC,CAAC;AAClD;;;;;GAKG;AACU,QAAA,oBAAoB,GAE7B,IAAA,4CAAiB,EAAC,mEAA0B,CAAC,CAAC;AAClD;;GAEG;AACU,QAAA,oBAAoB,GAE7B,IAAA,4CAAiB,EAAC,mEAA0B,CAAC,CAAC;AAClD;;;;;GAKG;AACU,QAAA,gBAAgB,GAEzB,IAAA,4CAAiB,EAAC,+DAAsB,CAAC,CAAC;AAE9C,qHAW2D;AAVzD,2IAAA,QAAQ,OAAA;AACR,0IAAA,OAAO,OAAA;AACP,uIAAA,IAAI,OAAA;AACJ,4IAAA,SAAS,OAAA;AACT,4IAAA,SAAS,OAAA;AACT,0IAAA,OAAO,OAAA;AACP,sJAAA,mBAAmB,OAAA;AACnB,uIAAA,IAAI,OAAA;AACJ,kKAAA,+BAA+B,OAAA;AAC/B,wIAAA,KAAK,OAAA"}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
import { RequestOptionsFactory } from '@wix/sdk-types';
|
2
|
+
/**
|
3
|
+
* Retrieves a list of galleries.
|
4
|
+
*
|
5
|
+
* This function retrieves a list of up to 10 galleries at a given time. To list the next 10 galleries in your site's backend, use the `offset` parameter.
|
6
|
+
*/
|
7
|
+
export declare function listGalleries(payload: object): RequestOptionsFactory<any>;
|
8
|
+
/** Retrieves a gallery by ID. */
|
9
|
+
export declare function getGallery(payload: object): RequestOptionsFactory<any>;
|
10
|
+
/**
|
11
|
+
* Retrieves a list of media items in a specified gallery.
|
12
|
+
*
|
13
|
+
* This function retrieves a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
|
14
|
+
*/
|
15
|
+
export declare function listGalleryItems(payload: object): RequestOptionsFactory<any>;
|
16
|
+
/** Retrieves a gallery item by ID. */
|
17
|
+
export declare function getGalleryItem(payload: object): RequestOptionsFactory<any>;
|
18
|
+
/**
|
19
|
+
* Creates a new gallery.
|
20
|
+
*
|
21
|
+
* You can create your own gallery by providing the gallery information, or clone an existing gallery using the ID of that existing gallery. When a gallery is cloned, the newly-created gallery includes the same properties as the existing gallery except for the gallery and item IDs, sort order, and created and updated dates.
|
22
|
+
*
|
23
|
+
* The newly-created gallery is only available on your backend, and doesn't appear on your live site. To display your backend gallery on your live site, you need to connect it to a gallery component on your live site. To do this, import the `createGallery()` function to your page code, and write code to convert the backend gallery object to the frontend gallery component object. Once converted, the newly created backend gallery is visible on your live site. For reference, check out the code example, "Create a gallery and display it on your live site". To learn more, see [Displaying a Pro Gallery on Your Site Using the Pro Gallery Backend API](https://support.wix.com/en/article/velo-tutorial-displaying-a-pro-gallery-on-your-site-using-the-pro-gallery-backend-api).
|
24
|
+
*
|
25
|
+
* <blockquote class="important">
|
26
|
+
*
|
27
|
+
* __Important:__
|
28
|
+
* When creating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
|
29
|
+
*
|
30
|
+
* </blockquote>
|
31
|
+
*/
|
32
|
+
export declare function createGallery(payload: object): RequestOptionsFactory<any>;
|
33
|
+
/**
|
34
|
+
* Updates a gallery.
|
35
|
+
*
|
36
|
+
* Only the fields in the `gallery` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
|
37
|
+
*
|
38
|
+
* <blockquote class="important">
|
39
|
+
*
|
40
|
+
* __Important:__
|
41
|
+
* When updating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
|
42
|
+
*
|
43
|
+
* </blockquote>
|
44
|
+
*/
|
45
|
+
export declare function updateGallery(payload: object): RequestOptionsFactory<any>;
|
46
|
+
/**
|
47
|
+
* Deletes a gallery.
|
48
|
+
*
|
49
|
+
* When a gallery is deleted, the deleted gallery is no longer returned when calling the [`listGalleries()`](/pro-gallery/list-galleries) function.
|
50
|
+
*/
|
51
|
+
export declare function deleteGallery(payload: object): RequestOptionsFactory<any>;
|
52
|
+
/**
|
53
|
+
* Deletes multiple media items from a gallery.
|
54
|
+
* @deprecated It has been replaced with com.wixpress.exposure.progallery.BulkDeleteGalleryItems(), and will be removed on 2024-08-15.
|
55
|
+
*/
|
56
|
+
export declare function deleteGalleryItems(payload: object): RequestOptionsFactory<any>;
|
57
|
+
/** Deletes multiple media items from a gallery. */
|
58
|
+
export declare function bulkDeleteGalleryItems(payload: object): RequestOptionsFactory<any>;
|
59
|
+
/**
|
60
|
+
* Creates a media item in a specified gallery.
|
61
|
+
*
|
62
|
+
* The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
|
63
|
+
*
|
64
|
+
* <blockquote class="important">
|
65
|
+
*
|
66
|
+
* __Important:__
|
67
|
+
* When creating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
|
68
|
+
*
|
69
|
+
* </blockquote>
|
70
|
+
*/
|
71
|
+
export declare function createGalleryItem(payload: object): RequestOptionsFactory<any>;
|
72
|
+
/**
|
73
|
+
* Updates a media item in a specified gallery.
|
74
|
+
*
|
75
|
+
* Only the fields in the `item` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
|
76
|
+
*
|
77
|
+
* <blockquote class="important">
|
78
|
+
*
|
79
|
+
* __Important:__
|
80
|
+
* When updating `image` items in your gallery, the images must be uploaded to the [Wix Media Manager](https://support.wix.com/en/article/wix-media-uploading-media-to-the-media-manager) first as the `imageInfo` parameter currently only supports the Wix media URL.
|
81
|
+
*
|
82
|
+
* </blockquote>
|
83
|
+
*/
|
84
|
+
export declare function updateGalleryItem(payload: object): RequestOptionsFactory<any>;
|
85
|
+
/**
|
86
|
+
* Deletes a media item from a gallery.
|
87
|
+
*
|
88
|
+
* When a gallery item is deleted, the deleted gallery item is no longer returned when calling the [`listGalleryItems()`](/pro-gallery/list-gallery-items) function.
|
89
|
+
*/
|
90
|
+
export declare function deleteGalleryItem(payload: object): RequestOptionsFactory<any>;
|