Built motion from commit 37e1ed56.|2.6.29
[motion2.git] / server / api / whatsappInteraction / index.js
index 80e445f..c44c599 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(_0x4f3492,_0x15770f){var _0x25852b=function(_0x1360e0){while(--_0x1360e0){_0x4f3492['push'](_0x4f3492['shift']());}};_0x25852b(++_0x15770f);}(_0xa630,0xbe));var _0x0a63=function(_0x552700,_0x14cab2){_0x552700=_0x552700-0x0;var _0x2ca280=_0xa630[_0x552700];return _0x2ca280;};'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 _0xc949=['post','create','addMessage','/:id/tags','whatsapp','addTags','put','whatsappinteraction:update','delete','tracked','whatsappinteraction:destroy','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./whatsappInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/messages','/:id/download','download'];(function(_0x2faddb,_0xc18b78){var _0x273c05=function(_0x1a3785){while(--_0x1a3785){_0x2faddb['push'](_0x2faddb['shift']());}};_0x273c05(++_0xc18b78);}(_0xc949,0x181));var _0x9c94=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xc949[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require(_0x9c94('0x0'));var util=require('util');var path=require(_0x9c94('0x1'));var timeout=require(_0x9c94('0x2'));var express=require(_0x9c94('0x3'));var router=express[_0x9c94('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x9c94('0x5'));var interaction=require(_0x9c94('0x6'));var config=require('../../config/environment');var controller=require(_0x9c94('0x7'));router[_0x9c94('0x8')]('/',auth[_0x9c94('0x9')](),controller[_0x9c94('0xa')]);router['get'](_0x9c94('0xb'),auth[_0x9c94('0x9')](),controller[_0x9c94('0xc')]);router[_0x9c94('0x8')](_0x9c94('0xd'),auth[_0x9c94('0x9')](),controller[_0x9c94('0xe')]);router[_0x9c94('0x8')](_0x9c94('0xf'),auth[_0x9c94('0x9')](),controller['getMessages']);router[_0x9c94('0x8')](_0x9c94('0x10'),auth[_0x9c94('0x9')](),controller[_0x9c94('0x11')]);router[_0x9c94('0x12')]('/',auth[_0x9c94('0x9')](),controller[_0x9c94('0x13')]);router[_0x9c94('0x12')](_0x9c94('0xf'),auth[_0x9c94('0x9')](),controller[_0x9c94('0x14')]);router[_0x9c94('0x12')](_0x9c94('0x15'),auth[_0x9c94('0x9')](),interaction['tracked'](_0x9c94('0x16'),'whatsappinteraction:addtags'),controller[_0x9c94('0x17')]);router[_0x9c94('0x18')]('/:id',auth[_0x9c94('0x9')](),interaction['tracked']('whatsapp',_0x9c94('0x19')),controller['update']);router[_0x9c94('0x1a')](_0x9c94('0xd'),auth['isAuthenticated'](),interaction[_0x9c94('0x1b')](_0x9c94('0x16'),_0x9c94('0x1c')),controller[_0x9c94('0x1d')]);router[_0x9c94('0x1a')](_0x9c94('0x15'),auth[_0x9c94('0x9')](),controller['removeTags']);module[_0x9c94('0x1e')]=router;
\ No newline at end of file