Built motion from commit (unavailable).|2.5.10
[motion2.git] / server / api / voicePrefix / index.js
index 7ef4f8f..1028c4a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8ea5=['get','isAuthenticated','/describe','describe','/:id','show','getAgents','create','post','/:id/users','addAgents','update','destroy','delete','removeAgents','exports','multer','util','express','Router','../../components/interaction/service','../../config/environment','./voicePrefix.controller'];(function(_0x22f5cc,_0x32a2b3){var _0x1f369f=function(_0x43b01c){while(--_0x43b01c){_0x22f5cc['push'](_0x22f5cc['shift']());}};_0x1f369f(++_0x32a2b3);}(_0x8ea5,0x9a));var _0x58ea=function(_0x3c3e2e,_0x5e3448){_0x3c3e2e=_0x3c3e2e-0x0;var _0x5868e6=_0x8ea5[_0x3c3e2e];return _0x5868e6;};'use strict';var multer=require(_0x58ea('0x0'));var util=require(_0x58ea('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x58ea('0x2'));var router=express[_0x58ea('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x58ea('0x4'));var config=require(_0x58ea('0x5'));var controller=require(_0x58ea('0x6'));router[_0x58ea('0x7')]('/',auth[_0x58ea('0x8')](),controller['index']);router[_0x58ea('0x7')](_0x58ea('0x9'),auth[_0x58ea('0x8')](),controller[_0x58ea('0xa')]);router['get'](_0x58ea('0xb'),auth[_0x58ea('0x8')](),controller[_0x58ea('0xc')]);router[_0x58ea('0x7')]('/:id/users',auth[_0x58ea('0x8')](),controller[_0x58ea('0xd')]);router['post']('/',auth[_0x58ea('0x8')](),controller[_0x58ea('0xe')]);router[_0x58ea('0xf')](_0x58ea('0x10'),auth[_0x58ea('0x8')](),controller[_0x58ea('0x11')]);router['put'](_0x58ea('0xb'),auth[_0x58ea('0x8')](),controller[_0x58ea('0x12')]);router['delete'](_0x58ea('0xb'),auth[_0x58ea('0x8')](),controller[_0x58ea('0x13')]);router[_0x58ea('0x14')](_0x58ea('0x10'),auth[_0x58ea('0x8')](),controller[_0x58ea('0x15')]);module[_0x58ea('0x16')]=router;
\ No newline at end of file
+var _0x2b7e=['util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','index','get','/describe','isAuthenticated','show','/:id/users','getAgents','put','update','delete','destroy','exports','multer'];(function(_0x468ed9,_0xe736f){var _0x5b59d0=function(_0x2484b1){while(--_0x2484b1){_0x468ed9['push'](_0x468ed9['shift']());}};_0x5b59d0(++_0xe736f);}(_0x2b7e,0xdb));var _0xe2b7=function(_0x23243a,_0x2cd577){_0x23243a=_0x23243a-0x0;var _0x5524f4=_0x2b7e[_0x23243a];return _0x5524f4;};'use strict';var multer=require(_0xe2b7('0x0'));var util=require(_0xe2b7('0x1'));var path=require(_0xe2b7('0x2'));var timeout=require(_0xe2b7('0x3'));var express=require(_0xe2b7('0x4'));var router=express['Router']();var auth=require(_0xe2b7('0x5'));var interaction=require(_0xe2b7('0x6'));var config=require(_0xe2b7('0x7'));var controller=require('./voicePrefix.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xe2b7('0x8')]);router[_0xe2b7('0x9')](_0xe2b7('0xa'),auth[_0xe2b7('0xb')](),controller['describe']);router[_0xe2b7('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xe2b7('0xc')]);router[_0xe2b7('0x9')](_0xe2b7('0xd'),auth['isAuthenticated'](),controller[_0xe2b7('0xe')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router['post'](_0xe2b7('0xd'),auth[_0xe2b7('0xb')](),controller['addAgents']);router[_0xe2b7('0xf')]('/:id',auth[_0xe2b7('0xb')](),controller[_0xe2b7('0x10')]);router[_0xe2b7('0x11')]('/:id',auth[_0xe2b7('0xb')](),controller[_0xe2b7('0x12')]);router['delete'](_0xe2b7('0xd'),auth[_0xe2b7('0xb')](),controller['removeAgents']);module[_0xe2b7('0x13')]=router;
\ No newline at end of file