{"version":3,"sources":["../../src/table-reservations-v1-time-slot-time-slots.universal.ts","../../src/table-reservations-v1-time-slot-time-slots.http.ts","../../src/table-reservations-v1-time-slot-time-slots.public.ts","../../src/table-reservations-v1-time-slot-time-slots.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixTableReservationsV1TimeSlot from './table-reservations-v1-time-slot-time-slots.http.js';\n\nexport interface TimeSlot {\n  /** Start date and time of this time slot. */\n  startDate?: Date | null;\n  /** Duration in minutes of this time slot. */\n  duration?: number;\n  /** Availability status of this time slot. */\n  status?: StatusWithLiterals;\n  /** Whether manual approval is required to make a reservation in this time slot. */\n  manualApproval?: boolean | null;\n}\n\n/** Table combination. */\nexport interface TimeSlotTableCombination {\n  /**\n   * Table IDs of the tables in the combination.\n   * @format GUID\n   * @maxSize 100\n   */\n  tableIds?: string[];\n}\n\nexport enum Status {\n  /** The restaurant can accommodate a party of the given size in this time slot. */\n  AVAILABLE = 'AVAILABLE',\n  /** The restaurant can't accommodate a party of the given size in this time slot. */\n  UNAVAILABLE = 'UNAVAILABLE',\n  /** The restaurant is not open during this time slot. Time slots retrieved by Get Scheduled Time Slots never have this status. */\n  NON_WORKING_HOURS = 'NON_WORKING_HOURS',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n  | Status\n  | 'AVAILABLE'\n  | 'UNAVAILABLE'\n  | 'NON_WORKING_HOURS';\n\n/** Wrapper for table combinations. */\nexport interface MaybeTableCombinations {}\n\nexport interface GetTimeSlotsRequest {\n  /**\n   * ID of the reservation location for which to retrieve time slots.\n   * @format GUID\n   */\n  reservationLocationId: string;\n  /** Date and time for which to retrieve a time slot in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */\n  date: Date | null;\n  /**\n   * Duration in minutes of the time slot.\n   *\n   * Min: `5`\n   * @min 5\n   * @max 1000\n   */\n  duration?: number | null;\n  /**\n   * Size of the party that needs to be seated during this time slot.\n   *\n   * Min: `1`\n   * @min 1\n   * @max 10000\n   */\n  partySize: number | null;\n  /**\n   * The number of time slots to retrieve before the specified `date`.\n   * @max 50\n   */\n  slotsBefore?: number | null;\n  /**\n   * The number of time slots to retrieve after the specified `date`.\n   * @max 50\n   */\n  slotsAfter?: number | null;\n}\n\nexport interface GetTimeSlotsResponse {\n  /** A list of time slots and their availability according to the specified party size. */\n  timeSlots?: TimeSlot[];\n}\n\nexport interface CheckReservationDetailsRequest {\n  /**\n   * Reservation location ID.\n   * @format GUID\n   */\n  reservationLocationId?: string;\n  /** Date. */\n  date?: Date | null;\n  /**\n   * Duration.\n   * @min 5\n   * @max 1000\n   */\n  duration?: number | null;\n  /**\n   * Party size.\n   * @min 1\n   * @max 10000\n   */\n  partySize?: number | null;\n  /**\n   * Reservation, that should be ignored during the check.\n   * @format GUID\n   */\n  excludeReservationId?: string | null;\n  /**\n   * Requested table combination.\n   * @format GUID\n   * @deprecated\n   * @replacedBy maybe_table_ids\n   * @targetRemovalDate 2025-12-05\n   */\n  tableIds?: string[];\n}\n\nexport interface MaybeTableIds {\n  /**\n   * @format GUID\n   * @maxSize 2000\n   */\n  tableIds?: string[];\n}\n\nexport interface CheckReservationDetailsResponse {\n  /**\n   * Tables states.\n   * @deprecated\n   * @targetRemovalDate 2025-12-05\n   */\n  tables?: Table[];\n  /**\n   * Table combinations states.\n   * @deprecated\n   * @replacedBy time_slot_availability\n   * @targetRemovalDate 2025-12-05\n   */\n  tableCombinations?: TableCombination[];\n  /**\n   * Reservation location conflicts.\n   * @deprecated\n   * @replacedBy time_slot_availability\n   * @targetRemovalDate 2025-12-05\n   */\n  reservationLocationConflicts?: ReservationLocationConflict[];\n  /**\n   * Requested table combination state.\n   * @deprecated\n   * @replacedBy time_slot_availability\n   * @targetRemovalDate 2025-12-05\n   */\n  requestedTableCombination?: TableCombination;\n  /**\n   * List of reserved tables with corresponding reservation ids.\n   * @maxSize 100\n   * @deprecated\n   * @replacedBy time_slot_availability\n   * @targetRemovalDate 2025-12-05\n   */\n  tableReservedConflicts?: TableReservedConflict[];\n  /** Whether manual approval is required to make a reservation in this time slot. */\n  manualApproval?: boolean | null;\n  /** Whether payment is required to make a reservation in this time slot. */\n  paymentRequired?: boolean | null;\n  /** Time slot availability. */\n  timeSlotAvailability?: TimeSlotAvailability;\n}\n\nexport interface TableCombinationAvailability {\n  /**\n   * IDs of the tables in the table combination.\n   * @format GUID\n   * @maxSize 2000\n   */\n  tableIds?: string[];\n  /**\n   * Conflicts that would be generated by attempting to accommodate the proposed reservation using the table combination.\n   * @maxSize 2\n   */\n  tableCombinationConflicts?: TableCombinationConflictTypeWithLiterals[];\n}\n\nexport enum TableCombinationConflictType {\n  /** Undefined conflict type. */\n  UNKNOWN = 'UNKNOWN',\n  /** One or more of the chosen tables are already reserved. */\n  RESERVED = 'RESERVED',\n  /** The party is too big for the selected table. */\n  TOO_BIG = 'TOO_BIG',\n  /** The party is too small for the selected table. */\n  TOO_SMALL = 'TOO_SMALL',\n  /** The restaurant does not allow online reservations. */\n  OFFLINE_ONLY = 'OFFLINE_ONLY',\n  /** The table is reserved for an active experience. */\n  RESERVED_FOR_EXPERIENCE = 'RESERVED_FOR_EXPERIENCE',\n  /** The table is not in the requested area. */\n  TABLE_NOT_IN_AREA = 'TABLE_NOT_IN_AREA',\n}\n\n/** @enumType */\nexport type TableCombinationConflictTypeWithLiterals =\n  | TableCombinationConflictType\n  | 'UNKNOWN'\n  | 'RESERVED'\n  | 'TOO_BIG'\n  | 'TOO_SMALL'\n  | 'OFFLINE_ONLY'\n  | 'RESERVED_FOR_EXPERIENCE'\n  | 'TABLE_NOT_IN_AREA';\n\nexport enum ReservationLocationConflictType {\n  /** Undefined reservation location conflict type. */\n  UNKNOWN = 'UNKNOWN',\n  /** The restaurant cannot accommodate a party of the given size according to party pacing settings. */\n  PARTY_PACING = 'PARTY_PACING',\n  /** The required number of seats are unavailable according to seat pacing settings. */\n  SEAT_PACING = 'SEAT_PACING',\n}\n\n/** @enumType */\nexport type ReservationLocationConflictTypeWithLiterals =\n  | ReservationLocationConflictType\n  | 'UNKNOWN'\n  | 'PARTY_PACING'\n  | 'SEAT_PACING';\n\nexport enum Type {\n  /** Undefined experience blocking conflict type. */\n  UNKNOWN = 'UNKNOWN',\n  /** Standard reservations are blocked by an active experience schedule. */\n  BLOCKED_BY_EXPERIENCE = 'BLOCKED_BY_EXPERIENCE',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'UNKNOWN' | 'BLOCKED_BY_EXPERIENCE';\n\nexport interface ExperienceTableCombinationAvailability {\n  /**\n   * IDs of the tables in the table combination.\n   * @format GUID\n   * @maxSize 2000\n   */\n  tableIds?: string[];\n  /**\n   * Conflicts that would be generated by attempting to accommodate the proposed reservation using the table combination.\n   * @maxSize 2\n   */\n  experienceTableCombinationConflicts?: ExperienceTableCombinationConflictTypeWithLiterals[];\n}\n\nexport enum ExperienceTableCombinationConflictType {\n  /** Undefined conflict type. */\n  UNKNOWN = 'UNKNOWN',\n  /** One or more of the chosen tables are already reserved. */\n  RESERVED = 'RESERVED',\n  /** The party is too big for the selected table. */\n  TOO_BIG = 'TOO_BIG',\n  /** The party is too small for the selected table. */\n  TOO_SMALL = 'TOO_SMALL',\n  /** The table or combination is not in the experience's specific table list. */\n  OUTSIDE_EXPERIENCE_TABLE_LIST = 'OUTSIDE_EXPERIENCE_TABLE_LIST',\n  /** The table is not in the requested area. */\n  TABLE_NOT_IN_AREA = 'TABLE_NOT_IN_AREA',\n}\n\n/** @enumType */\nexport type ExperienceTableCombinationConflictTypeWithLiterals =\n  | ExperienceTableCombinationConflictType\n  | 'UNKNOWN'\n  | 'RESERVED'\n  | 'TOO_BIG'\n  | 'TOO_SMALL'\n  | 'OUTSIDE_EXPERIENCE_TABLE_LIST'\n  | 'TABLE_NOT_IN_AREA';\n\nexport enum ExperienceConflictType {\n  /** Undefined reservation location conflict type. */\n  UNKNOWN = 'UNKNOWN',\n  /** The number of guests exceeds the allowed limit. */\n  MAXIMUM_NUMBER_OF_GUESTS = 'MAXIMUM_NUMBER_OF_GUESTS',\n}\n\n/** @enumType */\nexport type ExperienceConflictTypeWithLiterals =\n  | ExperienceConflictType\n  | 'UNKNOWN'\n  | 'MAXIMUM_NUMBER_OF_GUESTS';\n\nexport enum TimeSlotAvailabilityType {\n  STANDARD = 'STANDARD',\n  EXPERIENCE = 'EXPERIENCE',\n}\n\n/** @enumType */\nexport type TimeSlotAvailabilityTypeWithLiterals =\n  | TimeSlotAvailabilityType\n  | 'STANDARD'\n  | 'EXPERIENCE';\n\nexport interface StandardOptions {\n  /**\n   * Table combinations and their availability information.\n   * @maxSize 2000\n   */\n  tableCombinationAvailabilities?: TableCombinationAvailability[];\n  /**\n   * Requested table combinations.\n   * @maxSize 2000\n   */\n  requestedTableCombinations?: TableCombinationAvailability[];\n  /**\n   * Reservation location conflicts that would occur by making a reservation for the specified party size in the specified time slot.\n   * @maxSize 3\n   */\n  reservationLocationConflicts?: ReservationLocationConflictTypeWithLiterals[];\n  /**\n   * Experience blocking conflicts that would occur by making a standard reservation when an experience is active.\n   * @maxSize 3\n   */\n  experienceBlockingConflicts?: TypeWithLiterals[];\n}\n\nexport interface ExperienceOptions {\n  /**\n   * Table combinations and their availability information.\n   * @maxSize 2000\n   */\n  tableCombinationAvailabilities?: ExperienceTableCombinationAvailability[];\n  /**\n   * Requested table combinations.\n   * @maxSize 2000\n   */\n  requestedTableCombinations?: ExperienceTableCombinationAvailability[];\n  /**\n   * Experience availability conflicts that would occur by making a reservation for the specified party size in the specified time slot.\n   * @maxSize 5\n   */\n  experienceConflicts?: ExperienceConflictTypeWithLiterals[];\n}\n\nexport interface Table {\n  /** @format GUID */\n  _id?: string;\n  /**\n   * Table conflicts.\n   * @maxSize 1000\n   */\n  tableConflicts?: TableConflict[];\n}\n\nexport interface TableConflict {\n  /** Conflict type. */\n  type?: TableConflictTypeWithLiterals;\n}\n\nexport enum TableConflictType {\n  UNKNOWN = 'UNKNOWN',\n  TABLE_RESERVED = 'TABLE_RESERVED',\n  TABLE_TOO_BIG = 'TABLE_TOO_BIG',\n  TABLE_TOO_SMALL = 'TABLE_TOO_SMALL',\n  OFFLINE_ONLY = 'OFFLINE_ONLY',\n  RESERVED_FOR_EXPERIENCE = 'RESERVED_FOR_EXPERIENCE',\n  TABLE_NOT_IN_AREA = 'TABLE_NOT_IN_AREA',\n}\n\n/** @enumType */\nexport type TableConflictTypeWithLiterals =\n  | TableConflictType\n  | 'UNKNOWN'\n  | 'TABLE_RESERVED'\n  | 'TABLE_TOO_BIG'\n  | 'TABLE_TOO_SMALL'\n  | 'OFFLINE_ONLY'\n  | 'RESERVED_FOR_EXPERIENCE'\n  | 'TABLE_NOT_IN_AREA';\n\nexport interface TableCombination {\n  /** @format GUID */\n  tableIds?: string[];\n  /** @maxSize 2 */\n  tableCombinationConflicts?: TableCombinationConflict[];\n}\n\nexport interface TableCombinationConflict {\n  /** Conflict type. */\n  type?: TableCombinationConflictTypeWithLiterals;\n}\n\nexport interface ReservationLocationConflict {\n  /** Reservation location conflict type. */\n  type?: ReservationLocationConflictTypeWithLiterals;\n}\n\nexport interface TableReservedConflict {\n  /**\n   * Table id.\n   * @format GUID\n   */\n  tableId?: string;\n  /**\n   * List of reservation ids.\n   * @format GUID\n   * @maxSize 1000\n   */\n  reservationIds?: string[];\n}\n\nexport interface TimeSlotAvailability extends TimeSlotAvailabilityOptionsOneOf {\n  /** Response for standard reservation. */\n  standardOptions?: StandardOptions;\n  /** Response for a reservation that contains experience. */\n  experienceOptions?: ExperienceOptions;\n  /** Type of availability. */\n  timeSlotAvailabilityType?: TimeSlotAvailabilityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface TimeSlotAvailabilityOptionsOneOf {\n  /** Response for standard reservation. */\n  standardOptions?: StandardOptions;\n  /** Response for a reservation that contains experience. */\n  experienceOptions?: ExperienceOptions;\n}\n\nexport interface CheckTimeSlotRequest {\n  /**\n   * ID of the reservation location for which to check the time slot.\n   * @format GUID\n   */\n  reservationLocationId: string;\n  /** Date and time of the time slot to check. */\n  date: Date | null;\n  /**\n   * Duration of the time slot in minutes .\n   *\n   * Min: `5`\n   * @min 5\n   * @max 1000\n   */\n  duration: number | null;\n  /**\n   * Party size to check the restaurant's availability for.\n   * @min 1\n   * @max 10000\n   */\n  partySize: number | null;\n  /**\n   * ID of a reservation to ignore during the check.\n   *\n   * Use this when rescheduling a reservation to exclude it in its current state from the availability calculations.\n   * @format GUID\n   */\n  excludeReservationId?: string | null;\n}\n\nexport interface CheckTimeSlotResponse {\n  /**\n   * Table combinations and their availability information.\n   * @deprecated\n   * @replacedBy time_slot_availability\n   * @targetRemovalDate 2025-12-05\n   */\n  tableCombinationAvailabilities?: TableCombinationAvailability[];\n  /**\n   * Reservation location conflicts that would occur by making a reservation for the specified party size in the specified time slot.\n   * @deprecated\n   * @replacedBy time_slot_availability\n   * @targetRemovalDate 2025-12-05\n   */\n  reservationLocationConflicts?: ReservationLocationConflictTypeWithLiterals[];\n  /** Time slot availability */\n  timeSlotAvailability?: V1TimeSlotAvailability;\n}\n\nexport interface V1TimeSlotAvailability\n  extends V1TimeSlotAvailabilityOptionsOneOf {\n  /** Response for standard reservation. */\n  standardOptions?: TimeSlotAvailabilityStandardOptions;\n  /** Response for a reservation that contains experience. */\n  experienceOptions?: TimeSlotAvailabilityExperienceOptions;\n  /** Type of availability. */\n  timeSlotAvailabilityType?: TimeSlotAvailabilityTimeSlotAvailabilityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface V1TimeSlotAvailabilityOptionsOneOf {\n  /** Response for standard reservation. */\n  standardOptions?: TimeSlotAvailabilityStandardOptions;\n  /** Response for a reservation that contains experience. */\n  experienceOptions?: TimeSlotAvailabilityExperienceOptions;\n}\n\nexport enum TimeSlotAvailabilityTimeSlotAvailabilityType {\n  STANDARD = 'STANDARD',\n  EXPERIENCE = 'EXPERIENCE',\n}\n\n/** @enumType */\nexport type TimeSlotAvailabilityTimeSlotAvailabilityTypeWithLiterals =\n  | TimeSlotAvailabilityTimeSlotAvailabilityType\n  | 'STANDARD'\n  | 'EXPERIENCE';\n\nexport interface TimeSlotAvailabilityStandardOptions {\n  /**\n   * Table combinations and their availability information.\n   * @maxSize 2000\n   */\n  tableCombinationAvailabilities?: TableCombinationAvailability[];\n  /**\n   * Reservation location conflicts that would occur by making a reservation for the specified party size in the specified time slot.\n   * @maxSize 3\n   */\n  reservationLocationConflicts?: ReservationLocationConflictTypeWithLiterals[];\n  /**\n   * Experience blocking conflicts that would occur by making a standard reservation when an experience is active.\n   * @maxSize 3\n   */\n  experienceBlockingConflicts?: TypeWithLiterals[];\n}\n\nexport interface TimeSlotAvailabilityExperienceOptions {\n  /**\n   * Table combinations and their availability information.\n   * @maxSize 2000\n   */\n  tableCombinationAvailabilities?: ExperienceTableCombinationAvailability[];\n  /**\n   * Experience availability conflicts that would occur by making a reservation for the specified party size in the specified time slot.\n   * @maxSize 5\n   */\n  experienceConflicts?: ExperienceConflictTypeWithLiterals[];\n}\n\nexport interface GetScheduledTimeSlotsRequest {\n  /**\n   * ID of the reservation location for which to retrieve time slots.\n   * @format GUID\n   */\n  reservationLocationId: string;\n  /** Time range from which to retrieve time slots. */\n  timeRange: TimeRange;\n  /**\n   * Size of the party that needs to be seated during this time slot.\n   *\n   * Min: `1`\n   * @min 1\n   * @max 10000\n   */\n  partySize: number | null;\n}\n\nexport interface TimeRange {\n  /** Date and time from which to retrieve time slots in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */\n  startDate?: Date | null;\n  /** Date and time to which to retrieve time slots in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format. */\n  endDate?: Date | null;\n}\n\nexport interface GetScheduledTimeSlotsResponse {\n  /**\n   * A list of time slots and their availability according to the specified party size.\n   * @maxSize 100\n   */\n  timeSlots?: TimeSlot[];\n}\n\n/**\n * Returns a list of time slots at a specified reservation location on a specified `date`, and their availability for a specified `partySize`.\n *\n * Without passing optional parameters, the list will contain a single time slot at the specified `date`.\n * Use `slotsBefore` and `slotsAfter` to get additional time slots before and after the specified `date`.\n *\n * If you do not provide a `duration`, the duration will be calculated automatically based on the reservation location's configuration.\n * The reservation location's settings used to determine the duration are its `defaultTurnoverTime` and `turnoverTimeRules`. These specify how much time should be allotted for a reservation of a party of a specified size.\n *\n * The interval between `startDate`s of time slots in the response is determined by the reservation location's `timeSlotInterval`. This interval is not affected by the `duration` provided.\n * @param reservationLocationId - ID of the reservation location for which to retrieve time slots.\n * @param date - Date and time for which to retrieve a time slot in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format.\n * @param partySize - Size of the party that needs to be seated during this time slot.\n *\n * Min: `1`\n * @public\n * @documentationMaturity preview\n * @requiredField date\n * @requiredField partySize\n * @requiredField reservationLocationId\n * @param options - Options for retrieving the time slots.\n * @permissionId TABLE_RESERVATIONS.TIME_SLOT_READ\n * @applicableIdentity APP\n * @fqn wix.table_reservations.time_slot.v1.TimeSlotsService.GetTimeSlots\n */\nexport async function getTimeSlots(\n  reservationLocationId: string,\n  date: Date,\n  partySize: number,\n  options?: GetTimeSlotsOptions\n): Promise<\n  NonNullablePaths<\n    GetTimeSlotsResponse,\n    `timeSlots` | `timeSlots.${number}.duration` | `timeSlots.${number}.status`,\n    4\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[4] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    reservationLocationId: reservationLocationId,\n    date: date,\n    partySize: partySize,\n    duration: options?.duration,\n    slotsBefore: options?.slotsBefore,\n    slotsAfter: options?.slotsAfter,\n  });\n\n  const reqOpts =\n    ambassadorWixTableReservationsV1TimeSlot.getTimeSlots(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          reservationLocationId: '$[0]',\n          date: '$[1]',\n          partySize: '$[2]',\n          duration: '$[3].duration',\n          slotsBefore: '$[3].slotsBefore',\n          slotsAfter: '$[3].slotsAfter',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['reservationLocationId', 'date', 'partySize', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface GetTimeSlotsOptions {\n  /**\n   * Duration in minutes of the time slot.\n   *\n   * Min: `5`\n   * @min 5\n   * @max 1000\n   */\n  duration?: number | null;\n  /**\n   * The number of time slots to retrieve before the specified `date`.\n   * @max 50\n   */\n  slotsBefore?: number | null;\n  /**\n   * The number of time slots to retrieve after the specified `date`.\n   * @max 50\n   */\n  slotsAfter?: number | null;\n}\n\n/**\n * Checks a restaurant's availability to accommodate a reservation for a given party size in a given time slot.\n *\n *  `checkTimeSlot()` returns availability information for the restaurant's table combinations, and flags any party pacing or seat pacing conflicts that the proposed reservation would cause.\n * @param reservationLocationId - ID of the reservation location for which to check the time slot.\n * @public\n * @documentationMaturity preview\n * @requiredField options.date\n * @requiredField options.duration\n * @requiredField options.partySize\n * @requiredField reservationLocationId\n * @permissionId TABLE_RESERVATIONS.TIME_SLOT_CHECK\n * @applicableIdentity APP\n * @fqn wix.table_reservations.time_slot.v1.TimeSlotsService.CheckTimeSlot\n */\nexport async function checkTimeSlot(\n  reservationLocationId: string,\n  options?: NonNullablePaths<\n    CheckTimeSlotOptions,\n    `date` | `duration` | `partySize`,\n    2\n  >\n): Promise<\n  NonNullablePaths<\n    CheckTimeSlotResponse,\n    | `tableCombinationAvailabilities`\n    | `reservationLocationConflicts`\n    | `timeSlotAvailability.standardOptions.tableCombinationAvailabilities`\n    | `timeSlotAvailability.standardOptions.reservationLocationConflicts`\n    | `timeSlotAvailability.standardOptions.experienceBlockingConflicts`\n    | `timeSlotAvailability.experienceOptions.tableCombinationAvailabilities`\n    | `timeSlotAvailability.experienceOptions.experienceConflicts`\n    | `timeSlotAvailability.timeSlotAvailabilityType`,\n    4\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    reservationLocationId: reservationLocationId,\n    date: options?.date,\n    duration: options?.duration,\n    partySize: options?.partySize,\n    excludeReservationId: options?.excludeReservationId,\n  });\n\n  const reqOpts =\n    ambassadorWixTableReservationsV1TimeSlot.checkTimeSlot(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          reservationLocationId: '$[0]',\n          date: '$[1].date',\n          duration: '$[1].duration',\n          partySize: '$[1].partySize',\n          excludeReservationId: '$[1].excludeReservationId',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['reservationLocationId', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface CheckTimeSlotOptions {\n  /** Date and time of the time slot to check. */\n  date: Date | null;\n  /**\n   * Duration of the time slot in minutes .\n   *\n   * Min: `5`\n   * @min 5\n   * @max 1000\n   */\n  duration: number | null;\n  /**\n   * Party size to check the restaurant's availability for.\n   * @min 1\n   * @max 10000\n   */\n  partySize: number | null;\n  /**\n   * ID of a reservation to ignore during the check.\n   *\n   * Use this when rescheduling a reservation to exclude it in its current state from the availability calculations.\n   * @format GUID\n   */\n  excludeReservationId?: string | null;\n}\n\n/**\n * Returns a list of scheduled time slots at a specified reservation location for a specified time range, and their availability for a specified `partySize`.\n *\n * Scheduled time slots are sequential time periods whose start times fall within a restaurant's opening hours. Opening hours are defined in the reservation location's `businessSchedule`.\n *\n * [Experiences](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/wix-restaurants-new/reservations/experiences/introduction) have their own business schedules that override that of the reservation location. To get scheduled time slots for an experience, pass the ID of that experience to this method.\n *\n * If a restaurant is open during distinct time periods throughout the week, the `startDate` of the first scheduled time slot returned for each period is the same as starting time of that time period.\n * If a restaurant is always open, the `startDate` of the first returned scheduled time slot for each week is Sunday at `00:00`.\n *\n * The duration of scheduled time slots and the interval between their `startDate`s is determined by the reservation location's `timeSlotInterval`.\n *\n * For example:\n *\n * A restaurant is open every night from `22:30` to `03:55` with a `timeSlotInterval` of 1 hour.\n * If you called this method with the time range `23:00` to `02:50`, it would return time slots starting at `23:30`, `00:30`, `01:30`, and `02:30`.\n * @param reservationLocationId - ID of the reservation location for which to retrieve time slots.\n * @param partySize - Size of the party that needs to be seated during this time slot.\n *\n * Min: `1`\n * @public\n * @documentationMaturity preview\n * @requiredField options\n * @requiredField options.timeRange\n * @requiredField options.timeRange.endDate\n * @requiredField options.timeRange.startDate\n * @requiredField partySize\n * @requiredField reservationLocationId\n * @permissionId TABLE_RESERVATIONS.SCHEDULED_TIME_SLOT_READ\n * @applicableIdentity APP\n * @fqn wix.table_reservations.time_slot.v1.TimeSlotsService.GetScheduledTimeSlots\n */\nexport async function getScheduledTimeSlots(\n  reservationLocationId: string,\n  partySize: number,\n  options: NonNullablePaths<\n    GetScheduledTimeSlotsOptions,\n    `timeRange` | `timeRange.endDate` | `timeRange.startDate`,\n    3\n  >\n): Promise<\n  NonNullablePaths<\n    GetScheduledTimeSlotsResponse,\n    `timeSlots` | `timeSlots.${number}.duration` | `timeSlots.${number}.status`,\n    4\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[3] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    reservationLocationId: reservationLocationId,\n    partySize: partySize,\n    timeRange: options?.timeRange,\n  });\n\n  const reqOpts =\n    ambassadorWixTableReservationsV1TimeSlot.getScheduledTimeSlots(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          reservationLocationId: '$[0]',\n          partySize: '$[1]',\n          timeRange: '$[2].timeRange',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['reservationLocationId', 'partySize', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface GetScheduledTimeSlotsOptions {\n  /** Time range from which to retrieve time slots. */\n  timeRange: TimeRange;\n}\n","import { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixTableReservationsTimeSlotV1TimeSlotsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    _: [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'bo._base_domain_': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'wixbo.ai': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'wix-bo.com': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'apps._base_domain_': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n    'dev._base_domain_': [\n      {\n        srcPath: '/_api/table-reservations/reservations',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_table-reservations_time-slots';\n\n/**\n * Returns a list of time slots at a specified reservation location on a specified `date`, and their availability for a specified `partySize`.\n *\n * Without passing optional parameters, the list will contain a single time slot at the specified `date`.\n * Use `slotsBefore` and `slotsAfter` to get additional time slots before and after the specified `date`.\n *\n * If you do not provide a `duration`, the duration will be calculated automatically based on the reservation location's configuration.\n * The reservation location's settings used to determine the duration are its `defaultTurnoverTime` and `turnoverTimeRules`. These specify how much time should be allotted for a reservation of a party of a specified size.\n *\n * The interval between `startDate`s of time slots in the response is determined by the reservation location's `timeSlotInterval`. This interval is not affected by the `duration` provided.\n */\nexport function getTimeSlots(payload: object): RequestOptionsFactory<any> {\n  function __getTimeSlots({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'date' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.table_reservations.v1.time_slot',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.table_reservations.time_slot.v1.TimeSlotsService.GetTimeSlots',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixTableReservationsTimeSlotV1TimeSlotsServiceUrl({\n        protoPath: '/v1/time-slots',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'timeSlots.startDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getTimeSlots;\n}\n\n/**\n * Checks a restaurant's availability to accommodate a reservation for a given party size in a given time slot.\n *\n *  `checkTimeSlot()` returns availability information for the restaurant's table combinations, and flags any party pacing or seat pacing conflicts that the proposed reservation would cause.\n */\nexport function checkTimeSlot(payload: object): RequestOptionsFactory<any> {\n  function __checkTimeSlot({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'date' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.table_reservations.v1.time_slot',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.table_reservations.time_slot.v1.TimeSlotsService.CheckTimeSlot',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixTableReservationsTimeSlotV1TimeSlotsServiceUrl({\n        protoPath: '/v1/check-time-slot',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __checkTimeSlot;\n}\n\n/**\n * Returns a list of scheduled time slots at a specified reservation location for a specified time range, and their availability for a specified `partySize`.\n *\n * Scheduled time slots are sequential time periods whose start times fall within a restaurant's opening hours. Opening hours are defined in the reservation location's `businessSchedule`.\n *\n * [Experiences](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/wix-restaurants-new/reservations/experiences/introduction) have their own business schedules that override that of the reservation location. To get scheduled time slots for an experience, pass the ID of that experience to this method.\n *\n * If a restaurant is open during distinct time periods throughout the week, the `startDate` of the first scheduled time slot returned for each period is the same as starting time of that time period.\n * If a restaurant is always open, the `startDate` of the first returned scheduled time slot for each week is Sunday at `00:00`.\n *\n * The duration of scheduled time slots and the interval between their `startDate`s is determined by the reservation location's `timeSlotInterval`.\n *\n * For example:\n *\n * A restaurant is open every night from `22:30` to `03:55` with a `timeSlotInterval` of 1 hour.\n * If you called this method with the time range `23:00` to `02:50`, it would return time slots starting at `23:30`, `00:30`, `01:30`, and `02:30`.\n */\nexport function getScheduledTimeSlots(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getScheduledTimeSlots({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'timeRange.startDate' }, { path: 'timeRange.endDate' }],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.table_reservations.v1.time_slot',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.table_reservations.time_slot.v1.TimeSlotsService.GetScheduledTimeSlots',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixTableReservationsTimeSlotV1TimeSlotsServiceUrl({\n        protoPath: '/v1/scheduled-time-slots',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [{ path: 'timeSlots.startDate' }],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getScheduledTimeSlots;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  CheckTimeSlotOptions,\n  CheckTimeSlotResponse,\n  GetScheduledTimeSlotsOptions,\n  GetScheduledTimeSlotsResponse,\n  GetTimeSlotsOptions,\n  GetTimeSlotsResponse,\n  checkTimeSlot as universalCheckTimeSlot,\n  getScheduledTimeSlots as universalGetScheduledTimeSlots,\n  getTimeSlots as universalGetTimeSlots,\n} from './table-reservations-v1-time-slot-time-slots.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/table-reservations' };\n\nexport function getTimeSlots(httpClient: HttpClient): GetTimeSlotsSignature {\n  return (\n    reservationLocationId: string,\n    date: Date,\n    partySize: number,\n    options?: GetTimeSlotsOptions\n  ) =>\n    universalGetTimeSlots(\n      reservationLocationId,\n      date,\n      partySize,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetTimeSlotsSignature {\n  /**\n   * Returns a list of time slots at a specified reservation location on a specified `date`, and their availability for a specified `partySize`.\n   *\n   * Without passing optional parameters, the list will contain a single time slot at the specified `date`.\n   * Use `slotsBefore` and `slotsAfter` to get additional time slots before and after the specified `date`.\n   *\n   * If you do not provide a `duration`, the duration will be calculated automatically based on the reservation location's configuration.\n   * The reservation location's settings used to determine the duration are its `defaultTurnoverTime` and `turnoverTimeRules`. These specify how much time should be allotted for a reservation of a party of a specified size.\n   *\n   * The interval between `startDate`s of time slots in the response is determined by the reservation location's `timeSlotInterval`. This interval is not affected by the `duration` provided.\n   * @param - ID of the reservation location for which to retrieve time slots.\n   * @param - Date and time for which to retrieve a time slot in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#coordinated_Universal_Time_(UTC)) format.\n   * @param - Size of the party that needs to be seated during this time slot.\n   *\n   * Min: `1`\n   * @param - Options for retrieving the time slots.\n   */\n  (\n    reservationLocationId: string,\n    date: Date,\n    partySize: number,\n    options?: GetTimeSlotsOptions\n  ): Promise<\n    NonNullablePaths<\n      GetTimeSlotsResponse,\n      | `timeSlots`\n      | `timeSlots.${number}.duration`\n      | `timeSlots.${number}.status`,\n      4\n    >\n  >;\n}\n\nexport function checkTimeSlot(httpClient: HttpClient): CheckTimeSlotSignature {\n  return (\n    reservationLocationId: string,\n    options?: NonNullablePaths<\n      CheckTimeSlotOptions,\n      `date` | `duration` | `partySize`,\n      2\n    >\n  ) =>\n    universalCheckTimeSlot(\n      reservationLocationId,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface CheckTimeSlotSignature {\n  /**\n   * Checks a restaurant's availability to accommodate a reservation for a given party size in a given time slot.\n   *\n   *  `checkTimeSlot()` returns availability information for the restaurant's table combinations, and flags any party pacing or seat pacing conflicts that the proposed reservation would cause.\n   * @param - ID of the reservation location for which to check the time slot.\n   */\n  (\n    reservationLocationId: string,\n    options?: NonNullablePaths<\n      CheckTimeSlotOptions,\n      `date` | `duration` | `partySize`,\n      2\n    >\n  ): Promise<\n    NonNullablePaths<\n      CheckTimeSlotResponse,\n      | `tableCombinationAvailabilities`\n      | `reservationLocationConflicts`\n      | `timeSlotAvailability.standardOptions.tableCombinationAvailabilities`\n      | `timeSlotAvailability.standardOptions.reservationLocationConflicts`\n      | `timeSlotAvailability.standardOptions.experienceBlockingConflicts`\n      | `timeSlotAvailability.experienceOptions.tableCombinationAvailabilities`\n      | `timeSlotAvailability.experienceOptions.experienceConflicts`\n      | `timeSlotAvailability.timeSlotAvailabilityType`,\n      4\n    >\n  >;\n}\n\nexport function getScheduledTimeSlots(\n  httpClient: HttpClient\n): GetScheduledTimeSlotsSignature {\n  return (\n    reservationLocationId: string,\n    partySize: number,\n    options: NonNullablePaths<\n      GetScheduledTimeSlotsOptions,\n      `timeRange` | `timeRange.endDate` | `timeRange.startDate`,\n      3\n    >\n  ) =>\n    universalGetScheduledTimeSlots(\n      reservationLocationId,\n      partySize,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetScheduledTimeSlotsSignature {\n  /**\n   * Returns a list of scheduled time slots at a specified reservation location for a specified time range, and their availability for a specified `partySize`.\n   *\n   * Scheduled time slots are sequential time periods whose start times fall within a restaurant's opening hours. Opening hours are defined in the reservation location's `businessSchedule`.\n   *\n   * [Experiences](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/wix-restaurants-new/reservations/experiences/introduction) have their own business schedules that override that of the reservation location. To get scheduled time slots for an experience, pass the ID of that experience to this method.\n   *\n   * If a restaurant is open during distinct time periods throughout the week, the `startDate` of the first scheduled time slot returned for each period is the same as starting time of that time period.\n   * If a restaurant is always open, the `startDate` of the first returned scheduled time slot for each week is Sunday at `00:00`.\n   *\n   * The duration of scheduled time slots and the interval between their `startDate`s is determined by the reservation location's `timeSlotInterval`.\n   *\n   * For example:\n   *\n   * A restaurant is open every night from `22:30` to `03:55` with a `timeSlotInterval` of 1 hour.\n   * If you called this method with the time range `23:00` to `02:50`, it would return time slots starting at `23:30`, `00:30`, `01:30`, and `02:30`.\n   * @param - ID of the reservation location for which to retrieve time slots.\n   * @param - Size of the party that needs to be seated during this time slot.\n   *\n   * Min: `1`\n   */\n  (\n    reservationLocationId: string,\n    partySize: number,\n    options: NonNullablePaths<\n      GetScheduledTimeSlotsOptions,\n      `timeRange` | `timeRange.endDate` | `timeRange.startDate`,\n      3\n    >\n  ): Promise<\n    NonNullablePaths<\n      GetScheduledTimeSlotsResponse,\n      | `timeSlots`\n      | `timeSlots.${number}.duration`\n      | `timeSlots.${number}.status`,\n      4\n    >\n  >;\n}\n\nexport {\n  CheckReservationDetailsRequest,\n  CheckReservationDetailsResponse,\n  CheckTimeSlotOptions,\n  CheckTimeSlotRequest,\n  CheckTimeSlotResponse,\n  ExperienceConflictType,\n  ExperienceOptions,\n  ExperienceTableCombinationAvailability,\n  ExperienceTableCombinationConflictType,\n  GetScheduledTimeSlotsOptions,\n  GetScheduledTimeSlotsRequest,\n  GetScheduledTimeSlotsResponse,\n  GetTimeSlotsOptions,\n  GetTimeSlotsRequest,\n  GetTimeSlotsResponse,\n  MaybeTableCombinations,\n  MaybeTableIds,\n  ReservationLocationConflict,\n  ReservationLocationConflictType,\n  StandardOptions,\n  Status,\n  Table,\n  TableCombination,\n  TableCombinationAvailability,\n  TableCombinationConflict,\n  TableCombinationConflictType,\n  TableConflict,\n  TableConflictType,\n  TableReservedConflict,\n  TimeRange,\n  TimeSlot,\n  TimeSlotAvailability,\n  TimeSlotAvailabilityExperienceOptions,\n  TimeSlotAvailabilityOptionsOneOf,\n  TimeSlotAvailabilityStandardOptions,\n  TimeSlotAvailabilityTimeSlotAvailabilityType,\n  TimeSlotAvailabilityType,\n  TimeSlotTableCombination,\n  Type,\n  V1TimeSlotAvailability,\n  V1TimeSlotAvailabilityOptionsOneOf,\n} from './table-reservations-v1-time-slot-time-slots.universal.js';\n","import {\n  getTimeSlots as publicGetTimeSlots,\n  checkTimeSlot as publicCheckTimeSlot,\n  getScheduledTimeSlots as publicGetScheduledTimeSlots,\n} from './table-reservations-v1-time-slot-time-slots.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\nexport const getTimeSlots: MaybeContext<\n  BuildRESTFunction<typeof publicGetTimeSlots> & typeof publicGetTimeSlots\n> = /*#__PURE__*/ createRESTModule(publicGetTimeSlots);\nexport const checkTimeSlot: MaybeContext<\n  BuildRESTFunction<typeof publicCheckTimeSlot> & typeof publicCheckTimeSlot\n> = /*#__PURE__*/ createRESTModule(publicCheckTimeSlot);\nexport const getScheduledTimeSlots: MaybeContext<\n  BuildRESTFunction<typeof publicGetScheduledTimeSlots> &\n    typeof publicGetScheduledTimeSlots\n> = /*#__PURE__*/ createRESTModule(publicGetScheduledTimeSlots);\n\nexport {\n  Status,\n  TableCombinationConflictType,\n  ReservationLocationConflictType,\n  Type,\n  ExperienceTableCombinationConflictType,\n  ExperienceConflictType,\n  TimeSlotAvailabilityType,\n  TableConflictType,\n  TimeSlotAvailabilityTimeSlotAvailabilityType,\n} from './table-reservations-v1-time-slot-time-slots.universal.js';\nexport {\n  TimeSlot,\n  TimeSlotTableCombination,\n  MaybeTableCombinations,\n  GetTimeSlotsRequest,\n  GetTimeSlotsResponse,\n  CheckReservationDetailsRequest,\n  MaybeTableIds,\n  CheckReservationDetailsResponse,\n  TableCombinationAvailability,\n  ExperienceTableCombinationAvailability,\n  StandardOptions,\n  ExperienceOptions,\n  Table,\n  TableConflict,\n  TableCombination,\n  TableCombinationConflict,\n  ReservationLocationConflict,\n  TableReservedConflict,\n  TimeSlotAvailability,\n  TimeSlotAvailabilityOptionsOneOf,\n  CheckTimeSlotRequest,\n  CheckTimeSlotResponse,\n  V1TimeSlotAvailability,\n  V1TimeSlotAvailabilityOptionsOneOf,\n  TimeSlotAvailabilityStandardOptions,\n  TimeSlotAvailabilityExperienceOptions,\n  GetScheduledTimeSlotsRequest,\n  TimeRange,\n  GetScheduledTimeSlotsResponse,\n  GetTimeSlotsOptions,\n  CheckTimeSlotOptions,\n  GetScheduledTimeSlotsOptions,\n} from './table-reservations-v1-time-slot-time-slots.universal.js';\nexport {\n  StatusWithLiterals,\n  TableCombinationConflictTypeWithLiterals,\n  ReservationLocationConflictTypeWithLiterals,\n  TypeWithLiterals,\n  ExperienceTableCombinationConflictTypeWithLiterals,\n  ExperienceConflictTypeWithLiterals,\n  TimeSlotAvailabilityTypeWithLiterals,\n  TableConflictTypeWithLiterals,\n  TimeSlotAvailabilityTimeSlotAvailabilityTypeWithLiterals,\n} from './table-reservations-v1-time-slot-time-slots.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACJP,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,yDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAA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A,sBAA2B;","names":["payload","Status","TableCombinationConflictType","ReservationLocationConflictType","Type","ExperienceTableCombinationConflictType","ExperienceConflictType","TimeSlotAvailabilityType","TableConflictType","TimeSlotAvailabilityTimeSlotAvailabilityType","getTimeSlots","checkTimeSlot","getScheduledTimeSlots","getTimeSlots","checkTimeSlot","getScheduledTimeSlots","getTimeSlots","checkTimeSlot","getScheduledTimeSlots"]}