X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintSugarcrmField%2Findex.js;h=01865dff48ea19765489ad27656f00178308baf6;hb=bb4ed137b40a5e77cec195be87f1b347330d2766;hp=28ca3e5f2706ecec5dfc18d4e0768adeea4fb632;hpb=bbf2934691a4ec9ff4842d68e55333ba589f6077;p=motion2.git diff --git a/server/api/intSugarcrmField/index.js b/server/api/intSugarcrmField/index.js index 28ca3e5..01865df 100644 --- a/server/api/intSugarcrmField/index.js +++ b/server/api/intSugarcrmField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x939f=['create','put','destroy','exports','multer','util','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','post'];(function(_0xf734b7,_0x228b4c){var _0x4c38a3=function(_0x2f8e61){while(--_0x2f8e61){_0xf734b7['push'](_0xf734b7['shift']());}};_0x4c38a3(++_0x228b4c);}(_0x939f,0x1c6));var _0xf939=function(_0x2a5262,_0x578588){_0x2a5262=_0x2a5262-0x0;var _0x483802=_0x939f[_0x2a5262];return _0x483802;};'use strict';var multer=require(_0xf939('0x0'));var util=require(_0xf939('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xf939('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xf939('0x3'));var config=require(_0xf939('0x4'));var controller=require('./intSugarcrmField.controller');router['get']('/',auth[_0xf939('0x5')](),controller[_0xf939('0x6')]);router[_0xf939('0x7')](_0xf939('0x8'),auth[_0xf939('0x5')](),controller[_0xf939('0x9')]);router[_0xf939('0xa')]('/',auth[_0xf939('0x5')](),controller[_0xf939('0xb')]);router[_0xf939('0xc')](_0xf939('0x8'),auth[_0xf939('0x5')](),controller['update']);router['delete'](_0xf939('0x8'),auth[_0xf939('0x5')](),controller[_0xf939('0xd')]);module[_0xf939('0xe')]=router; \ No newline at end of file +var _0x4c13=['connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy','exports','multer','path'];(function(_0x26462c,_0xd20a35){var _0x509a42=function(_0x1b22c9){while(--_0x1b22c9){_0x26462c['push'](_0x26462c['shift']());}};_0x509a42(++_0xd20a35);}(_0x4c13,0x1c6));var _0x34c1=function(_0x1c3286,_0x404ee9){_0x1c3286=_0x1c3286-0x0;var _0x40a371=_0x4c13[_0x1c3286];return _0x40a371;};'use strict';var multer=require(_0x34c1('0x0'));var util=require('util');var path=require(_0x34c1('0x1'));var timeout=require(_0x34c1('0x2'));var express=require(_0x34c1('0x3'));var router=express['Router']();var fs_extra=require(_0x34c1('0x4'));var auth=require(_0x34c1('0x5'));var interaction=require(_0x34c1('0x6'));var config=require('../../config/environment');var controller=require('./intSugarcrmField.controller');router[_0x34c1('0x7')]('/',auth[_0x34c1('0x8')](),controller[_0x34c1('0x9')]);router[_0x34c1('0x7')]('/:id',auth[_0x34c1('0x8')](),controller[_0x34c1('0xa')]);router[_0x34c1('0xb')]('/',auth[_0x34c1('0x8')](),controller[_0x34c1('0xc')]);router[_0x34c1('0xd')](_0x34c1('0xe'),auth[_0x34c1('0x8')](),controller[_0x34c1('0xf')]);router[_0x34c1('0x10')]('/:id',auth[_0x34c1('0x8')](),controller[_0x34c1('0x11')]);module[_0x34c1('0x12')]=router; \ No newline at end of file