@wix/auto_sdk_bookings_availability-time-slots 1.0.265 → 1.0.267

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/build/cjs/index.js.map +1 -1
  2. package/build/cjs/index.typings.d.ts +6 -6
  3. package/build/cjs/index.typings.js.map +1 -1
  4. package/build/cjs/meta.d.ts +6 -6
  5. package/build/cjs/meta.js.map +1 -1
  6. package/build/cjs/schemas.js +231 -231
  7. package/build/cjs/schemas.js.map +1 -1
  8. package/build/es/index.mjs.map +1 -1
  9. package/build/es/index.typings.d.mts +6 -6
  10. package/build/es/index.typings.mjs.map +1 -1
  11. package/build/es/meta.d.mts +6 -6
  12. package/build/es/meta.mjs.map +1 -1
  13. package/build/es/schemas.mjs +231 -231
  14. package/build/es/schemas.mjs.map +1 -1
  15. package/build/internal/cjs/index.typings.d.ts +6 -6
  16. package/build/internal/cjs/meta.d.ts +6 -6
  17. package/build/internal/es/index.typings.d.mts +6 -6
  18. package/build/internal/es/meta.d.mts +6 -6
  19. package/package.json +2 -2
  20. package/build/internal/cjs/index.js +0 -499
  21. package/build/internal/cjs/index.js.map +0 -1
  22. package/build/internal/cjs/index.typings.js +0 -464
  23. package/build/internal/cjs/index.typings.js.map +0 -1
  24. package/build/internal/cjs/meta.js +0 -384
  25. package/build/internal/cjs/meta.js.map +0 -1
  26. package/build/internal/cjs/schemas.js +0 -722
  27. package/build/internal/cjs/schemas.js.map +0 -1
  28. package/build/internal/es/index.mjs +0 -468
  29. package/build/internal/es/index.mjs.map +0 -1
  30. package/build/internal/es/index.typings.mjs +0 -433
  31. package/build/internal/es/index.typings.mjs.map +0 -1
  32. package/build/internal/es/meta.mjs +0 -350
  33. package/build/internal/es/meta.mjs.map +0 -1
  34. package/build/internal/es/schemas.mjs +0 -680
  35. package/build/internal/es/schemas.mjs.map +0 -1
@@ -42,257 +42,257 @@ module.exports = __toCommonJS(schemas_exports);
42
42
  // src/bookings-availability-v2-time-slot-availability-time-slots.schemas.ts
43
43
  var z = __toESM(require("zod"));
44
44
  var ListAvailabilityTimeSlotsRequest = /* @__PURE__ */ z.object({
45
- options: z.object({
46
- serviceId: z.string().describe(
45
+ options: /* @__PURE__ */ z.object({
46
+ serviceId: /* @__PURE__ */ z.string().describe(
47
47
  "Service ID for which to retrieve time slots. You must specify the ID of an appointment-based service.\nRequired, unless you specify `cursorPaging.cursor`."
48
48
  ).regex(
49
49
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
50
50
  "Must be a valid GUID"
51
51
  ).optional().nullable(),
52
- fromLocalDate: z.string().describe(
52
+ fromLocalDate: /* @__PURE__ */ z.string().describe(
53
53
  "Lower boundary for `localStartDate` to include in response.\nEach returned time slot has a `localStartDate` within the provided `fromLocalDate` and `toLocalDate` exclusive.\nRequired, unless you specify `cursorPaging.cursor`.\n\nLocal start date in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`."
54
54
  ).optional().nullable(),
55
- toLocalDate: z.string().describe(
55
+ toLocalDate: /* @__PURE__ */ z.string().describe(
56
56
  "Upper boundary for `localStartDate` to include in response.\nEach returned time slot has a `localStartDate` within the provided `fromLocalDate` and `toLocalDate` exclusive.\nRequired, unless you specify `cursorPaging.cursor`.\n\nLocal end date in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`."
57
57
  ).optional().nullable(),
58
- timeZone: z.string().describe(
58
+ timeZone: /* @__PURE__ */ z.string().describe(
59
59
  "Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.\nFor example, `America/New_York` or `UTC`.\n\nDefault: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties)."
60
60
  ).min(1).max(150).optional().nullable(),
61
- locations: z.array(
62
- z.object({
63
- _id: z.string().describe(
61
+ locations: /* @__PURE__ */ z.array(
62
+ /* @__PURE__ */ z.object({
63
+ _id: /* @__PURE__ */ z.string().describe(
64
64
  "[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\nAvailable only for business locations."
65
65
  ).regex(
66
66
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
67
67
  "Must be a valid GUID"
68
68
  ).optional().nullable(),
69
- name: z.string().describe("Location name.").optional().nullable(),
70
- formattedAddress: z.string().describe("Formatted location address.").optional().nullable(),
71
- locationType: z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).optional()
69
+ name: /* @__PURE__ */ z.string().describe("Location name.").optional().nullable(),
70
+ formattedAddress: /* @__PURE__ */ z.string().describe("Formatted location address.").optional().nullable(),
71
+ locationType: /* @__PURE__ */ z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).optional()
72
72
  })
73
73
  ).min(0).max(5).optional(),
74
- includeResourceTypeIds: z.array(z.string()).max(100).optional(),
75
- bookable: z.boolean().describe(
74
+ includeResourceTypeIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).max(100).optional(),
75
+ bookable: /* @__PURE__ */ z.boolean().describe(
76
76
  "Whether the time slot is bookable according to the service's booking policies.\nIf not specified, returns both bookable and un-bookable time slots."
77
77
  ).optional().nullable(),
78
- bookingPolicyViolations: z.object({
79
- tooEarlyToBook: z.boolean().describe(
78
+ bookingPolicyViolations: /* @__PURE__ */ z.object({
79
+ tooEarlyToBook: /* @__PURE__ */ z.boolean().describe(
80
80
  'Whether it\'s too early for customers to book the slot.\n\nBy default, all slots are returned. Specifying `{"tooEarlyToBook": false}` returns only those that customers can already book, while specifying `{"tooEarlyToBook": true}` returns only those that can\'t be booked yet.'
81
81
  ).optional().nullable(),
82
- earliestBookingDate: z.date().describe(
82
+ earliestBookingDate: /* @__PURE__ */ z.date().describe(
83
83
  "Earliest time for booking the slot in `YYYY-MM-DDThh:mm:ss.sssZ` format.\n\n*In responses**: Contains a value when `tooEarlyToBook` is `true`, indicating the earliest time customers can book the slot.\n\n*In requests**: Don't specify a value for this field. Use `tooEarlyToBook` to filter slots that can't be booked yet due to minimum advance booking time restrictions."
84
84
  ).optional().nullable(),
85
- tooLateToBook: z.boolean().describe(
85
+ tooLateToBook: /* @__PURE__ */ z.boolean().describe(
86
86
  'Whether it\'s too late for customers to book the slot.\n\nBy default, all slots are returned. Specifying `{"tooLateToBook": false}` returns only those that customers can still book, while specifying `{"tooLateToBook": true}` returns only those that can no longer be booked.'
87
87
  ).optional().nullable(),
88
- bookOnlineDisabled: z.boolean().describe(
88
+ bookOnlineDisabled: /* @__PURE__ */ z.boolean().describe(
89
89
  "Whether customers can book the service online.\n\nBy default, both services with online booking enabled and disabled are returned. Providing the boolean set to `true` or `false` returns only matching slots."
90
90
  ).optional().nullable()
91
91
  }).describe(
92
92
  "Indicators for service's booking policy violations.\nAllows filtering for time slots with specific violation types based on [booking policies](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/introduction)). When you don't specify `bookingPolicyViolations` filters, all slots are returned regardless of their booking policy status."
93
93
  ).optional(),
94
- timeSlotsPerDay: z.number().int().describe(
94
+ timeSlotsPerDay: /* @__PURE__ */ z.number().int().describe(
95
95
  "Maximum number of slots to return for each day in the specified time range.\nIf `bookable` filter isn't specified, bookable slots are returned first."
96
96
  ).optional().nullable(),
97
- cursorPaging: z.object({
98
- limit: z.number().int().describe(
97
+ cursorPaging: /* @__PURE__ */ z.object({
98
+ limit: /* @__PURE__ */ z.number().int().describe(
99
99
  "Number of results to load.\n\nDefault: `1000`.\nMax: `1000`."
100
100
  ).min(0).max(1e3).optional().nullable(),
101
- cursor: z.string().describe(
101
+ cursor: /* @__PURE__ */ z.string().describe(
102
102
  "Pointer to the next or previous page in the list of results.\n\nYou can get the relevant cursor token\nfrom the `pagingMetadata` object in the previous call's response.\nNot relevant for the first request."
103
103
  ).optional().nullable()
104
104
  }).describe(
105
105
  "Cursor-based paging configuration.\nEnables fetching results in smaller chunks by setting a limit on the number of results.\nFor consistent pagination behavior, use the same `limit` value throughout a pagination sequence.\nWhen specifying a new `limit` in follow-up requests, the API respects the new value."
106
106
  ).optional(),
107
- customerChoices: z.object({
108
- durationInMinutes: z.number().int().describe(
107
+ customerChoices: /* @__PURE__ */ z.object({
108
+ durationInMinutes: /* @__PURE__ */ z.number().int().describe(
109
109
  "Duration selected by the customer in minutes. Based on the customer's selection from [service options and variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction).\nWhen using [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction), we recommend passing only `addOnIds` instead of `durationInMinutes`. Wix Bookings then calculates the total duration automatically. If you specify both `addOnIds` and `durationInMinutes`, `durationInMinutes` must equal the service duration plus all selected add-on durations."
110
- ).min(1).max(44639).optional().nullable(),
111
- addOnIds: z.array(z.string()).max(21).optional()
110
+ ).min(1).max(86400).optional().nullable(),
111
+ addOnIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).max(21).optional()
112
112
  }).describe(
113
113
  "Selected customer choices for service configuration.\nIf not specified, uses the service's default configuration.\n\nNot supported for services configured with a duration range (`availabilityConstraints.durationRange`).\n\nWhen using [add-ons](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/add-ons/introduction), we recommend passing only `addOnIds` and omitting `durationInMinutes`. Wix Bookings then calculates the total duration automatically. If you specify both `addOnIds` and `durationInMinutes`, `durationInMinutes` must equal the service duration plus all selected add-on durations."
114
114
  ).optional(),
115
- resourceTypes: z.array(
116
- z.object({
117
- resourceTypeId: z.string().describe(
115
+ resourceTypes: /* @__PURE__ */ z.array(
116
+ /* @__PURE__ */ z.object({
117
+ resourceTypeId: /* @__PURE__ */ z.string().describe(
118
118
  "[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)."
119
119
  ).regex(
120
120
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
121
121
  "Must be a valid GUID"
122
122
  ).optional().nullable(),
123
- resourceIds: z.array(z.string()).max(135).optional()
123
+ resourceIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).max(135).optional()
124
124
  })
125
125
  ).max(8).optional()
126
126
  }).optional()
127
127
  });
128
128
  var ListAvailabilityTimeSlotsResponse = /* @__PURE__ */ z.object({
129
- timeSlots: z.array(
130
- z.object({
131
- serviceId: z.string().describe(
129
+ timeSlots: /* @__PURE__ */ z.array(
130
+ /* @__PURE__ */ z.object({
131
+ serviceId: /* @__PURE__ */ z.string().describe(
132
132
  "[Service ID] (https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction).\n\nAvailable only for single-service bookings. For multi-service bookings, this field is empty and individual service IDs are provided in `nestedTimeSlots`."
133
133
  ).regex(
134
134
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
135
135
  "Must be a valid GUID"
136
136
  ).optional().nullable(),
137
- localStartDate: z.string().describe(
137
+ localStartDate: /* @__PURE__ */ z.string().describe(
138
138
  "Local start date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`.\n\nFor multi-service bookings, this represents the start time of the first service in the sequence.\n\nIn `ListAvailabilityTimeSlotEndOptions`, this is identical on every entry and equals the request's `localStartDate`."
139
139
  ).optional().nullable(),
140
- localEndDate: z.string().describe(
140
+ localEndDate: /* @__PURE__ */ z.string().describe(
141
141
  "Local end date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T14:00:00`.\n\nFor multi-service bookings, this represents the end time of the last service in the sequence."
142
142
  ).optional().nullable(),
143
- bookable: z.boolean().describe(
143
+ bookable: /* @__PURE__ */ z.boolean().describe(
144
144
  "Whether customers can book the slot according to the service's [booking policies](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/introduction).\n\nFor multi-service bookings, this is `true` only when all services in the sequence comply with their respective booking policies."
145
145
  ).optional().nullable(),
146
- location: z.object({
147
- _id: z.string().describe(
146
+ location: /* @__PURE__ */ z.object({
147
+ _id: /* @__PURE__ */ z.string().describe(
148
148
  "[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\nAvailable only for business locations."
149
149
  ).regex(
150
150
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
151
151
  "Must be a valid GUID"
152
152
  ).optional().nullable(),
153
- name: z.string().describe("Location name.").optional().nullable(),
154
- formattedAddress: z.string().describe("Formatted location address.").optional().nullable(),
155
- locationType: z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).describe("Location type.").optional()
153
+ name: /* @__PURE__ */ z.string().describe("Location name.").optional().nullable(),
154
+ formattedAddress: /* @__PURE__ */ z.string().describe("Formatted location address.").optional().nullable(),
155
+ locationType: /* @__PURE__ */ z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).describe("Location type.").optional()
156
156
  }).describe(
157
157
  "Information about where the business provides the service to the customer.\n\nIn `ListAvailabilityTimeSlotEndOptions`, this is the requested location, identical on every entry."
158
158
  ).optional(),
159
- eventInfo: z.object({
160
- eventId: z.string().describe("Event ID.").min(36).max(250).optional().nullable(),
161
- waitingList: z.object({
162
- totalCapacity: z.number().int().describe("Total number of spots in the waitlist.").min(1).optional().nullable(),
163
- remainingCapacity: z.number().int().describe(
159
+ eventInfo: /* @__PURE__ */ z.object({
160
+ eventId: /* @__PURE__ */ z.string().describe("Event ID.").min(36).max(250).optional().nullable(),
161
+ waitingList: /* @__PURE__ */ z.object({
162
+ totalCapacity: /* @__PURE__ */ z.number().int().describe("Total number of spots in the waitlist.").min(1).optional().nullable(),
163
+ remainingCapacity: /* @__PURE__ */ z.number().int().describe(
164
164
  "Number of remaining spots in the waitlist.\nFor example, an event with a waitlist for 10 people and 3 registrants, results in a remaining capacity of `7`."
165
165
  ).min(0).optional().nullable()
166
166
  }).describe(
167
167
  "Information about the event's waitlist. Available only if the service has a waitlist."
168
168
  ).optional(),
169
- eventTitle: z.string().describe("Event title.").min(1).max(200).optional().nullable()
169
+ eventTitle: /* @__PURE__ */ z.string().describe("Event title.").min(1).max(200).optional().nullable()
170
170
  }).describe(
171
171
  "Information about the [event](https://dev.wix.com/docs/api-reference/business-management/calendar/events-v3/introduction) related to the slot.\nAvailable only for classes. Not available for appointment-based services and courses."
172
172
  ).optional(),
173
- totalCapacity: z.number().int().describe(
173
+ totalCapacity: /* @__PURE__ */ z.number().int().describe(
174
174
  "Total number of spots for the slot.\n\nFor multi-service bookings, this is always `1` because customers book the entire service sequence as a single unit.\n\nIn `ListAvailabilityTimeSlotEndOptions`, capacity reflects whether at least one resource can cover `[localStartDate, localEndDate]`; the specific resource is selected later via `GetAvailabilityTimeSlot`."
175
175
  ).min(1).max(1e3).optional().nullable(),
176
- remainingCapacity: z.number().int().describe(
176
+ remainingCapacity: /* @__PURE__ */ z.number().int().describe(
177
177
  "Remaining number of spots for the slot.\n- For appointment bookings: Either `1` (available) or `0` (unavailable).\n- For classes: Total capacity minus booked spots. Doesn't account for waitlist reservations. For classes with waitlists, use `bookableCapacity` to get the actual number of spots customers can book.\n- For courses: Total capacity minus booked spots. Courses don't currently support waitlists.\n\nIn `ListAvailabilityTimeSlotEndOptions`, capacity reflects whether at least one resource can cover `[localStartDate, localEndDate]`; the specific resource is selected later via `GetAvailabilityTimeSlot`."
178
178
  ).min(0).max(1e3).optional().nullable(),
179
- bookableCapacity: z.number().int().describe(
179
+ bookableCapacity: /* @__PURE__ */ z.number().int().describe(
180
180
  "Number of spots that customers can book for the slot.\nCalculated as the remaining capacity minus the spots reserved for the waitlist.\nIf the service has no waitlist, identical to `remainingCapacity`.\n\nFor multi-service bookings, this is either `1` (sequence can be booked) or `0` (sequence can't be booked).\n\nIn `ListAvailabilityTimeSlotEndOptions`, capacity reflects whether at least one resource can cover `[localStartDate, localEndDate]`; the specific resource is selected later via `GetAvailabilityTimeSlot`."
181
181
  ).optional().nullable(),
182
- bookingPolicyViolations: z.object({
183
- tooEarlyToBook: z.boolean().describe(
182
+ bookingPolicyViolations: /* @__PURE__ */ z.object({
183
+ tooEarlyToBook: /* @__PURE__ */ z.boolean().describe(
184
184
  'Whether it\'s too early for customers to book the slot.\n\nBy default, all slots are returned. Specifying `{"tooEarlyToBook": false}` returns only those that customers can already book, while specifying `{"tooEarlyToBook": true}` returns only those that can\'t be booked yet.'
185
185
  ).optional().nullable(),
186
- earliestBookingDate: z.date().describe(
186
+ earliestBookingDate: /* @__PURE__ */ z.date().describe(
187
187
  "Earliest time for booking the slot in `YYYY-MM-DDThh:mm:ss.sssZ` format.\n\n*In responses**: Contains a value when `tooEarlyToBook` is `true`, indicating the earliest time customers can book the slot.\n\n*In requests**: Don't specify a value for this field. Use `tooEarlyToBook` to filter slots that can't be booked yet due to minimum advance booking time restrictions."
188
188
  ).optional().nullable(),
189
- tooLateToBook: z.boolean().describe(
189
+ tooLateToBook: /* @__PURE__ */ z.boolean().describe(
190
190
  'Whether it\'s too late for customers to book the slot.\n\nBy default, all slots are returned. Specifying `{"tooLateToBook": false}` returns only those that customers can still book, while specifying `{"tooLateToBook": true}` returns only those that can no longer be booked.'
191
191
  ).optional().nullable(),
192
- bookOnlineDisabled: z.boolean().describe(
192
+ bookOnlineDisabled: /* @__PURE__ */ z.boolean().describe(
193
193
  "Whether customers can book the service online.\n\nBy default, both services with online booking enabled and disabled are returned. Providing the boolean set to `true` or `false` returns only matching slots."
194
194
  ).optional().nullable()
195
195
  }).describe(
196
196
  "Information about booking policy violations for the slot.\n\nFor multi-service bookings, this aggregates violations from all services in the sequence."
197
197
  ).optional(),
198
- availableResources: z.array(
199
- z.object({
200
- resourceTypeId: z.string().describe(
198
+ availableResources: /* @__PURE__ */ z.array(
199
+ /* @__PURE__ */ z.object({
200
+ resourceTypeId: /* @__PURE__ */ z.string().describe(
201
201
  "[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)."
202
202
  ).regex(
203
203
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
204
204
  "Must be a valid GUID"
205
205
  ).optional().nullable(),
206
- resources: z.array(
207
- z.object({
208
- _id: z.string().describe("Resource ID.").regex(
206
+ resources: /* @__PURE__ */ z.array(
207
+ /* @__PURE__ */ z.object({
208
+ _id: /* @__PURE__ */ z.string().describe("Resource ID.").regex(
209
209
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
210
210
  "Must be a valid GUID"
211
211
  ).optional(),
212
- name: z.string().describe("Resource name.").min(1).optional().nullable()
212
+ name: /* @__PURE__ */ z.string().describe("Resource name.").min(1).optional().nullable()
213
213
  })
214
214
  ).optional(),
215
- hasMoreAvailableResources: z.boolean().describe(
215
+ hasMoreAvailableResources: /* @__PURE__ */ z.boolean().describe(
216
216
  "Whether there are more available resources for the slot than those listed in `resources`."
217
217
  ).optional().nullable()
218
218
  })
219
219
  ).min(0).optional(),
220
- nestedTimeSlots: z.array(
221
- z.object({
222
- serviceId: z.string().describe("Service ID of the nested time slot.").regex(
220
+ nestedTimeSlots: /* @__PURE__ */ z.array(
221
+ /* @__PURE__ */ z.object({
222
+ serviceId: /* @__PURE__ */ z.string().describe("Service ID of the nested time slot.").regex(
223
223
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
224
224
  "Must be a valid GUID"
225
225
  ).optional(),
226
- localStartDate: z.string().describe(
226
+ localStartDate: /* @__PURE__ */ z.string().describe(
227
227
  "Local start date of the nested time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`."
228
228
  ).optional(),
229
- localEndDate: z.string().describe(
229
+ localEndDate: /* @__PURE__ */ z.string().describe(
230
230
  "Local end date of the nested time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`."
231
231
  ).optional(),
232
- availableResources: z.array(
233
- z.object({
234
- resourceTypeId: z.string().describe(
232
+ availableResources: /* @__PURE__ */ z.array(
233
+ /* @__PURE__ */ z.object({
234
+ resourceTypeId: /* @__PURE__ */ z.string().describe(
235
235
  "[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)."
236
236
  ).regex(
237
237
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
238
238
  "Must be a valid GUID"
239
239
  ).optional().nullable(),
240
- resources: z.array(
241
- z.object({
242
- _id: z.string().describe("Resource ID.").regex(
240
+ resources: /* @__PURE__ */ z.array(
241
+ /* @__PURE__ */ z.object({
242
+ _id: /* @__PURE__ */ z.string().describe("Resource ID.").regex(
243
243
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
244
244
  "Must be a valid GUID"
245
245
  ).optional(),
246
- name: z.string().describe("Resource name.").min(1).optional().nullable()
246
+ name: /* @__PURE__ */ z.string().describe("Resource name.").min(1).optional().nullable()
247
247
  })
248
248
  ).optional(),
249
- hasMoreAvailableResources: z.boolean().describe(
249
+ hasMoreAvailableResources: /* @__PURE__ */ z.boolean().describe(
250
250
  "Whether there are more available resources for the slot than those listed in `resources`."
251
251
  ).optional().nullable()
252
252
  })
253
253
  ).max(10).optional(),
254
- scheduleId: z.string().describe(
254
+ scheduleId: /* @__PURE__ */ z.string().describe(
255
255
  "The schedule ID associated with this nested time slot.\nSame as the service's schedule ID."
256
256
  ).regex(
257
257
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
258
258
  "Must be a valid GUID"
259
259
  ).optional().nullable()
260
260
  })
261
- ).max(8).optional(),
262
- nonBookableReasons: z.object({
263
- noRemainingCapacity: z.boolean().describe(
261
+ ).max(100).optional(),
262
+ nonBookableReasons: /* @__PURE__ */ z.object({
263
+ noRemainingCapacity: /* @__PURE__ */ z.boolean().describe(
264
264
  "Whether the slot is fully booked with no remaining capacity."
265
265
  ).optional().nullable(),
266
- violatesBookingPolicy: z.boolean().describe(
266
+ violatesBookingPolicy: /* @__PURE__ */ z.boolean().describe(
267
267
  "Whether booking the slot violates any of the service's booking policies."
268
268
  ).optional().nullable(),
269
- reservedForWaitingList: z.boolean().describe(
269
+ reservedForWaitingList: /* @__PURE__ */ z.boolean().describe(
270
270
  "Whether the slot is reserved for the waitlist. A new customer can't book the reserved slot."
271
271
  ).optional().nullable(),
272
- eventCancelled: z.boolean().describe("Whether the related event is cancelled.").optional().nullable()
272
+ eventCancelled: /* @__PURE__ */ z.boolean().describe("Whether the related event is cancelled.").optional().nullable()
273
273
  }).describe("Information about why customers can't book the time slot.").optional(),
274
- scheduleId: z.string().describe(
274
+ scheduleId: /* @__PURE__ */ z.string().describe(
275
275
  "Schedule ID associated with this time slot.\nSame as the service's schedule ID."
276
276
  ).regex(
277
277
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
278
278
  "Must be a valid GUID"
279
279
  ).optional().nullable(),
280
- allDay: z.boolean().describe(
280
+ allDay: /* @__PURE__ */ z.boolean().describe(
281
281
  "Whether this time slot spans one or more full days.\nWhen `true`, `localStartDate` is `00:00:00` of the first day and `localEndDate` is `00:00:00` of the day after the last day (exclusive).\nMidnight boundaries are interpreted in the event's `timeZone`.\nThe time component should be ignored for display purposes.\n\nDefault: `false`"
282
282
  ).optional().nullable()
283
283
  })
284
284
  ).max(1e3).optional(),
285
- timeZone: z.string().describe(
285
+ timeZone: /* @__PURE__ */ z.string().describe(
286
286
  "Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.\nFor example, `America/New_York` or `UTC`.\n\nDefault: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties)."
287
287
  ).min(1).max(150).optional().nullable(),
288
- cursorPagingMetadata: z.object({
289
- cursors: z.object({
290
- next: z.string().describe("Cursor pointing to next page in the list of results.").optional().nullable(),
291
- prev: z.string().describe(
288
+ cursorPagingMetadata: /* @__PURE__ */ z.object({
289
+ cursors: /* @__PURE__ */ z.object({
290
+ next: /* @__PURE__ */ z.string().describe("Cursor pointing to next page in the list of results.").optional().nullable(),
291
+ prev: /* @__PURE__ */ z.string().describe(
292
292
  "Cursor pointing to previous page in the list of results."
293
293
  ).optional().nullable()
294
294
  }).describe("Offset that was requested.").optional(),
295
- hasNext: z.boolean().describe(
295
+ hasNext: /* @__PURE__ */ z.boolean().describe(
296
296
  "Indicates if there are more results after the current page.\nIf `true`, another page of results can be retrieved.\nIf `false`, this is the last page."
297
297
  ).optional().nullable()
298
298
  }).describe(
@@ -301,412 +301,412 @@ var ListAvailabilityTimeSlotsResponse = /* @__PURE__ */ z.object({
301
301
  });
302
302
  var ListAvailabilityTimeSlotEndOptionsRequest = /* @__PURE__ */ z.object(
303
303
  {
304
- serviceId: z.string().describe(
304
+ serviceId: /* @__PURE__ */ z.string().describe(
305
305
  "[Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction) ID. Must be an appointment-based service configured with `availabilityConstraints.durationRange.hourConfig`."
306
306
  ).regex(
307
307
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
308
308
  "Must be a valid GUID"
309
309
  ),
310
- options: z.object({
311
- localStartDate: z.string().describe(
310
+ options: /* @__PURE__ */ z.object({
311
+ localStartDate: /* @__PURE__ */ z.string().describe(
312
312
  "Selected start time in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-03-23T10:00:00`.\nEach returned end option shares this start time."
313
313
  ),
314
- maxLocalEndDate: z.string().describe(
314
+ maxLocalEndDate: /* @__PURE__ */ z.string().describe(
315
315
  "Latest end time to include in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601). For example, `2026-03-23T14:00:00`.\nThe service's maximum duration always caps the result, even if a later value is specified.\n\nDefault: `localStartDate` plus the service's maximum duration from `durationRange.hourConfig`."
316
316
  ).optional().nullable(),
317
- timeZone: z.string().describe(
317
+ timeZone: /* @__PURE__ */ z.string().describe(
318
318
  "Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database). For example, `America/New_York` or `UTC`.\n\nDefault: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties)."
319
319
  ).min(1).max(150).optional().nullable(),
320
- location: z.object({
321
- _id: z.string().describe(
320
+ location: /* @__PURE__ */ z.object({
321
+ _id: /* @__PURE__ */ z.string().describe(
322
322
  "[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\nAvailable only for business locations."
323
323
  ).regex(
324
324
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
325
325
  "Must be a valid GUID"
326
326
  ).optional().nullable(),
327
- name: z.string().describe("Location name.").optional().nullable(),
328
- formattedAddress: z.string().describe("Formatted location address.").optional().nullable(),
329
- locationType: z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).optional()
327
+ name: /* @__PURE__ */ z.string().describe("Location name.").optional().nullable(),
328
+ formattedAddress: /* @__PURE__ */ z.string().describe("Formatted location address.").optional().nullable(),
329
+ locationType: /* @__PURE__ */ z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).optional()
330
330
  }).describe(
331
331
  "Location of the selected start time. Must match the location of the slot returned by [List Availability Time Slots](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/list-availability-time-slots)."
332
332
  ),
333
- resourceTypes: z.array(
334
- z.object({
335
- resourceTypeId: z.string().describe(
333
+ resourceTypes: /* @__PURE__ */ z.array(
334
+ /* @__PURE__ */ z.object({
335
+ resourceTypeId: /* @__PURE__ */ z.string().describe(
336
336
  "[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)."
337
337
  ).regex(
338
338
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
339
339
  "Must be a valid GUID"
340
340
  ).optional().nullable(),
341
- resourceIds: z.array(z.string()).max(135).optional()
341
+ resourceIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).max(135).optional()
342
342
  })
343
343
  ).max(8).optional()
344
344
  })
345
345
  }
346
346
  );
347
347
  var ListAvailabilityTimeSlotEndOptionsResponse = /* @__PURE__ */ z.object({
348
- endOptions: z.array(
349
- z.object({
350
- serviceId: z.string().describe(
348
+ endOptions: /* @__PURE__ */ z.array(
349
+ /* @__PURE__ */ z.object({
350
+ serviceId: /* @__PURE__ */ z.string().describe(
351
351
  "[Service ID] (https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction).\n\nAvailable only for single-service bookings. For multi-service bookings, this field is empty and individual service IDs are provided in `nestedTimeSlots`."
352
352
  ).regex(
353
353
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
354
354
  "Must be a valid GUID"
355
355
  ).optional().nullable(),
356
- localStartDate: z.string().describe(
356
+ localStartDate: /* @__PURE__ */ z.string().describe(
357
357
  "Local start date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`.\n\nFor multi-service bookings, this represents the start time of the first service in the sequence.\n\nIn `ListAvailabilityTimeSlotEndOptions`, this is identical on every entry and equals the request's `localStartDate`."
358
358
  ).optional().nullable(),
359
- localEndDate: z.string().describe(
359
+ localEndDate: /* @__PURE__ */ z.string().describe(
360
360
  "Local end date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T14:00:00`.\n\nFor multi-service bookings, this represents the end time of the last service in the sequence."
361
361
  ).optional().nullable(),
362
- bookable: z.boolean().describe(
362
+ bookable: /* @__PURE__ */ z.boolean().describe(
363
363
  "Whether customers can book the slot according to the service's [booking policies](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/introduction).\n\nFor multi-service bookings, this is `true` only when all services in the sequence comply with their respective booking policies."
364
364
  ).optional().nullable(),
365
- location: z.object({
366
- _id: z.string().describe(
365
+ location: /* @__PURE__ */ z.object({
366
+ _id: /* @__PURE__ */ z.string().describe(
367
367
  "[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\nAvailable only for business locations."
368
368
  ).regex(
369
369
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
370
370
  "Must be a valid GUID"
371
371
  ).optional().nullable(),
372
- name: z.string().describe("Location name.").optional().nullable(),
373
- formattedAddress: z.string().describe("Formatted location address.").optional().nullable(),
374
- locationType: z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).describe("Location type.").optional()
372
+ name: /* @__PURE__ */ z.string().describe("Location name.").optional().nullable(),
373
+ formattedAddress: /* @__PURE__ */ z.string().describe("Formatted location address.").optional().nullable(),
374
+ locationType: /* @__PURE__ */ z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).describe("Location type.").optional()
375
375
  }).describe(
376
376
  "Information about where the business provides the service to the customer.\n\nIn `ListAvailabilityTimeSlotEndOptions`, this is the requested location, identical on every entry."
377
377
  ).optional(),
378
- eventInfo: z.object({
379
- eventId: z.string().describe("Event ID.").min(36).max(250).optional().nullable(),
380
- waitingList: z.object({
381
- totalCapacity: z.number().int().describe("Total number of spots in the waitlist.").min(1).optional().nullable(),
382
- remainingCapacity: z.number().int().describe(
378
+ eventInfo: /* @__PURE__ */ z.object({
379
+ eventId: /* @__PURE__ */ z.string().describe("Event ID.").min(36).max(250).optional().nullable(),
380
+ waitingList: /* @__PURE__ */ z.object({
381
+ totalCapacity: /* @__PURE__ */ z.number().int().describe("Total number of spots in the waitlist.").min(1).optional().nullable(),
382
+ remainingCapacity: /* @__PURE__ */ z.number().int().describe(
383
383
  "Number of remaining spots in the waitlist.\nFor example, an event with a waitlist for 10 people and 3 registrants, results in a remaining capacity of `7`."
384
384
  ).min(0).optional().nullable()
385
385
  }).describe(
386
386
  "Information about the event's waitlist. Available only if the service has a waitlist."
387
387
  ).optional(),
388
- eventTitle: z.string().describe("Event title.").min(1).max(200).optional().nullable()
388
+ eventTitle: /* @__PURE__ */ z.string().describe("Event title.").min(1).max(200).optional().nullable()
389
389
  }).describe(
390
390
  "Information about the [event](https://dev.wix.com/docs/api-reference/business-management/calendar/events-v3/introduction) related to the slot.\nAvailable only for classes. Not available for appointment-based services and courses."
391
391
  ).optional(),
392
- totalCapacity: z.number().int().describe(
392
+ totalCapacity: /* @__PURE__ */ z.number().int().describe(
393
393
  "Total number of spots for the slot.\n\nFor multi-service bookings, this is always `1` because customers book the entire service sequence as a single unit.\n\nIn `ListAvailabilityTimeSlotEndOptions`, capacity reflects whether at least one resource can cover `[localStartDate, localEndDate]`; the specific resource is selected later via `GetAvailabilityTimeSlot`."
394
394
  ).min(1).max(1e3).optional().nullable(),
395
- remainingCapacity: z.number().int().describe(
395
+ remainingCapacity: /* @__PURE__ */ z.number().int().describe(
396
396
  "Remaining number of spots for the slot.\n- For appointment bookings: Either `1` (available) or `0` (unavailable).\n- For classes: Total capacity minus booked spots. Doesn't account for waitlist reservations. For classes with waitlists, use `bookableCapacity` to get the actual number of spots customers can book.\n- For courses: Total capacity minus booked spots. Courses don't currently support waitlists.\n\nIn `ListAvailabilityTimeSlotEndOptions`, capacity reflects whether at least one resource can cover `[localStartDate, localEndDate]`; the specific resource is selected later via `GetAvailabilityTimeSlot`."
397
397
  ).min(0).max(1e3).optional().nullable(),
398
- bookableCapacity: z.number().int().describe(
398
+ bookableCapacity: /* @__PURE__ */ z.number().int().describe(
399
399
  "Number of spots that customers can book for the slot.\nCalculated as the remaining capacity minus the spots reserved for the waitlist.\nIf the service has no waitlist, identical to `remainingCapacity`.\n\nFor multi-service bookings, this is either `1` (sequence can be booked) or `0` (sequence can't be booked).\n\nIn `ListAvailabilityTimeSlotEndOptions`, capacity reflects whether at least one resource can cover `[localStartDate, localEndDate]`; the specific resource is selected later via `GetAvailabilityTimeSlot`."
400
400
  ).optional().nullable(),
401
- bookingPolicyViolations: z.object({
402
- tooEarlyToBook: z.boolean().describe(
401
+ bookingPolicyViolations: /* @__PURE__ */ z.object({
402
+ tooEarlyToBook: /* @__PURE__ */ z.boolean().describe(
403
403
  'Whether it\'s too early for customers to book the slot.\n\nBy default, all slots are returned. Specifying `{"tooEarlyToBook": false}` returns only those that customers can already book, while specifying `{"tooEarlyToBook": true}` returns only those that can\'t be booked yet.'
404
404
  ).optional().nullable(),
405
- earliestBookingDate: z.date().describe(
405
+ earliestBookingDate: /* @__PURE__ */ z.date().describe(
406
406
  "Earliest time for booking the slot in `YYYY-MM-DDThh:mm:ss.sssZ` format.\n\n*In responses**: Contains a value when `tooEarlyToBook` is `true`, indicating the earliest time customers can book the slot.\n\n*In requests**: Don't specify a value for this field. Use `tooEarlyToBook` to filter slots that can't be booked yet due to minimum advance booking time restrictions."
407
407
  ).optional().nullable(),
408
- tooLateToBook: z.boolean().describe(
408
+ tooLateToBook: /* @__PURE__ */ z.boolean().describe(
409
409
  'Whether it\'s too late for customers to book the slot.\n\nBy default, all slots are returned. Specifying `{"tooLateToBook": false}` returns only those that customers can still book, while specifying `{"tooLateToBook": true}` returns only those that can no longer be booked.'
410
410
  ).optional().nullable(),
411
- bookOnlineDisabled: z.boolean().describe(
411
+ bookOnlineDisabled: /* @__PURE__ */ z.boolean().describe(
412
412
  "Whether customers can book the service online.\n\nBy default, both services with online booking enabled and disabled are returned. Providing the boolean set to `true` or `false` returns only matching slots."
413
413
  ).optional().nullable()
414
414
  }).describe(
415
415
  "Information about booking policy violations for the slot.\n\nFor multi-service bookings, this aggregates violations from all services in the sequence."
416
416
  ).optional(),
417
- availableResources: z.array(
418
- z.object({
419
- resourceTypeId: z.string().describe(
417
+ availableResources: /* @__PURE__ */ z.array(
418
+ /* @__PURE__ */ z.object({
419
+ resourceTypeId: /* @__PURE__ */ z.string().describe(
420
420
  "[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)."
421
421
  ).regex(
422
422
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
423
423
  "Must be a valid GUID"
424
424
  ).optional().nullable(),
425
- resources: z.array(
426
- z.object({
427
- _id: z.string().describe("Resource ID.").regex(
425
+ resources: /* @__PURE__ */ z.array(
426
+ /* @__PURE__ */ z.object({
427
+ _id: /* @__PURE__ */ z.string().describe("Resource ID.").regex(
428
428
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
429
429
  "Must be a valid GUID"
430
430
  ).optional(),
431
- name: z.string().describe("Resource name.").min(1).optional().nullable()
431
+ name: /* @__PURE__ */ z.string().describe("Resource name.").min(1).optional().nullable()
432
432
  })
433
433
  ).optional(),
434
- hasMoreAvailableResources: z.boolean().describe(
434
+ hasMoreAvailableResources: /* @__PURE__ */ z.boolean().describe(
435
435
  "Whether there are more available resources for the slot than those listed in `resources`."
436
436
  ).optional().nullable()
437
437
  })
438
438
  ).min(0).optional(),
439
- nestedTimeSlots: z.array(
440
- z.object({
441
- serviceId: z.string().describe("Service ID of the nested time slot.").regex(
439
+ nestedTimeSlots: /* @__PURE__ */ z.array(
440
+ /* @__PURE__ */ z.object({
441
+ serviceId: /* @__PURE__ */ z.string().describe("Service ID of the nested time slot.").regex(
442
442
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
443
443
  "Must be a valid GUID"
444
444
  ).optional(),
445
- localStartDate: z.string().describe(
445
+ localStartDate: /* @__PURE__ */ z.string().describe(
446
446
  "Local start date of the nested time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`."
447
447
  ).optional(),
448
- localEndDate: z.string().describe(
448
+ localEndDate: /* @__PURE__ */ z.string().describe(
449
449
  "Local end date of the nested time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`."
450
450
  ).optional(),
451
- availableResources: z.array(
452
- z.object({
453
- resourceTypeId: z.string().describe(
451
+ availableResources: /* @__PURE__ */ z.array(
452
+ /* @__PURE__ */ z.object({
453
+ resourceTypeId: /* @__PURE__ */ z.string().describe(
454
454
  "[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)."
455
455
  ).regex(
456
456
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
457
457
  "Must be a valid GUID"
458
458
  ).optional().nullable(),
459
- resources: z.array(
460
- z.object({
461
- _id: z.string().describe("Resource ID.").regex(
459
+ resources: /* @__PURE__ */ z.array(
460
+ /* @__PURE__ */ z.object({
461
+ _id: /* @__PURE__ */ z.string().describe("Resource ID.").regex(
462
462
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
463
463
  "Must be a valid GUID"
464
464
  ).optional(),
465
- name: z.string().describe("Resource name.").min(1).optional().nullable()
465
+ name: /* @__PURE__ */ z.string().describe("Resource name.").min(1).optional().nullable()
466
466
  })
467
467
  ).optional(),
468
- hasMoreAvailableResources: z.boolean().describe(
468
+ hasMoreAvailableResources: /* @__PURE__ */ z.boolean().describe(
469
469
  "Whether there are more available resources for the slot than those listed in `resources`."
470
470
  ).optional().nullable()
471
471
  })
472
472
  ).max(10).optional(),
473
- scheduleId: z.string().describe(
473
+ scheduleId: /* @__PURE__ */ z.string().describe(
474
474
  "The schedule ID associated with this nested time slot.\nSame as the service's schedule ID."
475
475
  ).regex(
476
476
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
477
477
  "Must be a valid GUID"
478
478
  ).optional().nullable()
479
479
  })
480
- ).max(8).optional(),
481
- nonBookableReasons: z.object({
482
- noRemainingCapacity: z.boolean().describe(
480
+ ).max(100).optional(),
481
+ nonBookableReasons: /* @__PURE__ */ z.object({
482
+ noRemainingCapacity: /* @__PURE__ */ z.boolean().describe(
483
483
  "Whether the slot is fully booked with no remaining capacity."
484
484
  ).optional().nullable(),
485
- violatesBookingPolicy: z.boolean().describe(
485
+ violatesBookingPolicy: /* @__PURE__ */ z.boolean().describe(
486
486
  "Whether booking the slot violates any of the service's booking policies."
487
487
  ).optional().nullable(),
488
- reservedForWaitingList: z.boolean().describe(
488
+ reservedForWaitingList: /* @__PURE__ */ z.boolean().describe(
489
489
  "Whether the slot is reserved for the waitlist. A new customer can't book the reserved slot."
490
490
  ).optional().nullable(),
491
- eventCancelled: z.boolean().describe("Whether the related event is cancelled.").optional().nullable()
491
+ eventCancelled: /* @__PURE__ */ z.boolean().describe("Whether the related event is cancelled.").optional().nullable()
492
492
  }).describe(
493
493
  "Information about why customers can't book the time slot."
494
494
  ).optional(),
495
- scheduleId: z.string().describe(
495
+ scheduleId: /* @__PURE__ */ z.string().describe(
496
496
  "Schedule ID associated with this time slot.\nSame as the service's schedule ID."
497
497
  ).regex(
498
498
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
499
499
  "Must be a valid GUID"
500
500
  ).optional().nullable(),
501
- allDay: z.boolean().describe(
501
+ allDay: /* @__PURE__ */ z.boolean().describe(
502
502
  "Whether this time slot spans one or more full days.\nWhen `true`, `localStartDate` is `00:00:00` of the first day and `localEndDate` is `00:00:00` of the day after the last day (exclusive).\nMidnight boundaries are interpreted in the event's `timeZone`.\nThe time component should be ignored for display purposes.\n\nDefault: `false`"
503
503
  ).optional().nullable()
504
504
  })
505
505
  ).max(1e3).optional(),
506
- timeZone: z.string().describe(
506
+ timeZone: /* @__PURE__ */ z.string().describe(
507
507
  "Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database). For example, `America/New_York` or `UTC`."
508
508
  ).optional().nullable()
509
509
  });
510
510
  var GetAvailabilityTimeSlotRequest = /* @__PURE__ */ z.object({
511
- serviceId: z.string().describe(
511
+ serviceId: /* @__PURE__ */ z.string().describe(
512
512
  "Service ID of the time slot.\nYou must specify the ID of an appointment-based service."
513
513
  ).regex(
514
514
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
515
515
  "Must be a valid GUID"
516
516
  ),
517
- localStartDate: z.string().describe(
517
+ localStartDate: /* @__PURE__ */ z.string().describe(
518
518
  "Local start date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`."
519
519
  ),
520
- localEndDate: z.string().describe(
520
+ localEndDate: /* @__PURE__ */ z.string().describe(
521
521
  "Local end date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`."
522
522
  ),
523
- timeZone: z.string().describe(
523
+ timeZone: /* @__PURE__ */ z.string().describe(
524
524
  "Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.\nFor example, `America/New_York` or `UTC`.\n\nDefault: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties)."
525
525
  ).min(1).max(150),
526
- location: z.object({
527
- _id: z.string().describe(
526
+ location: /* @__PURE__ */ z.object({
527
+ _id: /* @__PURE__ */ z.string().describe(
528
528
  "[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\nAvailable only for business locations."
529
529
  ).regex(
530
530
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
531
531
  "Must be a valid GUID"
532
532
  ).optional().nullable(),
533
- name: z.string().describe("Location name.").optional().nullable(),
534
- formattedAddress: z.string().describe("Formatted location address.").optional().nullable(),
535
- locationType: z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).optional()
533
+ name: /* @__PURE__ */ z.string().describe("Location name.").optional().nullable(),
534
+ formattedAddress: /* @__PURE__ */ z.string().describe("Formatted location address.").optional().nullable(),
535
+ locationType: /* @__PURE__ */ z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).optional()
536
536
  }).describe(
537
537
  "Location to filter time slots by.\n\nFor business locations, you must specify a location ID.\nWhen specifying a location ID, all other location field filters are ignored."
538
538
  ),
539
- options: z.object({
540
- includeResourceTypeIds: z.array(z.string()).max(100).optional(),
541
- resourceTypes: z.array(
542
- z.object({
543
- resourceTypeId: z.string().describe(
539
+ options: /* @__PURE__ */ z.object({
540
+ includeResourceTypeIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).max(100).optional(),
541
+ resourceTypes: /* @__PURE__ */ z.array(
542
+ /* @__PURE__ */ z.object({
543
+ resourceTypeId: /* @__PURE__ */ z.string().describe(
544
544
  "[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)."
545
545
  ).regex(
546
546
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
547
547
  "Must be a valid GUID"
548
548
  ).optional().nullable(),
549
- resourceIds: z.array(z.string()).max(135).optional()
549
+ resourceIds: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).max(135).optional()
550
550
  })
551
551
  ).max(8).optional()
552
552
  }).optional()
553
553
  });
554
554
  var GetAvailabilityTimeSlotResponse = /* @__PURE__ */ z.object({
555
- timeSlot: z.object({
556
- serviceId: z.string().describe(
555
+ timeSlot: /* @__PURE__ */ z.object({
556
+ serviceId: /* @__PURE__ */ z.string().describe(
557
557
  "[Service ID] (https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction).\n\nAvailable only for single-service bookings. For multi-service bookings, this field is empty and individual service IDs are provided in `nestedTimeSlots`."
558
558
  ).regex(
559
559
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
560
560
  "Must be a valid GUID"
561
561
  ).optional().nullable(),
562
- localStartDate: z.string().describe(
562
+ localStartDate: /* @__PURE__ */ z.string().describe(
563
563
  "Local start date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`.\n\nFor multi-service bookings, this represents the start time of the first service in the sequence.\n\nIn `ListAvailabilityTimeSlotEndOptions`, this is identical on every entry and equals the request's `localStartDate`."
564
564
  ).optional().nullable(),
565
- localEndDate: z.string().describe(
565
+ localEndDate: /* @__PURE__ */ z.string().describe(
566
566
  "Local end date of the time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T14:00:00`.\n\nFor multi-service bookings, this represents the end time of the last service in the sequence."
567
567
  ).optional().nullable(),
568
- bookable: z.boolean().describe(
568
+ bookable: /* @__PURE__ */ z.boolean().describe(
569
569
  "Whether customers can book the slot according to the service's [booking policies](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/introduction).\n\nFor multi-service bookings, this is `true` only when all services in the sequence comply with their respective booking policies."
570
570
  ).optional().nullable(),
571
- location: z.object({
572
- _id: z.string().describe(
571
+ location: /* @__PURE__ */ z.object({
572
+ _id: /* @__PURE__ */ z.string().describe(
573
573
  "[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\nAvailable only for business locations."
574
574
  ).regex(
575
575
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
576
576
  "Must be a valid GUID"
577
577
  ).optional().nullable(),
578
- name: z.string().describe("Location name.").optional().nullable(),
579
- formattedAddress: z.string().describe("Formatted location address.").optional().nullable(),
580
- locationType: z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).describe("Location type.").optional()
578
+ name: /* @__PURE__ */ z.string().describe("Location name.").optional().nullable(),
579
+ formattedAddress: /* @__PURE__ */ z.string().describe("Formatted location address.").optional().nullable(),
580
+ locationType: /* @__PURE__ */ z.enum(["BUSINESS", "CUSTOM", "CUSTOMER"]).describe("Location type.").optional()
581
581
  }).describe(
582
582
  "Information about where the business provides the service to the customer.\n\nIn `ListAvailabilityTimeSlotEndOptions`, this is the requested location, identical on every entry."
583
583
  ).optional(),
584
- eventInfo: z.object({
585
- eventId: z.string().describe("Event ID.").min(36).max(250).optional().nullable(),
586
- waitingList: z.object({
587
- totalCapacity: z.number().int().describe("Total number of spots in the waitlist.").min(1).optional().nullable(),
588
- remainingCapacity: z.number().int().describe(
584
+ eventInfo: /* @__PURE__ */ z.object({
585
+ eventId: /* @__PURE__ */ z.string().describe("Event ID.").min(36).max(250).optional().nullable(),
586
+ waitingList: /* @__PURE__ */ z.object({
587
+ totalCapacity: /* @__PURE__ */ z.number().int().describe("Total number of spots in the waitlist.").min(1).optional().nullable(),
588
+ remainingCapacity: /* @__PURE__ */ z.number().int().describe(
589
589
  "Number of remaining spots in the waitlist.\nFor example, an event with a waitlist for 10 people and 3 registrants, results in a remaining capacity of `7`."
590
590
  ).min(0).optional().nullable()
591
591
  }).describe(
592
592
  "Information about the event's waitlist. Available only if the service has a waitlist."
593
593
  ).optional(),
594
- eventTitle: z.string().describe("Event title.").min(1).max(200).optional().nullable()
594
+ eventTitle: /* @__PURE__ */ z.string().describe("Event title.").min(1).max(200).optional().nullable()
595
595
  }).describe(
596
596
  "Information about the [event](https://dev.wix.com/docs/api-reference/business-management/calendar/events-v3/introduction) related to the slot.\nAvailable only for classes. Not available for appointment-based services and courses."
597
597
  ).optional(),
598
- totalCapacity: z.number().int().describe(
598
+ totalCapacity: /* @__PURE__ */ z.number().int().describe(
599
599
  "Total number of spots for the slot.\n\nFor multi-service bookings, this is always `1` because customers book the entire service sequence as a single unit.\n\nIn `ListAvailabilityTimeSlotEndOptions`, capacity reflects whether at least one resource can cover `[localStartDate, localEndDate]`; the specific resource is selected later via `GetAvailabilityTimeSlot`."
600
600
  ).min(1).max(1e3).optional().nullable(),
601
- remainingCapacity: z.number().int().describe(
601
+ remainingCapacity: /* @__PURE__ */ z.number().int().describe(
602
602
  "Remaining number of spots for the slot.\n- For appointment bookings: Either `1` (available) or `0` (unavailable).\n- For classes: Total capacity minus booked spots. Doesn't account for waitlist reservations. For classes with waitlists, use `bookableCapacity` to get the actual number of spots customers can book.\n- For courses: Total capacity minus booked spots. Courses don't currently support waitlists.\n\nIn `ListAvailabilityTimeSlotEndOptions`, capacity reflects whether at least one resource can cover `[localStartDate, localEndDate]`; the specific resource is selected later via `GetAvailabilityTimeSlot`."
603
603
  ).min(0).max(1e3).optional().nullable(),
604
- bookableCapacity: z.number().int().describe(
604
+ bookableCapacity: /* @__PURE__ */ z.number().int().describe(
605
605
  "Number of spots that customers can book for the slot.\nCalculated as the remaining capacity minus the spots reserved for the waitlist.\nIf the service has no waitlist, identical to `remainingCapacity`.\n\nFor multi-service bookings, this is either `1` (sequence can be booked) or `0` (sequence can't be booked).\n\nIn `ListAvailabilityTimeSlotEndOptions`, capacity reflects whether at least one resource can cover `[localStartDate, localEndDate]`; the specific resource is selected later via `GetAvailabilityTimeSlot`."
606
606
  ).optional().nullable(),
607
- bookingPolicyViolations: z.object({
608
- tooEarlyToBook: z.boolean().describe(
607
+ bookingPolicyViolations: /* @__PURE__ */ z.object({
608
+ tooEarlyToBook: /* @__PURE__ */ z.boolean().describe(
609
609
  'Whether it\'s too early for customers to book the slot.\n\nBy default, all slots are returned. Specifying `{"tooEarlyToBook": false}` returns only those that customers can already book, while specifying `{"tooEarlyToBook": true}` returns only those that can\'t be booked yet.'
610
610
  ).optional().nullable(),
611
- earliestBookingDate: z.date().describe(
611
+ earliestBookingDate: /* @__PURE__ */ z.date().describe(
612
612
  "Earliest time for booking the slot in `YYYY-MM-DDThh:mm:ss.sssZ` format.\n\n*In responses**: Contains a value when `tooEarlyToBook` is `true`, indicating the earliest time customers can book the slot.\n\n*In requests**: Don't specify a value for this field. Use `tooEarlyToBook` to filter slots that can't be booked yet due to minimum advance booking time restrictions."
613
613
  ).optional().nullable(),
614
- tooLateToBook: z.boolean().describe(
614
+ tooLateToBook: /* @__PURE__ */ z.boolean().describe(
615
615
  'Whether it\'s too late for customers to book the slot.\n\nBy default, all slots are returned. Specifying `{"tooLateToBook": false}` returns only those that customers can still book, while specifying `{"tooLateToBook": true}` returns only those that can no longer be booked.'
616
616
  ).optional().nullable(),
617
- bookOnlineDisabled: z.boolean().describe(
617
+ bookOnlineDisabled: /* @__PURE__ */ z.boolean().describe(
618
618
  "Whether customers can book the service online.\n\nBy default, both services with online booking enabled and disabled are returned. Providing the boolean set to `true` or `false` returns only matching slots."
619
619
  ).optional().nullable()
620
620
  }).describe(
621
621
  "Information about booking policy violations for the slot.\n\nFor multi-service bookings, this aggregates violations from all services in the sequence."
622
622
  ).optional(),
623
- availableResources: z.array(
624
- z.object({
625
- resourceTypeId: z.string().describe(
623
+ availableResources: /* @__PURE__ */ z.array(
624
+ /* @__PURE__ */ z.object({
625
+ resourceTypeId: /* @__PURE__ */ z.string().describe(
626
626
  "[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)."
627
627
  ).regex(
628
628
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
629
629
  "Must be a valid GUID"
630
630
  ).optional().nullable(),
631
- resources: z.array(
632
- z.object({
633
- _id: z.string().describe("Resource ID.").regex(
631
+ resources: /* @__PURE__ */ z.array(
632
+ /* @__PURE__ */ z.object({
633
+ _id: /* @__PURE__ */ z.string().describe("Resource ID.").regex(
634
634
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
635
635
  "Must be a valid GUID"
636
636
  ).optional(),
637
- name: z.string().describe("Resource name.").min(1).optional().nullable()
637
+ name: /* @__PURE__ */ z.string().describe("Resource name.").min(1).optional().nullable()
638
638
  })
639
639
  ).optional(),
640
- hasMoreAvailableResources: z.boolean().describe(
640
+ hasMoreAvailableResources: /* @__PURE__ */ z.boolean().describe(
641
641
  "Whether there are more available resources for the slot than those listed in `resources`."
642
642
  ).optional().nullable()
643
643
  })
644
644
  ).min(0).optional(),
645
- nestedTimeSlots: z.array(
646
- z.object({
647
- serviceId: z.string().describe("Service ID of the nested time slot.").regex(
645
+ nestedTimeSlots: /* @__PURE__ */ z.array(
646
+ /* @__PURE__ */ z.object({
647
+ serviceId: /* @__PURE__ */ z.string().describe("Service ID of the nested time slot.").regex(
648
648
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
649
649
  "Must be a valid GUID"
650
650
  ).optional(),
651
- localStartDate: z.string().describe(
651
+ localStartDate: /* @__PURE__ */ z.string().describe(
652
652
  "Local start date of the nested time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`."
653
653
  ).optional(),
654
- localEndDate: z.string().describe(
654
+ localEndDate: /* @__PURE__ */ z.string().describe(
655
655
  "Local end date of the nested time slot in `YYYY-MM-DDThh:mm:ss` [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nFor example, `2026-01-30T13:30:00`."
656
656
  ).optional(),
657
- availableResources: z.array(
658
- z.object({
659
- resourceTypeId: z.string().describe(
657
+ availableResources: /* @__PURE__ */ z.array(
658
+ /* @__PURE__ */ z.object({
659
+ resourceTypeId: /* @__PURE__ */ z.string().describe(
660
660
  "[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)."
661
661
  ).regex(
662
662
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
663
663
  "Must be a valid GUID"
664
664
  ).optional().nullable(),
665
- resources: z.array(
666
- z.object({
667
- _id: z.string().describe("Resource ID.").regex(
665
+ resources: /* @__PURE__ */ z.array(
666
+ /* @__PURE__ */ z.object({
667
+ _id: /* @__PURE__ */ z.string().describe("Resource ID.").regex(
668
668
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
669
669
  "Must be a valid GUID"
670
670
  ).optional(),
671
- name: z.string().describe("Resource name.").min(1).optional().nullable()
671
+ name: /* @__PURE__ */ z.string().describe("Resource name.").min(1).optional().nullable()
672
672
  })
673
673
  ).optional(),
674
- hasMoreAvailableResources: z.boolean().describe(
674
+ hasMoreAvailableResources: /* @__PURE__ */ z.boolean().describe(
675
675
  "Whether there are more available resources for the slot than those listed in `resources`."
676
676
  ).optional().nullable()
677
677
  })
678
678
  ).max(10).optional(),
679
- scheduleId: z.string().describe(
679
+ scheduleId: /* @__PURE__ */ z.string().describe(
680
680
  "The schedule ID associated with this nested time slot.\nSame as the service's schedule ID."
681
681
  ).regex(
682
682
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
683
683
  "Must be a valid GUID"
684
684
  ).optional().nullable()
685
685
  })
686
- ).max(8).optional(),
687
- nonBookableReasons: z.object({
688
- noRemainingCapacity: z.boolean().describe(
686
+ ).max(100).optional(),
687
+ nonBookableReasons: /* @__PURE__ */ z.object({
688
+ noRemainingCapacity: /* @__PURE__ */ z.boolean().describe(
689
689
  "Whether the slot is fully booked with no remaining capacity."
690
690
  ).optional().nullable(),
691
- violatesBookingPolicy: z.boolean().describe(
691
+ violatesBookingPolicy: /* @__PURE__ */ z.boolean().describe(
692
692
  "Whether booking the slot violates any of the service's booking policies."
693
693
  ).optional().nullable(),
694
- reservedForWaitingList: z.boolean().describe(
694
+ reservedForWaitingList: /* @__PURE__ */ z.boolean().describe(
695
695
  "Whether the slot is reserved for the waitlist. A new customer can't book the reserved slot."
696
696
  ).optional().nullable(),
697
- eventCancelled: z.boolean().describe("Whether the related event is cancelled.").optional().nullable()
697
+ eventCancelled: /* @__PURE__ */ z.boolean().describe("Whether the related event is cancelled.").optional().nullable()
698
698
  }).describe("Information about why customers can't book the time slot.").optional(),
699
- scheduleId: z.string().describe(
699
+ scheduleId: /* @__PURE__ */ z.string().describe(
700
700
  "Schedule ID associated with this time slot.\nSame as the service's schedule ID."
701
701
  ).regex(
702
702
  /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
703
703
  "Must be a valid GUID"
704
704
  ).optional().nullable(),
705
- allDay: z.boolean().describe(
705
+ allDay: /* @__PURE__ */ z.boolean().describe(
706
706
  "Whether this time slot spans one or more full days.\nWhen `true`, `localStartDate` is `00:00:00` of the first day and `localEndDate` is `00:00:00` of the day after the last day (exclusive).\nMidnight boundaries are interpreted in the event's `timeZone`.\nThe time component should be ignored for display purposes.\n\nDefault: `false`"
707
707
  ).optional().nullable()
708
708
  }).describe("Retrieved time slot.").optional(),
709
- timeZone: z.string().describe(
709
+ timeZone: /* @__PURE__ */ z.string().describe(
710
710
  "Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database) for adjusting `fromLocalDate` and `toLocalDate`.\nFor example, `America/New_York` or `UTC`.\n\nDefault: `timeZone` specified in the business [site properties](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties)."
711
711
  ).min(1).max(150).optional().nullable()
712
712
  });