@wix/auto_sdk_fast-gallery_galleries 1.0.4 → 1.0.6

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.
@@ -131,6 +131,6 @@ declare const listDeletedGalleries: MaybeContext<BuildRESTFunction<typeof listDe
131
131
  declare const restoreGalleryFromTrashBin: MaybeContext<BuildRESTFunction<typeof restoreGalleryFromTrashBin$1> & typeof restoreGalleryFromTrashBin$1>;
132
132
  declare const removeGalleryFromTrashBin: MaybeContext<BuildRESTFunction<typeof removeGalleryFromTrashBin$1> & typeof removeGalleryFromTrashBin$1>;
133
133
  /** */
134
- declare const onGalleryRemovedFromTrashBin: BuildEventDefinition<typeof onGalleryRemovedFromTrashBin$1>;
134
+ declare const onGalleryRemovedFromTrashBin: BuildEventDefinition<typeof onGalleryRemovedFromTrashBin$1> & typeof onGalleryRemovedFromTrashBin$1;
135
135
 
136
136
  export { BulkCreateGalleriesOptions, BulkCreateGalleriesResponse, BulkDeleteGalleriesResponse, BulkUpdateGalleriesOptions, BulkUpdateGalleriesResponse, GalleriesQueryBuilder, Gallery, GalleryRemovedFromTrashBinEnvelope, GetDeletedGalleryResponse, GetGalleryByDraftGalleryIdResponse, ListDeletedGalleriesOptions, ListDeletedGalleriesResponse, MaskedGallery, RestoreGalleryFromTrashBinResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateGallery, bulkCreateGalleries, bulkDeleteGalleries, bulkUpdateGalleries, createGallery, getDeletedGallery, getGallery, getGalleryByDraftGalleryId, listDeletedGalleries, onGalleryRemovedFromTrashBin, queryGalleries, removeGalleryFromTrashBin, restoreGalleryFromTrashBin, updateExtendedFields, updateGallery };
@@ -120,6 +120,9 @@ function createGallery(payload) {
120
120
  method: "POST",
121
121
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.CreateGallery",
122
122
  packageName: PACKAGE_NAME,
123
+ migrationOptions: {
124
+ optInTransformResponse: true
125
+ },
123
126
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
124
127
  protoPath: "/v1/galleries",
125
128
  data: serializedData,
@@ -147,6 +150,9 @@ function getGallery(payload) {
147
150
  method: "GET",
148
151
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.GetGallery",
149
152
  packageName: PACKAGE_NAME,
153
+ migrationOptions: {
154
+ optInTransformResponse: true
155
+ },
150
156
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
151
157
  protoPath: "/v1/galleries/{galleryId}",
152
158
  data: payload,
@@ -174,6 +180,9 @@ function getGalleryByDraftGalleryId(payload) {
174
180
  method: "GET",
175
181
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.GetGalleryByDraftGalleryId",
176
182
  packageName: PACKAGE_NAME,
183
+ migrationOptions: {
184
+ optInTransformResponse: true
185
+ },
177
186
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
178
187
  protoPath: "/v1/galleries/draft-gallery-id/{draftGalleryId}",
179
188
  data: payload,
@@ -214,6 +223,9 @@ function updateGallery(payload) {
214
223
  method: "PATCH",
215
224
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.UpdateGallery",
216
225
  packageName: PACKAGE_NAME,
226
+ migrationOptions: {
227
+ optInTransformResponse: true
228
+ },
217
229
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
218
230
  protoPath: "/v1/galleries/{gallery.id}",
219
231
  data: serializedData,
@@ -238,15 +250,18 @@ function queryGalleries(payload) {
238
250
  function __queryGalleries({ host }) {
239
251
  const metadata = {
240
252
  entityFqdn: "wix.fastgallery.gallery.v1.gallery",
241
- method: "POST",
253
+ method: "GET",
242
254
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.QueryGalleries",
243
255
  packageName: PACKAGE_NAME,
256
+ migrationOptions: {
257
+ optInTransformResponse: true
258
+ },
244
259
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
245
260
  protoPath: "/v1/galleries/query",
246
261
  data: payload,
247
262
  host
248
263
  }),
249
- data: payload,
264
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
250
265
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
251
266
  {
252
267
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
@@ -279,6 +294,9 @@ function updateExtendedFields(payload) {
279
294
  method: "POST",
280
295
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.UpdateExtendedFields",
281
296
  packageName: PACKAGE_NAME,
297
+ migrationOptions: {
298
+ optInTransformResponse: true
299
+ },
282
300
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
283
301
  protoPath: "/v1/galleries/{id}/update-extended-fields",
284
302
  data: payload,
@@ -315,6 +333,9 @@ function bulkCreateGalleries(payload) {
315
333
  method: "POST",
316
334
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.BulkCreateGalleries",
317
335
  packageName: PACKAGE_NAME,
336
+ migrationOptions: {
337
+ optInTransformResponse: true
338
+ },
318
339
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
319
340
  protoPath: "/v1/bulk/galleries/create",
320
341
  data: serializedData,
@@ -355,6 +376,9 @@ function bulkUpdateGalleries(payload) {
355
376
  method: "POST",
356
377
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.BulkUpdateGalleries",
357
378
  packageName: PACKAGE_NAME,
379
+ migrationOptions: {
380
+ optInTransformResponse: true
381
+ },
358
382
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
359
383
  protoPath: "/v1/bulk/galleries/update",
360
384
  data: serializedData,
@@ -382,6 +406,9 @@ function bulkDeleteGalleries(payload) {
382
406
  method: "POST",
383
407
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.BulkDeleteGalleries",
384
408
  packageName: PACKAGE_NAME,
409
+ migrationOptions: {
410
+ optInTransformResponse: true
411
+ },
385
412
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
386
413
  protoPath: "/v1/bulk/galleries/delete",
387
414
  data: payload,
@@ -400,6 +427,9 @@ function getDeletedGallery(payload) {
400
427
  method: "GET",
401
428
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.GetDeletedGallery",
402
429
  packageName: PACKAGE_NAME,
430
+ migrationOptions: {
431
+ optInTransformResponse: true
432
+ },
403
433
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
404
434
  protoPath: "/v1/galleries/trash-bin/{galleryId}",
405
435
  data: payload,
@@ -427,6 +457,9 @@ function listDeletedGalleries(payload) {
427
457
  method: "GET",
428
458
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.ListDeletedGalleries",
429
459
  packageName: PACKAGE_NAME,
460
+ migrationOptions: {
461
+ optInTransformResponse: true
462
+ },
430
463
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
431
464
  protoPath: "/v1/galleries/trash-bin",
432
465
  data: payload,
@@ -454,6 +487,9 @@ function restoreGalleryFromTrashBin(payload) {
454
487
  method: "POST",
455
488
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.RestoreGalleryFromTrashBin",
456
489
  packageName: PACKAGE_NAME,
490
+ migrationOptions: {
491
+ optInTransformResponse: true
492
+ },
457
493
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
458
494
  protoPath: "/v1/galleries/trash-bin/{galleryId}/restore",
459
495
  data: payload,
@@ -481,6 +517,9 @@ function removeGalleryFromTrashBin(payload) {
481
517
  method: "DELETE",
482
518
  methodFqn: "wix.fastgallery.gallery.v1.GalleryService.RemoveGalleryFromTrashBin",
483
519
  packageName: PACKAGE_NAME,
520
+ migrationOptions: {
521
+ optInTransformResponse: true
522
+ },
484
523
  url: resolveWixFastgalleryGalleryV1GalleryServiceUrl({
485
524
  protoPath: "/v1/galleries/trash-bin/{galleryId}",
486
525
  data: payload,
@@ -1006,7 +1045,9 @@ var getDeletedGallery4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModu
1006
1045
  var listDeletedGalleries4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listDeletedGalleries3);
1007
1046
  var restoreGalleryFromTrashBin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(restoreGalleryFromTrashBin3);
1008
1047
  var removeGalleryFromTrashBin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(removeGalleryFromTrashBin3);
1009
- var onGalleryRemovedFromTrashBin2 = (0, import_event_definition_modules.createEventModule)(onGalleryRemovedFromTrashBin);
1048
+ var onGalleryRemovedFromTrashBin2 = (0, import_event_definition_modules.createEventModule)(
1049
+ onGalleryRemovedFromTrashBin
1050
+ );
1010
1051
  // Annotate the CommonJS export names for ESM import in node:
1011
1052
  0 && (module.exports = {
1012
1053
  SortOrder,