Built motion from commit 6a0adb95.|2.6.31
[motion2.git] / server / api / voicePrefix / index.js
index f8594e3..5b83a30 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7cab=['create','addTeams','put','delete','destroy','removeAgents','removeTeams','multer','util','path','express','Router','fs-extra','../../components/interaction/service','get','isAuthenticated','describe','/:id','show','/:id/users','getAgents','/:id/teams','post'];(function(_0x52da63,_0x2aec69){var _0xc36a70=function(_0x52459d){while(--_0x52459d){_0x52da63['push'](_0x52da63['shift']());}};_0xc36a70(++_0x2aec69);}(_0x7cab,0x91));var _0xb7ca=function(_0x3070dc,_0x40cf11){_0x3070dc=_0x3070dc-0x0;var _0x431489=_0x7cab[_0x3070dc];return _0x431489;};'use strict';var multer=require(_0xb7ca('0x0'));var util=require(_0xb7ca('0x1'));var path=require(_0xb7ca('0x2'));var timeout=require('connect-timeout');var express=require(_0xb7ca('0x3'));var router=express[_0xb7ca('0x4')]();var fs_extra=require(_0xb7ca('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xb7ca('0x6'));var config=require('../../config/environment');var controller=require('./voicePrefix.controller');router[_0xb7ca('0x7')]('/',auth[_0xb7ca('0x8')](),controller['index']);router[_0xb7ca('0x7')]('/describe',auth[_0xb7ca('0x8')](),controller[_0xb7ca('0x9')]);router[_0xb7ca('0x7')](_0xb7ca('0xa'),auth[_0xb7ca('0x8')](),controller[_0xb7ca('0xb')]);router['get'](_0xb7ca('0xc'),auth[_0xb7ca('0x8')](),controller[_0xb7ca('0xd')]);router['get'](_0xb7ca('0xe'),auth[_0xb7ca('0x8')](),controller['getTeams']);router[_0xb7ca('0xf')]('/',auth[_0xb7ca('0x8')](),controller[_0xb7ca('0x10')]);router[_0xb7ca('0xf')](_0xb7ca('0xc'),auth['isAuthenticated'](),controller['addAgents']);router['post'](_0xb7ca('0xe'),auth[_0xb7ca('0x8')](),controller[_0xb7ca('0x11')]);router[_0xb7ca('0x12')](_0xb7ca('0xa'),auth[_0xb7ca('0x8')](),controller['update']);router[_0xb7ca('0x13')](_0xb7ca('0xa'),auth[_0xb7ca('0x8')](),controller[_0xb7ca('0x14')]);router['delete']('/:id/users',auth['isAuthenticated'](),controller[_0xb7ca('0x15')]);router[_0xb7ca('0x13')](_0xb7ca('0xe'),auth['isAuthenticated'](),controller[_0xb7ca('0x16')]);module['exports']=router;
\ No newline at end of file
+var _0x10eb=['create','post','addTeams','put','/:id','update','delete','destroy','removeTeams','multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','show','/:id/users','getAgents','/:id/teams','getTeams'];(function(_0x5f0641,_0x2ebef0){var _0x4c46d8=function(_0x3c4e8d){while(--_0x3c4e8d){_0x5f0641['push'](_0x5f0641['shift']());}};_0x4c46d8(++_0x2ebef0);}(_0x10eb,0x71));var _0xb10e=function(_0x5bc1f4,_0x1a793f){_0x5bc1f4=_0x5bc1f4-0x0;var _0x5cd8ce=_0x10eb[_0x5bc1f4];return _0x5cd8ce;};'use strict';var multer=require(_0xb10e('0x0'));var util=require('util');var path=require(_0xb10e('0x1'));var timeout=require(_0xb10e('0x2'));var express=require(_0xb10e('0x3'));var router=express[_0xb10e('0x4')]();var fs_extra=require(_0xb10e('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xb10e('0x6'));var config=require(_0xb10e('0x7'));var controller=require('./voicePrefix.controller');router['get']('/',auth[_0xb10e('0x8')](),controller[_0xb10e('0x9')]);router[_0xb10e('0xa')](_0xb10e('0xb'),auth['isAuthenticated'](),controller['describe']);router['get']('/:id',auth['isAuthenticated'](),controller[_0xb10e('0xc')]);router[_0xb10e('0xa')](_0xb10e('0xd'),auth[_0xb10e('0x8')](),controller[_0xb10e('0xe')]);router[_0xb10e('0xa')](_0xb10e('0xf'),auth[_0xb10e('0x8')](),controller[_0xb10e('0x10')]);router['post']('/',auth[_0xb10e('0x8')](),controller[_0xb10e('0x11')]);router[_0xb10e('0x12')]('/:id/users',auth[_0xb10e('0x8')](),controller['addAgents']);router[_0xb10e('0x12')](_0xb10e('0xf'),auth[_0xb10e('0x8')](),controller[_0xb10e('0x13')]);router[_0xb10e('0x14')](_0xb10e('0x15'),auth[_0xb10e('0x8')](),controller[_0xb10e('0x16')]);router[_0xb10e('0x17')]('/:id',auth[_0xb10e('0x8')](),controller[_0xb10e('0x18')]);router[_0xb10e('0x17')](_0xb10e('0xd'),auth[_0xb10e('0x8')](),controller['removeAgents']);router[_0xb10e('0x17')](_0xb10e('0xf'),auth[_0xb10e('0x8')](),controller[_0xb10e('0x19')]);module['exports']=router;
\ No newline at end of file