X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcmList%2Findex.js;h=fa0faab03d8be6dec1b67684b4642814598ceb34;hb=3b98a30f4ada10cd5d8b95df3555955dc5830a8a;hp=e299d8747f6178bf867075e9e421cf4d7db4f51d;hpb=fef0b697be1412fa067cb7edc64691337a3866f3;p=motion2.git diff --git a/server/api/cmList/index.js b/server/api/cmList/index.js index e299d87..fa0faab 100644 --- a/server/api/cmList/index.js +++ b/server/api/cmList/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf0d8=['addAgents','/:id','delete','destroy','removeDispositions','removeAgents','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmList.controller','get','index','/describe','isAuthenticated','describe','show','/:id/dispositions','getDispositions','/:id/contacts','getContacts','/:id/contacts/csv','getContactsCsv','getCustomFields','/:id/users','getAgents','post','create','addDisposition','addContacts','/:id/fields','addCustomField'];(function(_0x27a227,_0x939e34){var _0x3418ce=function(_0x56f932){while(--_0x56f932){_0x27a227['push'](_0x27a227['shift']());}};_0x3418ce(++_0x939e34);}(_0xf0d8,0x111));var _0x8f0d=function(_0x1878c2,_0x4d409d){_0x1878c2=_0x1878c2-0x0;var _0x1871f3=_0xf0d8[_0x1878c2];return _0x1871f3;};'use strict';var multer=require(_0x8f0d('0x0'));var util=require(_0x8f0d('0x1'));var path=require(_0x8f0d('0x2'));var timeout=require('connect-timeout');var express=require(_0x8f0d('0x3'));var router=express[_0x8f0d('0x4')]();var fs_extra=require(_0x8f0d('0x5'));var auth=require(_0x8f0d('0x6'));var interaction=require(_0x8f0d('0x7'));var config=require(_0x8f0d('0x8'));var controller=require(_0x8f0d('0x9'));router[_0x8f0d('0xa')]('/',auth['isAuthenticated'](),controller[_0x8f0d('0xb')]);router[_0x8f0d('0xa')](_0x8f0d('0xc'),auth[_0x8f0d('0xd')](),controller[_0x8f0d('0xe')]);router['get']('/:id',auth[_0x8f0d('0xd')](),controller[_0x8f0d('0xf')]);router[_0x8f0d('0xa')](_0x8f0d('0x10'),auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x11')]);router[_0x8f0d('0xa')](_0x8f0d('0x12'),auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x13')]);router[_0x8f0d('0xa')](_0x8f0d('0x14'),auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x15')]);router[_0x8f0d('0xa')]('/:id/fields',auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x16')]);router[_0x8f0d('0xa')](_0x8f0d('0x17'),auth['isAuthenticated'](),controller[_0x8f0d('0x18')]);router[_0x8f0d('0x19')]('/',auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x1a')]);router[_0x8f0d('0x19')]('/:id/dispositions',auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x1b')]);router[_0x8f0d('0x19')](_0x8f0d('0x12'),auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x1c')]);router[_0x8f0d('0x19')](_0x8f0d('0x1d'),auth['isAuthenticated'](),controller[_0x8f0d('0x1e')]);router[_0x8f0d('0x19')](_0x8f0d('0x17'),auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x1f')]);router['put'](_0x8f0d('0x20'),auth['isAuthenticated'](),controller['update']);router[_0x8f0d('0x21')](_0x8f0d('0x20'),auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x22')]);router[_0x8f0d('0x21')](_0x8f0d('0x10'),auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x23')]);router[_0x8f0d('0x21')](_0x8f0d('0x17'),auth[_0x8f0d('0xd')](),controller[_0x8f0d('0x24')]);module[_0x8f0d('0x25')]=router; \ No newline at end of file +var _0xb48d=['express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','describe','/:id','/:id/dispositions','/:id/contacts','/:id/contacts/csv','getContactsCsv','/:id/fields','getCustomFields','getAgents','post','create','addDisposition','addCustomField','addAgents','put','update','delete','destroy','/:id/users','multer','path'];(function(_0x2bcb75,_0x5789a7){var _0x175345=function(_0x3a7d41){while(--_0x3a7d41){_0x2bcb75['push'](_0x2bcb75['shift']());}};_0x175345(++_0x5789a7);}(_0xb48d,0x194));var _0xdb48=function(_0x39d544,_0x35c14f){_0x39d544=_0x39d544-0x0;var _0x5a5ff2=_0xb48d[_0x39d544];return _0x5a5ff2;};'use strict';var multer=require(_0xdb48('0x0'));var util=require('util');var path=require(_0xdb48('0x1'));var timeout=require('connect-timeout');var express=require(_0xdb48('0x2'));var router=express[_0xdb48('0x3')]();var fs_extra=require(_0xdb48('0x4'));var auth=require(_0xdb48('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xdb48('0x6'));var controller=require('./cmList.controller');router[_0xdb48('0x7')]('/',auth[_0xdb48('0x8')](),controller[_0xdb48('0x9')]);router['get']('/describe',auth[_0xdb48('0x8')](),controller[_0xdb48('0xa')]);router['get'](_0xdb48('0xb'),auth[_0xdb48('0x8')](),controller['show']);router[_0xdb48('0x7')](_0xdb48('0xc'),auth['isAuthenticated'](),controller['getDispositions']);router[_0xdb48('0x7')](_0xdb48('0xd'),auth[_0xdb48('0x8')](),controller['getContacts']);router[_0xdb48('0x7')](_0xdb48('0xe'),auth['isAuthenticated'](),controller[_0xdb48('0xf')]);router[_0xdb48('0x7')](_0xdb48('0x10'),auth[_0xdb48('0x8')](),controller[_0xdb48('0x11')]);router[_0xdb48('0x7')]('/:id/users',auth[_0xdb48('0x8')](),controller[_0xdb48('0x12')]);router[_0xdb48('0x13')]('/',auth['isAuthenticated'](),controller[_0xdb48('0x14')]);router['post'](_0xdb48('0xc'),auth[_0xdb48('0x8')](),controller[_0xdb48('0x15')]);router[_0xdb48('0x13')](_0xdb48('0xd'),auth['isAuthenticated'](),controller['addContacts']);router[_0xdb48('0x13')](_0xdb48('0x10'),auth['isAuthenticated'](),controller[_0xdb48('0x16')]);router[_0xdb48('0x13')]('/:id/users',auth['isAuthenticated'](),controller[_0xdb48('0x17')]);router[_0xdb48('0x18')](_0xdb48('0xb'),auth['isAuthenticated'](),controller[_0xdb48('0x19')]);router[_0xdb48('0x1a')]('/:id',auth[_0xdb48('0x8')](),controller[_0xdb48('0x1b')]);router[_0xdb48('0x1a')](_0xdb48('0xc'),auth[_0xdb48('0x8')](),controller['removeDispositions']);router[_0xdb48('0x1a')](_0xdb48('0x1c'),auth[_0xdb48('0x8')](),controller['removeAgents']);module['exports']=router; \ No newline at end of file