@wix/auto_sdk_fast-gallery_galleries 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.
@@ -0,0 +1,697 @@
1
+ // src/fastgallery-gallery-v1-gallery-galleries.http.ts
2
+ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
3
+ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
4
+ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
5
+ import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
6
+ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
7
+ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
8
+ function resolveWixFastgalleryGalleryV1GalleryServiceUrl(opts) {
9
+ const domainToMappings = {
10
+ "editor._base_domain_": [
11
+ {
12
+ srcPath: "/_api/gallery",
13
+ destPath: ""
14
+ }
15
+ ],
16
+ "blocks._base_domain_": [
17
+ {
18
+ srcPath: "/_api/gallery",
19
+ destPath: ""
20
+ }
21
+ ],
22
+ "create.editorx": [
23
+ {
24
+ srcPath: "/_api/gallery",
25
+ destPath: ""
26
+ }
27
+ ],
28
+ _: [
29
+ {
30
+ srcPath: "/_api/gallery",
31
+ destPath: ""
32
+ }
33
+ ],
34
+ "*.dev.wix-code.com": [
35
+ {
36
+ srcPath: "/_api/gallery",
37
+ destPath: ""
38
+ }
39
+ ],
40
+ "www.wixapis.com": [
41
+ {
42
+ srcPath: "/fastgallery/gallery/v1/bulk/galleries",
43
+ destPath: "/v1/bulk/galleries"
44
+ },
45
+ {
46
+ srcPath: "/fastgallery/gallery/v1/galleries",
47
+ destPath: "/v1/galleries"
48
+ }
49
+ ]
50
+ };
51
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
52
+ }
53
+ var PACKAGE_NAME = "@wix/auto_sdk_fast-gallery_galleries";
54
+ function createGallery(payload) {
55
+ function __createGallery({ host }) {
56
+ const serializedData = transformPaths(payload, [
57
+ {
58
+ transformFn: transformSDKTimestampToRESTTimestamp,
59
+ paths: [
60
+ { path: "gallery.createdDate" },
61
+ { path: "gallery.updatedDate" }
62
+ ]
63
+ }
64
+ ]);
65
+ const metadata = {
66
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
67
+ method: "POST",
68
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.CreateGallery",
69
+ packageName: PACKAGE_NAME,
70
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
71
+ protoPath: "/v1/galleries",
72
+ data: serializedData,
73
+ host
74
+ }),
75
+ data: serializedData,
76
+ transformResponse: (payload2) => transformPaths(payload2, [
77
+ {
78
+ transformFn: transformRESTTimestampToSDKTimestamp,
79
+ paths: [
80
+ { path: "gallery.createdDate" },
81
+ { path: "gallery.updatedDate" }
82
+ ]
83
+ }
84
+ ])
85
+ };
86
+ return metadata;
87
+ }
88
+ return __createGallery;
89
+ }
90
+ function getGallery(payload) {
91
+ function __getGallery({ host }) {
92
+ const metadata = {
93
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
94
+ method: "GET",
95
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.GetGallery",
96
+ packageName: PACKAGE_NAME,
97
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
98
+ protoPath: "/v1/galleries/{galleryId}",
99
+ data: payload,
100
+ host
101
+ }),
102
+ params: toURLSearchParams(payload),
103
+ transformResponse: (payload2) => transformPaths(payload2, [
104
+ {
105
+ transformFn: transformRESTTimestampToSDKTimestamp,
106
+ paths: [
107
+ { path: "gallery.createdDate" },
108
+ { path: "gallery.updatedDate" }
109
+ ]
110
+ }
111
+ ])
112
+ };
113
+ return metadata;
114
+ }
115
+ return __getGallery;
116
+ }
117
+ function getGalleryByDraftGalleryId(payload) {
118
+ function __getGalleryByDraftGalleryId({ host }) {
119
+ const metadata = {
120
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
121
+ method: "GET",
122
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.GetGalleryByDraftGalleryId",
123
+ packageName: PACKAGE_NAME,
124
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
125
+ protoPath: "/v1/galleries/draft-gallery-id/{draftGalleryId}",
126
+ data: payload,
127
+ host
128
+ }),
129
+ params: toURLSearchParams(payload),
130
+ transformResponse: (payload2) => transformPaths(payload2, [
131
+ {
132
+ transformFn: transformRESTTimestampToSDKTimestamp,
133
+ paths: [
134
+ { path: "gallery.createdDate" },
135
+ { path: "gallery.updatedDate" }
136
+ ]
137
+ }
138
+ ])
139
+ };
140
+ return metadata;
141
+ }
142
+ return __getGalleryByDraftGalleryId;
143
+ }
144
+ function updateGallery(payload) {
145
+ function __updateGallery({ host }) {
146
+ const serializedData = transformPaths(payload, [
147
+ {
148
+ transformFn: transformSDKFieldMaskToRESTFieldMask,
149
+ paths: [{ path: "fieldMask" }]
150
+ },
151
+ {
152
+ transformFn: transformSDKTimestampToRESTTimestamp,
153
+ paths: [
154
+ { path: "gallery.createdDate" },
155
+ { path: "gallery.updatedDate" }
156
+ ]
157
+ }
158
+ ]);
159
+ const metadata = {
160
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
161
+ method: "PATCH",
162
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.UpdateGallery",
163
+ packageName: PACKAGE_NAME,
164
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
165
+ protoPath: "/v1/galleries/{gallery.id}",
166
+ data: serializedData,
167
+ host
168
+ }),
169
+ data: serializedData,
170
+ transformResponse: (payload2) => transformPaths(payload2, [
171
+ {
172
+ transformFn: transformRESTTimestampToSDKTimestamp,
173
+ paths: [
174
+ { path: "gallery.createdDate" },
175
+ { path: "gallery.updatedDate" }
176
+ ]
177
+ }
178
+ ])
179
+ };
180
+ return metadata;
181
+ }
182
+ return __updateGallery;
183
+ }
184
+ function queryGalleries(payload) {
185
+ function __queryGalleries({ host }) {
186
+ const metadata = {
187
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
188
+ method: "POST",
189
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.QueryGalleries",
190
+ packageName: PACKAGE_NAME,
191
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
192
+ protoPath: "/v1/galleries/query",
193
+ data: payload,
194
+ host
195
+ }),
196
+ data: payload,
197
+ transformResponse: (payload2) => transformPaths(payload2, [
198
+ {
199
+ transformFn: transformRESTTimestampToSDKTimestamp,
200
+ paths: [
201
+ { path: "galleries.createdDate" },
202
+ { path: "galleries.updatedDate" }
203
+ ]
204
+ }
205
+ ]),
206
+ fallback: [
207
+ {
208
+ method: "POST",
209
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
210
+ protoPath: "/v1/galleries/query",
211
+ data: payload,
212
+ host
213
+ }),
214
+ data: payload
215
+ }
216
+ ]
217
+ };
218
+ return metadata;
219
+ }
220
+ return __queryGalleries;
221
+ }
222
+ function updateExtendedFields(payload) {
223
+ function __updateExtendedFields({ host }) {
224
+ const metadata = {
225
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
226
+ method: "POST",
227
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.UpdateExtendedFields",
228
+ packageName: PACKAGE_NAME,
229
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
230
+ protoPath: "/v1/galleries/{id}/update-extended-fields",
231
+ data: payload,
232
+ host
233
+ }),
234
+ data: payload,
235
+ transformResponse: (payload2) => transformPaths(payload2, [
236
+ {
237
+ transformFn: transformRESTTimestampToSDKTimestamp,
238
+ paths: [
239
+ { path: "gallery.createdDate" },
240
+ { path: "gallery.updatedDate" }
241
+ ]
242
+ }
243
+ ])
244
+ };
245
+ return metadata;
246
+ }
247
+ return __updateExtendedFields;
248
+ }
249
+ function bulkCreateGalleries(payload) {
250
+ function __bulkCreateGalleries({ host }) {
251
+ const serializedData = transformPaths(payload, [
252
+ {
253
+ transformFn: transformSDKTimestampToRESTTimestamp,
254
+ paths: [
255
+ { path: "galleries.createdDate" },
256
+ { path: "galleries.updatedDate" }
257
+ ]
258
+ }
259
+ ]);
260
+ const metadata = {
261
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
262
+ method: "POST",
263
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.BulkCreateGalleries",
264
+ packageName: PACKAGE_NAME,
265
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
266
+ protoPath: "/v1/bulk/galleries/create",
267
+ data: serializedData,
268
+ host
269
+ }),
270
+ data: serializedData,
271
+ transformResponse: (payload2) => transformPaths(payload2, [
272
+ {
273
+ transformFn: transformRESTTimestampToSDKTimestamp,
274
+ paths: [
275
+ { path: "results.item.createdDate" },
276
+ { path: "results.item.updatedDate" }
277
+ ]
278
+ }
279
+ ])
280
+ };
281
+ return metadata;
282
+ }
283
+ return __bulkCreateGalleries;
284
+ }
285
+ function bulkUpdateGalleries(payload) {
286
+ function __bulkUpdateGalleries({ host }) {
287
+ const serializedData = transformPaths(payload, [
288
+ {
289
+ transformFn: transformSDKFieldMaskToRESTFieldMask,
290
+ paths: [{ path: "galleries.fieldMask" }]
291
+ },
292
+ {
293
+ transformFn: transformSDKTimestampToRESTTimestamp,
294
+ paths: [
295
+ { path: "galleries.gallery.createdDate" },
296
+ { path: "galleries.gallery.updatedDate" }
297
+ ]
298
+ }
299
+ ]);
300
+ const metadata = {
301
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
302
+ method: "POST",
303
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.BulkUpdateGalleries",
304
+ packageName: PACKAGE_NAME,
305
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
306
+ protoPath: "/v1/bulk/galleries/update",
307
+ data: serializedData,
308
+ host
309
+ }),
310
+ data: serializedData,
311
+ transformResponse: (payload2) => transformPaths(payload2, [
312
+ {
313
+ transformFn: transformRESTTimestampToSDKTimestamp,
314
+ paths: [
315
+ { path: "results.item.createdDate" },
316
+ { path: "results.item.updatedDate" }
317
+ ]
318
+ }
319
+ ])
320
+ };
321
+ return metadata;
322
+ }
323
+ return __bulkUpdateGalleries;
324
+ }
325
+ function bulkDeleteGalleries(payload) {
326
+ function __bulkDeleteGalleries({ host }) {
327
+ const metadata = {
328
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
329
+ method: "POST",
330
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.BulkDeleteGalleries",
331
+ packageName: PACKAGE_NAME,
332
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
333
+ protoPath: "/v1/bulk/galleries/delete",
334
+ data: payload,
335
+ host
336
+ }),
337
+ data: payload
338
+ };
339
+ return metadata;
340
+ }
341
+ return __bulkDeleteGalleries;
342
+ }
343
+ function getDeletedGallery(payload) {
344
+ function __getDeletedGallery({ host }) {
345
+ const metadata = {
346
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
347
+ method: "GET",
348
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.GetDeletedGallery",
349
+ packageName: PACKAGE_NAME,
350
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
351
+ protoPath: "/v1/galleries/trash-bin/{galleryId}",
352
+ data: payload,
353
+ host
354
+ }),
355
+ params: toURLSearchParams(payload),
356
+ transformResponse: (payload2) => transformPaths(payload2, [
357
+ {
358
+ transformFn: transformRESTTimestampToSDKTimestamp,
359
+ paths: [
360
+ { path: "gallery.createdDate" },
361
+ { path: "gallery.updatedDate" }
362
+ ]
363
+ }
364
+ ])
365
+ };
366
+ return metadata;
367
+ }
368
+ return __getDeletedGallery;
369
+ }
370
+ function listDeletedGalleries(payload) {
371
+ function __listDeletedGalleries({ host }) {
372
+ const metadata = {
373
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
374
+ method: "GET",
375
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.ListDeletedGalleries",
376
+ packageName: PACKAGE_NAME,
377
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
378
+ protoPath: "/v1/galleries/trash-bin",
379
+ data: payload,
380
+ host
381
+ }),
382
+ params: toURLSearchParams(payload),
383
+ transformResponse: (payload2) => transformPaths(payload2, [
384
+ {
385
+ transformFn: transformRESTTimestampToSDKTimestamp,
386
+ paths: [
387
+ { path: "galleries.createdDate" },
388
+ { path: "galleries.updatedDate" }
389
+ ]
390
+ }
391
+ ])
392
+ };
393
+ return metadata;
394
+ }
395
+ return __listDeletedGalleries;
396
+ }
397
+ function restoreGalleryFromTrashBin(payload) {
398
+ function __restoreGalleryFromTrashBin({ host }) {
399
+ const metadata = {
400
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
401
+ method: "POST",
402
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.RestoreGalleryFromTrashBin",
403
+ packageName: PACKAGE_NAME,
404
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
405
+ protoPath: "/v1/galleries/trash-bin/{galleryId}/restore",
406
+ data: payload,
407
+ host
408
+ }),
409
+ data: payload,
410
+ transformResponse: (payload2) => transformPaths(payload2, [
411
+ {
412
+ transformFn: transformRESTTimestampToSDKTimestamp,
413
+ paths: [
414
+ { path: "gallery.createdDate" },
415
+ { path: "gallery.updatedDate" }
416
+ ]
417
+ }
418
+ ])
419
+ };
420
+ return metadata;
421
+ }
422
+ return __restoreGalleryFromTrashBin;
423
+ }
424
+ function removeGalleryFromTrashBin(payload) {
425
+ function __removeGalleryFromTrashBin({ host }) {
426
+ const metadata = {
427
+ entityFqdn: "wix.fastgallery.gallery.v1.gallery",
428
+ method: "DELETE",
429
+ methodFqn: "wix.fastgallery.gallery.v1.GalleryService.RemoveGalleryFromTrashBin",
430
+ packageName: PACKAGE_NAME,
431
+ url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
432
+ protoPath: "/v1/galleries/trash-bin/{galleryId}",
433
+ data: payload,
434
+ host
435
+ }),
436
+ params: toURLSearchParams(payload)
437
+ };
438
+ return metadata;
439
+ }
440
+ return __removeGalleryFromTrashBin;
441
+ }
442
+
443
+ // src/fastgallery-gallery-v1-gallery-galleries.meta.ts
444
+ function createGallery2() {
445
+ const payload = {};
446
+ const getRequestOptions = createGallery(payload);
447
+ const getUrl = (context) => {
448
+ const { url } = getRequestOptions(context);
449
+ return url;
450
+ };
451
+ return {
452
+ getUrl,
453
+ httpMethod: "POST",
454
+ path: "/v1/galleries",
455
+ pathParams: {},
456
+ __requestType: null,
457
+ __originalRequestType: null,
458
+ __responseType: null,
459
+ __originalResponseType: null
460
+ };
461
+ }
462
+ function getGallery2() {
463
+ const payload = { galleryId: ":galleryId" };
464
+ const getRequestOptions = getGallery(payload);
465
+ const getUrl = (context) => {
466
+ const { url } = getRequestOptions(context);
467
+ return url;
468
+ };
469
+ return {
470
+ getUrl,
471
+ httpMethod: "GET",
472
+ path: "/v1/galleries/{galleryId}",
473
+ pathParams: { galleryId: "galleryId" },
474
+ __requestType: null,
475
+ __originalRequestType: null,
476
+ __responseType: null,
477
+ __originalResponseType: null
478
+ };
479
+ }
480
+ function getGalleryByDraftGalleryId2() {
481
+ const payload = { draftGalleryId: ":draftGalleryId" };
482
+ const getRequestOptions = getGalleryByDraftGalleryId(
483
+ payload
484
+ );
485
+ const getUrl = (context) => {
486
+ const { url } = getRequestOptions(context);
487
+ return url;
488
+ };
489
+ return {
490
+ getUrl,
491
+ httpMethod: "GET",
492
+ path: "/v1/galleries/draft-gallery-id/{draftGalleryId}",
493
+ pathParams: { draftGalleryId: "draftGalleryId" },
494
+ __requestType: null,
495
+ __originalRequestType: null,
496
+ __responseType: null,
497
+ __originalResponseType: null
498
+ };
499
+ }
500
+ function updateGallery2() {
501
+ const payload = { gallery: { id: ":galleryId" } };
502
+ const getRequestOptions = updateGallery(payload);
503
+ const getUrl = (context) => {
504
+ const { url } = getRequestOptions(context);
505
+ return url;
506
+ };
507
+ return {
508
+ getUrl,
509
+ httpMethod: "PATCH",
510
+ path: "/v1/galleries/{gallery.id}",
511
+ pathParams: { galleryId: "galleryId" },
512
+ __requestType: null,
513
+ __originalRequestType: null,
514
+ __responseType: null,
515
+ __originalResponseType: null
516
+ };
517
+ }
518
+ function queryGalleries2() {
519
+ const payload = {};
520
+ const getRequestOptions = queryGalleries(payload);
521
+ const getUrl = (context) => {
522
+ const { url } = getRequestOptions(context);
523
+ return url;
524
+ };
525
+ return {
526
+ getUrl,
527
+ httpMethod: "GET",
528
+ path: "/v1/galleries/query",
529
+ pathParams: {},
530
+ __requestType: null,
531
+ __originalRequestType: null,
532
+ __responseType: null,
533
+ __originalResponseType: null
534
+ };
535
+ }
536
+ function updateExtendedFields2() {
537
+ const payload = { id: ":id" };
538
+ const getRequestOptions = updateExtendedFields(payload);
539
+ const getUrl = (context) => {
540
+ const { url } = getRequestOptions(context);
541
+ return url;
542
+ };
543
+ return {
544
+ getUrl,
545
+ httpMethod: "POST",
546
+ path: "/v1/galleries/{id}/update-extended-fields",
547
+ pathParams: { id: "id" },
548
+ __requestType: null,
549
+ __originalRequestType: null,
550
+ __responseType: null,
551
+ __originalResponseType: null
552
+ };
553
+ }
554
+ function bulkCreateGalleries2() {
555
+ const payload = {};
556
+ const getRequestOptions = bulkCreateGalleries(payload);
557
+ const getUrl = (context) => {
558
+ const { url } = getRequestOptions(context);
559
+ return url;
560
+ };
561
+ return {
562
+ getUrl,
563
+ httpMethod: "POST",
564
+ path: "/v1/bulk/galleries/create",
565
+ pathParams: {},
566
+ __requestType: null,
567
+ __originalRequestType: null,
568
+ __responseType: null,
569
+ __originalResponseType: null
570
+ };
571
+ }
572
+ function bulkUpdateGalleries2() {
573
+ const payload = {};
574
+ const getRequestOptions = bulkUpdateGalleries(payload);
575
+ const getUrl = (context) => {
576
+ const { url } = getRequestOptions(context);
577
+ return url;
578
+ };
579
+ return {
580
+ getUrl,
581
+ httpMethod: "POST",
582
+ path: "/v1/bulk/galleries/update",
583
+ pathParams: {},
584
+ __requestType: null,
585
+ __originalRequestType: null,
586
+ __responseType: null,
587
+ __originalResponseType: null
588
+ };
589
+ }
590
+ function bulkDeleteGalleries2() {
591
+ const payload = {};
592
+ const getRequestOptions = bulkDeleteGalleries(payload);
593
+ const getUrl = (context) => {
594
+ const { url } = getRequestOptions(context);
595
+ return url;
596
+ };
597
+ return {
598
+ getUrl,
599
+ httpMethod: "POST",
600
+ path: "/v1/bulk/galleries/delete",
601
+ pathParams: {},
602
+ __requestType: null,
603
+ __originalRequestType: null,
604
+ __responseType: null,
605
+ __originalResponseType: null
606
+ };
607
+ }
608
+ function getDeletedGallery2() {
609
+ const payload = { galleryId: ":galleryId" };
610
+ const getRequestOptions = getDeletedGallery(payload);
611
+ const getUrl = (context) => {
612
+ const { url } = getRequestOptions(context);
613
+ return url;
614
+ };
615
+ return {
616
+ getUrl,
617
+ httpMethod: "GET",
618
+ path: "/v1/galleries/trash-bin/{galleryId}",
619
+ pathParams: { galleryId: "galleryId" },
620
+ __requestType: null,
621
+ __originalRequestType: null,
622
+ __responseType: null,
623
+ __originalResponseType: null
624
+ };
625
+ }
626
+ function listDeletedGalleries2() {
627
+ const payload = {};
628
+ const getRequestOptions = listDeletedGalleries(payload);
629
+ const getUrl = (context) => {
630
+ const { url } = getRequestOptions(context);
631
+ return url;
632
+ };
633
+ return {
634
+ getUrl,
635
+ httpMethod: "GET",
636
+ path: "/v1/galleries/trash-bin",
637
+ pathParams: {},
638
+ __requestType: null,
639
+ __originalRequestType: null,
640
+ __responseType: null,
641
+ __originalResponseType: null
642
+ };
643
+ }
644
+ function restoreGalleryFromTrashBin2() {
645
+ const payload = { galleryId: ":galleryId" };
646
+ const getRequestOptions = restoreGalleryFromTrashBin(
647
+ payload
648
+ );
649
+ const getUrl = (context) => {
650
+ const { url } = getRequestOptions(context);
651
+ return url;
652
+ };
653
+ return {
654
+ getUrl,
655
+ httpMethod: "POST",
656
+ path: "/v1/galleries/trash-bin/{galleryId}/restore",
657
+ pathParams: { galleryId: "galleryId" },
658
+ __requestType: null,
659
+ __originalRequestType: null,
660
+ __responseType: null,
661
+ __originalResponseType: null
662
+ };
663
+ }
664
+ function removeGalleryFromTrashBin2() {
665
+ const payload = { galleryId: ":galleryId" };
666
+ const getRequestOptions = removeGalleryFromTrashBin(payload);
667
+ const getUrl = (context) => {
668
+ const { url } = getRequestOptions(context);
669
+ return url;
670
+ };
671
+ return {
672
+ getUrl,
673
+ httpMethod: "DELETE",
674
+ path: "/v1/galleries/trash-bin/{galleryId}",
675
+ pathParams: { galleryId: "galleryId" },
676
+ __requestType: null,
677
+ __originalRequestType: null,
678
+ __responseType: null,
679
+ __originalResponseType: null
680
+ };
681
+ }
682
+ export {
683
+ bulkCreateGalleries2 as bulkCreateGalleries,
684
+ bulkDeleteGalleries2 as bulkDeleteGalleries,
685
+ bulkUpdateGalleries2 as bulkUpdateGalleries,
686
+ createGallery2 as createGallery,
687
+ getDeletedGallery2 as getDeletedGallery,
688
+ getGallery2 as getGallery,
689
+ getGalleryByDraftGalleryId2 as getGalleryByDraftGalleryId,
690
+ listDeletedGalleries2 as listDeletedGalleries,
691
+ queryGalleries2 as queryGalleries,
692
+ removeGalleryFromTrashBin2 as removeGalleryFromTrashBin,
693
+ restoreGalleryFromTrashBin2 as restoreGalleryFromTrashBin,
694
+ updateExtendedFields2 as updateExtendedFields,
695
+ updateGallery2 as updateGallery
696
+ };
697
+ //# sourceMappingURL=meta.mjs.map