Built motion from commit e1760111.|2.6.18
[motion2.git] / server / api / cmCompany / index.js
index da80351..2185552 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf3d8=['put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./cmCompany.controller','get','describe','isAuthenticated','show','/:id/contacts','getContacts','post','create','addContacts'];(function(_0x10e85b,_0x10c342){var _0x510b80=function(_0x1caef8){while(--_0x1caef8){_0x10e85b['push'](_0x10e85b['shift']());}};_0x510b80(++_0x10c342);}(_0xf3d8,0xdd));var _0x8f3d=function(_0x406696,_0x39f9b1){_0x406696=_0x406696-0x0;var _0x10e35c=_0xf3d8[_0x406696];return _0x10e35c;};'use strict';var multer=require(_0x8f3d('0x0'));var util=require(_0x8f3d('0x1'));var path=require(_0x8f3d('0x2'));var timeout=require(_0x8f3d('0x3'));var express=require(_0x8f3d('0x4'));var router=express[_0x8f3d('0x5')]();var fs_extra=require(_0x8f3d('0x6'));var auth=require(_0x8f3d('0x7'));var interaction=require(_0x8f3d('0x8'));var config=require('../../config/environment');var controller=require(_0x8f3d('0x9'));router[_0x8f3d('0xa')]('/',auth['isAuthenticated'](),controller['index']);router[_0x8f3d('0xa')]('/describe',auth['isAuthenticated'](),controller[_0x8f3d('0xb')]);router['get']('/:id',auth[_0x8f3d('0xc')](),controller[_0x8f3d('0xd')]);router[_0x8f3d('0xa')](_0x8f3d('0xe'),auth['isAuthenticated'](),controller[_0x8f3d('0xf')]);router[_0x8f3d('0x10')]('/',auth[_0x8f3d('0xc')](),controller[_0x8f3d('0x11')]);router[_0x8f3d('0x10')](_0x8f3d('0xe'),auth[_0x8f3d('0xc')](),controller[_0x8f3d('0x12')]);router[_0x8f3d('0x13')](_0x8f3d('0x14'),auth[_0x8f3d('0xc')](),controller['update']);router[_0x8f3d('0x15')]('/:id',auth[_0x8f3d('0xc')](),controller[_0x8f3d('0x16')]);module[_0x8f3d('0x17')]=router;
\ No newline at end of file
+var _0x9a6a=['destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','show','/:id/contacts','getContacts','post','create','addContacts','put','/:id','update','delete'];(function(_0x54860f,_0x4117d5){var _0x2ae742=function(_0x160338){while(--_0x160338){_0x54860f['push'](_0x54860f['shift']());}};_0x2ae742(++_0x4117d5);}(_0x9a6a,0x92));var _0xa9a6=function(_0x407a22,_0x50e6c5){_0x407a22=_0x407a22-0x0;var _0x39ab83=_0x9a6a[_0x407a22];return _0x39ab83;};'use strict';var multer=require(_0xa9a6('0x0'));var util=require(_0xa9a6('0x1'));var path=require(_0xa9a6('0x2'));var timeout=require(_0xa9a6('0x3'));var express=require(_0xa9a6('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa9a6('0x5'));var interaction=require(_0xa9a6('0x6'));var config=require(_0xa9a6('0x7'));var controller=require('./cmCompany.controller');router[_0xa9a6('0x8')]('/',auth[_0xa9a6('0x9')](),controller[_0xa9a6('0xa')]);router[_0xa9a6('0x8')](_0xa9a6('0xb'),auth[_0xa9a6('0x9')](),controller['describe']);router[_0xa9a6('0x8')]('/:id',auth[_0xa9a6('0x9')](),controller[_0xa9a6('0xc')]);router[_0xa9a6('0x8')](_0xa9a6('0xd'),auth['isAuthenticated'](),controller[_0xa9a6('0xe')]);router[_0xa9a6('0xf')]('/',auth[_0xa9a6('0x9')](),controller[_0xa9a6('0x10')]);router[_0xa9a6('0xf')](_0xa9a6('0xd'),auth['isAuthenticated'](),controller[_0xa9a6('0x11')]);router[_0xa9a6('0x12')](_0xa9a6('0x13'),auth[_0xa9a6('0x9')](),controller[_0xa9a6('0x14')]);router[_0xa9a6('0x15')]('/:id',auth['isAuthenticated'](),controller[_0xa9a6('0x16')]);module[_0xa9a6('0x17')]=router;
\ No newline at end of file