Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / voicePrefix / index.js
index cce1447..ced5293 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa5c0=['/:id','show','getAgents','/:id/teams','getTeams','create','post','/:id/users','addAgents','addTeams','put','update','destroy','removeAgents','delete','removeTeams','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','index','isAuthenticated','describe','get'];(function(_0xd13a88,_0x3c5269){var _0x1c993c=function(_0x245af5){while(--_0x245af5){_0xd13a88['push'](_0xd13a88['shift']());}};_0x1c993c(++_0x3c5269);}(_0xa5c0,0xbf));var _0x0a5c=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa5c0[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x0a5c('0x0'));var util=require(_0x0a5c('0x1'));var path=require(_0x0a5c('0x2'));var timeout=require('connect-timeout');var express=require(_0x0a5c('0x3'));var router=express[_0x0a5c('0x4')]();var fs_extra=require(_0x0a5c('0x5'));var auth=require(_0x0a5c('0x6'));var interaction=require(_0x0a5c('0x7'));var config=require('../../config/environment');var controller=require('./voicePrefix.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x0a5c('0x8')]);router['get']('/describe',auth[_0x0a5c('0x9')](),controller[_0x0a5c('0xa')]);router[_0x0a5c('0xb')](_0x0a5c('0xc'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0xd')]);router[_0x0a5c('0xb')]('/:id/users',auth[_0x0a5c('0x9')](),controller[_0x0a5c('0xe')]);router['get'](_0x0a5c('0xf'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x10')]);router['post']('/',auth['isAuthenticated'](),controller[_0x0a5c('0x11')]);router[_0x0a5c('0x12')](_0x0a5c('0x13'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x14')]);router[_0x0a5c('0x12')](_0x0a5c('0xf'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x15')]);router[_0x0a5c('0x16')](_0x0a5c('0xc'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x17')]);router['delete']('/:id',auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x18')]);router['delete']('/:id/users',auth['isAuthenticated'](),controller[_0x0a5c('0x19')]);router[_0x0a5c('0x1a')](_0x0a5c('0xf'),auth[_0x0a5c('0x9')](),controller[_0x0a5c('0x1b')]);module[_0x0a5c('0x1c')]=router;
\ No newline at end of file
+var _0x2873=['destroy','removeAgents','delete','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','describe','/:id','show','/:id/users','getAgents','/:id/teams','getTeams','post','addAgents','addTeams','put','update'];(function(_0x11f9d2,_0x4dcb09){var _0x16535d=function(_0x24c150){while(--_0x24c150){_0x11f9d2['push'](_0x11f9d2['shift']());}};_0x16535d(++_0x4dcb09);}(_0x2873,0x1f2));var _0x3287=function(_0x2892b2,_0x4969e2){_0x2892b2=_0x2892b2-0x0;var _0x397b1c=_0x2873[_0x2892b2];return _0x397b1c;};'use strict';var multer=require(_0x3287('0x0'));var util=require(_0x3287('0x1'));var path=require(_0x3287('0x2'));var timeout=require(_0x3287('0x3'));var express=require('express');var router=express[_0x3287('0x4')]();var fs_extra=require(_0x3287('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x3287('0x6'));var config=require(_0x3287('0x7'));var controller=require('./voicePrefix.controller');router[_0x3287('0x8')]('/',auth[_0x3287('0x9')](),controller['index']);router[_0x3287('0x8')]('/describe',auth[_0x3287('0x9')](),controller[_0x3287('0xa')]);router[_0x3287('0x8')](_0x3287('0xb'),auth[_0x3287('0x9')](),controller[_0x3287('0xc')]);router[_0x3287('0x8')](_0x3287('0xd'),auth[_0x3287('0x9')](),controller[_0x3287('0xe')]);router[_0x3287('0x8')](_0x3287('0xf'),auth[_0x3287('0x9')](),controller[_0x3287('0x10')]);router[_0x3287('0x11')]('/',auth['isAuthenticated'](),controller['create']);router[_0x3287('0x11')](_0x3287('0xd'),auth[_0x3287('0x9')](),controller[_0x3287('0x12')]);router[_0x3287('0x11')]('/:id/teams',auth[_0x3287('0x9')](),controller[_0x3287('0x13')]);router[_0x3287('0x14')](_0x3287('0xb'),auth['isAuthenticated'](),controller[_0x3287('0x15')]);router['delete'](_0x3287('0xb'),auth[_0x3287('0x9')](),controller[_0x3287('0x16')]);router['delete'](_0x3287('0xd'),auth[_0x3287('0x9')](),controller[_0x3287('0x17')]);router[_0x3287('0x18')](_0x3287('0xf'),auth['isAuthenticated'](),controller['removeTeams']);module[_0x3287('0x19')]=router;
\ No newline at end of file