gamingpe-chatbot
Version:
This chatbot can be used for the Deposit, Withdrawal and Solving query for the pending transaction faster than before.
47 lines (46 loc) • 1.13 kB
TypeScript
import { TransactionReasonKeyEnum } from "@/app/enums/deposit.enum";
export interface ITransaction {
_id: string;
setting: IBankSetting;
utr: string;
amount: number;
status: string;
order_id: string;
upi_id?: any;
bank_account: IBankAccount;
is_claimed: boolean;
createdAt: Date;
updatedAt: Date;
qr_Link?: string;
external_ref?: string;
upiqr_Link?: string;
isQRIntent?: boolean;
paymentPage?: number;
bank_type?: number;
reasonKey: TransactionReasonKeyEnum;
isBlocked: boolean;
message?: string;
}
export interface IBankSetting {
category: string;
upi_ids: IBankAccount[] | string[];
active_upi_id: IBankAccount | string;
is_active: boolean;
createdAt: Date;
updatedAt: Date;
createdBy?: string;
relatedTo?: string;
}
export interface IBankAccount {
_id?: string;
name: string;
number?: string;
upi_id?: any;
qr_Link?: string | undefined;
qrcode_url?: string | null;
bankName?: string;
ifscCode?: string;
qrsList?: any[];
paymentMethods?: string[];
apiVersion?: string;
}