X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintDeskAccount%2Findex.js;fp=server%2Fapi%2FintDeskAccount%2Findex.js;h=07b8b7768f5ee0129945630229db7e89e3cdb07b;hb=fed88ff2b9fedc76d735d841a58c735e5087ca2f;hp=cb13e23b674b8afaf8f0aabd61f4b6018cf9f84c;hpb=7cda1c65c6741ebe625028920920ca9ef572e569;p=motion2.git diff --git a/server/api/intDeskAccount/index.js b/server/api/intDeskAccount/index.js index cb13e23..07b8b77 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 _0xa096=['index','get','/:id','isAuthenticated','show','/:id/configurations','/:id/fields','getFields','post','create','addConfiguration','put','delete','destroy','exports','util','path','express','../../components/interaction/service','./intDeskAccount.controller'];(function(_0xee250c,_0x6d7db9){var _0x21b7f5=function(_0x344dea){while(--_0x344dea){_0xee250c['push'](_0xee250c['shift']());}};_0x21b7f5(++_0x6d7db9);}(_0xa096,0xd7));var _0x6a09=function(_0x157527,_0x41f908){_0x157527=_0x157527-0x0;var _0x2d56a1=_0xa096[_0x157527];return _0x2d56a1;};'use strict';var multer=require('multer');var util=require(_0x6a09('0x0'));var path=require(_0x6a09('0x1'));var timeout=require('connect-timeout');var express=require(_0x6a09('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x6a09('0x3'));var config=require('../../config/environment');var controller=require(_0x6a09('0x4'));router['get']('/',auth['isAuthenticated'](),controller[_0x6a09('0x5')]);router[_0x6a09('0x6')](_0x6a09('0x7'),auth[_0x6a09('0x8')](),controller[_0x6a09('0x9')]);router['get'](_0x6a09('0xa'),auth[_0x6a09('0x8')](),controller['getConfigurations']);router[_0x6a09('0x6')](_0x6a09('0xb'),auth[_0x6a09('0x8')](),controller[_0x6a09('0xc')]);router[_0x6a09('0xd')]('/',auth[_0x6a09('0x8')](),controller[_0x6a09('0xe')]);router[_0x6a09('0xd')](_0x6a09('0xa'),auth[_0x6a09('0x8')](),controller[_0x6a09('0xf')]);router[_0x6a09('0x10')]('/:id',auth[_0x6a09('0x8')](),controller['update']);router[_0x6a09('0x11')]('/:id',auth[_0x6a09('0x8')](),controller[_0x6a09('0x12')]);module[_0x6a09('0x13')]=router; \ No newline at end of file +var _0xfb1f=['getFields','post','addConfiguration','put','/:id','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','get','index','isAuthenticated','/:id/configurations','getConfigurations','/:id/fields'];(function(_0xe72e1b,_0x1ad97a){var _0x17f85c=function(_0x14fc5a){while(--_0x14fc5a){_0xe72e1b['push'](_0xe72e1b['shift']());}};_0x17f85c(++_0x1ad97a);}(_0xfb1f,0x104));var _0xffb1=function(_0x5601e7,_0x1ac673){_0x5601e7=_0x5601e7-0x0;var _0x58a60=_0xfb1f[_0x5601e7];return _0x58a60;};'use strict';var multer=require(_0xffb1('0x0'));var util=require(_0xffb1('0x1'));var path=require(_0xffb1('0x2'));var timeout=require(_0xffb1('0x3'));var express=require(_0xffb1('0x4'));var router=express[_0xffb1('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xffb1('0x6'));var controller=require('./intDeskAccount.controller');router[_0xffb1('0x7')]('/',auth['isAuthenticated'](),controller[_0xffb1('0x8')]);router[_0xffb1('0x7')]('/:id',auth[_0xffb1('0x9')](),controller['show']);router[_0xffb1('0x7')](_0xffb1('0xa'),auth[_0xffb1('0x9')](),controller[_0xffb1('0xb')]);router[_0xffb1('0x7')](_0xffb1('0xc'),auth['isAuthenticated'](),controller[_0xffb1('0xd')]);router['post']('/',auth[_0xffb1('0x9')](),controller['create']);router[_0xffb1('0xe')](_0xffb1('0xa'),auth[_0xffb1('0x9')](),controller[_0xffb1('0xf')]);router[_0xffb1('0x10')](_0xffb1('0x11'),auth[_0xffb1('0x9')](),controller[_0xffb1('0x12')]);router[_0xffb1('0x13')]('/:id',auth[_0xffb1('0x9')](),controller['destroy']);module[_0xffb1('0x14')]=router; \ No newline at end of file