@wix/auto_sdk_bookings_bookings 1.0.82 → 1.0.84
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 +49 -65
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +97 -124
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +47 -57
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +49 -65
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +97 -124
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +47 -57
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +49 -65
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +97 -124
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +47 -57
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +49 -65
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +97 -124
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +47 -57
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -5,14 +5,13 @@ import '@wix/sdk-types';
|
|
|
5
5
|
interface Booking extends BookingParticipantsInfoOneOf {
|
|
6
6
|
/**
|
|
7
7
|
* Total number of participants.
|
|
8
|
-
* When creating a booking, use this field only if the relevant service has fixed pricing and doesn't offer variants and options
|
|
8
|
+
* 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).
|
|
9
9
|
* @min 1
|
|
10
10
|
*/
|
|
11
11
|
totalParticipants?: number;
|
|
12
12
|
/**
|
|
13
13
|
* Information about the booked service choices and participant count for each choice.
|
|
14
|
-
* When creating a booking, use this field only if the booking includes multiple service variants
|
|
15
|
-
* ([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)).
|
|
14
|
+
* 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).
|
|
16
15
|
*
|
|
17
16
|
* For example, use this for a spa package booking that includes different service levels:
|
|
18
17
|
* - 2 participants chose "Standard Package".
|
|
@@ -43,8 +42,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
43
42
|
*/
|
|
44
43
|
bookedEntity?: BookedEntity;
|
|
45
44
|
/**
|
|
46
|
-
* Contact details of the site visitor or member
|
|
47
|
-
* ([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))
|
|
45
|
+
* Contact details of the site visitor or [member](https://dev.wix.com/docs/api-reference/crm/members-contacts/members/members/introduction))
|
|
48
46
|
* making the booking.
|
|
49
47
|
*/
|
|
50
48
|
contactDetails?: ContactDetails;
|
|
@@ -70,8 +68,7 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
70
68
|
status?: BookingStatusWithLiterals;
|
|
71
69
|
/**
|
|
72
70
|
* The payment status of the booking. This field automatically syncs with the
|
|
73
|
-
* `paymentStatus` of the corresponding eCommerce order
|
|
74
|
-
* ([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))
|
|
71
|
+
* `paymentStatus` of the corresponding [eCommerce order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/introduction)
|
|
75
72
|
* when customers use Wix eCommerce checkout.
|
|
76
73
|
*
|
|
77
74
|
* ### Integration patterns
|
|
@@ -79,17 +76,17 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
79
76
|
* __When using Wix eCommerce checkout__: Wix Bookings automatically syncs the payment status based on the eCommerce order's payment status.
|
|
80
77
|
* Do not manually update this field.
|
|
81
78
|
*
|
|
82
|
-
* __When using custom payment flows__: You can manually update the payment status with Confirm Booking or Decline Booking
|
|
79
|
+
* __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.
|
|
83
80
|
*
|
|
84
|
-
* __For membership/pricing plan payments__: Wix Bookings automatically manages the payment status when customers pay with an active pricing plan
|
|
81
|
+
* __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.
|
|
85
82
|
*
|
|
86
83
|
* All payment statuses are supported for every booking `status`.
|
|
87
84
|
*/
|
|
88
85
|
paymentStatus?: PaymentStatusWithLiterals;
|
|
89
86
|
/**
|
|
90
|
-
* 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
|
|
87
|
+
* 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`.
|
|
91
88
|
*
|
|
92
|
-
* When undefined during an eCommerce checkout
|
|
89
|
+
* 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
|
|
93
90
|
*/
|
|
94
91
|
selectedPaymentOption?: SelectedPaymentOptionWithLiterals;
|
|
95
92
|
/**
|
|
@@ -139,15 +136,13 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
139
136
|
*/
|
|
140
137
|
doubleBooked?: boolean | null;
|
|
141
138
|
/**
|
|
142
|
-
* ID of the form submission
|
|
143
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/submissions/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-submissions/introduction))
|
|
139
|
+
* ID of the [form submission](https://dev.wix.com/docs/rest/crm/forms/form-submissions/introduction)
|
|
144
140
|
* associated with this booking.
|
|
145
141
|
* @format GUID
|
|
146
142
|
*/
|
|
147
143
|
formSubmissionId?: string | null;
|
|
148
144
|
/**
|
|
149
|
-
* ID of the form
|
|
150
|
-
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object))
|
|
145
|
+
* ID of the [form](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)
|
|
151
146
|
* associated with this booking. The value depends on how the
|
|
152
147
|
* booking was created:
|
|
153
148
|
* - For bookings created with Create Booking or Bulk Create Booking, `formId`
|
|
@@ -164,14 +159,13 @@ interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
164
159
|
interface BookingParticipantsInfoOneOf {
|
|
165
160
|
/**
|
|
166
161
|
* Total number of participants.
|
|
167
|
-
* When creating a booking, use this field only if the relevant service has fixed pricing and doesn't offer variants and options
|
|
162
|
+
* 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).
|
|
168
163
|
* @min 1
|
|
169
164
|
*/
|
|
170
165
|
totalParticipants?: number;
|
|
171
166
|
/**
|
|
172
167
|
* Information about the booked service choices and participant count for each choice.
|
|
173
|
-
* When creating a booking, use this field only if the booking includes multiple service variants
|
|
174
|
-
* ([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)).
|
|
168
|
+
* 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).
|
|
175
169
|
*
|
|
176
170
|
* For example, use this for a spa package booking that includes different service levels:
|
|
177
171
|
* - 2 participants chose "Standard Package".
|
|
@@ -197,8 +191,7 @@ declare enum MultiServiceBookingType {
|
|
|
197
191
|
type MultiServiceBookingTypeWithLiterals = MultiServiceBookingType | 'SEQUENTIAL_BOOKINGS' | 'SEPARATE_BOOKINGS' | 'PARALLEL_BOOKINGS';
|
|
198
192
|
interface BookedEntity extends BookedEntityItemOneOf {
|
|
199
193
|
/**
|
|
200
|
-
* Booked slot
|
|
201
|
-
* ([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)).
|
|
194
|
+
* [Booked slot](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability).
|
|
202
195
|
*
|
|
203
196
|
* Specify `slot` when creating bookings for:
|
|
204
197
|
* - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).
|
|
@@ -210,8 +203,7 @@ interface BookedEntity extends BookedEntityItemOneOf {
|
|
|
210
203
|
*/
|
|
211
204
|
slot?: BookedSlot;
|
|
212
205
|
/**
|
|
213
|
-
* Booked schedule
|
|
214
|
-
* ([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)).
|
|
206
|
+
* [Booked schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction).
|
|
215
207
|
*
|
|
216
208
|
* Specify `schedule` when creating bookings for:
|
|
217
209
|
* - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).
|
|
@@ -237,8 +229,7 @@ interface BookedEntity extends BookedEntityItemOneOf {
|
|
|
237
229
|
/** @oneof */
|
|
238
230
|
interface BookedEntityItemOneOf {
|
|
239
231
|
/**
|
|
240
|
-
* Booked slot
|
|
241
|
-
* ([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)).
|
|
232
|
+
* [Booked slot](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability).
|
|
242
233
|
*
|
|
243
234
|
* Specify `slot` when creating bookings for:
|
|
244
235
|
* - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).
|
|
@@ -250,8 +241,7 @@ interface BookedEntityItemOneOf {
|
|
|
250
241
|
*/
|
|
251
242
|
slot?: BookedSlot;
|
|
252
243
|
/**
|
|
253
|
-
* Booked schedule
|
|
254
|
-
* ([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)).
|
|
244
|
+
* [Booked schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction).
|
|
255
245
|
*
|
|
256
246
|
* Specify `schedule` when creating bookings for:
|
|
257
247
|
* - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).
|
|
@@ -260,15 +250,27 @@ interface BookedEntityItemOneOf {
|
|
|
260
250
|
schedule?: BookedSchedule;
|
|
261
251
|
}
|
|
262
252
|
interface BookedSlot {
|
|
263
|
-
/**
|
|
253
|
+
/**
|
|
254
|
+
* Session ID. For class bookings, this is the ID of the existing session.
|
|
255
|
+
* For appointment bookings, this field is typically empty during booking creation and gets populated when the booking is confirmed.
|
|
256
|
+
*
|
|
257
|
+
* __Migration Guidance__: Replace usage of this field with `eventId` from the [Time Slots V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction).
|
|
258
|
+
* You can follow [these sample flows](https://dev.wix.com/docs/api-reference/business-solutions/bookings/end-to-end-booking-flows) for step-by-step guidance about determining availability and creating bookings.
|
|
259
|
+
* @deprecated Session ID. For class bookings, this is the ID of the existing session.
|
|
260
|
+
* For appointment bookings, this field is typically empty during booking creation and gets populated when the booking is confirmed.
|
|
261
|
+
*
|
|
262
|
+
* __Migration Guidance__: Replace usage of this field with `eventId` from the [Time Slots V2 API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/introduction).
|
|
263
|
+
* You can follow [these sample flows](https://dev.wix.com/docs/api-reference/business-solutions/bookings/end-to-end-booking-flows) for step-by-step guidance about determining availability and creating bookings.
|
|
264
|
+
* @replacedBy event_id
|
|
265
|
+
* @targetRemovalDate 2026-03-31
|
|
266
|
+
*/
|
|
264
267
|
sessionId?: string | null;
|
|
265
268
|
/** Service ID. */
|
|
266
269
|
serviceId?: string;
|
|
267
270
|
/** Schedule ID. */
|
|
268
271
|
scheduleId?: string;
|
|
269
272
|
/**
|
|
270
|
-
* ID of the corresponding event
|
|
271
|
-
* ([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)).
|
|
273
|
+
* ID of the corresponding [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction).
|
|
272
274
|
* Available for both appointment and class bookings, not available for course bookings.
|
|
273
275
|
* For appointment-based services, Wix Bookings automatically populates `eventId` when the booking `status` changes to `CONFIRMED`.
|
|
274
276
|
* For class bookings, Wix Bookings automatically populates `eventId` upon booking creation.
|
|
@@ -286,9 +288,8 @@ interface BookedSlot {
|
|
|
286
288
|
*/
|
|
287
289
|
timezone?: string | null;
|
|
288
290
|
/**
|
|
289
|
-
* Primary resource
|
|
290
|
-
*
|
|
291
|
-
* 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.
|
|
291
|
+
* [Primary resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction) for the booking.
|
|
292
|
+
* For example, the [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction) providing the service.
|
|
292
293
|
*/
|
|
293
294
|
resource?: BookedResource;
|
|
294
295
|
/** Location where the session takes place. */
|
|
@@ -370,7 +371,7 @@ declare enum SelectionMethod {
|
|
|
370
371
|
/** @enumType */
|
|
371
372
|
type SelectionMethodWithLiterals = SelectionMethod | 'UNKNOWN_SELECTION_METHOD' | 'SPECIFIC_RESOURCE' | 'ANY_RESOURCE' | 'NO_SELECTION';
|
|
372
373
|
interface BookedSchedule {
|
|
373
|
-
/** Schedule ID
|
|
374
|
+
/** [Schedule ID](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction). */
|
|
374
375
|
scheduleId?: string;
|
|
375
376
|
/**
|
|
376
377
|
* Booked service ID.
|
|
@@ -378,7 +379,7 @@ interface BookedSchedule {
|
|
|
378
379
|
*/
|
|
379
380
|
serviceId?: string | null;
|
|
380
381
|
/**
|
|
381
|
-
* Location
|
|
382
|
+
* [Location](https://dev.wix.com/docs/rest/business-management/locations/introduction) where the schedule's sessions take place.
|
|
382
383
|
* @readonly
|
|
383
384
|
*/
|
|
384
385
|
location?: Location;
|
|
@@ -522,26 +523,18 @@ type ValueTypeWithLiterals = ValueType | 'SHORT_TEXT' | 'LONG_TEXT' | 'CHECK_BOX
|
|
|
522
523
|
declare enum BookingStatus {
|
|
523
524
|
/** The booking was created, but the customer hasn't completed the related eCommerce order yet. */
|
|
524
525
|
CREATED = "CREATED",
|
|
525
|
-
/**
|
|
526
|
-
* The merchant has confirmed the booking and it appears in the business calendar. Merchants can set up their services
|
|
527
|
-
* ([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.
|
|
528
|
-
*/
|
|
526
|
+
/** 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. */
|
|
529
527
|
CONFIRMED = "CONFIRMED",
|
|
530
528
|
/**
|
|
531
|
-
* The customer has canceled the booking. Depending on the relevant service's policy snapshot
|
|
532
|
-
*
|
|
533
|
-
* 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)).
|
|
529
|
+
* 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)
|
|
530
|
+
* they may have to pay a [cancellation fee](https://dev.wix.com/docs/rest/business-solutions/bookings/pricing/booking-fees/introduction).
|
|
534
531
|
*/
|
|
535
532
|
CANCELED = "CANCELED",
|
|
536
533
|
/** The merchant must manually confirm the booking before it appears in the business calendar. */
|
|
537
534
|
PENDING = "PENDING",
|
|
538
535
|
/** The merchant has declined the booking before the customer was charged. */
|
|
539
536
|
DECLINED = "DECLINED",
|
|
540
|
-
/**
|
|
541
|
-
* The booking is on a waitlist.
|
|
542
|
-
* 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.
|
|
543
|
-
* You can call Register to Waitlist only for class session bookings.
|
|
544
|
-
*/
|
|
537
|
+
/** 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. */
|
|
545
538
|
WAITING_LIST = "WAITING_LIST"
|
|
546
539
|
}
|
|
547
540
|
/** @enumType */
|
|
@@ -708,8 +701,7 @@ interface FlowControlSettings {
|
|
|
708
701
|
skipAvailabilityValidation?: boolean;
|
|
709
702
|
/**
|
|
710
703
|
* Whether the booking's `status` is automatically updated to `CONFIRMED` when
|
|
711
|
-
* the customer completes the eCommerce checkout
|
|
712
|
-
* ([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)),
|
|
704
|
+
* the customer completes the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction),
|
|
713
705
|
* regardless of whether the relevant service requires manual business confirmation.
|
|
714
706
|
*/
|
|
715
707
|
skipBusinessConfirmation?: boolean;
|
|
@@ -746,7 +738,7 @@ interface ParticipantChoices {
|
|
|
746
738
|
}
|
|
747
739
|
interface ServiceChoices {
|
|
748
740
|
/**
|
|
749
|
-
* Number of participants for this variant
|
|
741
|
+
* Number of participants for this [variant](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
750
742
|
* @min 1
|
|
751
743
|
*/
|
|
752
744
|
numberOfParticipants?: number | null;
|
|
@@ -1616,8 +1608,7 @@ interface ConfirmOrDeclineBookingRequest {
|
|
|
1616
1608
|
bookingId: string;
|
|
1617
1609
|
/**
|
|
1618
1610
|
* Current payment status of the booking when using a custom checkout page and
|
|
1619
|
-
* not the
|
|
1620
|
-
* ([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)).
|
|
1611
|
+
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
1621
1612
|
*
|
|
1622
1613
|
* The booking is declined if there is a double booking conflict and you provide
|
|
1623
1614
|
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
@@ -1646,8 +1637,7 @@ interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
|
1646
1637
|
bookingId?: string;
|
|
1647
1638
|
/**
|
|
1648
1639
|
* Current payment status of the booking when using a custom checkout page and
|
|
1649
|
-
* not the
|
|
1650
|
-
* ([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)).
|
|
1640
|
+
* not the [eCommerce checkout](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction).
|
|
1651
1641
|
*
|
|
1652
1642
|
* The booking is declined if there is a double booking conflict and you provide
|
|
1653
1643
|
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
@@ -2868,12 +2858,12 @@ interface RescheduleMultiServiceBookingRequest {
|
|
|
2868
2858
|
}
|
|
2869
2859
|
interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2870
2860
|
/**
|
|
2871
|
-
* Total number of participants. Available only for services with
|
|
2861
|
+
* 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).
|
|
2872
2862
|
* Specify when all participants book the same variant.
|
|
2873
2863
|
*/
|
|
2874
2864
|
totalParticipants?: number;
|
|
2875
2865
|
/**
|
|
2876
|
-
* Information about the service choices to book. Available only for services with
|
|
2866
|
+
* 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).
|
|
2877
2867
|
* Specify when not all participants book the same variant.
|
|
2878
2868
|
*/
|
|
2879
2869
|
participantsChoices?: ParticipantChoices;
|
|
@@ -2893,12 +2883,12 @@ interface RescheduleBookingInfo extends RescheduleBookingInfoParticipantsInfoOne
|
|
|
2893
2883
|
/** @oneof */
|
|
2894
2884
|
interface RescheduleBookingInfoParticipantsInfoOneOf {
|
|
2895
2885
|
/**
|
|
2896
|
-
* Total number of participants. Available only for services with
|
|
2886
|
+
* 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).
|
|
2897
2887
|
* Specify when all participants book the same variant.
|
|
2898
2888
|
*/
|
|
2899
2889
|
totalParticipants?: number;
|
|
2900
2890
|
/**
|
|
2901
|
-
* Information about the service choices to book. Available only for services with
|
|
2891
|
+
* 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).
|
|
2902
2892
|
* Specify when not all participants book the same variant.
|
|
2903
2893
|
*/
|
|
2904
2894
|
participantsChoices?: ParticipantChoices;
|