@wix/auto_sdk_bookings_bookings 1.0.57 → 1.0.59

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.
@@ -30,13 +30,13 @@ interface Booking extends BookingParticipantsInfoOneOf {
30
30
  *
31
31
  * The structure depends on the type of service being booked:
32
32
  *
33
- * *For appointment services:** Use `slot` to book a specific time slot with a
33
+ * __For appointment services__: Use `slot` to book a specific time slot with a
34
34
  * service provider. Appointments are typically one-time sessions at a specific date and time.
35
35
  *
36
- * *For class services:** Use `slot` to book a specific class session. Classes
36
+ * __For class services__: Use `slot` to book a specific class session. Classes
37
37
  * are individual sessions that can have multiple participants.
38
38
  *
39
- * *For course services:** Use `schedule` to book an entire course consisting of
39
+ * __For course services__: Use `schedule` to book an entire course consisting of
40
40
  * multiple sessions over time. Courses are recurring, multi-session offerings.
41
41
  *
42
42
  * Choose the appropriate field based on your service type and booking requirements.
@@ -63,14 +63,14 @@ interface Booking extends BookingParticipantsInfoOneOf {
63
63
  * ([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))
64
64
  * when customers use Wix eCommerce checkout.
65
65
  *
66
- * ## Integration patterns
66
+ * ### Integration patterns
67
67
  *
68
- * *When using Wix eCommerce checkout:** Wix Bookings automatically syncs the payment status based on the eCommerce order's payment status.
68
+ * __When using Wix eCommerce checkout__: Wix Bookings automatically syncs the payment status based on the eCommerce order's payment status.
69
69
  * Do not manually update this field.
70
70
  *
71
- * *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.
71
+ * __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.
72
72
  *
73
- * *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.
73
+ * __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.
74
74
  *
75
75
  * All payment statuses are supported for every booking `status`.
76
76
  */
@@ -169,9 +169,9 @@ interface BookedEntity extends BookedEntityItemOneOf {
169
169
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/availability-calendar/query-availability) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings-and-time-slots/time-slots/availability-calendar/query-availability)).
170
170
  *
171
171
  * Specify `slot` when creating bookings for:
172
- * - **Appointment-based services:** Individual sessions with service providers (consultations, treatments).
172
+ * - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).
173
173
  * Wix Bookings creates a new session when the booking is confirmed.
174
- * - **Class services:** Group sessions at specific times (fitness classes, workshops).
174
+ * - __Class services__: Group sessions at specific times (fitness classes, workshops).
175
175
  * Wix Bookings links the booking to an existing scheduled session.
176
176
  *
177
177
  * For course services, specify `schedule` instead of `slot`.
@@ -182,7 +182,7 @@ interface BookedEntity extends BookedEntityItemOneOf {
182
182
  * ([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)).
183
183
  *
184
184
  * Specify `schedule` when creating bookings for:
185
- * - **Course services:** Multi-session offerings spanning weeks or months (educational courses, training programs).
185
+ * - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).
186
186
  * Wix Bookings enrolls participants in all sessions defined by the course schedule.
187
187
  */
188
188
  schedule?: BookedSchedule;
@@ -209,9 +209,9 @@ interface BookedEntityItemOneOf {
209
209
  * ([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)).
210
210
  *
211
211
  * Specify `slot` when creating bookings for:
212
- * - **Appointment-based services:** Individual sessions with service providers (consultations, treatments).
212
+ * - __Appointment-based services__: Individual sessions with service providers (consultations, treatments).
213
213
  * Wix Bookings creates a new session when the booking is confirmed.
214
- * - **Class services:** Group sessions at specific times (fitness classes, workshops).
214
+ * - __Class services__: Group sessions at specific times (fitness classes, workshops).
215
215
  * Wix Bookings links the booking to an existing scheduled session.
216
216
  *
217
217
  * For course services, specify `schedule` instead of `slot`.
@@ -222,7 +222,7 @@ interface BookedEntityItemOneOf {
222
222
  * ([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)).
223
223
  *
224
224
  * Specify `schedule` when creating bookings for:
225
- * - **Course services:** Multi-session offerings spanning weeks or months (educational courses, training programs).
225
+ * - __Course services__: Multi-session offerings spanning weeks or months (educational courses, training programs).
226
226
  * Wix Bookings enrolls participants in all sessions defined by the course schedule.
227
227
  */
228
228
  schedule?: BookedSchedule;
@@ -248,7 +248,10 @@ interface BookedSlot {
248
248
  startDate?: string | null;
249
249
  /** The end time of this slot in `YYYY-MM-DDThh:mm:ss`, `YYYY-MM-DDThh:mm:ss:SSS`, or `YYYY-MM-DDThh:mm:ss:SSSZZ` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-01-30T13:30:00`, `2026-01-30T13:30:00:000`, or `2026-01-30T13:30:00:000-05:00`. */
250
250
  endDate?: string | null;
251
- /** The time zone according to which the slot was shown to the user when booking, and should be shown in the future. */
251
+ /**
252
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
253
+ * For example, `America/New_York` or `UTC`. This is the time zone in which the slot was shown to the customer at the time of booking. Wix Bookings ensures that the slot is always displayed in this same time zone to the customer, including when they view or edit their booking in the future.
254
+ */
252
255
  timezone?: string | null;
253
256
  /**
254
257
  * Primary resource
@@ -328,8 +331,8 @@ interface BookedSchedule {
328
331
  */
329
332
  location?: Location;
330
333
  /**
331
- * Time zone in which the slot or session was shown to the customer when they booked.
332
- * Also used whenever the customer reviews the booking's timing in the future.
334
+ * Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).
335
+ * For example, `America/New_York` or `UTC`. This is the time zone in which the schedule was shown to the customer at the time of booking. Wix Bookings ensures that the schedule is always displayed in this same time zone to the customer, including when they view or edit their booking in the future.
333
336
  */
334
337
  timezone?: string | null;
335
338
  /**