Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / cmHopper / index.js
index d531f23..7541fa9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb769=['describe','/opencontacts','getOpenContacts','/timezones','getTimezones','/:id','/:id/previewrecall','post','create','/preview','getPreview','/timezone','getTimezone','put','update','delete','destroy','Router','./cmHopper.controller','get','index','/describe','isAuthenticated'];(function(_0x25d525,_0x22a10e){var _0x276084=function(_0x2f559b){while(--_0x2f559b){_0x25d525['push'](_0x25d525['shift']());}};_0x276084(++_0x22a10e);}(_0xb769,0x6d));var _0x9b76=function(_0xa0732d,_0x2ad0f9){_0xa0732d=_0xa0732d-0x0;var _0x252245=_0xb769[_0xa0732d];return _0x252245;};'use strict';var express=require('express');var router=express[_0x9b76('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0x9b76('0x1'));router[_0x9b76('0x2')]('/',auth['isAuthenticated'](),controller[_0x9b76('0x3')]);router[_0x9b76('0x2')](_0x9b76('0x4'),auth[_0x9b76('0x5')](),controller[_0x9b76('0x6')]);router[_0x9b76('0x2')](_0x9b76('0x7'),auth[_0x9b76('0x5')](),controller[_0x9b76('0x8')]);router[_0x9b76('0x2')](_0x9b76('0x9'),auth[_0x9b76('0x5')](),controller[_0x9b76('0xa')]);router[_0x9b76('0x2')](_0x9b76('0xb'),auth[_0x9b76('0x5')](),controller['show']);router[_0x9b76('0x2')](_0x9b76('0xc'),auth[_0x9b76('0x5')](),controller['getPreviewRecall']);router[_0x9b76('0xd')]('/',auth[_0x9b76('0x5')](),controller[_0x9b76('0xe')]);router[_0x9b76('0xd')](_0x9b76('0xf'),auth[_0x9b76('0x5')](),controller[_0x9b76('0x10')]);router[_0x9b76('0xd')](_0x9b76('0x11'),auth[_0x9b76('0x5')](),controller[_0x9b76('0x12')]);router[_0x9b76('0x13')]('/:id',auth[_0x9b76('0x5')](),controller[_0x9b76('0x14')]);router[_0x9b76('0x15')]('/:id',auth[_0x9b76('0x5')](),controller[_0x9b76('0x16')]);module['exports']=router;
\ No newline at end of file
+var _0x1701=['post','create','/preview','getPreview','getTimezone','put','update','delete','exports','express','../../components/auth/service','./cmHopper.controller','isAuthenticated','index','/describe','describe','getOpenContacts','/timezones','get','/:id','show','/:id/previewrecall'];(function(_0x3319fb,_0x5ca452){var _0x114104=function(_0x10bfec){while(--_0x10bfec){_0x3319fb['push'](_0x3319fb['shift']());}};_0x114104(++_0x5ca452);}(_0x1701,0x1ab));var _0x1170=function(_0x185e6f,_0x1d58b9){_0x185e6f=_0x185e6f-0x0;var _0x3d5f3a=_0x1701[_0x185e6f];return _0x3d5f3a;};'use strict';var express=require(_0x1170('0x0'));var router=express['Router']();var auth=require(_0x1170('0x1'));var controller=require(_0x1170('0x2'));router['get']('/',auth[_0x1170('0x3')](),controller[_0x1170('0x4')]);router['get'](_0x1170('0x5'),auth[_0x1170('0x3')](),controller[_0x1170('0x6')]);router['get']('/opencontacts',auth[_0x1170('0x3')](),controller[_0x1170('0x7')]);router['get'](_0x1170('0x8'),auth[_0x1170('0x3')](),controller['getTimezones']);router[_0x1170('0x9')](_0x1170('0xa'),auth[_0x1170('0x3')](),controller[_0x1170('0xb')]);router[_0x1170('0x9')](_0x1170('0xc'),auth[_0x1170('0x3')](),controller['getPreviewRecall']);router[_0x1170('0xd')]('/',auth[_0x1170('0x3')](),controller[_0x1170('0xe')]);router[_0x1170('0xd')](_0x1170('0xf'),auth['isAuthenticated'](),controller[_0x1170('0x10')]);router['post']('/timezone',auth['isAuthenticated'](),controller[_0x1170('0x11')]);router[_0x1170('0x12')](_0x1170('0xa'),auth[_0x1170('0x3')](),controller[_0x1170('0x13')]);router[_0x1170('0x14')](_0x1170('0xa'),auth[_0x1170('0x3')](),controller['destroy']);module[_0x1170('0x15')]=router;
\ No newline at end of file