Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / cmCompany / index.js
index 694b34f..941b6e6 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 _0xcd96=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCompany.controller','isAuthenticated','index','get','/describe','/:id','show','/:id/contacts','post','create','addContacts','put','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x152c9a,_0x15db16){var _0x43a214=function(_0x29ce5e){while(--_0x29ce5e){_0x152c9a['push'](_0x152c9a['shift']());}};_0x43a214(++_0x15db16);}(_0xcd96,0x163));var _0x6cd9=function(_0x2f45ea,_0x15c656){_0x2f45ea=_0x2f45ea-0x0;var _0x485a84=_0xcd96[_0x2f45ea];return _0x485a84;};'use strict';var multer=require(_0x6cd9('0x0'));var util=require(_0x6cd9('0x1'));var path=require(_0x6cd9('0x2'));var timeout=require(_0x6cd9('0x3'));var express=require(_0x6cd9('0x4'));var router=express[_0x6cd9('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x6cd9('0x6'));var interaction=require(_0x6cd9('0x7'));var config=require(_0x6cd9('0x8'));var controller=require(_0x6cd9('0x9'));router['get']('/',auth[_0x6cd9('0xa')](),controller[_0x6cd9('0xb')]);router[_0x6cd9('0xc')](_0x6cd9('0xd'),auth['isAuthenticated'](),controller['describe']);router[_0x6cd9('0xc')](_0x6cd9('0xe'),auth['isAuthenticated'](),controller[_0x6cd9('0xf')]);router['get'](_0x6cd9('0x10'),auth[_0x6cd9('0xa')](),controller['getContacts']);router[_0x6cd9('0x11')]('/',auth[_0x6cd9('0xa')](),controller[_0x6cd9('0x12')]);router[_0x6cd9('0x11')]('/:id/contacts',auth[_0x6cd9('0xa')](),controller[_0x6cd9('0x13')]);router[_0x6cd9('0x14')](_0x6cd9('0xe'),auth[_0x6cd9('0xa')](),controller['update']);router[_0x6cd9('0x15')]('/:id',auth[_0x6cd9('0xa')](),controller[_0x6cd9('0x16')]);module[_0x6cd9('0x17')]=router;
\ No newline at end of file