gotrip-fx-transaction-form 1.0.260-dev → 1.0.261-dev
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/package.json
CHANGED
|
@@ -530,7 +530,9 @@ export declare enum EDebtReportStatus {
|
|
|
530
530
|
}
|
|
531
531
|
export declare enum ETransactionReportType {
|
|
532
532
|
FX = "fx",
|
|
533
|
-
ESIM = "esim"
|
|
533
|
+
ESIM = "esim",
|
|
534
|
+
INSURANCE = "insurance",
|
|
535
|
+
MOTOR_INSURANCE = "motor_insurance"
|
|
534
536
|
}
|
|
535
537
|
export declare enum ESimType {
|
|
536
538
|
ESIM = "esim",
|
|
@@ -548,10 +550,13 @@ export type IDebtReportTransaction = {
|
|
|
548
550
|
customerEmail?: string;
|
|
549
551
|
amount: number;
|
|
550
552
|
amountVnd: number;
|
|
551
|
-
currency
|
|
552
|
-
bankName
|
|
553
|
-
publicId
|
|
553
|
+
currency?: string;
|
|
554
|
+
bankName?: string;
|
|
555
|
+
publicId?: string;
|
|
554
556
|
bankTransactionId?: string;
|
|
557
|
+
insuranceProvider?: string;
|
|
558
|
+
insuranceType?: string;
|
|
559
|
+
policyId?: string;
|
|
555
560
|
createdAt: string;
|
|
556
561
|
commissionAmount: number;
|
|
557
562
|
};
|
|
@@ -563,6 +568,7 @@ export type IDebtReport = {
|
|
|
563
568
|
endDate: string;
|
|
564
569
|
transactionType: ETransactionReportType;
|
|
565
570
|
totalCommissionVnd: number;
|
|
571
|
+
totalAmountVnd: number;
|
|
566
572
|
totalCommissionByBank: Record<string, number>;
|
|
567
573
|
numSuccessfulTransactions: number;
|
|
568
574
|
status: EDebtReportStatus;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ETransactionReportType } from '../types/response.dto';
|
|
2
|
+
export declare const getDebtReportTransactionTypeText: (type: ETransactionReportType) => string;
|
|
3
|
+
export declare const isFxDebtReportType: (type: ETransactionReportType) => boolean;
|
|
4
|
+
export declare const getDebtReportInsuranceTypeText: (insuranceType?: string | null) => string;
|