@wix/auto_sdk_ecom_cart 1.0.94 → 1.0.96
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.d.ts +9 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +50 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +35 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +9 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +50 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +35 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +10 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +10 -17
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +35 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +10 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +10 -17
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +35 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -196,6 +196,11 @@ interface LineItem {
|
|
|
196
196
|
* @readonly
|
|
197
197
|
*/
|
|
198
198
|
itemType?: ItemType;
|
|
199
|
+
/**
|
|
200
|
+
* Subscription option information.
|
|
201
|
+
* @readonly
|
|
202
|
+
*/
|
|
203
|
+
subscriptionOptionInfo?: SubscriptionOptionInfo;
|
|
199
204
|
/**
|
|
200
205
|
* Type of selected payment option for current item.
|
|
201
206
|
*
|
|
@@ -1271,6 +1276,18 @@ interface CustomLineItem {
|
|
|
1271
1276
|
deliveryProfileId?: string | null;
|
|
1272
1277
|
/** Catalog and item reference. Includes IDs for the item and the catalog it came from, as well as further optional info. Optional for custom line items, which don't trigger the Catalog service plugin. */
|
|
1273
1278
|
catalogReference?: CatalogReference;
|
|
1279
|
+
/**
|
|
1280
|
+
* Whether the price is not yet defined, and will be updated after the order is created.
|
|
1281
|
+
*
|
|
1282
|
+
* Default: `false`
|
|
1283
|
+
*/
|
|
1284
|
+
priceUndetermined?: boolean;
|
|
1285
|
+
/**
|
|
1286
|
+
* Whether the line item quantity is fixed and cannot be changed.
|
|
1287
|
+
*
|
|
1288
|
+
* Default: `false`
|
|
1289
|
+
*/
|
|
1290
|
+
fixedQuantity?: boolean;
|
|
1274
1291
|
/**
|
|
1275
1292
|
* Item payment policy that requires customer consent to complete purchase. The payment policy will be displayed on the checkout page.
|
|
1276
1293
|
* @minLength 1
|
|
@@ -1407,6 +1424,12 @@ interface AddToCurrentCartAndEstimateTotalsRequest {
|
|
|
1407
1424
|
* Default: `true`
|
|
1408
1425
|
*/
|
|
1409
1426
|
calculateShipping?: boolean | null;
|
|
1427
|
+
/**
|
|
1428
|
+
* Whether to calculate additional fees in the calculation request.
|
|
1429
|
+
*
|
|
1430
|
+
* Default: `true`
|
|
1431
|
+
*/
|
|
1432
|
+
calculateAdditionalFees?: boolean | null;
|
|
1410
1433
|
}
|
|
1411
1434
|
interface SelectedMemberships {
|
|
1412
1435
|
/**
|
|
@@ -2542,6 +2565,12 @@ interface EstimateCurrentCartTotalsRequest {
|
|
|
2542
2565
|
* Default: `true`
|
|
2543
2566
|
*/
|
|
2544
2567
|
calculateShipping?: boolean | null;
|
|
2568
|
+
/**
|
|
2569
|
+
* Whether to calculate additional fees in the calculation request.
|
|
2570
|
+
*
|
|
2571
|
+
* Default: `true`
|
|
2572
|
+
*/
|
|
2573
|
+
calculateAdditionalFees?: boolean | null;
|
|
2545
2574
|
}
|
|
2546
2575
|
interface DeleteCurrentCartRequest {
|
|
2547
2576
|
}
|
|
@@ -2843,6 +2872,12 @@ interface EstimateTotalsRequest {
|
|
|
2843
2872
|
* Default: `true`
|
|
2844
2873
|
*/
|
|
2845
2874
|
calculateShipping?: boolean | null;
|
|
2875
|
+
/**
|
|
2876
|
+
* Whether to calculate additional fees in the calculation request.
|
|
2877
|
+
*
|
|
2878
|
+
* Default: `true`
|
|
2879
|
+
*/
|
|
2880
|
+
calculateAdditionalFees?: boolean | null;
|
|
2846
2881
|
}
|
|
2847
2882
|
interface DeleteCartRequest {
|
|
2848
2883
|
/**
|