Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / cmHopper / index.js
index 9c84e71..7107b8c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2183=['get','/describe','/opencontacts','/:id','show','create','getPreview','put','delete','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopper.controller','isAuthenticated','index'];(function(_0x3bdf87,_0x1238a0){var _0x4ccc5f=function(_0x123969){while(--_0x123969){_0x3bdf87['push'](_0x3bdf87['shift']());}};_0x4ccc5f(++_0x1238a0);}(_0x2183,0x15d));var _0x3218=function(_0x4b6aaa,_0x5df37e){_0x4b6aaa=_0x4b6aaa-0x0;var _0x10856f=_0x2183[_0x4b6aaa];return _0x10856f;};'use strict';var multer=require(_0x3218('0x0'));var util=require(_0x3218('0x1'));var path=require('path');var timeout=require(_0x3218('0x2'));var express=require(_0x3218('0x3'));var router=express['Router']();var fs_extra=require(_0x3218('0x4'));var auth=require(_0x3218('0x5'));var interaction=require(_0x3218('0x6'));var config=require(_0x3218('0x7'));var controller=require(_0x3218('0x8'));router['get']('/',auth[_0x3218('0x9')](),controller[_0x3218('0xa')]);router[_0x3218('0xb')](_0x3218('0xc'),auth[_0x3218('0x9')](),controller['describe']);router[_0x3218('0xb')](_0x3218('0xd'),auth[_0x3218('0x9')](),controller['getOpenContacts']);router[_0x3218('0xb')](_0x3218('0xe'),auth[_0x3218('0x9')](),controller[_0x3218('0xf')]);router['post']('/',auth[_0x3218('0x9')](),controller[_0x3218('0x10')]);router['post']('/preview',auth['isAuthenticated'](),controller[_0x3218('0x11')]);router[_0x3218('0x12')](_0x3218('0xe'),auth[_0x3218('0x9')](),controller['update']);router[_0x3218('0x13')](_0x3218('0xe'),auth[_0x3218('0x9')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x7990=['getPreview','/timezone','getTimezone','update','destroy','exports','express','Router','../../components/auth/service','./cmHopper.controller','get','isAuthenticated','index','/describe','describe','getOpenContacts','getTimezones','/:id','show','/:id/previewrecall','getPreviewRecall','post'];(function(_0x24664f,_0x494ee7){var _0x29b597=function(_0x39abc2){while(--_0x39abc2){_0x24664f['push'](_0x24664f['shift']());}};_0x29b597(++_0x494ee7);}(_0x7990,0xa0));var _0x0799=function(_0x4be7d8,_0x494c92){_0x4be7d8=_0x4be7d8-0x0;var _0x5c7fc5=_0x7990[_0x4be7d8];return _0x5c7fc5;};'use strict';var express=require(_0x0799('0x0'));var router=express[_0x0799('0x1')]();var auth=require(_0x0799('0x2'));var controller=require(_0x0799('0x3'));router[_0x0799('0x4')]('/',auth[_0x0799('0x5')](),controller[_0x0799('0x6')]);router[_0x0799('0x4')](_0x0799('0x7'),auth[_0x0799('0x5')](),controller[_0x0799('0x8')]);router[_0x0799('0x4')]('/opencontacts',auth[_0x0799('0x5')](),controller[_0x0799('0x9')]);router[_0x0799('0x4')]('/timezones',auth['isAuthenticated'](),controller[_0x0799('0xa')]);router[_0x0799('0x4')](_0x0799('0xb'),auth[_0x0799('0x5')](),controller[_0x0799('0xc')]);router[_0x0799('0x4')](_0x0799('0xd'),auth[_0x0799('0x5')](),controller[_0x0799('0xe')]);router[_0x0799('0xf')]('/',auth[_0x0799('0x5')](),controller['create']);router[_0x0799('0xf')]('/preview',auth[_0x0799('0x5')](),controller[_0x0799('0x10')]);router[_0x0799('0xf')](_0x0799('0x11'),auth[_0x0799('0x5')](),controller[_0x0799('0x12')]);router['put'](_0x0799('0xb'),auth[_0x0799('0x5')](),controller[_0x0799('0x13')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x0799('0x14')]);module[_0x0799('0x15')]=router;
\ No newline at end of file