@wix/pro-gallery 1.0.26 → 1.0.28
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 +93 -44
- package/build/cjs/src/pro-gallery-v2-gallery.universal.js +63 -14
- 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 +93 -44
- package/build/es/src/pro-gallery-v2-gallery.universal.js +63 -14
- package/build/es/src/pro-gallery-v2-gallery.universal.js.map +1 -1
- package/package.json +2 -2
@@ -33,14 +33,18 @@ export declare function getGalleryItem(payload: GetGalleryItemRequest): RequestO
|
|
33
33
|
*
|
34
34
|
* 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).
|
35
35
|
*
|
36
|
-
* 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.
|
37
|
-
*
|
38
36
|
* <blockquote class="important">
|
39
37
|
*
|
40
38
|
* __Important:__
|
41
39
|
* 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.
|
42
40
|
*
|
43
41
|
* </blockquote>
|
42
|
+
*
|
43
|
+
* #### Override permissions
|
44
|
+
* 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.
|
45
|
+
* <blockquote class='warning'>
|
46
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
47
|
+
* </blockquote>
|
44
48
|
*/
|
45
49
|
export declare function createGallery(payload: CreateGalleryRequest): RequestOptionsFactory<CreateGalleryResponse>;
|
46
50
|
/**
|
@@ -48,14 +52,18 @@ export declare function createGallery(payload: CreateGalleryRequest): RequestOpt
|
|
48
52
|
*
|
49
53
|
* 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.
|
50
54
|
*
|
51
|
-
* 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.
|
52
|
-
*
|
53
55
|
* <blockquote class="important">
|
54
56
|
*
|
55
57
|
* __Important:__
|
56
58
|
* 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.
|
57
59
|
*
|
58
60
|
* </blockquote>
|
61
|
+
*
|
62
|
+
* #### Override permissions
|
63
|
+
* 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.
|
64
|
+
* <blockquote class='warning'>
|
65
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
66
|
+
* </blockquote>
|
59
67
|
*/
|
60
68
|
export declare function updateGallery(payload: UpdateGalleryRequest): RequestOptionsFactory<UpdateGalleryResponse>;
|
61
69
|
/**
|
@@ -63,8 +71,11 @@ export declare function updateGallery(payload: UpdateGalleryRequest): RequestOpt
|
|
63
71
|
*
|
64
72
|
* 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.
|
65
73
|
*
|
66
|
-
*
|
67
|
-
*
|
74
|
+
* #### Override permissions
|
75
|
+
* 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.
|
76
|
+
* <blockquote class='warning'>
|
77
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
78
|
+
* </blockquote>
|
68
79
|
*/
|
69
80
|
export declare function deleteGallery(payload: DeleteGalleryRequest): RequestOptionsFactory<DeleteGalleryResponse>;
|
70
81
|
/**
|
@@ -72,14 +83,18 @@ export declare function deleteGallery(payload: DeleteGalleryRequest): RequestOpt
|
|
72
83
|
*
|
73
84
|
* The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
|
74
85
|
*
|
75
|
-
* 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.
|
76
|
-
*
|
77
86
|
* <blockquote class="important">
|
78
87
|
*
|
79
88
|
* __Important:__
|
80
89
|
* 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.
|
81
90
|
*
|
82
91
|
* </blockquote>
|
92
|
+
*
|
93
|
+
* #### Override permissions
|
94
|
+
* 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.
|
95
|
+
* <blockquote class='warning'>
|
96
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
97
|
+
* </blockquote>
|
83
98
|
*/
|
84
99
|
export declare function createGalleryItem(payload: CreateGalleryItemRequest): RequestOptionsFactory<CreateGalleryItemResponse>;
|
85
100
|
/**
|
@@ -87,14 +102,18 @@ export declare function createGalleryItem(payload: CreateGalleryItemRequest): Re
|
|
87
102
|
*
|
88
103
|
* 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.
|
89
104
|
*
|
90
|
-
* 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.
|
91
|
-
*
|
92
105
|
* <blockquote class="important">
|
93
106
|
*
|
94
107
|
* __Important:__
|
95
108
|
* 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.
|
96
109
|
*
|
97
110
|
* </blockquote>
|
111
|
+
*
|
112
|
+
* #### Override permissions
|
113
|
+
* 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.
|
114
|
+
* <blockquote class='warning'>
|
115
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
116
|
+
* </blockquote>
|
98
117
|
*/
|
99
118
|
export declare function updateGalleryItem(payload: UpdateGalleryItemRequest): RequestOptionsFactory<UpdateGalleryItemResponse>;
|
100
119
|
/**
|
@@ -102,6 +121,10 @@ export declare function updateGalleryItem(payload: UpdateGalleryItemRequest): Re
|
|
102
121
|
*
|
103
122
|
* 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.
|
104
123
|
*
|
105
|
-
*
|
124
|
+
* #### Override permissions
|
125
|
+
* 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.
|
126
|
+
* <blockquote class='warning'>
|
127
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
128
|
+
* </blockquote>
|
106
129
|
*/
|
107
130
|
export declare function deleteGalleryItem(payload: DeleteGalleryItemRequest): RequestOptionsFactory<DeleteGalleryItemResponse>;
|
@@ -31,9 +31,9 @@ const _item = {
|
|
31
31
|
sortOrder: 'google.protobuf.DoubleValue',
|
32
32
|
createdDate: 'google.protobuf.Timestamp',
|
33
33
|
updatedDate: 'google.protobuf.Timestamp',
|
34
|
-
secondaryMedia: '_secondaryMedia',
|
35
34
|
image: '_image',
|
36
35
|
video: '_video',
|
36
|
+
secondaryMedia: '_secondaryMedia',
|
37
37
|
};
|
38
38
|
const _listGalleriesRequest = { fields: 'google.protobuf.FieldMask' };
|
39
39
|
const _listGalleriesResponse = { galleries: '_gallery' };
|
@@ -144,7 +144,9 @@ function listGalleries(payload) {
|
|
144
144
|
function __listGalleries({ host }) {
|
145
145
|
const serializedData = toReq(payload);
|
146
146
|
const metadata = {
|
147
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
147
148
|
method: 'GET',
|
149
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.ListGalleries',
|
148
150
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
149
151
|
protoPath: '/v2/galleries',
|
150
152
|
data: serializedData,
|
@@ -181,7 +183,9 @@ function getGallery(payload) {
|
|
181
183
|
function __getGallery({ host }) {
|
182
184
|
const serializedData = toReq(payload);
|
183
185
|
const metadata = {
|
186
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
184
187
|
method: 'GET',
|
188
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.GetGallery',
|
185
189
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
186
190
|
protoPath: '/v2/galleries/{galleryId}',
|
187
191
|
data: serializedData,
|
@@ -217,7 +221,9 @@ function listGalleryItems(payload) {
|
|
217
221
|
function __listGalleryItems({ host }) {
|
218
222
|
const serializedData = toReq(payload);
|
219
223
|
const metadata = {
|
224
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
220
225
|
method: 'GET',
|
226
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.ListGalleryItems',
|
221
227
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
222
228
|
protoPath: '/v2/galleries/{galleryId}/items',
|
223
229
|
data: serializedData,
|
@@ -253,7 +259,9 @@ function getGalleryItem(payload) {
|
|
253
259
|
function __getGalleryItem({ host }) {
|
254
260
|
const serializedData = toReq(payload);
|
255
261
|
const metadata = {
|
262
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
256
263
|
method: 'GET',
|
264
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.GetGalleryItem',
|
257
265
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
258
266
|
protoPath: '/v2/galleries/{galleryId}/items/{itemId}',
|
259
267
|
data: serializedData,
|
@@ -277,14 +285,18 @@ exports.getGalleryItem = getGalleryItem;
|
|
277
285
|
*
|
278
286
|
* 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).
|
279
287
|
*
|
280
|
-
* 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.
|
281
|
-
*
|
282
288
|
* <blockquote class="important">
|
283
289
|
*
|
284
290
|
* __Important:__
|
285
291
|
* 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.
|
286
292
|
*
|
287
293
|
* </blockquote>
|
294
|
+
*
|
295
|
+
* #### Override permissions
|
296
|
+
* 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.
|
297
|
+
* <blockquote class='warning'>
|
298
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
299
|
+
* </blockquote>
|
288
300
|
*/
|
289
301
|
function createGallery(payload) {
|
290
302
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_createGalleryRequest, {
|
@@ -314,7 +326,9 @@ function createGallery(payload) {
|
|
314
326
|
function __createGallery({ host }) {
|
315
327
|
const serializedData = toReq(payload);
|
316
328
|
const metadata = {
|
329
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
317
330
|
method: 'POST',
|
331
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.CreateGallery',
|
318
332
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
319
333
|
protoPath: '/v2/galleries',
|
320
334
|
data: serializedData,
|
@@ -334,14 +348,18 @@ exports.createGallery = createGallery;
|
|
334
348
|
*
|
335
349
|
* 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.
|
336
350
|
*
|
337
|
-
* 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.
|
338
|
-
*
|
339
351
|
* <blockquote class="important">
|
340
352
|
*
|
341
353
|
* __Important:__
|
342
354
|
* 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.
|
343
355
|
*
|
344
356
|
* </blockquote>
|
357
|
+
*
|
358
|
+
* #### Override permissions
|
359
|
+
* 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.
|
360
|
+
* <blockquote class='warning'>
|
361
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
362
|
+
* </blockquote>
|
345
363
|
*/
|
346
364
|
function updateGallery(payload) {
|
347
365
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_updateGalleryRequest, {
|
@@ -371,7 +389,9 @@ function updateGallery(payload) {
|
|
371
389
|
function __updateGallery({ host }) {
|
372
390
|
const serializedData = toReq(payload);
|
373
391
|
const metadata = {
|
392
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
374
393
|
method: 'PATCH',
|
394
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.UpdateGallery',
|
375
395
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
376
396
|
protoPath: '/v2/galleries/{gallery.id}',
|
377
397
|
data: serializedData,
|
@@ -391,8 +411,11 @@ exports.updateGallery = updateGallery;
|
|
391
411
|
*
|
392
412
|
* 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.
|
393
413
|
*
|
394
|
-
*
|
395
|
-
*
|
414
|
+
* #### Override permissions
|
415
|
+
* 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.
|
416
|
+
* <blockquote class='warning'>
|
417
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
418
|
+
* </blockquote>
|
396
419
|
*/
|
397
420
|
function deleteGallery(payload) {
|
398
421
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_deleteGalleryRequest, {});
|
@@ -400,7 +423,9 @@ function deleteGallery(payload) {
|
|
400
423
|
function __deleteGallery({ host }) {
|
401
424
|
const serializedData = toReq(payload);
|
402
425
|
const metadata = {
|
426
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
403
427
|
method: 'DELETE',
|
428
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.DeleteGallery',
|
404
429
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
405
430
|
protoPath: '/v2/galleries/{galleryId}',
|
406
431
|
data: serializedData,
|
@@ -420,14 +445,18 @@ exports.deleteGallery = deleteGallery;
|
|
420
445
|
*
|
421
446
|
* The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
|
422
447
|
*
|
423
|
-
* 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.
|
424
|
-
*
|
425
448
|
* <blockquote class="important">
|
426
449
|
*
|
427
450
|
* __Important:__
|
428
451
|
* 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.
|
429
452
|
*
|
430
453
|
* </blockquote>
|
454
|
+
*
|
455
|
+
* #### Override permissions
|
456
|
+
* 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.
|
457
|
+
* <blockquote class='warning'>
|
458
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
459
|
+
* </blockquote>
|
431
460
|
*/
|
432
461
|
function createGalleryItem(payload) {
|
433
462
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_createGalleryItemRequest, {
|
@@ -455,7 +484,9 @@ function createGalleryItem(payload) {
|
|
455
484
|
function __createGalleryItem({ host }) {
|
456
485
|
const serializedData = toReq(payload);
|
457
486
|
const metadata = {
|
487
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
458
488
|
method: 'POST',
|
489
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.CreateGalleryItem',
|
459
490
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
460
491
|
protoPath: '/v2/galleries/{galleryId}/items',
|
461
492
|
data: serializedData,
|
@@ -475,14 +506,18 @@ exports.createGalleryItem = createGalleryItem;
|
|
475
506
|
*
|
476
507
|
* 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.
|
477
508
|
*
|
478
|
-
* 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.
|
479
|
-
*
|
480
509
|
* <blockquote class="important">
|
481
510
|
*
|
482
511
|
* __Important:__
|
483
512
|
* 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.
|
484
513
|
*
|
485
514
|
* </blockquote>
|
515
|
+
*
|
516
|
+
* #### Override permissions
|
517
|
+
* 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.
|
518
|
+
* <blockquote class='warning'>
|
519
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
520
|
+
* </blockquote>
|
486
521
|
*/
|
487
522
|
function updateGalleryItem(payload) {
|
488
523
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_updateGalleryItemRequest, {
|
@@ -510,7 +545,9 @@ function updateGalleryItem(payload) {
|
|
510
545
|
function __updateGalleryItem({ host }) {
|
511
546
|
const serializedData = toReq(payload);
|
512
547
|
const metadata = {
|
548
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
513
549
|
method: 'PATCH',
|
550
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.UpdateGalleryItem',
|
514
551
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
515
552
|
protoPath: '/v2/galleries/{galleryId}/items/{item.id}',
|
516
553
|
data: serializedData,
|
@@ -530,7 +567,11 @@ exports.updateGalleryItem = updateGalleryItem;
|
|
530
567
|
*
|
531
568
|
* 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.
|
532
569
|
*
|
533
|
-
*
|
570
|
+
* #### Override permissions
|
571
|
+
* 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.
|
572
|
+
* <blockquote class='warning'>
|
573
|
+
* <p><strong>Warning:</strong> Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.</p>
|
574
|
+
* </blockquote>
|
534
575
|
*/
|
535
576
|
function deleteGalleryItem(payload) {
|
536
577
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_deleteGalleryItemRequest, {});
|
@@ -538,7 +579,9 @@ function deleteGalleryItem(payload) {
|
|
538
579
|
function __deleteGalleryItem({ host }) {
|
539
580
|
const serializedData = toReq(payload);
|
540
581
|
const metadata = {
|
582
|
+
entityFqdn: 'wix.pro_gallery.v2.gallery',
|
541
583
|
method: 'DELETE',
|
584
|
+
methodFqn: 'com.wixpress.exposure.progallery.ProGallery.DeleteGalleryItem',
|
542
585
|
url: resolveComWixpressExposureProgalleryProGalleryUrl({
|
543
586
|
protoPath: '/v2/galleries/{galleryId}/items/{itemId}',
|
544
587
|
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,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;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,OAAO,EAAE,UAAU,EAAE,CAAC;AACtD,MAAM,sBAAsB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACvD,MAAM,yBAAyB,GAAG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;IAEjC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EACrD,yBAAyB,EACzB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAU,EAAC,0BAA0B,EAAE,EAAE,CAAC,CAAC;IAEzE,SAAS,mBAAmB,CAAC,EAAE,IAAI,EAAO;QACxC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,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,IAAA,iCAAiB,EAAC,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;AA/BD,8CA+BC"}
|
@@ -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,7 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.State = exports.SearchIndexingNotificationState = exports.Enum = exports.VideoType = exports.ImageType = exports.Type = exports.LinkType = exports.deleteGalleryItem = exports.updateGalleryItem = exports.createGalleryItem = exports.deleteGallery = exports.updateGallery = exports.createGallery = exports.getGalleryItem = exports.listGalleryItems = exports.getGallery = exports.listGalleries = void 0;
|
3
|
+
exports.State = exports.SearchIndexingNotificationState = exports.Enum = exports.VideoType = exports.ImageType = exports.Type = exports.LinkType = exports.deleteGalleryItem = exports.updateGalleryItem = exports.createGalleryItem = exports.deleteGallery = exports.updateGallery = exports.createGallery = exports.getGalleryItem = exports.listGalleryItems = exports.getGallery = exports.listGalleries = exports.__metadata = void 0;
|
4
4
|
const pro_gallery_v2_gallery_universal_1 = require("./pro-gallery-v2-gallery.universal");
|
5
|
+
exports.__metadata = { PACKAGE_NAME: '@wix/pro-gallery' };
|
5
6
|
function listGalleries(httpClient) {
|
6
7
|
return (options) => (0, pro_gallery_v2_gallery_universal_1.listGalleries)(options,
|
7
8
|
// @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,yFAqB4C;
|
1
|
+
{"version":3,"file":"pro-gallery-v2-gallery.public.js","sourceRoot":"","sources":["../../../src/pro-gallery-v2-gallery.public.ts"],"names":[],"mappings":";;;AACA,yFAqB4C;AAE/B,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAE/D,SAAgB,aAAa,CAAC,UAAsB;IAClD,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AgB,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,SAAiB,EAAE,IAAU,EAAE,EAAE,CACvC,IAAA,oDAA0B,EACxB,SAAS,EACT,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,8CAQC;AAED,SAAgB,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,WAAyC,EAAE,IAAuB,EAAE,EAAE,CAC5E,IAAA,oDAA0B,EACxB,WAAW,EACX,IAAI;IACJ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,8CAQC;AAED,SAAgB,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CAAC,WAAyC,EAAE,EAAE,CACnD,IAAA,oDAA0B,EACxB,WAAW;IACX,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,8CAOC;AAED,uFAQ4C;AAP1C,4HAAA,QAAQ,OAAA;AACR,wHAAA,IAAI,OAAA;AACJ,6HAAA,SAAS,OAAA;AACT,6HAAA,SAAS,OAAA;AACT,wHAAA,IAAI,OAAA;AACJ,mJAAA,+BAA+B,OAAA;AAC/B,yHAAA,KAAK,OAAA"}
|
@@ -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 {
|