Built motion from commit 8271bb6f.|2.6.28
[motion2.git] / server / api / whatsappInteraction / index.js
index 0b63d94..e4c5460 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6c7b=['/:id/download','download','post','create','addMessage','/:id/tags','tracked','whatsappinteraction:addtags','whatsapp','whatsappinteraction:update','update','delete','whatsappinteraction:destroy','destroy','exports','multer','express','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappInteraction.controller','get','isAuthenticated','index','describe','/:id','show','/:id/messages'];(function(_0x248caa,_0x1bdac7){var _0x1c049a=function(_0x33b56a){while(--_0x33b56a){_0x248caa['push'](_0x248caa['shift']());}};_0x1c049a(++_0x1bdac7);}(_0x6c7b,0x10b));var _0xb6c7=function(_0x11c803,_0x236a36){_0x11c803=_0x11c803-0x0;var _0x4619b6=_0x6c7b[_0x11c803];return _0x4619b6;};'use strict';var multer=require(_0xb6c7('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb6c7('0x1'));var router=express['Router']();var fs_extra=require(_0xb6c7('0x2'));var auth=require(_0xb6c7('0x3'));var interaction=require(_0xb6c7('0x4'));var config=require('../../config/environment');var controller=require(_0xb6c7('0x5'));router[_0xb6c7('0x6')]('/',auth[_0xb6c7('0x7')](),controller[_0xb6c7('0x8')]);router[_0xb6c7('0x6')]('/describe',auth[_0xb6c7('0x7')](),controller[_0xb6c7('0x9')]);router[_0xb6c7('0x6')](_0xb6c7('0xa'),auth[_0xb6c7('0x7')](),controller[_0xb6c7('0xb')]);router[_0xb6c7('0x6')](_0xb6c7('0xc'),auth['isAuthenticated'](),controller['getMessages']);router[_0xb6c7('0x6')](_0xb6c7('0xd'),auth[_0xb6c7('0x7')](),controller[_0xb6c7('0xe')]);router[_0xb6c7('0xf')]('/',auth[_0xb6c7('0x7')](),controller[_0xb6c7('0x10')]);router['post'](_0xb6c7('0xc'),auth[_0xb6c7('0x7')](),controller[_0xb6c7('0x11')]);router[_0xb6c7('0xf')](_0xb6c7('0x12'),auth[_0xb6c7('0x7')](),interaction[_0xb6c7('0x13')]('whatsapp',_0xb6c7('0x14')),controller['addTags']);router['put']('/:id',auth[_0xb6c7('0x7')](),interaction['tracked'](_0xb6c7('0x15'),_0xb6c7('0x16')),controller[_0xb6c7('0x17')]);router[_0xb6c7('0x18')](_0xb6c7('0xa'),auth[_0xb6c7('0x7')](),interaction[_0xb6c7('0x13')](_0xb6c7('0x15'),_0xb6c7('0x19')),controller[_0xb6c7('0x1a')]);router[_0xb6c7('0x18')](_0xb6c7('0x12'),auth[_0xb6c7('0x7')](),controller['removeTags']);module[_0xb6c7('0x1b')]=router;
\ No newline at end of file
+var _0x7278=['/:id/tags','tracked','whatsapp','whatsappinteraction:addtags','addTags','put','/:id','whatsappinteraction:update','update','delete','destroy','removeTags','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappInteraction.controller','get','isAuthenticated','/describe','describe','/:id/messages','getMessages','/:id/download','download','create','post','addMessage'];(function(_0x4ae077,_0x39c0f0){var _0x8964e2=function(_0x2a0e70){while(--_0x2a0e70){_0x4ae077['push'](_0x4ae077['shift']());}};_0x8964e2(++_0x39c0f0);}(_0x7278,0x161));var _0x8727=function(_0x486c8f,_0x1cc73b){_0x486c8f=_0x486c8f-0x0;var _0x236d79=_0x7278[_0x486c8f];return _0x236d79;};'use strict';var multer=require(_0x8727('0x0'));var util=require(_0x8727('0x1'));var path=require(_0x8727('0x2'));var timeout=require(_0x8727('0x3'));var express=require(_0x8727('0x4'));var router=express['Router']();var fs_extra=require(_0x8727('0x5'));var auth=require(_0x8727('0x6'));var interaction=require(_0x8727('0x7'));var config=require(_0x8727('0x8'));var controller=require(_0x8727('0x9'));router[_0x8727('0xa')]('/',auth[_0x8727('0xb')](),controller['index']);router[_0x8727('0xa')](_0x8727('0xc'),auth[_0x8727('0xb')](),controller[_0x8727('0xd')]);router[_0x8727('0xa')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x8727('0xa')](_0x8727('0xe'),auth[_0x8727('0xb')](),controller[_0x8727('0xf')]);router[_0x8727('0xa')](_0x8727('0x10'),auth[_0x8727('0xb')](),controller[_0x8727('0x11')]);router['post']('/',auth[_0x8727('0xb')](),controller[_0x8727('0x12')]);router[_0x8727('0x13')]('/:id/messages',auth[_0x8727('0xb')](),controller[_0x8727('0x14')]);router['post'](_0x8727('0x15'),auth[_0x8727('0xb')](),interaction[_0x8727('0x16')](_0x8727('0x17'),_0x8727('0x18')),controller[_0x8727('0x19')]);router[_0x8727('0x1a')](_0x8727('0x1b'),auth[_0x8727('0xb')](),interaction[_0x8727('0x16')]('whatsapp',_0x8727('0x1c')),controller[_0x8727('0x1d')]);router[_0x8727('0x1e')](_0x8727('0x1b'),auth[_0x8727('0xb')](),interaction[_0x8727('0x16')]('whatsapp','whatsappinteraction:destroy'),controller[_0x8727('0x1f')]);router['delete'](_0x8727('0x15'),auth[_0x8727('0xb')](),controller[_0x8727('0x20')]);module[_0x8727('0x21')]=router;
\ No newline at end of file