const require_asyncToGenerator = require("../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js");
const require_utils = require("../../utils.js");
(function() {
	var _ref = require_asyncToGenerator._asyncToGenerator(function* (params) {
		return require_utils.request.getRequest().post(`/shop/eventbookingv2/order/check`, params);
	});
	return function eventBookingCheck(_x) {
		return _ref.apply(this, arguments);
	};
})();
const editEventBooking = function() {
	var _ref2 = require_asyncToGenerator._asyncToGenerator(function* (params, bookingId) {
		const { data } = yield require_utils.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 = require_asyncToGenerator._asyncToGenerator(function* (params) {
		const { data } = yield require_utils.request.getRequest().post(`/shop/v1.1/eventbookingv2/order`, params);
		return data;
	});
	return function createEventBooking(_x4) {
		return _ref3.apply(this, arguments);
	};
}();
//#endregion
exports.createEventBooking = createEventBooking;
exports.editEventBooking = editEventBooking;
