Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / whatsappInteraction / index.js
index 795a92e..70909d2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa630=['/:id/messages','getMessages','/:id/download','download','post','create','tracked','whatsapp','whatsappinteraction:addtags','addTags','put','update','delete','whatsappinteraction:destroy','destroy','/:id/tags','multer','util','express','fs-extra','../../components/interaction/service','../../config/environment','./whatsappInteraction.controller','get','isAuthenticated','/describe','describe','/:id','show'];(function(_0xaedff8,_0x1e77bf){var _0xef9b78=function(_0xd3d2d1){while(--_0xd3d2d1){_0xaedff8['push'](_0xaedff8['shift']());}};_0xef9b78(++_0x1e77bf);}(_0xa630,0xbe));var _0x0a63=function(_0x377afc,_0x4d37ae){_0x377afc=_0x377afc-0x0;var _0x566664=_0xa630[_0x377afc];return _0x566664;};'use strict';var multer=require(_0x0a63('0x0'));var util=require(_0x0a63('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x0a63('0x2'));var router=express['Router']();var fs_extra=require(_0x0a63('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x0a63('0x4'));var config=require(_0x0a63('0x5'));var controller=require(_0x0a63('0x6'));router[_0x0a63('0x7')]('/',auth[_0x0a63('0x8')](),controller['index']);router[_0x0a63('0x7')](_0x0a63('0x9'),auth[_0x0a63('0x8')](),controller[_0x0a63('0xa')]);router[_0x0a63('0x7')](_0x0a63('0xb'),auth['isAuthenticated'](),controller[_0x0a63('0xc')]);router[_0x0a63('0x7')](_0x0a63('0xd'),auth[_0x0a63('0x8')](),controller[_0x0a63('0xe')]);router[_0x0a63('0x7')](_0x0a63('0xf'),auth[_0x0a63('0x8')](),controller[_0x0a63('0x10')]);router[_0x0a63('0x11')]('/',auth['isAuthenticated'](),controller[_0x0a63('0x12')]);router[_0x0a63('0x11')](_0x0a63('0xd'),auth[_0x0a63('0x8')](),controller['addMessage']);router[_0x0a63('0x11')]('/:id/tags',auth[_0x0a63('0x8')](),interaction[_0x0a63('0x13')](_0x0a63('0x14'),_0x0a63('0x15')),controller[_0x0a63('0x16')]);router[_0x0a63('0x17')](_0x0a63('0xb'),auth[_0x0a63('0x8')](),interaction['tracked'](_0x0a63('0x14'),'whatsappinteraction:update'),controller[_0x0a63('0x18')]);router[_0x0a63('0x19')](_0x0a63('0xb'),auth[_0x0a63('0x8')](),interaction[_0x0a63('0x13')](_0x0a63('0x14'),_0x0a63('0x1a')),controller[_0x0a63('0x1b')]);router[_0x0a63('0x19')](_0x0a63('0x1c'),auth[_0x0a63('0x8')](),controller['removeTags']);module['exports']=router;
\ No newline at end of file
+var _0xe015=['../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappInteraction.controller','isAuthenticated','index','describe','get','/:id','show','/:id/messages','getMessages','/:id/download','post','addMessage','/:id/tags','whatsapp','put','tracked','whatsappinteraction:update','delete','whatsappinteraction:destroy','destroy','removeTags','exports','multer','util','path','Router'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0xe015,0x13b));var _0x5e01=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0xe015[_0x21a9d9];return _0x46adce;};'use strict';var multer=require(_0x5e01('0x0'));var util=require(_0x5e01('0x1'));var path=require(_0x5e01('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x5e01('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x5e01('0x4'));var interaction=require(_0x5e01('0x5'));var config=require(_0x5e01('0x6'));var controller=require(_0x5e01('0x7'));router['get']('/',auth[_0x5e01('0x8')](),controller[_0x5e01('0x9')]);router['get']('/describe',auth[_0x5e01('0x8')](),controller[_0x5e01('0xa')]);router[_0x5e01('0xb')](_0x5e01('0xc'),auth[_0x5e01('0x8')](),controller[_0x5e01('0xd')]);router['get'](_0x5e01('0xe'),auth['isAuthenticated'](),controller[_0x5e01('0xf')]);router['get'](_0x5e01('0x10'),auth[_0x5e01('0x8')](),controller['download']);router[_0x5e01('0x11')]('/',auth[_0x5e01('0x8')](),controller['create']);router['post'](_0x5e01('0xe'),auth[_0x5e01('0x8')](),controller[_0x5e01('0x12')]);router[_0x5e01('0x11')](_0x5e01('0x13'),auth[_0x5e01('0x8')](),interaction['tracked'](_0x5e01('0x14'),'whatsappinteraction:addtags'),controller['addTags']);router[_0x5e01('0x15')](_0x5e01('0xc'),auth['isAuthenticated'](),interaction[_0x5e01('0x16')]('whatsapp',_0x5e01('0x17')),controller['update']);router[_0x5e01('0x18')]('/:id',auth[_0x5e01('0x8')](),interaction['tracked']('whatsapp',_0x5e01('0x19')),controller[_0x5e01('0x1a')]);router['delete'](_0x5e01('0x13'),auth[_0x5e01('0x8')](),controller[_0x5e01('0x1b')]);module[_0x5e01('0x1c')]=router;
\ No newline at end of file