Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / api / whatsappQueue / index.js
index 0d0d6ca..de2485b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa90e=['isAuthenticated','describe','/:id','show','/:id/members','getMembers','/:id/users','post','create','/:id/teams','addTeams','put','update','delete','destroy','removeTeams','removeAgents','exports','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./whatsappQueue.controller','get','index'];(function(_0x2cabb2,_0x12f0e0){var _0x159b0f=function(_0x533f26){while(--_0x533f26){_0x2cabb2['push'](_0x2cabb2['shift']());}};_0x159b0f(++_0x12f0e0);}(_0xa90e,0x1b2));var _0xea90=function(_0x5426a7,_0x46bd66){_0x5426a7=_0x5426a7-0x0;var _0x4f4b80=_0xa90e[_0x5426a7];return _0x4f4b80;};'use strict';var multer=require('multer');var util=require(_0xea90('0x0'));var path=require('path');var timeout=require(_0xea90('0x1'));var express=require('express');var router=express[_0xea90('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xea90('0x3'));var interaction=require(_0xea90('0x4'));var config=require('../../config/environment');var controller=require(_0xea90('0x5'));router[_0xea90('0x6')]('/',auth['isAuthenticated'](),controller[_0xea90('0x7')]);router['get']('/describe',auth[_0xea90('0x8')](),controller[_0xea90('0x9')]);router[_0xea90('0x6')](_0xea90('0xa'),auth['isAuthenticated'](),controller[_0xea90('0xb')]);router[_0xea90('0x6')](_0xea90('0xc'),auth[_0xea90('0x8')](),controller[_0xea90('0xd')]);router[_0xea90('0x6')]('/:id/teams',auth[_0xea90('0x8')](),controller['getTeams']);router[_0xea90('0x6')](_0xea90('0xe'),auth[_0xea90('0x8')](),controller['getAgents']);router[_0xea90('0xf')]('/',auth['isAuthenticated'](),controller[_0xea90('0x10')]);router[_0xea90('0xf')](_0xea90('0x11'),auth[_0xea90('0x8')](),controller[_0xea90('0x12')]);router[_0xea90('0xf')](_0xea90('0xe'),auth[_0xea90('0x8')](),controller['addAgents']);router[_0xea90('0x13')](_0xea90('0xa'),auth[_0xea90('0x8')](),controller[_0xea90('0x14')]);router[_0xea90('0x15')](_0xea90('0xa'),auth[_0xea90('0x8')](),controller[_0xea90('0x16')]);router[_0xea90('0x15')](_0xea90('0x11'),auth['isAuthenticated'](),controller[_0xea90('0x17')]);router[_0xea90('0x15')](_0xea90('0xe'),auth[_0xea90('0x8')](),controller[_0xea90('0x18')]);module[_0xea90('0x19')]=router;
\ No newline at end of file
+var _0x04a2=['post','addAgents','put','update','delete','destroy','removeTeams','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents'];(function(_0x58ae51,_0x470d39){var _0xfaede0=function(_0x20178d){while(--_0x20178d){_0x58ae51['push'](_0x58ae51['shift']());}};_0xfaede0(++_0x470d39);}(_0x04a2,0x147));var _0x204a=function(_0x3f033a,_0x4bfbb2){_0x3f033a=_0x3f033a-0x0;var _0x3bfa6d=_0x04a2[_0x3f033a];return _0x3bfa6d;};'use strict';var multer=require(_0x204a('0x0'));var util=require(_0x204a('0x1'));var path=require(_0x204a('0x2'));var timeout=require(_0x204a('0x3'));var express=require(_0x204a('0x4'));var router=express[_0x204a('0x5')]();var fs_extra=require(_0x204a('0x6'));var auth=require(_0x204a('0x7'));var interaction=require(_0x204a('0x8'));var config=require(_0x204a('0x9'));var controller=require('./whatsappQueue.controller');router[_0x204a('0xa')]('/',auth[_0x204a('0xb')](),controller[_0x204a('0xc')]);router[_0x204a('0xa')](_0x204a('0xd'),auth[_0x204a('0xb')](),controller['describe']);router[_0x204a('0xa')](_0x204a('0xe'),auth['isAuthenticated'](),controller['show']);router[_0x204a('0xa')](_0x204a('0xf'),auth[_0x204a('0xb')](),controller[_0x204a('0x10')]);router[_0x204a('0xa')](_0x204a('0x11'),auth[_0x204a('0xb')](),controller[_0x204a('0x12')]);router['get'](_0x204a('0x13'),auth['isAuthenticated'](),controller[_0x204a('0x14')]);router[_0x204a('0x15')]('/',auth[_0x204a('0xb')](),controller['create']);router['post'](_0x204a('0x11'),auth[_0x204a('0xb')](),controller['addTeams']);router[_0x204a('0x15')](_0x204a('0x13'),auth[_0x204a('0xb')](),controller[_0x204a('0x16')]);router[_0x204a('0x17')]('/:id',auth['isAuthenticated'](),controller[_0x204a('0x18')]);router[_0x204a('0x19')](_0x204a('0xe'),auth[_0x204a('0xb')](),controller[_0x204a('0x1a')]);router['delete'](_0x204a('0x11'),auth[_0x204a('0xb')](),controller[_0x204a('0x1b')]);router[_0x204a('0x19')](_0x204a('0x13'),auth[_0x204a('0xb')](),controller['removeAgents']);module[_0x204a('0x1c')]=router;
\ No newline at end of file