Class WhatsAppBotEndpoint
java.lang.Object
com.maplander.backend.controller.endpoint.bot.WhatsAppBotEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUserWithWhatsApp
(String apiKey, User user) getLinkLead
(Long id) getPlacesByWordWhats
(OfferingTypeEnum offering, PropertyTypeEnum type, String word) getPlacesOfficeByWord
(String word) getPropertyBot
(String apiKey, Long propertyId) getResponseMessage
(String apiKey, Integer limit, String cursor) getUserByUserId
(String apiKey, Long userId) getUserByWaId
(String apiKey, String waId) getUserWhatsAppRG
(String apiKey, String waId) getUserWhatsAppRGByEmail
(String apiKey, String email) getWhatsAppWithOutUser
(String apiKey, Long id) getWhatsAppWithOutUserByWaId
(String apiKey, String waId) newMessage
(Long userId) readMessage
(Long id) registerWaBot
(String apiKey, String hash) saveLogs
(LogWhatsApp logs) saveMessage
(String apiKey, MessagesWhats messageWhatsApp) saveSendWhatsApp
(SendWhatsApp sendWhatsApp) saveUserWhatsApp
(String apiKey, UserWhatsApp userWhatsApp) saveWhatsAppWithOutUser
(String apiKey, WhatsAppWithOutUser user) sendRegisterWaBot
(String apiKey, String waId, String email)
-
Constructor Details
-
WhatsAppBotEndpoint
public WhatsAppBotEndpoint()
-
-
Method Details
-
sendRegisterWaBot
-
registerWaBot
-
saveMessage
-
saveUserWhatsApp
-
getResponseMessage
public EntityCollectionResponse<UserWhatsApp> getResponseMessage(String apiKey, Integer limit, String cursor) -
getUserByWaId
-
getUserByUserId
-
queryPropertiesWithFilters
public EntityCollectionResponse<PropertyLiteBot> queryPropertiesWithFilters(String apiKey, Integer limit, String cursor, String waId, Filter filter) -
saveWhatsAppWithOutUser
public EntityResponse<WhatsAppWithOutUser> saveWhatsAppWithOutUser(String apiKey, WhatsAppWithOutUser user) -
getWhatsAppWithOutUserByWaId
-
getWhatsAppWithOutUser
-
createUserWithWhatsApp
-
getUserWhatsAppRG
-
getUserWhatsAppRGByEmail
-
getPropertyBot
-
getPlacesOfficeByWord
-
getPlacesByWordWhats
public EntityResponse<SQLResultWord> getPlacesByWordWhats(OfferingTypeEnum offering, PropertyTypeEnum type, String word) -
newMessage
-
readMessage
-
getClientWhatsBot
-
saveSendWhatsApp
-
getLinkLead
-
saveLogs
-