X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FsquareRecording%2Findex.js;h=e5f411c9a1461e012f81915a41a48b1d1e8f9c0a;hb=032eef5eb1c414450ccc959e49effc8ff508851b;hp=0ef17ed5a83af9eb7284fe8098eae993b15733d0;hpb=9c8616cfa647d703a1bff4c288be65133e777d2a;p=motion2.git diff --git a/server/api/squareRecording/index.js b/server/api/squareRecording/index.js index 0ef17ed..e5f411c 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 _0x79b0=['index','get','show','/:id/download','download','create','update','delete','/:id/delete','destroy','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareRecording.controller','isAuthenticated'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x79b0,0x123));var _0x079b=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x79b0[_0x3947c9];return _0x2e7871;};'use strict';var multer=require('multer');var util=require(_0x079b('0x0'));var path=require(_0x079b('0x1'));var timeout=require('connect-timeout');var express=require(_0x079b('0x2'));var router=express[_0x079b('0x3')]();var auth=require(_0x079b('0x4'));var interaction=require(_0x079b('0x5'));var config=require(_0x079b('0x6'));var controller=require(_0x079b('0x7'));router['get']('/',auth[_0x079b('0x8')](),controller[_0x079b('0x9')]);router[_0x079b('0xa')]('/:id',auth[_0x079b('0x8')](),controller[_0x079b('0xb')]);router[_0x079b('0xa')](_0x079b('0xc'),auth[_0x079b('0x8')](),controller[_0x079b('0xd')]);router['post']('/',auth[_0x079b('0x8')](),controller[_0x079b('0xe')]);router['put']('/:id',auth[_0x079b('0x8')](),controller[_0x079b('0xf')]);router[_0x079b('0x10')](_0x079b('0x11'),auth[_0x079b('0x8')](),controller[_0x079b('0x12')]);module[_0x079b('0x13')]=router; \ No newline at end of file +var _0x444c=['put','update','delete','exports','multer','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','show','download','post','create'];(function(_0x514c58,_0x3ec414){var _0x1903ef=function(_0x53108f){while(--_0x53108f){_0x514c58['push'](_0x514c58['shift']());}};_0x1903ef(++_0x3ec414);}(_0x444c,0xca));var _0xc444=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x444c[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xc444('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc444('0x1'));var express=require('express');var router=express[_0xc444('0x2')]();var auth=require(_0xc444('0x3'));var interaction=require(_0xc444('0x4'));var config=require(_0xc444('0x5'));var controller=require('./squareRecording.controller');router[_0xc444('0x6')]('/',auth['isAuthenticated'](),controller[_0xc444('0x7')]);router['get'](_0xc444('0x8'),auth[_0xc444('0x9')](),controller[_0xc444('0xa')]);router['get']('/:id/download',auth[_0xc444('0x9')](),controller[_0xc444('0xb')]);router[_0xc444('0xc')]('/',auth[_0xc444('0x9')](),controller[_0xc444('0xd')]);router[_0xc444('0xe')](_0xc444('0x8'),auth[_0xc444('0x9')](),controller[_0xc444('0xf')]);router[_0xc444('0x10')]('/:id/delete',auth['isAuthenticated'](),controller['destroy']);module[_0xc444('0x11')]=router; \ No newline at end of file