Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / intFreshsalesConfiguration / index.js
index 1b74eca..71f11d2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x410c=['getFields','post','create','put','update','delete','/:id','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','show','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/fields'];(function(_0x45f2b9,_0x451730){var _0x117326=function(_0x4dfc8c){while(--_0x4dfc8c){_0x45f2b9['push'](_0x45f2b9['shift']());}};_0x117326(++_0x451730);}(_0x410c,0x1b2));var _0xc410=function(_0x583dde,_0x5c0cc0){_0x583dde=_0x583dde-0x0;var _0x304c53=_0x410c[_0x583dde];return _0x304c53;};'use strict';var multer=require(_0xc410('0x0'));var util=require(_0xc410('0x1'));var path=require(_0xc410('0x2'));var timeout=require('connect-timeout');var express=require(_0xc410('0x3'));var router=express[_0xc410('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xc410('0x5'));var config=require(_0xc410('0x6'));var controller=require('./intFreshsalesConfiguration.controller');router[_0xc410('0x7')]('/',auth[_0xc410('0x8')](),controller[_0xc410('0x9')]);router[_0xc410('0x7')]('/:id',auth[_0xc410('0x8')](),controller[_0xc410('0xa')]);router[_0xc410('0x7')](_0xc410('0xb'),auth['isAuthenticated'](),controller[_0xc410('0xc')]);router[_0xc410('0x7')](_0xc410('0xd'),auth['isAuthenticated'](),controller[_0xc410('0xe')]);router['get'](_0xc410('0xf'),auth[_0xc410('0x8')](),controller[_0xc410('0x10')]);router[_0xc410('0x11')]('/',auth[_0xc410('0x8')](),controller[_0xc410('0x12')]);router[_0xc410('0x13')]('/:id',auth[_0xc410('0x8')](),controller[_0xc410('0x14')]);router[_0xc410('0x15')](_0xc410('0x16'),auth[_0xc410('0x8')](),controller[_0xc410('0x17')]);module[_0xc410('0x18')]=router;
\ No newline at end of file
+var _0x7c7c=['exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','isAuthenticated','get','/:id','show','/:id/subjects','/:id/descriptions','getDescriptions','/:id/fields','post','create','put','update','delete','destroy'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x7c7c,0x8b));var _0xc7c7=function(_0x195a2c,_0x3f9bb8){_0x195a2c=_0x195a2c-0x0;var _0x6629b6=_0x7c7c[_0x195a2c];return _0x6629b6;};'use strict';var multer=require('multer');var util=require(_0xc7c7('0x0'));var path=require(_0xc7c7('0x1'));var timeout=require(_0xc7c7('0x2'));var express=require(_0xc7c7('0x3'));var router=express[_0xc7c7('0x4')]();var fs_extra=require(_0xc7c7('0x5'));var auth=require(_0xc7c7('0x6'));var interaction=require(_0xc7c7('0x7'));var config=require('../../config/environment');var controller=require('./intFreshsalesConfiguration.controller');router['get']('/',auth[_0xc7c7('0x8')](),controller['index']);router[_0xc7c7('0x9')](_0xc7c7('0xa'),auth[_0xc7c7('0x8')](),controller[_0xc7c7('0xb')]);router[_0xc7c7('0x9')](_0xc7c7('0xc'),auth[_0xc7c7('0x8')](),controller['getSubjects']);router[_0xc7c7('0x9')](_0xc7c7('0xd'),auth[_0xc7c7('0x8')](),controller[_0xc7c7('0xe')]);router[_0xc7c7('0x9')](_0xc7c7('0xf'),auth[_0xc7c7('0x8')](),controller['getFields']);router[_0xc7c7('0x10')]('/',auth[_0xc7c7('0x8')](),controller[_0xc7c7('0x11')]);router[_0xc7c7('0x12')](_0xc7c7('0xa'),auth['isAuthenticated'](),controller[_0xc7c7('0x13')]);router[_0xc7c7('0x14')](_0xc7c7('0xa'),auth[_0xc7c7('0x8')](),controller[_0xc7c7('0x15')]);module[_0xc7c7('0x16')]=router;
\ No newline at end of file