import { _asyncToGenerator } from "../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
import { request } from "../../utils.js";
(function() {
	var _ref = _asyncToGenerator(function* (params) {
		return request.getRequest().post(`/shop/eventbookingv2/order/check`, params);
	});
	return function eventBookingCheck(_x) {
		return _ref.apply(this, arguments);
	};
})();
const editEventBooking = function() {
	var _ref2 = _asyncToGenerator(function* (params, bookingId) {
		const { data } = yield request.getRequest().put(`/shop/v1.1/eventbookingv2/order/${bookingId}`, params);
		return data;
	});
	return function editEventBooking(_x2, _x3) {
		return _ref2.apply(this, arguments);
	};
}();
const createEventBooking = function() {
	var _ref3 = _asyncToGenerator(function* (params) {
		const { data } = yield request.getRequest().post(`/shop/v1.1/eventbookingv2/order`, params);
		return data;
	});
	return function createEventBooking(_x4) {
		return _ref3.apply(this, arguments);
	};
}();
//#endregion
export { createEventBooking, editEventBooking };
