Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / intSugarcrmConfiguration / index.js
index 1266575..79fea28 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x57dd=['show','/:id/fields','/:id/subjects','getSubjects','getDescriptions','post','create','put','update','delete','destroy','exports','util','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmConfiguration.controller','get','isAuthenticated','index','/:id'];(function(_0x4c2c14,_0x3f7a46){var _0x3ed6ab=function(_0x3e5d8b){while(--_0x3e5d8b){_0x4c2c14['push'](_0x4c2c14['shift']());}};_0x3ed6ab(++_0x3f7a46);}(_0x57dd,0x75));var _0xd57d=function(_0x5e19f9,_0x17a4d8){_0x5e19f9=_0x5e19f9-0x0;var _0x3dd24f=_0x57dd[_0x5e19f9];return _0x3dd24f;};'use strict';var multer=require('multer');var util=require(_0xd57d('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xd57d('0x1'));var interaction=require(_0xd57d('0x2'));var config=require(_0xd57d('0x3'));var controller=require(_0xd57d('0x4'));router[_0xd57d('0x5')]('/',auth[_0xd57d('0x6')](),controller[_0xd57d('0x7')]);router['get'](_0xd57d('0x8'),auth[_0xd57d('0x6')](),controller[_0xd57d('0x9')]);router[_0xd57d('0x5')](_0xd57d('0xa'),auth[_0xd57d('0x6')](),controller['getFields']);router[_0xd57d('0x5')](_0xd57d('0xb'),auth[_0xd57d('0x6')](),controller[_0xd57d('0xc')]);router[_0xd57d('0x5')]('/:id/descriptions',auth[_0xd57d('0x6')](),controller[_0xd57d('0xd')]);router[_0xd57d('0xe')]('/',auth[_0xd57d('0x6')](),controller[_0xd57d('0xf')]);router[_0xd57d('0x10')](_0xd57d('0x8'),auth[_0xd57d('0x6')](),controller[_0xd57d('0x11')]);router[_0xd57d('0x12')]('/:id',auth[_0xd57d('0x6')](),controller[_0xd57d('0x13')]);module[_0xd57d('0x14')]=router;
\ No newline at end of file
+var _0xccc3=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intSugarcrmConfiguration.controller','isAuthenticated','index','show','/:id/fields','get','/:id/subjects','/:id/descriptions','getDescriptions','post','create','delete','/:id','exports','multer'];(function(_0x19e928,_0x26a0e4){var _0x4e941f=function(_0x52a5cd){while(--_0x52a5cd){_0x19e928['push'](_0x19e928['shift']());}};_0x4e941f(++_0x26a0e4);}(_0xccc3,0xdb));var _0x3ccc=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0xccc3[_0x57b54c];return _0x59cc19;};'use strict';var multer=require(_0x3ccc('0x0'));var util=require(_0x3ccc('0x1'));var path=require(_0x3ccc('0x2'));var timeout=require(_0x3ccc('0x3'));var express=require(_0x3ccc('0x4'));var router=express[_0x3ccc('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x3ccc('0x6'));var interaction=require(_0x3ccc('0x7'));var config=require('../../config/environment');var controller=require(_0x3ccc('0x8'));router['get']('/',auth[_0x3ccc('0x9')](),controller[_0x3ccc('0xa')]);router['get']('/:id',auth[_0x3ccc('0x9')](),controller[_0x3ccc('0xb')]);router['get'](_0x3ccc('0xc'),auth[_0x3ccc('0x9')](),controller['getFields']);router[_0x3ccc('0xd')](_0x3ccc('0xe'),auth[_0x3ccc('0x9')](),controller['getSubjects']);router[_0x3ccc('0xd')](_0x3ccc('0xf'),auth['isAuthenticated'](),controller[_0x3ccc('0x10')]);router[_0x3ccc('0x11')]('/',auth[_0x3ccc('0x9')](),controller[_0x3ccc('0x12')]);router['put']('/:id',auth['isAuthenticated'](),controller['update']);router[_0x3ccc('0x13')](_0x3ccc('0x14'),auth[_0x3ccc('0x9')](),controller['destroy']);module[_0x3ccc('0x15')]=router;
\ No newline at end of file