@freelog/tools-lib 0.1.196 → 0.1.197
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 +6 -2
- package/dist/tools-lib.cjs.development.js +8 -0
- 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 +8 -0
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/payment.ts +17 -2
|
@@ -20,7 +20,7 @@ interface UpdateFinancialAccountParamsType {
|
|
|
20
20
|
accountId: string;
|
|
21
21
|
certNo: string;
|
|
22
22
|
name: string;
|
|
23
|
-
certValidityType:
|
|
23
|
+
certValidityType: 0 | 1;
|
|
24
24
|
certBeginDate: string;
|
|
25
25
|
certEndDate?: string;
|
|
26
26
|
certImagePaths: string[];
|
|
@@ -30,7 +30,6 @@ interface BindWithdrawCardParamsType {
|
|
|
30
30
|
accountId: string;
|
|
31
31
|
cardType: 0 | 1 | 2 | 4;
|
|
32
32
|
bankName: string;
|
|
33
|
-
cardName: string;
|
|
34
33
|
cardNo: string;
|
|
35
34
|
provId: string;
|
|
36
35
|
areaId: string;
|
|
@@ -50,6 +49,11 @@ interface QueryBindWithdrawCardParamsType {
|
|
|
50
49
|
accountId: string;
|
|
51
50
|
}
|
|
52
51
|
export declare function queryBindWithdrawCard({ accountId }: QueryBindWithdrawCardParamsType, config?: AxiosRequestConfig): Promise<any>;
|
|
52
|
+
interface QueryWithdrawStatusParamsType {
|
|
53
|
+
ownerId: number;
|
|
54
|
+
accountType: 1 | 2;
|
|
55
|
+
}
|
|
56
|
+
export declare function queryWithdrawStatus(params: QueryWithdrawStatusParamsType, config?: AxiosRequestConfig): Promise<any>;
|
|
53
57
|
interface WithdrawCashParamsType {
|
|
54
58
|
accountId: string;
|
|
55
59
|
transactionAmount: number;
|
|
@@ -3466,6 +3466,13 @@ function queryBindWithdrawCard(_ref4, config) {
|
|
|
3466
3466
|
url: "/v3/transactions/accounts/" + accountId + "/cashCard"
|
|
3467
3467
|
}, config));
|
|
3468
3468
|
}
|
|
3469
|
+
function queryWithdrawStatus(params, config) {
|
|
3470
|
+
return FUtil.Request(_extends({
|
|
3471
|
+
method: 'GET',
|
|
3472
|
+
url: "/v3/transactions/withdrawCash/check",
|
|
3473
|
+
params: params
|
|
3474
|
+
}, config));
|
|
3475
|
+
}
|
|
3469
3476
|
function withdrawCash(params, config) {
|
|
3470
3477
|
return FUtil.Request(_extends({
|
|
3471
3478
|
method: 'POST',
|
|
@@ -3504,6 +3511,7 @@ var Payment = {
|
|
|
3504
3511
|
queryFinancialAccountInfo: queryFinancialAccountInfo,
|
|
3505
3512
|
queryFinancialAccountInfo2: queryFinancialAccountInfo2,
|
|
3506
3513
|
queryBindWithdrawCard: queryBindWithdrawCard,
|
|
3514
|
+
queryWithdrawStatus: queryWithdrawStatus,
|
|
3507
3515
|
withdrawCash: withdrawCash,
|
|
3508
3516
|
queryWithdrawCashList: queryWithdrawCashList
|
|
3509
3517
|
};
|