Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / whatsappInteraction / index.js
index 3a4bb3c..7858551 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4fb4=['express','Router','fs-extra','../../components/interaction/service','../../config/environment','./whatsappInteraction.controller','get','isAuthenticated','index','/describe','describe','show','/:id/messages','getMessages','/:id/download','download','create','post','/:id/tags','tracked','whatsapp','addTags','put','/:id','whatsappinteraction:update','delete','whatsappinteraction:destroy','destroy','util','path','connect-timeout'];(function(_0x596f6e,_0x3f8857){var _0x1e0803=function(_0x31f91f){while(--_0x31f91f){_0x596f6e['push'](_0x596f6e['shift']());}};_0x1e0803(++_0x3f8857);}(_0x4fb4,0x190));var _0x44fb=function(_0x29c429,_0x210110){_0x29c429=_0x29c429-0x0;var _0x233be3=_0x4fb4[_0x29c429];return _0x233be3;};'use strict';var multer=require('multer');var util=require(_0x44fb('0x0'));var path=require(_0x44fb('0x1'));var timeout=require(_0x44fb('0x2'));var express=require(_0x44fb('0x3'));var router=express[_0x44fb('0x4')]();var fs_extra=require(_0x44fb('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x44fb('0x6'));var config=require(_0x44fb('0x7'));var controller=require(_0x44fb('0x8'));router[_0x44fb('0x9')]('/',auth[_0x44fb('0xa')](),controller[_0x44fb('0xb')]);router[_0x44fb('0x9')](_0x44fb('0xc'),auth['isAuthenticated'](),controller[_0x44fb('0xd')]);router[_0x44fb('0x9')]('/:id',auth[_0x44fb('0xa')](),controller[_0x44fb('0xe')]);router[_0x44fb('0x9')](_0x44fb('0xf'),auth[_0x44fb('0xa')](),controller[_0x44fb('0x10')]);router[_0x44fb('0x9')](_0x44fb('0x11'),auth[_0x44fb('0xa')](),controller[_0x44fb('0x12')]);router['post']('/',auth[_0x44fb('0xa')](),controller[_0x44fb('0x13')]);router[_0x44fb('0x14')](_0x44fb('0xf'),auth[_0x44fb('0xa')](),controller['addMessage']);router[_0x44fb('0x14')](_0x44fb('0x15'),auth[_0x44fb('0xa')](),interaction[_0x44fb('0x16')](_0x44fb('0x17'),'whatsappinteraction:addtags'),controller[_0x44fb('0x18')]);router[_0x44fb('0x19')](_0x44fb('0x1a'),auth[_0x44fb('0xa')](),interaction[_0x44fb('0x16')](_0x44fb('0x17'),_0x44fb('0x1b')),controller['update']);router[_0x44fb('0x1c')](_0x44fb('0x1a'),auth[_0x44fb('0xa')](),interaction[_0x44fb('0x16')](_0x44fb('0x17'),_0x44fb('0x1d')),controller[_0x44fb('0x1e')]);router[_0x44fb('0x1c')](_0x44fb('0x15'),auth[_0x44fb('0xa')](),controller['removeTags']);module['exports']=router;
\ No newline at end of file
+var _0x5d17=['whatsapp','whatsappinteraction:update','update','delete','whatsappinteraction:destroy','exports','multer','util','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./whatsappInteraction.controller','get','index','/describe','isAuthenticated','describe','/:id','getMessages','download','post','create','addMessage','/:id/tags','whatsappinteraction:addtags','addTags','put','tracked'];(function(_0x4eb863,_0x4dfda9){var _0x456061=function(_0x41b406){while(--_0x41b406){_0x4eb863['push'](_0x4eb863['shift']());}};_0x456061(++_0x4dfda9);}(_0x5d17,0x114));var _0x75d1=function(_0x4d2993,_0x1c9473){_0x4d2993=_0x4d2993-0x0;var _0x427374=_0x5d17[_0x4d2993];return _0x427374;};'use strict';var multer=require(_0x75d1('0x0'));var util=require(_0x75d1('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x75d1('0x2'));var router=express[_0x75d1('0x3')]();var fs_extra=require(_0x75d1('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x75d1('0x5'));var config=require(_0x75d1('0x6'));var controller=require(_0x75d1('0x7'));router[_0x75d1('0x8')]('/',auth['isAuthenticated'](),controller[_0x75d1('0x9')]);router[_0x75d1('0x8')](_0x75d1('0xa'),auth[_0x75d1('0xb')](),controller[_0x75d1('0xc')]);router[_0x75d1('0x8')](_0x75d1('0xd'),auth['isAuthenticated'](),controller['show']);router[_0x75d1('0x8')]('/:id/messages',auth['isAuthenticated'](),controller[_0x75d1('0xe')]);router[_0x75d1('0x8')]('/:id/download',auth[_0x75d1('0xb')](),controller[_0x75d1('0xf')]);router[_0x75d1('0x10')]('/',auth[_0x75d1('0xb')](),controller[_0x75d1('0x11')]);router[_0x75d1('0x10')]('/:id/messages',auth[_0x75d1('0xb')](),controller[_0x75d1('0x12')]);router[_0x75d1('0x10')](_0x75d1('0x13'),auth['isAuthenticated'](),interaction['tracked']('whatsapp',_0x75d1('0x14')),controller[_0x75d1('0x15')]);router[_0x75d1('0x16')]('/:id',auth[_0x75d1('0xb')](),interaction[_0x75d1('0x17')](_0x75d1('0x18'),_0x75d1('0x19')),controller[_0x75d1('0x1a')]);router[_0x75d1('0x1b')](_0x75d1('0xd'),auth[_0x75d1('0xb')](),interaction[_0x75d1('0x17')](_0x75d1('0x18'),_0x75d1('0x1c')),controller['destroy']);router['delete'](_0x75d1('0x13'),auth[_0x75d1('0xb')](),controller['removeTags']);module[_0x75d1('0x1d')]=router;
\ No newline at end of file