Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / api / voicePrefix / index.js
index 94f2a1c..ba5c8e6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x10ab=['getTeams','post','create','addAgents','addTeams','put','/:id','update','delete','destroy','removeTeams','exports','multer','util','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show','/:id/users','getAgents','/:id/teams'];(function(_0x4026f9,_0x3bfb79){var _0x2d0972=function(_0x572be5){while(--_0x572be5){_0x4026f9['push'](_0x4026f9['shift']());}};_0x2d0972(++_0x3bfb79);}(_0x10ab,0x178));var _0xb10a=function(_0x4695ba,_0x5a7f2a){_0x4695ba=_0x4695ba-0x0;var _0x524b7d=_0x10ab[_0x4695ba];return _0x524b7d;};'use strict';var multer=require(_0xb10a('0x0'));var util=require(_0xb10a('0x1'));var path=require('path');var timeout=require(_0xb10a('0x2'));var express=require('express');var router=express[_0xb10a('0x3')]();var fs_extra=require(_0xb10a('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xb10a('0x5'));var config=require(_0xb10a('0x6'));var controller=require('./voicePrefix.controller');router[_0xb10a('0x7')]('/',auth[_0xb10a('0x8')](),controller[_0xb10a('0x9')]);router[_0xb10a('0x7')](_0xb10a('0xa'),auth[_0xb10a('0x8')](),controller[_0xb10a('0xb')]);router[_0xb10a('0x7')]('/:id',auth[_0xb10a('0x8')](),controller[_0xb10a('0xc')]);router[_0xb10a('0x7')](_0xb10a('0xd'),auth[_0xb10a('0x8')](),controller[_0xb10a('0xe')]);router[_0xb10a('0x7')](_0xb10a('0xf'),auth[_0xb10a('0x8')](),controller[_0xb10a('0x10')]);router[_0xb10a('0x11')]('/',auth[_0xb10a('0x8')](),controller[_0xb10a('0x12')]);router['post']('/:id/users',auth[_0xb10a('0x8')](),controller[_0xb10a('0x13')]);router[_0xb10a('0x11')](_0xb10a('0xf'),auth[_0xb10a('0x8')](),controller[_0xb10a('0x14')]);router[_0xb10a('0x15')](_0xb10a('0x16'),auth[_0xb10a('0x8')](),controller[_0xb10a('0x17')]);router[_0xb10a('0x18')](_0xb10a('0x16'),auth[_0xb10a('0x8')](),controller[_0xb10a('0x19')]);router['delete'](_0xb10a('0xd'),auth['isAuthenticated'](),controller['removeAgents']);router[_0xb10a('0x18')](_0xb10a('0xf'),auth['isAuthenticated'](),controller[_0xb10a('0x1a')]);module[_0xb10a('0x1b')]=router;
\ No newline at end of file
+var _0x39b3=['exports','multer','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voicePrefix.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/users','getAgents','create','post','addAgents','/:id/teams','update','delete','removeAgents','removeTeams'];(function(_0x4e6d56,_0x3a7f7b){var _0x415041=function(_0x187bdd){while(--_0x187bdd){_0x4e6d56['push'](_0x4e6d56['shift']());}};_0x415041(++_0x3a7f7b);}(_0x39b3,0xc9));var _0x339b=function(_0x110c3d,_0x12ee06){_0x110c3d=_0x110c3d-0x0;var _0x226d67=_0x39b3[_0x110c3d];return _0x226d67;};'use strict';var multer=require(_0x339b('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x339b('0x1'));var express=require('express');var router=express[_0x339b('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x339b('0x3'));var interaction=require(_0x339b('0x4'));var config=require(_0x339b('0x5'));var controller=require(_0x339b('0x6'));router[_0x339b('0x7')]('/',auth[_0x339b('0x8')](),controller[_0x339b('0x9')]);router[_0x339b('0x7')](_0x339b('0xa'),auth[_0x339b('0x8')](),controller[_0x339b('0xb')]);router[_0x339b('0x7')](_0x339b('0xc'),auth[_0x339b('0x8')](),controller[_0x339b('0xd')]);router[_0x339b('0x7')](_0x339b('0xe'),auth[_0x339b('0x8')](),controller[_0x339b('0xf')]);router[_0x339b('0x7')]('/:id/teams',auth['isAuthenticated'](),controller['getTeams']);router['post']('/',auth[_0x339b('0x8')](),controller[_0x339b('0x10')]);router[_0x339b('0x11')](_0x339b('0xe'),auth['isAuthenticated'](),controller[_0x339b('0x12')]);router[_0x339b('0x11')](_0x339b('0x13'),auth[_0x339b('0x8')](),controller['addTeams']);router['put']('/:id',auth[_0x339b('0x8')](),controller[_0x339b('0x14')]);router['delete'](_0x339b('0xc'),auth['isAuthenticated'](),controller['destroy']);router[_0x339b('0x15')](_0x339b('0xe'),auth[_0x339b('0x8')](),controller[_0x339b('0x16')]);router[_0x339b('0x15')]('/:id/teams',auth[_0x339b('0x8')](),controller[_0x339b('0x17')]);module[_0x339b('0x18')]=router;
\ No newline at end of file