import { _asyncToGenerator } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
import { request } from "../utils.js";
//#region src/components/schedules/schedules/serve.ts
const getScheduleList = function() {
	var _ref = _asyncToGenerator(function* (params) {
		return yield request.getRequest().get("/shop/schedule", params);
	});
	return function getScheduleList(_x) {
		return _ref.apply(this, arguments);
	};
}();
const postScheduleList = function() {
	var _ref2 = _asyncToGenerator(function* (params) {
		return yield request.getRequest().post("/shop/schedule/v2", params);
	});
	return function postScheduleList(_x2) {
		return _ref2.apply(this, arguments);
	};
}();
const deleteSchedule = function() {
	var _ref3 = _asyncToGenerator(function* (params) {
		return yield request.getRequest().remove(`/shop/schedule/${params.id}`);
	});
	return function deleteSchedule(_x3) {
		return _ref3.apply(this, arguments);
	};
}();
//#endregion
export { deleteSchedule, getScheduleList, postScheduleList };
