@wix/himalaya-cli 0.2004.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 +8 -8
- 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,442 @@
|
|
|
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, DeleteCurrentCartRequest, DeliveryInfo, DeliveryMethodInput, DeliverySummary, DescriptionLine, Discount, ExtendedFields, ExternalReference, FormSubmission, GetCurrentCartRequest, 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, RemoveLineItemsFromCurrentCartRequest, 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, DeleteCurrentCartRequest, DeliveryInfo, DeliveryMethod, DeliveryMethodInput, DeliverySummary, Description, DescriptionLine, DescriptionLineName, Details, Discount, DiscountSource, ExistingMembershipInput, ExtendedFields, ExternalReference, FieldViolation, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCurrentCartRequest, GiftCardInput, GiftCardItemNotSupportedOnDemoCartErrorData, GiftCardSummary, 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, RemoveLineItemsFromCurrentCartRequest, 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 AddCouponToCurrentCartRequest {
|
|
6
|
+
coupon?: CouponInput;
|
|
7
|
+
}
|
|
8
|
+
export interface AddCouponToCurrentCartResponse {
|
|
9
|
+
cart?: Cart;
|
|
10
|
+
}
|
|
11
|
+
export interface AddGiftCardToCurrentCartRequest {
|
|
12
|
+
giftCard?: GiftCardInput;
|
|
13
|
+
}
|
|
14
|
+
export interface AddGiftCardToCurrentCartResponse {
|
|
15
|
+
cart?: Cart;
|
|
16
|
+
}
|
|
17
|
+
export interface AddLineItemsToCurrentCartRequest {
|
|
18
|
+
catalogItems?: CatalogItemInput[];
|
|
19
|
+
customItems?: CustomItemInput[];
|
|
20
|
+
}
|
|
21
|
+
export interface AddLineItemsToCurrentCartResponse {
|
|
22
|
+
cart?: Cart;
|
|
23
|
+
}
|
|
24
|
+
export interface CalculateCurrentCartRequest {
|
|
25
|
+
refreshCart?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface CalculateCurrentCartResponse {
|
|
28
|
+
cart?: Cart;
|
|
29
|
+
summary?: CartSummary;
|
|
30
|
+
}
|
|
31
|
+
export interface Cart {
|
|
32
|
+
id?: string;
|
|
33
|
+
createdDate?: string;
|
|
34
|
+
updatedDate?: string;
|
|
35
|
+
revision?: string;
|
|
36
|
+
lineItems?: V2LineItem[];
|
|
37
|
+
subtotal?: ConvertedMoney;
|
|
38
|
+
note?: string;
|
|
39
|
+
coupons?: V2Coupon[];
|
|
40
|
+
source?: CartSource;
|
|
41
|
+
businessInfo?: BusinessInfo;
|
|
42
|
+
customerInfo?: CustomerInfo;
|
|
43
|
+
deliveryInfo?: DeliveryInfo;
|
|
44
|
+
taxInfo?: TaxInfo;
|
|
45
|
+
paymentInfo?: PaymentInfo;
|
|
46
|
+
orderPlaced?: boolean;
|
|
47
|
+
orderId?: string;
|
|
48
|
+
purchaseFlowId?: string;
|
|
49
|
+
settings?: CartSettings;
|
|
50
|
+
customCheckoutUrl?: string;
|
|
51
|
+
extendedFields?: ExtendedFields;
|
|
52
|
+
currentCart?: boolean;
|
|
53
|
+
demo?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface CartSource {
|
|
56
|
+
channelType?: string;
|
|
57
|
+
externalReferences?: ExternalReference[];
|
|
58
|
+
createdBy?: CreatedBy;
|
|
59
|
+
customContentReference?: CustomContentReference;
|
|
60
|
+
}
|
|
61
|
+
export interface CartSummary {
|
|
62
|
+
cartId?: string;
|
|
63
|
+
cartRevision?: string;
|
|
64
|
+
calculationId?: string;
|
|
65
|
+
lineItems?: LineItemSummary[];
|
|
66
|
+
discounts?: Discount[];
|
|
67
|
+
deliverySummary?: DeliverySummary;
|
|
68
|
+
additionalFees?: V2AdditionalFee[];
|
|
69
|
+
taxSummary?: V2TaxSummary;
|
|
70
|
+
priceSummary?: V2PriceSummary;
|
|
71
|
+
paymentSummary?: PaymentSummary;
|
|
72
|
+
priceVerificationToken?: string;
|
|
73
|
+
calculationErrors?: V2CalculationErrors;
|
|
74
|
+
spiViolations?: Violation[];
|
|
75
|
+
violations?: V2Violation[];
|
|
76
|
+
}
|
|
77
|
+
export interface CatalogItemInput {
|
|
78
|
+
catalogReference?: CatalogReference;
|
|
79
|
+
quantity?: number;
|
|
80
|
+
selectedMembership?: V2SelectedMembership;
|
|
81
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
82
|
+
extendedFields?: ExtendedFields;
|
|
83
|
+
inventoryAppId?: string;
|
|
84
|
+
membershipPayment?: MembershipInput;
|
|
85
|
+
}
|
|
86
|
+
export interface CatalogOverrideFields {
|
|
87
|
+
name?: TranslatableString;
|
|
88
|
+
salePrice?: string;
|
|
89
|
+
fullPrice?: string;
|
|
90
|
+
descriptionLines?: DescriptionLine[];
|
|
91
|
+
physicalProperties?: PhysicalProperties;
|
|
92
|
+
image?: Image;
|
|
93
|
+
paymentOption?: PaymentOption;
|
|
94
|
+
depositAmount?: string;
|
|
95
|
+
savePaymentMethod?: boolean;
|
|
96
|
+
inventoryAppId?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface CreateCurrentCartRequest {
|
|
99
|
+
cart?: Cart;
|
|
100
|
+
catalogItems?: CatalogItemInput[];
|
|
101
|
+
customItems?: CustomItemInput[];
|
|
102
|
+
coupons?: CouponInput[];
|
|
103
|
+
deliveryMethod?: DeliveryMethodInput;
|
|
104
|
+
giftCards?: GiftCardInput[];
|
|
105
|
+
}
|
|
106
|
+
export interface CreateCurrentCartResponse {
|
|
107
|
+
cart?: Cart;
|
|
108
|
+
}
|
|
109
|
+
export interface CreatedBy {
|
|
110
|
+
visitorId?: string;
|
|
111
|
+
memberId?: string;
|
|
112
|
+
userId?: string;
|
|
113
|
+
appId?: string;
|
|
114
|
+
}
|
|
115
|
+
export interface CustomItemInput {
|
|
116
|
+
name?: TranslatableString;
|
|
117
|
+
quantityInfo?: CustomItemQuantityInfo;
|
|
118
|
+
pricing?: CustomItemPricingInfo;
|
|
119
|
+
source?: CustomItemSource;
|
|
120
|
+
attributes?: CustomItemAttributes;
|
|
121
|
+
deliveryConfig?: CustomItemDeliveryConfig;
|
|
122
|
+
taxConfig?: CustomItemTaxConfig;
|
|
123
|
+
paymentConfig?: CustomItemPaymentConfig;
|
|
124
|
+
modifierGroups?: ModifierGroup[];
|
|
125
|
+
}
|
|
126
|
+
export interface CustomValidationErrorData {
|
|
127
|
+
target?: Target;
|
|
128
|
+
}
|
|
129
|
+
export interface DeleteCurrentCartResponse {
|
|
130
|
+
}
|
|
131
|
+
export interface EstimateCurrentCartRequest {
|
|
132
|
+
refreshCart?: boolean;
|
|
133
|
+
validationConfig?: string;
|
|
134
|
+
calculateDelivery?: boolean;
|
|
135
|
+
calculateAdditionalFees?: boolean;
|
|
136
|
+
calculateTax?: boolean;
|
|
137
|
+
calculateGiftCards?: boolean;
|
|
138
|
+
}
|
|
139
|
+
export interface EstimateCurrentCartResponse {
|
|
140
|
+
cart?: Cart;
|
|
141
|
+
summary?: CartSummary;
|
|
142
|
+
}
|
|
143
|
+
export interface GetCurrentCartResponse {
|
|
144
|
+
cart?: Cart;
|
|
145
|
+
}
|
|
146
|
+
export interface GetUpsellOptionsForCurrentCartRequest {
|
|
147
|
+
}
|
|
148
|
+
export interface GetUpsellOptionsForCurrentCartResponse {
|
|
149
|
+
itemsUpsells?: ItemUpsells[];
|
|
150
|
+
}
|
|
151
|
+
export interface ItemModifier {
|
|
152
|
+
id?: string;
|
|
153
|
+
quantity?: number;
|
|
154
|
+
label?: TranslatableString;
|
|
155
|
+
details?: TranslatableString;
|
|
156
|
+
price?: ConvertedMoney;
|
|
157
|
+
}
|
|
158
|
+
export interface ItemSource {
|
|
159
|
+
catalogReference?: CatalogReference;
|
|
160
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
161
|
+
rootCatalogItemId?: string;
|
|
162
|
+
inventoryAppId?: string;
|
|
163
|
+
}
|
|
164
|
+
export interface LineItem {
|
|
165
|
+
name?: string;
|
|
166
|
+
id?: string;
|
|
167
|
+
}
|
|
168
|
+
export interface ModifierGroup {
|
|
169
|
+
id?: string;
|
|
170
|
+
name?: TranslatableString;
|
|
171
|
+
modifiers?: ItemModifier[];
|
|
172
|
+
}
|
|
173
|
+
export interface RefreshCurrentCartRequest {
|
|
174
|
+
}
|
|
175
|
+
export interface RefreshCurrentCartResponse {
|
|
176
|
+
cart?: Cart;
|
|
177
|
+
}
|
|
178
|
+
export interface RemoveCouponFromCurrentCartRequest {
|
|
179
|
+
couponId?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface RemoveCouponFromCurrentCartResponse {
|
|
182
|
+
cart?: Cart;
|
|
183
|
+
}
|
|
184
|
+
export interface RemoveDeliveryMethodFromCurrentCartRequest {
|
|
185
|
+
}
|
|
186
|
+
export interface RemoveDeliveryMethodFromCurrentCartResponse {
|
|
187
|
+
cart?: Cart;
|
|
188
|
+
}
|
|
189
|
+
export interface RemoveGiftCardFromCurrentCartRequest {
|
|
190
|
+
giftCardId?: string;
|
|
191
|
+
}
|
|
192
|
+
export interface RemoveGiftCardFromCurrentCartResponse {
|
|
193
|
+
cart?: Cart;
|
|
194
|
+
}
|
|
195
|
+
export interface RemoveLineItemsFromCurrentCartResponse {
|
|
196
|
+
cart?: Cart;
|
|
197
|
+
}
|
|
198
|
+
export interface SetDeliveryMethodForCurrentCartRequest {
|
|
199
|
+
deliveryMethod?: DeliveryMethodInput;
|
|
200
|
+
}
|
|
201
|
+
export interface SetDeliveryMethodForCurrentCartResponse {
|
|
202
|
+
cart?: Cart;
|
|
203
|
+
}
|
|
204
|
+
export interface Target {
|
|
205
|
+
other?: Other;
|
|
206
|
+
lineItem?: LineItem;
|
|
207
|
+
}
|
|
208
|
+
export interface UpdateCurrentCartRequest {
|
|
209
|
+
cart?: Cart;
|
|
210
|
+
}
|
|
211
|
+
export interface UpdateCurrentCartResponse {
|
|
212
|
+
cart?: Cart;
|
|
213
|
+
}
|
|
214
|
+
export interface UpdateFormSubmissionsInCurrentCartRequest {
|
|
215
|
+
formSubmissions?: FormSubmission[];
|
|
216
|
+
}
|
|
217
|
+
export interface UpdateFormSubmissionsInCurrentCartResponse {
|
|
218
|
+
cart?: Cart;
|
|
219
|
+
}
|
|
220
|
+
export interface UpdateLineItemsInCurrentCartRequest {
|
|
221
|
+
lineItems?: LineItemUpdate[];
|
|
222
|
+
}
|
|
223
|
+
export interface UpdateLineItemsInCurrentCartResponse {
|
|
224
|
+
cart?: Cart;
|
|
225
|
+
}
|
|
226
|
+
export interface V2LineItem {
|
|
227
|
+
id?: string;
|
|
228
|
+
name?: TranslatableString;
|
|
229
|
+
quantityInfo?: ItemQuantityInfo;
|
|
230
|
+
pricing?: ItemPricingInfo;
|
|
231
|
+
source?: ItemSource;
|
|
232
|
+
attributes?: ItemAttributes;
|
|
233
|
+
deliveryConfig?: ItemDeliveryConfig;
|
|
234
|
+
taxConfig?: ItemTaxConfig;
|
|
235
|
+
paymentConfig?: ItemPaymentConfig;
|
|
236
|
+
status?: string;
|
|
237
|
+
extendedFields?: ExtendedFields;
|
|
238
|
+
modifierGroups?: ModifierGroup[];
|
|
239
|
+
discounts?: ItemDiscount[];
|
|
240
|
+
customLineItem?: boolean;
|
|
241
|
+
}
|
|
242
|
+
export interface V2Violation {
|
|
243
|
+
customValidationData?: CustomValidationErrorData;
|
|
244
|
+
invalidCouponStatusData?: InvalidCouponStatusErrorData;
|
|
245
|
+
invalidCouponCodeData?: InvalidCouponCodeErrorData;
|
|
246
|
+
invalidGiftCardCodeData?: InvalidGiftCardCodeErrorData;
|
|
247
|
+
invalidGiftCardStatusData?: InvalidGiftCardStatusErrorData;
|
|
248
|
+
lineItemsOutOfStockData?: LineItemsOutOfStockErrorData;
|
|
249
|
+
membersOnlyItemData?: MembersOnlyItemErrorData;
|
|
250
|
+
subtotalBelowOrderMinimumData?: SubtotalBelowOrderMinimumErrorData;
|
|
251
|
+
invalidMembershipStatusData?: InvalidMembershipStatusErrorData;
|
|
252
|
+
subscriptionItemNotSupportedOnDemoCartData?: SubscriptionItemNotSupportedOnDemoCartErrorData;
|
|
253
|
+
giftCardItemNotSupportedOnDemoCartData?: GiftCardItemNotSupportedOnDemoCartErrorData;
|
|
254
|
+
scope?: string;
|
|
255
|
+
code?: string;
|
|
256
|
+
description?: string;
|
|
257
|
+
severity?: string;
|
|
258
|
+
}
|
|
259
|
+
export interface Violation {
|
|
260
|
+
severity?: string;
|
|
261
|
+
target?: Target;
|
|
262
|
+
description?: string;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Applies a coupon to the customer's current cart.
|
|
266
|
+
*
|
|
267
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
268
|
+
* @permissionId ecom:v2:cart:add_coupon_to_current_cart
|
|
269
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.AddCouponToCurrentCart
|
|
270
|
+
*
|
|
271
|
+
* POST /ecom/v2/carts/current/add-coupon
|
|
272
|
+
*/
|
|
273
|
+
export declare function addCouponToCurrentCart(req?: AddCouponToCurrentCartRequest, opts?: WixCallOptions): Promise<AddCouponToCurrentCartResponse>;
|
|
274
|
+
/**
|
|
275
|
+
* Adds a gift card to the customer's current cart.
|
|
276
|
+
*
|
|
277
|
+
* @permissionId ecom:v2:cart:add_gift_card_to_current_cart
|
|
278
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.AddGiftCardToCurrentCart
|
|
279
|
+
*
|
|
280
|
+
* POST /ecom/v2/carts/current/add-gift-card
|
|
281
|
+
*/
|
|
282
|
+
export declare function addGiftCardToCurrentCart(req?: AddGiftCardToCurrentCartRequest, opts?: WixCallOptions): Promise<AddGiftCardToCurrentCartResponse>;
|
|
283
|
+
/**
|
|
284
|
+
* Adds line items to the customer's current cart. If a current cart doesn't already exist, one is created.
|
|
285
|
+
*
|
|
286
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
287
|
+
* @permissionId ecom:v2:cart:add_line_items_to_current_cart
|
|
288
|
+
* @permissionId ECOM.ADMIN_MODIFY_CARTS
|
|
289
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.AddLineItemsToCurrentCart
|
|
290
|
+
*
|
|
291
|
+
* POST /ecom/v2/carts/current/add-line-items
|
|
292
|
+
*/
|
|
293
|
+
export declare function addLineItemsToCurrentCart(req?: AddLineItemsToCurrentCartRequest, opts?: WixCallOptions): Promise<AddLineItemsToCurrentCartResponse>;
|
|
294
|
+
/**
|
|
295
|
+
* Calculates the customer's current cart based on its current state (line items, discounts, delivery method, etc.) and returns a detailed summary including subtotal, delivery costs, taxes, fees, and the total price.
|
|
296
|
+
*
|
|
297
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
298
|
+
* @permissionId ecom:v2:cart:calculate_current_cart
|
|
299
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.CalculateCurrentCart
|
|
300
|
+
*
|
|
301
|
+
* POST /ecom/v2/carts/current/calculate
|
|
302
|
+
*/
|
|
303
|
+
export declare function calculateCurrentCart(req?: CalculateCurrentCartRequest, opts?: WixCallOptions): Promise<CalculateCurrentCartResponse>;
|
|
304
|
+
/**
|
|
305
|
+
* Creates the customer's current cart.
|
|
306
|
+
*
|
|
307
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
308
|
+
* @permissionId ecom:v2:cart:create_current_cart
|
|
309
|
+
* @permissionId ECOM.ADMIN_MODIFY_CARTS
|
|
310
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.CreateCurrentCart
|
|
311
|
+
*
|
|
312
|
+
* POST /ecom/v2/carts/current
|
|
313
|
+
*/
|
|
314
|
+
export declare function createCurrentCart(req?: CreateCurrentCartRequest, opts?: WixCallOptions): Promise<CreateCurrentCartResponse>;
|
|
315
|
+
/**
|
|
316
|
+
* Deletes the customer's current cart.
|
|
317
|
+
*
|
|
318
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
319
|
+
* @permissionId ecom:v2:cart:delete_current_cart
|
|
320
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.DeleteCurrentCart
|
|
321
|
+
*
|
|
322
|
+
* DELETE /ecom/v2/carts/current
|
|
323
|
+
*/
|
|
324
|
+
export declare function deleteCurrentCart(req?: DeleteCurrentCartRequest, opts?: WixCallOptions): Promise<DeleteCurrentCartResponse>;
|
|
325
|
+
/**
|
|
326
|
+
* Estimates the customer's current cart totals based on its current state and the selected calculation components.
|
|
327
|
+
*
|
|
328
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
329
|
+
* @permissionId ecom:v2:cart:estimate_current_cart
|
|
330
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.EstimateCurrentCart
|
|
331
|
+
*
|
|
332
|
+
* POST /ecom/v2/carts/current/estimate
|
|
333
|
+
*/
|
|
334
|
+
export declare function estimateCurrentCart(req?: EstimateCurrentCartRequest, opts?: WixCallOptions): Promise<EstimateCurrentCartResponse>;
|
|
335
|
+
/**
|
|
336
|
+
* Retrieves the customer's current cart.
|
|
337
|
+
*
|
|
338
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
339
|
+
* @permissionId ecom:v2:cart:get_current_cart
|
|
340
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.GetCurrentCart
|
|
341
|
+
*
|
|
342
|
+
* GET /ecom/v2/carts/current
|
|
343
|
+
*/
|
|
344
|
+
export declare function getCurrentCart(req?: GetCurrentCartRequest, opts?: WixCallOptions): Promise<GetCurrentCartResponse>;
|
|
345
|
+
/**
|
|
346
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: owner GET /ecom/v2/carts/current/upsell-options answered 404 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
347
|
+
*
|
|
348
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
349
|
+
*
|
|
350
|
+
* GET /ecom/v2/carts/current/upsell-options
|
|
351
|
+
*/
|
|
352
|
+
export declare function getUpsellOptionsForCurrentCart(req?: GetUpsellOptionsForCurrentCartRequest, opts?: WixCallOptions): Promise<GetUpsellOptionsForCurrentCartResponse>;
|
|
353
|
+
/**
|
|
354
|
+
* Re-evaluates prices, inventory, and discounts to ensure the customer's current cart is up-to-date with the latest changes.
|
|
355
|
+
*
|
|
356
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
357
|
+
* @permissionId ecom:v2:cart:refresh_current_cart
|
|
358
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.RefreshCurrentCart
|
|
359
|
+
*
|
|
360
|
+
* POST /ecom/v2/carts/current/refresh
|
|
361
|
+
*/
|
|
362
|
+
export declare function refreshCurrentCart(req?: RefreshCurrentCartRequest, opts?: WixCallOptions): Promise<RefreshCurrentCartResponse>;
|
|
363
|
+
/**
|
|
364
|
+
* Removes a coupon from the customer's current cart.
|
|
365
|
+
*
|
|
366
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
367
|
+
* @permissionId ecom:v2:cart:remove_coupon_from_current_cart
|
|
368
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.RemoveCouponFromCurrentCart
|
|
369
|
+
*
|
|
370
|
+
* POST /ecom/v2/carts/current/remove-coupon
|
|
371
|
+
*/
|
|
372
|
+
export declare function removeCouponFromCurrentCart(req?: RemoveCouponFromCurrentCartRequest, opts?: WixCallOptions): Promise<RemoveCouponFromCurrentCartResponse>;
|
|
373
|
+
/**
|
|
374
|
+
* Removes the selected delivery method from the customer's current cart.
|
|
375
|
+
*
|
|
376
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
377
|
+
* @permissionId ecom:v2:cart:remove_delivery_method_from_current_cart
|
|
378
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.RemoveDeliveryMethodFromCurrentCart
|
|
379
|
+
*
|
|
380
|
+
* POST /ecom/v2/carts/current/remove-delivery-method
|
|
381
|
+
*/
|
|
382
|
+
export declare function removeDeliveryMethodFromCurrentCart(req?: RemoveDeliveryMethodFromCurrentCartRequest, opts?: WixCallOptions): Promise<RemoveDeliveryMethodFromCurrentCartResponse>;
|
|
383
|
+
/**
|
|
384
|
+
* Removes a gift card from the customer's current cart.
|
|
385
|
+
*
|
|
386
|
+
* @permissionId ecom:v2:cart:remove_gift_card_from_current_cart
|
|
387
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.RemoveGiftCardFromCurrentCart
|
|
388
|
+
*
|
|
389
|
+
* POST /ecom/v2/carts/current/remove-gift-card
|
|
390
|
+
*/
|
|
391
|
+
export declare function removeGiftCardFromCurrentCart(req?: RemoveGiftCardFromCurrentCartRequest, opts?: WixCallOptions): Promise<RemoveGiftCardFromCurrentCartResponse>;
|
|
392
|
+
/**
|
|
393
|
+
* Removes line items from the customer's current cart.
|
|
394
|
+
*
|
|
395
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
396
|
+
* @permissionId ecom:v2:cart:remove_line_items_from_current_cart
|
|
397
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.RemoveLineItemsFromCurrentCart
|
|
398
|
+
*
|
|
399
|
+
* POST /ecom/v2/carts/current/remove-line-items
|
|
400
|
+
*/
|
|
401
|
+
export declare function removeLineItemsFromCurrentCart(req?: RemoveLineItemsFromCurrentCartRequest, opts?: WixCallOptions): Promise<RemoveLineItemsFromCurrentCartResponse>;
|
|
402
|
+
/**
|
|
403
|
+
* Sets the delivery method for the customer's current cart.
|
|
404
|
+
*
|
|
405
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
406
|
+
* @permissionId ecom:v2:cart:set_delivery_method_for_current_cart
|
|
407
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.SetDeliveryMethodForCurrentCart
|
|
408
|
+
*
|
|
409
|
+
* POST /ecom/v2/carts/current/set-delivery-method
|
|
410
|
+
*/
|
|
411
|
+
export declare function setDeliveryMethodForCurrentCart(req?: SetDeliveryMethodForCurrentCartRequest, opts?: WixCallOptions): Promise<SetDeliveryMethodForCurrentCartResponse>;
|
|
412
|
+
/**
|
|
413
|
+
* Updates the customer's current cart.
|
|
414
|
+
*
|
|
415
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
416
|
+
* @permissionId ecom:v2:cart:update_current_cart
|
|
417
|
+
* @permissionId ECOM.ADMIN_MODIFY_CARTS
|
|
418
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.UpdateCurrentCart
|
|
419
|
+
*
|
|
420
|
+
* PATCH /ecom/v2/carts/current
|
|
421
|
+
*/
|
|
422
|
+
export declare function updateCurrentCart(req?: UpdateCurrentCartRequest, opts?: WixCallOptions): Promise<UpdateCurrentCartResponse>;
|
|
423
|
+
/**
|
|
424
|
+
* Updates form submissions associated with the customer's current cart line items.
|
|
425
|
+
*
|
|
426
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
427
|
+
* @permissionId ecom:v2:cart:update_form_submissions_in_current_cart
|
|
428
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.UpdateFormSubmissionsInCurrentCart
|
|
429
|
+
*
|
|
430
|
+
* POST /ecom/v2/carts/current/update-forms-submission
|
|
431
|
+
*/
|
|
432
|
+
export declare function updateFormSubmissionsInCurrentCart(req?: UpdateFormSubmissionsInCurrentCartRequest, opts?: WixCallOptions): Promise<UpdateFormSubmissionsInCurrentCartResponse>;
|
|
433
|
+
/**
|
|
434
|
+
* Updates line items in the customer's current cart.
|
|
435
|
+
*
|
|
436
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
437
|
+
* @permissionId ecom:v2:cart:update_line_items_in_current_cart
|
|
438
|
+
* @fqn wix.ecom.cart.v2.CurrentCartService.UpdateLineItemsInCurrentCart
|
|
439
|
+
*
|
|
440
|
+
* POST /ecom/v2/carts/current/update-line-items
|
|
441
|
+
*/
|
|
442
|
+
export declare function updateLineItemsInCurrentCart(req?: UpdateLineItemsInCurrentCartRequest, opts?: WixCallOptions): Promise<UpdateLineItemsInCurrentCartResponse>;
|