X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoicePrefix%2Findex.js;h=c90295bbe86e486dbe9781cf91bb0d583a6c0fef;hb=44bd2814959684a7f7b774f2c71a3b12f9ba5952;hp=42ae4350c13cd41f06785cfc0dc46cf21021614b;hpb=868a31873a4f5d6a45b7a9cfef882f2e311d37fa;p=motion2.git diff --git a/server/api/voicePrefix/index.js b/server/api/voicePrefix/index.js index 42ae435..c90295b 100644 --- a/server/api/voicePrefix/index.js +++ b/server/api/voicePrefix/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x120e=['index','/describe','describe','show','/:id/users','getAgents','create','post','addAgents','put','delete','/:id','destroy','exports','util','connect-timeout','Router','../../components/auth/service','../../config/environment','./voicePrefix.controller','get','isAuthenticated'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0x120e,0xa8));var _0xe120=function(_0x3a12ec,_0x174f38){_0x3a12ec=_0x3a12ec-0x0;var _0x43bfe7=_0x120e[_0x3a12ec];return _0x43bfe7;};'use strict';var multer=require('multer');var util=require(_0xe120('0x0'));var path=require('path');var timeout=require(_0xe120('0x1'));var express=require('express');var router=express[_0xe120('0x2')]();var auth=require(_0xe120('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xe120('0x4'));var controller=require(_0xe120('0x5'));router[_0xe120('0x6')]('/',auth[_0xe120('0x7')](),controller[_0xe120('0x8')]);router[_0xe120('0x6')](_0xe120('0x9'),auth[_0xe120('0x7')](),controller[_0xe120('0xa')]);router['get']('/:id',auth[_0xe120('0x7')](),controller[_0xe120('0xb')]);router[_0xe120('0x6')](_0xe120('0xc'),auth[_0xe120('0x7')](),controller[_0xe120('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0xe120('0xe')]);router[_0xe120('0xf')](_0xe120('0xc'),auth[_0xe120('0x7')](),controller[_0xe120('0x10')]);router[_0xe120('0x11')]('/:id',auth[_0xe120('0x7')](),controller['update']);router[_0xe120('0x12')](_0xe120('0x13'),auth[_0xe120('0x7')](),controller[_0xe120('0x14')]);router[_0xe120('0x12')](_0xe120('0xc'),auth['isAuthenticated'](),controller['removeAgents']);module[_0xe120('0x15')]=router; \ No newline at end of file +var _0x6f94=['multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./voicePrefix.controller','get','index','/describe','describe','/:id','isAuthenticated','show','getAgents','post','create','addAgents','put','update','destroy','delete','removeAgents','exports'];(function(_0x31c155,_0x2abeba){var _0x1d06fc=function(_0xb9a30e){while(--_0xb9a30e){_0x31c155['push'](_0x31c155['shift']());}};_0x1d06fc(++_0x2abeba);}(_0x6f94,0x1ba));var _0x46f9=function(_0x1da527,_0x2dc953){_0x1da527=_0x1da527-0x0;var _0x40fc7c=_0x6f94[_0x1da527];return _0x40fc7c;};'use strict';var multer=require(_0x46f9('0x0'));var util=require(_0x46f9('0x1'));var path=require(_0x46f9('0x2'));var timeout=require(_0x46f9('0x3'));var express=require(_0x46f9('0x4'));var router=express[_0x46f9('0x5')]();var auth=require(_0x46f9('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x46f9('0x7'));var controller=require(_0x46f9('0x8'));router[_0x46f9('0x9')]('/',auth['isAuthenticated'](),controller[_0x46f9('0xa')]);router[_0x46f9('0x9')](_0x46f9('0xb'),auth['isAuthenticated'](),controller[_0x46f9('0xc')]);router['get'](_0x46f9('0xd'),auth[_0x46f9('0xe')](),controller[_0x46f9('0xf')]);router[_0x46f9('0x9')]('/:id/users',auth[_0x46f9('0xe')](),controller[_0x46f9('0x10')]);router[_0x46f9('0x11')]('/',auth[_0x46f9('0xe')](),controller[_0x46f9('0x12')]);router[_0x46f9('0x11')]('/:id/users',auth[_0x46f9('0xe')](),controller[_0x46f9('0x13')]);router[_0x46f9('0x14')](_0x46f9('0xd'),auth['isAuthenticated'](),controller[_0x46f9('0x15')]);router['delete'](_0x46f9('0xd'),auth[_0x46f9('0xe')](),controller[_0x46f9('0x16')]);router[_0x46f9('0x17')]('/:id/users',auth[_0x46f9('0xe')](),controller[_0x46f9('0x18')]);module[_0x46f9('0x19')]=router; \ No newline at end of file