Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / squareOdbc / index.js
index a2633e3..ebf9479 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcfbf=['util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated','show','/:id/test','15s','post','create','put','update','delete','exports','multer'];(function(_0x22f05b,_0x6bc751){var _0x41ee92=function(_0x113190){while(--_0x113190){_0x22f05b['push'](_0x22f05b['shift']());}};_0x41ee92(++_0x6bc751);}(_0xcfbf,0x8b));var _0xfcfb=function(_0x344461,_0x4eaef2){_0x344461=_0x344461-0x0;var _0x30e6ad=_0xcfbf[_0x344461];return _0x30e6ad;};'use strict';var multer=require(_0xfcfb('0x0'));var util=require(_0xfcfb('0x1'));var path=require(_0xfcfb('0x2'));var timeout=require('connect-timeout');var express=require(_0xfcfb('0x3'));var router=express[_0xfcfb('0x4')]();var auth=require(_0xfcfb('0x5'));var interaction=require(_0xfcfb('0x6'));var config=require(_0xfcfb('0x7'));var controller=require('./squareOdbc.controller');router[_0xfcfb('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xfcfb('0x8')](_0xfcfb('0x9'),auth[_0xfcfb('0xa')](),controller[_0xfcfb('0xb')]);router[_0xfcfb('0x8')](_0xfcfb('0xc'),auth[_0xfcfb('0xa')](),timeout(_0xfcfb('0xd')),controller['test']);router[_0xfcfb('0xe')]('/',auth[_0xfcfb('0xa')](),controller[_0xfcfb('0xf')]);router[_0xfcfb('0x10')](_0xfcfb('0x9'),auth[_0xfcfb('0xa')](),controller[_0xfcfb('0x11')]);router[_0xfcfb('0x12')]('/:id',auth[_0xfcfb('0xa')](),controller['destroy']);module[_0xfcfb('0x13')]=router;
\ No newline at end of file
+var _0x06aa=['destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./squareOdbc.controller','get','/:id','isAuthenticated','show','/:id/test','test','create','update'];(function(_0x1dbf97,_0x3d0669){var _0x13356d=function(_0x4461e5){while(--_0x4461e5){_0x1dbf97['push'](_0x1dbf97['shift']());}};_0x13356d(++_0x3d0669);}(_0x06aa,0x16a));var _0xa06a=function(_0x4133a6,_0x1dbb66){_0x4133a6=_0x4133a6-0x0;var _0x1457c2=_0x06aa[_0x4133a6];return _0x1457c2;};'use strict';var multer=require(_0xa06a('0x0'));var util=require(_0xa06a('0x1'));var path=require(_0xa06a('0x2'));var timeout=require(_0xa06a('0x3'));var express=require(_0xa06a('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa06a('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa06a('0x6'));var controller=require(_0xa06a('0x7'));router[_0xa06a('0x8')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xa06a('0x9'),auth[_0xa06a('0xa')](),controller[_0xa06a('0xb')]);router['get'](_0xa06a('0xc'),auth[_0xa06a('0xa')](),timeout('15s'),controller[_0xa06a('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0xa06a('0xe')]);router['put'](_0xa06a('0x9'),auth[_0xa06a('0xa')](),controller[_0xa06a('0xf')]);router['delete'](_0xa06a('0x9'),auth[_0xa06a('0xa')](),controller[_0xa06a('0x10')]);module[_0xa06a('0x11')]=router;
\ No newline at end of file