X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZohoAccount%2Findex.js;fp=server%2Fapi%2FintZohoAccount%2Findex.js;h=7395a0c6a6ad98c4ce3b93aa678df884dac16c9c;hb=4baefdac9c37d4300115b8e539c5781a6d78e036;hp=6e27cc51737313884d83434d23a41799c87cae3a;hpb=8cdeeda1196ee7d2ad7723378ea9a4f6c5d1e83a;p=motion2.git diff --git a/server/api/intZohoAccount/index.js b/server/api/intZohoAccount/index.js index 6e27cc5..7395a0c 100644 --- a/server/api/intZohoAccount/index.js +++ b/server/api/intZohoAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x420f=['delete','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoAccount.controller','isAuthenticated','show','get','/:id/configurations','getConfigurations','getFields','create','post','addConfiguration','put','/:id','update'];(function(_0x5f49a2,_0x54b7ed){var _0x2e49ac=function(_0x5d3c59){while(--_0x5d3c59){_0x5f49a2['push'](_0x5f49a2['shift']());}};_0x2e49ac(++_0x54b7ed);}(_0x420f,0x1ce));var _0xf420=function(_0x467861,_0x3bdb59){_0x467861=_0x467861-0x0;var _0x302991=_0x420f[_0x467861];return _0x302991;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xf420('0x0'));var timeout=require(_0xf420('0x1'));var express=require(_0xf420('0x2'));var router=express[_0xf420('0x3')]();var fs_extra=require(_0xf420('0x4'));var auth=require(_0xf420('0x5'));var interaction=require(_0xf420('0x6'));var config=require(_0xf420('0x7'));var controller=require(_0xf420('0x8'));router['get']('/',auth[_0xf420('0x9')](),controller['index']);router['get']('/:id',auth[_0xf420('0x9')](),controller[_0xf420('0xa')]);router[_0xf420('0xb')](_0xf420('0xc'),auth[_0xf420('0x9')](),controller[_0xf420('0xd')]);router['get']('/:id/fields',auth[_0xf420('0x9')](),controller[_0xf420('0xe')]);router['post']('/',auth[_0xf420('0x9')](),controller[_0xf420('0xf')]);router[_0xf420('0x10')](_0xf420('0xc'),auth[_0xf420('0x9')](),controller[_0xf420('0x11')]);router[_0xf420('0x12')](_0xf420('0x13'),auth[_0xf420('0x9')](),controller[_0xf420('0x14')]);router[_0xf420('0x15')](_0xf420('0x13'),auth[_0xf420('0x9')](),controller['destroy']);module[_0xf420('0x16')]=router; \ No newline at end of file +var _0xaa5a=['getConfigurations','/:id/fields','getFields','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./intZohoAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations'];(function(_0x4eee8a,_0x2c5b23){var _0x26137b=function(_0x4c4e9a){while(--_0x4c4e9a){_0x4eee8a['push'](_0x4eee8a['shift']());}};_0x26137b(++_0x2c5b23);}(_0xaa5a,0xb9));var _0xaaa5=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xaa5a[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0xaaa5('0x0'));var util=require(_0xaaa5('0x1'));var path=require(_0xaaa5('0x2'));var timeout=require(_0xaaa5('0x3'));var express=require('express');var router=express[_0xaaa5('0x4')]();var fs_extra=require(_0xaaa5('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xaaa5('0x6'));var config=require(_0xaaa5('0x7'));var controller=require(_0xaaa5('0x8'));router[_0xaaa5('0x9')]('/',auth[_0xaaa5('0xa')](),controller[_0xaaa5('0xb')]);router['get'](_0xaaa5('0xc'),auth[_0xaaa5('0xa')](),controller[_0xaaa5('0xd')]);router[_0xaaa5('0x9')](_0xaaa5('0xe'),auth[_0xaaa5('0xa')](),controller[_0xaaa5('0xf')]);router['get'](_0xaaa5('0x10'),auth['isAuthenticated'](),controller[_0xaaa5('0x11')]);router[_0xaaa5('0x12')]('/',auth['isAuthenticated'](),controller[_0xaaa5('0x13')]);router['post'](_0xaaa5('0xe'),auth[_0xaaa5('0xa')](),controller['addConfiguration']);router[_0xaaa5('0x14')](_0xaaa5('0xc'),auth[_0xaaa5('0xa')](),controller[_0xaaa5('0x15')]);router[_0xaaa5('0x16')](_0xaaa5('0xc'),auth[_0xaaa5('0xa')](),controller[_0xaaa5('0x17')]);module[_0xaaa5('0x18')]=router; \ No newline at end of file