X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FsquareRecording%2Findex.js;h=eeea990c2222362dc3687d932c54991a66af9ddd;hb=08f6e0b86d261e0f7c3417afd107d7f774257198;hp=a8f8fe97f19f1c81c7190e29e9180b0173185b77;hpb=77cac286a995d5774f6d69ad14d2f583dccfe84b;p=motion2.git diff --git a/server/api/squareRecording/index.js b/server/api/squareRecording/index.js index a8f8fe9..eeea990 100644 --- a/server/api/squareRecording/index.js +++ b/server/api/squareRecording/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x14ae=['update','delete','destroy','exports','connect-timeout','express','Router','../../config/environment','./squareRecording.controller','get','isAuthenticated','index','/:id','show','/:id/download','download','post','create','put'];(function(_0x2cfb58,_0x3d9412){var _0xd99951=function(_0x329afa){while(--_0x329afa){_0x2cfb58['push'](_0x2cfb58['shift']());}};_0xd99951(++_0x3d9412);}(_0x14ae,0x121));var _0xe14a=function(_0x5a5ccd,_0x44a15d){_0x5a5ccd=_0x5a5ccd-0x0;var _0x31a9b5=_0x14ae[_0x5a5ccd];return _0x31a9b5;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xe14a('0x0'));var express=require(_0xe14a('0x1'));var router=express[_0xe14a('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xe14a('0x3'));var controller=require(_0xe14a('0x4'));router[_0xe14a('0x5')]('/',auth[_0xe14a('0x6')](),controller[_0xe14a('0x7')]);router[_0xe14a('0x5')](_0xe14a('0x8'),auth[_0xe14a('0x6')](),controller[_0xe14a('0x9')]);router[_0xe14a('0x5')](_0xe14a('0xa'),auth['isAuthenticated'](),controller[_0xe14a('0xb')]);router[_0xe14a('0xc')]('/',auth[_0xe14a('0x6')](),controller[_0xe14a('0xd')]);router[_0xe14a('0xe')]('/:id',auth[_0xe14a('0x6')](),controller[_0xe14a('0xf')]);router[_0xe14a('0x10')]('/:id/delete',auth[_0xe14a('0x6')](),controller[_0xe14a('0x11')]);module[_0xe14a('0x12')]=router; \ No newline at end of file +var _0x1331=['../../config/environment','./squareRecording.controller','get','/:id','post','isAuthenticated','create','update','delete','/:id/delete','multer','path','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x95bf5d,_0x43839b){var _0x29a35f=function(_0x2e94d5){while(--_0x2e94d5){_0x95bf5d['push'](_0x95bf5d['shift']());}};_0x29a35f(++_0x43839b);}(_0x1331,0x1aa));var _0x1133=function(_0x4d0e21,_0x2b1c56){_0x4d0e21=_0x4d0e21-0x0;var _0x5cccf8=_0x1331[_0x4d0e21];return _0x5cccf8;};'use strict';var multer=require(_0x1133('0x0'));var util=require('util');var path=require(_0x1133('0x1'));var timeout=require(_0x1133('0x2'));var express=require(_0x1133('0x3'));var router=express[_0x1133('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x1133('0x5'));var config=require(_0x1133('0x6'));var controller=require(_0x1133('0x7'));router[_0x1133('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x1133('0x8')](_0x1133('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x1133('0x8')]('/:id/download',auth['isAuthenticated'](),controller['download']);router[_0x1133('0xa')]('/',auth[_0x1133('0xb')](),controller[_0x1133('0xc')]);router['put'](_0x1133('0x9'),auth[_0x1133('0xb')](),controller[_0x1133('0xd')]);router[_0x1133('0xe')](_0x1133('0xf'),auth[_0x1133('0xb')](),controller['destroy']);module['exports']=router; \ No newline at end of file