Built motion from commit 87cd5f02.|2.5.48
[motion2.git] / server / api / intZohoAccount / index.js
index 547488f..49a1da5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb4ce=['addConfiguration','put','update','delete','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment','get','index','/:id','isAuthenticated','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create'];(function(_0x2e9b41,_0x4807f4){var _0x2cde95=function(_0x446c73){while(--_0x446c73){_0x2e9b41['push'](_0x2e9b41['shift']());}};_0x2cde95(++_0x4807f4);}(_0xb4ce,0x166));var _0xeb4c=function(_0x1250df,_0x2db27d){_0x1250df=_0x1250df-0x0;var _0x4209ef=_0xb4ce[_0x1250df];return _0x4209ef;};'use strict';var multer=require(_0xeb4c('0x0'));var util=require('util');var path=require(_0xeb4c('0x1'));var timeout=require(_0xeb4c('0x2'));var express=require(_0xeb4c('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xeb4c('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xeb4c('0x5'));var controller=require('./intZohoAccount.controller');router[_0xeb4c('0x6')]('/',auth['isAuthenticated'](),controller[_0xeb4c('0x7')]);router[_0xeb4c('0x6')](_0xeb4c('0x8'),auth[_0xeb4c('0x9')](),controller['show']);router[_0xeb4c('0x6')](_0xeb4c('0xa'),auth[_0xeb4c('0x9')](),controller[_0xeb4c('0xb')]);router[_0xeb4c('0x6')](_0xeb4c('0xc'),auth[_0xeb4c('0x9')](),controller[_0xeb4c('0xd')]);router[_0xeb4c('0xe')]('/',auth[_0xeb4c('0x9')](),controller[_0xeb4c('0xf')]);router[_0xeb4c('0xe')](_0xeb4c('0xa'),auth[_0xeb4c('0x9')](),controller[_0xeb4c('0x10')]);router[_0xeb4c('0x11')](_0xeb4c('0x8'),auth[_0xeb4c('0x9')](),controller[_0xeb4c('0x12')]);router[_0xeb4c('0x13')](_0xeb4c('0x8'),auth[_0xeb4c('0x9')](),controller[_0xeb4c('0x14')]);module[_0xeb4c('0x15')]=router;
\ No newline at end of file
+var _0x5ce9=['multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./intZohoAccount.controller','get','isAuthenticated','/:id','show','/:id/configurations','create','post','put','update','delete','destroy','exports'];(function(_0x587384,_0x165cc3){var _0x103d94=function(_0x2079fb){while(--_0x2079fb){_0x587384['push'](_0x587384['shift']());}};_0x103d94(++_0x165cc3);}(_0x5ce9,0xa0));var _0x95ce=function(_0x21b309,_0x293be1){_0x21b309=_0x21b309-0x0;var _0x4dd845=_0x5ce9[_0x21b309];return _0x4dd845;};'use strict';var multer=require(_0x95ce('0x0'));var util=require(_0x95ce('0x1'));var path=require('path');var timeout=require(_0x95ce('0x2'));var express=require(_0x95ce('0x3'));var router=express[_0x95ce('0x4')]();var fs_extra=require(_0x95ce('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x95ce('0x6'));var config=require('../../config/environment');var controller=require(_0x95ce('0x7'));router[_0x95ce('0x8')]('/',auth[_0x95ce('0x9')](),controller['index']);router[_0x95ce('0x8')](_0x95ce('0xa'),auth[_0x95ce('0x9')](),controller[_0x95ce('0xb')]);router['get'](_0x95ce('0xc'),auth[_0x95ce('0x9')](),controller['getConfigurations']);router[_0x95ce('0x8')]('/:id/fields',auth[_0x95ce('0x9')](),controller['getFields']);router['post']('/',auth['isAuthenticated'](),controller[_0x95ce('0xd')]);router[_0x95ce('0xe')]('/:id/configurations',auth[_0x95ce('0x9')](),controller['addConfiguration']);router[_0x95ce('0xf')](_0x95ce('0xa'),auth[_0x95ce('0x9')](),controller[_0x95ce('0x10')]);router[_0x95ce('0x11')]('/:id',auth[_0x95ce('0x9')](),controller[_0x95ce('0x12')]);module[_0x95ce('0x13')]=router;
\ No newline at end of file