X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappQueue%2Findex.js;h=9bf1f1de0ecf2b83a7820614ba49ec7980febb97;hb=7b947914a77b8347fb1d6de0275fa1bbfcdf6ff9;hp=9a411307e585fea73bc1909028d7e64d3dfe5cd9;hpb=915398debaad81c75775b080cc3e491fbaa835e5;p=motion2.git diff --git a/server/api/whatsappQueue/index.js b/server/api/whatsappQueue/index.js index 9a41130..9bf1f1d 100644 --- a/server/api/whatsappQueue/index.js +++ b/server/api/whatsappQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xab25=['getMembers','/:id/teams','getTeams','getAgents','post','addTeams','/:id/users','put','update','delete','destroy','removeTeams','removeAgents','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/members'];(function(_0x36b33b,_0x4bce83){var _0x3cc4a6=function(_0x127f73){while(--_0x127f73){_0x36b33b['push'](_0x36b33b['shift']());}};_0x3cc4a6(++_0x4bce83);}(_0xab25,0x14c));var _0x5ab2=function(_0x398494,_0x46d408){_0x398494=_0x398494-0x0;var _0xad3f07=_0xab25[_0x398494];return _0xad3f07;};'use strict';var multer=require(_0x5ab2('0x0'));var util=require(_0x5ab2('0x1'));var path=require(_0x5ab2('0x2'));var timeout=require(_0x5ab2('0x3'));var express=require(_0x5ab2('0x4'));var router=express['Router']();var fs_extra=require(_0x5ab2('0x5'));var auth=require(_0x5ab2('0x6'));var interaction=require(_0x5ab2('0x7'));var config=require('../../config/environment');var controller=require('./whatsappQueue.controller');router[_0x5ab2('0x8')]('/',auth[_0x5ab2('0x9')](),controller[_0x5ab2('0xa')]);router[_0x5ab2('0x8')](_0x5ab2('0xb'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0xc')]);router['get'](_0x5ab2('0xd'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0xe')]);router['get'](_0x5ab2('0xf'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x10')]);router['get'](_0x5ab2('0x11'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x12')]);router[_0x5ab2('0x8')]('/:id/users',auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x13')]);router[_0x5ab2('0x14')]('/',auth['isAuthenticated'](),controller['create']);router[_0x5ab2('0x14')]('/:id/teams',auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x15')]);router['post'](_0x5ab2('0x16'),auth[_0x5ab2('0x9')](),controller['addAgents']);router[_0x5ab2('0x17')](_0x5ab2('0xd'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x18')]);router[_0x5ab2('0x19')]('/:id',auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x1a')]);router[_0x5ab2('0x19')](_0x5ab2('0x11'),auth[_0x5ab2('0x9')](),controller[_0x5ab2('0x1b')]);router[_0x5ab2('0x19')](_0x5ab2('0x16'),auth['isAuthenticated'](),controller[_0x5ab2('0x1c')]);module['exports']=router; \ No newline at end of file +var _0xb13e=['/:id/teams','removeAgents','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','get','index','isAuthenticated','describe','/:id','show','/:id/members','getMembers','getTeams','getAgents','post','/:id/users','addAgents','put','delete','destroy'];(function(_0x15ca1a,_0x30fc82){var _0x507626=function(_0x14c9bc){while(--_0x14c9bc){_0x15ca1a['push'](_0x15ca1a['shift']());}};_0x507626(++_0x30fc82);}(_0xb13e,0x1f0));var _0xeb13=function(_0x2890ec,_0x198cc8){_0x2890ec=_0x2890ec-0x0;var _0x1fb281=_0xb13e[_0x2890ec];return _0x1fb281;};'use strict';var multer=require(_0xeb13('0x0'));var util=require(_0xeb13('0x1'));var path=require(_0xeb13('0x2'));var timeout=require(_0xeb13('0x3'));var express=require(_0xeb13('0x4'));var router=express[_0xeb13('0x5')]();var fs_extra=require(_0xeb13('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xeb13('0x7'));var config=require(_0xeb13('0x8'));var controller=require(_0xeb13('0x9'));router[_0xeb13('0xa')]('/',auth['isAuthenticated'](),controller[_0xeb13('0xb')]);router[_0xeb13('0xa')]('/describe',auth[_0xeb13('0xc')](),controller[_0xeb13('0xd')]);router['get'](_0xeb13('0xe'),auth[_0xeb13('0xc')](),controller[_0xeb13('0xf')]);router['get'](_0xeb13('0x10'),auth[_0xeb13('0xc')](),controller[_0xeb13('0x11')]);router[_0xeb13('0xa')]('/:id/teams',auth['isAuthenticated'](),controller[_0xeb13('0x12')]);router[_0xeb13('0xa')]('/:id/users',auth[_0xeb13('0xc')](),controller[_0xeb13('0x13')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xeb13('0x14')]('/:id/teams',auth[_0xeb13('0xc')](),controller['addTeams']);router['post'](_0xeb13('0x15'),auth[_0xeb13('0xc')](),controller[_0xeb13('0x16')]);router[_0xeb13('0x17')]('/:id',auth[_0xeb13('0xc')](),controller['update']);router[_0xeb13('0x18')](_0xeb13('0xe'),auth[_0xeb13('0xc')](),controller[_0xeb13('0x19')]);router[_0xeb13('0x18')](_0xeb13('0x1a'),auth[_0xeb13('0xc')](),controller['removeTeams']);router[_0xeb13('0x18')](_0xeb13('0x15'),auth[_0xeb13('0xc')](),controller[_0xeb13('0x1b')]);module[_0xeb13('0x1c')]=router; \ No newline at end of file