Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / cmCompany / index.js
index 791fc14..f53ce1b 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 _0x7535=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCompany.controller','get','/describe','isAuthenticated','describe','show','/:id/contacts','post','addContacts','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout'];(function(_0x5e9e44,_0x4ed138){var _0x3ff2ed=function(_0x4d4e2c){while(--_0x4d4e2c){_0x5e9e44['push'](_0x5e9e44['shift']());}};_0x3ff2ed(++_0x4ed138);}(_0x7535,0x19b));var _0x5753=function(_0x2b4448,_0x5bcc69){_0x2b4448=_0x2b4448-0x0;var _0xb4b465=_0x7535[_0x2b4448];return _0xb4b465;};'use strict';var multer=require(_0x5753('0x0'));var util=require(_0x5753('0x1'));var path=require('path');var timeout=require(_0x5753('0x2'));var express=require('express');var router=express[_0x5753('0x3')]();var fs_extra=require(_0x5753('0x4'));var auth=require(_0x5753('0x5'));var interaction=require(_0x5753('0x6'));var config=require(_0x5753('0x7'));var controller=require(_0x5753('0x8'));router[_0x5753('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x5753('0x9')](_0x5753('0xa'),auth[_0x5753('0xb')](),controller[_0x5753('0xc')]);router[_0x5753('0x9')]('/:id',auth[_0x5753('0xb')](),controller[_0x5753('0xd')]);router['get'](_0x5753('0xe'),auth[_0x5753('0xb')](),controller['getContacts']);router[_0x5753('0xf')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0x5753('0xe'),auth[_0x5753('0xb')](),controller[_0x5753('0x10')]);router[_0x5753('0x11')](_0x5753('0x12'),auth[_0x5753('0xb')](),controller[_0x5753('0x13')]);router[_0x5753('0x14')]('/:id',auth[_0x5753('0xb')](),controller[_0x5753('0x15')]);module[_0x5753('0x16')]=router;
\ No newline at end of file