X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintVtigerField%2Findex.js;h=9124d168d73b5a470dbedc4ee64f076fd09bec99;hb=8cdeeda1196ee7d2ad7723378ea9a4f6c5d1e83a;hp=3d7fbfc474ac86c0045a55bb370d69f087498bc9;hpb=b8feeab5a72cbb7651a1c603fc767034cd5922cc;p=motion2.git diff --git a/server/api/intVtigerField/index.js b/server/api/intVtigerField/index.js index 3d7fbfc..9124d16 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 _0xfa64=['index','/:id','isAuthenticated','show','post','create','update','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get'];(function(_0xcec412,_0x233968){var _0x487cc6=function(_0x3dd80f){while(--_0x3dd80f){_0xcec412['push'](_0xcec412['shift']());}};_0x487cc6(++_0x233968);}(_0xfa64,0xb3));var _0x4fa6=function(_0x48edce,_0x331e93){_0x48edce=_0x48edce-0x0;var _0x246d87=_0xfa64[_0x48edce];return _0x246d87;};'use strict';var multer=require(_0x4fa6('0x0'));var util=require(_0x4fa6('0x1'));var path=require(_0x4fa6('0x2'));var timeout=require(_0x4fa6('0x3'));var express=require(_0x4fa6('0x4'));var router=express['Router']();var fs_extra=require(_0x4fa6('0x5'));var auth=require(_0x4fa6('0x6'));var interaction=require(_0x4fa6('0x7'));var config=require(_0x4fa6('0x8'));var controller=require(_0x4fa6('0x9'));router[_0x4fa6('0xa')]('/',auth['isAuthenticated'](),controller[_0x4fa6('0xb')]);router[_0x4fa6('0xa')](_0x4fa6('0xc'),auth[_0x4fa6('0xd')](),controller[_0x4fa6('0xe')]);router[_0x4fa6('0xf')]('/',auth[_0x4fa6('0xd')](),controller[_0x4fa6('0x10')]);router['put'](_0x4fa6('0xc'),auth[_0x4fa6('0xd')](),controller[_0x4fa6('0x11')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x4fa6('0x12')]=router; \ No newline at end of file +var _0x3176=['post','create','update','delete','destroy','exports','multer','util','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get','isAuthenticated','index','/:id','show'];(function(_0x5cd7fd,_0x4de617){var _0x5213ae=function(_0x49b2aa){while(--_0x49b2aa){_0x5cd7fd['push'](_0x5cd7fd['shift']());}};_0x5213ae(++_0x4de617);}(_0x3176,0x123));var _0x6317=function(_0x1e66e6,_0x2e97ce){_0x1e66e6=_0x1e66e6-0x0;var _0x301755=_0x3176[_0x1e66e6];return _0x301755;};'use strict';var multer=require(_0x6317('0x0'));var util=require(_0x6317('0x1'));var path=require('path');var timeout=require(_0x6317('0x2'));var express=require('express');var router=express[_0x6317('0x3')]();var fs_extra=require(_0x6317('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x6317('0x5'));var config=require(_0x6317('0x6'));var controller=require(_0x6317('0x7'));router[_0x6317('0x8')]('/',auth[_0x6317('0x9')](),controller[_0x6317('0xa')]);router['get'](_0x6317('0xb'),auth['isAuthenticated'](),controller[_0x6317('0xc')]);router[_0x6317('0xd')]('/',auth['isAuthenticated'](),controller[_0x6317('0xe')]);router['put'](_0x6317('0xb'),auth[_0x6317('0x9')](),controller[_0x6317('0xf')]);router[_0x6317('0x10')]('/:id',auth[_0x6317('0x9')](),controller[_0x6317('0x11')]);module[_0x6317('0x12')]=router; \ No newline at end of file