@wix/auto_sdk_ecom_cart 1.0.79 → 1.0.81
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.js +36 -0
- package/build/cjs/index.typings.js.map +1 -1
- 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.mjs +36 -0
- package/build/es/index.typings.mjs.map +1 -1
- 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 +3 -0
- package/build/internal/cjs/index.typings.js +36 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- 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 +3 -0
- package/build/internal/es/index.typings.mjs +36 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +36 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -172,6 +172,9 @@ function createCart(payload) {
|
|
|
172
172
|
method: "POST",
|
|
173
173
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.CreateCart",
|
|
174
174
|
packageName: PACKAGE_NAME,
|
|
175
|
+
migrationOptions: {
|
|
176
|
+
optInTransformResponse: true
|
|
177
|
+
},
|
|
175
178
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
176
179
|
protoPath: "/v1/carts",
|
|
177
180
|
data: serializedData,
|
|
@@ -262,6 +265,9 @@ function updateCart(payload) {
|
|
|
262
265
|
method: "PATCH",
|
|
263
266
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.UpdateCart",
|
|
264
267
|
packageName: PACKAGE_NAME,
|
|
268
|
+
migrationOptions: {
|
|
269
|
+
optInTransformResponse: true
|
|
270
|
+
},
|
|
265
271
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
266
272
|
protoPath: "/v1/carts/{cartInfo.id}",
|
|
267
273
|
data: serializedData,
|
|
@@ -307,6 +313,9 @@ function getCart(payload) {
|
|
|
307
313
|
method: "GET",
|
|
308
314
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.GetCart",
|
|
309
315
|
packageName: PACKAGE_NAME,
|
|
316
|
+
migrationOptions: {
|
|
317
|
+
optInTransformResponse: true
|
|
318
|
+
},
|
|
310
319
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
311
320
|
protoPath: "/v1/carts/{id}",
|
|
312
321
|
data: payload,
|
|
@@ -352,6 +361,9 @@ function getCartByCheckoutId(payload) {
|
|
|
352
361
|
method: "GET",
|
|
353
362
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.GetCartByCheckoutId",
|
|
354
363
|
packageName: PACKAGE_NAME,
|
|
364
|
+
migrationOptions: {
|
|
365
|
+
optInTransformResponse: true
|
|
366
|
+
},
|
|
355
367
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
356
368
|
protoPath: "/v1/carts/by-checkout-id/{id}",
|
|
357
369
|
data: payload,
|
|
@@ -423,6 +435,9 @@ function addToCart(payload) {
|
|
|
423
435
|
method: "POST",
|
|
424
436
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.AddToCart",
|
|
425
437
|
packageName: PACKAGE_NAME,
|
|
438
|
+
migrationOptions: {
|
|
439
|
+
optInTransformResponse: true
|
|
440
|
+
},
|
|
426
441
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
427
442
|
protoPath: "/v1/carts/{id}/add-to-cart",
|
|
428
443
|
data: serializedData,
|
|
@@ -468,6 +483,9 @@ function removeLineItems(payload) {
|
|
|
468
483
|
method: "POST",
|
|
469
484
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.RemoveLineItems",
|
|
470
485
|
packageName: PACKAGE_NAME,
|
|
486
|
+
migrationOptions: {
|
|
487
|
+
optInTransformResponse: true
|
|
488
|
+
},
|
|
471
489
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
472
490
|
protoPath: "/v1/carts/{id}/remove-line-items",
|
|
473
491
|
data: payload,
|
|
@@ -524,6 +542,9 @@ function createCheckout(payload) {
|
|
|
524
542
|
method: "POST",
|
|
525
543
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.CreateCheckout",
|
|
526
544
|
packageName: PACKAGE_NAME,
|
|
545
|
+
migrationOptions: {
|
|
546
|
+
optInTransformResponse: true
|
|
547
|
+
},
|
|
527
548
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
528
549
|
protoPath: "/v1/carts/{id}/create-checkout",
|
|
529
550
|
data: serializedData,
|
|
@@ -542,6 +563,9 @@ function removeCoupon(payload) {
|
|
|
542
563
|
method: "POST",
|
|
543
564
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.RemoveCoupon",
|
|
544
565
|
packageName: PACKAGE_NAME,
|
|
566
|
+
migrationOptions: {
|
|
567
|
+
optInTransformResponse: true
|
|
568
|
+
},
|
|
545
569
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
546
570
|
protoPath: "/v1/carts/{id}/remove-coupon",
|
|
547
571
|
data: payload,
|
|
@@ -587,6 +611,9 @@ function updateLineItemsQuantity(payload) {
|
|
|
587
611
|
method: "POST",
|
|
588
612
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.UpdateLineItemsQuantity",
|
|
589
613
|
packageName: PACKAGE_NAME,
|
|
614
|
+
migrationOptions: {
|
|
615
|
+
optInTransformResponse: true
|
|
616
|
+
},
|
|
590
617
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
591
618
|
protoPath: "/v1/carts/{id}/update-line-items-quantity",
|
|
592
619
|
data: payload,
|
|
@@ -643,6 +670,9 @@ function estimateTotals(payload) {
|
|
|
643
670
|
method: "POST",
|
|
644
671
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.EstimateTotals",
|
|
645
672
|
packageName: PACKAGE_NAME,
|
|
673
|
+
migrationOptions: {
|
|
674
|
+
optInTransformResponse: true
|
|
675
|
+
},
|
|
646
676
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
647
677
|
protoPath: "/v1/carts/{id}/estimate-totals",
|
|
648
678
|
data: serializedData,
|
|
@@ -717,6 +747,9 @@ function deleteCart(payload) {
|
|
|
717
747
|
method: "DELETE",
|
|
718
748
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.DeleteCart",
|
|
719
749
|
packageName: PACKAGE_NAME,
|
|
750
|
+
migrationOptions: {
|
|
751
|
+
optInTransformResponse: true
|
|
752
|
+
},
|
|
720
753
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
721
754
|
protoPath: "/v1/carts/{id}",
|
|
722
755
|
data: payload,
|
|
@@ -735,6 +768,9 @@ function removeBusinessLocation(payload) {
|
|
|
735
768
|
method: "POST",
|
|
736
769
|
methodFqn: "com.wix.ecom.cart.api.v1.CartService.RemoveBusinessLocation",
|
|
737
770
|
packageName: PACKAGE_NAME,
|
|
771
|
+
migrationOptions: {
|
|
772
|
+
optInTransformResponse: true
|
|
773
|
+
},
|
|
738
774
|
url: resolveComWixEcomCartApiV1CartServiceUrl({
|
|
739
775
|
protoPath: "/v1/carts/{id}/remove-business-location",
|
|
740
776
|
data: payload,
|