@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,189 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CatalogReference, CursorPagingMetadata, CursorQuery, CustomContentReference, DescriptionLine, ExternalReference, ItemType, PageUrlV2, PaymentOption, PhysicalProperties, Policy, PriceDescription, ProductName, RawHttpResponse, ServiceProperties, TaxableAddress, V1ModifierGroup } from "../_shared/types.generated.js";
|
|
3
|
+
export type { CatalogReference, Color, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, CustomContentReference, DescriptionLine, DescriptionLineName, ExternalReference, HeadersEntry, ItemType, PageUrlV2, PaymentOption, PhysicalProperties, PlainTextValue, Policy, PriceDescription, ProductName, RawHttpResponse, ServiceProperties, Sorting, TaxableAddress, TranslatableString, V1ItemModifier, V1ModifierGroup } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface CatalogOverrideFields {
|
|
6
|
+
productName?: ProductName;
|
|
7
|
+
price?: string;
|
|
8
|
+
fullPrice?: string;
|
|
9
|
+
descriptionLines?: DescriptionLine[];
|
|
10
|
+
physicalProperties?: PhysicalProperties;
|
|
11
|
+
image?: Image;
|
|
12
|
+
paymentOption?: PaymentOption;
|
|
13
|
+
depositAmount?: string;
|
|
14
|
+
savePaymentMethod?: boolean;
|
|
15
|
+
inventoryAppId?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface CheckoutCustomization {
|
|
18
|
+
webClient?: WebClientCustomization;
|
|
19
|
+
lockedGiftCard?: boolean;
|
|
20
|
+
lockedCoupon?: boolean;
|
|
21
|
+
disabledManualPayment?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface CheckoutTemplate {
|
|
24
|
+
id?: string;
|
|
25
|
+
status?: string;
|
|
26
|
+
customization?: CheckoutCustomization;
|
|
27
|
+
lineItems?: V1LineItem[];
|
|
28
|
+
customLineItems?: CustomLineItem[];
|
|
29
|
+
couponCode?: string;
|
|
30
|
+
customContentReference?: CustomContentReference;
|
|
31
|
+
externalReference?: ExternalReference;
|
|
32
|
+
}
|
|
33
|
+
export interface CreateAndRedirectToCheckoutRequest {
|
|
34
|
+
checkoutTemplateId?: string;
|
|
35
|
+
siteId?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface CreateCheckoutFromTemplateRequest {
|
|
38
|
+
checkoutTemplateId?: string;
|
|
39
|
+
siteId?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface CreateCheckoutFromTemplateResponse {
|
|
42
|
+
checkoutId?: string;
|
|
43
|
+
checkoutUrl?: string;
|
|
44
|
+
purchaseFlowId?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface CreateCheckoutTemplateRequest {
|
|
47
|
+
checkoutTemplate?: CheckoutTemplate;
|
|
48
|
+
}
|
|
49
|
+
export interface CreateCheckoutTemplateResponse {
|
|
50
|
+
checkoutTemplate?: CheckoutTemplate;
|
|
51
|
+
}
|
|
52
|
+
export interface CustomLineItem {
|
|
53
|
+
quantity?: number;
|
|
54
|
+
price?: string;
|
|
55
|
+
priceDescription?: PriceDescription;
|
|
56
|
+
descriptionLines?: DescriptionLine[];
|
|
57
|
+
media?: Image;
|
|
58
|
+
id?: string;
|
|
59
|
+
taxGroupId?: string;
|
|
60
|
+
productName?: ProductName;
|
|
61
|
+
url?: PageUrlV2;
|
|
62
|
+
itemType?: ItemType;
|
|
63
|
+
fullPrice?: string;
|
|
64
|
+
quantityAvailable?: number;
|
|
65
|
+
physicalProperties?: PhysicalProperties;
|
|
66
|
+
paymentOption?: string;
|
|
67
|
+
serviceProperties?: ServiceProperties;
|
|
68
|
+
rootCatalogItemId?: string;
|
|
69
|
+
depositAmount?: string;
|
|
70
|
+
deliveryProfileId?: string;
|
|
71
|
+
catalogReference?: CatalogReference;
|
|
72
|
+
priceUndetermined?: boolean;
|
|
73
|
+
fixedQuantity?: boolean;
|
|
74
|
+
consentRequiredPaymentPolicy?: string;
|
|
75
|
+
savePaymentMethod?: boolean;
|
|
76
|
+
policies?: Policy[];
|
|
77
|
+
membersOnly?: boolean;
|
|
78
|
+
taxableAddress?: TaxableAddress;
|
|
79
|
+
modifierGroups?: V1ModifierGroup[];
|
|
80
|
+
}
|
|
81
|
+
export interface DeleteCheckoutTemplateRequest {
|
|
82
|
+
checkoutTemplateId?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface DeleteCheckoutTemplateResponse {
|
|
85
|
+
}
|
|
86
|
+
export interface GetCheckoutTemplateRequest {
|
|
87
|
+
checkoutTemplateId?: string;
|
|
88
|
+
}
|
|
89
|
+
export interface GetCheckoutTemplateResponse {
|
|
90
|
+
checkoutTemplate?: CheckoutTemplate;
|
|
91
|
+
}
|
|
92
|
+
export interface Image {
|
|
93
|
+
id?: string;
|
|
94
|
+
height?: number;
|
|
95
|
+
width?: number;
|
|
96
|
+
altText?: string;
|
|
97
|
+
filename?: string;
|
|
98
|
+
}
|
|
99
|
+
export interface QueryCheckoutTemplatesRequest {
|
|
100
|
+
query?: CursorQuery;
|
|
101
|
+
}
|
|
102
|
+
export interface QueryCheckoutTemplatesResponse {
|
|
103
|
+
checkoutTemplates?: CheckoutTemplate[];
|
|
104
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
105
|
+
}
|
|
106
|
+
export interface UpdateCheckoutTemplateRequest {
|
|
107
|
+
checkoutTemplate?: CheckoutTemplate;
|
|
108
|
+
}
|
|
109
|
+
export interface UpdateCheckoutTemplateResponse {
|
|
110
|
+
checkoutTemplate?: CheckoutTemplate;
|
|
111
|
+
}
|
|
112
|
+
export interface V1LineItem {
|
|
113
|
+
quantity?: number;
|
|
114
|
+
catalogReference?: CatalogReference;
|
|
115
|
+
catalogOverrideFields?: CatalogOverrideFields;
|
|
116
|
+
}
|
|
117
|
+
export interface WebClientCustomization {
|
|
118
|
+
disabledContinueShoppingButton?: boolean;
|
|
119
|
+
disabledPolicyAgreementCheckbox?: boolean;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Creates a new checkout based on the checkout template and redirects to the new checkout page.
|
|
123
|
+
*
|
|
124
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
125
|
+
* @fqn wix.ecom.checkout_template.api.v1.CheckoutTemplateService.CreateAndRedirectToCheckout
|
|
126
|
+
*
|
|
127
|
+
* GET /ecom/v1/checkout-templates/{checkoutTemplateId}/create-and-redirect-to-checkout
|
|
128
|
+
*/
|
|
129
|
+
export declare function createAndRedirectToCheckout(req: CreateAndRedirectToCheckoutRequest, opts?: WixCallOptions): Promise<RawHttpResponse>;
|
|
130
|
+
/**
|
|
131
|
+
* Creates a new checkout based on the checkout template.
|
|
132
|
+
*
|
|
133
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
134
|
+
* @permissionId ECOM.CHECKOUT_TEMPLATE_CREATE_CHECKOUT
|
|
135
|
+
* @fqn wix.ecom.checkout_template.api.v1.CheckoutTemplateService.CreateCheckoutFromTemplate
|
|
136
|
+
*
|
|
137
|
+
* POST /ecom/v1/checkout-templates/{checkoutTemplateId}/create-checkout-from-template
|
|
138
|
+
*/
|
|
139
|
+
export declare function createCheckoutFromTemplate(req: CreateCheckoutFromTemplateRequest, opts?: WixCallOptions): Promise<CreateCheckoutFromTemplateResponse>;
|
|
140
|
+
/**
|
|
141
|
+
* Creates a checkout template.
|
|
142
|
+
*
|
|
143
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
144
|
+
* @permissionId ECOM.CHECKOUT_TEMPLATE_CREATE
|
|
145
|
+
* @fqn wix.ecom.checkout_template.api.v1.CheckoutTemplateService.CreateCheckoutTemplate
|
|
146
|
+
*
|
|
147
|
+
* POST /ecom/v1/checkout-templates
|
|
148
|
+
*/
|
|
149
|
+
export declare function createCheckoutTemplate(req?: CreateCheckoutTemplateRequest, opts?: WixCallOptions): Promise<CreateCheckoutTemplateResponse>;
|
|
150
|
+
/**
|
|
151
|
+
* Deletes a checkout template.
|
|
152
|
+
*
|
|
153
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
154
|
+
* @permissionId ECOM.CHECKOUT_TEMPLATE_DELETE
|
|
155
|
+
* @fqn wix.ecom.checkout_template.api.v1.CheckoutTemplateService.DeleteCheckoutTemplate
|
|
156
|
+
*
|
|
157
|
+
* DELETE /ecom/v1/checkout-templates/{checkoutTemplateId}
|
|
158
|
+
*/
|
|
159
|
+
export declare function deleteCheckoutTemplate(req: DeleteCheckoutTemplateRequest, opts?: WixCallOptions): Promise<DeleteCheckoutTemplateResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* Retrieves a checkout template.
|
|
162
|
+
*
|
|
163
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
164
|
+
* @permissionId ECOM.CHECKOUT_TEMPLATE_READ
|
|
165
|
+
* @fqn wix.ecom.checkout_template.api.v1.CheckoutTemplateService.GetCheckoutTemplate
|
|
166
|
+
*
|
|
167
|
+
* GET /ecom/v1/checkout-templates/{checkoutTemplateId}
|
|
168
|
+
*/
|
|
169
|
+
export declare function getCheckoutTemplate(req: GetCheckoutTemplateRequest, opts?: WixCallOptions): Promise<GetCheckoutTemplateResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* Creates a query to retrieve a list of checkout templates.
|
|
172
|
+
*
|
|
173
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
174
|
+
* @permissionId ECOM.CHECKOUT_TEMPLATE_READ
|
|
175
|
+
* @fqn wix.ecom.checkout_template.api.v1.CheckoutTemplateService.QueryCheckoutTemplates
|
|
176
|
+
*
|
|
177
|
+
* POST /ecom/v1/checkout-templates/query
|
|
178
|
+
*/
|
|
179
|
+
export declare function queryCheckoutTemplates(req?: QueryCheckoutTemplatesRequest, opts?: WixCallOptions): Promise<QueryCheckoutTemplatesResponse>;
|
|
180
|
+
/**
|
|
181
|
+
* Updates a checkout template.
|
|
182
|
+
*
|
|
183
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
184
|
+
* @permissionId ECOM.CHECKOUT_TEMPLATE_UPDATE
|
|
185
|
+
* @fqn wix.ecom.checkout_template.api.v1.CheckoutTemplateService.UpdateCheckoutTemplate
|
|
186
|
+
*
|
|
187
|
+
* PATCH /ecom/v1/checkout-templates/{checkoutTemplateId}
|
|
188
|
+
*/
|
|
189
|
+
export declare function updateCheckoutTemplate(req: UpdateCheckoutTemplateRequest, opts?: WixCallOptions): Promise<UpdateCheckoutTemplateResponse>;
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { BulkActionMetadata, CursorPagingMetadata, CursorQuery, ExtendedFields, ItemMetadata, Tags } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, ItemMetadata, Sorting, TagList, Tags } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface BulkContactTaxDetailsResult {
|
|
6
|
+
itemMetadata?: ItemMetadata;
|
|
7
|
+
}
|
|
8
|
+
export interface BulkDeleteContactTaxDetailsRequest {
|
|
9
|
+
contactTaxDetailsIds?: string[];
|
|
10
|
+
}
|
|
11
|
+
export interface BulkDeleteContactTaxDetailsResponse {
|
|
12
|
+
results?: BulkContactTaxDetailsResult[];
|
|
13
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
14
|
+
}
|
|
15
|
+
export interface BulkUpdateContactTaxDetailsTagsByFilterRequest {
|
|
16
|
+
filter?: Record<string, unknown>;
|
|
17
|
+
assignTags?: Tags;
|
|
18
|
+
unassignTags?: Tags;
|
|
19
|
+
}
|
|
20
|
+
export interface BulkUpdateContactTaxDetailsTagsByFilterResponse {
|
|
21
|
+
jobId?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface BulkUpdateContactTaxDetailsTagsRequest {
|
|
24
|
+
contactTaxDetailsIds?: string[];
|
|
25
|
+
assignTags?: Tags;
|
|
26
|
+
unassignTags?: Tags;
|
|
27
|
+
}
|
|
28
|
+
export interface BulkUpdateContactTaxDetailsTagsResponse {
|
|
29
|
+
results?: BulkUpdateContactTaxDetailsTagsResult[];
|
|
30
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
31
|
+
}
|
|
32
|
+
export interface BulkUpdateContactTaxDetailsTagsResult {
|
|
33
|
+
itemMetadata?: ItemMetadata;
|
|
34
|
+
}
|
|
35
|
+
export interface BulkUpsertContactTaxDetailsRequest {
|
|
36
|
+
contactTaxDetails?: ContactTaxDetails[];
|
|
37
|
+
returnEntity?: boolean;
|
|
38
|
+
fields?: string[];
|
|
39
|
+
}
|
|
40
|
+
export interface BulkUpsertContactTaxDetailsResponse {
|
|
41
|
+
results?: BulkUpsertContactTaxDetailsResponseBulkContactTaxDetailsResult[];
|
|
42
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
43
|
+
}
|
|
44
|
+
export interface BulkUpsertContactTaxDetailsResponseBulkContactTaxDetailsResult {
|
|
45
|
+
itemMetadata?: ItemMetadata;
|
|
46
|
+
item?: ContactTaxDetails;
|
|
47
|
+
}
|
|
48
|
+
export interface ContactDetails {
|
|
49
|
+
firstName?: string;
|
|
50
|
+
lastName?: string;
|
|
51
|
+
company?: string;
|
|
52
|
+
email?: string;
|
|
53
|
+
vatId?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface ContactTaxDetails {
|
|
56
|
+
id?: string;
|
|
57
|
+
revision?: string;
|
|
58
|
+
createdDate?: string;
|
|
59
|
+
updatedDate?: string;
|
|
60
|
+
taxExemptGroupId?: string;
|
|
61
|
+
contactDetails?: ContactDetails;
|
|
62
|
+
extendedFields?: ExtendedFields;
|
|
63
|
+
tags?: Tags;
|
|
64
|
+
}
|
|
65
|
+
export interface CountContactTaxDetailsRequest {
|
|
66
|
+
filter?: Record<string, unknown>;
|
|
67
|
+
}
|
|
68
|
+
export interface CountContactTaxDetailsResponse {
|
|
69
|
+
count?: number;
|
|
70
|
+
}
|
|
71
|
+
export interface DeleteContactTaxDetailsRequest {
|
|
72
|
+
contactTaxDetailsId?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface DeleteContactTaxDetailsResponse {
|
|
75
|
+
}
|
|
76
|
+
export interface GetContactTaxDetailsRequest {
|
|
77
|
+
id?: string;
|
|
78
|
+
fields?: string[];
|
|
79
|
+
}
|
|
80
|
+
export interface GetContactTaxDetailsResponse {
|
|
81
|
+
contactTaxDetails?: ContactTaxDetails;
|
|
82
|
+
}
|
|
83
|
+
export interface QueryContactTaxDetailsRequest {
|
|
84
|
+
query?: CursorQuery;
|
|
85
|
+
fields?: string[];
|
|
86
|
+
}
|
|
87
|
+
export interface QueryContactTaxDetailsResponse {
|
|
88
|
+
contactTaxDetails?: ContactTaxDetails[];
|
|
89
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
90
|
+
}
|
|
91
|
+
export interface UpsertContactTaxDetailsRequest {
|
|
92
|
+
contactTaxDetails?: ContactTaxDetails;
|
|
93
|
+
fields?: string[];
|
|
94
|
+
}
|
|
95
|
+
export interface UpsertContactTaxDetailsResponse {
|
|
96
|
+
contactTaxDetails?: ContactTaxDetails;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Deletes the tax details of multiple contacts in a single request.
|
|
100
|
+
*
|
|
101
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
102
|
+
* @permissionId BILLING.CONTACT_TAX_DETAILS_DELETE
|
|
103
|
+
* @fqn wix.billing.v1.ContactTaxDetailsService.BulkDeleteContactTaxDetails
|
|
104
|
+
*
|
|
105
|
+
* POST /billing/v1/bulk/contact-tax-details/delete
|
|
106
|
+
*/
|
|
107
|
+
export declare function bulkDeleteContactTaxDetails(req?: BulkDeleteContactTaxDetailsRequest, opts?: WixCallOptions): Promise<BulkDeleteContactTaxDetailsResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* Adds or removes tags on multiple contact tax details.
|
|
110
|
+
*
|
|
111
|
+
* @permissionId BILLING.CONTACT_TAX_DETAILS_UPDATE_TAGS
|
|
112
|
+
* @fqn wix.billing.v1.ContactTaxDetailsService.BulkUpdateContactTaxDetailsTags
|
|
113
|
+
*
|
|
114
|
+
* POST /billing/v1/bulk/contact-tax-details/update-tags
|
|
115
|
+
*/
|
|
116
|
+
export declare function bulkUpdateContactTaxDetailsTags(req?: BulkUpdateContactTaxDetailsTagsRequest, opts?: WixCallOptions): Promise<BulkUpdateContactTaxDetailsTagsResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* Asynchronously updates tags on multiple contact tax details that match the provided filter criteria.
|
|
119
|
+
*
|
|
120
|
+
* @permissionId BILLING.CONTACT_TAX_DETAILS_UPDATE_TAGS
|
|
121
|
+
* @fqn wix.billing.v1.ContactTaxDetailsService.BulkUpdateContactTaxDetailsTagsByFilter
|
|
122
|
+
*
|
|
123
|
+
* POST /billing/v1/bulk/contact-tax-details/update-tags-by-filter
|
|
124
|
+
*/
|
|
125
|
+
export declare function bulkUpdateContactTaxDetailsTagsByFilter(req?: BulkUpdateContactTaxDetailsTagsByFilterRequest, opts?: WixCallOptions): Promise<BulkUpdateContactTaxDetailsTagsByFilterResponse>;
|
|
126
|
+
/**
|
|
127
|
+
* Creates or updates the tax details of multiple contacts in a single request.
|
|
128
|
+
*
|
|
129
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
130
|
+
* @permissionId BILLING.CONTACT_TAX_DETAILS_UPDATE
|
|
131
|
+
* @fqn wix.billing.v1.ContactTaxDetailsService.BulkUpsertContactTaxDetails
|
|
132
|
+
*
|
|
133
|
+
* POST /billing/v1/bulk/contact-tax-details/upsert
|
|
134
|
+
*/
|
|
135
|
+
export declare function bulkUpsertContactTaxDetails(req?: BulkUpsertContactTaxDetailsRequest, opts?: WixCallOptions): Promise<BulkUpsertContactTaxDetailsResponse>;
|
|
136
|
+
/**
|
|
137
|
+
* Counts the contact tax details that match the provided filter.
|
|
138
|
+
*
|
|
139
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
140
|
+
* @permissionId BILLING.CONTACT_TAX_DETAILS_READ
|
|
141
|
+
* @fqn wix.billing.v1.ContactTaxDetailsService.CountContactTaxDetails
|
|
142
|
+
*
|
|
143
|
+
* POST /billing/v1/contact-tax-details/count
|
|
144
|
+
*/
|
|
145
|
+
export declare function countContactTaxDetails(req?: CountContactTaxDetailsRequest, opts?: WixCallOptions): Promise<CountContactTaxDetailsResponse>;
|
|
146
|
+
/**
|
|
147
|
+
* Deletes a contact's tax details.
|
|
148
|
+
*
|
|
149
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
150
|
+
* @permissionId BILLING.CONTACT_TAX_DETAILS_DELETE
|
|
151
|
+
* @fqn wix.billing.v1.ContactTaxDetailsService.DeleteContactTaxDetails
|
|
152
|
+
*
|
|
153
|
+
* DELETE /billing/v1/contact-tax-details/{contactTaxDetailsId}
|
|
154
|
+
*/
|
|
155
|
+
export declare function deleteContactTaxDetails(req: DeleteContactTaxDetailsRequest, opts?: WixCallOptions): Promise<DeleteContactTaxDetailsResponse>;
|
|
156
|
+
/**
|
|
157
|
+
* Retrieves a contact's tax details by contact ID.
|
|
158
|
+
*
|
|
159
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
160
|
+
* @permissionId BILLING.CONTACT_TAX_DETAILS_READ
|
|
161
|
+
* @fqn wix.billing.v1.ContactTaxDetailsService.GetContactTaxDetails
|
|
162
|
+
*
|
|
163
|
+
* GET /billing/v1/contact-tax-details/{id}
|
|
164
|
+
*/
|
|
165
|
+
export declare function getContactTaxDetails(req: GetContactTaxDetailsRequest, opts?: WixCallOptions): Promise<GetContactTaxDetailsResponse>;
|
|
166
|
+
/**
|
|
167
|
+
* Retrieves a list of up to 100 contact tax details, given the provided paging, filtering, and sorting.
|
|
168
|
+
*
|
|
169
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
170
|
+
* @permissionId BILLING.CONTACT_TAX_DETAILS_READ
|
|
171
|
+
* @fqn wix.billing.v1.ContactTaxDetailsService.QueryContactTaxDetails
|
|
172
|
+
*
|
|
173
|
+
* POST /billing/v1/contact-tax-details/query
|
|
174
|
+
*/
|
|
175
|
+
export declare function queryContactTaxDetails(req?: QueryContactTaxDetailsRequest, opts?: WixCallOptions): Promise<QueryContactTaxDetailsResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* Creates or updates a contact's tax details.
|
|
178
|
+
*
|
|
179
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
180
|
+
* @permissionId BILLING.CONTACT_TAX_DETAILS_UPDATE
|
|
181
|
+
* @fqn wix.billing.v1.ContactTaxDetailsService.UpsertContactTaxDetails
|
|
182
|
+
*
|
|
183
|
+
* POST /billing/v1/contact-tax-details
|
|
184
|
+
*/
|
|
185
|
+
export declare function upsertContactTaxDetails(req?: UpsertContactTaxDetailsRequest, opts?: WixCallOptions): Promise<UpsertContactTaxDetailsResponse>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
3
|
+
export interface ConversionRateRequest {
|
|
4
|
+
from?: string;
|
|
5
|
+
to?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ConversionRateResponse {
|
|
8
|
+
rate?: DecimalValue;
|
|
9
|
+
rateTimestamp?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ConvertCurrencyRequest {
|
|
12
|
+
amounts?: DecimalValue[];
|
|
13
|
+
from?: string;
|
|
14
|
+
to?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ConvertCurrencyResponse {
|
|
17
|
+
amounts?: DecimalValue[];
|
|
18
|
+
rateTimestamp?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface Currency {
|
|
21
|
+
code?: string;
|
|
22
|
+
symbol?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface DecimalValue {
|
|
25
|
+
value?: string;
|
|
26
|
+
decimalPlaces?: number;
|
|
27
|
+
}
|
|
28
|
+
export interface ListCurrenciesRequest {
|
|
29
|
+
}
|
|
30
|
+
export interface ListCurrenciesResponse {
|
|
31
|
+
currencies?: Currency[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Returns an array of amounts converted from the original (`from`) currency to the target (`to`) currency and the timestamp for the conversion rate used.
|
|
35
|
+
*
|
|
36
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
37
|
+
* @permissionId CURRENCY_CONVERTER.READ_CURRENCIES
|
|
38
|
+
* @fqn com.wixpress.currency.converter.api.v1.CurrencyConverter.ConvertCurrency
|
|
39
|
+
*
|
|
40
|
+
* POST /currency_converter/v1/currencies/amounts/{from}/convert/{to}
|
|
41
|
+
*/
|
|
42
|
+
export declare function convertCurrency(req: ConvertCurrencyRequest, opts?: WixCallOptions): Promise<ConvertCurrencyResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the conversion rate between 2 currencies.
|
|
45
|
+
*
|
|
46
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
47
|
+
* @permissionId CURRENCY_CONVERTER.READ_CURRENCIES
|
|
48
|
+
* @fqn com.wixpress.currency.converter.api.v1.CurrencyConverter.ConversionRate
|
|
49
|
+
*
|
|
50
|
+
* GET /currency_converter/v1/currencies/rate/{from}/convert/{to}
|
|
51
|
+
*/
|
|
52
|
+
export declare function getConversionRate(req: ConversionRateRequest, opts?: WixCallOptions): Promise<ConversionRateResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Returns an array of currencies. The array lists all currencies for which Wix supports conversion and their symbols.
|
|
55
|
+
*
|
|
56
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
57
|
+
* @permissionId CURRENCY_CONVERTER.READ_CURRENCIES
|
|
58
|
+
* @fqn com.wixpress.currency.converter.api.v1.CurrencyConverter.ListCurrencies
|
|
59
|
+
*
|
|
60
|
+
* GET /currency_converter/v1/currencies
|
|
61
|
+
*/
|
|
62
|
+
export declare function listCurrencies(req?: ListCurrenciesRequest, opts?: WixCallOptions): Promise<ListCurrenciesResponse>;
|