X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZohoConfiguration%2Findex.js;h=376cdfaa3f1f11b1cb882b2bb8c873875126c664;hb=cc5ed542bde40ef5cb950540b6a10b4f2d3f9dc8;hp=e1f45268985e26ac95c92e551f6f6fe7ab2edcd2;hpb=c9bea7b5fb8c2c40aa3c8a89531d666691350a10;p=motion2.git diff --git a/server/api/intZohoConfiguration/index.js b/server/api/intZohoConfiguration/index.js index e1f4526..376cdfa 100644 --- a/server/api/intZohoConfiguration/index.js +++ b/server/api/intZohoConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x0cf8=['util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intZohoConfiguration.controller','get','isAuthenticated','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','put','/:id','update','destroy','exports','multer'];(function(_0x45783c,_0x49c56d){var _0x1161da=function(_0x3c5d41){while(--_0x3c5d41){_0x45783c['push'](_0x45783c['shift']());}};_0x1161da(++_0x49c56d);}(_0x0cf8,0x1cd));var _0x80cf=function(_0x4188df,_0x5467c8){_0x4188df=_0x4188df-0x0;var _0xc7fa=_0x0cf8[_0x4188df];return _0xc7fa;};'use strict';var multer=require(_0x80cf('0x0'));var util=require(_0x80cf('0x1'));var path=require('path');var timeout=require(_0x80cf('0x2'));var express=require(_0x80cf('0x3'));var router=express[_0x80cf('0x4')]();var fs_extra=require(_0x80cf('0x5'));var auth=require(_0x80cf('0x6'));var interaction=require(_0x80cf('0x7'));var config=require('../../config/environment');var controller=require(_0x80cf('0x8'));router[_0x80cf('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x80cf('0x9')]('/:id',auth[_0x80cf('0xa')](),controller['show']);router[_0x80cf('0x9')](_0x80cf('0xb'),auth[_0x80cf('0xa')](),controller[_0x80cf('0xc')]);router[_0x80cf('0x9')](_0x80cf('0xd'),auth[_0x80cf('0xa')](),controller[_0x80cf('0xe')]);router[_0x80cf('0x9')](_0x80cf('0xf'),auth[_0x80cf('0xa')](),controller[_0x80cf('0x10')]);router['post']('/',auth[_0x80cf('0xa')](),controller['create']);router[_0x80cf('0x11')](_0x80cf('0x12'),auth[_0x80cf('0xa')](),controller[_0x80cf('0x13')]);router['delete']('/:id',auth[_0x80cf('0xa')](),controller[_0x80cf('0x14')]);module[_0x80cf('0x15')]=router; \ No newline at end of file +var _0x6c0f=['getDescriptions','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects'];(function(_0x134c2e,_0x3573c4){var _0x2825db=function(_0x2a574d){while(--_0x2a574d){_0x134c2e['push'](_0x134c2e['shift']());}};_0x2825db(++_0x3573c4);}(_0x6c0f,0x10e));var _0xf6c0=function(_0x5db71c,_0x49f6d8){_0x5db71c=_0x5db71c-0x0;var _0x3b685d=_0x6c0f[_0x5db71c];return _0x3b685d;};'use strict';var multer=require(_0xf6c0('0x0'));var util=require(_0xf6c0('0x1'));var path=require(_0xf6c0('0x2'));var timeout=require(_0xf6c0('0x3'));var express=require(_0xf6c0('0x4'));var router=express[_0xf6c0('0x5')]();var fs_extra=require(_0xf6c0('0x6'));var auth=require(_0xf6c0('0x7'));var interaction=require(_0xf6c0('0x8'));var config=require(_0xf6c0('0x9'));var controller=require('./intZohoConfiguration.controller');router[_0xf6c0('0xa')]('/',auth[_0xf6c0('0xb')](),controller['index']);router['get'](_0xf6c0('0xc'),auth[_0xf6c0('0xb')](),controller[_0xf6c0('0xd')]);router[_0xf6c0('0xa')](_0xf6c0('0xe'),auth[_0xf6c0('0xb')](),controller[_0xf6c0('0xf')]);router['get'](_0xf6c0('0x10'),auth[_0xf6c0('0xb')](),controller[_0xf6c0('0x11')]);router['get']('/:id/descriptions',auth[_0xf6c0('0xb')](),controller[_0xf6c0('0x12')]);router['post']('/',auth['isAuthenticated'](),controller[_0xf6c0('0x13')]);router[_0xf6c0('0x14')](_0xf6c0('0xc'),auth[_0xf6c0('0xb')](),controller['update']);router[_0xf6c0('0x15')](_0xf6c0('0xc'),auth[_0xf6c0('0xb')](),controller[_0xf6c0('0x16')]);module[_0xf6c0('0x17')]=router; \ No newline at end of file