X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcmHopper%2Findex.js;h=aa21bbc99ed57c83f35ead343dd15a54005a278f;hb=07b7b3200d171aa6bbc6fe2ed92b6ea789d6486c;hp=15b8178d3dc85324034f4d6c7a307badc5b3cd59;hpb=cc5ed542bde40ef5cb950540b6a10b4f2d3f9dc8;p=motion2.git diff --git a/server/api/cmHopper/index.js b/server/api/cmHopper/index.js index 15b8178..aa21bbc 100644 --- a/server/api/cmHopper/index.js +++ b/server/api/cmHopper/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x905c=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','/opencontacts','getOpenContacts','/timezones','/:id','show','post','create','/preview','getPreviewRecall','put','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x59eb82,_0x47102a){var _0x1362e2=function(_0xf74418){while(--_0xf74418){_0x59eb82['push'](_0x59eb82['shift']());}};_0x1362e2(++_0x47102a);}(_0x905c,0x14e));var _0xc905=function(_0x190735,_0x57a739){_0x190735=_0x190735-0x0;var _0x4c1b93=_0x905c[_0x190735];return _0x4c1b93;};'use strict';var multer=require(_0xc905('0x0'));var util=require(_0xc905('0x1'));var path=require(_0xc905('0x2'));var timeout=require(_0xc905('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xc905('0x4'));var auth=require(_0xc905('0x5'));var interaction=require(_0xc905('0x6'));var config=require(_0xc905('0x7'));var controller=require('./cmHopper.controller');router[_0xc905('0x8')]('/',auth[_0xc905('0x9')](),controller[_0xc905('0xa')]);router[_0xc905('0x8')](_0xc905('0xb'),auth[_0xc905('0x9')](),controller['describe']);router[_0xc905('0x8')](_0xc905('0xc'),auth[_0xc905('0x9')](),controller[_0xc905('0xd')]);router[_0xc905('0x8')](_0xc905('0xe'),auth[_0xc905('0x9')](),controller['getTimezones']);router[_0xc905('0x8')](_0xc905('0xf'),auth[_0xc905('0x9')](),controller[_0xc905('0x10')]);router[_0xc905('0x11')]('/',auth[_0xc905('0x9')](),controller[_0xc905('0x12')]);router['post'](_0xc905('0x13'),auth[_0xc905('0x9')](),controller['getPreview']);router[_0xc905('0x11')]('/timezone',auth[_0xc905('0x9')](),controller['getTimezone']);router[_0xc905('0x11')]('/previewrecall',auth[_0xc905('0x9')](),controller[_0xc905('0x14')]);router[_0xc905('0x15')](_0xc905('0xf'),auth[_0xc905('0x9')](),controller[_0xc905('0x16')]);router[_0xc905('0x17')](_0xc905('0xf'),auth[_0xc905('0x9')](),controller[_0xc905('0x18')]);module[_0xc905('0x19')]=router; \ No newline at end of file +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