Built motion from commit f3da74b7.|2.5.36
[motion2.git] / server / api / voicePrefix / index.js
index 0082d2d..de02b7d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6b27=['/:id/teams','getTeams','post','addAgents','put','/:id','update','delete','destroy','removeAgents','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id/users','getAgents'];(function(_0x37cb42,_0x51b58d){var _0x41890f=function(_0x22fed8){while(--_0x22fed8){_0x37cb42['push'](_0x37cb42['shift']());}};_0x41890f(++_0x51b58d);}(_0x6b27,0x176));var _0x76b2=function(_0x3b8722,_0x1ca8b9){_0x3b8722=_0x3b8722-0x0;var _0x5c46ed=_0x6b27[_0x3b8722];return _0x5c46ed;};'use strict';var multer=require(_0x76b2('0x0'));var util=require(_0x76b2('0x1'));var path=require('path');var timeout=require(_0x76b2('0x2'));var express=require(_0x76b2('0x3'));var router=express[_0x76b2('0x4')]();var fs_extra=require(_0x76b2('0x5'));var auth=require(_0x76b2('0x6'));var interaction=require(_0x76b2('0x7'));var config=require(_0x76b2('0x8'));var controller=require('./voicePrefix.controller');router['get']('/',auth[_0x76b2('0x9')](),controller[_0x76b2('0xa')]);router[_0x76b2('0xb')](_0x76b2('0xc'),auth[_0x76b2('0x9')](),controller[_0x76b2('0xd')]);router[_0x76b2('0xb')]('/:id',auth[_0x76b2('0x9')](),controller['show']);router[_0x76b2('0xb')](_0x76b2('0xe'),auth['isAuthenticated'](),controller[_0x76b2('0xf')]);router[_0x76b2('0xb')](_0x76b2('0x10'),auth[_0x76b2('0x9')](),controller[_0x76b2('0x11')]);router[_0x76b2('0x12')]('/',auth[_0x76b2('0x9')](),controller['create']);router[_0x76b2('0x12')](_0x76b2('0xe'),auth[_0x76b2('0x9')](),controller[_0x76b2('0x13')]);router[_0x76b2('0x12')]('/:id/teams',auth[_0x76b2('0x9')](),controller['addTeams']);router[_0x76b2('0x14')](_0x76b2('0x15'),auth[_0x76b2('0x9')](),controller[_0x76b2('0x16')]);router[_0x76b2('0x17')](_0x76b2('0x15'),auth[_0x76b2('0x9')](),controller[_0x76b2('0x18')]);router['delete'](_0x76b2('0xe'),auth[_0x76b2('0x9')](),controller[_0x76b2('0x19')]);router['delete'](_0x76b2('0x10'),auth['isAuthenticated'](),controller['removeTeams']);module['exports']=router;
\ No newline at end of file
+var _0x331c=['/:id/teams','getTeams','post','addAgents','addTeams','put','update','delete','removeAgents','removeTeams','multer','path','Router','../../components/interaction/service','./voicePrefix.controller','get','index','isAuthenticated','describe','/:id','show','/:id/users','getAgents'];(function(_0xe9c036,_0x176387){var _0x44c82d=function(_0x4ac883){while(--_0x4ac883){_0xe9c036['push'](_0xe9c036['shift']());}};_0x44c82d(++_0x176387);}(_0x331c,0xf0));var _0xc331=function(_0x5c351c,_0x2046d8){_0x5c351c=_0x5c351c-0x0;var _0x26f3b3=_0x331c[_0x5c351c];return _0x26f3b3;};'use strict';var multer=require(_0xc331('0x0'));var util=require('util');var path=require(_0xc331('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc331('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xc331('0x3'));var config=require('../../config/environment');var controller=require(_0xc331('0x4'));router[_0xc331('0x5')]('/',auth['isAuthenticated'](),controller[_0xc331('0x6')]);router[_0xc331('0x5')]('/describe',auth[_0xc331('0x7')](),controller[_0xc331('0x8')]);router[_0xc331('0x5')](_0xc331('0x9'),auth['isAuthenticated'](),controller[_0xc331('0xa')]);router['get'](_0xc331('0xb'),auth[_0xc331('0x7')](),controller[_0xc331('0xc')]);router[_0xc331('0x5')](_0xc331('0xd'),auth[_0xc331('0x7')](),controller[_0xc331('0xe')]);router[_0xc331('0xf')]('/',auth[_0xc331('0x7')](),controller['create']);router[_0xc331('0xf')](_0xc331('0xb'),auth[_0xc331('0x7')](),controller[_0xc331('0x10')]);router[_0xc331('0xf')](_0xc331('0xd'),auth['isAuthenticated'](),controller[_0xc331('0x11')]);router[_0xc331('0x12')]('/:id',auth[_0xc331('0x7')](),controller[_0xc331('0x13')]);router[_0xc331('0x14')](_0xc331('0x9'),auth['isAuthenticated'](),controller['destroy']);router[_0xc331('0x14')](_0xc331('0xb'),auth['isAuthenticated'](),controller[_0xc331('0x15')]);router[_0xc331('0x14')]('/:id/teams',auth[_0xc331('0x7')](),controller[_0xc331('0x16')]);module['exports']=router;
\ No newline at end of file