Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / cmList / index.js
index 9e8d9b8..fd700c5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xac9e=['getContacts','/:id/contacts/csv','getContactsCsv','/:id/users','getAgents','post','create','/:id/dispositions','addDisposition','addContacts','/:id/fields','addCustomField','addAgents','put','/:id','update','delete','destroy','removeDispositions','removeAgents','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./cmList.controller','get','isAuthenticated','/describe','/global_fields','show','getDispositions','/:id/contacts'];(function(_0x17c3f5,_0x28cfe7){var _0x4b7da2=function(_0x32e1bc){while(--_0x32e1bc){_0x17c3f5['push'](_0x17c3f5['shift']());}};_0x4b7da2(++_0x28cfe7);}(_0xac9e,0x1b9));var _0xeac9=function(_0x45b96e,_0x478605){_0x45b96e=_0x45b96e-0x0;var _0x5686e1=_0xac9e[_0x45b96e];return _0x5686e1;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xeac9('0x0'));var timeout=require(_0xeac9('0x1'));var express=require(_0xeac9('0x2'));var router=express[_0xeac9('0x3')]();var fs_extra=require(_0xeac9('0x4'));var auth=require(_0xeac9('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xeac9('0x6'));router[_0xeac9('0x7')]('/',auth[_0xeac9('0x8')](),controller['index']);router[_0xeac9('0x7')](_0xeac9('0x9'),auth[_0xeac9('0x8')](),controller['describe']);router[_0xeac9('0x7')](_0xeac9('0xa'),auth[_0xeac9('0x8')](),controller['getGlobalCustomFields']);router[_0xeac9('0x7')]('/:id',auth[_0xeac9('0x8')](),controller[_0xeac9('0xb')]);router[_0xeac9('0x7')]('/:id/dispositions',auth[_0xeac9('0x8')](),controller[_0xeac9('0xc')]);router['get'](_0xeac9('0xd'),auth[_0xeac9('0x8')](),controller[_0xeac9('0xe')]);router[_0xeac9('0x7')](_0xeac9('0xf'),auth['isAuthenticated'](),controller[_0xeac9('0x10')]);router[_0xeac9('0x7')]('/:id/fields',auth[_0xeac9('0x8')](),controller['getCustomFields']);router['get'](_0xeac9('0x11'),auth[_0xeac9('0x8')](),controller[_0xeac9('0x12')]);router[_0xeac9('0x13')]('/',auth[_0xeac9('0x8')](),controller[_0xeac9('0x14')]);router[_0xeac9('0x13')](_0xeac9('0x15'),auth[_0xeac9('0x8')](),controller[_0xeac9('0x16')]);router['post']('/:id/contacts',auth[_0xeac9('0x8')](),controller[_0xeac9('0x17')]);router[_0xeac9('0x13')](_0xeac9('0x18'),auth[_0xeac9('0x8')](),controller[_0xeac9('0x19')]);router[_0xeac9('0x13')](_0xeac9('0x11'),auth[_0xeac9('0x8')](),controller[_0xeac9('0x1a')]);router[_0xeac9('0x1b')](_0xeac9('0x1c'),auth[_0xeac9('0x8')](),controller[_0xeac9('0x1d')]);router[_0xeac9('0x1e')]('/:id',auth['isAuthenticated'](),controller[_0xeac9('0x1f')]);router['delete'](_0xeac9('0x15'),auth[_0xeac9('0x8')](),controller[_0xeac9('0x20')]);router['delete'](_0xeac9('0x11'),auth[_0xeac9('0x8')](),controller[_0xeac9('0x21')]);module[_0xeac9('0x22')]=router;
\ No newline at end of file
+var _0x7cb2=['isAuthenticated','index','get','/describe','describe','/global_fields','/:id','show','/:id/dispositions','getDispositions','getContacts','/:id/contacts/csv','getContactsCsv','getCustomFields','/:id/users','getAgents','post','create','addDisposition','addContacts','addCustomField','addAgents','put','delete','removeDispositions','removeAgents','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./cmList.controller'];(function(_0x251d9c,_0x580977){var _0x16ae64=function(_0x4d3b53){while(--_0x4d3b53){_0x251d9c['push'](_0x251d9c['shift']());}};_0x16ae64(++_0x580977);}(_0x7cb2,0x178));var _0x27cb=function(_0x50e501,_0x3327d0){_0x50e501=_0x50e501-0x0;var _0x17d4b7=_0x7cb2[_0x50e501];return _0x17d4b7;};'use strict';var multer=require('multer');var util=require(_0x27cb('0x0'));var path=require(_0x27cb('0x1'));var timeout=require(_0x27cb('0x2'));var express=require(_0x27cb('0x3'));var router=express[_0x27cb('0x4')]();var fs_extra=require(_0x27cb('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x27cb('0x6'));var config=require(_0x27cb('0x7'));var controller=require(_0x27cb('0x8'));router['get']('/',auth[_0x27cb('0x9')](),controller[_0x27cb('0xa')]);router[_0x27cb('0xb')](_0x27cb('0xc'),auth['isAuthenticated'](),controller[_0x27cb('0xd')]);router['get'](_0x27cb('0xe'),auth[_0x27cb('0x9')](),controller['getGlobalCustomFields']);router[_0x27cb('0xb')](_0x27cb('0xf'),auth[_0x27cb('0x9')](),controller[_0x27cb('0x10')]);router[_0x27cb('0xb')](_0x27cb('0x11'),auth[_0x27cb('0x9')](),controller[_0x27cb('0x12')]);router[_0x27cb('0xb')]('/:id/contacts',auth['isAuthenticated'](),controller[_0x27cb('0x13')]);router[_0x27cb('0xb')](_0x27cb('0x14'),auth[_0x27cb('0x9')](),controller[_0x27cb('0x15')]);router[_0x27cb('0xb')]('/:id/fields',auth[_0x27cb('0x9')](),controller[_0x27cb('0x16')]);router[_0x27cb('0xb')](_0x27cb('0x17'),auth[_0x27cb('0x9')](),controller[_0x27cb('0x18')]);router[_0x27cb('0x19')]('/',auth[_0x27cb('0x9')](),controller[_0x27cb('0x1a')]);router[_0x27cb('0x19')](_0x27cb('0x11'),auth['isAuthenticated'](),controller[_0x27cb('0x1b')]);router[_0x27cb('0x19')]('/:id/contacts',auth['isAuthenticated'](),controller[_0x27cb('0x1c')]);router[_0x27cb('0x19')]('/:id/fields',auth['isAuthenticated'](),controller[_0x27cb('0x1d')]);router[_0x27cb('0x19')](_0x27cb('0x17'),auth[_0x27cb('0x9')](),controller[_0x27cb('0x1e')]);router[_0x27cb('0x1f')]('/:id',auth[_0x27cb('0x9')](),controller['update']);router[_0x27cb('0x20')](_0x27cb('0xf'),auth['isAuthenticated'](),controller['destroy']);router[_0x27cb('0x20')](_0x27cb('0x11'),auth[_0x27cb('0x9')](),controller[_0x27cb('0x21')]);router['delete']('/:id/users',auth[_0x27cb('0x9')](),controller[_0x27cb('0x22')]);module['exports']=router;
\ No newline at end of file