X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintVtigerAccount%2Findex.js;h=cc06fe1a6dc02e26afb7264698785e2f1c68f1dc;hb=cc5ed542bde40ef5cb950540b6a10b4f2d3f9dc8;hp=d0b8025ca23cdcbb8af805491d6e811c6bb3f7d5;hpb=c9bea7b5fb8c2c40aa3c8a89531d666691350a10;p=motion2.git diff --git a/server/api/intVtigerAccount/index.js b/server/api/intVtigerAccount/index.js index d0b8025..cc06fe1 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 _0x26bc=['getConfigurations','/:id/fields','getFields','create','post','addConfiguration','/:id','delete','destroy','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./intVtigerAccount.controller','isAuthenticated','index','get','show','/:id/configurations'];(function(_0x51cf64,_0x303dab){var _0x2c982b=function(_0x471301){while(--_0x471301){_0x51cf64['push'](_0x51cf64['shift']());}};_0x2c982b(++_0x303dab);}(_0x26bc,0x162));var _0xc26b=function(_0xff0f79,_0x2996cd){_0xff0f79=_0xff0f79-0x0;var _0xe7a68=_0x26bc[_0xff0f79];return _0xe7a68;};'use strict';var multer=require(_0xc26b('0x0'));var util=require(_0xc26b('0x1'));var path=require(_0xc26b('0x2'));var timeout=require(_0xc26b('0x3'));var express=require(_0xc26b('0x4'));var router=express['Router']();var fs_extra=require(_0xc26b('0x5'));var auth=require(_0xc26b('0x6'));var interaction=require(_0xc26b('0x7'));var config=require('../../config/environment');var controller=require(_0xc26b('0x8'));router['get']('/',auth[_0xc26b('0x9')](),controller[_0xc26b('0xa')]);router[_0xc26b('0xb')]('/:id',auth[_0xc26b('0x9')](),controller[_0xc26b('0xc')]);router[_0xc26b('0xb')](_0xc26b('0xd'),auth[_0xc26b('0x9')](),controller[_0xc26b('0xe')]);router[_0xc26b('0xb')](_0xc26b('0xf'),auth[_0xc26b('0x9')](),controller[_0xc26b('0x10')]);router['post']('/',auth[_0xc26b('0x9')](),controller[_0xc26b('0x11')]);router[_0xc26b('0x12')](_0xc26b('0xd'),auth[_0xc26b('0x9')](),controller[_0xc26b('0x13')]);router['put'](_0xc26b('0x14'),auth['isAuthenticated'](),controller['update']);router[_0xc26b('0x15')](_0xc26b('0x14'),auth[_0xc26b('0x9')](),controller[_0xc26b('0x16')]);module['exports']=router; \ No newline at end of file +var _0x818f=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','/:id/fields','getFields','post','create','addConfiguration','update','delete','destroy','exports','multer'];(function(_0x465a0c,_0x19d4d5){var _0x1e202e=function(_0x27bd8a){while(--_0x27bd8a){_0x465a0c['push'](_0x465a0c['shift']());}};_0x1e202e(++_0x19d4d5);}(_0x818f,0x1da));var _0xf818=function(_0x4d464e,_0xf11e70){_0x4d464e=_0x4d464e-0x0;var _0x8e991a=_0x818f[_0x4d464e];return _0x8e991a;};'use strict';var multer=require(_0xf818('0x0'));var util=require(_0xf818('0x1'));var path=require(_0xf818('0x2'));var timeout=require(_0xf818('0x3'));var express=require(_0xf818('0x4'));var router=express[_0xf818('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xf818('0x6'));var interaction=require(_0xf818('0x7'));var config=require(_0xf818('0x8'));var controller=require(_0xf818('0x9'));router[_0xf818('0xa')]('/',auth[_0xf818('0xb')](),controller[_0xf818('0xc')]);router[_0xf818('0xa')](_0xf818('0xd'),auth['isAuthenticated'](),controller[_0xf818('0xe')]);router[_0xf818('0xa')](_0xf818('0xf'),auth['isAuthenticated'](),controller['getConfigurations']);router[_0xf818('0xa')](_0xf818('0x10'),auth[_0xf818('0xb')](),controller[_0xf818('0x11')]);router[_0xf818('0x12')]('/',auth['isAuthenticated'](),controller[_0xf818('0x13')]);router[_0xf818('0x12')](_0xf818('0xf'),auth[_0xf818('0xb')](),controller[_0xf818('0x14')]);router['put']('/:id',auth[_0xf818('0xb')](),controller[_0xf818('0x15')]);router[_0xf818('0x16')](_0xf818('0xd'),auth['isAuthenticated'](),controller[_0xf818('0x17')]);module[_0xf818('0x18')]=router; \ No newline at end of file