Built motion from commit fade34fd.|2.5.41
[motion2.git] / server / api / cmHopper / index.js
index aa3f8ec..1845f0f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfb6c=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmHopper.controller','get','isAuthenticated','index','/describe','describe','/opencontacts','/:id','show','post','getPreview','/previewrecall','getPreviewRecall','put','update','destroy','multer','util','path','connect-timeout'];(function(_0xa671af,_0x254a19){var _0x1eac8e=function(_0x217caf){while(--_0x217caf){_0xa671af['push'](_0xa671af['shift']());}};_0x1eac8e(++_0x254a19);}(_0xfb6c,0xe6));var _0xcfb6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xfb6c[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xcfb6('0x0'));var util=require(_0xcfb6('0x1'));var path=require(_0xcfb6('0x2'));var timeout=require(_0xcfb6('0x3'));var express=require(_0xcfb6('0x4'));var router=express[_0xcfb6('0x5')]();var fs_extra=require(_0xcfb6('0x6'));var auth=require(_0xcfb6('0x7'));var interaction=require(_0xcfb6('0x8'));var config=require(_0xcfb6('0x9'));var controller=require(_0xcfb6('0xa'));router[_0xcfb6('0xb')]('/',auth[_0xcfb6('0xc')](),controller[_0xcfb6('0xd')]);router['get'](_0xcfb6('0xe'),auth[_0xcfb6('0xc')](),controller[_0xcfb6('0xf')]);router['get'](_0xcfb6('0x10'),auth[_0xcfb6('0xc')](),controller['getOpenContacts']);router[_0xcfb6('0xb')](_0xcfb6('0x11'),auth[_0xcfb6('0xc')](),controller[_0xcfb6('0x12')]);router[_0xcfb6('0x13')]('/',auth['isAuthenticated'](),controller['create']);router[_0xcfb6('0x13')]('/preview',auth[_0xcfb6('0xc')](),controller[_0xcfb6('0x14')]);router[_0xcfb6('0x13')](_0xcfb6('0x15'),auth[_0xcfb6('0xc')](),controller[_0xcfb6('0x16')]);router[_0xcfb6('0x17')]('/:id',auth[_0xcfb6('0xc')](),controller[_0xcfb6('0x18')]);router['delete'](_0xcfb6('0x11'),auth[_0xcfb6('0xc')](),controller[_0xcfb6('0x19')]);module['exports']=router;
\ No newline at end of file
+var _0x8f91=['../../components/auth/service','../../config/environment','get','index','/describe','isAuthenticated','/opencontacts','getOpenContacts','show','post','create','/previewrecall','/:id','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x8f91,0x6d));var _0x18f9=function(_0x39d8cb,_0x4222c2){_0x39d8cb=_0x39d8cb-0x0;var _0x3e6e93=_0x8f91[_0x39d8cb];return _0x3e6e93;};'use strict';var multer=require('multer');var util=require(_0x18f9('0x0'));var path=require(_0x18f9('0x1'));var timeout=require(_0x18f9('0x2'));var express=require(_0x18f9('0x3'));var router=express[_0x18f9('0x4')]();var fs_extra=require(_0x18f9('0x5'));var auth=require(_0x18f9('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x18f9('0x7'));var controller=require('./cmHopper.controller');router[_0x18f9('0x8')]('/',auth['isAuthenticated'](),controller[_0x18f9('0x9')]);router['get'](_0x18f9('0xa'),auth[_0x18f9('0xb')](),controller['describe']);router[_0x18f9('0x8')](_0x18f9('0xc'),auth[_0x18f9('0xb')](),controller[_0x18f9('0xd')]);router[_0x18f9('0x8')]('/:id',auth[_0x18f9('0xb')](),controller[_0x18f9('0xe')]);router[_0x18f9('0xf')]('/',auth[_0x18f9('0xb')](),controller[_0x18f9('0x10')]);router[_0x18f9('0xf')]('/preview',auth[_0x18f9('0xb')](),controller['getPreview']);router['post'](_0x18f9('0x11'),auth[_0x18f9('0xb')](),controller['getPreviewRecall']);router['put'](_0x18f9('0x12'),auth['isAuthenticated'](),controller[_0x18f9('0x13')]);router[_0x18f9('0x14')]('/:id',auth['isAuthenticated'](),controller[_0x18f9('0x15')]);module[_0x18f9('0x16')]=router;
\ No newline at end of file