import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import { _asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
import { request } from "../../utils/index.js";
//#region src/plus/saleDetail/serve.ts
const getWristbandList = function() {
	var _ref = _asyncToGenerator(function* (params, options) {
		const { data } = yield request.getRequest().get(`/pos/v1.0/voucher/order/${params.order_id}`, {}, _objectSpread2({}, options));
		return data;
	});
	return function getWristbandList(_x, _x2) {
		return _ref.apply(this, arguments);
	};
}();
(function() {
	var _ref2 = _asyncToGenerator(function* (params, options) {
		const { data } = yield request.getRequest().get(`/pos/v1.1/order/machine-code-print`, _objectSpread2(_objectSpread2({}, params), {}, { limit_status: "enable" }), _objectSpread2({}, options));
		return data;
	});
	return function getMachineCode(_x3, _x4) {
		return _ref2.apply(this, arguments);
	};
})();
const getRemotePrintActions = function() {
	var _ref3 = _asyncToGenerator(function* (params, options) {
		const { data } = yield request.getRequest().get(`/shop/order/machine-print-info/${params.order_id}`, {}, _objectSpread2({}, options));
		return data;
	});
	return function getRemotePrintActions(_x5, _x6) {
		return _ref3.apply(this, arguments);
	};
}();
//#endregion
export { getRemotePrintActions, getWristbandList };
