@freelog/tools-lib 0.1.187 → 0.1.189
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/dist/service-API/payment.d.ts +15 -0
- package/dist/tools-lib.cjs.development.js +39 -1
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +39 -1
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/payment.ts +60 -0
package/dist/tools-lib.esm.js
CHANGED
|
@@ -3381,13 +3381,51 @@ function queryFinancialAccountInfo(params, config) {
|
|
|
3381
3381
|
params: params
|
|
3382
3382
|
}, config));
|
|
3383
3383
|
}
|
|
3384
|
+
function queryBindWithdrawCard(_ref2, config) {
|
|
3385
|
+
var accountId = _ref2.accountId;
|
|
3386
|
+
return FUtil.Request(_extends({
|
|
3387
|
+
method: 'GET',
|
|
3388
|
+
url: "/v3/transactions/accounts/" + accountId + "/cashCard"
|
|
3389
|
+
}, config));
|
|
3390
|
+
}
|
|
3391
|
+
function withdrawCash(params, config) {
|
|
3392
|
+
return FUtil.Request(_extends({
|
|
3393
|
+
method: 'POST',
|
|
3394
|
+
url: "/v3/transactions/withdrawCash",
|
|
3395
|
+
data: params
|
|
3396
|
+
}, config));
|
|
3397
|
+
}
|
|
3398
|
+
function queryWithdrawCashList(params, config) {
|
|
3399
|
+
return FUtil.Request(_extends({
|
|
3400
|
+
method: 'GET',
|
|
3401
|
+
url: "/v3/transactions/withdrawCash/list",
|
|
3402
|
+
params: params
|
|
3403
|
+
}, config));
|
|
3404
|
+
}
|
|
3405
|
+
// 交易记录分页列表查询
|
|
3406
|
+
// interface QueryTransactionListParamsType {
|
|
3407
|
+
// skip?: number;
|
|
3408
|
+
// limit?: number;
|
|
3409
|
+
// accountId: string;
|
|
3410
|
+
// }
|
|
3411
|
+
// export function queryTransactionList(params: QueryTransactionListParamsType, config?: AxiosRequestConfig) {
|
|
3412
|
+
// return FUtil.Request({
|
|
3413
|
+
// method: 'GET',
|
|
3414
|
+
// url: `/v3/transactions/transaction/list`,
|
|
3415
|
+
// params: params,
|
|
3416
|
+
// ...config,
|
|
3417
|
+
// });
|
|
3418
|
+
// }
|
|
3384
3419
|
|
|
3385
3420
|
var Payment = {
|
|
3386
3421
|
__proto__: null,
|
|
3387
3422
|
uploadIDCard: uploadIDCard,
|
|
3388
3423
|
openFinancialAccount: openFinancialAccount,
|
|
3389
3424
|
bindWithdrawCard: bindWithdrawCard,
|
|
3390
|
-
queryFinancialAccountInfo: queryFinancialAccountInfo
|
|
3425
|
+
queryFinancialAccountInfo: queryFinancialAccountInfo,
|
|
3426
|
+
queryBindWithdrawCard: queryBindWithdrawCard,
|
|
3427
|
+
withdrawCash: withdrawCash,
|
|
3428
|
+
queryWithdrawCashList: queryWithdrawCashList
|
|
3391
3429
|
};
|
|
3392
3430
|
|
|
3393
3431
|
var FServiceAPI = {
|