@wix/himalaya-cli 0.2003.0 → 0.2005.0
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/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
- package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
- package/dist/cli.mjs +541 -7
- package/guides/importable-sdks.md +1 -0
- package/guides/sdk-reference.json +15672 -8927
- package/guides/wix-api-usage.md +28 -0
- package/package.json +2 -2
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressWithContact, BuyerInfo, CalculationErrors, CarrierServiceOption, CatalogReference, CommonImage, CreatedBy, CustomContentReference, CustomField, DescriptionLine, DiscountRuleName, ExtendedFields, ExternalReference, GetCheckoutURLResponse, GiftCard, InvalidMembership, ItemAvailabilityInfo, ItemTaxFullDetails, ItemType, Membership, MultiCurrencyPrice, PageUrlV2, PaymentOption, PhysicalProperties, Policy, PriceDescription, PriceSummary, ProductName, RawHttpResponse, RemoveCouponRequest, RemoveLineItemsRequest, SelectedCarrierServiceOption, SelectedMembership, ServiceProperties, ShippingRegion, SubscriptionOptionInfo, TaxSummary, TaxableAddress, TranslatableString, UpdateLineItemsQuantityRequest, V1ModifierGroup, Violation } from "../_shared/types.generated.js";
|
|
3
|
+
export type { Address, AddressLocation, AddressWithContact, ApplicableLineItems, ApplicationError, AutoTaxFallbackCalculationDetails, BuyerInfo, CalculationErrors, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogReference, Color, CommonImage, CreatedBy, CustomContentReference, CustomField, DeliveryAllocation, DeliveryLogistics, Description, DescriptionLine, DescriptionLineName, Details, DiscountRuleName, ExtendedFields, ExternalReference, FieldViolation, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutURLResponse, GiftCard, HeadersEntry, InvalidMembership, ItemAvailabilityInfo, ItemTaxFullDetails, ItemType, LineItemQuantityUpdate, Membership, MembershipName, MembershipPaymentCredits, MultiCurrencyPrice, Other, OtherCharge, PageUrlV2, PaymentOption, PhysicalProperties, PickupDetails, PlainTextValue, Policy, PriceDescription, PriceSummary, ProductName, RawHttpResponse, Region, RemoveCouponRequest, RemoveLineItemsRequest, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, ServiceProperties, ShippingOption, ShippingPrice, ShippingRegion, StreetAddress, SubscriptionOptionInfo, SubscriptionSettings, SystemError, Target, TargetLineItem, TaxBreakdown, TaxCalculationDetails, TaxRateBreakdown, TaxSummary, TaxableAddress, Title, TranslatableString, UpdateLineItemsQuantityRequest, V1ItemModifier, V1ModifierGroup, ValidationError, VatId, Violation } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AddToCheckoutRequest {
|
|
6
|
+
id?: string;
|
|
7
|
+
lineItems?: LineItem[];
|
|
8
|
+
customLineItems?: CustomLineItem[];
|
|
9
|
+
}
|
|
10
|
+
export interface AddToCheckoutResponse {
|
|
11
|
+
checkout?: Checkout;
|
|
12
|
+
}
|
|
13
|
+
export interface AdditionalFee {
|
|
14
|
+
code?: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
price?: MultiCurrencyPrice;
|
|
17
|
+
taxDetails?: ItemTaxFullDetails;
|
|
18
|
+
providerAppId?: string;
|
|
19
|
+
priceBeforeTax?: MultiCurrencyPrice;
|
|
20
|
+
priceAfterTax?: MultiCurrencyPrice;
|
|
21
|
+
lineItemIds?: string[];
|
|
22
|
+
source?: string;
|
|
23
|
+
translatedName?: string;
|
|
24
|
+
taxableAddress?: TaxableAddress;
|
|
25
|
+
}
|
|
26
|
+
export interface AppliedDiscount {
|
|
27
|
+
coupon?: Coupon;
|
|
28
|
+
merchantDiscount?: MerchantDiscount;
|
|
29
|
+
discountRule?: DiscountRule;
|
|
30
|
+
discountType?: string;
|
|
31
|
+
lineItemIds?: string[];
|
|
32
|
+
}
|
|
33
|
+
export interface CatalogOverrideFields {
|
|
34
|
+
productName?: ProductName;
|
|
35
|
+
price?: string;
|
|
36
|
+
fullPrice?: string;
|
|
37
|
+
descriptionLines?: DescriptionLine[];
|
|
38
|
+
physicalProperties?: PhysicalProperties;
|
|
39
|
+
image?: Image;
|
|
40
|
+
paymentOption?: PaymentOption;
|
|
41
|
+
depositAmount?: string;
|
|
42
|
+
savePaymentMethod?: boolean;
|
|
43
|
+
inventoryAppId?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface Checkout {
|
|
46
|
+
id?: string;
|
|
47
|
+
lineItems?: LineItem[];
|
|
48
|
+
billingInfo?: AddressWithContact;
|
|
49
|
+
shippingInfo?: ShippingInfo;
|
|
50
|
+
buyerNote?: string;
|
|
51
|
+
buyerInfo?: BuyerInfo;
|
|
52
|
+
conversionCurrency?: string;
|
|
53
|
+
priceSummary?: PriceSummary;
|
|
54
|
+
calculationErrors?: CalculationErrors;
|
|
55
|
+
giftCard?: GiftCard;
|
|
56
|
+
appliedDiscounts?: AppliedDiscount[];
|
|
57
|
+
customFields?: CustomField[];
|
|
58
|
+
weightUnit?: string;
|
|
59
|
+
taxSummary?: TaxSummary;
|
|
60
|
+
currency?: string;
|
|
61
|
+
channelType?: string;
|
|
62
|
+
siteLanguage?: string;
|
|
63
|
+
buyerLanguage?: string;
|
|
64
|
+
completed?: boolean;
|
|
65
|
+
taxIncludedInPrice?: boolean;
|
|
66
|
+
createdBy?: CreatedBy;
|
|
67
|
+
createdDate?: string;
|
|
68
|
+
updatedDate?: string;
|
|
69
|
+
payNow?: PriceSummary;
|
|
70
|
+
payLater?: PriceSummary;
|
|
71
|
+
membershipOptions?: MembershipOptions;
|
|
72
|
+
additionalFees?: AdditionalFee[];
|
|
73
|
+
cartId?: string;
|
|
74
|
+
violations?: Violation[];
|
|
75
|
+
extendedFields?: ExtendedFields;
|
|
76
|
+
purchaseFlowId?: string;
|
|
77
|
+
customSettings?: CustomSettings;
|
|
78
|
+
customContentReference?: CustomContentReference;
|
|
79
|
+
externalReference?: ExternalReference;
|
|
80
|
+
payAfterFreeTrial?: PriceSummary;
|
|
81
|
+
businessLocationId?: string;
|
|
82
|
+
paymentCurrency?: string;
|
|
83
|
+
taxExemptGroupId?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface Coupon {
|
|
86
|
+
id?: string;
|
|
87
|
+
code?: string;
|
|
88
|
+
amount?: MultiCurrencyPrice;
|
|
89
|
+
name?: string;
|
|
90
|
+
}
|
|
91
|
+
export interface CreateCheckoutRequest {
|
|
92
|
+
checkoutInfo?: Checkout;
|
|
93
|
+
couponCode?: string;
|
|
94
|
+
lineItems?: LineItem[];
|
|
95
|
+
customLineItems?: CustomLineItem[];
|
|
96
|
+
channelType?: string;
|
|
97
|
+
giftCardCode?: string;
|
|
98
|
+
overrideCheckoutUrl?: string;
|
|
99
|
+
giftCardRedeemAmount?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface CreateCheckoutResponse {
|
|
102
|
+
checkout?: Checkout;
|
|
103
|
+
}
|
|
104
|
+
export interface CreateOrderAndChargeRequest {
|
|
105
|
+
id?: string;
|
|
106
|
+
paymentToken?: string;
|
|
107
|
+
savePaymentMethod?: boolean;
|
|
108
|
+
delayCapture?: boolean;
|
|
109
|
+
}
|
|
110
|
+
export interface CreateOrderAndChargeResponse {
|
|
111
|
+
orderId?: string;
|
|
112
|
+
subscriptionId?: string;
|
|
113
|
+
paymentResponseToken?: string;
|
|
114
|
+
paymentGatewayOrderId?: string;
|
|
115
|
+
}
|
|
116
|
+
export interface CreateOrderRequest {
|
|
117
|
+
id?: string;
|
|
118
|
+
savePaymentMethod?: boolean;
|
|
119
|
+
delayCapture?: boolean;
|
|
120
|
+
}
|
|
121
|
+
export interface CreateOrderResponse {
|
|
122
|
+
orderId?: string;
|
|
123
|
+
subscriptionId?: string;
|
|
124
|
+
paymentGatewayOrderId?: string;
|
|
125
|
+
}
|
|
126
|
+
export interface CustomLineItem {
|
|
127
|
+
quantity?: number;
|
|
128
|
+
price?: string;
|
|
129
|
+
priceDescription?: PriceDescription;
|
|
130
|
+
descriptionLines?: DescriptionLine[];
|
|
131
|
+
media?: Image;
|
|
132
|
+
id?: string;
|
|
133
|
+
taxGroupId?: string;
|
|
134
|
+
productName?: ProductName;
|
|
135
|
+
url?: PageUrlV2;
|
|
136
|
+
itemType?: ItemType;
|
|
137
|
+
fullPrice?: string;
|
|
138
|
+
quantityAvailable?: number;
|
|
139
|
+
physicalProperties?: PhysicalProperties;
|
|
140
|
+
paymentOption?: string;
|
|
141
|
+
serviceProperties?: ServiceProperties;
|
|
142
|
+
rootCatalogItemId?: string;
|
|
143
|
+
depositAmount?: string;
|
|
144
|
+
deliveryProfileId?: string;
|
|
145
|
+
catalogReference?: CatalogReference;
|
|
146
|
+
priceUndetermined?: boolean;
|
|
147
|
+
fixedQuantity?: boolean;
|
|
148
|
+
consentRequiredPaymentPolicy?: string;
|
|
149
|
+
savePaymentMethod?: boolean;
|
|
150
|
+
policies?: Policy[];
|
|
151
|
+
membersOnly?: boolean;
|
|
152
|
+
taxableAddress?: TaxableAddress;
|
|
153
|
+
modifierGroups?: V1ModifierGroup[];
|
|
154
|
+
}
|
|
155
|
+
export interface CustomSettings {
|
|
156
|
+
lockGiftCard?: boolean;
|
|
157
|
+
lockCouponCode?: boolean;
|
|
158
|
+
disabledPolicyAgreementCheckbox?: boolean;
|
|
159
|
+
disabledManualPayment?: boolean;
|
|
160
|
+
}
|
|
161
|
+
export interface DiscountRule {
|
|
162
|
+
id?: string;
|
|
163
|
+
name?: DiscountRuleName;
|
|
164
|
+
amount?: MultiCurrencyPrice;
|
|
165
|
+
}
|
|
166
|
+
export interface GetCheckoutByCartIdRequest {
|
|
167
|
+
id?: string;
|
|
168
|
+
}
|
|
169
|
+
export interface GetCheckoutByCartIdResponse {
|
|
170
|
+
checkout?: Checkout;
|
|
171
|
+
}
|
|
172
|
+
export interface GetCheckoutRequest {
|
|
173
|
+
id?: string;
|
|
174
|
+
}
|
|
175
|
+
export interface GetCheckoutResponse {
|
|
176
|
+
checkout?: Checkout;
|
|
177
|
+
}
|
|
178
|
+
export interface GetCheckoutURLRequest {
|
|
179
|
+
id?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface GetWixCheckoutURLRequest {
|
|
182
|
+
id?: string;
|
|
183
|
+
}
|
|
184
|
+
export interface GetWixCheckoutURLResponse {
|
|
185
|
+
checkoutUrl?: string;
|
|
186
|
+
}
|
|
187
|
+
export interface Image {
|
|
188
|
+
id?: string;
|
|
189
|
+
height?: number;
|
|
190
|
+
width?: number;
|
|
191
|
+
altText?: string;
|
|
192
|
+
filename?: string;
|
|
193
|
+
}
|
|
194
|
+
export interface ItemModifier {
|
|
195
|
+
id?: string;
|
|
196
|
+
quantity?: number;
|
|
197
|
+
label?: TranslatableString;
|
|
198
|
+
details?: TranslatableString;
|
|
199
|
+
price?: MultiCurrencyPrice;
|
|
200
|
+
}
|
|
201
|
+
export interface LineItem {
|
|
202
|
+
id?: string;
|
|
203
|
+
quantity?: number;
|
|
204
|
+
catalogReference?: CatalogReference;
|
|
205
|
+
productName?: ProductName;
|
|
206
|
+
url?: PageUrlV2;
|
|
207
|
+
price?: MultiCurrencyPrice;
|
|
208
|
+
lineItemPrice?: MultiCurrencyPrice;
|
|
209
|
+
fullPrice?: MultiCurrencyPrice;
|
|
210
|
+
priceBeforeDiscounts?: MultiCurrencyPrice;
|
|
211
|
+
totalPriceAfterTax?: MultiCurrencyPrice;
|
|
212
|
+
totalPriceBeforeTax?: MultiCurrencyPrice;
|
|
213
|
+
taxDetails?: ItemTaxFullDetails;
|
|
214
|
+
discount?: MultiCurrencyPrice;
|
|
215
|
+
descriptionLines?: DescriptionLine[];
|
|
216
|
+
media?: CommonImage;
|
|
217
|
+
availability?: ItemAvailabilityInfo;
|
|
218
|
+
physicalProperties?: PhysicalProperties;
|
|
219
|
+
itemType?: ItemType;
|
|
220
|
+
subscriptionOptionInfo?: SubscriptionOptionInfo;
|
|
221
|
+
paymentOption?: string;
|
|
222
|
+
serviceProperties?: ServiceProperties;
|
|
223
|
+
rootCatalogItemId?: string;
|
|
224
|
+
priceDescription?: PriceDescription;
|
|
225
|
+
depositAmount?: MultiCurrencyPrice;
|
|
226
|
+
deliveryProfileId?: string;
|
|
227
|
+
customLineItem?: boolean;
|
|
228
|
+
consentRequiredPaymentPolicy?: string;
|
|
229
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
230
|
+
priceUndetermined?: boolean;
|
|
231
|
+
fixedQuantity?: boolean;
|
|
232
|
+
savePaymentMethod?: boolean;
|
|
233
|
+
taxableAddress?: TaxableAddress;
|
|
234
|
+
extendedFields?: ExtendedFields;
|
|
235
|
+
policies?: Policy[];
|
|
236
|
+
membersOnly?: boolean;
|
|
237
|
+
modifierGroups?: ModifierGroup[];
|
|
238
|
+
modifiersTotalPrice?: MultiCurrencyPrice;
|
|
239
|
+
}
|
|
240
|
+
export interface MarkCheckoutAsCompletedAndRedirectToUrlRequest {
|
|
241
|
+
token?: string;
|
|
242
|
+
}
|
|
243
|
+
export interface MarkCheckoutAsCompletedRequest {
|
|
244
|
+
id?: string;
|
|
245
|
+
}
|
|
246
|
+
export interface MarkCheckoutAsCompletedResponse {
|
|
247
|
+
}
|
|
248
|
+
export interface MembershipOptions {
|
|
249
|
+
eligibleMemberships?: Membership[];
|
|
250
|
+
invalidMemberships?: InvalidMembership[];
|
|
251
|
+
selectedMemberships?: SelectedMemberships;
|
|
252
|
+
}
|
|
253
|
+
export interface MerchantDiscount {
|
|
254
|
+
amount?: MultiCurrencyPrice;
|
|
255
|
+
percentage?: number;
|
|
256
|
+
}
|
|
257
|
+
export interface ModifierGroup {
|
|
258
|
+
id?: string;
|
|
259
|
+
name?: TranslatableString;
|
|
260
|
+
modifiers?: ItemModifier[];
|
|
261
|
+
}
|
|
262
|
+
export interface RemoveCouponResponse {
|
|
263
|
+
checkout?: Checkout;
|
|
264
|
+
}
|
|
265
|
+
export interface RemoveGiftCardRequest {
|
|
266
|
+
id?: string;
|
|
267
|
+
}
|
|
268
|
+
export interface RemoveGiftCardResponse {
|
|
269
|
+
checkout?: Checkout;
|
|
270
|
+
}
|
|
271
|
+
export interface RemoveLineItemsResponse {
|
|
272
|
+
checkout?: Checkout;
|
|
273
|
+
}
|
|
274
|
+
export interface RemoveOverrideCheckoutUrlRequest {
|
|
275
|
+
id?: string;
|
|
276
|
+
}
|
|
277
|
+
export interface RemoveOverrideCheckoutUrlResponse {
|
|
278
|
+
checkout?: Checkout;
|
|
279
|
+
}
|
|
280
|
+
export interface SelectedMemberships {
|
|
281
|
+
memberships?: SelectedMembership[];
|
|
282
|
+
}
|
|
283
|
+
export interface ShippingInfo {
|
|
284
|
+
shippingDestination?: AddressWithContact;
|
|
285
|
+
selectedCarrierServiceOption?: SelectedCarrierServiceOption;
|
|
286
|
+
region?: ShippingRegion;
|
|
287
|
+
carrierServiceOptions?: CarrierServiceOption[];
|
|
288
|
+
}
|
|
289
|
+
export interface UpdateCheckoutRequest {
|
|
290
|
+
checkout?: Checkout;
|
|
291
|
+
couponCode?: string;
|
|
292
|
+
giftCardCode?: string;
|
|
293
|
+
overrideCheckoutUrl?: string;
|
|
294
|
+
lineItems?: LineItem[];
|
|
295
|
+
customLineItems?: CustomLineItem[];
|
|
296
|
+
giftCardRedeemAmount?: string;
|
|
297
|
+
}
|
|
298
|
+
export interface UpdateCheckoutResponse {
|
|
299
|
+
checkout?: Checkout;
|
|
300
|
+
}
|
|
301
|
+
export interface UpdateLineItemsQuantityResponse {
|
|
302
|
+
checkout?: Checkout;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Adds catalog line items and/or custom line items to a checkout.
|
|
306
|
+
*
|
|
307
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
308
|
+
* @permissionId ECOM.MODIFY_CHECKOUTS
|
|
309
|
+
* @permissionId ECOM.ADMIN_MODIFY_CHECKOUTS
|
|
310
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.AddToCheckout
|
|
311
|
+
*
|
|
312
|
+
* POST /ecom/v1/checkouts/{id}/add-to-checkout
|
|
313
|
+
*/
|
|
314
|
+
export declare function addToCheckout(req: AddToCheckoutRequest, opts?: WixCallOptions): Promise<AddToCheckoutResponse>;
|
|
315
|
+
/**
|
|
316
|
+
* Creates a checkout.
|
|
317
|
+
*
|
|
318
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
319
|
+
* @permissionId ECOM.MODIFY_CHECKOUTS
|
|
320
|
+
* @permissionId ECOM.ADMIN_MODIFY_CHECKOUTS
|
|
321
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.CreateCheckout
|
|
322
|
+
*
|
|
323
|
+
* POST /ecom/v1/checkouts
|
|
324
|
+
*/
|
|
325
|
+
export declare function createCheckout(req?: CreateCheckoutRequest, opts?: WixCallOptions): Promise<CreateCheckoutResponse>;
|
|
326
|
+
/**
|
|
327
|
+
* Creates an order from a specified checkout.
|
|
328
|
+
*
|
|
329
|
+
* @permissionId ECOM.CREATE_ORDER_FROM_CHECKOUT
|
|
330
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.CreateOrder
|
|
331
|
+
*
|
|
332
|
+
* POST /ecom/v1/checkouts/{id}/create-order
|
|
333
|
+
*/
|
|
334
|
+
export declare function createOrder(req: CreateOrderRequest, opts?: WixCallOptions): Promise<CreateOrderResponse>;
|
|
335
|
+
/**
|
|
336
|
+
* Deprecated (use createOrder instead)
|
|
337
|
+
*
|
|
338
|
+
* @permissionId ECOM.CREATE_ORDER_FROM_CHECKOUT
|
|
339
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.CreateOrderAndCharge
|
|
340
|
+
*
|
|
341
|
+
* POST /ecom/v1/checkouts/{id}/create-order-and-charge
|
|
342
|
+
*/
|
|
343
|
+
export declare function createOrderAndCharge(req: CreateOrderAndChargeRequest, opts?: WixCallOptions): Promise<CreateOrderAndChargeResponse>;
|
|
344
|
+
/**
|
|
345
|
+
* Retrieves a checkout.
|
|
346
|
+
*
|
|
347
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
348
|
+
* @permissionId ECOM.READ_CHECKOUTS
|
|
349
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.GetCheckout
|
|
350
|
+
*
|
|
351
|
+
* GET /ecom/v1/checkouts/{id}
|
|
352
|
+
*/
|
|
353
|
+
export declare function getCheckout(req: GetCheckoutRequest, opts?: WixCallOptions): Promise<GetCheckoutResponse>;
|
|
354
|
+
/**
|
|
355
|
+
* Retrieves the checkout associated with a specified cart.
|
|
356
|
+
*
|
|
357
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
358
|
+
* @permissionId ECOM.READ_CHECKOUTS
|
|
359
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.GetCheckoutByCartId
|
|
360
|
+
*
|
|
361
|
+
* GET /ecom/v1/checkouts/by-cart-id/{id}
|
|
362
|
+
*/
|
|
363
|
+
export declare function getCheckoutByCartId(req: GetCheckoutByCartIdRequest, opts?: WixCallOptions): Promise<GetCheckoutByCartIdResponse>;
|
|
364
|
+
/**
|
|
365
|
+
* Retrieves the checkout page URL of a specified checkout.
|
|
366
|
+
*
|
|
367
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
368
|
+
* @permissionId ECOM.READ_CHECKOUTS
|
|
369
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.GetCheckoutURL
|
|
370
|
+
*
|
|
371
|
+
* GET /ecom/v1/checkouts/{id}/checkout-url
|
|
372
|
+
*/
|
|
373
|
+
export declare function getCheckoutUrl(req: GetCheckoutURLRequest, opts?: WixCallOptions): Promise<GetCheckoutURLResponse>;
|
|
374
|
+
/**
|
|
375
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: owner GET /ecom/v1/checkouts/{id}/wix-checkout-url answered 404 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
376
|
+
*
|
|
377
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
378
|
+
*
|
|
379
|
+
* GET /ecom/v1/checkouts/{id}/wix-checkout-url
|
|
380
|
+
*/
|
|
381
|
+
export declare function getWixCheckoutUrl(req: GetWixCheckoutURLRequest, opts?: WixCallOptions): Promise<GetWixCheckoutURLResponse>;
|
|
382
|
+
/**
|
|
383
|
+
* Sets `completed` to `true` to mark a checkout as completed.
|
|
384
|
+
*
|
|
385
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
386
|
+
* @permissionId ECOM.MODIFY_CHECKOUTS
|
|
387
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.MarkCheckoutAsCompleted
|
|
388
|
+
*
|
|
389
|
+
* POST /ecom/v1/checkouts/{id}/mark-as-completed
|
|
390
|
+
*/
|
|
391
|
+
export declare function markCheckoutAsCompleted(req: MarkCheckoutAsCompletedRequest, opts?: WixCallOptions): Promise<MarkCheckoutAsCompletedResponse>;
|
|
392
|
+
/**
|
|
393
|
+
* Marks a checkout as completed and redirects to a specified URL.
|
|
394
|
+
*
|
|
395
|
+
* @permissionId ECOM.MODIFY_CHECKOUTS
|
|
396
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.MarkCheckoutAsCompletedAndRedirectToUrl
|
|
397
|
+
*
|
|
398
|
+
* GET /ecom/v1/checkouts/mark-checkout-as-completed-and-redirect-to-url
|
|
399
|
+
*/
|
|
400
|
+
export declare function markCheckoutAsCompletedAndRedirectToUrl(req?: MarkCheckoutAsCompletedAndRedirectToUrlRequest, opts?: WixCallOptions): Promise<RawHttpResponse>;
|
|
401
|
+
/**
|
|
402
|
+
* Removes the coupon from a specified checkout.
|
|
403
|
+
*
|
|
404
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
405
|
+
* @permissionId ECOM.MODIFY_CHECKOUTS
|
|
406
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.RemoveCoupon
|
|
407
|
+
*
|
|
408
|
+
* POST /ecom/v1/checkouts/{id}/remove-coupon
|
|
409
|
+
*/
|
|
410
|
+
export declare function removeCoupon(req: RemoveCouponRequest, opts?: WixCallOptions): Promise<RemoveCouponResponse>;
|
|
411
|
+
/**
|
|
412
|
+
* Removes the gift card from a specified checkout.
|
|
413
|
+
*
|
|
414
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
415
|
+
* @permissionId ECOM.MODIFY_CHECKOUTS
|
|
416
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.RemoveGiftCard
|
|
417
|
+
*
|
|
418
|
+
* POST /ecom/v1/checkouts/{id}/remove-gift-card
|
|
419
|
+
*/
|
|
420
|
+
export declare function removeGiftCard(req: RemoveGiftCardRequest, opts?: WixCallOptions): Promise<RemoveGiftCardResponse>;
|
|
421
|
+
/**
|
|
422
|
+
* Removes line items from the specified checkout.
|
|
423
|
+
*
|
|
424
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
425
|
+
* @permissionId ECOM.MODIFY_CHECKOUTS
|
|
426
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.RemoveLineItems
|
|
427
|
+
*
|
|
428
|
+
* POST /ecom/v1/checkouts/{id}/remove-line-items
|
|
429
|
+
*/
|
|
430
|
+
export declare function removeLineItems(req: RemoveLineItemsRequest, opts?: WixCallOptions): Promise<RemoveLineItemsResponse>;
|
|
431
|
+
/**
|
|
432
|
+
* Removes the `overrideCheckoutUrl` from a specified checkout.
|
|
433
|
+
*
|
|
434
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
435
|
+
* @permissionId ECOM.MODIFY_CHECKOUTS
|
|
436
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.RemoveOverrideCheckoutUrl
|
|
437
|
+
*
|
|
438
|
+
* POST /ecom/v1/checkouts/{id}/remove-override-checkout-url
|
|
439
|
+
*/
|
|
440
|
+
export declare function removeOverrideCheckoutUrl(req: RemoveOverrideCheckoutUrlRequest, opts?: WixCallOptions): Promise<RemoveOverrideCheckoutUrlResponse>;
|
|
441
|
+
/**
|
|
442
|
+
* Updates a checkout.
|
|
443
|
+
*
|
|
444
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
445
|
+
* @permissionId ECOM.MODIFY_CHECKOUTS
|
|
446
|
+
* @permissionId ECOM.ADMIN_MODIFY_CHECKOUTS
|
|
447
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.UpdateCheckout
|
|
448
|
+
*
|
|
449
|
+
* PATCH /ecom/v1/checkouts/{checkoutId}
|
|
450
|
+
*/
|
|
451
|
+
export declare function updateCheckout(req: UpdateCheckoutRequest, opts?: WixCallOptions): Promise<UpdateCheckoutResponse>;
|
|
452
|
+
/**
|
|
453
|
+
* Updates the quantity of one or more line items in a checkout.
|
|
454
|
+
*
|
|
455
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
456
|
+
* @permissionId ECOM.MODIFY_CHECKOUTS
|
|
457
|
+
* @fqn com.wix.ecom.checkout.api.v1.CheckoutService.UpdateLineItemsQuantity
|
|
458
|
+
*
|
|
459
|
+
* POST /ecom/v1/checkouts/{id}/update-line-items-quantity
|
|
460
|
+
*/
|
|
461
|
+
export declare function updateLineItemsQuantity(req: UpdateLineItemsQuantityRequest, opts?: WixCallOptions): Promise<UpdateLineItemsQuantityResponse>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
3
|
+
export interface CheckoutContent {
|
|
4
|
+
continueShoppingLink?: string;
|
|
5
|
+
orderSummary?: string;
|
|
6
|
+
customerDetails?: string;
|
|
7
|
+
reviewAndPlaceOrder?: string;
|
|
8
|
+
placeOrderButton?: string;
|
|
9
|
+
placeOrderPayButton?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface GetCheckoutContentRequest {
|
|
12
|
+
appId?: string;
|
|
13
|
+
componentId?: string;
|
|
14
|
+
languageCode?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetCheckoutContentResponse {
|
|
17
|
+
checkoutContent?: CheckoutContent;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves a CheckoutContent.
|
|
21
|
+
*
|
|
22
|
+
* @permissionId ECOM.CHECKOUT_CONTENT_READ
|
|
23
|
+
* @fqn wix.ecom.checkout_content_spi_host.v1.CheckoutContentSPIHostService.GetCheckoutContent
|
|
24
|
+
*
|
|
25
|
+
* GET /ecom/v1/checkout-content/{appId}/{componentId}
|
|
26
|
+
*/
|
|
27
|
+
export declare function getCheckoutContent(req: GetCheckoutContentRequest, opts?: WixCallOptions): Promise<GetCheckoutContentResponse>;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { Image } from "../_shared/types.generated.js";
|
|
3
|
+
export type { Image } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface BackgroundFill {
|
|
6
|
+
color?: string;
|
|
7
|
+
image?: Image;
|
|
8
|
+
}
|
|
9
|
+
export interface CheckboxField {
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
checkedByDefault?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface CheckoutBrand {
|
|
14
|
+
header?: CheckoutHeader;
|
|
15
|
+
mainSection?: CheckoutMain;
|
|
16
|
+
footer?: CheckoutFooter;
|
|
17
|
+
global?: CheckoutGlobal;
|
|
18
|
+
}
|
|
19
|
+
export interface CheckoutFields {
|
|
20
|
+
subscriptionCheckbox?: SubscriptionCheckboxField;
|
|
21
|
+
policyAgreementCheckbox?: CheckboxField;
|
|
22
|
+
giftCardRedeemEnabled?: boolean;
|
|
23
|
+
mitEnabled?: boolean;
|
|
24
|
+
delayCaptureEnabled?: boolean;
|
|
25
|
+
captureBeforeExpiryEnabled?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface CheckoutFooter {
|
|
28
|
+
backgroundFill?: BackgroundFill;
|
|
29
|
+
dividerColor?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface CheckoutGlobal {
|
|
32
|
+
selectionColor?: string;
|
|
33
|
+
placeOrderButtonColor?: string;
|
|
34
|
+
buttonColor?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface CheckoutHeader {
|
|
37
|
+
text?: string;
|
|
38
|
+
textColor?: string;
|
|
39
|
+
logo?: Logo;
|
|
40
|
+
alignment?: string;
|
|
41
|
+
displayCheckoutLabel?: boolean;
|
|
42
|
+
continueShopping?: ContinueShopping;
|
|
43
|
+
backgroundFill?: BackgroundFill;
|
|
44
|
+
dividerColor?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface CheckoutMain {
|
|
47
|
+
formBackgroundFill?: BackgroundFill;
|
|
48
|
+
summaryBackgroundFill?: BackgroundFill;
|
|
49
|
+
dividerColor?: string;
|
|
50
|
+
tintedBoxColor?: string;
|
|
51
|
+
expressButtonsCornerRadius?: string;
|
|
52
|
+
cornerRadius?: number;
|
|
53
|
+
}
|
|
54
|
+
export interface CheckoutPolicies {
|
|
55
|
+
termsAndConditions?: TermsAndConditionsPolicy;
|
|
56
|
+
privacyPolicy?: PrivacyPolicy;
|
|
57
|
+
returnPolicy?: ReturnPolicy;
|
|
58
|
+
digitalItemPolicy?: DigitalItemPolicy;
|
|
59
|
+
contactUs?: ContactUsPolicy;
|
|
60
|
+
customPolicy?: CustomCheckoutPolicy;
|
|
61
|
+
}
|
|
62
|
+
export interface CheckoutSettings {
|
|
63
|
+
checkoutPolicies?: CheckoutPolicies;
|
|
64
|
+
checkoutFields?: CheckoutFields;
|
|
65
|
+
checkoutBrand?: CheckoutBrand;
|
|
66
|
+
createdDate?: string;
|
|
67
|
+
updatedDate?: string;
|
|
68
|
+
checkoutBillingFields?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface ContactUsPolicy {
|
|
71
|
+
visible?: boolean;
|
|
72
|
+
content?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface ContinueShopping {
|
|
75
|
+
hidden?: boolean;
|
|
76
|
+
displayType?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface CustomCheckoutPolicy {
|
|
79
|
+
visible?: boolean;
|
|
80
|
+
content?: string;
|
|
81
|
+
title?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface DigitalItemPolicy {
|
|
84
|
+
visible?: boolean;
|
|
85
|
+
content?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface GetCheckoutSettingsRequest {
|
|
88
|
+
}
|
|
89
|
+
export interface GetCheckoutSettingsResponse {
|
|
90
|
+
checkoutSettings?: CheckoutSettings;
|
|
91
|
+
}
|
|
92
|
+
export interface Logo {
|
|
93
|
+
size?: string;
|
|
94
|
+
}
|
|
95
|
+
export interface PrivacyPolicy {
|
|
96
|
+
visible?: boolean;
|
|
97
|
+
content?: string;
|
|
98
|
+
}
|
|
99
|
+
export interface ReturnPolicy {
|
|
100
|
+
visible?: boolean;
|
|
101
|
+
content?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface SubscriptionCheckboxField {
|
|
104
|
+
visible?: boolean;
|
|
105
|
+
checkedByDefault?: boolean;
|
|
106
|
+
splitByChannel?: boolean;
|
|
107
|
+
}
|
|
108
|
+
export interface TermsAndConditionsPolicy {
|
|
109
|
+
visible?: boolean;
|
|
110
|
+
content?: string;
|
|
111
|
+
}
|
|
112
|
+
export interface UpdateCheckoutSettingsRequest {
|
|
113
|
+
checkoutSettings?: CheckoutSettings;
|
|
114
|
+
}
|
|
115
|
+
export interface UpdateCheckoutSettingsResponse {
|
|
116
|
+
checkoutSettings?: CheckoutSettings;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Retrieves the site's checkout settings.
|
|
120
|
+
*
|
|
121
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
122
|
+
* @permissionId ECOM.READ_CHECKOUT_SETTINGS
|
|
123
|
+
* @fqn wix.ecom.checkout_settings.api.v1.CheckoutSettingsService.GetCheckoutSettings
|
|
124
|
+
*
|
|
125
|
+
* GET /ecom/v1/checkout-settings
|
|
126
|
+
*/
|
|
127
|
+
export declare function getCheckoutSettings(req?: GetCheckoutSettingsRequest, opts?: WixCallOptions): Promise<GetCheckoutSettingsResponse>;
|
|
128
|
+
/**
|
|
129
|
+
* Updates the site's checkout settings.
|
|
130
|
+
*
|
|
131
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
132
|
+
* @permissionId ECOM.UPDATE_CHECKOUT_SETTINGS
|
|
133
|
+
* @fqn wix.ecom.checkout_settings.api.v1.CheckoutSettingsService.UpdateCheckoutSettings
|
|
134
|
+
*
|
|
135
|
+
* PATCH /ecom/v1/checkout-settings
|
|
136
|
+
*/
|
|
137
|
+
export declare function updateCheckoutSettings(req?: UpdateCheckoutSettingsRequest, opts?: WixCallOptions): Promise<UpdateCheckoutSettingsResponse>;
|