Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / cmList / index.js
index c3e7223..cf32caa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x518b=['addDisposition','/:id/contacts','addContacts','addCustomField','addAgents','put','delete','destroy','removeDispositions','removeAgents','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','./cmList.controller','get','index','/describe','isAuthenticated','/global_fields','getGlobalCustomFields','/:id','show','getContacts','/:id/contacts/csv','/:id/users','getAgents','post','/:id/dispositions'];(function(_0x211c7b,_0x1c03ee){var _0x57b12=function(_0x284c5e){while(--_0x284c5e){_0x211c7b['push'](_0x211c7b['shift']());}};_0x57b12(++_0x1c03ee);}(_0x518b,0x6e));var _0xb518=function(_0x29b634,_0x369836){_0x29b634=_0x29b634-0x0;var _0x4c1074=_0x518b[_0x29b634];return _0x4c1074;};'use strict';var multer=require(_0xb518('0x0'));var util=require(_0xb518('0x1'));var path=require(_0xb518('0x2'));var timeout=require(_0xb518('0x3'));var express=require('express');var router=express[_0xb518('0x4')]();var fs_extra=require(_0xb518('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xb518('0x6'));var config=require('../../config/environment');var controller=require(_0xb518('0x7'));router[_0xb518('0x8')]('/',auth['isAuthenticated'](),controller[_0xb518('0x9')]);router['get'](_0xb518('0xa'),auth[_0xb518('0xb')](),controller['describe']);router[_0xb518('0x8')](_0xb518('0xc'),auth[_0xb518('0xb')](),controller[_0xb518('0xd')]);router[_0xb518('0x8')](_0xb518('0xe'),auth[_0xb518('0xb')](),controller[_0xb518('0xf')]);router[_0xb518('0x8')]('/:id/dispositions',auth[_0xb518('0xb')](),controller['getDispositions']);router[_0xb518('0x8')]('/:id/contacts',auth[_0xb518('0xb')](),controller[_0xb518('0x10')]);router[_0xb518('0x8')](_0xb518('0x11'),auth[_0xb518('0xb')](),controller['getContactsCsv']);router[_0xb518('0x8')]('/:id/fields',auth[_0xb518('0xb')](),controller['getCustomFields']);router[_0xb518('0x8')](_0xb518('0x12'),auth[_0xb518('0xb')](),controller[_0xb518('0x13')]);router[_0xb518('0x14')]('/',auth['isAuthenticated'](),controller['create']);router[_0xb518('0x14')](_0xb518('0x15'),auth[_0xb518('0xb')](),controller[_0xb518('0x16')]);router[_0xb518('0x14')](_0xb518('0x17'),auth['isAuthenticated'](),controller[_0xb518('0x18')]);router[_0xb518('0x14')]('/:id/fields',auth[_0xb518('0xb')](),controller[_0xb518('0x19')]);router[_0xb518('0x14')](_0xb518('0x12'),auth[_0xb518('0xb')](),controller[_0xb518('0x1a')]);router[_0xb518('0x1b')](_0xb518('0xe'),auth[_0xb518('0xb')](),controller['update']);router[_0xb518('0x1c')](_0xb518('0xe'),auth[_0xb518('0xb')](),controller[_0xb518('0x1d')]);router['delete']('/:id/dispositions',auth[_0xb518('0xb')](),controller[_0xb518('0x1e')]);router[_0xb518('0x1c')](_0xb518('0x12'),auth['isAuthenticated'](),controller[_0xb518('0x1f')]);module[_0xb518('0x20')]=router;
\ No newline at end of file
+var _0x073c=['/:id/contacts','getContacts','/:id/contacts/csv','getContactsCsv','/:id/fields','getCustomFields','/:id/users','create','post','addDisposition','addContacts','addCustomField','addAgents','put','update','delete','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./cmList.controller','get','isAuthenticated','index','describe','/global_fields','/:id','show','/:id/dispositions','getDispositions'];(function(_0x115f84,_0x414879){var _0x2467df=function(_0x177ab2){while(--_0x177ab2){_0x115f84['push'](_0x115f84['shift']());}};_0x2467df(++_0x414879);}(_0x073c,0x118));var _0xc073=function(_0x4549ee,_0x2d3817){_0x4549ee=_0x4549ee-0x0;var _0x18a540=_0x073c[_0x4549ee];return _0x18a540;};'use strict';var multer=require('multer');var util=require(_0xc073('0x0'));var path=require(_0xc073('0x1'));var timeout=require(_0xc073('0x2'));var express=require(_0xc073('0x3'));var router=express[_0xc073('0x4')]();var fs_extra=require(_0xc073('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xc073('0x6'));var config=require('../../config/environment');var controller=require(_0xc073('0x7'));router[_0xc073('0x8')]('/',auth[_0xc073('0x9')](),controller[_0xc073('0xa')]);router[_0xc073('0x8')]('/describe',auth['isAuthenticated'](),controller[_0xc073('0xb')]);router['get'](_0xc073('0xc'),auth[_0xc073('0x9')](),controller['getGlobalCustomFields']);router[_0xc073('0x8')](_0xc073('0xd'),auth[_0xc073('0x9')](),controller[_0xc073('0xe')]);router['get'](_0xc073('0xf'),auth[_0xc073('0x9')](),controller[_0xc073('0x10')]);router[_0xc073('0x8')](_0xc073('0x11'),auth[_0xc073('0x9')](),controller[_0xc073('0x12')]);router['get'](_0xc073('0x13'),auth[_0xc073('0x9')](),controller[_0xc073('0x14')]);router[_0xc073('0x8')](_0xc073('0x15'),auth[_0xc073('0x9')](),controller[_0xc073('0x16')]);router[_0xc073('0x8')](_0xc073('0x17'),auth[_0xc073('0x9')](),controller['getAgents']);router['post']('/',auth['isAuthenticated'](),controller[_0xc073('0x18')]);router[_0xc073('0x19')](_0xc073('0xf'),auth['isAuthenticated'](),controller[_0xc073('0x1a')]);router['post']('/:id/contacts',auth[_0xc073('0x9')](),controller[_0xc073('0x1b')]);router[_0xc073('0x19')](_0xc073('0x15'),auth[_0xc073('0x9')](),controller[_0xc073('0x1c')]);router['post'](_0xc073('0x17'),auth[_0xc073('0x9')](),controller[_0xc073('0x1d')]);router[_0xc073('0x1e')](_0xc073('0xd'),auth[_0xc073('0x9')](),controller[_0xc073('0x1f')]);router[_0xc073('0x20')](_0xc073('0xd'),auth['isAuthenticated'](),controller['destroy']);router[_0xc073('0x20')](_0xc073('0xf'),auth[_0xc073('0x9')](),controller['removeDispositions']);router['delete'](_0xc073('0x17'),auth['isAuthenticated'](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file