MCPcopy Create free account

hub / github.com/canalvemfazer/typebot-canalvemfazer / functions

Functions1,168 in github.com/canalvemfazer/typebot-canalvemfazer

↓ 144 callersFunctiontoastError
frontend/src/errors/toastError.js:5
↓ 105 callersFunctionsleep
(time)
backend/src/services/WbotServices/wbotMessageListener.ts:220
↓ 80 callersFunctiongetIO
()
backend/src/libs/socket.ts:46
↓ 30 callersFunctionsocketConnection
(params)
frontend/src/services/socket.js:4
↓ 24 callersFunctionUpdateTicketService
({ ticketData, ticketId, companyId }: Request)
backend/src/services/TicketServices/UpdateTicketService.ts:46
↓ 18 callersFunctionverifyMessage
( msg: proto.IWebMessageInfo, ticket: Ticket, contact: Contact )
backend/src/services/WbotServices/wbotMessageListener.ts:901
↓ 16 callersFunctionupdate
(data)
frontend/src/hooks/usePlans/index.js:40
↓ 15 callersFunctionShowService
(id: string | number)
backend/src/services/ChatService/ShowService.ts:4
↓ 14 callersFunctionCreateService
(data: Data)
backend/src/services/ChatService/CreateService.ts:12
↓ 13 callersFunctionListService
({ ownerId, pageNumber = "1" }: Request)
backend/src/services/ChatService/ListService.ts:17
↓ 12 callersFunctionDeleteService
(id: string)
backend/src/services/ChatService/DeleteService.ts:4
↓ 12 callersFunctionUpdateService
(data: ChatData)
backend/src/services/ChatService/UpdateService.ts:11
↓ 12 callersFunctiongetBodyMessage
(msg: proto.IWebMessageInfo)
backend/src/services/WbotServices/wbotMessageListener.ts:323
↓ 11 callersFunctionShowWhatsAppService
( id: string | number, companyId: number, session?: any )
backend/src/services/WhatsappService/ShowWhatsAppService.ts:8
↓ 9 callersFunctionGetTicketWbot
(ticket: Ticket)
backend/src/helpers/GetTicketWbot.ts:12
↓ 8 callersFunctionShowTicketService
( id: string | number, companyId: number )
backend/src/services/TicketServices/ShowTicketService.ts:10
↓ 8 callersFunctionShowUserService
(id: string | number)
backend/src/services/UserServices/ShowUserService.ts:6
↓ 8 callersFunctionuseDate
()
frontend/src/hooks/useDate/index.js:3
↓ 7 callersFunctionFindService
({ ownerId, companyId }: Params)
backend/src/services/ChatService/FindService.ts:10
↓ 7 callersFunctionGetDefaultWhatsApp
( companyId: number, userId?: number )
backend/src/helpers/GetDefaultWhatsApp.ts:5
↓ 7 callersFunctiongetWbot
(whatsappId: number)
backend/src/libs/wbot.ts:39
↓ 7 callersFunctionloadPlans
(companiesPlans)
frontend/src/components/CheckoutPage/Forms/PaymentForm.js:137
↓ 7 callersFunctionusePlans
()
frontend/src/hooks/usePlans/index.js:3
↓ 6 callersFunctionCheckContactNumber
( number: string, companyId: number )
backend/src/services/WbotServices/CheckNumber.ts:14
↓ 6 callersFunctionFindOrCreateATicketTrakingService
({ ticketId, companyId, whatsappId, userId }: Params)
backend/src/services/TicketServices/FindOrCreateATicketTrakingService.ts:11
↓ 6 callersFunctionSendWhatsAppMessage
({ body, ticket, quotedMsg }: Request)
backend/src/services/WbotServices/SendWhatsAppMessage.ts:17
↓ 6 callersFunctionStartWhatsAppSession
( whatsapp: Whatsapp, companyId: number )
backend/src/services/WbotServices/StartWhatsAppSession.ts:9
↓ 6 callersFunctiongetTypeMessage
(msg: proto.IWebMessageInfo)
backend/src/services/WbotServices/wbotMessageListener.ts:93
↓ 6 callersFunctionhandleCancel
()
frontend/src/components/HelpsManager/index.js:244
↓ 6 callersFunctionupdateOptions
()
frontend/src/components/QueueOptions/index.js:309
↓ 6 callersFunctionuseCompanies
()
frontend/src/hooks/useCompanies/index.js:3
↓ 5 callersFunctionShowQueueIntegrationService
(id: string | number, companyId: number)
backend/src/services/QueueIntegrationServices/ShowQueueIntegrationService.ts:5
↓ 5 callersFunctionbotText
()
backend/src/services/WbotServices/wbotMessageListener.ts:1091
↓ 5 callersFunctionfind
(id)
frontend/src/hooks/useCompanies/index.js:30
↓ 5 callersFunctiononChange
(value)
frontend/src/components/TagsFilter/index.js:27
↓ 5 callersFunctionuseTickets
({ searchParam, tags, users, pageNumber, status, date, updatedAt, showAll, queueIds, withU
frontend/src/hooks/useTickets/index.js:6
↓ 4 callersFunctionCreateMessageService
({ senderId, chatId, message }: ChatMessageData)
backend/src/services/ChatService/CreateMessageService.ts:13
↓ 4 callersFunctionSetTicketMessagesAsRead
(ticket: Ticket)
backend/src/helpers/SetTicketMessagesAsRead.ts:9
↓ 4 callersFunctionShowPromptService
({ promptId, companyId }: Data)
backend/src/services/PromptServices/ShowPromptService.ts:9
↓ 4 callersFunctionSimpleListService
({ companyId }: Params)
backend/src/services/UserServices/SimpleListService.ts:9
↓ 4 callersFunctiondebounce
( func: { (): Promise<void>; (...args: never[]): void }, wait: number, ticketId: number )
backend/src/helpers/Debounce.ts:19
↓ 4 callersFunctiondeleteFileSync
(path: string)
backend/src/services/WbotServices/wbotMessageListener.ts:600
↓ 4 callersFunctionfetchCampaigns
()
frontend/src/pages/Campaigns/index.js:146
↓ 4 callersFunctionfetchQuickemessages
()
frontend/src/pages/QuickMessages/index.js:144
↓ 4 callersFunctionhandleClose
()
frontend/src/components/TagModal/index.js:101
↓ 4 callersFunctionhandleMessageIntegration
( msg: proto.IWebMessageInfo, wbot: Session, queueIntegration: QueueIntegrations, ticket: Ticket )
backend/src/services/WbotServices/wbotMessageListener.ts:1615
↓ 4 callersFunctionhandleOpenAi
( msg: proto.IWebMessageInfo, wbot: Session, ticket: Ticket, contact: Contact, mediaSent: Message |
backend/src/services/WbotServices/wbotMessageListener.ts:611
↓ 4 callersFunctionisNumeric
(value: string)
backend/src/services/WbotServices/wbotMessageListener.ts:89
↓ 4 callersFunctionlist
(params)
frontend/src/hooks/usePlans/index.js:14
↓ 4 callersFunctionparseToMilliseconds
(seconds)
backend/src/queues.ts:406
↓ 4 callersFunctionremoveWbot
( whatsappId: number, isLogout = true )
backend/src/libs/wbot.ts:48
↓ 4 callersFunctionsendMessageImage
( wbot: Session, contact, ticket: Ticket, url: string, caption: string )
backend/src/services/WbotServices/wbotMessageListener.ts:223
↓ 4 callersFunctionsetValue
frontend/src/hooks/useLocalStorage/index.js:15
↓ 4 callersFunctionvalidaCpfCnpj
(val)
backend/src/services/WbotServices/wbotMessageListener.ts:97
↓ 3 callersFunctionCreateContactService
({ name, number, email = "", companyId, extraInfo = [] }: Request)
backend/src/services/ContactServices/CreateContactService.ts:19
↓ 3 callersFunctionDeleteBaileysService
(id: string | number)
backend/src/services/BaileysServices/DeleteBaileysService.ts:3
↓ 3 callersFunctionShowContactService
( id: string | number, companyId: number )
backend/src/services/ContactServices/ShowContactService.ts:4
↓ 3 callersFunctionShowQueueService
( queueId: number | string, companyId: number )
backend/src/services/QueueService/ShowQueueService.ts:4
↓ 3 callersFunctiondatetimeToClient
(strDate)
frontend/src/hooks/useDate/index.js:11
↓ 3 callersFunctionencryptParams
(params: any)
backend/src/libs/cache.ts:8
↓ 3 callersFunctionfetchTags
()
frontend/src/pages/Kanban/index.js:37
↓ 3 callersFunctionget
(key: string)
backend/src/libs/cache.ts:51
↓ 3 callersFunctiongetBodyButton
(msg: proto.IWebMessageInfo)
backend/src/services/WbotServices/wbotMessageListener.ts:292
↓ 3 callersFunctiongetCampaign
(id)
backend/src/queues.ts:336
↓ 3 callersFunctiongetMessageOptions
( fileName: string, pathMedia: string, body?: string )
backend/src/services/WbotServices/SendWhatsAppMedia.ts:49
↓ 3 callersFunctiongetRGB
(c)
frontend/src/helpers/contrastColor.js:1
↓ 3 callersFunctiongetsRGB
(c)
frontend/src/helpers/contrastColor.js:5
↓ 3 callersFunctionhandleClose
()
frontend/src/components/ContactModal/index.js:106
↓ 3 callersFunctionhandleClose
()
frontend/src/components/ModalUsers/index.js:103
↓ 3 callersFunctionisSuper
()
frontend/src/pages/SettingsCustom/index.js:148
↓ 3 callersFunctionloadHelps
()
frontend/src/components/HelpsManager/index.js:199
↓ 3 callersFunctionloadNotes
()
frontend/src/components/ContactNotes/index.js:108
↓ 3 callersFunctionloadNotes
()
frontend/src/components/ContactNotesDialog/index.js:120
↓ 3 callersFunctionrandomValue
(min, max)
backend/src/queues.ts:518
↓ 3 callersFunctionremove
(id)
frontend/src/hooks/usePlans/index.js:49
↓ 3 callersFunctionsave
(data)
frontend/src/hooks/usePlans/index.js:31
↓ 3 callersFunctionuseLocalStorage
(key, initialValue)
frontend/src/hooks/useLocalStorage/index.js:4
↓ 3 callersFunctionverifyMediaMessage
( msg: proto.IWebMessageInfo, ticket: Ticket, contact: Contact )
backend/src/services/WbotServices/wbotMessageListener.ts:816
↓ 3 callersFunctionverifyQueue
( wbot: Session, msg: proto.IWebMessageInfo, ticket: Ticket, contact: Contact, mediaSent?: Message |
backend/src/services/WbotServices/wbotMessageListener.ts:1012
↓ 2 callersFunctionAssociateWhatsappQueue
( whatsapp: Whatsapp, queueIds: number[] )
backend/src/services/WhatsappService/AssociateWhatsappQueue.ts:3
↓ 2 callersFunctionCheckContactOpenTickets
(contactId: number, whatsappId?: string)
backend/src/helpers/CheckContactOpenTickets.ts:5
↓ 2 callersFunctionCheckIsValidContact
( number: string, companyId: number )
backend/src/services/WbotServices/CheckIsValidContact.ts:5
↓ 2 callersFunctionCreateOrUpdateContactService
({ name, number: rawNumber, profilePicUrl, isGroup, email = "", companyId, extraInfo = [], wha
backend/src/services/ContactServices/CreateOrUpdateContactService.ts:21
↓ 2 callersFunctionFindOrCreateTicketService
( contact: Contact, whatsappId: number, unreadMessages: number, companyId: number, groupContact?: Co
backend/src/services/TicketServices/FindOrCreateTicketService.ts:16
↓ 2 callersFunctionGetDefaultWhatsAppByUser
( userId: number )
backend/src/helpers/GetDefaultWhatsAppByUser.ts:5
↓ 2 callersFunctionGetWhatsappWbot
(whatsapp: Whatsapp)
backend/src/helpers/GetWhatsappWbot.ts:4
↓ 2 callersFunctionListWhatsAppsService
({ session, companyId }: Request)
backend/src/services/WhatsappService/ListWhatsAppsService.ts:10
↓ 2 callersFunctionSendMessage
( whatsapp: Whatsapp, messageData: MessageData )
backend/src/helpers/SendMessage.ts:14
↓ 2 callersFunctionSendRefreshToken
(res: Response, token: string)
backend/src/helpers/SendRefreshToken.ts:3
↓ 2 callersFunctionSerializeUser
(user: User)
backend/src/helpers/SerializeUser.ts:17
↓ 2 callersFunctionShowPlanCompanyService
(id: string | number)
backend/src/services/CompanyService/ShowPlanCompanyService.ts:4
↓ 2 callersFunctionShowService
(queueOptionId: number | string)
backend/src/services/QueueOptionService/ShowService.ts:4
↓ 2 callersFunctionUpdateWhatsAppService
({ whatsappData, whatsappId, companyId }: Request)
backend/src/services/WhatsappService/UpdateWhatsAppService.ts:43
↓ 2 callersFunctionaddZero
frontend/src/components/MessageInputCustom_OLD/RecordingTimer.js:37
↓ 2 callersFunctionaddZero
frontend/src/components/MessageInput/RecordingTimer.js:37
↓ 2 callersFunctionaddZero
frontend/src/components/MessageInputCustom/RecordingTimer.js:37
↓ 2 callersFunctionbotButton
()
backend/src/services/WbotServices/wbotMessageListener.ts:1428
↓ 2 callersFunctionconvertTextToSpeechAndSaveToFile
( text: string, filename: string, subscriptionKey: string, serviceRegion: string, voice: string = "p
backend/src/services/WbotServices/wbotMessageListener.ts:537
↓ 2 callersFunctioncreateAccessToken
(user: User)
backend/src/helpers/CreateTokens.ts:5
↓ 2 callersFunctioncreateRefreshToken
(user: User)
backend/src/helpers/CreateTokens.ts:22
next →1–100 of 1,168, ranked by callers