@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,529 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { BusinessInfo, CartSettings, CatalogReference, ConvertedMoney, CouponInput, CustomContentReference, CustomItemAttributes, CustomItemDeliveryConfig, CustomItemPaymentConfig, CustomItemPricingInfo, CustomItemQuantityInfo, CustomItemSource, CustomItemTaxConfig, CustomerInfo, DeleteCartResponse, DeliveryInfo, DeliveryMethodInput, DeliverySummary, DescriptionLine, Discount, ExtendedFields, ExternalReference, FormSubmission, GetCheckoutURLResponse, GiftCardInput, GiftCardItemNotSupportedOnDemoCartErrorData, Image, InvalidCouponCodeErrorData, InvalidCouponStatusErrorData, InvalidGiftCardCodeErrorData, InvalidGiftCardStatusErrorData, InvalidMembershipStatusErrorData, ItemAttributes, ItemDeliveryConfig, ItemDiscount, ItemPaymentConfig, ItemPricingInfo, ItemQuantityInfo, ItemTaxConfig, ItemUpsells, LineItemSummary, LineItemUpdate, LineItemsOutOfStockErrorData, MembersOnlyItemErrorData, MembershipInput, Other, PaymentInfo, PaymentOption, PaymentSummary, PhysicalProperties, RawHttpResponse, SubscriptionItemNotSupportedOnDemoCartErrorData, SubtotalBelowOrderMinimumErrorData, TaxInfo, TranslatableString, V2AdditionalFee, V2CalculationErrors, V2Coupon, V2PriceSummary, V2SelectedMembership, V2TaxSummary } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AdditionalFeeTax, Address, AddressLocation, ApplicationError, BusinessInfo, CartSettings, CatalogReference, Charge, Color, ConvertedMoney, CouponInput, CustomContentReference, CustomItemAttributes, CustomItemDeliveryConfig, CustomItemPaymentConfig, CustomItemPricingInfo, CustomItemQuantityInfo, CustomItemSource, CustomItemTaxConfig, CustomerInfo, DeleteCartResponse, DeliveryInfo, DeliveryMethod, DeliveryMethodInput, DeliverySummary, Description, DescriptionLine, DescriptionLineName, Details, Discount, DiscountSource, ExistingMembershipInput, ExtendedFields, ExternalReference, FieldViolation, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCheckoutURLResponse, GiftCardInput, GiftCardItemNotSupportedOnDemoCartErrorData, GiftCardSummary, HeadersEntry, Image, InvalidCouponCodeErrorData, InvalidCouponStatusErrorData, InvalidGiftCardCodeErrorData, InvalidGiftCardStatusErrorData, InvalidMembershipStatusErrorData, ItemAttributes, ItemDeliveryConfig, ItemDiscount, ItemPaymentConfig, ItemPriceBreakdown, ItemPricingInfo, ItemQuantityInfo, ItemTaxConfig, ItemType, ItemUpsells, LineItemSummary, LineItemTax, LineItemUpdate, LineItemsOutOfStockErrorData, MembersOnlyItemErrorData, MembershipInput, MembershipSummary, MinLineItemQuantityNotReachedDetails, MinSubtotalNotReachedDetails, Other, PageUrlV2, PaymentInfo, PaymentOption, PaymentSummary, PhysicalProperties, PlainTextValue, Policy, PriceDescription, PriceDetails, QuantityUpdate, RawHttpResponse, SelectedMembershipUpdate, ServiceProperties, StreetAddress, SubscriptionCharges, SubscriptionItemNotSupportedOnDemoCartErrorData, SubscriptionOptionInfo, SubscriptionSettings, SubtotalBelowOrderMinimumErrorData, SystemError, Tax, TaxInfo, TaxableAddress, Title, TranslatableString, UpsellBenefitMetadata, UpsellOption, V2AdditionalFee, V2CalculationErrors, V2CarrierError, V2CarrierErrors, V2Coupon, V2ExistingMembership, V2GiftCard, V2LineItemDiscount, V2Membership, V2PriceSummary, V2SelectedMembership, V2TaxSummary, ValidationError, VatId } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AddCouponRequest {
|
|
6
|
+
cartId?: string;
|
|
7
|
+
coupon?: CouponInput;
|
|
8
|
+
}
|
|
9
|
+
export interface AddCouponResponse {
|
|
10
|
+
cart?: Cart;
|
|
11
|
+
}
|
|
12
|
+
export interface AddGiftCardRequest {
|
|
13
|
+
cartId?: string;
|
|
14
|
+
giftCard?: GiftCardInput;
|
|
15
|
+
}
|
|
16
|
+
export interface AddGiftCardResponse {
|
|
17
|
+
cart?: Cart;
|
|
18
|
+
}
|
|
19
|
+
export interface AddLineItemsRequest {
|
|
20
|
+
cartId?: string;
|
|
21
|
+
catalogItems?: CatalogItemInput[];
|
|
22
|
+
customItems?: CustomItemInput[];
|
|
23
|
+
}
|
|
24
|
+
export interface AddLineItemsResponse {
|
|
25
|
+
cart?: Cart;
|
|
26
|
+
}
|
|
27
|
+
export interface CalculateCartRequest {
|
|
28
|
+
cartId?: string;
|
|
29
|
+
refreshCart?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface CalculateCartResponse {
|
|
32
|
+
cart?: Cart;
|
|
33
|
+
summary?: CartSummary;
|
|
34
|
+
}
|
|
35
|
+
export interface Cart {
|
|
36
|
+
id?: string;
|
|
37
|
+
createdDate?: string;
|
|
38
|
+
updatedDate?: string;
|
|
39
|
+
revision?: string;
|
|
40
|
+
lineItems?: V2LineItem[];
|
|
41
|
+
subtotal?: ConvertedMoney;
|
|
42
|
+
note?: string;
|
|
43
|
+
coupons?: V2Coupon[];
|
|
44
|
+
source?: CartSource;
|
|
45
|
+
businessInfo?: BusinessInfo;
|
|
46
|
+
customerInfo?: CustomerInfo;
|
|
47
|
+
deliveryInfo?: DeliveryInfo;
|
|
48
|
+
taxInfo?: TaxInfo;
|
|
49
|
+
paymentInfo?: PaymentInfo;
|
|
50
|
+
orderPlaced?: boolean;
|
|
51
|
+
orderId?: string;
|
|
52
|
+
purchaseFlowId?: string;
|
|
53
|
+
settings?: CartSettings;
|
|
54
|
+
customCheckoutUrl?: string;
|
|
55
|
+
extendedFields?: ExtendedFields;
|
|
56
|
+
currentCart?: boolean;
|
|
57
|
+
demo?: boolean;
|
|
58
|
+
}
|
|
59
|
+
export interface CartSource {
|
|
60
|
+
channelType?: string;
|
|
61
|
+
externalReferences?: ExternalReference[];
|
|
62
|
+
createdBy?: CreatedBy;
|
|
63
|
+
customContentReference?: CustomContentReference;
|
|
64
|
+
}
|
|
65
|
+
export interface CartSummary {
|
|
66
|
+
cartId?: string;
|
|
67
|
+
cartRevision?: string;
|
|
68
|
+
calculationId?: string;
|
|
69
|
+
lineItems?: LineItemSummary[];
|
|
70
|
+
discounts?: Discount[];
|
|
71
|
+
deliverySummary?: DeliverySummary;
|
|
72
|
+
additionalFees?: V2AdditionalFee[];
|
|
73
|
+
taxSummary?: V2TaxSummary;
|
|
74
|
+
priceSummary?: V2PriceSummary;
|
|
75
|
+
paymentSummary?: PaymentSummary;
|
|
76
|
+
priceVerificationToken?: string;
|
|
77
|
+
calculationErrors?: V2CalculationErrors;
|
|
78
|
+
spiViolations?: Violation[];
|
|
79
|
+
violations?: V2Violation[];
|
|
80
|
+
}
|
|
81
|
+
export interface CatalogItemInput {
|
|
82
|
+
catalogReference?: CatalogReference;
|
|
83
|
+
quantity?: number;
|
|
84
|
+
selectedMembership?: V2SelectedMembership;
|
|
85
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
86
|
+
extendedFields?: ExtendedFields;
|
|
87
|
+
inventoryAppId?: string;
|
|
88
|
+
membershipPayment?: MembershipInput;
|
|
89
|
+
}
|
|
90
|
+
export interface CatalogOverrideFields {
|
|
91
|
+
name?: TranslatableString;
|
|
92
|
+
salePrice?: string;
|
|
93
|
+
fullPrice?: string;
|
|
94
|
+
descriptionLines?: DescriptionLine[];
|
|
95
|
+
physicalProperties?: PhysicalProperties;
|
|
96
|
+
image?: Image;
|
|
97
|
+
paymentOption?: PaymentOption;
|
|
98
|
+
depositAmount?: string;
|
|
99
|
+
savePaymentMethod?: boolean;
|
|
100
|
+
inventoryAppId?: string;
|
|
101
|
+
}
|
|
102
|
+
export interface CreateCartRequest {
|
|
103
|
+
cart?: Cart;
|
|
104
|
+
catalogItems?: CatalogItemInput[];
|
|
105
|
+
customItems?: CustomItemInput[];
|
|
106
|
+
coupons?: CouponInput[];
|
|
107
|
+
deliveryMethod?: DeliveryMethodInput;
|
|
108
|
+
giftCards?: GiftCardInput[];
|
|
109
|
+
}
|
|
110
|
+
export interface CreateCartResponse {
|
|
111
|
+
cart?: Cart;
|
|
112
|
+
}
|
|
113
|
+
export interface CreatedBy {
|
|
114
|
+
visitorId?: string;
|
|
115
|
+
memberId?: string;
|
|
116
|
+
userId?: string;
|
|
117
|
+
appId?: string;
|
|
118
|
+
}
|
|
119
|
+
export interface CustomItemInput {
|
|
120
|
+
name?: TranslatableString;
|
|
121
|
+
quantityInfo?: CustomItemQuantityInfo;
|
|
122
|
+
pricing?: CustomItemPricingInfo;
|
|
123
|
+
source?: CustomItemSource;
|
|
124
|
+
attributes?: CustomItemAttributes;
|
|
125
|
+
deliveryConfig?: CustomItemDeliveryConfig;
|
|
126
|
+
taxConfig?: CustomItemTaxConfig;
|
|
127
|
+
paymentConfig?: CustomItemPaymentConfig;
|
|
128
|
+
modifierGroups?: ModifierGroup[];
|
|
129
|
+
}
|
|
130
|
+
export interface CustomValidationErrorData {
|
|
131
|
+
target?: Target;
|
|
132
|
+
}
|
|
133
|
+
export interface DeleteCartRequest {
|
|
134
|
+
cartId?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface EstimateCartRequest {
|
|
137
|
+
cartId?: string;
|
|
138
|
+
refreshCart?: boolean;
|
|
139
|
+
validationConfig?: string;
|
|
140
|
+
calculateDelivery?: boolean;
|
|
141
|
+
calculateAdditionalFees?: boolean;
|
|
142
|
+
calculateTax?: boolean;
|
|
143
|
+
calculateGiftCards?: boolean;
|
|
144
|
+
}
|
|
145
|
+
export interface EstimateCartResponse {
|
|
146
|
+
cart?: Cart;
|
|
147
|
+
summary?: CartSummary;
|
|
148
|
+
}
|
|
149
|
+
export interface GetCartRequest {
|
|
150
|
+
cartId?: string;
|
|
151
|
+
}
|
|
152
|
+
export interface GetCartResponse {
|
|
153
|
+
cart?: Cart;
|
|
154
|
+
}
|
|
155
|
+
export interface GetCheckoutURLRequest {
|
|
156
|
+
cartId?: string;
|
|
157
|
+
currencyCode?: string;
|
|
158
|
+
}
|
|
159
|
+
export interface GetUpsellOptionsRequest {
|
|
160
|
+
cartId?: string;
|
|
161
|
+
}
|
|
162
|
+
export interface GetUpsellOptionsResponse {
|
|
163
|
+
itemsUpsells?: ItemUpsells[];
|
|
164
|
+
}
|
|
165
|
+
export interface HandleAsyncCheckoutCompletionRequest {
|
|
166
|
+
token?: string;
|
|
167
|
+
}
|
|
168
|
+
export interface ItemModifier {
|
|
169
|
+
id?: string;
|
|
170
|
+
quantity?: number;
|
|
171
|
+
label?: TranslatableString;
|
|
172
|
+
details?: TranslatableString;
|
|
173
|
+
price?: ConvertedMoney;
|
|
174
|
+
}
|
|
175
|
+
export interface ItemSource {
|
|
176
|
+
catalogReference?: CatalogReference;
|
|
177
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
178
|
+
rootCatalogItemId?: string;
|
|
179
|
+
inventoryAppId?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface LineItem {
|
|
182
|
+
name?: string;
|
|
183
|
+
id?: string;
|
|
184
|
+
}
|
|
185
|
+
export interface MarkCartAsCompletedRequest {
|
|
186
|
+
cartId?: string;
|
|
187
|
+
orderId?: string;
|
|
188
|
+
}
|
|
189
|
+
export interface MarkCartAsCompletedResponse {
|
|
190
|
+
cart?: Cart;
|
|
191
|
+
}
|
|
192
|
+
export interface ModifierGroup {
|
|
193
|
+
id?: string;
|
|
194
|
+
name?: TranslatableString;
|
|
195
|
+
modifiers?: ItemModifier[];
|
|
196
|
+
}
|
|
197
|
+
export interface PlaceOrderRequest {
|
|
198
|
+
cartId?: string;
|
|
199
|
+
priceVerificationToken?: string;
|
|
200
|
+
savePaymentMethod?: boolean;
|
|
201
|
+
delayCapture?: boolean;
|
|
202
|
+
}
|
|
203
|
+
export interface PlaceOrderResponse {
|
|
204
|
+
orderId?: string;
|
|
205
|
+
paymentGatewayOrderId?: string;
|
|
206
|
+
completed?: boolean;
|
|
207
|
+
}
|
|
208
|
+
export interface RefreshCartRequest {
|
|
209
|
+
cartId?: string;
|
|
210
|
+
}
|
|
211
|
+
export interface RefreshCartResponse {
|
|
212
|
+
cart?: Cart;
|
|
213
|
+
}
|
|
214
|
+
export interface RemoveCouponRequest {
|
|
215
|
+
cartId?: string;
|
|
216
|
+
couponId?: string;
|
|
217
|
+
}
|
|
218
|
+
export interface RemoveCouponResponse {
|
|
219
|
+
cart?: Cart;
|
|
220
|
+
}
|
|
221
|
+
export interface RemoveDeliveryMethodRequest {
|
|
222
|
+
cartId?: string;
|
|
223
|
+
}
|
|
224
|
+
export interface RemoveDeliveryMethodResponse {
|
|
225
|
+
cart?: Cart;
|
|
226
|
+
}
|
|
227
|
+
export interface RemoveGiftCardRequest {
|
|
228
|
+
cartId?: string;
|
|
229
|
+
giftCardId?: string;
|
|
230
|
+
}
|
|
231
|
+
export interface RemoveGiftCardResponse {
|
|
232
|
+
cart?: Cart;
|
|
233
|
+
}
|
|
234
|
+
export interface RemoveLineItemsRequest {
|
|
235
|
+
cartId?: string;
|
|
236
|
+
lineItemIds?: string[];
|
|
237
|
+
}
|
|
238
|
+
export interface RemoveLineItemsResponse {
|
|
239
|
+
cart?: Cart;
|
|
240
|
+
}
|
|
241
|
+
export interface SetDeliveryMethodRequest {
|
|
242
|
+
cartId?: string;
|
|
243
|
+
deliveryMethod?: DeliveryMethodInput;
|
|
244
|
+
}
|
|
245
|
+
export interface SetDeliveryMethodResponse {
|
|
246
|
+
cart?: Cart;
|
|
247
|
+
}
|
|
248
|
+
export interface Target {
|
|
249
|
+
other?: Other;
|
|
250
|
+
lineItem?: LineItem;
|
|
251
|
+
}
|
|
252
|
+
export interface UpdateCartRequest {
|
|
253
|
+
cart?: Cart;
|
|
254
|
+
}
|
|
255
|
+
export interface UpdateCartResponse {
|
|
256
|
+
cart?: Cart;
|
|
257
|
+
}
|
|
258
|
+
export interface UpdateFormSubmissionsRequest {
|
|
259
|
+
cartId?: string;
|
|
260
|
+
formSubmissions?: FormSubmission[];
|
|
261
|
+
}
|
|
262
|
+
export interface UpdateFormSubmissionsResponse {
|
|
263
|
+
cart?: Cart;
|
|
264
|
+
}
|
|
265
|
+
export interface UpdateLineItemsRequest {
|
|
266
|
+
cartId?: string;
|
|
267
|
+
lineItems?: LineItemUpdate[];
|
|
268
|
+
}
|
|
269
|
+
export interface UpdateLineItemsResponse {
|
|
270
|
+
cart?: Cart;
|
|
271
|
+
}
|
|
272
|
+
export interface V2LineItem {
|
|
273
|
+
id?: string;
|
|
274
|
+
name?: TranslatableString;
|
|
275
|
+
quantityInfo?: ItemQuantityInfo;
|
|
276
|
+
pricing?: ItemPricingInfo;
|
|
277
|
+
source?: ItemSource;
|
|
278
|
+
attributes?: ItemAttributes;
|
|
279
|
+
deliveryConfig?: ItemDeliveryConfig;
|
|
280
|
+
taxConfig?: ItemTaxConfig;
|
|
281
|
+
paymentConfig?: ItemPaymentConfig;
|
|
282
|
+
status?: string;
|
|
283
|
+
extendedFields?: ExtendedFields;
|
|
284
|
+
modifierGroups?: ModifierGroup[];
|
|
285
|
+
discounts?: ItemDiscount[];
|
|
286
|
+
customLineItem?: boolean;
|
|
287
|
+
}
|
|
288
|
+
export interface V2Violation {
|
|
289
|
+
customValidationData?: CustomValidationErrorData;
|
|
290
|
+
invalidCouponStatusData?: InvalidCouponStatusErrorData;
|
|
291
|
+
invalidCouponCodeData?: InvalidCouponCodeErrorData;
|
|
292
|
+
invalidGiftCardCodeData?: InvalidGiftCardCodeErrorData;
|
|
293
|
+
invalidGiftCardStatusData?: InvalidGiftCardStatusErrorData;
|
|
294
|
+
lineItemsOutOfStockData?: LineItemsOutOfStockErrorData;
|
|
295
|
+
membersOnlyItemData?: MembersOnlyItemErrorData;
|
|
296
|
+
subtotalBelowOrderMinimumData?: SubtotalBelowOrderMinimumErrorData;
|
|
297
|
+
invalidMembershipStatusData?: InvalidMembershipStatusErrorData;
|
|
298
|
+
subscriptionItemNotSupportedOnDemoCartData?: SubscriptionItemNotSupportedOnDemoCartErrorData;
|
|
299
|
+
giftCardItemNotSupportedOnDemoCartData?: GiftCardItemNotSupportedOnDemoCartErrorData;
|
|
300
|
+
scope?: string;
|
|
301
|
+
code?: string;
|
|
302
|
+
description?: string;
|
|
303
|
+
severity?: string;
|
|
304
|
+
}
|
|
305
|
+
export interface Violation {
|
|
306
|
+
severity?: string;
|
|
307
|
+
target?: Target;
|
|
308
|
+
description?: string;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Adds a coupon to the cart.
|
|
312
|
+
*
|
|
313
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
314
|
+
* @permissionId ecom:v2:cart:add_coupon
|
|
315
|
+
* @fqn wix.ecom.cart.v2.CartService.AddCoupon
|
|
316
|
+
*
|
|
317
|
+
* POST /ecom/v2/carts/{cartId}/add-coupon
|
|
318
|
+
*/
|
|
319
|
+
export declare function addCoupon(req: AddCouponRequest, opts?: WixCallOptions): Promise<AddCouponResponse>;
|
|
320
|
+
/**
|
|
321
|
+
* Adds a gift card to the cart.
|
|
322
|
+
*
|
|
323
|
+
* @permissionId ecom:v2:cart:add_gift_card
|
|
324
|
+
* @fqn wix.ecom.cart.v2.CartService.AddGiftCard
|
|
325
|
+
*
|
|
326
|
+
* POST /ecom/v2/carts/{cartId}/add-gift-card
|
|
327
|
+
*/
|
|
328
|
+
export declare function addGiftCard(req: AddGiftCardRequest, opts?: WixCallOptions): Promise<AddGiftCardResponse>;
|
|
329
|
+
/**
|
|
330
|
+
* Adds line items to the cart.
|
|
331
|
+
*
|
|
332
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
333
|
+
* @permissionId ecom:v2:cart:add_line_items
|
|
334
|
+
* @permissionId ECOM.ADMIN_MODIFY_CARTS
|
|
335
|
+
* @permissionId ECOM.ADMIN_MODIFY_CHECKOUTS
|
|
336
|
+
* @fqn wix.ecom.cart.v2.CartService.AddLineItems
|
|
337
|
+
*
|
|
338
|
+
* POST /ecom/v2/carts/{cartId}/add-line-items
|
|
339
|
+
*/
|
|
340
|
+
export declare function addLineItems(req: AddLineItemsRequest, opts?: WixCallOptions): Promise<AddLineItemsResponse>;
|
|
341
|
+
/**
|
|
342
|
+
* Calculates the cart from its current state (line items, discounts, delivery method, and more) and returns a detailed summary, including subtotal, delivery costs, taxes, fees, and total price.
|
|
343
|
+
*
|
|
344
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
345
|
+
* @permissionId ecom:v2:cart:calculate_cart
|
|
346
|
+
* @fqn wix.ecom.cart.v2.CartService.CalculateCart
|
|
347
|
+
*
|
|
348
|
+
* POST /ecom/v2/carts/{cartId}/calculate
|
|
349
|
+
*/
|
|
350
|
+
export declare function calculateCart(req: CalculateCartRequest, opts?: WixCallOptions): Promise<CalculateCartResponse>;
|
|
351
|
+
/**
|
|
352
|
+
* Creates a cart.
|
|
353
|
+
*
|
|
354
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
355
|
+
* @permissionId ecom:v2:cart:create_cart
|
|
356
|
+
* @permissionId ECOM.ADMIN_MODIFY_CARTS
|
|
357
|
+
* @permissionId ECOM.ADMIN_MODIFY_CHECKOUTS
|
|
358
|
+
* @fqn wix.ecom.cart.v2.CartService.CreateCart
|
|
359
|
+
*
|
|
360
|
+
* POST /ecom/v2/carts
|
|
361
|
+
*/
|
|
362
|
+
export declare function createCart(req?: CreateCartRequest, opts?: WixCallOptions): Promise<CreateCartResponse>;
|
|
363
|
+
/**
|
|
364
|
+
* Deletes a cart.
|
|
365
|
+
*
|
|
366
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
367
|
+
* @permissionId ecom:v2:cart:delete_cart
|
|
368
|
+
* @fqn wix.ecom.cart.v2.CartService.DeleteCart
|
|
369
|
+
*
|
|
370
|
+
* DELETE /ecom/v2/carts/{cartId}
|
|
371
|
+
*/
|
|
372
|
+
export declare function deleteCart(req: DeleteCartRequest, opts?: WixCallOptions): Promise<DeleteCartResponse>;
|
|
373
|
+
/**
|
|
374
|
+
* Estimates cart totals from the cart's current state and selected calculation components.
|
|
375
|
+
*
|
|
376
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
377
|
+
* @permissionId ecom:v2:cart:estimate_cart
|
|
378
|
+
* @fqn wix.ecom.cart.v2.CartService.EstimateCart
|
|
379
|
+
*
|
|
380
|
+
* POST /ecom/v2/carts/{cartId}/estimate
|
|
381
|
+
*/
|
|
382
|
+
export declare function estimateCart(req: EstimateCartRequest, opts?: WixCallOptions): Promise<EstimateCartResponse>;
|
|
383
|
+
/**
|
|
384
|
+
* Retrieves a cart.
|
|
385
|
+
*
|
|
386
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
387
|
+
* @permissionId ecom:v2:cart:get_cart
|
|
388
|
+
* @fqn wix.ecom.cart.v2.CartService.GetCart
|
|
389
|
+
*
|
|
390
|
+
* GET /ecom/v2/carts/{cartId}
|
|
391
|
+
*/
|
|
392
|
+
export declare function getCart(req: GetCartRequest, opts?: WixCallOptions): Promise<GetCartResponse>;
|
|
393
|
+
/**
|
|
394
|
+
* Retrieves the checkout URL for the cart.
|
|
395
|
+
*
|
|
396
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
397
|
+
* @permissionId ecom:v2:cart:get_checkout_url
|
|
398
|
+
* @fqn wix.ecom.cart.v2.CartService.GetCheckoutURL
|
|
399
|
+
*
|
|
400
|
+
* POST /ecom/v2/carts/{cartId}/get-checkout-url
|
|
401
|
+
*/
|
|
402
|
+
export declare function getCheckoutUrl(req: GetCheckoutURLRequest, opts?: WixCallOptions): Promise<GetCheckoutURLResponse>;
|
|
403
|
+
/**
|
|
404
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: owner GET /ecom/v2/carts/{cartId}/upsell-options answered 404 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
405
|
+
*
|
|
406
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
407
|
+
*
|
|
408
|
+
* GET /ecom/v2/carts/{cartId}/upsell-options
|
|
409
|
+
*/
|
|
410
|
+
export declare function getUpsellOptions(req: GetUpsellOptionsRequest, opts?: WixCallOptions): Promise<GetUpsellOptionsResponse>;
|
|
411
|
+
/**
|
|
412
|
+
* Handles asynchronous checkout completion and redirects to a specified URL.
|
|
413
|
+
*
|
|
414
|
+
* @permissionId ecom:v2:cart:handle_async_checkout_completion
|
|
415
|
+
* @fqn wix.ecom.cart.v2.CartService.HandleAsyncCheckoutCompletion
|
|
416
|
+
*
|
|
417
|
+
* GET /ecom/v2/carts/handle-async-checkout-completion
|
|
418
|
+
*/
|
|
419
|
+
export declare function handleAsyncCheckoutCompletion(req?: HandleAsyncCheckoutCompletionRequest, opts?: WixCallOptions): Promise<RawHttpResponse>;
|
|
420
|
+
/**
|
|
421
|
+
* Marks the cart as completed after an order is created from it.
|
|
422
|
+
*
|
|
423
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
424
|
+
* @permissionId ecom:v2:cart:mark_cart_as_completed
|
|
425
|
+
* @fqn wix.ecom.cart.v2.CartService.MarkCartAsCompleted
|
|
426
|
+
*
|
|
427
|
+
* POST /ecom/v2/carts/{cartId}/mark-cart-as-completed
|
|
428
|
+
*/
|
|
429
|
+
export declare function markCartAsCompleted(req: MarkCartAsCompletedRequest, opts?: WixCallOptions): Promise<MarkCartAsCompletedResponse>;
|
|
430
|
+
/**
|
|
431
|
+
* Completes checkout and creates an order. This endpoint may charge the customer.
|
|
432
|
+
*
|
|
433
|
+
* @permissionId ecom:v2:cart:place_order
|
|
434
|
+
* @fqn wix.ecom.cart.v2.CartService.PlaceOrder
|
|
435
|
+
*
|
|
436
|
+
* POST /ecom/v2/carts/{cartId}/place-order
|
|
437
|
+
*/
|
|
438
|
+
export declare function placeOrder(req: PlaceOrderRequest, opts?: WixCallOptions): Promise<PlaceOrderResponse>;
|
|
439
|
+
/**
|
|
440
|
+
* Refreshes the cart by re-evaluating prices, inventory, and discounts so it reflects the latest catalog data.
|
|
441
|
+
*
|
|
442
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
443
|
+
* @permissionId ecom:v2:cart:refresh_cart
|
|
444
|
+
* @fqn wix.ecom.cart.v2.CartService.RefreshCart
|
|
445
|
+
*
|
|
446
|
+
* POST /ecom/v2/carts/{cartId}/refresh
|
|
447
|
+
*/
|
|
448
|
+
export declare function refreshCart(req: RefreshCartRequest, opts?: WixCallOptions): Promise<RefreshCartResponse>;
|
|
449
|
+
/**
|
|
450
|
+
* Removes a coupon from the cart.
|
|
451
|
+
*
|
|
452
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
453
|
+
* @permissionId ecom:v2:cart:remove_coupon
|
|
454
|
+
* @fqn wix.ecom.cart.v2.CartService.RemoveCoupon
|
|
455
|
+
*
|
|
456
|
+
* POST /ecom/v2/carts/{cartId}/remove-coupon
|
|
457
|
+
*/
|
|
458
|
+
export declare function removeCoupon(req: RemoveCouponRequest, opts?: WixCallOptions): Promise<RemoveCouponResponse>;
|
|
459
|
+
/**
|
|
460
|
+
* Removes the selected delivery method from the cart.
|
|
461
|
+
*
|
|
462
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
463
|
+
* @permissionId ecom:v2:cart:remove_delivery_method
|
|
464
|
+
* @fqn wix.ecom.cart.v2.CartService.RemoveDeliveryMethod
|
|
465
|
+
*
|
|
466
|
+
* POST /ecom/v2/carts/{cartId}/remove-delivery-method
|
|
467
|
+
*/
|
|
468
|
+
export declare function removeDeliveryMethod(req: RemoveDeliveryMethodRequest, opts?: WixCallOptions): Promise<RemoveDeliveryMethodResponse>;
|
|
469
|
+
/**
|
|
470
|
+
* Removes a gift card from the cart.
|
|
471
|
+
*
|
|
472
|
+
* @permissionId ecom:v2:cart:remove_gift_card
|
|
473
|
+
* @fqn wix.ecom.cart.v2.CartService.RemoveGiftCard
|
|
474
|
+
*
|
|
475
|
+
* POST /ecom/v2/carts/{cartId}/remove-gift-card
|
|
476
|
+
*/
|
|
477
|
+
export declare function removeGiftCard(req: RemoveGiftCardRequest, opts?: WixCallOptions): Promise<RemoveGiftCardResponse>;
|
|
478
|
+
/**
|
|
479
|
+
* Removes line items from the cart.
|
|
480
|
+
*
|
|
481
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
482
|
+
* @permissionId ecom:v2:cart:remove_line_items
|
|
483
|
+
* @fqn wix.ecom.cart.v2.CartService.RemoveLineItems
|
|
484
|
+
*
|
|
485
|
+
* POST /ecom/v2/carts/{cartId}/remove-line-items
|
|
486
|
+
*/
|
|
487
|
+
export declare function removeLineItems(req: RemoveLineItemsRequest, opts?: WixCallOptions): Promise<RemoveLineItemsResponse>;
|
|
488
|
+
/**
|
|
489
|
+
* Sets the delivery method for the cart.
|
|
490
|
+
*
|
|
491
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
492
|
+
* @permissionId ecom:v2:cart:set_delivery_method
|
|
493
|
+
* @fqn wix.ecom.cart.v2.CartService.SetDeliveryMethod
|
|
494
|
+
*
|
|
495
|
+
* POST /ecom/v2/carts/{cartId}/set-delivery-method
|
|
496
|
+
*/
|
|
497
|
+
export declare function setDeliveryMethod(req: SetDeliveryMethodRequest, opts?: WixCallOptions): Promise<SetDeliveryMethodResponse>;
|
|
498
|
+
/**
|
|
499
|
+
* Updates a cart.
|
|
500
|
+
*
|
|
501
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
502
|
+
* @permissionId ecom:v2:cart:update_cart
|
|
503
|
+
* @permissionId ECOM.ADMIN_MODIFY_CARTS
|
|
504
|
+
* @permissionId ECOM.ADMIN_MODIFY_CHECKOUTS
|
|
505
|
+
* @fqn wix.ecom.cart.v2.CartService.UpdateCart
|
|
506
|
+
*
|
|
507
|
+
* PATCH /ecom/v2/carts/{cartId}
|
|
508
|
+
*/
|
|
509
|
+
export declare function updateCart(req: UpdateCartRequest, opts?: WixCallOptions): Promise<UpdateCartResponse>;
|
|
510
|
+
/**
|
|
511
|
+
* Updates form submissions associated with the cart's line items.
|
|
512
|
+
*
|
|
513
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
514
|
+
* @permissionId ecom:v2:cart:update_form_submissions
|
|
515
|
+
* @fqn wix.ecom.cart.v2.CartService.UpdateFormSubmissions
|
|
516
|
+
*
|
|
517
|
+
* POST /ecom/v2/carts/{cartId}/update-forms-submission
|
|
518
|
+
*/
|
|
519
|
+
export declare function updateFormSubmissions(req: UpdateFormSubmissionsRequest, opts?: WixCallOptions): Promise<UpdateFormSubmissionsResponse>;
|
|
520
|
+
/**
|
|
521
|
+
* Updates line items in the cart.
|
|
522
|
+
*
|
|
523
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
524
|
+
* @permissionId ecom:v2:cart:update_line_items
|
|
525
|
+
* @fqn wix.ecom.cart.v2.CartService.UpdateLineItems
|
|
526
|
+
*
|
|
527
|
+
* POST /ecom/v2/carts/{cartId}/update-line-items
|
|
528
|
+
*/
|
|
529
|
+
export declare function updateLineItems(req: UpdateLineItemsRequest, opts?: WixCallOptions): Promise<UpdateLineItemsResponse>;
|