@wix/auto_sdk_ecom_cart 1.0.80 → 1.0.82
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 +36 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -0
- package/build/cjs/index.typings.js +36 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +17 -0
- package/build/cjs/meta.js +36 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +36 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -0
- package/build/es/index.typings.mjs +36 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +17 -0
- package/build/es/meta.mjs +36 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +36 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -2
- package/build/internal/cjs/index.typings.js +36 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +17 -0
- package/build/internal/cjs/meta.js +36 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +36 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -2
- package/build/internal/es/index.typings.mjs +36 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +17 -0
- package/build/internal/es/meta.mjs +36 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -244,6 +244,9 @@ function createCart(payload) {
|
|
|
244
244
|
method: "POST",
|
|
245
245
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.CreateCart",
|
|
246
246
|
packageName: PACKAGE_NAME,
|
|
247
|
+
migrationOptions: {
|
|
248
|
+
optInTransformResponse: true
|
|
249
|
+
},
|
|
247
250
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
248
251
|
protoPath: "/v1/carts",
|
|
249
252
|
data: serializedData,
|
|
@@ -334,6 +337,9 @@ function updateCart(payload) {
|
|
|
334
337
|
method: "PATCH",
|
|
335
338
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.UpdateCart",
|
|
336
339
|
packageName: PACKAGE_NAME,
|
|
340
|
+
migrationOptions: {
|
|
341
|
+
optInTransformResponse: true
|
|
342
|
+
},
|
|
337
343
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
338
344
|
protoPath: "/v1/carts/{cartInfo.id}",
|
|
339
345
|
data: serializedData,
|
|
@@ -379,6 +385,9 @@ function getCart(payload) {
|
|
|
379
385
|
method: "GET",
|
|
380
386
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.GetCart",
|
|
381
387
|
packageName: PACKAGE_NAME,
|
|
388
|
+
migrationOptions: {
|
|
389
|
+
optInTransformResponse: true
|
|
390
|
+
},
|
|
382
391
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
383
392
|
protoPath: "/v1/carts/{id}",
|
|
384
393
|
data: payload,
|
|
@@ -424,6 +433,9 @@ function getCartByCheckoutId(payload) {
|
|
|
424
433
|
method: "GET",
|
|
425
434
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.GetCartByCheckoutId",
|
|
426
435
|
packageName: PACKAGE_NAME,
|
|
436
|
+
migrationOptions: {
|
|
437
|
+
optInTransformResponse: true
|
|
438
|
+
},
|
|
427
439
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
428
440
|
protoPath: "/v1/carts/by-checkout-id/{id}",
|
|
429
441
|
data: payload,
|
|
@@ -495,6 +507,9 @@ function addToCart(payload) {
|
|
|
495
507
|
method: "POST",
|
|
496
508
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.AddToCart",
|
|
497
509
|
packageName: PACKAGE_NAME,
|
|
510
|
+
migrationOptions: {
|
|
511
|
+
optInTransformResponse: true
|
|
512
|
+
},
|
|
498
513
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
499
514
|
protoPath: "/v1/carts/{id}/add-to-cart",
|
|
500
515
|
data: serializedData,
|
|
@@ -540,6 +555,9 @@ function removeLineItems(payload) {
|
|
|
540
555
|
method: "POST",
|
|
541
556
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.RemoveLineItems",
|
|
542
557
|
packageName: PACKAGE_NAME,
|
|
558
|
+
migrationOptions: {
|
|
559
|
+
optInTransformResponse: true
|
|
560
|
+
},
|
|
543
561
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
544
562
|
protoPath: "/v1/carts/{id}/remove-line-items",
|
|
545
563
|
data: payload,
|
|
@@ -596,6 +614,9 @@ function createCheckout(payload) {
|
|
|
596
614
|
method: "POST",
|
|
597
615
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.CreateCheckout",
|
|
598
616
|
packageName: PACKAGE_NAME,
|
|
617
|
+
migrationOptions: {
|
|
618
|
+
optInTransformResponse: true
|
|
619
|
+
},
|
|
599
620
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
600
621
|
protoPath: "/v1/carts/{id}/create-checkout",
|
|
601
622
|
data: serializedData,
|
|
@@ -614,6 +635,9 @@ function removeCoupon(payload) {
|
|
|
614
635
|
method: "POST",
|
|
615
636
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.RemoveCoupon",
|
|
616
637
|
packageName: PACKAGE_NAME,
|
|
638
|
+
migrationOptions: {
|
|
639
|
+
optInTransformResponse: true
|
|
640
|
+
},
|
|
617
641
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
618
642
|
protoPath: "/v1/carts/{id}/remove-coupon",
|
|
619
643
|
data: payload,
|
|
@@ -659,6 +683,9 @@ function updateLineItemsQuantity(payload) {
|
|
|
659
683
|
method: "POST",
|
|
660
684
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.UpdateLineItemsQuantity",
|
|
661
685
|
packageName: PACKAGE_NAME,
|
|
686
|
+
migrationOptions: {
|
|
687
|
+
optInTransformResponse: true
|
|
688
|
+
},
|
|
662
689
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
663
690
|
protoPath: "/v1/carts/{id}/update-line-items-quantity",
|
|
664
691
|
data: payload,
|
|
@@ -715,6 +742,9 @@ function estimateTotals(payload) {
|
|
|
715
742
|
method: "POST",
|
|
716
743
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.EstimateTotals",
|
|
717
744
|
packageName: PACKAGE_NAME,
|
|
745
|
+
migrationOptions: {
|
|
746
|
+
optInTransformResponse: true
|
|
747
|
+
},
|
|
718
748
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
719
749
|
protoPath: "/v1/carts/{id}/estimate-totals",
|
|
720
750
|
data: serializedData,
|
|
@@ -789,6 +819,9 @@ function deleteCart(payload) {
|
|
|
789
819
|
method: "DELETE",
|
|
790
820
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.DeleteCart",
|
|
791
821
|
packageName: PACKAGE_NAME,
|
|
822
|
+
migrationOptions: {
|
|
823
|
+
optInTransformResponse: true
|
|
824
|
+
},
|
|
792
825
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
793
826
|
protoPath: "/v1/carts/{id}",
|
|
794
827
|
data: payload,
|
|
@@ -807,6 +840,9 @@ function removeBusinessLocation(payload) {
|
|
|
807
840
|
method: "POST",
|
|
808
841
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.RemoveBusinessLocation",
|
|
809
842
|
packageName: PACKAGE_NAME,
|
|
843
|
+
migrationOptions: {
|
|
844
|
+
optInTransformResponse: true
|
|
845
|
+
},
|
|
810
846
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
811
847
|
protoPath: "/v1/carts/{id}/remove-business-location",
|
|
812
848
|
data: payload,
|