Built motion from commit cb845558.|2.6.34
[motion2.git] / server / api / cmCompany / index.js
index 5d75bb0..deeb582 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa5ff=['put','/:id','delete','exports','multer','util','path','Router','fs-extra','../../components/interaction/service','../../config/environment','get','index','isAuthenticated','describe','getContacts','post','create','/:id/contacts','addContacts'];(function(_0x5ef3cf,_0x334435){var _0x126707=function(_0x363908){while(--_0x363908){_0x5ef3cf['push'](_0x5ef3cf['shift']());}};_0x126707(++_0x334435);}(_0xa5ff,0xa4));var _0xfa5f=function(_0x1fa463,_0x460713){_0x1fa463=_0x1fa463-0x0;var _0x1ec77b=_0xa5ff[_0x1fa463];return _0x1ec77b;};'use strict';var multer=require(_0xfa5f('0x0'));var util=require(_0xfa5f('0x1'));var path=require(_0xfa5f('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfa5f('0x3')]();var fs_extra=require(_0xfa5f('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xfa5f('0x5'));var config=require(_0xfa5f('0x6'));var controller=require('./cmCompany.controller');router[_0xfa5f('0x7')]('/',auth['isAuthenticated'](),controller[_0xfa5f('0x8')]);router[_0xfa5f('0x7')]('/describe',auth[_0xfa5f('0x9')](),controller[_0xfa5f('0xa')]);router[_0xfa5f('0x7')]('/:id',auth[_0xfa5f('0x9')](),controller['show']);router[_0xfa5f('0x7')]('/:id/contacts',auth[_0xfa5f('0x9')](),controller[_0xfa5f('0xb')]);router[_0xfa5f('0xc')]('/',auth[_0xfa5f('0x9')](),controller[_0xfa5f('0xd')]);router[_0xfa5f('0xc')](_0xfa5f('0xe'),auth[_0xfa5f('0x9')](),controller[_0xfa5f('0xf')]);router[_0xfa5f('0x10')](_0xfa5f('0x11'),auth[_0xfa5f('0x9')](),controller['update']);router[_0xfa5f('0x12')](_0xfa5f('0x11'),auth['isAuthenticated'](),controller['destroy']);module[_0xfa5f('0x13')]=router;
\ No newline at end of file
+var _0x89bf=['../../components/auth/service','../../config/environment','./cmCompany.controller','get','isAuthenticated','describe','/:id','show','getContacts','post','create','/:id/contacts','addContacts','put','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0xaf0197,_0x390c5d){var _0x168213=function(_0x315646){while(--_0x315646){_0xaf0197['push'](_0xaf0197['shift']());}};_0x168213(++_0x390c5d);}(_0x89bf,0xab));var _0xf89b=function(_0x58d43b,_0x92918c){_0x58d43b=_0x58d43b-0x0;var _0x1fbbbc=_0x89bf[_0x58d43b];return _0x1fbbbc;};'use strict';var multer=require(_0xf89b('0x0'));var util=require(_0xf89b('0x1'));var path=require(_0xf89b('0x2'));var timeout=require(_0xf89b('0x3'));var express=require(_0xf89b('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xf89b('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf89b('0x6'));var controller=require(_0xf89b('0x7'));router[_0xf89b('0x8')]('/',auth[_0xf89b('0x9')](),controller['index']);router[_0xf89b('0x8')]('/describe',auth[_0xf89b('0x9')](),controller[_0xf89b('0xa')]);router[_0xf89b('0x8')](_0xf89b('0xb'),auth[_0xf89b('0x9')](),controller[_0xf89b('0xc')]);router['get']('/:id/contacts',auth[_0xf89b('0x9')](),controller[_0xf89b('0xd')]);router[_0xf89b('0xe')]('/',auth['isAuthenticated'](),controller[_0xf89b('0xf')]);router['post'](_0xf89b('0x10'),auth[_0xf89b('0x9')](),controller[_0xf89b('0x11')]);router[_0xf89b('0x12')](_0xf89b('0xb'),auth[_0xf89b('0x9')](),controller['update']);router[_0xf89b('0x13')](_0xf89b('0xb'),auth['isAuthenticated'](),controller[_0xf89b('0x14')]);module[_0xf89b('0x15')]=router;
\ No newline at end of file