Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / cmCompany / index.js
index 791fc14..938b0fc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfcbb=['addContacts','put','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCompany.controller','index','get','/describe','isAuthenticated','describe','/:id','show','/:id/contacts','getContacts','post','create'];(function(_0x5b9a9f,_0x4e5c97){var _0x4e7e4a=function(_0x169034){while(--_0x169034){_0x5b9a9f['push'](_0x5b9a9f['shift']());}};_0x4e7e4a(++_0x4e5c97);}(_0xfcbb,0x10d));var _0xbfcb=function(_0x9530e4,_0x1bcea3){_0x9530e4=_0x9530e4-0x0;var _0x1293e1=_0xfcbb[_0x9530e4];return _0x1293e1;};'use strict';var multer=require(_0xbfcb('0x0'));var util=require(_0xbfcb('0x1'));var path=require(_0xbfcb('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xbfcb('0x3')]();var auth=require(_0xbfcb('0x4'));var interaction=require(_0xbfcb('0x5'));var config=require(_0xbfcb('0x6'));var controller=require(_0xbfcb('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xbfcb('0x8')]);router[_0xbfcb('0x9')](_0xbfcb('0xa'),auth[_0xbfcb('0xb')](),controller[_0xbfcb('0xc')]);router[_0xbfcb('0x9')](_0xbfcb('0xd'),auth['isAuthenticated'](),controller[_0xbfcb('0xe')]);router[_0xbfcb('0x9')](_0xbfcb('0xf'),auth['isAuthenticated'](),controller[_0xbfcb('0x10')]);router[_0xbfcb('0x11')]('/',auth[_0xbfcb('0xb')](),controller[_0xbfcb('0x12')]);router[_0xbfcb('0x11')](_0xbfcb('0xf'),auth['isAuthenticated'](),controller[_0xbfcb('0x13')]);router[_0xbfcb('0x14')](_0xbfcb('0xd'),auth[_0xbfcb('0xb')](),controller['update']);router[_0xbfcb('0x15')]('/:id',auth[_0xbfcb('0xb')](),controller[_0xbfcb('0x16')]);module[_0xbfcb('0x17')]=router;
\ No newline at end of file
+var _0x061f=['/:id/contacts','getContacts','post','put','delete','destroy','multer','util','path','connect-timeout','../../components/interaction/service','./cmCompany.controller','isAuthenticated','index','/describe','describe','get','/:id'];(function(_0x5ec0f9,_0x3ecd6b){var _0x4acb44=function(_0x43d977){while(--_0x43d977){_0x5ec0f9['push'](_0x5ec0f9['shift']());}};_0x4acb44(++_0x3ecd6b);}(_0x061f,0x15c));var _0xf061=function(_0xd96211,_0x4529ce){_0xd96211=_0xd96211-0x0;var _0x3ce2ed=_0x061f[_0xd96211];return _0x3ce2ed;};'use strict';var multer=require(_0xf061('0x0'));var util=require(_0xf061('0x1'));var path=require(_0xf061('0x2'));var timeout=require(_0xf061('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xf061('0x4'));var config=require('../../config/environment');var controller=require(_0xf061('0x5'));router['get']('/',auth[_0xf061('0x6')](),controller[_0xf061('0x7')]);router['get'](_0xf061('0x8'),auth['isAuthenticated'](),controller[_0xf061('0x9')]);router[_0xf061('0xa')](_0xf061('0xb'),auth['isAuthenticated'](),controller['show']);router['get'](_0xf061('0xc'),auth[_0xf061('0x6')](),controller[_0xf061('0xd')]);router[_0xf061('0xe')]('/',auth[_0xf061('0x6')](),controller['create']);router[_0xf061('0xe')]('/:id/contacts',auth['isAuthenticated'](),controller['addContacts']);router[_0xf061('0xf')]('/:id',auth[_0xf061('0x6')](),controller['update']);router[_0xf061('0x10')]('/:id',auth[_0xf061('0x6')](),controller[_0xf061('0x11')]);module['exports']=router;
\ No newline at end of file