@wix/auto_sdk_ecom_current-cart-v-2 1.0.15 → 1.0.16

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.
@@ -153,6 +153,9 @@ function createCurrentCart(payload) {
153
153
  method: "POST",
154
154
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.CreateCurrentCart",
155
155
  packageName: PACKAGE_NAME,
156
+ migrationOptions: {
157
+ optInTransformResponse: true
158
+ },
156
159
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
157
160
  protoPath: "/v2/carts/current",
158
161
  data: serializedData,
@@ -203,6 +206,9 @@ function getCurrentCart(payload) {
203
206
  method: "GET",
204
207
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.GetCurrentCart",
205
208
  packageName: PACKAGE_NAME,
209
+ migrationOptions: {
210
+ optInTransformResponse: true
211
+ },
206
212
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
207
213
  protoPath: "/v2/carts/current",
208
214
  data: payload,
@@ -287,6 +293,9 @@ function updateCurrentCart(payload) {
287
293
  method: "PATCH",
288
294
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.UpdateCurrentCart",
289
295
  packageName: PACKAGE_NAME,
296
+ migrationOptions: {
297
+ optInTransformResponse: true
298
+ },
290
299
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
291
300
  protoPath: "/v2/carts/current",
292
301
  data: serializedData,
@@ -337,6 +346,9 @@ function deleteCurrentCart(payload) {
337
346
  method: "DELETE",
338
347
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.DeleteCurrentCart",
339
348
  packageName: PACKAGE_NAME,
349
+ migrationOptions: {
350
+ optInTransformResponse: true
351
+ },
340
352
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
341
353
  protoPath: "/v2/carts/current",
342
354
  data: payload,
@@ -355,6 +367,9 @@ function refreshCurrentCart(payload) {
355
367
  method: "POST",
356
368
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.RefreshCurrentCart",
357
369
  packageName: PACKAGE_NAME,
370
+ migrationOptions: {
371
+ optInTransformResponse: true
372
+ },
358
373
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
359
374
  protoPath: "/v2/carts/current/refresh",
360
375
  data: payload,
@@ -405,6 +420,9 @@ function calculateCurrentCart(payload) {
405
420
  method: "POST",
406
421
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.CalculateCurrentCart",
407
422
  packageName: PACKAGE_NAME,
423
+ migrationOptions: {
424
+ optInTransformResponse: true
425
+ },
408
426
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
409
427
  protoPath: "/v2/carts/current/calculate",
410
428
  data: payload,
@@ -482,6 +500,9 @@ function addLineItemsToCurrentCart(payload) {
482
500
  method: "POST",
483
501
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.AddLineItemsToCurrentCart",
484
502
  packageName: PACKAGE_NAME,
503
+ migrationOptions: {
504
+ optInTransformResponse: true
505
+ },
485
506
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
486
507
  protoPath: "/v2/carts/current/add-line-items",
487
508
  data: serializedData,
@@ -532,6 +553,9 @@ function removeLineItemsFromCurrentCart(payload) {
532
553
  method: "POST",
533
554
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.RemoveLineItemsFromCurrentCart",
534
555
  packageName: PACKAGE_NAME,
556
+ migrationOptions: {
557
+ optInTransformResponse: true
558
+ },
535
559
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
536
560
  protoPath: "/v2/carts/current/remove-line-items",
537
561
  data: payload,
@@ -582,6 +606,9 @@ function updateLineItemsInCurrentCart(payload) {
582
606
  method: "POST",
583
607
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.UpdateLineItemsInCurrentCart",
584
608
  packageName: PACKAGE_NAME,
609
+ migrationOptions: {
610
+ optInTransformResponse: true
611
+ },
585
612
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
586
613
  protoPath: "/v2/carts/current/update-line-items",
587
614
  data: payload,
@@ -632,6 +659,9 @@ function addCouponToCurrentCart(payload) {
632
659
  method: "POST",
633
660
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.AddCouponToCurrentCart",
634
661
  packageName: PACKAGE_NAME,
662
+ migrationOptions: {
663
+ optInTransformResponse: true
664
+ },
635
665
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
636
666
  protoPath: "/v2/carts/current/add-coupon",
637
667
  data: payload,
@@ -682,6 +712,9 @@ function removeCouponFromCurrentCart(payload) {
682
712
  method: "POST",
683
713
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.RemoveCouponFromCurrentCart",
684
714
  packageName: PACKAGE_NAME,
715
+ migrationOptions: {
716
+ optInTransformResponse: true
717
+ },
685
718
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
686
719
  protoPath: "/v2/carts/current/remove-coupon",
687
720
  data: payload,
@@ -732,6 +765,9 @@ function addGiftCardToCurrentCart(payload) {
732
765
  method: "POST",
733
766
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.AddGiftCardToCurrentCart",
734
767
  packageName: PACKAGE_NAME,
768
+ migrationOptions: {
769
+ optInTransformResponse: true
770
+ },
735
771
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
736
772
  protoPath: "/v2/carts/current/add-gift-card",
737
773
  data: payload,
@@ -782,6 +818,9 @@ function removeGiftCardFromCurrentCart(payload) {
782
818
  method: "POST",
783
819
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.RemoveGiftCardFromCurrentCart",
784
820
  packageName: PACKAGE_NAME,
821
+ migrationOptions: {
822
+ optInTransformResponse: true
823
+ },
785
824
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
786
825
  protoPath: "/v2/carts/current/remove-gift-card",
787
826
  data: payload,