@wix/auto_sdk_bookings_bookings 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/build/cjs/src/bookings-v2-booking-bookings.http.d.ts +24 -21
  2. package/build/cjs/src/bookings-v2-booking-bookings.http.js +24 -21
  3. package/build/cjs/src/bookings-v2-booking-bookings.http.js.map +1 -1
  4. package/build/cjs/src/bookings-v2-booking-bookings.public.d.ts +24 -21
  5. package/build/cjs/src/bookings-v2-booking-bookings.public.js.map +1 -1
  6. package/build/cjs/src/bookings-v2-booking-bookings.types.d.ts +28 -27
  7. package/build/cjs/src/bookings-v2-booking-bookings.types.js +3 -3
  8. package/build/cjs/src/bookings-v2-booking-bookings.types.js.map +1 -1
  9. package/build/cjs/src/bookings-v2-booking-bookings.universal.d.ts +53 -49
  10. package/build/cjs/src/bookings-v2-booking-bookings.universal.js +27 -24
  11. package/build/cjs/src/bookings-v2-booking-bookings.universal.js.map +1 -1
  12. package/build/es/src/bookings-v2-booking-bookings.http.d.ts +24 -21
  13. package/build/es/src/bookings-v2-booking-bookings.http.js +24 -21
  14. package/build/es/src/bookings-v2-booking-bookings.http.js.map +1 -1
  15. package/build/es/src/bookings-v2-booking-bookings.public.d.ts +24 -21
  16. package/build/es/src/bookings-v2-booking-bookings.public.js.map +1 -1
  17. package/build/es/src/bookings-v2-booking-bookings.types.d.ts +28 -27
  18. package/build/es/src/bookings-v2-booking-bookings.types.js +3 -3
  19. package/build/es/src/bookings-v2-booking-bookings.types.js.map +1 -1
  20. package/build/es/src/bookings-v2-booking-bookings.universal.d.ts +53 -49
  21. package/build/es/src/bookings-v2-booking-bookings.universal.js +27 -24
  22. package/build/es/src/bookings-v2-booking-bookings.universal.js.map +1 -1
  23. package/build/internal/cjs/src/bookings-v2-booking-bookings.http.d.ts +24 -21
  24. package/build/internal/cjs/src/bookings-v2-booking-bookings.http.js +24 -21
  25. package/build/internal/cjs/src/bookings-v2-booking-bookings.http.js.map +1 -1
  26. package/build/internal/cjs/src/bookings-v2-booking-bookings.public.d.ts +24 -21
  27. package/build/internal/cjs/src/bookings-v2-booking-bookings.public.js.map +1 -1
  28. package/build/internal/cjs/src/bookings-v2-booking-bookings.types.d.ts +28 -27
  29. package/build/internal/cjs/src/bookings-v2-booking-bookings.types.js +3 -3
  30. package/build/internal/cjs/src/bookings-v2-booking-bookings.types.js.map +1 -1
  31. package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.d.ts +53 -49
  32. package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.js +27 -24
  33. package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.js.map +1 -1
  34. package/build/internal/es/src/bookings-v2-booking-bookings.http.d.ts +24 -21
  35. package/build/internal/es/src/bookings-v2-booking-bookings.http.js +24 -21
  36. package/build/internal/es/src/bookings-v2-booking-bookings.http.js.map +1 -1
  37. package/build/internal/es/src/bookings-v2-booking-bookings.public.d.ts +24 -21
  38. package/build/internal/es/src/bookings-v2-booking-bookings.public.js.map +1 -1
  39. package/build/internal/es/src/bookings-v2-booking-bookings.types.d.ts +28 -27
  40. package/build/internal/es/src/bookings-v2-booking-bookings.types.js +3 -3
  41. package/build/internal/es/src/bookings-v2-booking-bookings.types.js.map +1 -1
  42. package/build/internal/es/src/bookings-v2-booking-bookings.universal.d.ts +53 -49
  43. package/build/internal/es/src/bookings-v2-booking-bookings.universal.js +27 -24
  44. package/build/internal/es/src/bookings-v2-booking-bookings.universal.js.map +1 -1
  45. package/package.json +2 -2
@@ -2,13 +2,13 @@
2
2
  export interface Booking extends BookingParticipantsInfoOneOf {
3
3
  /**
4
4
  * Total number of participants. Available only when the relevant service
5
- * doesn't have variants and options
5
+ * doesn't have _variants and options_
6
6
  * ([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)).
7
7
  */
8
8
  totalParticipants?: number;
9
9
  /**
10
10
  * Information about the booked service choices and participants.
11
- * Available only when the booking includes multiple service variants
11
+ * Available only when the booking includes multiple _service variants_
12
12
  * ([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
13
  */
14
14
  participantsChoices?: ParticipantChoices;
@@ -18,16 +18,16 @@ export interface Booking extends BookingParticipantsInfoOneOf {
18
18
  */
19
19
  _id?: string | null;
20
20
  /**
21
- * An object describing the slot
21
+ * An object describing the *slot*
22
22
  * ([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))
23
- * or schedule
23
+ * or *schedule*
24
24
  * ([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))
25
25
  * that was booked.
26
26
  */
27
27
  bookedEntity?: BookedEntity;
28
28
  /**
29
- * Contact details of the site visitor or
30
- * member ([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))
29
+ * Contact details of the site visitor or *member*
30
+ * ([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))
31
31
  * making the booking.
32
32
  */
33
33
  contactDetails?: ContactDetails;
@@ -42,7 +42,8 @@ export interface Booking extends BookingParticipantsInfoOneOf {
42
42
  status?: BookingStatus;
43
43
  /**
44
44
  * The payment status of the booking corresponds to the `paymentStatus` of the
45
- * related eCommerce order ([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)),
45
+ * related *eCommerce order*
46
+ * ([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)),
46
47
  * if one exists. All payment statuses are supported for every booking `status`.
47
48
  */
48
49
  paymentStatus?: PaymentStatus;
@@ -51,8 +52,8 @@ export interface Booking extends BookingParticipantsInfoOneOf {
51
52
  * checkout, they may still change the payment method. Must be one of the payment
52
53
  * options offered by the service ([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)),
53
54
  * unless `skipSelectedPaymentOptionValidation` is `true`.
54
- * When undefined during an
55
- * eCommerce checkout ([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)),
55
+ * When undefined during an *eCommerce checkout*
56
+ * ([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)),
56
57
  * Wix Bookings uses the service's default payment option
57
58
  */
58
59
  selectedPaymentOption?: SelectedPaymentOption;
@@ -109,13 +110,13 @@ export interface Booking extends BookingParticipantsInfoOneOf {
109
110
  export interface BookingParticipantsInfoOneOf {
110
111
  /**
111
112
  * Total number of participants. Available only when the relevant service
112
- * doesn't have variants and options
113
+ * doesn't have _variants and options_
113
114
  * ([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)).
114
115
  */
115
116
  totalParticipants?: number;
116
117
  /**
117
118
  * Information about the booked service choices and participants.
118
- * Available only when the booking includes multiple service variants
119
+ * Available only when the booking includes multiple _service variants_
119
120
  * ([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)).
120
121
  */
121
122
  participantsChoices?: ParticipantChoices;
@@ -133,7 +134,7 @@ export declare enum MultiServiceBookingType {
133
134
  }
134
135
  export interface BookedEntity extends BookedEntityItemOneOf {
135
136
  /**
136
- * Booked slot
137
+ * Booked *slot*
137
138
  * ([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)).
138
139
  * Available only for appointment-based services and classes.
139
140
  * For appointment-based services, a new session is created, while for classes,
@@ -141,7 +142,7 @@ export interface BookedEntity extends BookedEntityItemOneOf {
141
142
  */
142
143
  slot?: BookedSlot;
143
144
  /**
144
- * Booked schedule
145
+ * Booked *schedule*
145
146
  * ([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)).
146
147
  * Available only for course bookings.
147
148
  */
@@ -164,7 +165,7 @@ export interface BookedEntity extends BookedEntityItemOneOf {
164
165
  /** @oneof */
165
166
  export interface BookedEntityItemOneOf {
166
167
  /**
167
- * Booked slot
168
+ * Booked *slot*
168
169
  * ([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)).
169
170
  * Available only for appointment-based services and classes.
170
171
  * For appointment-based services, a new session is created, while for classes,
@@ -172,7 +173,7 @@ export interface BookedEntityItemOneOf {
172
173
  */
173
174
  slot?: BookedSlot;
174
175
  /**
175
- * Booked schedule
176
+ * Booked *schedule*
176
177
  * ([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)).
177
178
  * Available only for course bookings.
178
179
  */
@@ -186,7 +187,7 @@ export interface BookedSlot {
186
187
  /** Schedule ID. */
187
188
  scheduleId?: string;
188
189
  /**
189
- * ID of the corresponding event
190
+ * ID of the corresponding *event*
190
191
  * ([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)).
191
192
  * Available for both appointment and class bookings, not available for course bookings.
192
193
  * For appointment-based services, Wix Bookings automatically populates `eventId`
@@ -207,9 +208,9 @@ export interface BookedSlot {
207
208
  /** The timezone according to which the slot was shown to the user when booking, and should be shown in the future. */
208
209
  timezone?: string | null;
209
210
  /**
210
- * Primary resource
211
+ * Primary *resource*
211
212
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction))
212
- * for the booking. For example, the staff member
213
+ * for the booking. For example, the *staff member*
213
214
  * ([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))
214
215
  * providing the
215
216
  * service.
@@ -257,14 +258,14 @@ export declare enum LocationType {
257
258
  }
258
259
  export interface BookedSchedule {
259
260
  /**
260
- * Schedule ID
261
+ * _Schedule ID_
261
262
  * ([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)).
262
263
  */
263
264
  scheduleId?: string;
264
265
  /** Booked service ID. */
265
266
  serviceId?: string | null;
266
267
  /**
267
- * Location
268
+ * _Location_
268
269
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction))
269
270
  * where the schedule's sessions take place.
270
271
  * @readonly
@@ -404,16 +405,16 @@ export declare enum BookingStatus {
404
405
  CREATED = "CREATED",
405
406
  /**
406
407
  * The merchant has confirmed the booking and it appears in the
407
- * business calendar. Merchants can set up their services
408
+ * business calendar. Merchants can set up their *services*
408
409
  * ([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))
409
410
  * to automatically confirm all `PENDING` bookings.
410
411
  */
411
412
  CONFIRMED = "CONFIRMED",
412
413
  /**
413
414
  * The customer has canceled the booking. Depending on the relevant service's
414
- * policy snapshot
415
+ * _policy snapshot_
415
416
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policy-snapshots/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policy-snapshots/introduction))
416
- * they may have to pay a cancellation fee
417
+ * they may have to pay a _cancellation fee_
417
418
  * ([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)).
418
419
  */
419
420
  CANCELED = "CANCELED",
@@ -544,7 +545,7 @@ export interface FlowControlSettings {
544
545
  skipAvailabilityValidation?: boolean;
545
546
  /**
546
547
  * Whether the booking's `status` is automatically updated to `CONFIRMED` when
547
- * the customer completes the eCommerce checkout
548
+ * the customer completes the *eCommerce checkout*
548
549
  * ([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)),
549
550
  * regardless of whether the relevant service requires manual business confirmation.
550
551
  */
@@ -578,7 +579,7 @@ export interface ParticipantChoices {
578
579
  }
579
580
  export interface ServiceChoices {
580
581
  /**
581
- * Number of participants for this variant
582
+ * Number of participants for this _variant_
582
583
  * ([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)).
583
584
  */
584
585
  numberOfParticipants?: number | null;
@@ -2145,7 +2146,7 @@ export interface ConfirmOrDeclineBookingRequest {
2145
2146
  bookingId: string;
2146
2147
  /**
2147
2148
  * Current payment status of the booking when using a custom checkout page and
2148
- * not the eCommerce checkout
2149
+ * not the *eCommerce checkout*
2149
2150
  * ([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)).
2150
2151
  *
2151
2152
  * The booking is declined if there is a double booking conflict and you provide
@@ -2168,7 +2169,7 @@ export interface BulkConfirmOrDeclineBookingRequestBookingDetails {
2168
2169
  bookingId?: string;
2169
2170
  /**
2170
2171
  * Current payment status of the booking when using a custom checkout page and
2171
- * not the eCommerce checkout
2172
+ * not the *eCommerce checkout*
2172
2173
  * ([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)).
2173
2174
  *
2174
2175
  * The booking is declined if there is a double booking conflict and you provide
@@ -3341,16 +3342,16 @@ export interface RemoveBookingsFromMultiServiceBookingOptions {
3341
3342
  *
3342
3343
  * For appointment-based services, specify the relevant `slot` in
3343
3344
  * `bookedEntity.slot`. We recommend specifying the complete
3344
- * `availabilityEntries.slot` returned in Query Availability
3345
+ * `availabilityEntries.slot` returned in *Query Availability*
3345
3346
  * ([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))
3346
3347
  * in your call's request to avoid failed calls due to unavailability.
3347
3348
  *
3348
3349
  * ## Class session booking
3349
3350
  *
3350
- * For class services, specify the relevant event ID
3351
+ * For class services, specify the relevant *event ID*
3351
3352
  * ([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))
3352
3353
  * as `bookedEntity.slot.eventId`.
3353
- * We recommend retrieving the event ID from Query Availability's
3354
+ * We recommend retrieving the event ID from *Query Availability's*
3354
3355
  * ([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))
3355
3356
  * `availabilityEntries.slot.eventId` to avoid failed calls due to unavailability.
3356
3357
  * Specifying an event ID leads to automatic calculations of `slot.startDate`, `slot.endDate`,
@@ -3374,7 +3375,7 @@ export interface RemoveBookingsFromMultiServiceBookingOptions {
3374
3375
  *
3375
3376
  * You must specify either `participantsChoices` or `totalParticipants`.
3376
3377
  * The call fails if the specified `participantsChoices` aren't among the supported
3377
- * service options and variants
3378
+ * _service options and variants_
3378
3379
  * ([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)).
3379
3380
  *
3380
3381
  * ## Notify customers
@@ -3401,14 +3402,16 @@ export interface RemoveBookingsFromMultiServiceBookingOptions {
3401
3402
  * ## Payment status
3402
3403
  *
3403
3404
  * A booking is initially created with `{"paymentStatus": "UNDEFINED"}` regardless
3404
- * of the payment status specified in Create Booking. If a customer uses an eCommerce
3405
- * checkout ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
3405
+ * of the payment status specified in Create Booking. If a customer uses an
3406
+ * _eCommerce checkout_
3407
+ * ([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)),
3406
3408
  * Wix Bookings automatically syncs the booking's payment status from
3407
- * the corresponding eCommerce order ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
3409
+ * the corresponding *eCommerce order*
3410
+ * ([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)).
3408
3411
  *
3409
3412
  * If a booking doesn't have a corresponding eCommerce order, for example, since
3410
3413
  * the customer didn't use the eCommerce checkout, you can update the booking's
3411
- * payment status with Confirm Or Decline Booking
3414
+ * payment status with *Confirm Or Decline Booking*
3412
3415
  * ([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)).
3413
3416
  *
3414
3417
  * ## Booking form data
@@ -3484,7 +3487,8 @@ export interface CreateBookingOptions {
3484
3487
  * Creates up to 8 bookings.
3485
3488
  *
3486
3489
  *
3487
- * See Create Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/create-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/create-booking))
3490
+ * See *Create Booking*
3491
+ * ([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))
3488
3492
  * for more information.
3489
3493
  *
3490
3494
  * If any of the specified bookings is missing a required field the entire call
@@ -3528,7 +3532,7 @@ export interface BulkCreateBookingOptions {
3528
3532
  * ## Appointment sessions
3529
3533
  *
3530
3534
  * For appointments, the old session is removed from the business calendar
3531
- * while a new session is added. We recommend calling Query Availability
3535
+ * while a new session is added. We recommend calling *Query Availability*
3532
3536
  * ([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))
3533
3537
  * first and specifying the entire retrieved `slot`.
3534
3538
  *
@@ -3536,7 +3540,7 @@ export interface BulkCreateBookingOptions {
3536
3540
  *
3537
3541
  * For classes, the new session must be an existing session belonging to the
3538
3542
  * same class. We recommend retrieving `availabilityEntries.slot.eventId`
3539
- * from Query Availability
3543
+ * from *Query Availability*
3540
3544
  * ([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))
3541
3545
  * to avoid failed Reschedule Booking calls due to unavailability. Specify
3542
3546
  * only `slot.eventId` instead of the entire `slot` object.
@@ -3628,16 +3632,16 @@ export interface RescheduleBookingOptions extends RescheduleBookingRequestPartic
3628
3632
  * ## eCommerce checkout restriction
3629
3633
  *
3630
3634
  * Call this method only when using a custom checkout page. Don't
3631
- * call it when using a Wix eCommerce checkout
3635
+ * call it when using a *Wix eCommerce checkout*
3632
3636
  * ([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)).
3633
3637
  * In such cases, Wix automatically updates the booking status based on
3634
- * the `paymentStatus` of the corresponding Wix eCommerce order
3638
+ * the `paymentStatus` of the corresponding *Wix eCommerce order*
3635
3639
  * ([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)).
3636
3640
  *
3637
3641
  * ## When to call Confirm Or Decline Booking instead
3638
3642
  *
3639
3643
  * Confirm Booking doesn't check whether a slot or schedule is still available. For
3640
- * these checks you can call Confirm or Decline Booking
3644
+ * these checks you can call *Confirm or Decline Booking*
3641
3645
  * ([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)).
3642
3646
  *
3643
3647
  * ## Original status validation
@@ -3750,16 +3754,16 @@ export interface UpdateExtendedFieldsOptions {
3750
3754
  * ## eCommerce checkout restriction
3751
3755
  *
3752
3756
  * Call this method only when using a custom checkout page. Don't
3753
- * call it when using a Wix eCommerce checkout
3757
+ * call it when using a *Wix eCommerce checkout*
3754
3758
  * ([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)).
3755
3759
  * In such cases, Wix automatically updates the booking status based on
3756
- * the `paymentStatus` of the corresponding Wix eCommerce order
3760
+ * the `paymentStatus` of the corresponding *Wix eCommerce order*
3757
3761
  * ([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)).
3758
3762
  *
3759
3763
  * ## When to call Confirm Or Decline Booking instead
3760
3764
  *
3761
3765
  * The method doesn't check whether a slot or schedule is still available. For
3762
- * these checks you can call Confirm or Decline Booking
3766
+ * these checks you can call *Confirm or Decline Booking*
3763
3767
  * ([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)).
3764
3768
  *
3765
3769
  * ## Original status validation
@@ -3905,7 +3909,7 @@ export interface CancelBookingOptions {
3905
3909
  *
3906
3910
  * You must specify either `participantsChoices` or `totalParticipants`.
3907
3911
  * The call fails if the specified `participantsChoices` aren't among the
3908
- * supported service options and variants
3912
+ * supported *service options and variants*
3909
3913
  * ([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)).
3910
3914
  * @param bookingId - ID of the booking to update the number of participants for.
3911
3915
  * @public
@@ -3947,10 +3951,10 @@ export interface UpdateNumberOfParticipantsOptions extends UpdateNumberOfPartici
3947
3951
  * ## eCommerce checkout restriction
3948
3952
  *
3949
3953
  * Call this method only when using a custom checkout page. Don't
3950
- * call it when using a Wix eCommerce checkout
3954
+ * call it when using a *Wix eCommerce checkout*
3951
3955
  * ([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)).
3952
3956
  * In such cases, Wix automatically updates the booking status based on
3953
- * the `paymentStatus` of the corresponding Wix eCommerce order
3957
+ * the `paymentStatus` of the corresponding *Wix eCommerce order*
3954
3958
  * ([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)).
3955
3959
  *
3956
3960
  * ## New booking status
@@ -3995,7 +3999,7 @@ export declare function confirmOrDeclineBooking(bookingId: string, options?: Con
3995
3999
  export interface ConfirmOrDeclineBookingOptions {
3996
4000
  /**
3997
4001
  * Current payment status of the booking when using a custom checkout page and
3998
- * not the eCommerce checkout
4002
+ * not the *eCommerce checkout*
3999
4003
  * ([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)).
4000
4004
  *
4001
4005
  * The booking is declined if there is a double booking conflict and you provide
@@ -4007,7 +4011,7 @@ export interface ConfirmOrDeclineBookingOptions {
4007
4011
  * Confirms or declines up to 300 bookings.
4008
4012
  *
4009
4013
  *
4010
- * See Confirm Or Decline Booking
4014
+ * See *Confirm Or Decline Booking*
4011
4015
  * ([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))
4012
4016
  * for details about when a booking is confirmed or declined.
4013
4017
  * @param details - Bookings to confirm or decline.
@@ -65,16 +65,16 @@ var BookingStatus;
65
65
  BookingStatus["CREATED"] = "CREATED";
66
66
  /**
67
67
  * The merchant has confirmed the booking and it appears in the
68
- * business calendar. Merchants can set up their services
68
+ * business calendar. Merchants can set up their *services*
69
69
  * ([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))
70
70
  * to automatically confirm all `PENDING` bookings.
71
71
  */
72
72
  BookingStatus["CONFIRMED"] = "CONFIRMED";
73
73
  /**
74
74
  * The customer has canceled the booking. Depending on the relevant service's
75
- * policy snapshot
75
+ * _policy snapshot_
76
76
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policy-snapshots/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policy-snapshots/introduction))
77
- * they may have to pay a cancellation fee
77
+ * they may have to pay a _cancellation fee_
78
78
  * ([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)).
79
79
  */
80
80
  BookingStatus["CANCELED"] = "CANCELED";
@@ -792,16 +792,16 @@ exports.removeBookingsFromMultiServiceBooking = removeBookingsFromMultiServiceBo
792
792
  *
793
793
  * For appointment-based services, specify the relevant `slot` in
794
794
  * `bookedEntity.slot`. We recommend specifying the complete
795
- * `availabilityEntries.slot` returned in Query Availability
795
+ * `availabilityEntries.slot` returned in *Query Availability*
796
796
  * ([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))
797
797
  * in your call's request to avoid failed calls due to unavailability.
798
798
  *
799
799
  * ## Class session booking
800
800
  *
801
- * For class services, specify the relevant event ID
801
+ * For class services, specify the relevant *event ID*
802
802
  * ([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))
803
803
  * as `bookedEntity.slot.eventId`.
804
- * We recommend retrieving the event ID from Query Availability's
804
+ * We recommend retrieving the event ID from *Query Availability's*
805
805
  * ([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))
806
806
  * `availabilityEntries.slot.eventId` to avoid failed calls due to unavailability.
807
807
  * Specifying an event ID leads to automatic calculations of `slot.startDate`, `slot.endDate`,
@@ -825,7 +825,7 @@ exports.removeBookingsFromMultiServiceBooking = removeBookingsFromMultiServiceBo
825
825
  *
826
826
  * You must specify either `participantsChoices` or `totalParticipants`.
827
827
  * The call fails if the specified `participantsChoices` aren't among the supported
828
- * service options and variants
828
+ * _service options and variants_
829
829
  * ([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)).
830
830
  *
831
831
  * ## Notify customers
@@ -852,14 +852,16 @@ exports.removeBookingsFromMultiServiceBooking = removeBookingsFromMultiServiceBo
852
852
  * ## Payment status
853
853
  *
854
854
  * A booking is initially created with `{"paymentStatus": "UNDEFINED"}` regardless
855
- * of the payment status specified in Create Booking. If a customer uses an eCommerce
856
- * checkout ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
855
+ * of the payment status specified in Create Booking. If a customer uses an
856
+ * _eCommerce checkout_
857
+ * ([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)),
857
858
  * Wix Bookings automatically syncs the booking's payment status from
858
- * the corresponding eCommerce order ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
859
+ * the corresponding *eCommerce order*
860
+ * ([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)).
859
861
  *
860
862
  * If a booking doesn't have a corresponding eCommerce order, for example, since
861
863
  * the customer didn't use the eCommerce checkout, you can update the booking's
862
- * payment status with Confirm Or Decline Booking
864
+ * payment status with *Confirm Or Decline Booking*
863
865
  * ([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)).
864
866
  *
865
867
  * ## Booking form data
@@ -948,7 +950,8 @@ exports.createBooking = createBooking;
948
950
  * Creates up to 8 bookings.
949
951
  *
950
952
  *
951
- * See Create Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/create-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/create-booking))
953
+ * See *Create Booking*
954
+ * ([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))
952
955
  * for more information.
953
956
  *
954
957
  * If any of the specified bookings is missing a required field the entire call
@@ -1015,7 +1018,7 @@ exports.bulkCreateBooking = bulkCreateBooking;
1015
1018
  * ## Appointment sessions
1016
1019
  *
1017
1020
  * For appointments, the old session is removed from the business calendar
1018
- * while a new session is added. We recommend calling Query Availability
1021
+ * while a new session is added. We recommend calling *Query Availability*
1019
1022
  * ([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))
1020
1023
  * first and specifying the entire retrieved `slot`.
1021
1024
  *
@@ -1023,7 +1026,7 @@ exports.bulkCreateBooking = bulkCreateBooking;
1023
1026
  *
1024
1027
  * For classes, the new session must be an existing session belonging to the
1025
1028
  * same class. We recommend retrieving `availabilityEntries.slot.eventId`
1026
- * from Query Availability
1029
+ * from *Query Availability*
1027
1030
  * ([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))
1028
1031
  * to avoid failed Reschedule Booking calls due to unavailability. Specify
1029
1032
  * only `slot.eventId` instead of the entire `slot` object.
@@ -1124,16 +1127,16 @@ exports.rescheduleBooking = rescheduleBooking;
1124
1127
  * ## eCommerce checkout restriction
1125
1128
  *
1126
1129
  * Call this method only when using a custom checkout page. Don't
1127
- * call it when using a Wix eCommerce checkout
1130
+ * call it when using a *Wix eCommerce checkout*
1128
1131
  * ([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)).
1129
1132
  * In such cases, Wix automatically updates the booking status based on
1130
- * the `paymentStatus` of the corresponding Wix eCommerce order
1133
+ * the `paymentStatus` of the corresponding *Wix eCommerce order*
1131
1134
  * ([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)).
1132
1135
  *
1133
1136
  * ## When to call Confirm Or Decline Booking instead
1134
1137
  *
1135
1138
  * Confirm Booking doesn't check whether a slot or schedule is still available. For
1136
- * these checks you can call Confirm or Decline Booking
1139
+ * these checks you can call *Confirm or Decline Booking*
1137
1140
  * ([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)).
1138
1141
  *
1139
1142
  * ## Original status validation
@@ -1287,16 +1290,16 @@ exports.updateExtendedFields = updateExtendedFields;
1287
1290
  * ## eCommerce checkout restriction
1288
1291
  *
1289
1292
  * Call this method only when using a custom checkout page. Don't
1290
- * call it when using a Wix eCommerce checkout
1293
+ * call it when using a *Wix eCommerce checkout*
1291
1294
  * ([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)).
1292
1295
  * In such cases, Wix automatically updates the booking status based on
1293
- * the `paymentStatus` of the corresponding Wix eCommerce order
1296
+ * the `paymentStatus` of the corresponding *Wix eCommerce order*
1294
1297
  * ([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)).
1295
1298
  *
1296
1299
  * ## When to call Confirm Or Decline Booking instead
1297
1300
  *
1298
1301
  * The method doesn't check whether a slot or schedule is still available. For
1299
- * these checks you can call Confirm or Decline Booking
1302
+ * these checks you can call *Confirm or Decline Booking*
1300
1303
  * ([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)).
1301
1304
  *
1302
1305
  * ## Original status validation
@@ -1472,7 +1475,7 @@ exports.cancelBooking = cancelBooking;
1472
1475
  *
1473
1476
  * You must specify either `participantsChoices` or `totalParticipants`.
1474
1477
  * The call fails if the specified `participantsChoices` aren't among the
1475
- * supported service options and variants
1478
+ * supported *service options and variants*
1476
1479
  * ([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)).
1477
1480
  * @param bookingId - ID of the booking to update the number of participants for.
1478
1481
  * @public
@@ -1526,10 +1529,10 @@ exports.updateNumberOfParticipants = updateNumberOfParticipants;
1526
1529
  * ## eCommerce checkout restriction
1527
1530
  *
1528
1531
  * Call this method only when using a custom checkout page. Don't
1529
- * call it when using a Wix eCommerce checkout
1532
+ * call it when using a *Wix eCommerce checkout*
1530
1533
  * ([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)).
1531
1534
  * In such cases, Wix automatically updates the booking status based on
1532
- * the `paymentStatus` of the corresponding Wix eCommerce order
1535
+ * the `paymentStatus` of the corresponding *Wix eCommerce order*
1533
1536
  * ([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)).
1534
1537
  *
1535
1538
  * ## New booking status
@@ -1602,7 +1605,7 @@ exports.confirmOrDeclineBooking = confirmOrDeclineBooking;
1602
1605
  * Confirms or declines up to 300 bookings.
1603
1606
  *
1604
1607
  *
1605
- * See Confirm Or Decline Booking
1608
+ * See *Confirm Or Decline Booking*
1606
1609
  * ([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))
1607
1610
  * for details about when a booking is confirmed or declined.
1608
1611
  * @param details - Bookings to confirm or decline.