@wix/auto_sdk_ecom_cart-v-2 1.0.33 → 1.0.35
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 +20 -34
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +20 -34
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +20 -34
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +20 -34
- 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 +20 -34
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +20 -34
- 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 +20 -34
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +20 -34
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1366,39 +1366,7 @@ interface CartSettings {
|
|
|
1366
1366
|
/** Whether to disable manual payment option for this checkout. */
|
|
1367
1367
|
manualPaymentDisabled?: boolean | null;
|
|
1368
1368
|
}
|
|
1369
|
-
interface CustomField {
|
|
1370
|
-
/** Custom field value. */
|
|
1371
|
-
value?: any;
|
|
1372
|
-
/**
|
|
1373
|
-
* Custom field title.
|
|
1374
|
-
* @minLength 1
|
|
1375
|
-
* @maxLength 500
|
|
1376
|
-
*/
|
|
1377
|
-
title?: string;
|
|
1378
|
-
/**
|
|
1379
|
-
* Translated custom field title.
|
|
1380
|
-
* @minLength 1
|
|
1381
|
-
* @maxLength 500
|
|
1382
|
-
*/
|
|
1383
|
-
translatedTitle?: string | null;
|
|
1384
|
-
}
|
|
1385
1369
|
interface LegacyFields {
|
|
1386
|
-
/**
|
|
1387
|
-
* The applied discounts of the Cart.
|
|
1388
|
-
* Discounts that are no longer applied are not included in this list.
|
|
1389
|
-
* @maxSize 100
|
|
1390
|
-
*/
|
|
1391
|
-
appliedDiscounts?: Discount[];
|
|
1392
|
-
/** The coupon discount amount. */
|
|
1393
|
-
couponDiscount?: ConvertedMoney;
|
|
1394
|
-
/** The sum of all line items after applying all discounts. */
|
|
1395
|
-
subtotalAfterCouponDiscount?: ConvertedMoney;
|
|
1396
|
-
/**
|
|
1397
|
-
* Indicates that this cart was created by the Buy Now flow.
|
|
1398
|
-
* Used by the Cart API proxy to determine whether to produce legacy V1 domain events.
|
|
1399
|
-
* @immutable
|
|
1400
|
-
*/
|
|
1401
|
-
buyNow?: boolean;
|
|
1402
1370
|
}
|
|
1403
1371
|
interface Discount {
|
|
1404
1372
|
/** The display name of the discount. */
|
|
@@ -1466,6 +1434,22 @@ interface DiscountBenefitValueOneOf {
|
|
|
1466
1434
|
/** A specific monetary value deducted from the total cost. */
|
|
1467
1435
|
amountOff?: ConvertedMoney;
|
|
1468
1436
|
}
|
|
1437
|
+
interface CustomField {
|
|
1438
|
+
/** Custom field value. */
|
|
1439
|
+
value?: any;
|
|
1440
|
+
/**
|
|
1441
|
+
* Custom field title.
|
|
1442
|
+
* @minLength 1
|
|
1443
|
+
* @maxLength 500
|
|
1444
|
+
*/
|
|
1445
|
+
title?: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* Translated custom field title.
|
|
1448
|
+
* @minLength 1
|
|
1449
|
+
* @maxLength 500
|
|
1450
|
+
*/
|
|
1451
|
+
translatedTitle?: string | null;
|
|
1452
|
+
}
|
|
1469
1453
|
interface CartSummary {
|
|
1470
1454
|
/**
|
|
1471
1455
|
* The Cart ID.
|
|
@@ -2713,12 +2697,14 @@ interface CalculateTotalsResponse {
|
|
|
2713
2697
|
/** Weight unit. */
|
|
2714
2698
|
weightUnit?: WeightUnitWithLiterals;
|
|
2715
2699
|
/**
|
|
2716
|
-
*
|
|
2700
|
+
* The business’s default currency. Used for price calculations.
|
|
2701
|
+
* This represents the base currency configured for the site and remains constant regardless of the [customer’s currency selection](https://support.wix.com/en/article/multicurrency-an-overview).
|
|
2717
2702
|
* @format CURRENCY
|
|
2718
2703
|
*/
|
|
2719
2704
|
currency?: string;
|
|
2720
2705
|
/**
|
|
2721
|
-
*
|
|
2706
|
+
* The currency [selected by the customer](https://support.wix.com/en/article/multicurrency-an-overview). Used for converted price calculations.
|
|
2707
|
+
* This reflects the customer’s preferred currency and may differ from the site’s default currency.
|
|
2722
2708
|
* @readonly
|
|
2723
2709
|
* @format CURRENCY
|
|
2724
2710
|
*/
|