Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / whatsappQueue / index.js
index 32690b2..bba6136 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x22ca=['put','update','destroy','delete','/:id/users','removeAgents','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','/:id/members','/:id/teams','getTeams','getAgents','post','addTeams','addAgents'];(function(_0x541a6b,_0x1e8a6b){var _0x3c132a=function(_0x4dfcf6){while(--_0x4dfcf6){_0x541a6b['push'](_0x541a6b['shift']());}};_0x3c132a(++_0x1e8a6b);}(_0x22ca,0xdf));var _0xa22c=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x22ca[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xa22c('0x0'));var util=require(_0xa22c('0x1'));var path=require('path');var timeout=require(_0xa22c('0x2'));var express=require(_0xa22c('0x3'));var router=express['Router']();var auth=require(_0xa22c('0x4'));var interaction=require(_0xa22c('0x5'));var config=require(_0xa22c('0x6'));var controller=require('./whatsappQueue.controller');router[_0xa22c('0x7')]('/',auth[_0xa22c('0x8')](),controller[_0xa22c('0x9')]);router['get']('/describe',auth[_0xa22c('0x8')](),controller[_0xa22c('0xa')]);router[_0xa22c('0x7')](_0xa22c('0xb'),auth[_0xa22c('0x8')](),controller[_0xa22c('0xc')]);router[_0xa22c('0x7')](_0xa22c('0xd'),auth['isAuthenticated'](),controller['getMembers']);router['get'](_0xa22c('0xe'),auth[_0xa22c('0x8')](),controller[_0xa22c('0xf')]);router[_0xa22c('0x7')]('/:id/users',auth['isAuthenticated'](),controller[_0xa22c('0x10')]);router['post']('/',auth[_0xa22c('0x8')](),controller['create']);router[_0xa22c('0x11')](_0xa22c('0xe'),auth['isAuthenticated'](),controller[_0xa22c('0x12')]);router[_0xa22c('0x11')]('/:id/users',auth[_0xa22c('0x8')](),controller[_0xa22c('0x13')]);router[_0xa22c('0x14')](_0xa22c('0xb'),auth['isAuthenticated'](),controller[_0xa22c('0x15')]);router['delete'](_0xa22c('0xb'),auth[_0xa22c('0x8')](),controller[_0xa22c('0x16')]);router[_0xa22c('0x17')](_0xa22c('0xe'),auth[_0xa22c('0x8')](),controller['removeTeams']);router['delete'](_0xa22c('0x18'),auth[_0xa22c('0x8')](),controller[_0xa22c('0x19')]);module[_0xa22c('0x1a')]=router;
\ No newline at end of file
+var _0x9dd1=['/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams','addAgents','put','/:id','delete','destroy','removeTeams','removeAgents','exports','multer','util','path','connect-timeout','../../config/environment','get','isAuthenticated','show','/:id/members','getMembers'];(function(_0x10cd2f,_0xc9d9bd){var _0x409e99=function(_0x4d8a86){while(--_0x4d8a86){_0x10cd2f['push'](_0x10cd2f['shift']());}};_0x409e99(++_0xc9d9bd);}(_0x9dd1,0x73));var _0x19dd=function(_0x34c027,_0x123688){_0x34c027=_0x34c027-0x0;var _0x47bff0=_0x9dd1[_0x34c027];return _0x47bff0;};'use strict';var multer=require(_0x19dd('0x0'));var util=require(_0x19dd('0x1'));var path=require(_0x19dd('0x2'));var timeout=require(_0x19dd('0x3'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x19dd('0x4'));var controller=require('./whatsappQueue.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x19dd('0x5')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x19dd('0x5')]('/:id',auth[_0x19dd('0x6')](),controller[_0x19dd('0x7')]);router[_0x19dd('0x5')](_0x19dd('0x8'),auth[_0x19dd('0x6')](),controller[_0x19dd('0x9')]);router[_0x19dd('0x5')](_0x19dd('0xa'),auth[_0x19dd('0x6')](),controller[_0x19dd('0xb')]);router[_0x19dd('0x5')](_0x19dd('0xc'),auth[_0x19dd('0x6')](),controller[_0x19dd('0xd')]);router[_0x19dd('0xe')]('/',auth[_0x19dd('0x6')](),controller[_0x19dd('0xf')]);router['post'](_0x19dd('0xa'),auth[_0x19dd('0x6')](),controller[_0x19dd('0x10')]);router[_0x19dd('0xe')]('/:id/users',auth['isAuthenticated'](),controller[_0x19dd('0x11')]);router[_0x19dd('0x12')](_0x19dd('0x13'),auth[_0x19dd('0x6')](),controller['update']);router[_0x19dd('0x14')](_0x19dd('0x13'),auth['isAuthenticated'](),controller[_0x19dd('0x15')]);router[_0x19dd('0x14')](_0x19dd('0xa'),auth[_0x19dd('0x6')](),controller[_0x19dd('0x16')]);router['delete'](_0x19dd('0xc'),auth['isAuthenticated'](),controller[_0x19dd('0x17')]);module[_0x19dd('0x18')]=router;
\ No newline at end of file