import { _asyncToGenerator } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
import { request } from "../utils.js";
//#region src/components/schedules/resources/serve.ts
const getFormTypes = function() {
	var _ref = _asyncToGenerator(function* (params) {
		return yield request.getRequest().get("/shop/form", params);
	});
	return function getFormTypes(_x) {
		return _ref.apply(this, arguments);
	};
}();
const getRelationResource = function() {
	var _ref2 = _asyncToGenerator(function* (params, res) {
		return yield request.getRequest().get("/shop/schedule/relation/resource", params);
	});
	return function getRelationResource(_x2, _x3) {
		return _ref2.apply(this, arguments);
	};
}();
(function() {
	var _ref3 = _asyncToGenerator(function* (params) {
		return yield request.getRequest().get("/shop/schedule/resource-types", params);
	});
	return function getResourceTypes(_x4) {
		return _ref3.apply(this, arguments);
	};
})();
const getResourceRelation = function() {
	var _ref4 = _asyncToGenerator(function* (params) {
		return yield request.getRequest().get("/shop/schedule/item/relation", params);
	});
	return function getResourceRelation(_x5) {
		return _ref4.apply(this, arguments);
	};
}();
const setResourceRelation = function() {
	var _ref5 = _asyncToGenerator(function* (params) {
		return yield request.getRequest().post("/shop/schedule/item/relation", params);
	});
	return function setResourceRelation(_x6) {
		return _ref5.apply(this, arguments);
	};
}();
//#endregion
export { getFormTypes, getRelationResource, getResourceRelation, setResourceRelation };
