@pisell/private-materials 6.8.83 → 6.8.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/checkout/PaymentModal.js +4 -2
- package/es/components/checkout/components/PaymentOptionsModule/index.js +1 -1
- package/es/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +7 -0
- package/es/components/eftposPay/aggregatePayment/hooks/useMicropay.js +120 -0
- package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/es/components/eftposPay/aggregatePayment/index.js +3 -0
- package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/es/components/eftposPay/aggregatePayment/service.js +69 -0
- package/es/components/eftposPay/aggregatePayment/types.d.ts +106 -0
- package/es/components/eftposPay/aggregatePayment/types.js +65 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.js +371 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.js +1138 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/app.d.ts +1 -1
- package/es/components/eftposPay/app.js +5 -0
- package/es/components/eftposPay/component/fail/failCustom.js +16 -12
- package/es/components/eftposPay/component/fail/index.js +12 -5
- package/es/components/eftposPay/const.d.ts +6 -1
- package/es/components/eftposPay/const.js +3 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +3 -2
- package/es/components/eftposPay/hooks.js +12 -0
- package/es/components/eftposPay/huifu/Action.d.ts +8 -0
- package/es/components/eftposPay/huifu/Action.js +146 -0
- package/es/components/eftposPay/huifu/const.d.ts +5 -0
- package/es/components/eftposPay/huifu/const.js +70 -0
- package/es/components/eftposPay/huifu/hooks.d.ts +25 -0
- package/es/components/eftposPay/huifu/hooks.js +184 -0
- package/es/components/eftposPay/huifu/index.d.ts +5 -0
- package/es/components/eftposPay/huifu/index.js +196 -0
- package/es/components/eftposPay/huifu/index.less +180 -0
- package/es/components/eftposPay/huifu/types.d.ts +14 -0
- package/es/components/eftposPay/huifu/types.js +1 -0
- package/es/components/eftposPay/index.js +5 -1
- package/es/components/eftposPay/locales.d.ts +36 -0
- package/es/components/eftposPay/locales.js +42 -3
- package/es/components/eftposPay/manufacturer.d.ts +1 -0
- package/es/components/eftposPay/manufacturer.js +5 -0
- package/es/components/eftposPay/pay.js +6 -2
- package/es/components/eftposPay/store/index.d.ts +11 -4
- package/es/components/kioskSkuDetail/index.d.ts +3 -0
- package/es/components/kioskSkuDetail/index.js +266 -173
- package/es/components/kioskSkuDetail/index.less +49 -7
- package/es/components/kioskSkuDetail/locales.d.ts +6 -0
- package/es/components/kioskSkuDetail/locales.js +9 -3
- package/es/components/pay/toB/components/Cache/index.d.ts +1 -0
- package/es/components/pay/toB/components/EFTPOS/index.js +8 -1
- package/es/components/pay/toB/types/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentList/serve.js +14 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +7 -6
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/index.d.ts +16 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.js +1 -1
- package/es/plus/skuOptionsSelection/locales.d.ts +3 -0
- package/es/plus/skuOptionsSelection/locales.js +3 -0
- package/es/pro/Login2.0/components/LoginCodeInput.js +36 -3
- package/es/pro/Login2.0/steps/CodeInput.js +37 -7
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/checkout/PaymentModal.js +5 -2
- package/lib/components/checkout/components/PaymentOptionsModule/index.js +2 -1
- package/lib/components/eftposPay/aggregatePayment/hooks/useMicropay.d.ts +7 -0
- package/lib/components/eftposPay/aggregatePayment/hooks/useMicropay.js +133 -0
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/lib/components/eftposPay/aggregatePayment/index.js +42 -0
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/lib/components/eftposPay/aggregatePayment/service.js +81 -0
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +106 -0
- package/lib/components/eftposPay/aggregatePayment/types.js +74 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.js +294 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.js +752 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/app.d.ts +1 -1
- package/lib/components/eftposPay/app.js +5 -0
- package/lib/components/eftposPay/component/fail/failCustom.js +15 -9
- package/lib/components/eftposPay/component/fail/index.js +4 -1
- package/lib/components/eftposPay/const.d.ts +6 -1
- package/lib/components/eftposPay/const.js +3 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +3 -2
- package/lib/components/eftposPay/hooks.js +16 -0
- package/lib/components/eftposPay/huifu/Action.d.ts +8 -0
- package/lib/components/eftposPay/huifu/Action.js +174 -0
- package/lib/components/eftposPay/huifu/const.d.ts +5 -0
- package/lib/components/eftposPay/huifu/const.js +86 -0
- package/lib/components/eftposPay/huifu/hooks.d.ts +25 -0
- package/lib/components/eftposPay/huifu/hooks.js +186 -0
- package/lib/components/eftposPay/huifu/index.d.ts +5 -0
- package/lib/components/eftposPay/huifu/index.js +200 -0
- package/lib/components/eftposPay/huifu/index.less +180 -0
- package/lib/components/eftposPay/huifu/types.d.ts +14 -0
- package/lib/components/eftposPay/huifu/types.js +17 -0
- package/lib/components/eftposPay/index.js +5 -1
- package/lib/components/eftposPay/locales.d.ts +36 -0
- package/lib/components/eftposPay/locales.js +42 -3
- package/lib/components/eftposPay/manufacturer.d.ts +1 -0
- package/lib/components/eftposPay/manufacturer.js +7 -0
- package/lib/components/eftposPay/pay.js +3 -2
- package/lib/components/eftposPay/store/index.d.ts +11 -4
- package/lib/components/kioskSkuDetail/index.d.ts +3 -0
- package/lib/components/kioskSkuDetail/index.js +180 -113
- package/lib/components/kioskSkuDetail/index.less +49 -7
- package/lib/components/kioskSkuDetail/locales.d.ts +6 -0
- package/lib/components/kioskSkuDetail/locales.js +9 -3
- package/lib/components/pay/toB/components/Cache/index.d.ts +1 -0
- package/lib/components/pay/toB/components/EFTPOS/index.js +8 -1
- package/lib/components/pay/toB/types/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentList/serve.js +15 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +7 -6
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/index.d.ts +16 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +2 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/locales.js +3 -0
- package/lib/pro/Login2.0/components/LoginCodeInput.js +26 -4
- package/lib/pro/Login2.0/steps/CodeInput.js +27 -5
- package/lowcode/kiosk-sku-detail/meta.ts +229 -94
- package/package.json +1 -1
|
@@ -3,18 +3,24 @@ export default {
|
|
|
3
3
|
'pisell2.text.kiosk.sku.detail.btn.back': 'Back',
|
|
4
4
|
'pisell2.text.kiosk.sku.detail.item.total': 'Item total',
|
|
5
5
|
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': 'Add to cart',
|
|
6
|
-
'pisell2.text.kiosk.sku.detail.
|
|
6
|
+
'pisell2.text.kiosk.sku.detail.btn.update': 'Update',
|
|
7
|
+
'pisell2.text.kiosk.sku.detail.loading.options': 'Loading options…',
|
|
8
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': 'Please select a top-up option'
|
|
7
9
|
},
|
|
8
10
|
'zh-CN': {
|
|
9
11
|
'pisell2.text.kiosk.sku.detail.btn.back': '返回',
|
|
10
12
|
'pisell2.text.kiosk.sku.detail.item.total': '小计',
|
|
11
13
|
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': '加入购物车',
|
|
12
|
-
'pisell2.text.kiosk.sku.detail.
|
|
14
|
+
'pisell2.text.kiosk.sku.detail.btn.update': '更新',
|
|
15
|
+
'pisell2.text.kiosk.sku.detail.loading.options': '正在加载选项…',
|
|
16
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': '请选择充值选项'
|
|
13
17
|
},
|
|
14
18
|
'zh-TW': {
|
|
15
19
|
'pisell2.text.kiosk.sku.detail.btn.back': '返回',
|
|
16
20
|
'pisell2.text.kiosk.sku.detail.item.total': '小計',
|
|
17
21
|
'pisell2.text.kiosk.sku.detail.btn.add.to.cart': '加入購物車',
|
|
18
|
-
'pisell2.text.kiosk.sku.detail.
|
|
22
|
+
'pisell2.text.kiosk.sku.detail.btn.update': '更新',
|
|
23
|
+
'pisell2.text.kiosk.sku.detail.loading.options': '正在載入選項…',
|
|
24
|
+
'pisell2.text.kiosk.sku.detail.toast.select.variant': '請選擇充值選項'
|
|
19
25
|
}
|
|
20
26
|
};
|
|
@@ -127,7 +127,14 @@ var EFTPOS = function EFTPOS(props, ref) {
|
|
|
127
127
|
name: payMethod.name,
|
|
128
128
|
symbol: params.symbol,
|
|
129
129
|
amount: params.amount,
|
|
130
|
-
device_number: device_number
|
|
130
|
+
device_number: device_number,
|
|
131
|
+
custom_payment_id: payMethod === null || payMethod === void 0 ? void 0 : payMethod.id,
|
|
132
|
+
custom_payment_code: payMethod === null || payMethod === void 0 ? void 0 : payMethod.code,
|
|
133
|
+
custom_payment_name: payMethod === null || payMethod === void 0 ? void 0 : payMethod.name,
|
|
134
|
+
custom_payment_type: payMethod === null || payMethod === void 0 ? void 0 : payMethod.type,
|
|
135
|
+
operator_type: params === null || params === void 0 ? void 0 : params.operator_type,
|
|
136
|
+
operator_id: params === null || params === void 0 ? void 0 : params.operator_id,
|
|
137
|
+
platform: params === null || params === void 0 ? void 0 : params.platform
|
|
131
138
|
},
|
|
132
139
|
mode: mode
|
|
133
140
|
};
|
|
@@ -50,6 +50,17 @@ export var getPaymentList = /*#__PURE__*/function () {
|
|
|
50
50
|
return _ref.apply(this, arguments);
|
|
51
51
|
};
|
|
52
52
|
}();
|
|
53
|
+
// 修改当前的支付方式默认排序
|
|
54
|
+
// Apple Pay / Google Pay(按设备自动显示)
|
|
55
|
+
// Visa / Master(信用卡)
|
|
56
|
+
// Online Payment(stripe)
|
|
57
|
+
// Bank Deposit(银行转账)
|
|
58
|
+
// Alipay
|
|
59
|
+
// WeChat Pay
|
|
60
|
+
// Offline Payment(线下支付)
|
|
61
|
+
// Cash(现金)
|
|
62
|
+
// Custom Payment(自定义支付)
|
|
63
|
+
var sortArr = ['mw.google', 'mw.apple', 'mw.credit_card', 'stripe', 'pisell.bank_deposit', 'superpay.alipay.h5', 'superpay.wechat.h5', 'pisell.offline_payment', 'pisell.other.cashmanual', 'pisell.custom_payment'];
|
|
53
64
|
|
|
54
65
|
/**
|
|
55
66
|
* @title: 过滤支付列表
|
|
@@ -124,6 +135,9 @@ export var filterPaymentList = function filterPaymentList(list) {
|
|
|
124
135
|
walletPass: walletPass
|
|
125
136
|
};
|
|
126
137
|
}
|
|
138
|
+
paymentList = paymentList.sort(function (a, b) {
|
|
139
|
+
return sortArr.indexOf(a.service) - sortArr.indexOf(b.service);
|
|
140
|
+
});
|
|
127
141
|
|
|
128
142
|
// 将自定义支付方式的service加上custom_payment_id, 保证唯一性
|
|
129
143
|
paymentList = paymentList.map(function (d) {
|
|
@@ -241,22 +241,22 @@ export var checkEnrollment = /*#__PURE__*/function () {
|
|
|
241
241
|
*/
|
|
242
242
|
export var createThreeDSMethodIframe = /*#__PURE__*/function () {
|
|
243
243
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(threeDSMethodData, callback) {
|
|
244
|
-
var _threeDSMethodData$pa, _threeDSMethodData$pa2, _threeDSMethodData$pa3, _threeDSMethodData$pa4, _threeDSMethodData$pa5;
|
|
244
|
+
var _threeDSMethodData$pa, _threeDSMethodData$pa2, _threeDSMethodData$pa3, _threeDSMethodData$pa4, _threeDSMethodData$pa5, _threeDSMethodData$pa6;
|
|
245
245
|
var defaultReturnParams, displayBox, iframe, form, input, timer;
|
|
246
246
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
247
247
|
while (1) switch (_context3.prev = _context3.next) {
|
|
248
248
|
case 0:
|
|
249
249
|
defaultReturnParams = {
|
|
250
|
-
threeDSServerTransID: (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa === void 0 ? void 0 : _threeDSMethodData$pa.threeDSServerTransID) || '',
|
|
251
|
-
threeDSCompInd: (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$
|
|
250
|
+
threeDSServerTransID: (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa === void 0 ? void 0 : _threeDSMethodData$pa.threeDSServerTransID) || (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa2 = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa2 === void 0 ? void 0 : _threeDSMethodData$pa2.paReq) || '',
|
|
251
|
+
threeDSCompInd: (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa3 = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa3 === void 0 ? void 0 : _threeDSMethodData$pa3.threeDSCompInd) || 'N'
|
|
252
252
|
}; // 有返回 threeDSServerTransID 直接走第4步
|
|
253
|
-
if (!(threeDSMethodData !== null && threeDSMethodData !== void 0 && (_threeDSMethodData$
|
|
253
|
+
if (!(threeDSMethodData !== null && threeDSMethodData !== void 0 && (_threeDSMethodData$pa4 = threeDSMethodData.pay_info) !== null && _threeDSMethodData$pa4 !== void 0 && _threeDSMethodData$pa4.threeDSServerTransID && threeDSMethodData !== null && threeDSMethodData !== void 0 && (_threeDSMethodData$pa5 = threeDSMethodData.pay_info) !== null && _threeDSMethodData$pa5 !== void 0 && _threeDSMethodData$pa5.threeDSCompInd)) {
|
|
254
254
|
_context3.next = 3;
|
|
255
255
|
break;
|
|
256
256
|
}
|
|
257
257
|
return _context3.abrupt("return", defaultReturnParams);
|
|
258
258
|
case 3:
|
|
259
|
-
if (!(!(threeDSMethodData !== null && threeDSMethodData !== void 0 && threeDSMethodData.pay_info.acsURL) || typeof (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$
|
|
259
|
+
if (!(!(threeDSMethodData !== null && threeDSMethodData !== void 0 && threeDSMethodData.pay_info.acsURL) || typeof (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa6 = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa6 === void 0 ? void 0 : _threeDSMethodData$pa6.acsURL) !== 'string')) {
|
|
260
260
|
_context3.next = 5;
|
|
261
261
|
break;
|
|
262
262
|
}
|
|
@@ -292,6 +292,7 @@ export var createThreeDSMethodIframe = /*#__PURE__*/function () {
|
|
|
292
292
|
form.submit();
|
|
293
293
|
timer = null; // 返回promise
|
|
294
294
|
return _context3.abrupt("return", new Promise(function (res, rej) {
|
|
295
|
+
var _threeDSMethodData$pa7;
|
|
295
296
|
// 10秒内没有成功则走N逻辑
|
|
296
297
|
timer = setTimeout(function () {
|
|
297
298
|
res(defaultReturnParams);
|
|
@@ -299,7 +300,7 @@ export var createThreeDSMethodIframe = /*#__PURE__*/function () {
|
|
|
299
300
|
msg: '第三步: 10秒超时则走N逻辑',
|
|
300
301
|
data: threeDSMethodData
|
|
301
302
|
});
|
|
302
|
-
}, 10000);
|
|
303
|
+
}, (threeDSMethodData === null || threeDSMethodData === void 0 || (_threeDSMethodData$pa7 = threeDSMethodData.pay_info) === null || _threeDSMethodData$pa7 === void 0 ? void 0 : _threeDSMethodData$pa7.tdsMethodTimeoutMS) || 10000);
|
|
303
304
|
window.addEventListener('message', function (event) {
|
|
304
305
|
// 判断域名
|
|
305
306
|
if (event.origin.indexOf(postmessageUrl) !== -1 || event.origin.indexOf('securesuite') !== -1) {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ProductDisplayConfig, ProductDisplayPresetKey } from './components/ProductDisplayAdapter/types';
|
|
3
|
+
import './index.less';
|
|
4
|
+
interface TicketBookingProps {
|
|
5
|
+
productExtensionType: string[];
|
|
6
|
+
bookingConfigParams: Record<string, any>;
|
|
7
|
+
isShowMenuBar?: boolean;
|
|
8
|
+
onPrerenderComplete?: () => void;
|
|
9
|
+
isShowTimeBar?: boolean;
|
|
10
|
+
isShowFloatButtons?: boolean;
|
|
11
|
+
productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
|
|
12
|
+
isActive?: boolean;
|
|
13
|
+
rulesHooks?: any;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: (props: TicketBookingProps) => JSX.Element;
|
|
16
|
+
export default _default;
|
|
@@ -46,7 +46,7 @@ var VariantCard = function VariantCard(props) {
|
|
|
46
46
|
fontWeight: priceConfig === null || priceConfig === void 0 ? void 0 : priceConfig.fontWeight,
|
|
47
47
|
color: priceConfig === null || priceConfig === void 0 ? void 0 : priceConfig.color
|
|
48
48
|
}
|
|
49
|
-
}, priceText) : null));
|
|
49
|
+
}, locales.getText('pisell2.skuOptionsSelection.variantItemCard.price'), ":", priceText) : null));
|
|
50
50
|
};
|
|
51
51
|
function formatPriceText(params) {
|
|
52
52
|
var symbol = params.symbol || '$';
|
|
@@ -5,6 +5,7 @@ declare const _default: {
|
|
|
5
5
|
'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
|
|
6
6
|
'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
|
|
7
7
|
'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
|
|
8
|
+
'pisell2.skuOptionsSelection.variantItemCard.price': string;
|
|
8
9
|
'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
|
|
9
10
|
'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
|
|
10
11
|
};
|
|
@@ -14,6 +15,7 @@ declare const _default: {
|
|
|
14
15
|
'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
|
|
15
16
|
'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
|
|
16
17
|
'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
|
|
18
|
+
'pisell2.skuOptionsSelection.variantItemCard.price': string;
|
|
17
19
|
'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
|
|
18
20
|
'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
|
|
19
21
|
};
|
|
@@ -23,6 +25,7 @@ declare const _default: {
|
|
|
23
25
|
'pisell2.skuOptionsSelection.titleExtra.totalPrice': string;
|
|
24
26
|
'pisell2.skuOptionsSelection.optionItemCard.editSelections': string;
|
|
25
27
|
'pisell2.skuOptionsSelection.variantItemCard.soldOut': string;
|
|
28
|
+
'pisell2.skuOptionsSelection.variantItemCard.price': string;
|
|
26
29
|
'pisell2.skuOptionsSelection.optionItemCard.typeText': string;
|
|
27
30
|
'pisell2.skuOptionsSelection.optionItemCard.overSelected': string;
|
|
28
31
|
};
|
|
@@ -5,6 +5,7 @@ export default {
|
|
|
5
5
|
'pisell2.skuOptionsSelection.titleExtra.totalPrice': 'Subtotal: {{price}}',
|
|
6
6
|
'pisell2.skuOptionsSelection.optionItemCard.editSelections': 'Edit selections',
|
|
7
7
|
'pisell2.skuOptionsSelection.variantItemCard.soldOut': 'Out of stock',
|
|
8
|
+
'pisell2.skuOptionsSelection.variantItemCard.price': 'Price',
|
|
8
9
|
'pisell2.skuOptionsSelection.optionItemCard.typeText': 'Type',
|
|
9
10
|
'pisell2.skuOptionsSelection.optionItemCard.overSelected': 'Over selected'
|
|
10
11
|
},
|
|
@@ -14,6 +15,7 @@ export default {
|
|
|
14
15
|
'pisell2.skuOptionsSelection.titleExtra.totalPrice': '小计:{{price}}',
|
|
15
16
|
'pisell2.skuOptionsSelection.optionItemCard.editSelections': '编辑选择',
|
|
16
17
|
'pisell2.skuOptionsSelection.variantItemCard.soldOut': '库存不足',
|
|
18
|
+
'pisell2.skuOptionsSelection.variantItemCard.price': '价格',
|
|
17
19
|
'pisell2.skuOptionsSelection.optionItemCard.typeText': '类型',
|
|
18
20
|
'pisell2.skuOptionsSelection.optionItemCard.overSelected': '已达上限'
|
|
19
21
|
},
|
|
@@ -23,6 +25,7 @@ export default {
|
|
|
23
25
|
'pisell2.skuOptionsSelection.titleExtra.totalPrice': '小計:{{price}}',
|
|
24
26
|
'pisell2.skuOptionsSelection.optionItemCard.editSelections': '編輯選擇',
|
|
25
27
|
'pisell2.skuOptionsSelection.variantItemCard.soldOut': '庫存不足',
|
|
28
|
+
'pisell2.skuOptionsSelection.variantItemCard.price': '價格',
|
|
26
29
|
'pisell2.skuOptionsSelection.optionItemCard.typeText': '類型',
|
|
27
30
|
'pisell2.skuOptionsSelection.optionItemCard.overSelected': '已達上限'
|
|
28
31
|
}
|
|
@@ -59,7 +59,32 @@ function LoginCodeInput(_ref) {
|
|
|
59
59
|
* @param value 输入的值
|
|
60
60
|
*/
|
|
61
61
|
var handleInputChange = function handleInputChange(index, value) {
|
|
62
|
-
|
|
62
|
+
// iOS「短信验证码一键填充」/ 粘贴可能会一次性塞进多位数字:
|
|
63
|
+
// - Safari 往往能正常触发
|
|
64
|
+
// - 微信 WebView 更依赖标准的 `autocomplete="one-time-code"`,并且需要允许一次性输入整串数字
|
|
65
|
+
var digitsOnly = value.replace(/\D/g, '');
|
|
66
|
+
if (digitsOnly !== value && value !== '') return; // 只允许数字(允许空字符串用于清空)
|
|
67
|
+
|
|
68
|
+
// 一次性输入多位数字时,拆分填充到后续输入框(兼容 iOS one-time-code / IME 粘贴)
|
|
69
|
+
if (digitsOnly.length > 1) {
|
|
70
|
+
var _inputRefs$current$ne;
|
|
71
|
+
if (error && onClearError) onClearError();
|
|
72
|
+
var nextCode = _toConsumableArray(code);
|
|
73
|
+
var maxFillLength = Math.min(codeLength - index, digitsOnly.length);
|
|
74
|
+
for (var offset = 0; offset < maxFillLength; offset += 1) {
|
|
75
|
+
nextCode[index + offset] = digitsOnly[offset];
|
|
76
|
+
}
|
|
77
|
+
setCode(nextCode);
|
|
78
|
+
var nextEmptyIndex = nextCode.findIndex(function (digit) {
|
|
79
|
+
return digit === '';
|
|
80
|
+
});
|
|
81
|
+
if (nextEmptyIndex === -1) {
|
|
82
|
+
onSubmit === null || onSubmit === void 0 || onSubmit(nextCode.join(''));
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
(_inputRefs$current$ne = inputRefs.current[nextEmptyIndex]) === null || _inputRefs$current$ne === void 0 || _inputRefs$current$ne.focus();
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
63
88
|
|
|
64
89
|
// 如果用户开始输入且有错误,清除错误
|
|
65
90
|
if (value && error && onClearError) {
|
|
@@ -164,8 +189,16 @@ function LoginCodeInput(_ref) {
|
|
|
164
189
|
return inputRefs.current[index] = el;
|
|
165
190
|
},
|
|
166
191
|
type: "text",
|
|
167
|
-
inputMode: "numeric"
|
|
168
|
-
|
|
192
|
+
inputMode: "numeric"
|
|
193
|
+
// 关键:第一个输入框需要支持 iOS one-time-code 一次性填充整串验证码
|
|
194
|
+
// 否则在微信 WebView 等环境下可能只会塞进第一位或完全不触发
|
|
195
|
+
,
|
|
196
|
+
autoComplete: index === 0 ? 'one-time-code' : 'off',
|
|
197
|
+
autoCorrect: "off",
|
|
198
|
+
autoCapitalize: "off",
|
|
199
|
+
spellCheck: false,
|
|
200
|
+
maxLength: index === 0 ? codeLength : 1,
|
|
201
|
+
pattern: "[0-9]*",
|
|
169
202
|
className: "code-input-box ".concat(digit ? 'has-value' : '', " ").concat(error ? 'has-error' : ''),
|
|
170
203
|
value: digit,
|
|
171
204
|
onChange: function onChange(e) {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
1
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
3
2
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
3
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
@@ -58,7 +57,32 @@ function CodeInput(_ref) {
|
|
|
58
57
|
* @param value 输入的值
|
|
59
58
|
*/
|
|
60
59
|
var handleInputChange = function handleInputChange(index, value) {
|
|
61
|
-
|
|
60
|
+
// iOS「短信验证码一键填充」/ 粘贴可能会一次性塞进多位数字:
|
|
61
|
+
// - Safari 往往能正常触发
|
|
62
|
+
// - 微信 WebView 更依赖标准的 `autocomplete="one-time-code"`,并且需要允许一次性输入整串数字
|
|
63
|
+
var digitsOnly = value.replace(/\D/g, '');
|
|
64
|
+
if (digitsOnly !== value && value !== '') return; // 只允许数字(允许空字符串用于清空)
|
|
65
|
+
|
|
66
|
+
// 一次性输入多位数字时,拆分填充到后续输入框(兼容 iOS one-time-code / IME 粘贴)
|
|
67
|
+
if (digitsOnly.length > 1) {
|
|
68
|
+
var _inputRefs$current$ne;
|
|
69
|
+
if (error && onClearError) onClearError();
|
|
70
|
+
var nextCode = _toConsumableArray(code);
|
|
71
|
+
var maxFillLength = Math.min(codeLength - index, digitsOnly.length);
|
|
72
|
+
for (var offset = 0; offset < maxFillLength; offset += 1) {
|
|
73
|
+
nextCode[index + offset] = digitsOnly[offset];
|
|
74
|
+
}
|
|
75
|
+
setCode(nextCode);
|
|
76
|
+
var nextEmptyIndex = nextCode.findIndex(function (digit) {
|
|
77
|
+
return digit === '';
|
|
78
|
+
});
|
|
79
|
+
if (nextEmptyIndex === -1) {
|
|
80
|
+
onSubmit === null || onSubmit === void 0 || onSubmit(nextCode.join(''));
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
(_inputRefs$current$ne = inputRefs.current[nextEmptyIndex]) === null || _inputRefs$current$ne === void 0 || _inputRefs$current$ne.focus();
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
62
86
|
|
|
63
87
|
// 如果用户开始输入且有错误,清除错误
|
|
64
88
|
if (value && error && onClearError) {
|
|
@@ -136,9 +160,7 @@ function CodeInput(_ref) {
|
|
|
136
160
|
// 根据账号类型显示不同的标题和描述
|
|
137
161
|
var title = flowData.accountType === 'email' ? locales.getText('pisell-register2-check-email-title') : locales.getText('pisell-register2-check-phone-title');
|
|
138
162
|
var description = flowData.accountType === 'email' ? locales.getText('pisell-register2-check-email-desc') : locales.getText('pisell-register2-check-phone-desc');
|
|
139
|
-
|
|
140
|
-
// 格式化账号显示(手机号对象需要转换为字符串)
|
|
141
|
-
var displayAccount = _typeof(flowData.account) === 'object' && 'phone' in flowData.account ? "+".concat(flowData.account.country_calling_code).concat(flowData.account.phone) : flowData.account;
|
|
163
|
+
var displayAccount = flowData.account;
|
|
142
164
|
|
|
143
165
|
// 根据账号类型显示不同的"没有收到"提示
|
|
144
166
|
var noReceiveText = flowData.accountType === 'email' ? locales.getText('pisell-register2-no-email-received') : locales.getText('pisell-register2-no-message-received');
|
|
@@ -166,8 +188,16 @@ function CodeInput(_ref) {
|
|
|
166
188
|
return inputRefs.current[index] = el;
|
|
167
189
|
},
|
|
168
190
|
type: "text",
|
|
169
|
-
inputMode: "numeric"
|
|
170
|
-
|
|
191
|
+
inputMode: "numeric"
|
|
192
|
+
// 关键:第一个输入框需要支持 iOS one-time-code 一次性填充整串验证码
|
|
193
|
+
// 否则在微信 WebView 等环境下可能只会塞进第一位或完全不触发
|
|
194
|
+
,
|
|
195
|
+
autoComplete: index === 0 ? 'one-time-code' : 'off',
|
|
196
|
+
autoCorrect: "off",
|
|
197
|
+
autoCapitalize: "off",
|
|
198
|
+
spellCheck: false,
|
|
199
|
+
maxLength: index === 0 ? codeLength : 1,
|
|
200
|
+
pattern: "[0-9]*",
|
|
171
201
|
className: "code-input-box ".concat(digit ? 'has-value' : '', " ").concat(error ? 'has-error' : ''),
|
|
172
202
|
value: digit,
|
|
173
203
|
onChange: function onChange(e) {
|
|
@@ -220,7 +220,8 @@ var PaymentContent = (0, import_react.forwardRef)(
|
|
|
220
220
|
"EFTPOS_LINKLY",
|
|
221
221
|
"EFTPOS_PAYO",
|
|
222
222
|
"EFTPOS_WINDCAVE",
|
|
223
|
-
"EFTPOS_TYRO"
|
|
223
|
+
"EFTPOS_TYRO",
|
|
224
|
+
"EFTPOS_HUIFU"
|
|
224
225
|
];
|
|
225
226
|
const mx51Code = "EFTPOS";
|
|
226
227
|
let payType = "";
|
|
@@ -301,7 +302,9 @@ var PaymentContent = (0, import_react.forwardRef)(
|
|
|
301
302
|
orderId: data.orderId,
|
|
302
303
|
symbol: getData("shop_symbol"),
|
|
303
304
|
amount: finalAmount,
|
|
304
|
-
surcharge: processSurcharge(method.surcharge)
|
|
305
|
+
surcharge: processSurcharge(method.surcharge),
|
|
306
|
+
operator_type: "shop",
|
|
307
|
+
platform: "pos"
|
|
305
308
|
},
|
|
306
309
|
mode: "pay"
|
|
307
310
|
},
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HooksRunParams, PaymentMethodOptions } from '../types';
|
|
2
|
+
declare const useMicropay: (options: PaymentMethodOptions) => {
|
|
3
|
+
run: (runParams?: HooksRunParams) => void;
|
|
4
|
+
query: () => void;
|
|
5
|
+
action: (data: Record<string, any>) => void;
|
|
6
|
+
};
|
|
7
|
+
export default useMicropay;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/eftposPay/aggregatePayment/hooks/useMicropay.ts
|
|
30
|
+
var useMicropay_exports = {};
|
|
31
|
+
__export(useMicropay_exports, {
|
|
32
|
+
default: () => useMicropay_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(useMicropay_exports);
|
|
35
|
+
var import_react = require("react");
|
|
36
|
+
var import_payment = __toESM(require("../utils/payment"));
|
|
37
|
+
var import_const = require("../../const");
|
|
38
|
+
var import_hooks = require("../../hooks");
|
|
39
|
+
var import_helper = require("../../helper");
|
|
40
|
+
var import_store = require("../../store");
|
|
41
|
+
var import_store2 = require("../../store");
|
|
42
|
+
var useMicropay = (options) => {
|
|
43
|
+
const { custom } = (0, import_store2.useContextData)();
|
|
44
|
+
const { modeRef, payRef, orderIdRef, eftposRef, deviceRef, amountRef } = (0, import_hooks.useStoreRef)();
|
|
45
|
+
const paymentMethodRef = (0, import_react.useRef)(null);
|
|
46
|
+
const dispatch = (0, import_store.useDispatch)();
|
|
47
|
+
const uniquePaymentNumberRef = (0, import_react.useRef)(null);
|
|
48
|
+
const isPay = modeRef.current === import_const.ModeEnum.Pay || modeRef.current === import_const.ModeEnum.FullPay;
|
|
49
|
+
(0, import_react.useEffect)(() => {
|
|
50
|
+
var _a;
|
|
51
|
+
if (!paymentMethodRef.current) {
|
|
52
|
+
if (!options.paymentNum) {
|
|
53
|
+
const paymentNum = (0, import_helper.getUuid)();
|
|
54
|
+
dispatch((0, import_store.updateState)({ number: paymentNum }));
|
|
55
|
+
options.paymentNum = paymentNum;
|
|
56
|
+
uniquePaymentNumberRef.current = paymentNum;
|
|
57
|
+
} else {
|
|
58
|
+
uniquePaymentNumberRef.current = options.paymentNum;
|
|
59
|
+
}
|
|
60
|
+
options.orderId = orderIdRef.current;
|
|
61
|
+
options.deviceId = (_a = deviceRef.current) == null ? void 0 : _a.id;
|
|
62
|
+
paymentMethodRef.current = new import_payment.default(options);
|
|
63
|
+
}
|
|
64
|
+
return () => {
|
|
65
|
+
var _a2, _b;
|
|
66
|
+
(_b = (_a2 = paymentMethodRef.current) == null ? void 0 : _a2.destroy) == null ? void 0 : _b.call(_a2);
|
|
67
|
+
paymentMethodRef.current = null;
|
|
68
|
+
};
|
|
69
|
+
}, []);
|
|
70
|
+
const run = (runParams) => {
|
|
71
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
72
|
+
const params = {
|
|
73
|
+
order_id: orderIdRef.current,
|
|
74
|
+
unique_payment_number: uniquePaymentNumberRef.current,
|
|
75
|
+
payment_code: options.paymentCode,
|
|
76
|
+
amount: isPay ? (_a = payRef.current) == null ? void 0 : _a.total : amountRef.current,
|
|
77
|
+
operator_id: custom == null ? void 0 : custom.operator_id,
|
|
78
|
+
operator_type: custom == null ? void 0 : custom.operator_type,
|
|
79
|
+
platform: custom == null ? void 0 : custom.platform,
|
|
80
|
+
micropay: {
|
|
81
|
+
card_reader_type: eftposRef.current,
|
|
82
|
+
card_reader_id: (_b = deviceRef.current) == null ? void 0 : _b.id
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
if (isPay) {
|
|
86
|
+
params.payment = {
|
|
87
|
+
original_amount: (_c = payRef.current) == null ? void 0 : _c.amount,
|
|
88
|
+
order_payment_type: "normal",
|
|
89
|
+
// TODO: 需要使用方提供
|
|
90
|
+
custom_payment_id: custom == null ? void 0 : custom.custom_payment_id,
|
|
91
|
+
custom_payment_code: custom == null ? void 0 : custom.custom_payment_code,
|
|
92
|
+
custom_payment_name: custom == null ? void 0 : custom.custom_payment_name,
|
|
93
|
+
custom_payment_type: custom == null ? void 0 : custom.custom_payment_type,
|
|
94
|
+
service_charge: {
|
|
95
|
+
amount: (_d = payRef.current) == null ? void 0 : _d.surMoney,
|
|
96
|
+
percentage: (_e = payRef.current) == null ? void 0 : _e.surPercentRate
|
|
97
|
+
},
|
|
98
|
+
metadata: {
|
|
99
|
+
unique_payment_number: uniquePaymentNumberRef.current
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
params.micropay.auth_code = (runParams == null ? void 0 : runParams.authCode) || "";
|
|
103
|
+
(_f = paymentMethodRef.current) == null ? void 0 : _f.pay(params);
|
|
104
|
+
} else {
|
|
105
|
+
params.micropay.order_payment_id = (runParams == null ? void 0 : runParams.orderPaymentId) || "";
|
|
106
|
+
(_g = paymentMethodRef.current) == null ? void 0 : _g.refund(params);
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
const query = () => {
|
|
110
|
+
var _a, _b;
|
|
111
|
+
if (isPay) {
|
|
112
|
+
(_a = paymentMethodRef.current) == null ? void 0 : _a.payQuery();
|
|
113
|
+
} else {
|
|
114
|
+
(_b = paymentMethodRef.current) == null ? void 0 : _b.refundQuery();
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
const action = (data) => {
|
|
118
|
+
var _a, _b;
|
|
119
|
+
const params = {
|
|
120
|
+
order_id: orderIdRef.current,
|
|
121
|
+
unique_payment_number: uniquePaymentNumberRef.current,
|
|
122
|
+
payment_code: options.paymentCode,
|
|
123
|
+
data
|
|
124
|
+
};
|
|
125
|
+
if (isPay) {
|
|
126
|
+
(_a = paymentMethodRef.current) == null ? void 0 : _a.payAction(params);
|
|
127
|
+
} else {
|
|
128
|
+
(_b = paymentMethodRef.current) == null ? void 0 : _b.refundAction(params);
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
return { run, query, action };
|
|
132
|
+
};
|
|
133
|
+
var useMicropay_default = useMicropay;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/eftposPay/aggregatePayment/index.ts
|
|
30
|
+
var aggregatePayment_exports = {};
|
|
31
|
+
__export(aggregatePayment_exports, {
|
|
32
|
+
EActionStatus: () => import_types.EActionStatus,
|
|
33
|
+
useMicropay: () => import_useMicropay.default
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(aggregatePayment_exports);
|
|
36
|
+
var import_types = require("./types");
|
|
37
|
+
var import_useMicropay = __toESM(require("./hooks/useMicropay"));
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
EActionStatus,
|
|
41
|
+
useMicropay
|
|
42
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 聚合支付-支付接口
|
|
3
|
+
*/
|
|
4
|
+
export declare const AGPTPayApi: (data: any, config: any) => Promise<any>;
|
|
5
|
+
/**
|
|
6
|
+
* 聚合支付-支付-查询接口
|
|
7
|
+
*/
|
|
8
|
+
export declare const AGPTQueryApi: (param: any, config: any) => Promise<any>;
|
|
9
|
+
/**
|
|
10
|
+
* 聚合支付-支付-支付行为接口
|
|
11
|
+
*/
|
|
12
|
+
export declare const AGPTActionApi: (param: any, config: any) => Promise<any>;
|
|
13
|
+
/**
|
|
14
|
+
* 聚合支付-退款接口
|
|
15
|
+
*/
|
|
16
|
+
export declare const AGPTRefundApi: (data: any, config: any) => Promise<any>;
|
|
17
|
+
/**
|
|
18
|
+
* 聚合支付-退款-查询接口
|
|
19
|
+
*/
|
|
20
|
+
export declare const AGPTRefundQueryApi: (param: any, config: any) => Promise<any>;
|
|
21
|
+
/**
|
|
22
|
+
* 聚合支付-退款-支付行为接口
|
|
23
|
+
*/
|
|
24
|
+
export declare const AGPTRefundActionApi: (param: any, config: any) => Promise<any>;
|