X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintDeskAccount%2Findex.js;h=bc1b04d3c4eb0ad9e073f183715fd0c130054b7e;hb=0fe7d63fdd24ac799f5260a5b10b06097955b09f;hp=636ff969280f62e1ed7f0d59d9559c9a26abbb12;hpb=17b36376d3b7411763084143a03a7c6d2fc5e7b1;p=motion2.git diff --git a/server/api/intDeskAccount/index.js b/server/api/intDeskAccount/index.js index 636ff96..bc1b04d 100644 --- a/server/api/intDeskAccount/index.js +++ b/server/api/intDeskAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x2caf=['/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','exports','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskAccount.controller','get','isAuthenticated'];(function(_0x1ced72,_0x1eadc9){var _0xefb36d=function(_0x23b378){while(--_0x23b378){_0x1ced72['push'](_0x1ced72['shift']());}};_0xefb36d(++_0x1eadc9);}(_0x2caf,0x6a));var _0xf2ca=function(_0x352703,_0x19681c){_0x352703=_0x352703-0x0;var _0x13eaf2=_0x2caf[_0x352703];return _0x13eaf2;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xf2ca('0x0'));var express=require('express');var router=express[_0xf2ca('0x1')]();var auth=require(_0xf2ca('0x2'));var interaction=require(_0xf2ca('0x3'));var config=require(_0xf2ca('0x4'));var controller=require(_0xf2ca('0x5'));router[_0xf2ca('0x6')]('/',auth[_0xf2ca('0x7')](),controller['index']);router[_0xf2ca('0x6')](_0xf2ca('0x8'),auth[_0xf2ca('0x7')](),controller['show']);router['get'](_0xf2ca('0x9'),auth[_0xf2ca('0x7')](),controller[_0xf2ca('0xa')]);router[_0xf2ca('0x6')](_0xf2ca('0xb'),auth['isAuthenticated'](),controller[_0xf2ca('0xc')]);router[_0xf2ca('0xd')]('/',auth[_0xf2ca('0x7')](),controller[_0xf2ca('0xe')]);router[_0xf2ca('0xd')](_0xf2ca('0x9'),auth['isAuthenticated'](),controller[_0xf2ca('0xf')]);router[_0xf2ca('0x10')]('/:id',auth[_0xf2ca('0x7')](),controller[_0xf2ca('0x11')]);router['delete']('/:id',auth[_0xf2ca('0x7')](),controller['destroy']);module[_0xf2ca('0x12')]=router; \ No newline at end of file +var _0x92cc=['addConfiguration','update','delete','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','/:id/configurations','getConfigurations','getFields','post'];(function(_0x341e0f,_0x4a09d0){var _0x59555a=function(_0x4343a8){while(--_0x4343a8){_0x341e0f['push'](_0x341e0f['shift']());}};_0x59555a(++_0x4a09d0);}(_0x92cc,0x17f));var _0xc92c=function(_0x452a3e,_0x1d6cc4){_0x452a3e=_0x452a3e-0x0;var _0x5bce1b=_0x92cc[_0x452a3e];return _0x5bce1b;};'use strict';var multer=require(_0xc92c('0x0'));var util=require(_0xc92c('0x1'));var path=require(_0xc92c('0x2'));var timeout=require(_0xc92c('0x3'));var express=require(_0xc92c('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xc92c('0x5'));var interaction=require(_0xc92c('0x6'));var config=require(_0xc92c('0x7'));var controller=require('./intDeskAccount.controller');router['get']('/',auth[_0xc92c('0x8')](),controller[_0xc92c('0x9')]);router[_0xc92c('0xa')](_0xc92c('0xb'),auth[_0xc92c('0x8')](),controller['show']);router[_0xc92c('0xa')](_0xc92c('0xc'),auth[_0xc92c('0x8')](),controller[_0xc92c('0xd')]);router[_0xc92c('0xa')]('/:id/fields',auth[_0xc92c('0x8')](),controller[_0xc92c('0xe')]);router[_0xc92c('0xf')]('/',auth[_0xc92c('0x8')](),controller['create']);router[_0xc92c('0xf')](_0xc92c('0xc'),auth[_0xc92c('0x8')](),controller[_0xc92c('0x10')]);router['put'](_0xc92c('0xb'),auth[_0xc92c('0x8')](),controller[_0xc92c('0x11')]);router[_0xc92c('0x12')]('/:id',auth[_0xc92c('0x8')](),controller['destroy']);module['exports']=router; \ No newline at end of file