X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintDeskField%2Findex.js;h=5d10a98c54342c7a858c86db0cd4196cec5534df;hb=d95c7680dfcaf10be192f8d0dd361fe585df15b7;hp=fe243d1c6143b966aaa1159fd234d23d58543330;hpb=3a60439f3b647e2a7df8ce941316640492032b43;p=motion2.git diff --git a/server/api/intDeskField/index.js b/server/api/intDeskField/index.js index fe243d1..5d10a98 100644 --- a/server/api/intDeskField/index.js +++ b/server/api/intDeskField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x11c3=['put','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskField.controller','get','isAuthenticated','index','/:id','show'];(function(_0x1bc750,_0x23f442){var _0xcd51da=function(_0x323854){while(--_0x323854){_0x1bc750['push'](_0x1bc750['shift']());}};_0xcd51da(++_0x23f442);}(_0x11c3,0xee));var _0x311c=function(_0x39bc25,_0x2e5838){_0x39bc25=_0x39bc25-0x0;var _0x1f1f82=_0x11c3[_0x39bc25];return _0x1f1f82;};'use strict';var multer=require(_0x311c('0x0'));var util=require(_0x311c('0x1'));var path=require(_0x311c('0x2'));var timeout=require(_0x311c('0x3'));var express=require('express');var router=express[_0x311c('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x311c('0x5'));var interaction=require(_0x311c('0x6'));var config=require(_0x311c('0x7'));var controller=require(_0x311c('0x8'));router[_0x311c('0x9')]('/',auth[_0x311c('0xa')](),controller[_0x311c('0xb')]);router[_0x311c('0x9')](_0x311c('0xc'),auth['isAuthenticated'](),controller[_0x311c('0xd')]);router['post']('/',auth[_0x311c('0xa')](),controller['create']);router[_0x311c('0xe')]('/:id',auth[_0x311c('0xa')](),controller['update']);router[_0x311c('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x311c('0x10')]);module[_0x311c('0x11')]=router; \ No newline at end of file +var _0xb2a6=['Router','fs-extra','../../components/auth/service','../../config/environment','./intDeskField.controller','isAuthenticated','get','/:id','show','post','put','update','delete','destroy','exports','util','path','connect-timeout','express'];(function(_0x2c2e9f,_0x1f6a4e){var _0xb7fefd=function(_0x5e9687){while(--_0x5e9687){_0x2c2e9f['push'](_0x2c2e9f['shift']());}};_0xb7fefd(++_0x1f6a4e);}(_0xb2a6,0x12c));var _0x6b2a=function(_0x56ca3e,_0x2524a6){_0x56ca3e=_0x56ca3e-0x0;var _0x7e126d=_0xb2a6[_0x56ca3e];return _0x7e126d;};'use strict';var multer=require('multer');var util=require(_0x6b2a('0x0'));var path=require(_0x6b2a('0x1'));var timeout=require(_0x6b2a('0x2'));var express=require(_0x6b2a('0x3'));var router=express[_0x6b2a('0x4')]();var fs_extra=require(_0x6b2a('0x5'));var auth=require(_0x6b2a('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x6b2a('0x7'));var controller=require(_0x6b2a('0x8'));router['get']('/',auth[_0x6b2a('0x9')](),controller['index']);router[_0x6b2a('0xa')](_0x6b2a('0xb'),auth[_0x6b2a('0x9')](),controller[_0x6b2a('0xc')]);router[_0x6b2a('0xd')]('/',auth[_0x6b2a('0x9')](),controller['create']);router[_0x6b2a('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x6b2a('0xf')]);router[_0x6b2a('0x10')](_0x6b2a('0xb'),auth[_0x6b2a('0x9')](),controller[_0x6b2a('0x11')]);module[_0x6b2a('0x12')]=router; \ No newline at end of file