X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FwhatsappQueue%2Findex.js;h=42d90d67c9b371c27298872c3862e7ecebb88060;hb=5bcfff2cfe490b4ab0d0668e644729ef139af2a3;hp=946c66e873589847ec5f1120b34f4c78ddd7ca5b;hpb=dfacf7f441a092a1e235cb444060bf10fa72e39a;p=motion2.git diff --git a/server/api/whatsappQueue/index.js b/server/api/whatsappQueue/index.js index 946c66e..42d90d6 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 _0x89c3=['post','create','/:id/teams','addTeams','addAgents','put','update','delete','removeTeams','removeAgents','exports','util','path','express','Router','../../components/auth/service','./whatsappQueue.controller','get','index','/describe','describe','/:id','isAuthenticated','show','/:id/members','getMembers','getTeams','/:id/users','getAgents'];(function(_0x505099,_0xb10ee1){var _0x577eba=function(_0x4b36b1){while(--_0x4b36b1){_0x505099['push'](_0x505099['shift']());}};_0x577eba(++_0xb10ee1);}(_0x89c3,0x184));var _0x389c=function(_0x375304,_0xd114e){_0x375304=_0x375304-0x0;var _0x30b31f=_0x89c3[_0x375304];return _0x30b31f;};'use strict';var multer=require('multer');var util=require(_0x389c('0x0'));var path=require(_0x389c('0x1'));var timeout=require('connect-timeout');var express=require(_0x389c('0x2'));var router=express[_0x389c('0x3')]();var auth=require(_0x389c('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x389c('0x5'));router[_0x389c('0x6')]('/',auth['isAuthenticated'](),controller[_0x389c('0x7')]);router[_0x389c('0x6')](_0x389c('0x8'),auth['isAuthenticated'](),controller[_0x389c('0x9')]);router[_0x389c('0x6')](_0x389c('0xa'),auth[_0x389c('0xb')](),controller[_0x389c('0xc')]);router[_0x389c('0x6')](_0x389c('0xd'),auth[_0x389c('0xb')](),controller[_0x389c('0xe')]);router['get']('/:id/teams',auth[_0x389c('0xb')](),controller[_0x389c('0xf')]);router['get'](_0x389c('0x10'),auth['isAuthenticated'](),controller[_0x389c('0x11')]);router[_0x389c('0x12')]('/',auth[_0x389c('0xb')](),controller[_0x389c('0x13')]);router['post'](_0x389c('0x14'),auth[_0x389c('0xb')](),controller[_0x389c('0x15')]);router['post']('/:id/users',auth[_0x389c('0xb')](),controller[_0x389c('0x16')]);router[_0x389c('0x17')](_0x389c('0xa'),auth[_0x389c('0xb')](),controller[_0x389c('0x18')]);router[_0x389c('0x19')](_0x389c('0xa'),auth[_0x389c('0xb')](),controller['destroy']);router[_0x389c('0x19')]('/:id/teams',auth[_0x389c('0xb')](),controller[_0x389c('0x1a')]);router[_0x389c('0x19')](_0x389c('0x10'),auth['isAuthenticated'](),controller[_0x389c('0x1b')]);module[_0x389c('0x1c')]=router; \ No newline at end of file +var _0x62a9=['show','/:id/members','getMembers','/:id/teams','/:id/users','getAgents','post','create','addTeams','addAgents','delete','destroy','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','./whatsappQueue.controller','isAuthenticated','index','get','describe','/:id'];(function(_0x1bacbe,_0x43201d){var _0x531859=function(_0x8bd111){while(--_0x8bd111){_0x1bacbe['push'](_0x1bacbe['shift']());}};_0x531859(++_0x43201d);}(_0x62a9,0x143));var _0x962a=function(_0x4bb2b9,_0x459c78){_0x4bb2b9=_0x4bb2b9-0x0;var _0x40e2a2=_0x62a9[_0x4bb2b9];return _0x40e2a2;};'use strict';var multer=require(_0x962a('0x0'));var util=require(_0x962a('0x1'));var path=require(_0x962a('0x2'));var timeout=require(_0x962a('0x3'));var express=require(_0x962a('0x4'));var router=express[_0x962a('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x962a('0x6'));var controller=require(_0x962a('0x7'));router['get']('/',auth[_0x962a('0x8')](),controller[_0x962a('0x9')]);router[_0x962a('0xa')]('/describe',auth[_0x962a('0x8')](),controller[_0x962a('0xb')]);router[_0x962a('0xa')](_0x962a('0xc'),auth[_0x962a('0x8')](),controller[_0x962a('0xd')]);router[_0x962a('0xa')](_0x962a('0xe'),auth['isAuthenticated'](),controller[_0x962a('0xf')]);router[_0x962a('0xa')](_0x962a('0x10'),auth['isAuthenticated'](),controller['getTeams']);router[_0x962a('0xa')](_0x962a('0x11'),auth[_0x962a('0x8')](),controller[_0x962a('0x12')]);router[_0x962a('0x13')]('/',auth[_0x962a('0x8')](),controller[_0x962a('0x14')]);router['post'](_0x962a('0x10'),auth['isAuthenticated'](),controller[_0x962a('0x15')]);router[_0x962a('0x13')](_0x962a('0x11'),auth[_0x962a('0x8')](),controller[_0x962a('0x16')]);router['put'](_0x962a('0xc'),auth[_0x962a('0x8')](),controller['update']);router[_0x962a('0x17')]('/:id',auth[_0x962a('0x8')](),controller[_0x962a('0x18')]);router['delete']('/:id/teams',auth[_0x962a('0x8')](),controller[_0x962a('0x19')]);router[_0x962a('0x17')](_0x962a('0x11'),auth['isAuthenticated'](),controller[_0x962a('0x1a')]);module[_0x962a('0x1b')]=router; \ No newline at end of file