@wix/himalaya-cli 0.2004.0 → 0.2005.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +33 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/extensions.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/options.d.ts +4 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/stores-v1/src/product-details.d.ts +58 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/_shared/types.generated.d.ts +2336 -26
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/addOns.generated.d.ts +169 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attendance.generated.d.ts +150 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeDefinition.generated.d.ts +124 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/attributeValue.generated.d.ts +107 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityCalendar.generated.d.ts +66 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/availabilityTimeSlots.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingFees.generated.d.ts +82 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicies.generated.d.ts +174 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingPolicySnapshots.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookings.generated.d.ts +732 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/bookingsSettings.generated.d.ts +54 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/catalogSearch.generated.d.ts +158 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categories.generated.d.ts +74 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/categoriesV2.generated.d.ts +122 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/eventTimeSlots.generated.d.ts +76 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/extendedBookings.generated.d.ts +239 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/externalCalendars.generated.d.ts +229 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/index.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/multiServiceAvailabilityTimeSlots.generated.d.ts +97 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/pricing.generated.d.ts +138 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/relatedProducts.generated.d.ts +78 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resourceTypes.generated.d.ts +109 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/resources.generated.d.ts +210 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/serviceOptionsAndVariants.generated.d.ts +194 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/services.generated.d.ts +642 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMemberSettings.generated.d.ts +46 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/staffMembers.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/bookings/timeSlotsConfiguration.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/conferencing.generated.d.ts +200 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/eventViews.generated.d.ts +20 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/events.generated.d.ts +355 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/index.generated.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/participations.generated.d.ts +98 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/scheduleTimeFrames.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/calendar/schedules.generated.d.ts +123 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/categories.generated.d.ts +15 -7
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/comments.generated.d.ts +32 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/contentRevisions.generated.d.ts +27 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/comments/widgets.generated.d.ts +20 -13
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/abandonedCheckouts.generated.d.ts +215 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockNotifications.generated.d.ts +148 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/backInStockSettings.generated.d.ts +56 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cart.generated.d.ts +380 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/cartV2.generated.d.ts +529 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkout.generated.d.ts +461 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutContent.generated.d.ts +27 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutSettings.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/checkoutTemplates.generated.d.ts +189 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/contactTaxDetails.generated.d.ts +185 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currencies.generated.d.ts +62 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCart.generated.d.ts +326 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/currentCartV2.generated.d.ts +442 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliveryProfile.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/deliverySolutions.generated.d.ts +110 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountRules.generated.d.ts +186 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/discountsCustomTrigger.generated.d.ts +22 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftOrders.generated.d.ts +877 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/draftSubscriptionContracts.generated.d.ts +301 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ecommerceSettings.generated.d.ts +24 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/giftVouchers.generated.d.ts +73 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/index.generated.d.ts +45 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/localDeliveryOptions.generated.d.ts +99 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/manualTaxMappings.generated.d.ts +207 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderBilling.generated.d.ts +399 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderFulfillments.generated.d.ts +137 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderInvoices.generated.d.ts +80 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderPaymentRequests.generated.d.ts +171 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orderTransactions.generated.d.ts +167 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/orders.generated.d.ts +695 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/ordersSettings.generated.d.ts +39 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/recommendations.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippingOptions.generated.d.ts +144 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/shippoConfigurations.generated.d.ts +178 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/subscriptionContracts.generated.d.ts +209 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxCalculation.generated.d.ts +115 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxExemptGroups.generated.d.ts +218 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxGroups.generated.d.ts +140 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxRegions.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/taxSettings.generated.d.ts +38 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tipSettings.generated.d.ts +116 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tippableStaff.generated.d.ts +28 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/tips.generated.d.ts +221 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/totalsCalculator.generated.d.ts +141 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/ecom/wishlists.generated.d.ts +57 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/index.generated.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/orders.generated.d.ts +368 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/planBenefits.generated.d.ts +94 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plans.generated.d.ts +235 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/plansV3.generated.d.ts +266 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingPlansSettings.generated.d.ts +48 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/pricing-plans/pricingVariantCategories.generated.d.ts +92 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/brandsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogImportsV3.generated.d.ts +382 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/catalogVersioning.generated.d.ts +17 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/collections.generated.d.ts +52 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/customizationsV3.generated.d.ts +292 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/index.generated.d.ts +18 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/infoSectionsV3.generated.d.ts +306 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventory.generated.d.ts +126 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/inventoryItemsV3.generated.d.ts +389 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productGroupsV3.generated.d.ts +282 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/products.generated.d.ts +678 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/productsV3.generated.d.ts +1069 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/promotionsV3.generated.d.ts +232 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/readOnlyVariantsV3.generated.d.ts +93 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/ribbonsV3.generated.d.ts +211 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/storesLocationsV3.generated.d.ts +60 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/subscriptionOptions.generated.d.ts +223 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk-auto/stores/wishlist.generated.d.ts +37 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +1036 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-calendar.mjs +286 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +23 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +1663 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-pricing-plans.mjs +336 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +1029 -11
- package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +8 -4
- package/dist/cli.mjs +8 -8
- package/guides/importable-sdks.md +1 -0
- package/guides/sdk-reference.json +15672 -8927
- package/guides/wix-api-usage.md +28 -0
- package/package.json +2 -2
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { ExtendedFields } from "../_shared/types.generated.js";
|
|
3
|
+
export type { ExtendedFields } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface BookingsSettings {
|
|
6
|
+
revision?: string;
|
|
7
|
+
createdDate?: string;
|
|
8
|
+
updatedDate?: string;
|
|
9
|
+
cartCheckout?: CartCheckout;
|
|
10
|
+
multiServiceAppointments?: MultiServiceAppointments;
|
|
11
|
+
displayTimeZone?: DisplayTimeZone;
|
|
12
|
+
extendedFields?: ExtendedFields;
|
|
13
|
+
}
|
|
14
|
+
export interface CartCheckout {
|
|
15
|
+
enabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface DisplayTimeZone {
|
|
18
|
+
customerCanChange?: boolean;
|
|
19
|
+
basedOn?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface GetBookingsSettingsRequest {
|
|
22
|
+
}
|
|
23
|
+
export interface GetBookingsSettingsResponse {
|
|
24
|
+
bookingsSettings?: BookingsSettings;
|
|
25
|
+
}
|
|
26
|
+
export interface MultiServiceAppointments {
|
|
27
|
+
enabled?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface UpdateBookingsSettingsRequest {
|
|
30
|
+
bookingsSettings?: BookingsSettings;
|
|
31
|
+
}
|
|
32
|
+
export interface UpdateBookingsSettingsResponse {
|
|
33
|
+
bookingsSettings?: BookingsSettings;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Retrieves the site's bookings settings.
|
|
37
|
+
*
|
|
38
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
39
|
+
* @permissionId BOOKINGS.SETTINGS_READ
|
|
40
|
+
* @fqn wix.bookings.settings.v2.BookingsSettingsService.GetBookingsSettings
|
|
41
|
+
*
|
|
42
|
+
* GET /_api/bookings-settings/v2/settings
|
|
43
|
+
*/
|
|
44
|
+
export declare function getBookingsSettings(req?: GetBookingsSettingsRequest, opts?: WixCallOptions): Promise<GetBookingsSettingsResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Updates the site's bookings settings.
|
|
47
|
+
*
|
|
48
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
49
|
+
* @permissionId BOOKINGS.SETTINGS_UPDATE
|
|
50
|
+
* @fqn wix.bookings.settings.v2.BookingsSettingsService.UpdateBookingsSettings
|
|
51
|
+
*
|
|
52
|
+
* PATCH /_api/bookings-settings/v2/bookings-settings
|
|
53
|
+
*/
|
|
54
|
+
export declare function updateBookingsSettings(req?: UpdateBookingsSettingsRequest, opts?: WixCallOptions): Promise<UpdateBookingsSettingsResponse>;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddOnDetails, AddOnGroup, BookingPolicy, Conferencing, CursorPagingMetadata, CursorQuery, CustomPayment, DiscountInfo, DurationRange, ExtendedFields, FixedPayment, Form, MediaItem, OnlineBooking, PaymentOptions, SeoSchema, ServiceResource, Slug, StaffMemberDetails, SubscriptionPayment, URLs, VariedPayment } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddOnDetails, AddOnGroup, BookAfterStartPolicy, BookingPolicy, CancellationFeePolicy, CancellationPolicy, CancellationWindow, Conferencing, CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, CustomPayment, DailyConfig, DiscountInfo, DurationRange, ExtendedFields, FixedPayment, Form, HourlyConfig, Image, Keyword, LimitEarlyBookingPolicy, LimitLateBookingPolicy, MediaItem, Money, OnlineBooking, PageUrlV2, ParticipantsPolicy, PaymentOptions, PolicyDescription, ReschedulePolicy, ResourceIds, ResourceType, ResourcesPolicy, SaveCreditCardPolicy, SeoSchema, ServiceResource, Settings, Slug, Sorting, StaffMediaItem, StaffMember, StaffMemberDetails, SubscriptionPayment, Tag, URLs, VariedPayment, WaitlistPolicy } 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
|
+
formattedAddress?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface Attribute {
|
|
15
|
+
enumValue?: string;
|
|
16
|
+
numberRangeValue?: NumberRange;
|
|
17
|
+
boolValue?: boolean;
|
|
18
|
+
numberValues?: NumberValues;
|
|
19
|
+
attributeId?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface AvailabilityConstraints {
|
|
22
|
+
durations?: Duration[];
|
|
23
|
+
sessionDurations?: number[];
|
|
24
|
+
timeBetweenSessions?: number;
|
|
25
|
+
durationRange?: DurationRange;
|
|
26
|
+
}
|
|
27
|
+
export interface BusinessLocationOptions {
|
|
28
|
+
id?: string;
|
|
29
|
+
name?: string;
|
|
30
|
+
default?: boolean;
|
|
31
|
+
address?: Address;
|
|
32
|
+
email?: string;
|
|
33
|
+
phone?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface Category {
|
|
36
|
+
id?: string;
|
|
37
|
+
name?: string;
|
|
38
|
+
sortOrder?: number;
|
|
39
|
+
}
|
|
40
|
+
export interface CustomLocationOptions {
|
|
41
|
+
id?: string;
|
|
42
|
+
address?: Address;
|
|
43
|
+
}
|
|
44
|
+
export interface Duration {
|
|
45
|
+
minutes?: number;
|
|
46
|
+
}
|
|
47
|
+
export interface Location {
|
|
48
|
+
business?: BusinessLocationOptions;
|
|
49
|
+
custom?: CustomLocationOptions;
|
|
50
|
+
id?: string;
|
|
51
|
+
type?: string;
|
|
52
|
+
calculatedAddress?: Address;
|
|
53
|
+
}
|
|
54
|
+
export interface Media {
|
|
55
|
+
items?: MediaItem[];
|
|
56
|
+
mainMedia?: MediaItem;
|
|
57
|
+
coverMedia?: MediaItem;
|
|
58
|
+
}
|
|
59
|
+
export interface NumberRange {
|
|
60
|
+
min?: number;
|
|
61
|
+
max?: number;
|
|
62
|
+
}
|
|
63
|
+
export interface NumberValues {
|
|
64
|
+
values?: number[];
|
|
65
|
+
}
|
|
66
|
+
export interface Payment {
|
|
67
|
+
fixed?: FixedPayment;
|
|
68
|
+
custom?: CustomPayment;
|
|
69
|
+
varied?: VariedPayment;
|
|
70
|
+
subscription?: SubscriptionPayment;
|
|
71
|
+
rateType?: string;
|
|
72
|
+
options?: PaymentOptions;
|
|
73
|
+
pricingPlanIds?: string[];
|
|
74
|
+
addOnOption?: string;
|
|
75
|
+
discountInfo?: DiscountInfo;
|
|
76
|
+
}
|
|
77
|
+
export interface QueryServicesByFiltersRequest {
|
|
78
|
+
query?: CursorQuery;
|
|
79
|
+
serviceFilters?: ServiceFilters;
|
|
80
|
+
}
|
|
81
|
+
export interface QueryServicesByFiltersResponse {
|
|
82
|
+
results?: ServiceWithAvailability[];
|
|
83
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
84
|
+
}
|
|
85
|
+
export interface Schedule {
|
|
86
|
+
id?: string;
|
|
87
|
+
firstSessionStart?: string;
|
|
88
|
+
lastSessionEnd?: string;
|
|
89
|
+
availabilityConstraints?: AvailabilityConstraints;
|
|
90
|
+
}
|
|
91
|
+
export interface Service {
|
|
92
|
+
id?: string;
|
|
93
|
+
appId?: string;
|
|
94
|
+
createdByAppId?: string;
|
|
95
|
+
type?: string;
|
|
96
|
+
sortOrder?: number;
|
|
97
|
+
name?: string;
|
|
98
|
+
description?: string;
|
|
99
|
+
tagLine?: string;
|
|
100
|
+
defaultCapacity?: number;
|
|
101
|
+
media?: Media;
|
|
102
|
+
hidden?: boolean;
|
|
103
|
+
category?: Category;
|
|
104
|
+
form?: Form;
|
|
105
|
+
payment?: Payment;
|
|
106
|
+
onlineBooking?: OnlineBooking;
|
|
107
|
+
conferencing?: Conferencing;
|
|
108
|
+
locations?: Location[];
|
|
109
|
+
bookingPolicy?: BookingPolicy;
|
|
110
|
+
schedule?: Schedule;
|
|
111
|
+
staffMemberIds?: string[];
|
|
112
|
+
staffMemberDetails?: StaffMemberDetails;
|
|
113
|
+
serviceResources?: ServiceResource[];
|
|
114
|
+
supportedSlugs?: Slug[];
|
|
115
|
+
mainSlug?: Slug;
|
|
116
|
+
urls?: URLs;
|
|
117
|
+
extendedFields?: ExtendedFields;
|
|
118
|
+
seoData?: SeoSchema;
|
|
119
|
+
createdDate?: string;
|
|
120
|
+
updatedDate?: string;
|
|
121
|
+
revision?: string;
|
|
122
|
+
addOnGroups?: AddOnGroup[];
|
|
123
|
+
addOnDetails?: AddOnDetails[];
|
|
124
|
+
taxableAddress?: TaxableAddress;
|
|
125
|
+
primaryResourceType?: string;
|
|
126
|
+
}
|
|
127
|
+
export interface ServiceFilters {
|
|
128
|
+
localStartDate?: string;
|
|
129
|
+
localEndDate?: string;
|
|
130
|
+
timeZone?: string;
|
|
131
|
+
exactMatch?: boolean;
|
|
132
|
+
locationIds?: string[];
|
|
133
|
+
attributes?: Attribute[];
|
|
134
|
+
resourceTypes?: string[];
|
|
135
|
+
includeUnavailable?: boolean;
|
|
136
|
+
}
|
|
137
|
+
export interface ServiceWithAvailability {
|
|
138
|
+
service?: Service;
|
|
139
|
+
available?: boolean;
|
|
140
|
+
}
|
|
141
|
+
export interface StreetAddress {
|
|
142
|
+
number?: string;
|
|
143
|
+
name?: string;
|
|
144
|
+
apt?: string;
|
|
145
|
+
}
|
|
146
|
+
export interface TaxableAddress {
|
|
147
|
+
taxableAddressType?: string;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Retrieves services from the catalog that match the given filters, each enriched with availability data.
|
|
151
|
+
*
|
|
152
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
153
|
+
* @permissionId bookings:catalog_search:v1:catalog_search:query_services_by_filters
|
|
154
|
+
* @fqn wix.bookings.catalog.search.v1.CatalogSearch.QueryServicesByFilters
|
|
155
|
+
*
|
|
156
|
+
* POST /bookings/catalog-search/v1/catalog/search/services/query
|
|
157
|
+
*/
|
|
158
|
+
export declare function queryServicesByFilters(req?: QueryServicesByFiltersRequest, opts?: WixCallOptions): Promise<QueryServicesByFiltersResponse>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
3
|
+
export interface Category {
|
|
4
|
+
id?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
status?: string;
|
|
7
|
+
sortOrder?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface CreateCategoryRequest {
|
|
10
|
+
category?: Category;
|
|
11
|
+
}
|
|
12
|
+
export interface CreateCategoryResponse {
|
|
13
|
+
category?: Category;
|
|
14
|
+
}
|
|
15
|
+
export interface DeleteCategoryRequest {
|
|
16
|
+
id?: string;
|
|
17
|
+
deleteServices?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface DeleteCategoryResponse {
|
|
20
|
+
id?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ListCategoryRequest {
|
|
23
|
+
categoryIds?: string[];
|
|
24
|
+
includeDeleted?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface ListCategoryResponse {
|
|
27
|
+
categories?: Category[];
|
|
28
|
+
}
|
|
29
|
+
export interface UpdateCategoryRequest {
|
|
30
|
+
category?: Category;
|
|
31
|
+
}
|
|
32
|
+
export interface UpdateCategoryResponse {
|
|
33
|
+
category?: Category;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Creates a category.
|
|
37
|
+
*
|
|
38
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
39
|
+
* @permissionId BOOKINGS.MANAGE_CATEGORIES
|
|
40
|
+
* @fqn com.wixpress.bookings.services.api.v1.CategoriesService.Create
|
|
41
|
+
*
|
|
42
|
+
* POST /bookings/v1/categories
|
|
43
|
+
*/
|
|
44
|
+
export declare function createCategory(req?: CreateCategoryRequest, opts?: WixCallOptions): Promise<CreateCategoryResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Deletes a category.
|
|
47
|
+
*
|
|
48
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
49
|
+
* @permissionId BOOKINGS.MANAGE_CATEGORIES
|
|
50
|
+
* @fqn com.wixpress.bookings.services.api.v1.CategoriesService._delete
|
|
51
|
+
*
|
|
52
|
+
* DELETE /bookings/v1/categories/{id}
|
|
53
|
+
*/
|
|
54
|
+
export declare function deleteCategory(req: DeleteCategoryRequest, opts?: WixCallOptions): Promise<DeleteCategoryResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* Retrieves all categories.
|
|
57
|
+
*
|
|
58
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
59
|
+
* @permissionId BOOKINGS.CATEGORIES_READ
|
|
60
|
+
* @fqn com.wixpress.bookings.services.api.v1.CategoriesService.List
|
|
61
|
+
*
|
|
62
|
+
* GET /bookings/v1/categories
|
|
63
|
+
*/
|
|
64
|
+
export declare function listCategories(req?: ListCategoryRequest, opts?: WixCallOptions): Promise<ListCategoryResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Updates a category.
|
|
67
|
+
*
|
|
68
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
69
|
+
* @permissionId BOOKINGS.MANAGE_CATEGORIES
|
|
70
|
+
* @fqn com.wixpress.bookings.services.api.v1.CategoriesService.Update
|
|
71
|
+
*
|
|
72
|
+
* PUT /bookings/v1/categories/{categoryId}
|
|
73
|
+
*/
|
|
74
|
+
export declare function updateCategory(req: UpdateCategoryRequest, opts?: WixCallOptions): Promise<UpdateCategoryResponse>;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { CursorPagingMetadata, CursorQuery, DeleteCategoryResponse, ExtendedFields, GetCategoryRequest } from "../_shared/types.generated.js";
|
|
3
|
+
export type { CursorPaging, CursorPagingMetadata, CursorQuery, Cursors, DeleteCategoryResponse, ExtendedFields, GetCategoryRequest, Sorting } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface Category {
|
|
6
|
+
id?: string;
|
|
7
|
+
revision?: string;
|
|
8
|
+
createdDate?: string;
|
|
9
|
+
updatedDate?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
sortOrder?: number;
|
|
12
|
+
extendedFields?: ExtendedFields;
|
|
13
|
+
}
|
|
14
|
+
export interface CountCategoriesRequest {
|
|
15
|
+
filter?: Record<string, unknown>;
|
|
16
|
+
}
|
|
17
|
+
export interface CountCategoriesResponse {
|
|
18
|
+
count?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface CreateCategoryRequest {
|
|
21
|
+
category?: Category;
|
|
22
|
+
}
|
|
23
|
+
export interface CreateCategoryResponse {
|
|
24
|
+
category?: Category;
|
|
25
|
+
}
|
|
26
|
+
export interface DeleteCategoryRequest {
|
|
27
|
+
categoryId?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface GetCategoryResponse {
|
|
30
|
+
category?: Category;
|
|
31
|
+
}
|
|
32
|
+
export interface MoveCategoryRequest {
|
|
33
|
+
categoryId?: string;
|
|
34
|
+
position?: string;
|
|
35
|
+
afterCategoryId?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface MoveCategoryResponse {
|
|
38
|
+
category?: Category;
|
|
39
|
+
}
|
|
40
|
+
export interface QueryCategoriesRequest {
|
|
41
|
+
query?: CursorQuery;
|
|
42
|
+
}
|
|
43
|
+
export interface QueryCategoriesResponse {
|
|
44
|
+
categories?: Category[];
|
|
45
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
46
|
+
}
|
|
47
|
+
export interface UpdateCategoryRequest {
|
|
48
|
+
category?: Category;
|
|
49
|
+
}
|
|
50
|
+
export interface UpdateCategoryResponse {
|
|
51
|
+
category?: Category;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Counts categories, given the specified filtering.
|
|
55
|
+
*
|
|
56
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
57
|
+
* @permissionId BOOKINGS.CATEGORY_READ
|
|
58
|
+
* @fqn wix.bookings.categories.v2.CategoriesService.CountCategories
|
|
59
|
+
*
|
|
60
|
+
* POST /bookings/v2/categories/count
|
|
61
|
+
*/
|
|
62
|
+
export declare function countCategories(req?: CountCategoriesRequest, opts?: WixCallOptions): Promise<CountCategoriesResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Creates a category.
|
|
65
|
+
*
|
|
66
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
67
|
+
* @permissionId BOOKINGS.CATEGORY_CREATE
|
|
68
|
+
* @fqn wix.bookings.categories.v2.CategoriesService.CreateCategory
|
|
69
|
+
*
|
|
70
|
+
* POST /bookings/v2/categories
|
|
71
|
+
*/
|
|
72
|
+
export declare function createCategory(req?: CreateCategoryRequest, opts?: WixCallOptions): Promise<CreateCategoryResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* Deletes a category.
|
|
75
|
+
*
|
|
76
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
77
|
+
* @permissionId BOOKINGS.CATEGORY_DELETE
|
|
78
|
+
* @fqn wix.bookings.categories.v2.CategoriesService.DeleteCategory
|
|
79
|
+
*
|
|
80
|
+
* DELETE /bookings/v2/categories/{categoryId}
|
|
81
|
+
*/
|
|
82
|
+
export declare function deleteCategory(req: DeleteCategoryRequest, opts?: WixCallOptions): Promise<DeleteCategoryResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Retrieves a category.
|
|
85
|
+
*
|
|
86
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
87
|
+
* @permissionId BOOKINGS.CATEGORY_READ
|
|
88
|
+
* @fqn wix.bookings.categories.v2.CategoriesService.GetCategory
|
|
89
|
+
*
|
|
90
|
+
* GET /bookings/v2/categories/{categoryId}
|
|
91
|
+
*/
|
|
92
|
+
export declare function getCategory(req: GetCategoryRequest, opts?: WixCallOptions): Promise<GetCategoryResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* Moves a category to the start, end, or immediately after a specified category by updating its `sortOrder` field.
|
|
95
|
+
*
|
|
96
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
97
|
+
* @permissionId BOOKINGS.CATEGORY_MOVE
|
|
98
|
+
* @fqn wix.bookings.categories.v2.CategoriesService.MoveCategory
|
|
99
|
+
*
|
|
100
|
+
* POST /bookings/v2/categories/set-position/{categoryId}
|
|
101
|
+
*/
|
|
102
|
+
export declare function moveCategory(req: MoveCategoryRequest, opts?: WixCallOptions): Promise<MoveCategoryResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* Creates a query to retrieve a list of `category` objects.
|
|
105
|
+
*
|
|
106
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
107
|
+
* @permissionId BOOKINGS.CATEGORY_READ
|
|
108
|
+
* @fqn wix.bookings.categories.v2.CategoriesService.QueryCategories
|
|
109
|
+
*
|
|
110
|
+
* POST /bookings/v2/categories/query
|
|
111
|
+
*/
|
|
112
|
+
export declare function queryCategories(req?: QueryCategoriesRequest, opts?: WixCallOptions): Promise<QueryCategoriesResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* Updates a category.
|
|
115
|
+
*
|
|
116
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
117
|
+
* @permissionId BOOKINGS.CATEGORY_UPDATE
|
|
118
|
+
* @fqn wix.bookings.categories.v2.CategoriesService.UpdateCategory
|
|
119
|
+
*
|
|
120
|
+
* PATCH /bookings/v2/categories/{categoryId}
|
|
121
|
+
*/
|
|
122
|
+
export declare function updateCategory(req: UpdateCategoryRequest, opts?: WixCallOptions): Promise<UpdateCategoryResponse>;
|
|
@@ -0,0 +1,76 @@
|
|
|
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 GetEventTimeSlotRequest {
|
|
10
|
+
eventId?: string;
|
|
11
|
+
timeZone?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetEventTimeSlotResponse {
|
|
14
|
+
timeSlot?: TimeSlot;
|
|
15
|
+
timeZone?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ListEventTimeSlotsRequest {
|
|
18
|
+
fromLocalDate?: string;
|
|
19
|
+
toLocalDate?: string;
|
|
20
|
+
timeZone?: string;
|
|
21
|
+
serviceIds?: string[];
|
|
22
|
+
includeNonBookable?: boolean;
|
|
23
|
+
minBookableCapacity?: number;
|
|
24
|
+
eventFilter?: Record<string, unknown>;
|
|
25
|
+
maxSlotsPerDay?: number;
|
|
26
|
+
cursorPaging?: CursorPaging;
|
|
27
|
+
bookingPolicyViolations?: BookingPolicyViolations;
|
|
28
|
+
}
|
|
29
|
+
export interface ListEventTimeSlotsResponse {
|
|
30
|
+
timeSlots?: TimeSlot[];
|
|
31
|
+
timeZone?: string;
|
|
32
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
33
|
+
}
|
|
34
|
+
export interface Location {
|
|
35
|
+
id?: string;
|
|
36
|
+
name?: string;
|
|
37
|
+
formattedAddress?: string;
|
|
38
|
+
locationType?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface TimeSlot {
|
|
41
|
+
serviceId?: string;
|
|
42
|
+
localStartDate?: string;
|
|
43
|
+
localEndDate?: string;
|
|
44
|
+
bookable?: boolean;
|
|
45
|
+
location?: Location;
|
|
46
|
+
eventInfo?: EventInfo;
|
|
47
|
+
totalCapacity?: number;
|
|
48
|
+
remainingCapacity?: number;
|
|
49
|
+
bookableCapacity?: number;
|
|
50
|
+
bookingPolicyViolations?: BookingPolicyViolations;
|
|
51
|
+
availableResources?: AvailableResources[];
|
|
52
|
+
nestedTimeSlots?: NestedTimeSlot[];
|
|
53
|
+
nonBookableReasons?: NonBookableReasons;
|
|
54
|
+
scheduleId?: string;
|
|
55
|
+
allDay?: boolean;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Retrieves detailed information about a specific class session time slot.
|
|
59
|
+
*
|
|
60
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
61
|
+
* @permissionId BOOKINGS.AVAILABILITY_READ
|
|
62
|
+
* @fqn com.wixpress.bookings.availability.v2.EventTimeSlots.GetEventTimeSlot
|
|
63
|
+
*
|
|
64
|
+
* GET /_api/service-availability/v2/time-slots/event/{eventId}
|
|
65
|
+
*/
|
|
66
|
+
export declare function getEventTimeSlot(req: GetEventTimeSlotRequest, opts?: WixCallOptions): Promise<GetEventTimeSlotResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Retrieves a list of class session time slots that match the provided filters.
|
|
69
|
+
*
|
|
70
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
71
|
+
* @permissionId BOOKINGS.AVAILABILITY_READ
|
|
72
|
+
* @fqn com.wixpress.bookings.availability.v2.EventTimeSlots.ListEventTimeSlots
|
|
73
|
+
*
|
|
74
|
+
* POST /_api/service-availability/v2/time-slots/event
|
|
75
|
+
*/
|
|
76
|
+
export declare function listEventTimeSlots(req?: ListEventTimeSlotsRequest, opts?: WixCallOptions): Promise<ListEventTimeSlotsResponse>;
|