@wix/auto_sdk_ecom_current-cart-v-2 1.0.33 → 1.0.34
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 +16 -32
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +16 -32
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +16 -32
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +16 -32
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +16 -32
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +16 -32
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +16 -32
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +16 -32
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -1413,39 +1413,7 @@ interface CartSettings {
|
|
|
1413
1413
|
/** Whether to disable manual payment option for this checkout. */
|
|
1414
1414
|
manualPaymentDisabled?: boolean | null;
|
|
1415
1415
|
}
|
|
1416
|
-
interface CustomField {
|
|
1417
|
-
/** Custom field value. */
|
|
1418
|
-
value?: any;
|
|
1419
|
-
/**
|
|
1420
|
-
* Custom field title.
|
|
1421
|
-
* @minLength 1
|
|
1422
|
-
* @maxLength 500
|
|
1423
|
-
*/
|
|
1424
|
-
title?: string;
|
|
1425
|
-
/**
|
|
1426
|
-
* Translated custom field title.
|
|
1427
|
-
* @minLength 1
|
|
1428
|
-
* @maxLength 500
|
|
1429
|
-
*/
|
|
1430
|
-
translatedTitle?: string | null;
|
|
1431
|
-
}
|
|
1432
1416
|
interface LegacyFields {
|
|
1433
|
-
/**
|
|
1434
|
-
* The applied discounts of the Cart.
|
|
1435
|
-
* Discounts that are no longer applied are not included in this list.
|
|
1436
|
-
* @maxSize 100
|
|
1437
|
-
*/
|
|
1438
|
-
appliedDiscounts?: Discount[];
|
|
1439
|
-
/** The coupon discount amount. */
|
|
1440
|
-
couponDiscount?: ConvertedMoney;
|
|
1441
|
-
/** The sum of all line items after applying all discounts. */
|
|
1442
|
-
subtotalAfterCouponDiscount?: ConvertedMoney;
|
|
1443
|
-
/**
|
|
1444
|
-
* Indicates that this cart was created by the Buy Now flow.
|
|
1445
|
-
* Used by the Cart API proxy to determine whether to produce legacy V1 domain events.
|
|
1446
|
-
* @immutable
|
|
1447
|
-
*/
|
|
1448
|
-
buyNow?: boolean;
|
|
1449
1417
|
}
|
|
1450
1418
|
interface Discount {
|
|
1451
1419
|
/** The display name of the discount. */
|
|
@@ -1513,6 +1481,22 @@ interface DiscountBenefitValueOneOf {
|
|
|
1513
1481
|
/** A specific monetary value deducted from the total cost. */
|
|
1514
1482
|
amountOff?: ConvertedMoney;
|
|
1515
1483
|
}
|
|
1484
|
+
interface CustomField {
|
|
1485
|
+
/** Custom field value. */
|
|
1486
|
+
value?: any;
|
|
1487
|
+
/**
|
|
1488
|
+
* Custom field title.
|
|
1489
|
+
* @minLength 1
|
|
1490
|
+
* @maxLength 500
|
|
1491
|
+
*/
|
|
1492
|
+
title?: string;
|
|
1493
|
+
/**
|
|
1494
|
+
* Translated custom field title.
|
|
1495
|
+
* @minLength 1
|
|
1496
|
+
* @maxLength 500
|
|
1497
|
+
*/
|
|
1498
|
+
translatedTitle?: string | null;
|
|
1499
|
+
}
|
|
1516
1500
|
interface CartSummary {
|
|
1517
1501
|
/**
|
|
1518
1502
|
* The Cart ID.
|