Built motion from commit 14588770.|2.5.38
[motion2.git] / server / api / intZohoConfiguration / index.js
index 099f4f5..8145025 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfbac=['destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','./intZohoConfiguration.controller','get','isAuthenticated','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','update','/:id'];(function(_0x398cca,_0x154eb3){var _0x563d85=function(_0x3566b5){while(--_0x3566b5){_0x398cca['push'](_0x398cca['shift']());}};_0x563d85(++_0x154eb3);}(_0xfbac,0x167));var _0xcfba=function(_0x1eab53,_0x4ff491){_0x1eab53=_0x1eab53-0x0;var _0x478ade=_0xfbac[_0x1eab53];return _0x478ade;};'use strict';var multer=require('multer');var util=require(_0xcfba('0x0'));var path=require(_0xcfba('0x1'));var timeout=require(_0xcfba('0x2'));var express=require(_0xcfba('0x3'));var router=express[_0xcfba('0x4')]();var auth=require(_0xcfba('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcfba('0x6'));router[_0xcfba('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xcfba('0x7')]('/:id',auth[_0xcfba('0x8')](),controller['show']);router[_0xcfba('0x7')](_0xcfba('0x9'),auth['isAuthenticated'](),controller[_0xcfba('0xa')]);router[_0xcfba('0x7')](_0xcfba('0xb'),auth[_0xcfba('0x8')](),controller[_0xcfba('0xc')]);router[_0xcfba('0x7')](_0xcfba('0xd'),auth[_0xcfba('0x8')](),controller[_0xcfba('0xe')]);router[_0xcfba('0xf')]('/',auth[_0xcfba('0x8')](),controller[_0xcfba('0x10')]);router['put']('/:id',auth[_0xcfba('0x8')](),controller[_0xcfba('0x11')]);router['delete'](_0xcfba('0x12'),auth[_0xcfba('0x8')](),controller[_0xcfba('0x13')]);module[_0xcfba('0x14')]=router;
\ No newline at end of file
+var _0x3e8f=['util','path','express','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id','show','getFields','/:id/subjects','/:id/descriptions','post','create','delete','destroy'];(function(_0x34d78,_0x3f9f85){var _0x148ef9=function(_0x543344){while(--_0x543344){_0x34d78['push'](_0x34d78['shift']());}};_0x148ef9(++_0x3f9f85);}(_0x3e8f,0xb4));var _0xf3e8=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3e8f[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require(_0xf3e8('0x0'));var path=require(_0xf3e8('0x1'));var timeout=require('connect-timeout');var express=require(_0xf3e8('0x2'));var router=express['Router']();var fs_extra=require(_0xf3e8('0x3'));var auth=require(_0xf3e8('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xf3e8('0x5'));var controller=require('./intZohoConfiguration.controller');router[_0xf3e8('0x6')]('/',auth[_0xf3e8('0x7')](),controller[_0xf3e8('0x8')]);router['get'](_0xf3e8('0x9'),auth[_0xf3e8('0x7')](),controller[_0xf3e8('0xa')]);router[_0xf3e8('0x6')]('/:id/fields',auth[_0xf3e8('0x7')](),controller[_0xf3e8('0xb')]);router[_0xf3e8('0x6')](_0xf3e8('0xc'),auth[_0xf3e8('0x7')](),controller['getSubjects']);router[_0xf3e8('0x6')](_0xf3e8('0xd'),auth[_0xf3e8('0x7')](),controller['getDescriptions']);router[_0xf3e8('0xe')]('/',auth[_0xf3e8('0x7')](),controller[_0xf3e8('0xf')]);router['put'](_0xf3e8('0x9'),auth[_0xf3e8('0x7')](),controller['update']);router[_0xf3e8('0x10')](_0xf3e8('0x9'),auth[_0xf3e8('0x7')](),controller[_0xf3e8('0x11')]);module['exports']=router;
\ No newline at end of file