const require_objectSpread2 = require("../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
const require_index = require("../../../utils/index.js");
//#region src/components/eftpos/SettlementModal/serve.ts
/**
* 结算发起接口
*/
const settlementApi = (data, config) => {
	return require_index.request.getRequest().post("/shop/pay/card-reader/settlement", data, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, config || {}), {}, {
		customMessage: true,
		fullResult: true
	}));
};
/**
* 结算查询接口
*/
const settlementQueryApi = (id, data, config) => {
	return require_index.request.getRequest().get(`/shop/pay/card-reader/settlement/${id}`, data, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, config || {}), {}, {
		customMessage: true,
		fullResult: true
	}));
};
//#endregion
exports.settlementApi = settlementApi;
exports.settlementQueryApi = settlementQueryApi;
