{"version":3,"file":"CHekEd-A.js","sources":["../../../../api/booking.js"],"sourcesContent":["/* userInterface */\nimport request from '@/utils/request.js'\n\n// simBooking\nexport const BookingReq = data => {\n return request({\n method: 'POST',\n url: '/customerapi/V1/booking',\n data,\n })\n}\n\n// Advbooking\nexport const AdvbookingReq = data => {\n return request({\n method: 'POST',\n url: '/customerapi/V1/advbooking',\n data,\n })\n}\n\n// Bookingslots\nexport const BookingslotsReq = params => {\n return request({\n method: 'GET',\n url: 'customerapi/V1/bookingslots',\n params,\n })\n}\n\n// Get payment intent for booking\nexport const BookingPaymentReq = data => {\n return request({\n method: 'POST',\n url: '/customerapi/V1/bookingdeposit/intent',\n data,\n })\n}\n\n// Get payment intent for booking without login\nexport const BookingPaymentWithoutReq = data => {\n return request({\n method: 'POST',\n url: '/customerapi/V1/bookingdeposit/guestintent',\n data,\n })\n}\n\n// Get payment setup intent for booking\nexport const BookingPaymentSetupReq = data => {\n return request({\n method: 'POST',\n url: '/customerapi/V1/bookingdeposit/setupintent',\n data,\n })\n}\n\n// Get payment setup intent for booking as guest\nexport const BookingPaymentSetupWithoutReq = data => {\n return request({\n method: 'POST',\n url: '/customerapi/V1/bookingdeposit/guestsetupintent',\n data,\n })\n}\n\n\n// information \n\n// List booking\nexport const GetBookingListReq = params => {\n return request({\n method: 'GET',\n url: 'customerapi/V1/booking',\n params,\n })\n}\n\n// Update one booking as a guest customer\nexport const UpdateBookingReq = ({id,data}) => {\n return request({\n method: 'POST',\n url: '/customerapi/V1/guest/booking/' + id,\n data,\n })\n}\n\n// Get Timestamp \nexport const GetTimestampReq = () => {\n return request({\n method: 'GET',\n url: '/customerapi/V1/timestamp',\n })\n}\n"],"names":["AdvbookingReq","data","request","BookingslotsReq","params","BookingPaymentReq","BookingPaymentWithoutReq","BookingPaymentSetupReq","BookingPaymentSetupWithoutReq","GetBookingListReq","UpdateBookingReq","id","GetTimestampReq"],"mappings":"4VAaY,MAACA,EAAgBC,GACpBC,EAAQ,CACb,OAAQ,OACR,IAAK,6BACL,KAAAD,CACJ,CAAG,EAIUE,EAAkBC,GACtBF,EAAQ,CACb,OAAQ,MACR,IAAK,8BACL,OAAAE,CACJ,CAAG,EAIUC,EAAoBJ,GACxBC,EAAQ,CACb,OAAQ,OACR,IAAK,wCACL,KAAAD,CACJ,CAAG,EAIUK,EAA2BL,GAC/BC,EAAQ,CACb,OAAQ,OACR,IAAK,6CACL,KAAAD,CACJ,CAAG,EAIUM,EAAyBN,GAC7BC,EAAQ,CACb,OAAQ,OACR,IAAK,6CACL,KAAAD,CACJ,CAAG,EAIUO,EAAgCP,GACpCC,EAAQ,CACb,OAAQ,OACR,IAAK,kDACL,KAAAD,CACJ,CAAG,EAOUQ,EAAoBL,GACxBF,EAAQ,CACb,OAAQ,MACR,IAAK,yBACL,OAAAE,CACJ,CAAG,EAIUM,EAAmB,CAAC,CAAC,GAAAC,EAAG,KAAAV,CAAI,IAChCC,EAAQ,CACb,OAAQ,OACR,IAAK,iCAAmCS,EACxC,KAAAV,CACJ,CAAG,EAIUW,EAAkB,IACtBV,EAAQ,CACb,OAAQ,MACR,IAAK,2BACT,CAAG"}