Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / intSugarcrmConfiguration / index.js
index 5271caf..999ea3b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x52cd=['util','path','Router','fs-extra','../../components/interaction/service','../../config/environment','./intSugarcrmConfiguration.controller','get','index','/:id','isAuthenticated','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','destroy','exports'];(function(_0x40372f,_0x54574a){var _0x5cc1b8=function(_0x3a1c0c){while(--_0x3a1c0c){_0x40372f['push'](_0x40372f['shift']());}};_0x5cc1b8(++_0x54574a);}(_0x52cd,0x1e0));var _0xd52c=function(_0xdad321,_0x43f77b){_0xdad321=_0xdad321-0x0;var _0x559d84=_0x52cd[_0xdad321];return _0x559d84;};'use strict';var multer=require('multer');var util=require(_0xd52c('0x0'));var path=require(_0xd52c('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xd52c('0x2')]();var fs_extra=require(_0xd52c('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xd52c('0x4'));var config=require(_0xd52c('0x5'));var controller=require(_0xd52c('0x6'));router[_0xd52c('0x7')]('/',auth['isAuthenticated'](),controller[_0xd52c('0x8')]);router['get'](_0xd52c('0x9'),auth[_0xd52c('0xa')](),controller['show']);router[_0xd52c('0x7')](_0xd52c('0xb'),auth[_0xd52c('0xa')](),controller['getFields']);router[_0xd52c('0x7')](_0xd52c('0xc'),auth[_0xd52c('0xa')](),controller[_0xd52c('0xd')]);router[_0xd52c('0x7')](_0xd52c('0xe'),auth[_0xd52c('0xa')](),controller[_0xd52c('0xf')]);router[_0xd52c('0x10')]('/',auth[_0xd52c('0xa')](),controller[_0xd52c('0x11')]);router['put'](_0xd52c('0x9'),auth[_0xd52c('0xa')](),controller['update']);router['delete'](_0xd52c('0x9'),auth['isAuthenticated'](),controller[_0xd52c('0x12')]);module[_0xd52c('0x13')]=router;
\ No newline at end of file
+var _0x6bea=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','create','/:id','update','delete','destroy','util','path','connect-timeout','express','Router'];(function(_0x4efc87,_0x17a7d1){var _0x191fc4=function(_0x19dda1){while(--_0x19dda1){_0x4efc87['push'](_0x4efc87['shift']());}};_0x191fc4(++_0x17a7d1);}(_0x6bea,0x85));var _0xa6be=function(_0x6c2f7e,_0x5ea309){_0x6c2f7e=_0x6c2f7e-0x0;var _0x6dce36=_0x6bea[_0x6c2f7e];return _0x6dce36;};'use strict';var multer=require('multer');var util=require(_0xa6be('0x0'));var path=require(_0xa6be('0x1'));var timeout=require(_0xa6be('0x2'));var express=require(_0xa6be('0x3'));var router=express[_0xa6be('0x4')]();var fs_extra=require(_0xa6be('0x5'));var auth=require(_0xa6be('0x6'));var interaction=require(_0xa6be('0x7'));var config=require(_0xa6be('0x8'));var controller=require('./intSugarcrmConfiguration.controller');router[_0xa6be('0x9')]('/',auth[_0xa6be('0xa')](),controller[_0xa6be('0xb')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0xa6be('0x9')](_0xa6be('0xc'),auth[_0xa6be('0xa')](),controller[_0xa6be('0xd')]);router[_0xa6be('0x9')](_0xa6be('0xe'),auth[_0xa6be('0xa')](),controller[_0xa6be('0xf')]);router[_0xa6be('0x9')](_0xa6be('0x10'),auth['isAuthenticated'](),controller[_0xa6be('0x11')]);router['post']('/',auth['isAuthenticated'](),controller[_0xa6be('0x12')]);router['put'](_0xa6be('0x13'),auth[_0xa6be('0xa')](),controller[_0xa6be('0x14')]);router[_0xa6be('0x15')](_0xa6be('0x13'),auth[_0xa6be('0xa')](),controller[_0xa6be('0x16')]);module['exports']=router;
\ No newline at end of file