Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / cmCompany / index.js
index 90f97cc..d791a51 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf72e=['describe','/:id','show','/:id/contacts','create','post','put','update','delete','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe'];(function(_0x919bbb,_0x55ef48){var _0x40971a=function(_0xc823b6){while(--_0xc823b6){_0x919bbb['push'](_0x919bbb['shift']());}};_0x40971a(++_0x55ef48);}(_0xf72e,0xe1));var _0xef72=function(_0x405b0f,_0x5b2ffc){_0x405b0f=_0x405b0f-0x0;var _0x14e899=_0xf72e[_0x405b0f];return _0x14e899;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xef72('0x0'));var timeout=require(_0xef72('0x1'));var express=require('express');var router=express[_0xef72('0x2')]();var fs_extra=require(_0xef72('0x3'));var auth=require(_0xef72('0x4'));var interaction=require(_0xef72('0x5'));var config=require('../../config/environment');var controller=require('./cmCompany.controller');router[_0xef72('0x6')]('/',auth[_0xef72('0x7')](),controller['index']);router[_0xef72('0x6')](_0xef72('0x8'),auth[_0xef72('0x7')](),controller[_0xef72('0x9')]);router[_0xef72('0x6')](_0xef72('0xa'),auth[_0xef72('0x7')](),controller[_0xef72('0xb')]);router['get'](_0xef72('0xc'),auth[_0xef72('0x7')](),controller['getContacts']);router['post']('/',auth[_0xef72('0x7')](),controller[_0xef72('0xd')]);router[_0xef72('0xe')]('/:id/contacts',auth[_0xef72('0x7')](),controller['addContacts']);router[_0xef72('0xf')](_0xef72('0xa'),auth[_0xef72('0x7')](),controller[_0xef72('0x10')]);router[_0xef72('0x11')](_0xef72('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x0daf=['delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','./cmCompany.controller','get','isAuthenticated','/describe','describe','/:id/contacts','getContacts','post','create','addContacts','put','/:id','update'];(function(_0x26a351,_0x5dd04c){var _0x1ef7fe=function(_0x4ea269){while(--_0x4ea269){_0x26a351['push'](_0x26a351['shift']());}};_0x1ef7fe(++_0x5dd04c);}(_0x0daf,0x179));var _0xf0da=function(_0x2f21c6,_0x51de35){_0x2f21c6=_0x2f21c6-0x0;var _0x32cbd5=_0x0daf[_0x2f21c6];return _0x32cbd5;};'use strict';var multer=require(_0xf0da('0x0'));var util=require(_0xf0da('0x1'));var path=require(_0xf0da('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf0da('0x3')]();var fs_extra=require(_0xf0da('0x4'));var auth=require(_0xf0da('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xf0da('0x6'));router[_0xf0da('0x7')]('/',auth[_0xf0da('0x8')](),controller['index']);router[_0xf0da('0x7')](_0xf0da('0x9'),auth[_0xf0da('0x8')](),controller[_0xf0da('0xa')]);router[_0xf0da('0x7')]('/:id',auth[_0xf0da('0x8')](),controller['show']);router[_0xf0da('0x7')](_0xf0da('0xb'),auth[_0xf0da('0x8')](),controller[_0xf0da('0xc')]);router[_0xf0da('0xd')]('/',auth[_0xf0da('0x8')](),controller[_0xf0da('0xe')]);router['post'](_0xf0da('0xb'),auth[_0xf0da('0x8')](),controller[_0xf0da('0xf')]);router[_0xf0da('0x10')](_0xf0da('0x11'),auth[_0xf0da('0x8')](),controller[_0xf0da('0x12')]);router[_0xf0da('0x13')](_0xf0da('0x11'),auth[_0xf0da('0x8')](),controller[_0xf0da('0x14')]);module[_0xf0da('0x15')]=router;
\ No newline at end of file