@wix/auto_sdk_bookings_bookings 1.0.3 → 1.0.5

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.
Files changed (73) hide show
  1. package/build/cjs/src/bookings-v2-booking-bookings.context.d.ts +17 -17
  2. package/build/cjs/src/bookings-v2-booking-bookings.context.js +17 -17
  3. package/build/cjs/src/bookings-v2-booking-bookings.context.js.map +1 -1
  4. package/build/cjs/src/bookings-v2-booking-bookings.http.d.ts +137 -134
  5. package/build/cjs/src/bookings-v2-booking-bookings.http.js +861 -858
  6. package/build/cjs/src/bookings-v2-booking-bookings.http.js.map +1 -1
  7. package/build/cjs/src/bookings-v2-booking-bookings.meta.d.ts +24 -24
  8. package/build/cjs/src/bookings-v2-booking-bookings.meta.js +125 -125
  9. package/build/cjs/src/bookings-v2-booking-bookings.meta.js.map +1 -1
  10. package/build/cjs/src/bookings-v2-booking-bookings.public.d.ts +192 -189
  11. package/build/cjs/src/bookings-v2-booking-bookings.public.js +84 -84
  12. package/build/cjs/src/bookings-v2-booking-bookings.public.js.map +1 -1
  13. package/build/cjs/src/bookings-v2-booking-bookings.types.d.ts +1310 -991
  14. package/build/cjs/src/bookings-v2-booking-bookings.types.js +3 -3
  15. package/build/cjs/src/bookings-v2-booking-bookings.types.js.map +1 -1
  16. package/build/cjs/src/bookings-v2-booking-bookings.universal.d.ts +2219 -1839
  17. package/build/cjs/src/bookings-v2-booking-bookings.universal.js +901 -898
  18. package/build/cjs/src/bookings-v2-booking-bookings.universal.js.map +1 -1
  19. package/build/es/src/bookings-v2-booking-bookings.context.d.ts +17 -17
  20. package/build/es/src/bookings-v2-booking-bookings.context.js +16 -16
  21. package/build/es/src/bookings-v2-booking-bookings.context.js.map +1 -1
  22. package/build/es/src/bookings-v2-booking-bookings.http.d.ts +137 -134
  23. package/build/es/src/bookings-v2-booking-bookings.http.js +837 -834
  24. package/build/es/src/bookings-v2-booking-bookings.http.js.map +1 -1
  25. package/build/es/src/bookings-v2-booking-bookings.meta.d.ts +24 -24
  26. package/build/es/src/bookings-v2-booking-bookings.meta.js +103 -103
  27. package/build/es/src/bookings-v2-booking-bookings.meta.js.map +1 -1
  28. package/build/es/src/bookings-v2-booking-bookings.public.d.ts +192 -189
  29. package/build/es/src/bookings-v2-booking-bookings.public.js +65 -65
  30. package/build/es/src/bookings-v2-booking-bookings.public.js.map +1 -1
  31. package/build/es/src/bookings-v2-booking-bookings.types.d.ts +1310 -991
  32. package/build/es/src/bookings-v2-booking-bookings.types.js +3 -3
  33. package/build/es/src/bookings-v2-booking-bookings.types.js.map +1 -1
  34. package/build/es/src/bookings-v2-booking-bookings.universal.d.ts +2219 -1839
  35. package/build/es/src/bookings-v2-booking-bookings.universal.js +855 -852
  36. package/build/es/src/bookings-v2-booking-bookings.universal.js.map +1 -1
  37. package/build/internal/cjs/src/bookings-v2-booking-bookings.context.d.ts +17 -17
  38. package/build/internal/cjs/src/bookings-v2-booking-bookings.context.js +17 -17
  39. package/build/internal/cjs/src/bookings-v2-booking-bookings.context.js.map +1 -1
  40. package/build/internal/cjs/src/bookings-v2-booking-bookings.http.d.ts +137 -134
  41. package/build/internal/cjs/src/bookings-v2-booking-bookings.http.js +861 -858
  42. package/build/internal/cjs/src/bookings-v2-booking-bookings.http.js.map +1 -1
  43. package/build/internal/cjs/src/bookings-v2-booking-bookings.meta.d.ts +24 -24
  44. package/build/internal/cjs/src/bookings-v2-booking-bookings.meta.js +125 -125
  45. package/build/internal/cjs/src/bookings-v2-booking-bookings.meta.js.map +1 -1
  46. package/build/internal/cjs/src/bookings-v2-booking-bookings.public.d.ts +192 -189
  47. package/build/internal/cjs/src/bookings-v2-booking-bookings.public.js +84 -84
  48. package/build/internal/cjs/src/bookings-v2-booking-bookings.public.js.map +1 -1
  49. package/build/internal/cjs/src/bookings-v2-booking-bookings.types.d.ts +1310 -991
  50. package/build/internal/cjs/src/bookings-v2-booking-bookings.types.js +3 -3
  51. package/build/internal/cjs/src/bookings-v2-booking-bookings.types.js.map +1 -1
  52. package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.d.ts +2219 -1839
  53. package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.js +901 -898
  54. package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.js.map +1 -1
  55. package/build/internal/es/src/bookings-v2-booking-bookings.context.d.ts +17 -17
  56. package/build/internal/es/src/bookings-v2-booking-bookings.context.js +16 -16
  57. package/build/internal/es/src/bookings-v2-booking-bookings.context.js.map +1 -1
  58. package/build/internal/es/src/bookings-v2-booking-bookings.http.d.ts +137 -134
  59. package/build/internal/es/src/bookings-v2-booking-bookings.http.js +837 -834
  60. package/build/internal/es/src/bookings-v2-booking-bookings.http.js.map +1 -1
  61. package/build/internal/es/src/bookings-v2-booking-bookings.meta.d.ts +24 -24
  62. package/build/internal/es/src/bookings-v2-booking-bookings.meta.js +103 -103
  63. package/build/internal/es/src/bookings-v2-booking-bookings.meta.js.map +1 -1
  64. package/build/internal/es/src/bookings-v2-booking-bookings.public.d.ts +192 -189
  65. package/build/internal/es/src/bookings-v2-booking-bookings.public.js +65 -65
  66. package/build/internal/es/src/bookings-v2-booking-bookings.public.js.map +1 -1
  67. package/build/internal/es/src/bookings-v2-booking-bookings.types.d.ts +1310 -991
  68. package/build/internal/es/src/bookings-v2-booking-bookings.types.js +3 -3
  69. package/build/internal/es/src/bookings-v2-booking-bookings.types.js.map +1 -1
  70. package/build/internal/es/src/bookings-v2-booking-bookings.universal.d.ts +2219 -1839
  71. package/build/internal/es/src/bookings-v2-booking-bookings.universal.js +855 -852
  72. package/build/internal/es/src/bookings-v2-booking-bookings.universal.js.map +1 -1
  73. package/package.json +2 -2
@@ -3,149 +3,65 @@ import { AddBookingsToMultiServiceBookingOptions, AddBookingsToMultiServiceBooki
3
3
  export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
6
- export declare function createMultiServiceBooking(httpClient: HttpClient): CreateMultiServiceBookingSignature;
7
- interface CreateMultiServiceBookingSignature {
8
- /**
9
- * Creates a multi-service booking.
10
- *
11
- *
12
- * See Create Booking for more information.
13
- * @param - Single-service bookings to combine in a multi-service booking.
14
- */
15
- (bookings: Booking[], options?: CreateMultiServiceBookingOptions | undefined): Promise<CreateMultiServiceBookingResponse & CreateMultiServiceBookingResponseNonNullableFields>;
16
- }
17
- export declare function rescheduleMultiServiceBooking(httpClient: HttpClient): RescheduleMultiServiceBookingSignature;
18
- interface RescheduleMultiServiceBookingSignature {
19
- /**
20
- * Reschedules a multi-service booking.
21
- *
22
- *
23
- * The call fails if at least 1 individual booking can't be rescheduled due
24
- * the service being unavailable or a rescheduling policy violation.
25
- *
26
- *
27
- * See Reschedule Booking for more information.
28
- * @param - ID of the multi service booking to reschedule.
29
- * @param - Information about the single-service bookings to reschedule.
30
- */
31
- (multiServiceBookingId: string | null, rescheduleBookingsInfo: RescheduleBookingInfo[], options?: RescheduleMultiServiceBookingOptions | undefined): Promise<RescheduleMultiServiceBookingResponse & RescheduleMultiServiceBookingResponseNonNullableFields>;
32
- }
33
- export declare function getMultiServiceBookingAvailability(httpClient: HttpClient): GetMultiServiceBookingAvailabilitySignature;
34
- interface GetMultiServiceBookingAvailabilitySignature {
35
- /**
36
- * Retrieves a multi-service booking's availability.
37
- *
38
- *
39
- * Use List Multi Service Availability Time Slots to check availability for a
40
- * `SEQUENTIAL_BOOKINGS` multi-service booking.
41
- * @param - ID of the multi-service booking to retrieve.
42
- */
43
- (multiServiceBookingId: string | null): Promise<GetMultiServiceBookingAvailabilityResponse & GetMultiServiceBookingAvailabilityResponseNonNullableFields>;
44
- }
45
- export declare function cancelMultiServiceBooking(httpClient: HttpClient): CancelMultiServiceBookingSignature;
46
- interface CancelMultiServiceBookingSignature {
47
- /**
48
- * Cancels a multi-service booking and thus all its individual bookings.
49
- * @param - ID of the multi-service booking to cancel.
50
- */
51
- (multiServiceBookingId: string | null, options?: CancelMultiServiceBookingOptions | undefined): Promise<CancelMultiServiceBookingResponse & CancelMultiServiceBookingResponseNonNullableFields>;
52
- }
53
- export declare function markMultiServiceBookingAsPending(httpClient: HttpClient): MarkMultiServiceBookingAsPendingSignature;
54
- interface MarkMultiServiceBookingAsPendingSignature {
55
- /**
56
- * Updates the status of a multi-service booking to `PENDING`.
57
- *
58
- *
59
- * Also updates the status of each of individual bookings within the multi-service booking to `PENDING`.
60
- *
61
- * The call fails if the status for at least a single individual booking can't be updated.
62
- *
63
- * See Mark Booking as Pending for more information.
64
- * @param - ID of the multi-service booking to mark as `PENDING`.
65
- */
66
- (multiServiceBookingId: string | null, options?: MarkMultiServiceBookingAsPendingOptions | undefined): Promise<MarkMultiServiceBookingAsPendingResponse & MarkMultiServiceBookingAsPendingResponseNonNullableFields>;
67
- }
68
- export declare function confirmMultiServiceBooking(httpClient: HttpClient): ConfirmMultiServiceBookingSignature;
69
- interface ConfirmMultiServiceBookingSignature {
6
+ export declare function confirmOrDeclineBooking(httpClient: HttpClient): ConfirmOrDeclineBookingSignature;
7
+ interface ConfirmOrDeclineBookingSignature {
70
8
  /**
71
- * Updates the status of a multi-service booking to `CONFIRMED`.
72
- *
73
- *
74
- * Also updates the status of each of individual bookings within the multi-service booking to `CONFIRMED`.
75
- *
76
- * The call fails if the status for at least a single individual booking can't be updated.
9
+ * Updates the booking `status` to `CONFIRMED`, `PENDING`, or `DECLINED` based
10
+ * on the `paymentStatus` you provide, double booking conflicts, and whether
11
+ * the service requires business approval.
77
12
  *
78
- * See Confirm Booking for more information.
79
- * @param - ID of the multi-service booking to confirm its related bookings.
80
- */
81
- (multiServiceBookingId: string | null, options?: ConfirmMultiServiceBookingOptions | undefined): Promise<ConfirmMultiServiceBookingResponse & ConfirmMultiServiceBookingResponseNonNullableFields>;
82
- }
83
- export declare function declineMultiServiceBooking(httpClient: HttpClient): DeclineMultiServiceBookingSignature;
84
- interface DeclineMultiServiceBookingSignature {
85
- /**
86
- * Updates the status of a multi-service booking to `DECLINED`.
13
+ * ## eCommerce checkout restriction
87
14
  *
15
+ * Call this method only when using a custom checkout page. Don't
16
+ * call it when using a *Wix eCommerce checkout*
17
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
18
+ * In such cases, Wix automatically updates the booking status based on
19
+ * the `paymentStatus` of the corresponding *Wix eCommerce order*
20
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
88
21
  *
89
- * Also updates the status of each of individual bookings within the multi-service booking to `DECLINED`.
22
+ * ## New booking status
90
23
  *
91
- * The call fails if the status for at least a single individual booking can't be updated.
24
+ * The booking `status` is set to `DECLINED` if both of the following conditions
25
+ * are met:
26
+ * + You provide `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT` as payment status.
27
+ * + There is a double booking conflict.
92
28
  *
93
- * See Decline Booking for more information.
94
- * @param - ID of the multi service booking to decline.
95
- */
96
- (multiServiceBookingId: string | null, options?: DeclineMultiServiceBookingOptions | undefined): Promise<DeclineMultiServiceBookingResponse & DeclineMultiServiceBookingResponseNonNullableFields>;
97
- }
98
- export declare function bulkGetMultiServiceBookingAllowedActions(httpClient: HttpClient): BulkGetMultiServiceBookingAllowedActionsSignature;
99
- interface BulkGetMultiServiceBookingAllowedActionsSignature {
100
- /**
101
- * Retrieves the allowed actions for a list of multi-service bookings.
102
- * @param - IDs of the multi-service bookings to retrieve allowed actions for.
103
- */
104
- (multiServiceBookingIds: string[] | null): Promise<BulkGetMultiServiceBookingAllowedActionsResponse & BulkGetMultiServiceBookingAllowedActionsResponseNonNullableFields>;
105
- }
106
- export declare function getMultiServiceBooking(httpClient: HttpClient): GetMultiServiceBookingSignature;
107
- interface GetMultiServiceBookingSignature {
108
- /**
109
- * Retrieves all single-service bookings belonging to a multi-service booking.
29
+ * If only one or none of these conditions is met, `status` is set to `PENDING`
30
+ * or `CONFIRMED` depending on whether the service requires business approval.
110
31
  *
32
+ * ## Double bookings
111
33
  *
112
- * If you call as an [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities)
113
- * who has permissions to read only part of the bookings,
114
- * only the permitted bookings are retrieved. The returned total number of
115
- * bookings includes also the bookings for which you don't have permissions.
116
- * @param - ID of the multi-service booking.
117
- * @returns Retrieved multi-service booking.
118
- */
119
- (multiServiceBookingId: string | null): Promise<MultiServiceBooking & MultiServiceBookingNonNullableFields>;
120
- }
121
- export declare function addBookingsToMultiServiceBooking(httpClient: HttpClient): AddBookingsToMultiServiceBookingSignature;
122
- interface AddBookingsToMultiServiceBookingSignature {
123
- /**
124
- * Adds a list of single-service bookings to a multi-service booking.
34
+ * If there is a double booking conflict, but the booking has already been at least
35
+ * partially paid, the method still marks the booking as `PENDING` or `CONFIRMED`.
36
+ * Then, it also sets `doubleBooked` to `true`.
125
37
  *
38
+ * ## Admin overwrites
126
39
  *
127
- * The call fails, if at least 1 of the specified booking is already part of a
128
- * multi-service booking.
129
- * @param - ID of the multi-service booking.
40
+ * There are small but important differences in confirmation behavior if the
41
+ * booking was created with special `flowControlSettings`:
42
+ * + If the booking's `flowControlSettings.skipAvailabilityValidation` was set to
43
+ * `true`, the booking is never declined regardless of double booking conflicts.
44
+ * Instead, it's marked `CONFIRMED` or `PENDING`, depending on whether the
45
+ * service requires business approval.
46
+ * + If the booking's `flowControlSettings.skipBusinessConfirmation` was set to
47
+ * `true`, the booking skips `PENDING` status and is marked `CONFIRMED`
48
+ * immediately.
49
+ * @param - ID of the booking to confirm or decline.
130
50
  */
131
- (multiServiceBookingId: string | null, options?: AddBookingsToMultiServiceBookingOptions | undefined): Promise<AddBookingsToMultiServiceBookingResponse & AddBookingsToMultiServiceBookingResponseNonNullableFields>;
51
+ (bookingId: string, options?: ConfirmOrDeclineBookingOptions | undefined): Promise<ConfirmOrDeclineBookingResponse & ConfirmOrDeclineBookingResponseNonNullableFields>;
132
52
  }
133
- export declare function removeBookingsFromMultiServiceBooking(httpClient: HttpClient): RemoveBookingsFromMultiServiceBookingSignature;
134
- interface RemoveBookingsFromMultiServiceBookingSignature {
53
+ export declare function bulkConfirmOrDeclineBooking(httpClient: HttpClient): BulkConfirmOrDeclineBookingSignature;
54
+ interface BulkConfirmOrDeclineBookingSignature {
135
55
  /**
136
- * Removes single-service bookings from a multi-service booking and returns the
137
- * removed bookings.
56
+ * Confirms or declines up to 300 bookings.
138
57
  *
139
58
  *
140
- * If you specify an empty `bookings` array, all single-service bookings for which
141
- * the call's [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities)
142
- * has read permissions are removed from the multi-service booking.
143
- *
144
- * If the call would create a multi-service booking including only 1 single-service
145
- * booking, the multi-service booking is also deleted.
146
- * @param - ID of the multi-service booking.
59
+ * See *Confirm Or Decline Booking*
60
+ * ([SDK](https://dev.wix.com/docs/velo/api-reference/wix-bookings-v2/bookings/confirm-or-decline-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking))
61
+ * for details about when a booking is confirmed or declined.
62
+ * @param - Bookings to confirm or decline.
147
63
  */
148
- (multiServiceBookingId: string | null, options?: RemoveBookingsFromMultiServiceBookingOptions | undefined): Promise<RemoveBookingsFromMultiServiceBookingResponse & RemoveBookingsFromMultiServiceBookingResponseNonNullableFields>;
64
+ (details: BulkConfirmOrDeclineBookingRequestBookingDetails[], options?: BulkConfirmOrDeclineBookingOptions | undefined): Promise<BulkConfirmOrDeclineBookingResponse & BulkConfirmOrDeclineBookingResponseNonNullableFields>;
149
65
  }
150
66
  export declare function createBooking(httpClient: HttpClient): CreateBookingSignature;
151
67
  interface CreateBookingSignature {
@@ -157,16 +73,16 @@ interface CreateBookingSignature {
157
73
  *
158
74
  * For appointment-based services, specify the relevant `slot` in
159
75
  * `bookedEntity.slot`. We recommend specifying the complete
160
- * `availabilityEntries.slot` returned in Query Availability
76
+ * `availabilityEntries.slot` returned in *Query Availability*
161
77
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability))
162
78
  * in your call's request to avoid failed calls due to unavailability.
163
79
  *
164
80
  * ## Class session booking
165
81
  *
166
- * For class services, specify the relevant event ID
82
+ * For class services, specify the relevant *event ID*
167
83
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction))
168
84
  * as `bookedEntity.slot.eventId`.
169
- * We recommend retrieving the event ID from Query Availability's
85
+ * We recommend retrieving the event ID from *Query Availability's*
170
86
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability))
171
87
  * `availabilityEntries.slot.eventId` to avoid failed calls due to unavailability.
172
88
  * Specifying an event ID leads to automatic calculations of `slot.startDate`, `slot.endDate`,
@@ -190,7 +106,7 @@ interface CreateBookingSignature {
190
106
  *
191
107
  * You must specify either `participantsChoices` or `totalParticipants`.
192
108
  * The call fails if the specified `participantsChoices` aren't among the supported
193
- * service options and variants
109
+ * _service options and variants_
194
110
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
195
111
  *
196
112
  * ## Notify customers
@@ -217,14 +133,16 @@ interface CreateBookingSignature {
217
133
  * ## Payment status
218
134
  *
219
135
  * A booking is initially created with `{"paymentStatus": "UNDEFINED"}` regardless
220
- * of the payment status specified in Create Booking. If a customer uses an eCommerce
221
- * checkout ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
136
+ * of the payment status specified in Create Booking. If a customer uses an
137
+ * _eCommerce checkout_
138
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
222
139
  * Wix Bookings automatically syncs the booking's payment status from
223
- * the corresponding eCommerce order ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
140
+ * the corresponding *eCommerce order*
141
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
224
142
  *
225
143
  * If a booking doesn't have a corresponding eCommerce order, for example, since
226
144
  * the customer didn't use the eCommerce checkout, you can update the booking's
227
- * payment status with Confirm Or Decline Booking
145
+ * payment status with *Confirm Or Decline Booking*
228
146
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/confirm-or-decline-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)).
229
147
  *
230
148
  * ## Booking form data
@@ -272,7 +190,8 @@ interface BulkCreateBookingSignature {
272
190
  * Creates up to 8 bookings.
273
191
  *
274
192
  *
275
- * See Create Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/create-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/create-booking))
193
+ * See *Create Booking*
194
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/create-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/create-booking))
276
195
  * for more information.
277
196
  *
278
197
  * If any of the specified bookings is missing a required field the entire call
@@ -301,7 +220,7 @@ interface RescheduleBookingSignature {
301
220
  * ## Appointment sessions
302
221
  *
303
222
  * For appointments, the old session is removed from the business calendar
304
- * while a new session is added. We recommend calling Query Availability
223
+ * while a new session is added. We recommend calling *Query Availability*
305
224
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability))
306
225
  * first and specifying the entire retrieved `slot`.
307
226
  *
@@ -309,7 +228,7 @@ interface RescheduleBookingSignature {
309
228
  *
310
229
  * For classes, the new session must be an existing session belonging to the
311
230
  * same class. We recommend retrieving `availabilityEntries.slot.eventId`
312
- * from Query Availability
231
+ * from *Query Availability*
313
232
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability))
314
233
  * to avoid failed Reschedule Booking calls due to unavailability. Specify
315
234
  * only `slot.eventId` instead of the entire `slot` object.
@@ -364,16 +283,16 @@ interface ConfirmBookingSignature {
364
283
  * ## eCommerce checkout restriction
365
284
  *
366
285
  * Call this method only when using a custom checkout page. Don't
367
- * call it when using a Wix eCommerce checkout
286
+ * call it when using a *Wix eCommerce checkout*
368
287
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
369
288
  * In such cases, Wix automatically updates the booking status based on
370
- * the `paymentStatus` of the corresponding Wix eCommerce order
289
+ * the `paymentStatus` of the corresponding *Wix eCommerce order*
371
290
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
372
291
  *
373
292
  * ## When to call Confirm Or Decline Booking instead
374
293
  *
375
294
  * Confirm Booking doesn't check whether a slot or schedule is still available. For
376
- * these checks you can call Confirm or Decline Booking
295
+ * these checks you can call *Confirm or Decline Booking*
377
296
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/confirm-or-decline-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)).
378
297
  *
379
298
  * ## Original status validation
@@ -445,16 +364,16 @@ interface DeclineBookingSignature {
445
364
  * ## eCommerce checkout restriction
446
365
  *
447
366
  * Call this method only when using a custom checkout page. Don't
448
- * call it when using a Wix eCommerce checkout
367
+ * call it when using a *Wix eCommerce checkout*
449
368
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
450
369
  * In such cases, Wix automatically updates the booking status based on
451
- * the `paymentStatus` of the corresponding Wix eCommerce order
370
+ * the `paymentStatus` of the corresponding *Wix eCommerce order*
452
371
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
453
372
  *
454
373
  * ## When to call Confirm Or Decline Booking instead
455
374
  *
456
375
  * The method doesn't check whether a slot or schedule is still available. For
457
- * these checks you can call Confirm or Decline Booking
376
+ * these checks you can call *Confirm or Decline Booking*
458
377
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/confirm-or-decline-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)).
459
378
  *
460
379
  * ## Original status validation
@@ -549,77 +468,161 @@ interface UpdateNumberOfParticipantsSignature {
549
468
  *
550
469
  * You must specify either `participantsChoices` or `totalParticipants`.
551
470
  * The call fails if the specified `participantsChoices` aren't among the
552
- * supported service options and variants
471
+ * supported *service options and variants*
553
472
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
554
473
  * @param - ID of the booking to update the number of participants for.
555
474
  */
556
475
  (bookingId: string, options?: UpdateNumberOfParticipantsOptions | undefined): Promise<UpdateNumberOfParticipantsResponse & UpdateNumberOfParticipantsResponseNonNullableFields>;
557
476
  }
558
- export declare function confirmOrDeclineBooking(httpClient: HttpClient): ConfirmOrDeclineBookingSignature;
559
- interface ConfirmOrDeclineBookingSignature {
477
+ export declare function createMultiServiceBooking(httpClient: HttpClient): CreateMultiServiceBookingSignature;
478
+ interface CreateMultiServiceBookingSignature {
560
479
  /**
561
- * Updates the booking `status` to `CONFIRMED`, `PENDING`, or `DECLINED` based
562
- * on the `paymentStatus` you provide, double booking conflicts, and whether
563
- * the service requires business approval.
480
+ * Creates a multi-service booking.
564
481
  *
565
- * ## eCommerce checkout restriction
566
482
  *
567
- * Call this method only when using a custom checkout page. Don't
568
- * call it when using a *Wix eCommerce checkout*
569
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
570
- * In such cases, Wix automatically updates the booking status based on
571
- * the `paymentStatus` of the corresponding *Wix eCommerce order*
572
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
483
+ * See Create Booking for more information.
484
+ * @param - Single-service bookings to combine in a multi-service booking.
485
+ */
486
+ (bookings: Booking[], options?: CreateMultiServiceBookingOptions | undefined): Promise<CreateMultiServiceBookingResponse & CreateMultiServiceBookingResponseNonNullableFields>;
487
+ }
488
+ export declare function rescheduleMultiServiceBooking(httpClient: HttpClient): RescheduleMultiServiceBookingSignature;
489
+ interface RescheduleMultiServiceBookingSignature {
490
+ /**
491
+ * Reschedules a multi-service booking.
573
492
  *
574
- * ## New booking status
575
493
  *
576
- * The booking `status` is set to `DECLINED` if both of the following conditions
577
- * are met:
578
- * + You provide `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT` as payment status.
579
- * + There is a double booking conflict.
494
+ * The call fails if at least 1 individual booking can't be rescheduled due
495
+ * the service being unavailable or a rescheduling policy violation.
580
496
  *
581
- * If only one or none of these conditions is met, `status` is set to `PENDING`
582
- * or `CONFIRMED` depending on whether the service requires business approval.
583
497
  *
584
- * ## Double bookings
498
+ * See Reschedule Booking for more information.
499
+ * @param - ID of the multi service booking to reschedule.
500
+ * @param - Information about the single-service bookings to reschedule.
501
+ */
502
+ (multiServiceBookingId: string | null, rescheduleBookingsInfo: RescheduleBookingInfo[], options?: RescheduleMultiServiceBookingOptions | undefined): Promise<RescheduleMultiServiceBookingResponse & RescheduleMultiServiceBookingResponseNonNullableFields>;
503
+ }
504
+ export declare function getMultiServiceBookingAvailability(httpClient: HttpClient): GetMultiServiceBookingAvailabilitySignature;
505
+ interface GetMultiServiceBookingAvailabilitySignature {
506
+ /**
507
+ * Retrieves a multi-service booking's availability.
585
508
  *
586
- * If there is a double booking conflict, but the booking has already been at least
587
- * partially paid, the method still marks the booking as `PENDING` or `CONFIRMED`.
588
- * Then, it also sets `doubleBooked` to `true`.
589
509
  *
590
- * ## Admin overwrites
510
+ * Use List Multi Service Availability Time Slots to check availability for a
511
+ * `SEQUENTIAL_BOOKINGS` multi-service booking.
512
+ * @param - ID of the multi-service booking to retrieve.
513
+ */
514
+ (multiServiceBookingId: string | null): Promise<GetMultiServiceBookingAvailabilityResponse & GetMultiServiceBookingAvailabilityResponseNonNullableFields>;
515
+ }
516
+ export declare function cancelMultiServiceBooking(httpClient: HttpClient): CancelMultiServiceBookingSignature;
517
+ interface CancelMultiServiceBookingSignature {
518
+ /**
519
+ * Cancels a multi-service booking and thus all its individual bookings.
520
+ * @param - ID of the multi-service booking to cancel.
521
+ */
522
+ (multiServiceBookingId: string | null, options?: CancelMultiServiceBookingOptions | undefined): Promise<CancelMultiServiceBookingResponse & CancelMultiServiceBookingResponseNonNullableFields>;
523
+ }
524
+ export declare function markMultiServiceBookingAsPending(httpClient: HttpClient): MarkMultiServiceBookingAsPendingSignature;
525
+ interface MarkMultiServiceBookingAsPendingSignature {
526
+ /**
527
+ * Updates the status of a multi-service booking to `PENDING`.
591
528
  *
592
- * There are small but important differences in confirmation behavior if the
593
- * booking was created with special `flowControlSettings`:
594
- * + If the booking's `flowControlSettings.skipAvailabilityValidation` was set to
595
- * `true`, the booking is never declined regardless of double booking conflicts.
596
- * Instead, it's marked `CONFIRMED` or `PENDING`, depending on whether the
597
- * service requires business approval.
598
- * + If the booking's `flowControlSettings.skipBusinessConfirmation` was set to
599
- * `true`, the booking skips `PENDING` status and is marked `CONFIRMED`
600
- * immediately.
601
- * @param - ID of the booking to confirm or decline.
529
+ *
530
+ * Also updates the status of each of individual bookings within the multi-service booking to `PENDING`.
531
+ *
532
+ * The call fails if the status for at least a single individual booking can't be updated.
533
+ *
534
+ * See Mark Booking as Pending for more information.
535
+ * @param - ID of the multi-service booking to mark as `PENDING`.
602
536
  */
603
- (bookingId: string, options?: ConfirmOrDeclineBookingOptions | undefined): Promise<ConfirmOrDeclineBookingResponse & ConfirmOrDeclineBookingResponseNonNullableFields>;
537
+ (multiServiceBookingId: string | null, options?: MarkMultiServiceBookingAsPendingOptions | undefined): Promise<MarkMultiServiceBookingAsPendingResponse & MarkMultiServiceBookingAsPendingResponseNonNullableFields>;
604
538
  }
605
- export declare function bulkConfirmOrDeclineBooking(httpClient: HttpClient): BulkConfirmOrDeclineBookingSignature;
606
- interface BulkConfirmOrDeclineBookingSignature {
539
+ export declare function confirmMultiServiceBooking(httpClient: HttpClient): ConfirmMultiServiceBookingSignature;
540
+ interface ConfirmMultiServiceBookingSignature {
607
541
  /**
608
- * Confirms or declines up to 300 bookings.
542
+ * Updates the status of a multi-service booking to `CONFIRMED`.
609
543
  *
610
544
  *
611
- * See *Confirm Or Decline Booking*
612
- * ([SDK](https://dev.wix.com/docs/velo/api-reference/wix-bookings-v2/bookings/confirm-or-decline-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking))
613
- * for details about when a booking is confirmed or declined.
614
- * @param - Bookings to confirm or decline.
545
+ * Also updates the status of each of individual bookings within the multi-service booking to `CONFIRMED`.
546
+ *
547
+ * The call fails if the status for at least a single individual booking can't be updated.
548
+ *
549
+ * See Confirm Booking for more information.
550
+ * @param - ID of the multi-service booking to confirm its related bookings.
615
551
  */
616
- (details: BulkConfirmOrDeclineBookingRequestBookingDetails[], options?: BulkConfirmOrDeclineBookingOptions | undefined): Promise<BulkConfirmOrDeclineBookingResponse & BulkConfirmOrDeclineBookingResponseNonNullableFields>;
552
+ (multiServiceBookingId: string | null, options?: ConfirmMultiServiceBookingOptions | undefined): Promise<ConfirmMultiServiceBookingResponse & ConfirmMultiServiceBookingResponseNonNullableFields>;
553
+ }
554
+ export declare function declineMultiServiceBooking(httpClient: HttpClient): DeclineMultiServiceBookingSignature;
555
+ interface DeclineMultiServiceBookingSignature {
556
+ /**
557
+ * Updates the status of a multi-service booking to `DECLINED`.
558
+ *
559
+ *
560
+ * Also updates the status of each of individual bookings within the multi-service booking to `DECLINED`.
561
+ *
562
+ * The call fails if the status for at least a single individual booking can't be updated.
563
+ *
564
+ * See Decline Booking for more information.
565
+ * @param - ID of the multi service booking to decline.
566
+ */
567
+ (multiServiceBookingId: string | null, options?: DeclineMultiServiceBookingOptions | undefined): Promise<DeclineMultiServiceBookingResponse & DeclineMultiServiceBookingResponseNonNullableFields>;
568
+ }
569
+ export declare function bulkGetMultiServiceBookingAllowedActions(httpClient: HttpClient): BulkGetMultiServiceBookingAllowedActionsSignature;
570
+ interface BulkGetMultiServiceBookingAllowedActionsSignature {
571
+ /**
572
+ * Retrieves the allowed actions for a list of multi-service bookings.
573
+ * @param - IDs of the multi-service bookings to retrieve allowed actions for.
574
+ */
575
+ (multiServiceBookingIds: string[] | null): Promise<BulkGetMultiServiceBookingAllowedActionsResponse & BulkGetMultiServiceBookingAllowedActionsResponseNonNullableFields>;
576
+ }
577
+ export declare function getMultiServiceBooking(httpClient: HttpClient): GetMultiServiceBookingSignature;
578
+ interface GetMultiServiceBookingSignature {
579
+ /**
580
+ * Retrieves all single-service bookings belonging to a multi-service booking.
581
+ *
582
+ *
583
+ * If you call as an [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities)
584
+ * who has permissions to read only part of the bookings,
585
+ * only the permitted bookings are retrieved. The returned total number of
586
+ * bookings includes also the bookings for which you don't have permissions.
587
+ * @param - ID of the multi-service booking.
588
+ * @returns Retrieved multi-service booking.
589
+ */
590
+ (multiServiceBookingId: string | null): Promise<MultiServiceBooking & MultiServiceBookingNonNullableFields>;
591
+ }
592
+ export declare function addBookingsToMultiServiceBooking(httpClient: HttpClient): AddBookingsToMultiServiceBookingSignature;
593
+ interface AddBookingsToMultiServiceBookingSignature {
594
+ /**
595
+ * Adds a list of single-service bookings to a multi-service booking.
596
+ *
597
+ *
598
+ * The call fails, if at least 1 of the specified booking is already part of a
599
+ * multi-service booking.
600
+ * @param - ID of the multi-service booking.
601
+ */
602
+ (multiServiceBookingId: string | null, options?: AddBookingsToMultiServiceBookingOptions | undefined): Promise<AddBookingsToMultiServiceBookingResponse & AddBookingsToMultiServiceBookingResponseNonNullableFields>;
603
+ }
604
+ export declare function removeBookingsFromMultiServiceBooking(httpClient: HttpClient): RemoveBookingsFromMultiServiceBookingSignature;
605
+ interface RemoveBookingsFromMultiServiceBookingSignature {
606
+ /**
607
+ * Removes single-service bookings from a multi-service booking and returns the
608
+ * removed bookings.
609
+ *
610
+ *
611
+ * If you specify an empty `bookings` array, all single-service bookings for which
612
+ * the call's [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities)
613
+ * has read permissions are removed from the multi-service booking.
614
+ *
615
+ * If the call would create a multi-service booking including only 1 single-service
616
+ * booking, the multi-service booking is also deleted.
617
+ * @param - ID of the multi-service booking.
618
+ */
619
+ (multiServiceBookingId: string | null, options?: RemoveBookingsFromMultiServiceBookingOptions | undefined): Promise<RemoveBookingsFromMultiServiceBookingResponse & RemoveBookingsFromMultiServiceBookingResponseNonNullableFields>;
617
620
  }
618
621
  export declare const onBookingCanceled: EventDefinition<BookingCanceledEnvelope, "wix.bookings.v2.booking_canceled">;
619
622
  export declare const onBookingConfirmed: EventDefinition<BookingConfirmedEnvelope, "wix.bookings.v2.booking_confirmed">;
620
623
  export declare const onBookingCreated: EventDefinition<BookingCreatedEnvelope, "wix.bookings.v2.booking_created">;
621
624
  export declare const onBookingDeclined: EventDefinition<BookingDeclinedEnvelope, "wix.bookings.v2.booking_declined">;
625
+ export declare const onBookingNumberOfParticipantsUpdated: EventDefinition<BookingNumberOfParticipantsUpdatedEnvelope, "wix.bookings.v2.booking_number_of_participants_updated">;
622
626
  export declare const onBookingRescheduled: EventDefinition<BookingRescheduledEnvelope, "wix.bookings.v2.booking_rescheduled">;
623
627
  export declare const onBookingUpdated: EventDefinition<BookingUpdatedEnvelope, "wix.bookings.v2.booking_updated">;
624
- export declare const onBookingNumberOfParticipantsUpdated: EventDefinition<BookingNumberOfParticipantsUpdatedEnvelope, "wix.bookings.v2.booking_number_of_participants_updated">;
625
628
  export { ActionEvent, Actor, AddBookingsToMultiServiceBookingOptions, AddBookingsToMultiServiceBookingRequest, AddBookingsToMultiServiceBookingResponse, AddBookingsToMultiServiceBookingResponseNonNullableFields, Address, AddressLocation, AddressStreetOneOf, AllowedActions, ApplicationError, AvailableResources, BaseEventMetadata, BookedEntity, BookedEntityItemOneOf, BookedResource, BookedSchedule, BookedSlot, Booking, BookingCanceled, BookingCanceledEnvelope, BookingChanged, BookingConfirmed, BookingConfirmedEnvelope, BookingCreatedEnvelope, BookingDeclined, BookingDeclinedEnvelope, BookingDetails, BookingFormFilled, BookingIdAndRevision, BookingInfo, BookingMarkedAsPending, BookingNumberOfParticipantsUpdatedEnvelope, BookingParticipantsInfoOneOf, BookingPolicySettings, BookingPolicyViolations, BookingRescheduled, BookingRescheduledEnvelope, BookingRescheduledPreviousParticipantsInfoOneOf, BookingResult, BookingSource, BookingStatus, BookingUpdatedEnvelope, BulkActionMetadata, BulkBookingResult, BulkCalculateAllowedActionsRequest, BulkCalculateAllowedActionsResponse, BulkCalculateAllowedActionsResult, BulkConfirmOrDeclineBookingOptions, BulkConfirmOrDeclineBookingRequest, BulkConfirmOrDeclineBookingRequestBookingDetails, BulkConfirmOrDeclineBookingResponse, BulkConfirmOrDeclineBookingResponseNonNullableFields, BulkCreateBookingOptions, BulkCreateBookingRequest, BulkCreateBookingResponse, BulkCreateBookingResponseNonNullableFields, BulkGetMultiServiceBookingAllowedActionsRequest, BulkGetMultiServiceBookingAllowedActionsResponse, BulkGetMultiServiceBookingAllowedActionsResponseNonNullableFields, BulkRescheduleBookingRequest, BulkRescheduleBookingRequestBooking, BulkRescheduleBookingResponse, BulkUpdateBookedScheduleRequest, BulkUpdateBookedScheduleResponse, BulkUpdateBookingRequest, BulkUpdateBookingResponse, CancelBookingFlowControlSettings, CancelBookingOptions, CancelBookingRequest, CancelBookingRequestFlowControlSettings, CancelBookingResponse, CancelBookingResponseNonNullableFields, CancelMultiServiceBookingOptions, CancelMultiServiceBookingRequest, CancelMultiServiceBookingResponse, CancelMultiServiceBookingResponseNonNullableFields, Clash, CommonIdentificationData, CommonIdentificationDataIdOneOf, ConfirmBookingFlowControlSettings, ConfirmBookingOptions, ConfirmBookingRequest, ConfirmBookingResponse, ConfirmBookingResponseNonNullableFields, ConfirmMultiServiceBookingOptions, ConfirmMultiServiceBookingRequest, ConfirmMultiServiceBookingResponse, ConfirmMultiServiceBookingResponseNonNullableFields, ConfirmOrDeclineBookingOptions, ConfirmOrDeclineBookingRequest, ConfirmOrDeclineBookingResponse, ConfirmOrDeclineBookingResponseNonNullableFields, ConfirmRequest, ConfirmResponse, ConsistentQueryBookingsRequest, ConsistentQueryBookingsResponse, ContactDetails, CountBookingsRequest, CountBookingsResponse, CreateBookingFlowControlSettings, CreateBookingInfo, CreateBookingOptions, CreateBookingRequest, CreateBookingRequestFlowControlSettings, CreateBookingResponse, CreateBookingResponseNonNullableFields, CreateMultiServiceBookingOptions, CreateMultiServiceBookingRequest, CreateMultiServiceBookingResponse, CreateMultiServiceBookingResponseNonNullableFields, CursorPaging, Cursors, CustomFormField, DeclineBookingFlowControlSettings, DeclineBookingOptions, DeclineBookingRequest, DeclineBookingResponse, DeclineBookingResponseNonNullableFields, DeclineMultiServiceBookingOptions, DeclineMultiServiceBookingRequest, DeclineMultiServiceBookingResponse, DeclineMultiServiceBookingResponseNonNullableFields, DomainEvent, DomainEventBodyOneOf, Duration, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, FlowControlSettings, GetMultiServiceBookingAvailabilityRequest, GetMultiServiceBookingAvailabilityResponse, GetMultiServiceBookingAvailabilityResponseBookingInfo, GetMultiServiceBookingAvailabilityResponseNonNullableFields, GetMultiServiceBookingRequest, GetMultiServiceBookingResponse, GetMultiServiceBookingResponseNonNullableFields, GetScheduleAvailabilityRequest, GetScheduleAvailabilityResponse, GetSlotAvailabilityRequest, GetSlotAvailabilityResponse, IdentificationData, IdentificationDataIdOneOf, IdentificationDataIdentityType, IdentityType, ItemMetadata, LegacyCreateBookingRequest, LegacyCreateBookingResponse, Location, LocationLocationType, LocationType, MarkBookingAsPendingFlowControlSettings, MarkBookingAsPendingRequest, MarkBookingAsPendingResponse, MarkMultiServiceBookingAsPendingOptions, MarkMultiServiceBookingAsPendingRequest, MarkMultiServiceBookingAsPendingResponse, MarkMultiServiceBookingAsPendingResponseNonNullableFields, MaskedBooking, MessageEnvelope, MigrationCheckIfClashesWithBlockedTimeRequest, MigrationCheckIfClashesWithBlockedTimeResponse, MsidAndBookingId, MultiServiceBooking, MultiServiceBookingInfo, MultiServiceBookingMetadata, MultiServiceBookingNonNullableFields, MultiServiceBookingType, NumberOfParticipantsUpdated, NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf, Paging, PagingMetadataV2, ParticipantChoices, ParticipantNotification, PaymentStatus, Platform, QueryBookingsRequest, QueryBookingsResponse, QueryV2, QueryV2PagingMethodOneOf, RemoveBookingsFromMultiServiceBookingOptions, RemoveBookingsFromMultiServiceBookingRequest, RemoveBookingsFromMultiServiceBookingResponse, RemoveBookingsFromMultiServiceBookingResponseNonNullableFields, RescheduleBookingFlowControlSettings, RescheduleBookingInfo, RescheduleBookingInfoParticipantsInfoOneOf, RescheduleBookingOptions, RescheduleBookingRequest, RescheduleBookingRequestFlowControlSettings, RescheduleBookingRequestParticipantsInfoOneOf, RescheduleBookingResponse, RescheduleBookingResponseNonNullableFields, RescheduleMultiServiceBookingOptions, RescheduleMultiServiceBookingRequest, RescheduleMultiServiceBookingResponse, RescheduleMultiServiceBookingResponseNonNullableFields, RestoreInfo, ScheduleAvailability, SelectedPaymentOption, ServiceChoice, ServiceChoiceChoiceOneOf, ServiceChoices, SetBookingFormAndSubmissionIdRequest, SetBookingFormAndSubmissionIdResponse, SetBookingSessionIdRequest, SetBookingSessionIdResponse, SetBookingSubmissionIdRequest, SetBookingSubmissionIdResponse, Slot, SlotAvailability, SlotBookings, SlotLocation, SlotResource, SlotSlotResource, SortOrder, Sorting, StreetAddress, Subdivision, UpdateBookingRequest, UpdateBookingResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, UpdateExtendedFieldsResponseNonNullableFields, UpdateNumberOfParticipantsOptions, UpdateNumberOfParticipantsRequest, UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, UpdateNumberOfParticipantsResponse, UpdateNumberOfParticipantsResponseNonNullableFields, V2CancelBookingRequest, V2CancelBookingResponse, V2ConfirmBookingRequest, V2ConfirmBookingResponse, V2CreateBookingRequest, V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf, V2CreateBookingResponse, V2DeclineBookingRequest, V2DeclineBookingResponse, V2RescheduleBookingRequest, V2RescheduleBookingRequestParticipantsInfoOneOf, V2RescheduleBookingResponse, V2Slot, V2UpdateNumberOfParticipantsRequest, V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, V2UpdateNumberOfParticipantsResponse, ValueType, WaitingList, WebhookIdentityType, WebhooksIdentificationData, WebhooksIdentificationDataIdOneOf, } from './bookings-v2-booking-bookings.universal.js';