@wix/auto_sdk_bookings_bookings 1.0.82 → 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.
@@ -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 ([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
+ * 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 ([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)) to reflect the customer's payment state.
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 ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/introduction)) subscription.
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 ([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)), unless `skipSelectedPaymentOptionValidation` is `true`.
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 ([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)), Wix Bookings uses the service's default payment option
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 ([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)).
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
- * ([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)) for the booking.
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 ([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)). */
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 ([SDK](https://dev.wix.com/docs/sdk/backend-modules/business-tools/locations/introduction) | [REST](https://dev.wix.com/docs/rest/business-management/locations/introduction)) where the schedule's sessions take place.
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
- * ([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))
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 ([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)).
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;
@@ -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 *eCommerce checkout*
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 *eCommerce checkout*
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 variants ([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)).
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 variants ([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)).
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 variants ([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)).
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 variants ([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)).
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;
@@ -4047,11 +4024,9 @@ declare function getBookingAnonymously(token: string): Promise<NonNullablePaths<
4047
4024
  * ### eCommerce checkout restriction
4048
4025
  *
4049
4026
  * Call this method only when using a custom checkout page. Don't
4050
- * call it when using a *Wix eCommerce checkout*
4051
- * ([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).
4052
4028
  * In such cases, Wix automatically updates the booking status based on
4053
- * the `paymentStatus` of the corresponding *Wix eCommerce order*
4054
- * ([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).
4055
4030
  *
4056
4031
  * ### New booking status
4057
4032
  *
@@ -4093,8 +4068,7 @@ declare function confirmOrDeclineBooking(bookingId: string, options?: ConfirmOrD
4093
4068
  interface ConfirmOrDeclineBookingOptions {
4094
4069
  /**
4095
4070
  * Current payment status of the booking when using a custom checkout page and
4096
- * not the *eCommerce checkout*
4097
- * ([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).
4098
4072
  *
4099
4073
  * The booking is declined if there is a double booking conflict and you provide
4100
4074
  * one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
@@ -4105,8 +4079,7 @@ interface ConfirmOrDeclineBookingOptions {
4105
4079
  * Confirms or declines up to 300 bookings.
4106
4080
  *
4107
4081
  *
4108
- * See *Confirm Or Decline Booking*
4109
- * ([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)
4110
4083
  * for details about when a booking is confirmed or declined.
4111
4084
  * @param details - Bookings to confirm or decline.
4112
4085
  * @public
@@ -4131,17 +4104,14 @@ interface BulkConfirmOrDeclineBookingOptions {
4131
4104
  *
4132
4105
  * For appointment-based services, specify the relevant `slot` in
4133
4106
  * `bookedEntity.slot`. We recommend specifying the complete
4134
- * `availabilityEntries.slot` returned in Query Availability
4135
- * ([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)
4136
4108
  * in your call's request to avoid failed calls due to unavailability.
4137
4109
  *
4138
4110
  * ### Class session booking
4139
4111
  *
4140
- * For class services, specify the relevant event ID
4141
- * ([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)
4142
4113
  * as `bookedEntity.slot.eventId`.
4143
- * We recommend retrieving the event ID from Query Availability's
4144
- * ([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)
4145
4115
  * `availabilityEntries.slot.eventId` to avoid failed calls due to unavailability.
4146
4116
  * Specifying an event ID leads to automatic calculations of `slot.startDate`, `slot.endDate`,
4147
4117
  * `slot.timezone`, `slot.resource`, and `slot.location`. All manually specified
@@ -4170,8 +4140,7 @@ interface BulkConfirmOrDeclineBookingOptions {
4170
4140
  *
4171
4141
  * You must specify either `participantsChoices` or `totalParticipants`.
4172
4142
  * The call fails if the specified `participantsChoices` aren't among the supported
4173
- * _service options and variants_
4174
- * ([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).
4175
4144
  *
4176
4145
  * ### Notify customers
4177
4146
  *
@@ -4190,9 +4159,9 @@ interface BulkConfirmOrDeclineBookingOptions {
4190
4159
  *
4191
4160
  * All bookings are created with `paymentStatus=UNDEFINED`, ignoring the payment status you specify.
4192
4161
  *
4193
- * For customers paying with a Wix eCommerce checkout ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/introduction) | [REST](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 ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)).
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).
4194
4163
  *
4195
- * For customers using a custom checkout, call Confirm or Decline Booking ([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)) to update booking's payment status manually.
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.
4196
4165
  *
4197
4166
  * ### Booking form data
4198
4167
  *
@@ -4263,8 +4232,7 @@ interface CreateBookingOptions {
4263
4232
  * Creates up to 8 bookings.
4264
4233
  *
4265
4234
  *
4266
- * See Create Booking
4267
- * ([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)
4268
4236
  * for more information.
4269
4237
  *
4270
4238
  * If any of the specified bookings is missing a required field the entire call
@@ -4304,16 +4272,14 @@ interface BulkCreateBookingOptions {
4304
4272
  * ### Appointment sessions
4305
4273
  *
4306
4274
  * For appointments, the old session is removed from the business calendar
4307
- * while a new session is added. We recommend calling Query Availability
4308
- * ([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)
4309
4276
  * first and specifying the entire retrieved `slot`.
4310
4277
  *
4311
4278
  * ### Class sessions
4312
4279
  *
4313
4280
  * For classes, the new session must be an existing session belonging to the
4314
4281
  * same class. We recommend retrieving `availabilityEntries.slot.eventId`
4315
- * from Query Availability
4316
- * ([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)
4317
4283
  * to avoid failed Reschedule Booking calls due to unavailability. Specify
4318
4284
  * only `slot.eventId` instead of the entire `slot` object.
4319
4285
  *
@@ -4414,16 +4380,14 @@ interface RescheduleBookingOptionsParticipantsInfoOneOf {
4414
4380
  * ### eCommerce checkout restriction
4415
4381
  *
4416
4382
  * Call this method only when using a custom checkout page. Don't
4417
- * call it when using a Wix eCommerce checkout
4418
- * ([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).
4419
4384
  * In such cases, Wix automatically updates the booking status based on
4420
- * the `paymentStatus` of the corresponding Wix eCommerce order
4421
- * ([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).
4422
4386
  *
4423
4387
  * ### When to call Confirm Or Decline Booking instead
4424
4388
  *
4425
4389
  * Confirm Booking doesn't check whether a slot or schedule is still available.
4426
- * For these checks, call Confirm or Decline Booking ([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)) instead.
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.
4427
4391
  *
4428
4392
  * ### Original status validation
4429
4393
  *
@@ -4546,17 +4510,14 @@ interface UpdateExtendedFieldsOptions {
4546
4510
  * ### eCommerce checkout restriction
4547
4511
  *
4548
4512
  * Call this method only when using a custom checkout page. Don't
4549
- * call it when using a Wix eCommerce checkout
4550
- * ([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).
4551
4514
  * In such cases, Wix automatically updates the booking status based on
4552
- * the `paymentStatus` of the corresponding Wix eCommerce order
4553
- * ([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).
4554
4516
  *
4555
4517
  * ### When to call Confirm Or Decline Booking instead
4556
4518
  *
4557
4519
  * The method doesn't check whether a slot or schedule is still available. For
4558
- * these checks you can call Confirm or Decline Booking
4559
- * ([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).
4560
4521
  *
4561
4522
  * ### Original status validation
4562
4523
  *
@@ -4697,8 +4658,7 @@ interface CancelBookingOptions {
4697
4658
  *
4698
4659
  * You must specify either `participantsChoices` or `totalParticipants`.
4699
4660
  * The call fails if the specified `participantsChoices` aren't among the
4700
- * supported service options and variants
4701
- * ([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).
4702
4662
  * @param bookingId - ID of the booking to update the number of participants for.
4703
4663
  * @public
4704
4664
  * @requiredField bookingId
@@ -4748,7 +4708,7 @@ interface UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
4748
4708
  *
4749
4709
  * ### Service requirement
4750
4710
  *
4751
- * By default, this method only works for services ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction)) with `service.onlineBooking.requireManualApproval` set to `true`.
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`.
4752
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.
4753
4713
  *
4754
4714
  * ### Status requirements
@@ -4758,15 +4718,15 @@ interface UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
4758
4718
  *
4759
4719
  * ### Checkout restrictions
4760
4720
  *
4761
- * Only call this method if the customer paid via a custom checkout. For Wix eCommerce checkouts ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/introduction) | [REST](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.
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.
4762
4722
  *
4763
4723
  * When using custom checkouts, you can also update the booking's `paymentStatus` by specifying a new payment status.
4764
4724
  *
4765
4725
  * ### Business workflow
4766
4726
  *
4767
4727
  * After marking a booking as `PENDING`, the business must manually approve or reject it. You can call these methods:
4768
- * - Confirm Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/confirm-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-booking)).
4769
- * - Decline Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/decline-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/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).
4770
4730
  *
4771
4731
  * ### Resource availability and scheduling
4772
4732
  *
@@ -4774,7 +4734,7 @@ interface UpdateNumberOfParticipantsOptionsParticipantsInfoOneOf {
4774
4734
  *
4775
4735
  * - **Calendar impact**: The booking appears on the business calendar.
4776
4736
  * - **Availability**: The time slot becomes unavailable for other bookings, even while pending approval.
4777
- * - **Resource assignment**: Available resources ([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)) are automatically assigned if none were explicitly selected during booking creation.
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.
4778
4738
  *
4779
4739
  * ### Double bookings
4780
4740
  *
@@ -4847,7 +4807,7 @@ interface MarkBookingAsPendingOptions {
4847
4807
  *
4848
4808
  * ### When to call this method
4849
4809
  *
4850
- * 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 ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/bookings-writer-v2/add-bookings-to-multi-service-booking?apiView=SDK) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/add-bookings-to-multi-service-booking)) instead.
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.
4851
4811
  *
4852
4812
  * ### Requirements and behavior
4853
4813
  *
@@ -4855,15 +4815,15 @@ interface MarkBookingAsPendingOptions {
4855
4815
  *
4856
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.
4857
4817
  *
4858
- * __Package pricing__: The total price equals the sum of individual services. Wix Bookings automatically syncs the payment status from the corresponding Wix eCommerce order ([SDK](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/introduction?apiView=SDK) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)) if the customer paid via an eCommerce checkout ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
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).
4859
4819
  *
4860
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.
4861
4821
  *
4862
4822
  * ### Related methods
4863
4823
  *
4864
- * Verify availability first with List Multi Service Availability Time Slots ([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)).
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).
4865
4825
  *
4866
- * 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)) for more details about constraints and effects of creating single-service bookings.
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.
4867
4827
  * @param bookings - Between 2 to 8 new single-service booking specifications to create and combine in a multi-service booking.
4868
4828
  *
4869
4829
  * Each single-service booking specification must include `slot` details (`scheduleId`, `startDate`, and `endDate`).
@@ -4920,7 +4880,7 @@ interface CreateMultiServiceBookingOptions {
4920
4880
  *
4921
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.
4922
4882
  *
4923
- * See Reschedule Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/reschedule-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/reschedule-booking)) for single-service booking rescheduling details.
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.
4924
4884
  * @param multiServiceBookingId - ID of the multi-service booking to reschedule.
4925
4885
  * @param rescheduleBookingsInfo - Information about the single-service bookings to reschedule.
4926
4886
  * @public
@@ -4954,14 +4914,13 @@ interface RescheduleMultiServiceBookingOptions {
4954
4914
  *
4955
4915
  *
4956
4916
  * Wix Bookings considers:
4957
- * - The relevant services' booking policies ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)).
4958
- * - The availability of all required resources ([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)).
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).
4959
4919
  *
4960
4920
  * Call this method to check if an existing multi-service booking is still valid after business configuration changes.
4961
4921
  * For example, staff changes, policy updates, or capacity modifications.
4962
4922
  *
4963
- * For checking availability before creating new multi-service bookings, call List Multi Service Availability Time Slots
4964
- * ([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.
4965
4924
  * @param multiServiceBookingId - ID of the multi-service booking to retrieve.
4966
4925
  * @public
4967
4926
  * @documentationMaturity preview
@@ -4980,7 +4939,7 @@ declare function getMultiServiceBookingAvailability(multiServiceBookingId: strin
4980
4939
  * Cancels the entire multi-service booking, updating the status of all single-service bookings to `CANCELED`.
4981
4940
  * The call fails if all single-service bookings are already canceled or declined.
4982
4941
  *
4983
- * See Cancel Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/cancel-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/cancel-booking)) for single-service booking cancellation details.
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.
4984
4943
  * @param multiServiceBookingId - ID of the multi-service booking to cancel.
4985
4944
  * @public
4986
4945
  * @documentationMaturity preview
@@ -5026,7 +4985,7 @@ interface CancelMultiServiceBookingOptions {
5026
4985
  * - __Customer notifications__: Send messages using `participantNotification`.
5027
4986
  * - __Revision control__: Requires current revision numbers for all single-service bookings.
5028
4987
  *
5029
- * See Mark Booking as Pending ([SDK](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/mark-booking-as-pending) | [REST](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.
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.
5030
4989
  * @param multiServiceBookingId - ID of the multi-service booking to mark as `PENDING`.
5031
4990
  * @public
5032
4991
  * @documentationMaturity preview
@@ -5086,7 +5045,7 @@ interface MarkMultiServiceBookingAsPendingOptions {
5086
5045
  * - __Customer notifications__: Send messages using `participantNotification`.
5087
5046
  * - __Revision control__: Requires current revision numbers for all single-service bookings.
5088
5047
  *
5089
- * See Confirm Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/confirm-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/confirm-booking)) for more details about confirming single-service bookings.
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.
5090
5049
  * @param multiServiceBookingId - ID of the multi-service booking to confirm its related bookings.
5091
5050
  * @public
5092
5051
  * @documentationMaturity preview
@@ -5142,7 +5101,7 @@ interface ConfirmMultiServiceBookingOptions {
5142
5101
  * - __Customer notifications__: Send messages using `participantNotification`.
5143
5102
  * - __Revision control__: Requires current revision numbers for all single-service bookings.
5144
5103
  *
5145
- * Refer to Decline Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/decline-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/decline-booking)) for more details about declining single-service bookings.
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.
5146
5105
  * @param multiServiceBookingId - ID of the multi-service booking to decline.
5147
5106
  * @public
5148
5107
  * @documentationMaturity preview
@@ -5179,7 +5138,7 @@ interface DeclineMultiServiceBookingOptions {
5179
5138
  *
5180
5139
  * Bear the following considerations in mind when calling this method:
5181
5140
  *
5182
- * __Real-time validation__: Wix Bookings calculates allowed actions based on current multi-service booking status, booking policies ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)), and available resources ([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)) at the time of the call.
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.
5183
5142
  *
5184
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.
5185
5144
  *
@@ -5203,7 +5162,7 @@ declare function bulkGetMultiServiceBookingAllowedActions(multiServiceBookingIds
5203
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.
5204
5163
  * The returned total number includes single-service bookings for which you don't have permissions.
5205
5164
  *
5206
- * See Query Extended Bookings ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/extended-bookings/query-extended-bookings) | [REST](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.
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.
5207
5166
  * @param multiServiceBookingId - ID of the multi-service booking.
5208
5167
  * @public
5209
5168
  * @documentationMaturity preview
@@ -5221,7 +5180,7 @@ declare function getMultiServiceBooking(multiServiceBookingId: string): Promise<
5221
5180
  * ### When to call this method
5222
5181
  *
5223
5182
  * Call this method to add 1 or more existing single-service bookings to an existing multi-service booking.
5224
- * For creating a new multi-service booking with new single-service bookings, call Create Multi Service Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/create-multi-service-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/create-multi-service-booking)) instead.
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.
5225
5184
  *
5226
5185
  * ### Package integration
5227
5186
  *
@@ -5270,7 +5229,7 @@ interface AddBookingsToMultiServiceBookingOptions {
5270
5229
  *
5271
5230
  * __Selective removal__: Specify single-service booking IDs and revisions to remove only specific single-service bookings from the package.
5272
5231
  *
5273
- * __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 ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings/reschedule-multi-service-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/reschedule-multi-service-booking)) before removing the unwanted bookings.
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.
5274
5233
  *
5275
5234
  * ### Removal behavior
5276
5235
  *