X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintVtigerAccount%2Findex.js;h=3440a107a72eaba4bd69f1ae0130d1cb8aee699f;hb=795c8454f12f8a41fb2cd31a1270c087e5e59e94;hp=f467e4cef996c0948dc3c838021f82ddb7f4f3b7;hpb=f1d1468b3a09c62a6041ebd552725da73d637879;p=motion2.git diff --git a/server/api/intVtigerAccount/index.js b/server/api/intVtigerAccount/index.js index f467e4c..3440a10 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 _0xa3e6=['destroy','multer','path','express','Router','fs-extra','../../components/interaction/service','./intVtigerAccount.controller','get','isAuthenticated','index','show','/:id/fields','getFields','create','post','/:id/configurations','addConfiguration','/:id','update','delete'];(function(_0x4bb66f,_0x3cd682){var _0xf2772f=function(_0x2e3698){while(--_0x2e3698){_0x4bb66f['push'](_0x4bb66f['shift']());}};_0xf2772f(++_0x3cd682);}(_0xa3e6,0xbe));var _0x6a3e=function(_0x50d7bd,_0x204af0){_0x50d7bd=_0x50d7bd-0x0;var _0x3ca7b8=_0xa3e6[_0x50d7bd];return _0x3ca7b8;};'use strict';var multer=require(_0x6a3e('0x0'));var util=require('util');var path=require(_0x6a3e('0x1'));var timeout=require('connect-timeout');var express=require(_0x6a3e('0x2'));var router=express[_0x6a3e('0x3')]();var fs_extra=require(_0x6a3e('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x6a3e('0x5'));var config=require('../../config/environment');var controller=require(_0x6a3e('0x6'));router[_0x6a3e('0x7')]('/',auth[_0x6a3e('0x8')](),controller[_0x6a3e('0x9')]);router[_0x6a3e('0x7')]('/:id',auth[_0x6a3e('0x8')](),controller[_0x6a3e('0xa')]);router['get']('/:id/configurations',auth[_0x6a3e('0x8')](),controller['getConfigurations']);router['get'](_0x6a3e('0xb'),auth['isAuthenticated'](),controller[_0x6a3e('0xc')]);router['post']('/',auth[_0x6a3e('0x8')](),controller[_0x6a3e('0xd')]);router[_0x6a3e('0xe')](_0x6a3e('0xf'),auth[_0x6a3e('0x8')](),controller[_0x6a3e('0x10')]);router['put'](_0x6a3e('0x11'),auth[_0x6a3e('0x8')](),controller[_0x6a3e('0x12')]);router[_0x6a3e('0x13')](_0x6a3e('0x11'),auth[_0x6a3e('0x8')](),controller[_0x6a3e('0x14')]);module['exports']=router; \ No newline at end of file +var _0xea03=['multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./intVtigerAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','getFields','post','create','addConfiguration','put','update','delete','destroy','exports'];(function(_0xdb58cc,_0x18c0c2){var _0x5c6f99=function(_0x4fe3f2){while(--_0x4fe3f2){_0xdb58cc['push'](_0xdb58cc['shift']());}};_0x5c6f99(++_0x18c0c2);}(_0xea03,0x15e));var _0x3ea0=function(_0x5213d3,_0x457833){_0x5213d3=_0x5213d3-0x0;var _0x3eb033=_0xea03[_0x5213d3];return _0x3eb033;};'use strict';var multer=require(_0x3ea0('0x0'));var util=require(_0x3ea0('0x1'));var path=require(_0x3ea0('0x2'));var timeout=require(_0x3ea0('0x3'));var express=require(_0x3ea0('0x4'));var router=express[_0x3ea0('0x5')]();var fs_extra=require(_0x3ea0('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x3ea0('0x7'));var config=require(_0x3ea0('0x8'));var controller=require(_0x3ea0('0x9'));router[_0x3ea0('0xa')]('/',auth[_0x3ea0('0xb')](),controller[_0x3ea0('0xc')]);router[_0x3ea0('0xa')](_0x3ea0('0xd'),auth['isAuthenticated'](),controller[_0x3ea0('0xe')]);router[_0x3ea0('0xa')](_0x3ea0('0xf'),auth[_0x3ea0('0xb')](),controller['getConfigurations']);router[_0x3ea0('0xa')]('/:id/fields',auth[_0x3ea0('0xb')](),controller[_0x3ea0('0x10')]);router[_0x3ea0('0x11')]('/',auth[_0x3ea0('0xb')](),controller[_0x3ea0('0x12')]);router[_0x3ea0('0x11')]('/:id/configurations',auth[_0x3ea0('0xb')](),controller[_0x3ea0('0x13')]);router[_0x3ea0('0x14')](_0x3ea0('0xd'),auth[_0x3ea0('0xb')](),controller[_0x3ea0('0x15')]);router[_0x3ea0('0x16')](_0x3ea0('0xd'),auth[_0x3ea0('0xb')](),controller[_0x3ea0('0x17')]);module[_0x3ea0('0x18')]=router; \ No newline at end of file