X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintDeskAccount%2Findex.js;h=74c7243c05a5efb16ee5a78b470f67e51b526380;hb=cc5ed542bde40ef5cb950540b6a10b4f2d3f9dc8;hp=2ce307cfd46abbc1b81c82a0633ea442d35f8af6;hpb=3fce1ec9764180e4538143b803242af33377ccc4;p=motion2.git diff --git a/server/api/intDeskAccount/index.js b/server/api/intDeskAccount/index.js index 2ce307c..74c7243 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 _0x8346=['create','addConfiguration','put','update','delete','destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intDeskAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post'];(function(_0x3ea1c3,_0xb78dea){var _0x31a5ca=function(_0x1866ac){while(--_0x1866ac){_0x3ea1c3['push'](_0x3ea1c3['shift']());}};_0x31a5ca(++_0xb78dea);}(_0x8346,0x132));var _0x6834=function(_0x19c0ea,_0x1af097){_0x19c0ea=_0x19c0ea-0x0;var _0x597cba=_0x8346[_0x19c0ea];return _0x597cba;};'use strict';var multer=require(_0x6834('0x0'));var util=require(_0x6834('0x1'));var path=require(_0x6834('0x2'));var timeout=require('connect-timeout');var express=require(_0x6834('0x3'));var router=express[_0x6834('0x4')]();var fs_extra=require(_0x6834('0x5'));var auth=require(_0x6834('0x6'));var interaction=require(_0x6834('0x7'));var config=require('../../config/environment');var controller=require(_0x6834('0x8'));router[_0x6834('0x9')]('/',auth[_0x6834('0xa')](),controller[_0x6834('0xb')]);router[_0x6834('0x9')](_0x6834('0xc'),auth['isAuthenticated'](),controller[_0x6834('0xd')]);router[_0x6834('0x9')](_0x6834('0xe'),auth['isAuthenticated'](),controller[_0x6834('0xf')]);router[_0x6834('0x9')](_0x6834('0x10'),auth[_0x6834('0xa')](),controller[_0x6834('0x11')]);router[_0x6834('0x12')]('/',auth[_0x6834('0xa')](),controller[_0x6834('0x13')]);router[_0x6834('0x12')]('/:id/configurations',auth[_0x6834('0xa')](),controller[_0x6834('0x14')]);router[_0x6834('0x15')](_0x6834('0xc'),auth[_0x6834('0xa')](),controller[_0x6834('0x16')]);router[_0x6834('0x17')](_0x6834('0xc'),auth['isAuthenticated'](),controller[_0x6834('0x18')]);module['exports']=router; \ No newline at end of file +var _0x5aea=['Router','fs-extra','../../components/interaction/service','../../config/environment','./intDeskAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','getFields','post','create','addConfiguration','put','update','delete','destroy','exports','util','connect-timeout','express'];(function(_0x465a0c,_0x19d4d5){var _0x1e202e=function(_0x27bd8a){while(--_0x27bd8a){_0x465a0c['push'](_0x465a0c['shift']());}};_0x1e202e(++_0x19d4d5);}(_0x5aea,0x105));var _0xa5ae=function(_0x59df69,_0x263432){_0x59df69=_0x59df69-0x0;var _0x50e8b4=_0x5aea[_0x59df69];return _0x50e8b4;};'use strict';var multer=require('multer');var util=require(_0xa5ae('0x0'));var path=require('path');var timeout=require(_0xa5ae('0x1'));var express=require(_0xa5ae('0x2'));var router=express[_0xa5ae('0x3')]();var fs_extra=require(_0xa5ae('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xa5ae('0x5'));var config=require(_0xa5ae('0x6'));var controller=require(_0xa5ae('0x7'));router[_0xa5ae('0x8')]('/',auth[_0xa5ae('0x9')](),controller[_0xa5ae('0xa')]);router[_0xa5ae('0x8')](_0xa5ae('0xb'),auth[_0xa5ae('0x9')](),controller[_0xa5ae('0xc')]);router['get'](_0xa5ae('0xd'),auth['isAuthenticated'](),controller[_0xa5ae('0xe')]);router['get']('/:id/fields',auth[_0xa5ae('0x9')](),controller[_0xa5ae('0xf')]);router[_0xa5ae('0x10')]('/',auth['isAuthenticated'](),controller[_0xa5ae('0x11')]);router[_0xa5ae('0x10')](_0xa5ae('0xd'),auth[_0xa5ae('0x9')](),controller[_0xa5ae('0x12')]);router[_0xa5ae('0x13')](_0xa5ae('0xb'),auth[_0xa5ae('0x9')](),controller[_0xa5ae('0x14')]);router[_0xa5ae('0x15')](_0xa5ae('0xb'),auth[_0xa5ae('0x9')](),controller[_0xa5ae('0x16')]);module[_0xa5ae('0x17')]=router; \ No newline at end of file