const require_asyncToGenerator = require("../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js");
const require_objectWithoutProperties = require("../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js");
const require_index = require("../../../../../utils/index.js");
//#region src/components/pay/toC/PaymentMethods/WalletPass/serve.ts
const _excluded = ["order_id"];
/**
* 查询支付识别码列表
*/
const getMachineCodeList = function() {
	var _ref = require_asyncToGenerator._asyncToGenerator(function* (params) {
		const { data } = yield require_index.request.getRequest().post(`/h5/machinecode/order/deduction`, params);
		return data;
	});
	return function getMachineCodeList(_x) {
		return _ref.apply(this, arguments);
	};
}();
(function() {
	var _ref2 = require_asyncToGenerator._asyncToGenerator(function* (order_id) {
		const { data } = yield require_index.request.getRequest().get(`/h5/machinecode/order/deduction/recommend`, { order_id });
		return data;
	});
	return function getRecommendMachineCodeList(_x2) {
		return _ref2.apply(this, arguments);
	};
})();
/**
* 搜索支付识别码
*/
const searchMachineCodeList = function() {
	var _ref3 = require_asyncToGenerator._asyncToGenerator(function* (params) {
		const { data } = yield require_index.request.getRequest().post(`/h5/machinecode/order/deduction/search`, params);
		return data;
	});
	return function searchMachineCodeList(_x3) {
		return _ref3.apply(this, arguments);
	};
}();
/**
* walletpass支付
*/
const walletPassPay = function() {
	var _ref4 = require_asyncToGenerator._asyncToGenerator(function* (params) {
		const { order_id } = params, others = require_objectWithoutProperties._objectWithoutProperties(params, _excluded);
		const { data } = yield require_index.request.getRequest().post(`/h5/pay/order/wallet-pass-pay/${order_id}`, others);
		return data;
	});
	return function walletPassPay(_x4) {
		return _ref4.apply(this, arguments);
	};
}();
/**
* 搜索wallet code
*/
const searchWalletCode = function() {
	var _ref5 = require_asyncToGenerator._asyncToGenerator(function* (params) {
		const { data } = yield require_index.request.getRequest().post(`/h5/wallet/detail/search`, params);
		return data;
	});
	return function searchWalletCode(_x5) {
		return _ref5.apply(this, arguments);
	};
}();
(function() {
	var _ref6 = require_asyncToGenerator._asyncToGenerator(function* (params) {
		const { data } = yield require_index.request.getRequest().post(`/h5/wallet/detail/pin/validate`, params);
		return data;
	});
	return function verifyPinCode(_x6) {
		return _ref6.apply(this, arguments);
	};
})();
(function() {
	var _ref7 = require_asyncToGenerator._asyncToGenerator(function* (params) {
		const { data } = yield require_index.request.getRequest().get(`/h5/wallet/detail/pin`, params);
		return data;
	});
	return function getPin(_x7) {
		return _ref7.apply(this, arguments);
	};
})();
//#endregion
exports.getMachineCodeList = getMachineCodeList;
exports.searchMachineCodeList = searchMachineCodeList;
exports.searchWalletCode = searchWalletCode;
exports.walletPassPay = walletPassPay;
