@wix/auto_sdk_ecom_current-cart-v-2 1.0.32 → 1.0.33
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 +958 -26
- package/build/cjs/index.js +67 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +67 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +958 -26
- package/build/cjs/meta.js +67 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +958 -26
- package/build/es/index.mjs +59 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +59 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +958 -26
- package/build/es/meta.mjs +59 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +67 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1022 -26
- package/build/internal/cjs/index.typings.js +67 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +958 -26
- package/build/internal/cjs/meta.js +67 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +59 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1022 -26
- package/build/internal/es/index.typings.mjs +59 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +958 -26
- package/build/internal/es/meta.mjs +59 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -47,7 +47,7 @@ interface Cart {
|
|
|
47
47
|
* @maxSize 1
|
|
48
48
|
* @readonly
|
|
49
49
|
*/
|
|
50
|
-
coupons?:
|
|
50
|
+
coupons?: V2Coupon[];
|
|
51
51
|
/** Information about the source of the Cart, detailing the origin or context in which the Cart was created. */
|
|
52
52
|
source?: CartSource;
|
|
53
53
|
/** Information about the site from which the Cart's line items were added. */
|
|
@@ -142,7 +142,7 @@ interface V2LineItem {
|
|
|
142
142
|
* Additional Fees to be added to this item calculation.
|
|
143
143
|
* @maxSize 5
|
|
144
144
|
*/
|
|
145
|
-
additionalFees?:
|
|
145
|
+
additionalFees?: V1AdditionalFee[];
|
|
146
146
|
/**
|
|
147
147
|
* Modifier groups that were added to the item.
|
|
148
148
|
* @maxSize 25
|
|
@@ -774,7 +774,7 @@ interface ItemPaymentConfig {
|
|
|
774
774
|
* Must be used with `lineItem.paymentOption` set to `MEMBERSHIP` or `MEMBERSHIP_OFFLINE`.
|
|
775
775
|
* This field can be empty when `lineItem.paymentOption` is set to `MEMBERSHIP_OFFLINE`.
|
|
776
776
|
*/
|
|
777
|
-
selectedMembership?:
|
|
777
|
+
selectedMembership?: V2SelectedMembership;
|
|
778
778
|
/**
|
|
779
779
|
* Type of selected payment option for current item.
|
|
780
780
|
*
|
|
@@ -782,7 +782,7 @@ interface ItemPaymentConfig {
|
|
|
782
782
|
*/
|
|
783
783
|
paymentOption?: PaymentOptionTypeWithLiterals;
|
|
784
784
|
}
|
|
785
|
-
interface
|
|
785
|
+
interface V2SelectedMembership {
|
|
786
786
|
/**
|
|
787
787
|
* Membership ID.
|
|
788
788
|
* @minLength 1
|
|
@@ -824,7 +824,7 @@ interface ExtendedFields {
|
|
|
824
824
|
*/
|
|
825
825
|
namespaces?: Record<string, Record<string, any>>;
|
|
826
826
|
}
|
|
827
|
-
interface
|
|
827
|
+
interface V1AdditionalFee {
|
|
828
828
|
/**
|
|
829
829
|
* Additional fee's unique code or ID.
|
|
830
830
|
* @minLength 1
|
|
@@ -921,7 +921,7 @@ interface Group {
|
|
|
921
921
|
/** Item ID (when the coupon scope is limited to just one item). */
|
|
922
922
|
entityId?: string | null;
|
|
923
923
|
}
|
|
924
|
-
interface
|
|
924
|
+
interface V2Coupon {
|
|
925
925
|
/**
|
|
926
926
|
* ID of the coupon in the Cart.
|
|
927
927
|
* @format GUID
|
|
@@ -1341,7 +1341,7 @@ interface PaymentInfo {
|
|
|
1341
1341
|
* @readonly
|
|
1342
1342
|
* @maxSize 1
|
|
1343
1343
|
*/
|
|
1344
|
-
giftCards?:
|
|
1344
|
+
giftCards?: V2GiftCard[];
|
|
1345
1345
|
/**
|
|
1346
1346
|
* The currency used for processing the payment, in three-letter [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
1347
1347
|
*
|
|
@@ -1355,7 +1355,7 @@ interface PaymentInfo {
|
|
|
1355
1355
|
/** Full contact details for billing. */
|
|
1356
1356
|
billingContact?: FullAddressContactDetails;
|
|
1357
1357
|
}
|
|
1358
|
-
interface
|
|
1358
|
+
interface V2GiftCard {
|
|
1359
1359
|
/**
|
|
1360
1360
|
* A unique identifier of the gift card within the Cart.
|
|
1361
1361
|
* @format GUID
|
|
@@ -1543,9 +1543,9 @@ interface CartSummary {
|
|
|
1543
1543
|
*/
|
|
1544
1544
|
additionalFees?: V2AdditionalFee[];
|
|
1545
1545
|
/** Summary of tax calculations applied to the cart. */
|
|
1546
|
-
taxSummary?:
|
|
1546
|
+
taxSummary?: V2TaxSummary;
|
|
1547
1547
|
/** Summary of all calculated price components in the cart. */
|
|
1548
|
-
priceSummary?:
|
|
1548
|
+
priceSummary?: V2PriceSummary;
|
|
1549
1549
|
/** Payment details summarizing how the customer will pay for the order. */
|
|
1550
1550
|
paymentSummary?: PaymentSummary;
|
|
1551
1551
|
/**
|
|
@@ -1568,7 +1568,7 @@ interface CartSummary {
|
|
|
1568
1568
|
* List of errors that occurred during the calculation process, returned by Totals Calculator.
|
|
1569
1569
|
* TODO: Temporary field for backward compatibility; will be removed once we introduce the unified 'violations' model.
|
|
1570
1570
|
*/
|
|
1571
|
-
calculationErrors?:
|
|
1571
|
+
calculationErrors?: V2CalculationErrors;
|
|
1572
1572
|
/**
|
|
1573
1573
|
* List of business violations raised by the Validations service plugin ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/service-plugins/validations/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/service-plugins/validations-integration-service-plugin/introduction)).
|
|
1574
1574
|
* TODO: Temporary field for backward compatibility; will be removed once we introduce the unified 'violations' model.
|
|
@@ -1643,7 +1643,7 @@ interface V2AdditionalFee {
|
|
|
1643
1643
|
*/
|
|
1644
1644
|
subscriptionCycles?: number | null;
|
|
1645
1645
|
}
|
|
1646
|
-
interface
|
|
1646
|
+
interface V2TaxSummary {
|
|
1647
1647
|
/**
|
|
1648
1648
|
* List of taxes applied to the cart.
|
|
1649
1649
|
* May contain multiple entries when advanced tax rates are configured by the merchant,
|
|
@@ -1704,7 +1704,7 @@ interface AdditionalFeeTax {
|
|
|
1704
1704
|
/** Tax amount applied to the additional fee. */
|
|
1705
1705
|
tax?: ConvertedMoney;
|
|
1706
1706
|
}
|
|
1707
|
-
interface
|
|
1707
|
+
interface V2PriceSummary {
|
|
1708
1708
|
/**
|
|
1709
1709
|
* Total price of all line items after applying item-level discounts.
|
|
1710
1710
|
* Includes tax if `tax_summary.prices_include_tax` is true.
|
|
@@ -1742,7 +1742,7 @@ interface PaymentSummary {
|
|
|
1742
1742
|
* A list of valid memberships that will be charged as part of the order.
|
|
1743
1743
|
* @maxSize 300
|
|
1744
1744
|
*/
|
|
1745
|
-
memberships?:
|
|
1745
|
+
memberships?: V2Membership[];
|
|
1746
1746
|
/**
|
|
1747
1747
|
* Charges information for each subscription in the checkout.
|
|
1748
1748
|
* @maxSize 100
|
|
@@ -1768,7 +1768,7 @@ interface GiftCardSummary {
|
|
|
1768
1768
|
/** The amount to be reduced from the gift card's balance. */
|
|
1769
1769
|
redeemAmount?: ConvertedMoney;
|
|
1770
1770
|
}
|
|
1771
|
-
interface
|
|
1771
|
+
interface V2Membership {
|
|
1772
1772
|
/**
|
|
1773
1773
|
* Membership ID.
|
|
1774
1774
|
* @minLength 1
|
|
@@ -1815,15 +1815,15 @@ interface Charge {
|
|
|
1815
1815
|
/** The number of cycles for which the charge is applicable. */
|
|
1816
1816
|
cycleCount?: number | null;
|
|
1817
1817
|
/** Charge summary. */
|
|
1818
|
-
priceSummary?:
|
|
1818
|
+
priceSummary?: V2PriceSummary;
|
|
1819
1819
|
/** The billing date from which the charge starts. */
|
|
1820
1820
|
cycleBillingDate?: Date | null;
|
|
1821
1821
|
}
|
|
1822
|
-
interface
|
|
1822
|
+
interface V2CalculationErrors extends V2CalculationErrorsShippingCalculationErrorOneOf {
|
|
1823
1823
|
/** General shipping calculation error. */
|
|
1824
1824
|
generalShippingCalculationError?: Details;
|
|
1825
1825
|
/** Carrier errors. */
|
|
1826
|
-
carrierErrors?:
|
|
1826
|
+
carrierErrors?: V2CarrierErrors;
|
|
1827
1827
|
/** Tax calculation error. */
|
|
1828
1828
|
taxCalculationError?: Details;
|
|
1829
1829
|
/** Coupon calculation error. */
|
|
@@ -1844,11 +1844,11 @@ interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOne
|
|
|
1844
1844
|
discountsCalculationError?: Details;
|
|
1845
1845
|
}
|
|
1846
1846
|
/** @oneof */
|
|
1847
|
-
interface
|
|
1847
|
+
interface V2CalculationErrorsShippingCalculationErrorOneOf {
|
|
1848
1848
|
/** General shipping calculation error. */
|
|
1849
1849
|
generalShippingCalculationError?: Details;
|
|
1850
1850
|
/** Carrier errors. */
|
|
1851
|
-
carrierErrors?:
|
|
1851
|
+
carrierErrors?: V2CarrierErrors;
|
|
1852
1852
|
}
|
|
1853
1853
|
interface Details extends DetailsKindOneOf {
|
|
1854
1854
|
applicationError?: ApplicationError;
|
|
@@ -1946,14 +1946,14 @@ interface SystemError {
|
|
|
1946
1946
|
/** Error code. */
|
|
1947
1947
|
errorCode?: string | null;
|
|
1948
1948
|
}
|
|
1949
|
-
interface
|
|
1949
|
+
interface V2CarrierErrors {
|
|
1950
1950
|
/**
|
|
1951
1951
|
* Carrier errors.
|
|
1952
1952
|
* @maxSize 100
|
|
1953
1953
|
*/
|
|
1954
|
-
errors?:
|
|
1954
|
+
errors?: V2CarrierError[];
|
|
1955
1955
|
}
|
|
1956
|
-
interface
|
|
1956
|
+
interface V2CarrierError {
|
|
1957
1957
|
/**
|
|
1958
1958
|
* Carrier ID.
|
|
1959
1959
|
* @format GUID
|
|
@@ -2078,7 +2078,7 @@ interface CatalogItemInput {
|
|
|
2078
2078
|
*/
|
|
2079
2079
|
quantity?: number;
|
|
2080
2080
|
/** Selected membership to be used as payment for this item. */
|
|
2081
|
-
selectedMembership?:
|
|
2081
|
+
selectedMembership?: V2SelectedMembership;
|
|
2082
2082
|
/**
|
|
2083
2083
|
* Overriding values for catalog item properties.
|
|
2084
2084
|
* To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions".
|
|
@@ -2390,7 +2390,7 @@ interface SelectedMembershipUpdate {
|
|
|
2390
2390
|
*
|
|
2391
2391
|
* To just remove current selected membership, and not replace with a new one, pass an empty value here.
|
|
2392
2392
|
*/
|
|
2393
|
-
newMembership?:
|
|
2393
|
+
newMembership?: V2SelectedMembership;
|
|
2394
2394
|
}
|
|
2395
2395
|
interface UpdateLineItemsInCurrentCartResponse {
|
|
2396
2396
|
/** Updated Cart. */
|
|
@@ -2646,6 +2646,34 @@ interface GetCartResponse {
|
|
|
2646
2646
|
/** The requested Cart. */
|
|
2647
2647
|
cart?: Cart;
|
|
2648
2648
|
}
|
|
2649
|
+
/** temp for client testing */
|
|
2650
|
+
interface DummyErrorDataMethodLevel {
|
|
2651
|
+
/** This is a dummy field. */
|
|
2652
|
+
invalidItems?: LineItemIdentifier[];
|
|
2653
|
+
/** The fresh cart after resolving the error. */
|
|
2654
|
+
freshCart?: Cart;
|
|
2655
|
+
/** dummy string */
|
|
2656
|
+
dummyMethod?: string;
|
|
2657
|
+
}
|
|
2658
|
+
interface LineItemIdentifier extends LineItemIdentifierIdOneOf {
|
|
2659
|
+
/**
|
|
2660
|
+
* Line Item ID.
|
|
2661
|
+
* @format GUID
|
|
2662
|
+
*/
|
|
2663
|
+
lineItemId?: string;
|
|
2664
|
+
/** Catalog reference. */
|
|
2665
|
+
catalogReference?: CatalogReference;
|
|
2666
|
+
}
|
|
2667
|
+
/** @oneof */
|
|
2668
|
+
interface LineItemIdentifierIdOneOf {
|
|
2669
|
+
/**
|
|
2670
|
+
* Line Item ID.
|
|
2671
|
+
* @format GUID
|
|
2672
|
+
*/
|
|
2673
|
+
lineItemId?: string;
|
|
2674
|
+
/** Catalog reference. */
|
|
2675
|
+
catalogReference?: CatalogReference;
|
|
2676
|
+
}
|
|
2649
2677
|
interface UpdateCartRequest {
|
|
2650
2678
|
/** Cart to be updated, may be partial. */
|
|
2651
2679
|
cart?: Cart;
|
|
@@ -2703,6 +2731,910 @@ interface CalculateCartResponse {
|
|
|
2703
2731
|
/** The calculation summary. */
|
|
2704
2732
|
summary?: CartSummary;
|
|
2705
2733
|
}
|
|
2734
|
+
interface CalculateCartWithFullResponseResponse {
|
|
2735
|
+
/** The Cart that was calculated. */
|
|
2736
|
+
cart?: Cart;
|
|
2737
|
+
/** The calculation summary. */
|
|
2738
|
+
summary?: CartSummary;
|
|
2739
|
+
/**
|
|
2740
|
+
* Totals payload used for backward compatibility with legacy clients.
|
|
2741
|
+
* Used by the Cart and Checkout proxies.
|
|
2742
|
+
*/
|
|
2743
|
+
totalsResponse?: CalculateTotalsResponse;
|
|
2744
|
+
}
|
|
2745
|
+
interface CalculateTotalsResponse {
|
|
2746
|
+
/** Calculate line items. */
|
|
2747
|
+
calculatedLineItems?: CalculatedLineItem[];
|
|
2748
|
+
/** Price summary. */
|
|
2749
|
+
priceSummary?: PriceSummary;
|
|
2750
|
+
/** Details of applied gift card. */
|
|
2751
|
+
giftCard?: GiftCard;
|
|
2752
|
+
/** Tax summary. */
|
|
2753
|
+
taxSummary?: TaxSummary;
|
|
2754
|
+
/** Shipping information. */
|
|
2755
|
+
shippingInfo?: ShippingInformation;
|
|
2756
|
+
/**
|
|
2757
|
+
* Applied discounts.
|
|
2758
|
+
* @maxSize 320
|
|
2759
|
+
*/
|
|
2760
|
+
appliedDiscounts?: AppliedDiscount[];
|
|
2761
|
+
/** Calculation errors. */
|
|
2762
|
+
calculationErrors?: CalculationErrors;
|
|
2763
|
+
/** Weight unit. */
|
|
2764
|
+
weightUnit?: WeightUnitWithLiterals;
|
|
2765
|
+
/**
|
|
2766
|
+
* Currency.
|
|
2767
|
+
* @format CURRENCY
|
|
2768
|
+
*/
|
|
2769
|
+
currency?: string;
|
|
2770
|
+
/**
|
|
2771
|
+
* This is the display currency. Converted prices are presented in this currency.
|
|
2772
|
+
* @readonly
|
|
2773
|
+
* @format CURRENCY
|
|
2774
|
+
*/
|
|
2775
|
+
conversionCurrency?: string;
|
|
2776
|
+
/** Whether tax is included in price. */
|
|
2777
|
+
taxIncludedInPrice?: boolean;
|
|
2778
|
+
/**
|
|
2779
|
+
* Minimal amount to pay in order to place the order.
|
|
2780
|
+
* @readonly
|
|
2781
|
+
*/
|
|
2782
|
+
payNow?: PriceSummary;
|
|
2783
|
+
/**
|
|
2784
|
+
* Remaining amount for the order to be fully paid.
|
|
2785
|
+
* @readonly
|
|
2786
|
+
*/
|
|
2787
|
+
payLater?: PriceSummary;
|
|
2788
|
+
/** Information about valid and invalid memberships, and which ones are selected for usage. */
|
|
2789
|
+
membershipOptions?: MembershipOptions;
|
|
2790
|
+
/**
|
|
2791
|
+
* Additional Fees
|
|
2792
|
+
* @maxSize 100
|
|
2793
|
+
*/
|
|
2794
|
+
additionalFees?: AdditionalFee[];
|
|
2795
|
+
/**
|
|
2796
|
+
* The site currency.
|
|
2797
|
+
* @readonly
|
|
2798
|
+
* @format CURRENCY
|
|
2799
|
+
*/
|
|
2800
|
+
siteCurrency?: string;
|
|
2801
|
+
/**
|
|
2802
|
+
* The rate used when converting from the site currency to the checkout currency.
|
|
2803
|
+
* @readonly
|
|
2804
|
+
* @decimalValue options { gt:0, lte:1000000000000000 }
|
|
2805
|
+
*/
|
|
2806
|
+
checkoutConversionRate?: string | null;
|
|
2807
|
+
/**
|
|
2808
|
+
* The pay now total amount after the gift card is applied.
|
|
2809
|
+
* @readonly
|
|
2810
|
+
*/
|
|
2811
|
+
payNowTotalAfterGiftCard?: MultiCurrencyPrice;
|
|
2812
|
+
/**
|
|
2813
|
+
* The total amount after gift card is applied.
|
|
2814
|
+
* @readonly
|
|
2815
|
+
*/
|
|
2816
|
+
totalAfterGiftCard?: MultiCurrencyPrice;
|
|
2817
|
+
/**
|
|
2818
|
+
* Payment for subscriptions after free trial period.
|
|
2819
|
+
* @readonly
|
|
2820
|
+
*/
|
|
2821
|
+
payAfterFreeTrial?: PriceSummary;
|
|
2822
|
+
}
|
|
2823
|
+
interface CalculatedLineItem {
|
|
2824
|
+
/** Line item ID. */
|
|
2825
|
+
lineItemId?: string;
|
|
2826
|
+
/** Price breakdown for this line item. */
|
|
2827
|
+
pricesBreakdown?: LineItemPricesData;
|
|
2828
|
+
/**
|
|
2829
|
+
* Type of selected payment option for current item. Supported values:
|
|
2830
|
+
* + `"FULL_PAYMENT_ONLINE"` - The entire payment for this item will happen as part of the checkout
|
|
2831
|
+
* + `"FULL_PAYMENT_OFFLINE"` - The entire payment for this item will happen after the checkout
|
|
2832
|
+
* + `"MEMBERSHIP"` - This item cannot be paid via monetary payment options, only via non monetary option such membership. When this option is used, price must be set to 0
|
|
2833
|
+
* + `"DEPOSIT_ONLINE"` - Partial payment of the given item will happen as part of the checkout. Amount to be paid is defined by deposit_amount field.
|
|
2834
|
+
*/
|
|
2835
|
+
paymentOption?: PaymentOptionTypeWithLiterals;
|
|
2836
|
+
/** tax calculation address. */
|
|
2837
|
+
taxableAddress?: TaxableAddress;
|
|
2838
|
+
}
|
|
2839
|
+
interface LineItemPricesData {
|
|
2840
|
+
/** Total price after discounts, tax, and modifiers. */
|
|
2841
|
+
totalPriceAfterTax?: MultiCurrencyPrice;
|
|
2842
|
+
/** Total price after discounts and modifiers, and before tax. */
|
|
2843
|
+
totalPriceBeforeTax?: MultiCurrencyPrice;
|
|
2844
|
+
/** Tax details. */
|
|
2845
|
+
taxDetails?: ItemTaxFullDetails;
|
|
2846
|
+
/** Total discount applied for the line item. */
|
|
2847
|
+
totalDiscount?: MultiCurrencyPrice;
|
|
2848
|
+
/** Catalog price after catalog-defined discount, automatic discounts, and modifiers. */
|
|
2849
|
+
price?: MultiCurrencyPrice;
|
|
2850
|
+
/**
|
|
2851
|
+
* Item price before automatic discounts, coupons, and global discounts; after catalog-defined discounts and modifiers.
|
|
2852
|
+
* Defaults to `price` when not provided.
|
|
2853
|
+
*/
|
|
2854
|
+
priceBeforeDiscounts?: MultiCurrencyPrice;
|
|
2855
|
+
/** Total line item price after catalog-defined discounts, automatic discounts, and modifiers. */
|
|
2856
|
+
lineItemPrice?: MultiCurrencyPrice;
|
|
2857
|
+
/**
|
|
2858
|
+
* Item price before all discounts and modifiers.
|
|
2859
|
+
* Defaults to `price` when not provided.
|
|
2860
|
+
*/
|
|
2861
|
+
fullPrice?: MultiCurrencyPrice;
|
|
2862
|
+
/**
|
|
2863
|
+
* Partial payment to be paid upfront during the checkout.
|
|
2864
|
+
* Applies to catalog items with `lineItem.paymentOption` type `DEPOSIT_ONLINE` only.
|
|
2865
|
+
*/
|
|
2866
|
+
depositAmount?: MultiCurrencyPrice;
|
|
2867
|
+
}
|
|
2868
|
+
interface MultiCurrencyPrice {
|
|
2869
|
+
/**
|
|
2870
|
+
* Amount.
|
|
2871
|
+
* @decimalValue options { gte:0, lte:1000000000000000 }
|
|
2872
|
+
*/
|
|
2873
|
+
amount?: string;
|
|
2874
|
+
/**
|
|
2875
|
+
* Converted amount.
|
|
2876
|
+
* @readonly
|
|
2877
|
+
* @decimalValue options { gte:0, lte:1000000000000000 }
|
|
2878
|
+
*/
|
|
2879
|
+
convertedAmount?: string;
|
|
2880
|
+
/**
|
|
2881
|
+
* Amount formatted with currency symbol.
|
|
2882
|
+
* @readonly
|
|
2883
|
+
*/
|
|
2884
|
+
formattedAmount?: string;
|
|
2885
|
+
/**
|
|
2886
|
+
* Converted amount formatted with currency symbol.
|
|
2887
|
+
* @readonly
|
|
2888
|
+
*/
|
|
2889
|
+
formattedConvertedAmount?: string;
|
|
2890
|
+
}
|
|
2891
|
+
interface ItemTaxFullDetails {
|
|
2892
|
+
/** Amount for which tax is calculated. */
|
|
2893
|
+
taxableAmount?: MultiCurrencyPrice;
|
|
2894
|
+
/**
|
|
2895
|
+
* Tax rate %, as a decimal point between 0 and 1.
|
|
2896
|
+
* @decimalValue options { gte:0, lte:1, maxScale:6 }
|
|
2897
|
+
*/
|
|
2898
|
+
taxRate?: string;
|
|
2899
|
+
/** Calculated tax, based on `taxable_amount` and `tax_rate`. */
|
|
2900
|
+
totalTax?: MultiCurrencyPrice;
|
|
2901
|
+
/**
|
|
2902
|
+
* If breakdown exists, the sum of rates in the breakdown must equal `tax_rate`. Deprecated - use 'tax_breakdown' instead.
|
|
2903
|
+
* @readonly
|
|
2904
|
+
* @deprecated
|
|
2905
|
+
*/
|
|
2906
|
+
rateBreakdown?: TaxRateBreakdown[];
|
|
2907
|
+
/**
|
|
2908
|
+
* tax information for a line item.
|
|
2909
|
+
* @maxSize 1000
|
|
2910
|
+
* @readonly
|
|
2911
|
+
*/
|
|
2912
|
+
taxBreakdown?: TaxBreakdown[];
|
|
2913
|
+
}
|
|
2914
|
+
interface TaxRateBreakdown {
|
|
2915
|
+
/**
|
|
2916
|
+
* Name of tax against which the calculation was performed.
|
|
2917
|
+
* @maxLength 100
|
|
2918
|
+
*/
|
|
2919
|
+
name?: string;
|
|
2920
|
+
/**
|
|
2921
|
+
* Rate at which this tax detail was calculated.
|
|
2922
|
+
* @decimalValue options { gte:0, lte:1, maxScale:6 }
|
|
2923
|
+
*/
|
|
2924
|
+
rate?: string;
|
|
2925
|
+
/** Amount of tax for this tax detail. */
|
|
2926
|
+
tax?: MultiCurrencyPrice;
|
|
2927
|
+
}
|
|
2928
|
+
/**
|
|
2929
|
+
* TaxBreakdown represents tax information for a line item.
|
|
2930
|
+
* It holds the tax amount and the tax rate for each tax authority that apply on the line item.
|
|
2931
|
+
*/
|
|
2932
|
+
interface TaxBreakdown {
|
|
2933
|
+
/**
|
|
2934
|
+
* The name of the jurisdiction to which this tax detail applies. For example, "New York" or "Quebec".
|
|
2935
|
+
* @maxLength 200
|
|
2936
|
+
*/
|
|
2937
|
+
jurisdiction?: string | null;
|
|
2938
|
+
/** The amount of this line item price that was considered nontaxable. (Decimal value) */
|
|
2939
|
+
nonTaxableAmount?: MultiCurrencyPrice;
|
|
2940
|
+
/**
|
|
2941
|
+
* The rate at which this tax detail was calculated, e.g 0.1000 signifies 10% tax and 2.0000 signifies 200% tax. (Decimal value)
|
|
2942
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
2943
|
+
*/
|
|
2944
|
+
rate?: string | null;
|
|
2945
|
+
/** The amount of tax estimated for this line item. (Decimal value) */
|
|
2946
|
+
taxAmount?: MultiCurrencyPrice;
|
|
2947
|
+
/** The taxable amount of this line item. */
|
|
2948
|
+
taxableAmount?: MultiCurrencyPrice;
|
|
2949
|
+
/**
|
|
2950
|
+
* The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc.
|
|
2951
|
+
* @maxLength 200
|
|
2952
|
+
*/
|
|
2953
|
+
taxType?: string | null;
|
|
2954
|
+
/**
|
|
2955
|
+
* The name of the tax against which this tax amount was calculated. For example, "NY State Sales Tax", "Quebec GST", etc.
|
|
2956
|
+
* This name should be explicit enough to allow the merchant to understand what tax was calculated.
|
|
2957
|
+
* @maxLength 200
|
|
2958
|
+
*/
|
|
2959
|
+
taxName?: string | null;
|
|
2960
|
+
/** The type of the jurisdiction in which this tax detail applies. */
|
|
2961
|
+
jurisdictionType?: JurisdictionTypeWithLiterals;
|
|
2962
|
+
}
|
|
2963
|
+
/** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
2964
|
+
declare enum JurisdictionType {
|
|
2965
|
+
UNDEFINED = "UNDEFINED",
|
|
2966
|
+
COUNTRY = "COUNTRY",
|
|
2967
|
+
STATE = "STATE",
|
|
2968
|
+
COUNTY = "COUNTY",
|
|
2969
|
+
CITY = "CITY",
|
|
2970
|
+
SPECIAL = "SPECIAL"
|
|
2971
|
+
}
|
|
2972
|
+
/** @enumType */
|
|
2973
|
+
type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
|
|
2974
|
+
interface CalculatedItemModifier {
|
|
2975
|
+
/**
|
|
2976
|
+
* Modifier ID.
|
|
2977
|
+
* @minLength 1
|
|
2978
|
+
* @maxLength 36
|
|
2979
|
+
*/
|
|
2980
|
+
id?: string;
|
|
2981
|
+
/**
|
|
2982
|
+
* ID of the group this modifier belongs to.
|
|
2983
|
+
* @minLength 1
|
|
2984
|
+
* @maxLength 36
|
|
2985
|
+
*/
|
|
2986
|
+
groupId?: string;
|
|
2987
|
+
/**
|
|
2988
|
+
* Modifier price.
|
|
2989
|
+
* @readonly
|
|
2990
|
+
*/
|
|
2991
|
+
price?: MultiCurrencyPrice;
|
|
2992
|
+
}
|
|
2993
|
+
interface PriceSummary {
|
|
2994
|
+
/** Subtotal of all line items, before discounts and before tax. */
|
|
2995
|
+
subtotal?: MultiCurrencyPrice;
|
|
2996
|
+
/** Total shipping price, before discounts and before tax. */
|
|
2997
|
+
shipping?: MultiCurrencyPrice;
|
|
2998
|
+
/** Total tax. */
|
|
2999
|
+
tax?: MultiCurrencyPrice;
|
|
3000
|
+
/** Total calculated discount value. */
|
|
3001
|
+
discount?: MultiCurrencyPrice;
|
|
3002
|
+
/** Total price after discounts, gift cards, and tax. */
|
|
3003
|
+
total?: MultiCurrencyPrice;
|
|
3004
|
+
/** Total additional fees price before tax. */
|
|
3005
|
+
additionalFees?: MultiCurrencyPrice;
|
|
3006
|
+
}
|
|
3007
|
+
interface GiftCard {
|
|
3008
|
+
/**
|
|
3009
|
+
* Gift Card ID.
|
|
3010
|
+
* @deprecated
|
|
3011
|
+
*/
|
|
3012
|
+
id?: string;
|
|
3013
|
+
/** Gift card obfuscated code. */
|
|
3014
|
+
obfuscatedCode?: string;
|
|
3015
|
+
/** Actual amount to be redeemed from the gift card. */
|
|
3016
|
+
amount?: MultiCurrencyPrice;
|
|
3017
|
+
/**
|
|
3018
|
+
* App ID of the gift card provider.
|
|
3019
|
+
* @format GUID
|
|
3020
|
+
*/
|
|
3021
|
+
appId?: string;
|
|
3022
|
+
/**
|
|
3023
|
+
* External ID in the gift card provider's system.
|
|
3024
|
+
* Used for integration and tracking across different platforms.
|
|
3025
|
+
* @minLength 1
|
|
3026
|
+
* @maxLength 50
|
|
3027
|
+
*/
|
|
3028
|
+
externalId?: string | null;
|
|
3029
|
+
/** Requested amount to redeem from the gift card. */
|
|
3030
|
+
requestedAmount?: MultiCurrencyPrice;
|
|
3031
|
+
}
|
|
3032
|
+
interface TaxSummary {
|
|
3033
|
+
/**
|
|
3034
|
+
* Amount for which tax is calculated, added from line items.
|
|
3035
|
+
* @readonly
|
|
3036
|
+
*/
|
|
3037
|
+
taxableAmount?: MultiCurrencyPrice;
|
|
3038
|
+
/**
|
|
3039
|
+
* Calculated tax, added from line items.
|
|
3040
|
+
* @readonly
|
|
3041
|
+
*/
|
|
3042
|
+
totalTax?: MultiCurrencyPrice;
|
|
3043
|
+
/**
|
|
3044
|
+
* Tax calculator that was active when the order was created.
|
|
3045
|
+
* @deprecated
|
|
3046
|
+
*/
|
|
3047
|
+
calculationDetails?: TaxCalculationDetails;
|
|
3048
|
+
}
|
|
3049
|
+
interface TaxCalculationDetails extends TaxCalculationDetailsCalculationDetailsOneOf {
|
|
3050
|
+
/** Reason the manual calculation was used. */
|
|
3051
|
+
manualRateReason?: ManualCalculationReasonWithLiterals;
|
|
3052
|
+
/** Details of the fallback rate calculation. */
|
|
3053
|
+
autoTaxFallbackDetails?: AutoTaxFallbackCalculationDetails;
|
|
3054
|
+
/** Rate calculation type. */
|
|
3055
|
+
rateType?: RateTypeWithLiterals;
|
|
3056
|
+
}
|
|
3057
|
+
/** @oneof */
|
|
3058
|
+
interface TaxCalculationDetailsCalculationDetailsOneOf {
|
|
3059
|
+
/** Reason the manual calculation was used. */
|
|
3060
|
+
manualRateReason?: ManualCalculationReasonWithLiterals;
|
|
3061
|
+
/** Details of the fallback rate calculation. */
|
|
3062
|
+
autoTaxFallbackDetails?: AutoTaxFallbackCalculationDetails;
|
|
3063
|
+
}
|
|
3064
|
+
declare enum RateType {
|
|
3065
|
+
/** no tax being collected for this request due to location of purchase */
|
|
3066
|
+
NO_TAX_COLLECTED = "NO_TAX_COLLECTED",
|
|
3067
|
+
/** manual rate used for calculation */
|
|
3068
|
+
MANUAL_RATE = "MANUAL_RATE",
|
|
3069
|
+
/** autotax rate used for calculation */
|
|
3070
|
+
AUTO_RATE = "AUTO_RATE",
|
|
3071
|
+
/** fallback rate used for calculation */
|
|
3072
|
+
FALLBACK_RATE = "FALLBACK_RATE"
|
|
3073
|
+
}
|
|
3074
|
+
/** @enumType */
|
|
3075
|
+
type RateTypeWithLiterals = RateType | 'NO_TAX_COLLECTED' | 'MANUAL_RATE' | 'AUTO_RATE' | 'FALLBACK_RATE';
|
|
3076
|
+
declare enum ManualCalculationReason {
|
|
3077
|
+
/** user set calculator in Business Manager to be Manual */
|
|
3078
|
+
GLOBAL_SETTING_TO_MANUAL = "GLOBAL_SETTING_TO_MANUAL",
|
|
3079
|
+
/** specific region is on manual even though Global setting is Auto-tax */
|
|
3080
|
+
REGION_SETTING_TO_MANUAL = "REGION_SETTING_TO_MANUAL"
|
|
3081
|
+
}
|
|
3082
|
+
/** @enumType */
|
|
3083
|
+
type ManualCalculationReasonWithLiterals = ManualCalculationReason | 'GLOBAL_SETTING_TO_MANUAL' | 'REGION_SETTING_TO_MANUAL';
|
|
3084
|
+
interface AutoTaxFallbackCalculationDetails {
|
|
3085
|
+
/** reason for fallback */
|
|
3086
|
+
fallbackReason?: FallbackReasonWithLiterals;
|
|
3087
|
+
/** invalid request (i.e. address), timeout, internal error, license error, and others will be encoded here */
|
|
3088
|
+
error?: ApplicationError;
|
|
3089
|
+
}
|
|
3090
|
+
declare enum FallbackReason {
|
|
3091
|
+
/** auto-tax failed to be calculated */
|
|
3092
|
+
AUTO_TAX_FAILED = "AUTO_TAX_FAILED",
|
|
3093
|
+
/** auto-tax was temporarily deactivated on a system-level */
|
|
3094
|
+
AUTO_TAX_DEACTIVATED = "AUTO_TAX_DEACTIVATED"
|
|
3095
|
+
}
|
|
3096
|
+
/** @enumType */
|
|
3097
|
+
type FallbackReasonWithLiterals = FallbackReason | 'AUTO_TAX_FAILED' | 'AUTO_TAX_DEACTIVATED';
|
|
3098
|
+
/**
|
|
3099
|
+
* The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate.
|
|
3100
|
+
* Tax breakdown is the tax amount split to the tax authorities that applied on the line item.
|
|
3101
|
+
*/
|
|
3102
|
+
interface AggregatedTaxBreakdown {
|
|
3103
|
+
/**
|
|
3104
|
+
* The name of the tax against which this tax amount was calculated.
|
|
3105
|
+
* @maxLength 200
|
|
3106
|
+
*/
|
|
3107
|
+
taxName?: string;
|
|
3108
|
+
/**
|
|
3109
|
+
* The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws.
|
|
3110
|
+
* @maxLength 200
|
|
3111
|
+
*/
|
|
3112
|
+
taxType?: string;
|
|
3113
|
+
/**
|
|
3114
|
+
* The name of the jurisdiction in which this tax detail applies.
|
|
3115
|
+
* @maxLength 200
|
|
3116
|
+
*/
|
|
3117
|
+
jurisdiction?: string;
|
|
3118
|
+
/** The type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
3119
|
+
jurisdictionTypeEnum?: JurisdictionTypeWithLiterals;
|
|
3120
|
+
/**
|
|
3121
|
+
* The rate at which this tax detail was calculated, e.g 0.1000 signifies 10% tax and 2.000 signifies 200% tax. (Decimal value)
|
|
3122
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
3123
|
+
*/
|
|
3124
|
+
rate?: string;
|
|
3125
|
+
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
3126
|
+
aggregatedTaxAmount?: MultiCurrencyPrice;
|
|
3127
|
+
/** The sum of all the taxable amount from line items for tax identifiers. */
|
|
3128
|
+
aggregatedTaxableAmount?: MultiCurrencyPrice;
|
|
3129
|
+
}
|
|
3130
|
+
interface ShippingInformation {
|
|
3131
|
+
/** Shipping region. */
|
|
3132
|
+
region?: ShippingRegion;
|
|
3133
|
+
/** Selected shipping option. */
|
|
3134
|
+
selectedCarrierServiceOption?: SelectedCarrierServiceOption;
|
|
3135
|
+
/** All shipping options. */
|
|
3136
|
+
carrierServiceOptions?: CarrierServiceOption[];
|
|
3137
|
+
}
|
|
3138
|
+
interface ShippingRegion {
|
|
3139
|
+
/**
|
|
3140
|
+
* Shipping region ID.
|
|
3141
|
+
* @format GUID
|
|
3142
|
+
* @readonly
|
|
3143
|
+
*/
|
|
3144
|
+
id?: string;
|
|
3145
|
+
/**
|
|
3146
|
+
* Shipping region name.
|
|
3147
|
+
* @maxLength 100
|
|
3148
|
+
*/
|
|
3149
|
+
name?: string;
|
|
3150
|
+
}
|
|
3151
|
+
interface SelectedCarrierServiceOption {
|
|
3152
|
+
/**
|
|
3153
|
+
* Unique identifier of selected option. For example, "usps_std_overnight".
|
|
3154
|
+
* @maxLength 100
|
|
3155
|
+
*/
|
|
3156
|
+
code?: string;
|
|
3157
|
+
/**
|
|
3158
|
+
* Title of the option, such as USPS Standard Overnight Delivery (in the requested locale).
|
|
3159
|
+
* For example, "Standard" or "First-Class Package International".
|
|
3160
|
+
* @maxLength 250
|
|
3161
|
+
* @readonly
|
|
3162
|
+
*/
|
|
3163
|
+
title?: string;
|
|
3164
|
+
/**
|
|
3165
|
+
* Delivery logistics.
|
|
3166
|
+
* @readonly
|
|
3167
|
+
*/
|
|
3168
|
+
logistics?: DeliveryLogistics;
|
|
3169
|
+
/**
|
|
3170
|
+
* Shipping costs.
|
|
3171
|
+
* @readonly
|
|
3172
|
+
*/
|
|
3173
|
+
cost?: SelectedCarrierServiceOptionPrices;
|
|
3174
|
+
/**
|
|
3175
|
+
* Were we able to find the requested shipping option, or otherwise we fallback to the default one (the first)
|
|
3176
|
+
* @readonly
|
|
3177
|
+
*/
|
|
3178
|
+
requestedShippingOption?: boolean;
|
|
3179
|
+
/**
|
|
3180
|
+
* Other charges
|
|
3181
|
+
* @deprecated Other charges
|
|
3182
|
+
* @replacedBy additional_fees
|
|
3183
|
+
* @targetRemovalDate 2025-10-01
|
|
3184
|
+
*/
|
|
3185
|
+
otherCharges?: SelectedCarrierServiceOptionOtherCharge[];
|
|
3186
|
+
/**
|
|
3187
|
+
* This carrier's unique ID
|
|
3188
|
+
* @format GUID
|
|
3189
|
+
*/
|
|
3190
|
+
carrierId?: string | null;
|
|
3191
|
+
/**
|
|
3192
|
+
* Delivery solution allocations to different delivery carriers and delivery regions
|
|
3193
|
+
* @maxSize 300
|
|
3194
|
+
*/
|
|
3195
|
+
deliveryAllocations?: DeliveryAllocation[];
|
|
3196
|
+
/** If the delivery solution is a partial and doesn't apply to all items. */
|
|
3197
|
+
partial?: boolean | null;
|
|
3198
|
+
}
|
|
3199
|
+
interface DeliveryLogistics {
|
|
3200
|
+
/**
|
|
3201
|
+
* Expected delivery time, in free text. For example, "3-5 business days".
|
|
3202
|
+
* @maxLength 500
|
|
3203
|
+
*/
|
|
3204
|
+
deliveryTime?: string | null;
|
|
3205
|
+
/**
|
|
3206
|
+
* Instructions for caller, e.g for pickup: "Please deliver during opening hours, and please don't park in disabled parking spot".
|
|
3207
|
+
* @maxLength 1000
|
|
3208
|
+
*/
|
|
3209
|
+
instructions?: string | null;
|
|
3210
|
+
/** Pickup details. */
|
|
3211
|
+
pickupDetails?: PickupDetails;
|
|
3212
|
+
}
|
|
3213
|
+
interface PickupDetails {
|
|
3214
|
+
/** Pickup address. */
|
|
3215
|
+
address?: Address;
|
|
3216
|
+
/**
|
|
3217
|
+
* Whether the pickup address is that of a business - this may effect tax calculation.
|
|
3218
|
+
* @deprecated
|
|
3219
|
+
*/
|
|
3220
|
+
businessLocation?: boolean;
|
|
3221
|
+
/** Pickup method */
|
|
3222
|
+
pickupMethod?: PickupMethodWithLiterals;
|
|
3223
|
+
}
|
|
3224
|
+
declare enum PickupMethod {
|
|
3225
|
+
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
3226
|
+
STORE_PICKUP = "STORE_PICKUP",
|
|
3227
|
+
PICKUP_POINT = "PICKUP_POINT"
|
|
3228
|
+
}
|
|
3229
|
+
/** @enumType */
|
|
3230
|
+
type PickupMethodWithLiterals = PickupMethod | 'UNKNOWN_METHOD' | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
3231
|
+
interface DeliveryTimeSlot {
|
|
3232
|
+
/** starting time of the delivery time slot */
|
|
3233
|
+
from?: Date | null;
|
|
3234
|
+
/** ending time of the delivery time slot */
|
|
3235
|
+
to?: Date | null;
|
|
3236
|
+
}
|
|
3237
|
+
interface SelectedCarrierServiceOptionPrices {
|
|
3238
|
+
/** Total shipping price, after discount and after tax. */
|
|
3239
|
+
totalPriceAfterTax?: MultiCurrencyPrice;
|
|
3240
|
+
/** Total price of shipping after discounts (when relevant), and before tax. */
|
|
3241
|
+
totalPriceBeforeTax?: MultiCurrencyPrice;
|
|
3242
|
+
/** Tax details. */
|
|
3243
|
+
taxDetails?: ItemTaxFullDetails;
|
|
3244
|
+
/** Shipping discount before tax. */
|
|
3245
|
+
totalDiscount?: MultiCurrencyPrice;
|
|
3246
|
+
/** Shipping price before discount and before tax. */
|
|
3247
|
+
price?: MultiCurrencyPrice;
|
|
3248
|
+
}
|
|
3249
|
+
interface SelectedCarrierServiceOptionOtherCharge {
|
|
3250
|
+
/** Type of additional cost. */
|
|
3251
|
+
type?: ChargeTypeWithLiterals;
|
|
3252
|
+
/**
|
|
3253
|
+
* Details of the charge, such as 'Full Coverage Insurance of up to 80% of value of shipment'.
|
|
3254
|
+
* @maxLength 200
|
|
3255
|
+
*/
|
|
3256
|
+
details?: string | null;
|
|
3257
|
+
/** Price of added charge. */
|
|
3258
|
+
cost?: SelectedCarrierServiceOptionPrices;
|
|
3259
|
+
}
|
|
3260
|
+
declare enum ChargeType {
|
|
3261
|
+
HANDLING_FEE = "HANDLING_FEE",
|
|
3262
|
+
INSURANCE = "INSURANCE"
|
|
3263
|
+
}
|
|
3264
|
+
/** @enumType */
|
|
3265
|
+
type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE' | 'INSURANCE';
|
|
3266
|
+
interface DeliveryAllocation {
|
|
3267
|
+
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
|
3268
|
+
deliveryCarrier?: Carrier;
|
|
3269
|
+
/** The delivery region that are relevant for this delivery solution. */
|
|
3270
|
+
deliveryRegion?: Region;
|
|
3271
|
+
/** Populated if the delivery solution is a partially supplied by this carrier. */
|
|
3272
|
+
applicableLineItems?: ApplicableLineItems;
|
|
3273
|
+
}
|
|
3274
|
+
interface Carrier {
|
|
3275
|
+
/**
|
|
3276
|
+
* The carrier app id
|
|
3277
|
+
* @format GUID
|
|
3278
|
+
*/
|
|
3279
|
+
appId?: string | null;
|
|
3280
|
+
/**
|
|
3281
|
+
* Unique code that acts as an ID for a shipping rate. For example, `"usps_std_overnight"`.
|
|
3282
|
+
* @maxLength 250
|
|
3283
|
+
*/
|
|
3284
|
+
code?: string;
|
|
3285
|
+
}
|
|
3286
|
+
interface Region {
|
|
3287
|
+
/**
|
|
3288
|
+
* The delivery region id.
|
|
3289
|
+
* @format GUID
|
|
3290
|
+
*/
|
|
3291
|
+
id?: string | null;
|
|
3292
|
+
/**
|
|
3293
|
+
* The delivery region name.
|
|
3294
|
+
* @maxLength 100
|
|
3295
|
+
*/
|
|
3296
|
+
name?: string | null;
|
|
3297
|
+
}
|
|
3298
|
+
interface ApplicableLineItems {
|
|
3299
|
+
/**
|
|
3300
|
+
* Line items that the delivery solution is for.
|
|
3301
|
+
* @maxSize 300
|
|
3302
|
+
* @minLength 1
|
|
3303
|
+
* @maxLength 100
|
|
3304
|
+
*/
|
|
3305
|
+
lineItemIds?: string[];
|
|
3306
|
+
}
|
|
3307
|
+
interface CarrierServiceOption {
|
|
3308
|
+
/**
|
|
3309
|
+
* Carrier ID.
|
|
3310
|
+
* @format GUID
|
|
3311
|
+
*/
|
|
3312
|
+
carrierId?: string;
|
|
3313
|
+
/** Shipping options offered by this carrier for this request. */
|
|
3314
|
+
shippingOptions?: ShippingOption[];
|
|
3315
|
+
}
|
|
3316
|
+
interface ShippingOption {
|
|
3317
|
+
/**
|
|
3318
|
+
* Unique code of provided shipping option like "usps_std_overnight".
|
|
3319
|
+
* For legacy calculators this would be the UUID of the option.
|
|
3320
|
+
* @maxLength 100
|
|
3321
|
+
*/
|
|
3322
|
+
code?: string;
|
|
3323
|
+
/**
|
|
3324
|
+
* Title of the option, such as USPS Standard Overnight Delivery (in the requested locale).
|
|
3325
|
+
* For example, "Standard" or "First-Class Package International".
|
|
3326
|
+
* @maxLength 250
|
|
3327
|
+
*/
|
|
3328
|
+
title?: string;
|
|
3329
|
+
/** Delivery logistics. */
|
|
3330
|
+
logistics?: DeliveryLogistics;
|
|
3331
|
+
/** Sipping price information. */
|
|
3332
|
+
cost?: ShippingPrice;
|
|
3333
|
+
/**
|
|
3334
|
+
* Delivery solution allocations to different delivery carriers and delivery regions
|
|
3335
|
+
* @maxSize 300
|
|
3336
|
+
*/
|
|
3337
|
+
deliveryAllocations?: DeliveryAllocation[];
|
|
3338
|
+
/** If the delivery solution is a partial and doesn't apply to all items. */
|
|
3339
|
+
partial?: boolean | null;
|
|
3340
|
+
}
|
|
3341
|
+
interface ShippingPrice {
|
|
3342
|
+
/** Shipping price. */
|
|
3343
|
+
price?: MultiCurrencyPrice;
|
|
3344
|
+
/** Other costs such as insurance, handling & packaging for fragile items, etc. */
|
|
3345
|
+
otherCharges?: OtherCharge[];
|
|
3346
|
+
}
|
|
3347
|
+
interface OtherCharge {
|
|
3348
|
+
/** Type of additional cost. */
|
|
3349
|
+
type?: ChargeTypeWithLiterals;
|
|
3350
|
+
/** Price of added cost. */
|
|
3351
|
+
price?: MultiCurrencyPrice;
|
|
3352
|
+
/**
|
|
3353
|
+
* Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`.
|
|
3354
|
+
* @maxLength 250
|
|
3355
|
+
*/
|
|
3356
|
+
details?: string | null;
|
|
3357
|
+
}
|
|
3358
|
+
interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
3359
|
+
/** Coupon details. */
|
|
3360
|
+
coupon?: Coupon;
|
|
3361
|
+
/** Merchant discount. */
|
|
3362
|
+
merchantDiscount?: MerchantDiscount;
|
|
3363
|
+
/** Discount rule */
|
|
3364
|
+
discountRule?: DiscountRule;
|
|
3365
|
+
/** Discount type. */
|
|
3366
|
+
discountType?: DiscountTypeWithLiterals;
|
|
3367
|
+
/**
|
|
3368
|
+
* IDs of line items the discount applies to.
|
|
3369
|
+
* @format GUID
|
|
3370
|
+
* @deprecated IDs of line items the discount applies to.
|
|
3371
|
+
* @replacedBy line_items_discounts
|
|
3372
|
+
* @targetRemovalDate 2025-12-31
|
|
3373
|
+
*/
|
|
3374
|
+
lineItemIds?: string[];
|
|
3375
|
+
}
|
|
3376
|
+
/** @oneof */
|
|
3377
|
+
interface AppliedDiscountDiscountSourceOneOf {
|
|
3378
|
+
/** Coupon details. */
|
|
3379
|
+
coupon?: Coupon;
|
|
3380
|
+
/** Merchant discount. */
|
|
3381
|
+
merchantDiscount?: MerchantDiscount;
|
|
3382
|
+
/** Discount rule */
|
|
3383
|
+
discountRule?: DiscountRule;
|
|
3384
|
+
}
|
|
3385
|
+
declare enum DiscountType {
|
|
3386
|
+
GLOBAL = "GLOBAL",
|
|
3387
|
+
SPECIFIC_ITEMS = "SPECIFIC_ITEMS",
|
|
3388
|
+
SHIPPING = "SHIPPING"
|
|
3389
|
+
}
|
|
3390
|
+
/** @enumType */
|
|
3391
|
+
type DiscountTypeWithLiterals = DiscountType | 'GLOBAL' | 'SPECIFIC_ITEMS' | 'SHIPPING';
|
|
3392
|
+
/** Coupon */
|
|
3393
|
+
interface Coupon {
|
|
3394
|
+
/** Coupon ID. */
|
|
3395
|
+
id?: string;
|
|
3396
|
+
/** Coupon code. */
|
|
3397
|
+
code?: string;
|
|
3398
|
+
/** Coupon value. */
|
|
3399
|
+
amount?: MultiCurrencyPrice;
|
|
3400
|
+
/** Coupon name. */
|
|
3401
|
+
name?: string;
|
|
3402
|
+
}
|
|
3403
|
+
interface MerchantDiscount {
|
|
3404
|
+
/** Discount value. */
|
|
3405
|
+
amount?: MultiCurrencyPrice;
|
|
3406
|
+
/**
|
|
3407
|
+
* Discount Percentage. Will be calculated from items price before other discounts.
|
|
3408
|
+
* @min 1
|
|
3409
|
+
* @max 100
|
|
3410
|
+
*/
|
|
3411
|
+
percentage?: number | null;
|
|
3412
|
+
}
|
|
3413
|
+
interface DiscountRule {
|
|
3414
|
+
/**
|
|
3415
|
+
* Discount rule ID
|
|
3416
|
+
* @format GUID
|
|
3417
|
+
*/
|
|
3418
|
+
id?: string;
|
|
3419
|
+
/** Discount rule name */
|
|
3420
|
+
name?: DiscountRuleName;
|
|
3421
|
+
/** Discount value. */
|
|
3422
|
+
amount?: MultiCurrencyPrice;
|
|
3423
|
+
}
|
|
3424
|
+
interface DiscountRuleName {
|
|
3425
|
+
/**
|
|
3426
|
+
* Original discount rule name (in site's default language).
|
|
3427
|
+
* @minLength 1
|
|
3428
|
+
* @maxLength 256
|
|
3429
|
+
*/
|
|
3430
|
+
original?: string;
|
|
3431
|
+
/**
|
|
3432
|
+
* Translated discount rule name according to buyer language. Defaults to `original` when not provided.
|
|
3433
|
+
* @minLength 1
|
|
3434
|
+
* @maxLength 500
|
|
3435
|
+
*/
|
|
3436
|
+
translated?: string | null;
|
|
3437
|
+
}
|
|
3438
|
+
interface LineItemDiscount {
|
|
3439
|
+
/**
|
|
3440
|
+
* ID of line item the discount applies to.
|
|
3441
|
+
* @format GUID
|
|
3442
|
+
*/
|
|
3443
|
+
id?: string;
|
|
3444
|
+
/** Discount value. */
|
|
3445
|
+
totalDiscountAmount?: MultiCurrencyPrice;
|
|
3446
|
+
}
|
|
3447
|
+
interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOneOf {
|
|
3448
|
+
/** General shipping calculation error. */
|
|
3449
|
+
generalShippingCalculationError?: Details;
|
|
3450
|
+
/** Carrier errors. */
|
|
3451
|
+
carrierErrors?: CarrierErrors;
|
|
3452
|
+
/** Tax calculation error. */
|
|
3453
|
+
taxCalculationError?: Details;
|
|
3454
|
+
/** Coupon calculation error. */
|
|
3455
|
+
couponCalculationError?: Details;
|
|
3456
|
+
/** Gift card calculation error. */
|
|
3457
|
+
giftCardCalculationError?: Details;
|
|
3458
|
+
/** Order validation errors. */
|
|
3459
|
+
orderValidationErrors?: ApplicationError[];
|
|
3460
|
+
/**
|
|
3461
|
+
* Membership payment methods calculation errors
|
|
3462
|
+
* For example, will indicate that a line item that must be paid with membership payment doesn't have one or selected memberships are invalid
|
|
3463
|
+
*/
|
|
3464
|
+
membershipError?: Details;
|
|
3465
|
+
/** Discount Rule calculation error. */
|
|
3466
|
+
discountsCalculationError?: Details;
|
|
3467
|
+
}
|
|
3468
|
+
/** @oneof */
|
|
3469
|
+
interface CalculationErrorsShippingCalculationErrorOneOf {
|
|
3470
|
+
/** General shipping calculation error. */
|
|
3471
|
+
generalShippingCalculationError?: Details;
|
|
3472
|
+
/** Carrier errors. */
|
|
3473
|
+
carrierErrors?: CarrierErrors;
|
|
3474
|
+
}
|
|
3475
|
+
interface CarrierErrors {
|
|
3476
|
+
/** Carrier errors. */
|
|
3477
|
+
errors?: CarrierError[];
|
|
3478
|
+
}
|
|
3479
|
+
interface CarrierError {
|
|
3480
|
+
/** Carrier ID. */
|
|
3481
|
+
carrierId?: string;
|
|
3482
|
+
/** Error details. */
|
|
3483
|
+
error?: Details;
|
|
3484
|
+
}
|
|
3485
|
+
interface MembershipOptions {
|
|
3486
|
+
/**
|
|
3487
|
+
* List of payment options that can be used.
|
|
3488
|
+
* @maxSize 300
|
|
3489
|
+
*/
|
|
3490
|
+
eligibleMemberships?: Membership[];
|
|
3491
|
+
/**
|
|
3492
|
+
* List of payment options that are owned by the member, but cannot be used due to reason provided.
|
|
3493
|
+
* @maxSize 300
|
|
3494
|
+
*/
|
|
3495
|
+
invalidMemberships?: InvalidMembership[];
|
|
3496
|
+
/**
|
|
3497
|
+
* The selected membership payment options and which line items they apply to.
|
|
3498
|
+
* @maxSize 300
|
|
3499
|
+
*/
|
|
3500
|
+
selectedMemberships?: SelectedMembership[];
|
|
3501
|
+
}
|
|
3502
|
+
interface Membership {
|
|
3503
|
+
/**
|
|
3504
|
+
* Membership ID.
|
|
3505
|
+
* @minLength 1
|
|
3506
|
+
* @maxLength 100
|
|
3507
|
+
*/
|
|
3508
|
+
id?: string;
|
|
3509
|
+
/**
|
|
3510
|
+
* ID of the application providing this payment option.
|
|
3511
|
+
* @format GUID
|
|
3512
|
+
*/
|
|
3513
|
+
appId?: string;
|
|
3514
|
+
/** The name of this membership. */
|
|
3515
|
+
name?: MembershipName;
|
|
3516
|
+
/**
|
|
3517
|
+
* Line item IDs which are "paid" for by this membership.
|
|
3518
|
+
* @minSize 1
|
|
3519
|
+
* @maxSize 300
|
|
3520
|
+
* @minLength 1
|
|
3521
|
+
* @maxLength 100
|
|
3522
|
+
*/
|
|
3523
|
+
lineItemIds?: string[];
|
|
3524
|
+
/** Optional - For a membership that has limited credits, information about credit usage. */
|
|
3525
|
+
credits?: MembershipPaymentCredits;
|
|
3526
|
+
/** Optional - TMembership expiry date. */
|
|
3527
|
+
expirationDate?: Date | null;
|
|
3528
|
+
/** Additional data about this membership. */
|
|
3529
|
+
additionalData?: Record<string, any> | null;
|
|
3530
|
+
}
|
|
3531
|
+
interface MembershipName {
|
|
3532
|
+
/**
|
|
3533
|
+
* Membership name.
|
|
3534
|
+
* @maxLength 100
|
|
3535
|
+
*/
|
|
3536
|
+
original?: string;
|
|
3537
|
+
/**
|
|
3538
|
+
* Translated membership name. Defaults to `original` when not provided.
|
|
3539
|
+
* @maxLength 100
|
|
3540
|
+
*/
|
|
3541
|
+
translated?: string | null;
|
|
3542
|
+
}
|
|
3543
|
+
interface MembershipPaymentCredits {
|
|
3544
|
+
/**
|
|
3545
|
+
* Membership's total amount of credits.
|
|
3546
|
+
* @min 1
|
|
3547
|
+
*/
|
|
3548
|
+
total?: number;
|
|
3549
|
+
/** Membership's remaining amount of credits. */
|
|
3550
|
+
remaining?: number;
|
|
3551
|
+
}
|
|
3552
|
+
interface InvalidMembership {
|
|
3553
|
+
/** Membership details. */
|
|
3554
|
+
membership?: Membership;
|
|
3555
|
+
/**
|
|
3556
|
+
* Reason why this membership is invalid and cannot be used.
|
|
3557
|
+
* @minLength 1
|
|
3558
|
+
* @maxLength 100
|
|
3559
|
+
*/
|
|
3560
|
+
reason?: string;
|
|
3561
|
+
}
|
|
3562
|
+
interface SelectedMembership {
|
|
3563
|
+
/**
|
|
3564
|
+
* Membership ID.
|
|
3565
|
+
* @minLength 1
|
|
3566
|
+
* @maxLength 100
|
|
3567
|
+
*/
|
|
3568
|
+
id?: string;
|
|
3569
|
+
/**
|
|
3570
|
+
* ID of the app providing this payment option.
|
|
3571
|
+
* @format GUID
|
|
3572
|
+
*/
|
|
3573
|
+
appId?: string;
|
|
3574
|
+
/**
|
|
3575
|
+
* IDs of the line items this membership applies to.
|
|
3576
|
+
* @minSize 1
|
|
3577
|
+
* @maxSize 300
|
|
3578
|
+
* @minLength 1
|
|
3579
|
+
* @maxLength 100
|
|
3580
|
+
*/
|
|
3581
|
+
lineItemIds?: string[];
|
|
3582
|
+
}
|
|
3583
|
+
interface AdditionalFee {
|
|
3584
|
+
/**
|
|
3585
|
+
* Additional fee's unique code (or ID) for future processing.
|
|
3586
|
+
* @minLength 1
|
|
3587
|
+
* @maxLength 100
|
|
3588
|
+
*/
|
|
3589
|
+
code?: string | null;
|
|
3590
|
+
/**
|
|
3591
|
+
* Translated additional fee's name.
|
|
3592
|
+
* @minLength 1
|
|
3593
|
+
* @maxLength 50
|
|
3594
|
+
*/
|
|
3595
|
+
name?: string;
|
|
3596
|
+
/** Additional fee's price. */
|
|
3597
|
+
price?: MultiCurrencyPrice;
|
|
3598
|
+
/** Tax details. */
|
|
3599
|
+
taxDetails?: ItemTaxFullDetails;
|
|
3600
|
+
/**
|
|
3601
|
+
* Provider's app id.
|
|
3602
|
+
* @minLength 1
|
|
3603
|
+
* @maxLength 100
|
|
3604
|
+
*/
|
|
3605
|
+
providerAppId?: string | null;
|
|
3606
|
+
/** Additional fee's price before tax. */
|
|
3607
|
+
priceBeforeTax?: MultiCurrencyPrice;
|
|
3608
|
+
/** Additional fee's price after tax. */
|
|
3609
|
+
priceAfterTax?: MultiCurrencyPrice;
|
|
3610
|
+
/**
|
|
3611
|
+
* Optional - Line items associated with this additional fee.
|
|
3612
|
+
* If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
|
|
3613
|
+
* @format GUID
|
|
3614
|
+
*/
|
|
3615
|
+
lineItemIds?: string[];
|
|
3616
|
+
/** the source the additional fee was added from */
|
|
3617
|
+
source?: AdditionalFeeSourceWithLiterals;
|
|
3618
|
+
/**
|
|
3619
|
+
* The translated name of the additional fee. The translation language is determined by the `languages` field in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
3620
|
+
* @minLength 1
|
|
3621
|
+
* @maxLength 50
|
|
3622
|
+
*/
|
|
3623
|
+
translatedName?: string | null;
|
|
3624
|
+
}
|
|
3625
|
+
declare enum AdditionalFeeSource {
|
|
3626
|
+
UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
|
|
3627
|
+
/** The additional fee was added by an additional fee service plugin */
|
|
3628
|
+
SERVICE_PLUGIN = "SERVICE_PLUGIN",
|
|
3629
|
+
/** The additional fee was added on the item either via the catalog or on custom line item */
|
|
3630
|
+
ITEM = "ITEM",
|
|
3631
|
+
/** The additional fee was added manually on the request */
|
|
3632
|
+
MANUAL = "MANUAL",
|
|
3633
|
+
/** The additional fee was added by the shipping provider */
|
|
3634
|
+
SHIPPING = "SHIPPING"
|
|
3635
|
+
}
|
|
3636
|
+
/** @enumType */
|
|
3637
|
+
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING';
|
|
2706
3638
|
interface GetCheckoutURLRequest {
|
|
2707
3639
|
/**
|
|
2708
3640
|
* ID of the Cart to calculate.
|
|
@@ -2990,4 +3922,4 @@ declare function setDeliveryMethodForCurrentCart(): __PublicMethodMetaInfo<'POST
|
|
|
2990
3922
|
declare function addGiftCardToCurrentCart(): __PublicMethodMetaInfo<'POST', {}, AddGiftCardToCurrentCartRequest$1, AddGiftCardToCurrentCartRequest, AddGiftCardToCurrentCartResponse$1, AddGiftCardToCurrentCartResponse>;
|
|
2991
3923
|
declare function removeGiftCardFromCurrentCart(): __PublicMethodMetaInfo<'POST', {}, RemoveGiftCardFromCurrentCartRequest$1, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardFromCurrentCartResponse$1, RemoveGiftCardFromCurrentCartResponse>;
|
|
2992
3924
|
|
|
2993
|
-
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 DeliveryMethodInput as DeliveryMethodInputOriginal, 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, type SetDeliveryMethodForCurrentCartRequest as SetDeliveryMethodForCurrentCartRequestOriginal, type SetDeliveryMethodForCurrentCartResponse as SetDeliveryMethodForCurrentCartResponseOriginal, type SetDeliveryMethodRequest as SetDeliveryMethodRequestOriginal, type SetDeliveryMethodResponse as SetDeliveryMethodResponseOriginal, 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 UnmarkAsCurrentCartRequest as UnmarkAsCurrentCartRequestOriginal, type UnmarkAsCurrentCartResponse as UnmarkAsCurrentCartResponseOriginal, 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, setDeliveryMethodForCurrentCart, updateCurrentCart, updateLineItemsInCurrentCart };
|
|
3925
|
+
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, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AdditionalFeeTax as AdditionalFeeTaxOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, type BusinessInfo as BusinessInfoOriginal, type CalculateCartRequest as CalculateCartRequestOriginal, type CalculateCartResponse as CalculateCartResponseOriginal, type CalculateCartWithFullResponseResponse as CalculateCartWithFullResponseResponseOriginal, type CalculateCurrentCartRequest as CalculateCurrentCartRequestOriginal, type CalculateCurrentCartResponse as CalculateCurrentCartResponseOriginal, type CalculateTotalsResponse as CalculateTotalsResponseOriginal, type CalculatedItemModifier as CalculatedItemModifierOriginal, type CalculatedLineItem as CalculatedLineItemOriginal, type CalculationConfig as CalculationConfigOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, 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, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, 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 DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryInfo as DeliveryInfoOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryMethodInput as DeliveryMethodInputOriginal, type DeliveryMethod as DeliveryMethodOriginal, type DeliverySummary as DeliverySummaryOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, 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, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountScope as DiscountScopeOriginal, type DiscountScopeWithLiterals as DiscountScopeWithLiteralsOriginal, type DiscountSource as DiscountSourceOriginal, DiscountSourceType as DiscountSourceTypeOriginal, type DiscountSourceTypeWithLiterals as DiscountSourceTypeWithLiteralsOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DummyErrorDataMethodLevel as DummyErrorDataMethodLevelOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReference as ExternalReferenceOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, 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 InvalidMembership as InvalidMembershipOriginal, 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 ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, ItemTypeItemType as ItemTypeItemTypeOriginal, type ItemTypeItemTypeWithLiterals as ItemTypeItemTypeWithLiteralsOriginal, type ItemType as ItemTypeOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LegacyFields as LegacyFieldsOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemIdentifierIdOneOf as LineItemIdentifierIdOneOfOriginal, type LineItemIdentifier as LineItemIdentifierOriginal, type LineItem as LineItemOriginal, type LineItemPricesData as LineItemPricesDataOriginal, type LineItemSummary as LineItemSummaryOriginal, type LineItemTax as LineItemTaxOriginal, type LineItemUpdate as LineItemUpdateOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MarkCartAsCompletedRequest as MarkCartAsCompletedRequestOriginal, type MarkCartAsCompletedResponse as MarkCartAsCompletedResponseOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, 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 OtherCharge as OtherChargeOriginal, 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 PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, 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, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, 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 Region as RegionOriginal, 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 SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMembershipUpdate as SelectedMembershipUpdateOriginal, type ServiceProperties as ServicePropertiesOriginal, type SetDeliveryMethodForCurrentCartRequest as SetDeliveryMethodForCurrentCartRequestOriginal, type SetDeliveryMethodForCurrentCartResponse as SetDeliveryMethodForCurrentCartResponseOriginal, type SetDeliveryMethodRequest as SetDeliveryMethodRequestOriginal, type SetDeliveryMethodResponse as SetDeliveryMethodResponseOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, 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 TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxDetails as TaxDetailsOriginal, type TaxInfo as TaxInfoOriginal, type Tax as TaxOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, 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 UnmarkAsCurrentCartRequest as UnmarkAsCurrentCartRequestOriginal, type UnmarkAsCurrentCartResponse as UnmarkAsCurrentCartResponseOriginal, 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 V1AdditionalFee as V1AdditionalFeeOriginal, type V2AdditionalFee as V2AdditionalFeeOriginal, type V2CalculationErrors as V2CalculationErrorsOriginal, type V2CalculationErrorsShippingCalculationErrorOneOf as V2CalculationErrorsShippingCalculationErrorOneOfOriginal, type V2CarrierError as V2CarrierErrorOriginal, type V2CarrierErrors as V2CarrierErrorsOriginal, type V2Coupon as V2CouponOriginal, type V2GiftCard as V2GiftCardOriginal, type V2LineItem as V2LineItemOriginal, type V2Membership as V2MembershipOriginal, type V2PriceSummary as V2PriceSummaryOriginal, type V2SelectedMembership as V2SelectedMembershipOriginal, type V2TaxSummary as V2TaxSummaryOriginal, 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, setDeliveryMethodForCurrentCart, updateCurrentCart, updateLineItemsInCurrentCart };
|