@wix/auto_sdk_ecom_current-cart-v-2 1.0.14 → 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.
@@ -209,6 +209,9 @@ function createCurrentCart(payload) {
209
209
  method: "POST",
210
210
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.CreateCurrentCart",
211
211
  packageName: PACKAGE_NAME,
212
+ migrationOptions: {
213
+ optInTransformResponse: true
214
+ },
212
215
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
213
216
  protoPath: "/v2/carts/current",
214
217
  data: serializedData,
@@ -259,6 +262,9 @@ function getCurrentCart(payload) {
259
262
  method: "GET",
260
263
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.GetCurrentCart",
261
264
  packageName: PACKAGE_NAME,
265
+ migrationOptions: {
266
+ optInTransformResponse: true
267
+ },
262
268
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
263
269
  protoPath: "/v2/carts/current",
264
270
  data: payload,
@@ -343,6 +349,9 @@ function updateCurrentCart(payload) {
343
349
  method: "PATCH",
344
350
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.UpdateCurrentCart",
345
351
  packageName: PACKAGE_NAME,
352
+ migrationOptions: {
353
+ optInTransformResponse: true
354
+ },
346
355
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
347
356
  protoPath: "/v2/carts/current",
348
357
  data: serializedData,
@@ -393,6 +402,9 @@ function deleteCurrentCart(payload) {
393
402
  method: "DELETE",
394
403
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.DeleteCurrentCart",
395
404
  packageName: PACKAGE_NAME,
405
+ migrationOptions: {
406
+ optInTransformResponse: true
407
+ },
396
408
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
397
409
  protoPath: "/v2/carts/current",
398
410
  data: payload,
@@ -411,6 +423,9 @@ function refreshCurrentCart(payload) {
411
423
  method: "POST",
412
424
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.RefreshCurrentCart",
413
425
  packageName: PACKAGE_NAME,
426
+ migrationOptions: {
427
+ optInTransformResponse: true
428
+ },
414
429
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
415
430
  protoPath: "/v2/carts/current/refresh",
416
431
  data: payload,
@@ -461,6 +476,9 @@ function calculateCurrentCart(payload) {
461
476
  method: "POST",
462
477
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.CalculateCurrentCart",
463
478
  packageName: PACKAGE_NAME,
479
+ migrationOptions: {
480
+ optInTransformResponse: true
481
+ },
464
482
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
465
483
  protoPath: "/v2/carts/current/calculate",
466
484
  data: payload,
@@ -538,6 +556,9 @@ function addLineItemsToCurrentCart(payload) {
538
556
  method: "POST",
539
557
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.AddLineItemsToCurrentCart",
540
558
  packageName: PACKAGE_NAME,
559
+ migrationOptions: {
560
+ optInTransformResponse: true
561
+ },
541
562
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
542
563
  protoPath: "/v2/carts/current/add-line-items",
543
564
  data: serializedData,
@@ -588,6 +609,9 @@ function removeLineItemsFromCurrentCart(payload) {
588
609
  method: "POST",
589
610
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.RemoveLineItemsFromCurrentCart",
590
611
  packageName: PACKAGE_NAME,
612
+ migrationOptions: {
613
+ optInTransformResponse: true
614
+ },
591
615
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
592
616
  protoPath: "/v2/carts/current/remove-line-items",
593
617
  data: payload,
@@ -638,6 +662,9 @@ function updateLineItemsInCurrentCart(payload) {
638
662
  method: "POST",
639
663
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.UpdateLineItemsInCurrentCart",
640
664
  packageName: PACKAGE_NAME,
665
+ migrationOptions: {
666
+ optInTransformResponse: true
667
+ },
641
668
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
642
669
  protoPath: "/v2/carts/current/update-line-items",
643
670
  data: payload,
@@ -688,6 +715,9 @@ function addCouponToCurrentCart(payload) {
688
715
  method: "POST",
689
716
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.AddCouponToCurrentCart",
690
717
  packageName: PACKAGE_NAME,
718
+ migrationOptions: {
719
+ optInTransformResponse: true
720
+ },
691
721
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
692
722
  protoPath: "/v2/carts/current/add-coupon",
693
723
  data: payload,
@@ -738,6 +768,9 @@ function removeCouponFromCurrentCart(payload) {
738
768
  method: "POST",
739
769
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.RemoveCouponFromCurrentCart",
740
770
  packageName: PACKAGE_NAME,
771
+ migrationOptions: {
772
+ optInTransformResponse: true
773
+ },
741
774
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
742
775
  protoPath: "/v2/carts/current/remove-coupon",
743
776
  data: payload,
@@ -788,6 +821,9 @@ function addGiftCardToCurrentCart(payload) {
788
821
  method: "POST",
789
822
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.AddGiftCardToCurrentCart",
790
823
  packageName: PACKAGE_NAME,
824
+ migrationOptions: {
825
+ optInTransformResponse: true
826
+ },
791
827
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
792
828
  protoPath: "/v2/carts/current/add-gift-card",
793
829
  data: payload,
@@ -838,6 +874,9 @@ function removeGiftCardFromCurrentCart(payload) {
838
874
  method: "POST",
839
875
  methodFqn: "wix.ecom.cart.v2.CurrentCartService.RemoveGiftCardFromCurrentCart",
840
876
  packageName: PACKAGE_NAME,
877
+ migrationOptions: {
878
+ optInTransformResponse: true
879
+ },
841
880
  url: resolveWixEcomCartV2CurrentCartServiceUrl({
842
881
  protoPath: "/v2/carts/current/remove-gift-card",
843
882
  data: payload,