@wix/auto_sdk_bookings_bookings 1.0.81 → 1.0.83
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/build/cjs/index.d.ts +41 -58
- package/build/cjs/index.js +442 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +100 -121
- package/build/cjs/index.typings.js +407 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +50 -63
- package/build/cjs/meta.js +374 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +41 -58
- package/build/es/index.mjs +438 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +100 -121
- package/build/es/index.typings.mjs +403 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +50 -63
- package/build/es/meta.mjs +370 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +94 -60
- package/build/internal/cjs/index.js +442 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +146 -121
- package/build/internal/cjs/index.typings.js +407 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +50 -63
- package/build/internal/cjs/meta.js +374 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +94 -60
- package/build/internal/es/index.mjs +438 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +146 -121
- package/build/internal/es/index.typings.mjs +403 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +50 -63
- package/build/internal/es/meta.mjs +370 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -4,14 +4,13 @@ import { NonNullablePaths } from '@wix/sdk-types';
|
|
|
4
4
|
interface Booking extends BookingParticipantsInfoOneOf {
|
|
5
5
|
/**
|
|
6
6
|
* Total number of participants.
|
|
7
|
-
* When creating a booking, use this field only if the relevant service has fixed pricing and doesn't offer variants and options
|
|
7
|
+
* When creating a booking, use this field only if the relevant service has fixed pricing and doesn't offer [variants and options](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
8
8
|
* @min 1
|
|
9
9
|
*/
|
|
10
10
|
totalParticipants?: number;
|
|
11
11
|
/**
|
|
12
12
|
* Information about the booked service choices and participant count for each choice.
|
|
13
|
-
* When creating a booking, use this field only if the booking includes multiple service variants
|
|
14
|
-
* ([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)).
|
|
13
|
+
* When creating a booking, use this field only if the booking includes multiple [service variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
15
14
|
*
|
|
16
15
|
* For example, use this for a spa package booking that includes different service levels:
|
|
17
16
|
* - 2 participants chose "Standard Package".
|
|
@@ -42,8 +41,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
42
41
|
*/
|
|
43
42
|
bookedEntity?: BookedEntity;
|
|
44
43
|
/**
|
|
45
|
-
* Contact details of the site visitor or member
|
|
46
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/members/members/introduction) | [REST](https://dev.wix.com/docs/rest/crm/members-contacts/members/members/introduction))
|
|
44
|
+
* Contact details of the site visitor or [member](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members/introduction))
|
|
47
45
|
* making the booking.
|
|
48
46
|
*/
|
|
49
47
|
contactDetails?: ContactDetails;
|
|
@@ -69,8 +67,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
69
67
|
status?: BookingStatusWithLiterals;
|
|
70
68
|
/**
|
|
71
69
|
* The payment status of the booking. This field automatically syncs with the
|
|
72
|
-
* `paymentStatus` of the corresponding eCommerce order
|
|
73
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup)| [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction))
|
|
70
|
+
* `paymentStatus` of the corresponding [eCommerce order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/introduction)
|
|
74
71
|
* when customers use Wix eCommerce checkout.
|
|
75
72
|
*
|
|
76
73
|
* ### Integration patterns
|
|
@@ -78,17 +75,17 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
78
75
|
* __When using Wix eCommerce checkout__: Wix Bookings automatically syncs the payment status based on the eCommerce order's payment status.
|
|
79
76
|
* Do not manually update this field.
|
|
80
77
|
*
|
|
81
|
-
* __When using custom payment flows__: You can manually update the payment status with Confirm Booking or Decline Booking
|
|
78
|
+
* __When using custom payment flows__: You can manually update the payment status with [Confirm Booking or Decline Booking](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking) to reflect the customer's payment state.
|
|
82
79
|
*
|
|
83
|
-
* __For membership/pricing plan payments__: Wix Bookings automatically manages the payment status when customers pay with an active pricing plan
|
|
80
|
+
* __For membership/pricing plan payments__: Wix Bookings automatically manages the payment status when customers pay with an active [pricing plan](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans/introduction) subscription.
|
|
84
81
|
*
|
|
85
82
|
* All payment statuses are supported for every booking `status`.
|
|
86
83
|
*/
|
|
87
84
|
paymentStatus?: PaymentStatusWithLiterals;
|
|
88
85
|
/**
|
|
89
|
-
* Payment option selected by the customer. If the customer hasn't completed their checkout, they may still change the payment method. Must be one of the payment options offered by the service
|
|
86
|
+
* Payment option selected by the customer. If the customer hasn't completed their checkout, they may still change the payment method. Must be one of the payment options offered by the [service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction), unless `skipSelectedPaymentOptionValidation` is `true`.
|
|
90
87
|
*
|
|
91
|
-
* When undefined during an eCommerce checkout
|
|
88
|
+
* When undefined during an [eCommerce checkout](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/checkout/introduction), Wix Bookings uses the service's default payment option
|
|
92
89
|
*/
|
|
93
90
|
selectedPaymentOption?: SelectedPaymentOptionWithLiterals;
|
|
94
91
|
/**
|
|
@@ -138,15 +135,13 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
138
135
|
*/
|
|
139
136
|
doubleBooked?: boolean | null;
|
|
140
137
|
/**
|
|
141
|
-
* ID of the form submission
|
|
142
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/submissions/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-submissions/introduction))
|
|
138
|
+
* ID of the [form submission](https://dev.wix.com/docs/rest/crm/forms/form-submissions/introduction)
|
|
143
139
|
* associated with this booking.
|
|
144
140
|
* @format GUID
|
|
145
141
|
*/
|
|
146
142
|
formSubmissionId?: string | null;
|
|
147
143
|
/**
|
|
148
|
-
* ID of the form
|
|
149
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object))
|
|
144
|
+
* ID of the [form](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)
|
|
150
145
|
* associated with this booking. The value depends on how the
|
|
151
146
|
* booking was created:
|
|
152
147
|
* - For bookings created with Create Booking or Bulk Create Booking, `formId`
|
|
@@ -163,14 +158,13 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
163
158
|
interface BookingParticipantsInfoOneOf {
|
|
164
159
|
/**
|
|
165
160
|
* Total number of participants.
|
|
166
|
-
* When creating a booking, use this field only if the relevant service has fixed pricing and doesn't offer variants and options
|
|
161
|
+
* When creating a booking, use this field only if the relevant service has fixed pricing and doesn't offer [variants and options](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
167
162
|
* @min 1
|
|
168
163
|
*/
|
|
169
164
|
totalParticipants?: number;
|
|
170
165
|
/**
|
|
171
166
|
* Information about the booked service choices and participant count for each choice.
|
|
172
|
-
* When creating a booking, use this field only if the booking includes multiple service variants
|
|
173
|
-
* ([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)).
|
|
167
|
+
* When creating a booking, use this field only if the booking includes multiple [service variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
174
168
|
*
|
|
175
169
|
* For example, use this for a spa package booking that includes different service levels:
|
|
176
170
|
* - 2 participants chose "Standard Package".
|
|
@@ -196,8 +190,7 @@ declare enum MultiServiceBookingType {
|
|
|
196
190
|
type MultiServiceBookingTypeWithLiterals = MultiServiceBookingType | 'SEQUENTIAL_BOOKINGS' | 'SEPARATE_BOOKINGS' | 'PARALLEL_BOOKINGS';
|
|
197
191
|
interface BookedEntity extends BookedEntityItemOneOf {
|
|
198
192
|
/**
|
|
199
|
-
* Booked slot
|
|
200
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
|
|
193
|
+
* [Booked slot](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability).
|
|
201
194
|
*
|
|
202
195
|
* Specify `slot` when creating bookings for:
|
|
203
196
|
* - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).
|
|
@@ -209,8 +202,7 @@ interface BookedEntity extends BookedEntityItemOneOf {
|
|
|
209
202
|
*/
|
|
210
203
|
slot?: BookedSlot;
|
|
211
204
|
/**
|
|
212
|
-
* Booked schedule
|
|
213
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
|
|
205
|
+
* [Booked schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction).
|
|
214
206
|
*
|
|
215
207
|
* Specify `schedule` when creating bookings for:
|
|
216
208
|
* - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).
|
|
@@ -236,8 +228,7 @@ interface BookedEntity extends BookedEntityItemOneOf {
|
|
|
236
228
|
/** @oneof */
|
|
237
229
|
interface BookedEntityItemOneOf {
|
|
238
230
|
/**
|
|
239
|
-
* Booked slot
|
|
240
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
|
|
231
|
+
* [Booked slot](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability).
|
|
241
232
|
*
|
|
242
233
|
* Specify `slot` when creating bookings for:
|
|
243
234
|
* - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).
|
|
@@ -249,8 +240,7 @@ interface BookedEntityItemOneOf {
|
|
|
249
240
|
*/
|
|
250
241
|
slot?: BookedSlot;
|
|
251
242
|
/**
|
|
252
|
-
* Booked schedule
|
|
253
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)).
|
|
243
|
+
* [Booked schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction).
|
|
254
244
|
*
|
|
255
245
|
* Specify `schedule` when creating bookings for:
|
|
256
246
|
* - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).
|
|
@@ -266,8 +256,7 @@ interface BookedSlot {
|
|
|
266
256
|
/** Schedule ID. */
|
|
267
257
|
scheduleId?: string;
|
|
268
258
|
/**
|
|
269
|
-
* ID of the corresponding event
|
|
270
|
-
* ([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)).
|
|
259
|
+
* ID of the corresponding [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction).
|
|
271
260
|
* Available for both appointment and class bookings, not available for course bookings.
|
|
272
261
|
* For appointment-based services, Wix Bookings automatically populates `eventId` when the booking `status` changes to `CONFIRMED`.
|
|
273
262
|
* For class bookings, Wix Bookings automatically populates `eventId` upon booking creation.
|
|
@@ -285,9 +274,8 @@ interface BookedSlot {
|
|
|
285
274
|
*/
|
|
286
275
|
timezone?: string | null;
|
|
287
276
|
/**
|
|
288
|
-
* Primary resource
|
|
289
|
-
*
|
|
290
|
-
* For example, the staff member ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)) providing the service.
|
|
277
|
+
* [Primary resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction) for the booking.
|
|
278
|
+
* For example, the [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction) providing the service.
|
|
291
279
|
*/
|
|
292
280
|
resource?: BookedResource;
|
|
293
281
|
/** Location where the session takes place. */
|
|
@@ -380,7 +368,7 @@ declare enum SelectionMethod {
|
|
|
380
368
|
/** @enumType */
|
|
381
369
|
type SelectionMethodWithLiterals = SelectionMethod | 'UNKNOWN_SELECTION_METHOD' | 'SPECIFIC_RESOURCE' | 'ANY_RESOURCE' | 'NO_SELECTION';
|
|
382
370
|
interface BookedSchedule {
|
|
383
|
-
/** Schedule ID
|
|
371
|
+
/** [Schedule ID](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction). */
|
|
384
372
|
scheduleId?: string;
|
|
385
373
|
/**
|
|
386
374
|
* Booked service ID.
|
|
@@ -388,7 +376,7 @@ interface BookedSchedule {
|
|
|
388
376
|
*/
|
|
389
377
|
serviceId?: string | null;
|
|
390
378
|
/**
|
|
391
|
-
* Location
|
|
379
|
+
* [Location](https://dev.wix.com/docs/rest/business-management/locations/introduction) where the schedule's sessions take place.
|
|
392
380
|
* @readonly
|
|
393
381
|
*/
|
|
394
382
|
location?: Location;
|
|
@@ -532,26 +520,18 @@ type ValueTypeWithLiterals = ValueType | 'SHORT_TEXT' | 'LONG_TEXT' | 'CHECK_BOX
|
|
|
532
520
|
declare enum BookingStatus {
|
|
533
521
|
/** The booking was created, but the customer hasn't completed the related eCommerce order yet. */
|
|
534
522
|
CREATED = "CREATED",
|
|
535
|
-
/**
|
|
536
|
-
* The merchant has confirmed the booking and it appears in the business calendar. Merchants can set up their services
|
|
537
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction)) to automatically confirm all `PENDING` bookings.
|
|
538
|
-
*/
|
|
523
|
+
/** The merchant has confirmed the booking and it appears in the business calendar. Merchants can set up their [services](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction) to automatically confirm all `PENDING` bookings. */
|
|
539
524
|
CONFIRMED = "CONFIRMED",
|
|
540
525
|
/**
|
|
541
|
-
* The customer has canceled the booking. Depending on the relevant service's policy snapshot
|
|
542
|
-
*
|
|
543
|
-
* they may have to pay a cancellation fee ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-fees/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/booking-fees/introduction)).
|
|
526
|
+
* The customer has canceled the booking. Depending on the relevant service's [policy snapshot](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policy-snapshots/introduction)
|
|
527
|
+
* they may have to pay a [cancellation fee](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/booking-fees/introduction).
|
|
544
528
|
*/
|
|
545
529
|
CANCELED = "CANCELED",
|
|
546
530
|
/** The merchant must manually confirm the booking before it appears in the business calendar. */
|
|
547
531
|
PENDING = "PENDING",
|
|
548
532
|
/** The merchant has declined the booking before the customer was charged. */
|
|
549
533
|
DECLINED = "DECLINED",
|
|
550
|
-
/**
|
|
551
|
-
* The booking is on a waitlist.
|
|
552
|
-
* Currently, you can't call Register to Waitlist ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/waitlist/register-to-waitlist)) for course or appointment bookings, even though this is supported in live sites.
|
|
553
|
-
* You can call Register to Waitlist only for class session bookings.
|
|
554
|
-
*/
|
|
534
|
+
/** Currently, you can't call [Register to Waitlist](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/waitlist/register-to-waitlist) for course or appointment bookings, even though this is supported in live sites. */
|
|
555
535
|
WAITING_LIST = "WAITING_LIST"
|
|
556
536
|
}
|
|
557
537
|
/** @enumType */
|
|
@@ -718,8 +698,7 @@ interface FlowControlSettings {
|
|
|
718
698
|
skipAvailabilityValidation?: boolean;
|
|
719
699
|
/**
|
|
720
700
|
* Whether the booking's `status` is automatically updated to `CONFIRMED` when
|
|
721
|
-
* the customer completes the eCommerce checkout
|
|
722
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
|
|
701
|
+
* the customer completes the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction),
|
|
723
702
|
* regardless of whether the relevant service requires manual business confirmation.
|
|
724
703
|
*/
|
|
725
704
|
skipBusinessConfirmation?: boolean;
|
|
@@ -756,7 +735,7 @@ interface ParticipantChoices {
|
|
|
756
735
|
}
|
|
757
736
|
interface ServiceChoices {
|
|
758
737
|
/**
|
|
759
|
-
* Number of participants for this variant
|
|
738
|
+
* Number of participants for this [variant](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
760
739
|
* @min 1
|
|
761
740
|
*/
|
|
762
741
|
numberOfParticipants?: number | null;
|
|
@@ -914,7 +893,7 @@ interface CancelBookingAnonymouslyRequest {
|
|
|
914
893
|
* The token provided in the booking links for anonymous access
|
|
915
894
|
* @maxLength 2048
|
|
916
895
|
*/
|
|
917
|
-
token
|
|
896
|
+
token: string | null;
|
|
918
897
|
/**
|
|
919
898
|
* Revision number, which increments by 1 each time the booking is updated.
|
|
920
899
|
* To prevent conflicting changes, the current revision must be specified when
|
|
@@ -933,15 +912,15 @@ interface RescheduleBookingAnonymouslyRequest {
|
|
|
933
912
|
* The token provided in the booking links for anonymous access
|
|
934
913
|
* @maxLength 2048
|
|
935
914
|
*/
|
|
936
|
-
token
|
|
915
|
+
token: string | null;
|
|
937
916
|
/** New slot of the booking. */
|
|
938
|
-
slot
|
|
917
|
+
slot: V2Slot;
|
|
939
918
|
/**
|
|
940
919
|
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
941
920
|
* To prevent conflicting changes, the current revision must be passed when
|
|
942
921
|
* rescheduling the booking.
|
|
943
922
|
*/
|
|
944
|
-
revision
|
|
923
|
+
revision: string | null;
|
|
945
924
|
}
|
|
946
925
|
interface V2Slot {
|
|
947
926
|
/** Identifier for the underlying session when the session is a single session or generated from a recurring session. */
|
|
@@ -1035,7 +1014,7 @@ interface GetBookingAnonymouslyRequest {
|
|
|
1035
1014
|
* The token provided in the booking links for anonymous access
|
|
1036
1015
|
* @maxLength 2048
|
|
1037
1016
|
*/
|
|
1038
|
-
token
|
|
1017
|
+
token: string | null;
|
|
1039
1018
|
}
|
|
1040
1019
|
/** Response for GetBookingAnonymously */
|
|
1041
1020
|
interface GetBookingAnonymouslyResponse {
|
|
@@ -1635,8 +1614,7 @@ interface ConfirmOrDeclineBookingRequest {
|
|
|
1635
1614
|
bookingId: string;
|
|
1636
1615
|
/**
|
|
1637
1616
|
* Current payment status of the booking when using a custom checkout page and
|
|
1638
|
-
* not the
|
|
1639
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
|
|
1617
|
+
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
1640
1618
|
*
|
|
1641
1619
|
* The booking is declined if there is a double booking conflict and you provide
|
|
1642
1620
|
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
@@ -1665,8 +1643,7 @@ interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
|
1665
1643
|
bookingId?: string;
|
|
1666
1644
|
/**
|
|
1667
1645
|
* Current payment status of the booking when using a custom checkout page and
|
|
1668
|
-
* not the
|
|
1669
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
|
|
1646
|
+
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
1670
1647
|
*
|
|
1671
1648
|
* The booking is declined if there is a double booking conflict and you provide
|
|
1672
1649
|
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
@@ -2887,12 +2864,12 @@ interface RescheduleMultiServiceBookingRequest {
|
|
|
2887
2864
|
}
|
|
2888
2865
|
interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2889
2866
|
/**
|
|
2890
|
-
* Total number of participants. Available only for services with
|
|
2867
|
+
* Total number of participants. Available only for services with [variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
2891
2868
|
* Specify when all participants book the same variant.
|
|
2892
2869
|
*/
|
|
2893
2870
|
totalParticipants?: number;
|
|
2894
2871
|
/**
|
|
2895
|
-
* Information about the service choices to book. Available only for services with
|
|
2872
|
+
* Information about the service choices to book. Available only for services with [variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
2896
2873
|
* Specify when not all participants book the same variant.
|
|
2897
2874
|
*/
|
|
2898
2875
|
participantsChoices?: ParticipantChoices;
|
|
@@ -2912,12 +2889,12 @@ interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOne
|
|
|
2912
2889
|
/** @oneof */
|
|
2913
2890
|
interface RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2914
2891
|
/**
|
|
2915
|
-
* Total number of participants. Available only for services with
|
|
2892
|
+
* Total number of participants. Available only for services with [variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
2916
2893
|
* Specify when all participants book the same variant.
|
|
2917
2894
|
*/
|
|
2918
2895
|
totalParticipants?: number;
|
|
2919
2896
|
/**
|
|
2920
|
-
* Information about the service choices to book. Available only for services with
|
|
2897
|
+
* Information about the service choices to book. Available only for services with [variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
2921
2898
|
* Specify when not all participants book the same variant.
|
|
2922
2899
|
*/
|
|
2923
2900
|
participantsChoices?: ParticipantChoices;
|
|
@@ -3973,6 +3950,72 @@ interface BookingUpdatedEnvelope {
|
|
|
3973
3950
|
* @slug updated
|
|
3974
3951
|
*/
|
|
3975
3952
|
declare function onBookingUpdated(handler: (event: BookingUpdatedEnvelope) => void | Promise<void>): void;
|
|
3953
|
+
/**
|
|
3954
|
+
* Returns booking details related to AnonymousActions
|
|
3955
|
+
* Anonymous tokens for getting, canceling or rescheduling the booking.
|
|
3956
|
+
* That token is symmetrically encrypted and Url-safe.
|
|
3957
|
+
* That allows the UoU to cancel or reschedule without Authentication.
|
|
3958
|
+
* @internal
|
|
3959
|
+
* @documentationMaturity preview
|
|
3960
|
+
* @permissionId BOOKINGS.ANONYMOUS_BOOKING_ACTIONS_READ
|
|
3961
|
+
* @returns Response for GetAnonymousActionDetails
|
|
3962
|
+
* @fqn com.wixpress.bookings.bookings.v2.AnonymousBookingActions.GetAnonymousActionDetails
|
|
3963
|
+
*/
|
|
3964
|
+
declare function getAnonymousActionDetails(options?: GetAnonymousActionDetailsOptions): Promise<GetAnonymousActionDetailsResponse>;
|
|
3965
|
+
interface GetAnonymousActionDetailsOptions {
|
|
3966
|
+
/** @format GUID */
|
|
3967
|
+
bookingId?: string | null;
|
|
3968
|
+
}
|
|
3969
|
+
/**
|
|
3970
|
+
* Cancel booking using an anonymous token
|
|
3971
|
+
* @param token - The token provided in the booking links for anonymous access
|
|
3972
|
+
* @internal
|
|
3973
|
+
* @documentationMaturity preview
|
|
3974
|
+
* @requiredField token
|
|
3975
|
+
* @returns Response for CancelBookingAnonymously
|
|
3976
|
+
* @fqn com.wixpress.bookings.bookings.v2.AnonymousBookingActions.CancelBookingAnonymously
|
|
3977
|
+
*/
|
|
3978
|
+
declare function cancelBookingAnonymously(token: string, options?: CancelBookingAnonymouslyOptions): Promise<NonNullablePaths<CancelBookingAnonymouslyResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId`, 7>>;
|
|
3979
|
+
interface CancelBookingAnonymouslyOptions {
|
|
3980
|
+
/**
|
|
3981
|
+
* Revision number, which increments by 1 each time the booking is updated.
|
|
3982
|
+
* To prevent conflicting changes, the current revision must be specified when
|
|
3983
|
+
* managing the booking.
|
|
3984
|
+
*/
|
|
3985
|
+
revision?: string | null;
|
|
3986
|
+
}
|
|
3987
|
+
/**
|
|
3988
|
+
* Reschedule booking using an anonymous token
|
|
3989
|
+
* @param token - The token provided in the booking links for anonymous access
|
|
3990
|
+
* @param slot - New slot of the booking.
|
|
3991
|
+
* @internal
|
|
3992
|
+
* @documentationMaturity preview
|
|
3993
|
+
* @requiredField options
|
|
3994
|
+
* @requiredField options.revision
|
|
3995
|
+
* @requiredField slot
|
|
3996
|
+
* @requiredField token
|
|
3997
|
+
* @returns Response for RescheduleBookingAnonymously
|
|
3998
|
+
* @fqn com.wixpress.bookings.bookings.v2.AnonymousBookingActions.RescheduleBookingAnonymously
|
|
3999
|
+
*/
|
|
4000
|
+
declare function rescheduleBookingAnonymously(token: string, slot: V2Slot, options: NonNullablePaths<RescheduleBookingAnonymouslyOptions, `revision`, 2>): Promise<NonNullablePaths<RescheduleBookingAnonymouslyResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId`, 7>>;
|
|
4001
|
+
interface RescheduleBookingAnonymouslyOptions {
|
|
4002
|
+
/**
|
|
4003
|
+
* Revision number, which increments by 1 each time the booking is rescheduled.
|
|
4004
|
+
* To prevent conflicting changes, the current revision must be passed when
|
|
4005
|
+
* rescheduling the booking.
|
|
4006
|
+
*/
|
|
4007
|
+
revision: string | null;
|
|
4008
|
+
}
|
|
4009
|
+
/**
|
|
4010
|
+
* Get booking using an anonymous token
|
|
4011
|
+
* @param token - The token provided in the booking links for anonymous access
|
|
4012
|
+
* @internal
|
|
4013
|
+
* @documentationMaturity preview
|
|
4014
|
+
* @requiredField token
|
|
4015
|
+
* @returns Response for GetBookingAnonymously
|
|
4016
|
+
* @fqn com.wixpress.bookings.bookings.v2.AnonymousBookingActions.GetBookingAnonymously
|
|
4017
|
+
*/
|
|
4018
|
+
declare function getBookingAnonymously(token: string): Promise<NonNullablePaths<GetBookingAnonymouslyResponse, `booking.totalParticipants` | `booking.participantsChoices.serviceChoices` | `booking.bookedEntity.slot.serviceId` | `booking.bookedEntity.slot.scheduleId` | `booking.bookedEntity.slot.resource._id` | `booking.bookedEntity.slot.location.locationType` | `booking.bookedEntity.schedule.scheduleId` | `booking.bookedEntity.tags` | `booking.contactDetails.fullAddress.streetAddress.number` | `booking.contactDetails.fullAddress.streetAddress.name` | `booking.contactDetails.fullAddress.streetAddress.apt` | `booking.contactDetails.fullAddress.subdivisions` | `booking.contactDetails.fullAddress.subdivisions.${number}.code` | `booking.contactDetails.fullAddress.subdivisions.${number}.name` | `booking.additionalFields` | `booking.additionalFields.${number}._id` | `booking.additionalFields.${number}.valueType` | `booking.status` | `booking.paymentStatus` | `booking.selectedPaymentOption` | `booking.createdBy.anonymousVisitorId` | `booking.createdBy.memberId` | `booking.createdBy.wixUserId` | `booking.createdBy.appId` | `allowedActionsAnonymously.cancel` | `allowedActionsAnonymously.reschedule`, 7>>;
|
|
3976
4019
|
/**
|
|
3977
4020
|
* Updates the booking `status` to `CONFIRMED`, `PENDING`, or `DECLINED` based
|
|
3978
4021
|
* on the `paymentStatus` you provide, double booking conflicts, and whether
|
|
@@ -3981,11 +4024,9 @@ declare function onBookingUpdated(handler: (event: BookingUpdatedEnvelope) => vo
|
|
|
3981
4024
|
* ### eCommerce checkout restriction
|
|
3982
4025
|
*
|
|
3983
4026
|
* Call this method only when using a custom checkout page. Don't
|
|
3984
|
-
* call it when using a
|
|
3985
|
-
* ([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)).
|
|
4027
|
+
* call it when using a [Wix eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
3986
4028
|
* In such cases, Wix automatically updates the booking status based on
|
|
3987
|
-
* the `paymentStatus` of the corresponding
|
|
3988
|
-
* ([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)).
|
|
4029
|
+
* the `paymentStatus` of the corresponding [Wix eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction).
|
|
3989
4030
|
*
|
|
3990
4031
|
* ### New booking status
|
|
3991
4032
|
*
|
|
@@ -4027,8 +4068,7 @@ declare function confirmOrDeclineBooking(bookingId: string, options?: ConfirmOrD
|
|
|
4027
4068
|
interface ConfirmOrDeclineBookingOptions {
|
|
4028
4069
|
/**
|
|
4029
4070
|
* Current payment status of the booking when using a custom checkout page and
|
|
4030
|
-
* not the
|
|
4031
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
|
|
4071
|
+
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
4032
4072
|
*
|
|
4033
4073
|
* The booking is declined if there is a double booking conflict and you provide
|
|
4034
4074
|
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
@@ -4039,8 +4079,7 @@ interface ConfirmOrDeclineBookingOptions {
|
|
|
4039
4079
|
* Confirms or declines up to 300 bookings.
|
|
4040
4080
|
*
|
|
4041
4081
|
*
|
|
4042
|
-
* See
|
|
4043
|
-
* ([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))
|
|
4082
|
+
* See [Confirm Or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking)
|
|
4044
4083
|
* for details about when a booking is confirmed or declined.
|
|
4045
4084
|
* @param details - Bookings to confirm or decline.
|
|
4046
4085
|
* @public
|
|
@@ -4065,17 +4104,14 @@ interface BulkConfirmOrDeclineBookingOptions {
|
|
|
4065
4104
|
*
|
|
4066
4105
|
* For appointment-based services, specify the relevant `slot` in
|
|
4067
4106
|
* `bookedEntity.slot`. We recommend specifying the complete
|
|
4068
|
-
* `availabilityEntries.slot` returned in Query Availability
|
|
4069
|
-
* ([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))
|
|
4107
|
+
* `availabilityEntries.slot` returned in [Query Availability](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability)
|
|
4070
4108
|
* in your call's request to avoid failed calls due to unavailability.
|
|
4071
4109
|
*
|
|
4072
4110
|
* ### Class session booking
|
|
4073
4111
|
*
|
|
4074
|
-
* For class services, specify the relevant event ID
|
|
4075
|
-
* ([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))
|
|
4112
|
+
* For class services, specify the relevant [event ID](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)
|
|
4076
4113
|
* as `bookedEntity.slot.eventId`.
|
|
4077
|
-
* We recommend retrieving the event ID from Query Availability's
|
|
4078
|
-
* ([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))
|
|
4114
|
+
* We recommend retrieving the event ID from [Query Availability's](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability)
|
|
4079
4115
|
* `availabilityEntries.slot.eventId` to avoid failed calls due to unavailability.
|
|
4080
4116
|
* Specifying an event ID leads to automatic calculations of `slot.startDate`, `slot.endDate`,
|
|
4081
4117
|
* `slot.timezone`, `slot.resource`, and `slot.location`. All manually specified
|
|
@@ -4104,8 +4140,7 @@ interface BulkConfirmOrDeclineBookingOptions {
|
|
|
4104
4140
|
*
|
|
4105
4141
|
* You must specify either `participantsChoices` or `totalParticipants`.
|
|
4106
4142
|
* The call fails if the specified `participantsChoices` aren't among the supported
|
|
4107
|
-
*
|
|
4108
|
-
* ([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)).
|
|
4143
|
+
* [service options and variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
4109
4144
|
*
|
|
4110
4145
|
* ### Notify customers
|
|
4111
4146
|
*
|
|
@@ -4124,9 +4159,9 @@ interface BulkConfirmOrDeclineBookingOptions {
|
|
|
4124
4159
|
*
|
|
4125
4160
|
* All bookings are created with `paymentStatus=UNDEFINED`, ignoring the payment status you specify.
|
|
4126
4161
|
*
|
|
4127
|
-
* For customers paying with a Wix eCommerce checkout
|
|
4162
|
+
* For customers paying with a [Wix eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/purchase-flow/checkout/checkout/introduction), Wix Bookings automatically syncs the booking's payment status from the corresponding [eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction).
|
|
4128
4163
|
*
|
|
4129
|
-
* For customers using a custom checkout, call Confirm or Decline Booking
|
|
4164
|
+
* For customers using a custom checkout, call [Confirm or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking) to update booking's payment status manually.
|
|
4130
4165
|
*
|
|
4131
4166
|
* ### Booking form data
|
|
4132
4167
|
*
|
|
@@ -4197,8 +4232,7 @@ interface CreateBookingOptions {
|
|
|
4197
4232
|
* Creates up to 8 bookings.
|
|
4198
4233
|
*
|
|
4199
4234
|
*
|
|
4200
|
-
* See Create Booking
|
|
4201
|
-
* ([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))
|
|
4235
|
+
* See [Create Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/create-booking)
|
|
4202
4236
|
* for more information.
|
|
4203
4237
|
*
|
|
4204
4238
|
* If any of the specified bookings is missing a required field the entire call
|
|
@@ -4238,16 +4272,14 @@ interface BulkCreateBookingOptions {
|
|
|
4238
4272
|
* ### Appointment sessions
|
|
4239
4273
|
*
|
|
4240
4274
|
* For appointments, the old session is removed from the business calendar
|
|
4241
|
-
* while a new session is added. We recommend calling Query Availability
|
|
4242
|
-
* ([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))
|
|
4275
|
+
* while a new session is added. We recommend calling [Query Availability](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability)
|
|
4243
4276
|
* first and specifying the entire retrieved `slot`.
|
|
4244
4277
|
*
|
|
4245
4278
|
* ### Class sessions
|
|
4246
4279
|
*
|
|
4247
4280
|
* For classes, the new session must be an existing session belonging to the
|
|
4248
4281
|
* same class. We recommend retrieving `availabilityEntries.slot.eventId`
|
|
4249
|
-
* from Query Availability
|
|
4250
|
-
* ([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))
|
|
4282
|
+
* from [Query Availability](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/availability-calendar/query-availability)
|
|
4251
4283
|
* to avoid failed Reschedule Booking calls due to unavailability. Specify
|
|
4252
4284
|
* only `slot.eventId` instead of the entire `slot` object.
|
|
4253
4285
|
*
|
|
@@ -4348,16 +4380,14 @@ interface RescheduleBookingOptionsParticipantsInfoOneOf {
|
|
|
4348
4380
|
* ### eCommerce checkout restriction
|
|
4349
4381
|
*
|
|
4350
4382
|
* Call this method only when using a custom checkout page. Don't
|
|
4351
|
-
* call it when using a Wix eCommerce checkout
|
|
4352
|
-
* ([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)).
|
|
4383
|
+
* call it when using a [Wix eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
4353
4384
|
* In such cases, Wix automatically updates the booking status based on
|
|
4354
|
-
* the `paymentStatus` of the corresponding Wix eCommerce order
|
|
4355
|
-
* ([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)).
|
|
4385
|
+
* the `paymentStatus` of the corresponding [Wix eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction).
|
|
4356
4386
|
*
|
|
4357
4387
|
* ### When to call Confirm Or Decline Booking instead
|
|
4358
4388
|
*
|
|
4359
4389
|
* Confirm Booking doesn't check whether a slot or schedule is still available.
|
|
4360
|
-
* For these checks, call Confirm or Decline Booking
|
|
4390
|
+
* For these checks, call [Confirm or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking) instead.
|
|
4361
4391
|
*
|
|
4362
4392
|
* ### Original status validation
|
|
4363
4393
|
*
|
|
@@ -4480,17 +4510,14 @@ interface UpdateExtendedFieldsOptions {
|
|
|
4480
4510
|
* ### eCommerce checkout restriction
|
|
4481
4511
|
*
|
|
4482
4512
|
* Call this method only when using a custom checkout page. Don't
|
|
4483
|
-
* call it when using a Wix eCommerce checkout
|
|
4484
|
-
* ([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)).
|
|
4513
|
+
* call it when using a [Wix eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
4485
4514
|
* In such cases, Wix automatically updates the booking status based on
|
|
4486
|
-
* the `paymentStatus` of the corresponding Wix eCommerce order
|
|
4487
|
-
* ([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)).
|
|
4515
|
+
* the `paymentStatus` of the corresponding [Wix eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction).
|
|
4488
4516
|
*
|
|
4489
4517
|
* ### When to call Confirm Or Decline Booking instead
|
|
4490
4518
|
*
|
|
4491
4519
|
* The method doesn't check whether a slot or schedule is still available. For
|
|
4492
|
-
* these checks you can call Confirm or Decline Booking
|
|
4493
|
-
* ([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)).
|
|
4520
|
+
* these checks you can call [Confirm or Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-or-decline-booking).
|
|
4494
4521
|
*
|
|
4495
4522
|
* ### Original status validation
|
|
4496
4523
|
*
|
|
@@ -4631,8 +4658,7 @@ interface CancelBookingOptions {
|
|
|
4631
4658
|
*
|
|
4632
4659
|
* You must specify either `participantsChoices` or `totalParticipants`.
|
|
4633
4660
|
* The call fails if the specified `participantsChoices` aren't among the
|
|
4634
|
-
* supported service options and variants
|
|
4635
|
-
* ([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)).
|
|
4661
|
+
* supported [service options and variants](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
4636
4662
|
* @param bookingId - ID of the booking to update the number of participants for.
|
|
4637
4663
|
* @public
|
|
4638
4664
|
* @requiredField bookingId
|
|
@@ -4682,7 +4708,7 @@ interface UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
|
|
|
4682
4708
|
*
|
|
4683
4709
|
* ### Service requirement
|
|
4684
4710
|
*
|
|
4685
|
-
* By default, this method only works for
|
|
4711
|
+
* By default, this method only works for [services](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction) with `service.onlineBooking.requireManualApproval` set to `true`.
|
|
4686
4712
|
* If you attempt to mark a booking as pending for a service that doesn't require approval, the call fails unless you use the `skipPendingApprovalServiceValidation` admin overwrite.
|
|
4687
4713
|
*
|
|
4688
4714
|
* ### Status requirements
|
|
@@ -4692,15 +4718,15 @@ interface UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
|
|
|
4692
4718
|
*
|
|
4693
4719
|
* ### Checkout restrictions
|
|
4694
4720
|
*
|
|
4695
|
-
* Only call this method if the customer paid via a custom checkout. For Wix eCommerce checkouts
|
|
4721
|
+
* Only call this method if the customer paid via a custom checkout. For [Wix eCommerce checkouts](https://dev.wix.com/docs/rest/business-solutions/e-commerce/purchase-flow/checkout/introduction), Wix Bookings automatically manages the bookings' statuses based on payment processing.
|
|
4696
4722
|
*
|
|
4697
4723
|
* When using custom checkouts, you can also update the booking's `paymentStatus` by specifying a new payment status.
|
|
4698
4724
|
*
|
|
4699
4725
|
* ### Business workflow
|
|
4700
4726
|
*
|
|
4701
4727
|
* After marking a booking as `PENDING`, the business must manually approve or reject it. You can call these methods:
|
|
4702
|
-
* - Confirm Booking
|
|
4703
|
-
* - Decline Booking
|
|
4728
|
+
* - [Confirm Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-booking).
|
|
4729
|
+
* - [Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/decline-booking).
|
|
4704
4730
|
*
|
|
4705
4731
|
* ### Resource availability and scheduling
|
|
4706
4732
|
*
|
|
@@ -4708,7 +4734,7 @@ interface UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
|
|
|
4708
4734
|
*
|
|
4709
4735
|
* - **Calendar impact**: The booking appears on the business calendar.
|
|
4710
4736
|
* - **Availability**: The time slot becomes unavailable for other bookings, even while pending approval.
|
|
4711
|
-
* - **Resource assignment**: Available
|
|
4737
|
+
* - **Resource assignment**: Available [resources](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction) are automatically assigned if none were explicitly selected during booking creation.
|
|
4712
4738
|
*
|
|
4713
4739
|
* ### Double bookings
|
|
4714
4740
|
*
|
|
@@ -4781,7 +4807,7 @@ interface MarkBookingAsPendingOptions {
|
|
|
4781
4807
|
*
|
|
4782
4808
|
* ### When to call this method
|
|
4783
4809
|
*
|
|
4784
|
-
* Create sequential appointments where customers book related services together. For adding existing single-service bookings to an existing multi-service booking, call Add Bookings to Multi Service Booking
|
|
4810
|
+
* Create sequential appointments where customers book related services together. For adding existing single-service bookings to an existing multi-service booking, call [Add Bookings to Multi Service Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/add-bookings-to-multi-service-booking) instead.
|
|
4785
4811
|
*
|
|
4786
4812
|
* ### Requirements and behavior
|
|
4787
4813
|
*
|
|
@@ -4789,15 +4815,15 @@ interface MarkBookingAsPendingOptions {
|
|
|
4789
4815
|
*
|
|
4790
4816
|
* __Timing specification__: You must provide complete `slot` details (`scheduleId`, `startDate`, `endDate`) for each single-service booking. Wix Bookings validates sequential timing but doesn't auto-calculate it.
|
|
4791
4817
|
*
|
|
4792
|
-
* __Package pricing__: The total price equals the sum of individual services. Wix Bookings automatically syncs the payment status from the corresponding Wix eCommerce order
|
|
4818
|
+
* __Package pricing__: The total price equals the sum of individual services. Wix Bookings automatically syncs the payment status from the corresponding [Wix eCommerce order](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction) if the customer paid via an [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
4793
4819
|
*
|
|
4794
4820
|
* __Package notifications__: Customers receive 1 unified notification for the entire multi-service booking. Wix Bookings doesn't send notifications for the package's individual single-service bookings.
|
|
4795
4821
|
*
|
|
4796
4822
|
* ### Related methods
|
|
4797
4823
|
*
|
|
4798
|
-
* Verify availability first with List Multi Service Availability Time Slots
|
|
4824
|
+
* Verify availability first with [List Multi Service Availability Time Slots](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/time-slots-v2/list-multi-service-availability-time-slots).
|
|
4799
4825
|
*
|
|
4800
|
-
* See Create Booking
|
|
4826
|
+
* See [Create Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/create-booking) for more details about constraints and effects of creating single-service bookings.
|
|
4801
4827
|
* @param bookings - Between 2 to 8 new single-service booking specifications to create and combine in a multi-service booking.
|
|
4802
4828
|
*
|
|
4803
4829
|
* Each single-service booking specification must include `slot` details (`scheduleId`, `startDate`, and `endDate`).
|
|
@@ -4854,7 +4880,7 @@ interface CreateMultiServiceBookingOptions {
|
|
|
4854
4880
|
*
|
|
4855
4881
|
* This method fails if it can't reschedule at least 1 single-service booking. You must provide the current revision number for each single-service booking you're rescheduling to prevent conflicting changes.
|
|
4856
4882
|
*
|
|
4857
|
-
* See Reschedule Booking
|
|
4883
|
+
* See [Reschedule Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/reschedule-booking) for single-service booking rescheduling details.
|
|
4858
4884
|
* @param multiServiceBookingId - ID of the multi-service booking to reschedule.
|
|
4859
4885
|
* @param rescheduleBookingsInfo - Information about the single-service bookings to reschedule.
|
|
4860
4886
|
* @public
|
|
@@ -4888,14 +4914,13 @@ interface RescheduleMultiServiceBookingOptions {
|
|
|
4888
4914
|
*
|
|
4889
4915
|
*
|
|
4890
4916
|
* Wix Bookings considers:
|
|
4891
|
-
* - The relevant services' booking policies
|
|
4892
|
-
* - The availability of all required
|
|
4917
|
+
* - The relevant services' [booking policies](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction).
|
|
4918
|
+
* - The availability of all required [resources](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction).
|
|
4893
4919
|
*
|
|
4894
4920
|
* Call this method to check if an existing multi-service booking is still valid after business configuration changes.
|
|
4895
4921
|
* For example, staff changes, policy updates, or capacity modifications.
|
|
4896
4922
|
*
|
|
4897
|
-
* For checking availability before creating new multi-service bookings, call List Multi Service Availability Time Slots
|
|
4898
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/time-slots/multi-service-availability-time-slots/list-multi-service-availability-time-slots) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/time-slots-v2/list-multi-service-availability-time-slots)) instead.
|
|
4923
|
+
* For checking availability before creating new multi-service bookings, call [List Multi Service Availability Time Slots](https://dev.wix.com/docs/rest/business-solutions/bookings/time-slots/time-slots-v2/list-multi-service-availability-time-slots) instead.
|
|
4899
4924
|
* @param multiServiceBookingId - ID of the multi-service booking to retrieve.
|
|
4900
4925
|
* @public
|
|
4901
4926
|
* @documentationMaturity preview
|
|
@@ -4914,7 +4939,7 @@ declare function getMultiServiceBookingAvailability(multiServiceBookingId: strin
|
|
|
4914
4939
|
* Cancels the entire multi-service booking, updating the status of all single-service bookings to `CANCELED`.
|
|
4915
4940
|
* The call fails if all single-service bookings are already canceled or declined.
|
|
4916
4941
|
*
|
|
4917
|
-
* See Cancel Booking
|
|
4942
|
+
* See [Cancel Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/cancel-booking) for single-service booking cancellation details.
|
|
4918
4943
|
* @param multiServiceBookingId - ID of the multi-service booking to cancel.
|
|
4919
4944
|
* @public
|
|
4920
4945
|
* @documentationMaturity preview
|
|
@@ -4960,7 +4985,7 @@ interface CancelMultiServiceBookingOptions {
|
|
|
4960
4985
|
* - __Customer notifications__: Send messages using `participantNotification`.
|
|
4961
4986
|
* - __Revision control__: Requires current revision numbers for all single-service bookings.
|
|
4962
4987
|
*
|
|
4963
|
-
* See Mark Booking as Pending
|
|
4988
|
+
* See [Mark Booking as Pending](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/mark-booking-as-pending) for more details about marking single-service bookings as pending.
|
|
4964
4989
|
* @param multiServiceBookingId - ID of the multi-service booking to mark as `PENDING`.
|
|
4965
4990
|
* @public
|
|
4966
4991
|
* @documentationMaturity preview
|
|
@@ -5020,7 +5045,7 @@ interface MarkMultiServiceBookingAsPendingOptions {
|
|
|
5020
5045
|
* - __Customer notifications__: Send messages using `participantNotification`.
|
|
5021
5046
|
* - __Revision control__: Requires current revision numbers for all single-service bookings.
|
|
5022
5047
|
*
|
|
5023
|
-
* See Confirm Booking
|
|
5048
|
+
* See [Confirm Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-booking) for more details about confirming single-service bookings.
|
|
5024
5049
|
* @param multiServiceBookingId - ID of the multi-service booking to confirm its related bookings.
|
|
5025
5050
|
* @public
|
|
5026
5051
|
* @documentationMaturity preview
|
|
@@ -5076,7 +5101,7 @@ interface ConfirmMultiServiceBookingOptions {
|
|
|
5076
5101
|
* - __Customer notifications__: Send messages using `participantNotification`.
|
|
5077
5102
|
* - __Revision control__: Requires current revision numbers for all single-service bookings.
|
|
5078
5103
|
*
|
|
5079
|
-
* Refer to Decline Booking
|
|
5104
|
+
* Refer to [Decline Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/decline-booking) for more details about declining single-service bookings.
|
|
5080
5105
|
* @param multiServiceBookingId - ID of the multi-service booking to decline.
|
|
5081
5106
|
* @public
|
|
5082
5107
|
* @documentationMaturity preview
|
|
@@ -5113,7 +5138,7 @@ interface DeclineMultiServiceBookingOptions {
|
|
|
5113
5138
|
*
|
|
5114
5139
|
* Bear the following considerations in mind when calling this method:
|
|
5115
5140
|
*
|
|
5116
|
-
* __Real-time validation__: Wix Bookings calculates allowed actions based on current multi-service booking status, booking policies
|
|
5141
|
+
* __Real-time validation__: Wix Bookings calculates allowed actions based on current multi-service booking status, [booking policies](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction), and [available resources](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction) at the time of the call.
|
|
5117
5142
|
*
|
|
5118
5143
|
* __Permission context__: Depending on the permissions of the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities), you may see different allowed actions for the same multi-service booking. For example, if the identity has permissions to read only part of the multi-service booking, the response indicates which single-service bookings the identity can read.
|
|
5119
5144
|
*
|
|
@@ -5137,7 +5162,7 @@ declare function bulkGetMultiServiceBookingAllowedActions(multiServiceBookingIds
|
|
|
5137
5162
|
* If you call on behalf of an [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) with permissions to read only part of the multi-service booking, only the permitted single-service bookings are retrieved.
|
|
5138
5163
|
* The returned total number includes single-service bookings for which you don't have permissions.
|
|
5139
5164
|
*
|
|
5140
|
-
* See Query Extended Bookings
|
|
5165
|
+
* See [Query Extended Bookings](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-reader-v2/query-extended-bookings) for details about retrieving individual single-service bookings and additional metadata.
|
|
5141
5166
|
* @param multiServiceBookingId - ID of the multi-service booking.
|
|
5142
5167
|
* @public
|
|
5143
5168
|
* @documentationMaturity preview
|
|
@@ -5155,7 +5180,7 @@ declare function getMultiServiceBooking(multiServiceBookingId: string): Promise<
|
|
|
5155
5180
|
* ### When to call this method
|
|
5156
5181
|
*
|
|
5157
5182
|
* Call this method to add 1 or more existing single-service bookings to an existing multi-service booking.
|
|
5158
|
-
* For creating a new multi-service booking with new single-service bookings, call Create Multi Service Booking
|
|
5183
|
+
* For creating a new multi-service booking with new single-service bookings, call [Create Multi Service Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/create-multi-service-booking) instead.
|
|
5159
5184
|
*
|
|
5160
5185
|
* ### Package integration
|
|
5161
5186
|
*
|
|
@@ -5204,7 +5229,7 @@ interface AddBookingsToMultiServiceBookingOptions {
|
|
|
5204
5229
|
*
|
|
5205
5230
|
* __Selective removal__: Specify single-service booking IDs and revisions to remove only specific single-service bookings from the package.
|
|
5206
5231
|
*
|
|
5207
|
-
* __Sequential scheduling__: To maintain sequential scheduling, remove only first or last single-service bookings. For middle bookings, first reschedule all relevant single-service bookings to eliminate gaps. To do so, call Reschedule Multi Service Booking
|
|
5232
|
+
* __Sequential scheduling__: To maintain sequential scheduling, remove only first or last single-service bookings. For middle bookings, first reschedule all relevant single-service bookings to eliminate gaps. To do so, call [Reschedule Multi Service Booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/reschedule-multi-service-booking) before removing the unwanted bookings.
|
|
5208
5233
|
*
|
|
5209
5234
|
* ### Removal behavior
|
|
5210
5235
|
*
|
|
@@ -5240,4 +5265,4 @@ interface RemoveBookingsFromMultiServiceBookingOptions {
|
|
|
5240
5265
|
returnFullEntity?: boolean;
|
|
5241
5266
|
}
|
|
5242
5267
|
|
|
5243
|
-
export { type ActionEvent, Actor, type ActorWithLiterals, type AddBookingsToMultiServiceBookingApplicationErrors, type AddBookingsToMultiServiceBookingOptions, type AddBookingsToMultiServiceBookingRequest, type AddBookingsToMultiServiceBookingResponse, type Address, type AddressLocation, type AddressStreetOneOf, type AllowedActions, type AllowedActionsAnonymously, type AnonymousBookingUrls, type ApplicationError, type AvailableResources, type BaseEventMetadata, type BookedAddOn, type BookedEntity, type BookedEntityItemOneOf, type BookedResource, type BookedSchedule, type BookedSlot, type Booking, type BookingCanceled, type BookingCanceledEnvelope, type BookingChanged, type BookingConfirmed, type BookingConfirmedEnvelope, type BookingCreatedEnvelope, type BookingDeclined, type BookingDeclinedEnvelope, type BookingDetails, type BookingFormFilled, type BookingIdAndRevision, type BookingInfo, type BookingMarkedAsPending, type BookingNumberOfParticipantsUpdatedEnvelope, type BookingParticipantsInfoOneOf, type BookingPolicySettings, type BookingPolicyViolations, type BookingRescheduled, type BookingRescheduledEnvelope, type BookingRescheduledPreviousParticipantsInfoOneOf, type BookingResult, type BookingSource, BookingStatus, type BookingStatusWithLiterals, type BookingUpdatedEnvelope, type BulkActionMetadata, type BulkBookingResult, type BulkCalculateAllowedActionsRequest, type BulkCalculateAllowedActionsResponse, type BulkCalculateAllowedActionsResult, type BulkConfirmOrDeclineBookingApplicationErrors, type BulkConfirmOrDeclineBookingOptions, type BulkConfirmOrDeclineBookingRequest, type BulkConfirmOrDeclineBookingRequestBookingDetails, type BulkConfirmOrDeclineBookingResponse, type BulkCreateBookingApplicationErrors, type BulkCreateBookingOptions, type BulkCreateBookingRequest, type BulkCreateBookingResponse, type BulkGetMultiServiceBookingAllowedActionsRequest, type BulkGetMultiServiceBookingAllowedActionsResponse, type BulkRescheduleBookingRequest, type BulkRescheduleBookingRequestBooking, type BulkRescheduleBookingResponse, type BulkUpdateBookedScheduleRequest, type BulkUpdateBookedScheduleResponse, type BulkUpdateBookingRequest, type BulkUpdateBookingResponse, type CancelBookingAnonymouslyRequest, type CancelBookingAnonymouslyResponse, type CancelBookingApplicationErrors, type CancelBookingFlowControlSettings, type CancelBookingOptions, type CancelBookingRequest, type CancelBookingRequestFlowControlSettings, type CancelBookingResponse, type CancelMultiServiceBookingApplicationErrors, type CancelMultiServiceBookingOptions, type CancelMultiServiceBookingRequest, type CancelMultiServiceBookingResponse, type Clash, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type ConfirmBookingApplicationErrors, type ConfirmBookingFlowControlSettings, type ConfirmBookingOptions, type ConfirmBookingRequest, type ConfirmBookingResponse, type ConfirmMultiServiceBookingApplicationErrors, type ConfirmMultiServiceBookingOptions, type ConfirmMultiServiceBookingRequest, type ConfirmMultiServiceBookingResponse, type ConfirmOrDeclineBookingApplicationErrors, type ConfirmOrDeclineBookingOptions, type ConfirmOrDeclineBookingRequest, type ConfirmOrDeclineBookingResponse, type ConfirmRequest, type ConfirmResponse, type ConsistentQueryBookingsRequest, type ConsistentQueryBookingsResponse, type ContactDetails, type CountBookingsRequest, type CountBookingsResponse, type CreateBookingApplicationErrors, type CreateBookingFlowControlSettings, type CreateBookingInfo, type CreateBookingOptions, type CreateBookingRequest, type CreateBookingRequestFlowControlSettings, type CreateBookingResponse, type CreateMultiServiceBookingApplicationErrors, type CreateMultiServiceBookingOptions, type CreateMultiServiceBookingRequest, type CreateMultiServiceBookingResponse, type CursorPaging, type Cursors, type CustomFormField, type DeclineBookingApplicationErrors, type DeclineBookingFlowControlSettings, type DeclineBookingOptions, type DeclineBookingRequest, type DeclineBookingResponse, type DeclineMultiServiceBookingApplicationErrors, type DeclineMultiServiceBookingOptions, type DeclineMultiServiceBookingRequest, type DeclineMultiServiceBookingResponse, type DomainEvent, type DomainEventBodyOneOf, type Duration, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FlowControlSettings, type GetAnonymousActionDetailsRequest, type GetAnonymousActionDetailsResponse, type GetBookingAnonymouslyRequest, type GetBookingAnonymouslyResponse, type GetMultiServiceBookingAvailabilityApplicationErrors, type GetMultiServiceBookingAvailabilityRequest, type GetMultiServiceBookingAvailabilityResponse, type GetMultiServiceBookingAvailabilityResponseBookingInfo, type GetMultiServiceBookingRequest, type GetMultiServiceBookingResponse, type GetScheduleAvailabilityRequest, type GetScheduleAvailabilityResponse, type GetSlotAvailabilityRequest, type GetSlotAvailabilityResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationDataIdentityType, type IdentificationDataIdentityTypeWithLiterals, IdentityType, type IdentityTypeWithLiterals, type ItemMetadata, type LegacyCreateBookingRequest, type LegacyCreateBookingResponse, type Location, LocationLocationType, type LocationLocationTypeWithLiterals, LocationType, type LocationTypeWithLiterals, type MarkBookingAsPendingApplicationErrors, type MarkBookingAsPendingFlowControlSettings, type MarkBookingAsPendingOptions, type MarkBookingAsPendingRequest, type MarkBookingAsPendingResponse, type MarkMultiServiceBookingAsPendingApplicationErrors, type MarkMultiServiceBookingAsPendingOptions, type MarkMultiServiceBookingAsPendingRequest, type MarkMultiServiceBookingAsPendingResponse, type MaskedBooking, type MessageEnvelope, type MigrationCheckIfClashesWithBlockedTimeRequest, type MigrationCheckIfClashesWithBlockedTimeResponse, type MsidAndBookingId, type MultiServiceBooking, type MultiServiceBookingInfo, type MultiServiceBookingMetadata, MultiServiceBookingType, type MultiServiceBookingTypeWithLiterals, type NumberOfParticipantsUpdated, type NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf, type Paging, type PagingMetadataV2, type ParticipantChoices, type ParticipantNotification, PaymentStatus, type PaymentStatusWithLiterals, Platform, type PlatformWithLiterals, type QueryBookingsRequest, type QueryBookingsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type RemoveBookingsFromMultiServiceBookingApplicationErrors, type RemoveBookingsFromMultiServiceBookingOptions, type RemoveBookingsFromMultiServiceBookingRequest, type RemoveBookingsFromMultiServiceBookingResponse, type RescheduleBookingAnonymouslyRequest, type RescheduleBookingAnonymouslyResponse, type RescheduleBookingApplicationErrors, type RescheduleBookingFlowControlSettings, type RescheduleBookingInfo, type RescheduleBookingInfoParticipantsInfoOneOf, type RescheduleBookingOptions, type RescheduleBookingOptionsParticipantsInfoOneOf, type RescheduleBookingRequest, type RescheduleBookingRequestFlowControlSettings, type RescheduleBookingRequestParticipantsInfoOneOf, type RescheduleBookingResponse, type RescheduleMultiServiceBookingApplicationErrors, type RescheduleMultiServiceBookingOptions, type RescheduleMultiServiceBookingRequest, type RescheduleMultiServiceBookingResponse, type ResourceSelection, type RestoreInfo, type ScheduleAvailability, SelectedPaymentOption, type SelectedPaymentOptionWithLiterals, SelectionMethod, type SelectionMethodWithLiterals, type ServiceChoice, type ServiceChoiceChoiceOneOf, type ServiceChoices, type SetBookingFormAndSubmissionIdRequest, type SetBookingFormAndSubmissionIdRequestCreatedByOneOf, type SetBookingFormAndSubmissionIdResponse, type SetBookingSessionIdRequest, type SetBookingSessionIdResponse, type SetBookingSubmissionIdApplicationErrors, type SetBookingSubmissionIdRequest, type SetBookingSubmissionIdResponse, type Slot, type SlotAvailability, type SlotBookings, type SlotLocation, type SlotResource, type SlotSlotResource, SortOrder, type SortOrderWithLiterals, type Sorting, type StreetAddress, type Subdivision, type UpdateBookingRequest, type UpdateBookingResponse, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateNumberOfParticipantsApplicationErrors, type UpdateNumberOfParticipantsOptions, type UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf, type UpdateNumberOfParticipantsRequest, type UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, type UpdateNumberOfParticipantsResponse, type V2CancelBookingRequest, type V2CancelBookingResponse, type V2ConfirmBookingRequest, type V2ConfirmBookingResponse, type V2CreateBookingRequest, type V2CreateBookingRequestBookableItemOneOf, type V2CreateBookingRequestParticipantsInfoOneOf, type V2CreateBookingResponse, type V2DeclineBookingRequest, type V2DeclineBookingResponse, type V2RescheduleBookingRequest, type V2RescheduleBookingRequestParticipantsInfoOneOf, type V2RescheduleBookingResponse, type V2Slot, type V2UpdateNumberOfParticipantsRequest, type V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, type V2UpdateNumberOfParticipantsResponse, ValueType, type ValueTypeWithLiterals, type WaitingList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WebhooksIdentificationData, type WebhooksIdentificationDataIdOneOf, addBookingsToMultiServiceBooking, bulkConfirmOrDeclineBooking, bulkCreateBooking, bulkGetMultiServiceBookingAllowedActions, cancelBooking, cancelMultiServiceBooking, confirmBooking, confirmMultiServiceBooking, confirmOrDeclineBooking, createBooking, createMultiServiceBooking, declineBooking, declineMultiServiceBooking, getMultiServiceBooking, getMultiServiceBookingAvailability, markBookingAsPending, markMultiServiceBookingAsPending, onBookingCanceled, onBookingConfirmed, onBookingCreated, onBookingDeclined, onBookingNumberOfParticipantsUpdated, onBookingRescheduled, onBookingUpdated, removeBookingsFromMultiServiceBooking, rescheduleBooking, rescheduleMultiServiceBooking, setBookingSubmissionId, updateExtendedFields, updateNumberOfParticipants };
|
|
5268
|
+
export { type ActionEvent, Actor, type ActorWithLiterals, type AddBookingsToMultiServiceBookingApplicationErrors, type AddBookingsToMultiServiceBookingOptions, type AddBookingsToMultiServiceBookingRequest, type AddBookingsToMultiServiceBookingResponse, type Address, type AddressLocation, type AddressStreetOneOf, type AllowedActions, type AllowedActionsAnonymously, type AnonymousBookingUrls, type ApplicationError, type AvailableResources, type BaseEventMetadata, type BookedAddOn, type BookedEntity, type BookedEntityItemOneOf, type BookedResource, type BookedSchedule, type BookedSlot, type Booking, type BookingCanceled, type BookingCanceledEnvelope, type BookingChanged, type BookingConfirmed, type BookingConfirmedEnvelope, type BookingCreatedEnvelope, type BookingDeclined, type BookingDeclinedEnvelope, type BookingDetails, type BookingFormFilled, type BookingIdAndRevision, type BookingInfo, type BookingMarkedAsPending, type BookingNumberOfParticipantsUpdatedEnvelope, type BookingParticipantsInfoOneOf, type BookingPolicySettings, type BookingPolicyViolations, type BookingRescheduled, type BookingRescheduledEnvelope, type BookingRescheduledPreviousParticipantsInfoOneOf, type BookingResult, type BookingSource, BookingStatus, type BookingStatusWithLiterals, type BookingUpdatedEnvelope, type BulkActionMetadata, type BulkBookingResult, type BulkCalculateAllowedActionsRequest, type BulkCalculateAllowedActionsResponse, type BulkCalculateAllowedActionsResult, type BulkConfirmOrDeclineBookingApplicationErrors, type BulkConfirmOrDeclineBookingOptions, type BulkConfirmOrDeclineBookingRequest, type BulkConfirmOrDeclineBookingRequestBookingDetails, type BulkConfirmOrDeclineBookingResponse, type BulkCreateBookingApplicationErrors, type BulkCreateBookingOptions, type BulkCreateBookingRequest, type BulkCreateBookingResponse, type BulkGetMultiServiceBookingAllowedActionsRequest, type BulkGetMultiServiceBookingAllowedActionsResponse, type BulkRescheduleBookingRequest, type BulkRescheduleBookingRequestBooking, type BulkRescheduleBookingResponse, type BulkUpdateBookedScheduleRequest, type BulkUpdateBookedScheduleResponse, type BulkUpdateBookingRequest, type BulkUpdateBookingResponse, type CancelBookingAnonymouslyOptions, type CancelBookingAnonymouslyRequest, type CancelBookingAnonymouslyResponse, type CancelBookingApplicationErrors, type CancelBookingFlowControlSettings, type CancelBookingOptions, type CancelBookingRequest, type CancelBookingRequestFlowControlSettings, type CancelBookingResponse, type CancelMultiServiceBookingApplicationErrors, type CancelMultiServiceBookingOptions, type CancelMultiServiceBookingRequest, type CancelMultiServiceBookingResponse, type Clash, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type ConfirmBookingApplicationErrors, type ConfirmBookingFlowControlSettings, type ConfirmBookingOptions, type ConfirmBookingRequest, type ConfirmBookingResponse, type ConfirmMultiServiceBookingApplicationErrors, type ConfirmMultiServiceBookingOptions, type ConfirmMultiServiceBookingRequest, type ConfirmMultiServiceBookingResponse, type ConfirmOrDeclineBookingApplicationErrors, type ConfirmOrDeclineBookingOptions, type ConfirmOrDeclineBookingRequest, type ConfirmOrDeclineBookingResponse, type ConfirmRequest, type ConfirmResponse, type ConsistentQueryBookingsRequest, type ConsistentQueryBookingsResponse, type ContactDetails, type CountBookingsRequest, type CountBookingsResponse, type CreateBookingApplicationErrors, type CreateBookingFlowControlSettings, type CreateBookingInfo, type CreateBookingOptions, type CreateBookingRequest, type CreateBookingRequestFlowControlSettings, type CreateBookingResponse, type CreateMultiServiceBookingApplicationErrors, type CreateMultiServiceBookingOptions, type CreateMultiServiceBookingRequest, type CreateMultiServiceBookingResponse, type CursorPaging, type Cursors, type CustomFormField, type DeclineBookingApplicationErrors, type DeclineBookingFlowControlSettings, type DeclineBookingOptions, type DeclineBookingRequest, type DeclineBookingResponse, type DeclineMultiServiceBookingApplicationErrors, type DeclineMultiServiceBookingOptions, type DeclineMultiServiceBookingRequest, type DeclineMultiServiceBookingResponse, type DomainEvent, type DomainEventBodyOneOf, type Duration, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FlowControlSettings, type GetAnonymousActionDetailsOptions, type GetAnonymousActionDetailsRequest, type GetAnonymousActionDetailsResponse, type GetBookingAnonymouslyRequest, type GetBookingAnonymouslyResponse, type GetMultiServiceBookingAvailabilityApplicationErrors, type GetMultiServiceBookingAvailabilityRequest, type GetMultiServiceBookingAvailabilityResponse, type GetMultiServiceBookingAvailabilityResponseBookingInfo, type GetMultiServiceBookingRequest, type GetMultiServiceBookingResponse, type GetScheduleAvailabilityRequest, type GetScheduleAvailabilityResponse, type GetSlotAvailabilityRequest, type GetSlotAvailabilityResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationDataIdentityType, type IdentificationDataIdentityTypeWithLiterals, IdentityType, type IdentityTypeWithLiterals, type ItemMetadata, type LegacyCreateBookingRequest, type LegacyCreateBookingResponse, type Location, LocationLocationType, type LocationLocationTypeWithLiterals, LocationType, type LocationTypeWithLiterals, type MarkBookingAsPendingApplicationErrors, type MarkBookingAsPendingFlowControlSettings, type MarkBookingAsPendingOptions, type MarkBookingAsPendingRequest, type MarkBookingAsPendingResponse, type MarkMultiServiceBookingAsPendingApplicationErrors, type MarkMultiServiceBookingAsPendingOptions, type MarkMultiServiceBookingAsPendingRequest, type MarkMultiServiceBookingAsPendingResponse, type MaskedBooking, type MessageEnvelope, type MigrationCheckIfClashesWithBlockedTimeRequest, type MigrationCheckIfClashesWithBlockedTimeResponse, type MsidAndBookingId, type MultiServiceBooking, type MultiServiceBookingInfo, type MultiServiceBookingMetadata, MultiServiceBookingType, type MultiServiceBookingTypeWithLiterals, type NumberOfParticipantsUpdated, type NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf, type Paging, type PagingMetadataV2, type ParticipantChoices, type ParticipantNotification, PaymentStatus, type PaymentStatusWithLiterals, Platform, type PlatformWithLiterals, type QueryBookingsRequest, type QueryBookingsResponse, type QueryV2, type QueryV2PagingMethodOneOf, type RemoveBookingsFromMultiServiceBookingApplicationErrors, type RemoveBookingsFromMultiServiceBookingOptions, type RemoveBookingsFromMultiServiceBookingRequest, type RemoveBookingsFromMultiServiceBookingResponse, type RescheduleBookingAnonymouslyOptions, type RescheduleBookingAnonymouslyRequest, type RescheduleBookingAnonymouslyResponse, type RescheduleBookingApplicationErrors, type RescheduleBookingFlowControlSettings, type RescheduleBookingInfo, type RescheduleBookingInfoParticipantsInfoOneOf, type RescheduleBookingOptions, type RescheduleBookingOptionsParticipantsInfoOneOf, type RescheduleBookingRequest, type RescheduleBookingRequestFlowControlSettings, type RescheduleBookingRequestParticipantsInfoOneOf, type RescheduleBookingResponse, type RescheduleMultiServiceBookingApplicationErrors, type RescheduleMultiServiceBookingOptions, type RescheduleMultiServiceBookingRequest, type RescheduleMultiServiceBookingResponse, type ResourceSelection, type RestoreInfo, type ScheduleAvailability, SelectedPaymentOption, type SelectedPaymentOptionWithLiterals, SelectionMethod, type SelectionMethodWithLiterals, type ServiceChoice, type ServiceChoiceChoiceOneOf, type ServiceChoices, type SetBookingFormAndSubmissionIdRequest, type SetBookingFormAndSubmissionIdRequestCreatedByOneOf, type SetBookingFormAndSubmissionIdResponse, type SetBookingSessionIdRequest, type SetBookingSessionIdResponse, type SetBookingSubmissionIdApplicationErrors, type SetBookingSubmissionIdRequest, type SetBookingSubmissionIdResponse, type Slot, type SlotAvailability, type SlotBookings, type SlotLocation, type SlotResource, type SlotSlotResource, SortOrder, type SortOrderWithLiterals, type Sorting, type StreetAddress, type Subdivision, type UpdateBookingRequest, type UpdateBookingResponse, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateNumberOfParticipantsApplicationErrors, type UpdateNumberOfParticipantsOptions, type UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf, type UpdateNumberOfParticipantsRequest, type UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, type UpdateNumberOfParticipantsResponse, type V2CancelBookingRequest, type V2CancelBookingResponse, type V2ConfirmBookingRequest, type V2ConfirmBookingResponse, type V2CreateBookingRequest, type V2CreateBookingRequestBookableItemOneOf, type V2CreateBookingRequestParticipantsInfoOneOf, type V2CreateBookingResponse, type V2DeclineBookingRequest, type V2DeclineBookingResponse, type V2RescheduleBookingRequest, type V2RescheduleBookingRequestParticipantsInfoOneOf, type V2RescheduleBookingResponse, type V2Slot, type V2UpdateNumberOfParticipantsRequest, type V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, type V2UpdateNumberOfParticipantsResponse, ValueType, type ValueTypeWithLiterals, type WaitingList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WebhooksIdentificationData, type WebhooksIdentificationDataIdOneOf, addBookingsToMultiServiceBooking, bulkConfirmOrDeclineBooking, bulkCreateBooking, bulkGetMultiServiceBookingAllowedActions, cancelBooking, cancelBookingAnonymously, cancelMultiServiceBooking, confirmBooking, confirmMultiServiceBooking, confirmOrDeclineBooking, createBooking, createMultiServiceBooking, declineBooking, declineMultiServiceBooking, getAnonymousActionDetails, getBookingAnonymously, getMultiServiceBooking, getMultiServiceBookingAvailability, markBookingAsPending, markMultiServiceBookingAsPending, onBookingCanceled, onBookingConfirmed, onBookingCreated, onBookingDeclined, onBookingNumberOfParticipantsUpdated, onBookingRescheduled, onBookingUpdated, removeBookingsFromMultiServiceBooking, rescheduleBooking, rescheduleBookingAnonymously, rescheduleMultiServiceBooking, setBookingSubmissionId, updateExtendedFields, updateNumberOfParticipants };
|