@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,239 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, Balance, BookedAddOn, BookedEntity, CommonPaging, CursorPaging, CustomFormField, DateTimeRule, ExtendedFields, IdentificationData, MembershipName, MembershipPaymentCredits, MultiServiceBookingInfo, Paging, PagingMetadataV2, ParticipantsRange, Price, PriceDescription, Subdivision } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, Balance, BookedAddOn, BookedEntity, BookedResource, BookedSchedule, BookedSlot, CommonPaging, CursorPaging, Cursors, CustomFormField, DateTimeRule, ExtendedFields, IdentificationData, Location, MembershipName, MembershipPaymentCredits, MultiServiceBookingInfo, Paging, PagingMetadataV2, ParticipantsRange, Price, PriceDescription, 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 AllowedActions {
|
|
20
|
+
cancel?: boolean;
|
|
21
|
+
reschedule?: boolean;
|
|
22
|
+
refund?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface Attendance {
|
|
25
|
+
id?: string;
|
|
26
|
+
status?: string;
|
|
27
|
+
numberOfAttendees?: number;
|
|
28
|
+
}
|
|
29
|
+
export interface Booking {
|
|
30
|
+
totalParticipants?: number;
|
|
31
|
+
participantsChoices?: ParticipantChoices;
|
|
32
|
+
id?: string;
|
|
33
|
+
bookedEntity?: BookedEntity;
|
|
34
|
+
contactDetails?: ContactDetails;
|
|
35
|
+
additionalFields?: CustomFormField[];
|
|
36
|
+
status?: string;
|
|
37
|
+
paymentStatus?: string;
|
|
38
|
+
selectedPaymentOption?: string;
|
|
39
|
+
createdDate?: string;
|
|
40
|
+
externalUserId?: string;
|
|
41
|
+
revision?: string;
|
|
42
|
+
createdBy?: IdentificationData;
|
|
43
|
+
startDate?: string;
|
|
44
|
+
endDate?: string;
|
|
45
|
+
updatedDate?: string;
|
|
46
|
+
extendedFields?: ExtendedFields;
|
|
47
|
+
doubleBooked?: boolean;
|
|
48
|
+
multiServiceBookingInfo?: MultiServiceBookingInfo;
|
|
49
|
+
formSubmissionId?: string;
|
|
50
|
+
formId?: string;
|
|
51
|
+
bookedAddOns?: BookedAddOn[];
|
|
52
|
+
appId?: string;
|
|
53
|
+
createdByAppId?: string;
|
|
54
|
+
depositSelected?: boolean;
|
|
55
|
+
}
|
|
56
|
+
export interface BookingFeeDetails {
|
|
57
|
+
cancellationFeeStatus?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface BookingPolicySettings {
|
|
60
|
+
cancellationFeeEnabled?: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface CommonAddressLocation {
|
|
63
|
+
latitude?: number;
|
|
64
|
+
longitude?: number;
|
|
65
|
+
}
|
|
66
|
+
export interface CommonQueryV2 {
|
|
67
|
+
paging?: CommonPaging;
|
|
68
|
+
cursorPaging?: CursorPaging;
|
|
69
|
+
filter?: Record<string, unknown>;
|
|
70
|
+
sort?: Sorting[];
|
|
71
|
+
}
|
|
72
|
+
export interface ConferencingDetails {
|
|
73
|
+
guestUrl?: string;
|
|
74
|
+
password?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface ContactDetails {
|
|
77
|
+
contactId?: string;
|
|
78
|
+
firstName?: string;
|
|
79
|
+
lastName?: string;
|
|
80
|
+
email?: string;
|
|
81
|
+
phone?: string;
|
|
82
|
+
fullAddress?: Address;
|
|
83
|
+
timeZone?: string;
|
|
84
|
+
countryCode?: string;
|
|
85
|
+
}
|
|
86
|
+
export interface CountExtendedBookingsRequest {
|
|
87
|
+
filter?: Record<string, unknown>;
|
|
88
|
+
}
|
|
89
|
+
export interface CountExtendedBookingsResponse {
|
|
90
|
+
count?: number;
|
|
91
|
+
}
|
|
92
|
+
export interface CyclePrice {
|
|
93
|
+
amount?: string;
|
|
94
|
+
currency?: string;
|
|
95
|
+
}
|
|
96
|
+
export interface Duration {
|
|
97
|
+
minutes?: number;
|
|
98
|
+
name?: string;
|
|
99
|
+
}
|
|
100
|
+
export interface ExtendedBooking {
|
|
101
|
+
booking?: Booking;
|
|
102
|
+
allowedActions?: AllowedActions;
|
|
103
|
+
attendance?: Attendance;
|
|
104
|
+
conferencingDetails?: ConferencingDetails;
|
|
105
|
+
bookingPolicySettings?: BookingPolicySettings;
|
|
106
|
+
bookingFeeDetails?: BookingFeeDetails;
|
|
107
|
+
order?: Order;
|
|
108
|
+
waiver?: Waiver;
|
|
109
|
+
transactions?: OrderTransactions;
|
|
110
|
+
formSubmissions?: FormSubmission[];
|
|
111
|
+
subscriptionInfo?: SubscriptionInfo;
|
|
112
|
+
}
|
|
113
|
+
export interface FormSubmission {
|
|
114
|
+
label?: string;
|
|
115
|
+
key?: string;
|
|
116
|
+
value?: string;
|
|
117
|
+
fieldId?: string;
|
|
118
|
+
}
|
|
119
|
+
export interface MembershipPaymentDetails {
|
|
120
|
+
name?: MembershipName;
|
|
121
|
+
expirationDate?: string;
|
|
122
|
+
credits?: MembershipPaymentCredits;
|
|
123
|
+
}
|
|
124
|
+
export interface Order {
|
|
125
|
+
id?: string;
|
|
126
|
+
number?: string;
|
|
127
|
+
status?: string;
|
|
128
|
+
paymentStatus?: string;
|
|
129
|
+
totalPrice?: Price;
|
|
130
|
+
bookingPrice?: Price;
|
|
131
|
+
bookingPriceDescription?: PriceDescription;
|
|
132
|
+
balance?: Balance;
|
|
133
|
+
currency?: string;
|
|
134
|
+
}
|
|
135
|
+
export interface OrderTransactions {
|
|
136
|
+
chargedMembershipPaymentDetails?: MembershipPaymentDetails;
|
|
137
|
+
refundSumAmounts?: string;
|
|
138
|
+
}
|
|
139
|
+
export interface ParticipantChoices {
|
|
140
|
+
serviceChoices?: ServiceChoices[];
|
|
141
|
+
}
|
|
142
|
+
export interface QueryExtendedBookingRequest {
|
|
143
|
+
query?: QueryV2;
|
|
144
|
+
withBookingAllowedActions?: boolean;
|
|
145
|
+
withBookingAttendanceInfo?: boolean;
|
|
146
|
+
sessionId?: string;
|
|
147
|
+
}
|
|
148
|
+
export interface QueryExtendedBookingResponse {
|
|
149
|
+
extendedBookings?: ExtendedBooking[];
|
|
150
|
+
pagingMetadata?: PagingMetadataV2;
|
|
151
|
+
}
|
|
152
|
+
export interface QueryExtendedBookingsRequest {
|
|
153
|
+
query?: CommonQueryV2;
|
|
154
|
+
withBookingAllowedActions?: boolean;
|
|
155
|
+
withBookingAttendanceInfo?: boolean;
|
|
156
|
+
withBookingConferencingDetails?: boolean;
|
|
157
|
+
withBookingPolicySettings?: boolean;
|
|
158
|
+
withBookingFeeDetails?: boolean;
|
|
159
|
+
withEcomOrder?: boolean;
|
|
160
|
+
}
|
|
161
|
+
export interface QueryExtendedBookingsResponse {
|
|
162
|
+
extendedBookings?: ExtendedBooking[];
|
|
163
|
+
pagingMetadata?: PagingMetadataV2;
|
|
164
|
+
}
|
|
165
|
+
export interface QueryV2 {
|
|
166
|
+
paging?: Paging;
|
|
167
|
+
cursorPaging?: CursorPaging;
|
|
168
|
+
filter?: Record<string, unknown>;
|
|
169
|
+
sort?: Sorting[];
|
|
170
|
+
fields?: string[];
|
|
171
|
+
fieldsets?: string[];
|
|
172
|
+
}
|
|
173
|
+
export interface ServiceChoice {
|
|
174
|
+
custom?: string;
|
|
175
|
+
duration?: Duration;
|
|
176
|
+
dateTime?: DateTimeRule;
|
|
177
|
+
participantRange?: ParticipantsRange;
|
|
178
|
+
optionId?: string;
|
|
179
|
+
choiceId?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface ServiceChoices {
|
|
182
|
+
numberOfParticipants?: number;
|
|
183
|
+
choices?: ServiceChoice[];
|
|
184
|
+
}
|
|
185
|
+
export interface Sorting {
|
|
186
|
+
fieldName?: string;
|
|
187
|
+
order?: string;
|
|
188
|
+
origin?: CommonAddressLocation;
|
|
189
|
+
}
|
|
190
|
+
export interface StreetAddress {
|
|
191
|
+
number?: string;
|
|
192
|
+
name?: string;
|
|
193
|
+
apt?: string;
|
|
194
|
+
}
|
|
195
|
+
export interface SubscriptionInfo {
|
|
196
|
+
currentCycle?: number;
|
|
197
|
+
totalCycles?: number;
|
|
198
|
+
billingFrequency?: string;
|
|
199
|
+
subscriptionId?: string;
|
|
200
|
+
status?: string;
|
|
201
|
+
cyclePrice?: CyclePrice;
|
|
202
|
+
}
|
|
203
|
+
export interface Waiver {
|
|
204
|
+
id?: string;
|
|
205
|
+
waiverTemplateId?: string;
|
|
206
|
+
contactId?: string;
|
|
207
|
+
status?: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Counts the number of bookings matching the specified filters.
|
|
211
|
+
*
|
|
212
|
+
* @permissionId bookings:v2:booking:count_extended_bookings
|
|
213
|
+
* @permissionId BOOKINGS.MANAGE_BOOKINGS
|
|
214
|
+
* @permissionId BOOKINGS.BOOKING_READ_ANY
|
|
215
|
+
* @fqn com.wixpress.bookings.reader.v2.BookingsReader.CountExtendedBookings
|
|
216
|
+
*
|
|
217
|
+
* POST /_api/bookings-reader/v2/extended-bookings/count
|
|
218
|
+
*/
|
|
219
|
+
export declare function countExtendedBookings(req?: CountExtendedBookingsRequest, opts?: WixCallOptions): Promise<CountExtendedBookingsResponse>;
|
|
220
|
+
/**
|
|
221
|
+
* > **Deprecation Notice** > > **This endpoint has been replaced with [Query Extended Bookings](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings) and will be removed on May 31, 2025.** > **If your app uses this endpoint, we recommend updating your code as soon as possible.**
|
|
222
|
+
*
|
|
223
|
+
* @permissionId BOOKINGS.BOOKING_READ
|
|
224
|
+
* @fqn com.wixpress.bookings.reader.v2.BookingsReader.Query
|
|
225
|
+
*
|
|
226
|
+
* POST /_api/bookings-reader/v2/extended-booking/query
|
|
227
|
+
*/
|
|
228
|
+
export declare function query(req?: QueryExtendedBookingRequest, opts?: WixCallOptions): Promise<QueryExtendedBookingResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* Retrieves a list of bookings, including additional extended information, given the provided paging, filtering, and sorting.
|
|
231
|
+
*
|
|
232
|
+
* @permissionId BOOKINGS.BOOKING_READ
|
|
233
|
+
* @permissionId BOOKINGS.MANAGE_BOOKINGS
|
|
234
|
+
* @permissionId BOOKINGS.BOOKING_READ_ANY
|
|
235
|
+
* @fqn com.wixpress.bookings.reader.v2.BookingsReader.QueryExtendedBookings
|
|
236
|
+
*
|
|
237
|
+
* POST /_api/bookings-reader/v2/extended-bookings/query
|
|
238
|
+
*/
|
|
239
|
+
export declare function queryExtendedBookings(req?: QueryExtendedBookingsRequest, opts?: WixCallOptions): Promise<QueryExtendedBookingsResponse>;
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CursorPaging, ListProvidersRequest } from "../_shared/types.generated.js";
|
|
3
|
+
export type { CursorPaging, ListProvidersRequest } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Calendar {
|
|
6
|
+
id?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface Calendars {
|
|
10
|
+
calendars?: Calendar[];
|
|
11
|
+
}
|
|
12
|
+
export interface ConnectByCredentialsRequest {
|
|
13
|
+
scheduleId?: string;
|
|
14
|
+
providerId?: string;
|
|
15
|
+
email?: string;
|
|
16
|
+
password?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ConnectByCredentialsResponse {
|
|
19
|
+
connection?: Connection;
|
|
20
|
+
}
|
|
21
|
+
export interface ConnectByOAuthRequest {
|
|
22
|
+
scheduleId?: string;
|
|
23
|
+
providerId?: string;
|
|
24
|
+
redirectUrl?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ConnectByOAuthResponse {
|
|
27
|
+
oauthUrl?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface Connection {
|
|
30
|
+
id?: string;
|
|
31
|
+
providerId?: string;
|
|
32
|
+
calendarType?: string;
|
|
33
|
+
scheduleId?: string;
|
|
34
|
+
userId?: string;
|
|
35
|
+
appId?: string;
|
|
36
|
+
externalAccountEmail?: string;
|
|
37
|
+
status?: string;
|
|
38
|
+
errorReason?: string;
|
|
39
|
+
syncConfig?: ConnectionSyncConfig;
|
|
40
|
+
}
|
|
41
|
+
export interface ConnectionSyncConfig {
|
|
42
|
+
listEventFromCalendars?: ConnectionSyncConfigListEventFromCalendars;
|
|
43
|
+
syncToCalendar?: ConnectionSyncConfigSyncToCalendar;
|
|
44
|
+
}
|
|
45
|
+
export interface ConnectionSyncConfigListEventFromCalendars {
|
|
46
|
+
primaryCalendar?: PrimaryCalendar;
|
|
47
|
+
calendars?: Calendars;
|
|
48
|
+
enabled?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface ConnectionSyncConfigSyncToCalendar {
|
|
51
|
+
primaryCalendar?: PrimaryCalendar;
|
|
52
|
+
dedicatedCalendar?: DedicatedCalendar;
|
|
53
|
+
enabled?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface CursorPagingMetadata {
|
|
56
|
+
count?: number;
|
|
57
|
+
cursors?: Cursors;
|
|
58
|
+
hasNext?: boolean;
|
|
59
|
+
}
|
|
60
|
+
export interface Cursors {
|
|
61
|
+
next?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface DedicatedCalendar {
|
|
64
|
+
}
|
|
65
|
+
export interface DisconnectRequest {
|
|
66
|
+
connectionId?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface DisconnectResponse {
|
|
69
|
+
connection?: Connection;
|
|
70
|
+
}
|
|
71
|
+
export interface Event {
|
|
72
|
+
scheduleId?: string;
|
|
73
|
+
calendarType?: string;
|
|
74
|
+
calendarName?: string;
|
|
75
|
+
title?: string;
|
|
76
|
+
start?: string;
|
|
77
|
+
end?: string;
|
|
78
|
+
allDay?: boolean;
|
|
79
|
+
scheduleOwnerId?: string;
|
|
80
|
+
scheduleOwnerName?: string;
|
|
81
|
+
}
|
|
82
|
+
export interface GetConnectionRequest {
|
|
83
|
+
connectionId?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface GetConnectionResponse {
|
|
86
|
+
connection?: Connection;
|
|
87
|
+
}
|
|
88
|
+
export interface ListCalendarsRequest {
|
|
89
|
+
connectionId?: string;
|
|
90
|
+
}
|
|
91
|
+
export interface ListCalendarsResponse {
|
|
92
|
+
calendars?: Calendar[];
|
|
93
|
+
}
|
|
94
|
+
export interface ListConnectionsRequest {
|
|
95
|
+
scheduleIds?: string[];
|
|
96
|
+
partialFailure?: boolean;
|
|
97
|
+
}
|
|
98
|
+
export interface ListConnectionsResponse {
|
|
99
|
+
connections?: Connection[];
|
|
100
|
+
failedProviderIds?: string[];
|
|
101
|
+
}
|
|
102
|
+
export interface ListEventsRequest {
|
|
103
|
+
from?: string;
|
|
104
|
+
to?: string;
|
|
105
|
+
scheduleIds?: string[];
|
|
106
|
+
userIds?: string[];
|
|
107
|
+
allDay?: boolean;
|
|
108
|
+
fieldsets?: string[];
|
|
109
|
+
cursorPaging?: CursorPaging;
|
|
110
|
+
partialFailure?: boolean;
|
|
111
|
+
}
|
|
112
|
+
export interface ListEventsResponse {
|
|
113
|
+
events?: Event[];
|
|
114
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
115
|
+
failedProviderIds?: string[];
|
|
116
|
+
}
|
|
117
|
+
export interface ListProvidersResponse {
|
|
118
|
+
providers?: Provider[];
|
|
119
|
+
}
|
|
120
|
+
export interface PrimaryCalendar {
|
|
121
|
+
}
|
|
122
|
+
export interface Provider {
|
|
123
|
+
id?: string;
|
|
124
|
+
name?: string;
|
|
125
|
+
calendarType?: string;
|
|
126
|
+
features?: ProviderFeatures;
|
|
127
|
+
}
|
|
128
|
+
export interface ProviderFeatures {
|
|
129
|
+
connectMethods?: string[];
|
|
130
|
+
updateSyncConfig?: boolean;
|
|
131
|
+
listEventFromCalendars?: string;
|
|
132
|
+
syncToCalendar?: string;
|
|
133
|
+
}
|
|
134
|
+
export interface UpdateSyncConfigRequest {
|
|
135
|
+
connectionId?: string;
|
|
136
|
+
syncConfig?: ConnectionSyncConfig;
|
|
137
|
+
}
|
|
138
|
+
export interface UpdateSyncConfigResponse {
|
|
139
|
+
connection?: Connection;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Connects a [Wix schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction) to an external calendar account using credentials.
|
|
143
|
+
*
|
|
144
|
+
* @permissionId CALENDAR.MANAGE_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
145
|
+
* @permissionId CALENDAR.MANAGE_ALL_EXTERNAL_CALENDAR_CONNECTIONS
|
|
146
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ConnectByCredentials
|
|
147
|
+
*
|
|
148
|
+
* POST /bookings/v2/external-calendars/connections:connectByCredentials
|
|
149
|
+
*/
|
|
150
|
+
export declare function connectByCredentials(req?: ConnectByCredentialsRequest, opts?: WixCallOptions): Promise<ConnectByCredentialsResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* Connects a [Wix schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction) to an external calendar account following [OAuth authorization protocol](https://oauth.net/2/).
|
|
153
|
+
*
|
|
154
|
+
* @permissionId CALENDAR.MANAGE_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
155
|
+
* @permissionId CALENDAR.MANAGE_ALL_EXTERNAL_CALENDAR_CONNECTIONS
|
|
156
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ConnectByOAuth
|
|
157
|
+
*
|
|
158
|
+
* POST /bookings/v2/external-calendars/connections:connectByOAuth
|
|
159
|
+
*/
|
|
160
|
+
export declare function connectByOAuth(req?: ConnectByOAuthRequest, opts?: WixCallOptions): Promise<ConnectByOAuthResponse>;
|
|
161
|
+
/**
|
|
162
|
+
* Disconnects a Wix schedule from an external calendar and deletes all Wix calendar [events](https://dev.wix.com/docs/api-reference/business-management/calendar/events-v3/introduction) from the external calendar.
|
|
163
|
+
*
|
|
164
|
+
* @permissionId CALENDAR.MANAGE_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
165
|
+
* @permissionId CALENDAR.MANAGE_ALL_EXTERNAL_CALENDAR_CONNECTIONS
|
|
166
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.Disconnect
|
|
167
|
+
*
|
|
168
|
+
* POST /bookings/v2/external-calendars/connections/{connectionId}/disconnect
|
|
169
|
+
*/
|
|
170
|
+
export declare function disconnect(req: DisconnectRequest, opts?: WixCallOptions): Promise<DisconnectResponse>;
|
|
171
|
+
/**
|
|
172
|
+
* Retrieves an external calendar connection by ID.
|
|
173
|
+
*
|
|
174
|
+
* @permissionId CALENDAR.READ_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
175
|
+
* @permissionId CALENDAR.READ_ALL_EXTERNAL_CALENDAR_CONNECTIONS
|
|
176
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.GetConnection
|
|
177
|
+
*
|
|
178
|
+
* GET /bookings/v2/external-calendars/connections/{connectionId}
|
|
179
|
+
*/
|
|
180
|
+
export declare function getConnection(req: GetConnectionRequest, opts?: WixCallOptions): Promise<GetConnectionResponse>;
|
|
181
|
+
/**
|
|
182
|
+
* Retrieves details about the external calendar accounts associated with the specified connection.
|
|
183
|
+
*
|
|
184
|
+
* @permissionId CALENDAR.READ_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
185
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ListCalendars
|
|
186
|
+
*
|
|
187
|
+
* GET /bookings/v2/external-calendars/connections/{connectionId}/calendars
|
|
188
|
+
*/
|
|
189
|
+
export declare function listCalendars(req: ListCalendarsRequest, opts?: WixCallOptions): Promise<ListCalendarsResponse>;
|
|
190
|
+
/**
|
|
191
|
+
* Retrieves a list of external calendar connections.
|
|
192
|
+
*
|
|
193
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
194
|
+
* @permissionId CALENDAR.READ_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
195
|
+
* @permissionId CALENDAR.READ_ALL_EXTERNAL_CALENDAR_CONNECTIONS
|
|
196
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ListConnections
|
|
197
|
+
*
|
|
198
|
+
* GET /bookings/v2/external-calendars/connections
|
|
199
|
+
*/
|
|
200
|
+
export declare function listConnections(req?: ListConnectionsRequest, opts?: WixCallOptions): Promise<ListConnectionsResponse>;
|
|
201
|
+
/**
|
|
202
|
+
* Retrieves a list of events from all external calendar accounts, based on the provided filtering and paging.
|
|
203
|
+
*
|
|
204
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
205
|
+
* @permissionId CALENDAR.READ_EXTERNAL_CALENDAR_EVENTS
|
|
206
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ListEvents
|
|
207
|
+
*
|
|
208
|
+
* GET /bookings/v2/external-calendars/events
|
|
209
|
+
*/
|
|
210
|
+
export declare function listEvents(req?: ListEventsRequest, opts?: WixCallOptions): Promise<ListEventsResponse>;
|
|
211
|
+
/**
|
|
212
|
+
* Retrieves a list of external calendar providers supported on the Wix site.
|
|
213
|
+
*
|
|
214
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
215
|
+
* @permissionId CALENDAR.LIST_EXTERNAL_CALENDAR_PROVIDERS
|
|
216
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.ListProviders
|
|
217
|
+
*
|
|
218
|
+
* GET /bookings/v2/external-calendars/providers
|
|
219
|
+
*/
|
|
220
|
+
export declare function listProviders(req?: ListProvidersRequest, opts?: WixCallOptions): Promise<ListProvidersResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* Updates the import and export settings for an external calendar connection's events.
|
|
223
|
+
*
|
|
224
|
+
* @permissionId CALENDAR.MANAGE_OWN_EXTERNAL_CALENDAR_CONNECTIONS
|
|
225
|
+
* @fqn com.wix.bookings.externalcalendar.api.v2.ExternalCalendarService.UpdateSyncConfig
|
|
226
|
+
*
|
|
227
|
+
* PATCH /bookings/v2/external-calendars/connections/{connectionId}/sync-config
|
|
228
|
+
*/
|
|
229
|
+
export declare function updateSyncConfig(req: UpdateSyncConfigRequest, opts?: WixCallOptions): Promise<UpdateSyncConfigResponse>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from "../../wix-sdk/bookings-v2/src/index.js";
|
|
2
|
+
export * as addOns from "./addOns.generated.js";
|
|
3
|
+
export * as attendance from "./attendance.generated.js";
|
|
4
|
+
export * as attributeDefinition from "./attributeDefinition.generated.js";
|
|
5
|
+
export * as attributeValue from "./attributeValue.generated.js";
|
|
6
|
+
export * as availabilityCalendar from "./availabilityCalendar.generated.js";
|
|
7
|
+
export * as availabilityTimeSlots from "./availabilityTimeSlots.generated.js";
|
|
8
|
+
export * as bookingFees from "./bookingFees.generated.js";
|
|
9
|
+
export * as bookingPolicies from "./bookingPolicies.generated.js";
|
|
10
|
+
export * as bookingPolicySnapshots from "./bookingPolicySnapshots.generated.js";
|
|
11
|
+
export * as bookings from "./bookings.generated.js";
|
|
12
|
+
export * as bookingsSettings from "./bookingsSettings.generated.js";
|
|
13
|
+
export * as catalogSearch from "./catalogSearch.generated.js";
|
|
14
|
+
export * as categories from "./categories.generated.js";
|
|
15
|
+
export * as categoriesV2 from "./categoriesV2.generated.js";
|
|
16
|
+
export * as eventTimeSlots from "./eventTimeSlots.generated.js";
|
|
17
|
+
export * as extendedBookings from "./extendedBookings.generated.js";
|
|
18
|
+
export * as externalCalendars from "./externalCalendars.generated.js";
|
|
19
|
+
export * as multiServiceAvailabilityTimeSlots from "./multiServiceAvailabilityTimeSlots.generated.js";
|
|
20
|
+
export * as pricing from "./pricing.generated.js";
|
|
21
|
+
export * as relatedProducts from "./relatedProducts.generated.js";
|
|
22
|
+
export * as resourceTypes from "./resourceTypes.generated.js";
|
|
23
|
+
export * as resources from "./resources.generated.js";
|
|
24
|
+
export * as serviceOptionsAndVariants from "./serviceOptionsAndVariants.generated.js";
|
|
25
|
+
export * as services from "./services.generated.js";
|
|
26
|
+
export * as staffMemberSettings from "./staffMemberSettings.generated.js";
|
|
27
|
+
export * as staffMembers from "./staffMembers.generated.js";
|
|
28
|
+
export * as timeSlotsConfiguration from "./timeSlotsConfiguration.generated.js";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AvailableResources, BookingPolicyViolations, CursorPaging, Cursors, EventInfo, NestedTimeSlot, NonBookableReasons } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AvailableResources, BookingPolicyViolations, CursorPaging, Cursors, EventInfo, NestedTimeSlot, NonBookableReasons, Resource, WaitingList } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface CursorPagingMetadata {
|
|
6
|
+
cursors?: Cursors;
|
|
7
|
+
hasNext?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface GetMultiServiceAvailabilityTimeSlotRequest {
|
|
10
|
+
services?: Service[];
|
|
11
|
+
localStartDate?: string;
|
|
12
|
+
localEndDate?: string;
|
|
13
|
+
timeZone?: string;
|
|
14
|
+
location?: Location;
|
|
15
|
+
}
|
|
16
|
+
export interface GetMultiServiceAvailabilityTimeSlotResponse {
|
|
17
|
+
timeSlot?: TimeSlot;
|
|
18
|
+
timeZone?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface ListMultiServiceAvailabilityTimeSlotsRequest {
|
|
21
|
+
services?: Service[];
|
|
22
|
+
fromLocalDate?: string;
|
|
23
|
+
toLocalDate?: string;
|
|
24
|
+
timeZone?: string;
|
|
25
|
+
location?: Location;
|
|
26
|
+
bookable?: boolean;
|
|
27
|
+
bookingPolicyViolations?: BookingPolicyViolations;
|
|
28
|
+
timeSlotsPerDay?: number;
|
|
29
|
+
cursorPaging?: CursorPaging;
|
|
30
|
+
}
|
|
31
|
+
export interface ListMultiServiceAvailabilityTimeSlotsResponse {
|
|
32
|
+
timeSlots?: TimeSlot[];
|
|
33
|
+
timeZone?: string;
|
|
34
|
+
cursorPagingMetadata?: CursorPagingMetadata;
|
|
35
|
+
}
|
|
36
|
+
export interface Location {
|
|
37
|
+
id?: string;
|
|
38
|
+
name?: string;
|
|
39
|
+
formattedAddress?: string;
|
|
40
|
+
locationType?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface ResourceType {
|
|
43
|
+
resourceTypeId?: string;
|
|
44
|
+
resourceIds?: string[];
|
|
45
|
+
}
|
|
46
|
+
export interface Service {
|
|
47
|
+
serviceId?: string;
|
|
48
|
+
includeResourceTypeIds?: string[];
|
|
49
|
+
customerChoices?: V2CustomerChoices;
|
|
50
|
+
resourceTypes?: ResourceType[];
|
|
51
|
+
}
|
|
52
|
+
export interface TimeSlot {
|
|
53
|
+
serviceId?: string;
|
|
54
|
+
localStartDate?: string;
|
|
55
|
+
localEndDate?: string;
|
|
56
|
+
bookable?: boolean;
|
|
57
|
+
location?: Location;
|
|
58
|
+
eventInfo?: EventInfo;
|
|
59
|
+
totalCapacity?: number;
|
|
60
|
+
remainingCapacity?: number;
|
|
61
|
+
bookableCapacity?: number;
|
|
62
|
+
bookingPolicyViolations?: BookingPolicyViolations;
|
|
63
|
+
availableResources?: AvailableResources[];
|
|
64
|
+
nestedTimeSlots?: NestedTimeSlot[];
|
|
65
|
+
nonBookableReasons?: NonBookableReasons;
|
|
66
|
+
scheduleId?: string;
|
|
67
|
+
allDay?: boolean;
|
|
68
|
+
}
|
|
69
|
+
export interface V2CustomerChoices {
|
|
70
|
+
durationInMinutes?: number;
|
|
71
|
+
addOnIds?: string[];
|
|
72
|
+
durationChoiceId?: string;
|
|
73
|
+
requestedGender?: V2RequestedGenderValue;
|
|
74
|
+
}
|
|
75
|
+
export interface V2RequestedGenderValue {
|
|
76
|
+
gender?: string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Retrieves a multi-service time slot that matches the specified filters.
|
|
80
|
+
*
|
|
81
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
82
|
+
* @permissionId BOOKINGS.AVAILABILITY_READ_MULTI_SERVICE_TIME_SLOTS
|
|
83
|
+
* @fqn com.wixpress.bookings.availability.v2.MultiServiceAvailabilityTimeSlots.GetMultiServiceAvailabilityTimeSlot
|
|
84
|
+
*
|
|
85
|
+
* POST /_api/service-availability/v2/multi-service-time-slots/get
|
|
86
|
+
*/
|
|
87
|
+
export declare function getMultiServiceAvailabilityTimeSlot(req?: GetMultiServiceAvailabilityTimeSlotRequest, opts?: WixCallOptions): Promise<GetMultiServiceAvailabilityTimeSlotResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* Retrieves a list of multi-service time slots that match the provided filters.
|
|
90
|
+
*
|
|
91
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
92
|
+
* @permissionId BOOKINGS.AVAILABILITY_READ_MULTI_SERVICE_TIME_SLOTS
|
|
93
|
+
* @fqn com.wixpress.bookings.availability.v2.MultiServiceAvailabilityTimeSlots.ListMultiServiceAvailabilityTimeSlots
|
|
94
|
+
*
|
|
95
|
+
* POST /_api/service-availability/v2/multi-service-time-slots
|
|
96
|
+
*/
|
|
97
|
+
export declare function listMultiServiceAvailabilityTimeSlots(req?: ListMultiServiceAvailabilityTimeSlotsRequest, opts?: WixCallOptions): Promise<ListMultiServiceAvailabilityTimeSlotsResponse>;
|