import { _objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import { request } from "../../../utils/index.js";
//#region src/components/eftposPay/aggregatePayment/service.ts
/**
* 聚合支付-支付接口
*/
const AGPTPayApi = (data, config) => {
	return request.getRequest().post("/shop/pay/external-unified/pay", data, _objectSpread2(_objectSpread2({}, config || {}), {}, {
		customMessage: true,
		fullResult: true
	}));
};
/**
* 聚合支付-支付-查询接口
*/
const AGPTQueryApi = (param, config) => {
	return request.getRequest().post("/shop/pay/external-unified/pay/verify", param, _objectSpread2(_objectSpread2({}, config || {}), {}, {
		customMessage: true,
		fullResult: true
	}));
};
/**
* 聚合支付-支付-支付行为接口
*/
const AGPTActionApi = (param, config) => {
	return request.getRequest().post("/shop/pay/external-unified/pay/action", param, _objectSpread2(_objectSpread2({}, config || {}), {}, {
		customMessage: true,
		fullResult: true
	}));
};
/**
* 聚合支付-退款接口
*/
const AGPTRefundApi = (data, config) => {
	return request.getRequest().post("/shop/pay/external-unified/refund", data, _objectSpread2(_objectSpread2({}, config || {}), {}, {
		customMessage: true,
		fullResult: true
	}));
};
/**
* 聚合支付-退款-查询接口
*/
const AGPTRefundQueryApi = (param, config) => {
	return request.getRequest().post("/shop/pay/external-unified/refund/verify", param, _objectSpread2(_objectSpread2({}, config || {}), {}, {
		customMessage: true,
		fullResult: true
	}));
};
/**
* 聚合支付-退款-支付行为接口
*/
const AGPTRefundActionApi = (param, config) => {
	return request.getRequest().post("/shop/pay/external-unified/refund/action", param, _objectSpread2(_objectSpread2({}, config || {}), {}, {
		customMessage: true,
		fullResult: true
	}));
};
//#endregion
export { AGPTActionApi, AGPTPayApi, AGPTQueryApi, AGPTRefundActionApi, AGPTRefundApi, AGPTRefundQueryApi };
