X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintFreshsalesField%2Findex.js;h=dd5897b493a130fe82157c6b254245efa637b00a;hb=b9d8fb89c04e2712a06e4d6666f975c8e677d46a;hp=ab59dd5b45a69edd4dac29eec5eef65692173f1f;hpb=d5b3d400e91cc98c429bfb9d7741cfdb9b495f82;p=motion2.git diff --git a/server/api/intFreshsalesField/index.js b/server/api/intFreshsalesField/index.js index ab59dd5..dd5897b 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 _0x4024=['express','fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','update','destroy','exports','multer','util','connect-timeout'];(function(_0xef4e09,_0x1bcfa4){var _0x16f8e6=function(_0x6bc736){while(--_0x6bc736){_0xef4e09['push'](_0xef4e09['shift']());}};_0x16f8e6(++_0x1bcfa4);}(_0x4024,0x89));var _0x4402=function(_0x32f8d8,_0x243f95){_0x32f8d8=_0x32f8d8-0x0;var _0x3e4ee9=_0x4024[_0x32f8d8];return _0x3e4ee9;};'use strict';var multer=require(_0x4402('0x0'));var util=require(_0x4402('0x1'));var path=require('path');var timeout=require(_0x4402('0x2'));var express=require(_0x4402('0x3'));var router=express['Router']();var fs_extra=require(_0x4402('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x4402('0x5'));var config=require(_0x4402('0x6'));var controller=require('./intFreshsalesField.controller');router['get']('/',auth[_0x4402('0x7')](),controller[_0x4402('0x8')]);router[_0x4402('0x9')]('/:id',auth[_0x4402('0x7')](),controller['show']);router['post']('/',auth[_0x4402('0x7')](),controller['create']);router['put'](_0x4402('0xa'),auth['isAuthenticated'](),controller[_0x4402('0xb')]);router['delete'](_0x4402('0xa'),auth['isAuthenticated'](),controller[_0x4402('0xc')]);module[_0x4402('0xd')]=router; \ No newline at end of file +var _0x1be1=['fs-extra','../../components/auth/service','../../components/interaction/service','./intFreshsalesField.controller','get','isAuthenticated','show','post','create','/:id','delete','destroy','path','connect-timeout','Router'];(function(_0x4a8221,_0x56bb66){var _0x502e58=function(_0x27738a){while(--_0x27738a){_0x4a8221['push'](_0x4a8221['shift']());}};_0x502e58(++_0x56bb66);}(_0x1be1,0x192));var _0x11be=function(_0x58b76e,_0x4c6d0c){_0x58b76e=_0x58b76e-0x0;var _0x11d5c2=_0x1be1[_0x58b76e];return _0x11d5c2;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x11be('0x0'));var timeout=require(_0x11be('0x1'));var express=require('express');var router=express[_0x11be('0x2')]();var fs_extra=require(_0x11be('0x3'));var auth=require(_0x11be('0x4'));var interaction=require(_0x11be('0x5'));var config=require('../../config/environment');var controller=require(_0x11be('0x6'));router[_0x11be('0x7')]('/',auth[_0x11be('0x8')](),controller['index']);router[_0x11be('0x7')]('/:id',auth[_0x11be('0x8')](),controller[_0x11be('0x9')]);router[_0x11be('0xa')]('/',auth[_0x11be('0x8')](),controller[_0x11be('0xb')]);router['put'](_0x11be('0xc'),auth[_0x11be('0x8')](),controller['update']);router[_0x11be('0xd')](_0x11be('0xc'),auth[_0x11be('0x8')](),controller[_0x11be('0xe')]);module['exports']=router; \ No newline at end of file