Built motion from commit 14588770.|2.5.38
[motion2.git] / server / api / intZohoConfiguration / index.js
index ed48b30..8145025 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x47f4=['put','delete','destroy','util','path','connect-timeout','express','Router','../../components/interaction/service','./intZohoConfiguration.controller','index','get','/:id','show','/:id/fields','getFields','/:id/subjects','isAuthenticated','getSubjects','/:id/descriptions','getDescriptions','post','create'];(function(_0x2e1c09,_0x317c31){var _0x3e73f0=function(_0x3c45fc){while(--_0x3c45fc){_0x2e1c09['push'](_0x2e1c09['shift']());}};_0x3e73f0(++_0x317c31);}(_0x47f4,0x1b8));var _0x447f=function(_0x23f262,_0x413bd5){_0x23f262=_0x23f262-0x0;var _0x4cf4ba=_0x47f4[_0x23f262];return _0x4cf4ba;};'use strict';var multer=require('multer');var util=require(_0x447f('0x0'));var path=require(_0x447f('0x1'));var timeout=require(_0x447f('0x2'));var express=require(_0x447f('0x3'));var router=express[_0x447f('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x447f('0x5'));var config=require('../../config/environment');var controller=require(_0x447f('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x447f('0x7')]);router[_0x447f('0x8')](_0x447f('0x9'),auth['isAuthenticated'](),controller[_0x447f('0xa')]);router[_0x447f('0x8')](_0x447f('0xb'),auth['isAuthenticated'](),controller[_0x447f('0xc')]);router[_0x447f('0x8')](_0x447f('0xd'),auth[_0x447f('0xe')](),controller[_0x447f('0xf')]);router[_0x447f('0x8')](_0x447f('0x10'),auth[_0x447f('0xe')](),controller[_0x447f('0x11')]);router[_0x447f('0x12')]('/',auth[_0x447f('0xe')](),controller[_0x447f('0x13')]);router[_0x447f('0x14')](_0x447f('0x9'),auth[_0x447f('0xe')](),controller['update']);router[_0x447f('0x15')](_0x447f('0x9'),auth[_0x447f('0xe')](),controller[_0x447f('0x16')]);module['exports']=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