Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / intVtigerAccount / index.js
index 0a46d1a..92e88a0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x808a=['util','path','connect-timeout','../../components/interaction/service','../../config/environment','./intVtigerAccount.controller','get','index','/:id','/:id/configurations','getConfigurations','isAuthenticated','getFields','post','create','update','delete','destroy','exports','multer'];(function(_0x193784,_0x445291){var _0x5a009d=function(_0xd74591){while(--_0xd74591){_0x193784['push'](_0x193784['shift']());}};_0x5a009d(++_0x445291);}(_0x808a,0x1b7));var _0xa808=function(_0x37bd46,_0x2cd9de){_0x37bd46=_0x37bd46-0x0;var _0x560101=_0x808a[_0x37bd46];return _0x560101;};'use strict';var multer=require(_0xa808('0x0'));var util=require(_0xa808('0x1'));var path=require(_0xa808('0x2'));var timeout=require(_0xa808('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xa808('0x4'));var config=require(_0xa808('0x5'));var controller=require(_0xa808('0x6'));router[_0xa808('0x7')]('/',auth['isAuthenticated'](),controller[_0xa808('0x8')]);router[_0xa808('0x7')](_0xa808('0x9'),auth['isAuthenticated'](),controller['show']);router[_0xa808('0x7')](_0xa808('0xa'),auth['isAuthenticated'](),controller[_0xa808('0xb')]);router['get']('/:id/fields',auth[_0xa808('0xc')](),controller[_0xa808('0xd')]);router[_0xa808('0xe')]('/',auth[_0xa808('0xc')](),controller[_0xa808('0xf')]);router[_0xa808('0xe')](_0xa808('0xa'),auth[_0xa808('0xc')](),controller['addConfiguration']);router['put'](_0xa808('0x9'),auth[_0xa808('0xc')](),controller[_0xa808('0x10')]);router[_0xa808('0x11')](_0xa808('0x9'),auth['isAuthenticated'](),controller[_0xa808('0x12')]);module[_0xa808('0x13')]=router;
\ No newline at end of file
+var _0xff96=['/:id/configurations','isAuthenticated','getConfigurations','getFields','post','create','addConfiguration','delete','/:id','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerAccount.controller','get','index','show'];(function(_0x1b828b,_0x344400){var _0x98da1a=function(_0x1a0f5b){while(--_0x1a0f5b){_0x1b828b['push'](_0x1b828b['shift']());}};_0x98da1a(++_0x344400);}(_0xff96,0x179));var _0x6ff9=function(_0x28d175,_0x5449c6){_0x28d175=_0x28d175-0x0;var _0x1ad2b0=_0xff96[_0x28d175];return _0x1ad2b0;};'use strict';var multer=require(_0x6ff9('0x0'));var util=require(_0x6ff9('0x1'));var path=require(_0x6ff9('0x2'));var timeout=require(_0x6ff9('0x3'));var express=require(_0x6ff9('0x4'));var router=express[_0x6ff9('0x5')]();var fs_extra=require(_0x6ff9('0x6'));var auth=require(_0x6ff9('0x7'));var interaction=require(_0x6ff9('0x8'));var config=require(_0x6ff9('0x9'));var controller=require(_0x6ff9('0xa'));router[_0x6ff9('0xb')]('/',auth['isAuthenticated'](),controller[_0x6ff9('0xc')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x6ff9('0xd')]);router[_0x6ff9('0xb')](_0x6ff9('0xe'),auth[_0x6ff9('0xf')](),controller[_0x6ff9('0x10')]);router[_0x6ff9('0xb')]('/:id/fields',auth[_0x6ff9('0xf')](),controller[_0x6ff9('0x11')]);router[_0x6ff9('0x12')]('/',auth[_0x6ff9('0xf')](),controller[_0x6ff9('0x13')]);router[_0x6ff9('0x12')](_0x6ff9('0xe'),auth[_0x6ff9('0xf')](),controller[_0x6ff9('0x14')]);router['put']('/:id',auth[_0x6ff9('0xf')](),controller['update']);router[_0x6ff9('0x15')](_0x6ff9('0x16'),auth[_0x6ff9('0xf')](),controller['destroy']);module['exports']=router;
\ No newline at end of file