Built motion from commit db94841.|2.5.3
[motion2.git] / server / api / cmList / index.js
index 2b7604b..8acdd63 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x79ff=['put','update','delete','destroy','removeDispositions','removeAgents','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./cmList.controller','get','/describe','describe','/:id','isAuthenticated','show','/:id/dispositions','getDispositions','/:id/contacts','getContactsCsv','/:id/fields','/:id/users','getAgents','post','create','addDisposition','addContacts','addCustomField'];(function(_0x1cc8fe,_0x105328){var _0x230054=function(_0x1a1b56){while(--_0x1a1b56){_0x1cc8fe['push'](_0x1cc8fe['shift']());}};_0x230054(++_0x105328);}(_0x79ff,0xac));var _0xf79f=function(_0x1ab0e6,_0x17ba8d){_0x1ab0e6=_0x1ab0e6-0x0;var _0x248815=_0x79ff[_0x1ab0e6];return _0x248815;};'use strict';var multer=require(_0xf79f('0x0'));var util=require(_0xf79f('0x1'));var path=require(_0xf79f('0x2'));var timeout=require(_0xf79f('0x3'));var express=require('express');var router=express[_0xf79f('0x4')]();var auth=require(_0xf79f('0x5'));var interaction=require(_0xf79f('0x6'));var config=require('../../config/environment');var controller=require(_0xf79f('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xf79f('0x8')](_0xf79f('0x9'),auth['isAuthenticated'](),controller[_0xf79f('0xa')]);router[_0xf79f('0x8')](_0xf79f('0xb'),auth[_0xf79f('0xc')](),controller[_0xf79f('0xd')]);router['get'](_0xf79f('0xe'),auth[_0xf79f('0xc')](),controller[_0xf79f('0xf')]);router['get'](_0xf79f('0x10'),auth[_0xf79f('0xc')](),controller['getContacts']);router[_0xf79f('0x8')]('/:id/contacts/csv',auth[_0xf79f('0xc')](),controller[_0xf79f('0x11')]);router[_0xf79f('0x8')](_0xf79f('0x12'),auth[_0xf79f('0xc')](),controller['getCustomFields']);router[_0xf79f('0x8')](_0xf79f('0x13'),auth[_0xf79f('0xc')](),controller[_0xf79f('0x14')]);router[_0xf79f('0x15')]('/',auth['isAuthenticated'](),controller[_0xf79f('0x16')]);router[_0xf79f('0x15')]('/:id/dispositions',auth[_0xf79f('0xc')](),controller[_0xf79f('0x17')]);router[_0xf79f('0x15')](_0xf79f('0x10'),auth[_0xf79f('0xc')](),controller[_0xf79f('0x18')]);router[_0xf79f('0x15')]('/:id/fields',auth['isAuthenticated'](),controller[_0xf79f('0x19')]);router['post'](_0xf79f('0x13'),auth[_0xf79f('0xc')](),controller['addAgents']);router[_0xf79f('0x1a')](_0xf79f('0xb'),auth['isAuthenticated'](),controller[_0xf79f('0x1b')]);router[_0xf79f('0x1c')](_0xf79f('0xb'),auth[_0xf79f('0xc')](),controller[_0xf79f('0x1d')]);router[_0xf79f('0x1c')](_0xf79f('0xe'),auth[_0xf79f('0xc')](),controller[_0xf79f('0x1e')]);router[_0xf79f('0x1c')](_0xf79f('0x13'),auth[_0xf79f('0xc')](),controller[_0xf79f('0x1f')]);module[_0xf79f('0x20')]=router;
\ No newline at end of file
+var _0x42a3=['addContacts','addAgents','put','update','delete','destroy','removeDispositions','/:id/users','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','getDispositions','/:id/contacts','getContacts','/:id/contacts/csv','/:id/fields','getCustomFields','getAgents','create','post','/:id/dispositions','addDisposition'];(function(_0x516bf4,_0x3c5330){var _0x4283b0=function(_0x5a738a){while(--_0x5a738a){_0x516bf4['push'](_0x516bf4['shift']());}};_0x4283b0(++_0x3c5330);}(_0x42a3,0x132));var _0x342a=function(_0x521429,_0x3a846d){_0x521429=_0x521429-0x0;var _0x45b35b=_0x42a3[_0x521429];return _0x45b35b;};'use strict';var multer=require(_0x342a('0x0'));var util=require('util');var path=require(_0x342a('0x1'));var timeout=require('connect-timeout');var express=require(_0x342a('0x2'));var router=express[_0x342a('0x3')]();var auth=require(_0x342a('0x4'));var interaction=require(_0x342a('0x5'));var config=require(_0x342a('0x6'));var controller=require('./cmList.controller');router[_0x342a('0x7')]('/',auth[_0x342a('0x8')](),controller[_0x342a('0x9')]);router[_0x342a('0x7')](_0x342a('0xa'),auth[_0x342a('0x8')](),controller[_0x342a('0xb')]);router[_0x342a('0x7')](_0x342a('0xc'),auth[_0x342a('0x8')](),controller['show']);router[_0x342a('0x7')]('/:id/dispositions',auth[_0x342a('0x8')](),controller[_0x342a('0xd')]);router[_0x342a('0x7')](_0x342a('0xe'),auth[_0x342a('0x8')](),controller[_0x342a('0xf')]);router[_0x342a('0x7')](_0x342a('0x10'),auth[_0x342a('0x8')](),controller['getContactsCsv']);router[_0x342a('0x7')](_0x342a('0x11'),auth['isAuthenticated'](),controller[_0x342a('0x12')]);router[_0x342a('0x7')]('/:id/users',auth[_0x342a('0x8')](),controller[_0x342a('0x13')]);router['post']('/',auth[_0x342a('0x8')](),controller[_0x342a('0x14')]);router[_0x342a('0x15')](_0x342a('0x16'),auth[_0x342a('0x8')](),controller[_0x342a('0x17')]);router[_0x342a('0x15')]('/:id/contacts',auth[_0x342a('0x8')](),controller[_0x342a('0x18')]);router[_0x342a('0x15')]('/:id/fields',auth[_0x342a('0x8')](),controller['addCustomField']);router[_0x342a('0x15')]('/:id/users',auth[_0x342a('0x8')](),controller[_0x342a('0x19')]);router[_0x342a('0x1a')](_0x342a('0xc'),auth[_0x342a('0x8')](),controller[_0x342a('0x1b')]);router[_0x342a('0x1c')](_0x342a('0xc'),auth['isAuthenticated'](),controller[_0x342a('0x1d')]);router[_0x342a('0x1c')](_0x342a('0x16'),auth[_0x342a('0x8')](),controller[_0x342a('0x1e')]);router['delete'](_0x342a('0x1f'),auth[_0x342a('0x8')](),controller['removeAgents']);module[_0x342a('0x20')]=router;
\ No newline at end of file