Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / cmCompany / index.js
index 9bfe9c0..f2fd597 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x030a=['destroy','exports','multer','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCompany.controller','get','index','/describe','isAuthenticated','describe','show','getContacts','post','/:id/contacts','addContacts','put','/:id','update'];(function(_0x5caa8a,_0x5a4fda){var _0x314c4e=function(_0x235579){while(--_0x235579){_0x5caa8a['push'](_0x5caa8a['shift']());}};_0x314c4e(++_0x5a4fda);}(_0x030a,0xc2));var _0xa030=function(_0x487b09,_0x349b11){_0x487b09=_0x487b09-0x0;var _0x28830b=_0x030a[_0x487b09];return _0x28830b;};'use strict';var multer=require(_0xa030('0x0'));var util=require(_0xa030('0x1'));var path=require('path');var timeout=require(_0xa030('0x2'));var express=require('express');var router=express[_0xa030('0x3')]();var fs_extra=require(_0xa030('0x4'));var auth=require(_0xa030('0x5'));var interaction=require(_0xa030('0x6'));var config=require(_0xa030('0x7'));var controller=require(_0xa030('0x8'));router[_0xa030('0x9')]('/',auth['isAuthenticated'](),controller[_0xa030('0xa')]);router['get'](_0xa030('0xb'),auth[_0xa030('0xc')](),controller[_0xa030('0xd')]);router['get']('/:id',auth[_0xa030('0xc')](),controller[_0xa030('0xe')]);router[_0xa030('0x9')]('/:id/contacts',auth[_0xa030('0xc')](),controller[_0xa030('0xf')]);router[_0xa030('0x10')]('/',auth[_0xa030('0xc')](),controller['create']);router[_0xa030('0x10')](_0xa030('0x11'),auth[_0xa030('0xc')](),controller[_0xa030('0x12')]);router[_0xa030('0x13')](_0xa030('0x14'),auth['isAuthenticated'](),controller[_0xa030('0x15')]);router['delete'](_0xa030('0x14'),auth[_0xa030('0xc')](),controller[_0xa030('0x16')]);module[_0xa030('0x17')]=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