UNPKG

gamingpe-chatbot

Version:

This chatbot can be used for the Deposit, Withdrawal and Solving query for the pending transaction faster than before.

48 lines (47 loc) 1.93 kB
import { IMessage } from "@/interface/message.interface"; import { ITransaction } from "@/interface/transaction.interface"; interface ChatbotState { messages: IMessage[]; userInput: string; isInputDisabled: boolean; contentType: string; setMessages: (update: (prevMessages: IMessage[]) => IMessage[]) => void; setUserInput: (input: string) => void; setIsInputDisabled: (isDisabled: boolean) => void; setContentType: (contentType: string) => void; inputType: string; setInputType: (type: string) => void; textfieldPlaceHolder: string; setTextfieldPlaceHolder: (placeholder: string) => void; transactionDetails: Partial<ITransaction>; setTransactionDetails: (details: Partial<ITransaction>) => void; withdrawAmount: number; setWithdrawAmount: (amount: number) => void; withdrawBankName: string; setWithdrawBankName: (name: string) => void; withdrawAccountNumber: string; setWithdrawAccountNumber: (account: string) => void; withdrawAccountHolder: string; setWithdrawAccountHolder: (holder: string) => void; withdrawIfsc: string; setWithdrawIfsc: (ifsc: string) => void; withdrawOrderId: string; setWithdrawOrderId: (orderId: string) => void; allWithdrawalDataSubmitted: boolean; setAllWithdrawalDataSubmitted: (status: boolean) => void; playerId: string | null; setPlayerId: (orderId: string) => void; apiKey: string; setApiKey: (orderId: string) => void; apiSecret: string; setApiSecret: (orderId: string) => void; apiDomain: string; setApiDomain: (orderId: string) => void; isWebChatbot: boolean; chatbotVersion: string; setChatbotVersion: (version: string) => void; isChatVisible: boolean; setIsChatVisible: (status: boolean) => void; } declare const useStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ChatbotState>>; export default useStore;