@wix/auto_sdk_ecom_cart 1.0.93 → 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.
@@ -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.
@@ -1502,7 +1502,8 @@ async function estimateTotals2(_id, options) {
1502
1502
  billingAddress: options?.billingAddress,
1503
1503
  selectedMemberships: options?.selectedMemberships,
1504
1504
  calculateTax: options?.calculateTax,
1505
- calculateShipping: options?.calculateShipping
1505
+ calculateShipping: options?.calculateShipping,
1506
+ calculateAdditionalFees: options?.calculateAdditionalFees
1506
1507
  }),
1507
1508
  [
1508
1509
  {
@@ -1555,7 +1556,8 @@ async function estimateTotals2(_id, options) {
1555
1556
  billingAddress: "$[1].billingAddress",
1556
1557
  selectedMemberships: "$[1].selectedMemberships",
1557
1558
  calculateTax: "$[1].calculateTax",
1558
- calculateShipping: "$[1].calculateShipping"
1559
+ calculateShipping: "$[1].calculateShipping",
1560
+ calculateAdditionalFees: "$[1].calculateAdditionalFees"
1559
1561
  },
1560
1562
  singleArgumentUnchanged: false
1561
1563
  },