Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / squareOdbc / index.js
index 97b288c..ebf9479 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x15be=['show','/:id/test','isAuthenticated','15s','test','post','put','update','delete','destroy','exports','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareOdbc.controller','get','index','/:id'];(function(_0x380f57,_0x7d877a){var _0x304cce=function(_0x176043){while(--_0x176043){_0x380f57['push'](_0x380f57['shift']());}};_0x304cce(++_0x7d877a);}(_0x15be,0x131));var _0xe15b=function(_0x50ae27,_0x256afc){_0x50ae27=_0x50ae27-0x0;var _0x4aebbd=_0x15be[_0x50ae27];return _0x4aebbd;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe15b('0x0'));var timeout=require(_0xe15b('0x1'));var express=require(_0xe15b('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xe15b('0x3'));var interaction=require(_0xe15b('0x4'));var config=require(_0xe15b('0x5'));var controller=require(_0xe15b('0x6'));router[_0xe15b('0x7')]('/',auth['isAuthenticated'](),controller[_0xe15b('0x8')]);router[_0xe15b('0x7')](_0xe15b('0x9'),auth['isAuthenticated'](),controller[_0xe15b('0xa')]);router[_0xe15b('0x7')](_0xe15b('0xb'),auth[_0xe15b('0xc')](),timeout(_0xe15b('0xd')),controller[_0xe15b('0xe')]);router[_0xe15b('0xf')]('/',auth[_0xe15b('0xc')](),controller['create']);router[_0xe15b('0x10')](_0xe15b('0x9'),auth[_0xe15b('0xc')](),controller[_0xe15b('0x11')]);router[_0xe15b('0x12')](_0xe15b('0x9'),auth[_0xe15b('0xc')](),controller[_0xe15b('0x13')]);module[_0xe15b('0x14')]=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