Built motion from commit 775e2a94.|2.6.3
[motion2.git] / server / api / voicePrefix / index.js
index 4a54942..e0acb4b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb40e=['../../components/interaction/service','../../config/environment','./voicePrefix.controller','get','isAuthenticated','index','/describe','describe','/:id','getAgents','post','create','/:id/users','addAgents','put','update','delete','destroy','removeAgents','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0x4b2436,_0x452299){var _0x4f5ab2=function(_0x5c6679){while(--_0x5c6679){_0x4b2436['push'](_0x4b2436['shift']());}};_0x4f5ab2(++_0x452299);}(_0xb40e,0xca));var _0xeb40=function(_0x1fd675,_0x165dfe){_0x1fd675=_0x1fd675-0x0;var _0x16b554=_0xb40e[_0x1fd675];return _0x16b554;};'use strict';var multer=require(_0xeb40('0x0'));var util=require('util');var path=require(_0xeb40('0x1'));var timeout=require(_0xeb40('0x2'));var express=require(_0xeb40('0x3'));var router=express['Router']();var fs_extra=require(_0xeb40('0x4'));var auth=require(_0xeb40('0x5'));var interaction=require(_0xeb40('0x6'));var config=require(_0xeb40('0x7'));var controller=require(_0xeb40('0x8'));router[_0xeb40('0x9')]('/',auth[_0xeb40('0xa')](),controller[_0xeb40('0xb')]);router['get'](_0xeb40('0xc'),auth['isAuthenticated'](),controller[_0xeb40('0xd')]);router['get'](_0xeb40('0xe'),auth[_0xeb40('0xa')](),controller['show']);router[_0xeb40('0x9')]('/:id/users',auth[_0xeb40('0xa')](),controller[_0xeb40('0xf')]);router[_0xeb40('0x10')]('/',auth['isAuthenticated'](),controller[_0xeb40('0x11')]);router[_0xeb40('0x10')](_0xeb40('0x12'),auth[_0xeb40('0xa')](),controller[_0xeb40('0x13')]);router[_0xeb40('0x14')](_0xeb40('0xe'),auth[_0xeb40('0xa')](),controller[_0xeb40('0x15')]);router[_0xeb40('0x16')](_0xeb40('0xe'),auth[_0xeb40('0xa')](),controller[_0xeb40('0x17')]);router[_0xeb40('0x16')](_0xeb40('0x12'),auth[_0xeb40('0xa')](),controller[_0xeb40('0x18')]);module[_0xeb40('0x19')]=router;
\ No newline at end of file
+var _0x4d61=['put','update','delete','/:id','destroy','removeAgents','removeTeams','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./voicePrefix.controller','get','isAuthenticated','index','/describe','/:id/users','getAgents','/:id/teams','getTeams','post','create','addTeams'];(function(_0x30e4a8,_0x8b4c09){var _0x3c28d1=function(_0x44fbcf){while(--_0x44fbcf){_0x30e4a8['push'](_0x30e4a8['shift']());}};_0x3c28d1(++_0x8b4c09);}(_0x4d61,0x147));var _0x14d6=function(_0x5287a5,_0x3ff0ad){_0x5287a5=_0x5287a5-0x0;var _0x158a73=_0x4d61[_0x5287a5];return _0x158a73;};'use strict';var multer=require(_0x14d6('0x0'));var util=require(_0x14d6('0x1'));var path=require(_0x14d6('0x2'));var timeout=require(_0x14d6('0x3'));var express=require(_0x14d6('0x4'));var router=express[_0x14d6('0x5')]();var fs_extra=require(_0x14d6('0x6'));var auth=require(_0x14d6('0x7'));var interaction=require(_0x14d6('0x8'));var config=require('../../config/environment');var controller=require(_0x14d6('0x9'));router[_0x14d6('0xa')]('/',auth[_0x14d6('0xb')](),controller[_0x14d6('0xc')]);router[_0x14d6('0xa')](_0x14d6('0xd'),auth[_0x14d6('0xb')](),controller['describe']);router[_0x14d6('0xa')]('/:id',auth[_0x14d6('0xb')](),controller['show']);router[_0x14d6('0xa')](_0x14d6('0xe'),auth['isAuthenticated'](),controller[_0x14d6('0xf')]);router[_0x14d6('0xa')](_0x14d6('0x10'),auth[_0x14d6('0xb')](),controller[_0x14d6('0x11')]);router[_0x14d6('0x12')]('/',auth[_0x14d6('0xb')](),controller[_0x14d6('0x13')]);router[_0x14d6('0x12')](_0x14d6('0xe'),auth[_0x14d6('0xb')](),controller['addAgents']);router[_0x14d6('0x12')](_0x14d6('0x10'),auth[_0x14d6('0xb')](),controller[_0x14d6('0x14')]);router[_0x14d6('0x15')]('/:id',auth[_0x14d6('0xb')](),controller[_0x14d6('0x16')]);router[_0x14d6('0x17')](_0x14d6('0x18'),auth['isAuthenticated'](),controller[_0x14d6('0x19')]);router[_0x14d6('0x17')](_0x14d6('0xe'),auth['isAuthenticated'](),controller[_0x14d6('0x1a')]);router[_0x14d6('0x17')](_0x14d6('0x10'),auth[_0x14d6('0xb')](),controller[_0x14d6('0x1b')]);module[_0x14d6('0x1c')]=router;
\ No newline at end of file