Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / api / cmCompany / index.js
index 5e213ae..dc7d422 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xba34=['../../config/environment','./cmCompany.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/contacts','getContacts','post','addContacts','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x46edb7,_0x1e53b0){var _0xc4ce02=function(_0x80e959){while(--_0x80e959){_0x46edb7['push'](_0x46edb7['shift']());}};_0xc4ce02(++_0x1e53b0);}(_0xba34,0x119));var _0x4ba3=function(_0x4f6b7c,_0x3b8d76){_0x4f6b7c=_0x4f6b7c-0x0;var _0x500bed=_0xba34[_0x4f6b7c];return _0x500bed;};'use strict';var multer=require(_0x4ba3('0x0'));var util=require(_0x4ba3('0x1'));var path=require(_0x4ba3('0x2'));var timeout=require(_0x4ba3('0x3'));var express=require(_0x4ba3('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x4ba3('0x5'));var controller=require(_0x4ba3('0x6'));router[_0x4ba3('0x7')]('/',auth[_0x4ba3('0x8')](),controller[_0x4ba3('0x9')]);router[_0x4ba3('0x7')](_0x4ba3('0xa'),auth['isAuthenticated'](),controller[_0x4ba3('0xb')]);router[_0x4ba3('0x7')](_0x4ba3('0xc'),auth[_0x4ba3('0x8')](),controller[_0x4ba3('0xd')]);router[_0x4ba3('0x7')](_0x4ba3('0xe'),auth[_0x4ba3('0x8')](),controller[_0x4ba3('0xf')]);router[_0x4ba3('0x10')]('/',auth[_0x4ba3('0x8')](),controller['create']);router[_0x4ba3('0x10')](_0x4ba3('0xe'),auth['isAuthenticated'](),controller[_0x4ba3('0x11')]);router['put'](_0x4ba3('0xc'),auth['isAuthenticated'](),controller[_0x4ba3('0x12')]);router[_0x4ba3('0x13')](_0x4ba3('0xc'),auth[_0x4ba3('0x8')](),controller[_0x4ba3('0x14')]);module[_0x4ba3('0x15')]=router;
\ No newline at end of file
+var _0x46fc=['delete','destroy','connect-timeout','express','Router','fs-extra','./cmCompany.controller','isAuthenticated','index','get','/describe','getContacts','post','create','/:id/contacts','addContacts','put','/:id','update'];(function(_0x5bcc79,_0x4a57a6){var _0x44fce1=function(_0x1ec109){while(--_0x1ec109){_0x5bcc79['push'](_0x5bcc79['shift']());}};_0x44fce1(++_0x4a57a6);}(_0x46fc,0x74));var _0xc46f=function(_0x165545,_0x319611){_0x165545=_0x165545-0x0;var _0x21c922=_0x46fc[_0x165545];return _0x21c922;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xc46f('0x0'));var express=require(_0xc46f('0x1'));var router=express[_0xc46f('0x2')]();var fs_extra=require(_0xc46f('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xc46f('0x4'));router['get']('/',auth[_0xc46f('0x5')](),controller[_0xc46f('0x6')]);router[_0xc46f('0x7')](_0xc46f('0x8'),auth['isAuthenticated'](),controller['describe']);router[_0xc46f('0x7')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xc46f('0x7')]('/:id/contacts',auth['isAuthenticated'](),controller[_0xc46f('0x9')]);router[_0xc46f('0xa')]('/',auth[_0xc46f('0x5')](),controller[_0xc46f('0xb')]);router[_0xc46f('0xa')](_0xc46f('0xc'),auth['isAuthenticated'](),controller[_0xc46f('0xd')]);router[_0xc46f('0xe')](_0xc46f('0xf'),auth[_0xc46f('0x5')](),controller[_0xc46f('0x10')]);router[_0xc46f('0x11')](_0xc46f('0xf'),auth[_0xc46f('0x5')](),controller[_0xc46f('0x12')]);module['exports']=router;
\ No newline at end of file