@wix/pro-gallery 1.0.25 → 1.0.27
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/src/pro-gallery-v2-gallery.http.d.ts +34 -11
- package/build/cjs/src/pro-gallery-v2-gallery.http.js +55 -12
- package/build/cjs/src/pro-gallery-v2-gallery.http.js.map +1 -1
- package/build/cjs/src/pro-gallery-v2-gallery.public.d.ts +3 -0
- package/build/cjs/src/pro-gallery-v2-gallery.public.js +2 -1
- package/build/cjs/src/pro-gallery-v2-gallery.public.js.map +1 -1
- package/build/cjs/src/pro-gallery-v2-gallery.types.d.ts +23 -23
- package/build/cjs/src/pro-gallery-v2-gallery.universal.d.ts +65 -42
- package/build/cjs/src/pro-gallery-v2-gallery.universal.js +35 -12
- package/build/cjs/src/pro-gallery-v2-gallery.universal.js.map +1 -1
- package/build/es/src/pro-gallery-v2-gallery.http.d.ts +34 -11
- package/build/es/src/pro-gallery-v2-gallery.http.js +55 -12
- package/build/es/src/pro-gallery-v2-gallery.http.js.map +1 -1
- package/build/es/src/pro-gallery-v2-gallery.public.d.ts +3 -0
- package/build/es/src/pro-gallery-v2-gallery.public.js +1 -0
- package/build/es/src/pro-gallery-v2-gallery.public.js.map +1 -1
- package/build/es/src/pro-gallery-v2-gallery.types.d.ts +23 -23
- package/build/es/src/pro-gallery-v2-gallery.universal.d.ts +65 -42
- package/build/es/src/pro-gallery-v2-gallery.universal.js +35 -12
- package/build/es/src/pro-gallery-v2-gallery.universal.js.map +1 -1
- package/package.json +4 -4
@@ -28,9 +28,9 @@ const _item = {
|
|
28
28
|
sortOrder: 'google.protobuf.DoubleValue',
|
29
29
|
createdDate: 'google.protobuf.Timestamp',
|
30
30
|
updatedDate: 'google.protobuf.Timestamp',
|
31
|
-
secondaryMedia: '_secondaryMedia',
|
32
31
|
image: '_image',
|
33
32
|
video: '_video',
|
33
|
+
secondaryMedia: '_secondaryMedia',
|
34
34
|
};
|
35
35
|
const _listGalleriesRequest = { fields: 'google.protobuf.FieldMask' };
|
36
36
|
const _listGalleriesResponse = { galleries: '_gallery' };
|
@@ -141,7 +141,9 @@ export function listGalleries(payload) {
|
|
141
141
|
function __listGalleries({ host }) {
|
142
142
|
const serializedData = toReq(payload);
|
143
143
|
const metadata = {
|
144
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
144
145
|
method: 'GET',
|
146
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.ListGalleries',
|
145
147
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
146
148
|
protoPath: '/v2/galleries',
|
147
149
|
data: serializedData,
|
@@ -177,7 +179,9 @@ export function getGallery(payload) {
|
|
177
179
|
function __getGallery({ host }) {
|
178
180
|
const serializedData = toReq(payload);
|
179
181
|
const metadata = {
|
182
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
180
183
|
method: 'GET',
|
184
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.GetGallery',
|
181
185
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
182
186
|
protoPath: '/v2/galleries/{galleryId}',
|
183
187
|
data: serializedData,
|
@@ -212,7 +216,9 @@ export function listGalleryItems(payload) {
|
|
212
216
|
function __listGalleryItems({ host }) {
|
213
217
|
const serializedData = toReq(payload);
|
214
218
|
const metadata = {
|
219
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
215
220
|
method: 'GET',
|
221
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.ListGalleryItems',
|
216
222
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
217
223
|
protoPath: '/v2/galleries/{galleryId}/items',
|
218
224
|
data: serializedData,
|
@@ -247,7 +253,9 @@ export function getGalleryItem(payload) {
|
|
247
253
|
function __getGalleryItem({ host }) {
|
248
254
|
const serializedData = toReq(payload);
|
249
255
|
const metadata = {
|
256
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
250
257
|
method: 'GET',
|
258
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.GetGalleryItem',
|
251
259
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
252
260
|
protoPath: '/v2/galleries/{galleryId}/items/{itemId}',
|
253
261
|
data: serializedData,
|
@@ -270,14 +278,18 @@ export function getGalleryItem(payload) {
|
|
270
278
|
*
|
271
279
|
* 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).
|
272
280
|
*
|
273
|
-
* Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can create a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
274
|
-
*
|
275
281
|
* <blockquote class="important">
|
276
282
|
*
|
277
283
|
* __Important:__
|
278
284
|
* 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.
|
279
285
|
*
|
280
286
|
* </blockquote>
|
287
|
+
*
|
288
|
+
* #### Override permissions
|
289
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
290
|
+
* <blockquote class='warning'>
|
291
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
292
|
+
* </blockquote>
|
281
293
|
*/
|
282
294
|
export function createGallery(payload) {
|
283
295
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_createGalleryRequest, {
|
@@ -307,7 +319,9 @@ export function createGallery(payload) {
|
|
307
319
|
function __createGallery({ host }) {
|
308
320
|
const serializedData = toReq(payload);
|
309
321
|
const metadata = {
|
322
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
310
323
|
method: 'POST',
|
324
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.CreateGallery',
|
311
325
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
312
326
|
protoPath: '/v2/galleries',
|
313
327
|
data: serializedData,
|
@@ -326,14 +340,18 @@ export function createGallery(payload) {
|
|
326
340
|
*
|
327
341
|
* The `updateGallery()` function returns a Promise that resolves to an updated gallery. Only the fields in the `gallery` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
|
328
342
|
*
|
329
|
-
* Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can update a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
330
|
-
*
|
331
343
|
* <blockquote class="important">
|
332
344
|
*
|
333
345
|
* __Important:__
|
334
346
|
* 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.
|
335
347
|
*
|
336
348
|
* </blockquote>
|
349
|
+
*
|
350
|
+
* #### Override permissions
|
351
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
352
|
+
* <blockquote class='warning'>
|
353
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
354
|
+
* </blockquote>
|
337
355
|
*/
|
338
356
|
export function updateGallery(payload) {
|
339
357
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_updateGalleryRequest, {
|
@@ -363,7 +381,9 @@ export function updateGallery(payload) {
|
|
363
381
|
function __updateGallery({ host }) {
|
364
382
|
const serializedData = toReq(payload);
|
365
383
|
const metadata = {
|
384
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
366
385
|
method: 'PATCH',
|
386
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.UpdateGallery',
|
367
387
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
368
388
|
protoPath: '/v2/galleries/{gallery.id}',
|
369
389
|
data: serializedData,
|
@@ -382,8 +402,11 @@ export function updateGallery(payload) {
|
|
382
402
|
*
|
383
403
|
* The `deleteGallery()` function returns a Promise that resolves to the ID of the deleted gallery. When a gallery is deleted, the deleted gallery is no longer returned when calling the [`listGalleries()`](#listgalleries) function.
|
384
404
|
*
|
385
|
-
*
|
386
|
-
*
|
405
|
+
* #### Override permissions
|
406
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
407
|
+
* <blockquote class='warning'>
|
408
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
409
|
+
* </blockquote>
|
387
410
|
*/
|
388
411
|
export function deleteGallery(payload) {
|
389
412
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_deleteGalleryRequest, {});
|
@@ -391,7 +414,9 @@ export function deleteGallery(payload) {
|
|
391
414
|
function __deleteGallery({ host }) {
|
392
415
|
const serializedData = toReq(payload);
|
393
416
|
const metadata = {
|
417
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
394
418
|
method: 'DELETE',
|
419
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.DeleteGallery',
|
395
420
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
396
421
|
protoPath: '/v2/galleries/{galleryId}',
|
397
422
|
data: serializedData,
|
@@ -410,14 +435,18 @@ export function deleteGallery(payload) {
|
|
410
435
|
*
|
411
436
|
* The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
|
412
437
|
*
|
413
|
-
* Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can create a gallery item. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
414
|
-
*
|
415
438
|
* <blockquote class="important">
|
416
439
|
*
|
417
440
|
* __Important:__
|
418
441
|
* 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.
|
419
442
|
*
|
420
443
|
* </blockquote>
|
444
|
+
*
|
445
|
+
* #### Override permissions
|
446
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
447
|
+
* <blockquote class='warning'>
|
448
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
449
|
+
* </blockquote>
|
421
450
|
*/
|
422
451
|
export function createGalleryItem(payload) {
|
423
452
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_createGalleryItemRequest, {
|
@@ -445,7 +474,9 @@ export function createGalleryItem(payload) {
|
|
445
474
|
function __createGalleryItem({ host }) {
|
446
475
|
const serializedData = toReq(payload);
|
447
476
|
const metadata = {
|
477
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
448
478
|
method: 'POST',
|
479
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.CreateGalleryItem',
|
449
480
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
450
481
|
protoPath: '/v2/galleries/{galleryId}/items',
|
451
482
|
data: serializedData,
|
@@ -464,14 +495,18 @@ export function createGalleryItem(payload) {
|
|
464
495
|
*
|
465
496
|
* The `updateGalleryItem()` function returns a Promise that resolves to an updated gallery item. Only the fields in the `item` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
|
466
497
|
*
|
467
|
-
* Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can update a gallery item. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
468
|
-
*
|
469
498
|
* <blockquote class="important">
|
470
499
|
*
|
471
500
|
* __Important:__
|
472
501
|
* 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.
|
473
502
|
*
|
474
503
|
* </blockquote>
|
504
|
+
*
|
505
|
+
* #### Override permissions
|
506
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
507
|
+
* <blockquote class='warning'>
|
508
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
509
|
+
* </blockquote>
|
475
510
|
*/
|
476
511
|
export function updateGalleryItem(payload) {
|
477
512
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_updateGalleryItemRequest, {
|
@@ -499,7 +534,9 @@ export function updateGalleryItem(payload) {
|
|
499
534
|
function __updateGalleryItem({ host }) {
|
500
535
|
const serializedData = toReq(payload);
|
501
536
|
const metadata = {
|
537
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
502
538
|
method: 'PATCH',
|
539
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.UpdateGalleryItem',
|
503
540
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
504
541
|
protoPath: '/v2/galleries/{galleryId}/items/{item.id}',
|
505
542
|
data: serializedData,
|
@@ -518,7 +555,11 @@ export function updateGalleryItem(payload) {
|
|
518
555
|
*
|
519
556
|
* The `deleteGalleryItem()` function returns a Promise that resolves to the ID of the deleted gallery item. When a gallery item is deleted, the deleted gallery item is no longer returned when calling the [`listGalleryItems()`](#listgalleryitems) function.
|
520
557
|
*
|
521
|
-
*
|
558
|
+
* #### Override permissions
|
559
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
560
|
+
* <blockquote class='warning'>
|
561
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
562
|
+
* </blockquote>
|
522
563
|
*/
|
523
564
|
export function deleteGalleryItem(payload) {
|
524
565
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_deleteGalleryItemRequest, {});
|
@@ -526,7 +567,9 @@ export function deleteGalleryItem(payload) {
|
|
526
567
|
function __deleteGalleryItem({ host }) {
|
527
568
|
const serializedData = toReq(payload);
|
528
569
|
const metadata = {
|
570
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
529
571
|
method: 'DELETE',
|
572
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.DeleteGalleryItem',
|
530
573
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
531
574
|
protoPath: '/v2/galleries/{galleryId}/items/{itemId}',
|
532
575
|
data: serializedData,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pro-gallery-v2-gallery.http.js","sourceRoot":"","sources":["../../../src/pro-gallery-v2-gallery.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AA0BhD,MAAM,YAAY,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AACxE,MAAM,yBAAyB,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AACpD,MAAM,0BAA0B,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AACrD,MAAM,qBAAqB,GAAG,EAAE,OA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,GAAG;YACf,UAAU,EAAE,4BAA4B;YACxC,MAAM,EAAE,QAAe;YACvB,SAAS,EACP,+DAA+D;YACjE,GAAG,EAAE,iDAAiD,CAAC;gBACrD,SAAS,EAAE,0CAA0C;gBACrD,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,MAAM,EAAE,iBAAiB,CAAC,cAAc,CAAC;YACzC,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,mBAAmB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEtC,OAAO,mBAAmB,CAAC;AAC7B,CAAC"}
|
@@ -1,5 +1,8 @@
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
2
2
|
import { GetGalleryItemIdentifiers, UpdateGallery, Item, UpdateGalleryItemIdentifiers, UpdateGalleryItem, DeleteGalleryItemIdentifiers, CreateGalleryOptions, GetGalleryOptions, ListGalleriesOptions, ListGalleryItemsOptions } from './pro-gallery-v2-gallery.universal';
|
3
|
+
export declare const __metadata: {
|
4
|
+
PACKAGE_NAME: string;
|
5
|
+
};
|
3
6
|
export declare function listGalleries(httpClient: HttpClient): (options?: ListGalleriesOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").ListGalleriesResponse>;
|
4
7
|
export declare function getGallery(httpClient: HttpClient): (galleryId: string, options?: GetGalleryOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").Gallery>;
|
5
8
|
export declare function listGalleryItems(httpClient: HttpClient): (galleryId: string, options?: ListGalleryItemsOptions | undefined) => Promise<import("./pro-gallery-v2-gallery.universal").ListGalleryItemsResponse>;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { listGalleries as universalListGalleries, getGallery as universalGetGallery, listGalleryItems as universalListGalleryItems, getGalleryItem as universalGetGalleryItem, createGallery as universalCreateGallery, updateGallery as universalUpdateGallery, deleteGallery as universalDeleteGallery, createGalleryItem as universalCreateGalleryItem, updateGalleryItem as universalUpdateGalleryItem, deleteGalleryItem as universalDeleteGalleryItem, } from './pro-gallery-v2-gallery.universal';
|
2
|
+
export const __metadata = { PACKAGE_NAME: '@wix/pro-gallery' };
|
2
3
|
export function listGalleries(httpClient) {
|
3
4
|
return (options) => universalListGalleries(options,
|
4
5
|
// @ts-ignore
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pro-gallery-v2-gallery.public.js","sourceRoot":"","sources":["../../../src/pro-gallery-v2-gallery.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,IAAI,sBAAsB,EACvC,UAAU,IAAI,mBAAmB,EACjC,gBAAgB,IAAI,yBAAyB,EAC7C,cAAc,IAAI,uBAAuB,EACzC,aAAa,IAAI,sBAAsB,EACvC,aAAa,IAAI,sBAAsB,EACvC,aAAa,IAAI,sBAAsB,EACvC,iBAAiB,IAAI,0BAA0B,EAC/C,iBAAiB,IAAI,0BAA0B,EAC/C,iBAAiB,IAAI,0BAA0B,GAWhD,MAAM,oCAAoC,CAAC;AAE5C,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAA8B,EAAE,EAAE,CACxC,sBAAsB,CACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,SAAiB,EAAE,OAA2B,EAAE,EAAE,CACxD,mBAAmB,CACjB,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,UAAsB;IACrD,OAAO,CAAC,SAAiB,EAAE,OAAiC,EAAE,EAAE,CAC9D,yBAAyB,CACvB,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,WAAsC,EAAE,EAAE,CAChD,uBAAuB,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ery-v2-gallery.public.js","sourceRoot":"","sources":["../../../src/pro-gallery-v2-gallery.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,IAAI,sBAAsB,EACvC,UAAU,IAAI,mBAAmB,EACjC,gBAAgB,IAAI,yBAAyB,EAC7C,cAAc,IAAI,uBAAuB,EACzC,aAAa,IAAI,sBAAsB,EACvC,aAAa,IAAI,sBAAsB,EACvC,aAAa,IAAI,sBAAsB,EACvC,iBAAiB,IAAI,0BAA0B,EAC/C,iBAAiB,IAAI,0BAA0B,EAC/C,iBAAiB,IAAI,0BAA0B,GAWhD,MAAM,oCAAoC,CAAC;AAE5C,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAE/D,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAA8B,EAAE,EAAE,CACxC,sBAAsB,CACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,SAAiB,EAAE,OAA2B,EAAE,EAAE,CACxD,mBAAmB,CACjB,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,UAAsB;IACrD,OAAO,CAAC,SAAiB,EAAE,OAAiC,EAAE,EAAE,CAC9D,yBAAyB,CACvB,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,WAAsC,EAAE,EAAE,CAChD,uBAAuB,CACrB,WAAW;IACX,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAA8B,EAAE,EAAE,CACxC,sBAAsB,CACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,GAAkB,EAAE,OAAsB,EAAE,EAAE,CACpD,sBAAsB,CACpB,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,sBAAsB,CACpB,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,SAAiB,EAAE,IAAU,EAAE,EAAE,CACvC,0BAA0B,CACxB,SAAS,EACT,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,WAAyC,EAAE,IAAuB,EAAE,EAAE,CAC5E,0BAA0B,CACxB,WAAW,EACX,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,WAAyC,EAAE,EAAE,CACnD,0BAA0B,CACxB,WAAW;IACX,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,SAAS,EACT,IAAI,EACJ,+BAA+B,EAC/B,KAAK,GACN,MAAM,oCAAoC,CAAC"}
|
@@ -26,6 +26,12 @@ export interface Gallery {
|
|
26
26
|
createdDate?: Date;
|
27
27
|
}
|
28
28
|
export interface Item extends ItemMetadataOneOf {
|
29
|
+
/** Details about the image. */
|
30
|
+
image?: Image;
|
31
|
+
/** Details about the video. */
|
32
|
+
video?: Video;
|
33
|
+
/** Details about the text file. */
|
34
|
+
text?: Text;
|
29
35
|
/**
|
30
36
|
* Item ID.
|
31
37
|
* @readonly
|
@@ -59,12 +65,6 @@ export interface Item extends ItemMetadataOneOf {
|
|
59
65
|
updatedDate?: Date;
|
60
66
|
/** Item tags. */
|
61
67
|
tags?: Tags;
|
62
|
-
/** Details about the image. */
|
63
|
-
image?: Image;
|
64
|
-
/** Details about the video. */
|
65
|
-
video?: Video;
|
66
|
-
/** Details about the text file. */
|
67
|
-
text?: Text;
|
68
68
|
}
|
69
69
|
/** @oneof */
|
70
70
|
export interface ItemMetadataOneOf {
|
@@ -326,10 +326,6 @@ export interface SecondaryMediaMetadataOneOf {
|
|
326
326
|
text?: Text;
|
327
327
|
}
|
328
328
|
export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
329
|
-
/** tell us why you're invalidating the cache. You don't need to add your app name */
|
330
|
-
reason?: string | null;
|
331
|
-
/** Is local DS */
|
332
|
-
localDc?: boolean;
|
333
329
|
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
334
330
|
metaSiteId?: string;
|
335
331
|
/** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
|
@@ -340,6 +336,10 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
340
336
|
page?: Page;
|
341
337
|
/** Invalidate by URI path */
|
342
338
|
uri?: URI;
|
339
|
+
/** tell us why you're invalidating the cache. You don't need to add your app name */
|
340
|
+
reason?: string | null;
|
341
|
+
/** Is local DS */
|
342
|
+
localDc?: boolean;
|
343
343
|
}
|
344
344
|
/** @oneof */
|
345
345
|
export interface InvalidateCacheGetByOneOf {
|
@@ -449,14 +449,6 @@ export interface HtmlSiteRCPublished {
|
|
449
449
|
branchId?: string | null;
|
450
450
|
}
|
451
451
|
export interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
|
452
|
-
/** application which owns documents */
|
453
|
-
appDefId?: string | null;
|
454
|
-
/** type of the documents */
|
455
|
-
documentType?: string | null;
|
456
|
-
/** language of the documents */
|
457
|
-
language?: string | null;
|
458
|
-
/** site documents belong to */
|
459
|
-
msId?: string | null;
|
460
452
|
/** insert/update documents */
|
461
453
|
update?: DocumentUpdateOperation;
|
462
454
|
/** delete by document ids */
|
@@ -467,6 +459,14 @@ export interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf
|
|
467
459
|
updateByFilter?: UpdateByFilterOperation;
|
468
460
|
/** update only existing documents */
|
469
461
|
updateExisting?: UpdateExistingOperation;
|
462
|
+
/** application which owns documents */
|
463
|
+
appDefId?: string | null;
|
464
|
+
/** type of the documents */
|
465
|
+
documentType?: string | null;
|
466
|
+
/** language of the documents */
|
467
|
+
language?: string | null;
|
468
|
+
/** site documents belong to */
|
469
|
+
msId?: string | null;
|
470
470
|
}
|
471
471
|
/** @oneof */
|
472
472
|
export interface UpdateDocumentsEventOperationOneOf {
|
@@ -778,6 +778,11 @@ export interface PublishGalleryResponse {
|
|
778
778
|
gallery?: Gallery;
|
779
779
|
}
|
780
780
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
781
|
+
createdEvent?: EntityCreatedEvent;
|
782
|
+
updatedEvent?: EntityUpdatedEvent;
|
783
|
+
deletedEvent?: EntityDeletedEvent;
|
784
|
+
actionEvent?: ActionEvent;
|
785
|
+
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
781
786
|
/** random GUID so clients can tell if event was already handled */
|
782
787
|
id?: string;
|
783
788
|
/**
|
@@ -815,11 +820,6 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
815
820
|
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
816
821
|
*/
|
817
822
|
entityEventSequence?: string | null;
|
818
|
-
createdEvent?: EntityCreatedEvent;
|
819
|
-
updatedEvent?: EntityUpdatedEvent;
|
820
|
-
deletedEvent?: EntityDeletedEvent;
|
821
|
-
actionEvent?: ActionEvent;
|
822
|
-
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
823
823
|
}
|
824
824
|
/** @oneof */
|
825
825
|
export interface DomainEventBodyOneOf {
|
@@ -32,6 +32,12 @@ export interface Gallery {
|
|
32
32
|
_createdDate?: Date;
|
33
33
|
}
|
34
34
|
export interface Item extends ItemMetadataOneOf {
|
35
|
+
/** Details about the image. */
|
36
|
+
image?: Image;
|
37
|
+
/** Details about the video. */
|
38
|
+
video?: Video;
|
39
|
+
/** Details about the text file. */
|
40
|
+
text?: Text;
|
35
41
|
/**
|
36
42
|
* Item ID.
|
37
43
|
* @readonly
|
@@ -65,12 +71,6 @@ export interface Item extends ItemMetadataOneOf {
|
|
65
71
|
_updatedDate?: Date;
|
66
72
|
/** Item tags. */
|
67
73
|
tags?: Tags;
|
68
|
-
/** Details about the image. */
|
69
|
-
image?: Image;
|
70
|
-
/** Details about the video. */
|
71
|
-
video?: Video;
|
72
|
-
/** Details about the text file. */
|
73
|
-
text?: Text;
|
74
74
|
}
|
75
75
|
/** @oneof */
|
76
76
|
export interface ItemMetadataOneOf {
|
@@ -311,10 +311,6 @@ export interface SecondaryMediaMetadataOneOf {
|
|
311
311
|
text?: Text;
|
312
312
|
}
|
313
313
|
export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
314
|
-
/** tell us why you're invalidating the cache. You don't need to add your app name */
|
315
|
-
reason?: string | null;
|
316
|
-
/** Is local DS */
|
317
|
-
localDc?: boolean;
|
318
314
|
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
319
315
|
metaSiteId?: string;
|
320
316
|
/** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
|
@@ -325,6 +321,10 @@ export interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
325
321
|
page?: Page;
|
326
322
|
/** Invalidate by URI path */
|
327
323
|
uri?: URI;
|
324
|
+
/** tell us why you're invalidating the cache. You don't need to add your app name */
|
325
|
+
reason?: string | null;
|
326
|
+
/** Is local DS */
|
327
|
+
localDc?: boolean;
|
328
328
|
}
|
329
329
|
/** @oneof */
|
330
330
|
export interface InvalidateCacheGetByOneOf {
|
@@ -434,14 +434,6 @@ export interface HtmlSiteRCPublished {
|
|
434
434
|
branchId?: string | null;
|
435
435
|
}
|
436
436
|
export interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf {
|
437
|
-
/** application which owns documents */
|
438
|
-
appDefId?: string | null;
|
439
|
-
/** type of the documents */
|
440
|
-
documentType?: string | null;
|
441
|
-
/** language of the documents */
|
442
|
-
language?: string | null;
|
443
|
-
/** site documents belong to */
|
444
|
-
msId?: string | null;
|
445
437
|
/** insert/update documents */
|
446
438
|
update?: DocumentUpdateOperation;
|
447
439
|
/** delete by document ids */
|
@@ -452,6 +444,14 @@ export interface UpdateDocumentsEvent extends UpdateDocumentsEventOperationOneOf
|
|
452
444
|
updateByFilter?: UpdateByFilterOperation;
|
453
445
|
/** update only existing documents */
|
454
446
|
updateExisting?: UpdateExistingOperation;
|
447
|
+
/** application which owns documents */
|
448
|
+
appDefId?: string | null;
|
449
|
+
/** type of the documents */
|
450
|
+
documentType?: string | null;
|
451
|
+
/** language of the documents */
|
452
|
+
language?: string | null;
|
453
|
+
/** site documents belong to */
|
454
|
+
msId?: string | null;
|
455
455
|
}
|
456
456
|
/** @oneof */
|
457
457
|
export interface UpdateDocumentsEventOperationOneOf {
|
@@ -739,6 +739,12 @@ export interface PublishGalleryResponse {
|
|
739
739
|
gallery?: Gallery;
|
740
740
|
}
|
741
741
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
742
|
+
/** Information about a newly-created gallery. */
|
743
|
+
createdEvent?: EntityCreatedEvent;
|
744
|
+
updatedEvent?: EntityUpdatedEvent;
|
745
|
+
deletedEvent?: EntityDeletedEvent;
|
746
|
+
actionEvent?: ActionEvent;
|
747
|
+
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
742
748
|
/** random GUID so clients can tell if event was already handled */
|
743
749
|
_id?: string;
|
744
750
|
/**
|
@@ -776,12 +782,6 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
776
782
|
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
777
783
|
*/
|
778
784
|
entityEventSequence?: string | null;
|
779
|
-
/** Information about a newly-created gallery. */
|
780
|
-
createdEvent?: EntityCreatedEvent;
|
781
|
-
updatedEvent?: EntityUpdatedEvent;
|
782
|
-
deletedEvent?: EntityDeletedEvent;
|
783
|
-
actionEvent?: ActionEvent;
|
784
|
-
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
785
785
|
}
|
786
786
|
/** @oneof */
|
787
787
|
export interface DomainEventBodyOneOf {
|
@@ -839,7 +839,7 @@ export interface ListGalleriesOptions {
|
|
839
839
|
* @returns Returned gallery.
|
840
840
|
*/
|
841
841
|
export declare function getGallery(galleryId: string, options?: GetGalleryOptions): Promise<Gallery>;
|
842
|
-
export interface GetGalleryOptions {
|
842
|
+
export interface GetGalleryOptions extends GetGalleryRequestVersionOneOf {
|
843
843
|
/** Number of media items to skip in the returns. Defaults to 0. */
|
844
844
|
itemOffset?: number | null;
|
845
845
|
/**
|
@@ -902,14 +902,18 @@ export interface GetGalleryItemIdentifiers {
|
|
902
902
|
*
|
903
903
|
* 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).
|
904
904
|
*
|
905
|
-
* Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can create a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
906
|
-
*
|
907
905
|
* <blockquote class="important">
|
908
906
|
*
|
909
907
|
* __Important:__
|
910
908
|
* 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.
|
911
909
|
*
|
912
910
|
* </blockquote>
|
911
|
+
*
|
912
|
+
* #### Override permissions
|
913
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
914
|
+
* <blockquote class='warning'>
|
915
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
916
|
+
* </blockquote>
|
913
917
|
* @public
|
914
918
|
* @documentationMaturity preview
|
915
919
|
* @requiredField options.gallery.items.image.imageInfo
|
@@ -931,14 +935,18 @@ export interface CreateGalleryOptions {
|
|
931
935
|
*
|
932
936
|
* The `updateGallery()` function returns a Promise that resolves to an updated gallery. Only the fields in the `gallery` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
|
933
937
|
*
|
934
|
-
* Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can update a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
935
|
-
*
|
936
938
|
* <blockquote class="important">
|
937
939
|
*
|
938
940
|
* __Important:__
|
939
941
|
* 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.
|
940
942
|
*
|
941
943
|
* </blockquote>
|
944
|
+
*
|
945
|
+
* #### Override permissions
|
946
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
947
|
+
* <blockquote class='warning'>
|
948
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
949
|
+
* </blockquote>
|
942
950
|
* @public
|
943
951
|
* @documentationMaturity preview
|
944
952
|
* @requiredField _id
|
@@ -983,8 +991,11 @@ export interface UpdateGallery {
|
|
983
991
|
*
|
984
992
|
* The `deleteGallery()` function returns a Promise that resolves to the ID of the deleted gallery. When a gallery is deleted, the deleted gallery is no longer returned when calling the [`listGalleries()`](#listgalleries) function.
|
985
993
|
*
|
986
|
-
*
|
987
|
-
*
|
994
|
+
* #### Override permissions
|
995
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
996
|
+
* <blockquote class='warning'>
|
997
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
998
|
+
* </blockquote>
|
988
999
|
* @param galleryId - ID of the gallery to delete.
|
989
1000
|
* @public
|
990
1001
|
* @documentationMaturity preview
|
@@ -996,14 +1007,18 @@ export declare function deleteGallery(galleryId: string): Promise<DeleteGalleryR
|
|
996
1007
|
*
|
997
1008
|
* The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
|
998
1009
|
*
|
999
|
-
* Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can create a gallery item. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
1000
|
-
*
|
1001
1010
|
* <blockquote class="important">
|
1002
1011
|
*
|
1003
1012
|
* __Important:__
|
1004
1013
|
* 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.
|
1005
1014
|
*
|
1006
1015
|
* </blockquote>
|
1016
|
+
*
|
1017
|
+
* #### Override permissions
|
1018
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
1019
|
+
* <blockquote class='warning'>
|
1020
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
1021
|
+
* </blockquote>
|
1007
1022
|
* @param galleryId - Gallery ID.
|
1008
1023
|
* @param item - Media item to create.
|
1009
1024
|
* @public
|
@@ -1022,14 +1037,18 @@ export declare function createGalleryItem(galleryId: string, item: Item): Promis
|
|
1022
1037
|
*
|
1023
1038
|
* The `updateGalleryItem()` function returns a Promise that resolves to an updated gallery item. Only the fields in the `item` object parameter can be updated. Specify which fields to update. Unspecified fields remain the same.
|
1024
1039
|
*
|
1025
|
-
* Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can update a gallery item. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
1026
|
-
*
|
1027
1040
|
* <blockquote class="important">
|
1028
1041
|
*
|
1029
1042
|
* __Important:__
|
1030
1043
|
* 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.
|
1031
1044
|
*
|
1032
1045
|
* </blockquote>
|
1046
|
+
*
|
1047
|
+
* #### Override permissions
|
1048
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
1049
|
+
* <blockquote class='warning'>
|
1050
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
1051
|
+
* </blockquote>
|
1033
1052
|
* @public
|
1034
1053
|
* @documentationMaturity preview
|
1035
1054
|
* @requiredField identifiers
|
@@ -1054,6 +1073,12 @@ export interface UpdateGalleryItemIdentifiers {
|
|
1054
1073
|
itemId?: string | null;
|
1055
1074
|
}
|
1056
1075
|
export interface UpdateGalleryItem {
|
1076
|
+
/** Details about the image. */
|
1077
|
+
image?: Image;
|
1078
|
+
/** Details about the video. */
|
1079
|
+
video?: Video;
|
1080
|
+
/** Details about the text file. */
|
1081
|
+
text?: Text;
|
1057
1082
|
/**
|
1058
1083
|
* Item ID.
|
1059
1084
|
* @readonly
|
@@ -1087,19 +1112,17 @@ export interface UpdateGalleryItem {
|
|
1087
1112
|
_updatedDate?: Date;
|
1088
1113
|
/** Item tags. */
|
1089
1114
|
tags?: Tags;
|
1090
|
-
/** Details about the image. */
|
1091
|
-
image?: Image;
|
1092
|
-
/** Details about the video. */
|
1093
|
-
video?: Video;
|
1094
|
-
/** Details about the text file. */
|
1095
|
-
text?: Text;
|
1096
1115
|
}
|
1097
1116
|
/**
|
1098
1117
|
* Deletes a media item from a gallery.
|
1099
1118
|
*
|
1100
1119
|
* The `deleteGalleryItem()` function returns a Promise that resolves to the ID of the deleted gallery item. When a gallery item is deleted, the deleted gallery item is no longer returned when calling the [`listGalleryItems()`](#listgalleryitems) function.
|
1101
1120
|
*
|
1102
|
-
*
|
1121
|
+
* #### Override permissions
|
1122
|
+
* This function is restricted and only runs if you elevate permissions using the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
1123
|
+
* <blockquote class='warning'>
|
1124
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
1125
|
+
* </blockquote>
|
1103
1126
|
* @public
|
1104
1127
|
* @documentationMaturity preview
|
1105
1128
|
* @requiredField identifiers
|