Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / intZohoAccount / index.js
index 8393333..9833c5f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcf6a=['post','addConfiguration','put','destroy','exports','multer','util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','/:id/configurations','getConfigurations','/:id/fields'];(function(_0x60baf2,_0x275c9e){var _0x435a21=function(_0x420c08){while(--_0x420c08){_0x60baf2['push'](_0x60baf2['shift']());}};_0x435a21(++_0x275c9e);}(_0xcf6a,0x64));var _0xacf6=function(_0x42bc91,_0x41f40a){_0x42bc91=_0x42bc91-0x0;var _0x3f5507=_0xcf6a[_0x42bc91];return _0x3f5507;};'use strict';var multer=require(_0xacf6('0x0'));var util=require(_0xacf6('0x1'));var path=require('path');var timeout=require(_0xacf6('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xacf6('0x3'));var auth=require(_0xacf6('0x4'));var interaction=require(_0xacf6('0x5'));var config=require(_0xacf6('0x6'));var controller=require('./intZohoAccount.controller');router[_0xacf6('0x7')]('/',auth[_0xacf6('0x8')](),controller['index']);router['get'](_0xacf6('0x9'),auth[_0xacf6('0x8')](),controller[_0xacf6('0xa')]);router['get'](_0xacf6('0xb'),auth[_0xacf6('0x8')](),controller[_0xacf6('0xc')]);router[_0xacf6('0x7')](_0xacf6('0xd'),auth[_0xacf6('0x8')](),controller['getFields']);router[_0xacf6('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xacf6('0xe')]('/:id/configurations',auth[_0xacf6('0x8')](),controller[_0xacf6('0xf')]);router[_0xacf6('0x10')](_0xacf6('0x9'),auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0xacf6('0x8')](),controller[_0xacf6('0x11')]);module[_0xacf6('0x12')]=router;
\ No newline at end of file
+var _0xd1b8=['../../components/interaction/service','../../config/environment','./intZohoAccount.controller','get','index','show','isAuthenticated','getConfigurations','post','create','/:id/configurations','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service'];(function(_0x1cc8fe,_0x105328){var _0x230054=function(_0x1a1b56){while(--_0x1a1b56){_0x1cc8fe['push'](_0x1cc8fe['shift']());}};_0x230054(++_0x105328);}(_0xd1b8,0x9a));var _0x8d1b=function(_0x30b0d8,_0x57470c){_0x30b0d8=_0x30b0d8-0x0;var _0x459c09=_0xd1b8[_0x30b0d8];return _0x459c09;};'use strict';var multer=require(_0x8d1b('0x0'));var util=require(_0x8d1b('0x1'));var path=require(_0x8d1b('0x2'));var timeout=require(_0x8d1b('0x3'));var express=require('express');var router=express[_0x8d1b('0x4')]();var fs_extra=require(_0x8d1b('0x5'));var auth=require(_0x8d1b('0x6'));var interaction=require(_0x8d1b('0x7'));var config=require(_0x8d1b('0x8'));var controller=require(_0x8d1b('0x9'));router[_0x8d1b('0xa')]('/',auth['isAuthenticated'](),controller[_0x8d1b('0xb')]);router[_0x8d1b('0xa')]('/:id',auth['isAuthenticated'](),controller[_0x8d1b('0xc')]);router[_0x8d1b('0xa')]('/:id/configurations',auth[_0x8d1b('0xd')](),controller[_0x8d1b('0xe')]);router[_0x8d1b('0xa')]('/:id/fields',auth[_0x8d1b('0xd')](),controller['getFields']);router[_0x8d1b('0xf')]('/',auth['isAuthenticated'](),controller[_0x8d1b('0x10')]);router[_0x8d1b('0xf')](_0x8d1b('0x11'),auth[_0x8d1b('0xd')](),controller['addConfiguration']);router[_0x8d1b('0x12')](_0x8d1b('0x13'),auth[_0x8d1b('0xd')](),controller['update']);router[_0x8d1b('0x14')](_0x8d1b('0x13'),auth[_0x8d1b('0xd')](),controller[_0x8d1b('0x15')]);module[_0x8d1b('0x16')]=router;
\ No newline at end of file