Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / cmHopper / index.js
index a89db0e..d531f23 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc14b=['create','post','getPreview','/timezone','/previewrecall','getPreviewRecall','put','/:id','update','delete','exports','multer','util','path','express','fs-extra','../../components/auth/service','../../config/environment','./cmHopper.controller','get','isAuthenticated','index','/describe','describe','/opencontacts','getOpenContacts','/timezones','getTimezones','show'];(function(_0x133f37,_0xfb7c96){var _0x569485=function(_0x50163b){while(--_0x50163b){_0x133f37['push'](_0x133f37['shift']());}};_0x569485(++_0xfb7c96);}(_0xc14b,0xf3));var _0xbc14=function(_0x51de21,_0x2143bb){_0x51de21=_0x51de21-0x0;var _0x11e461=_0xc14b[_0x51de21];return _0x11e461;};'use strict';var multer=require(_0xbc14('0x0'));var util=require(_0xbc14('0x1'));var path=require(_0xbc14('0x2'));var timeout=require('connect-timeout');var express=require(_0xbc14('0x3'));var router=express['Router']();var fs_extra=require(_0xbc14('0x4'));var auth=require(_0xbc14('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xbc14('0x6'));var controller=require(_0xbc14('0x7'));router[_0xbc14('0x8')]('/',auth[_0xbc14('0x9')](),controller[_0xbc14('0xa')]);router['get'](_0xbc14('0xb'),auth[_0xbc14('0x9')](),controller[_0xbc14('0xc')]);router[_0xbc14('0x8')](_0xbc14('0xd'),auth[_0xbc14('0x9')](),controller[_0xbc14('0xe')]);router['get'](_0xbc14('0xf'),auth['isAuthenticated'](),controller[_0xbc14('0x10')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xbc14('0x11')]);router['post']('/',auth['isAuthenticated'](),controller[_0xbc14('0x12')]);router[_0xbc14('0x13')]('/preview',auth[_0xbc14('0x9')](),controller[_0xbc14('0x14')]);router[_0xbc14('0x13')](_0xbc14('0x15'),auth[_0xbc14('0x9')](),controller['getTimezone']);router['post'](_0xbc14('0x16'),auth[_0xbc14('0x9')](),controller[_0xbc14('0x17')]);router[_0xbc14('0x18')](_0xbc14('0x19'),auth[_0xbc14('0x9')](),controller[_0xbc14('0x1a')]);router[_0xbc14('0x1b')]('/:id',auth[_0xbc14('0x9')](),controller['destroy']);module[_0xbc14('0x1c')]=router;
\ No newline at end of file
+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