Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / whatsappQueue / index.js
index 7c04124..eabed1f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb9f1=['isAuthenticated','index','/describe','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','addTeams','addAgents','put','delete','removeAgents','path','connect-timeout','express','Router','../../config/environment','./whatsappQueue.controller','get'];(function(_0x58d4d1,_0x9d32be){var _0x469aee=function(_0x5cd41e){while(--_0x5cd41e){_0x58d4d1['push'](_0x58d4d1['shift']());}};_0x469aee(++_0x9d32be);}(_0xb9f1,0xda));var _0x1b9f=function(_0x399fb4,_0x3b9673){_0x399fb4=_0x399fb4-0x0;var _0x599673=_0xb9f1[_0x399fb4];return _0x599673;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1b9f('0x0'));var timeout=require(_0x1b9f('0x1'));var express=require(_0x1b9f('0x2'));var router=express[_0x1b9f('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1b9f('0x4'));var controller=require(_0x1b9f('0x5'));router[_0x1b9f('0x6')]('/',auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x8')]);router[_0x1b9f('0x6')](_0x1b9f('0x9'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0xa')]);router['get'](_0x1b9f('0xb'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0xc')]);router[_0x1b9f('0x6')](_0x1b9f('0xd'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0xe')]);router[_0x1b9f('0x6')](_0x1b9f('0xf'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x10')]);router[_0x1b9f('0x6')](_0x1b9f('0x11'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x12')]);router[_0x1b9f('0x13')]('/',auth[_0x1b9f('0x7')](),controller['create']);router[_0x1b9f('0x13')]('/:id/teams',auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x14')]);router[_0x1b9f('0x13')](_0x1b9f('0x11'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x15')]);router[_0x1b9f('0x16')]('/:id',auth[_0x1b9f('0x7')](),controller['update']);router[_0x1b9f('0x17')](_0x1b9f('0xb'),auth[_0x1b9f('0x7')](),controller['destroy']);router['delete'](_0x1b9f('0xf'),auth[_0x1b9f('0x7')](),controller['removeTeams']);router[_0x1b9f('0x17')](_0x1b9f('0x11'),auth[_0x1b9f('0x7')](),controller[_0x1b9f('0x18')]);module['exports']=router;
\ No newline at end of file
+var _0xb8bd=['update','destroy','delete','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','express','./whatsappQueue.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/members','getMembers','/:id/teams','create','post','addTeams','/:id/users','addAgents'];(function(_0x41818d,_0xe57188){var _0x3e0556=function(_0x1b5288){while(--_0x1b5288){_0x41818d['push'](_0x41818d['shift']());}};_0x3e0556(++_0xe57188);}(_0xb8bd,0x19b));var _0xdb8b=function(_0x1da527,_0x2dc953){_0x1da527=_0x1da527-0x0;var _0x40fc7c=_0xb8bd[_0x1da527];return _0x40fc7c;};'use strict';var multer=require(_0xdb8b('0x0'));var util=require(_0xdb8b('0x1'));var path=require(_0xdb8b('0x2'));var timeout=require(_0xdb8b('0x3'));var express=require(_0xdb8b('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xdb8b('0x5'));router[_0xdb8b('0x6')]('/',auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x8')]);router[_0xdb8b('0x6')](_0xdb8b('0x9'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0xa')]);router[_0xdb8b('0x6')](_0xdb8b('0xb'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0xc')]);router[_0xdb8b('0x6')](_0xdb8b('0xd'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0xe')]);router[_0xdb8b('0x6')](_0xdb8b('0xf'),auth[_0xdb8b('0x7')](),controller['getTeams']);router[_0xdb8b('0x6')]('/:id/users',auth['isAuthenticated'](),controller['getAgents']);router['post']('/',auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x10')]);router[_0xdb8b('0x11')](_0xdb8b('0xf'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x12')]);router[_0xdb8b('0x11')](_0xdb8b('0x13'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x14')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xdb8b('0x15')]);router['delete'](_0xdb8b('0xb'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x16')]);router[_0xdb8b('0x17')](_0xdb8b('0xf'),auth[_0xdb8b('0x7')](),controller[_0xdb8b('0x18')]);router[_0xdb8b('0x17')]('/:id/users',auth['isAuthenticated'](),controller[_0xdb8b('0x19')]);module[_0xdb8b('0x1a')]=router;
\ No newline at end of file