You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.5 KiB

import{h as t}from"./index-CCfg2zYz.js";function n(n={}){const{include_ticket_grab:e,...i}=n,s={...i};return e&&(s.include_ticket_grab=1),t.get("/h5/activities",s,{withAuth:!1})}function e(n){return t.get(`/h5/activities/${n}`,{})}function i(n){return t.get(`/h5/ticket-grab-events/${n}`,{},{withAuth:!1})}function s(n,e){return t.get(`/h5/ticket-grab-events/${n}/booking-info`,{venue_id:e},{withAuth:!0})}function u(n,e){return t.post(`/h5/ticket-grab-events/${n}/reservations`,e,{withAuth:!0})}function r(n={}){const e={};return n.only_included_in_stats&&(e.only_included_in_stats=1),t.get("/h5/venues",e,{withAuth:!1})}function h(){return t.get("/h5/venue-dicts",{},{withAuth:!1})}function o(n){return t.get(`/h5/venues/${n}`,{},{withAuth:!1})}function c(n){return t.get(`/h5/study-tours/${n}`,{},{withAuth:!1})}function a(n={}){return t.get("/h5/study-tours",n,{withAuth:!1})}function g(n){return t.get(`/h5/activities/${n}/booking-info`,{},{withAuth:!0})}function f(n,e){return t.post(`/h5/activities/${n}/reservations`,e,{withAuth:!0})}function v(n){return t.get("/h5/my/reservations",{},{withAuth:!0})}function d(n,e){const i={};return e&&/^1\d{10}$/.test(e)&&(i.visitor_phone=e),t.get(`/h5/my/reservations/${n}`,i,{withAuth:!0})}function w(n,e){const i={};return e&&/^1\d{10}$/.test(e)&&(i.visitor_phone=e),t.post(`/h5/my/reservations/${n}/cancel`,i,{withAuth:!0})}export{r as a,n as b,a as c,v as d,w as e,e as f,h as g,i as h,s as i,o as j,u as k,g as l,f as m,d as n,c as o};