@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,732 @@
|
|
|
1
|
+
import { type WixCallOptions } from "../_shared/runtime.generated.js";
|
|
2
|
+
import type { AddressLocation, BookedAddOn, BookedEntity, BulkActionMetadata, CommonIdentificationData, CustomFormField, DateTimeRule, ExtendedFields, ItemMetadata, MultiServiceBookingInfo, ParticipantNotification, ParticipantsRange, ResourceSelection, Subdivision, UpdateExtendedFieldsRequest } from "../_shared/types.generated.js";
|
|
3
|
+
export type { AddressLocation, ApplicationError, BookedAddOn, BookedEntity, BookedResource, BookedSchedule, BookedSlot, BulkActionMetadata, CommonIdentificationData, CustomFormField, DateTimeRule, ExtendedFields, ItemMetadata, Location, MultiServiceBookingInfo, ParticipantNotification, ParticipantsRange, RequestedGenderValue, ResourceSelection, Subdivision, UpdateExtendedFieldsRequest } from "../_shared/types.generated.js";
|
|
4
|
+
export type { WixCallOptions } from "../_shared/runtime.generated.js";
|
|
5
|
+
export interface AddBookingsToMultiServiceBookingRequest {
|
|
6
|
+
multiServiceBookingId?: string;
|
|
7
|
+
bookings?: BookingIdAndRevision[];
|
|
8
|
+
returnFullEntity?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface AddBookingsToMultiServiceBookingResponse {
|
|
11
|
+
bookings?: BookingResult[];
|
|
12
|
+
}
|
|
13
|
+
export interface Address {
|
|
14
|
+
streetAddress?: StreetAddress;
|
|
15
|
+
addressLine?: string;
|
|
16
|
+
country?: string;
|
|
17
|
+
subdivision?: string;
|
|
18
|
+
city?: string;
|
|
19
|
+
postalCode?: string;
|
|
20
|
+
addressLine2?: string;
|
|
21
|
+
formattedAddress?: string;
|
|
22
|
+
hint?: string;
|
|
23
|
+
geocode?: AddressLocation;
|
|
24
|
+
countryFullname?: string;
|
|
25
|
+
subdivisions?: Subdivision[];
|
|
26
|
+
}
|
|
27
|
+
export interface AllowedActions {
|
|
28
|
+
cancel?: boolean;
|
|
29
|
+
reschedule?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface Booking {
|
|
32
|
+
totalParticipants?: number;
|
|
33
|
+
participantsChoices?: ParticipantChoices;
|
|
34
|
+
id?: string;
|
|
35
|
+
bookedEntity?: BookedEntity;
|
|
36
|
+
contactDetails?: ContactDetails;
|
|
37
|
+
additionalFields?: CustomFormField[];
|
|
38
|
+
status?: string;
|
|
39
|
+
paymentStatus?: string;
|
|
40
|
+
selectedPaymentOption?: string;
|
|
41
|
+
createdDate?: string;
|
|
42
|
+
externalUserId?: string;
|
|
43
|
+
revision?: string;
|
|
44
|
+
createdBy?: CommonIdentificationData;
|
|
45
|
+
startDate?: string;
|
|
46
|
+
endDate?: string;
|
|
47
|
+
updatedDate?: string;
|
|
48
|
+
extendedFields?: ExtendedFields;
|
|
49
|
+
doubleBooked?: boolean;
|
|
50
|
+
multiServiceBookingInfo?: MultiServiceBookingInfo;
|
|
51
|
+
formSubmissionId?: string;
|
|
52
|
+
formId?: string;
|
|
53
|
+
bookedAddOns?: BookedAddOn[];
|
|
54
|
+
appId?: string;
|
|
55
|
+
createdByAppId?: string;
|
|
56
|
+
depositSelected?: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface BookingIdAndRevision {
|
|
59
|
+
bookingId?: string;
|
|
60
|
+
revision?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface BookingInfo {
|
|
63
|
+
bookingId?: string;
|
|
64
|
+
revision?: string;
|
|
65
|
+
paymentStatus?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface BookingPolicySettings {
|
|
68
|
+
maxParticipantsPerBooking?: number;
|
|
69
|
+
}
|
|
70
|
+
export interface BookingPolicyViolations {
|
|
71
|
+
tooEarlyToBook?: boolean;
|
|
72
|
+
tooLateToBook?: boolean;
|
|
73
|
+
bookOnlineDisabled?: boolean;
|
|
74
|
+
}
|
|
75
|
+
export interface BookingResult {
|
|
76
|
+
bookingId?: string;
|
|
77
|
+
booking?: Booking;
|
|
78
|
+
}
|
|
79
|
+
export interface BookingsCancelList {
|
|
80
|
+
bookingsInfo?: CancelBookingInfo[];
|
|
81
|
+
}
|
|
82
|
+
export interface BulkBookingResult {
|
|
83
|
+
itemMetadata?: ItemMetadata;
|
|
84
|
+
item?: Booking;
|
|
85
|
+
}
|
|
86
|
+
export interface BulkCalculateAllowedActionsRequest {
|
|
87
|
+
bookingIds?: string[];
|
|
88
|
+
}
|
|
89
|
+
export interface BulkCalculateAllowedActionsResponse {
|
|
90
|
+
results?: BulkCalculateAllowedActionsResult[];
|
|
91
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
92
|
+
}
|
|
93
|
+
export interface BulkCalculateAllowedActionsResult {
|
|
94
|
+
itemMetadata?: ItemMetadata;
|
|
95
|
+
item?: AllowedActions;
|
|
96
|
+
}
|
|
97
|
+
export interface BulkCancelBookingRequest {
|
|
98
|
+
bookings?: BookingsCancelList;
|
|
99
|
+
recurringCancellation?: RecurringCancelInfo;
|
|
100
|
+
returnFullEntity?: boolean;
|
|
101
|
+
}
|
|
102
|
+
export interface BulkCancelBookingResponse {
|
|
103
|
+
results?: BulkBookingResult[];
|
|
104
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
105
|
+
}
|
|
106
|
+
export interface BulkConfirmOrDeclineBookingRequest {
|
|
107
|
+
details?: BulkConfirmOrDeclineBookingRequestBookingDetails[];
|
|
108
|
+
returnEntity?: boolean;
|
|
109
|
+
}
|
|
110
|
+
export interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
111
|
+
bookingId?: string;
|
|
112
|
+
paymentStatus?: string;
|
|
113
|
+
}
|
|
114
|
+
export interface BulkConfirmOrDeclineBookingResponse {
|
|
115
|
+
results?: BulkBookingResult[];
|
|
116
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
117
|
+
}
|
|
118
|
+
export interface BulkCreateBookingRequest {
|
|
119
|
+
createBookingsInfo?: CreateBookingInfo[];
|
|
120
|
+
returnFullEntity?: boolean;
|
|
121
|
+
}
|
|
122
|
+
export interface BulkCreateBookingResponse {
|
|
123
|
+
results?: BulkBookingResult[];
|
|
124
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
125
|
+
}
|
|
126
|
+
export interface BulkGetMultiServiceBookingAllowedActionsRequest {
|
|
127
|
+
multiServiceBookingIds?: string[];
|
|
128
|
+
}
|
|
129
|
+
export interface BulkGetMultiServiceBookingAllowedActionsResponse {
|
|
130
|
+
results?: BulkCalculateAllowedActionsResult[];
|
|
131
|
+
bulkActionMetadata?: BulkActionMetadata;
|
|
132
|
+
}
|
|
133
|
+
export interface CancelBookingFlowControlSettings {
|
|
134
|
+
ignoreCancellationPolicy?: boolean;
|
|
135
|
+
withRefund?: boolean;
|
|
136
|
+
waiveCancellationFee?: boolean;
|
|
137
|
+
}
|
|
138
|
+
export interface CancelBookingInfo {
|
|
139
|
+
bookingId?: string;
|
|
140
|
+
revision?: string;
|
|
141
|
+
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
142
|
+
waiveCharges?: boolean;
|
|
143
|
+
participantNotification?: ParticipantNotification;
|
|
144
|
+
}
|
|
145
|
+
export interface CancelBookingRequest {
|
|
146
|
+
bookingId?: string;
|
|
147
|
+
participantNotification?: ParticipantNotification;
|
|
148
|
+
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
149
|
+
revision?: string;
|
|
150
|
+
waiveCharges?: boolean;
|
|
151
|
+
}
|
|
152
|
+
export interface CancelBookingResponse {
|
|
153
|
+
booking?: Booking;
|
|
154
|
+
}
|
|
155
|
+
export interface CancelMultiServiceBookingAnonymouslyRequest {
|
|
156
|
+
token?: string;
|
|
157
|
+
}
|
|
158
|
+
export interface CancelMultiServiceBookingAnonymouslyResponse {
|
|
159
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
160
|
+
}
|
|
161
|
+
export interface CancelMultiServiceBookingRequest {
|
|
162
|
+
multiServiceBookingId?: string;
|
|
163
|
+
participantNotification?: ParticipantNotification;
|
|
164
|
+
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
165
|
+
returnFullEntity?: boolean;
|
|
166
|
+
waiveCharges?: boolean;
|
|
167
|
+
}
|
|
168
|
+
export interface CancelMultiServiceBookingResponse {
|
|
169
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
170
|
+
}
|
|
171
|
+
export interface ConfirmBookingFlowControlSettings {
|
|
172
|
+
checkAvailabilityValidation?: boolean;
|
|
173
|
+
}
|
|
174
|
+
export interface ConfirmBookingRequest {
|
|
175
|
+
bookingId?: string;
|
|
176
|
+
revision?: string;
|
|
177
|
+
participantNotification?: ParticipantNotification;
|
|
178
|
+
sendSmsReminder?: boolean;
|
|
179
|
+
paymentStatus?: string;
|
|
180
|
+
doubleBooked?: boolean;
|
|
181
|
+
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
182
|
+
}
|
|
183
|
+
export interface ConfirmBookingResponse {
|
|
184
|
+
booking?: Booking;
|
|
185
|
+
}
|
|
186
|
+
export interface ConfirmMultiServiceBookingRequest {
|
|
187
|
+
multiServiceBookingId?: string;
|
|
188
|
+
confirmBookingsInfo?: BookingInfo[];
|
|
189
|
+
participantNotification?: ParticipantNotification;
|
|
190
|
+
sendSmsReminder?: boolean;
|
|
191
|
+
doubleBooked?: boolean;
|
|
192
|
+
returnFullEntity?: boolean;
|
|
193
|
+
flowControlSettings?: ConfirmBookingFlowControlSettings;
|
|
194
|
+
}
|
|
195
|
+
export interface ConfirmMultiServiceBookingResponse {
|
|
196
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
197
|
+
}
|
|
198
|
+
export interface ConfirmOrDeclineBookingRequest {
|
|
199
|
+
bookingId?: string;
|
|
200
|
+
paymentStatus?: string;
|
|
201
|
+
}
|
|
202
|
+
export interface ConfirmOrDeclineBookingResponse {
|
|
203
|
+
booking?: Booking;
|
|
204
|
+
}
|
|
205
|
+
export interface ContactDetails {
|
|
206
|
+
contactId?: string;
|
|
207
|
+
firstName?: string;
|
|
208
|
+
lastName?: string;
|
|
209
|
+
email?: string;
|
|
210
|
+
phone?: string;
|
|
211
|
+
fullAddress?: Address;
|
|
212
|
+
timeZone?: string;
|
|
213
|
+
countryCode?: string;
|
|
214
|
+
}
|
|
215
|
+
export interface CreateBookingFlowControlSettings {
|
|
216
|
+
skipAvailabilityValidation?: boolean;
|
|
217
|
+
skipBusinessConfirmation?: boolean;
|
|
218
|
+
skipSelectedPaymentOptionValidation?: boolean;
|
|
219
|
+
skipAddOnValidation?: boolean;
|
|
220
|
+
}
|
|
221
|
+
export interface CreateBookingInfo {
|
|
222
|
+
booking?: Booking;
|
|
223
|
+
participantNotification?: ParticipantNotification;
|
|
224
|
+
sendSmsReminder?: boolean;
|
|
225
|
+
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
226
|
+
formSubmission?: Record<string, unknown>;
|
|
227
|
+
}
|
|
228
|
+
export interface CreateBookingRequest {
|
|
229
|
+
booking?: Booking;
|
|
230
|
+
participantNotification?: ParticipantNotification;
|
|
231
|
+
sendSmsReminder?: boolean;
|
|
232
|
+
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
233
|
+
formSubmission?: Record<string, unknown>;
|
|
234
|
+
}
|
|
235
|
+
export interface CreateBookingResponse {
|
|
236
|
+
booking?: Booking;
|
|
237
|
+
}
|
|
238
|
+
export interface CreateMultiServiceBookingRequest {
|
|
239
|
+
bookings?: Booking[];
|
|
240
|
+
participantNotification?: ParticipantNotification;
|
|
241
|
+
sendSmsReminder?: boolean;
|
|
242
|
+
flowControlSettings?: CreateBookingFlowControlSettings;
|
|
243
|
+
returnFullEntity?: boolean;
|
|
244
|
+
multiServiceBookingType?: string;
|
|
245
|
+
formSubmission?: Record<string, unknown>;
|
|
246
|
+
}
|
|
247
|
+
export interface CreateMultiServiceBookingResponse {
|
|
248
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
249
|
+
}
|
|
250
|
+
export interface DeclineBookingFlowControlSettings {
|
|
251
|
+
withRefund?: boolean;
|
|
252
|
+
}
|
|
253
|
+
export interface DeclineBookingRequest {
|
|
254
|
+
bookingId?: string;
|
|
255
|
+
revision?: string;
|
|
256
|
+
participantNotification?: ParticipantNotification;
|
|
257
|
+
paymentStatus?: string;
|
|
258
|
+
doubleBooked?: boolean;
|
|
259
|
+
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
260
|
+
}
|
|
261
|
+
export interface DeclineBookingResponse {
|
|
262
|
+
booking?: Booking;
|
|
263
|
+
}
|
|
264
|
+
export interface DeclineMultiServiceBookingRequest {
|
|
265
|
+
multiServiceBookingId?: string;
|
|
266
|
+
declineBookingsInfo?: BookingInfo[];
|
|
267
|
+
participantNotification?: ParticipantNotification;
|
|
268
|
+
doubleBooked?: boolean;
|
|
269
|
+
returnFullEntity?: boolean;
|
|
270
|
+
flowControlSettings?: DeclineBookingFlowControlSettings;
|
|
271
|
+
}
|
|
272
|
+
export interface DeclineMultiServiceBookingResponse {
|
|
273
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
274
|
+
}
|
|
275
|
+
export interface Duration {
|
|
276
|
+
minutes?: number;
|
|
277
|
+
name?: string;
|
|
278
|
+
}
|
|
279
|
+
export interface GetAnonymousActionTokenForMultiServiceBookingRequest {
|
|
280
|
+
multiServiceBookingId?: string;
|
|
281
|
+
}
|
|
282
|
+
export interface GetAnonymousActionTokenForMultiServiceBookingResponse {
|
|
283
|
+
token?: string;
|
|
284
|
+
}
|
|
285
|
+
export interface GetMultiServiceBookingAnonymouslyRequest {
|
|
286
|
+
token?: string;
|
|
287
|
+
fields?: string[];
|
|
288
|
+
}
|
|
289
|
+
export interface GetMultiServiceBookingAnonymouslyResponse {
|
|
290
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
291
|
+
allowedAnonymousActions?: V1AllowedAnonymousActions;
|
|
292
|
+
}
|
|
293
|
+
export interface GetMultiServiceBookingAvailabilityRequest {
|
|
294
|
+
multiServiceBookingId?: string;
|
|
295
|
+
}
|
|
296
|
+
export interface GetMultiServiceBookingAvailabilityResponse {
|
|
297
|
+
bookable?: boolean;
|
|
298
|
+
totalCapacity?: number;
|
|
299
|
+
remainingCapacity?: number;
|
|
300
|
+
policyViolations?: BookingPolicyViolations;
|
|
301
|
+
policySettings?: BookingPolicySettings;
|
|
302
|
+
multiServiceBookingInfo?: GetMultiServiceBookingAvailabilityResponseBookingInfo[];
|
|
303
|
+
}
|
|
304
|
+
export interface GetMultiServiceBookingAvailabilityResponseBookingInfo {
|
|
305
|
+
bookingId?: string;
|
|
306
|
+
}
|
|
307
|
+
export interface GetMultiServiceBookingRequest {
|
|
308
|
+
multiServiceBookingId?: string;
|
|
309
|
+
}
|
|
310
|
+
export interface GetMultiServiceBookingResponse {
|
|
311
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
312
|
+
metadata?: MultiServiceBookingMetadata;
|
|
313
|
+
}
|
|
314
|
+
export interface MarkBookingAsPendingFlowControlSettings {
|
|
315
|
+
checkAvailabilityValidation?: boolean;
|
|
316
|
+
skipPendingApprovalServiceValidation?: boolean;
|
|
317
|
+
}
|
|
318
|
+
export interface MarkBookingAsPendingRequest {
|
|
319
|
+
bookingId?: string;
|
|
320
|
+
revision?: string;
|
|
321
|
+
participantNotification?: ParticipantNotification;
|
|
322
|
+
sendSmsReminder?: boolean;
|
|
323
|
+
paymentStatus?: string;
|
|
324
|
+
doubleBooked?: boolean;
|
|
325
|
+
flowControlSettings?: MarkBookingAsPendingFlowControlSettings;
|
|
326
|
+
}
|
|
327
|
+
export interface MarkBookingAsPendingResponse {
|
|
328
|
+
booking?: Booking;
|
|
329
|
+
}
|
|
330
|
+
export interface MarkMultiServiceBookingAsPendingRequest {
|
|
331
|
+
multiServiceBookingId?: string;
|
|
332
|
+
markAsPendingBookingsInfo?: BookingInfo[];
|
|
333
|
+
participantNotification?: ParticipantNotification;
|
|
334
|
+
sendSmsReminder?: boolean;
|
|
335
|
+
doubleBooked?: boolean;
|
|
336
|
+
returnFullEntity?: boolean;
|
|
337
|
+
flowControlSettings?: MarkBookingAsPendingFlowControlSettings;
|
|
338
|
+
}
|
|
339
|
+
export interface MarkMultiServiceBookingAsPendingResponse {
|
|
340
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
341
|
+
}
|
|
342
|
+
export interface MultiServiceBooking {
|
|
343
|
+
id?: string;
|
|
344
|
+
bookings?: BookingResult[];
|
|
345
|
+
}
|
|
346
|
+
export interface MultiServiceBookingMetadata {
|
|
347
|
+
totalNumberOfScheduledBookings?: number;
|
|
348
|
+
}
|
|
349
|
+
export interface ParticipantChoices {
|
|
350
|
+
serviceChoices?: ServiceChoices[];
|
|
351
|
+
}
|
|
352
|
+
export interface RecurringCancelInfo {
|
|
353
|
+
recurringGroupId?: string;
|
|
354
|
+
cancellationStartDate?: string;
|
|
355
|
+
participantNotification?: ParticipantNotification;
|
|
356
|
+
flowControlSettings?: CancelBookingFlowControlSettings;
|
|
357
|
+
waiveCharges?: boolean;
|
|
358
|
+
timeZone?: string;
|
|
359
|
+
}
|
|
360
|
+
export interface RemoveBookingsFromMultiServiceBookingRequest {
|
|
361
|
+
multiServiceBookingId?: string;
|
|
362
|
+
bookings?: BookingIdAndRevision[];
|
|
363
|
+
returnFullEntity?: boolean;
|
|
364
|
+
}
|
|
365
|
+
export interface RemoveBookingsFromMultiServiceBookingResponse {
|
|
366
|
+
bookings?: BookingResult[];
|
|
367
|
+
}
|
|
368
|
+
export interface RescheduleBookingFlowControlSettings {
|
|
369
|
+
ignoreReschedulePolicy?: boolean;
|
|
370
|
+
skipAvailabilityValidation?: boolean;
|
|
371
|
+
skipBusinessConfirmation?: boolean;
|
|
372
|
+
allowAddOnChanges?: boolean;
|
|
373
|
+
}
|
|
374
|
+
export interface RescheduleBookingInfo {
|
|
375
|
+
totalParticipants?: number;
|
|
376
|
+
participantsChoices?: ParticipantChoices;
|
|
377
|
+
bookingId?: string;
|
|
378
|
+
slot?: V2Slot;
|
|
379
|
+
revision?: string;
|
|
380
|
+
bookedAddOns?: BookedAddOn[];
|
|
381
|
+
}
|
|
382
|
+
export interface RescheduleBookingRequest {
|
|
383
|
+
totalParticipants?: number;
|
|
384
|
+
participantsChoices?: ParticipantChoices;
|
|
385
|
+
bookingId?: string;
|
|
386
|
+
slot?: V2Slot;
|
|
387
|
+
revision?: string;
|
|
388
|
+
participantNotification?: ParticipantNotification;
|
|
389
|
+
flowControlSettings?: RescheduleBookingFlowControlSettings;
|
|
390
|
+
bookedAddOns?: BookedAddOn[];
|
|
391
|
+
}
|
|
392
|
+
export interface RescheduleBookingResponse {
|
|
393
|
+
booking?: Booking;
|
|
394
|
+
}
|
|
395
|
+
export interface RescheduleMultiServiceBookingRequest {
|
|
396
|
+
multiServiceBookingId?: string;
|
|
397
|
+
rescheduleBookingsInfo?: RescheduleBookingInfo[];
|
|
398
|
+
participantNotification?: ParticipantNotification;
|
|
399
|
+
flowControlSettings?: RescheduleBookingFlowControlSettings;
|
|
400
|
+
returnFullEntity?: boolean;
|
|
401
|
+
}
|
|
402
|
+
export interface RescheduleMultiServiceBookingResponse {
|
|
403
|
+
multiServiceBooking?: MultiServiceBooking;
|
|
404
|
+
}
|
|
405
|
+
export interface ServiceChoice {
|
|
406
|
+
custom?: string;
|
|
407
|
+
duration?: Duration;
|
|
408
|
+
dateTime?: DateTimeRule;
|
|
409
|
+
participantRange?: ParticipantsRange;
|
|
410
|
+
optionId?: string;
|
|
411
|
+
choiceId?: string;
|
|
412
|
+
}
|
|
413
|
+
export interface ServiceChoices {
|
|
414
|
+
numberOfParticipants?: number;
|
|
415
|
+
choices?: ServiceChoice[];
|
|
416
|
+
}
|
|
417
|
+
export interface SetBookingSubmissionIdRequest {
|
|
418
|
+
bookingId?: string;
|
|
419
|
+
submissionId?: string;
|
|
420
|
+
}
|
|
421
|
+
export interface SetBookingSubmissionIdResponse {
|
|
422
|
+
booking?: Booking;
|
|
423
|
+
}
|
|
424
|
+
export interface SlotLocation {
|
|
425
|
+
id?: string;
|
|
426
|
+
name?: string;
|
|
427
|
+
formattedAddress?: string;
|
|
428
|
+
locationType?: string;
|
|
429
|
+
}
|
|
430
|
+
export interface SlotSlotResource {
|
|
431
|
+
id?: string;
|
|
432
|
+
name?: string;
|
|
433
|
+
transparency?: string;
|
|
434
|
+
}
|
|
435
|
+
export interface StreetAddress {
|
|
436
|
+
number?: string;
|
|
437
|
+
name?: string;
|
|
438
|
+
apt?: string;
|
|
439
|
+
}
|
|
440
|
+
export interface UpdateExtendedFieldsResponse {
|
|
441
|
+
namespace?: string;
|
|
442
|
+
namespaceData?: Record<string, unknown>;
|
|
443
|
+
}
|
|
444
|
+
export interface UpdateNumberOfParticipantsRequest {
|
|
445
|
+
totalParticipants?: number;
|
|
446
|
+
participantsChoices?: ParticipantChoices;
|
|
447
|
+
bookingId?: string;
|
|
448
|
+
revision?: string;
|
|
449
|
+
}
|
|
450
|
+
export interface UpdateNumberOfParticipantsResponse {
|
|
451
|
+
booking?: Booking;
|
|
452
|
+
}
|
|
453
|
+
export interface V1AllowedAnonymousActions {
|
|
454
|
+
cancel?: boolean;
|
|
455
|
+
reschedule?: boolean;
|
|
456
|
+
}
|
|
457
|
+
export interface V2Slot {
|
|
458
|
+
sessionId?: string;
|
|
459
|
+
serviceId?: string;
|
|
460
|
+
scheduleId?: string;
|
|
461
|
+
startDate?: string;
|
|
462
|
+
endDate?: string;
|
|
463
|
+
timezone?: string;
|
|
464
|
+
resource?: SlotSlotResource;
|
|
465
|
+
location?: SlotLocation;
|
|
466
|
+
eventId?: string;
|
|
467
|
+
resourceSelections?: ResourceSelection[];
|
|
468
|
+
allDay?: boolean;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* Expands an existing multi-service booking by adding existing single-service bookings to the package.
|
|
472
|
+
*
|
|
473
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
474
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_ADD_BOOKINGS
|
|
475
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.AddBookingsToMultiServiceBooking
|
|
476
|
+
*
|
|
477
|
+
* POST /_api/bookings-service/v2/multi_service_bookings/add_bookings_to_multi_service_booking
|
|
478
|
+
*/
|
|
479
|
+
export declare function addBookingsToMultiServiceBooking(req?: AddBookingsToMultiServiceBookingRequest, opts?: WixCallOptions): Promise<AddBookingsToMultiServiceBookingResponse>;
|
|
480
|
+
/**
|
|
481
|
+
* Checks whether you can [reschedule](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/bookings-writer-v2/reschedule-booking) or [cancel](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/bookings-writer-v2/cancel-booking) a list of bookings without using [force resolution](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/bookings-writer-v2/sample-flows#force-resolution).
|
|
482
|
+
*
|
|
483
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
484
|
+
* @permissionId BOOKINGS.BULK_CALCULATE_ALLOWED_ACTIONS
|
|
485
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.BulkCalculateAllowedActions
|
|
486
|
+
*
|
|
487
|
+
* POST /bookings/v2/bulk/bookings/calculate_allowed_actions
|
|
488
|
+
*/
|
|
489
|
+
export declare function bulkCalculateAllowedActions(req?: BulkCalculateAllowedActionsRequest, opts?: WixCallOptions): Promise<BulkCalculateAllowedActionsResponse>;
|
|
490
|
+
/**
|
|
491
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /bookings/v2/bulk/bookings/cancel answered 403 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
492
|
+
*
|
|
493
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
494
|
+
*
|
|
495
|
+
* POST /bookings/v2/bulk/bookings/cancel
|
|
496
|
+
*/
|
|
497
|
+
export declare function bulkCancelBooking(req?: BulkCancelBookingRequest, opts?: WixCallOptions): Promise<BulkCancelBookingResponse>;
|
|
498
|
+
/**
|
|
499
|
+
* Confirms or declines up to 300 bookings.
|
|
500
|
+
*
|
|
501
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
502
|
+
* @permissionId BOOKINGS.BOOKING_CONFIRM_OR_DECLINE
|
|
503
|
+
* @fqn com.wixpress.bookings.confirmator.v2.Confirmator.BulkConfirmOrDeclineBooking
|
|
504
|
+
*
|
|
505
|
+
* POST /bookings/v2/bulk/bookings/confirmOrDecline
|
|
506
|
+
*/
|
|
507
|
+
export declare function bulkConfirmOrDeclineBooking(req?: BulkConfirmOrDeclineBookingRequest, opts?: WixCallOptions): Promise<BulkConfirmOrDeclineBookingResponse>;
|
|
508
|
+
/**
|
|
509
|
+
* Creates up to 40 bookings.
|
|
510
|
+
*
|
|
511
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
512
|
+
* @permissionId BOOKINGS.BOOKING_CREATE
|
|
513
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.BulkCreateBooking
|
|
514
|
+
*
|
|
515
|
+
* POST /bookings/v2/bulk/bookings/create
|
|
516
|
+
*/
|
|
517
|
+
export declare function bulkCreateBooking(req?: BulkCreateBookingRequest, opts?: WixCallOptions): Promise<BulkCreateBookingResponse>;
|
|
518
|
+
/**
|
|
519
|
+
* Retrieves information about which actions the customer can perform for up to 50 multi-service bookings.
|
|
520
|
+
*
|
|
521
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
522
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_GET_ALLOWED_ACTIONS
|
|
523
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.BulkGetMultiServiceBookingAllowedActions
|
|
524
|
+
*
|
|
525
|
+
* POST /bookings/multiServiceBookings/v2/bulk/multi_service_bookings/get_allowed_actions
|
|
526
|
+
*/
|
|
527
|
+
export declare function bulkGetMultiServiceBookingAllowedActions(req?: BulkGetMultiServiceBookingAllowedActionsRequest, opts?: WixCallOptions): Promise<BulkGetMultiServiceBookingAllowedActionsResponse>;
|
|
528
|
+
/**
|
|
529
|
+
* Updates the booking status to `CANCELED`.
|
|
530
|
+
*
|
|
531
|
+
* @permissionId BOOKINGS.BOOKING_CANCEL
|
|
532
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.CancelBooking
|
|
533
|
+
*
|
|
534
|
+
* POST /_api/bookings-service/v2/bookings/{bookingId}/cancel
|
|
535
|
+
*/
|
|
536
|
+
export declare function cancelBooking(req: CancelBookingRequest, opts?: WixCallOptions): Promise<CancelBookingResponse>;
|
|
537
|
+
/**
|
|
538
|
+
* Cancels a multi-service booking and all its associated single-service bookings.
|
|
539
|
+
*
|
|
540
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_CANCEL
|
|
541
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.CancelMultiServiceBooking
|
|
542
|
+
*
|
|
543
|
+
* POST /_api/bookings-service/v2/multi_service_bookings/{multiServiceBookingId}/cancel
|
|
544
|
+
*/
|
|
545
|
+
export declare function cancelMultiServiceBooking(req: CancelMultiServiceBookingRequest, opts?: WixCallOptions): Promise<CancelMultiServiceBookingResponse>;
|
|
546
|
+
/**
|
|
547
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: visitor POST /v1/anonymous-multi-service-bookings/{token}/cancel answered 401 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
548
|
+
*
|
|
549
|
+
* POST /v1/anonymous-multi-service-bookings/{token}/cancel
|
|
550
|
+
*/
|
|
551
|
+
export declare function cancelMultiServiceBookingAnonymously(req: CancelMultiServiceBookingAnonymouslyRequest, opts?: WixCallOptions): Promise<CancelMultiServiceBookingAnonymouslyResponse>;
|
|
552
|
+
/**
|
|
553
|
+
* Updates the booking status to `CONFIRMED` without checking whether the relevant slot or schedule is still available.
|
|
554
|
+
*
|
|
555
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
556
|
+
* @permissionId BOOKINGS.BOOKING_CONFIRM
|
|
557
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.ConfirmBooking
|
|
558
|
+
*
|
|
559
|
+
* POST /_api/bookings-service/v2/bookings/{bookingId}/confirm
|
|
560
|
+
*/
|
|
561
|
+
export declare function confirmBooking(req: ConfirmBookingRequest, opts?: WixCallOptions): Promise<ConfirmBookingResponse>;
|
|
562
|
+
/**
|
|
563
|
+
* Updates the status for all single-service bookings in a multi-service booking to `CONFIRMED`.
|
|
564
|
+
*
|
|
565
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
566
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_CONFIRM
|
|
567
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.ConfirmMultiServiceBooking
|
|
568
|
+
*
|
|
569
|
+
* POST /_api/bookings-service/v2/multi_service_bookings/{multiServiceBookingId}/confirm
|
|
570
|
+
*/
|
|
571
|
+
export declare function confirmMultiServiceBooking(req: ConfirmMultiServiceBookingRequest, opts?: WixCallOptions): Promise<ConfirmMultiServiceBookingResponse>;
|
|
572
|
+
/**
|
|
573
|
+
* Updates the booking `status` to `CONFIRMED`, `PENDING`, or `DECLINED` based on the `paymentStatus` you provide, double booking conflicts, and whether the service requires business approval.
|
|
574
|
+
*
|
|
575
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
576
|
+
* @permissionId BOOKINGS.BOOKING_CONFIRM_OR_DECLINE
|
|
577
|
+
* @fqn com.wixpress.bookings.confirmator.v2.Confirmator.ConfirmOrDeclineBooking
|
|
578
|
+
*
|
|
579
|
+
* POST /bookings/v2/confirmation/{bookingId}:confirmOrDecline
|
|
580
|
+
*/
|
|
581
|
+
export declare function confirmOrDeclineBooking(req: ConfirmOrDeclineBookingRequest, opts?: WixCallOptions): Promise<ConfirmOrDeclineBookingResponse>;
|
|
582
|
+
/**
|
|
583
|
+
* Creates a booking.
|
|
584
|
+
*
|
|
585
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
586
|
+
* @permissionId BOOKINGS.BOOKING_CREATE
|
|
587
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.CreateBooking
|
|
588
|
+
*
|
|
589
|
+
* POST /_api/bookings-service/v2/bookings
|
|
590
|
+
*/
|
|
591
|
+
export declare function createBooking(req?: CreateBookingRequest, opts?: WixCallOptions): Promise<CreateBookingResponse>;
|
|
592
|
+
/**
|
|
593
|
+
* Creates a multi-service booking and all included single-service bookings simultaneously.
|
|
594
|
+
*
|
|
595
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
596
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_CREATE
|
|
597
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.CreateMultiServiceBooking
|
|
598
|
+
*
|
|
599
|
+
* POST /_api/bookings-service/v2/multi_service_bookings
|
|
600
|
+
*/
|
|
601
|
+
export declare function createMultiServiceBooking(req?: CreateMultiServiceBookingRequest, opts?: WixCallOptions): Promise<CreateMultiServiceBookingResponse>;
|
|
602
|
+
/**
|
|
603
|
+
* Updates the booking status to `DECLINED` without checking whether the relevant slot or schedule is still available.
|
|
604
|
+
*
|
|
605
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
606
|
+
* @permissionId BOOKINGS.BOOKING_DECLINE
|
|
607
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.DeclineBooking
|
|
608
|
+
*
|
|
609
|
+
* POST /_api/bookings-service/v2/bookings/{bookingId}/decline
|
|
610
|
+
*/
|
|
611
|
+
export declare function declineBooking(req: DeclineBookingRequest, opts?: WixCallOptions): Promise<DeclineBookingResponse>;
|
|
612
|
+
/**
|
|
613
|
+
* Updates the status for all single-service bookings in a multi-service booking to `DECLINED`.
|
|
614
|
+
*
|
|
615
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
616
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_DECLINE
|
|
617
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.DeclineMultiServiceBooking
|
|
618
|
+
*
|
|
619
|
+
* POST /_api/bookings-service/v2/multi_service_bookings/{multiServiceBookingId}/decline
|
|
620
|
+
*/
|
|
621
|
+
export declare function declineMultiServiceBooking(req: DeclineMultiServiceBookingRequest, opts?: WixCallOptions): Promise<DeclineMultiServiceBookingResponse>;
|
|
622
|
+
/**
|
|
623
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: owner GET /v1/anonymous-multi-service-bookings/{multiServiceBookingId}/token answered 403 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
624
|
+
*
|
|
625
|
+
* GET /v1/anonymous-multi-service-bookings/{multiServiceBookingId}/token
|
|
626
|
+
*/
|
|
627
|
+
export declare function getAnonymousActionTokenForMultiServiceBooking(req: GetAnonymousActionTokenForMultiServiceBookingRequest, opts?: WixCallOptions): Promise<GetAnonymousActionTokenForMultiServiceBookingResponse>;
|
|
628
|
+
/**
|
|
629
|
+
* Retrieves a multi-service booking and all its associated single-service bookings.
|
|
630
|
+
*
|
|
631
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
632
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_READ
|
|
633
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.GetMultiServiceBooking
|
|
634
|
+
*
|
|
635
|
+
* GET /_api/bookings-service/v2/multi_service_bookings/{multiServiceBookingId}
|
|
636
|
+
*/
|
|
637
|
+
export declare function getMultiServiceBooking(req: GetMultiServiceBookingRequest, opts?: WixCallOptions): Promise<GetMultiServiceBookingResponse>;
|
|
638
|
+
/**
|
|
639
|
+
* Not in Wix's public SDK typings — its www.wixapis.com route was verified live: owner GET /v1/anonymous-multi-service-bookings/{token} answered 401 on site de54bcbe (2026-12-01, codegen/wix/live/probe-excluded.ts)
|
|
640
|
+
*
|
|
641
|
+
* GET /v1/anonymous-multi-service-bookings/{token}
|
|
642
|
+
*/
|
|
643
|
+
export declare function getMultiServiceBookingAnonymously(req: GetMultiServiceBookingAnonymouslyRequest, opts?: WixCallOptions): Promise<GetMultiServiceBookingAnonymouslyResponse>;
|
|
644
|
+
/**
|
|
645
|
+
* Checks if the business can still accommodate an existing multi-service booking and returns overall bookability status, capacity details, and policy violations.
|
|
646
|
+
*
|
|
647
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
648
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_GET_AVAILABILITY
|
|
649
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.GetMultiServiceBookingAvailability
|
|
650
|
+
*
|
|
651
|
+
* POST /_api/bookings-service/v2/multi_service_bookings/{multiServiceBookingId}/get_availability
|
|
652
|
+
*/
|
|
653
|
+
export declare function getMultiServiceBookingAvailability(req: GetMultiServiceBookingAvailabilityRequest, opts?: WixCallOptions): Promise<GetMultiServiceBookingAvailabilityResponse>;
|
|
654
|
+
/**
|
|
655
|
+
* Updates the booking status to `PENDING`.
|
|
656
|
+
*
|
|
657
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
658
|
+
* @permissionId BOOKINGS.BOOKING_MARK_BOOKING_AS_PENDING
|
|
659
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.MarkBookingAsPending
|
|
660
|
+
*
|
|
661
|
+
* POST /_api/bookings-service/v2/bookings/{bookingId}/mark_booking_as_pending
|
|
662
|
+
*/
|
|
663
|
+
export declare function markBookingAsPending(req: MarkBookingAsPendingRequest, opts?: WixCallOptions): Promise<MarkBookingAsPendingResponse>;
|
|
664
|
+
/**
|
|
665
|
+
* Updates the status for all single-service bookings in a multi-service booking to `PENDING`.
|
|
666
|
+
*
|
|
667
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
668
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_MARK_AS_PENDING
|
|
669
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.MarkMultiServiceBookingAsPending
|
|
670
|
+
*
|
|
671
|
+
* POST /_api/bookings-service/v2/multi_service_bookings/{multiServiceBookingId}/mark_as_pending
|
|
672
|
+
*/
|
|
673
|
+
export declare function markMultiServiceBookingAsPending(req: MarkMultiServiceBookingAsPendingRequest, opts?: WixCallOptions): Promise<MarkMultiServiceBookingAsPendingResponse>;
|
|
674
|
+
/**
|
|
675
|
+
* Removes single-service bookings from a multi-service booking and converts them to independent single-service bookings.
|
|
676
|
+
*
|
|
677
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
678
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_REMOVE_BOOKINGS
|
|
679
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.RemoveBookingsFromMultiServiceBooking
|
|
680
|
+
*
|
|
681
|
+
* POST /_api/bookings-service/v2/multi_service_bookings/remove_bookings_from_multi_service_booking
|
|
682
|
+
*/
|
|
683
|
+
export declare function removeBookingsFromMultiServiceBooking(req?: RemoveBookingsFromMultiServiceBookingRequest, opts?: WixCallOptions): Promise<RemoveBookingsFromMultiServiceBookingResponse>;
|
|
684
|
+
/**
|
|
685
|
+
* Reschedules an appointment booking to a different slot or a class booking to a different session.
|
|
686
|
+
*
|
|
687
|
+
* @scope visitor — an anonymous visitor session is enough.
|
|
688
|
+
* @permissionId BOOKINGS.BOOKING_RESCHEDULE
|
|
689
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.RescheduleBooking
|
|
690
|
+
*
|
|
691
|
+
* POST /_api/bookings-service/v2/bookings/{bookingId}/reschedule
|
|
692
|
+
*/
|
|
693
|
+
export declare function rescheduleBooking(req: RescheduleBookingRequest, opts?: WixCallOptions): Promise<RescheduleBookingResponse>;
|
|
694
|
+
/**
|
|
695
|
+
* Reschedules a multi-service booking by changing the timing for all or specific single-service bookings in the package.
|
|
696
|
+
*
|
|
697
|
+
* @permissionId MULTI_SERVICE_BOOKINGS.MULTI_SERVICE_BOOKING_RESCHEDULE
|
|
698
|
+
* @fqn com.wixpress.bookings.bookings.v2.MultiServiceBookings.RescheduleMultiServiceBooking
|
|
699
|
+
*
|
|
700
|
+
* POST /_api/bookings-service/v2/multi_service_bookings/{multiServiceBookingId}/reschedule
|
|
701
|
+
*/
|
|
702
|
+
export declare function rescheduleMultiServiceBooking(req: RescheduleMultiServiceBookingRequest, opts?: WixCallOptions): Promise<RescheduleMultiServiceBookingResponse>;
|
|
703
|
+
/**
|
|
704
|
+
* Sets a form submission ID for a booking.
|
|
705
|
+
*
|
|
706
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
707
|
+
* @permissionId BOOKINGS.BOOKING_SET_SUBMISSION_ID
|
|
708
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.SetBookingSubmissionId
|
|
709
|
+
*
|
|
710
|
+
* POST /_api/bookings-service/v2/bookings/{bookingId}/set-booking-submission-id
|
|
711
|
+
*/
|
|
712
|
+
export declare function setBookingSubmissionId(req: SetBookingSubmissionIdRequest, opts?: WixCallOptions): Promise<SetBookingSubmissionIdResponse>;
|
|
713
|
+
/**
|
|
714
|
+
* Updates the extended fields for a booking.
|
|
715
|
+
*
|
|
716
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
717
|
+
* @permissionId BOOKINGS.BOOKING_UPDATE_EXTENDED_FIELDS
|
|
718
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.UpdateExtendedFields
|
|
719
|
+
*
|
|
720
|
+
* POST /_api/bookings-service/v2/bookings/{id}/update_extended_fields
|
|
721
|
+
*/
|
|
722
|
+
export declare function updateExtendedFields(req: UpdateExtendedFieldsRequest, opts?: WixCallOptions): Promise<UpdateExtendedFieldsResponse>;
|
|
723
|
+
/**
|
|
724
|
+
* Updates the number of participants for a class or course booking and changes the `totalNumberOfParticipants` for the relevant sessions.
|
|
725
|
+
*
|
|
726
|
+
* @scope owner — requires an owner / business identity — a visitor session gets 403.
|
|
727
|
+
* @permissionId BOOKINGS.NUMBER_OF_PARTICIPANTS_UPDATE
|
|
728
|
+
* @fqn com.wixpress.bookings.bookings.v2.Bookings.UpdateNumberOfParticipants
|
|
729
|
+
*
|
|
730
|
+
* POST /_api/bookings-service/v2/bookings/{bookingId}/update_number_of_participants
|
|
731
|
+
*/
|
|
732
|
+
export declare function updateNumberOfParticipants(req: UpdateNumberOfParticipantsRequest, opts?: WixCallOptions): Promise<UpdateNumberOfParticipantsResponse>;
|