Built motion from commit 6db1674d.|2.6.23
[motion2.git] / server / api / cmCompany / index.js
index b646ea5..b0df994 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x306b=['isAuthenticated','/describe','describe','/:id','/:id/contacts','getContacts','create','post','addContacts','put','update','exports','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./cmCompany.controller','get'];(function(_0x67d2b,_0xc3be07){var _0x23e7c1=function(_0x290c5e){while(--_0x290c5e){_0x67d2b['push'](_0x67d2b['shift']());}};_0x23e7c1(++_0xc3be07);}(_0x306b,0x1b0));var _0xb306=function(_0x50faaa,_0x59d114){_0x50faaa=_0x50faaa-0x0;var _0x48300e=_0x306b[_0x50faaa];return _0x48300e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb306('0x0'));var timeout=require(_0xb306('0x1'));var express=require('express');var router=express[_0xb306('0x2')]();var fs_extra=require(_0xb306('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xb306('0x4'));var config=require(_0xb306('0x5'));var controller=require(_0xb306('0x6'));router[_0xb306('0x7')]('/',auth[_0xb306('0x8')](),controller['index']);router[_0xb306('0x7')](_0xb306('0x9'),auth[_0xb306('0x8')](),controller[_0xb306('0xa')]);router[_0xb306('0x7')](_0xb306('0xb'),auth[_0xb306('0x8')](),controller['show']);router[_0xb306('0x7')](_0xb306('0xc'),auth['isAuthenticated'](),controller[_0xb306('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0xb306('0xe')]);router[_0xb306('0xf')](_0xb306('0xc'),auth[_0xb306('0x8')](),controller[_0xb306('0x10')]);router[_0xb306('0x11')](_0xb306('0xb'),auth[_0xb306('0x8')](),controller[_0xb306('0x12')]);router['delete'](_0xb306('0xb'),auth[_0xb306('0x8')](),controller['destroy']);module[_0xb306('0x13')]=router;
\ No newline at end of file
+var _0x22a3=['addContacts','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/describe','isAuthenticated','describe','/:id','show','post','/:id/contacts'];(function(_0x23e7c1,_0x35110c){var _0x1add43=function(_0x238918){while(--_0x238918){_0x23e7c1['push'](_0x23e7c1['shift']());}};_0x1add43(++_0x35110c);}(_0x22a3,0x131));var _0x322a=function(_0x518b99,_0x4333e4){_0x518b99=_0x518b99-0x0;var _0x45faed=_0x22a3[_0x518b99];return _0x45faed;};'use strict';var multer=require(_0x322a('0x0'));var util=require(_0x322a('0x1'));var path=require('path');var timeout=require(_0x322a('0x2'));var express=require(_0x322a('0x3'));var router=express[_0x322a('0x4')]();var fs_extra=require(_0x322a('0x5'));var auth=require(_0x322a('0x6'));var interaction=require(_0x322a('0x7'));var config=require(_0x322a('0x8'));var controller=require('./cmCompany.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x322a('0x9')](_0x322a('0xa'),auth[_0x322a('0xb')](),controller[_0x322a('0xc')]);router[_0x322a('0x9')](_0x322a('0xd'),auth['isAuthenticated'](),controller[_0x322a('0xe')]);router[_0x322a('0x9')]('/:id/contacts',auth[_0x322a('0xb')](),controller['getContacts']);router[_0x322a('0xf')]('/',auth[_0x322a('0xb')](),controller['create']);router['post'](_0x322a('0x10'),auth[_0x322a('0xb')](),controller[_0x322a('0x11')]);router[_0x322a('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x322a('0x13')]);router[_0x322a('0x14')](_0x322a('0xd'),auth[_0x322a('0xb')](),controller[_0x322a('0x15')]);module[_0x322a('0x16')]=router;
\ No newline at end of file