X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FvoiceContext%2Findex.js;h=574c986c9cc038b1a766b001cd22f859cc0f971c;hb=63de0c196865c5c3d79c791df925d2ec34a0ad56;hp=4e483d9336c6d5f4c9a7c11414749b5b7a094bf5;hpb=262e7062005b3f571634c4983ecdb7eac829efe8;p=motion2.git diff --git a/server/api/voiceContext/index.js b/server/api/voiceContext/index.js index 4e483d9..574c986 100644 --- a/server/api/voiceContext/index.js +++ b/server/api/voiceContext/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe443=['connect-timeout','Router','../../components/auth/service','../../config/environment','./voiceContext.controller','get','isAuthenticated','/:id','post','create','put','update','destroy','multer','util','path'];(function(_0xf84acb,_0x4d5d64){var _0x110fee=function(_0x282888){while(--_0x282888){_0xf84acb['push'](_0xf84acb['shift']());}};_0x110fee(++_0x4d5d64);}(_0xe443,0x19d));var _0x3e44=function(_0x2a3432,_0x4ccc95){_0x2a3432=_0x2a3432-0x0;var _0x32f68f=_0xe443[_0x2a3432];return _0x32f68f;};'use strict';var multer=require(_0x3e44('0x0'));var util=require(_0x3e44('0x1'));var path=require(_0x3e44('0x2'));var timeout=require(_0x3e44('0x3'));var express=require('express');var router=express[_0x3e44('0x4')]();var auth=require(_0x3e44('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x3e44('0x6'));var controller=require(_0x3e44('0x7'));router[_0x3e44('0x8')]('/',auth[_0x3e44('0x9')](),controller['index']);router[_0x3e44('0x8')](_0x3e44('0xa'),auth[_0x3e44('0x9')](),controller['show']);router[_0x3e44('0xb')]('/',auth[_0x3e44('0x9')](),controller[_0x3e44('0xc')]);router[_0x3e44('0xd')](_0x3e44('0xa'),auth['isAuthenticated'](),controller[_0x3e44('0xe')]);router['delete'](_0x3e44('0xa'),auth[_0x3e44('0x9')](),controller[_0x3e44('0xf')]);module['exports']=router; \ No newline at end of file +var _0x0bef=['post','create','put','update','delete','destroy','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','index','/:id','isAuthenticated'];(function(_0x1db688,_0x2faa5b){var _0x343bc5=function(_0x29276a){while(--_0x29276a){_0x1db688['push'](_0x1db688['shift']());}};_0x343bc5(++_0x2faa5b);}(_0x0bef,0xc1));var _0xf0be=function(_0xa8899c,_0xd2186d){_0xa8899c=_0xa8899c-0x0;var _0x44aa34=_0x0bef[_0xa8899c];return _0x44aa34;};'use strict';var multer=require('multer');var util=require(_0xf0be('0x0'));var path=require(_0xf0be('0x1'));var timeout=require(_0xf0be('0x2'));var express=require(_0xf0be('0x3'));var router=express[_0xf0be('0x4')]();var auth=require(_0xf0be('0x5'));var interaction=require(_0xf0be('0x6'));var config=require(_0xf0be('0x7'));var controller=require('./voiceContext.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xf0be('0x8')]);router['get'](_0xf0be('0x9'),auth[_0xf0be('0xa')](),controller['show']);router[_0xf0be('0xb')]('/',auth[_0xf0be('0xa')](),controller[_0xf0be('0xc')]);router[_0xf0be('0xd')](_0xf0be('0x9'),auth['isAuthenticated'](),controller[_0xf0be('0xe')]);router[_0xf0be('0xf')](_0xf0be('0x9'),auth[_0xf0be('0xa')](),controller[_0xf0be('0x10')]);module['exports']=router; \ No newline at end of file