Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / squareOdbc / index.js
index 8e46ebd..3ef39b2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x54cf=['show','/:id/test','post','create','put','/:id','update','destroy','exports','multer','connect-timeout','express','../../components/interaction/service','../../config/environment','./squareOdbc.controller','get','isAuthenticated','index'];(function(_0x48b502,_0x1ef01c){var _0x365d74=function(_0x1e181f){while(--_0x1e181f){_0x48b502['push'](_0x48b502['shift']());}};_0x365d74(++_0x1ef01c);}(_0x54cf,0xbd));var _0xf54c=function(_0x371145,_0x271b3d){_0x371145=_0x371145-0x0;var _0x583fae=_0x54cf[_0x371145];return _0x583fae;};'use strict';var multer=require(_0xf54c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf54c('0x1'));var express=require(_0xf54c('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xf54c('0x3'));var config=require(_0xf54c('0x4'));var controller=require(_0xf54c('0x5'));router[_0xf54c('0x6')]('/',auth[_0xf54c('0x7')](),controller[_0xf54c('0x8')]);router['get']('/:id',auth[_0xf54c('0x7')](),controller[_0xf54c('0x9')]);router['get'](_0xf54c('0xa'),auth[_0xf54c('0x7')](),timeout('15s'),controller['test']);router[_0xf54c('0xb')]('/',auth[_0xf54c('0x7')](),controller[_0xf54c('0xc')]);router[_0xf54c('0xd')](_0xf54c('0xe'),auth['isAuthenticated'](),controller[_0xf54c('0xf')]);router['delete'](_0xf54c('0xe'),auth[_0xf54c('0x7')](),controller[_0xf54c('0x10')]);module[_0xf54c('0x11')]=router;
\ No newline at end of file
+var _0x0b7e=['isAuthenticated','show','/:id/test','15s','post','create','put','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareOdbc.controller','get','index','/:id'];(function(_0x30abff,_0x5f2c5f){var _0x4c571e=function(_0x43de9a){while(--_0x43de9a){_0x30abff['push'](_0x30abff['shift']());}};_0x4c571e(++_0x5f2c5f);}(_0x0b7e,0x163));var _0xe0b7=function(_0x21b32d,_0x5f319c){_0x21b32d=_0x21b32d-0x0;var _0x4816d9=_0x0b7e[_0x21b32d];return _0x4816d9;};'use strict';var multer=require('multer');var util=require(_0xe0b7('0x0'));var path=require(_0xe0b7('0x1'));var timeout=require(_0xe0b7('0x2'));var express=require(_0xe0b7('0x3'));var router=express[_0xe0b7('0x4')]();var fs_extra=require(_0xe0b7('0x5'));var auth=require(_0xe0b7('0x6'));var interaction=require(_0xe0b7('0x7'));var config=require(_0xe0b7('0x8'));var controller=require(_0xe0b7('0x9'));router[_0xe0b7('0xa')]('/',auth['isAuthenticated'](),controller[_0xe0b7('0xb')]);router[_0xe0b7('0xa')](_0xe0b7('0xc'),auth[_0xe0b7('0xd')](),controller[_0xe0b7('0xe')]);router[_0xe0b7('0xa')](_0xe0b7('0xf'),auth[_0xe0b7('0xd')](),timeout(_0xe0b7('0x10')),controller['test']);router[_0xe0b7('0x11')]('/',auth['isAuthenticated'](),controller[_0xe0b7('0x12')]);router[_0xe0b7('0x13')]('/:id',auth[_0xe0b7('0xd')](),controller['update']);router[_0xe0b7('0x14')](_0xe0b7('0xc'),auth[_0xe0b7('0xd')](),controller[_0xe0b7('0x15')]);module[_0xe0b7('0x16')]=router;
\ No newline at end of file