Built motion from commit 42801a18.|2.6.28
[motion2.git] / server / api / whatsappInteraction / index.js
index e92950e..80e445f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2b83=['getMessages','/:id/download','post','addMessage','/:id/tags','tracked','whatsapp','whatsappinteraction:addtags','whatsappinteraction:update','removeTags','exports','util','path','express','Router','fs-extra','../../config/environment','./whatsappInteraction.controller','isAuthenticated','get','/describe','describe','/:id','/:id/messages'];(function(_0x86e74a,_0x27b1ea){var _0x46471f=function(_0x23d3a5){while(--_0x23d3a5){_0x86e74a['push'](_0x86e74a['shift']());}};_0x46471f(++_0x27b1ea);}(_0x2b83,0x1d3));var _0x32b8=function(_0x25888a,_0x4ee702){_0x25888a=_0x25888a-0x0;var _0x49be59=_0x2b83[_0x25888a];return _0x49be59;};'use strict';var multer=require('multer');var util=require(_0x32b8('0x0'));var path=require(_0x32b8('0x1'));var timeout=require('connect-timeout');var express=require(_0x32b8('0x2'));var router=express[_0x32b8('0x3')]();var fs_extra=require(_0x32b8('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x32b8('0x5'));var controller=require(_0x32b8('0x6'));router['get']('/',auth[_0x32b8('0x7')](),controller['index']);router[_0x32b8('0x8')](_0x32b8('0x9'),auth[_0x32b8('0x7')](),controller[_0x32b8('0xa')]);router['get'](_0x32b8('0xb'),auth[_0x32b8('0x7')](),controller['show']);router['get'](_0x32b8('0xc'),auth['isAuthenticated'](),controller[_0x32b8('0xd')]);router[_0x32b8('0x8')](_0x32b8('0xe'),auth[_0x32b8('0x7')](),controller['download']);router[_0x32b8('0xf')]('/',auth[_0x32b8('0x7')](),controller['create']);router['post'](_0x32b8('0xc'),auth['isAuthenticated'](),controller[_0x32b8('0x10')]);router['post'](_0x32b8('0x11'),auth[_0x32b8('0x7')](),interaction[_0x32b8('0x12')](_0x32b8('0x13'),_0x32b8('0x14')),controller['addTags']);router['put'](_0x32b8('0xb'),auth['isAuthenticated'](),interaction['tracked']('whatsapp',_0x32b8('0x15')),controller['update']);router['delete'](_0x32b8('0xb'),auth[_0x32b8('0x7')](),interaction[_0x32b8('0x12')](_0x32b8('0x13'),'whatsappinteraction:destroy'),controller['destroy']);router['delete'](_0x32b8('0x11'),auth[_0x32b8('0x7')](),controller[_0x32b8('0x16')]);module[_0x32b8('0x17')]=router;
\ No newline at end of file
+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