@wix/pro-gallery 1.0.9 → 1.0.11
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 +33 -11
- package/build/cjs/src/pro-gallery-v2-gallery.http.js +33 -11
- package/build/cjs/src/pro-gallery-v2-gallery.http.js.map +1 -1
- package/build/cjs/src/pro-gallery-v2-gallery.types.d.ts +2 -2
- package/build/cjs/src/pro-gallery-v2-gallery.universal.d.ts +37 -15
- package/build/cjs/src/pro-gallery-v2-gallery.universal.js +33 -11
- package/build/cjs/src/pro-gallery-v2-gallery.universal.js.map +1 -1
- package/build/es/src/pro-gallery-v2-gallery.http.d.ts +33 -11
- package/build/es/src/pro-gallery-v2-gallery.http.js +33 -11
- package/build/es/src/pro-gallery-v2-gallery.http.js.map +1 -1
- package/build/es/src/pro-gallery-v2-gallery.types.d.ts +2 -2
- package/build/es/src/pro-gallery-v2-gallery.universal.d.ts +37 -15
- package/build/es/src/pro-gallery-v2-gallery.universal.js +33 -11
- package/build/es/src/pro-gallery-v2-gallery.universal.js.map +1 -1
- package/package.json +2 -2
@@ -1,25 +1,25 @@
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
2
2
|
import { CreateGalleryItemRequest, CreateGalleryItemResponse, CreateGalleryRequest, CreateGalleryResponse, DeleteGalleryItemRequest, DeleteGalleryItemResponse, DeleteGalleryRequest, DeleteGalleryResponse, GetGalleryItemRequest, GetGalleryItemResponse, GetGalleryRequest, GetGalleryResponse, ListGalleriesRequest, ListGalleriesResponse, ListGalleryItemsRequest, ListGalleryItemsResponse, UpdateGalleryItemRequest, UpdateGalleryItemResponse, UpdateGalleryRequest, UpdateGalleryResponse } from './pro-gallery-v2-gallery.types';
|
3
3
|
/**
|
4
|
-
*
|
4
|
+
* Retrieves a list of galleries.
|
5
5
|
*
|
6
6
|
* The `listGalleries()` function returns a Promise that resolves to 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.
|
7
7
|
*/
|
8
8
|
export declare function listGalleries(payload: ListGalleriesRequest): RequestOptionsFactory<ListGalleriesResponse>;
|
9
9
|
/**
|
10
|
-
* Gets
|
10
|
+
* Gets a gallery by ID.
|
11
11
|
*
|
12
12
|
* The `getGallery()` function returns a Promise that resolves to a gallery whose ID matches the given ID.
|
13
13
|
*/
|
14
14
|
export declare function getGallery(payload: GetGalleryRequest): RequestOptionsFactory<GetGalleryResponse>;
|
15
15
|
/**
|
16
|
-
*
|
16
|
+
* Retrieves a list of media items in a specified gallery.
|
17
17
|
*
|
18
18
|
* The `listGalleryItems()` function returns a Promise that resolves to a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
|
19
19
|
*/
|
20
20
|
export declare function listGalleryItems(payload: ListGalleryItemsRequest): RequestOptionsFactory<ListGalleryItemsResponse>;
|
21
21
|
/**
|
22
|
-
* Gets
|
22
|
+
* Gets a gallery item by ID.
|
23
23
|
*
|
24
24
|
* The `getGalleryItem()` function returns a Promise that resolves to a media item in a specified gallery whose ID matches the given ID.
|
25
25
|
*/
|
@@ -33,8 +33,7 @@ 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
|
-
*
|
37
|
-
* Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) can create a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
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.
|
38
37
|
*
|
39
38
|
* <blockquote class="important">
|
40
39
|
*
|
@@ -49,7 +48,14 @@ export declare function createGallery(payload: CreateGalleryRequest): RequestOpt
|
|
49
48
|
*
|
50
49
|
* 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.
|
51
50
|
*
|
52
|
-
* >**Note:** Only
|
51
|
+
* >**Note:** 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
|
+
* <blockquote class="important">
|
54
|
+
*
|
55
|
+
* __Important:__
|
56
|
+
* 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
|
+
*
|
58
|
+
* </blockquote>
|
53
59
|
*/
|
54
60
|
export declare function updateGallery(payload: UpdateGalleryRequest): RequestOptionsFactory<UpdateGalleryResponse>;
|
55
61
|
/**
|
@@ -57,7 +63,8 @@ export declare function updateGallery(payload: UpdateGalleryRequest): RequestOpt
|
|
57
63
|
*
|
58
64
|
* 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.
|
59
65
|
*
|
60
|
-
* >**Note:** Only
|
66
|
+
* >**Note:** Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can delete a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
67
|
+
*
|
61
68
|
*/
|
62
69
|
export declare function deleteGallery(payload: DeleteGalleryRequest): RequestOptionsFactory<DeleteGalleryResponse>;
|
63
70
|
/**
|
@@ -67,7 +74,15 @@ export declare function deleteGallery(payload: DeleteGalleryRequest): RequestOpt
|
|
67
74
|
*
|
68
75
|
* When creating `image` items, the images in your gallery 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.
|
69
76
|
*
|
70
|
-
* >**Note:** Only
|
77
|
+
* >**Note:** 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.
|
78
|
+
*
|
79
|
+
*
|
80
|
+
* <blockquote class="important">
|
81
|
+
*
|
82
|
+
* __Important:__
|
83
|
+
* 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.
|
84
|
+
*
|
85
|
+
* </blockquote>
|
71
86
|
*/
|
72
87
|
export declare function createGalleryItem(payload: CreateGalleryItemRequest): RequestOptionsFactory<CreateGalleryItemResponse>;
|
73
88
|
/**
|
@@ -75,7 +90,14 @@ export declare function createGalleryItem(payload: CreateGalleryItemRequest): Re
|
|
75
90
|
*
|
76
91
|
* 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.
|
77
92
|
*
|
78
|
-
* >**Note:** Only
|
93
|
+
* >**Note:** 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.
|
94
|
+
*
|
95
|
+
* <blockquote class="important">
|
96
|
+
*
|
97
|
+
* __Important:__
|
98
|
+
* 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.
|
99
|
+
*
|
100
|
+
* </blockquote>
|
79
101
|
*/
|
80
102
|
export declare function updateGalleryItem(payload: UpdateGalleryItemRequest): RequestOptionsFactory<UpdateGalleryItemResponse>;
|
81
103
|
/**
|
@@ -83,6 +105,6 @@ export declare function updateGalleryItem(payload: UpdateGalleryItemRequest): Re
|
|
83
105
|
*
|
84
106
|
* 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.
|
85
107
|
*
|
86
|
-
* >**Note:** Only
|
108
|
+
* >**Note:** Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can delete a gallery item. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
87
109
|
*/
|
88
110
|
export declare function deleteGalleryItem(payload: DeleteGalleryItemRequest): RequestOptionsFactory<DeleteGalleryItemResponse>;
|
@@ -123,7 +123,7 @@ function resolveComWixpressExposureProgalleryProGalleryUrl(opts) {
|
|
123
123
|
return metro_runtime_2.resolveUrl(Object.assign(opts, { domainToMappings }));
|
124
124
|
}
|
125
125
|
/**
|
126
|
-
*
|
126
|
+
* Retrieves a list of galleries.
|
127
127
|
*
|
128
128
|
* The `listGalleries()` function returns a Promise that resolves to 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.
|
129
129
|
*/
|
@@ -160,7 +160,7 @@ function listGalleries(payload) {
|
|
160
160
|
}
|
161
161
|
exports.listGalleries = listGalleries;
|
162
162
|
/**
|
163
|
-
* Gets
|
163
|
+
* Gets a gallery by ID.
|
164
164
|
*
|
165
165
|
* The `getGallery()` function returns a Promise that resolves to a gallery whose ID matches the given ID.
|
166
166
|
*/
|
@@ -197,7 +197,7 @@ function getGallery(payload) {
|
|
197
197
|
}
|
198
198
|
exports.getGallery = getGallery;
|
199
199
|
/**
|
200
|
-
*
|
200
|
+
* Retrieves a list of media items in a specified gallery.
|
201
201
|
*
|
202
202
|
* The `listGalleryItems()` function returns a Promise that resolves to a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
|
203
203
|
*/
|
@@ -233,7 +233,7 @@ function listGalleryItems(payload) {
|
|
233
233
|
}
|
234
234
|
exports.listGalleryItems = listGalleryItems;
|
235
235
|
/**
|
236
|
-
* Gets
|
236
|
+
* Gets a gallery item by ID.
|
237
237
|
*
|
238
238
|
* The `getGalleryItem()` function returns a Promise that resolves to a media item in a specified gallery whose ID matches the given ID.
|
239
239
|
*/
|
@@ -277,8 +277,7 @@ exports.getGalleryItem = getGalleryItem;
|
|
277
277
|
*
|
278
278
|
* 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
279
|
*
|
280
|
-
*
|
281
|
-
* Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) can create a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
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.
|
282
281
|
*
|
283
282
|
* <blockquote class="important">
|
284
283
|
*
|
@@ -335,7 +334,14 @@ exports.createGallery = createGallery;
|
|
335
334
|
*
|
336
335
|
* 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.
|
337
336
|
*
|
338
|
-
* >**Note:** Only
|
337
|
+
* >**Note:** 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
|
+
* <blockquote class="important">
|
340
|
+
*
|
341
|
+
* __Important:__
|
342
|
+
* 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
|
+
*
|
344
|
+
* </blockquote>
|
339
345
|
*/
|
340
346
|
function updateGallery(payload) {
|
341
347
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_updateGalleryRequest, {
|
@@ -385,7 +391,8 @@ exports.updateGallery = updateGallery;
|
|
385
391
|
*
|
386
392
|
* 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.
|
387
393
|
*
|
388
|
-
* >**Note:** Only
|
394
|
+
* >**Note:** Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can delete a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
395
|
+
*
|
389
396
|
*/
|
390
397
|
function deleteGallery(payload) {
|
391
398
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_deleteGalleryRequest, {});
|
@@ -415,7 +422,15 @@ exports.deleteGallery = deleteGallery;
|
|
415
422
|
*
|
416
423
|
* When creating `image` items, the images in your gallery 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.
|
417
424
|
*
|
418
|
-
* >**Note:** Only
|
425
|
+
* >**Note:** 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.
|
426
|
+
*
|
427
|
+
*
|
428
|
+
* <blockquote class="important">
|
429
|
+
*
|
430
|
+
* __Important:__
|
431
|
+
* 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.
|
432
|
+
*
|
433
|
+
* </blockquote>
|
419
434
|
*/
|
420
435
|
function createGalleryItem(payload) {
|
421
436
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_createGalleryItemRequest, {
|
@@ -463,7 +478,14 @@ exports.createGalleryItem = createGalleryItem;
|
|
463
478
|
*
|
464
479
|
* 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.
|
465
480
|
*
|
466
|
-
* >**Note:** Only
|
481
|
+
* >**Note:** 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.
|
482
|
+
*
|
483
|
+
* <blockquote class="important">
|
484
|
+
*
|
485
|
+
* __Important:__
|
486
|
+
* 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.
|
487
|
+
*
|
488
|
+
* </blockquote>
|
467
489
|
*/
|
468
490
|
function updateGalleryItem(payload) {
|
469
491
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_updateGalleryItemRequest, {
|
@@ -511,7 +533,7 @@ exports.updateGalleryItem = updateGalleryItem;
|
|
511
533
|
*
|
512
534
|
* 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.
|
513
535
|
*
|
514
|
-
* >**Note:** Only
|
536
|
+
* >**Note:** Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can delete a gallery item. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
515
537
|
*/
|
516
538
|
function deleteGalleryItem(payload) {
|
517
539
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_deleteGalleryItemRequest, {});
|
@@ -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,EAAE,CAAC;AACrC,MAAM,0BAA0B,GAAG,EAAE,CAAC;AACtC,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,QAAQ,GAAG;IACf,SAAS,EAAE,6BAA6B;IACxC,WAAW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B,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,mBAAmB,CAAC,OAAO,GAAG,OAAO,CAAC;IAEtC,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AAhDD,8CAgDC;AAED;;;;;;GAMG;AACH,SAAgB,iBAAiB,CAC/B,OAAiC;IAEjC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CACrD,yBAAyB,EACzB,EAAE,CACH,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,uBAAU,CAAC,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,MAAM,EAAE,QAAe;YACvB,GAAG,EAAE,iDAAiD,CAAC;gBACrD,SAAS,EAAE,0CAA0C;gBACrD,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,MAAM,EAAE,iCAAiB,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;AA5BD,8CA4BC"}
|
@@ -16,7 +16,7 @@ export interface Gallery {
|
|
16
16
|
/**
|
17
17
|
* Index that determines which position a gallery is displayed on the site. <br />
|
18
18
|
*
|
19
|
-
* >**Note:** If you assign the same sort order
|
19
|
+
* >**Note:** If you assign the same sort order index to more than one gallery, the function fails.
|
20
20
|
*/
|
21
21
|
sortOrder?: number | null;
|
22
22
|
/**
|
@@ -36,7 +36,7 @@ export interface Item extends ItemMetadataOneOf {
|
|
36
36
|
*
|
37
37
|
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
38
38
|
*
|
39
|
-
* >**Note:** If you assign the same sort order
|
39
|
+
* >**Note:** If you assign the same sort order index to more than one media item in a gallery, the function fails.
|
40
40
|
*/
|
41
41
|
sortOrder?: number | null;
|
42
42
|
/** Item title. */
|
@@ -22,7 +22,7 @@ export interface Gallery {
|
|
22
22
|
/**
|
23
23
|
* Index that determines which position a gallery is displayed on the site. <br />
|
24
24
|
*
|
25
|
-
* >**Note:** If you assign the same sort order
|
25
|
+
* >**Note:** If you assign the same sort order index to more than one gallery, the function fails.
|
26
26
|
*/
|
27
27
|
sortOrder?: number | null;
|
28
28
|
/**
|
@@ -42,7 +42,7 @@ export interface Item extends ItemMetadataOneOf {
|
|
42
42
|
*
|
43
43
|
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
44
44
|
*
|
45
|
-
* >**Note:** If you assign the same sort order
|
45
|
+
* >**Note:** If you assign the same sort order index to more than one media item in a gallery, the function fails.
|
46
46
|
*/
|
47
47
|
sortOrder?: number | null;
|
48
48
|
/** Item title. */
|
@@ -809,7 +809,7 @@ export interface ExtendedFieldsUpdatedEvent {
|
|
809
809
|
currentEntityAsJson?: string;
|
810
810
|
}
|
811
811
|
/**
|
812
|
-
*
|
812
|
+
* Retrieves a list of galleries.
|
813
813
|
*
|
814
814
|
* The `listGalleries()` function returns a Promise that resolves to 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.
|
815
815
|
* @public
|
@@ -825,7 +825,7 @@ export interface ListGalleriesOptions {
|
|
825
825
|
limit?: number | null;
|
826
826
|
}
|
827
827
|
/**
|
828
|
-
* Gets
|
828
|
+
* Gets a gallery by ID.
|
829
829
|
*
|
830
830
|
* The `getGallery()` function returns a Promise that resolves to a gallery whose ID matches the given ID.
|
831
831
|
* @param galleryId - Gallery ID.
|
@@ -848,7 +848,7 @@ export interface GetGalleryOptions {
|
|
848
848
|
itemLimit?: number | null;
|
849
849
|
}
|
850
850
|
/**
|
851
|
-
*
|
851
|
+
* Retrieves a list of media items in a specified gallery.
|
852
852
|
*
|
853
853
|
* The `listGalleryItems()` function returns a Promise that resolves to a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
|
854
854
|
* @param galleryId - Gallery ID.
|
@@ -870,7 +870,7 @@ export interface ListGalleryItemsOptions {
|
|
870
870
|
itemLimit?: number | null;
|
871
871
|
}
|
872
872
|
/**
|
873
|
-
* Gets
|
873
|
+
* Gets a gallery item by ID.
|
874
874
|
*
|
875
875
|
* The `getGalleryItem()` function returns a Promise that resolves to a media item in a specified gallery whose ID matches the given ID.
|
876
876
|
* @public
|
@@ -896,8 +896,7 @@ export interface GetGalleryItemIdentifiers {
|
|
896
896
|
*
|
897
897
|
* 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).
|
898
898
|
*
|
899
|
-
*
|
900
|
-
* Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) can create a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
899
|
+
* 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.
|
901
900
|
*
|
902
901
|
* <blockquote class="important">
|
903
902
|
*
|
@@ -925,7 +924,14 @@ export interface CreateGalleryOptions {
|
|
925
924
|
*
|
926
925
|
* 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.
|
927
926
|
*
|
928
|
-
* >**Note:** Only
|
927
|
+
* >**Note:** 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.
|
928
|
+
*
|
929
|
+
* <blockquote class="important">
|
930
|
+
*
|
931
|
+
* __Important:__
|
932
|
+
* 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.
|
933
|
+
*
|
934
|
+
* </blockquote>
|
929
935
|
* @public
|
930
936
|
* @requiredField _id
|
931
937
|
* @requiredField gallery
|
@@ -955,7 +961,7 @@ export interface UpdateGallery {
|
|
955
961
|
/**
|
956
962
|
* Index that determines which position a gallery is displayed on the site. <br />
|
957
963
|
*
|
958
|
-
* >**Note:** If you assign the same sort order
|
964
|
+
* >**Note:** If you assign the same sort order index to more than one gallery, the function fails.
|
959
965
|
*/
|
960
966
|
sortOrder?: number | null;
|
961
967
|
/**
|
@@ -969,7 +975,8 @@ export interface UpdateGallery {
|
|
969
975
|
*
|
970
976
|
* 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.
|
971
977
|
*
|
972
|
-
* >**Note:** Only
|
978
|
+
* >**Note:** Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can delete a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
979
|
+
*
|
973
980
|
* @param galleryId - ID of the gallery to delete.
|
974
981
|
* @public
|
975
982
|
* @requiredField galleryId
|
@@ -982,7 +989,15 @@ export declare function deleteGallery(galleryId: string): Promise<DeleteGalleryR
|
|
982
989
|
*
|
983
990
|
* When creating `image` items, the images in your gallery 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.
|
984
991
|
*
|
985
|
-
* >**Note:** Only
|
992
|
+
* >**Note:** 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.
|
993
|
+
*
|
994
|
+
*
|
995
|
+
* <blockquote class="important">
|
996
|
+
*
|
997
|
+
* __Important:__
|
998
|
+
* 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.
|
999
|
+
*
|
1000
|
+
* </blockquote>
|
986
1001
|
* @param galleryId - Gallery ID.
|
987
1002
|
* @param item - Media item to create.
|
988
1003
|
* @public
|
@@ -1000,7 +1015,14 @@ export declare function createGalleryItem(galleryId: string, item: Item): Promis
|
|
1000
1015
|
*
|
1001
1016
|
* 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.
|
1002
1017
|
*
|
1003
|
-
* >**Note:** Only
|
1018
|
+
* >**Note:** 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.
|
1019
|
+
*
|
1020
|
+
* <blockquote class="important">
|
1021
|
+
*
|
1022
|
+
* __Important:__
|
1023
|
+
* 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.
|
1024
|
+
*
|
1025
|
+
* </blockquote>
|
1004
1026
|
* @public
|
1005
1027
|
* @requiredField identifiers
|
1006
1028
|
* @requiredField identifiers.galleryId
|
@@ -1034,7 +1056,7 @@ export interface UpdateGalleryItem {
|
|
1034
1056
|
*
|
1035
1057
|
* Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
|
1036
1058
|
*
|
1037
|
-
* >**Note:** If you assign the same sort order
|
1059
|
+
* >**Note:** If you assign the same sort order index to more than one media item in a gallery, the function fails.
|
1038
1060
|
*/
|
1039
1061
|
sortOrder?: number | null;
|
1040
1062
|
/** Item title. */
|
@@ -1069,7 +1091,7 @@ export interface UpdateGalleryItem {
|
|
1069
1091
|
*
|
1070
1092
|
* 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.
|
1071
1093
|
*
|
1072
|
-
* >**Note:** Only
|
1094
|
+
* >**Note:** Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can delete a gallery item. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
1073
1095
|
* @public
|
1074
1096
|
* @requiredField identifiers
|
1075
1097
|
* @requiredField identifiers.galleryId
|
@@ -136,7 +136,7 @@ const _updateGalleryRequest = { gallery: '_gallery' };
|
|
136
136
|
const _updateGalleryResponse = { gallery: '_gallery' };
|
137
137
|
const _video = { videoInfo: 'wix.common.VideoV2' };
|
138
138
|
/**
|
139
|
-
*
|
139
|
+
* Retrieves a list of galleries.
|
140
140
|
*
|
141
141
|
* The `listGalleries()` function returns a Promise that resolves to 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.
|
142
142
|
* @public
|
@@ -187,7 +187,7 @@ function listGalleries(options) {
|
|
187
187
|
}
|
188
188
|
exports.listGalleries = listGalleries;
|
189
189
|
/**
|
190
|
-
* Gets
|
190
|
+
* Gets a gallery by ID.
|
191
191
|
*
|
192
192
|
* The `getGallery()` function returns a Promise that resolves to a gallery whose ID matches the given ID.
|
193
193
|
* @param galleryId - Gallery ID.
|
@@ -242,7 +242,7 @@ function getGallery(galleryId, options) {
|
|
242
242
|
}
|
243
243
|
exports.getGallery = getGallery;
|
244
244
|
/**
|
245
|
-
*
|
245
|
+
* Retrieves a list of media items in a specified gallery.
|
246
246
|
*
|
247
247
|
* The `listGalleryItems()` function returns a Promise that resolves to a list of up to 100 gallery items. The gallery items are listed by `sortOrder` in descending order.
|
248
248
|
* @param galleryId - Gallery ID.
|
@@ -296,7 +296,7 @@ function listGalleryItems(galleryId, options) {
|
|
296
296
|
}
|
297
297
|
exports.listGalleryItems = listGalleryItems;
|
298
298
|
/**
|
299
|
-
* Gets
|
299
|
+
* Gets a gallery item by ID.
|
300
300
|
*
|
301
301
|
* The `getGalleryItem()` function returns a Promise that resolves to a media item in a specified gallery whose ID matches the given ID.
|
302
302
|
* @public
|
@@ -358,8 +358,7 @@ exports.getGalleryItem = getGalleryItem;
|
|
358
358
|
*
|
359
359
|
* 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).
|
360
360
|
*
|
361
|
-
*
|
362
|
-
* Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) can create a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
361
|
+
* 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.
|
363
362
|
*
|
364
363
|
* <blockquote class="important">
|
365
364
|
*
|
@@ -423,7 +422,14 @@ exports.createGallery = createGallery;
|
|
423
422
|
*
|
424
423
|
* 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.
|
425
424
|
*
|
426
|
-
* >**Note:** Only
|
425
|
+
* >**Note:** 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.
|
426
|
+
*
|
427
|
+
* <blockquote class="important">
|
428
|
+
*
|
429
|
+
* __Important:__
|
430
|
+
* 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.
|
431
|
+
*
|
432
|
+
* </blockquote>
|
427
433
|
* @public
|
428
434
|
* @requiredField _id
|
429
435
|
* @requiredField gallery
|
@@ -480,7 +486,8 @@ exports.updateGallery = updateGallery;
|
|
480
486
|
*
|
481
487
|
* 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.
|
482
488
|
*
|
483
|
-
* >**Note:** Only
|
489
|
+
* >**Note:** Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can delete a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
490
|
+
*
|
484
491
|
* @param galleryId - ID of the gallery to delete.
|
485
492
|
* @public
|
486
493
|
* @requiredField galleryId
|
@@ -532,7 +539,15 @@ exports.deleteGallery = deleteGallery;
|
|
532
539
|
*
|
533
540
|
* When creating `image` items, the images in your gallery 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.
|
534
541
|
*
|
535
|
-
* >**Note:** Only
|
542
|
+
* >**Note:** 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.
|
543
|
+
*
|
544
|
+
*
|
545
|
+
* <blockquote class="important">
|
546
|
+
*
|
547
|
+
* __Important:__
|
548
|
+
* 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.
|
549
|
+
*
|
550
|
+
* </blockquote>
|
536
551
|
* @param galleryId - Gallery ID.
|
537
552
|
* @param item - Media item to create.
|
538
553
|
* @public
|
@@ -590,7 +605,14 @@ exports.createGalleryItem = createGalleryItem;
|
|
590
605
|
*
|
591
606
|
* 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.
|
592
607
|
*
|
593
|
-
* >**Note:** Only
|
608
|
+
* >**Note:** 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.
|
609
|
+
*
|
610
|
+
* <blockquote class="important">
|
611
|
+
*
|
612
|
+
* __Important:__
|
613
|
+
* 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.
|
614
|
+
*
|
615
|
+
* </blockquote>
|
594
616
|
* @public
|
595
617
|
* @requiredField identifiers
|
596
618
|
* @requiredField identifiers.galleryId
|
@@ -652,7 +674,7 @@ exports.updateGalleryItem = updateGalleryItem;
|
|
652
674
|
*
|
653
675
|
* 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.
|
654
676
|
*
|
655
|
-
* >**Note:** Only
|
677
|
+
* >**Note:** Only site collaborators with 'pro-gallery.manage' [permissions](https://support.wix.com/en/article/roles-permissions-accessing-roles-permissions) can delete a gallery item. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
656
678
|
* @public
|
657
679
|
* @requiredField identifiers
|
658
680
|
* @requiredField identifiers.galleryId
|