X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcmHopper%2Findex.js;h=2556657335d238fd8c48fbedfaba506839199149;hb=616b05b12f37a2d91c8e3c0e9817684f8aa283c7;hp=0ed3b7f758564264fe9b3187569368063d9570d7;hpb=da8b5d32823ad8783d3c47a738f61aa66e32f99c;p=motion2.git diff --git a/server/api/cmHopper/index.js b/server/api/cmHopper/index.js index 0ed3b7f..2556657 100644 --- a/server/api/cmHopper/index.js +++ b/server/api/cmHopper/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x62f9=['get','isAuthenticated','index','describe','/opencontacts','getOpenContacts','/:id','create','/preview','getPreview','put','update','destroy','exports','connect-timeout','express','../../components/auth/service','../../config/environment','./cmHopper.controller'];(function(_0x422905,_0x3bce3a){var _0x33dc6c=function(_0x4852c9){while(--_0x4852c9){_0x422905['push'](_0x422905['shift']());}};_0x33dc6c(++_0x3bce3a);}(_0x62f9,0x80));var _0x962f=function(_0x3a60b8,_0x47caab){_0x3a60b8=_0x3a60b8-0x0;var _0x4eb583=_0x62f9[_0x3a60b8];return _0x4eb583;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x962f('0x0'));var express=require(_0x962f('0x1'));var router=express['Router']();var auth=require(_0x962f('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0x962f('0x3'));var controller=require(_0x962f('0x4'));router[_0x962f('0x5')]('/',auth[_0x962f('0x6')](),controller[_0x962f('0x7')]);router[_0x962f('0x5')]('/describe',auth[_0x962f('0x6')](),controller[_0x962f('0x8')]);router[_0x962f('0x5')](_0x962f('0x9'),auth['isAuthenticated'](),controller[_0x962f('0xa')]);router[_0x962f('0x5')](_0x962f('0xb'),auth[_0x962f('0x6')](),controller['show']);router['post']('/',auth[_0x962f('0x6')](),controller[_0x962f('0xc')]);router['post'](_0x962f('0xd'),auth[_0x962f('0x6')](),controller[_0x962f('0xe')]);router[_0x962f('0xf')](_0x962f('0xb'),auth[_0x962f('0x6')](),controller[_0x962f('0x10')]);router['delete'](_0x962f('0xb'),auth[_0x962f('0x6')](),controller[_0x962f('0x11')]);module[_0x962f('0x12')]=router; \ No newline at end of file +var _0xcac2=['get','isAuthenticated','index','/describe','describe','/:id','post','getPreview','put','delete','destroy','exports','multer','util','path','express','Router'];(function(_0x488bc9,_0x58e3da){var _0x5d86e0=function(_0x1e634d){while(--_0x1e634d){_0x488bc9['push'](_0x488bc9['shift']());}};_0x5d86e0(++_0x58e3da);}(_0xcac2,0x1e8));var _0x2cac=function(_0x179b72,_0x46715b){_0x179b72=_0x179b72-0x0;var _0x384b43=_0xcac2[_0x179b72];return _0x384b43;};'use strict';var multer=require(_0x2cac('0x0'));var util=require(_0x2cac('0x1'));var path=require(_0x2cac('0x2'));var timeout=require('connect-timeout');var express=require(_0x2cac('0x3'));var router=express[_0x2cac('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./cmHopper.controller');router[_0x2cac('0x5')]('/',auth[_0x2cac('0x6')](),controller[_0x2cac('0x7')]);router[_0x2cac('0x5')](_0x2cac('0x8'),auth[_0x2cac('0x6')](),controller[_0x2cac('0x9')]);router['get']('/opencontacts',auth[_0x2cac('0x6')](),controller['getOpenContacts']);router[_0x2cac('0x5')](_0x2cac('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x2cac('0xb')]('/',auth[_0x2cac('0x6')](),controller['create']);router[_0x2cac('0xb')]('/preview',auth[_0x2cac('0x6')](),controller[_0x2cac('0xc')]);router[_0x2cac('0xd')](_0x2cac('0xa'),auth[_0x2cac('0x6')](),controller['update']);router[_0x2cac('0xe')](_0x2cac('0xa'),auth['isAuthenticated'](),controller[_0x2cac('0xf')]);module[_0x2cac('0x10')]=router; \ No newline at end of file