Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / cmCompany / index.js
index 694b34f..f2fd597 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0b0e=['get','isAuthenticated','index','/describe','/:id','show','/:id/contacts','post','put','update','delete','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCompany.controller'];(function(_0x102881,_0x58d723){var _0x5c63d0=function(_0x955c59){while(--_0x955c59){_0x102881['push'](_0x102881['shift']());}};_0x5c63d0(++_0x58d723);}(_0x0b0e,0x187));var _0xe0b0=function(_0x8ce506,_0x517f30){_0x8ce506=_0x8ce506-0x0;var _0x23c8e5=_0x0b0e[_0x8ce506];return _0x23c8e5;};'use strict';var multer=require(_0xe0b0('0x0'));var util=require('util');var path=require(_0xe0b0('0x1'));var timeout=require('connect-timeout');var express=require(_0xe0b0('0x2'));var router=express[_0xe0b0('0x3')]();var auth=require(_0xe0b0('0x4'));var interaction=require(_0xe0b0('0x5'));var config=require(_0xe0b0('0x6'));var controller=require(_0xe0b0('0x7'));router[_0xe0b0('0x8')]('/',auth[_0xe0b0('0x9')](),controller[_0xe0b0('0xa')]);router[_0xe0b0('0x8')](_0xe0b0('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0xe0b0('0x8')](_0xe0b0('0xc'),auth[_0xe0b0('0x9')](),controller[_0xe0b0('0xd')]);router['get'](_0xe0b0('0xe'),auth[_0xe0b0('0x9')](),controller['getContacts']);router[_0xe0b0('0xf')]('/',auth[_0xe0b0('0x9')](),controller['create']);router[_0xe0b0('0xf')](_0xe0b0('0xe'),auth[_0xe0b0('0x9')](),controller['addContacts']);router[_0xe0b0('0x10')](_0xe0b0('0xc'),auth[_0xe0b0('0x9')](),controller[_0xe0b0('0x11')]);router[_0xe0b0('0x12')]('/:id',auth[_0xe0b0('0x9')](),controller[_0xe0b0('0x13')]);module[_0xe0b0('0x14')]=router;
\ No newline at end of file
+var _0x366a=['isAuthenticated','describe','/:id','show','/:id/contacts','getContacts','post','put','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./cmCompany.controller','get'];(function(_0xcafc72,_0xff3ee){var _0x4c8bf2=function(_0x1a5741){while(--_0x1a5741){_0xcafc72['push'](_0xcafc72['shift']());}};_0x4c8bf2(++_0xff3ee);}(_0x366a,0x89));var _0xa366=function(_0x4843f9,_0x4af459){_0x4843f9=_0x4843f9-0x0;var _0x193c6a=_0x366a[_0x4843f9];return _0x193c6a;};'use strict';var multer=require(_0xa366('0x0'));var util=require(_0xa366('0x1'));var path=require(_0xa366('0x2'));var timeout=require('connect-timeout');var express=require(_0xa366('0x3'));var router=express[_0xa366('0x4')]();var fs_extra=require(_0xa366('0x5'));var auth=require(_0xa366('0x6'));var interaction=require(_0xa366('0x7'));var config=require('../../config/environment');var controller=require(_0xa366('0x8'));router[_0xa366('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xa366('0x9')]('/describe',auth[_0xa366('0xa')](),controller[_0xa366('0xb')]);router[_0xa366('0x9')](_0xa366('0xc'),auth[_0xa366('0xa')](),controller[_0xa366('0xd')]);router['get'](_0xa366('0xe'),auth[_0xa366('0xa')](),controller[_0xa366('0xf')]);router[_0xa366('0x10')]('/',auth[_0xa366('0xa')](),controller['create']);router[_0xa366('0x10')](_0xa366('0xe'),auth[_0xa366('0xa')](),controller['addContacts']);router[_0xa366('0x11')](_0xa366('0xc'),auth[_0xa366('0xa')](),controller[_0xa366('0x12')]);router[_0xa366('0x13')](_0xa366('0xc'),auth[_0xa366('0xa')](),controller[_0xa366('0x14')]);module['exports']=router;
\ No newline at end of file