@wix/auto_sdk_bookings_availability-time-slots 1.0.261 → 1.0.263

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +14 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +39 -9
  5. package/build/cjs/index.typings.js +14 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +36 -6
  8. package/build/cjs/meta.js +14 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.js +3 -3
  11. package/build/cjs/schemas.js.map +1 -1
  12. package/build/es/index.d.mts +1 -1
  13. package/build/es/index.mjs +12 -0
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +39 -9
  16. package/build/es/index.typings.mjs +12 -0
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +36 -6
  19. package/build/es/meta.mjs +12 -0
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/es/schemas.mjs +3 -3
  22. package/build/es/schemas.mjs.map +1 -1
  23. package/build/internal/cjs/index.d.ts +1 -1
  24. package/build/internal/cjs/index.js +14 -0
  25. package/build/internal/cjs/index.js.map +1 -1
  26. package/build/internal/cjs/index.typings.d.ts +88 -9
  27. package/build/internal/cjs/index.typings.js +14 -0
  28. package/build/internal/cjs/index.typings.js.map +1 -1
  29. package/build/internal/cjs/meta.d.ts +85 -6
  30. package/build/internal/cjs/meta.js +14 -0
  31. package/build/internal/cjs/meta.js.map +1 -1
  32. package/build/internal/cjs/schemas.js +3 -3
  33. package/build/internal/cjs/schemas.js.map +1 -1
  34. package/build/internal/es/index.d.mts +1 -1
  35. package/build/internal/es/index.mjs +12 -0
  36. package/build/internal/es/index.mjs.map +1 -1
  37. package/build/internal/es/index.typings.d.mts +88 -9
  38. package/build/internal/es/index.typings.mjs +12 -0
  39. package/build/internal/es/index.typings.mjs.map +1 -1
  40. package/build/internal/es/meta.d.mts +85 -6
  41. package/build/internal/es/meta.mjs +12 -0
  42. package/build/internal/es/meta.mjs.map +1 -1
  43. package/build/internal/es/schemas.mjs +3 -3
  44. package/build/internal/es/schemas.mjs.map +1 -1
  45. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"sources":["../../schemas.ts","../../src/bookings-availability-v2-time-slot-availability-time-slots.schemas.ts"],"sourcesContent":["export * from './src/bookings-availability-v2-time-slot-availability-time-slots.schemas.js';\n","import * as z from 'zod';\n\nexport const ListAvailabilityTimeSlotsRequest = z.object({\n options: z\n .object({\n serviceId: z\n .string()\n .describe(\n 'Service ID for which to retrieve time slots. You must specify the ID of an appointment-based service.\\nRequired, unless you specify `cursorPaging.cursor`.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n fromLocalDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional()\n .nullable(),\n toLocalDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional()\n .nullable(),\n timeZone: z\n .string()\n .describe(\n '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).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n locations: z\n .array(\n z.object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z.enum(['BUSINESS', 'CUSTOM', 'CUSTOMER']).optional(),\n })\n )\n .min(0)\n .max(5)\n .optional(),\n includeResourceTypeIds: z.array(z.string()).max(100).optional(),\n bookable: z\n .boolean()\n .describe(\n \"Whether the time slot is bookable according to the service's booking policies.\\nIf not specified, returns both bookable and un-bookable time slots.\"\n )\n .optional()\n .nullable(),\n bookingPolicyViolations: z\n .object({\n tooEarlyToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n earliestBookingDate: z\n .date()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n tooLateToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookOnlineDisabled: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n \"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.\"\n )\n .optional(),\n timeSlotsPerDay: z\n .number()\n .int()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n cursorPaging: z\n .object({\n limit: z\n .number()\n .int()\n .describe(\n 'Number of results to load.\\n\\nDefault: `1000`.\\nMax: `1000`.'\n )\n .min(0)\n .max(1000)\n .optional()\n .nullable(),\n cursor: z\n .string()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n })\n .describe(\n '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.'\n )\n .optional(),\n customerChoices: z\n .object({\n durationInMinutes: z\n .number()\n .int()\n .describe(\n \"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.\"\n )\n .min(1)\n .max(44639)\n .optional()\n .nullable(),\n addOnIds: z.array(z.string()).max(21).optional(),\n })\n .describe(\n \"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.\"\n )\n .optional(),\n resourceTypes: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resourceIds: z.array(z.string()).max(135).optional(),\n })\n )\n .max(3)\n .optional(),\n })\n .optional(),\n});\nexport const ListAvailabilityTimeSlotsResponse = z.object({\n timeSlots: z\n .array(\n z.object({\n serviceId: z\n .string()\n .describe(\n '[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`.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n localStartDate: z\n .string()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n localEndDate: z\n .string()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookable: z\n .boolean()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n location: z\n .object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z\n .enum(['BUSINESS', 'CUSTOM', 'CUSTOMER'])\n .describe('Location type.')\n .optional(),\n })\n .describe(\n 'Information about where the business provides the service to the customer.\\n\\nIn `ListAvailabilityTimeSlotEndOptions`, this is the requested location, identical on every entry.'\n )\n .optional(),\n eventInfo: z\n .object({\n eventId: z\n .string()\n .describe('Event ID.')\n .min(36)\n .max(250)\n .optional()\n .nullable(),\n waitingList: z\n .object({\n totalCapacity: z\n .number()\n .int()\n .describe('Total number of spots in the waitlist.')\n .min(1)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(0)\n .optional()\n .nullable(),\n })\n .describe(\n \"Information about the event's waitlist. Available only if the service has a waitlist.\"\n )\n .optional(),\n eventTitle: z\n .string()\n .describe('Event title.')\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n })\n .describe(\n '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.'\n )\n .optional(),\n totalCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .min(0)\n .max(1000)\n .optional()\n .nullable(),\n bookableCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n bookingPolicyViolations: z\n .object({\n tooEarlyToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n earliestBookingDate: z\n .date()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n tooLateToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookOnlineDisabled: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Information about booking policy violations for the slot.\\n\\nFor multi-service bookings, this aggregates violations from all services in the sequence.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .min(0)\n .optional(),\n nestedTimeSlots: z\n .array(\n z.object({\n serviceId: z\n .string()\n .describe('Service ID of the nested time slot.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n localStartDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n localEndDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .max(10)\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"The schedule ID associated with this nested time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n })\n )\n .max(8)\n .optional(),\n nonBookableReasons: z\n .object({\n noRemainingCapacity: z\n .boolean()\n .describe(\n 'Whether the slot is fully booked with no remaining capacity.'\n )\n .optional()\n .nullable(),\n violatesBookingPolicy: z\n .boolean()\n .describe(\n \"Whether booking the slot violates any of the service's booking policies.\"\n )\n .optional()\n .nullable(),\n reservedForWaitingList: z\n .boolean()\n .describe(\n \"Whether the slot is reserved for the waitlist. A new customer can't book the reserved slot.\"\n )\n .optional()\n .nullable(),\n eventCancelled: z\n .boolean()\n .describe('Whether the related event is cancelled.')\n .optional()\n .nullable(),\n })\n .describe(\"Information about why customers can't book the time slot.\")\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"Schedule ID associated with this time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n allDay: z\n .boolean()\n .describe(\n \"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`\"\n )\n .optional()\n .nullable(),\n })\n )\n .max(1000)\n .optional(),\n timeZone: z\n .string()\n .describe(\n '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).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n cursorPagingMetadata: z\n .object({\n cursors: z\n .object({\n next: z\n .string()\n .describe('Cursor pointing to next page in the list of results.')\n .optional()\n .nullable(),\n prev: z\n .string()\n .describe(\n 'Cursor pointing to previous page in the list of results.'\n )\n .optional()\n .nullable(),\n })\n .describe('Offset that was requested.')\n .optional(),\n hasNext: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Paging metadata for the next page of results.\\nContains a cursor if there are more than 1000 results.'\n )\n .optional(),\n});\nexport const ListAvailabilityTimeSlotEndOptionsRequest = z.object({\n serviceId: z\n .string()\n .describe(\n '[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`.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n options: z.object({\n localStartDate: z\n .string()\n .describe(\n '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.'\n ),\n maxLocalEndDate: z\n .string()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n timeZone: z\n .string()\n .describe(\n '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).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n location: z\n .object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z.enum(['BUSINESS', 'CUSTOM', 'CUSTOMER']).optional(),\n })\n .describe(\n '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).'\n ),\n resourceTypes: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resourceIds: z.array(z.string()).max(135).optional(),\n })\n )\n .max(3)\n .optional(),\n }),\n});\nexport const ListAvailabilityTimeSlotEndOptionsResponse = z.object({\n endOptions: z\n .array(\n z.object({\n serviceId: z\n .string()\n .describe(\n '[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`.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n localStartDate: z\n .string()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n localEndDate: z\n .string()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookable: z\n .boolean()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n location: z\n .object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z\n .enum(['BUSINESS', 'CUSTOM', 'CUSTOMER'])\n .describe('Location type.')\n .optional(),\n })\n .describe(\n 'Information about where the business provides the service to the customer.\\n\\nIn `ListAvailabilityTimeSlotEndOptions`, this is the requested location, identical on every entry.'\n )\n .optional(),\n eventInfo: z\n .object({\n eventId: z\n .string()\n .describe('Event ID.')\n .min(36)\n .max(250)\n .optional()\n .nullable(),\n waitingList: z\n .object({\n totalCapacity: z\n .number()\n .int()\n .describe('Total number of spots in the waitlist.')\n .min(1)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(0)\n .optional()\n .nullable(),\n })\n .describe(\n \"Information about the event's waitlist. Available only if the service has a waitlist.\"\n )\n .optional(),\n eventTitle: z\n .string()\n .describe('Event title.')\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n })\n .describe(\n '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.'\n )\n .optional(),\n totalCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .min(0)\n .max(1000)\n .optional()\n .nullable(),\n bookableCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n bookingPolicyViolations: z\n .object({\n tooEarlyToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n earliestBookingDate: z\n .date()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n tooLateToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookOnlineDisabled: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Information about booking policy violations for the slot.\\n\\nFor multi-service bookings, this aggregates violations from all services in the sequence.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .min(0)\n .optional(),\n nestedTimeSlots: z\n .array(\n z.object({\n serviceId: z\n .string()\n .describe('Service ID of the nested time slot.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n localStartDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n localEndDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .max(10)\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"The schedule ID associated with this nested time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n })\n )\n .max(8)\n .optional(),\n nonBookableReasons: z\n .object({\n noRemainingCapacity: z\n .boolean()\n .describe(\n 'Whether the slot is fully booked with no remaining capacity.'\n )\n .optional()\n .nullable(),\n violatesBookingPolicy: z\n .boolean()\n .describe(\n \"Whether booking the slot violates any of the service's booking policies.\"\n )\n .optional()\n .nullable(),\n reservedForWaitingList: z\n .boolean()\n .describe(\n \"Whether the slot is reserved for the waitlist. A new customer can't book the reserved slot.\"\n )\n .optional()\n .nullable(),\n eventCancelled: z\n .boolean()\n .describe('Whether the related event is cancelled.')\n .optional()\n .nullable(),\n })\n .describe(\"Information about why customers can't book the time slot.\")\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"Schedule ID associated with this time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n allDay: z\n .boolean()\n .describe(\n \"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`\"\n )\n .optional()\n .nullable(),\n })\n )\n .max(1000)\n .optional(),\n timeZone: z\n .string()\n .describe(\n 'Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database). For example, `America/New_York` or `UTC`.'\n )\n .optional()\n .nullable(),\n});\nexport const GetAvailabilityTimeSlotRequest = z.object({\n serviceId: z\n .string()\n .describe(\n 'Service ID of the time slot.\\nYou must specify the ID of an appointment-based service.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n localStartDate: z\n .string()\n .describe(\n '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 ),\n localEndDate: z\n .string()\n .describe(\n '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`.'\n ),\n timeZone: z\n .string()\n .describe(\n '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).'\n )\n .min(1)\n .max(150),\n location: z\n .object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z.enum(['BUSINESS', 'CUSTOM', 'CUSTOMER']).optional(),\n })\n .describe(\n '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.'\n ),\n options: z\n .object({\n includeResourceTypeIds: z.array(z.string()).max(100).optional(),\n resourceTypes: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resourceIds: z.array(z.string()).max(135).optional(),\n })\n )\n .max(3)\n .optional(),\n })\n .optional(),\n});\nexport const GetAvailabilityTimeSlotResponse = z.object({\n timeSlot: z\n .object({\n serviceId: z\n .string()\n .describe(\n '[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`.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n localStartDate: z\n .string()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n localEndDate: z\n .string()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookable: z\n .boolean()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n location: z\n .object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z\n .enum(['BUSINESS', 'CUSTOM', 'CUSTOMER'])\n .describe('Location type.')\n .optional(),\n })\n .describe(\n 'Information about where the business provides the service to the customer.\\n\\nIn `ListAvailabilityTimeSlotEndOptions`, this is the requested location, identical on every entry.'\n )\n .optional(),\n eventInfo: z\n .object({\n eventId: z\n .string()\n .describe('Event ID.')\n .min(36)\n .max(250)\n .optional()\n .nullable(),\n waitingList: z\n .object({\n totalCapacity: z\n .number()\n .int()\n .describe('Total number of spots in the waitlist.')\n .min(1)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(0)\n .optional()\n .nullable(),\n })\n .describe(\n \"Information about the event's waitlist. Available only if the service has a waitlist.\"\n )\n .optional(),\n eventTitle: z\n .string()\n .describe('Event title.')\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n })\n .describe(\n '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.'\n )\n .optional(),\n totalCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .min(0)\n .max(1000)\n .optional()\n .nullable(),\n bookableCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n bookingPolicyViolations: z\n .object({\n tooEarlyToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n earliestBookingDate: z\n .date()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n tooLateToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookOnlineDisabled: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Information about booking policy violations for the slot.\\n\\nFor multi-service bookings, this aggregates violations from all services in the sequence.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .min(0)\n .optional(),\n nestedTimeSlots: z\n .array(\n z.object({\n serviceId: z\n .string()\n .describe('Service ID of the nested time slot.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n localStartDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n localEndDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .max(10)\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"The schedule ID associated with this nested time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n })\n )\n .max(8)\n .optional(),\n nonBookableReasons: z\n .object({\n noRemainingCapacity: z\n .boolean()\n .describe(\n 'Whether the slot is fully booked with no remaining capacity.'\n )\n .optional()\n .nullable(),\n violatesBookingPolicy: z\n .boolean()\n .describe(\n \"Whether booking the slot violates any of the service's booking policies.\"\n )\n .optional()\n .nullable(),\n reservedForWaitingList: z\n .boolean()\n .describe(\n \"Whether the slot is reserved for the waitlist. A new customer can't book the reserved slot.\"\n )\n .optional()\n .nullable(),\n eventCancelled: z\n .boolean()\n .describe('Whether the related event is cancelled.')\n .optional()\n .nullable(),\n })\n .describe(\"Information about why customers can't book the time slot.\")\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"Schedule ID associated with this time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n allDay: z\n .boolean()\n .describe(\n \"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`\"\n )\n .optional()\n .nullable(),\n })\n .describe('Retrieved time slot.')\n .optional(),\n timeZone: z\n .string()\n .describe(\n '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).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,mCAAqC,SAAO;AAAA,EACvD,SACG,SAAO;AAAA,IACN,WACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,eACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,aACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,UACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,IACZ,WACG;AAAA,MACG,SAAO;AAAA,QACP,KACG,SAAO,EACP;AAAA,UACC;AAAA,QACF,EACC;AAAA,UACC;AAAA,UACA;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,QACZ,MAAQ,SAAO,EAAE,SAAS,gBAAgB,EAAE,SAAS,EAAE,SAAS;AAAA,QAChE,kBACG,SAAO,EACP,SAAS,6BAA6B,EACtC,SAAS,EACT,SAAS;AAAA,QACZ,cAAgB,OAAK,CAAC,YAAY,UAAU,UAAU,CAAC,EAAE,SAAS;AAAA,MACpE,CAAC;AAAA,IACH,EACC,IAAI,CAAC,EACL,IAAI,CAAC,EACL,SAAS;AAAA,IACZ,wBAA0B,QAAQ,SAAO,CAAC,EAAE,IAAI,GAAG,EAAE,SAAS;AAAA,IAC9D,UACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,yBACG,SAAO;AAAA,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,EACd,CAAC,EACA,SAAS,sBAAsB,EAC/B,SAAS;AAAA,EACZ,UACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AACd,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../schemas.ts","../../src/bookings-availability-v2-time-slot-availability-time-slots.schemas.ts"],"sourcesContent":["export * from './src/bookings-availability-v2-time-slot-availability-time-slots.schemas.js';\n","import * as z from 'zod';\n\nexport const ListAvailabilityTimeSlotsRequest = z.object({\n options: z\n .object({\n serviceId: z\n .string()\n .describe(\n 'Service ID for which to retrieve time slots. You must specify the ID of an appointment-based service.\\nRequired, unless you specify `cursorPaging.cursor`.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n fromLocalDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional()\n .nullable(),\n toLocalDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional()\n .nullable(),\n timeZone: z\n .string()\n .describe(\n '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).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n locations: z\n .array(\n z.object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z.enum(['BUSINESS', 'CUSTOM', 'CUSTOMER']).optional(),\n })\n )\n .min(0)\n .max(5)\n .optional(),\n includeResourceTypeIds: z.array(z.string()).max(100).optional(),\n bookable: z\n .boolean()\n .describe(\n \"Whether the time slot is bookable according to the service's booking policies.\\nIf not specified, returns both bookable and un-bookable time slots.\"\n )\n .optional()\n .nullable(),\n bookingPolicyViolations: z\n .object({\n tooEarlyToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n earliestBookingDate: z\n .date()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n tooLateToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookOnlineDisabled: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n \"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.\"\n )\n .optional(),\n timeSlotsPerDay: z\n .number()\n .int()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n cursorPaging: z\n .object({\n limit: z\n .number()\n .int()\n .describe(\n 'Number of results to load.\\n\\nDefault: `1000`.\\nMax: `1000`.'\n )\n .min(0)\n .max(1000)\n .optional()\n .nullable(),\n cursor: z\n .string()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n })\n .describe(\n '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.'\n )\n .optional(),\n customerChoices: z\n .object({\n durationInMinutes: z\n .number()\n .int()\n .describe(\n \"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.\"\n )\n .min(1)\n .max(44639)\n .optional()\n .nullable(),\n addOnIds: z.array(z.string()).max(21).optional(),\n })\n .describe(\n \"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.\"\n )\n .optional(),\n resourceTypes: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resourceIds: z.array(z.string()).max(135).optional(),\n })\n )\n .max(8)\n .optional(),\n })\n .optional(),\n});\nexport const ListAvailabilityTimeSlotsResponse = z.object({\n timeSlots: z\n .array(\n z.object({\n serviceId: z\n .string()\n .describe(\n '[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`.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n localStartDate: z\n .string()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n localEndDate: z\n .string()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookable: z\n .boolean()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n location: z\n .object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z\n .enum(['BUSINESS', 'CUSTOM', 'CUSTOMER'])\n .describe('Location type.')\n .optional(),\n })\n .describe(\n 'Information about where the business provides the service to the customer.\\n\\nIn `ListAvailabilityTimeSlotEndOptions`, this is the requested location, identical on every entry.'\n )\n .optional(),\n eventInfo: z\n .object({\n eventId: z\n .string()\n .describe('Event ID.')\n .min(36)\n .max(250)\n .optional()\n .nullable(),\n waitingList: z\n .object({\n totalCapacity: z\n .number()\n .int()\n .describe('Total number of spots in the waitlist.')\n .min(1)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(0)\n .optional()\n .nullable(),\n })\n .describe(\n \"Information about the event's waitlist. Available only if the service has a waitlist.\"\n )\n .optional(),\n eventTitle: z\n .string()\n .describe('Event title.')\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n })\n .describe(\n '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.'\n )\n .optional(),\n totalCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .min(0)\n .max(1000)\n .optional()\n .nullable(),\n bookableCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n bookingPolicyViolations: z\n .object({\n tooEarlyToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n earliestBookingDate: z\n .date()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n tooLateToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookOnlineDisabled: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Information about booking policy violations for the slot.\\n\\nFor multi-service bookings, this aggregates violations from all services in the sequence.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .min(0)\n .optional(),\n nestedTimeSlots: z\n .array(\n z.object({\n serviceId: z\n .string()\n .describe('Service ID of the nested time slot.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n localStartDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n localEndDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .max(10)\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"The schedule ID associated with this nested time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n })\n )\n .max(8)\n .optional(),\n nonBookableReasons: z\n .object({\n noRemainingCapacity: z\n .boolean()\n .describe(\n 'Whether the slot is fully booked with no remaining capacity.'\n )\n .optional()\n .nullable(),\n violatesBookingPolicy: z\n .boolean()\n .describe(\n \"Whether booking the slot violates any of the service's booking policies.\"\n )\n .optional()\n .nullable(),\n reservedForWaitingList: z\n .boolean()\n .describe(\n \"Whether the slot is reserved for the waitlist. A new customer can't book the reserved slot.\"\n )\n .optional()\n .nullable(),\n eventCancelled: z\n .boolean()\n .describe('Whether the related event is cancelled.')\n .optional()\n .nullable(),\n })\n .describe(\"Information about why customers can't book the time slot.\")\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"Schedule ID associated with this time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n allDay: z\n .boolean()\n .describe(\n \"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`\"\n )\n .optional()\n .nullable(),\n })\n )\n .max(1000)\n .optional(),\n timeZone: z\n .string()\n .describe(\n '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).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n cursorPagingMetadata: z\n .object({\n cursors: z\n .object({\n next: z\n .string()\n .describe('Cursor pointing to next page in the list of results.')\n .optional()\n .nullable(),\n prev: z\n .string()\n .describe(\n 'Cursor pointing to previous page in the list of results.'\n )\n .optional()\n .nullable(),\n })\n .describe('Offset that was requested.')\n .optional(),\n hasNext: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Paging metadata for the next page of results.\\nContains a cursor if there are more than 1000 results.'\n )\n .optional(),\n});\nexport const ListAvailabilityTimeSlotEndOptionsRequest = z.object({\n serviceId: z\n .string()\n .describe(\n '[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`.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n options: z.object({\n localStartDate: z\n .string()\n .describe(\n '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.'\n ),\n maxLocalEndDate: z\n .string()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n timeZone: z\n .string()\n .describe(\n '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).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n location: z\n .object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z.enum(['BUSINESS', 'CUSTOM', 'CUSTOMER']).optional(),\n })\n .describe(\n '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).'\n ),\n resourceTypes: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resourceIds: z.array(z.string()).max(135).optional(),\n })\n )\n .max(8)\n .optional(),\n }),\n});\nexport const ListAvailabilityTimeSlotEndOptionsResponse = z.object({\n endOptions: z\n .array(\n z.object({\n serviceId: z\n .string()\n .describe(\n '[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`.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n localStartDate: z\n .string()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n localEndDate: z\n .string()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookable: z\n .boolean()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n location: z\n .object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z\n .enum(['BUSINESS', 'CUSTOM', 'CUSTOMER'])\n .describe('Location type.')\n .optional(),\n })\n .describe(\n 'Information about where the business provides the service to the customer.\\n\\nIn `ListAvailabilityTimeSlotEndOptions`, this is the requested location, identical on every entry.'\n )\n .optional(),\n eventInfo: z\n .object({\n eventId: z\n .string()\n .describe('Event ID.')\n .min(36)\n .max(250)\n .optional()\n .nullable(),\n waitingList: z\n .object({\n totalCapacity: z\n .number()\n .int()\n .describe('Total number of spots in the waitlist.')\n .min(1)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(0)\n .optional()\n .nullable(),\n })\n .describe(\n \"Information about the event's waitlist. Available only if the service has a waitlist.\"\n )\n .optional(),\n eventTitle: z\n .string()\n .describe('Event title.')\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n })\n .describe(\n '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.'\n )\n .optional(),\n totalCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .min(0)\n .max(1000)\n .optional()\n .nullable(),\n bookableCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n bookingPolicyViolations: z\n .object({\n tooEarlyToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n earliestBookingDate: z\n .date()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n tooLateToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookOnlineDisabled: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Information about booking policy violations for the slot.\\n\\nFor multi-service bookings, this aggregates violations from all services in the sequence.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .min(0)\n .optional(),\n nestedTimeSlots: z\n .array(\n z.object({\n serviceId: z\n .string()\n .describe('Service ID of the nested time slot.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n localStartDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n localEndDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .max(10)\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"The schedule ID associated with this nested time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n })\n )\n .max(8)\n .optional(),\n nonBookableReasons: z\n .object({\n noRemainingCapacity: z\n .boolean()\n .describe(\n 'Whether the slot is fully booked with no remaining capacity.'\n )\n .optional()\n .nullable(),\n violatesBookingPolicy: z\n .boolean()\n .describe(\n \"Whether booking the slot violates any of the service's booking policies.\"\n )\n .optional()\n .nullable(),\n reservedForWaitingList: z\n .boolean()\n .describe(\n \"Whether the slot is reserved for the waitlist. A new customer can't book the reserved slot.\"\n )\n .optional()\n .nullable(),\n eventCancelled: z\n .boolean()\n .describe('Whether the related event is cancelled.')\n .optional()\n .nullable(),\n })\n .describe(\"Information about why customers can't book the time slot.\")\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"Schedule ID associated with this time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n allDay: z\n .boolean()\n .describe(\n \"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`\"\n )\n .optional()\n .nullable(),\n })\n )\n .max(1000)\n .optional(),\n timeZone: z\n .string()\n .describe(\n 'Time zone in [IANA tz database format](https://en.wikipedia.org/wiki/Tz_database). For example, `America/New_York` or `UTC`.'\n )\n .optional()\n .nullable(),\n});\nexport const GetAvailabilityTimeSlotRequest = z.object({\n serviceId: z\n .string()\n .describe(\n 'Service ID of the time slot.\\nYou must specify the ID of an appointment-based service.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n ),\n localStartDate: z\n .string()\n .describe(\n '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 ),\n localEndDate: z\n .string()\n .describe(\n '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`.'\n ),\n timeZone: z\n .string()\n .describe(\n '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).'\n )\n .min(1)\n .max(150),\n location: z\n .object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z.enum(['BUSINESS', 'CUSTOM', 'CUSTOMER']).optional(),\n })\n .describe(\n '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.'\n ),\n options: z\n .object({\n includeResourceTypeIds: z.array(z.string()).max(100).optional(),\n resourceTypes: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resourceIds: z.array(z.string()).max(135).optional(),\n })\n )\n .max(8)\n .optional(),\n })\n .optional(),\n});\nexport const GetAvailabilityTimeSlotResponse = z.object({\n timeSlot: z\n .object({\n serviceId: z\n .string()\n .describe(\n '[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`.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n localStartDate: z\n .string()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n localEndDate: z\n .string()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookable: z\n .boolean()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n location: z\n .object({\n _id: z\n .string()\n .describe(\n '[Location ID](https://dev.wix.com/docs/api-reference/business-management/locations/introduction).\\nAvailable only for business locations.'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n name: z.string().describe('Location name.').optional().nullable(),\n formattedAddress: z\n .string()\n .describe('Formatted location address.')\n .optional()\n .nullable(),\n locationType: z\n .enum(['BUSINESS', 'CUSTOM', 'CUSTOMER'])\n .describe('Location type.')\n .optional(),\n })\n .describe(\n 'Information about where the business provides the service to the customer.\\n\\nIn `ListAvailabilityTimeSlotEndOptions`, this is the requested location, identical on every entry.'\n )\n .optional(),\n eventInfo: z\n .object({\n eventId: z\n .string()\n .describe('Event ID.')\n .min(36)\n .max(250)\n .optional()\n .nullable(),\n waitingList: z\n .object({\n totalCapacity: z\n .number()\n .int()\n .describe('Total number of spots in the waitlist.')\n .min(1)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(0)\n .optional()\n .nullable(),\n })\n .describe(\n \"Information about the event's waitlist. Available only if the service has a waitlist.\"\n )\n .optional(),\n eventTitle: z\n .string()\n .describe('Event title.')\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n })\n .describe(\n '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.'\n )\n .optional(),\n totalCapacity: z\n .number()\n .int()\n .describe(\n '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`.'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n remainingCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .min(0)\n .max(1000)\n .optional()\n .nullable(),\n bookableCapacity: z\n .number()\n .int()\n .describe(\n \"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`.\"\n )\n .optional()\n .nullable(),\n bookingPolicyViolations: z\n .object({\n tooEarlyToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n earliestBookingDate: z\n .date()\n .describe(\n \"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.\"\n )\n .optional()\n .nullable(),\n tooLateToBook: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n bookOnlineDisabled: z\n .boolean()\n .describe(\n '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.'\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'Information about booking policy violations for the slot.\\n\\nFor multi-service bookings, this aggregates violations from all services in the sequence.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .min(0)\n .optional(),\n nestedTimeSlots: z\n .array(\n z.object({\n serviceId: z\n .string()\n .describe('Service ID of the nested time slot.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n localStartDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n localEndDate: z\n .string()\n .describe(\n '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`.'\n )\n .optional(),\n availableResources: z\n .array(\n z.object({\n resourceTypeId: z\n .string()\n .describe(\n '[Resource type ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction).'\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n resources: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Resource ID.')\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n name: z\n .string()\n .describe('Resource name.')\n .min(1)\n .optional()\n .nullable(),\n })\n )\n .optional(),\n hasMoreAvailableResources: z\n .boolean()\n .describe(\n 'Whether there are more available resources for the slot than those listed in `resources`.'\n )\n .optional()\n .nullable(),\n })\n )\n .max(10)\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"The schedule ID associated with this nested time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n })\n )\n .max(8)\n .optional(),\n nonBookableReasons: z\n .object({\n noRemainingCapacity: z\n .boolean()\n .describe(\n 'Whether the slot is fully booked with no remaining capacity.'\n )\n .optional()\n .nullable(),\n violatesBookingPolicy: z\n .boolean()\n .describe(\n \"Whether booking the slot violates any of the service's booking policies.\"\n )\n .optional()\n .nullable(),\n reservedForWaitingList: z\n .boolean()\n .describe(\n \"Whether the slot is reserved for the waitlist. A new customer can't book the reserved slot.\"\n )\n .optional()\n .nullable(),\n eventCancelled: z\n .boolean()\n .describe('Whether the related event is cancelled.')\n .optional()\n .nullable(),\n })\n .describe(\"Information about why customers can't book the time slot.\")\n .optional(),\n scheduleId: z\n .string()\n .describe(\n \"Schedule ID associated with this time slot.\\nSame as the service's schedule ID.\"\n )\n .regex(\n /^[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}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n allDay: z\n .boolean()\n .describe(\n \"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`\"\n )\n .optional()\n .nullable(),\n })\n .describe('Retrieved time slot.')\n .optional(),\n timeZone: z\n .string()\n .describe(\n '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).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,mCAAqC,SAAO;AAAA,EACvD,SACG,SAAO;AAAA,IACN,WACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,eACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,aACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,UACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,IACZ,WACG;AAAA,MACG,SAAO;AAAA,QACP,KACG,SAAO,EACP;AAAA,UACC;AAAA,QACF,EACC;AAAA,UACC;AAAA,UACA;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,QACZ,MAAQ,SAAO,EAAE,SAAS,gBAAgB,EAAE,SAAS,EAAE,SAAS;AAAA,QAChE,kBACG,SAAO,EACP,SAAS,6BAA6B,EACtC,SAAS,EACT,SAAS;AAAA,QACZ,cAAgB,OAAK,CAAC,YAAY,UAAU,UAAU,CAAC,EAAE,SAAS;AAAA,MACpE,CAAC;AAAA,IACH,EACC,IAAI,CAAC,EACL,IAAI,CAAC,EACL,SAAS;AAAA,IACZ,wBAA0B,QAAQ,SAAO,CAAC,EAAE,IAAI,GAAG,EAAE,SAAS;AAAA,IAC9D,UACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,yBACG,SAAO;AAAA,MACN,gBACG,UAAQ,EACR;AAAA,QACC;AAAA,MACF,EACC,SAA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Z,UACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AACd,CAAC;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
2
  import { ListAvailabilityTimeSlotsOptions, ListAvailabilityTimeSlotsResponse, ListAvailabilityTimeSlotsApplicationErrors, ListAvailabilityTimeSlotEndOptions, ListAvailabilityTimeSlotEndOptionsResponse, ListAvailabilityTimeSlotEndOptionsApplicationErrors, Location, GetAvailabilityTimeSlotOptions, GetAvailabilityTimeSlotResponse, GetAvailabilityTimeSlotApplicationErrors } from './index.typings.mjs';
3
- export { ApplicationError, AvailableResources, BookingPolicyViolations, BulkActionMetadata, BulkListAvailabilityTimeSlotsRequest, BulkListAvailabilityTimeSlotsResponse, BulkServiceTimeSlotsResult, CursorPaging, CursorPagingMetadata, Cursors, CustomerChoices, DiagnoseAvailabilityRequest, DiagnoseAvailabilityResponse, DiagnosisReason, EventInfo, GetAvailabilityTimeSlotRequest, GetAvailabilityTimeSlotRequestCustomerChoices, GetEventTimeSlotRequest, GetEventTimeSlotResponse, GetMultiServiceAvailabilityTimeSlotRequest, GetMultiServiceAvailabilityTimeSlotResponse, ItemMetadata, ListAvailabilityTimeSlotEndOptionsRequest, ListAvailabilityTimeSlotsRequest, ListEventTimeSlotsRequest, ListEventTimeSlotsResponse, ListMultiServiceAvailabilityTimeSlotsRequest, ListMultiServiceAvailabilityTimeSlotsResponse, LocationType, LocationTypeWithLiterals, NestedTimeSlot, NonBookableReasons, ReasonCode, ReasonCodeWithLiterals, ResolvedContext, Resource, ResourceType, Service, ServiceTimeSlots, SuggestedAction, SuggestedActionWithLiterals, TimeSlot, V2CustomerChoices, WaitingList } from './index.typings.mjs';
3
+ export { ApplicationError, AvailableResources, BookingPolicyViolations, BulkActionMetadata, BulkListAvailabilityTimeSlotsRequest, BulkListAvailabilityTimeSlotsResponse, BulkServiceTimeSlotsResult, CursorPaging, CursorPagingMetadata, Cursors, CustomerChoices, DiagnoseAvailabilityRequest, DiagnoseAvailabilityResponse, DiagnosisReason, EventInfo, GetAvailabilityTimeSlotRequest, GetAvailabilityTimeSlotRequestCustomerChoices, GetEventTimeSlotRequest, GetEventTimeSlotResponse, GetMultiServiceAvailabilityTimeSlotRequest, GetMultiServiceAvailabilityTimeSlotResponse, ItemMetadata, ListAvailabilityTimeSlotEndOptionsRequest, ListAvailabilityTimeSlotsRequest, ListEventTimeSlotsRequest, ListEventTimeSlotsResponse, ListMultiServiceAvailabilityTimeSlotsRequest, ListMultiServiceAvailabilityTimeSlotsResponse, LocationType, LocationTypeWithLiterals, NestedTimeSlot, NonBookableReasons, ReasonCode, ReasonCodeWithLiterals, RequestedGender, RequestedGenderValue, RequestedGenderValueRequestedGender, RequestedGenderValueRequestedGenderWithLiterals, RequestedGenderWithLiterals, ResolvedContext, Resource, ResourceType, Service, ServiceTimeSlots, SuggestedAction, SuggestedActionWithLiterals, TimeSlot, V2CustomerChoices, V2RequestedGenderValue, WaitingList } from './index.typings.mjs';
4
4
 
5
5
  declare function listAvailabilityTimeSlots$1(httpClient: HttpClient): ListAvailabilityTimeSlotsSignature;
6
6
  interface ListAvailabilityTimeSlotsSignature {
@@ -245,6 +245,16 @@ var LocationType = /* @__PURE__ */ ((LocationType2) => {
245
245
  LocationType2["CUSTOMER"] = "CUSTOMER";
246
246
  return LocationType2;
247
247
  })(LocationType || {});
248
+ var RequestedGender = /* @__PURE__ */ ((RequestedGender2) => {
249
+ RequestedGender2["ANY_MALE"] = "ANY_MALE";
250
+ RequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
251
+ return RequestedGender2;
252
+ })(RequestedGender || {});
253
+ var RequestedGenderValueRequestedGender = /* @__PURE__ */ ((RequestedGenderValueRequestedGender2) => {
254
+ RequestedGenderValueRequestedGender2["ANY_MALE"] = "ANY_MALE";
255
+ RequestedGenderValueRequestedGender2["ANY_FEMALE"] = "ANY_FEMALE";
256
+ return RequestedGenderValueRequestedGender2;
257
+ })(RequestedGenderValueRequestedGender || {});
248
258
  var ReasonCode = /* @__PURE__ */ ((ReasonCode2) => {
249
259
  ReasonCode2["NO_ASSIGNED_STAFF_OR_RESOURCES"] = "NO_ASSIGNED_STAFF_OR_RESOURCES";
250
260
  ReasonCode2["SERVICE_AVAILABILITY_CONFIGURATION_MISSING"] = "SERVICE_AVAILABILITY_CONFIGURATION_MISSING";
@@ -448,6 +458,8 @@ var getAvailabilityTimeSlot4 = /* @__PURE__ */ createRESTModule(getAvailabilityT
448
458
  export {
449
459
  LocationType,
450
460
  ReasonCode,
461
+ RequestedGender,
462
+ RequestedGenderValueRequestedGender,
451
463
  SuggestedAction,
452
464
  getAvailabilityTimeSlot4 as getAvailabilityTimeSlot,
453
465
  listAvailabilityTimeSlotEndOptions4 as listAvailabilityTimeSlotEndOptions,