@wix/pro-gallery 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +24 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/src/pro-gallery-v2-gallery.http.d.ts +88 -0
  5. package/build/cjs/src/pro-gallery-v2-gallery.http.js +537 -0
  6. package/build/cjs/src/pro-gallery-v2-gallery.http.js.map +1 -0
  7. package/build/cjs/src/pro-gallery-v2-gallery.public.d.ts +14 -0
  8. package/build/cjs/src/pro-gallery-v2-gallery.public.js +73 -0
  9. package/build/cjs/src/pro-gallery-v2-gallery.public.js.map +1 -0
  10. package/build/cjs/src/pro-gallery-v2-gallery.types.d.ts +867 -0
  11. package/build/cjs/src/pro-gallery-v2-gallery.types.js +64 -0
  12. package/build/cjs/src/pro-gallery-v2-gallery.types.js.map +1 -0
  13. package/build/cjs/src/pro-gallery-v2-gallery.universal.d.ts +1106 -0
  14. package/build/cjs/src/pro-gallery-v2-gallery.universal.js +703 -0
  15. package/build/cjs/src/pro-gallery-v2-gallery.universal.js.map +1 -0
  16. package/build/es/index.d.ts +1 -0
  17. package/build/es/index.js +2 -0
  18. package/build/es/index.js.map +1 -0
  19. package/build/es/src/pro-gallery-v2-gallery.http.d.ts +88 -0
  20. package/build/es/src/pro-gallery-v2-gallery.http.js +524 -0
  21. package/build/es/src/pro-gallery-v2-gallery.http.js.map +1 -0
  22. package/build/es/src/pro-gallery-v2-gallery.public.d.ts +14 -0
  23. package/build/es/src/pro-gallery-v2-gallery.public.js +53 -0
  24. package/build/es/src/pro-gallery-v2-gallery.public.js.map +1 -0
  25. package/build/es/src/pro-gallery-v2-gallery.types.d.ts +867 -0
  26. package/build/es/src/pro-gallery-v2-gallery.types.js +61 -0
  27. package/build/es/src/pro-gallery-v2-gallery.types.js.map +1 -0
  28. package/build/es/src/pro-gallery-v2-gallery.universal.d.ts +1106 -0
  29. package/build/es/src/pro-gallery-v2-gallery.universal.js +671 -0
  30. package/build/es/src/pro-gallery-v2-gallery.universal.js.map +1 -0
  31. package/package.json +37 -0
@@ -0,0 +1 @@
1
+ export * as proGallery from './src/pro-gallery-v2-gallery.public';
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.proGallery = void 0;
23
+ exports.proGallery = __importStar(require("./src/pro-gallery-v2-gallery.public"));
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,kFAAkE"}
@@ -0,0 +1,88 @@
1
+ import { RequestOptionsFactory } from '@wix/sdk-types';
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
+ /**
4
+ * Lists galleries.
5
+ *
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
+ */
8
+ export declare function listGalleries(payload: ListGalleriesRequest): RequestOptionsFactory<ListGalleriesResponse>;
9
+ /**
10
+ * Gets an existing gallery by ID.
11
+ *
12
+ * The `getGallery()` function returns a Promise that resolves to a gallery whose ID matches the given ID.
13
+ */
14
+ export declare function getGallery(payload: GetGalleryRequest): RequestOptionsFactory<GetGalleryResponse>;
15
+ /**
16
+ * Lists media items in a specified gallery.
17
+ *
18
+ * The `listGalleryItems()` function returns a Promise that resolves to a list of up to 100 gallery items.
19
+ */
20
+ export declare function listGalleryItems(payload: ListGalleryItemsRequest): RequestOptionsFactory<ListGalleryItemsResponse>;
21
+ /**
22
+ * Gets an existing gallery item by ID.
23
+ *
24
+ * The `getGalleryItem()` function returns a Promise that resolves to a media item in a specified gallery whose ID matches the given ID.
25
+ */
26
+ export declare function getGalleryItem(payload: GetGalleryItemRequest): RequestOptionsFactory<GetGalleryItemResponse>;
27
+ /**
28
+ * Creates a gallery.
29
+ *
30
+ * The `createGallery()` function returns a Promise that resolves to a newly-created gallery after it has successfully been created.
31
+ *
32
+ * You can create your own gallery by providing the gallery information, or clone an existing gallery using the ID of that existing gallery. When a gallery is cloned, the newly-created gallery includes the same properties as the existing gallery except for the gallery and item IDs, sort order, and created and updated dates.
33
+ *
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
+ *
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.
38
+ *
39
+ * <blockquote class="important">
40
+ *
41
+ * __Important:__
42
+ * 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.
43
+ *
44
+ * </blockquote>
45
+ */
46
+ export declare function createGallery(payload: CreateGalleryRequest): RequestOptionsFactory<CreateGalleryResponse>;
47
+ /**
48
+ * Updates a gallery.
49
+ *
50
+ * 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
+ *
52
+ * >**Note:** Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) can update a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
53
+ */
54
+ export declare function updateGallery(payload: UpdateGalleryRequest): RequestOptionsFactory<UpdateGalleryResponse>;
55
+ /**
56
+ * Deletes a gallery.
57
+ *
58
+ * 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
+ *
60
+ * >**Note:** Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) can delete a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
61
+ */
62
+ export declare function deleteGallery(payload: DeleteGalleryRequest): RequestOptionsFactory<DeleteGalleryResponse>;
63
+ /**
64
+ * Creates a media item in a specified gallery.
65
+ *
66
+ * The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
67
+ *
68
+ * 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
+ *
70
+ * >**Note:** Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) 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.
71
+ */
72
+ export declare function createGalleryItem(payload: CreateGalleryItemRequest): RequestOptionsFactory<CreateGalleryItemResponse>;
73
+ /**
74
+ * Updates a media item in a specified gallery.
75
+ *
76
+ * 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
+ *
78
+ * >**Note:** Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) 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.
79
+ */
80
+ export declare function updateGalleryItem(payload: UpdateGalleryItemRequest): RequestOptionsFactory<UpdateGalleryItemResponse>;
81
+ /**
82
+ * Deletes a media item from a gallery.
83
+ *
84
+ * 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
+ *
86
+ * >**Note:** Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) 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
+ */
88
+ export declare function deleteGalleryItem(payload: DeleteGalleryItemRequest): RequestOptionsFactory<DeleteGalleryItemResponse>;
@@ -0,0 +1,537 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteGalleryItem = exports.updateGalleryItem = exports.createGalleryItem = exports.deleteGallery = exports.updateGallery = exports.createGallery = exports.getGalleryItem = exports.listGalleryItems = exports.getGallery = exports.listGalleries = void 0;
4
+ const metro_runtime_1 = require("@wix/metro-runtime");
5
+ const ambassador_1 = require("@wix/metro-runtime/ambassador");
6
+ const metro_runtime_2 = require("@wix/metro-runtime");
7
+ const _commonImage = { urlExpirationDate: 'google.protobuf.Timestamp' };
8
+ const _createGalleryItemRequest = { item: '_item' };
9
+ const _createGalleryItemResponse = { item: '_item' };
10
+ const _createGalleryRequest = { gallery: '_gallery' };
11
+ const _createGalleryResponse = { gallery: '_gallery' };
12
+ const _deleteGalleryItemRequest = {};
13
+ const _deleteGalleryItemResponse = {};
14
+ const _deleteGalleryRequest = {};
15
+ const _deleteGalleryResponse = {};
16
+ const _gallery = {
17
+ sortOrder: 'google.protobuf.DoubleValue',
18
+ createdDate: 'google.protobuf.Timestamp',
19
+ items: '_item',
20
+ };
21
+ const _getGalleryItemRequest = {};
22
+ const _getGalleryItemResponse = { item: '_item' };
23
+ const _getGalleryRequest = {};
24
+ const _getGalleryResponse = { gallery: '_gallery' };
25
+ const _image = {
26
+ imageInfo: '_commonImage',
27
+ focalPoint: '_point',
28
+ unsharpMasking: '_unsharpMasking',
29
+ };
30
+ const _item = {
31
+ sortOrder: 'google.protobuf.DoubleValue',
32
+ createdDate: 'google.protobuf.Timestamp',
33
+ updatedDate: 'google.protobuf.Timestamp',
34
+ secondaryMedia: '_secondaryMedia',
35
+ image: '_image',
36
+ video: '_video',
37
+ };
38
+ const _listGalleriesRequest = { fields: 'google.protobuf.FieldMask' };
39
+ const _listGalleriesResponse = { galleries: '_gallery' };
40
+ const _listGalleryItemsRequest = {};
41
+ const _listGalleryItemsResponse = { items: '_item' };
42
+ const _point = { x: 'DOUBLE', y: 'DOUBLE' };
43
+ const _secondaryMedia = { image: '_image' };
44
+ const _unsharpMasking = {
45
+ amount: 'google.protobuf.FloatValue',
46
+ radius: 'google.protobuf.FloatValue',
47
+ threshold: 'google.protobuf.FloatValue',
48
+ };
49
+ const _updateGalleryItemRequest = { item: '_item' };
50
+ const _updateGalleryItemResponse = { item: '_item' };
51
+ const _updateGalleryRequest = { gallery: '_gallery' };
52
+ const _updateGalleryResponse = { gallery: '_gallery' };
53
+ const _video = { videoInfo: '_videoV2' };
54
+ const _videoResolution = { poster: '_commonImage' };
55
+ const _videoV2 = {
56
+ urlExpirationDate: 'google.protobuf.Timestamp',
57
+ resolutions: '_videoResolution',
58
+ posters: '_commonImage',
59
+ };
60
+ function resolveComWixpressExposureProgalleryProGalleryUrl(opts) {
61
+ const domainToMappings = {
62
+ _: [
63
+ {
64
+ srcPath: '/_api/pro-gallery-server',
65
+ destPath: '',
66
+ },
67
+ ],
68
+ 'manage._base_domain_': [
69
+ {
70
+ srcPath: '/_api/pro-gallery-server',
71
+ destPath: '',
72
+ },
73
+ ],
74
+ 'www._base_domain_': [
75
+ {
76
+ srcPath: '/_api/pro-gallery-server',
77
+ destPath: '',
78
+ },
79
+ ],
80
+ 'editor._base_domain_': [
81
+ {
82
+ srcPath: '/_api/pro-gallery-server',
83
+ destPath: '',
84
+ },
85
+ ],
86
+ 'blocks._base_domain_': [
87
+ {
88
+ srcPath: '/_api/pro-gallery-server',
89
+ destPath: '',
90
+ },
91
+ ],
92
+ 'create.editorx': [
93
+ {
94
+ srcPath: '/_api/pro-gallery-server',
95
+ destPath: '',
96
+ },
97
+ ],
98
+ 'progallery.wixapps.net': [
99
+ {
100
+ srcPath: '/_api/pro-gallery-server',
101
+ destPath: '',
102
+ },
103
+ ],
104
+ 'www.wixapis.com': [
105
+ {
106
+ srcPath: '/progallery',
107
+ destPath: '',
108
+ },
109
+ ],
110
+ 'api._api_base_domain_': [
111
+ {
112
+ srcPath: '/pro-gallery-server',
113
+ destPath: '',
114
+ },
115
+ ],
116
+ '*.dev.wix-code.com': [
117
+ {
118
+ srcPath: '/_api/pro-gallery-server',
119
+ destPath: '',
120
+ },
121
+ ],
122
+ };
123
+ return metro_runtime_2.resolveUrl(Object.assign(opts, { domainToMappings }));
124
+ }
125
+ /**
126
+ * Lists galleries.
127
+ *
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
+ */
130
+ function listGalleries(payload) {
131
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_listGalleriesRequest, {});
132
+ const { fromJSON: fromRes } = ambassador_1.serializer(_listGalleriesResponse, {
133
+ _commonImage,
134
+ _gallery,
135
+ _image,
136
+ _item,
137
+ _point,
138
+ _secondaryMedia,
139
+ _unsharpMasking,
140
+ _video,
141
+ _videoResolution,
142
+ _videoV2,
143
+ });
144
+ function __listGalleries({ host }) {
145
+ const serializedData = toReq(payload);
146
+ const metadata = {
147
+ method: 'GET',
148
+ url: resolveComWixpressExposureProgalleryProGalleryUrl({
149
+ protoPath: '/v2/galleries',
150
+ data: serializedData,
151
+ host,
152
+ }),
153
+ params: metro_runtime_1.toURLSearchParams(serializedData),
154
+ transformResponse: fromRes,
155
+ };
156
+ return metadata;
157
+ }
158
+ __listGalleries.fromReq = fromReq;
159
+ return __listGalleries;
160
+ }
161
+ exports.listGalleries = listGalleries;
162
+ /**
163
+ * Gets an existing gallery by ID.
164
+ *
165
+ * The `getGallery()` function returns a Promise that resolves to a gallery whose ID matches the given ID.
166
+ */
167
+ function getGallery(payload) {
168
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getGalleryRequest, {});
169
+ const { fromJSON: fromRes } = ambassador_1.serializer(_getGalleryResponse, {
170
+ _commonImage,
171
+ _gallery,
172
+ _image,
173
+ _item,
174
+ _point,
175
+ _secondaryMedia,
176
+ _unsharpMasking,
177
+ _video,
178
+ _videoResolution,
179
+ _videoV2,
180
+ });
181
+ function __getGallery({ host }) {
182
+ const serializedData = toReq(payload);
183
+ const metadata = {
184
+ method: 'GET',
185
+ url: resolveComWixpressExposureProgalleryProGalleryUrl({
186
+ protoPath: '/v2/galleries/{galleryId}',
187
+ data: serializedData,
188
+ host,
189
+ }),
190
+ params: metro_runtime_1.toURLSearchParams(serializedData),
191
+ transformResponse: fromRes,
192
+ };
193
+ return metadata;
194
+ }
195
+ __getGallery.fromReq = fromReq;
196
+ return __getGallery;
197
+ }
198
+ exports.getGallery = getGallery;
199
+ /**
200
+ * Lists media items in a specified gallery.
201
+ *
202
+ * The `listGalleryItems()` function returns a Promise that resolves to a list of up to 100 gallery items.
203
+ */
204
+ function listGalleryItems(payload) {
205
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_listGalleryItemsRequest, {});
206
+ const { fromJSON: fromRes } = ambassador_1.serializer(_listGalleryItemsResponse, {
207
+ _commonImage,
208
+ _image,
209
+ _item,
210
+ _point,
211
+ _secondaryMedia,
212
+ _unsharpMasking,
213
+ _video,
214
+ _videoResolution,
215
+ _videoV2,
216
+ });
217
+ function __listGalleryItems({ host }) {
218
+ const serializedData = toReq(payload);
219
+ const metadata = {
220
+ method: 'GET',
221
+ url: resolveComWixpressExposureProgalleryProGalleryUrl({
222
+ protoPath: '/v2/galleries/{galleryId}/items',
223
+ data: serializedData,
224
+ host,
225
+ }),
226
+ params: metro_runtime_1.toURLSearchParams(serializedData),
227
+ transformResponse: fromRes,
228
+ };
229
+ return metadata;
230
+ }
231
+ __listGalleryItems.fromReq = fromReq;
232
+ return __listGalleryItems;
233
+ }
234
+ exports.listGalleryItems = listGalleryItems;
235
+ /**
236
+ * Gets an existing gallery item by ID.
237
+ *
238
+ * The `getGalleryItem()` function returns a Promise that resolves to a media item in a specified gallery whose ID matches the given ID.
239
+ */
240
+ function getGalleryItem(payload) {
241
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getGalleryItemRequest, {});
242
+ const { fromJSON: fromRes } = ambassador_1.serializer(_getGalleryItemResponse, {
243
+ _commonImage,
244
+ _image,
245
+ _item,
246
+ _point,
247
+ _secondaryMedia,
248
+ _unsharpMasking,
249
+ _video,
250
+ _videoResolution,
251
+ _videoV2,
252
+ });
253
+ function __getGalleryItem({ host }) {
254
+ const serializedData = toReq(payload);
255
+ const metadata = {
256
+ method: 'GET',
257
+ url: resolveComWixpressExposureProgalleryProGalleryUrl({
258
+ protoPath: '/v2/galleries/{galleryId}/items/{itemId}',
259
+ data: serializedData,
260
+ host,
261
+ }),
262
+ params: metro_runtime_1.toURLSearchParams(serializedData),
263
+ transformResponse: fromRes,
264
+ };
265
+ return metadata;
266
+ }
267
+ __getGalleryItem.fromReq = fromReq;
268
+ return __getGalleryItem;
269
+ }
270
+ exports.getGalleryItem = getGalleryItem;
271
+ /**
272
+ * Creates a gallery.
273
+ *
274
+ * The `createGallery()` function returns a Promise that resolves to a newly-created gallery after it has successfully been created.
275
+ *
276
+ * You can create your own gallery by providing the gallery information, or clone an existing gallery using the ID of that existing gallery. When a gallery is cloned, the newly-created gallery includes the same properties as the existing gallery except for the gallery and item IDs, sort order, and created and updated dates.
277
+ *
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
+ *
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.
282
+ *
283
+ * <blockquote class="important">
284
+ *
285
+ * __Important:__
286
+ * 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.
287
+ *
288
+ * </blockquote>
289
+ */
290
+ function createGallery(payload) {
291
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_createGalleryRequest, {
292
+ _commonImage,
293
+ _gallery,
294
+ _image,
295
+ _item,
296
+ _point,
297
+ _secondaryMedia,
298
+ _unsharpMasking,
299
+ _video,
300
+ _videoResolution,
301
+ _videoV2,
302
+ });
303
+ const { fromJSON: fromRes } = ambassador_1.serializer(_createGalleryResponse, {
304
+ _commonImage,
305
+ _gallery,
306
+ _image,
307
+ _item,
308
+ _point,
309
+ _secondaryMedia,
310
+ _unsharpMasking,
311
+ _video,
312
+ _videoResolution,
313
+ _videoV2,
314
+ });
315
+ function __createGallery({ host }) {
316
+ const serializedData = toReq(payload);
317
+ const metadata = {
318
+ method: 'POST',
319
+ url: resolveComWixpressExposureProgalleryProGalleryUrl({
320
+ protoPath: '/v2/galleries',
321
+ data: serializedData,
322
+ host,
323
+ }),
324
+ data: serializedData,
325
+ transformResponse: fromRes,
326
+ };
327
+ return metadata;
328
+ }
329
+ __createGallery.fromReq = fromReq;
330
+ return __createGallery;
331
+ }
332
+ exports.createGallery = createGallery;
333
+ /**
334
+ * Updates a gallery.
335
+ *
336
+ * 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
+ *
338
+ * >**Note:** Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) can update a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
339
+ */
340
+ function updateGallery(payload) {
341
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_updateGalleryRequest, {
342
+ _commonImage,
343
+ _gallery,
344
+ _image,
345
+ _item,
346
+ _point,
347
+ _secondaryMedia,
348
+ _unsharpMasking,
349
+ _video,
350
+ _videoResolution,
351
+ _videoV2,
352
+ });
353
+ const { fromJSON: fromRes } = ambassador_1.serializer(_updateGalleryResponse, {
354
+ _commonImage,
355
+ _gallery,
356
+ _image,
357
+ _item,
358
+ _point,
359
+ _secondaryMedia,
360
+ _unsharpMasking,
361
+ _video,
362
+ _videoResolution,
363
+ _videoV2,
364
+ });
365
+ function __updateGallery({ host }) {
366
+ const serializedData = toReq(payload);
367
+ const metadata = {
368
+ method: 'PATCH',
369
+ url: resolveComWixpressExposureProgalleryProGalleryUrl({
370
+ protoPath: '/v2/galleries/{gallery.id}',
371
+ data: serializedData,
372
+ host,
373
+ }),
374
+ data: serializedData,
375
+ transformResponse: fromRes,
376
+ };
377
+ return metadata;
378
+ }
379
+ __updateGallery.fromReq = fromReq;
380
+ return __updateGallery;
381
+ }
382
+ exports.updateGallery = updateGallery;
383
+ /**
384
+ * Deletes a gallery.
385
+ *
386
+ * 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
+ *
388
+ * >**Note:** Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) can delete a gallery. You can override the permissions with the `wix-auth` [`elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
389
+ */
390
+ function deleteGallery(payload) {
391
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_deleteGalleryRequest, {});
392
+ const { fromJSON: fromRes } = ambassador_1.serializer(_deleteGalleryResponse, {});
393
+ function __deleteGallery({ host }) {
394
+ const serializedData = toReq(payload);
395
+ const metadata = {
396
+ method: 'DELETE',
397
+ url: resolveComWixpressExposureProgalleryProGalleryUrl({
398
+ protoPath: '/v2/galleries/{galleryId}',
399
+ data: serializedData,
400
+ host,
401
+ }),
402
+ params: metro_runtime_1.toURLSearchParams(serializedData),
403
+ transformResponse: fromRes,
404
+ };
405
+ return metadata;
406
+ }
407
+ __deleteGallery.fromReq = fromReq;
408
+ return __deleteGallery;
409
+ }
410
+ exports.deleteGallery = deleteGallery;
411
+ /**
412
+ * Creates a media item in a specified gallery.
413
+ *
414
+ * The `createGalleryItem()` function returns a Promise that resolves to a newly-created gallery item after it has successfully been created.
415
+ *
416
+ * 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
+ *
418
+ * >**Note:** Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) 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.
419
+ */
420
+ function createGalleryItem(payload) {
421
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_createGalleryItemRequest, {
422
+ _commonImage,
423
+ _image,
424
+ _item,
425
+ _point,
426
+ _secondaryMedia,
427
+ _unsharpMasking,
428
+ _video,
429
+ _videoResolution,
430
+ _videoV2,
431
+ });
432
+ const { fromJSON: fromRes } = ambassador_1.serializer(_createGalleryItemResponse, {
433
+ _commonImage,
434
+ _image,
435
+ _item,
436
+ _point,
437
+ _secondaryMedia,
438
+ _unsharpMasking,
439
+ _video,
440
+ _videoResolution,
441
+ _videoV2,
442
+ });
443
+ function __createGalleryItem({ host }) {
444
+ const serializedData = toReq(payload);
445
+ const metadata = {
446
+ method: 'POST',
447
+ url: resolveComWixpressExposureProgalleryProGalleryUrl({
448
+ protoPath: '/v2/galleries/{galleryId}/items',
449
+ data: serializedData,
450
+ host,
451
+ }),
452
+ data: serializedData,
453
+ transformResponse: fromRes,
454
+ };
455
+ return metadata;
456
+ }
457
+ __createGalleryItem.fromReq = fromReq;
458
+ return __createGalleryItem;
459
+ }
460
+ exports.createGalleryItem = createGalleryItem;
461
+ /**
462
+ * Updates a media item in a specified gallery.
463
+ *
464
+ * 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
+ *
466
+ * >**Note:** Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) 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.
467
+ */
468
+ function updateGalleryItem(payload) {
469
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_updateGalleryItemRequest, {
470
+ _commonImage,
471
+ _image,
472
+ _item,
473
+ _point,
474
+ _secondaryMedia,
475
+ _unsharpMasking,
476
+ _video,
477
+ _videoResolution,
478
+ _videoV2,
479
+ });
480
+ const { fromJSON: fromRes } = ambassador_1.serializer(_updateGalleryItemResponse, {
481
+ _commonImage,
482
+ _image,
483
+ _item,
484
+ _point,
485
+ _secondaryMedia,
486
+ _unsharpMasking,
487
+ _video,
488
+ _videoResolution,
489
+ _videoV2,
490
+ });
491
+ function __updateGalleryItem({ host }) {
492
+ const serializedData = toReq(payload);
493
+ const metadata = {
494
+ method: 'PATCH',
495
+ url: resolveComWixpressExposureProgalleryProGalleryUrl({
496
+ protoPath: '/v2/galleries/{galleryId}/items/{item.id}',
497
+ data: serializedData,
498
+ host,
499
+ }),
500
+ data: serializedData,
501
+ transformResponse: fromRes,
502
+ };
503
+ return metadata;
504
+ }
505
+ __updateGalleryItem.fromReq = fromReq;
506
+ return __updateGalleryItem;
507
+ }
508
+ exports.updateGalleryItem = updateGalleryItem;
509
+ /**
510
+ * Deletes a media item from a gallery.
511
+ *
512
+ * 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
+ *
514
+ * >**Note:** Only [site admins](https://support.wix.com/en/article/roles-permissions-overview) 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
+ */
516
+ function deleteGalleryItem(payload) {
517
+ const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_deleteGalleryItemRequest, {});
518
+ const { fromJSON: fromRes } = ambassador_1.serializer(_deleteGalleryItemResponse, {});
519
+ function __deleteGalleryItem({ host }) {
520
+ const serializedData = toReq(payload);
521
+ const metadata = {
522
+ method: 'DELETE',
523
+ url: resolveComWixpressExposureProgalleryProGalleryUrl({
524
+ protoPath: '/v2/galleries/{galleryId}/items/{itemId}',
525
+ data: serializedData,
526
+ host,
527
+ }),
528
+ params: metro_runtime_1.toURLSearchParams(serializedData),
529
+ transformResponse: fromRes,
530
+ };
531
+ return metadata;
532
+ }
533
+ __deleteGalleryItem.fromReq = fromReq;
534
+ return __deleteGalleryItem;
535
+ }
536
+ exports.deleteGalleryItem = deleteGalleryItem;
537
+ //# sourceMappingURL=pro-gallery-v2-gallery.http.js.map
@@ -0,0 +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,EAAE,2BAA2B;IACxC,KAAK,EAAE,OAAO;CACf,CAAC;AACF,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,uBAAuB,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAClD,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,mBAAmB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACpD,MAAM,MAAM,GAAG;IACb,SAAS,EAAE,cAAc;IACzB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