Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / api / cmCompany / index.js
index 93cc88b..5ef19a0 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 _0x3867=['describe','/:id','show','/:id/contacts','getContacts','addContacts','update','delete','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','isAuthenticated'];(function(_0x4b0c90,_0x265ec3){var _0x22ca66=function(_0x5aac20){while(--_0x5aac20){_0x4b0c90['push'](_0x4b0c90['shift']());}};_0x22ca66(++_0x265ec3);}(_0x3867,0x15f));var _0x7386=function(_0x432664,_0x4edf2e){_0x432664=_0x432664-0x0;var _0x3338b3=_0x3867[_0x432664];return _0x3338b3;};'use strict';var multer=require('multer');var util=require(_0x7386('0x0'));var path=require(_0x7386('0x1'));var timeout=require(_0x7386('0x2'));var express=require('express');var router=express[_0x7386('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x7386('0x4'));var interaction=require(_0x7386('0x5'));var config=require(_0x7386('0x6'));var controller=require('./cmCompany.controller');router[_0x7386('0x7')]('/',auth['isAuthenticated'](),controller[_0x7386('0x8')]);router['get']('/describe',auth[_0x7386('0x9')](),controller[_0x7386('0xa')]);router[_0x7386('0x7')](_0x7386('0xb'),auth[_0x7386('0x9')](),controller[_0x7386('0xc')]);router[_0x7386('0x7')](_0x7386('0xd'),auth[_0x7386('0x9')](),controller[_0x7386('0xe')]);router['post']('/',auth[_0x7386('0x9')](),controller['create']);router['post'](_0x7386('0xd'),auth[_0x7386('0x9')](),controller[_0x7386('0xf')]);router['put']('/:id',auth[_0x7386('0x9')](),controller[_0x7386('0x10')]);router[_0x7386('0x11')](_0x7386('0xb'),auth[_0x7386('0x9')](),controller['destroy']);module[_0x7386('0x12')]=router;
\ No newline at end of file