@wix/auto_sdk_bookings_bookings 1.0.40 → 1.0.41

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.
@@ -81,16 +81,16 @@ interface CreateBookingSignature {
81
81
  *
82
82
  * For appointment-based services, specify the relevant `slot` in
83
83
  * `bookedEntity.slot`. We recommend specifying the complete
84
- * `availabilityEntries.slot` returned in *Query Availability*
84
+ * `availabilityEntries.slot` returned in Query Availability
85
85
  * ([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))
86
86
  * in your call's request to avoid failed calls due to unavailability.
87
87
  *
88
88
  * ## Class session booking
89
89
  *
90
- * For class services, specify the relevant *event ID*
90
+ * For class services, specify the relevant event ID
91
91
  * ([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))
92
92
  * as `bookedEntity.slot.eventId`.
93
- * We recommend retrieving the event ID from *Query Availability's*
93
+ * We recommend retrieving the event ID from Query Availability's
94
94
  * ([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))
95
95
  * `availabilityEntries.slot.eventId` to avoid failed calls due to unavailability.
96
96
  * Specifying an event ID leads to automatic calculations of `slot.startDate`, `slot.endDate`,
@@ -145,12 +145,12 @@ interface CreateBookingSignature {
145
145
  * _eCommerce checkout_
146
146
  * ([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)),
147
147
  * Wix Bookings automatically syncs the booking's payment status from
148
- * the corresponding *eCommerce order*
148
+ * the corresponding eCommerce order
149
149
  * ([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)).
150
150
  *
151
151
  * If a booking doesn't have a corresponding eCommerce order, for example, since
152
152
  * the customer didn't use the eCommerce checkout, you can update the booking's
153
- * payment status with *Confirm Or Decline Booking*
153
+ * payment status with Confirm Or Decline Booking
154
154
  * ([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)).
155
155
  *
156
156
  * ## Booking form data
@@ -202,7 +202,7 @@ interface BulkCreateBookingSignature {
202
202
  * Creates up to 8 bookings.
203
203
  *
204
204
  *
205
- * See *Create Booking*
205
+ * See Create Booking
206
206
  * ([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))
207
207
  * for more information.
208
208
  *
@@ -236,7 +236,7 @@ interface RescheduleBookingSignature {
236
236
  * ## Appointment sessions
237
237
  *
238
238
  * For appointments, the old session is removed from the business calendar
239
- * while a new session is added. We recommend calling *Query Availability*
239
+ * while a new session is added. We recommend calling Query Availability
240
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/time-slots/availability-calendar/query-availability))
241
241
  * first and specifying the entire retrieved `slot`.
242
242
  *
@@ -244,7 +244,7 @@ interface RescheduleBookingSignature {
244
244
  *
245
245
  * For classes, the new session must be an existing session belonging to the
246
246
  * same class. We recommend retrieving `availabilityEntries.slot.eventId`
247
- * from *Query Availability*
247
+ * from Query Availability
248
248
  * ([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))
249
249
  * to avoid failed Reschedule Booking calls due to unavailability. Specify
250
250
  * only `slot.eventId` instead of the entire `slot` object.
@@ -296,24 +296,22 @@ interface RescheduleBookingSignature {
296
296
  declare function confirmBooking$1(httpClient: HttpClient): ConfirmBookingSignature;
297
297
  interface ConfirmBookingSignature {
298
298
  /**
299
- * Updates the booking status to `CONFIRMED` and updates the relevant session's
300
- * `participants.approvalStatus` to `APPROVED` without checking whether the relevant
301
- * slot or schedule is still available.
299
+ * Updates the booking status to `CONFIRMED` without checking whether the relevant slot or schedule is still available.
300
+ *
302
301
  *
303
302
  * ## eCommerce checkout restriction
304
303
  *
305
304
  * Call this method only when using a custom checkout page. Don't
306
- * call it when using a *Wix eCommerce checkout*
305
+ * call it when using a Wix eCommerce checkout
307
306
  * ([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)).
308
307
  * In such cases, Wix automatically updates the booking status based on
309
- * the `paymentStatus` of the corresponding *Wix eCommerce order*
308
+ * the `paymentStatus` of the corresponding Wix eCommerce order
310
309
  * ([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)).
311
310
  *
312
311
  * ## When to call Confirm Or Decline Booking instead
313
312
  *
314
- * Confirm Booking doesn't check whether a slot or schedule is still available. For
315
- * these checks you can call *Confirm or Decline Booking*
316
- * ([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)).
313
+ * Confirm Booking doesn't check whether a slot or schedule is still available.
314
+ * 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.
317
315
  *
318
316
  * ## Original status validation
319
317
  *
@@ -403,16 +401,16 @@ interface DeclineBookingSignature {
403
401
  * ## eCommerce checkout restriction
404
402
  *
405
403
  * Call this method only when using a custom checkout page. Don't
406
- * call it when using a *Wix eCommerce checkout*
404
+ * call it when using a Wix eCommerce checkout
407
405
  * ([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)).
408
406
  * In such cases, Wix automatically updates the booking status based on
409
- * the `paymentStatus` of the corresponding *Wix eCommerce order*
407
+ * the `paymentStatus` of the corresponding Wix eCommerce order
410
408
  * ([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)).
411
409
  *
412
410
  * ## When to call Confirm Or Decline Booking instead
413
411
  *
414
412
  * The method doesn't check whether a slot or schedule is still available. For
415
- * these checks you can call *Confirm or Decline Booking*
413
+ * these checks you can call Confirm or Decline Booking
416
414
  * ([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)).
417
415
  *
418
416
  * ## Original status validation
@@ -515,7 +513,7 @@ interface UpdateNumberOfParticipantsSignature {
515
513
  *
516
514
  * You must specify either `participantsChoices` or `totalParticipants`.
517
515
  * The call fails if the specified `participantsChoices` aren't among the
518
- * supported *service options and variants*
516
+ * supported service options and variants
519
517
  * ([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)).
520
518
  * @param - ID of the booking to update the number of participants for.
521
519
  */
@@ -528,11 +526,34 @@ interface UpdateNumberOfParticipantsSignature {
528
526
  declare function createMultiServiceBooking$1(httpClient: HttpClient): CreateMultiServiceBookingSignature;
529
527
  interface CreateMultiServiceBookingSignature {
530
528
  /**
531
- * Creates a multi-service booking.
529
+ * Creates a multi-service booking and all included single-service bookings simultaneously.
530
+ *
531
+ *
532
+ * ## When to call this method
533
+ *
534
+ * Create sequential appointments where customers book related services. 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/sdk/backend-modules/bookings/bookings-writer-v2/add-bookings-to-multi-service-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/add-bookings-to-multi-service-booking)) instead.
535
+ *
536
+ * ## Requirements and behavior
537
+ *
538
+ * *Package constraints**: Multi-service bookings support 2-8 appointment-based single-service bookings only (course and class bookings aren't supported). All single-service bookings must be at the same location with sequential scheduling and no gaps between appointments.
539
+ *
540
+ * *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.
541
+ *
542
+ * *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/sdk/backend-modules/ecommerce/orders/introduction) | [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/ecommerce/checkout/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)).
532
543
  *
544
+ * *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.
533
545
  *
534
- * See Create Booking for more information.
535
- * @param - Single-service bookings to combine in a multi-service booking.
546
+ * ## Related methods
547
+ *
548
+ * Verify availability first with List Multi Service Availability Time Slots ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings-reader-v2/list-multi-service-availability-time-slots) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-reader-v2/list-multi-service-availability-time-slots)).
549
+ *
550
+ * See Create Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings-writer-v2/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.
551
+ * @param - Between 2 to 8 new single-service booking specifications to create and combine in a multi-service booking.
552
+ *
553
+ * Each single-service booking specification must include `slot` details (`scheduleId`, `startDate`, and `endDate`).
554
+ * Specify contact details, number of participants, and any additional fields as needed.
555
+ *
556
+ * For sequential bookings, ensure the timing allows services to be scheduled back-to-back.
536
557
  */
537
558
  (bookings: NonNullablePaths<Booking, `additionalFields.${number}._id` | `bookedEntity` | `bookedEntity.slot` | `bookedEntity.slot.endDate` | `bookedEntity.slot.location.locationType` | `bookedEntity.slot.scheduleId` | `bookedEntity.slot.startDate`>[], options?: CreateMultiServiceBookingOptions): Promise<NonNullablePaths<CreateMultiServiceBookingResponse, `multiServiceBooking.bookings` | {
538
559
  [P in BookingNonNullablePaths]: `multiServiceBooking.bookings.${number}.booking.${P}`;
@@ -543,15 +564,15 @@ interface CreateMultiServiceBookingSignature {
543
564
  declare function rescheduleMultiServiceBooking$1(httpClient: HttpClient): RescheduleMultiServiceBookingSignature;
544
565
  interface RescheduleMultiServiceBookingSignature {
545
566
  /**
546
- * Reschedules a multi-service booking.
567
+ * Reschedules a multi-service booking by changing the timing for all or specific single-service bookings in the package.
547
568
  *
548
569
  *
549
- * The call fails if at least 1 individual booking can't be rescheduled due
550
- * the service being unavailable or a rescheduling policy violation.
570
+ * This method reschedules single-service bookings within the multi-service booking while maintaining sequential order. You must specify exact new timing for each service to ensure they remain back-to-back with no gaps or overlaps.
551
571
  *
572
+ * This method fails if it can't reschedule at least 1 single-service booking. You must provide the current revision number for each booking you're rescheduling to prevent conflicting changes.
552
573
  *
553
- * See Reschedule Booking for more information.
554
- * @param - ID of the multi service booking to reschedule.
574
+ * See Reschedule Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings-writer-v2/reschedule-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/reschedule-booking)) for single-service booking rescheduling details.
575
+ * @param - ID of the multi-service booking to reschedule.
555
576
  * @param - Information about the single-service bookings to reschedule.
556
577
  */
557
578
  (multiServiceBookingId: string, rescheduleBookingsInfo: NonNullablePaths<RescheduleBookingInfo, `bookingId` | `revision` | `slot`>[], options?: RescheduleMultiServiceBookingOptions): Promise<NonNullablePaths<RescheduleMultiServiceBookingResponse, `multiServiceBooking.bookings` | {
@@ -563,11 +584,21 @@ interface RescheduleMultiServiceBookingSignature {
563
584
  declare function getMultiServiceBookingAvailability$1(httpClient: HttpClient): GetMultiServiceBookingAvailabilitySignature;
564
585
  interface GetMultiServiceBookingAvailabilitySignature {
565
586
  /**
566
- * Retrieves a multi-service booking's availability.
587
+ * Checks if the business can still accommodate an existing multi-service booking and returns overall bookability status, capacity details, and policy violations.
588
+ *
589
+ *
590
+ * Wix Bookings considers:
591
+ * - 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)).
592
+ * - 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/introduction)).
593
+ *
594
+ * ## When to call this method
595
+ *
596
+ * Check if an existing multi-service booking is still valid after business configuration changes. For example, staff changes, policy updates, or capacity modifications.
567
597
  *
598
+ * ## When to call List Multi Service Availability Time Slots instead
568
599
  *
569
- * Use List Multi Service Availability Time Slots to check availability for a
570
- * `SEQUENTIAL_BOOKINGS` multi-service booking.
600
+ * For checking availability before creating new multi-service bookings, call List Multi Service Availability Time Slots
601
+ * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings-reader-v2/list-multi-service-availability-time-slots) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-reader-v2/list-multi-service-availability-time-slots)) instead.
571
602
  * @param - ID of the multi-service booking to retrieve.
572
603
  */
573
604
  (multiServiceBookingId: string): Promise<NonNullablePaths<GetMultiServiceBookingAvailabilityResponse, `bookable` | `multiServiceBookingInfo`> & {
@@ -577,7 +608,13 @@ interface GetMultiServiceBookingAvailabilitySignature {
577
608
  declare function cancelMultiServiceBooking$1(httpClient: HttpClient): CancelMultiServiceBookingSignature;
578
609
  interface CancelMultiServiceBookingSignature {
579
610
  /**
580
- * Cancels a multi-service booking and thus all its individual bookings.
611
+ * Cancels a multi-service booking and all its single-service bookings.
612
+ *
613
+ *
614
+ * Cancels the entire multi-service booking, updating the status of all single-service bookings to `CANCELED`.
615
+ * The call fails if all single-service bookings are already canceled or declined.
616
+ *
617
+ * See Cancel Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings-writer-v2/cancel-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/cancel-booking)) for single-service booking cancellation details.
581
618
  * @param - ID of the multi-service booking to cancel.
582
619
  */
583
620
  (multiServiceBookingId: string, options?: CancelMultiServiceBookingOptions): Promise<NonNullablePaths<CancelMultiServiceBookingResponse, `multiServiceBooking.bookings` | {
@@ -589,14 +626,28 @@ interface CancelMultiServiceBookingSignature {
589
626
  declare function markMultiServiceBookingAsPending$1(httpClient: HttpClient): MarkMultiServiceBookingAsPendingSignature;
590
627
  interface MarkMultiServiceBookingAsPendingSignature {
591
628
  /**
592
- * Updates the status of a multi-service booking to `PENDING`.
629
+ * Updates the status for all single-service bookings in a multi-service booking to `PENDING`.
630
+ *
631
+ *
632
+ * Call this method for multi-service bookings requiring manual business approval before confirmation.
633
+ *
634
+ * ## Status requirements
635
+ *
636
+ * - **Original status**: All single-service bookings must have `CREATED` status.
637
+ * - **Target status**: All bookings move to `PENDING` together (all-or-nothing operation).
593
638
  *
639
+ * ## Checkout restrictions
594
640
  *
595
- * Also updates the status of each of individual bookings within the multi-service booking to `PENDING`.
641
+ * Only call this method if the customer paid via a custom checkout. For Wix eCommerce checkouts,
642
+ * Wix Bookings automatically manages the bookings' statuses based on payment processing.
596
643
  *
597
- * The call fails if the status for at least a single individual booking can't be updated.
644
+ * ## Additional updates
598
645
  *
599
- * See Mark Booking as Pending for more information.
646
+ * - **Payment status**: Updates if you specify a new `markAsPendingBookingsInfo.paymentStatus`.
647
+ * - **Customer notifications**: Send messages using `participantNotification`.
648
+ * - **Revision control**: Requires current revision numbers for all single-service bookings.
649
+ *
650
+ * See Mark Booking as Pending ([SDK](https://dev.wix.com/docs/sdk/backend-modules/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.
600
651
  * @param - ID of the multi-service booking to mark as `PENDING`.
601
652
  */
602
653
  (multiServiceBookingId: string, options?: MarkMultiServiceBookingAsPendingOptions): Promise<NonNullablePaths<MarkMultiServiceBookingAsPendingResponse, `multiServiceBooking.bookings` | {
@@ -608,14 +659,28 @@ interface MarkMultiServiceBookingAsPendingSignature {
608
659
  declare function confirmMultiServiceBooking$1(httpClient: HttpClient): ConfirmMultiServiceBookingSignature;
609
660
  interface ConfirmMultiServiceBookingSignature {
610
661
  /**
611
- * Updates the status of a multi-service booking to `CONFIRMED`.
662
+ * Updates the status for all single-service bookings in a multi-service booking to `CONFIRMED`.
663
+ *
664
+ *
665
+ * Call this method for multi-service bookings requiring manual business approval.
666
+ *
667
+ * ## Status requirements
612
668
  *
669
+ * - **Original status**: All single-service bookings must have `PENDING`, `CREATED`, or `WAITING_LIST` status.
670
+ * - **Target status**: All bookings move to `CONFIRMED` together (all-or-nothing operation).
613
671
  *
614
- * Also updates the status of each of individual bookings within the multi-service booking to `CONFIRMED`.
672
+ * ## Checkout restrictions
615
673
  *
616
- * The call fails if the status for at least a single individual booking can't be updated.
674
+ * Only call this method if the customer paid via a custom checkout. For Wix eCommerce checkouts,
675
+ * Wix Bookings automatically manages the bookings' statuses based on payment processing.
617
676
  *
618
- * See Confirm Booking for more information.
677
+ * ## Additional updates
678
+ *
679
+ * - **Payment status**: Updates if you specify a new `confirmBookingsInfo.paymentStatus`.
680
+ * - **Customer notifications**: Send messages using `participantNotification`.
681
+ * - **Revision control**: Requires current revision numbers for all single-service bookings.
682
+ *
683
+ * See Confirm Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings-writer-v2/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.
619
684
  * @param - ID of the multi-service booking to confirm its related bookings.
620
685
  */
621
686
  (multiServiceBookingId: string, options?: ConfirmMultiServiceBookingOptions): Promise<NonNullablePaths<ConfirmMultiServiceBookingResponse, `multiServiceBooking.bookings` | {
@@ -627,15 +692,29 @@ interface ConfirmMultiServiceBookingSignature {
627
692
  declare function declineMultiServiceBooking$1(httpClient: HttpClient): DeclineMultiServiceBookingSignature;
628
693
  interface DeclineMultiServiceBookingSignature {
629
694
  /**
630
- * Updates the status of a multi-service booking to `DECLINED`.
695
+ * Updates the status for all single-service bookings in a multi-service booking to `DECLINED`.
696
+ *
697
+ *
698
+ * Call this method to reject multi-service bookings that can't be accommodated or don't meet business requirements.
631
699
  *
700
+ * ## Status requirements
632
701
  *
633
- * Also updates the status of each of individual bookings within the multi-service booking to `DECLINED`.
702
+ * - **Original status**: All single-service bookings must have `PENDING`, `CREATED`, or `WAITING_LIST` status.
703
+ * - **Target status**: All bookings move to `DECLINED` together (all-or-nothing operation).
634
704
  *
635
- * The call fails if the status for at least a single individual booking can't be updated.
705
+ * ## Checkout restrictions
636
706
  *
637
- * See Decline Booking for more information.
638
- * @param - ID of the multi service booking to decline.
707
+ * Only call this method if the customer paid via a custom checkout. For Wix eCommerce checkouts,
708
+ * Wix Bookings automatically manages the bookings' statuses based on payment processing.
709
+ *
710
+ * ## Additional updates
711
+ *
712
+ * - **Payment status**: Updates if you specify a new `declineBookingsInfo.paymentStatus`.
713
+ * - **Customer notifications**: Send messages using `participantNotification`.
714
+ * - **Revision control**: Requires current revision numbers for all single-service bookings.
715
+ *
716
+ * Refer to Decline Booking ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings-writer-v2/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.
717
+ * @param - ID of the multi-service booking to decline.
639
718
  */
640
719
  (multiServiceBookingId: string, options?: DeclineMultiServiceBookingOptions): Promise<NonNullablePaths<DeclineMultiServiceBookingResponse, `multiServiceBooking.bookings` | {
641
720
  [P in BookingNonNullablePaths]: `multiServiceBooking.bookings.${number}.booking.${P}`;
@@ -646,7 +725,21 @@ interface DeclineMultiServiceBookingSignature {
646
725
  declare function bulkGetMultiServiceBookingAllowedActions$1(httpClient: HttpClient): BulkGetMultiServiceBookingAllowedActionsSignature;
647
726
  interface BulkGetMultiServiceBookingAllowedActionsSignature {
648
727
  /**
649
- * Retrieves the allowed actions for a list of multi-service bookings.
728
+ * Retrieves information about which actions the customer can perform for up to 50 multi-service bookings.
729
+ *
730
+ *
731
+ * For each multi-service booking, the response indicates which actions are currently allowed:
732
+ * - `cancel`: Whether the customer can cancel the multi-service booking.
733
+ * - `reschedule`: Whether the customer can adjust the multi-service booking's timing.
734
+ *
735
+ * ## Important considerations
736
+ *
737
+ * *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.
738
+ *
739
+ * *Permission context**: Depending on the permissions of the calling [identity](https://dev.wix.com/build-apps/develop-your-app/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.
740
+ *
741
+ * *Status dependencies**: Allowed actions change as bookings progress through their lifecycle (`CREATED` → `PENDING` → `CONFIRMED`/`DECLINED` → `CANCELED`).
742
+ * Bookings can skip `PENDING` and move directly from `CREATED` to `CONFIRMED`/`DECLINED` based on service configuration.
650
743
  * @param - IDs of the multi-service bookings to retrieve allowed actions for.
651
744
  */
652
745
  (multiServiceBookingIds: string[]): Promise<NonNullablePaths<BulkGetMultiServiceBookingAllowedActionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.cancel` | `results.${number}.item.reschedule` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
@@ -654,13 +747,15 @@ interface BulkGetMultiServiceBookingAllowedActionsSignature {
654
747
  declare function getMultiServiceBooking$1(httpClient: HttpClient): GetMultiServiceBookingSignature;
655
748
  interface GetMultiServiceBookingSignature {
656
749
  /**
657
- * Retrieves all single-service bookings belonging to a multi-service booking.
750
+ * Retrieves a multi-service booking and all its associated single-service bookings.
751
+ *
752
+ *
753
+ * Returns the complete multi-service booking information including its ID, included single-service bookings, and the total number of scheduled single-service bookings.
658
754
  *
755
+ * If you call as an [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) who has permissions to read only part of the multi-service booking, only the permitted single-service bookings are retrieved.
756
+ * The returned total number includes single-service bookings for which you don't have permissions.
659
757
  *
660
- * If you call as an [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities)
661
- * who has permissions to read only part of the bookings,
662
- * only the permitted bookings are retrieved. The returned total number of
663
- * bookings includes also the bookings for which you don't have permissions.
758
+ * See Query Extended Bookings ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/bookings-reader-v2/query-extended-bookings) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-reader-v2/query-extended-booking)) for details about retrieving individual single-service bookings and additional metadata.
664
759
  * @param - ID of the multi-service booking.
665
760
  * @returns Retrieved multi-service booking.
666
761
  */
@@ -671,11 +766,24 @@ interface GetMultiServiceBookingSignature {
671
766
  declare function addBookingsToMultiServiceBooking$1(httpClient: HttpClient): AddBookingsToMultiServiceBookingSignature;
672
767
  interface AddBookingsToMultiServiceBookingSignature {
673
768
  /**
674
- * Adds a list of single-service bookings to a multi-service booking.
769
+ * Expands an existing multi-service booking by adding existing single-service bookings to the package.
770
+ *
771
+ *
772
+ * ## When to call this method
773
+ *
774
+ * Call this method to add 1 or more existing single-service bookings to an existing multi-service booking.
775
+ * 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-writer-v2/create-multi-service-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/bookings-writer-v2/create-multi-service-booking)) instead.
776
+ *
777
+ * ## Package integration
675
778
  *
779
+ * The timing of the single-service bookings to add must be compatible with the multi-service booking's sequential schedule to ensure no gaps or overlaps between services in the updated package.
676
780
  *
677
- * The call fails, if at least 1 of the specified booking is already part of a
678
- * multi-service booking.
781
+ * ## Requirements and limitations
782
+ *
783
+ * - **Maximum capacity**: The total number of single-service bookings can't exceed 8.
784
+ * - **Booking eligibility**: You can add only independent single-service bookings that aren't part of another multi-service booking.
785
+ * - **Status compatibility**: Added bookings must have compatible status with the target multi-service booking.
786
+ * - **Revision control**: You must provide current revision numbers for all single-service bookings to add.
679
787
  * @param - ID of the multi-service booking.
680
788
  */
681
789
  (multiServiceBookingId: string, options?: NonNullablePaths<AddBookingsToMultiServiceBookingOptions, `bookings` | `bookings.${number}.bookingId` | `bookings.${number}.revision`>): Promise<NonNullablePaths<AddBookingsToMultiServiceBookingResponse, `bookings` | {
@@ -687,16 +795,26 @@ interface AddBookingsToMultiServiceBookingSignature {
687
795
  declare function removeBookingsFromMultiServiceBooking$1(httpClient: HttpClient): RemoveBookingsFromMultiServiceBookingSignature;
688
796
  interface RemoveBookingsFromMultiServiceBookingSignature {
689
797
  /**
690
- * Removes single-service bookings from a multi-service booking and returns the
691
- * removed bookings.
798
+ * Removes single-service bookings from a multi-service booking and converts them to independent single-service bookings.
799
+ *
800
+ *
801
+ * ## Removal options
802
+ *
803
+ * *Remove all permitted bookings**: If you specify an empty `bookings` array, all single-service bookings for which the call's [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) has read permissions are removed from the multi-service booking.
804
+ *
805
+ * *Selective removal**: Specify single-service booking IDs and revisions to remove only specific single-service bookings from the package.
806
+ *
807
+ * *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-writer-v2/reschedule-multi-service-booking) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/multi-service-bookings/reschedule-multi-service-booking)) before removing the unwanted bookings.
808
+ *
809
+ * ## Removal behavior
692
810
  *
811
+ * *Independent bookings**: Removed single-service bookings become independent bookings.
812
+ * You can manage them using single-service booking methods.
693
813
  *
694
- * If you specify an empty `bookings` array, all single-service bookings for which
695
- * the call's [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities)
696
- * has read permissions are removed from the multi-service booking.
814
+ * *Automatic cleanup**: Multi-service bookings must contain at least 2 services.
815
+ * If removal results in only 1 remaining single-service booking for the multi-service booking, the entire multi-service booking is deleted and the remaining single-service booking becomes a standalone booking.
697
816
  *
698
- * If the call would create a multi-service booking including only 1 single-service
699
- * booking, the multi-service booking is also deleted.
817
+ * *Revision control**: Specify current revision numbers to prevent conflicting modifications during the removal process.
700
818
  * @param - ID of the multi-service booking.
701
819
  */
702
820
  (multiServiceBookingId: string, options?: RemoveBookingsFromMultiServiceBookingOptions): Promise<NonNullablePaths<RemoveBookingsFromMultiServiceBookingResponse, `bookings` | {