@wix/auto_sdk_ecom_cart 1.0.95 → 1.0.97

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.
@@ -1168,10 +1168,17 @@ interface CustomLineItem {
1168
1168
  */
1169
1169
  media?: string;
1170
1170
  /**
1171
- * Custom line item ID. If passed, `id` must be unique.
1171
+ * Deprecated. Custom line item ID.
1172
1172
  *
1173
- * Default: auto-generated ID
1173
+ * To maintain a unique value for a custom line item across multiple carts and orders, pass `catalogReference` instead.
1174
+ * Learn more about [custom items with catalog reference](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/catalogs/catalog-and-custom-items#custom-item-with-catalog-reference).
1174
1175
  * @format GUID
1176
+ * @readonly
1177
+ * @deprecated Deprecated. Custom line item ID.
1178
+ *
1179
+ * To maintain a unique value for a custom line item across multiple carts and orders, pass `catalogReference` instead.
1180
+ * Learn more about [custom items with catalog reference](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/catalogs/catalog-and-custom-items#custom-item-with-catalog-reference).
1181
+ * @targetRemovalDate 2026-05-01
1175
1182
  */
1176
1183
  _id?: string | null;
1177
1184
  /**
@@ -1385,6 +1392,12 @@ interface AddToCurrentCartAndEstimateTotalsRequest {
1385
1392
  * Default: `true`
1386
1393
  */
1387
1394
  calculateShipping?: boolean | null;
1395
+ /**
1396
+ * Whether to calculate additional fees in the calculation request.
1397
+ *
1398
+ * Default: `true`
1399
+ */
1400
+ calculateAdditionalFees?: boolean | null;
1388
1401
  }
1389
1402
  interface SelectedMemberships {
1390
1403
  /**
@@ -2520,6 +2533,12 @@ interface EstimateCurrentCartTotalsRequest {
2520
2533
  * Default: `true`
2521
2534
  */
2522
2535
  calculateShipping?: boolean | null;
2536
+ /**
2537
+ * Whether to calculate additional fees in the calculation request.
2538
+ *
2539
+ * Default: `true`
2540
+ */
2541
+ calculateAdditionalFees?: boolean | null;
2523
2542
  }
2524
2543
  interface DeleteCurrentCartRequest {
2525
2544
  }
@@ -2819,6 +2838,12 @@ interface EstimateTotalsRequest {
2819
2838
  * Default: `true`
2820
2839
  */
2821
2840
  calculateShipping?: boolean | null;
2841
+ /**
2842
+ * Whether to calculate additional fees in the calculation request.
2843
+ *
2844
+ * Default: `true`
2845
+ */
2846
+ calculateAdditionalFees?: boolean | null;
2822
2847
  }
2823
2848
  interface DeleteCartRequest {
2824
2849
  /**
@@ -3394,6 +3419,12 @@ interface EstimateTotalsOptions {
3394
3419
  * Default: `true`
3395
3420
  */
3396
3421
  calculateShipping?: boolean | null;
3422
+ /**
3423
+ * Whether to calculate additional fees in the calculation request.
3424
+ *
3425
+ * Default: `true`
3426
+ */
3427
+ calculateAdditionalFees?: boolean | null;
3397
3428
  }
3398
3429
  /**
3399
3430
  * Deletes a cart.