Built motion from commit 14588770.|2.5.38
[motion2.git] / server / api / cmCompany / index.js
index b5551ae..8a129f5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcb03=['../../components/auth/service','../../config/environment','get','isAuthenticated','index','describe','show','/:id/contacts','getContacts','post','create','addContacts','/:id','destroy','exports','connect-timeout'];(function(_0x7327fb,_0x513747){var _0x51114b=function(_0x34edfd){while(--_0x34edfd){_0x7327fb['push'](_0x7327fb['shift']());}};_0x51114b(++_0x513747);}(_0xcb03,0x19f));var _0x3cb0=function(_0x520584,_0x24af2b){_0x520584=_0x520584-0x0;var _0x57ab46=_0xcb03[_0x520584];return _0x57ab46;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x3cb0('0x0'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x3cb0('0x1'));var interaction=require('../../components/interaction/service');var config=require(_0x3cb0('0x2'));var controller=require('./cmCompany.controller');router[_0x3cb0('0x3')]('/',auth[_0x3cb0('0x4')](),controller[_0x3cb0('0x5')]);router[_0x3cb0('0x3')]('/describe',auth[_0x3cb0('0x4')](),controller[_0x3cb0('0x6')]);router[_0x3cb0('0x3')]('/:id',auth['isAuthenticated'](),controller[_0x3cb0('0x7')]);router[_0x3cb0('0x3')](_0x3cb0('0x8'),auth[_0x3cb0('0x4')](),controller[_0x3cb0('0x9')]);router[_0x3cb0('0xa')]('/',auth[_0x3cb0('0x4')](),controller[_0x3cb0('0xb')]);router[_0x3cb0('0xa')](_0x3cb0('0x8'),auth[_0x3cb0('0x4')](),controller[_0x3cb0('0xc')]);router['put']('/:id',auth[_0x3cb0('0x4')](),controller['update']);router['delete'](_0x3cb0('0xd'),auth[_0x3cb0('0x4')](),controller[_0x3cb0('0xe')]);module[_0x3cb0('0xf')]=router;
\ No newline at end of file
+var _0xe22b=['put','/:id','update','delete','exports','multer','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','./cmCompany.controller','get','isAuthenticated','index','/describe','describe','show','/:id/contacts','post','addContacts'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xe22b,0xe1));var _0xbe22=function(_0x4e22ba,_0x56671f){_0x4e22ba=_0x4e22ba-0x0;var _0x184397=_0xe22b[_0x4e22ba];return _0x184397;};'use strict';var multer=require(_0xbe22('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xbe22('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xbe22('0x2'));var auth=require(_0xbe22('0x3'));var interaction=require(_0xbe22('0x4'));var config=require('../../config/environment');var controller=require(_0xbe22('0x5'));router[_0xbe22('0x6')]('/',auth[_0xbe22('0x7')](),controller[_0xbe22('0x8')]);router[_0xbe22('0x6')](_0xbe22('0x9'),auth['isAuthenticated'](),controller[_0xbe22('0xa')]);router[_0xbe22('0x6')]('/:id',auth[_0xbe22('0x7')](),controller[_0xbe22('0xb')]);router[_0xbe22('0x6')](_0xbe22('0xc'),auth[_0xbe22('0x7')](),controller['getContacts']);router[_0xbe22('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0xbe22('0xd')](_0xbe22('0xc'),auth[_0xbe22('0x7')](),controller[_0xbe22('0xe')]);router[_0xbe22('0xf')](_0xbe22('0x10'),auth[_0xbe22('0x7')](),controller[_0xbe22('0x11')]);router[_0xbe22('0x12')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xbe22('0x13')]=router;
\ No newline at end of file