X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintFreshsalesField%2Findex.js;h=c4896ba8c6e87a3321a5882f61850c47a28a2227;hb=3b6ec49862a5197d06e7453a43d40dcd68709ea0;hp=1c8ca65263133bd82795432ac5087e9b645cb69b;hpb=ed368fdfe923471c0749d5720e7df57649e4ed09;p=motion2.git diff --git a/server/api/intFreshsalesField/index.js b/server/api/intFreshsalesField/index.js index 1c8ca65..c4896ba 100644 --- a/server/api/intFreshsalesField/index.js +++ b/server/api/intFreshsalesField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfc03=['post','create','put','update','delete','/:id','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshsalesField.controller','get','isAuthenticated','index'];(function(_0x4abbd3,_0x198039){var _0x1d0eee=function(_0x40d6e5){while(--_0x40d6e5){_0x4abbd3['push'](_0x4abbd3['shift']());}};_0x1d0eee(++_0x198039);}(_0xfc03,0x16f));var _0x3fc0=function(_0x22b68a,_0x2bffc3){_0x22b68a=_0x22b68a-0x0;var _0x1ac67a=_0xfc03[_0x22b68a];return _0x1ac67a;};'use strict';var multer=require(_0x3fc0('0x0'));var util=require('util');var path=require(_0x3fc0('0x1'));var timeout=require(_0x3fc0('0x2'));var express=require('express');var router=express[_0x3fc0('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x3fc0('0x4'));var interaction=require(_0x3fc0('0x5'));var config=require(_0x3fc0('0x6'));var controller=require(_0x3fc0('0x7'));router[_0x3fc0('0x8')]('/',auth[_0x3fc0('0x9')](),controller[_0x3fc0('0xa')]);router[_0x3fc0('0x8')]('/:id',auth[_0x3fc0('0x9')](),controller['show']);router[_0x3fc0('0xb')]('/',auth[_0x3fc0('0x9')](),controller[_0x3fc0('0xc')]);router[_0x3fc0('0xd')]('/:id',auth[_0x3fc0('0x9')](),controller[_0x3fc0('0xe')]);router[_0x3fc0('0xf')](_0x3fc0('0x10'),auth[_0x3fc0('0x9')](),controller['destroy']);module[_0x3fc0('0x11')]=router; \ No newline at end of file +var _0x0cfa=['post','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../config/environment','./intFreshsalesField.controller','get','isAuthenticated'];(function(_0x122b1f,_0x1d0387){var _0x4be6d4=function(_0x258a41){while(--_0x258a41){_0x122b1f['push'](_0x122b1f['shift']());}};_0x4be6d4(++_0x1d0387);}(_0x0cfa,0x18f));var _0xa0cf=function(_0x2ec26e,_0x3c6d9f){_0x2ec26e=_0x2ec26e-0x0;var _0x2b41f7=_0x0cfa[_0x2ec26e];return _0x2b41f7;};'use strict';var multer=require(_0xa0cf('0x0'));var util=require(_0xa0cf('0x1'));var path=require(_0xa0cf('0x2'));var timeout=require(_0xa0cf('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa0cf('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xa0cf('0x5'));var controller=require(_0xa0cf('0x6'));router[_0xa0cf('0x7')]('/',auth[_0xa0cf('0x8')](),controller['index']);router[_0xa0cf('0x7')]('/:id',auth[_0xa0cf('0x8')](),controller['show']);router[_0xa0cf('0x9')]('/',auth['isAuthenticated'](),controller[_0xa0cf('0xa')]);router[_0xa0cf('0xb')](_0xa0cf('0xc'),auth['isAuthenticated'](),controller[_0xa0cf('0xd')]);router[_0xa0cf('0xe')]('/:id',auth['isAuthenticated'](),controller[_0xa0cf('0xf')]);module[_0xa0cf('0x10')]=router; \ No newline at end of file