@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,138 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, BookedAddOn, BookedEntity, CustomFormField, DateTimeRule, ExtendedFields, IdentificationData, MultiServiceBookingInfo, ParticipantsRange, Subdivision } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, BookedAddOn, BookedEntity, BookedResource, BookedSchedule, BookedSlot, CustomFormField, DateTimeRule, ExtendedFields, IdentificationData, Location, MultiServiceBookingInfo, ParticipantsRange, RequestedGenderValue, ResourceSelection, Subdivision } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Address {
|
|
6
|
+
streetAddress?: StreetAddress;
|
|
7
|
+
addressLine?: string;
|
|
8
|
+
country?: string;
|
|
9
|
+
subdivision?: string;
|
|
10
|
+
city?: string;
|
|
11
|
+
postalCode?: string;
|
|
12
|
+
addressLine2?: string;
|
|
13
|
+
formattedAddress?: string;
|
|
14
|
+
hint?: string;
|
|
15
|
+
geocode?: AddressLocation;
|
|
16
|
+
countryFullname?: string;
|
|
17
|
+
subdivisions?: Subdivision[];
|
|
18
|
+
}
|
|
19
|
+
export interface Booking {
|
|
20
|
+
totalParticipants?: number;
|
|
21
|
+
participantsChoices?: ParticipantChoices;
|
|
22
|
+
id?: string;
|
|
23
|
+
bookedEntity?: BookedEntity;
|
|
24
|
+
contactDetails?: ContactDetails;
|
|
25
|
+
additionalFields?: CustomFormField[];
|
|
26
|
+
status?: string;
|
|
27
|
+
paymentStatus?: string;
|
|
28
|
+
selectedPaymentOption?: string;
|
|
29
|
+
createdDate?: string;
|
|
30
|
+
externalUserId?: string;
|
|
31
|
+
revision?: string;
|
|
32
|
+
createdBy?: IdentificationData;
|
|
33
|
+
startDate?: string;
|
|
34
|
+
endDate?: string;
|
|
35
|
+
updatedDate?: string;
|
|
36
|
+
extendedFields?: ExtendedFields;
|
|
37
|
+
doubleBooked?: boolean;
|
|
38
|
+
multiServiceBookingInfo?: MultiServiceBookingInfo;
|
|
39
|
+
formSubmissionId?: string;
|
|
40
|
+
formId?: string;
|
|
41
|
+
bookedAddOns?: BookedAddOn[];
|
|
42
|
+
appId?: string;
|
|
43
|
+
createdByAppId?: string;
|
|
44
|
+
depositSelected?: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface BookingLineItem {
|
|
47
|
+
serviceId?: string;
|
|
48
|
+
resourceId?: string;
|
|
49
|
+
choices?: ServiceChoice[];
|
|
50
|
+
numberOfParticipants?: number;
|
|
51
|
+
pricePerParticipant?: number;
|
|
52
|
+
serviceChoices?: PricingServiceChoices[];
|
|
53
|
+
localStartDate?: string;
|
|
54
|
+
localEndDate?: string;
|
|
55
|
+
timeZone?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface CalculatePriceRequest {
|
|
58
|
+
booking?: Booking;
|
|
59
|
+
}
|
|
60
|
+
export interface CalculatePriceResponse {
|
|
61
|
+
priceInfo?: PriceInfo;
|
|
62
|
+
}
|
|
63
|
+
export interface ContactDetails {
|
|
64
|
+
contactId?: string;
|
|
65
|
+
firstName?: string;
|
|
66
|
+
lastName?: string;
|
|
67
|
+
email?: string;
|
|
68
|
+
phone?: string;
|
|
69
|
+
fullAddress?: Address;
|
|
70
|
+
timeZone?: string;
|
|
71
|
+
countryCode?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface Duration {
|
|
74
|
+
minutes?: number;
|
|
75
|
+
name?: string;
|
|
76
|
+
}
|
|
77
|
+
export interface ParticipantChoices {
|
|
78
|
+
serviceChoices?: ServiceChoices[];
|
|
79
|
+
}
|
|
80
|
+
export interface PreviewPriceRequest {
|
|
81
|
+
bookingLineItems?: BookingLineItem[];
|
|
82
|
+
}
|
|
83
|
+
export interface PreviewPriceResponse {
|
|
84
|
+
priceInfo?: PriceInfo;
|
|
85
|
+
}
|
|
86
|
+
export interface PriceDescriptionInfo {
|
|
87
|
+
original?: string;
|
|
88
|
+
translated?: string;
|
|
89
|
+
}
|
|
90
|
+
export interface PriceInfo {
|
|
91
|
+
calculatedPrice?: number;
|
|
92
|
+
priceDescription?: string;
|
|
93
|
+
priceDescriptionInfo?: PriceDescriptionInfo;
|
|
94
|
+
bookingLineItems?: BookingLineItem[];
|
|
95
|
+
deposit?: number;
|
|
96
|
+
}
|
|
97
|
+
export interface PricingServiceChoices {
|
|
98
|
+
numberOfParticipants?: number;
|
|
99
|
+
choices?: ServiceChoice[];
|
|
100
|
+
pricePerParticipant?: number;
|
|
101
|
+
}
|
|
102
|
+
export interface ServiceChoice {
|
|
103
|
+
custom?: string;
|
|
104
|
+
duration?: Duration;
|
|
105
|
+
dateTime?: DateTimeRule;
|
|
106
|
+
participantRange?: ParticipantsRange;
|
|
107
|
+
optionId?: string;
|
|
108
|
+
choiceId?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface ServiceChoices {
|
|
111
|
+
numberOfParticipants?: number;
|
|
112
|
+
choices?: ServiceChoice[];
|
|
113
|
+
}
|
|
114
|
+
export interface StreetAddress {
|
|
115
|
+
number?: string;
|
|
116
|
+
name?: string;
|
|
117
|
+
apt?: string;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Calculates the current base price for an existing booking.
|
|
121
|
+
*
|
|
122
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
123
|
+
* @permissionId BOOKINGS.PRICE_CALCULATE
|
|
124
|
+
* @fqn com.wixpress.bookings.pricing.BookingsPricingService.CalculatePrice
|
|
125
|
+
*
|
|
126
|
+
* POST /bookings/v2/pricing/v2/pricing/calculate
|
|
127
|
+
*/
|
|
128
|
+
export declare function calculatePrice(req?: CalculatePriceRequest, opts?: WixCallOptions): Promise<CalculatePriceResponse>;
|
|
129
|
+
/**
|
|
130
|
+
* Previews the base price for a set of line items belonging to the same service, before a booking is created.
|
|
131
|
+
*
|
|
132
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
133
|
+
* @permissionId BOOKINGS.PRICE_PREVIEW
|
|
134
|
+
* @fqn com.wixpress.bookings.pricing.BookingsPricingService.PreviewPrice
|
|
135
|
+
*
|
|
136
|
+
* POST /bookings/v2/pricing/v2/pricing/preview
|
|
137
|
+
*/
|
|
138
|
+
export declare function previewPrice(req?: PreviewPriceRequest, opts?: WixCallOptions): Promise<PreviewPriceResponse>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CursorPaging, CursorPagingMetadata, Money } from "../_shared/types.generated.js";
|
|
3
|
+
export type { CursorPaging, CursorPagingMetadata, Cursors, Money } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface DiscountInfo {
|
|
6
|
+
discountRuleNames?: string[];
|
|
7
|
+
}
|
|
8
|
+
export interface Image {
|
|
9
|
+
id?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
height?: number;
|
|
12
|
+
width?: number;
|
|
13
|
+
altText?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ListRelatedProductsByServiceIdsRequest {
|
|
16
|
+
serviceIds?: string[];
|
|
17
|
+
includeProducts?: boolean;
|
|
18
|
+
cursorPaging?: CursorPaging;
|
|
19
|
+
}
|
|
20
|
+
export interface ListRelatedProductsByServiceIdsResponse {
|
|
21
|
+
relatedProducts?: RelatedProducts[];
|
|
22
|
+
productSummaries?: RelatedProductSummary[];
|
|
23
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
24
|
+
}
|
|
25
|
+
export interface MinPriceVariant {
|
|
26
|
+
id?: string;
|
|
27
|
+
price?: Money;
|
|
28
|
+
compareAtPrice?: Money;
|
|
29
|
+
priceAfterDiscount?: Money;
|
|
30
|
+
}
|
|
31
|
+
export interface MinVariantPriceInfo {
|
|
32
|
+
actualPrice?: Money;
|
|
33
|
+
compareAtPrice?: Money;
|
|
34
|
+
sku?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface RelatedProductSummary {
|
|
37
|
+
id?: string;
|
|
38
|
+
name?: string;
|
|
39
|
+
slug?: string;
|
|
40
|
+
url?: string;
|
|
41
|
+
description?: string;
|
|
42
|
+
media?: Image;
|
|
43
|
+
price?: Money;
|
|
44
|
+
compareAtPrice?: Money;
|
|
45
|
+
ribbon?: string;
|
|
46
|
+
availabilityStatus?: string;
|
|
47
|
+
optionsOrModifiersSupported?: boolean;
|
|
48
|
+
tags?: Tags;
|
|
49
|
+
discountInfo?: DiscountInfo;
|
|
50
|
+
variantSummary?: VariantSummary;
|
|
51
|
+
minVariantPriceInfo?: MinVariantPriceInfo;
|
|
52
|
+
}
|
|
53
|
+
export interface RelatedProducts {
|
|
54
|
+
id?: string;
|
|
55
|
+
revision?: string;
|
|
56
|
+
createdDate?: string;
|
|
57
|
+
updatedDate?: string;
|
|
58
|
+
serviceId?: string;
|
|
59
|
+
productTagIds?: string[];
|
|
60
|
+
name?: string;
|
|
61
|
+
description?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface Tags {
|
|
64
|
+
publicTagIds?: string[];
|
|
65
|
+
privateTagIds?: string[];
|
|
66
|
+
}
|
|
67
|
+
export interface VariantSummary {
|
|
68
|
+
variantCount?: number;
|
|
69
|
+
minPriceVariant?: MinPriceVariant;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /_api/bookings/related-products/list-by-service-ids answered 400 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
73
|
+
*
|
|
74
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
75
|
+
*
|
|
76
|
+
* POST /_api/bookings/related-products/list-by-service-ids
|
|
77
|
+
*/
|
|
78
|
+
export declare function listRelatedProductsByServiceIds(req?: ListRelatedProductsByServiceIdsRequest, opts?: WixCallOptions): Promise<ListRelatedProductsByServiceIdsResponse>;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CursorPagingMetadata, CursorQuery, ExtendedFields } from "../_shared/types.generated.js";
|
|
3
|
+
export type { CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, ExtendedFields, Sorting } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface CountResourceTypesRequest {
|
|
6
|
+
filter?: Record<string, unknown>;
|
|
7
|
+
}
|
|
8
|
+
export interface CountResourceTypesResponse {
|
|
9
|
+
count?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface CreateResourceTypeRequest {
|
|
12
|
+
resourceType?: ResourceType;
|
|
13
|
+
}
|
|
14
|
+
export interface CreateResourceTypeResponse {
|
|
15
|
+
resourceType?: ResourceType;
|
|
16
|
+
}
|
|
17
|
+
export interface DeleteResourceTypeRequest {
|
|
18
|
+
resourceTypeId?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface DeleteResourceTypeResponse {
|
|
21
|
+
}
|
|
22
|
+
export interface GetResourceTypeRequest {
|
|
23
|
+
resourceTypeId?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface GetResourceTypeResponse {
|
|
26
|
+
resourceType?: ResourceType;
|
|
27
|
+
}
|
|
28
|
+
export interface QueryResourceTypesRequest {
|
|
29
|
+
query?: CursorQuery;
|
|
30
|
+
}
|
|
31
|
+
export interface QueryResourceTypesResponse {
|
|
32
|
+
resourceTypes?: ResourceType[];
|
|
33
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
34
|
+
}
|
|
35
|
+
export interface ResourceType {
|
|
36
|
+
id?: string;
|
|
37
|
+
revision?: string;
|
|
38
|
+
createdDate?: string;
|
|
39
|
+
updatedDate?: string;
|
|
40
|
+
name?: string;
|
|
41
|
+
extendedFields?: ExtendedFields;
|
|
42
|
+
}
|
|
43
|
+
export interface UpdateResourceTypeRequest {
|
|
44
|
+
resourceType?: ResourceType;
|
|
45
|
+
}
|
|
46
|
+
export interface UpdateResourceTypeResponse {
|
|
47
|
+
resourceType?: ResourceType;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Counts resource types, given the provided filtering.
|
|
51
|
+
*
|
|
52
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
53
|
+
* @permissionId BOOKINGS.RESOURCE_TYPE_READ
|
|
54
|
+
* @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.CountResourceTypes
|
|
55
|
+
*
|
|
56
|
+
* POST /bookings/v2/resources/resource-types/count
|
|
57
|
+
*/
|
|
58
|
+
export declare function countResourceTypes(req?: CountResourceTypesRequest, opts?: WixCallOptions): Promise<CountResourceTypesResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Creates a new resource type.
|
|
61
|
+
*
|
|
62
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
63
|
+
* @permissionId BOOKINGS.RESOURCE_TYPE_CREATE
|
|
64
|
+
* @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.CreateResourceType
|
|
65
|
+
*
|
|
66
|
+
* POST /bookings/v2/resources/resource-types
|
|
67
|
+
*/
|
|
68
|
+
export declare function createResourceType(req?: CreateResourceTypeRequest, opts?: WixCallOptions): Promise<CreateResourceTypeResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* Deletes a resource type.
|
|
71
|
+
*
|
|
72
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
73
|
+
* @permissionId BOOKINGS.RESOURCE_TYPE_DELETE
|
|
74
|
+
* @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.DeleteResourceType
|
|
75
|
+
*
|
|
76
|
+
* DELETE /bookings/v2/resources/resource-types/{resourceTypeId}
|
|
77
|
+
*/
|
|
78
|
+
export declare function deleteResourceType(req: DeleteResourceTypeRequest, opts?: WixCallOptions): Promise<DeleteResourceTypeResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Retrieves a resource type.
|
|
81
|
+
*
|
|
82
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
83
|
+
* @permissionId BOOKINGS.RESOURCE_TYPE_READ
|
|
84
|
+
* @permissionId BOOKINGS.RESOURCES_READ
|
|
85
|
+
* @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.GetResourceType
|
|
86
|
+
*
|
|
87
|
+
* GET /bookings/v2/resources/resource-types/{resourceTypeId}
|
|
88
|
+
*/
|
|
89
|
+
export declare function getResourceType(req: GetResourceTypeRequest, opts?: WixCallOptions): Promise<GetResourceTypeResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* Creates a query to retrieve a list of resource types.
|
|
92
|
+
*
|
|
93
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
94
|
+
* @permissionId BOOKINGS.RESOURCE_TYPE_READ
|
|
95
|
+
* @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.QueryResourceTypes
|
|
96
|
+
*
|
|
97
|
+
* POST /bookings/v2/resources/resource-types/query
|
|
98
|
+
*/
|
|
99
|
+
export declare function queryResourceTypes(req?: QueryResourceTypesRequest, opts?: WixCallOptions): Promise<QueryResourceTypesResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* Updates a resource type.
|
|
102
|
+
*
|
|
103
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
104
|
+
* @permissionId BOOKINGS.RESOURCE_TYPE_UPDATE
|
|
105
|
+
* @fqn wix.bookings.resources.v2.resourcetypes.ResourceTypesService.UpdateResourceType
|
|
106
|
+
*
|
|
107
|
+
* PATCH /bookings/v2/resources/resource-types/{resourceTypeId}
|
|
108
|
+
*/
|
|
109
|
+
export declare function updateResourceType(req: UpdateResourceTypeRequest, opts?: WixCallOptions): Promise<UpdateResourceTypeResponse>;
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AggregationData, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, DateHistogramAggregation, ExtendedFields, GroupByAggregation, ItemMetadata, NestedAggregation, RangeAggregation, ScalarAggregation, SearchDetails, Sorting, ValueAggregation } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AggregationData, AggregationResults, AggregationResultsScalarResult, ApplicationError, BulkActionMetadata, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, DateHistogramAggregation, DateHistogramResult, DateHistogramResults, ExtendedFields, GroupByAggregation, GroupByValueResults, IncludeMissingValuesOptions, ItemMetadata, NestedAggregation, NestedAggregationItem, NestedAggregationResults, NestedResults, NestedValueAggregationResult, RangeAggregation, RangeAggregationResult, RangeBucket, RangeResults, Results, ScalarAggregation, SearchDetails, Sorting, ValueAggregation, ValueAggregationResult, ValueResults } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Aggregation {
|
|
6
|
+
value?: ValueAggregation;
|
|
7
|
+
range?: RangeAggregation;
|
|
8
|
+
scalar?: ScalarAggregation;
|
|
9
|
+
dateHistogram?: DateHistogramAggregation;
|
|
10
|
+
nested?: NestedAggregation;
|
|
11
|
+
name?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
fieldPath?: string;
|
|
14
|
+
groupBy?: GroupByAggregation;
|
|
15
|
+
}
|
|
16
|
+
export interface BulkCreateResourcesRequest {
|
|
17
|
+
resources?: Resource[];
|
|
18
|
+
returnEntity?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface BulkCreateResourcesResponse {
|
|
21
|
+
results?: BulkResourceResult[];
|
|
22
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
23
|
+
}
|
|
24
|
+
export interface BulkDeleteResourcesRequest {
|
|
25
|
+
ids?: string[];
|
|
26
|
+
}
|
|
27
|
+
export interface BulkDeleteResourcesResponse {
|
|
28
|
+
results?: BulkResourceResult[];
|
|
29
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
30
|
+
}
|
|
31
|
+
export interface BulkResourceResult {
|
|
32
|
+
itemMetadata?: ItemMetadata;
|
|
33
|
+
item?: Resource;
|
|
34
|
+
}
|
|
35
|
+
export interface BulkUpdateResourcesRequest {
|
|
36
|
+
resources?: MaskedResource[];
|
|
37
|
+
returnEntity?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface BulkUpdateResourcesResponse {
|
|
40
|
+
results?: BulkResourceResult[];
|
|
41
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
42
|
+
}
|
|
43
|
+
export interface BusinessLocation {
|
|
44
|
+
locationId?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface CountResourcesRequest {
|
|
47
|
+
filter?: Record<string, unknown>;
|
|
48
|
+
search?: SearchDetails;
|
|
49
|
+
}
|
|
50
|
+
export interface CountResourcesResponse {
|
|
51
|
+
count?: number;
|
|
52
|
+
}
|
|
53
|
+
export interface CreateResourceRequest {
|
|
54
|
+
resource?: Resource;
|
|
55
|
+
}
|
|
56
|
+
export interface CreateResourceResponse {
|
|
57
|
+
resource?: Resource;
|
|
58
|
+
}
|
|
59
|
+
export interface CursorSearch {
|
|
60
|
+
cursorPaging?: CursorPaging;
|
|
61
|
+
filter?: Record<string, unknown>;
|
|
62
|
+
sort?: Sorting[];
|
|
63
|
+
aggregations?: Aggregation[];
|
|
64
|
+
search?: SearchDetails;
|
|
65
|
+
timeZone?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface DeleteResourceRequest {
|
|
68
|
+
resourceId?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface DeleteResourceResponse {
|
|
71
|
+
}
|
|
72
|
+
export interface EventsSchedule {
|
|
73
|
+
scheduleId?: string;
|
|
74
|
+
}
|
|
75
|
+
export interface GetResourceRequest {
|
|
76
|
+
resourceId?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface GetResourceResponse {
|
|
79
|
+
resource?: Resource;
|
|
80
|
+
}
|
|
81
|
+
export interface LocationOptions {
|
|
82
|
+
availableInAllLocations?: boolean;
|
|
83
|
+
specificLocationOptions?: SpecificLocation;
|
|
84
|
+
}
|
|
85
|
+
export interface MaskedResource {
|
|
86
|
+
resource?: Resource;
|
|
87
|
+
fieldMask?: string[];
|
|
88
|
+
}
|
|
89
|
+
export interface QueryResourcesRequest {
|
|
90
|
+
query?: CursorQuery;
|
|
91
|
+
}
|
|
92
|
+
export interface QueryResourcesResponse {
|
|
93
|
+
resources?: Resource[];
|
|
94
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
95
|
+
}
|
|
96
|
+
export interface Resource {
|
|
97
|
+
id?: string;
|
|
98
|
+
revision?: string;
|
|
99
|
+
createdDate?: string;
|
|
100
|
+
updatedDate?: string;
|
|
101
|
+
name?: string;
|
|
102
|
+
typeId?: string;
|
|
103
|
+
workingHoursSchedules?: WorkingHoursSchedules;
|
|
104
|
+
locationOptions?: LocationOptions;
|
|
105
|
+
eventsSchedule?: EventsSchedule;
|
|
106
|
+
extendedFields?: ExtendedFields;
|
|
107
|
+
}
|
|
108
|
+
export interface SearchResourcesRequest {
|
|
109
|
+
search?: CursorSearch;
|
|
110
|
+
}
|
|
111
|
+
export interface SearchResourcesResponse {
|
|
112
|
+
resources?: Resource[];
|
|
113
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
114
|
+
aggregationData?: AggregationData;
|
|
115
|
+
}
|
|
116
|
+
export interface SpecificLocation {
|
|
117
|
+
availableInBusinessLocations?: boolean;
|
|
118
|
+
businessLocations?: BusinessLocation[];
|
|
119
|
+
}
|
|
120
|
+
export interface UpdateResourceRequest {
|
|
121
|
+
resource?: Resource;
|
|
122
|
+
}
|
|
123
|
+
export interface UpdateResourceResponse {
|
|
124
|
+
resource?: Resource;
|
|
125
|
+
}
|
|
126
|
+
export interface WorkingHoursSchedule {
|
|
127
|
+
scheduleId?: string;
|
|
128
|
+
shared?: boolean;
|
|
129
|
+
}
|
|
130
|
+
export interface WorkingHoursSchedules {
|
|
131
|
+
values?: WorkingHoursSchedule[];
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Creates up to 50 resources.
|
|
135
|
+
*
|
|
136
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
137
|
+
*
|
|
138
|
+
* POST /bookings/v2/bulk/resources/create
|
|
139
|
+
*/
|
|
140
|
+
export declare function bulkCreateResources(req?: BulkCreateResourcesRequest, opts?: WixCallOptions): Promise<BulkCreateResourcesResponse>;
|
|
141
|
+
/**
|
|
142
|
+
* Deletes multiple resources.
|
|
143
|
+
*
|
|
144
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
145
|
+
*
|
|
146
|
+
* POST /bookings/v2/bulk/resources/delete
|
|
147
|
+
*/
|
|
148
|
+
export declare function bulkDeleteResources(req?: BulkDeleteResourcesRequest, opts?: WixCallOptions): Promise<BulkDeleteResourcesResponse>;
|
|
149
|
+
/**
|
|
150
|
+
* Updates multiple resources.
|
|
151
|
+
*
|
|
152
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
153
|
+
*
|
|
154
|
+
* POST /bookings/v2/bulk/resources/update
|
|
155
|
+
*/
|
|
156
|
+
export declare function bulkUpdateResources(req?: BulkUpdateResourcesRequest, opts?: WixCallOptions): Promise<BulkUpdateResourcesResponse>;
|
|
157
|
+
/**
|
|
158
|
+
* Counts resources according to given criteria.
|
|
159
|
+
*
|
|
160
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
161
|
+
*
|
|
162
|
+
* POST /bookings/v2/resources/count
|
|
163
|
+
*/
|
|
164
|
+
export declare function countResources(req?: CountResourcesRequest, opts?: WixCallOptions): Promise<CountResourcesResponse>;
|
|
165
|
+
/**
|
|
166
|
+
* Creates a new resource.
|
|
167
|
+
*
|
|
168
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
169
|
+
*
|
|
170
|
+
* POST /bookings/v2/resources
|
|
171
|
+
*/
|
|
172
|
+
export declare function createResource(req?: CreateResourceRequest, opts?: WixCallOptions): Promise<CreateResourceResponse>;
|
|
173
|
+
/**
|
|
174
|
+
* Deletes a resource.
|
|
175
|
+
*
|
|
176
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
177
|
+
*
|
|
178
|
+
* DELETE /bookings/v2/resources/{resourceId}
|
|
179
|
+
*/
|
|
180
|
+
export declare function deleteResource(req: DeleteResourceRequest, opts?: WixCallOptions): Promise<DeleteResourceResponse>;
|
|
181
|
+
/**
|
|
182
|
+
* Retrieves a resource.
|
|
183
|
+
*
|
|
184
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
185
|
+
*
|
|
186
|
+
* GET /bookings/v2/resources/{resourceId}
|
|
187
|
+
*/
|
|
188
|
+
export declare function getResource(req: GetResourceRequest, opts?: WixCallOptions): Promise<GetResourceResponse>;
|
|
189
|
+
/**
|
|
190
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
191
|
+
*/
|
|
192
|
+
export declare function queryResources(req?: QueryResourcesRequest, opts?: WixCallOptions): Promise<QueryResourcesResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* Retrieves a list of resources matching the provided search criteria.
|
|
195
|
+
*
|
|
196
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
197
|
+
* @permissionId BOOKINGS.RESOURCE_READ
|
|
198
|
+
* @fqn wix.bookings.resources.v2.ResourcesService.SearchResources
|
|
199
|
+
*
|
|
200
|
+
* POST /bookings/v2/resources/search
|
|
201
|
+
*/
|
|
202
|
+
export declare function searchResources(req?: SearchResourcesRequest, opts?: WixCallOptions): Promise<SearchResourcesResponse>;
|
|
203
|
+
/**
|
|
204
|
+
* Updates a resource.
|
|
205
|
+
*
|
|
206
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
207
|
+
*
|
|
208
|
+
* PATCH /bookings/v2/resources/{resourceId}
|
|
209
|
+
*/
|
|
210
|
+
export declare function updateResource(req: UpdateResourceRequest, opts?: WixCallOptions): Promise<UpdateResourceResponse>;
|