X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintVtigerAccount%2Findex.js;h=7a7a2553bef47a76fbd1ec20b0bdf8a8e2abe6f6;hb=ece744b31d5c8c1b26913aafb50e0250a2a6b474;hp=78307a783dbd4b154c3e16b2d35a51888fd5fe8b;hpb=9de5174448f6124e143d4b68967b102fec513aee;p=motion2.git diff --git a/server/api/intVtigerAccount/index.js b/server/api/intVtigerAccount/index.js index 78307a7..7a7a255 100644 --- a/server/api/intVtigerAccount/index.js +++ b/server/api/intVtigerAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8c39=['fs-extra','../../components/interaction/service','../../config/environment','./intVtigerAccount.controller','isAuthenticated','index','/:id','show','get','/:id/fields','post','create','/:id/configurations','put','update','delete','exports','multer','path','connect-timeout','express','Router'];(function(_0x50fb37,_0x30e9d5){var _0x995c5e=function(_0x449b03){while(--_0x449b03){_0x50fb37['push'](_0x50fb37['shift']());}};_0x995c5e(++_0x30e9d5);}(_0x8c39,0x1df));var _0x98c3=function(_0x224c8d,_0x2cc9dd){_0x224c8d=_0x224c8d-0x0;var _0xacf452=_0x8c39[_0x224c8d];return _0xacf452;};'use strict';var multer=require(_0x98c3('0x0'));var util=require('util');var path=require(_0x98c3('0x1'));var timeout=require(_0x98c3('0x2'));var express=require(_0x98c3('0x3'));var router=express[_0x98c3('0x4')]();var fs_extra=require(_0x98c3('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x98c3('0x6'));var config=require(_0x98c3('0x7'));var controller=require(_0x98c3('0x8'));router['get']('/',auth[_0x98c3('0x9')](),controller[_0x98c3('0xa')]);router['get'](_0x98c3('0xb'),auth['isAuthenticated'](),controller[_0x98c3('0xc')]);router[_0x98c3('0xd')]('/:id/configurations',auth[_0x98c3('0x9')](),controller['getConfigurations']);router['get'](_0x98c3('0xe'),auth[_0x98c3('0x9')](),controller['getFields']);router[_0x98c3('0xf')]('/',auth[_0x98c3('0x9')](),controller[_0x98c3('0x10')]);router[_0x98c3('0xf')](_0x98c3('0x11'),auth[_0x98c3('0x9')](),controller['addConfiguration']);router[_0x98c3('0x12')]('/:id',auth[_0x98c3('0x9')](),controller[_0x98c3('0x13')]);router[_0x98c3('0x14')](_0x98c3('0xb'),auth[_0x98c3('0x9')](),controller['destroy']);module[_0x98c3('0x15')]=router; \ No newline at end of file +var _0x046b=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerAccount.controller','get','/:id','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','put','update','exports','util','path','connect-timeout'];(function(_0x334574,_0x1b7eb7){var _0x282909=function(_0x12a2c0){while(--_0x12a2c0){_0x334574['push'](_0x334574['shift']());}};_0x282909(++_0x1b7eb7);}(_0x046b,0x147));var _0xb046=function(_0x49a141,_0x201be4){_0x49a141=_0x49a141-0x0;var _0xc3c314=_0x046b[_0x49a141];return _0xc3c314;};'use strict';var multer=require('multer');var util=require(_0xb046('0x0'));var path=require(_0xb046('0x1'));var timeout=require(_0xb046('0x2'));var express=require(_0xb046('0x3'));var router=express[_0xb046('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xb046('0x5'));var interaction=require(_0xb046('0x6'));var config=require(_0xb046('0x7'));var controller=require(_0xb046('0x8'));router[_0xb046('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb046('0x9')](_0xb046('0xa'),auth[_0xb046('0xb')](),controller[_0xb046('0xc')]);router[_0xb046('0x9')](_0xb046('0xd'),auth[_0xb046('0xb')](),controller[_0xb046('0xe')]);router['get'](_0xb046('0xf'),auth['isAuthenticated'](),controller[_0xb046('0x10')]);router[_0xb046('0x11')]('/',auth[_0xb046('0xb')](),controller[_0xb046('0x12')]);router[_0xb046('0x11')]('/:id/configurations',auth['isAuthenticated'](),controller['addConfiguration']);router[_0xb046('0x13')](_0xb046('0xa'),auth['isAuthenticated'](),controller[_0xb046('0x14')]);router['delete'](_0xb046('0xa'),auth[_0xb046('0xb')](),controller['destroy']);module[_0xb046('0x15')]=router; \ No newline at end of file