Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / cmCompany / index.js
index f775ad2..d14520c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb167=['create','addContacts','put','/:id','update','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCompany.controller','get','/describe','isAuthenticated','describe','show','/:id/contacts','getContacts','post'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xb167,0x164));var _0x7b16=function(_0x2f4e27,_0xa14e21){_0x2f4e27=_0x2f4e27-0x0;var _0x58ac5b=_0xb167[_0x2f4e27];return _0x58ac5b;};'use strict';var multer=require(_0x7b16('0x0'));var util=require(_0x7b16('0x1'));var path=require(_0x7b16('0x2'));var timeout=require(_0x7b16('0x3'));var express=require(_0x7b16('0x4'));var router=express[_0x7b16('0x5')]();var fs_extra=require(_0x7b16('0x6'));var auth=require(_0x7b16('0x7'));var interaction=require(_0x7b16('0x8'));var config=require(_0x7b16('0x9'));var controller=require(_0x7b16('0xa'));router[_0x7b16('0xb')]('/',auth['isAuthenticated'](),controller['index']);router[_0x7b16('0xb')](_0x7b16('0xc'),auth[_0x7b16('0xd')](),controller[_0x7b16('0xe')]);router['get']('/:id',auth[_0x7b16('0xd')](),controller[_0x7b16('0xf')]);router[_0x7b16('0xb')](_0x7b16('0x10'),auth[_0x7b16('0xd')](),controller[_0x7b16('0x11')]);router[_0x7b16('0x12')]('/',auth[_0x7b16('0xd')](),controller[_0x7b16('0x13')]);router[_0x7b16('0x12')](_0x7b16('0x10'),auth['isAuthenticated'](),controller[_0x7b16('0x14')]);router[_0x7b16('0x15')](_0x7b16('0x16'),auth[_0x7b16('0xd')](),controller[_0x7b16('0x17')]);router['delete']('/:id',auth[_0x7b16('0xd')](),controller[_0x7b16('0x18')]);module['exports']=router;
\ No newline at end of file
+var _0x7a75=['multer','util','connect-timeout','express','fs-extra','../../components/interaction/service','./cmCompany.controller','get','isAuthenticated','index','/describe','describe','/:id','show','getContacts','post','/:id/contacts','addContacts','put','delete','destroy'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0x7a75,0x18f));var _0x57a7=function(_0x49608e,_0x4bebb2){_0x49608e=_0x49608e-0x0;var _0x5eca4f=_0x7a75[_0x49608e];return _0x5eca4f;};'use strict';var multer=require(_0x57a7('0x0'));var util=require(_0x57a7('0x1'));var path=require('path');var timeout=require(_0x57a7('0x2'));var express=require(_0x57a7('0x3'));var router=express['Router']();var fs_extra=require(_0x57a7('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x57a7('0x5'));var config=require('../../config/environment');var controller=require(_0x57a7('0x6'));router[_0x57a7('0x7')]('/',auth[_0x57a7('0x8')](),controller[_0x57a7('0x9')]);router[_0x57a7('0x7')](_0x57a7('0xa'),auth[_0x57a7('0x8')](),controller[_0x57a7('0xb')]);router['get'](_0x57a7('0xc'),auth[_0x57a7('0x8')](),controller[_0x57a7('0xd')]);router[_0x57a7('0x7')]('/:id/contacts',auth[_0x57a7('0x8')](),controller[_0x57a7('0xe')]);router[_0x57a7('0xf')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0x57a7('0x10'),auth['isAuthenticated'](),controller[_0x57a7('0x11')]);router[_0x57a7('0x12')](_0x57a7('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x57a7('0x13')](_0x57a7('0xc'),auth[_0x57a7('0x8')](),controller[_0x57a7('0x14')]);module['exports']=router;
\ No newline at end of file