Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / cmCompany / index.js
index 93cc88b..4684b53 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xacf4=['/describe','describe','show','/:id/contacts','getContacts','create','/:id','update','delete','destroy','exports','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x312dc0,_0x578e40){var _0x19959e=function(_0x149e94){while(--_0x149e94){_0x312dc0['push'](_0x312dc0['shift']());}};_0x19959e(++_0x578e40);}(_0xacf4,0xe7));var _0x4acf=function(_0x35b7b3,_0x62c34e){_0x35b7b3=_0x35b7b3-0x0;var _0x5afb26=_0xacf4[_0x35b7b3];return _0x5afb26;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x4acf('0x0'));var timeout=require(_0x4acf('0x1'));var express=require(_0x4acf('0x2'));var router=express[_0x4acf('0x3')]();var auth=require(_0x4acf('0x4'));var interaction=require(_0x4acf('0x5'));var config=require(_0x4acf('0x6'));var controller=require('./cmCompany.controller');router[_0x4acf('0x7')]('/',auth[_0x4acf('0x8')](),controller['index']);router[_0x4acf('0x7')](_0x4acf('0x9'),auth[_0x4acf('0x8')](),controller[_0x4acf('0xa')]);router[_0x4acf('0x7')]('/:id',auth['isAuthenticated'](),controller[_0x4acf('0xb')]);router['get'](_0x4acf('0xc'),auth[_0x4acf('0x8')](),controller[_0x4acf('0xd')]);router['post']('/',auth[_0x4acf('0x8')](),controller[_0x4acf('0xe')]);router['post']('/:id/contacts',auth[_0x4acf('0x8')](),controller['addContacts']);router['put'](_0x4acf('0xf'),auth[_0x4acf('0x8')](),controller[_0x4acf('0x10')]);router[_0x4acf('0x11')](_0x4acf('0xf'),auth[_0x4acf('0x8')](),controller[_0x4acf('0x12')]);module[_0x4acf('0x13')]=router;
\ No newline at end of file
+var _0x9900=['Router','fs-extra','../../components/interaction/service','../../config/environment','./cmCompany.controller','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/contacts','post','create','addContacts','put','update','delete','destroy','exports','connect-timeout','express'];(function(_0x2e068a,_0x29903b){var _0x4c6aae=function(_0x1bc648){while(--_0x1bc648){_0x2e068a['push'](_0x2e068a['shift']());}};_0x4c6aae(++_0x29903b);}(_0x9900,0x16e));var _0x0990=function(_0x3f7edf,_0x2c96ce){_0x3f7edf=_0x3f7edf-0x0;var _0xa8d31c=_0x9900[_0x3f7edf];return _0xa8d31c;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x0990('0x0'));var express=require(_0x0990('0x1'));var router=express[_0x0990('0x2')]();var fs_extra=require(_0x0990('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x0990('0x4'));var config=require(_0x0990('0x5'));var controller=require(_0x0990('0x6'));router['get']('/',auth[_0x0990('0x7')](),controller[_0x0990('0x8')]);router[_0x0990('0x9')](_0x0990('0xa'),auth[_0x0990('0x7')](),controller[_0x0990('0xb')]);router['get'](_0x0990('0xc'),auth['isAuthenticated'](),controller[_0x0990('0xd')]);router['get'](_0x0990('0xe'),auth[_0x0990('0x7')](),controller['getContacts']);router[_0x0990('0xf')]('/',auth[_0x0990('0x7')](),controller[_0x0990('0x10')]);router[_0x0990('0xf')](_0x0990('0xe'),auth['isAuthenticated'](),controller[_0x0990('0x11')]);router[_0x0990('0x12')](_0x0990('0xc'),auth[_0x0990('0x7')](),controller[_0x0990('0x13')]);router[_0x0990('0x14')](_0x0990('0xc'),auth[_0x0990('0x7')](),controller[_0x0990('0x15')]);module[_0x0990('0x16')]=router;
\ No newline at end of file