@wix/auto_sdk_ecom_current-cart-v-2 1.0.21 → 1.0.23
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 +70 -53
- package/build/cjs/index.js +2 -64
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +2 -64
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +64 -58
- package/build/cjs/meta.js +0 -64
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +70 -53
- package/build/es/index.mjs +2 -64
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +2 -64
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +64 -58
- package/build/es/meta.mjs +0 -64
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +13 -13
- package/build/internal/cjs/index.js +2 -64
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +82 -65
- package/build/internal/cjs/index.typings.js +2 -64
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +64 -58
- package/build/internal/cjs/meta.js +0 -64
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +13 -13
- package/build/internal/es/index.mjs +2 -64
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +82 -65
- package/build/internal/es/index.typings.mjs +2 -64
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +64 -58
- package/build/internal/es/meta.mjs +0 -64
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -30,8 +30,11 @@ interface Cart {
|
|
|
30
30
|
* @readonly
|
|
31
31
|
*/
|
|
32
32
|
lineItems?: V2LineItem[];
|
|
33
|
-
/**
|
|
34
|
-
|
|
33
|
+
/**
|
|
34
|
+
* The sum of all line item final prices.
|
|
35
|
+
* @readonly
|
|
36
|
+
*/
|
|
37
|
+
subtotal?: ConvertedMoney;
|
|
35
38
|
/**
|
|
36
39
|
* Optional message left by the customer.
|
|
37
40
|
* Usually intended for the merchant and contain special instructions, requests, or clarifications related to the order.
|
|
@@ -42,6 +45,7 @@ interface Cart {
|
|
|
42
45
|
* List of coupons added to the Cart.
|
|
43
46
|
* Currently, only one coupon code is supported.
|
|
44
47
|
* @maxSize 1
|
|
48
|
+
* @readonly
|
|
45
49
|
*/
|
|
46
50
|
coupons?: Coupon[];
|
|
47
51
|
/** Information about the source of the Cart, detailing the origin or context in which the Cart was created. */
|
|
@@ -197,12 +201,12 @@ interface ItemPricingInfo {
|
|
|
197
201
|
* Final unit price after applying automatic discounts.
|
|
198
202
|
* Includes tax if `tax_info.prices_include_tax` is true.
|
|
199
203
|
*/
|
|
200
|
-
unitPrice?:
|
|
204
|
+
unitPrice?: ConvertedMoney;
|
|
201
205
|
/**
|
|
202
206
|
* Final total price for this item (unit price × quantity).
|
|
203
207
|
* Includes tax if `tax_info.prices_include_tax` is true.
|
|
204
208
|
*/
|
|
205
|
-
totalPrice?:
|
|
209
|
+
totalPrice?: ConvertedMoney;
|
|
206
210
|
/**
|
|
207
211
|
* Additional description for the price.
|
|
208
212
|
* For example, when price is 0 but additional details about the actual price are needed - "Starts at $67".
|
|
@@ -213,28 +217,21 @@ interface ItemPricingInfo {
|
|
|
213
217
|
/** Detailed breakdown of price components. */
|
|
214
218
|
breakdown?: ItemPriceBreakdown;
|
|
215
219
|
}
|
|
216
|
-
interface
|
|
220
|
+
interface ConvertedMoney {
|
|
217
221
|
/**
|
|
218
|
-
*
|
|
219
|
-
* @
|
|
222
|
+
* Monetary amount in the original currency, as specified in `business_info.currency_code`.
|
|
223
|
+
* @format DECIMAL_VALUE
|
|
224
|
+
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
220
225
|
*/
|
|
221
226
|
amount?: string;
|
|
222
227
|
/**
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
228
|
+
* Monetary amount in the converted currency, as specified in `customer_info.currency_code`.
|
|
229
|
+
*
|
|
230
|
+
* Default: `amount`.
|
|
231
|
+
* @format DECIMAL_VALUE
|
|
232
|
+
* @decimalValue options { gte:0, lte:999999999, maxScale:3 }
|
|
226
233
|
*/
|
|
227
234
|
convertedAmount?: string;
|
|
228
|
-
/**
|
|
229
|
-
* Amount formatted with currency symbol.
|
|
230
|
-
* @readonly
|
|
231
|
-
*/
|
|
232
|
-
formattedAmount?: string;
|
|
233
|
-
/**
|
|
234
|
-
* Converted amount formatted with currency symbol.
|
|
235
|
-
* @readonly
|
|
236
|
-
*/
|
|
237
|
-
formattedConvertedAmount?: string;
|
|
238
235
|
}
|
|
239
236
|
interface PriceDescription {
|
|
240
237
|
/**
|
|
@@ -257,17 +254,17 @@ interface ItemPriceBreakdown {
|
|
|
257
254
|
* Full catalog price of a single item before any discounts, including modifiers.
|
|
258
255
|
* Includes tax if `tax_info.prices_include_tax` is true.
|
|
259
256
|
*/
|
|
260
|
-
fullPrice?:
|
|
257
|
+
fullPrice?: ConvertedMoney;
|
|
261
258
|
/**
|
|
262
259
|
* Catalog sale price of a single item, including modifiers.
|
|
263
260
|
* Includes tax if `tax_info.prices_include_tax` is true.
|
|
264
261
|
*/
|
|
265
|
-
salePrice?:
|
|
262
|
+
salePrice?: ConvertedMoney;
|
|
266
263
|
/**
|
|
267
264
|
* Total price of all item modifiers for the entire quantity of this item.
|
|
268
265
|
* Includes tax if `tax_info.prices_include_tax` is true.
|
|
269
266
|
*/
|
|
270
|
-
totalModifiersPrice?:
|
|
267
|
+
totalModifiersPrice?: ConvertedMoney;
|
|
271
268
|
}
|
|
272
269
|
interface ItemSource {
|
|
273
270
|
/**
|
|
@@ -452,11 +449,6 @@ interface Image {
|
|
|
452
449
|
* @maxLength 400
|
|
453
450
|
*/
|
|
454
451
|
id?: string;
|
|
455
|
-
/**
|
|
456
|
-
* Image URL.
|
|
457
|
-
* @format WEB_URL
|
|
458
|
-
*/
|
|
459
|
-
url?: string;
|
|
460
452
|
/**
|
|
461
453
|
* Original image height.
|
|
462
454
|
* @readonly
|
|
@@ -764,7 +756,7 @@ interface ItemPaymentConfig {
|
|
|
764
756
|
* Partial payment to be paid upfront during the checkout.
|
|
765
757
|
* Eligible for catalog items with `lineItem.paymentOption` type `DEPOSIT_ONLINE` only.
|
|
766
758
|
*/
|
|
767
|
-
depositAmount?:
|
|
759
|
+
depositAmount?: ConvertedMoney;
|
|
768
760
|
/**
|
|
769
761
|
* Selected membership to be used as payment for this item.
|
|
770
762
|
* Must be used with `lineItem.paymentOption` set to `MEMBERSHIP` or `MEMBERSHIP_OFFLINE`.
|
|
@@ -893,7 +885,7 @@ interface ItemModifier {
|
|
|
893
885
|
/** Additional details. */
|
|
894
886
|
details?: TranslatableString;
|
|
895
887
|
/** The price of the modifier. */
|
|
896
|
-
price?:
|
|
888
|
+
price?: ConvertedMoney;
|
|
897
889
|
}
|
|
898
890
|
/**
|
|
899
891
|
* Currently, only automatic discounts are applied to line items.
|
|
@@ -903,7 +895,7 @@ interface ItemDiscount {
|
|
|
903
895
|
/** The display name of the discount. */
|
|
904
896
|
name?: TranslatableString;
|
|
905
897
|
/** The amount discounted from the item's sale price (per unit). */
|
|
906
|
-
amountOff?:
|
|
898
|
+
amountOff?: ConvertedMoney;
|
|
907
899
|
}
|
|
908
900
|
interface Scope {
|
|
909
901
|
/** Scope namespace (Wix Stores, Wix Bookings, Wix Events, Wix Pricing Plans) */
|
|
@@ -1437,9 +1429,9 @@ interface LegacyFields {
|
|
|
1437
1429
|
*/
|
|
1438
1430
|
appliedDiscounts?: Discount[];
|
|
1439
1431
|
/** The coupon discount amount. */
|
|
1440
|
-
couponDiscount?:
|
|
1432
|
+
couponDiscount?: ConvertedMoney;
|
|
1441
1433
|
/** The sum of all line items after applying all discounts. */
|
|
1442
|
-
subtotalAfterCouponDiscount?:
|
|
1434
|
+
subtotalAfterCouponDiscount?: ConvertedMoney;
|
|
1443
1435
|
}
|
|
1444
1436
|
interface Discount {
|
|
1445
1437
|
/** The display name of the discount. */
|
|
@@ -1494,7 +1486,7 @@ declare enum DiscountScope {
|
|
|
1494
1486
|
type DiscountScopeWithLiterals = DiscountScope | 'UNKNOWN_DISCOUNT_SCOPE' | 'CART_SUBTOTAL' | 'LINE_ITEM' | 'DELIVERY';
|
|
1495
1487
|
interface DiscountBenefit extends DiscountBenefitValueOneOf {
|
|
1496
1488
|
/** A specific monetary value deducted from the total cost. */
|
|
1497
|
-
amountOff?:
|
|
1489
|
+
amountOff?: ConvertedMoney;
|
|
1498
1490
|
/**
|
|
1499
1491
|
* The ID of line item that the discount applies to.
|
|
1500
1492
|
* Relevant for item-level discounts only.
|
|
@@ -1505,7 +1497,7 @@ interface DiscountBenefit extends DiscountBenefitValueOneOf {
|
|
|
1505
1497
|
/** @oneof */
|
|
1506
1498
|
interface DiscountBenefitValueOneOf {
|
|
1507
1499
|
/** A specific monetary value deducted from the total cost. */
|
|
1508
|
-
amountOff?:
|
|
1500
|
+
amountOff?: ConvertedMoney;
|
|
1509
1501
|
}
|
|
1510
1502
|
interface CartSummary {
|
|
1511
1503
|
/**
|
|
@@ -1580,12 +1572,12 @@ interface LineItemSummary {
|
|
|
1580
1572
|
* Final unit price after applying automatic discounts.
|
|
1581
1573
|
* Includes tax if `tax_summary.prices_include_tax` is true.
|
|
1582
1574
|
*/
|
|
1583
|
-
unitPrice?:
|
|
1575
|
+
unitPrice?: ConvertedMoney;
|
|
1584
1576
|
/**
|
|
1585
1577
|
* Total price for the line item (unit price × quantity).
|
|
1586
1578
|
* Includes tax if `tax_summary.prices_include_tax` is true.
|
|
1587
1579
|
*/
|
|
1588
|
-
totalPrice?:
|
|
1580
|
+
totalPrice?: ConvertedMoney;
|
|
1589
1581
|
}
|
|
1590
1582
|
interface DeliverySummary {
|
|
1591
1583
|
/** The calculated delivery method. */
|
|
@@ -1594,7 +1586,7 @@ interface DeliverySummary {
|
|
|
1594
1586
|
* Delivery price after discount.
|
|
1595
1587
|
* Includes tax if `tax_summary.prices_include_tax` is true.
|
|
1596
1588
|
*/
|
|
1597
|
-
price?:
|
|
1589
|
+
price?: ConvertedMoney;
|
|
1598
1590
|
}
|
|
1599
1591
|
interface V2AdditionalFee {
|
|
1600
1592
|
/**
|
|
@@ -1622,7 +1614,7 @@ interface V2AdditionalFee {
|
|
|
1622
1614
|
* Additional fee's price.
|
|
1623
1615
|
* Includes tax if `tax_summary.prices_include_tax` is true.
|
|
1624
1616
|
*/
|
|
1625
|
-
price?:
|
|
1617
|
+
price?: ConvertedMoney;
|
|
1626
1618
|
/**
|
|
1627
1619
|
* Number of subscription cycle this fee applies to.
|
|
1628
1620
|
* If None and discount is linked to subscription line item, it applies to all cycles.
|
|
@@ -1651,7 +1643,7 @@ interface TaxSummary {
|
|
|
1651
1643
|
*/
|
|
1652
1644
|
lineItemTaxes?: LineItemTax[];
|
|
1653
1645
|
/** Tax applied to the delivery method. */
|
|
1654
|
-
deliveryTax?:
|
|
1646
|
+
deliveryTax?: ConvertedMoney;
|
|
1655
1647
|
/**
|
|
1656
1648
|
* Taxes applied to additional fees.
|
|
1657
1649
|
* @maxSize 100
|
|
@@ -1662,16 +1654,16 @@ interface Tax {
|
|
|
1662
1654
|
/** The name of the tax. */
|
|
1663
1655
|
name?: TranslatableString;
|
|
1664
1656
|
/** Amount for which tax is calculated. */
|
|
1665
|
-
taxableAmount?:
|
|
1657
|
+
taxableAmount?: ConvertedMoney;
|
|
1666
1658
|
/** Amount that is exempt from tax. */
|
|
1667
|
-
exemptAmount?:
|
|
1659
|
+
exemptAmount?: ConvertedMoney;
|
|
1668
1660
|
/**
|
|
1669
1661
|
* Tax rate %, as a decimal point between 0 and 1.
|
|
1670
1662
|
* @decimalValue options { gte:0, lte:1, maxScale:6 }
|
|
1671
1663
|
*/
|
|
1672
1664
|
rate?: string | null;
|
|
1673
1665
|
/** Calculated tax, based on `taxable_amount` and `rate`. */
|
|
1674
|
-
amount?:
|
|
1666
|
+
amount?: ConvertedMoney;
|
|
1675
1667
|
}
|
|
1676
1668
|
interface LineItemTax {
|
|
1677
1669
|
/**
|
|
@@ -1680,7 +1672,7 @@ interface LineItemTax {
|
|
|
1680
1672
|
*/
|
|
1681
1673
|
lineItemId?: string;
|
|
1682
1674
|
/** Tax amount applied to the additional fee. */
|
|
1683
|
-
tax?:
|
|
1675
|
+
tax?: ConvertedMoney;
|
|
1684
1676
|
}
|
|
1685
1677
|
interface AdditionalFeeTax {
|
|
1686
1678
|
/**
|
|
@@ -1690,34 +1682,34 @@ interface AdditionalFeeTax {
|
|
|
1690
1682
|
*/
|
|
1691
1683
|
additionalFeeCode?: string;
|
|
1692
1684
|
/** Tax amount applied to the additional fee. */
|
|
1693
|
-
tax?:
|
|
1685
|
+
tax?: ConvertedMoney;
|
|
1694
1686
|
}
|
|
1695
1687
|
interface PriceSummary {
|
|
1696
1688
|
/**
|
|
1697
1689
|
* Total price of all line items after applying item-level discounts.
|
|
1698
1690
|
* Includes tax if `tax_summary.prices_include_tax` is true.
|
|
1699
1691
|
*/
|
|
1700
|
-
subtotal?:
|
|
1692
|
+
subtotal?: ConvertedMoney;
|
|
1701
1693
|
/**
|
|
1702
1694
|
* Total cart-level discount applied to the subtotal.
|
|
1703
1695
|
* Line-item discounts are reflected in the subtotal and not included here.
|
|
1704
1696
|
* Currently supports only a single coupon.
|
|
1705
1697
|
*/
|
|
1706
|
-
discount?:
|
|
1698
|
+
discount?: ConvertedMoney;
|
|
1707
1699
|
/**
|
|
1708
1700
|
* Final delivery cost for the cart.
|
|
1709
1701
|
* Includes tax if `tax_summary.prices_include_tax` is true.
|
|
1710
1702
|
*/
|
|
1711
|
-
delivery?:
|
|
1703
|
+
delivery?: ConvertedMoney;
|
|
1712
1704
|
/**
|
|
1713
1705
|
* Total additional fees associated with the cart.
|
|
1714
1706
|
* Includes tax if `tax_summary.prices_include_tax` is true.
|
|
1715
1707
|
*/
|
|
1716
|
-
additionalFees?:
|
|
1708
|
+
additionalFees?: ConvertedMoney;
|
|
1717
1709
|
/** Total tax amount calculated across all applicable components (items, discounts, delivery, and fees). */
|
|
1718
|
-
tax?:
|
|
1710
|
+
tax?: ConvertedMoney;
|
|
1719
1711
|
/** Total amount to be paid. */
|
|
1720
|
-
total?:
|
|
1712
|
+
total?: ConvertedMoney;
|
|
1721
1713
|
}
|
|
1722
1714
|
interface PaymentSummary {
|
|
1723
1715
|
/**
|
|
@@ -1739,13 +1731,13 @@ interface PaymentSummary {
|
|
|
1739
1731
|
/** Indicates whether a remaining payment is required to create the order, after applying gift cards. */
|
|
1740
1732
|
requiresPaymentAfterGiftCard?: boolean;
|
|
1741
1733
|
/** The total amount due after applying all gift cards. */
|
|
1742
|
-
totalAfterGiftCards?:
|
|
1734
|
+
totalAfterGiftCards?: ConvertedMoney;
|
|
1743
1735
|
/** The upfront amount to be charged immediately when placing the order (after applying gift cards). */
|
|
1744
|
-
payNow?:
|
|
1736
|
+
payNow?: ConvertedMoney;
|
|
1745
1737
|
/** The remaining amount to be collected later. */
|
|
1746
|
-
payLater?:
|
|
1738
|
+
payLater?: ConvertedMoney;
|
|
1747
1739
|
/** The amount to be charged after a free trial period (typically for subscription-based products). */
|
|
1748
|
-
payAfterFreeTrial?:
|
|
1740
|
+
payAfterFreeTrial?: ConvertedMoney;
|
|
1749
1741
|
}
|
|
1750
1742
|
interface GiftCardSummary {
|
|
1751
1743
|
/**
|
|
@@ -1754,7 +1746,7 @@ interface GiftCardSummary {
|
|
|
1754
1746
|
*/
|
|
1755
1747
|
giftCardId?: string;
|
|
1756
1748
|
/** The amount to be reduced from the gift card's balance. */
|
|
1757
|
-
redeemAmount?:
|
|
1749
|
+
redeemAmount?: ConvertedMoney;
|
|
1758
1750
|
}
|
|
1759
1751
|
interface Membership {
|
|
1760
1752
|
/**
|
|
@@ -2213,8 +2205,10 @@ interface CustomItemPaymentConfig {
|
|
|
2213
2205
|
/**
|
|
2214
2206
|
* Partial payment to be paid upfront during the checkout.
|
|
2215
2207
|
* Eligible for catalog items with `lineItem.paymentOption` type `DEPOSIT_ONLINE` only.
|
|
2208
|
+
* @format DECIMAL_VALUE
|
|
2209
|
+
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:3 }
|
|
2216
2210
|
*/
|
|
2217
|
-
depositAmount?:
|
|
2211
|
+
depositAmount?: string | null;
|
|
2218
2212
|
/**
|
|
2219
2213
|
* Type of selected payment option for current item.
|
|
2220
2214
|
*
|
|
@@ -2251,6 +2245,12 @@ interface RefreshCurrentCartResponse {
|
|
|
2251
2245
|
cart?: Cart;
|
|
2252
2246
|
}
|
|
2253
2247
|
interface CalculateCurrentCartRequest {
|
|
2248
|
+
/**
|
|
2249
|
+
* Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before calculating the cart.
|
|
2250
|
+
*
|
|
2251
|
+
* Default: `false`
|
|
2252
|
+
*/
|
|
2253
|
+
refreshCart?: boolean;
|
|
2254
2254
|
/**
|
|
2255
2255
|
* Specifies the level of **business validation** to perform during cart calculation,
|
|
2256
2256
|
* by calling the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
|
|
@@ -2640,6 +2640,12 @@ interface CalculateCartRequest {
|
|
|
2640
2640
|
* @format GUID
|
|
2641
2641
|
*/
|
|
2642
2642
|
cartId?: string;
|
|
2643
|
+
/**
|
|
2644
|
+
* Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before calculating the cart.
|
|
2645
|
+
*
|
|
2646
|
+
* Default: `false`
|
|
2647
|
+
*/
|
|
2648
|
+
refreshCart?: boolean;
|
|
2643
2649
|
/**
|
|
2644
2650
|
* Specifies the level of **business validation** to perform during cart calculation,
|
|
2645
2651
|
* by calling the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
|
|
@@ -2929,4 +2935,4 @@ declare function removeCouponFromCurrentCart(): __PublicMethodMetaInfo<'POST', {
|
|
|
2929
2935
|
declare function addGiftCardToCurrentCart(): __PublicMethodMetaInfo<'POST', {}, AddGiftCardToCurrentCartRequest$1, AddGiftCardToCurrentCartRequest, AddGiftCardToCurrentCartResponse$1, AddGiftCardToCurrentCartResponse>;
|
|
2930
2936
|
declare function removeGiftCardFromCurrentCart(): __PublicMethodMetaInfo<'POST', {}, RemoveGiftCardFromCurrentCartRequest$1, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardFromCurrentCartResponse$1, RemoveGiftCardFromCurrentCartResponse>;
|
|
2931
2937
|
|
|
2932
|
-
export { type ActionEvent as ActionEventOriginal, type AddCouponRequest as AddCouponRequestOriginal, type AddCouponResponse as AddCouponResponseOriginal, type AddCouponToCurrentCartRequest as AddCouponToCurrentCartRequestOriginal, type AddCouponToCurrentCartResponse as AddCouponToCurrentCartResponseOriginal, type AddGiftCardRequest as AddGiftCardRequestOriginal, type AddGiftCardResponse as AddGiftCardResponseOriginal, type AddGiftCardToCurrentCartRequest as AddGiftCardToCurrentCartRequestOriginal, type AddGiftCardToCurrentCartResponse as AddGiftCardToCurrentCartResponseOriginal, type AddLineItemsRequest as AddLineItemsRequestOriginal, type AddLineItemsResponse as AddLineItemsResponseOriginal, type AddLineItemsToCurrentCartRequest as AddLineItemsToCurrentCartRequestOriginal, type AddLineItemsToCurrentCartResponse as AddLineItemsToCurrentCartResponseOriginal, type AdditionalFee as AdditionalFeeOriginal, type AdditionalFeeTax as AdditionalFeeTaxOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type ApplicationError as ApplicationErrorOriginal, type BusinessInfo as BusinessInfoOriginal, type CalculateCartRequest as CalculateCartRequestOriginal, type CalculateCartResponse as CalculateCartResponseOriginal, type CalculateCurrentCartRequest as CalculateCurrentCartRequestOriginal, type CalculateCurrentCartResponse as CalculateCurrentCartResponseOriginal, type CalculationConfig as CalculationConfigOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Cart as CartOriginal, type CartSettings as CartSettingsOriginal, type CartSource as CartSourceOriginal, type CartSummary as CartSummaryOriginal, type CatalogItemInput as CatalogItemInputOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type Charge as ChargeOriginal, type Color as ColorOriginal, type Coupon as CouponOriginal, type CreateCartRequest as CreateCartRequestOriginal, type CreateCartResponse as CreateCartResponseOriginal, type CreateCurrentCartRequest as CreateCurrentCartRequestOriginal, type CreateCurrentCartResponse as CreateCurrentCartResponseOriginal, type CreatedByIdOneOf as CreatedByIdOneOfOriginal, type CreatedBy as CreatedByOriginal, type CustomContentReference as CustomContentReferenceOriginal, type CustomField as CustomFieldOriginal, type CustomItemAttributes as CustomItemAttributesOriginal, type CustomItemDeliveryConfig as CustomItemDeliveryConfigOriginal, type CustomItemInput as CustomItemInputOriginal, type CustomItemPaymentConfig as CustomItemPaymentConfigOriginal, type CustomItemPricingInfo as CustomItemPricingInfoOriginal, type CustomItemQuantityInfo as CustomItemQuantityInfoOriginal, type CustomItemSource as CustomItemSourceOriginal, type CustomItemTaxConfig as CustomItemTaxConfigOriginal, type CustomerInfoIdOneOf as CustomerInfoIdOneOfOriginal, type CustomerInfo as CustomerInfoOriginal, type DeleteCartRequest as DeleteCartRequestOriginal, type DeleteCartResponse as DeleteCartResponseOriginal, type DeleteCurrentCartRequest as DeleteCurrentCartRequestOriginal, type DeleteCurrentCartResponse as DeleteCurrentCartResponseOriginal, type DeliveryInfo as DeliveryInfoOriginal, type DeliveryMethod as DeliveryMethodOriginal, type DeliverySummary as DeliverySummaryOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type DiscountBenefit as DiscountBenefitOriginal, type DiscountBenefitValueOneOf as DiscountBenefitValueOneOfOriginal, type Discount as DiscountOriginal, DiscountScope as DiscountScopeOriginal, type DiscountScopeWithLiterals as DiscountScopeWithLiteralsOriginal, type DiscountSource as DiscountSourceOriginal, DiscountSourceType as DiscountSourceTypeOriginal, type DiscountSourceTypeWithLiterals as DiscountSourceTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReference as ExternalReferenceOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCartRequest as GetCartRequestOriginal, type GetCartResponse as GetCartResponseOriginal, type GetCheckoutURLRequest as GetCheckoutURLRequestOriginal, type GetCheckoutURLResponse as GetCheckoutURLResponseOriginal, type GetCurrentCartRequest as GetCurrentCartRequestOriginal, type GetCurrentCartResponse as GetCurrentCartResponseOriginal, type GiftCard as GiftCardOriginal, type GiftCardSummary as GiftCardSummaryOriginal, type Group as GroupOriginal, type HandleAsyncCheckoutCompletionRequest as HandleAsyncCheckoutCompletionRequestOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type ItemAttributes as ItemAttributesOriginal, type ItemDeliveryConfig as ItemDeliveryConfigOriginal, type ItemDiscount as ItemDiscountOriginal, type ItemModifier as ItemModifierOriginal, type ItemPaymentConfig as ItemPaymentConfigOriginal, type ItemPriceBreakdown as ItemPriceBreakdownOriginal, type ItemPricingInfo as ItemPricingInfoOriginal, type ItemQuantityInfo as ItemQuantityInfoOriginal, type ItemSource as ItemSourceOriginal, ItemStatus as ItemStatusOriginal, type ItemStatusWithLiterals as ItemStatusWithLiteralsOriginal, type ItemTaxConfig as ItemTaxConfigOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, ItemTypeItemType as ItemTypeItemTypeOriginal, type ItemTypeItemTypeWithLiterals as ItemTypeItemTypeWithLiteralsOriginal, type ItemType as ItemTypeOriginal, type LegacyFields as LegacyFieldsOriginal, type LineItem as LineItemOriginal, type LineItemSummary as LineItemSummaryOriginal, type LineItemTax as LineItemTaxOriginal, type LineItemUpdate as LineItemUpdateOriginal, type MarkCartAsCompletedRequest as MarkCartAsCompletedRequestOriginal, type MarkCartAsCompletedResponse as MarkCartAsCompletedResponseOriginal, type Membership as MembershipOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentInfo as PaymentInfoOriginal, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PaymentSummary as PaymentSummaryOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PlaceOrderRequest as PlaceOrderRequestOriginal, type PlaceOrderResponse as PlaceOrderResponseOriginal, type PlainTextValue as PlainTextValueOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type QuantityUpdate as QuantityUpdateOriginal, type RawHttpResponse as RawHttpResponseOriginal, type RedirectUrls as RedirectUrlsOriginal, type RefreshCartRequest as RefreshCartRequestOriginal, type RefreshCartResponse as RefreshCartResponseOriginal, type RefreshCurrentCartRequest as RefreshCurrentCartRequestOriginal, type RefreshCurrentCartResponse as RefreshCurrentCartResponseOriginal, type RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequestOriginal, type RemoveCouponFromCurrentCartResponse as RemoveCouponFromCurrentCartResponseOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveGiftCardFromCurrentCartRequest as RemoveGiftCardFromCurrentCartRequestOriginal, type RemoveGiftCardFromCurrentCartResponse as RemoveGiftCardFromCurrentCartResponseOriginal, type RemoveGiftCardRequest as RemoveGiftCardRequestOriginal, type RemoveGiftCardResponse as RemoveGiftCardResponseOriginal, type RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequestOriginal, type RemoveLineItemsFromCurrentCartResponse as RemoveLineItemsFromCurrentCartResponseOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMembershipUpdate as SelectedMembershipUpdateOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCharges as SubscriptionChargesOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxDetails as TaxDetailsOriginal, type TaxInfo as TaxInfoOriginal, type Tax as TaxOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCartRequest as UpdateCartRequestOriginal, type UpdateCartResponse as UpdateCartResponseOriginal, type UpdateCurrentCartRequest as UpdateCurrentCartRequestOriginal, type UpdateCurrentCartResponse as UpdateCurrentCartResponseOriginal, type UpdateLineItemsInCurrentCartRequest as UpdateLineItemsInCurrentCartRequestOriginal, type UpdateLineItemsInCurrentCartResponse as UpdateLineItemsInCurrentCartResponseOriginal, type UpdateLineItemsRequest as UpdateLineItemsRequestOriginal, type UpdateLineItemsResponse as UpdateLineItemsResponseOriginal, type V2AdditionalFee as V2AdditionalFeeOriginal, type V2LineItem as V2LineItemOriginal, type ValidationError as ValidationErrorOriginal, ValidationsConfig as ValidationsConfigOriginal, type ValidationsConfigWithLiterals as ValidationsConfigWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, getCurrentCart, refreshCurrentCart, removeCouponFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, updateCurrentCart, updateLineItemsInCurrentCart };
|
|
2938
|
+
export { type ActionEvent as ActionEventOriginal, type AddCouponRequest as AddCouponRequestOriginal, type AddCouponResponse as AddCouponResponseOriginal, type AddCouponToCurrentCartRequest as AddCouponToCurrentCartRequestOriginal, type AddCouponToCurrentCartResponse as AddCouponToCurrentCartResponseOriginal, type AddGiftCardRequest as AddGiftCardRequestOriginal, type AddGiftCardResponse as AddGiftCardResponseOriginal, type AddGiftCardToCurrentCartRequest as AddGiftCardToCurrentCartRequestOriginal, type AddGiftCardToCurrentCartResponse as AddGiftCardToCurrentCartResponseOriginal, type AddLineItemsRequest as AddLineItemsRequestOriginal, type AddLineItemsResponse as AddLineItemsResponseOriginal, type AddLineItemsToCurrentCartRequest as AddLineItemsToCurrentCartRequestOriginal, type AddLineItemsToCurrentCartResponse as AddLineItemsToCurrentCartResponseOriginal, type AdditionalFee as AdditionalFeeOriginal, type AdditionalFeeTax as AdditionalFeeTaxOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type ApplicationError as ApplicationErrorOriginal, type BusinessInfo as BusinessInfoOriginal, type CalculateCartRequest as CalculateCartRequestOriginal, type CalculateCartResponse as CalculateCartResponseOriginal, type CalculateCurrentCartRequest as CalculateCurrentCartRequestOriginal, type CalculateCurrentCartResponse as CalculateCurrentCartResponseOriginal, type CalculationConfig as CalculationConfigOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Cart as CartOriginal, type CartSettings as CartSettingsOriginal, type CartSource as CartSourceOriginal, type CartSummary as CartSummaryOriginal, type CatalogItemInput as CatalogItemInputOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type Charge as ChargeOriginal, type Color as ColorOriginal, type ConvertedMoney as ConvertedMoneyOriginal, type Coupon as CouponOriginal, type CreateCartRequest as CreateCartRequestOriginal, type CreateCartResponse as CreateCartResponseOriginal, type CreateCurrentCartRequest as CreateCurrentCartRequestOriginal, type CreateCurrentCartResponse as CreateCurrentCartResponseOriginal, type CreatedByIdOneOf as CreatedByIdOneOfOriginal, type CreatedBy as CreatedByOriginal, type CustomContentReference as CustomContentReferenceOriginal, type CustomField as CustomFieldOriginal, type CustomItemAttributes as CustomItemAttributesOriginal, type CustomItemDeliveryConfig as CustomItemDeliveryConfigOriginal, type CustomItemInput as CustomItemInputOriginal, type CustomItemPaymentConfig as CustomItemPaymentConfigOriginal, type CustomItemPricingInfo as CustomItemPricingInfoOriginal, type CustomItemQuantityInfo as CustomItemQuantityInfoOriginal, type CustomItemSource as CustomItemSourceOriginal, type CustomItemTaxConfig as CustomItemTaxConfigOriginal, type CustomerInfoIdOneOf as CustomerInfoIdOneOfOriginal, type CustomerInfo as CustomerInfoOriginal, type DeleteCartRequest as DeleteCartRequestOriginal, type DeleteCartResponse as DeleteCartResponseOriginal, type DeleteCurrentCartRequest as DeleteCurrentCartRequestOriginal, type DeleteCurrentCartResponse as DeleteCurrentCartResponseOriginal, type DeliveryInfo as DeliveryInfoOriginal, type DeliveryMethod as DeliveryMethodOriginal, type DeliverySummary as DeliverySummaryOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type DiscountBenefit as DiscountBenefitOriginal, type DiscountBenefitValueOneOf as DiscountBenefitValueOneOfOriginal, type Discount as DiscountOriginal, DiscountScope as DiscountScopeOriginal, type DiscountScopeWithLiterals as DiscountScopeWithLiteralsOriginal, type DiscountSource as DiscountSourceOriginal, DiscountSourceType as DiscountSourceTypeOriginal, type DiscountSourceTypeWithLiterals as DiscountSourceTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReference as ExternalReferenceOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCartRequest as GetCartRequestOriginal, type GetCartResponse as GetCartResponseOriginal, type GetCheckoutURLRequest as GetCheckoutURLRequestOriginal, type GetCheckoutURLResponse as GetCheckoutURLResponseOriginal, type GetCurrentCartRequest as GetCurrentCartRequestOriginal, type GetCurrentCartResponse as GetCurrentCartResponseOriginal, type GiftCard as GiftCardOriginal, type GiftCardSummary as GiftCardSummaryOriginal, type Group as GroupOriginal, type HandleAsyncCheckoutCompletionRequest as HandleAsyncCheckoutCompletionRequestOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type ItemAttributes as ItemAttributesOriginal, type ItemDeliveryConfig as ItemDeliveryConfigOriginal, type ItemDiscount as ItemDiscountOriginal, type ItemModifier as ItemModifierOriginal, type ItemPaymentConfig as ItemPaymentConfigOriginal, type ItemPriceBreakdown as ItemPriceBreakdownOriginal, type ItemPricingInfo as ItemPricingInfoOriginal, type ItemQuantityInfo as ItemQuantityInfoOriginal, type ItemSource as ItemSourceOriginal, ItemStatus as ItemStatusOriginal, type ItemStatusWithLiterals as ItemStatusWithLiteralsOriginal, type ItemTaxConfig as ItemTaxConfigOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, ItemTypeItemType as ItemTypeItemTypeOriginal, type ItemTypeItemTypeWithLiterals as ItemTypeItemTypeWithLiteralsOriginal, type ItemType as ItemTypeOriginal, type LegacyFields as LegacyFieldsOriginal, type LineItem as LineItemOriginal, type LineItemSummary as LineItemSummaryOriginal, type LineItemTax as LineItemTaxOriginal, type LineItemUpdate as LineItemUpdateOriginal, type MarkCartAsCompletedRequest as MarkCartAsCompletedRequestOriginal, type MarkCartAsCompletedResponse as MarkCartAsCompletedResponseOriginal, type Membership as MembershipOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentInfo as PaymentInfoOriginal, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PaymentSummary as PaymentSummaryOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PlaceOrderRequest as PlaceOrderRequestOriginal, type PlaceOrderResponse as PlaceOrderResponseOriginal, type PlainTextValue as PlainTextValueOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type QuantityUpdate as QuantityUpdateOriginal, type RawHttpResponse as RawHttpResponseOriginal, type RedirectUrls as RedirectUrlsOriginal, type RefreshCartRequest as RefreshCartRequestOriginal, type RefreshCartResponse as RefreshCartResponseOriginal, type RefreshCurrentCartRequest as RefreshCurrentCartRequestOriginal, type RefreshCurrentCartResponse as RefreshCurrentCartResponseOriginal, type RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequestOriginal, type RemoveCouponFromCurrentCartResponse as RemoveCouponFromCurrentCartResponseOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveGiftCardFromCurrentCartRequest as RemoveGiftCardFromCurrentCartRequestOriginal, type RemoveGiftCardFromCurrentCartResponse as RemoveGiftCardFromCurrentCartResponseOriginal, type RemoveGiftCardRequest as RemoveGiftCardRequestOriginal, type RemoveGiftCardResponse as RemoveGiftCardResponseOriginal, type RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequestOriginal, type RemoveLineItemsFromCurrentCartResponse as RemoveLineItemsFromCurrentCartResponseOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMembershipUpdate as SelectedMembershipUpdateOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCharges as SubscriptionChargesOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxDetails as TaxDetailsOriginal, type TaxInfo as TaxInfoOriginal, type Tax as TaxOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCartRequest as UpdateCartRequestOriginal, type UpdateCartResponse as UpdateCartResponseOriginal, type UpdateCurrentCartRequest as UpdateCurrentCartRequestOriginal, type UpdateCurrentCartResponse as UpdateCurrentCartResponseOriginal, type UpdateLineItemsInCurrentCartRequest as UpdateLineItemsInCurrentCartRequestOriginal, type UpdateLineItemsInCurrentCartResponse as UpdateLineItemsInCurrentCartResponseOriginal, type UpdateLineItemsRequest as UpdateLineItemsRequestOriginal, type UpdateLineItemsResponse as UpdateLineItemsResponseOriginal, type V2AdditionalFee as V2AdditionalFeeOriginal, type V2LineItem as V2LineItemOriginal, type ValidationError as ValidationErrorOriginal, ValidationsConfig as ValidationsConfigOriginal, type ValidationsConfigWithLiterals as ValidationsConfigWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, getCurrentCart, refreshCurrentCart, removeCouponFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, updateCurrentCart, updateLineItemsInCurrentCart };
|
package/build/es/meta.mjs
CHANGED
|
@@ -105,18 +105,10 @@ function createCurrentCart(payload) {
|
|
|
105
105
|
paths: [
|
|
106
106
|
{ path: "cart.createdDate" },
|
|
107
107
|
{ path: "cart.updatedDate" },
|
|
108
|
-
{
|
|
109
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
110
|
-
},
|
|
111
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
112
108
|
{
|
|
113
109
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
114
110
|
},
|
|
115
111
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
116
|
-
{
|
|
117
|
-
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
118
|
-
},
|
|
119
|
-
{ path: "customItems.attributes.image.urlExpirationDate" },
|
|
120
112
|
{
|
|
121
113
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
122
114
|
},
|
|
@@ -161,10 +153,6 @@ function createCurrentCart(payload) {
|
|
|
161
153
|
paths: [
|
|
162
154
|
{ path: "cart.createdDate" },
|
|
163
155
|
{ path: "cart.updatedDate" },
|
|
164
|
-
{
|
|
165
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
166
|
-
},
|
|
167
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
168
156
|
{
|
|
169
157
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
170
158
|
},
|
|
@@ -214,10 +202,6 @@ function getCurrentCart(payload) {
|
|
|
214
202
|
paths: [
|
|
215
203
|
{ path: "cart.createdDate" },
|
|
216
204
|
{ path: "cart.updatedDate" },
|
|
217
|
-
{
|
|
218
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
219
|
-
},
|
|
220
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
221
205
|
{
|
|
222
206
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
223
207
|
},
|
|
@@ -257,10 +241,6 @@ function updateCurrentCart(payload) {
|
|
|
257
241
|
paths: [
|
|
258
242
|
{ path: "cart.createdDate" },
|
|
259
243
|
{ path: "cart.updatedDate" },
|
|
260
|
-
{
|
|
261
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
262
|
-
},
|
|
263
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
264
244
|
{
|
|
265
245
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
266
246
|
},
|
|
@@ -301,10 +281,6 @@ function updateCurrentCart(payload) {
|
|
|
301
281
|
paths: [
|
|
302
282
|
{ path: "cart.createdDate" },
|
|
303
283
|
{ path: "cart.updatedDate" },
|
|
304
|
-
{
|
|
305
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
306
|
-
},
|
|
307
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
308
284
|
{
|
|
309
285
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
310
286
|
},
|
|
@@ -375,10 +351,6 @@ function refreshCurrentCart(payload) {
|
|
|
375
351
|
paths: [
|
|
376
352
|
{ path: "cart.createdDate" },
|
|
377
353
|
{ path: "cart.updatedDate" },
|
|
378
|
-
{
|
|
379
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
380
|
-
},
|
|
381
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
382
354
|
{
|
|
383
355
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
384
356
|
},
|
|
@@ -428,10 +400,6 @@ function calculateCurrentCart(payload) {
|
|
|
428
400
|
paths: [
|
|
429
401
|
{ path: "cart.createdDate" },
|
|
430
402
|
{ path: "cart.updatedDate" },
|
|
431
|
-
{
|
|
432
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
433
|
-
},
|
|
434
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
435
403
|
{
|
|
436
404
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
437
405
|
},
|
|
@@ -477,10 +445,6 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
477
445
|
{
|
|
478
446
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
479
447
|
paths: [
|
|
480
|
-
{
|
|
481
|
-
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
482
|
-
},
|
|
483
|
-
{ path: "customItems.attributes.image.urlExpirationDate" },
|
|
484
448
|
{
|
|
485
449
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
486
450
|
},
|
|
@@ -508,10 +472,6 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
508
472
|
paths: [
|
|
509
473
|
{ path: "cart.createdDate" },
|
|
510
474
|
{ path: "cart.updatedDate" },
|
|
511
|
-
{
|
|
512
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
513
|
-
},
|
|
514
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
515
475
|
{
|
|
516
476
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
517
477
|
},
|
|
@@ -561,10 +521,6 @@ function removeLineItemsFromCurrentCart(payload) {
|
|
|
561
521
|
paths: [
|
|
562
522
|
{ path: "cart.createdDate" },
|
|
563
523
|
{ path: "cart.updatedDate" },
|
|
564
|
-
{
|
|
565
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
566
|
-
},
|
|
567
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
568
524
|
{
|
|
569
525
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
570
526
|
},
|
|
@@ -614,10 +570,6 @@ function updateLineItemsInCurrentCart(payload) {
|
|
|
614
570
|
paths: [
|
|
615
571
|
{ path: "cart.createdDate" },
|
|
616
572
|
{ path: "cart.updatedDate" },
|
|
617
|
-
{
|
|
618
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
619
|
-
},
|
|
620
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
621
573
|
{
|
|
622
574
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
623
575
|
},
|
|
@@ -667,10 +619,6 @@ function addCouponToCurrentCart(payload) {
|
|
|
667
619
|
paths: [
|
|
668
620
|
{ path: "cart.createdDate" },
|
|
669
621
|
{ path: "cart.updatedDate" },
|
|
670
|
-
{
|
|
671
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
672
|
-
},
|
|
673
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
674
622
|
{
|
|
675
623
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
676
624
|
},
|
|
@@ -720,10 +668,6 @@ function removeCouponFromCurrentCart(payload) {
|
|
|
720
668
|
paths: [
|
|
721
669
|
{ path: "cart.createdDate" },
|
|
722
670
|
{ path: "cart.updatedDate" },
|
|
723
|
-
{
|
|
724
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
725
|
-
},
|
|
726
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
727
671
|
{
|
|
728
672
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
729
673
|
},
|
|
@@ -773,10 +717,6 @@ function addGiftCardToCurrentCart(payload) {
|
|
|
773
717
|
paths: [
|
|
774
718
|
{ path: "cart.createdDate" },
|
|
775
719
|
{ path: "cart.updatedDate" },
|
|
776
|
-
{
|
|
777
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
778
|
-
},
|
|
779
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
780
720
|
{
|
|
781
721
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
782
722
|
},
|
|
@@ -826,10 +766,6 @@ function removeGiftCardFromCurrentCart(payload) {
|
|
|
826
766
|
paths: [
|
|
827
767
|
{ path: "cart.createdDate" },
|
|
828
768
|
{ path: "cart.updatedDate" },
|
|
829
|
-
{
|
|
830
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
831
|
-
},
|
|
832
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
833
769
|
{
|
|
834
770
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
835
771
|
},
|