@wix/auto_sdk_ecom_checkout 1.0.77 → 1.0.78
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/meta.d.ts +1326 -1
- package/build/cjs/meta.js +293 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +1326 -1
- package/build/es/meta.mjs +262 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +1326 -1
- package/build/internal/cjs/meta.js +293 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/meta.d.mts +1326 -1
- package/build/internal/es/meta.mjs +262 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -514,6 +514,52 @@ interface TaxRateBreakdown {
|
|
|
514
514
|
/** Amount of tax for this tax detail. */
|
|
515
515
|
tax?: MultiCurrencyPrice;
|
|
516
516
|
}
|
|
517
|
+
/**
|
|
518
|
+
* TaxBreakdown represents tax information for a line item.
|
|
519
|
+
* It holds the tax amount and the tax rate for each tax authority that apply on the line item.
|
|
520
|
+
*/
|
|
521
|
+
interface TaxBreakdown {
|
|
522
|
+
/**
|
|
523
|
+
* The name of the jurisdiction to which this tax detail applies. For example, "New York" or "Quebec".
|
|
524
|
+
* @maxLength 200
|
|
525
|
+
*/
|
|
526
|
+
jurisdiction?: string | null;
|
|
527
|
+
/** The amount of this line item price that was considered nontaxable. (Decimal value) */
|
|
528
|
+
nonTaxableAmount?: MultiCurrencyPrice;
|
|
529
|
+
/**
|
|
530
|
+
* The rate at which this tax detail was calculated, e.g 0.1000 signifies 10% tax and 2.0000 signifies 200% tax. (Decimal value)
|
|
531
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
532
|
+
*/
|
|
533
|
+
rate?: string | null;
|
|
534
|
+
/** The amount of tax estimated for this line item. (Decimal value) */
|
|
535
|
+
taxAmount?: MultiCurrencyPrice;
|
|
536
|
+
/** The taxable amount of this line item. */
|
|
537
|
+
taxableAmount?: MultiCurrencyPrice;
|
|
538
|
+
/**
|
|
539
|
+
* The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc.
|
|
540
|
+
* @maxLength 200
|
|
541
|
+
*/
|
|
542
|
+
taxType?: string | null;
|
|
543
|
+
/**
|
|
544
|
+
* The name of the tax against which this tax amount was calculated. For example, "NY State Sales Tax", "Quebec GST", etc.
|
|
545
|
+
* This name should be explicit enough to allow the merchant to understand what tax was calculated.
|
|
546
|
+
* @maxLength 200
|
|
547
|
+
*/
|
|
548
|
+
taxName?: string | null;
|
|
549
|
+
/** The type of the jurisdiction in which this tax detail applies. */
|
|
550
|
+
jurisdictionType?: JurisdictionTypeWithLiterals;
|
|
551
|
+
}
|
|
552
|
+
/** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
553
|
+
declare enum JurisdictionType {
|
|
554
|
+
UNDEFINED = "UNDEFINED",
|
|
555
|
+
COUNTRY = "COUNTRY",
|
|
556
|
+
STATE = "STATE",
|
|
557
|
+
COUNTY = "COUNTY",
|
|
558
|
+
CITY = "CITY",
|
|
559
|
+
SPECIAL = "SPECIAL"
|
|
560
|
+
}
|
|
561
|
+
/** @enumType */
|
|
562
|
+
type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
|
|
517
563
|
interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
|
|
518
564
|
/** Description line plain text value. */
|
|
519
565
|
plainText?: PlainTextValue;
|
|
@@ -576,6 +622,16 @@ interface Color {
|
|
|
576
622
|
/** HEX or RGB color code for display. */
|
|
577
623
|
code?: string | null;
|
|
578
624
|
}
|
|
625
|
+
declare enum DescriptionLineType {
|
|
626
|
+
/** Unrecognized type. */
|
|
627
|
+
UNRECOGNISED = "UNRECOGNISED",
|
|
628
|
+
/** Plain text type. */
|
|
629
|
+
PLAIN_TEXT = "PLAIN_TEXT",
|
|
630
|
+
/** Color type. */
|
|
631
|
+
COLOR = "COLOR"
|
|
632
|
+
}
|
|
633
|
+
/** @enumType */
|
|
634
|
+
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
579
635
|
interface CommonImage {
|
|
580
636
|
/** WixMedia image ID. */
|
|
581
637
|
id?: string;
|
|
@@ -599,6 +655,16 @@ interface CommonImage {
|
|
|
599
655
|
*/
|
|
600
656
|
filename?: string | null;
|
|
601
657
|
}
|
|
658
|
+
interface FocalPoint {
|
|
659
|
+
/** X-coordinate of the focal point. */
|
|
660
|
+
x?: number;
|
|
661
|
+
/** Y-coordinate of the focal point. */
|
|
662
|
+
y?: number;
|
|
663
|
+
/** crop by height */
|
|
664
|
+
height?: number | null;
|
|
665
|
+
/** crop by width */
|
|
666
|
+
width?: number | null;
|
|
667
|
+
}
|
|
602
668
|
interface ItemAvailabilityInfo {
|
|
603
669
|
/** Item availability status. */
|
|
604
670
|
status?: ItemAvailabilityStatusWithLiterals;
|
|
@@ -627,6 +693,18 @@ interface PhysicalProperties {
|
|
|
627
693
|
/** Whether this line item is shippable. */
|
|
628
694
|
shippable?: boolean;
|
|
629
695
|
}
|
|
696
|
+
interface Scope {
|
|
697
|
+
/** Scope namespace (Wix Stores, Wix Bookings, Wix Events, Wix Pricing Plans) */
|
|
698
|
+
namespace?: string;
|
|
699
|
+
/** Coupon scope's applied group (e.g., event or ticket in Wix Events) */
|
|
700
|
+
group?: Group;
|
|
701
|
+
}
|
|
702
|
+
interface Group {
|
|
703
|
+
/** Coupon scope's group (e.g., product or collection in Wix Stores). See [valid scope values](https://dev.wix.com/api/rest/coupons/coupons/valid-scope-values). */
|
|
704
|
+
name?: string;
|
|
705
|
+
/** Item ID (when the coupon scope is limited to just one item). */
|
|
706
|
+
entityId?: string | null;
|
|
707
|
+
}
|
|
630
708
|
interface ItemType extends ItemTypeItemTypeDataOneOf {
|
|
631
709
|
/** Preset item type. */
|
|
632
710
|
preset?: ItemTypeItemTypeWithLiterals;
|
|
@@ -732,6 +810,32 @@ interface Description {
|
|
|
732
810
|
*/
|
|
733
811
|
translated?: string | null;
|
|
734
812
|
}
|
|
813
|
+
interface SecuredMedia {
|
|
814
|
+
/**
|
|
815
|
+
* Media ID in Wix Media Manager.
|
|
816
|
+
* @minLength 1
|
|
817
|
+
* @maxLength 100
|
|
818
|
+
*/
|
|
819
|
+
id?: string;
|
|
820
|
+
/**
|
|
821
|
+
* Original filename.
|
|
822
|
+
* @minLength 1
|
|
823
|
+
* @maxLength 1000
|
|
824
|
+
*/
|
|
825
|
+
fileName?: string;
|
|
826
|
+
/** File type. */
|
|
827
|
+
fileType?: FileTypeWithLiterals;
|
|
828
|
+
}
|
|
829
|
+
declare enum FileType {
|
|
830
|
+
UNSPECIFIED = "UNSPECIFIED",
|
|
831
|
+
SECURE_PICTURE = "SECURE_PICTURE",
|
|
832
|
+
SECURE_VIDEO = "SECURE_VIDEO",
|
|
833
|
+
SECURE_DOCUMENT = "SECURE_DOCUMENT",
|
|
834
|
+
SECURE_MUSIC = "SECURE_MUSIC",
|
|
835
|
+
SECURE_ARCHIVE = "SECURE_ARCHIVE"
|
|
836
|
+
}
|
|
837
|
+
/** @enumType */
|
|
838
|
+
type FileTypeWithLiterals = FileType | 'UNSPECIFIED' | 'SECURE_PICTURE' | 'SECURE_VIDEO' | 'SECURE_DOCUMENT' | 'SECURE_MUSIC' | 'SECURE_ARCHIVE';
|
|
735
839
|
/** Type of selected payment option for catalog item */
|
|
736
840
|
declare enum PaymentOptionType {
|
|
737
841
|
/** The entire payment for this item happens as part of the checkout. */
|
|
@@ -1146,6 +1250,12 @@ declare enum PickupMethod {
|
|
|
1146
1250
|
}
|
|
1147
1251
|
/** @enumType */
|
|
1148
1252
|
type PickupMethodWithLiterals = PickupMethod | 'UNKNOWN_METHOD' | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
1253
|
+
interface DeliveryTimeSlot {
|
|
1254
|
+
/** starting time of the delivery time slot */
|
|
1255
|
+
from?: Date | null;
|
|
1256
|
+
/** ending time of the delivery time slot */
|
|
1257
|
+
to?: Date | null;
|
|
1258
|
+
}
|
|
1149
1259
|
interface SelectedCarrierServiceOptionPrices {
|
|
1150
1260
|
/** Total shipping price, after discount and after tax. */
|
|
1151
1261
|
totalPriceAfterTax?: MultiCurrencyPrice;
|
|
@@ -1573,6 +1683,15 @@ interface DiscountRuleName {
|
|
|
1573
1683
|
*/
|
|
1574
1684
|
translated?: string | null;
|
|
1575
1685
|
}
|
|
1686
|
+
interface LineItemDiscount {
|
|
1687
|
+
/**
|
|
1688
|
+
* ID of line item the discount applies to.
|
|
1689
|
+
* @format GUID
|
|
1690
|
+
*/
|
|
1691
|
+
id?: string;
|
|
1692
|
+
/** Discount value. */
|
|
1693
|
+
totalDiscountAmount?: MultiCurrencyPrice;
|
|
1694
|
+
}
|
|
1576
1695
|
interface CustomField {
|
|
1577
1696
|
/** Custom field value. */
|
|
1578
1697
|
value?: any;
|
|
@@ -1665,6 +1784,38 @@ declare enum FallbackReason {
|
|
|
1665
1784
|
}
|
|
1666
1785
|
/** @enumType */
|
|
1667
1786
|
type FallbackReasonWithLiterals = FallbackReason | 'AUTO_TAX_FAILED' | 'AUTO_TAX_DEACTIVATED';
|
|
1787
|
+
/**
|
|
1788
|
+
* 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.
|
|
1789
|
+
* Tax breakdown is the tax amount split to the tax authorities that applied on the line item.
|
|
1790
|
+
*/
|
|
1791
|
+
interface AggregatedTaxBreakdown {
|
|
1792
|
+
/**
|
|
1793
|
+
* The name of the tax against which this tax amount was calculated.
|
|
1794
|
+
* @maxLength 200
|
|
1795
|
+
*/
|
|
1796
|
+
taxName?: string;
|
|
1797
|
+
/**
|
|
1798
|
+
* The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws.
|
|
1799
|
+
* @maxLength 200
|
|
1800
|
+
*/
|
|
1801
|
+
taxType?: string;
|
|
1802
|
+
/**
|
|
1803
|
+
* The name of the jurisdiction in which this tax detail applies.
|
|
1804
|
+
* @maxLength 200
|
|
1805
|
+
*/
|
|
1806
|
+
jurisdiction?: string;
|
|
1807
|
+
/** The type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
1808
|
+
jurisdictionTypeEnum?: JurisdictionTypeWithLiterals;
|
|
1809
|
+
/**
|
|
1810
|
+
* The rate at which this tax detail was calculated, e.g 0.1000 signifies 10% tax and 2.000 signifies 200% tax. (Decimal value)
|
|
1811
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
1812
|
+
*/
|
|
1813
|
+
rate?: string;
|
|
1814
|
+
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
1815
|
+
aggregatedTaxAmount?: MultiCurrencyPrice;
|
|
1816
|
+
/** The sum of all the taxable amount from line items for tax identifiers. */
|
|
1817
|
+
aggregatedTaxableAmount?: MultiCurrencyPrice;
|
|
1818
|
+
}
|
|
1668
1819
|
declare enum ChannelType {
|
|
1669
1820
|
/** Unspecified sales channel. This value is not supported. */
|
|
1670
1821
|
UNSPECIFIED = "UNSPECIFIED",
|
|
@@ -1910,6 +2061,20 @@ declare enum AdditionalFeeSource {
|
|
|
1910
2061
|
}
|
|
1911
2062
|
/** @enumType */
|
|
1912
2063
|
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING';
|
|
2064
|
+
interface ConversionInfo {
|
|
2065
|
+
/**
|
|
2066
|
+
* The site currency.
|
|
2067
|
+
* @readonly
|
|
2068
|
+
* @format CURRENCY
|
|
2069
|
+
*/
|
|
2070
|
+
siteCurrency?: string;
|
|
2071
|
+
/**
|
|
2072
|
+
* The rate used when converting from the site currency to the checkout currency.
|
|
2073
|
+
* @readonly
|
|
2074
|
+
* @decimalValue options { gt:0, lte:1000000000000000 }
|
|
2075
|
+
*/
|
|
2076
|
+
conversionRate?: string;
|
|
2077
|
+
}
|
|
1913
2078
|
interface Violation {
|
|
1914
2079
|
/** Severity of the violation. The violations are shown on the cart and checkout pages. A warning is displayed as yellow, and allows a site visitor to proceed with caution. An error is displayed as red, and doesn't allow a site visitor to proceed with the eCommerce flow. */
|
|
1915
2080
|
severity?: SeverityWithLiterals;
|
|
@@ -1960,6 +2125,14 @@ declare enum NameInLineItem {
|
|
|
1960
2125
|
}
|
|
1961
2126
|
/** @enumType */
|
|
1962
2127
|
type NameInLineItemWithLiterals = NameInLineItem | 'LINE_ITEM_DEFAULT';
|
|
2128
|
+
declare enum SuggestedFix {
|
|
2129
|
+
/** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
|
|
2130
|
+
UNKNOWN_SUGGESTED_FIX = "UNKNOWN_SUGGESTED_FIX",
|
|
2131
|
+
/** The line item should be removed from the cart or checkout to resolve the violation. */
|
|
2132
|
+
REMOVE_LINE_ITEM = "REMOVE_LINE_ITEM"
|
|
2133
|
+
}
|
|
2134
|
+
/** @enumType */
|
|
2135
|
+
type SuggestedFixWithLiterals = SuggestedFix | 'UNKNOWN_SUGGESTED_FIX' | 'REMOVE_LINE_ITEM';
|
|
1963
2136
|
/** General (other) violation. */
|
|
1964
2137
|
interface Other {
|
|
1965
2138
|
/** Location on a checkout or a cart page where a general (other) violation will be displayed. */
|
|
@@ -2031,6 +2204,46 @@ interface ExternalReference {
|
|
|
2031
2204
|
*/
|
|
2032
2205
|
resourceId?: string | null;
|
|
2033
2206
|
}
|
|
2207
|
+
interface SubscriptionCharges {
|
|
2208
|
+
/**
|
|
2209
|
+
* ids of the items the subscription is defined on
|
|
2210
|
+
* @format GUID
|
|
2211
|
+
* @minSize 1
|
|
2212
|
+
* @maxSize 300
|
|
2213
|
+
*/
|
|
2214
|
+
lineItemIds?: string[];
|
|
2215
|
+
/**
|
|
2216
|
+
* Generated description explaining future charges amount and schedule.
|
|
2217
|
+
* Translated to subscription order buyer language, or to site language if was not provided.
|
|
2218
|
+
* @maxLength 1000
|
|
2219
|
+
*/
|
|
2220
|
+
description?: string | null;
|
|
2221
|
+
/**
|
|
2222
|
+
* Charges for subscription.
|
|
2223
|
+
* @maxSize 50
|
|
2224
|
+
*/
|
|
2225
|
+
charges?: Charge[];
|
|
2226
|
+
}
|
|
2227
|
+
interface Charge {
|
|
2228
|
+
/** The cycle number from which the charge starts. */
|
|
2229
|
+
cycleFrom?: number;
|
|
2230
|
+
/** The number of cycles for which the charge is applicable. */
|
|
2231
|
+
cycleCount?: number | null;
|
|
2232
|
+
/** Charge summary. */
|
|
2233
|
+
priceSummary?: PriceSummary;
|
|
2234
|
+
/** The billing date from which the charge starts. */
|
|
2235
|
+
cycleBillingDate?: Date | null;
|
|
2236
|
+
}
|
|
2237
|
+
interface UpdatedCheckoutMessage {
|
|
2238
|
+
/** Previous checkout. */
|
|
2239
|
+
oldCheckout?: Checkout;
|
|
2240
|
+
/** Updated checkout. */
|
|
2241
|
+
updatedCheckout?: Checkout;
|
|
2242
|
+
}
|
|
2243
|
+
/** Triggered when an order created from this checkout is successfully paid for or when a checkout is marked as completed. */
|
|
2244
|
+
interface CheckoutMarkedAsCompleted {
|
|
2245
|
+
checkout?: Checkout;
|
|
2246
|
+
}
|
|
2034
2247
|
interface CreateCheckoutRequest {
|
|
2035
2248
|
/** Checkout information. */
|
|
2036
2249
|
checkoutInfo?: Checkout;
|
|
@@ -2243,10 +2456,32 @@ interface V1ItemModifier {
|
|
|
2243
2456
|
*/
|
|
2244
2457
|
price?: string | null;
|
|
2245
2458
|
}
|
|
2459
|
+
interface MerchantDiscountInput {
|
|
2460
|
+
/**
|
|
2461
|
+
* Discount amount.
|
|
2462
|
+
* @decimalValue options { gte:0 }
|
|
2463
|
+
*/
|
|
2464
|
+
amount?: string;
|
|
2465
|
+
/**
|
|
2466
|
+
* IDs of line items the discount applies to.
|
|
2467
|
+
* @format GUID
|
|
2468
|
+
* @maxSize 300
|
|
2469
|
+
*/
|
|
2470
|
+
lineItemIds?: string[];
|
|
2471
|
+
}
|
|
2246
2472
|
interface CreateCheckoutResponse {
|
|
2247
2473
|
/** Newly created checkout. */
|
|
2248
2474
|
checkout?: Checkout;
|
|
2249
2475
|
}
|
|
2476
|
+
interface ShippingCalculationErrorData extends ShippingCalculationErrorDataShippingCalculationErrorOneOf {
|
|
2477
|
+
generalShippingCalculationError?: Details;
|
|
2478
|
+
carrierErrors?: CarrierErrors;
|
|
2479
|
+
}
|
|
2480
|
+
/** @oneof */
|
|
2481
|
+
interface ShippingCalculationErrorDataShippingCalculationErrorOneOf {
|
|
2482
|
+
generalShippingCalculationError?: Details;
|
|
2483
|
+
carrierErrors?: CarrierErrors;
|
|
2484
|
+
}
|
|
2250
2485
|
interface GetCheckoutRequest {
|
|
2251
2486
|
/**
|
|
2252
2487
|
* Checkout ID.
|
|
@@ -2258,6 +2493,17 @@ interface GetCheckoutResponse {
|
|
|
2258
2493
|
/** Retrieved checkout. */
|
|
2259
2494
|
checkout?: Checkout;
|
|
2260
2495
|
}
|
|
2496
|
+
interface GetCheckoutWithAllExtendedFieldsRequest {
|
|
2497
|
+
/**
|
|
2498
|
+
* Checkout ID.
|
|
2499
|
+
* @format GUID
|
|
2500
|
+
*/
|
|
2501
|
+
id?: string;
|
|
2502
|
+
}
|
|
2503
|
+
interface GetCheckoutWithAllExtendedFieldsResponse {
|
|
2504
|
+
/** Retrieved checkout. */
|
|
2505
|
+
checkout?: Checkout;
|
|
2506
|
+
}
|
|
2261
2507
|
interface GetCheckoutByCartIdRequest {
|
|
2262
2508
|
/**
|
|
2263
2509
|
* Cart ID.
|
|
@@ -2460,6 +2706,31 @@ interface CreateOrderResponseIdOneOf {
|
|
|
2460
2706
|
*/
|
|
2461
2707
|
subscriptionId?: string;
|
|
2462
2708
|
}
|
|
2709
|
+
interface PaymentErrorResponseData {
|
|
2710
|
+
paymentResponseToken?: string | null;
|
|
2711
|
+
transactionStatus?: string;
|
|
2712
|
+
failureDetails?: string | null;
|
|
2713
|
+
}
|
|
2714
|
+
interface DoublePaymentErrorData extends DoublePaymentErrorDataIdOneOf {
|
|
2715
|
+
/** @format GUID */
|
|
2716
|
+
orderId?: string;
|
|
2717
|
+
/** @format GUID */
|
|
2718
|
+
subscriptionId?: string;
|
|
2719
|
+
}
|
|
2720
|
+
/** @oneof */
|
|
2721
|
+
interface DoublePaymentErrorDataIdOneOf {
|
|
2722
|
+
/** @format GUID */
|
|
2723
|
+
orderId?: string;
|
|
2724
|
+
/** @format GUID */
|
|
2725
|
+
subscriptionId?: string;
|
|
2726
|
+
}
|
|
2727
|
+
interface RedeemErrorData {
|
|
2728
|
+
reason?: string;
|
|
2729
|
+
}
|
|
2730
|
+
interface ViolationsList {
|
|
2731
|
+
/** Violations risen by ValidationsSPI implementers. */
|
|
2732
|
+
violations?: Violation[];
|
|
2733
|
+
}
|
|
2463
2734
|
interface CreateOrderAndChargeRequest {
|
|
2464
2735
|
/**
|
|
2465
2736
|
* Checkout ID.
|
|
@@ -2584,6 +2855,1060 @@ declare enum GetCheckoutPaymentSettingsResponsePaymentOption {
|
|
|
2584
2855
|
}
|
|
2585
2856
|
/** @enumType */
|
|
2586
2857
|
type GetCheckoutPaymentSettingsResponsePaymentOptionWithLiterals = GetCheckoutPaymentSettingsResponsePaymentOption | 'UNKNOWN_PAYMENT_OPTION' | 'MANUAL';
|
|
2858
|
+
interface DeleteCheckoutRequest {
|
|
2859
|
+
/**
|
|
2860
|
+
* ID of the checkout to delete.
|
|
2861
|
+
* @format GUID
|
|
2862
|
+
*/
|
|
2863
|
+
id?: string;
|
|
2864
|
+
}
|
|
2865
|
+
interface DeleteCheckoutResponse {
|
|
2866
|
+
}
|
|
2867
|
+
interface SubscriptionCreated {
|
|
2868
|
+
subscription?: Subscription;
|
|
2869
|
+
}
|
|
2870
|
+
interface Subscription {
|
|
2871
|
+
/**
|
|
2872
|
+
* Subscription id (auto-generated upon subscription creation)
|
|
2873
|
+
* @readonly
|
|
2874
|
+
*/
|
|
2875
|
+
id?: string;
|
|
2876
|
+
/**
|
|
2877
|
+
* id of subscription in external system
|
|
2878
|
+
* @format GUID
|
|
2879
|
+
*/
|
|
2880
|
+
externalId?: string | null;
|
|
2881
|
+
/**
|
|
2882
|
+
* Subscription creation date
|
|
2883
|
+
* @readonly
|
|
2884
|
+
*/
|
|
2885
|
+
dateCreated?: Date | null;
|
|
2886
|
+
/**
|
|
2887
|
+
* The id of the cart this order was created from
|
|
2888
|
+
* @format GUID
|
|
2889
|
+
*/
|
|
2890
|
+
cartId?: string | null;
|
|
2891
|
+
/**
|
|
2892
|
+
* The id of the checkout this subscriptions was created from
|
|
2893
|
+
* @format GUID
|
|
2894
|
+
*/
|
|
2895
|
+
checkoutId?: string | null;
|
|
2896
|
+
/** member or contact */
|
|
2897
|
+
buyerInfo?: V1BuyerInfo;
|
|
2898
|
+
/**
|
|
2899
|
+
* Line items ordered
|
|
2900
|
+
* @minSize 1
|
|
2901
|
+
* @maxSize 1
|
|
2902
|
+
*/
|
|
2903
|
+
lineItems?: V1LineItem[];
|
|
2904
|
+
/** Totals for subscription's line items */
|
|
2905
|
+
totals?: Totals;
|
|
2906
|
+
/** site settings at the moment when subscription created */
|
|
2907
|
+
storeSettings?: StoreSettings;
|
|
2908
|
+
/** Full billing address */
|
|
2909
|
+
billingAddress?: Address;
|
|
2910
|
+
/** Delivery information */
|
|
2911
|
+
shippingInfo?: V1ShippingInfo;
|
|
2912
|
+
/** Coupon that was applied to subscription */
|
|
2913
|
+
appliedCoupon?: AppliedCoupon;
|
|
2914
|
+
/**
|
|
2915
|
+
* Message from the customer (e.g., customization request)
|
|
2916
|
+
* @maxLength 1000
|
|
2917
|
+
*/
|
|
2918
|
+
buyerNote?: string | null;
|
|
2919
|
+
/** Custom field */
|
|
2920
|
+
customField?: V1CustomField;
|
|
2921
|
+
/** Information about subscription option from which subscription was created */
|
|
2922
|
+
subscriptionOptionInfo?: V1SubscriptionOptionInfo;
|
|
2923
|
+
/** Sales channel that submitted this subscription */
|
|
2924
|
+
channelInfo?: ChannelInfo;
|
|
2925
|
+
/** defines when subscriber will be charged: for frequency=MONTH, billingCycles=6, interval=2 payment will be done every 2 month during one year */
|
|
2926
|
+
subscriptionSettings?: V1SubscriptionSettings;
|
|
2927
|
+
/**
|
|
2928
|
+
* information about first subscription payment
|
|
2929
|
+
* @readonly
|
|
2930
|
+
*/
|
|
2931
|
+
billingInfo?: BillingInfo;
|
|
2932
|
+
}
|
|
2933
|
+
/** Buyer Info */
|
|
2934
|
+
interface V1BuyerInfo {
|
|
2935
|
+
/**
|
|
2936
|
+
* Wix customer ID
|
|
2937
|
+
* @format GUID
|
|
2938
|
+
*/
|
|
2939
|
+
id?: string;
|
|
2940
|
+
/** Customer type */
|
|
2941
|
+
identityType?: IdentityTypeWithLiterals;
|
|
2942
|
+
}
|
|
2943
|
+
declare enum IdentityType {
|
|
2944
|
+
UNSPECIFIED_IDENTITY_TYPE = "UNSPECIFIED_IDENTITY_TYPE",
|
|
2945
|
+
/** Site member */
|
|
2946
|
+
MEMBER = "MEMBER",
|
|
2947
|
+
/** Contact */
|
|
2948
|
+
CONTACT = "CONTACT"
|
|
2949
|
+
}
|
|
2950
|
+
/** @enumType */
|
|
2951
|
+
type IdentityTypeWithLiterals = IdentityType | 'UNSPECIFIED_IDENTITY_TYPE' | 'MEMBER' | 'CONTACT';
|
|
2952
|
+
interface V1LineItem {
|
|
2953
|
+
/** Line item ID (auto-generated) */
|
|
2954
|
+
index?: number;
|
|
2955
|
+
/**
|
|
2956
|
+
* Line item quantity
|
|
2957
|
+
* @min 1
|
|
2958
|
+
* @max 100000
|
|
2959
|
+
*/
|
|
2960
|
+
quantity?: number;
|
|
2961
|
+
/**
|
|
2962
|
+
* Line item variantId (from Stores Catalog)
|
|
2963
|
+
* @format GUID
|
|
2964
|
+
*/
|
|
2965
|
+
variantId?: string | null;
|
|
2966
|
+
/**
|
|
2967
|
+
* Line item options ordered
|
|
2968
|
+
* @maxSize 6
|
|
2969
|
+
*/
|
|
2970
|
+
options?: OptionSelection[];
|
|
2971
|
+
/**
|
|
2972
|
+
* Line item custom text field selections
|
|
2973
|
+
* @maxSize 20
|
|
2974
|
+
*/
|
|
2975
|
+
customTextFields?: CustomTextFieldSelection[];
|
|
2976
|
+
/** Charges details */
|
|
2977
|
+
chargeDetails?: ChargeDetails;
|
|
2978
|
+
/** Product details */
|
|
2979
|
+
productDetails?: ProductDetails;
|
|
2980
|
+
}
|
|
2981
|
+
interface OptionSelection {
|
|
2982
|
+
/**
|
|
2983
|
+
* Option name
|
|
2984
|
+
* @maxLength 200
|
|
2985
|
+
*/
|
|
2986
|
+
option?: string;
|
|
2987
|
+
/**
|
|
2988
|
+
* Selected choice for this option
|
|
2989
|
+
* @maxLength 500
|
|
2990
|
+
*/
|
|
2991
|
+
selection?: string;
|
|
2992
|
+
}
|
|
2993
|
+
interface CustomTextFieldSelection {
|
|
2994
|
+
/**
|
|
2995
|
+
* Custom text field name
|
|
2996
|
+
* @maxLength 100
|
|
2997
|
+
*/
|
|
2998
|
+
title?: string;
|
|
2999
|
+
/**
|
|
3000
|
+
* Custom text field value
|
|
3001
|
+
* @maxLength 500
|
|
3002
|
+
*/
|
|
3003
|
+
value?: string;
|
|
3004
|
+
}
|
|
3005
|
+
interface ChargeDetails {
|
|
3006
|
+
/**
|
|
3007
|
+
* price of line item (depends on subscription option)
|
|
3008
|
+
* @max 999999999.99
|
|
3009
|
+
*/
|
|
3010
|
+
price?: number;
|
|
3011
|
+
/**
|
|
3012
|
+
* Total price charged to the customer (for this line items) after computation of quantity and discount
|
|
3013
|
+
* @max 999999999.99
|
|
3014
|
+
*/
|
|
3015
|
+
totalPrice?: number | null;
|
|
3016
|
+
/**
|
|
3017
|
+
* Discount applied for this line item
|
|
3018
|
+
* @max 999999999.99
|
|
3019
|
+
*/
|
|
3020
|
+
discount?: number | null;
|
|
3021
|
+
/**
|
|
3022
|
+
* Tax applied for this line item
|
|
3023
|
+
* @max 999999999.99
|
|
3024
|
+
*/
|
|
3025
|
+
tax?: number | null;
|
|
3026
|
+
/** Is tax applied for this line item */
|
|
3027
|
+
taxIncludedInPrice?: boolean;
|
|
3028
|
+
/**
|
|
3029
|
+
* Tax rate %, as a decimal point >= 0
|
|
3030
|
+
* @decimalValue options { maxScale:6, gte:0 }
|
|
3031
|
+
*/
|
|
3032
|
+
taxRate?: string | null;
|
|
3033
|
+
}
|
|
3034
|
+
interface ProductDetails {
|
|
3035
|
+
/**
|
|
3036
|
+
* Line item product ID (optional for POS orders)
|
|
3037
|
+
* @minLength 1
|
|
3038
|
+
*/
|
|
3039
|
+
productId?: string | null;
|
|
3040
|
+
/**
|
|
3041
|
+
* Line item name
|
|
3042
|
+
* @minLength 1
|
|
3043
|
+
* @maxLength 100
|
|
3044
|
+
*/
|
|
3045
|
+
name?: string;
|
|
3046
|
+
/**
|
|
3047
|
+
* Line item name translated to buyer's language
|
|
3048
|
+
* @minLength 1
|
|
3049
|
+
* @maxLength 100
|
|
3050
|
+
*/
|
|
3051
|
+
translatedName?: string | null;
|
|
3052
|
+
/** Line item type (may be extended) */
|
|
3053
|
+
lineItemType?: LineItemTypeWithLiterals;
|
|
3054
|
+
/** Line item primary media for preview */
|
|
3055
|
+
mediaItem?: MediaItem;
|
|
3056
|
+
/**
|
|
3057
|
+
* Line item SKU
|
|
3058
|
+
* @maxLength 40
|
|
3059
|
+
*/
|
|
3060
|
+
sku?: string | null;
|
|
3061
|
+
/**
|
|
3062
|
+
* Line item weight
|
|
3063
|
+
* @max 999999999.99
|
|
3064
|
+
*/
|
|
3065
|
+
weight?: number | null;
|
|
3066
|
+
/**
|
|
3067
|
+
* Line item notes
|
|
3068
|
+
* @maxLength 1000
|
|
3069
|
+
*/
|
|
3070
|
+
notes?: string | null;
|
|
3071
|
+
/**
|
|
3072
|
+
* Line item fulfillerId from stores fulfillers. No value means self fulfilled
|
|
3073
|
+
* @format GUID
|
|
3074
|
+
*/
|
|
3075
|
+
fulfillerId?: string | null;
|
|
3076
|
+
/**
|
|
3077
|
+
* Tax group id
|
|
3078
|
+
* @format GUID
|
|
3079
|
+
*/
|
|
3080
|
+
taxGroupId?: string | null;
|
|
3081
|
+
/**
|
|
3082
|
+
* App id from the catalog reference
|
|
3083
|
+
* @format GUID
|
|
3084
|
+
*/
|
|
3085
|
+
appId?: string | null;
|
|
3086
|
+
}
|
|
3087
|
+
declare enum LineItemType {
|
|
3088
|
+
/** Line item type can't be classified, due to an error */
|
|
3089
|
+
UNSPECIFIED_LINE_ITEM_TYPE = "UNSPECIFIED_LINE_ITEM_TYPE",
|
|
3090
|
+
/** Physical item type */
|
|
3091
|
+
PHYSICAL = "PHYSICAL",
|
|
3092
|
+
/** Digital item type */
|
|
3093
|
+
DIGITAL = "DIGITAL",
|
|
3094
|
+
/** Custom item price */
|
|
3095
|
+
CUSTOM_AMOUNT_ITEM = "CUSTOM_AMOUNT_ITEM"
|
|
3096
|
+
}
|
|
3097
|
+
/** @enumType */
|
|
3098
|
+
type LineItemTypeWithLiterals = LineItemType | 'UNSPECIFIED_LINE_ITEM_TYPE' | 'PHYSICAL' | 'DIGITAL' | 'CUSTOM_AMOUNT_ITEM';
|
|
3099
|
+
interface MediaItem {
|
|
3100
|
+
/**
|
|
3101
|
+
* Media type
|
|
3102
|
+
* @readonly
|
|
3103
|
+
*/
|
|
3104
|
+
mediaType?: MediaItemTypeWithLiterals;
|
|
3105
|
+
/**
|
|
3106
|
+
* Media URL
|
|
3107
|
+
* @format WEB_URL
|
|
3108
|
+
* @readonly
|
|
3109
|
+
*/
|
|
3110
|
+
url?: string;
|
|
3111
|
+
/**
|
|
3112
|
+
* Media item width
|
|
3113
|
+
* @max 5000
|
|
3114
|
+
* @readonly
|
|
3115
|
+
*/
|
|
3116
|
+
width?: number;
|
|
3117
|
+
/**
|
|
3118
|
+
* Media item height
|
|
3119
|
+
* @max 5000
|
|
3120
|
+
* @readonly
|
|
3121
|
+
*/
|
|
3122
|
+
height?: number;
|
|
3123
|
+
/** Media ID (for media items previously saved in Wix Media) */
|
|
3124
|
+
id?: string | null;
|
|
3125
|
+
/** Media external URL */
|
|
3126
|
+
externalImageUrl?: string | null;
|
|
3127
|
+
/**
|
|
3128
|
+
* Alternative text for presentation when media cannot be displayed
|
|
3129
|
+
* @maxLength 256
|
|
3130
|
+
*/
|
|
3131
|
+
altText?: string | null;
|
|
3132
|
+
}
|
|
3133
|
+
declare enum MediaItemType {
|
|
3134
|
+
/** Media item type can't be classified, due to an error */
|
|
3135
|
+
UNSPECIFIED_MEDIA_TYPE_ITEM = "UNSPECIFIED_MEDIA_TYPE_ITEM",
|
|
3136
|
+
/** Image item type */
|
|
3137
|
+
IMAGE = "IMAGE"
|
|
3138
|
+
}
|
|
3139
|
+
/** @enumType */
|
|
3140
|
+
type MediaItemTypeWithLiterals = MediaItemType | 'UNSPECIFIED_MEDIA_TYPE_ITEM' | 'IMAGE';
|
|
3141
|
+
interface Totals {
|
|
3142
|
+
/**
|
|
3143
|
+
* Subtotal of all line items, before tax
|
|
3144
|
+
* @max 999999999.99
|
|
3145
|
+
*/
|
|
3146
|
+
subtotal?: number;
|
|
3147
|
+
/**
|
|
3148
|
+
* Total shipping price, including tax
|
|
3149
|
+
* @max 999999999.99
|
|
3150
|
+
*/
|
|
3151
|
+
shipping?: number;
|
|
3152
|
+
/**
|
|
3153
|
+
* Total tax
|
|
3154
|
+
* @max 999999999.99
|
|
3155
|
+
*/
|
|
3156
|
+
tax?: number;
|
|
3157
|
+
/**
|
|
3158
|
+
* Total calculated discount value
|
|
3159
|
+
* @max 999999999.99
|
|
3160
|
+
*/
|
|
3161
|
+
discount?: number;
|
|
3162
|
+
/**
|
|
3163
|
+
* Total price
|
|
3164
|
+
* @max 999999999.99
|
|
3165
|
+
*/
|
|
3166
|
+
total?: number;
|
|
3167
|
+
/**
|
|
3168
|
+
* Total weight
|
|
3169
|
+
* @max 999999999.99
|
|
3170
|
+
*/
|
|
3171
|
+
weight?: number | null;
|
|
3172
|
+
/**
|
|
3173
|
+
* Total line items quantity
|
|
3174
|
+
* @readonly
|
|
3175
|
+
*/
|
|
3176
|
+
quantity?: number;
|
|
3177
|
+
}
|
|
3178
|
+
interface StoreSettings {
|
|
3179
|
+
/**
|
|
3180
|
+
* Currency used for pricing in this store
|
|
3181
|
+
* @maxLength 3
|
|
3182
|
+
* @format CURRENCY
|
|
3183
|
+
*/
|
|
3184
|
+
currency?: string | null;
|
|
3185
|
+
/** Weight unit used in this store */
|
|
3186
|
+
weightUnit?: WeightUnitWithLiterals;
|
|
3187
|
+
/**
|
|
3188
|
+
* The language to be used when communicating with the buyer
|
|
3189
|
+
* For a site that support multiple languages, this would be the language the buyer selected
|
|
3190
|
+
* Otherwise this would be the site language
|
|
3191
|
+
* @minLength 2
|
|
3192
|
+
* @maxLength 2
|
|
3193
|
+
*/
|
|
3194
|
+
buyerLanguage?: string | null;
|
|
3195
|
+
}
|
|
3196
|
+
interface Address extends AddressAddressLine1OptionsOneOf {
|
|
3197
|
+
/**
|
|
3198
|
+
* Address line 1 (free text)
|
|
3199
|
+
* @maxLength 1000
|
|
3200
|
+
*/
|
|
3201
|
+
addressLine1?: string;
|
|
3202
|
+
/** Address line 1 (street) */
|
|
3203
|
+
street?: Street;
|
|
3204
|
+
/** Addressee name */
|
|
3205
|
+
fullName?: FullName;
|
|
3206
|
+
/**
|
|
3207
|
+
* Country code (2 letters)
|
|
3208
|
+
* @format COUNTRY
|
|
3209
|
+
*/
|
|
3210
|
+
country?: string | null;
|
|
3211
|
+
/**
|
|
3212
|
+
* State or district
|
|
3213
|
+
* @maxLength 50
|
|
3214
|
+
*/
|
|
3215
|
+
subdivision?: string | null;
|
|
3216
|
+
/**
|
|
3217
|
+
* City name
|
|
3218
|
+
* @maxLength 150
|
|
3219
|
+
*/
|
|
3220
|
+
city?: string | null;
|
|
3221
|
+
/**
|
|
3222
|
+
* ZIP/postal code
|
|
3223
|
+
* @maxLength 200
|
|
3224
|
+
*/
|
|
3225
|
+
zipCode?: string | null;
|
|
3226
|
+
/**
|
|
3227
|
+
* Phone number
|
|
3228
|
+
* @maxLength 200
|
|
3229
|
+
*/
|
|
3230
|
+
phone?: string | null;
|
|
3231
|
+
/**
|
|
3232
|
+
* Company name
|
|
3233
|
+
* @maxLength 500
|
|
3234
|
+
*/
|
|
3235
|
+
company?: string | null;
|
|
3236
|
+
/**
|
|
3237
|
+
* Email address
|
|
3238
|
+
* @maxLength 500
|
|
3239
|
+
*/
|
|
3240
|
+
email?: string | null;
|
|
3241
|
+
/**
|
|
3242
|
+
* address line
|
|
3243
|
+
* @maxLength 250
|
|
3244
|
+
*/
|
|
3245
|
+
addressLine2?: string | null;
|
|
3246
|
+
/** Tax information (for Brazil only) */
|
|
3247
|
+
vatId?: VatId;
|
|
3248
|
+
}
|
|
3249
|
+
/** @oneof */
|
|
3250
|
+
interface AddressAddressLine1OptionsOneOf {
|
|
3251
|
+
/**
|
|
3252
|
+
* Address line 1 (free text)
|
|
3253
|
+
* @maxLength 1000
|
|
3254
|
+
*/
|
|
3255
|
+
addressLine1?: string;
|
|
3256
|
+
/** Address line 1 (street) */
|
|
3257
|
+
street?: Street;
|
|
3258
|
+
}
|
|
3259
|
+
interface FullName {
|
|
3260
|
+
/**
|
|
3261
|
+
* Customer's first name
|
|
3262
|
+
* @maxLength 1000
|
|
3263
|
+
*/
|
|
3264
|
+
firstName?: string;
|
|
3265
|
+
/**
|
|
3266
|
+
* Customer's last name
|
|
3267
|
+
* @maxLength 1000
|
|
3268
|
+
*/
|
|
3269
|
+
lastName?: string;
|
|
3270
|
+
}
|
|
3271
|
+
interface Street {
|
|
3272
|
+
/**
|
|
3273
|
+
* Street number
|
|
3274
|
+
* @maxLength 500
|
|
3275
|
+
*/
|
|
3276
|
+
number?: string;
|
|
3277
|
+
/**
|
|
3278
|
+
* Street name
|
|
3279
|
+
* @maxLength 1000
|
|
3280
|
+
*/
|
|
3281
|
+
name?: string;
|
|
3282
|
+
}
|
|
3283
|
+
interface VatId {
|
|
3284
|
+
/**
|
|
3285
|
+
* Customer's tax ID.
|
|
3286
|
+
* @maxLength 50
|
|
3287
|
+
*/
|
|
3288
|
+
number?: string;
|
|
3289
|
+
/**
|
|
3290
|
+
* Tax type.
|
|
3291
|
+
* + `CPF`: For individual tax payers.
|
|
3292
|
+
* + `CNPJ`: For corporations.
|
|
3293
|
+
*/
|
|
3294
|
+
type?: VatTypeWithLiterals;
|
|
3295
|
+
}
|
|
3296
|
+
/** Brazilian tax info types */
|
|
3297
|
+
declare enum VatType {
|
|
3298
|
+
/** When the tax info type can't be classified, due to an error */
|
|
3299
|
+
UNSPECIFIED_TAX_TYPE = "UNSPECIFIED_TAX_TYPE",
|
|
3300
|
+
/** CPF - for individual tax payers */
|
|
3301
|
+
CPF = "CPF",
|
|
3302
|
+
/** CNPJ - for corporations */
|
|
3303
|
+
CNPJ = "CNPJ"
|
|
3304
|
+
}
|
|
3305
|
+
/** @enumType */
|
|
3306
|
+
type VatTypeWithLiterals = VatType | 'UNSPECIFIED_TAX_TYPE' | 'CPF' | 'CNPJ';
|
|
3307
|
+
interface V1ShippingInfo extends V1ShippingInfoDetailsOneOf {
|
|
3308
|
+
/** Shipment details (when this object describes shipment) */
|
|
3309
|
+
shipmentDetails?: ShipmentDetails;
|
|
3310
|
+
/** Pickup details (when this object describes pickup) */
|
|
3311
|
+
pickupDetails?: V1PickupDetails;
|
|
3312
|
+
/**
|
|
3313
|
+
* Delivery option name
|
|
3314
|
+
* @maxLength 250
|
|
3315
|
+
*/
|
|
3316
|
+
deliveryOption?: string;
|
|
3317
|
+
/**
|
|
3318
|
+
* Delivery option delivery time
|
|
3319
|
+
* @maxLength 500
|
|
3320
|
+
*/
|
|
3321
|
+
estimatedDeliveryTime?: string | null;
|
|
3322
|
+
}
|
|
3323
|
+
/** @oneof */
|
|
3324
|
+
interface V1ShippingInfoDetailsOneOf {
|
|
3325
|
+
/** Shipment details (when this object describes shipment) */
|
|
3326
|
+
shipmentDetails?: ShipmentDetails;
|
|
3327
|
+
/** Pickup details (when this object describes pickup) */
|
|
3328
|
+
pickupDetails?: V1PickupDetails;
|
|
3329
|
+
}
|
|
3330
|
+
interface ShipmentDetails {
|
|
3331
|
+
/** Shipping destination address */
|
|
3332
|
+
address?: Address;
|
|
3333
|
+
/**
|
|
3334
|
+
* Discount applied for shipping
|
|
3335
|
+
* @max 999999999.99
|
|
3336
|
+
*/
|
|
3337
|
+
discount?: number | null;
|
|
3338
|
+
/**
|
|
3339
|
+
* Tax applied for shipping
|
|
3340
|
+
* @max 999999999.99
|
|
3341
|
+
*/
|
|
3342
|
+
tax?: number | null;
|
|
3343
|
+
/** Whether tax is included in the price */
|
|
3344
|
+
taxIncludedInPrice?: boolean;
|
|
3345
|
+
/**
|
|
3346
|
+
* Tax rate % for shipping, as a decimal point >= 0
|
|
3347
|
+
* @decimalValue options { maxScale:6, gte:0 }
|
|
3348
|
+
*/
|
|
3349
|
+
taxRate?: string | null;
|
|
3350
|
+
}
|
|
3351
|
+
interface V1PickupDetails {
|
|
3352
|
+
/** Pickup address */
|
|
3353
|
+
address?: PickupAddress;
|
|
3354
|
+
/**
|
|
3355
|
+
* Store owner's pickup instructions
|
|
3356
|
+
* @maxLength 1000
|
|
3357
|
+
*/
|
|
3358
|
+
pickupInstructions?: string | null;
|
|
3359
|
+
}
|
|
3360
|
+
interface PickupAddress {
|
|
3361
|
+
/**
|
|
3362
|
+
* Country code (2 letters)
|
|
3363
|
+
* @format COUNTRY
|
|
3364
|
+
*/
|
|
3365
|
+
country?: string;
|
|
3366
|
+
/**
|
|
3367
|
+
* State/District
|
|
3368
|
+
* @maxLength 50
|
|
3369
|
+
*/
|
|
3370
|
+
subdivision?: string | null;
|
|
3371
|
+
/**
|
|
3372
|
+
* Address
|
|
3373
|
+
* @maxLength 200
|
|
3374
|
+
*/
|
|
3375
|
+
addressLine?: string;
|
|
3376
|
+
/**
|
|
3377
|
+
* City
|
|
3378
|
+
* @maxLength 85
|
|
3379
|
+
*/
|
|
3380
|
+
city?: string;
|
|
3381
|
+
/**
|
|
3382
|
+
* ZIP/postal code
|
|
3383
|
+
* @maxLength 50
|
|
3384
|
+
*/
|
|
3385
|
+
zipCode?: string;
|
|
3386
|
+
}
|
|
3387
|
+
interface AppliedCoupon {
|
|
3388
|
+
/** Coupon ID */
|
|
3389
|
+
couponId?: string;
|
|
3390
|
+
/**
|
|
3391
|
+
* Coupon name
|
|
3392
|
+
* @maxLength 100
|
|
3393
|
+
*/
|
|
3394
|
+
name?: string;
|
|
3395
|
+
/**
|
|
3396
|
+
* Coupon code
|
|
3397
|
+
* @maxLength 100
|
|
3398
|
+
*/
|
|
3399
|
+
code?: string;
|
|
3400
|
+
}
|
|
3401
|
+
/** Custom field */
|
|
3402
|
+
interface V1CustomField {
|
|
3403
|
+
/**
|
|
3404
|
+
* Free text that the customer entered in the custom field during the checkout process
|
|
3405
|
+
* @maxLength 250
|
|
3406
|
+
*/
|
|
3407
|
+
value?: string;
|
|
3408
|
+
/**
|
|
3409
|
+
* Title for the custom field
|
|
3410
|
+
* @maxLength 200
|
|
3411
|
+
*/
|
|
3412
|
+
title?: string;
|
|
3413
|
+
/**
|
|
3414
|
+
* The title translated according to the buyer language
|
|
3415
|
+
* @maxLength 200
|
|
3416
|
+
*/
|
|
3417
|
+
translatedTitle?: string;
|
|
3418
|
+
}
|
|
3419
|
+
interface V1SubscriptionOptionInfo {
|
|
3420
|
+
/** @format GUID */
|
|
3421
|
+
id?: string | null;
|
|
3422
|
+
/**
|
|
3423
|
+
* @minLength 1
|
|
3424
|
+
* @maxLength 20
|
|
3425
|
+
*/
|
|
3426
|
+
title?: string;
|
|
3427
|
+
/** @maxLength 60 */
|
|
3428
|
+
description?: string | null;
|
|
3429
|
+
discount?: Discount;
|
|
3430
|
+
}
|
|
3431
|
+
interface Discount {
|
|
3432
|
+
/** Discount type. */
|
|
3433
|
+
type?: DiscountDiscountTypeWithLiterals;
|
|
3434
|
+
/** Discount value. */
|
|
3435
|
+
value?: number;
|
|
3436
|
+
}
|
|
3437
|
+
declare enum DiscountDiscountType {
|
|
3438
|
+
UNDEFINED = "UNDEFINED",
|
|
3439
|
+
/** No discount */
|
|
3440
|
+
AMOUNT = "AMOUNT",
|
|
3441
|
+
PERCENT = "PERCENT"
|
|
3442
|
+
}
|
|
3443
|
+
/** @enumType */
|
|
3444
|
+
type DiscountDiscountTypeWithLiterals = DiscountDiscountType | 'UNDEFINED' | 'AMOUNT' | 'PERCENT';
|
|
3445
|
+
interface ChannelInfo {
|
|
3446
|
+
/** Sales channel that submitted the subscription */
|
|
3447
|
+
type?: ChannelInfoChannelTypeWithLiterals;
|
|
3448
|
+
}
|
|
3449
|
+
declare enum ChannelInfoChannelType {
|
|
3450
|
+
UNSPECIFIED = "UNSPECIFIED",
|
|
3451
|
+
WEB = "WEB",
|
|
3452
|
+
OTHER_PLATFORM = "OTHER_PLATFORM",
|
|
3453
|
+
WIX_APP_STORE = "WIX_APP_STORE"
|
|
3454
|
+
}
|
|
3455
|
+
/** @enumType */
|
|
3456
|
+
type ChannelInfoChannelTypeWithLiterals = ChannelInfoChannelType | 'UNSPECIFIED' | 'WEB' | 'OTHER_PLATFORM' | 'WIX_APP_STORE';
|
|
3457
|
+
interface V1SubscriptionSettings {
|
|
3458
|
+
/** Frequency of recurring payment. */
|
|
3459
|
+
frequency?: SubscriptionFrequencyWithLiterals;
|
|
3460
|
+
/** Whether subscription is renewed automatically at the end of each period. */
|
|
3461
|
+
autoRenewal?: boolean;
|
|
3462
|
+
/**
|
|
3463
|
+
* Number of billing cycles before subscription ends. Ignored if `autoRenewal: true`.
|
|
3464
|
+
* @min 2
|
|
3465
|
+
* @max 999
|
|
3466
|
+
*/
|
|
3467
|
+
billingCycles?: number | null;
|
|
3468
|
+
}
|
|
3469
|
+
interface BillingInfo {
|
|
3470
|
+
/**
|
|
3471
|
+
* Payment method used for this order
|
|
3472
|
+
* @maxLength 50
|
|
3473
|
+
*/
|
|
3474
|
+
paymentMethod?: string | null;
|
|
3475
|
+
/**
|
|
3476
|
+
* Transaction ID from payment gateway (e.g., Wix Payments)
|
|
3477
|
+
* @maxLength 100
|
|
3478
|
+
*/
|
|
3479
|
+
paymentGatewayTransactionId?: string | null;
|
|
3480
|
+
/**
|
|
3481
|
+
* Order ID from payment gateway (e.g., Wix Payments)
|
|
3482
|
+
* @maxLength 100
|
|
3483
|
+
*/
|
|
3484
|
+
paymentGatewayOrderId?: string | null;
|
|
3485
|
+
}
|
|
3486
|
+
interface Empty {
|
|
3487
|
+
}
|
|
3488
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
3489
|
+
createdEvent?: EntityCreatedEvent;
|
|
3490
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
3491
|
+
deletedEvent?: EntityDeletedEvent;
|
|
3492
|
+
actionEvent?: ActionEvent;
|
|
3493
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
3494
|
+
id?: string;
|
|
3495
|
+
/**
|
|
3496
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
3497
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
3498
|
+
*/
|
|
3499
|
+
entityFqdn?: string;
|
|
3500
|
+
/**
|
|
3501
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
3502
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
3503
|
+
*/
|
|
3504
|
+
slug?: string;
|
|
3505
|
+
/** ID of the entity associated with the event. */
|
|
3506
|
+
entityId?: string;
|
|
3507
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
3508
|
+
eventTime?: Date | null;
|
|
3509
|
+
/**
|
|
3510
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
3511
|
+
* (for example, GDPR).
|
|
3512
|
+
*/
|
|
3513
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
3514
|
+
/** If present, indicates the action that triggered the event. */
|
|
3515
|
+
originatedFrom?: string | null;
|
|
3516
|
+
/**
|
|
3517
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
3518
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
3519
|
+
*/
|
|
3520
|
+
entityEventSequence?: string | null;
|
|
3521
|
+
}
|
|
3522
|
+
/** @oneof */
|
|
3523
|
+
interface DomainEventBodyOneOf {
|
|
3524
|
+
createdEvent?: EntityCreatedEvent;
|
|
3525
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
3526
|
+
deletedEvent?: EntityDeletedEvent;
|
|
3527
|
+
actionEvent?: ActionEvent;
|
|
3528
|
+
}
|
|
3529
|
+
interface EntityCreatedEvent {
|
|
3530
|
+
entityAsJson?: string;
|
|
3531
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
3532
|
+
restoreInfo?: RestoreInfo;
|
|
3533
|
+
}
|
|
3534
|
+
interface RestoreInfo {
|
|
3535
|
+
deletedDate?: Date | null;
|
|
3536
|
+
}
|
|
3537
|
+
interface EntityUpdatedEvent {
|
|
3538
|
+
/**
|
|
3539
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
3540
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
3541
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
3542
|
+
*/
|
|
3543
|
+
currentEntityAsJson?: string;
|
|
3544
|
+
}
|
|
3545
|
+
interface EntityDeletedEvent {
|
|
3546
|
+
/** Entity that was deleted. */
|
|
3547
|
+
deletedEntityAsJson?: string | null;
|
|
3548
|
+
}
|
|
3549
|
+
interface ActionEvent {
|
|
3550
|
+
bodyAsJson?: string;
|
|
3551
|
+
}
|
|
3552
|
+
interface MessageEnvelope {
|
|
3553
|
+
/**
|
|
3554
|
+
* App instance ID.
|
|
3555
|
+
* @format GUID
|
|
3556
|
+
*/
|
|
3557
|
+
instanceId?: string | null;
|
|
3558
|
+
/**
|
|
3559
|
+
* Event type.
|
|
3560
|
+
* @maxLength 150
|
|
3561
|
+
*/
|
|
3562
|
+
eventType?: string;
|
|
3563
|
+
/** The identification type and identity data. */
|
|
3564
|
+
identity?: IdentificationData;
|
|
3565
|
+
/** Stringify payload. */
|
|
3566
|
+
data?: string;
|
|
3567
|
+
}
|
|
3568
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
3569
|
+
/**
|
|
3570
|
+
* ID of a site visitor that has not logged in to the site.
|
|
3571
|
+
* @format GUID
|
|
3572
|
+
*/
|
|
3573
|
+
anonymousVisitorId?: string;
|
|
3574
|
+
/**
|
|
3575
|
+
* ID of a site visitor that has logged in to the site.
|
|
3576
|
+
* @format GUID
|
|
3577
|
+
*/
|
|
3578
|
+
memberId?: string;
|
|
3579
|
+
/**
|
|
3580
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
3581
|
+
* @format GUID
|
|
3582
|
+
*/
|
|
3583
|
+
wixUserId?: string;
|
|
3584
|
+
/**
|
|
3585
|
+
* ID of an app.
|
|
3586
|
+
* @format GUID
|
|
3587
|
+
*/
|
|
3588
|
+
appId?: string;
|
|
3589
|
+
/** @readonly */
|
|
3590
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
3591
|
+
}
|
|
3592
|
+
/** @oneof */
|
|
3593
|
+
interface IdentificationDataIdOneOf {
|
|
3594
|
+
/**
|
|
3595
|
+
* ID of a site visitor that has not logged in to the site.
|
|
3596
|
+
* @format GUID
|
|
3597
|
+
*/
|
|
3598
|
+
anonymousVisitorId?: string;
|
|
3599
|
+
/**
|
|
3600
|
+
* ID of a site visitor that has logged in to the site.
|
|
3601
|
+
* @format GUID
|
|
3602
|
+
*/
|
|
3603
|
+
memberId?: string;
|
|
3604
|
+
/**
|
|
3605
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
3606
|
+
* @format GUID
|
|
3607
|
+
*/
|
|
3608
|
+
wixUserId?: string;
|
|
3609
|
+
/**
|
|
3610
|
+
* ID of an app.
|
|
3611
|
+
* @format GUID
|
|
3612
|
+
*/
|
|
3613
|
+
appId?: string;
|
|
3614
|
+
}
|
|
3615
|
+
declare enum WebhookIdentityType {
|
|
3616
|
+
UNKNOWN = "UNKNOWN",
|
|
3617
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
3618
|
+
MEMBER = "MEMBER",
|
|
3619
|
+
WIX_USER = "WIX_USER",
|
|
3620
|
+
APP = "APP"
|
|
3621
|
+
}
|
|
3622
|
+
/** @enumType */
|
|
3623
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
3624
|
+
/** @docsIgnore */
|
|
3625
|
+
type CreateCheckoutApplicationErrors = {
|
|
3626
|
+
code?: 'SELECTED_CARRIER_SERVICE_OPTION_NOT_FOUND';
|
|
3627
|
+
description?: string;
|
|
3628
|
+
data?: ShippingCalculationErrorData;
|
|
3629
|
+
} | {
|
|
3630
|
+
code?: 'INVALID_SELECTED_CARRIER_SERVICE_OPTION';
|
|
3631
|
+
description?: string;
|
|
3632
|
+
data?: Record<string, any>;
|
|
3633
|
+
} | {
|
|
3634
|
+
code?: 'GIFT_CARD_NOT_FOUND';
|
|
3635
|
+
description?: string;
|
|
3636
|
+
data?: Record<string, any>;
|
|
3637
|
+
} | {
|
|
3638
|
+
code?: 'GIFT_CARD_CODE_INVALID';
|
|
3639
|
+
description?: string;
|
|
3640
|
+
data?: Record<string, any>;
|
|
3641
|
+
} | {
|
|
3642
|
+
code?: 'GIFT_CARD_IS_EMPTY';
|
|
3643
|
+
description?: string;
|
|
3644
|
+
data?: Record<string, any>;
|
|
3645
|
+
} | {
|
|
3646
|
+
code?: 'GIFT_CARD_DISABLED';
|
|
3647
|
+
description?: string;
|
|
3648
|
+
data?: Record<string, any>;
|
|
3649
|
+
} | {
|
|
3650
|
+
code?: 'GIFT_CARD_EXPIRED';
|
|
3651
|
+
description?: string;
|
|
3652
|
+
data?: Record<string, any>;
|
|
3653
|
+
} | {
|
|
3654
|
+
code?: 'ERROR_COUPON_USAGE_EXCEEDED';
|
|
3655
|
+
description?: string;
|
|
3656
|
+
data?: Record<string, any>;
|
|
3657
|
+
} | {
|
|
3658
|
+
code?: 'ERROR_COUPON_LIMIT_PER_CUSTOMER_EXCEEDED';
|
|
3659
|
+
description?: string;
|
|
3660
|
+
data?: Record<string, any>;
|
|
3661
|
+
} | {
|
|
3662
|
+
code?: 'ERROR_COUPON_IS_NOT_ACTIVE_YET';
|
|
3663
|
+
description?: string;
|
|
3664
|
+
data?: Record<string, any>;
|
|
3665
|
+
} | {
|
|
3666
|
+
code?: 'ERROR_COUPON_HAS_EXPIRED';
|
|
3667
|
+
description?: string;
|
|
3668
|
+
data?: Record<string, any>;
|
|
3669
|
+
} | {
|
|
3670
|
+
code?: 'ERROR_COUPON_DOES_NOT_EXIST';
|
|
3671
|
+
description?: string;
|
|
3672
|
+
data?: Record<string, any>;
|
|
3673
|
+
} | {
|
|
3674
|
+
code?: 'SITE_MUST_ACCEPT_PAYMENTS';
|
|
3675
|
+
description?: string;
|
|
3676
|
+
data?: Record<string, any>;
|
|
3677
|
+
};
|
|
3678
|
+
/** @docsIgnore */
|
|
3679
|
+
type UpdateCheckoutApplicationErrors = {
|
|
3680
|
+
code?: 'SELECTED_CARRIER_SERVICE_OPTION_NOT_FOUND';
|
|
3681
|
+
description?: string;
|
|
3682
|
+
data?: ShippingCalculationErrorData;
|
|
3683
|
+
} | {
|
|
3684
|
+
code?: 'INVALID_SELECTED_CARRIER_SERVICE_OPTION';
|
|
3685
|
+
description?: string;
|
|
3686
|
+
data?: Record<string, any>;
|
|
3687
|
+
} | {
|
|
3688
|
+
code?: 'GIFT_CARD_NOT_FOUND';
|
|
3689
|
+
description?: string;
|
|
3690
|
+
data?: Record<string, any>;
|
|
3691
|
+
} | {
|
|
3692
|
+
code?: 'GIFT_CARD_CODE_INVALID';
|
|
3693
|
+
description?: string;
|
|
3694
|
+
data?: Record<string, any>;
|
|
3695
|
+
} | {
|
|
3696
|
+
code?: 'GIFT_CARD_IS_EMPTY';
|
|
3697
|
+
description?: string;
|
|
3698
|
+
data?: Record<string, any>;
|
|
3699
|
+
} | {
|
|
3700
|
+
code?: 'GIFT_CARD_DISABLED';
|
|
3701
|
+
description?: string;
|
|
3702
|
+
data?: Record<string, any>;
|
|
3703
|
+
} | {
|
|
3704
|
+
code?: 'GIFT_CARD_EXPIRED';
|
|
3705
|
+
description?: string;
|
|
3706
|
+
data?: Record<string, any>;
|
|
3707
|
+
} | {
|
|
3708
|
+
code?: 'ERROR_COUPON_USAGE_EXCEEDED';
|
|
3709
|
+
description?: string;
|
|
3710
|
+
data?: Record<string, any>;
|
|
3711
|
+
} | {
|
|
3712
|
+
code?: 'ERROR_COUPON_LIMIT_PER_CUSTOMER_EXCEEDED';
|
|
3713
|
+
description?: string;
|
|
3714
|
+
data?: Record<string, any>;
|
|
3715
|
+
} | {
|
|
3716
|
+
code?: 'ERROR_COUPON_IS_NOT_ACTIVE_YET';
|
|
3717
|
+
description?: string;
|
|
3718
|
+
data?: Record<string, any>;
|
|
3719
|
+
} | {
|
|
3720
|
+
code?: 'ERROR_COUPON_HAS_EXPIRED';
|
|
3721
|
+
description?: string;
|
|
3722
|
+
data?: Record<string, any>;
|
|
3723
|
+
} | {
|
|
3724
|
+
code?: 'ERROR_COUPON_DOES_NOT_EXIST';
|
|
3725
|
+
description?: string;
|
|
3726
|
+
data?: Record<string, any>;
|
|
3727
|
+
};
|
|
3728
|
+
/** @docsIgnore */
|
|
3729
|
+
type AddToCheckoutApplicationErrors = {
|
|
3730
|
+
code?: 'CHECKOUT_IS_COMPLETE';
|
|
3731
|
+
description?: string;
|
|
3732
|
+
data?: Record<string, any>;
|
|
3733
|
+
};
|
|
3734
|
+
/** @docsIgnore */
|
|
3735
|
+
type CreateOrderApplicationErrors = {
|
|
3736
|
+
code?: 'PAYMENT_ERROR';
|
|
3737
|
+
description?: string;
|
|
3738
|
+
data?: PaymentErrorResponseData;
|
|
3739
|
+
} | {
|
|
3740
|
+
code?: 'PAYMENT_PROVIDER_IS_NOT_AVAILABLE_ON_SITE';
|
|
3741
|
+
description?: string;
|
|
3742
|
+
data?: Record<string, any>;
|
|
3743
|
+
} | {
|
|
3744
|
+
code?: 'SITE_NOT_ACCEPTING_PAYMENTS';
|
|
3745
|
+
description?: string;
|
|
3746
|
+
data?: Record<string, any>;
|
|
3747
|
+
} | {
|
|
3748
|
+
code?: 'CHECKOUT_ALREADY_PAID';
|
|
3749
|
+
description?: string;
|
|
3750
|
+
data?: DoublePaymentErrorData;
|
|
3751
|
+
} | {
|
|
3752
|
+
code?: 'CHECKOUT_PAYMENT_ALREADY_IN_PROGRESS';
|
|
3753
|
+
description?: string;
|
|
3754
|
+
data?: DoublePaymentErrorData;
|
|
3755
|
+
} | {
|
|
3756
|
+
code?: 'CALCULATION_ERROR';
|
|
3757
|
+
description?: string;
|
|
3758
|
+
data?: CalculationErrors;
|
|
3759
|
+
} | {
|
|
3760
|
+
code?: 'REDEEM_GIFT_CARD_ERROR';
|
|
3761
|
+
description?: string;
|
|
3762
|
+
data?: RedeemErrorData;
|
|
3763
|
+
} | {
|
|
3764
|
+
code?: 'PARTIAL_OUT_OF_STOCK';
|
|
3765
|
+
description?: string;
|
|
3766
|
+
data?: Record<string, any>;
|
|
3767
|
+
} | {
|
|
3768
|
+
code?: 'FULL_OUT_OF_STOCK';
|
|
3769
|
+
description?: string;
|
|
3770
|
+
data?: Record<string, any>;
|
|
3771
|
+
} | {
|
|
3772
|
+
code?: 'EMPTY_CHECKOUT';
|
|
3773
|
+
description?: string;
|
|
3774
|
+
data?: Record<string, any>;
|
|
3775
|
+
} | {
|
|
3776
|
+
code?: 'CHECKOUT_CHANGED';
|
|
3777
|
+
description?: string;
|
|
3778
|
+
data?: Record<string, any>;
|
|
3779
|
+
} | {
|
|
3780
|
+
code?: 'SUBSCRIPTION_WITH_ZERO_TOTAL';
|
|
3781
|
+
description?: string;
|
|
3782
|
+
data?: Record<string, any>;
|
|
3783
|
+
} | {
|
|
3784
|
+
code?: 'SUBSCRIPTION_WITH_SEVERAL_LINE_ITEMS';
|
|
3785
|
+
description?: string;
|
|
3786
|
+
data?: Record<string, any>;
|
|
3787
|
+
} | {
|
|
3788
|
+
code?: 'SUBSCRIPTION_WITH_GIFT_CARD';
|
|
3789
|
+
description?: string;
|
|
3790
|
+
data?: Record<string, any>;
|
|
3791
|
+
} | {
|
|
3792
|
+
code?: 'NO_SELECTED_CARRIER_SERVICE_OPTION';
|
|
3793
|
+
description?: string;
|
|
3794
|
+
data?: Record<string, any>;
|
|
3795
|
+
} | {
|
|
3796
|
+
code?: 'VIOLATIONS_WITH_ERROR_SEVERITY';
|
|
3797
|
+
description?: string;
|
|
3798
|
+
data?: ViolationsList;
|
|
3799
|
+
} | {
|
|
3800
|
+
code?: 'FAILED_TO_RETRIEVE_VALIDATIONS_VIOLATIONS';
|
|
3801
|
+
description?: string;
|
|
3802
|
+
data?: Record<string, any>;
|
|
3803
|
+
} | {
|
|
3804
|
+
code?: 'NO_SAVE_PAYMENT_METHOD_CONFIRMATION';
|
|
3805
|
+
description?: string;
|
|
3806
|
+
data?: Record<string, any>;
|
|
3807
|
+
} | {
|
|
3808
|
+
code?: 'SELECTED_CARRIER_SERVICE_OPTION_NO_LONGER_AVAILABLE';
|
|
3809
|
+
description?: string;
|
|
3810
|
+
data?: Record<string, any>;
|
|
3811
|
+
} | {
|
|
3812
|
+
code?: 'MEMBERS_ONLY_ITEM';
|
|
3813
|
+
description?: string;
|
|
3814
|
+
data?: Record<string, any>;
|
|
3815
|
+
} | {
|
|
3816
|
+
code?: 'GIFT_CARD_CANNOT_BE_USED_TO_PURCHASE_GIFT_CARD';
|
|
3817
|
+
description?: string;
|
|
3818
|
+
data?: Record<string, any>;
|
|
3819
|
+
} | {
|
|
3820
|
+
code?: 'COUPON_CANNOT_BE_USED_TO_PURCHASE_GIFT_CARD';
|
|
3821
|
+
description?: string;
|
|
3822
|
+
data?: Record<string, any>;
|
|
3823
|
+
};
|
|
3824
|
+
/** @docsIgnore */
|
|
3825
|
+
type CreateOrderAndChargeApplicationErrors = {
|
|
3826
|
+
code?: 'PAYMENT_ERROR';
|
|
3827
|
+
description?: string;
|
|
3828
|
+
data?: PaymentErrorResponseData;
|
|
3829
|
+
} | {
|
|
3830
|
+
code?: 'PAYMENT_PROVIDER_IS_NOT_AVAILABLE_ON_SITE';
|
|
3831
|
+
description?: string;
|
|
3832
|
+
data?: Record<string, any>;
|
|
3833
|
+
} | {
|
|
3834
|
+
code?: 'SITE_NOT_ACCEPTING_PAYMENTS';
|
|
3835
|
+
description?: string;
|
|
3836
|
+
data?: Record<string, any>;
|
|
3837
|
+
} | {
|
|
3838
|
+
code?: 'CHECKOUT_ALREADY_PAID';
|
|
3839
|
+
description?: string;
|
|
3840
|
+
data?: DoublePaymentErrorData;
|
|
3841
|
+
} | {
|
|
3842
|
+
code?: 'CHECKOUT_PAYMENT_ALREADY_IN_PROGRESS';
|
|
3843
|
+
description?: string;
|
|
3844
|
+
data?: DoublePaymentErrorData;
|
|
3845
|
+
} | {
|
|
3846
|
+
code?: 'CALCULATION_ERROR';
|
|
3847
|
+
description?: string;
|
|
3848
|
+
data?: CalculationErrors;
|
|
3849
|
+
} | {
|
|
3850
|
+
code?: 'REDEEM_GIFT_CARD_ERROR';
|
|
3851
|
+
description?: string;
|
|
3852
|
+
data?: RedeemErrorData;
|
|
3853
|
+
} | {
|
|
3854
|
+
code?: 'PARTIAL_OUT_OF_STOCK';
|
|
3855
|
+
description?: string;
|
|
3856
|
+
data?: Record<string, any>;
|
|
3857
|
+
} | {
|
|
3858
|
+
code?: 'FULL_OUT_OF_STOCK';
|
|
3859
|
+
description?: string;
|
|
3860
|
+
data?: Record<string, any>;
|
|
3861
|
+
} | {
|
|
3862
|
+
code?: 'EMPTY_CHECKOUT';
|
|
3863
|
+
description?: string;
|
|
3864
|
+
data?: Record<string, any>;
|
|
3865
|
+
} | {
|
|
3866
|
+
code?: 'CHECKOUT_CHANGED';
|
|
3867
|
+
description?: string;
|
|
3868
|
+
data?: Record<string, any>;
|
|
3869
|
+
} | {
|
|
3870
|
+
code?: 'SUBSCRIPTION_WITH_ZERO_TOTAL';
|
|
3871
|
+
description?: string;
|
|
3872
|
+
data?: Record<string, any>;
|
|
3873
|
+
} | {
|
|
3874
|
+
code?: 'SUBSCRIPTION_WITH_SEVERAL_LINE_ITEMS';
|
|
3875
|
+
description?: string;
|
|
3876
|
+
data?: Record<string, any>;
|
|
3877
|
+
} | {
|
|
3878
|
+
code?: 'SUBSCRIPTION_WITH_GIFT_CARD';
|
|
3879
|
+
description?: string;
|
|
3880
|
+
data?: Record<string, any>;
|
|
3881
|
+
} | {
|
|
3882
|
+
code?: 'NO_SELECTED_CARRIER_SERVICE_OPTION';
|
|
3883
|
+
description?: string;
|
|
3884
|
+
data?: Record<string, any>;
|
|
3885
|
+
} | {
|
|
3886
|
+
code?: 'NO_SAVE_PAYMENT_METHOD_CONFIRMATION';
|
|
3887
|
+
description?: string;
|
|
3888
|
+
data?: Record<string, any>;
|
|
3889
|
+
} | {
|
|
3890
|
+
code?: 'SELECTED_CARRIER_SERVICE_OPTION_NO_LONGER_AVAILABLE';
|
|
3891
|
+
description?: string;
|
|
3892
|
+
data?: Record<string, any>;
|
|
3893
|
+
} | {
|
|
3894
|
+
code?: 'MEMBERS_ONLY_ITEM';
|
|
3895
|
+
description?: string;
|
|
3896
|
+
data?: Record<string, any>;
|
|
3897
|
+
} | {
|
|
3898
|
+
code?: 'GIFT_CARD_CANNOT_BE_USED_TO_PURCHASE_GIFT_CARD';
|
|
3899
|
+
description?: string;
|
|
3900
|
+
data?: Record<string, any>;
|
|
3901
|
+
} | {
|
|
3902
|
+
code?: 'COUPON_CANNOT_BE_USED_TO_PURCHASE_GIFT_CARD';
|
|
3903
|
+
description?: string;
|
|
3904
|
+
data?: Record<string, any>;
|
|
3905
|
+
};
|
|
3906
|
+
/** @docsIgnore */
|
|
3907
|
+
type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors = {
|
|
3908
|
+
code?: 'UNAUTHENTICATED_TOKEN';
|
|
3909
|
+
description?: string;
|
|
3910
|
+
data?: Record<string, any>;
|
|
3911
|
+
};
|
|
2587
3912
|
|
|
2588
3913
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2589
3914
|
getUrl: (context: any) => string;
|
|
@@ -2643,4 +3968,4 @@ declare function getCheckoutPaymentSettings(): __PublicMethodMetaInfo<'GET', {
|
|
|
2643
3968
|
id: string;
|
|
2644
3969
|
}, GetCheckoutPaymentSettingsRequest$1, GetCheckoutPaymentSettingsRequest, GetCheckoutPaymentSettingsResponse$1, GetCheckoutPaymentSettingsResponse>;
|
|
2645
3970
|
|
|
2646
|
-
export { type __PublicMethodMetaInfo, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutPaymentSettings, getCheckoutUrl, getWixCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|
|
3971
|
+
export { type ActionEvent as ActionEventOriginal, type AddToCheckoutApplicationErrors as AddToCheckoutApplicationErrorsOriginal, type AddToCheckoutRequest as AddToCheckoutRequestOriginal, type AddToCheckoutResponse as AddToCheckoutResponseOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOfOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApiAddress as ApiAddressOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedCoupon as AppliedCouponOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, type BillingInfo as BillingInfoOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, 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 CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelInfoChannelType as ChannelInfoChannelTypeOriginal, type ChannelInfoChannelTypeWithLiterals as ChannelInfoChannelTypeWithLiteralsOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type ChargeDetails as ChargeDetailsOriginal, type Charge as ChargeOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type CheckoutMarkedAsCompleted as CheckoutMarkedAsCompletedOriginal, type Checkout as CheckoutOriginal, type Color as ColorOriginal, type CommonImage as CommonImageOriginal, type CommonVatId as CommonVatIdOriginal, CommonVatType as CommonVatTypeOriginal, type CommonVatTypeWithLiterals as CommonVatTypeWithLiteralsOriginal, type ConversionInfo as ConversionInfoOriginal, type Coupon as CouponOriginal, type CreateCheckoutApplicationErrors as CreateCheckoutApplicationErrorsOriginal, type CreateCheckoutRequest as CreateCheckoutRequestOriginal, type CreateCheckoutResponse as CreateCheckoutResponseOriginal, type CreateOrderAndChargeApplicationErrors as CreateOrderAndChargeApplicationErrorsOriginal, type CreateOrderAndChargeRequest as CreateOrderAndChargeRequestOriginal, type CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOfOriginal, type CreateOrderAndChargeResponse as CreateOrderAndChargeResponseOriginal, type CreateOrderApplicationErrors as CreateOrderApplicationErrorsOriginal, type CreateOrderRequest as CreateOrderRequestOriginal, type CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOfOriginal, type CreateOrderResponse as CreateOrderResponseOriginal, type CreatedByIdOneOf as CreatedByIdOneOfOriginal, type CreatedBy as CreatedByOriginal, type CustomContentReference as CustomContentReferenceOriginal, type CustomField as CustomFieldOriginal, type CustomLineItem as CustomLineItemOriginal, type CustomSettings as CustomSettingsOriginal, type CustomTextFieldSelection as CustomTextFieldSelectionOriginal, type DeleteCheckoutRequest as DeleteCheckoutRequestOriginal, type DeleteCheckoutResponse as DeleteCheckoutResponseOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, 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, DiscountDiscountType as DiscountDiscountTypeOriginal, type DiscountDiscountTypeWithLiterals as DiscountDiscountTypeWithLiteralsOriginal, type Discount as DiscountOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOfOriginal, type DoublePaymentErrorData as DoublePaymentErrorDataOriginal, 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 FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type FullName as FullNameOriginal, type GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequestOriginal, type GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponseOriginal, type GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequestOriginal, type GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponseOriginal, GetCheckoutPaymentSettingsResponsePaymentOption as GetCheckoutPaymentSettingsResponsePaymentOptionOriginal, type GetCheckoutPaymentSettingsResponsePaymentOptionWithLiterals as GetCheckoutPaymentSettingsResponsePaymentOptionWithLiteralsOriginal, type GetCheckoutRequest as GetCheckoutRequestOriginal, type GetCheckoutResponse as GetCheckoutResponseOriginal, type GetCheckoutURLRequest as GetCheckoutURLRequestOriginal, type GetCheckoutURLResponse as GetCheckoutURLResponseOriginal, type GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequestOriginal, type GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponseOriginal, type GetWixCheckoutURLRequest as GetWixCheckoutURLRequestOriginal, type GetWixCheckoutURLResponse as GetWixCheckoutURLResponseOriginal, type GiftCard as GiftCardOriginal, type Group as GroupOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type Image as ImageOriginal, type InvalidMembership as InvalidMembershipOriginal, type ItemAvailabilityInfo as ItemAvailabilityInfoOriginal, ItemAvailabilityStatus as ItemAvailabilityStatusOriginal, type ItemAvailabilityStatusWithLiterals as ItemAvailabilityStatusWithLiteralsOriginal, type ItemModifier as ItemModifierOriginal, 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 LineItemDiscount as LineItemDiscountOriginal, type LineItem as LineItemOriginal, type LineItemQuantityUpdate as LineItemQuantityUpdateOriginal, LineItemType as LineItemTypeOriginal, type LineItemTypeWithLiterals as LineItemTypeWithLiteralsOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors as MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrorsOriginal, type MarkCheckoutAsCompletedAndRedirectToUrlRequest as MarkCheckoutAsCompletedAndRedirectToUrlRequestOriginal, type MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequestOriginal, type MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponseOriginal, type MediaItem as MediaItemOriginal, MediaItemType as MediaItemTypeOriginal, type MediaItemTypeWithLiterals as MediaItemTypeWithLiteralsOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscountInput as MerchantDiscountInputOriginal, 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 OptionSelection as OptionSelectionOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentErrorResponseData as PaymentErrorResponseDataOriginal, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type ProductDetails as ProductDetailsOriginal, type ProductName as ProductNameOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type RawHttpResponse as RawHttpResponseOriginal, type RedeemErrorData as RedeemErrorDataOriginal, type Region as RegionOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveGiftCardRequest as RemoveGiftCardRequestOriginal, type RemoveGiftCardResponse as RemoveGiftCardResponseOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, type RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequestOriginal, type RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponseOriginal, 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 SelectedMemberships as SelectedMembershipsOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShipmentDetails as ShipmentDetailsOriginal, type ShippingCalculationErrorData as ShippingCalculationErrorDataOriginal, type ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOfOriginal, type ShippingInfo as ShippingInfoOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, type StoreSettings as StoreSettingsOriginal, type StreetAddress as StreetAddressOriginal, type Street as StreetOriginal, type SubscriptionCharges as SubscriptionChargesOriginal, type SubscriptionCreated as SubscriptionCreatedOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type Subscription as SubscriptionOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type TargetLineItem as TargetLineItemOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, 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 Totals as TotalsOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCheckoutApplicationErrors as UpdateCheckoutApplicationErrorsOriginal, type UpdateCheckoutRequest as UpdateCheckoutRequestOriginal, type UpdateCheckoutResponse as UpdateCheckoutResponseOriginal, type UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequestOriginal, type UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponseOriginal, type UpdatedCheckoutMessage as UpdatedCheckoutMessageOriginal, type V1BuyerInfo as V1BuyerInfoOriginal, type V1CustomField as V1CustomFieldOriginal, type V1ItemModifier as V1ItemModifierOriginal, type V1LineItem as V1LineItemOriginal, type V1ModifierGroup as V1ModifierGroupOriginal, type V1PickupDetails as V1PickupDetailsOriginal, type V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOfOriginal, type V1ShippingInfo as V1ShippingInfoOriginal, type V1SubscriptionOptionInfo as V1SubscriptionOptionInfoOriginal, type V1SubscriptionSettings as V1SubscriptionSettingsOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, type ViolationsList as ViolationsListOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutPaymentSettings, getCheckoutUrl, getWixCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|