X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintVtigerField%2Findex.js;h=483ead0dcd1b33704b1b01ab55eeb36588d3b0c3;hb=4baefdac9c37d4300115b8e539c5781a6d78e036;hp=d55787e116d21ac61edf439b2c72c0be3b69cdbd;hpb=adb8f006f81edb620408176c5eb5832d5db4e6db;p=motion2.git diff --git a/server/api/intVtigerField/index.js b/server/api/intVtigerField/index.js index d55787e..483ead0 100644 --- a/server/api/intVtigerField/index.js +++ b/server/api/intVtigerField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x6d7a=['/:id','post','create','update','delete','destroy','multer','util','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get','isAuthenticated','index'];(function(_0x59d8d0,_0x11d4a2){var _0xb812a3=function(_0x5c207d){while(--_0x5c207d){_0x59d8d0['push'](_0x59d8d0['shift']());}};_0xb812a3(++_0x11d4a2);}(_0x6d7a,0x166));var _0xa6d7=function(_0x384afa,_0x4cb260){_0x384afa=_0x384afa-0x0;var _0xced5aa=_0x6d7a[_0x384afa];return _0xced5aa;};'use strict';var multer=require(_0xa6d7('0x0'));var util=require(_0xa6d7('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa6d7('0x2')]();var auth=require(_0xa6d7('0x3'));var interaction=require(_0xa6d7('0x4'));var config=require(_0xa6d7('0x5'));var controller=require(_0xa6d7('0x6'));router[_0xa6d7('0x7')]('/',auth[_0xa6d7('0x8')](),controller[_0xa6d7('0x9')]);router[_0xa6d7('0x7')](_0xa6d7('0xa'),auth[_0xa6d7('0x8')](),controller['show']);router[_0xa6d7('0xb')]('/',auth[_0xa6d7('0x8')](),controller[_0xa6d7('0xc')]);router['put'](_0xa6d7('0xa'),auth['isAuthenticated'](),controller[_0xa6d7('0xd')]);router[_0xa6d7('0xe')](_0xa6d7('0xa'),auth[_0xa6d7('0x8')](),controller[_0xa6d7('0xf')]);module['exports']=router; \ No newline at end of file +var _0x3add=['isAuthenticated','show','post','create','put','/:id','update','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get'];(function(_0x118b1c,_0x467921){var _0x33ca71=function(_0x297391){while(--_0x297391){_0x118b1c['push'](_0x118b1c['shift']());}};_0x33ca71(++_0x467921);}(_0x3add,0x128));var _0xd3ad=function(_0x3725ee,_0x543bd9){_0x3725ee=_0x3725ee-0x0;var _0x399c71=_0x3add[_0x3725ee];return _0x399c71;};'use strict';var multer=require(_0xd3ad('0x0'));var util=require(_0xd3ad('0x1'));var path=require(_0xd3ad('0x2'));var timeout=require(_0xd3ad('0x3'));var express=require(_0xd3ad('0x4'));var router=express['Router']();var fs_extra=require(_0xd3ad('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xd3ad('0x6'));var config=require(_0xd3ad('0x7'));var controller=require(_0xd3ad('0x8'));router[_0xd3ad('0x9')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/:id',auth[_0xd3ad('0xa')](),controller[_0xd3ad('0xb')]);router[_0xd3ad('0xc')]('/',auth[_0xd3ad('0xa')](),controller[_0xd3ad('0xd')]);router[_0xd3ad('0xe')](_0xd3ad('0xf'),auth[_0xd3ad('0xa')](),controller[_0xd3ad('0x10')]);router['delete'](_0xd3ad('0xf'),auth[_0xd3ad('0xa')](),controller['destroy']);module['exports']=router; \ No newline at end of file