Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / smsQueue / index.js
index 22dd991..e950f88 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfba8=['put','update','delete','destroy','removeTeams','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','show','/:id/members','getMembers','getTeams','/:id/users','post','/:id/teams','addTeams'];(function(_0x335d2c,_0x52272b){var _0xe265c1=function(_0x566f00){while(--_0x566f00){_0x335d2c['push'](_0x335d2c['shift']());}};_0xe265c1(++_0x52272b);}(_0xfba8,0x1d6));var _0x8fba=function(_0x3a4804,_0x33318c){_0x3a4804=_0x3a4804-0x0;var _0x205f20=_0xfba8[_0x3a4804];return _0x205f20;};'use strict';var multer=require(_0x8fba('0x0'));var util=require(_0x8fba('0x1'));var path=require(_0x8fba('0x2'));var timeout=require(_0x8fba('0x3'));var express=require(_0x8fba('0x4'));var router=express[_0x8fba('0x5')]();var auth=require(_0x8fba('0x6'));var interaction=require(_0x8fba('0x7'));var config=require(_0x8fba('0x8'));var controller=require('./smsQueue.controller');router[_0x8fba('0x9')]('/',auth['isAuthenticated'](),controller[_0x8fba('0xa')]);router[_0x8fba('0x9')](_0x8fba('0xb'),auth[_0x8fba('0xc')](),controller[_0x8fba('0xd')]);router[_0x8fba('0x9')](_0x8fba('0xe'),auth['isAuthenticated'](),controller[_0x8fba('0xf')]);router['get'](_0x8fba('0x10'),auth[_0x8fba('0xc')](),controller[_0x8fba('0x11')]);router[_0x8fba('0x9')]('/:id/teams',auth[_0x8fba('0xc')](),controller[_0x8fba('0x12')]);router['get'](_0x8fba('0x13'),auth[_0x8fba('0xc')](),controller['getAgents']);router['post']('/',auth[_0x8fba('0xc')](),controller['create']);router[_0x8fba('0x14')](_0x8fba('0x15'),auth[_0x8fba('0xc')](),controller[_0x8fba('0x16')]);router[_0x8fba('0x14')](_0x8fba('0x13'),auth['isAuthenticated'](),controller['addAgents']);router[_0x8fba('0x17')](_0x8fba('0xe'),auth[_0x8fba('0xc')](),controller[_0x8fba('0x18')]);router[_0x8fba('0x19')](_0x8fba('0xe'),auth['isAuthenticated'](),controller[_0x8fba('0x1a')]);router[_0x8fba('0x19')](_0x8fba('0x15'),auth[_0x8fba('0xc')](),controller[_0x8fba('0x1b')]);router[_0x8fba('0x19')](_0x8fba('0x13'),auth[_0x8fba('0xc')](),controller['removeAgents']);module[_0x8fba('0x1c')]=router;
\ No newline at end of file
+var _0x5d59=['fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','show','getMembers','/:id/teams','getAgents','create','post','addTeams','/:id/users','addAgents','put','update','delete','/:id','destroy','removeTeams','removeAgents','exports','multer','util','path','express','Router'];(function(_0x38d2c6,_0x5c1a2f){var _0x3c3633=function(_0x5cf20c){while(--_0x5cf20c){_0x38d2c6['push'](_0x38d2c6['shift']());}};_0x3c3633(++_0x5c1a2f);}(_0x5d59,0x163));var _0x95d5=function(_0x5b73ff,_0x1cba4d){_0x5b73ff=_0x5b73ff-0x0;var _0x1c4ba4=_0x5d59[_0x5b73ff];return _0x1c4ba4;};'use strict';var multer=require(_0x95d5('0x0'));var util=require(_0x95d5('0x1'));var path=require(_0x95d5('0x2'));var timeout=require('connect-timeout');var express=require(_0x95d5('0x3'));var router=express[_0x95d5('0x4')]();var fs_extra=require(_0x95d5('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x95d5('0x6'));var config=require(_0x95d5('0x7'));var controller=require('./smsQueue.controller');router['get']('/',auth[_0x95d5('0x8')](),controller[_0x95d5('0x9')]);router[_0x95d5('0xa')](_0x95d5('0xb'),auth['isAuthenticated'](),controller[_0x95d5('0xc')]);router[_0x95d5('0xa')]('/:id',auth[_0x95d5('0x8')](),controller[_0x95d5('0xd')]);router['get']('/:id/members',auth[_0x95d5('0x8')](),controller[_0x95d5('0xe')]);router[_0x95d5('0xa')](_0x95d5('0xf'),auth[_0x95d5('0x8')](),controller['getTeams']);router[_0x95d5('0xa')]('/:id/users',auth['isAuthenticated'](),controller[_0x95d5('0x10')]);router['post']('/',auth[_0x95d5('0x8')](),controller[_0x95d5('0x11')]);router[_0x95d5('0x12')](_0x95d5('0xf'),auth['isAuthenticated'](),controller[_0x95d5('0x13')]);router[_0x95d5('0x12')](_0x95d5('0x14'),auth[_0x95d5('0x8')](),controller[_0x95d5('0x15')]);router[_0x95d5('0x16')]('/:id',auth[_0x95d5('0x8')](),controller[_0x95d5('0x17')]);router[_0x95d5('0x18')](_0x95d5('0x19'),auth[_0x95d5('0x8')](),controller[_0x95d5('0x1a')]);router[_0x95d5('0x18')](_0x95d5('0xf'),auth['isAuthenticated'](),controller[_0x95d5('0x1b')]);router['delete']('/:id/users',auth[_0x95d5('0x8')](),controller[_0x95d5('0x1c')]);module[_0x95d5('0x1d')]=router;
\ No newline at end of file