···2424/**
2525 * Get museum hours
2626 * Get upcoming museum operating hours.
2727- * @param data The data for the request.
2828- * @param data.startDate Starting date to retrieve future operating hours from. Defaults to today's date.
2929- * @param data.page Page number to retrieve.
3030- * @param data.limit Number of days per page.
3131- * @returns GetMuseumHoursResponse Success.
3232- * @throws ApiError
3327 */
3428export const getMuseumHours = (options?: Options<GetMuseumHoursData>) =>
3529 client.get<GetMuseumHoursResponse2>({
···4034/**
4135 * Create special events
4236 * Creates a new special event for the museum.
4343- * @param data The data for the request.
4444- * @param data.requestBody
4545- * @returns SpecialEventResponse Success.
4646- * @throws ApiError
4737 */
4838export const createSpecialEvent = (options: Options<CreateSpecialEventData>) =>
4939 client.post<CreateSpecialEventResponse>({
···5444/**
5545 * List special events
5646 * Return a list of upcoming special events at the museum.
5757- * @param data The data for the request.
5858- * @param data.startDate Starting date to retrieve future operating hours from. Defaults to today's date.
5959- * @param data.endDate End of a date range to retrieve special events for. Defaults to 7 days after `startDate`.
6060- * @param data.page Page number to retrieve.
6161- * @param data.limit Number of days per page.
6262- * @returns ListSpecialEventsResponse Success.
6363- * @throws ApiError
6447 */
6548export const listSpecialEvents = (options?: Options<ListSpecialEventsData>) =>
6649 client.get<ListSpecialEventsResponse2>({
···7154/**
7255 * Get special event
7356 * Get details about a special event.
7474- * @param data The data for the request.
7575- * @param data.eventId Identifier for a special event.
7676- * @returns SpecialEventResponse Success.
7777- * @throws ApiError
7857 */
7958export const getSpecialEvent = (options: Options<GetSpecialEventData>) =>
8059 client.get<GetSpecialEventResponse>({
···84638564/**
8665 * Update special event
6666+ *
8767 * Update the details of a special event.
8888- * @param data The data for the request.
8989- * @param data.eventId Identifier for a special event.
9090- * @param data.requestBody
9191- * @returns SpecialEventResponse Success.
9292- * @throws ApiError
9368 */
9469export const updateSpecialEvent = (options: Options<UpdateSpecialEventData>) =>
9570 client.patch<UpdateSpecialEventResponse>({
···10075/**
10176 * Delete special event
10277 * Delete a special event from the collection. Allows museum to cancel planned events.
103103- * @param data The data for the request.
104104- * @param data.eventId Identifier for a special event.
105105- * @returns void Success - no content.
106106- * @throws ApiError
10778 */
10879export const deleteSpecialEvent = (options: Options<DeleteSpecialEventData>) =>
10980 client.delete<DeleteSpecialEventResponse>({
···11485/**
11586 * Buy museum tickets
11687 * Purchase museum tickets for general entry or special events.
117117- * @param data The data for the request.
118118- * @param data.requestBody
119119- * @returns BuyMuseumTicketsResponse Success.
120120- * @throws ApiError
12188 */
12289export const buyMuseumTickets = (options: Options<BuyMuseumTicketsData>) =>
12390 client.post<BuyMuseumTicketsResponse2>({
···12895/**
12996 * Get ticket QR code
13097 * Return an image of your ticket with scannable QR code. Used for event entry.
131131- * @param data The data for the request.
132132- * @param data.ticketId Identifier for a ticket to a museum event. Used to generate ticket image.
133133- * @returns GetTicketCodeResponse Scannable event ticket in image format.
134134- * @throws ApiError
13598 */
13699export const getTicketCode = (options: Options<GetTicketCodeData>) =>
137100 client.get<GetTicketCodeResponse2>({