gotrip-fx-transaction-form 1.0.268-dev → 1.0.269-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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "1.0.268-dev",
3
+ "version": "1.0.269-dev",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { BankTransferInfo } from '../../types/response.dto';
3
+ interface BankTransferInfoDisplayProps {
4
+ bankTransferInfo: BankTransferInfo;
5
+ }
6
+ export declare const BankTransferInfoDisplay: React.FC<BankTransferInfoDisplayProps>;
7
+ export {};
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { BankTransferInfo } from '../../types/response.dto';
2
3
  interface EsimBankTransferModalProps {
3
4
  open: boolean;
4
5
  onClose: () => void;
@@ -6,6 +7,7 @@ interface EsimBankTransferModalProps {
6
7
  transactionPublicId?: string;
7
8
  amount: number;
8
9
  onSuccess?: () => void;
10
+ bankTransferInfo?: BankTransferInfo;
9
11
  }
10
12
  declare const EsimBankTransferModal: React.FC<EsimBankTransferModalProps>;
11
13
  export default EsimBankTransferModal;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { BankTransferInfo } from '../../types/response.dto';
2
3
  interface InsurancePaymentModalProps {
3
4
  open: boolean;
4
5
  onClose: () => void;
@@ -6,6 +7,7 @@ interface InsurancePaymentModalProps {
6
7
  transactionPublicId?: string;
7
8
  amount: number;
8
9
  onSuccess?: () => void;
10
+ bankTransferInfo?: BankTransferInfo;
9
11
  }
10
12
  declare const InsurancePaymentModal: React.FC<InsurancePaymentModalProps>;
11
13
  export default InsurancePaymentModal;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { BankTransferInfo } from '../../types/response.dto';
2
3
  interface MotorInsurancePaymentModalProps {
3
4
  open: boolean;
4
5
  onClose: () => void;
@@ -6,6 +7,7 @@ interface MotorInsurancePaymentModalProps {
6
7
  transactionPublicId?: string;
7
8
  amount: number;
8
9
  onSuccess?: () => void;
10
+ bankTransferInfo?: BankTransferInfo;
9
11
  }
10
12
  declare const MotorInsurancePaymentModal: React.FC<MotorInsurancePaymentModalProps>;
11
13
  export default MotorInsurancePaymentModal;
@@ -295,10 +295,18 @@ export type GetESimTransactionListRespDto = {
295
295
  page: number;
296
296
  limit: number;
297
297
  };
298
+ export type BankTransferInfo = {
299
+ bankAccount: string;
300
+ accountName: string;
301
+ amount: number;
302
+ transferContent: string;
303
+ bankCode: string;
304
+ };
298
305
  export type CreateEsimTransactionBankTransferResponse = {
299
306
  qrCodeUrl: string;
300
307
  transactionPublicId: string;
301
308
  totalAmount: number;
309
+ bankTransferInfo?: BankTransferInfo;
302
310
  };
303
311
  export type GetUserListRespDto = {
304
312
  users: IUser[];