Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / voicePrefix / index.js
index f6f15cf..fd9208e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa378=['exports','multer','util','express','Router','../../components/auth/service','../../config/environment','./voicePrefix.controller','get','isAuthenticated','describe','show','/:id/users','/:id/teams','getTeams','create','post','addAgents','put','/:id','update','delete','destroy'];(function(_0x48e913,_0x5e63f4){var _0x512e3e=function(_0x2e6f35){while(--_0x2e6f35){_0x48e913['push'](_0x48e913['shift']());}};_0x512e3e(++_0x5e63f4);}(_0xa378,0xb9));var _0x8a37=function(_0x35b8b2,_0x18c929){_0x35b8b2=_0x35b8b2-0x0;var _0x54292a=_0xa378[_0x35b8b2];return _0x54292a;};'use strict';var multer=require(_0x8a37('0x0'));var util=require(_0x8a37('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x8a37('0x2'));var router=express[_0x8a37('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x8a37('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x8a37('0x5'));var controller=require(_0x8a37('0x6'));router[_0x8a37('0x7')]('/',auth[_0x8a37('0x8')](),controller['index']);router[_0x8a37('0x7')]('/describe',auth['isAuthenticated'](),controller[_0x8a37('0x9')]);router[_0x8a37('0x7')]('/:id',auth[_0x8a37('0x8')](),controller[_0x8a37('0xa')]);router['get'](_0x8a37('0xb'),auth[_0x8a37('0x8')](),controller['getAgents']);router[_0x8a37('0x7')](_0x8a37('0xc'),auth['isAuthenticated'](),controller[_0x8a37('0xd')]);router['post']('/',auth[_0x8a37('0x8')](),controller[_0x8a37('0xe')]);router[_0x8a37('0xf')]('/:id/users',auth[_0x8a37('0x8')](),controller[_0x8a37('0x10')]);router[_0x8a37('0xf')](_0x8a37('0xc'),auth[_0x8a37('0x8')](),controller['addTeams']);router[_0x8a37('0x11')](_0x8a37('0x12'),auth[_0x8a37('0x8')](),controller[_0x8a37('0x13')]);router[_0x8a37('0x14')]('/:id',auth['isAuthenticated'](),controller[_0x8a37('0x15')]);router[_0x8a37('0x14')](_0x8a37('0xb'),auth[_0x8a37('0x8')](),controller['removeAgents']);router['delete'](_0x8a37('0xc'),auth[_0x8a37('0x8')](),controller['removeTeams']);module[_0x8a37('0x16')]=router;
\ No newline at end of file
+var _0xbb05=['/:id','show','/:id/users','getAgents','/:id/teams','post','addAgents','addTeams','put','update','delete','removeAgents','exports','multer','util','path','express','Router','fs-extra','../../config/environment','./voicePrefix.controller','index','get','/describe','isAuthenticated'];(function(_0x135ced,_0x28d6f9){var _0x58edea=function(_0x35c956){while(--_0x35c956){_0x135ced['push'](_0x135ced['shift']());}};_0x58edea(++_0x28d6f9);}(_0xbb05,0x1b6));var _0x5bb0=function(_0x3360b0,_0x37fceb){_0x3360b0=_0x3360b0-0x0;var _0x207b55=_0xbb05[_0x3360b0];return _0x207b55;};'use strict';var multer=require(_0x5bb0('0x0'));var util=require(_0x5bb0('0x1'));var path=require(_0x5bb0('0x2'));var timeout=require('connect-timeout');var express=require(_0x5bb0('0x3'));var router=express[_0x5bb0('0x4')]();var fs_extra=require(_0x5bb0('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x5bb0('0x6'));var controller=require(_0x5bb0('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x5bb0('0x8')]);router[_0x5bb0('0x9')](_0x5bb0('0xa'),auth[_0x5bb0('0xb')](),controller['describe']);router['get'](_0x5bb0('0xc'),auth[_0x5bb0('0xb')](),controller[_0x5bb0('0xd')]);router[_0x5bb0('0x9')](_0x5bb0('0xe'),auth['isAuthenticated'](),controller[_0x5bb0('0xf')]);router['get'](_0x5bb0('0x10'),auth[_0x5bb0('0xb')](),controller['getTeams']);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x5bb0('0x11')](_0x5bb0('0xe'),auth[_0x5bb0('0xb')](),controller[_0x5bb0('0x12')]);router[_0x5bb0('0x11')](_0x5bb0('0x10'),auth[_0x5bb0('0xb')](),controller[_0x5bb0('0x13')]);router[_0x5bb0('0x14')](_0x5bb0('0xc'),auth[_0x5bb0('0xb')](),controller[_0x5bb0('0x15')]);router[_0x5bb0('0x16')](_0x5bb0('0xc'),auth[_0x5bb0('0xb')](),controller['destroy']);router[_0x5bb0('0x16')](_0x5bb0('0xe'),auth[_0x5bb0('0xb')](),controller[_0x5bb0('0x17')]);router[_0x5bb0('0x16')]('/:id/teams',auth[_0x5bb0('0xb')](),controller['removeTeams']);module[_0x5bb0('0x18')]=router;
\ No newline at end of file