Built motion from commit f0b1811d.|2.6.6
[motion2.git] / server / api / whatsappInteraction / index.js
index 7d22f5c..3d8a8a5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2675=['index','/describe','describe','/:id/messages','post','create','addMessage','/:id/tags','tracked','whatsapp','whatsappinteraction:addtags','/:id','whatsappinteraction:update','update','delete','whatsappinteraction:destroy','removeTags','multer','express','Router','../../components/auth/service','../../components/interaction/service','./whatsappInteraction.controller','get','isAuthenticated'];(function(_0x4ffc4e,_0x1a0eb3){var _0x25bd6d=function(_0x2533a3){while(--_0x2533a3){_0x4ffc4e['push'](_0x4ffc4e['shift']());}};_0x25bd6d(++_0x1a0eb3);}(_0x2675,0x75));var _0x5267=function(_0x17bd48,_0x21cff6){_0x17bd48=_0x17bd48-0x0;var _0x114e3b=_0x2675[_0x17bd48];return _0x114e3b;};'use strict';var multer=require(_0x5267('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x5267('0x1'));var router=express[_0x5267('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x5267('0x3'));var interaction=require(_0x5267('0x4'));var config=require('../../config/environment');var controller=require(_0x5267('0x5'));router[_0x5267('0x6')]('/',auth[_0x5267('0x7')](),controller[_0x5267('0x8')]);router[_0x5267('0x6')](_0x5267('0x9'),auth['isAuthenticated'](),controller[_0x5267('0xa')]);router[_0x5267('0x6')]('/:id',auth[_0x5267('0x7')](),controller['show']);router[_0x5267('0x6')](_0x5267('0xb'),auth[_0x5267('0x7')](),controller['getMessages']);router[_0x5267('0x6')]('/:id/download',auth[_0x5267('0x7')](),controller['download']);router[_0x5267('0xc')]('/',auth[_0x5267('0x7')](),controller[_0x5267('0xd')]);router[_0x5267('0xc')](_0x5267('0xb'),auth[_0x5267('0x7')](),controller[_0x5267('0xe')]);router[_0x5267('0xc')](_0x5267('0xf'),auth[_0x5267('0x7')](),interaction[_0x5267('0x10')](_0x5267('0x11'),_0x5267('0x12')),controller['addTags']);router['put'](_0x5267('0x13'),auth[_0x5267('0x7')](),interaction[_0x5267('0x10')](_0x5267('0x11'),_0x5267('0x14')),controller[_0x5267('0x15')]);router[_0x5267('0x16')](_0x5267('0x13'),auth[_0x5267('0x7')](),interaction[_0x5267('0x10')](_0x5267('0x11'),_0x5267('0x17')),controller['destroy']);router[_0x5267('0x16')](_0x5267('0xf'),auth['isAuthenticated'](),controller[_0x5267('0x18')]);module['exports']=router;
\ No newline at end of file
+var _0x885a=['describe','/:id','show','/:id/messages','isAuthenticated','getMessages','/:id/download','download','post','create','/:id/tags','tracked','whatsapp','addTags','put','whatsappinteraction:update','update','whatsappinteraction:destroy','delete','removeTags','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappInteraction.controller','get','index','/describe'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x885a,0x180));var _0xa885=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0x885a[_0x21a9d9];return _0x46adce;};'use strict';var multer=require('multer');var util=require(_0xa885('0x0'));var path=require(_0xa885('0x1'));var timeout=require(_0xa885('0x2'));var express=require(_0xa885('0x3'));var router=express['Router']();var fs_extra=require(_0xa885('0x4'));var auth=require(_0xa885('0x5'));var interaction=require(_0xa885('0x6'));var config=require(_0xa885('0x7'));var controller=require(_0xa885('0x8'));router[_0xa885('0x9')]('/',auth['isAuthenticated'](),controller[_0xa885('0xa')]);router[_0xa885('0x9')](_0xa885('0xb'),auth['isAuthenticated'](),controller[_0xa885('0xc')]);router[_0xa885('0x9')](_0xa885('0xd'),auth['isAuthenticated'](),controller[_0xa885('0xe')]);router[_0xa885('0x9')](_0xa885('0xf'),auth[_0xa885('0x10')](),controller[_0xa885('0x11')]);router[_0xa885('0x9')](_0xa885('0x12'),auth['isAuthenticated'](),controller[_0xa885('0x13')]);router[_0xa885('0x14')]('/',auth[_0xa885('0x10')](),controller[_0xa885('0x15')]);router[_0xa885('0x14')](_0xa885('0xf'),auth[_0xa885('0x10')](),controller['addMessage']);router[_0xa885('0x14')](_0xa885('0x16'),auth[_0xa885('0x10')](),interaction[_0xa885('0x17')](_0xa885('0x18'),'whatsappinteraction:addtags'),controller[_0xa885('0x19')]);router[_0xa885('0x1a')]('/:id',auth[_0xa885('0x10')](),interaction[_0xa885('0x17')]('whatsapp',_0xa885('0x1b')),controller[_0xa885('0x1c')]);router['delete'](_0xa885('0xd'),auth['isAuthenticated'](),interaction[_0xa885('0x17')](_0xa885('0x18'),_0xa885('0x1d')),controller['destroy']);router[_0xa885('0x1e')]('/:id/tags',auth[_0xa885('0x10')](),controller[_0xa885('0x1f')]);module[_0xa885('0x20')]=router;
\ No newline at end of file