mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
33 lines
815 B
TypeScript
33 lines
815 B
TypeScript
export interface IBankCredentials {
|
|
name: string;
|
|
balance: number;
|
|
}
|
|
|
|
export interface Transfer {
|
|
id: number;
|
|
targetID: number;
|
|
source: string;
|
|
type: string;
|
|
transferAmount: number;
|
|
message: string;
|
|
}
|
|
|
|
export interface ITransactions {
|
|
source: number;
|
|
type: string;
|
|
amount: number;
|
|
}
|
|
|
|
export enum BankEvents {
|
|
ADD_TRANSFER = 'npwd:addTransfer',
|
|
ADD_TRANSFER_SUCCESS = 'npwd:addTransferSuccess',
|
|
FETCH_TRANSACTIONS = 'npwd:fetchAllTransactions',
|
|
SEND_TRANSFERS = 'npwd:sendTransfers',
|
|
TRANSACTION_ALERT = 'npwd:bankTransactionAlert',
|
|
TRANSACTION_NOTIFICATION = 'npwd:bankTransactionNotification',
|
|
SEND_CREDENTIALS = 'npwd:sendBankCredentials',
|
|
GET_CREDENTIALS = 'npwd:getBankCredentials',
|
|
SEND_ALERT = 'npwd:sendBankAlert',
|
|
SEND_NOTIFICATION = 'npwd:sendBankNotification',
|
|
}
|