gotrip-fx-transaction-form 1.0.267-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.267-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;
@@ -144,7 +144,11 @@ export type IESimTransaction = {
144
144
  agencyOrderId?: number;
145
145
  orderCode?: string;
146
146
  status: EsimTransactionStatus;
147
- paymentMode: EPaymentMode;
147
+ paymentMode?: EPaymentMode;
148
+ paymentTypeApplied?: EOrderPaymentType;
149
+ paidAmount?: number;
150
+ unpaidAmount?: number;
151
+ isBypassed?: boolean;
148
152
  lastSyncedAt?: Date;
149
153
  publicId: string;
150
154
  createdResponseLog?: Record<string, any>;
@@ -291,10 +295,18 @@ export type GetESimTransactionListRespDto = {
291
295
  page: number;
292
296
  limit: number;
293
297
  };
298
+ export type BankTransferInfo = {
299
+ bankAccount: string;
300
+ accountName: string;
301
+ amount: number;
302
+ transferContent: string;
303
+ bankCode: string;
304
+ };
294
305
  export type CreateEsimTransactionBankTransferResponse = {
295
306
  qrCodeUrl: string;
296
307
  transactionPublicId: string;
297
308
  totalAmount: number;
309
+ bankTransferInfo?: BankTransferInfo;
298
310
  };
299
311
  export type GetUserListRespDto = {
300
312
  users: IUser[];