Built motion from commit c0cdc9d8.|2.6.28
[motion2.git] / server / api / voicePrefix / index.js
index c5a8b7c..1c85361 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x74eb=['index','isAuthenticated','/:id','show','getAgents','/:id/teams','getTeams','post','/:id/users','addAgents','addTeams','update','delete','removeAgents','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0x74eb,0x13b));var _0xb74e=function(_0x59afbd,_0x1f72e4){_0x59afbd=_0x59afbd-0x0;var _0x1b9242=_0x74eb[_0x59afbd];return _0x1b9242;};'use strict';var multer=require(_0xb74e('0x0'));var util=require(_0xb74e('0x1'));var path=require(_0xb74e('0x2'));var timeout=require('connect-timeout');var express=require(_0xb74e('0x3'));var router=express[_0xb74e('0x4')]();var fs_extra=require(_0xb74e('0x5'));var auth=require(_0xb74e('0x6'));var interaction=require(_0xb74e('0x7'));var config=require(_0xb74e('0x8'));var controller=require('./voicePrefix.controller');router[_0xb74e('0x9')]('/',auth['isAuthenticated'](),controller[_0xb74e('0xa')]);router[_0xb74e('0x9')]('/describe',auth[_0xb74e('0xb')](),controller['describe']);router['get'](_0xb74e('0xc'),auth['isAuthenticated'](),controller[_0xb74e('0xd')]);router[_0xb74e('0x9')]('/:id/users',auth[_0xb74e('0xb')](),controller[_0xb74e('0xe')]);router[_0xb74e('0x9')](_0xb74e('0xf'),auth[_0xb74e('0xb')](),controller[_0xb74e('0x10')]);router[_0xb74e('0x11')]('/',auth['isAuthenticated'](),controller['create']);router[_0xb74e('0x11')](_0xb74e('0x12'),auth[_0xb74e('0xb')](),controller[_0xb74e('0x13')]);router[_0xb74e('0x11')](_0xb74e('0xf'),auth[_0xb74e('0xb')](),controller[_0xb74e('0x14')]);router['put'](_0xb74e('0xc'),auth[_0xb74e('0xb')](),controller[_0xb74e('0x15')]);router['delete']('/:id',auth[_0xb74e('0xb')](),controller['destroy']);router[_0xb74e('0x16')]('/:id/users',auth[_0xb74e('0xb')](),controller[_0xb74e('0x17')]);router[_0xb74e('0x16')](_0xb74e('0xf'),auth['isAuthenticated'](),controller['removeTeams']);module[_0xb74e('0x18')]=router;
\ No newline at end of file
+var _0xc43c=['describe','/:id','show','/:id/users','getAgents','getTeams','post','create','/:id/teams','put','update','delete','removeAgents','removeTeams','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./voicePrefix.controller','get','isAuthenticated','index','/describe'];(function(_0x2c697f,_0x39cb6a){var _0x18d8bb=function(_0x58dd0b){while(--_0x58dd0b){_0x2c697f['push'](_0x2c697f['shift']());}};_0x18d8bb(++_0x39cb6a);}(_0xc43c,0x152));var _0xcc43=function(_0x45745f,_0x547042){_0x45745f=_0x45745f-0x0;var _0x123706=_0xc43c[_0x45745f];return _0x123706;};'use strict';var multer=require(_0xcc43('0x0'));var util=require(_0xcc43('0x1'));var path=require(_0xcc43('0x2'));var timeout=require(_0xcc43('0x3'));var express=require(_0xcc43('0x4'));var router=express[_0xcc43('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xcc43('0x6'));var interaction=require(_0xcc43('0x7'));var config=require('../../config/environment');var controller=require(_0xcc43('0x8'));router[_0xcc43('0x9')]('/',auth[_0xcc43('0xa')](),controller[_0xcc43('0xb')]);router[_0xcc43('0x9')](_0xcc43('0xc'),auth[_0xcc43('0xa')](),controller[_0xcc43('0xd')]);router[_0xcc43('0x9')](_0xcc43('0xe'),auth['isAuthenticated'](),controller[_0xcc43('0xf')]);router[_0xcc43('0x9')](_0xcc43('0x10'),auth[_0xcc43('0xa')](),controller[_0xcc43('0x11')]);router[_0xcc43('0x9')]('/:id/teams',auth[_0xcc43('0xa')](),controller[_0xcc43('0x12')]);router[_0xcc43('0x13')]('/',auth[_0xcc43('0xa')](),controller[_0xcc43('0x14')]);router[_0xcc43('0x13')]('/:id/users',auth[_0xcc43('0xa')](),controller['addAgents']);router[_0xcc43('0x13')](_0xcc43('0x15'),auth['isAuthenticated'](),controller['addTeams']);router[_0xcc43('0x16')](_0xcc43('0xe'),auth[_0xcc43('0xa')](),controller[_0xcc43('0x17')]);router[_0xcc43('0x18')](_0xcc43('0xe'),auth['isAuthenticated'](),controller['destroy']);router[_0xcc43('0x18')](_0xcc43('0x10'),auth[_0xcc43('0xa')](),controller[_0xcc43('0x19')]);router['delete'](_0xcc43('0x15'),auth[_0xcc43('0xa')](),controller[_0xcc43('0x1a')]);module['exports']=router;
\ No newline at end of file