@wix/auto_sdk_ecom_cart 1.0.92 → 1.0.94
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 +4 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +4 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.mjs +4 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +4 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.js +4 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +28 -0
- package/build/internal/cjs/index.typings.js +4 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.mjs +4 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +28 -0
- package/build/internal/es/index.typings.mjs +4 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1433,6 +1433,13 @@ interface AddToCurrentCartAndEstimateTotalsRequest {
|
|
|
1433
1433
|
* Default: `true`
|
|
1434
1434
|
*/
|
|
1435
1435
|
calculateShipping?: boolean | null;
|
|
1436
|
+
/**
|
|
1437
|
+
* Whether to calculate additional fees in the calculation request.
|
|
1438
|
+
*
|
|
1439
|
+
* Default: `true`
|
|
1440
|
+
* @internal
|
|
1441
|
+
*/
|
|
1442
|
+
calculateAdditionalFees?: boolean | null;
|
|
1436
1443
|
}
|
|
1437
1444
|
interface SelectedMemberships {
|
|
1438
1445
|
/**
|
|
@@ -2643,6 +2650,13 @@ interface EstimateCurrentCartTotalsRequest {
|
|
|
2643
2650
|
* Default: `true`
|
|
2644
2651
|
*/
|
|
2645
2652
|
calculateShipping?: boolean | null;
|
|
2653
|
+
/**
|
|
2654
|
+
* Whether to calculate additional fees in the calculation request.
|
|
2655
|
+
*
|
|
2656
|
+
* Default: `true`
|
|
2657
|
+
* @internal
|
|
2658
|
+
*/
|
|
2659
|
+
calculateAdditionalFees?: boolean | null;
|
|
2646
2660
|
}
|
|
2647
2661
|
interface DeleteCurrentCartRequest {
|
|
2648
2662
|
}
|
|
@@ -2942,6 +2956,13 @@ interface EstimateTotalsRequest {
|
|
|
2942
2956
|
* Default: `true`
|
|
2943
2957
|
*/
|
|
2944
2958
|
calculateShipping?: boolean | null;
|
|
2959
|
+
/**
|
|
2960
|
+
* Whether to calculate additional fees in the calculation request.
|
|
2961
|
+
*
|
|
2962
|
+
* Default: `true`
|
|
2963
|
+
* @internal
|
|
2964
|
+
*/
|
|
2965
|
+
calculateAdditionalFees?: boolean | null;
|
|
2945
2966
|
}
|
|
2946
2967
|
interface DeleteCartRequest {
|
|
2947
2968
|
/**
|
|
@@ -3528,6 +3549,13 @@ interface EstimateTotalsOptions {
|
|
|
3528
3549
|
* Default: `true`
|
|
3529
3550
|
*/
|
|
3530
3551
|
calculateShipping?: boolean | null;
|
|
3552
|
+
/**
|
|
3553
|
+
* Whether to calculate additional fees in the calculation request.
|
|
3554
|
+
*
|
|
3555
|
+
* Default: `true`
|
|
3556
|
+
* @internal
|
|
3557
|
+
*/
|
|
3558
|
+
calculateAdditionalFees?: boolean | null;
|
|
3531
3559
|
}
|
|
3532
3560
|
/**
|
|
3533
3561
|
* Deletes a cart.
|
|
@@ -1561,7 +1561,8 @@ async function estimateTotals2(_id, options) {
|
|
|
1561
1561
|
billingAddress: options?.billingAddress,
|
|
1562
1562
|
selectedMemberships: options?.selectedMemberships,
|
|
1563
1563
|
calculateTax: options?.calculateTax,
|
|
1564
|
-
calculateShipping: options?.calculateShipping
|
|
1564
|
+
calculateShipping: options?.calculateShipping,
|
|
1565
|
+
calculateAdditionalFees: options?.calculateAdditionalFees
|
|
1565
1566
|
}),
|
|
1566
1567
|
[
|
|
1567
1568
|
{
|
|
@@ -1614,7 +1615,8 @@ async function estimateTotals2(_id, options) {
|
|
|
1614
1615
|
billingAddress: "$[1].billingAddress",
|
|
1615
1616
|
selectedMemberships: "$[1].selectedMemberships",
|
|
1616
1617
|
calculateTax: "$[1].calculateTax",
|
|
1617
|
-
calculateShipping: "$[1].calculateShipping"
|
|
1618
|
+
calculateShipping: "$[1].calculateShipping",
|
|
1619
|
+
calculateAdditionalFees: "$[1].calculateAdditionalFees"
|
|
1618
1620
|
},
|
|
1619
1621
|
singleArgumentUnchanged: false
|
|
1620
1622
|
},
|