@wix/auto_sdk_ecom_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.
- package/build/cjs/index.js +51 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +51 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +51 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +51 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +51 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +51 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +51 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +51 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +51 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +51 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +51 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +51 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -214,6 +214,9 @@ function createCart(payload) {
|
|
|
214
214
|
method: "POST",
|
|
215
215
|
methodFqn: "wix.ecom.cart.v2.CartService.CreateCart",
|
|
216
216
|
packageName: PACKAGE_NAME,
|
|
217
|
+
migrationOptions: {
|
|
218
|
+
optInTransformResponse: true
|
|
219
|
+
},
|
|
217
220
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
218
221
|
protoPath: "/v2/carts",
|
|
219
222
|
data: serializedData,
|
|
@@ -264,6 +267,9 @@ function getCart(payload) {
|
|
|
264
267
|
method: "GET",
|
|
265
268
|
methodFqn: "wix.ecom.cart.v2.CartService.GetCart",
|
|
266
269
|
packageName: PACKAGE_NAME,
|
|
270
|
+
migrationOptions: {
|
|
271
|
+
optInTransformResponse: true
|
|
272
|
+
},
|
|
267
273
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
268
274
|
protoPath: "/v2/carts/{cartId}",
|
|
269
275
|
data: payload,
|
|
@@ -348,6 +354,9 @@ function updateCart(payload) {
|
|
|
348
354
|
method: "PATCH",
|
|
349
355
|
methodFqn: "wix.ecom.cart.v2.CartService.UpdateCart",
|
|
350
356
|
packageName: PACKAGE_NAME,
|
|
357
|
+
migrationOptions: {
|
|
358
|
+
optInTransformResponse: true
|
|
359
|
+
},
|
|
351
360
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
352
361
|
protoPath: "/v2/carts/{cart.id}",
|
|
353
362
|
data: serializedData,
|
|
@@ -398,6 +407,9 @@ function deleteCart(payload) {
|
|
|
398
407
|
method: "DELETE",
|
|
399
408
|
methodFqn: "wix.ecom.cart.v2.CartService.DeleteCart",
|
|
400
409
|
packageName: PACKAGE_NAME,
|
|
410
|
+
migrationOptions: {
|
|
411
|
+
optInTransformResponse: true
|
|
412
|
+
},
|
|
401
413
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
402
414
|
protoPath: "/v2/carts/{cartId}",
|
|
403
415
|
data: payload,
|
|
@@ -416,6 +428,9 @@ function refreshCart(payload) {
|
|
|
416
428
|
method: "POST",
|
|
417
429
|
methodFqn: "wix.ecom.cart.v2.CartService.RefreshCart",
|
|
418
430
|
packageName: PACKAGE_NAME,
|
|
431
|
+
migrationOptions: {
|
|
432
|
+
optInTransformResponse: true
|
|
433
|
+
},
|
|
419
434
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
420
435
|
protoPath: "/v2/carts/{cartId}/refresh",
|
|
421
436
|
data: payload,
|
|
@@ -466,6 +481,9 @@ function calculateCart(payload) {
|
|
|
466
481
|
method: "POST",
|
|
467
482
|
methodFqn: "wix.ecom.cart.v2.CartService.CalculateCart",
|
|
468
483
|
packageName: PACKAGE_NAME,
|
|
484
|
+
migrationOptions: {
|
|
485
|
+
optInTransformResponse: true
|
|
486
|
+
},
|
|
469
487
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
470
488
|
protoPath: "/v2/carts/{cartId}/calculate",
|
|
471
489
|
data: payload,
|
|
@@ -519,6 +537,9 @@ function getCheckoutUrl(payload) {
|
|
|
519
537
|
method: "POST",
|
|
520
538
|
methodFqn: "wix.ecom.cart.v2.CartService.GetCheckoutURL",
|
|
521
539
|
packageName: PACKAGE_NAME,
|
|
540
|
+
migrationOptions: {
|
|
541
|
+
optInTransformResponse: true
|
|
542
|
+
},
|
|
522
543
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
523
544
|
protoPath: "/v2/carts/{cartId}/get-checkout-url",
|
|
524
545
|
data: payload,
|
|
@@ -537,6 +558,9 @@ function placeOrder(payload) {
|
|
|
537
558
|
method: "POST",
|
|
538
559
|
methodFqn: "wix.ecom.cart.v2.CartService.PlaceOrder",
|
|
539
560
|
packageName: PACKAGE_NAME,
|
|
561
|
+
migrationOptions: {
|
|
562
|
+
optInTransformResponse: true
|
|
563
|
+
},
|
|
540
564
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
541
565
|
protoPath: "/v2/carts/{cartId}/place-order",
|
|
542
566
|
data: payload,
|
|
@@ -579,6 +603,9 @@ function addLineItems(payload) {
|
|
|
579
603
|
method: "POST",
|
|
580
604
|
methodFqn: "wix.ecom.cart.v2.CartService.AddLineItems",
|
|
581
605
|
packageName: PACKAGE_NAME,
|
|
606
|
+
migrationOptions: {
|
|
607
|
+
optInTransformResponse: true
|
|
608
|
+
},
|
|
582
609
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
583
610
|
protoPath: "/v2/carts/{cartId}/add-line-items",
|
|
584
611
|
data: serializedData,
|
|
@@ -629,6 +656,9 @@ function removeLineItems(payload) {
|
|
|
629
656
|
method: "POST",
|
|
630
657
|
methodFqn: "wix.ecom.cart.v2.CartService.RemoveLineItems",
|
|
631
658
|
packageName: PACKAGE_NAME,
|
|
659
|
+
migrationOptions: {
|
|
660
|
+
optInTransformResponse: true
|
|
661
|
+
},
|
|
632
662
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
633
663
|
protoPath: "/v2/carts/{cartId}/remove-line-items",
|
|
634
664
|
data: payload,
|
|
@@ -679,6 +709,9 @@ function updateLineItems(payload) {
|
|
|
679
709
|
method: "POST",
|
|
680
710
|
methodFqn: "wix.ecom.cart.v2.CartService.UpdateLineItems",
|
|
681
711
|
packageName: PACKAGE_NAME,
|
|
712
|
+
migrationOptions: {
|
|
713
|
+
optInTransformResponse: true
|
|
714
|
+
},
|
|
682
715
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
683
716
|
protoPath: "/v2/carts/{cartId}/update-line-items",
|
|
684
717
|
data: payload,
|
|
@@ -729,6 +762,9 @@ function addCoupon(payload) {
|
|
|
729
762
|
method: "POST",
|
|
730
763
|
methodFqn: "wix.ecom.cart.v2.CartService.AddCoupon",
|
|
731
764
|
packageName: PACKAGE_NAME,
|
|
765
|
+
migrationOptions: {
|
|
766
|
+
optInTransformResponse: true
|
|
767
|
+
},
|
|
732
768
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
733
769
|
protoPath: "/v2/carts/{cartId}/add-coupon",
|
|
734
770
|
data: payload,
|
|
@@ -779,6 +815,9 @@ function removeCoupon(payload) {
|
|
|
779
815
|
method: "POST",
|
|
780
816
|
methodFqn: "wix.ecom.cart.v2.CartService.RemoveCoupon",
|
|
781
817
|
packageName: PACKAGE_NAME,
|
|
818
|
+
migrationOptions: {
|
|
819
|
+
optInTransformResponse: true
|
|
820
|
+
},
|
|
782
821
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
783
822
|
protoPath: "/v2/carts/{cartId}/remove-coupon",
|
|
784
823
|
data: payload,
|
|
@@ -829,6 +868,9 @@ function addGiftCard(payload) {
|
|
|
829
868
|
method: "POST",
|
|
830
869
|
methodFqn: "wix.ecom.cart.v2.CartService.AddGiftCard",
|
|
831
870
|
packageName: PACKAGE_NAME,
|
|
871
|
+
migrationOptions: {
|
|
872
|
+
optInTransformResponse: true
|
|
873
|
+
},
|
|
832
874
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
833
875
|
protoPath: "/v2/carts/{cartId}/add-gift-card",
|
|
834
876
|
data: payload,
|
|
@@ -879,6 +921,9 @@ function removeGiftCard(payload) {
|
|
|
879
921
|
method: "POST",
|
|
880
922
|
methodFqn: "wix.ecom.cart.v2.CartService.RemoveGiftCard",
|
|
881
923
|
packageName: PACKAGE_NAME,
|
|
924
|
+
migrationOptions: {
|
|
925
|
+
optInTransformResponse: true
|
|
926
|
+
},
|
|
882
927
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
883
928
|
protoPath: "/v2/carts/{cartId}/remove-gift-card",
|
|
884
929
|
data: payload,
|
|
@@ -929,6 +974,9 @@ function markCartAsCompleted(payload) {
|
|
|
929
974
|
method: "POST",
|
|
930
975
|
methodFqn: "wix.ecom.cart.v2.CartService.MarkCartAsCompleted",
|
|
931
976
|
packageName: PACKAGE_NAME,
|
|
977
|
+
migrationOptions: {
|
|
978
|
+
optInTransformResponse: true
|
|
979
|
+
},
|
|
932
980
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
933
981
|
protoPath: "/v2/carts/{cartId}/mark-cart-as-completed",
|
|
934
982
|
data: payload,
|
|
@@ -979,6 +1027,9 @@ function handleAsyncCheckoutCompletion(payload) {
|
|
|
979
1027
|
method: "POST",
|
|
980
1028
|
methodFqn: "wix.ecom.cart.v2.CartService.HandleAsyncCheckoutCompletion",
|
|
981
1029
|
packageName: PACKAGE_NAME,
|
|
1030
|
+
migrationOptions: {
|
|
1031
|
+
optInTransformResponse: true
|
|
1032
|
+
},
|
|
982
1033
|
url: resolveWixEcomCartV2CartServiceUrl({
|
|
983
1034
|
protoPath: "/v2/carts/handle-async-checkout-completion",
|
|
984
1035
|
data: payload,
|