@wix/auto_sdk_ecom_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 +76 -55
- package/build/cjs/index.js +2 -68
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +2 -68
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +64 -58
- package/build/cjs/meta.js +0 -68
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +76 -55
- package/build/es/index.mjs +2 -68
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +2 -68
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +64 -58
- package/build/es/meta.mjs +0 -68
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.js +2 -68
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +89 -68
- package/build/internal/cjs/index.typings.js +2 -68
- 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 -68
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.mjs +2 -68
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +89 -68
- package/build/internal/es/index.typings.mjs +2 -68
- 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 -68
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
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).
|
|
@@ -2963,4 +2969,4 @@ declare function markCartAsCompleted(): __PublicMethodMetaInfo<'POST', {
|
|
|
2963
2969
|
}, MarkCartAsCompletedRequest$1, MarkCartAsCompletedRequest, MarkCartAsCompletedResponse$1, MarkCartAsCompletedResponse>;
|
|
2964
2970
|
declare function handleAsyncCheckoutCompletion(): __PublicMethodMetaInfo<'POST', {}, HandleAsyncCheckoutCompletionRequest$1, HandleAsyncCheckoutCompletionRequest, RawHttpResponse$1, RawHttpResponse>;
|
|
2965
2971
|
|
|
2966
|
-
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, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeGiftCard, removeLineItems, updateCart, updateLineItems };
|
|
2972
|
+
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, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeGiftCard, removeLineItems, updateCart, updateLineItems };
|
package/build/cjs/meta.js
CHANGED
|
@@ -167,18 +167,10 @@ function createCart(payload) {
|
|
|
167
167
|
paths: [
|
|
168
168
|
{ path: "cart.createdDate" },
|
|
169
169
|
{ path: "cart.updatedDate" },
|
|
170
|
-
{
|
|
171
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
172
|
-
},
|
|
173
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
174
170
|
{
|
|
175
171
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
176
172
|
},
|
|
177
173
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
178
|
-
{
|
|
179
|
-
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
180
|
-
},
|
|
181
|
-
{ path: "customItems.attributes.image.urlExpirationDate" },
|
|
182
174
|
{
|
|
183
175
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
184
176
|
},
|
|
@@ -223,10 +215,6 @@ function createCart(payload) {
|
|
|
223
215
|
paths: [
|
|
224
216
|
{ path: "cart.createdDate" },
|
|
225
217
|
{ path: "cart.updatedDate" },
|
|
226
|
-
{
|
|
227
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
228
|
-
},
|
|
229
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
230
218
|
{
|
|
231
219
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
232
220
|
},
|
|
@@ -276,10 +264,6 @@ function getCart(payload) {
|
|
|
276
264
|
paths: [
|
|
277
265
|
{ path: "cart.createdDate" },
|
|
278
266
|
{ path: "cart.updatedDate" },
|
|
279
|
-
{
|
|
280
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
281
|
-
},
|
|
282
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
283
267
|
{
|
|
284
268
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
285
269
|
},
|
|
@@ -319,10 +303,6 @@ function updateCart(payload) {
|
|
|
319
303
|
paths: [
|
|
320
304
|
{ path: "cart.createdDate" },
|
|
321
305
|
{ path: "cart.updatedDate" },
|
|
322
|
-
{
|
|
323
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
324
|
-
},
|
|
325
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
326
306
|
{
|
|
327
307
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
328
308
|
},
|
|
@@ -363,10 +343,6 @@ function updateCart(payload) {
|
|
|
363
343
|
paths: [
|
|
364
344
|
{ path: "cart.createdDate" },
|
|
365
345
|
{ path: "cart.updatedDate" },
|
|
366
|
-
{
|
|
367
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
368
|
-
},
|
|
369
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
370
346
|
{
|
|
371
347
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
372
348
|
},
|
|
@@ -437,10 +413,6 @@ function refreshCart(payload) {
|
|
|
437
413
|
paths: [
|
|
438
414
|
{ path: "cart.createdDate" },
|
|
439
415
|
{ path: "cart.updatedDate" },
|
|
440
|
-
{
|
|
441
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
442
|
-
},
|
|
443
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
444
416
|
{
|
|
445
417
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
446
418
|
},
|
|
@@ -490,10 +462,6 @@ function calculateCart(payload) {
|
|
|
490
462
|
paths: [
|
|
491
463
|
{ path: "cart.createdDate" },
|
|
492
464
|
{ path: "cart.updatedDate" },
|
|
493
|
-
{
|
|
494
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
495
|
-
},
|
|
496
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
497
465
|
{
|
|
498
466
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
499
467
|
},
|
|
@@ -581,10 +549,6 @@ function addLineItems(payload) {
|
|
|
581
549
|
{
|
|
582
550
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
583
551
|
paths: [
|
|
584
|
-
{
|
|
585
|
-
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
586
|
-
},
|
|
587
|
-
{ path: "customItems.attributes.image.urlExpirationDate" },
|
|
588
552
|
{
|
|
589
553
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
590
554
|
},
|
|
@@ -612,10 +576,6 @@ function addLineItems(payload) {
|
|
|
612
576
|
paths: [
|
|
613
577
|
{ path: "cart.createdDate" },
|
|
614
578
|
{ path: "cart.updatedDate" },
|
|
615
|
-
{
|
|
616
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
617
|
-
},
|
|
618
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
619
579
|
{
|
|
620
580
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
621
581
|
},
|
|
@@ -665,10 +625,6 @@ function removeLineItems(payload) {
|
|
|
665
625
|
paths: [
|
|
666
626
|
{ path: "cart.createdDate" },
|
|
667
627
|
{ path: "cart.updatedDate" },
|
|
668
|
-
{
|
|
669
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
670
|
-
},
|
|
671
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
672
628
|
{
|
|
673
629
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
674
630
|
},
|
|
@@ -718,10 +674,6 @@ function updateLineItems(payload) {
|
|
|
718
674
|
paths: [
|
|
719
675
|
{ path: "cart.createdDate" },
|
|
720
676
|
{ path: "cart.updatedDate" },
|
|
721
|
-
{
|
|
722
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
723
|
-
},
|
|
724
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
725
677
|
{
|
|
726
678
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
727
679
|
},
|
|
@@ -771,10 +723,6 @@ function addCoupon(payload) {
|
|
|
771
723
|
paths: [
|
|
772
724
|
{ path: "cart.createdDate" },
|
|
773
725
|
{ path: "cart.updatedDate" },
|
|
774
|
-
{
|
|
775
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
776
|
-
},
|
|
777
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
778
726
|
{
|
|
779
727
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
780
728
|
},
|
|
@@ -824,10 +772,6 @@ function removeCoupon(payload) {
|
|
|
824
772
|
paths: [
|
|
825
773
|
{ path: "cart.createdDate" },
|
|
826
774
|
{ path: "cart.updatedDate" },
|
|
827
|
-
{
|
|
828
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
829
|
-
},
|
|
830
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
831
775
|
{
|
|
832
776
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
833
777
|
},
|
|
@@ -877,10 +821,6 @@ function addGiftCard(payload) {
|
|
|
877
821
|
paths: [
|
|
878
822
|
{ path: "cart.createdDate" },
|
|
879
823
|
{ path: "cart.updatedDate" },
|
|
880
|
-
{
|
|
881
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
882
|
-
},
|
|
883
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
884
824
|
{
|
|
885
825
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
886
826
|
},
|
|
@@ -930,10 +870,6 @@ function removeGiftCard(payload) {
|
|
|
930
870
|
paths: [
|
|
931
871
|
{ path: "cart.createdDate" },
|
|
932
872
|
{ path: "cart.updatedDate" },
|
|
933
|
-
{
|
|
934
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
935
|
-
},
|
|
936
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
937
873
|
{
|
|
938
874
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
939
875
|
},
|
|
@@ -983,10 +919,6 @@ function markCartAsCompleted(payload) {
|
|
|
983
919
|
paths: [
|
|
984
920
|
{ path: "cart.createdDate" },
|
|
985
921
|
{ path: "cart.updatedDate" },
|
|
986
|
-
{
|
|
987
|
-
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
988
|
-
},
|
|
989
|
-
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
990
922
|
{
|
|
991
923
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
992
924
|
},
|