@wix/himalaya-cli 0.2004.0 → 0.2006.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/core/dev-server/src/provisioning-facts.d.ts +1 -1
- 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 +9 -10
- 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
- package/templates/bare-fashion/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/beauty-salon/dev/index.ts +231 -139
- package/templates/beauty-salon/l10n/ar.json +6 -12
- package/templates/beauty-salon/l10n/cs.json +6 -12
- package/templates/beauty-salon/l10n/da.json +6 -12
- package/templates/beauty-salon/l10n/de.json +6 -12
- package/templates/beauty-salon/l10n/el.json +6 -12
- package/templates/beauty-salon/l10n/en.json +11 -18
- package/templates/beauty-salon/l10n/es.json +6 -12
- package/templates/beauty-salon/l10n/fi.json +6 -12
- package/templates/beauty-salon/l10n/fr.json +6 -12
- package/templates/beauty-salon/l10n/he.json +6 -10
- package/templates/beauty-salon/l10n/hu.json +6 -12
- package/templates/beauty-salon/l10n/id.json +6 -12
- package/templates/beauty-salon/l10n/it.json +6 -12
- package/templates/beauty-salon/l10n/ja.json +6 -12
- package/templates/beauty-salon/l10n/ko.json +6 -12
- package/templates/beauty-salon/l10n/lt.json +6 -12
- package/templates/beauty-salon/l10n/nl.json +6 -12
- package/templates/beauty-salon/l10n/no.json +6 -12
- package/templates/beauty-salon/l10n/pl.json +6 -12
- package/templates/beauty-salon/l10n/pt.json +6 -12
- package/templates/beauty-salon/l10n/ru.json +6 -12
- package/templates/beauty-salon/l10n/sv.json +6 -12
- package/templates/beauty-salon/l10n/th.json +6 -12
- package/templates/beauty-salon/l10n/tr.json +6 -12
- package/templates/beauty-salon/l10n/uk.json +6 -12
- package/templates/beauty-salon/l10n/vi.json +6 -12
- package/templates/beauty-salon/l10n/zh.json +6 -12
- package/templates/beauty-salon/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/beauty-salon/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/branded-lite/dev/index.ts +229 -137
- package/templates/branded-lite/l10n/ar.json +0 -12
- package/templates/branded-lite/l10n/cs.json +0 -12
- package/templates/branded-lite/l10n/da.json +0 -12
- package/templates/branded-lite/l10n/de.json +0 -12
- package/templates/branded-lite/l10n/el.json +0 -12
- package/templates/branded-lite/l10n/en.json +4 -18
- package/templates/branded-lite/l10n/es.json +0 -12
- package/templates/branded-lite/l10n/fi.json +0 -12
- package/templates/branded-lite/l10n/fr.json +0 -12
- package/templates/branded-lite/l10n/he.json +0 -10
- package/templates/branded-lite/l10n/hu.json +0 -12
- package/templates/branded-lite/l10n/id.json +0 -12
- package/templates/branded-lite/l10n/it.json +0 -12
- package/templates/branded-lite/l10n/ja.json +0 -12
- package/templates/branded-lite/l10n/ko.json +0 -12
- package/templates/branded-lite/l10n/lt.json +0 -12
- package/templates/branded-lite/l10n/nl.json +0 -12
- package/templates/branded-lite/l10n/no.json +0 -12
- package/templates/branded-lite/l10n/pl.json +0 -12
- package/templates/branded-lite/l10n/pt.json +0 -12
- package/templates/branded-lite/l10n/ru.json +0 -12
- package/templates/branded-lite/l10n/sv.json +0 -12
- package/templates/branded-lite/l10n/th.json +0 -12
- package/templates/branded-lite/l10n/tr.json +0 -12
- package/templates/branded-lite/l10n/uk.json +0 -12
- package/templates/branded-lite/l10n/vi.json +0 -12
- package/templates/branded-lite/l10n/zh.json +0 -12
- package/templates/branded-lite/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/community-club/dev/index.ts +229 -137
- package/templates/community-club/l10n/ar.json +6 -12
- package/templates/community-club/l10n/cs.json +6 -12
- package/templates/community-club/l10n/da.json +6 -12
- package/templates/community-club/l10n/de.json +6 -12
- package/templates/community-club/l10n/el.json +6 -12
- package/templates/community-club/l10n/en.json +11 -18
- package/templates/community-club/l10n/es.json +6 -12
- package/templates/community-club/l10n/fi.json +6 -12
- package/templates/community-club/l10n/fr.json +6 -12
- package/templates/community-club/l10n/he.json +6 -10
- package/templates/community-club/l10n/hu.json +6 -12
- package/templates/community-club/l10n/id.json +6 -12
- package/templates/community-club/l10n/it.json +6 -12
- package/templates/community-club/l10n/ja.json +6 -12
- package/templates/community-club/l10n/ko.json +6 -12
- package/templates/community-club/l10n/lt.json +6 -12
- package/templates/community-club/l10n/nl.json +6 -12
- package/templates/community-club/l10n/no.json +6 -12
- package/templates/community-club/l10n/pl.json +6 -12
- package/templates/community-club/l10n/pt.json +6 -12
- package/templates/community-club/l10n/ru.json +6 -12
- package/templates/community-club/l10n/sv.json +6 -12
- package/templates/community-club/l10n/th.json +6 -12
- package/templates/community-club/l10n/tr.json +6 -12
- package/templates/community-club/l10n/uk.json +6 -12
- package/templates/community-club/l10n/vi.json +6 -12
- package/templates/community-club/l10n/zh.json +6 -12
- package/templates/community-club/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/community-club/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/events-meetups/dev/index.ts +229 -137
- package/templates/events-meetups/l10n/ar.json +6 -12
- package/templates/events-meetups/l10n/cs.json +6 -12
- package/templates/events-meetups/l10n/da.json +6 -12
- package/templates/events-meetups/l10n/de.json +6 -12
- package/templates/events-meetups/l10n/el.json +6 -12
- package/templates/events-meetups/l10n/en.json +11 -18
- package/templates/events-meetups/l10n/es.json +6 -12
- package/templates/events-meetups/l10n/fi.json +6 -12
- package/templates/events-meetups/l10n/fr.json +6 -12
- package/templates/events-meetups/l10n/he.json +6 -10
- package/templates/events-meetups/l10n/hu.json +6 -12
- package/templates/events-meetups/l10n/id.json +6 -12
- package/templates/events-meetups/l10n/it.json +6 -12
- package/templates/events-meetups/l10n/ja.json +6 -12
- package/templates/events-meetups/l10n/ko.json +6 -12
- package/templates/events-meetups/l10n/lt.json +6 -12
- package/templates/events-meetups/l10n/nl.json +6 -12
- package/templates/events-meetups/l10n/no.json +6 -12
- package/templates/events-meetups/l10n/pl.json +6 -12
- package/templates/events-meetups/l10n/pt.json +6 -12
- package/templates/events-meetups/l10n/ru.json +6 -12
- package/templates/events-meetups/l10n/sv.json +6 -12
- package/templates/events-meetups/l10n/th.json +6 -12
- package/templates/events-meetups/l10n/tr.json +6 -12
- package/templates/events-meetups/l10n/uk.json +6 -12
- package/templates/events-meetups/l10n/vi.json +6 -12
- package/templates/events-meetups/l10n/zh.json +6 -12
- package/templates/events-meetups/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/fitness-gym/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/gym-fitness/dev/index.ts +231 -139
- package/templates/gym-fitness/l10n/ar.json +6 -12
- package/templates/gym-fitness/l10n/cs.json +6 -12
- package/templates/gym-fitness/l10n/da.json +6 -12
- package/templates/gym-fitness/l10n/de.json +6 -12
- package/templates/gym-fitness/l10n/el.json +6 -12
- package/templates/gym-fitness/l10n/en.json +11 -18
- package/templates/gym-fitness/l10n/es.json +6 -12
- package/templates/gym-fitness/l10n/fi.json +6 -12
- package/templates/gym-fitness/l10n/fr.json +6 -12
- package/templates/gym-fitness/l10n/he.json +6 -10
- package/templates/gym-fitness/l10n/hu.json +6 -12
- package/templates/gym-fitness/l10n/id.json +6 -12
- package/templates/gym-fitness/l10n/it.json +6 -12
- package/templates/gym-fitness/l10n/ja.json +6 -12
- package/templates/gym-fitness/l10n/ko.json +6 -12
- package/templates/gym-fitness/l10n/lt.json +6 -12
- package/templates/gym-fitness/l10n/nl.json +6 -12
- package/templates/gym-fitness/l10n/no.json +6 -12
- package/templates/gym-fitness/l10n/pl.json +6 -12
- package/templates/gym-fitness/l10n/pt.json +6 -12
- package/templates/gym-fitness/l10n/ru.json +6 -12
- package/templates/gym-fitness/l10n/sv.json +6 -12
- package/templates/gym-fitness/l10n/th.json +6 -12
- package/templates/gym-fitness/l10n/tr.json +6 -12
- package/templates/gym-fitness/l10n/uk.json +6 -12
- package/templates/gym-fitness/l10n/vi.json +6 -12
- package/templates/gym-fitness/l10n/zh.json +6 -12
- package/templates/gym-fitness/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/gym-fitness/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/medical-services/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/medical-services/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/nonprofit-cause/dev/index.ts +229 -137
- package/templates/nonprofit-cause/l10n/ar.json +6 -12
- package/templates/nonprofit-cause/l10n/cs.json +6 -12
- package/templates/nonprofit-cause/l10n/da.json +6 -12
- package/templates/nonprofit-cause/l10n/de.json +6 -12
- package/templates/nonprofit-cause/l10n/el.json +6 -12
- package/templates/nonprofit-cause/l10n/en.json +11 -18
- package/templates/nonprofit-cause/l10n/es.json +6 -12
- package/templates/nonprofit-cause/l10n/fi.json +6 -12
- package/templates/nonprofit-cause/l10n/fr.json +6 -12
- package/templates/nonprofit-cause/l10n/he.json +6 -10
- package/templates/nonprofit-cause/l10n/hu.json +6 -12
- package/templates/nonprofit-cause/l10n/id.json +6 -12
- package/templates/nonprofit-cause/l10n/it.json +6 -12
- package/templates/nonprofit-cause/l10n/ja.json +6 -12
- package/templates/nonprofit-cause/l10n/ko.json +6 -12
- package/templates/nonprofit-cause/l10n/lt.json +6 -12
- package/templates/nonprofit-cause/l10n/nl.json +6 -12
- package/templates/nonprofit-cause/l10n/no.json +6 -12
- package/templates/nonprofit-cause/l10n/pl.json +6 -12
- package/templates/nonprofit-cause/l10n/pt.json +6 -12
- package/templates/nonprofit-cause/l10n/ru.json +6 -12
- package/templates/nonprofit-cause/l10n/sv.json +6 -12
- package/templates/nonprofit-cause/l10n/th.json +6 -12
- package/templates/nonprofit-cause/l10n/tr.json +6 -12
- package/templates/nonprofit-cause/l10n/uk.json +6 -12
- package/templates/nonprofit-cause/l10n/vi.json +6 -12
- package/templates/nonprofit-cause/l10n/zh.json +6 -12
- package/templates/nonprofit-cause/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/personal-fitness-trainer/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/podcast-creator/dev/index.ts +229 -137
- package/templates/podcast-creator/l10n/ar.json +6 -12
- package/templates/podcast-creator/l10n/cs.json +6 -12
- package/templates/podcast-creator/l10n/da.json +6 -12
- package/templates/podcast-creator/l10n/de.json +6 -12
- package/templates/podcast-creator/l10n/el.json +6 -12
- package/templates/podcast-creator/l10n/en.json +11 -18
- package/templates/podcast-creator/l10n/es.json +6 -12
- package/templates/podcast-creator/l10n/fi.json +6 -12
- package/templates/podcast-creator/l10n/fr.json +6 -12
- package/templates/podcast-creator/l10n/he.json +6 -10
- package/templates/podcast-creator/l10n/hu.json +6 -12
- package/templates/podcast-creator/l10n/id.json +6 -12
- package/templates/podcast-creator/l10n/it.json +6 -12
- package/templates/podcast-creator/l10n/ja.json +6 -12
- package/templates/podcast-creator/l10n/ko.json +6 -12
- package/templates/podcast-creator/l10n/lt.json +6 -12
- package/templates/podcast-creator/l10n/nl.json +6 -12
- package/templates/podcast-creator/l10n/no.json +6 -12
- package/templates/podcast-creator/l10n/pl.json +6 -12
- package/templates/podcast-creator/l10n/pt.json +6 -12
- package/templates/podcast-creator/l10n/ru.json +6 -12
- package/templates/podcast-creator/l10n/sv.json +6 -12
- package/templates/podcast-creator/l10n/th.json +6 -12
- package/templates/podcast-creator/l10n/tr.json +6 -12
- package/templates/podcast-creator/l10n/uk.json +6 -12
- package/templates/podcast-creator/l10n/vi.json +6 -12
- package/templates/podcast-creator/l10n/zh.json +6 -12
- package/templates/podcast-creator/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/portfolio-creative/dev/index.ts +231 -139
- package/templates/portfolio-creative/l10n/ar.json +0 -12
- package/templates/portfolio-creative/l10n/cs.json +0 -12
- package/templates/portfolio-creative/l10n/da.json +0 -12
- package/templates/portfolio-creative/l10n/de.json +0 -12
- package/templates/portfolio-creative/l10n/el.json +0 -12
- package/templates/portfolio-creative/l10n/en.json +4 -18
- package/templates/portfolio-creative/l10n/es.json +0 -12
- package/templates/portfolio-creative/l10n/fi.json +0 -12
- package/templates/portfolio-creative/l10n/fr.json +0 -12
- package/templates/portfolio-creative/l10n/he.json +0 -10
- package/templates/portfolio-creative/l10n/hu.json +0 -12
- package/templates/portfolio-creative/l10n/id.json +0 -12
- package/templates/portfolio-creative/l10n/it.json +0 -12
- package/templates/portfolio-creative/l10n/ja.json +0 -12
- package/templates/portfolio-creative/l10n/ko.json +0 -12
- package/templates/portfolio-creative/l10n/lt.json +0 -12
- package/templates/portfolio-creative/l10n/nl.json +0 -12
- package/templates/portfolio-creative/l10n/no.json +0 -12
- package/templates/portfolio-creative/l10n/pl.json +0 -12
- package/templates/portfolio-creative/l10n/pt.json +0 -12
- package/templates/portfolio-creative/l10n/ru.json +0 -12
- package/templates/portfolio-creative/l10n/sv.json +0 -12
- package/templates/portfolio-creative/l10n/th.json +0 -12
- package/templates/portfolio-creative/l10n/tr.json +0 -12
- package/templates/portfolio-creative/l10n/uk.json +0 -12
- package/templates/portfolio-creative/l10n/vi.json +0 -12
- package/templates/portfolio-creative/l10n/zh.json +0 -12
- package/templates/portfolio-creative/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/professional-services/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/restaurant/dev/index.ts +229 -137
- package/templates/restaurant/l10n/ar.json +6 -12
- package/templates/restaurant/l10n/cs.json +6 -12
- package/templates/restaurant/l10n/da.json +6 -12
- package/templates/restaurant/l10n/de.json +6 -12
- package/templates/restaurant/l10n/el.json +6 -12
- package/templates/restaurant/l10n/en.json +11 -18
- package/templates/restaurant/l10n/es.json +6 -12
- package/templates/restaurant/l10n/fi.json +6 -12
- package/templates/restaurant/l10n/fr.json +6 -12
- package/templates/restaurant/l10n/he.json +6 -10
- package/templates/restaurant/l10n/hu.json +6 -12
- package/templates/restaurant/l10n/id.json +6 -12
- package/templates/restaurant/l10n/it.json +6 -12
- package/templates/restaurant/l10n/ja.json +6 -12
- package/templates/restaurant/l10n/ko.json +6 -12
- package/templates/restaurant/l10n/lt.json +6 -12
- package/templates/restaurant/l10n/nl.json +6 -12
- package/templates/restaurant/l10n/no.json +6 -12
- package/templates/restaurant/l10n/pl.json +6 -12
- package/templates/restaurant/l10n/pt.json +6 -12
- package/templates/restaurant/l10n/ru.json +6 -12
- package/templates/restaurant/l10n/sv.json +6 -12
- package/templates/restaurant/l10n/th.json +6 -12
- package/templates/restaurant/l10n/tr.json +6 -12
- package/templates/restaurant/l10n/uk.json +6 -12
- package/templates/restaurant/l10n/vi.json +6 -12
- package/templates/restaurant/l10n/zh.json +6 -12
- package/templates/restaurant/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/retail-store/dev/index.ts +229 -137
- package/templates/retail-store/l10n/ar.json +6 -12
- package/templates/retail-store/l10n/cs.json +6 -12
- package/templates/retail-store/l10n/da.json +6 -12
- package/templates/retail-store/l10n/de.json +6 -12
- package/templates/retail-store/l10n/el.json +6 -12
- package/templates/retail-store/l10n/en.json +11 -18
- package/templates/retail-store/l10n/es.json +6 -12
- package/templates/retail-store/l10n/fi.json +6 -12
- package/templates/retail-store/l10n/fr.json +6 -12
- package/templates/retail-store/l10n/he.json +6 -10
- package/templates/retail-store/l10n/hu.json +6 -12
- package/templates/retail-store/l10n/id.json +6 -12
- package/templates/retail-store/l10n/it.json +6 -12
- package/templates/retail-store/l10n/ja.json +6 -12
- package/templates/retail-store/l10n/ko.json +6 -12
- package/templates/retail-store/l10n/lt.json +6 -12
- package/templates/retail-store/l10n/nl.json +6 -12
- package/templates/retail-store/l10n/no.json +6 -12
- package/templates/retail-store/l10n/pl.json +6 -12
- package/templates/retail-store/l10n/pt.json +6 -12
- package/templates/retail-store/l10n/ru.json +6 -12
- package/templates/retail-store/l10n/sv.json +6 -12
- package/templates/retail-store/l10n/th.json +6 -12
- package/templates/retail-store/l10n/tr.json +6 -12
- package/templates/retail-store/l10n/uk.json +6 -12
- package/templates/retail-store/l10n/vi.json +6 -12
- package/templates/retail-store/l10n/zh.json +6 -12
- package/templates/retail-store/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-info/index.ts +30 -19
- package/templates/salon-spa/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/yoga-studio/dev/index.ts +231 -139
- package/templates/yoga-studio/l10n/ar.json +6 -12
- package/templates/yoga-studio/l10n/cs.json +6 -12
- package/templates/yoga-studio/l10n/da.json +6 -12
- package/templates/yoga-studio/l10n/de.json +6 -12
- package/templates/yoga-studio/l10n/el.json +6 -12
- package/templates/yoga-studio/l10n/en.json +11 -18
- package/templates/yoga-studio/l10n/es.json +6 -12
- package/templates/yoga-studio/l10n/fi.json +6 -12
- package/templates/yoga-studio/l10n/fr.json +6 -12
- package/templates/yoga-studio/l10n/he.json +6 -10
- package/templates/yoga-studio/l10n/hu.json +6 -12
- package/templates/yoga-studio/l10n/id.json +6 -12
- package/templates/yoga-studio/l10n/it.json +6 -12
- package/templates/yoga-studio/l10n/ja.json +6 -12
- package/templates/yoga-studio/l10n/ko.json +6 -12
- package/templates/yoga-studio/l10n/lt.json +6 -12
- package/templates/yoga-studio/l10n/nl.json +6 -12
- package/templates/yoga-studio/l10n/no.json +6 -12
- package/templates/yoga-studio/l10n/pl.json +6 -12
- package/templates/yoga-studio/l10n/pt.json +6 -12
- package/templates/yoga-studio/l10n/ru.json +6 -12
- package/templates/yoga-studio/l10n/sv.json +6 -12
- package/templates/yoga-studio/l10n/th.json +6 -12
- package/templates/yoga-studio/l10n/tr.json +6 -12
- package/templates/yoga-studio/l10n/uk.json +6 -12
- package/templates/yoga-studio/l10n/vi.json +6 -12
- package/templates/yoga-studio/l10n/zh.json +6 -12
- package/templates/yoga-studio/tier5-src/_shared/open-web-link.ts +22 -0
- package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +6 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +8 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-info/index.ts +30 -19
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { ApplicationError, BulkActionMetadata, CursorPagingMetadata, CursorQuery, ExtendedFields, UpdateExtendedFieldsRequest } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicationError, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, Sorting, UpdateExtendedFieldsRequest } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AddDeliveryCarrierRequest {
|
|
6
|
+
deliveryRegionId?: string;
|
|
7
|
+
deliveryCarrier?: DeliveryCarrier;
|
|
8
|
+
}
|
|
9
|
+
export interface AddDeliveryCarrierResponse {
|
|
10
|
+
deliveryProfile?: DeliveryProfile;
|
|
11
|
+
}
|
|
12
|
+
export interface AddDeliveryRegionRequest {
|
|
13
|
+
deliveryProfileId?: string;
|
|
14
|
+
deliveryRegion?: DeliveryRegion;
|
|
15
|
+
revision?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface AddDeliveryRegionResponse {
|
|
18
|
+
deliveryProfile?: DeliveryProfile;
|
|
19
|
+
}
|
|
20
|
+
export interface AdditionalCharge {
|
|
21
|
+
description?: string;
|
|
22
|
+
amount?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface BackupRate {
|
|
25
|
+
title?: string;
|
|
26
|
+
amount?: string;
|
|
27
|
+
active?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface Column {
|
|
30
|
+
key?: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface CountryDeliveryProperties {
|
|
34
|
+
country?: string;
|
|
35
|
+
deliveryDestinationProperties?: DeliveryDestinationProperties;
|
|
36
|
+
subdivisions?: SubdivisionDeliveryProperties[];
|
|
37
|
+
}
|
|
38
|
+
export interface CreateDeliveryProfileRequest {
|
|
39
|
+
deliveryProfile?: DeliveryProfile;
|
|
40
|
+
}
|
|
41
|
+
export interface CreateDeliveryProfileResponse {
|
|
42
|
+
deliveryProfile?: DeliveryProfile;
|
|
43
|
+
}
|
|
44
|
+
export interface CreatedBy {
|
|
45
|
+
appId?: string;
|
|
46
|
+
userId?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface DashboardTable {
|
|
49
|
+
title?: string;
|
|
50
|
+
columns?: Column[];
|
|
51
|
+
rows?: Row[];
|
|
52
|
+
}
|
|
53
|
+
export interface DeleteDeliveryProfileRequest {
|
|
54
|
+
deliveryProfileId?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface DeleteDeliveryProfileResponse {
|
|
57
|
+
}
|
|
58
|
+
export interface DeliveryCarrier {
|
|
59
|
+
appId?: string;
|
|
60
|
+
backupRate?: BackupRate;
|
|
61
|
+
additionalCharges?: AdditionalCharge[];
|
|
62
|
+
}
|
|
63
|
+
export interface DeliveryCarrierDetails {
|
|
64
|
+
id?: string;
|
|
65
|
+
displayName?: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
learnMoreUrl?: string;
|
|
68
|
+
dashboardUrl?: string;
|
|
69
|
+
fallbackDefinitionMandatory?: boolean;
|
|
70
|
+
thumbnailUrl?: string;
|
|
71
|
+
toggleGetCarrierSettingsEnabled?: boolean;
|
|
72
|
+
toggleUpdateCarrierActiveStatusEnabled?: boolean;
|
|
73
|
+
}
|
|
74
|
+
export interface DeliveryCarrierRegionalSettings {
|
|
75
|
+
deliveryRegionId?: string;
|
|
76
|
+
dashboardTables?: DashboardTable[];
|
|
77
|
+
}
|
|
78
|
+
export interface DeliveryDestinationProperties {
|
|
79
|
+
postalCodeRequired?: boolean;
|
|
80
|
+
pickupOnly?: boolean;
|
|
81
|
+
}
|
|
82
|
+
export interface DeliveryProfile {
|
|
83
|
+
id?: string;
|
|
84
|
+
name?: string;
|
|
85
|
+
default?: boolean;
|
|
86
|
+
deliveryRegions?: DeliveryRegion[];
|
|
87
|
+
createdBy?: CreatedBy;
|
|
88
|
+
revision?: string;
|
|
89
|
+
createdDate?: string;
|
|
90
|
+
updatedDate?: string;
|
|
91
|
+
extendedFields?: ExtendedFields;
|
|
92
|
+
}
|
|
93
|
+
export interface DeliveryRegion {
|
|
94
|
+
id?: string;
|
|
95
|
+
name?: string;
|
|
96
|
+
active?: boolean;
|
|
97
|
+
deliveryCarriers?: DeliveryCarrier[];
|
|
98
|
+
destinations?: Destination[];
|
|
99
|
+
createdDate?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface Destination {
|
|
102
|
+
countryCode?: string;
|
|
103
|
+
subdivisions?: string[];
|
|
104
|
+
}
|
|
105
|
+
export interface GetDeliveryDestinationPropertiesRequest {
|
|
106
|
+
}
|
|
107
|
+
export interface GetDeliveryDestinationPropertiesResponse {
|
|
108
|
+
restOfWorld?: DeliveryDestinationProperties;
|
|
109
|
+
countries?: CountryDeliveryProperties[];
|
|
110
|
+
}
|
|
111
|
+
export interface GetDeliveryProfileByDeliveryRegionIdRequest {
|
|
112
|
+
deliveryRegionId?: string;
|
|
113
|
+
}
|
|
114
|
+
export interface GetDeliveryProfileByDeliveryRegionIdResponse {
|
|
115
|
+
deliveryProfile?: DeliveryProfile;
|
|
116
|
+
}
|
|
117
|
+
export interface GetDeliveryProfileRequest {
|
|
118
|
+
deliveryProfileId?: string;
|
|
119
|
+
}
|
|
120
|
+
export interface GetDeliveryProfileResponse {
|
|
121
|
+
deliveryProfile?: DeliveryProfile;
|
|
122
|
+
}
|
|
123
|
+
export interface InstalledDeliveryCarrier {
|
|
124
|
+
id?: string;
|
|
125
|
+
displayName?: string;
|
|
126
|
+
description?: string;
|
|
127
|
+
learnMoreUrl?: string;
|
|
128
|
+
dashboardUrl?: string;
|
|
129
|
+
fallbackDefinitionMandatory?: boolean;
|
|
130
|
+
thumbnailUrl?: string;
|
|
131
|
+
toggleGetCarrierSettingsEnabled?: boolean;
|
|
132
|
+
}
|
|
133
|
+
export interface ItemMetadata {
|
|
134
|
+
id?: string;
|
|
135
|
+
success?: boolean;
|
|
136
|
+
error?: ApplicationError;
|
|
137
|
+
}
|
|
138
|
+
export interface ListDeliveryCarriersRequest {
|
|
139
|
+
deliveryProfileId?: string;
|
|
140
|
+
appIds?: string[];
|
|
141
|
+
}
|
|
142
|
+
export interface ListDeliveryCarriersResponse {
|
|
143
|
+
results?: ListDeliveryCarriersResult[];
|
|
144
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
145
|
+
}
|
|
146
|
+
export interface ListDeliveryCarriersResult {
|
|
147
|
+
deliveryCarrierMetadata?: ItemMetadata;
|
|
148
|
+
deliveryCarrierDetails?: DeliveryCarrierDetails;
|
|
149
|
+
deliveryCarrierRegionalSettings?: DeliveryCarrierRegionalSettings[];
|
|
150
|
+
}
|
|
151
|
+
export interface ListInstalledDeliveryCarriersRequest {
|
|
152
|
+
}
|
|
153
|
+
export interface ListInstalledDeliveryCarriersResponse {
|
|
154
|
+
installedDeliveryCarriers?: InstalledDeliveryCarrier[];
|
|
155
|
+
}
|
|
156
|
+
export interface QueryDeliveryProfilesRequest {
|
|
157
|
+
query?: CursorQuery;
|
|
158
|
+
}
|
|
159
|
+
export interface QueryDeliveryProfilesResponse {
|
|
160
|
+
deliveryProfiles?: DeliveryProfile[];
|
|
161
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
162
|
+
}
|
|
163
|
+
export interface RemoveDeliveryCarrierRequest {
|
|
164
|
+
deliveryRegionId?: string;
|
|
165
|
+
appId?: string;
|
|
166
|
+
}
|
|
167
|
+
export interface RemoveDeliveryCarrierResponse {
|
|
168
|
+
deliveryProfile?: DeliveryProfile;
|
|
169
|
+
}
|
|
170
|
+
export interface RemoveDeliveryRegionRequest {
|
|
171
|
+
deliveryProfileId?: string;
|
|
172
|
+
deliveryRegionId?: string;
|
|
173
|
+
revision?: string;
|
|
174
|
+
}
|
|
175
|
+
export interface RemoveDeliveryRegionResponse {
|
|
176
|
+
deliveryProfile?: DeliveryProfile;
|
|
177
|
+
}
|
|
178
|
+
export interface Row {
|
|
179
|
+
key?: string;
|
|
180
|
+
data?: Record<string, unknown>;
|
|
181
|
+
active?: boolean;
|
|
182
|
+
}
|
|
183
|
+
export interface SetDeliveryCarrierActiveStatusRequest {
|
|
184
|
+
carrierAppId?: string;
|
|
185
|
+
rowId?: string;
|
|
186
|
+
active?: boolean;
|
|
187
|
+
}
|
|
188
|
+
export interface SetDeliveryCarrierActiveStatusResponse {
|
|
189
|
+
}
|
|
190
|
+
export interface SubdivisionDeliveryProperties {
|
|
191
|
+
subdivision?: string;
|
|
192
|
+
deliveryDestinationProperties?: DeliveryDestinationProperties;
|
|
193
|
+
}
|
|
194
|
+
export interface UpdateCarrierSettingsRequest {
|
|
195
|
+
carrierId?: string;
|
|
196
|
+
rowId?: string;
|
|
197
|
+
active?: boolean;
|
|
198
|
+
}
|
|
199
|
+
export interface UpdateCarrierSettingsResponse {
|
|
200
|
+
}
|
|
201
|
+
export interface UpdateDeliveryCarrierRequest {
|
|
202
|
+
deliveryRegionId?: string;
|
|
203
|
+
deliveryCarrier?: DeliveryCarrier;
|
|
204
|
+
}
|
|
205
|
+
export interface UpdateDeliveryCarrierResponse {
|
|
206
|
+
deliveryProfile?: DeliveryProfile;
|
|
207
|
+
}
|
|
208
|
+
export interface UpdateDeliveryProfileRequest {
|
|
209
|
+
deliveryProfile?: DeliveryProfile;
|
|
210
|
+
}
|
|
211
|
+
export interface UpdateDeliveryProfileResponse {
|
|
212
|
+
deliveryProfile?: DeliveryProfile;
|
|
213
|
+
}
|
|
214
|
+
export interface UpdateDeliveryRegionRequest {
|
|
215
|
+
deliveryProfileId?: string;
|
|
216
|
+
deliveryRegion?: DeliveryRegion;
|
|
217
|
+
revision?: string;
|
|
218
|
+
}
|
|
219
|
+
export interface UpdateDeliveryRegionResponse {
|
|
220
|
+
deliveryProfile?: DeliveryProfile;
|
|
221
|
+
}
|
|
222
|
+
export interface UpdateExtendedFieldsResponse {
|
|
223
|
+
deliveryProfile?: DeliveryProfile;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Adds a delivery carrier to a delivery region.
|
|
227
|
+
*
|
|
228
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
229
|
+
* @permissionId ECOM.DELIVERY_CARRIER_ADD
|
|
230
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryCarrier
|
|
231
|
+
*
|
|
232
|
+
* POST /ecom/v1/delivery-profiles/add-delivery-carrier
|
|
233
|
+
*/
|
|
234
|
+
export declare function addDeliveryCarrier(req?: AddDeliveryCarrierRequest, opts?: WixCallOptions): Promise<AddDeliveryCarrierResponse>;
|
|
235
|
+
/**
|
|
236
|
+
* Adds a delivery region to an existing delivery profile.
|
|
237
|
+
*
|
|
238
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
239
|
+
* @permissionId ECOM.DELIVERY_PROFILE_UPDATE
|
|
240
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.AddDeliveryRegion
|
|
241
|
+
*
|
|
242
|
+
* POST /ecom/v1/delivery-profiles/{deliveryProfileId}/delivery-region
|
|
243
|
+
*/
|
|
244
|
+
export declare function addDeliveryRegion(req: AddDeliveryRegionRequest, opts?: WixCallOptions): Promise<AddDeliveryRegionResponse>;
|
|
245
|
+
/**
|
|
246
|
+
* Creates a delivery profile.
|
|
247
|
+
*
|
|
248
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
249
|
+
* @permissionId ECOM.DELIVERY_PROFILE_CREATE
|
|
250
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.CreateDeliveryProfile
|
|
251
|
+
*
|
|
252
|
+
* POST /ecom/v1/delivery-profiles
|
|
253
|
+
*/
|
|
254
|
+
export declare function createDeliveryProfile(req?: CreateDeliveryProfileRequest, opts?: WixCallOptions): Promise<CreateDeliveryProfileResponse>;
|
|
255
|
+
/**
|
|
256
|
+
* Deletes a delivery profile.
|
|
257
|
+
*
|
|
258
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
259
|
+
* @permissionId ECOM.DELIVERY_PROFILE_DELETE
|
|
260
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.DeleteDeliveryProfile
|
|
261
|
+
*
|
|
262
|
+
* DELETE /ecom/v1/delivery-profiles/{deliveryProfileId}
|
|
263
|
+
*/
|
|
264
|
+
export declare function deleteDeliveryProfile(req: DeleteDeliveryProfileRequest, opts?: WixCallOptions): Promise<DeleteDeliveryProfileResponse>;
|
|
265
|
+
/**
|
|
266
|
+
* Retrieves delivery destination properties.
|
|
267
|
+
*
|
|
268
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
269
|
+
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
270
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryDestinationProperties
|
|
271
|
+
*
|
|
272
|
+
* GET /ecom/v1/delivery-profiles/delivery-destination-properties
|
|
273
|
+
*/
|
|
274
|
+
export declare function getDeliveryDestinationProperties(req?: GetDeliveryDestinationPropertiesRequest, opts?: WixCallOptions): Promise<GetDeliveryDestinationPropertiesResponse>;
|
|
275
|
+
/**
|
|
276
|
+
* Retrieves a delivery profile.
|
|
277
|
+
*
|
|
278
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
279
|
+
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
280
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfile
|
|
281
|
+
*
|
|
282
|
+
* GET /ecom/v1/delivery-profiles/{deliveryProfileId}
|
|
283
|
+
*/
|
|
284
|
+
export declare function getDeliveryProfile(req: GetDeliveryProfileRequest, opts?: WixCallOptions): Promise<GetDeliveryProfileResponse>;
|
|
285
|
+
/**
|
|
286
|
+
* Retrieves a delivery profile by delivery region ID.
|
|
287
|
+
*
|
|
288
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
289
|
+
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
290
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.GetDeliveryProfileByDeliveryRegionId
|
|
291
|
+
*
|
|
292
|
+
* GET /ecom/v1/delivery-profiles/delivery-regions/{deliveryRegionId}
|
|
293
|
+
*/
|
|
294
|
+
export declare function getDeliveryProfileByDeliveryRegionId(req: GetDeliveryProfileByDeliveryRegionIdRequest, opts?: WixCallOptions): Promise<GetDeliveryProfileByDeliveryRegionIdResponse>;
|
|
295
|
+
/**
|
|
296
|
+
* Retrieves delivery carrier settings for a delivery profile.
|
|
297
|
+
*
|
|
298
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
299
|
+
* @permissionId ECOM.DELIVERY_CARRIER_READ
|
|
300
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListDeliveryCarriers
|
|
301
|
+
*
|
|
302
|
+
* POST /ecom/v1/delivery-profiles/{deliveryProfileId}/delivery-carriers
|
|
303
|
+
*/
|
|
304
|
+
export declare function listDeliveryCarriers(req: ListDeliveryCarriersRequest, opts?: WixCallOptions): Promise<ListDeliveryCarriersResponse>;
|
|
305
|
+
/**
|
|
306
|
+
* Retrieves a list of all delivery carriers installed on a site.
|
|
307
|
+
*
|
|
308
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
309
|
+
* @permissionId ECOM.DELIVERY_CARRIER_READ
|
|
310
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.ListInstalledDeliveryCarriers
|
|
311
|
+
*
|
|
312
|
+
* GET /ecom/v1/delivery-profiles/installed-carriers
|
|
313
|
+
*/
|
|
314
|
+
export declare function listInstalledDeliveryCarriers(req?: ListInstalledDeliveryCarriersRequest, opts?: WixCallOptions): Promise<ListInstalledDeliveryCarriersResponse>;
|
|
315
|
+
/**
|
|
316
|
+
* Retrieves a list of up to 100 delivery profiles, given the provided paging, filtering, and sorting.
|
|
317
|
+
*
|
|
318
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
319
|
+
* @permissionId ECOM.DELIVERY_PROFILE_READ
|
|
320
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.QueryDeliveryProfiles
|
|
321
|
+
*
|
|
322
|
+
* POST /ecom/v1/delivery-profiles/query
|
|
323
|
+
*/
|
|
324
|
+
export declare function queryDeliveryProfiles(req?: QueryDeliveryProfilesRequest, opts?: WixCallOptions): Promise<QueryDeliveryProfilesResponse>;
|
|
325
|
+
/**
|
|
326
|
+
* Removes a delivery carrier from a delivery region.
|
|
327
|
+
*
|
|
328
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
329
|
+
* @permissionId ECOM.DELIVERY_CARRIER_REMOVE
|
|
330
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryCarrier
|
|
331
|
+
*
|
|
332
|
+
* POST /ecom/v1/delivery-profiles/remove-delivery-carrier
|
|
333
|
+
*/
|
|
334
|
+
export declare function removeDeliveryCarrier(req?: RemoveDeliveryCarrierRequest, opts?: WixCallOptions): Promise<RemoveDeliveryCarrierResponse>;
|
|
335
|
+
/**
|
|
336
|
+
* Removes a delivery region from a delivery profile.
|
|
337
|
+
*
|
|
338
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
339
|
+
* @permissionId ECOM.DELIVERY_PROFILE_UPDATE
|
|
340
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.RemoveDeliveryRegion
|
|
341
|
+
*
|
|
342
|
+
* DELETE /ecom/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegionId}
|
|
343
|
+
*/
|
|
344
|
+
export declare function removeDeliveryRegion(req: RemoveDeliveryRegionRequest, opts?: WixCallOptions): Promise<RemoveDeliveryRegionResponse>;
|
|
345
|
+
/**
|
|
346
|
+
* Sets a delivery carrier's active status.
|
|
347
|
+
*
|
|
348
|
+
* @permissionId ECOM.DELIVERY_CARRIER_UPDATE
|
|
349
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.SetDeliveryCarrierActiveStatus
|
|
350
|
+
*
|
|
351
|
+
* POST /ecom/v1/delivery-profiles/delivery-carriers/set-active-status
|
|
352
|
+
*/
|
|
353
|
+
export declare function setDeliveryCarrierActiveStatus(req?: SetDeliveryCarrierActiveStatusRequest, opts?: WixCallOptions): Promise<SetDeliveryCarrierActiveStatusResponse>;
|
|
354
|
+
/**
|
|
355
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /ecom/v1/delivery-profiles/update-carrier-settings answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
356
|
+
*
|
|
357
|
+
* POST /ecom/v1/delivery-profiles/update-carrier-settings
|
|
358
|
+
*/
|
|
359
|
+
export declare function updateCarrierSettings(req?: UpdateCarrierSettingsRequest, opts?: WixCallOptions): Promise<UpdateCarrierSettingsResponse>;
|
|
360
|
+
/**
|
|
361
|
+
* Updates a delivery carrier's settings in a delivery region.
|
|
362
|
+
*
|
|
363
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
364
|
+
* @permissionId ECOM.DELIVERY_CARRIER_UPDATE
|
|
365
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryCarrier
|
|
366
|
+
*
|
|
367
|
+
* PATCH /ecom/v1/delivery-profiles/update-delivery-carrier
|
|
368
|
+
*/
|
|
369
|
+
export declare function updateDeliveryCarrier(req?: UpdateDeliveryCarrierRequest, opts?: WixCallOptions): Promise<UpdateDeliveryCarrierResponse>;
|
|
370
|
+
/**
|
|
371
|
+
* Updates a delivery profile.
|
|
372
|
+
*
|
|
373
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
374
|
+
* @permissionId ECOM.DELIVERY_PROFILE_UPDATE
|
|
375
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryProfile
|
|
376
|
+
*
|
|
377
|
+
* PATCH /ecom/v1/delivery-profiles/{deliveryProfileId}
|
|
378
|
+
*/
|
|
379
|
+
export declare function updateDeliveryProfile(req: UpdateDeliveryProfileRequest, opts?: WixCallOptions): Promise<UpdateDeliveryProfileResponse>;
|
|
380
|
+
/**
|
|
381
|
+
* Updates a delivery region.
|
|
382
|
+
*
|
|
383
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
384
|
+
* @permissionId ECOM.DELIVERY_REGION_UPDATE
|
|
385
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateDeliveryRegion
|
|
386
|
+
*
|
|
387
|
+
* PATCH /ecom/v1/delivery-profiles/{deliveryProfileId}/delivery-region/{deliveryRegionId}
|
|
388
|
+
*/
|
|
389
|
+
export declare function updateDeliveryRegion(req: UpdateDeliveryRegionRequest, opts?: WixCallOptions): Promise<UpdateDeliveryRegionResponse>;
|
|
390
|
+
/**
|
|
391
|
+
* Updates extended fields of a delivery profile without incrementing revision.
|
|
392
|
+
*
|
|
393
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
394
|
+
* @permissionId ECOM.DELIVERY_PROFILE_UPDATE
|
|
395
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryProfiles.UpdateExtendedFields
|
|
396
|
+
*
|
|
397
|
+
* POST /ecom/v1/delivery-profiles/{id}/update-extended-fields
|
|
398
|
+
*/
|
|
399
|
+
export declare function updateExtendedFields(req: UpdateExtendedFieldsRequest, opts?: WixCallOptions): Promise<UpdateExtendedFieldsResponse>;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CatalogReference, DeliveryAllocation, Details, ExtendedFields, ExternalReference, MultiCurrencyPrice, PhysicalProperties, StreetAddress, VatId } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ApplicableLineItems, ApplicationError, Carrier, CatalogReference, DeliveryAllocation, Details, ExtendedFields, ExternalReference, FieldViolation, MultiCurrencyPrice, PhysicalProperties, Region, StreetAddress, SystemError, ValidationError, VatId } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AdditionalCost {
|
|
6
|
+
description?: string;
|
|
7
|
+
deliveryPrice?: MultiCurrencyPrice;
|
|
8
|
+
}
|
|
9
|
+
export interface Address {
|
|
10
|
+
streetAddress?: StreetAddress;
|
|
11
|
+
addressLine?: string;
|
|
12
|
+
country?: string;
|
|
13
|
+
subdivision?: string;
|
|
14
|
+
city?: string;
|
|
15
|
+
postalCode?: string;
|
|
16
|
+
addressLine2?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface DeliverableItem {
|
|
19
|
+
id?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
quantity?: number;
|
|
22
|
+
catalogReference?: CatalogReference;
|
|
23
|
+
physicalProperties?: PhysicalProperties;
|
|
24
|
+
price?: string;
|
|
25
|
+
totalPriceBeforeDiscount?: string;
|
|
26
|
+
priceBeforeDiscount?: string;
|
|
27
|
+
totalPrice?: string;
|
|
28
|
+
deliveryProfileId?: string;
|
|
29
|
+
taxIncludedInPrice?: boolean;
|
|
30
|
+
subscriptionSettings?: SubscriptionSettings;
|
|
31
|
+
}
|
|
32
|
+
export interface DeliveryCarrierError {
|
|
33
|
+
appId?: string;
|
|
34
|
+
errorDetails?: Details;
|
|
35
|
+
}
|
|
36
|
+
export interface DeliveryCost {
|
|
37
|
+
price?: string;
|
|
38
|
+
currency?: string;
|
|
39
|
+
deliveryPrice?: MultiCurrencyPrice;
|
|
40
|
+
additionalCosts?: AdditionalCost[];
|
|
41
|
+
}
|
|
42
|
+
export interface DeliveryLogistics {
|
|
43
|
+
deliveryTime?: string;
|
|
44
|
+
instructions?: string;
|
|
45
|
+
pickupDetails?: PickupDetails;
|
|
46
|
+
deliveryTimeSlot?: DeliveryTimeSlot;
|
|
47
|
+
}
|
|
48
|
+
export interface DeliveryReference {
|
|
49
|
+
code?: string;
|
|
50
|
+
appId?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface DeliverySolution {
|
|
53
|
+
code?: string;
|
|
54
|
+
deliveryReference?: DeliveryReference;
|
|
55
|
+
title?: string;
|
|
56
|
+
logistics?: DeliveryLogistics;
|
|
57
|
+
cost?: DeliveryCost;
|
|
58
|
+
deliveryAllocations?: DeliveryAllocation[];
|
|
59
|
+
partial?: boolean;
|
|
60
|
+
}
|
|
61
|
+
export interface DeliveryTimeSlot {
|
|
62
|
+
from?: string;
|
|
63
|
+
to?: string;
|
|
64
|
+
timeZone?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface FullAddressContactDetails {
|
|
67
|
+
firstName?: string;
|
|
68
|
+
lastName?: string;
|
|
69
|
+
phone?: string;
|
|
70
|
+
company?: string;
|
|
71
|
+
email?: string;
|
|
72
|
+
vatId?: VatId;
|
|
73
|
+
}
|
|
74
|
+
export interface GetDeliverySolutionsRequest {
|
|
75
|
+
lineItems?: DeliverableItem[];
|
|
76
|
+
destination?: Address;
|
|
77
|
+
origin?: Address;
|
|
78
|
+
currency?: string;
|
|
79
|
+
contactDetails?: FullAddressContactDetails;
|
|
80
|
+
weightUnit?: string;
|
|
81
|
+
userPreferences?: UserPreference[];
|
|
82
|
+
purchaseFlowId?: string;
|
|
83
|
+
externalReferences?: ExternalReference[];
|
|
84
|
+
extendedFields?: ExtendedFields;
|
|
85
|
+
}
|
|
86
|
+
export interface GetDeliverySolutionsResponse {
|
|
87
|
+
deliverySolutions?: DeliverySolution[];
|
|
88
|
+
errors?: DeliveryCarrierError[];
|
|
89
|
+
}
|
|
90
|
+
export interface PickupDetails {
|
|
91
|
+
address?: Address;
|
|
92
|
+
pickupMethod?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface SubscriptionSettings {
|
|
95
|
+
frequency?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface UserPreference {
|
|
98
|
+
appId?: string;
|
|
99
|
+
code?: string;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Get Delivery Solutions for the given line items from all relevant delivery carriers
|
|
103
|
+
*
|
|
104
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
105
|
+
* @permissionId ECOM.DELIVERY_SOLUTION_READ
|
|
106
|
+
* @fqn wix.ecom.deliveryprofile.v1.DeliveryRates.GetDeliverySolutions
|
|
107
|
+
*
|
|
108
|
+
* POST /_api/delivery-rates/v1/get-delivery-solutions
|
|
109
|
+
*/
|
|
110
|
+
export declare function getDeliverySolutions(req?: GetDeliverySolutionsRequest, opts?: WixCallOptions): Promise<GetDeliverySolutionsResponse>;
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, CursorPaging, PlatformPaging, PlatformPagingMetadata, Tags } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, CursorPaging, Cursors, PlatformPaging, PlatformPagingMetadata, TagList, Tags } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface ActiveTimeInfo {
|
|
6
|
+
start?: string;
|
|
7
|
+
end?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface And {
|
|
10
|
+
triggers?: DiscountTrigger[];
|
|
11
|
+
}
|
|
12
|
+
export interface CatalogItemFilter {
|
|
13
|
+
catalogAppId?: string;
|
|
14
|
+
catalogItemIds?: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface CreateDiscountRuleRequest {
|
|
17
|
+
discountRule?: DiscountRule;
|
|
18
|
+
}
|
|
19
|
+
export interface CreateDiscountRuleResponse {
|
|
20
|
+
discountRule?: DiscountRule;
|
|
21
|
+
}
|
|
22
|
+
export interface Custom {
|
|
23
|
+
id?: string;
|
|
24
|
+
appId?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface CustomFilter {
|
|
27
|
+
appId?: string;
|
|
28
|
+
params?: Record<string, unknown>;
|
|
29
|
+
}
|
|
30
|
+
export interface CustomerEligibility {
|
|
31
|
+
individualMembersInfo?: IndividualMembers;
|
|
32
|
+
eligibilityType?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface DeleteDiscountRuleRequest {
|
|
35
|
+
discountRuleId?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface DeleteDiscountRuleResponse {
|
|
38
|
+
}
|
|
39
|
+
export interface Discount {
|
|
40
|
+
percentage?: number;
|
|
41
|
+
fixedAmount?: string;
|
|
42
|
+
fixedPrice?: string;
|
|
43
|
+
quantityBased?: QuantityBased;
|
|
44
|
+
targetType?: string;
|
|
45
|
+
specificItemsInfo?: SpecificItemsInfo;
|
|
46
|
+
discountType?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface DiscountConfig {
|
|
49
|
+
id?: string;
|
|
50
|
+
quantity?: number;
|
|
51
|
+
price?: string;
|
|
52
|
+
}
|
|
53
|
+
export interface DiscountRule {
|
|
54
|
+
id?: string;
|
|
55
|
+
revision?: string;
|
|
56
|
+
createdDate?: string;
|
|
57
|
+
updatedDate?: string;
|
|
58
|
+
active?: boolean;
|
|
59
|
+
name?: string;
|
|
60
|
+
trigger?: DiscountTrigger;
|
|
61
|
+
activeTimeInfo?: ActiveTimeInfo;
|
|
62
|
+
discounts?: Discounts;
|
|
63
|
+
status?: string;
|
|
64
|
+
usageCount?: number;
|
|
65
|
+
tags?: Tags;
|
|
66
|
+
}
|
|
67
|
+
export interface DiscountTrigger {
|
|
68
|
+
and?: And;
|
|
69
|
+
or?: Or;
|
|
70
|
+
customTrigger?: Custom;
|
|
71
|
+
subtotalRange?: SubtotalRange;
|
|
72
|
+
itemQuantityRange?: ItemQuantityRange;
|
|
73
|
+
customerEligibility?: CustomerEligibility;
|
|
74
|
+
triggerType?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface Discounts {
|
|
77
|
+
values?: Discount[];
|
|
78
|
+
}
|
|
79
|
+
export interface GetDiscountRuleRequest {
|
|
80
|
+
discountRuleId?: string;
|
|
81
|
+
}
|
|
82
|
+
export interface GetDiscountRuleResponse {
|
|
83
|
+
discountRule?: DiscountRule;
|
|
84
|
+
}
|
|
85
|
+
export interface IndividualMembers {
|
|
86
|
+
memberIds?: string[];
|
|
87
|
+
}
|
|
88
|
+
export interface ItemQuantityRange {
|
|
89
|
+
scopes?: Scope[];
|
|
90
|
+
from?: number;
|
|
91
|
+
to?: number;
|
|
92
|
+
}
|
|
93
|
+
export interface Or {
|
|
94
|
+
triggers?: DiscountTrigger[];
|
|
95
|
+
}
|
|
96
|
+
export interface PlatformQuery {
|
|
97
|
+
paging?: PlatformPaging;
|
|
98
|
+
cursorPaging?: CursorPaging;
|
|
99
|
+
filter?: Record<string, unknown>;
|
|
100
|
+
sort?: Sorting[];
|
|
101
|
+
}
|
|
102
|
+
export interface QuantityBased {
|
|
103
|
+
configurations?: DiscountConfig[];
|
|
104
|
+
}
|
|
105
|
+
export interface QueryDiscountRulesRequest {
|
|
106
|
+
query?: PlatformQuery;
|
|
107
|
+
}
|
|
108
|
+
export interface QueryDiscountRulesResponse {
|
|
109
|
+
discountRules?: DiscountRule[];
|
|
110
|
+
pagingMetadata?: PlatformPagingMetadata;
|
|
111
|
+
}
|
|
112
|
+
export interface Scope {
|
|
113
|
+
catalogItemFilter?: CatalogItemFilter;
|
|
114
|
+
customFilter?: CustomFilter;
|
|
115
|
+
id?: string;
|
|
116
|
+
type?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface Sorting {
|
|
119
|
+
fieldName?: string;
|
|
120
|
+
order?: string;
|
|
121
|
+
origin?: AddressLocation;
|
|
122
|
+
}
|
|
123
|
+
export interface SpecificItemsInfo {
|
|
124
|
+
scopes?: Scope[];
|
|
125
|
+
}
|
|
126
|
+
export interface SubtotalRange {
|
|
127
|
+
scopes?: Scope[];
|
|
128
|
+
from?: string;
|
|
129
|
+
to?: string;
|
|
130
|
+
}
|
|
131
|
+
export interface UpdateDiscountRuleRequest {
|
|
132
|
+
discountRule?: DiscountRule;
|
|
133
|
+
}
|
|
134
|
+
export interface UpdateDiscountRuleResponse {
|
|
135
|
+
discountRule?: DiscountRule;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Creates a new discount rule.
|
|
139
|
+
*
|
|
140
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
141
|
+
* @permissionId ECOM.DISCOUNT_RULES_CREATE
|
|
142
|
+
* @fqn com.wix.ecom.discounts.DiscountRuleService.CreateDiscountRule
|
|
143
|
+
*
|
|
144
|
+
* POST /ecom/v1/discount-rules
|
|
145
|
+
*/
|
|
146
|
+
export declare function createDiscountRule(req?: CreateDiscountRuleRequest, opts?: WixCallOptions): Promise<CreateDiscountRuleResponse>;
|
|
147
|
+
/**
|
|
148
|
+
* Deletes a discount rule.
|
|
149
|
+
*
|
|
150
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
151
|
+
* @permissionId ECOM.DISCOUNT_RULES_DELETE
|
|
152
|
+
* @fqn com.wix.ecom.discounts.DiscountRuleService.DeleteDiscountRule
|
|
153
|
+
*
|
|
154
|
+
* DELETE /ecom/v1/discount-rules/{discountRuleId}
|
|
155
|
+
*/
|
|
156
|
+
export declare function deleteDiscountRule(req: DeleteDiscountRuleRequest, opts?: WixCallOptions): Promise<DeleteDiscountRuleResponse>;
|
|
157
|
+
/**
|
|
158
|
+
* Retrieves a discount rule.
|
|
159
|
+
*
|
|
160
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
161
|
+
* @permissionId ECOM.DISCOUNT_RULES_READ
|
|
162
|
+
* @fqn com.wix.ecom.discounts.DiscountRuleService.GetDiscountRule
|
|
163
|
+
*
|
|
164
|
+
* GET /ecom/v1/discount-rules/{discountRuleId}
|
|
165
|
+
*/
|
|
166
|
+
export declare function getDiscountRule(req: GetDiscountRuleRequest, opts?: WixCallOptions): Promise<GetDiscountRuleResponse>;
|
|
167
|
+
/**
|
|
168
|
+
* Creates a query to retrieve a list of discount rules.
|
|
169
|
+
*
|
|
170
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
171
|
+
* @permissionId ECOM.DISCOUNT_RULES_READ
|
|
172
|
+
* @fqn com.wix.ecom.discounts.DiscountRuleService.QueryDiscountRules
|
|
173
|
+
*
|
|
174
|
+
* POST /ecom/v1/discount-rules/query
|
|
175
|
+
*/
|
|
176
|
+
export declare function queryDiscountRules(req?: QueryDiscountRulesRequest, opts?: WixCallOptions): Promise<QueryDiscountRulesResponse>;
|
|
177
|
+
/**
|
|
178
|
+
* Updates a discount rule's properties.
|
|
179
|
+
*
|
|
180
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
181
|
+
* @permissionId ECOM.DISCOUNT_RULES_UPDATE
|
|
182
|
+
* @fqn com.wix.ecom.discounts.DiscountRuleService.UpdateDiscountRule
|
|
183
|
+
*
|
|
184
|
+
* PATCH /ecom/v1/discount-rules/{discountRuleId}
|
|
185
|
+
*/
|
|
186
|
+
export declare function updateDiscountRule(req: UpdateDiscountRuleRequest, opts?: WixCallOptions): Promise<UpdateDiscountRuleResponse>;
|