@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,301 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressWithContact, BillingChangedDetails, BuyerInfo, CatalogReference, ContractTarget, DecimalQuantity, DeliveryTimeSlot, DescriptionLine, Details, DigitalFile, DiscountDetails, ExtendedFields, Image, ItemType, LineItemTaxInfo, LocationAndQuantity, ModifierGroup, OrderTaxInfo, PhysicalProperties, PickupAddress, PlatformFeeSummary, Price, PriceDescription, ProductName, RecipientInfoChangedDetails, SubscriptionInfo, SubscriptionSettings, Tags, TaxableAddress } from "../_shared/types.generated.js";
|
|
3
|
+
export type { Address, AddressLocation, AddressWithContact, ApplicationError, AppliedDiscount, BillingChangedDetails, BuyerInfo, CatalogReference, Color, ContractTarget, Coupon, DecimalQuantity, DeliveryTimeSlot, DescriptionLine, DescriptionLineName, Details, DigitalFile, DiscountDetails, DiscountRule, DiscountRuleName, ExtendedFields, FieldViolation, FreeTrialPeriod, FullAddressContactDetails, Image, ItemModifier, ItemType, LineItemDiscount, LineItemTaxBreakdown, LineItemTaxInfo, LocationAndQuantity, MerchantDiscount, ModifierGroup, OrderTaxBreakdown, OrderTaxInfo, PhysicalProperties, PickupAddress, PlainTextValue, PlatformFee, PlatformFeeSummary, Price, PriceDescription, ProductName, RecipientInfoChangedDetails, StreetAddress, SubscriptionInfo, SubscriptionSettings, SystemError, TagList, Tags, TaxableAddress, TranslatableString, ValidationError, VatId } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AdditionalFee {
|
|
6
|
+
code?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
price?: Price;
|
|
9
|
+
taxDetails?: ItemTaxFullDetails;
|
|
10
|
+
taxInfo?: LineItemTaxInfo;
|
|
11
|
+
providerAppId?: string;
|
|
12
|
+
priceBeforeTax?: Price;
|
|
13
|
+
priceAfterTax?: Price;
|
|
14
|
+
id?: string;
|
|
15
|
+
lineItemIds?: string[];
|
|
16
|
+
source?: string;
|
|
17
|
+
taxableAddress?: TaxableAddress;
|
|
18
|
+
}
|
|
19
|
+
export interface AdditionalFeeDetails {
|
|
20
|
+
additionalFee?: AdditionalFee;
|
|
21
|
+
taxDetails?: AdditionalFeeTaxDetails;
|
|
22
|
+
source?: string;
|
|
23
|
+
applied?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface AdditionalFeeTaxDetails {
|
|
26
|
+
taxable?: boolean;
|
|
27
|
+
taxGroupId?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface BillingDetails {
|
|
30
|
+
changed?: BillingChangedDetails;
|
|
31
|
+
billingInfo?: AddressWithContact;
|
|
32
|
+
changeType?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface BusinessLocationChangedDetails {
|
|
35
|
+
businessLocationBeforeChange?: Location;
|
|
36
|
+
}
|
|
37
|
+
export interface BusinessLocationDetails {
|
|
38
|
+
changed?: BusinessLocationChangedDetails;
|
|
39
|
+
businessLocation?: Location;
|
|
40
|
+
changeType?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface BuyerDetails {
|
|
43
|
+
buyerInfo?: BuyerInfo;
|
|
44
|
+
changeType?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface CalculatedDraftSubscriptionContract {
|
|
47
|
+
draftSubscriptionContract?: DraftSubscriptionContract;
|
|
48
|
+
calculationErrors?: CalculationErrors;
|
|
49
|
+
}
|
|
50
|
+
export interface CalculationErrors {
|
|
51
|
+
taxCalculationError?: Details;
|
|
52
|
+
}
|
|
53
|
+
export interface CommitDraftSubscriptionContractRequest {
|
|
54
|
+
draftSubscriptionContractId?: string;
|
|
55
|
+
reason?: string;
|
|
56
|
+
settings?: SubscriptionCommitSettings;
|
|
57
|
+
}
|
|
58
|
+
export interface CommitDraftSubscriptionContractResponse {
|
|
59
|
+
calculatedDraftSubscriptionContract?: CalculatedDraftSubscriptionContract;
|
|
60
|
+
}
|
|
61
|
+
export interface CreateDraftSubscriptionContractRequest {
|
|
62
|
+
subscriptionContractId?: string;
|
|
63
|
+
target?: Target;
|
|
64
|
+
}
|
|
65
|
+
export interface CreateDraftSubscriptionContractResponse {
|
|
66
|
+
calculatedDraftSubscriptionContract?: CalculatedDraftSubscriptionContract;
|
|
67
|
+
}
|
|
68
|
+
export interface CreatedBy {
|
|
69
|
+
userId?: string;
|
|
70
|
+
appId?: string;
|
|
71
|
+
memberId?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface CycleTarget {
|
|
74
|
+
cycleNumber?: number;
|
|
75
|
+
}
|
|
76
|
+
export interface DeleteDraftSubscriptionContractRequest {
|
|
77
|
+
draftSubscriptionContractId?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface DeleteDraftSubscriptionContractResponse {
|
|
80
|
+
}
|
|
81
|
+
export interface DeliveryLogistics {
|
|
82
|
+
shippingDestination?: AddressWithContact;
|
|
83
|
+
pickupDetails?: PickupDetails;
|
|
84
|
+
deliveryTime?: string;
|
|
85
|
+
instructions?: string;
|
|
86
|
+
deliverByDate?: string;
|
|
87
|
+
deliveryTimeSlot?: DeliveryTimeSlot;
|
|
88
|
+
}
|
|
89
|
+
export interface DraftAlreadyExistsForAnotherOwnerReasonDetails {
|
|
90
|
+
draftId?: string;
|
|
91
|
+
owner?: CreatedBy;
|
|
92
|
+
}
|
|
93
|
+
export interface DraftSubscriptionContract {
|
|
94
|
+
id?: string;
|
|
95
|
+
subscriptionContractId?: string;
|
|
96
|
+
target?: Target;
|
|
97
|
+
createdDate?: string;
|
|
98
|
+
updatedDate?: string;
|
|
99
|
+
createdBy?: CreatedBy;
|
|
100
|
+
status?: string;
|
|
101
|
+
lineItems?: ItemDetails[];
|
|
102
|
+
discounts?: DiscountDetails[];
|
|
103
|
+
additionalFees?: AdditionalFeeDetails[];
|
|
104
|
+
priceSummary?: PriceSummary;
|
|
105
|
+
taxInfo?: OrderTaxInfo;
|
|
106
|
+
weightUnit?: string;
|
|
107
|
+
currency?: string;
|
|
108
|
+
tags?: Tags;
|
|
109
|
+
extendedFields?: ExtendedFields;
|
|
110
|
+
buyerDetails?: BuyerDetails;
|
|
111
|
+
shippingDetails?: ShippingDetails;
|
|
112
|
+
billingDetails?: BillingDetails;
|
|
113
|
+
recipientDetails?: RecipientInfoDetails;
|
|
114
|
+
businessLocationDetails?: BusinessLocationDetails;
|
|
115
|
+
platformFeeSummary?: PlatformFeeSummary;
|
|
116
|
+
settings?: DraftSubscriptionContractSettings;
|
|
117
|
+
subscriptionSettings?: SubscriptionSettings;
|
|
118
|
+
}
|
|
119
|
+
export interface DraftSubscriptionContractSettings {
|
|
120
|
+
specificItemsCouponBehavior?: string;
|
|
121
|
+
}
|
|
122
|
+
export interface GetDraftSubscriptionContractRequest {
|
|
123
|
+
draftSubscriptionContractId?: string;
|
|
124
|
+
}
|
|
125
|
+
export interface GetDraftSubscriptionContractResponse {
|
|
126
|
+
calculatedDraftSubscriptionContract?: CalculatedDraftSubscriptionContract;
|
|
127
|
+
}
|
|
128
|
+
export interface GetSubscriptionContractDraftabilityRequest {
|
|
129
|
+
subscriptionContractId?: string;
|
|
130
|
+
}
|
|
131
|
+
export interface GetSubscriptionContractDraftabilityResponse {
|
|
132
|
+
draftable?: boolean;
|
|
133
|
+
nonDraftableReasons?: NonDraftableReason[];
|
|
134
|
+
currentCycle?: number;
|
|
135
|
+
}
|
|
136
|
+
export interface ItemChangedDetails {
|
|
137
|
+
quantityBeforeChange?: number;
|
|
138
|
+
priceBeforeChange?: Price;
|
|
139
|
+
modifierGroupsBeforeChange?: ModifierGroup[];
|
|
140
|
+
}
|
|
141
|
+
export interface ItemDetails {
|
|
142
|
+
changed?: ItemChangedDetails;
|
|
143
|
+
lineItem?: OrderLineItem;
|
|
144
|
+
changeType?: string;
|
|
145
|
+
}
|
|
146
|
+
export interface ItemTaxFullDetails {
|
|
147
|
+
taxableAmount?: Price;
|
|
148
|
+
taxRate?: string;
|
|
149
|
+
totalTax?: Price;
|
|
150
|
+
}
|
|
151
|
+
export interface Location {
|
|
152
|
+
id?: string;
|
|
153
|
+
name?: string;
|
|
154
|
+
}
|
|
155
|
+
export interface NonDraftableReason {
|
|
156
|
+
draftAlreadyExistsForAnotherOwner?: DraftAlreadyExistsForAnotherOwnerReasonDetails;
|
|
157
|
+
reason?: string;
|
|
158
|
+
}
|
|
159
|
+
export interface OrderLineItem {
|
|
160
|
+
id?: string;
|
|
161
|
+
productName?: ProductName;
|
|
162
|
+
catalogReference?: CatalogReference;
|
|
163
|
+
quantity?: number;
|
|
164
|
+
totalDiscount?: Price;
|
|
165
|
+
descriptionLines?: DescriptionLine[];
|
|
166
|
+
image?: Image;
|
|
167
|
+
physicalProperties?: PhysicalProperties;
|
|
168
|
+
itemType?: ItemType;
|
|
169
|
+
fulfillerId?: string;
|
|
170
|
+
refundQuantity?: number;
|
|
171
|
+
restockQuantity?: number;
|
|
172
|
+
price?: Price;
|
|
173
|
+
priceBeforeDiscounts?: Price;
|
|
174
|
+
totalPriceBeforeTax?: Price;
|
|
175
|
+
totalPriceAfterTax?: Price;
|
|
176
|
+
paymentOption?: string;
|
|
177
|
+
taxDetails?: ItemTaxFullDetails;
|
|
178
|
+
taxInfo?: LineItemTaxInfo;
|
|
179
|
+
digitalFile?: DigitalFile;
|
|
180
|
+
subscriptionInfo?: SubscriptionInfo;
|
|
181
|
+
priceDescription?: PriceDescription;
|
|
182
|
+
depositAmount?: Price;
|
|
183
|
+
locations?: LocationAndQuantity[];
|
|
184
|
+
lineItemPrice?: Price;
|
|
185
|
+
taxableAddress?: TaxableAddress;
|
|
186
|
+
priceUndetermined?: boolean;
|
|
187
|
+
fixedQuantity?: boolean;
|
|
188
|
+
decimalQuantity?: DecimalQuantity;
|
|
189
|
+
extendedFields?: ExtendedFields;
|
|
190
|
+
modifierGroups?: ModifierGroup[];
|
|
191
|
+
}
|
|
192
|
+
export interface PickupDetails {
|
|
193
|
+
address?: PickupAddress;
|
|
194
|
+
pickupMethod?: string;
|
|
195
|
+
}
|
|
196
|
+
export interface PriceSummary {
|
|
197
|
+
subtotal?: Price;
|
|
198
|
+
shipping?: Price;
|
|
199
|
+
tax?: Price;
|
|
200
|
+
discount?: Price;
|
|
201
|
+
total?: Price;
|
|
202
|
+
totalAdditionalFees?: Price;
|
|
203
|
+
}
|
|
204
|
+
export interface RecipientInfoDetails {
|
|
205
|
+
changed?: RecipientInfoChangedDetails;
|
|
206
|
+
recipientInfo?: AddressWithContact;
|
|
207
|
+
changeType?: string;
|
|
208
|
+
}
|
|
209
|
+
export interface SetRecipientInfoRequest {
|
|
210
|
+
draftSubscriptionContractId?: string;
|
|
211
|
+
recipientInfo?: AddressWithContact;
|
|
212
|
+
}
|
|
213
|
+
export interface SetRecipientInfoResponse {
|
|
214
|
+
calculatedDraftSubscriptionContract?: CalculatedDraftSubscriptionContract;
|
|
215
|
+
}
|
|
216
|
+
export interface SetShippingInfoRequest {
|
|
217
|
+
draftSubscriptionContractId?: string;
|
|
218
|
+
shippingInfo?: ShippingInformation;
|
|
219
|
+
}
|
|
220
|
+
export interface SetShippingInfoResponse {
|
|
221
|
+
calculatedDraftSubscriptionContract?: CalculatedDraftSubscriptionContract;
|
|
222
|
+
}
|
|
223
|
+
export interface ShippingChangedDetails {
|
|
224
|
+
shippingInfoBeforeChange?: ShippingInformation;
|
|
225
|
+
}
|
|
226
|
+
export interface ShippingDetails {
|
|
227
|
+
changed?: ShippingChangedDetails;
|
|
228
|
+
shippingInfo?: ShippingInformation;
|
|
229
|
+
changeType?: string;
|
|
230
|
+
}
|
|
231
|
+
export interface ShippingInformation {
|
|
232
|
+
carrierId?: string;
|
|
233
|
+
code?: string;
|
|
234
|
+
title?: string;
|
|
235
|
+
logistics?: DeliveryLogistics;
|
|
236
|
+
cost?: ShippingPrice;
|
|
237
|
+
region?: ShippingRegion;
|
|
238
|
+
}
|
|
239
|
+
export interface ShippingPrice {
|
|
240
|
+
price?: Price;
|
|
241
|
+
totalPriceBeforeTax?: Price;
|
|
242
|
+
totalPriceAfterTax?: Price;
|
|
243
|
+
taxDetails?: ItemTaxFullDetails;
|
|
244
|
+
taxInfo?: LineItemTaxInfo;
|
|
245
|
+
discount?: Price;
|
|
246
|
+
}
|
|
247
|
+
export interface ShippingRegion {
|
|
248
|
+
name?: string;
|
|
249
|
+
}
|
|
250
|
+
export interface SubscriptionCommitSettings {
|
|
251
|
+
sendNotificationsToBuyer?: boolean;
|
|
252
|
+
sendNotificationsToBusiness?: boolean;
|
|
253
|
+
}
|
|
254
|
+
export interface Target {
|
|
255
|
+
contractTarget?: ContractTarget;
|
|
256
|
+
cycleTarget?: CycleTarget;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}/commit answered 403 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
260
|
+
*
|
|
261
|
+
* POST /ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}/commit
|
|
262
|
+
*/
|
|
263
|
+
export declare function commitDraftSubscriptionContract(req: CommitDraftSubscriptionContractRequest, opts?: WixCallOptions): Promise<CommitDraftSubscriptionContractResponse>;
|
|
264
|
+
/**
|
|
265
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /ecom/v1/draft-subscription-contracts answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
266
|
+
*
|
|
267
|
+
* POST /ecom/v1/draft-subscription-contracts
|
|
268
|
+
*/
|
|
269
|
+
export declare function createDraftSubscriptionContract(req?: CreateDraftSubscriptionContractRequest, opts?: WixCallOptions): Promise<CreateDraftSubscriptionContractResponse>;
|
|
270
|
+
/**
|
|
271
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor DELETE /ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId} answered 403 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
272
|
+
*
|
|
273
|
+
* DELETE /ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}
|
|
274
|
+
*/
|
|
275
|
+
export declare function deleteDraftSubscriptionContract(req: DeleteDraftSubscriptionContractRequest, opts?: WixCallOptions): Promise<DeleteDraftSubscriptionContractResponse>;
|
|
276
|
+
/**
|
|
277
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: owner GET /ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId} answered 404 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
278
|
+
*
|
|
279
|
+
* GET /ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}
|
|
280
|
+
*/
|
|
281
|
+
export declare function getDraftSubscriptionContract(req: GetDraftSubscriptionContractRequest, opts?: WixCallOptions): Promise<GetDraftSubscriptionContractResponse>;
|
|
282
|
+
/**
|
|
283
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: owner GET /ecom/v1/draft-subscription-contracts/draftability answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
284
|
+
*
|
|
285
|
+
* @scope member — requires a signed-in site member.
|
|
286
|
+
*
|
|
287
|
+
* GET /ecom/v1/draft-subscription-contracts/draftability
|
|
288
|
+
*/
|
|
289
|
+
export declare function getSubscriptionContractDraftability(req?: GetSubscriptionContractDraftabilityRequest, opts?: WixCallOptions): Promise<GetSubscriptionContractDraftabilityResponse>;
|
|
290
|
+
/**
|
|
291
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor PUT /ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}/recipient-info answered 403 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
292
|
+
*
|
|
293
|
+
* PUT /ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}/recipient-info
|
|
294
|
+
*/
|
|
295
|
+
export declare function setRecipientInfo(req: SetRecipientInfoRequest, opts?: WixCallOptions): Promise<SetRecipientInfoResponse>;
|
|
296
|
+
/**
|
|
297
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor PUT /ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}/shipping-info answered 403 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
298
|
+
*
|
|
299
|
+
* PUT /ecom/v1/draft-subscription-contracts/{draftSubscriptionContractId}/shipping-info
|
|
300
|
+
*/
|
|
301
|
+
export declare function setShippingInfo(req: SetShippingInfoRequest, opts?: WixCallOptions): Promise<SetShippingInfoResponse>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
3
|
+
export interface EcommerceSettings {
|
|
4
|
+
}
|
|
5
|
+
export interface Error {
|
|
6
|
+
requestedField?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetEcommerceSettingsRequest {
|
|
9
|
+
fields?: string[];
|
|
10
|
+
}
|
|
11
|
+
export interface GetEcommerceSettingsResponse {
|
|
12
|
+
ecommerceSettings?: EcommerceSettings;
|
|
13
|
+
errors?: Error[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves site eCommerce settings.
|
|
17
|
+
*
|
|
18
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
19
|
+
* @permissionId ECOM.ECOMMERCE_SETTINGS_READ
|
|
20
|
+
* @fqn wix.ecom.ecommerce_settings.v1.EcommerceSettingsService.GetEcommerceSettings
|
|
21
|
+
*
|
|
22
|
+
* GET /_api/ecommerce-settings/v1/ecommerce-settings
|
|
23
|
+
*/
|
|
24
|
+
export declare function getEcommerceSettings(req?: GetEcommerceSettingsRequest, opts?: WixCallOptions): Promise<GetEcommerceSettingsResponse>;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { ExtendedFields } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ExtendedFields } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Context {
|
|
6
|
+
locationId?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetGiftCardRequest {
|
|
9
|
+
code?: string;
|
|
10
|
+
context?: Context;
|
|
11
|
+
appId?: string;
|
|
12
|
+
pin?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetGiftCardResponse {
|
|
15
|
+
giftCard?: GiftCard;
|
|
16
|
+
}
|
|
17
|
+
export interface GiftCard {
|
|
18
|
+
obfuscatedCode?: string;
|
|
19
|
+
balance?: Money;
|
|
20
|
+
status?: string;
|
|
21
|
+
appId?: string;
|
|
22
|
+
externalId?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface Money {
|
|
25
|
+
value?: string;
|
|
26
|
+
currency?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface RedeemGiftCardRequest {
|
|
29
|
+
code?: string;
|
|
30
|
+
amount?: Money;
|
|
31
|
+
orderId?: string;
|
|
32
|
+
appId?: string;
|
|
33
|
+
context?: Context;
|
|
34
|
+
pin?: string;
|
|
35
|
+
extendedFields?: ExtendedFields;
|
|
36
|
+
}
|
|
37
|
+
export interface RedeemGiftCardResponse {
|
|
38
|
+
transactionId?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface VoidTransactionRequest {
|
|
41
|
+
transactionId?: string;
|
|
42
|
+
appId?: string;
|
|
43
|
+
context?: Context;
|
|
44
|
+
}
|
|
45
|
+
export interface VoidTransactionResponse {
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Retrieves a gift card.
|
|
49
|
+
*
|
|
50
|
+
* @permissionId ECOM.GIFT_CARD_READ
|
|
51
|
+
* @fqn wix.ecom.gift_cards_spi_host.v1.GiftCardsSpiHostService.GetGiftCard
|
|
52
|
+
*
|
|
53
|
+
* POST /ecom/v1/gift-cards/{code}
|
|
54
|
+
*/
|
|
55
|
+
export declare function getGiftCard(req: GetGiftCardRequest, opts?: WixCallOptions): Promise<GetGiftCardResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Redeems a gift card. Creates a transaction and lowers the card balance by the transaction amount.
|
|
58
|
+
*
|
|
59
|
+
* @permissionId ECOM.GIFT_CARD_REDEEM
|
|
60
|
+
* @fqn wix.ecom.gift_cards_spi_host.v1.GiftCardsSpiHostService.RedeemGiftCard
|
|
61
|
+
*
|
|
62
|
+
* POST /ecom/v1/gift-cards/redeem
|
|
63
|
+
*/
|
|
64
|
+
export declare function redeemGiftCard(req?: RedeemGiftCardRequest, opts?: WixCallOptions): Promise<RedeemGiftCardResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Voids a gift card transaction. Transaction IDs are returned in Redeem Gift Card.
|
|
67
|
+
*
|
|
68
|
+
* @permissionId ECOM.GIFT_CARD_TRANSACTION_VOID
|
|
69
|
+
* @fqn wix.ecom.gift_cards_spi_host.v1.GiftCardsSpiHostService.VoidTransaction
|
|
70
|
+
*
|
|
71
|
+
* POST /ecom/v1/gift-cards/void
|
|
72
|
+
*/
|
|
73
|
+
export declare function voidTransaction(req?: VoidTransactionRequest, opts?: WixCallOptions): Promise<VoidTransactionResponse>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export * from "../../wix-sdk/ecom/src/index.js";
|
|
2
|
+
export * as abandonedCheckouts from "./abandonedCheckouts.generated.js";
|
|
3
|
+
export * as backInStockNotifications from "./backInStockNotifications.generated.js";
|
|
4
|
+
export * as backInStockSettings from "./backInStockSettings.generated.js";
|
|
5
|
+
export * as cart from "./cart.generated.js";
|
|
6
|
+
export * as cartV2 from "./cartV2.generated.js";
|
|
7
|
+
export * as checkout from "./checkout.generated.js";
|
|
8
|
+
export * as checkoutContent from "./checkoutContent.generated.js";
|
|
9
|
+
export * as checkoutSettings from "./checkoutSettings.generated.js";
|
|
10
|
+
export * as checkoutTemplates from "./checkoutTemplates.generated.js";
|
|
11
|
+
export * as contactTaxDetails from "./contactTaxDetails.generated.js";
|
|
12
|
+
export * as currencies from "./currencies.generated.js";
|
|
13
|
+
export * as currentCart from "./currentCart.generated.js";
|
|
14
|
+
export * as currentCartV2 from "./currentCartV2.generated.js";
|
|
15
|
+
export * as deliveryProfile from "./deliveryProfile.generated.js";
|
|
16
|
+
export * as deliverySolutions from "./deliverySolutions.generated.js";
|
|
17
|
+
export * as discountRules from "./discountRules.generated.js";
|
|
18
|
+
export * as discountsCustomTrigger from "./discountsCustomTrigger.generated.js";
|
|
19
|
+
export * as draftOrders from "./draftOrders.generated.js";
|
|
20
|
+
export * as draftSubscriptionContracts from "./draftSubscriptionContracts.generated.js";
|
|
21
|
+
export * as ecommerceSettings from "./ecommerceSettings.generated.js";
|
|
22
|
+
export * as giftVouchers from "./giftVouchers.generated.js";
|
|
23
|
+
export * as localDeliveryOptions from "./localDeliveryOptions.generated.js";
|
|
24
|
+
export * as manualTaxMappings from "./manualTaxMappings.generated.js";
|
|
25
|
+
export * as orderBilling from "./orderBilling.generated.js";
|
|
26
|
+
export * as orderFulfillments from "./orderFulfillments.generated.js";
|
|
27
|
+
export * as orderInvoices from "./orderInvoices.generated.js";
|
|
28
|
+
export * as orderPaymentRequests from "./orderPaymentRequests.generated.js";
|
|
29
|
+
export * as orderTransactions from "./orderTransactions.generated.js";
|
|
30
|
+
export * as orders from "./orders.generated.js";
|
|
31
|
+
export * as ordersSettings from "./ordersSettings.generated.js";
|
|
32
|
+
export * as recommendations from "./recommendations.generated.js";
|
|
33
|
+
export * as shippingOptions from "./shippingOptions.generated.js";
|
|
34
|
+
export * as shippoConfigurations from "./shippoConfigurations.generated.js";
|
|
35
|
+
export * as subscriptionContracts from "./subscriptionContracts.generated.js";
|
|
36
|
+
export * as taxCalculation from "./taxCalculation.generated.js";
|
|
37
|
+
export * as taxExemptGroups from "./taxExemptGroups.generated.js";
|
|
38
|
+
export * as taxGroups from "./taxGroups.generated.js";
|
|
39
|
+
export * as taxRegions from "./taxRegions.generated.js";
|
|
40
|
+
export * as taxSettings from "./taxSettings.generated.js";
|
|
41
|
+
export * as tipSettings from "./tipSettings.generated.js";
|
|
42
|
+
export * as tippableStaff from "./tippableStaff.generated.js";
|
|
43
|
+
export * as tips from "./tips.generated.js";
|
|
44
|
+
export * as totalsCalculator from "./totalsCalculator.generated.js";
|
|
45
|
+
export * as wishlists from "./wishlists.generated.js";
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, ConditionalRates } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, Condition, ConditionalRates } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface CityConfig {
|
|
6
|
+
cityItems?: CityItem[];
|
|
7
|
+
}
|
|
8
|
+
export interface CityItem {
|
|
9
|
+
cityName?: string;
|
|
10
|
+
subdivision?: string;
|
|
11
|
+
country?: string;
|
|
12
|
+
cityKey?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface CustomAreaConfig {
|
|
15
|
+
geocodes?: AddressLocation[];
|
|
16
|
+
}
|
|
17
|
+
export interface DaySlot {
|
|
18
|
+
enabledForDelivery?: boolean;
|
|
19
|
+
timeSlots?: TimeSlot[];
|
|
20
|
+
}
|
|
21
|
+
export interface Days {
|
|
22
|
+
monday?: DaySlot;
|
|
23
|
+
tuesday?: DaySlot;
|
|
24
|
+
wednesday?: DaySlot;
|
|
25
|
+
thursday?: DaySlot;
|
|
26
|
+
friday?: DaySlot;
|
|
27
|
+
saturday?: DaySlot;
|
|
28
|
+
sunday?: DaySlot;
|
|
29
|
+
}
|
|
30
|
+
export interface Destination {
|
|
31
|
+
code?: string;
|
|
32
|
+
subdivisions?: string[];
|
|
33
|
+
}
|
|
34
|
+
export interface ListLocalDeliveryOptionsRequest {
|
|
35
|
+
externalId?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ListLocalDeliveryOptionsResponse {
|
|
38
|
+
localDeliveryOptions?: LocalDeliveryOption[];
|
|
39
|
+
}
|
|
40
|
+
export interface LocalDeliveryAddress {
|
|
41
|
+
formattedAddress?: string;
|
|
42
|
+
geocode?: AddressLocation;
|
|
43
|
+
}
|
|
44
|
+
export interface LocalDeliveryOption {
|
|
45
|
+
zipConfig?: ZipCodeConfig;
|
|
46
|
+
radiusConfig?: RadiusConfig;
|
|
47
|
+
customAreaConfig?: CustomAreaConfig;
|
|
48
|
+
cityConfig?: CityConfig;
|
|
49
|
+
id?: string;
|
|
50
|
+
areaName?: string;
|
|
51
|
+
rate?: string;
|
|
52
|
+
estimatedDeliveryTime?: string;
|
|
53
|
+
minimumFreeDeliveryOrderAmount?: number;
|
|
54
|
+
destinations?: Destination[];
|
|
55
|
+
revision?: string;
|
|
56
|
+
scheduledDeliveryConfig?: ScheduledDelivery;
|
|
57
|
+
rates?: ConditionalRates[];
|
|
58
|
+
createdDate?: string;
|
|
59
|
+
updatedDate?: string;
|
|
60
|
+
deliveryRegionIds?: string[];
|
|
61
|
+
}
|
|
62
|
+
export interface RadiusConfig {
|
|
63
|
+
address?: LocalDeliveryAddress;
|
|
64
|
+
radius?: number;
|
|
65
|
+
lengthUnit?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface ScheduledDelivery {
|
|
68
|
+
days?: Days;
|
|
69
|
+
handlingDays?: number;
|
|
70
|
+
cutOffTime?: TimePoint;
|
|
71
|
+
timeWindows?: TimeWindow[];
|
|
72
|
+
}
|
|
73
|
+
export interface TimeOfDay {
|
|
74
|
+
hours?: number;
|
|
75
|
+
minutes?: number;
|
|
76
|
+
}
|
|
77
|
+
export interface TimePoint {
|
|
78
|
+
hours?: number;
|
|
79
|
+
minutes?: number;
|
|
80
|
+
}
|
|
81
|
+
export interface TimeSlot {
|
|
82
|
+
from?: TimePoint;
|
|
83
|
+
to?: TimePoint;
|
|
84
|
+
}
|
|
85
|
+
export interface TimeWindow {
|
|
86
|
+
day?: string;
|
|
87
|
+
start?: TimeOfDay;
|
|
88
|
+
end?: TimeOfDay;
|
|
89
|
+
enabled?: boolean;
|
|
90
|
+
}
|
|
91
|
+
export interface ZipCodeConfig {
|
|
92
|
+
zipCodes?: string[];
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
96
|
+
* @permissionId ECOM.LOCAL_DELIVERY_OPTION_READ
|
|
97
|
+
* @fqn com.wix.ecom.shipments.localdelivery.LocalDelivery.ListLocalDeliveryOptions
|
|
98
|
+
*/
|
|
99
|
+
export declare function listLocalDeliveryOptions(req?: ListLocalDeliveryOptionsRequest, opts?: WixCallOptions): Promise<ListLocalDeliveryOptionsResponse>;
|