Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / squareOdbc / index.js
index a89eb3b..5396050 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa543=['test','post','create','put','delete','exports','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./squareOdbc.controller','get','isAuthenticated','index','/:id','show','/:id/test'];(function(_0x568995,_0x542d4b){var _0x22e5dd=function(_0x9a68a0){while(--_0x9a68a0){_0x568995['push'](_0x568995['shift']());}};_0x22e5dd(++_0x542d4b);}(_0xa543,0x16f));var _0x3a54=function(_0x8af5e2,_0x2fb5d0){_0x8af5e2=_0x8af5e2-0x0;var _0x4a8a99=_0xa543[_0x8af5e2];return _0x4a8a99;};'use strict';var multer=require('multer');var util=require(_0x3a54('0x0'));var path=require('path');var timeout=require(_0x3a54('0x1'));var express=require(_0x3a54('0x2'));var router=express[_0x3a54('0x3')]();var fs_extra=require(_0x3a54('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x3a54('0x5'));var config=require('../../config/environment');var controller=require(_0x3a54('0x6'));router[_0x3a54('0x7')]('/',auth[_0x3a54('0x8')](),controller[_0x3a54('0x9')]);router[_0x3a54('0x7')](_0x3a54('0xa'),auth['isAuthenticated'](),controller[_0x3a54('0xb')]);router[_0x3a54('0x7')](_0x3a54('0xc'),auth['isAuthenticated'](),timeout('15s'),controller[_0x3a54('0xd')]);router[_0x3a54('0xe')]('/',auth['isAuthenticated'](),controller[_0x3a54('0xf')]);router[_0x3a54('0x10')](_0x3a54('0xa'),auth[_0x3a54('0x8')](),controller['update']);router[_0x3a54('0x11')](_0x3a54('0xa'),auth[_0x3a54('0x8')](),controller['destroy']);module[_0x3a54('0x12')]=router;
\ No newline at end of file
+var _0x51be=['get','index','/:id','show','isAuthenticated','test','post','put','update','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareOdbc.controller'];(function(_0x444462,_0x2bf6e){var _0x3060fa=function(_0x139a93){while(--_0x139a93){_0x444462['push'](_0x444462['shift']());}};_0x3060fa(++_0x2bf6e);}(_0x51be,0x1c3));var _0xe51b=function(_0x5a7e78,_0x400b57){_0x5a7e78=_0x5a7e78-0x0;var _0xa8d4a1=_0x51be[_0x5a7e78];return _0xa8d4a1;};'use strict';var multer=require(_0xe51b('0x0'));var util=require(_0xe51b('0x1'));var path=require(_0xe51b('0x2'));var timeout=require(_0xe51b('0x3'));var express=require('express');var router=express[_0xe51b('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xe51b('0x5'));var interaction=require(_0xe51b('0x6'));var config=require(_0xe51b('0x7'));var controller=require(_0xe51b('0x8'));router[_0xe51b('0x9')]('/',auth['isAuthenticated'](),controller[_0xe51b('0xa')]);router[_0xe51b('0x9')](_0xe51b('0xb'),auth['isAuthenticated'](),controller[_0xe51b('0xc')]);router[_0xe51b('0x9')]('/:id/test',auth[_0xe51b('0xd')](),timeout('15s'),controller[_0xe51b('0xe')]);router[_0xe51b('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0xe51b('0x10')]('/:id',auth[_0xe51b('0xd')](),controller[_0xe51b('0x11')]);router[_0xe51b('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xe51b('0x13')]);module['exports']=router;
\ No newline at end of file