Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / intSugarcrmConfiguration / index.js
index d3cdb4e..024854c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x00a6=['create','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./intSugarcrmConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','/:id/subjects','/:id/descriptions'];(function(_0x20c1bd,_0x60e509){var _0xaf44d8=function(_0x2b0718){while(--_0x2b0718){_0x20c1bd['push'](_0x20c1bd['shift']());}};_0xaf44d8(++_0x60e509);}(_0x00a6,0x1d7));var _0x600a=function(_0x208826,_0x148f7c){_0x208826=_0x208826-0x0;var _0x5d3f5c=_0x00a6[_0x208826];return _0x5d3f5c;};'use strict';var multer=require(_0x600a('0x0'));var util=require(_0x600a('0x1'));var path=require('path');var timeout=require(_0x600a('0x2'));var express=require(_0x600a('0x3'));var router=express['Router']();var auth=require(_0x600a('0x4'));var interaction=require(_0x600a('0x5'));var config=require('../../config/environment');var controller=require(_0x600a('0x6'));router[_0x600a('0x7')]('/',auth[_0x600a('0x8')](),controller[_0x600a('0x9')]);router[_0x600a('0x7')](_0x600a('0xa'),auth['isAuthenticated'](),controller[_0x600a('0xb')]);router[_0x600a('0x7')](_0x600a('0xc'),auth[_0x600a('0x8')](),controller['getFields']);router[_0x600a('0x7')](_0x600a('0xd'),auth[_0x600a('0x8')](),controller['getSubjects']);router['get'](_0x600a('0xe'),auth[_0x600a('0x8')](),controller['getDescriptions']);router['post']('/',auth[_0x600a('0x8')](),controller[_0x600a('0xf')]);router['put'](_0x600a('0xa'),auth[_0x600a('0x8')](),controller['update']);router['delete']('/:id',auth[_0x600a('0x8')](),controller[_0x600a('0x10')]);module[_0x600a('0x11')]=router;
\ No newline at end of file
+var _0x972b=['index','get','/:id','isAuthenticated','show','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmConfiguration.controller'];(function(_0x56464a,_0x3551ba){var _0x25a4a9=function(_0x1bf19d){while(--_0x1bf19d){_0x56464a['push'](_0x56464a['shift']());}};_0x25a4a9(++_0x3551ba);}(_0x972b,0xff));var _0xb972=function(_0x2b2974,_0x13b4f8){_0x2b2974=_0x2b2974-0x0;var _0x3e509e=_0x972b[_0x2b2974];return _0x3e509e;};'use strict';var multer=require(_0xb972('0x0'));var util=require(_0xb972('0x1'));var path=require(_0xb972('0x2'));var timeout=require(_0xb972('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xb972('0x4'));var auth=require(_0xb972('0x5'));var interaction=require(_0xb972('0x6'));var config=require(_0xb972('0x7'));var controller=require(_0xb972('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xb972('0x9')]);router[_0xb972('0xa')](_0xb972('0xb'),auth[_0xb972('0xc')](),controller[_0xb972('0xd')]);router['get']('/:id/fields',auth[_0xb972('0xc')](),controller[_0xb972('0xe')]);router[_0xb972('0xa')](_0xb972('0xf'),auth['isAuthenticated'](),controller[_0xb972('0x10')]);router['get'](_0xb972('0x11'),auth[_0xb972('0xc')](),controller[_0xb972('0x12')]);router[_0xb972('0x13')]('/',auth[_0xb972('0xc')](),controller[_0xb972('0x14')]);router[_0xb972('0x15')](_0xb972('0xb'),auth[_0xb972('0xc')](),controller[_0xb972('0x16')]);router['delete'](_0xb972('0xb'),auth[_0xb972('0xc')](),controller['destroy']);module[_0xb972('0x17')]=router;
\ No newline at end of file