Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / cmHopper / index.js
index aa21bbc..b9b6444 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2d6e=['../../components/interaction/service','./cmHopper.controller','get','index','/describe','describe','/opencontacts','isAuthenticated','getOpenContacts','getTimezones','/:id','show','create','post','/preview','getPreview','/timezone','getTimezone','/previewrecall','put','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service'];(function(_0x17f145,_0x3422bb){var _0x2d5420=function(_0x3eb38b){while(--_0x3eb38b){_0x17f145['push'](_0x17f145['shift']());}};_0x2d5420(++_0x3422bb);}(_0x2d6e,0x107));var _0xe2d6=function(_0x2b2997,_0x3deab6){_0x2b2997=_0x2b2997-0x0;var _0x37e1f2=_0x2d6e[_0x2b2997];return _0x37e1f2;};'use strict';var multer=require(_0xe2d6('0x0'));var util=require(_0xe2d6('0x1'));var path=require(_0xe2d6('0x2'));var timeout=require('connect-timeout');var express=require(_0xe2d6('0x3'));var router=express[_0xe2d6('0x4')]();var fs_extra=require(_0xe2d6('0x5'));var auth=require(_0xe2d6('0x6'));var interaction=require(_0xe2d6('0x7'));var config=require('../../config/environment');var controller=require(_0xe2d6('0x8'));router[_0xe2d6('0x9')]('/',auth['isAuthenticated'](),controller[_0xe2d6('0xa')]);router['get'](_0xe2d6('0xb'),auth['isAuthenticated'](),controller[_0xe2d6('0xc')]);router[_0xe2d6('0x9')](_0xe2d6('0xd'),auth[_0xe2d6('0xe')](),controller[_0xe2d6('0xf')]);router[_0xe2d6('0x9')]('/timezones',auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x10')]);router[_0xe2d6('0x9')](_0xe2d6('0x11'),auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x12')]);router['post']('/',auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x13')]);router[_0xe2d6('0x14')](_0xe2d6('0x15'),auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x16')]);router[_0xe2d6('0x14')](_0xe2d6('0x17'),auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x18')]);router['post'](_0xe2d6('0x19'),auth['isAuthenticated'](),controller['getPreviewRecall']);router[_0xe2d6('0x1a')](_0xe2d6('0x11'),auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x1b')]);router[_0xe2d6('0x1c')]('/:id',auth[_0xe2d6('0xe')](),controller[_0xe2d6('0x1d')]);module['exports']=router;
\ No newline at end of file
+var _0x754a=['destroy','exports','Router','../../components/auth/service','./cmHopper.controller','get','index','/describe','isAuthenticated','describe','/opencontacts','/timezones','/:id','show','/:id/previewrecall','post','create','getPreview','/timezone','getTimezone','put','update','delete'];(function(_0x1a24e2,_0x354636){var _0x184e12=function(_0x1196c4){while(--_0x1196c4){_0x1a24e2['push'](_0x1a24e2['shift']());}};_0x184e12(++_0x354636);}(_0x754a,0x8c));var _0xa754=function(_0x5f09c5,_0x2bfca0){_0x5f09c5=_0x5f09c5-0x0;var _0x426ad9=_0x754a[_0x5f09c5];return _0x426ad9;};'use strict';var express=require('express');var router=express[_0xa754('0x0')]();var auth=require(_0xa754('0x1'));var controller=require(_0xa754('0x2'));router[_0xa754('0x3')]('/',auth['isAuthenticated'](),controller[_0xa754('0x4')]);router[_0xa754('0x3')](_0xa754('0x5'),auth[_0xa754('0x6')](),controller[_0xa754('0x7')]);router['get'](_0xa754('0x8'),auth[_0xa754('0x6')](),controller['getOpenContacts']);router['get'](_0xa754('0x9'),auth[_0xa754('0x6')](),controller['getTimezones']);router[_0xa754('0x3')](_0xa754('0xa'),auth[_0xa754('0x6')](),controller[_0xa754('0xb')]);router[_0xa754('0x3')](_0xa754('0xc'),auth[_0xa754('0x6')](),controller['getPreviewRecall']);router[_0xa754('0xd')]('/',auth['isAuthenticated'](),controller[_0xa754('0xe')]);router[_0xa754('0xd')]('/preview',auth[_0xa754('0x6')](),controller[_0xa754('0xf')]);router[_0xa754('0xd')](_0xa754('0x10'),auth['isAuthenticated'](),controller[_0xa754('0x11')]);router[_0xa754('0x12')]('/:id',auth[_0xa754('0x6')](),controller[_0xa754('0x13')]);router[_0xa754('0x14')]('/:id',auth[_0xa754('0x6')](),controller[_0xa754('0x15')]);module[_0xa754('0x16')]=router;
\ No newline at end of file