import { _asyncToGenerator } from "../../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
import { request } from "../../../../../../utils/index.js";
//#region src/components/pay/toC/PaymentMethods/MWCreditCard/List/serve.ts
const getCreditCardList = function() {
	var _ref = _asyncToGenerator(function* () {
		let { data } = yield request.getRequest().get("/h5/credit-card");
		return data || [];
	});
	return function getCreditCardList() {
		return _ref.apply(this, arguments);
	};
}();
const batchDeleteCards = (values) => request.getRequest().remove("/h5/credit-card", values);
const fastPayNew = (values) => request.getRequest().post("/h5/pay/order/fast-payment/v2/" + values.order_id, values.params);
//#endregion
export { batchDeleteCards, fastPayNew, getCreditCardList };
