Built motion from commit b5413ace.|2.6.9
[motion2.git] / server / api / smsQueue / index.js
index 9f28d37..c2f2abf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3941=['/:id/users','post','create','put','delete','destroy','removeTeams','removeAgents','exports','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./smsQueue.controller','get','isAuthenticated','index','describe','/:id','show','getMembers','/:id/teams','getTeams'];(function(_0x2895e9,_0x346be0){var _0x894d0f=function(_0x515b92){while(--_0x515b92){_0x2895e9['push'](_0x2895e9['shift']());}};_0x894d0f(++_0x346be0);}(_0x3941,0x71));var _0x1394=function(_0x245fcf,_0x419ff9){_0x245fcf=_0x245fcf-0x0;var _0x40a361=_0x3941[_0x245fcf];return _0x40a361;};'use strict';var multer=require('multer');var util=require(_0x1394('0x0'));var path=require('path');var timeout=require(_0x1394('0x1'));var express=require(_0x1394('0x2'));var router=express[_0x1394('0x3')]();var fs_extra=require(_0x1394('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x1394('0x5'));var config=require(_0x1394('0x6'));var controller=require(_0x1394('0x7'));router[_0x1394('0x8')]('/',auth[_0x1394('0x9')](),controller[_0x1394('0xa')]);router[_0x1394('0x8')]('/describe',auth[_0x1394('0x9')](),controller[_0x1394('0xb')]);router['get'](_0x1394('0xc'),auth[_0x1394('0x9')](),controller[_0x1394('0xd')]);router['get']('/:id/members',auth['isAuthenticated'](),controller[_0x1394('0xe')]);router[_0x1394('0x8')](_0x1394('0xf'),auth[_0x1394('0x9')](),controller[_0x1394('0x10')]);router['get'](_0x1394('0x11'),auth[_0x1394('0x9')](),controller['getAgents']);router[_0x1394('0x12')]('/',auth[_0x1394('0x9')](),controller[_0x1394('0x13')]);router[_0x1394('0x12')]('/:id/teams',auth[_0x1394('0x9')](),controller['addTeams']);router['post'](_0x1394('0x11'),auth[_0x1394('0x9')](),controller['addAgents']);router[_0x1394('0x14')]('/:id',auth[_0x1394('0x9')](),controller['update']);router[_0x1394('0x15')](_0x1394('0xc'),auth[_0x1394('0x9')](),controller[_0x1394('0x16')]);router[_0x1394('0x15')]('/:id/teams',auth[_0x1394('0x9')](),controller[_0x1394('0x17')]);router[_0x1394('0x15')](_0x1394('0x11'),auth[_0x1394('0x9')](),controller[_0x1394('0x18')]);module[_0x1394('0x19')]=router;
\ No newline at end of file
+var _0x3827=['delete','removeTeams','removeAgents','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','get','isAuthenticated','index','/describe','describe','/:id','show','getMembers','/:id/teams','/:id/users','getAgents','post','create','addTeams','addAgents','put','update','destroy'];(function(_0xad3524,_0x3061f4){var _0x4e6c4e=function(_0xaec9f4){while(--_0xaec9f4){_0xad3524['push'](_0xad3524['shift']());}};_0x4e6c4e(++_0x3061f4);}(_0x3827,0x1c4));var _0x7382=function(_0x47aa64,_0xfb8a07){_0x47aa64=_0x47aa64-0x0;var _0x549c7a=_0x3827[_0x47aa64];return _0x549c7a;};'use strict';var multer=require(_0x7382('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x7382('0x1'));var express=require(_0x7382('0x2'));var router=express[_0x7382('0x3')]();var fs_extra=require(_0x7382('0x4'));var auth=require(_0x7382('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./smsQueue.controller');router[_0x7382('0x6')]('/',auth[_0x7382('0x7')](),controller[_0x7382('0x8')]);router[_0x7382('0x6')](_0x7382('0x9'),auth[_0x7382('0x7')](),controller[_0x7382('0xa')]);router['get'](_0x7382('0xb'),auth[_0x7382('0x7')](),controller[_0x7382('0xc')]);router[_0x7382('0x6')]('/:id/members',auth[_0x7382('0x7')](),controller[_0x7382('0xd')]);router[_0x7382('0x6')](_0x7382('0xe'),auth[_0x7382('0x7')](),controller['getTeams']);router['get'](_0x7382('0xf'),auth['isAuthenticated'](),controller[_0x7382('0x10')]);router[_0x7382('0x11')]('/',auth[_0x7382('0x7')](),controller[_0x7382('0x12')]);router[_0x7382('0x11')](_0x7382('0xe'),auth['isAuthenticated'](),controller[_0x7382('0x13')]);router['post'](_0x7382('0xf'),auth[_0x7382('0x7')](),controller[_0x7382('0x14')]);router[_0x7382('0x15')](_0x7382('0xb'),auth['isAuthenticated'](),controller[_0x7382('0x16')]);router['delete'](_0x7382('0xb'),auth[_0x7382('0x7')](),controller[_0x7382('0x17')]);router[_0x7382('0x18')]('/:id/teams',auth[_0x7382('0x7')](),controller[_0x7382('0x19')]);router['delete']('/:id/users',auth[_0x7382('0x7')](),controller[_0x7382('0x1a')]);module[_0x7382('0x1b')]=router;
\ No newline at end of file