@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
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __export = (target, all) => {
|
|
3
|
+
for (var name in all)
|
|
4
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
5
|
+
};
|
|
6
|
+
|
|
1
7
|
// ../../stdlib/wix-sdk/pricing-plans/src/index.ts
|
|
2
8
|
function wixCall(method, path, body, readOptions) {
|
|
3
9
|
if (!globalThis.himalaya?.wixApi) {
|
|
@@ -67,6 +73,330 @@ function getOnlineOrderPreview(planId, couponCode) {
|
|
|
67
73
|
function createOnlineOrder(planId, couponCode) {
|
|
68
74
|
return wixCall("POST", "/pricing-plans/v2/checkout/orders/online", couponCode ? { planId, couponCode } : { planId });
|
|
69
75
|
}
|
|
76
|
+
|
|
77
|
+
// ../../stdlib/wix-sdk-auto/pricing-plans/orders.generated.ts
|
|
78
|
+
var orders_generated_exports = {};
|
|
79
|
+
__export(orders_generated_exports, {
|
|
80
|
+
cancelOrder: () => cancelOrder,
|
|
81
|
+
createOfflineOrder: () => createOfflineOrder,
|
|
82
|
+
createOnlineOrder: () => createOnlineOrder2,
|
|
83
|
+
getOfflineOrderPreview: () => getOfflineOrderPreview,
|
|
84
|
+
getOnlineOrderPreview: () => getOnlineOrderPreview2,
|
|
85
|
+
getPricePreview: () => getPricePreview,
|
|
86
|
+
managementGetOrder: () => managementGetOrder,
|
|
87
|
+
managementListOrders: () => managementListOrders,
|
|
88
|
+
markAsPaid: () => markAsPaid,
|
|
89
|
+
memberGetOrder: () => memberGetOrder,
|
|
90
|
+
memberListOrders: () => memberListOrders,
|
|
91
|
+
pauseOrder: () => pauseOrder,
|
|
92
|
+
postponeEndDate: () => postponeEndDate,
|
|
93
|
+
requestCancellation: () => requestCancellation2,
|
|
94
|
+
resumeOrder: () => resumeOrder
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
// ../../stdlib/wix-sdk-auto/_shared/runtime.generated.ts
|
|
98
|
+
function wixQueryPath(path, req) {
|
|
99
|
+
const parts = [];
|
|
100
|
+
const pair = (key, value) => {
|
|
101
|
+
parts.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
|
|
102
|
+
};
|
|
103
|
+
const add = (key, value) => {
|
|
104
|
+
if (value === void 0 || value === null) return;
|
|
105
|
+
if (Array.isArray(value)) {
|
|
106
|
+
for (const item of value) {
|
|
107
|
+
if (item === void 0 || item === null || typeof item === "object") continue;
|
|
108
|
+
pair(key, item);
|
|
109
|
+
}
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
if (typeof value === "object") {
|
|
113
|
+
for (const [k, v] of Object.entries(value)) add(`${key}.${k}`, v);
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
pair(key, value);
|
|
117
|
+
};
|
|
118
|
+
for (const [key, value] of Object.entries(req ?? {})) add(key, value);
|
|
119
|
+
return parts.length > 0 ? `${path}?${parts.join("&")}` : path;
|
|
120
|
+
}
|
|
121
|
+
function readField(req, field) {
|
|
122
|
+
let value = req;
|
|
123
|
+
for (const key of field.split(".")) {
|
|
124
|
+
if (value === null || typeof value !== "object") return void 0;
|
|
125
|
+
value = value[key];
|
|
126
|
+
}
|
|
127
|
+
return value;
|
|
128
|
+
}
|
|
129
|
+
function restFieldMasks(req) {
|
|
130
|
+
if (req === null || typeof req !== "object") return req;
|
|
131
|
+
if (Array.isArray(req)) {
|
|
132
|
+
let changed = false;
|
|
133
|
+
const items = req.map((item) => {
|
|
134
|
+
const next = restFieldMasks(item);
|
|
135
|
+
if (next !== item) changed = true;
|
|
136
|
+
return next;
|
|
137
|
+
});
|
|
138
|
+
return changed ? items : req;
|
|
139
|
+
}
|
|
140
|
+
let out;
|
|
141
|
+
for (const [key, value] of Object.entries(req)) {
|
|
142
|
+
let next = value;
|
|
143
|
+
if ((key === "fieldMask" || key === "mask") && Array.isArray(value) && value.every((v) => typeof v === "string")) next = value.join(",");
|
|
144
|
+
else if (value !== null && typeof value === "object") next = restFieldMasks(value);
|
|
145
|
+
if (next !== value) (out ?? (out = { ...req }))[key] = next;
|
|
146
|
+
}
|
|
147
|
+
return out ?? req;
|
|
148
|
+
}
|
|
149
|
+
function withoutFields(req, fields) {
|
|
150
|
+
if (fields.length === 0 || req === null || typeof req !== "object") return req;
|
|
151
|
+
const out = { ...req };
|
|
152
|
+
for (const field of fields) {
|
|
153
|
+
const dot = field.indexOf(".");
|
|
154
|
+
const head = dot < 0 ? field : field.slice(0, dot);
|
|
155
|
+
if (!(head in out)) continue;
|
|
156
|
+
if (dot < 0) delete out[head];
|
|
157
|
+
else out[head] = withoutFields(out[head], [field.slice(dot + 1)]);
|
|
158
|
+
}
|
|
159
|
+
return out;
|
|
160
|
+
}
|
|
161
|
+
function wixCall2(verb, template, req, opts, route = {}) {
|
|
162
|
+
return send(verb, template, req, opts, route, false);
|
|
163
|
+
}
|
|
164
|
+
function send(verb, template, req, opts, route, queue) {
|
|
165
|
+
const api = globalThis.himalaya?.wixApi;
|
|
166
|
+
if (!api) return Promise.reject(new Error("@himalaya/wix-*: host did not install the wixApi bridge"));
|
|
167
|
+
const fields = route.pathFields ?? [];
|
|
168
|
+
let path;
|
|
169
|
+
try {
|
|
170
|
+
let i = 0;
|
|
171
|
+
path = template.replace(/\{[^}]+\}/g, () => {
|
|
172
|
+
const field = fields[i++];
|
|
173
|
+
const value = field === void 0 ? void 0 : readField(req, field);
|
|
174
|
+
if (value === void 0 || value === null || value === "") {
|
|
175
|
+
throw new Error(`${verb} ${template}: request field ${field ?? "(unmapped)"} is required`);
|
|
176
|
+
}
|
|
177
|
+
return encodeURIComponent(String(value));
|
|
178
|
+
});
|
|
179
|
+
} catch (err) {
|
|
180
|
+
return Promise.reject(err);
|
|
181
|
+
}
|
|
182
|
+
const site = opts?.site?.trim();
|
|
183
|
+
const headers = site ? { "wix-site-id": site } : void 0;
|
|
184
|
+
const wire = restFieldMasks(req);
|
|
185
|
+
const target = route.query ? wixQueryPath(path, withoutFields(wire, fields)) : path;
|
|
186
|
+
const body = route.query ? void 0 : wire;
|
|
187
|
+
const readShaped = verb === "GET" || verb === "HEAD" || verb === "POST" && /\/(query|query-cursor|search|list|count)(?:\?|$)/i.test(target.split("#")[0]);
|
|
188
|
+
if (readShaped && (opts?.cache || opts?.onCacheResult)) {
|
|
189
|
+
if (!api.read) return Promise.reject(new Error("READ_LIFECYCLE_UNSUPPORTED: update the Himalaya runtime"));
|
|
190
|
+
return api.read(verb, target, body, headers, { cache: opts.cache ?? "default" }).then((result) => {
|
|
191
|
+
opts.onCacheResult?.(result.cache);
|
|
192
|
+
return result.data;
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
if (opts?.cache === "only-if-cached") return Promise.reject(new Error("OFFLINE_CACHE_MISS"));
|
|
196
|
+
if (!queue) return api.call(verb, target, body, headers);
|
|
197
|
+
if (!api.offline) return api.call(verb, target, body, headers).then((value) => ({ status: "sent", value }));
|
|
198
|
+
return api.call(verb, target, body, headers, { offline: "queue" });
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// ../../stdlib/wix-sdk-auto/pricing-plans/orders.generated.ts
|
|
202
|
+
function cancelOrder(req, opts) {
|
|
203
|
+
return wixCall2("POST", "/pricing-plans/v2/orders/{id}/cancel", req, opts, { pathFields: ["id"] });
|
|
204
|
+
}
|
|
205
|
+
function createOfflineOrder(req = {}, opts) {
|
|
206
|
+
return wixCall2("POST", "/pricing-plans/v2/checkout/orders/offline", req, opts);
|
|
207
|
+
}
|
|
208
|
+
function createOnlineOrder2(req = {}, opts) {
|
|
209
|
+
return wixCall2("POST", "/pricing-plans/v2/checkout/orders/online", req, opts);
|
|
210
|
+
}
|
|
211
|
+
function getOfflineOrderPreview(req = {}, opts) {
|
|
212
|
+
return wixCall2("POST", "/pricing-plans/v2/checkout/orders/preview-offline", req, opts);
|
|
213
|
+
}
|
|
214
|
+
function getOnlineOrderPreview2(req = {}, opts) {
|
|
215
|
+
return wixCall2("POST", "/pricing-plans/v2/checkout/orders/preview-online", req, opts);
|
|
216
|
+
}
|
|
217
|
+
function getPricePreview(req = {}, opts) {
|
|
218
|
+
return wixCall2("POST", "/pricing-plans/v2/checkout/orders/price-preview", req, opts);
|
|
219
|
+
}
|
|
220
|
+
function managementGetOrder(req, opts) {
|
|
221
|
+
return wixCall2("GET", "/pricing-plans/v2/orders/{id}", req, opts, { pathFields: ["id"], query: true });
|
|
222
|
+
}
|
|
223
|
+
function managementListOrders(req = {}, opts) {
|
|
224
|
+
return wixCall2("GET", "/pricing-plans/v2/orders", req, opts, { query: true });
|
|
225
|
+
}
|
|
226
|
+
function markAsPaid(req, opts) {
|
|
227
|
+
return wixCall2("POST", "/pricing-plans/v2/orders/{id}/mark-as-paid", req, opts, { pathFields: ["id"] });
|
|
228
|
+
}
|
|
229
|
+
function memberGetOrder(req, opts) {
|
|
230
|
+
return wixCall2("GET", "/pricing-plans/v2/member/orders/{id}", req, opts, { pathFields: ["id"], query: true });
|
|
231
|
+
}
|
|
232
|
+
function memberListOrders(req = {}, opts) {
|
|
233
|
+
return wixCall2("GET", "/pricing-plans/v2/member/orders", req, opts, { query: true });
|
|
234
|
+
}
|
|
235
|
+
function pauseOrder(req, opts) {
|
|
236
|
+
return wixCall2("POST", "/pricing-plans/v2/orders/{id}/pause", req, opts, { pathFields: ["id"] });
|
|
237
|
+
}
|
|
238
|
+
function postponeEndDate(req, opts) {
|
|
239
|
+
return wixCall2("PATCH", "/pricing-plans/v2/orders/{id}", req, opts, { pathFields: ["id"] });
|
|
240
|
+
}
|
|
241
|
+
function requestCancellation2(req, opts) {
|
|
242
|
+
return wixCall2("POST", "/pricing-plans/v2/member/orders/{id}/cancel", req, opts, { pathFields: ["id"] });
|
|
243
|
+
}
|
|
244
|
+
function resumeOrder(req, opts) {
|
|
245
|
+
return wixCall2("POST", "/pricing-plans/v2/orders/{id}/resume", req, opts, { pathFields: ["id"] });
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// ../../stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.ts
|
|
249
|
+
var planBenefits_generated_exports = {};
|
|
250
|
+
__export(planBenefits_generated_exports, {
|
|
251
|
+
listPlansByItemIdentifier: () => listPlansByItemIdentifier
|
|
252
|
+
});
|
|
253
|
+
function listPlansByItemIdentifier(req = {}, opts) {
|
|
254
|
+
return wixCall2("POST", "/pricing-plan-benefits/v3/plan-benefits/list-plans-by-item-identifier", req, opts);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// ../../stdlib/wix-sdk-auto/pricing-plans/plans.generated.ts
|
|
258
|
+
var plans_generated_exports = {};
|
|
259
|
+
__export(plans_generated_exports, {
|
|
260
|
+
archivePlan: () => archivePlan2,
|
|
261
|
+
clearPrimary: () => clearPrimary,
|
|
262
|
+
createPlan: () => createPlan,
|
|
263
|
+
getPlan: () => getPlan2,
|
|
264
|
+
getPlanStats: () => getPlanStats,
|
|
265
|
+
listPlans: () => listPlans2,
|
|
266
|
+
listPublicPlans: () => listPublicPlans2,
|
|
267
|
+
makePlanPrimary: () => makePlanPrimary,
|
|
268
|
+
queryPublicPlans: () => queryPublicPlans,
|
|
269
|
+
setPlanVisibility: () => setPlanVisibility2,
|
|
270
|
+
updatePlan: () => updatePlan
|
|
271
|
+
});
|
|
272
|
+
function archivePlan2(req, opts) {
|
|
273
|
+
return wixCall2("POST", "/pricing-plans/v2/plans/{id}/archive", req, opts, { pathFields: ["id"] });
|
|
274
|
+
}
|
|
275
|
+
function clearPrimary(req = {}, opts) {
|
|
276
|
+
return wixCall2("POST", "/pricing-plans/v2/plans/clear-primary", req, opts);
|
|
277
|
+
}
|
|
278
|
+
function createPlan(req = {}, opts) {
|
|
279
|
+
return wixCall2("POST", "/pricing-plans/v2/plans", req, opts);
|
|
280
|
+
}
|
|
281
|
+
function getPlan2(req, opts) {
|
|
282
|
+
return wixCall2("GET", "/pricing-plans/v2/plans/{id}", req, opts, { pathFields: ["id"], query: true });
|
|
283
|
+
}
|
|
284
|
+
function getPlanStats(req = {}, opts) {
|
|
285
|
+
return wixCall2("GET", "/pricing-plans/v2/plans/stats", req, opts, { query: true });
|
|
286
|
+
}
|
|
287
|
+
function listPlans2(req = {}, opts) {
|
|
288
|
+
return wixCall2("GET", "/pricing-plans/v2/plans", req, opts, { query: true });
|
|
289
|
+
}
|
|
290
|
+
function listPublicPlans2(req = {}, opts) {
|
|
291
|
+
return wixCall2("GET", "/pricing-plans/v2/plans/public", req, opts, { query: true });
|
|
292
|
+
}
|
|
293
|
+
function makePlanPrimary(req, opts) {
|
|
294
|
+
return wixCall2("POST", "/pricing-plans/v2/plans/{id}/make-primary", req, opts, { pathFields: ["id"] });
|
|
295
|
+
}
|
|
296
|
+
function queryPublicPlans(req = {}, opts) {
|
|
297
|
+
return wixCall2("POST", "/pricing-plans/v2/plans/public/query", req, opts);
|
|
298
|
+
}
|
|
299
|
+
function setPlanVisibility2(req, opts) {
|
|
300
|
+
return wixCall2("PUT", "/pricing-plans/v2/plans/{id}/visibility", req, opts, { pathFields: ["id"] });
|
|
301
|
+
}
|
|
302
|
+
function updatePlan(req, opts) {
|
|
303
|
+
return wixCall2("PATCH", "/pricing-plans/v2/plans/{planId}", req, opts, { pathFields: ["plan.id"] });
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// ../../stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.ts
|
|
307
|
+
var plansV3_generated_exports = {};
|
|
308
|
+
__export(plansV3_generated_exports, {
|
|
309
|
+
bulkUpdatePlanTags: () => bulkUpdatePlanTags,
|
|
310
|
+
bulkUpdatePlanTagsByFilter: () => bulkUpdatePlanTagsByFilter,
|
|
311
|
+
bulkUpdatePlans: () => bulkUpdatePlans,
|
|
312
|
+
countPlans: () => countPlans,
|
|
313
|
+
createPlan: () => createPlan2,
|
|
314
|
+
deletePlan: () => deletePlan,
|
|
315
|
+
getPlan: () => getPlan3,
|
|
316
|
+
getPlanConfigurationConstraints: () => getPlanConfigurationConstraints,
|
|
317
|
+
getPlanPreview: () => getPlanPreview,
|
|
318
|
+
listPlanPreviews: () => listPlanPreviews,
|
|
319
|
+
queryPlans: () => queryPlans,
|
|
320
|
+
searchPlans: () => searchPlans,
|
|
321
|
+
updatePlan: () => updatePlan2
|
|
322
|
+
});
|
|
323
|
+
function bulkUpdatePlanTags(req = {}, opts) {
|
|
324
|
+
return wixCall2("POST", "/pricing-plans/v3/bulk/plans/update-tags", req, opts);
|
|
325
|
+
}
|
|
326
|
+
function bulkUpdatePlanTagsByFilter(req = {}, opts) {
|
|
327
|
+
return wixCall2("POST", "/pricing-plans/v3/bulk/plans/update-tags-by-filter", req, opts);
|
|
328
|
+
}
|
|
329
|
+
function bulkUpdatePlans(req = {}, opts) {
|
|
330
|
+
return wixCall2("POST", "/pricing-plans/v3/bulk/plans/update", req, opts);
|
|
331
|
+
}
|
|
332
|
+
function countPlans(req = {}, opts) {
|
|
333
|
+
return wixCall2("POST", "/pricing-plans/v3/plans/count", req, opts);
|
|
334
|
+
}
|
|
335
|
+
function createPlan2(req = {}, opts) {
|
|
336
|
+
return wixCall2("POST", "/pricing-plans/v3/plans", req, opts);
|
|
337
|
+
}
|
|
338
|
+
function deletePlan(req, opts) {
|
|
339
|
+
return wixCall2("DELETE", "/pricing-plans/v3/plans/{planId}", req, opts, { pathFields: ["planId"], query: true });
|
|
340
|
+
}
|
|
341
|
+
function getPlan3(req, opts) {
|
|
342
|
+
return wixCall2("GET", "/pricing-plans/v3/plans/{planId}", req, opts, { pathFields: ["planId"], query: true });
|
|
343
|
+
}
|
|
344
|
+
function getPlanConfigurationConstraints(req = {}, opts) {
|
|
345
|
+
return wixCall2("GET", "/pricing-plans/ecom-integration/v3/plan-configuration-constraints", req, opts, { query: true });
|
|
346
|
+
}
|
|
347
|
+
function getPlanPreview(req = {}, opts) {
|
|
348
|
+
return wixCall2("GET", "/pricing-plans/ecom-integration/v3/plan-preview", req, opts, { query: true });
|
|
349
|
+
}
|
|
350
|
+
function listPlanPreviews(req = {}, opts) {
|
|
351
|
+
return wixCall2("POST", "/pricing-plans/ecom-integration/v3/plan-preview/previews", req, opts);
|
|
352
|
+
}
|
|
353
|
+
function queryPlans(req = {}, opts) {
|
|
354
|
+
return wixCall2("POST", "/pricing-plans/v3/plans/query", req, opts);
|
|
355
|
+
}
|
|
356
|
+
function searchPlans(req = {}, opts) {
|
|
357
|
+
return wixCall2("POST", "/pricing-plans/v3/plans/search", req, opts);
|
|
358
|
+
}
|
|
359
|
+
function updatePlan2(req, opts) {
|
|
360
|
+
return wixCall2("PATCH", "/pricing-plans/v3/plans/{planId}", req, opts, { pathFields: ["plan.id"] });
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
// ../../stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.ts
|
|
364
|
+
var pricingPlansSettings_generated_exports = {};
|
|
365
|
+
__export(pricingPlansSettings_generated_exports, {
|
|
366
|
+
getPricingPlansSettings: () => getPricingPlansSettings,
|
|
367
|
+
updatePricingPlansSettings: () => updatePricingPlansSettings
|
|
368
|
+
});
|
|
369
|
+
function getPricingPlansSettings(req = {}, opts) {
|
|
370
|
+
return wixCall2("GET", "/pricing-plans/settings/v1/pricing-plans-settings", req, opts, { query: true });
|
|
371
|
+
}
|
|
372
|
+
function updatePricingPlansSettings(req = {}, opts) {
|
|
373
|
+
return wixCall2("PATCH", "/pricing-plans/settings/v1/pricing-plans-settings", req, opts);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// ../../stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.ts
|
|
377
|
+
var pricingVariantCategories_generated_exports = {};
|
|
378
|
+
__export(pricingVariantCategories_generated_exports, {
|
|
379
|
+
createPricingVariantCategory: () => createPricingVariantCategory,
|
|
380
|
+
deletePricingVariantCategory: () => deletePricingVariantCategory,
|
|
381
|
+
getPricingVariantCategory: () => getPricingVariantCategory,
|
|
382
|
+
queryPricingVariantCategories: () => queryPricingVariantCategories,
|
|
383
|
+
updatePricingVariantCategory: () => updatePricingVariantCategory
|
|
384
|
+
});
|
|
385
|
+
function createPricingVariantCategory(req = {}, opts) {
|
|
386
|
+
return wixCall2("POST", "/_api/pricing-variant-categories/v3/pricing-variant-categories", req, opts);
|
|
387
|
+
}
|
|
388
|
+
function deletePricingVariantCategory(req, opts) {
|
|
389
|
+
return wixCall2("DELETE", "/_api/pricing-variant-categories/v3/pricing-variant-categories/{pricingVariantCategoryId}", req, opts, { pathFields: ["pricingVariantCategoryId"], query: true });
|
|
390
|
+
}
|
|
391
|
+
function getPricingVariantCategory(req, opts) {
|
|
392
|
+
return wixCall2("GET", "/_api/pricing-variant-categories/v3/pricing-variant-categories/{pricingVariantCategoryId}", req, opts, { pathFields: ["pricingVariantCategoryId"], query: true });
|
|
393
|
+
}
|
|
394
|
+
function queryPricingVariantCategories(req = {}, opts) {
|
|
395
|
+
return wixCall2("POST", "/_api/pricing-variant-categories/v3/pricing-variant-categories/query", req, opts);
|
|
396
|
+
}
|
|
397
|
+
function updatePricingVariantCategory(req, opts) {
|
|
398
|
+
return wixCall2("PATCH", "/_api/pricing-variant-categories/v3/pricing-variant-categories/{pricingVariantCategoryId}", req, opts, { pathFields: ["pricingVariantCategory.id"] });
|
|
399
|
+
}
|
|
70
400
|
export {
|
|
71
401
|
archivePlan,
|
|
72
402
|
cancelPlanOrder,
|
|
@@ -79,7 +409,13 @@ export {
|
|
|
79
409
|
listPlanOrders,
|
|
80
410
|
listPlans,
|
|
81
411
|
listPublicPlans,
|
|
412
|
+
orders_generated_exports as orders,
|
|
82
413
|
pausePlanOrder,
|
|
414
|
+
planBenefits_generated_exports as planBenefits,
|
|
415
|
+
plans_generated_exports as plans,
|
|
416
|
+
plansV3_generated_exports as plansV3,
|
|
417
|
+
pricingPlansSettings_generated_exports as pricingPlansSettings,
|
|
418
|
+
pricingVariantCategories_generated_exports as pricingVariantCategories,
|
|
83
419
|
requestCancellation,
|
|
84
420
|
resumePlanOrder,
|
|
85
421
|
setPlanVisibility
|