Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / intVtigerAccount / index.js
index b68a888..061751e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x00ca=['post','create','/:id/configurations','put','update','destroy','exports','multer','util','connect-timeout','../../components/interaction/service','../../config/environment','./intVtigerAccount.controller','isAuthenticated','index','get','/:id','show','getFields'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x00ca,0xc5));var _0xa00c=function(_0x2f5ac5,_0x1ee939){_0x2f5ac5=_0x2f5ac5-0x0;var _0x37c9a8=_0x00ca[_0x2f5ac5];return _0x37c9a8;};'use strict';var multer=require(_0xa00c('0x0'));var util=require(_0xa00c('0x1'));var path=require('path');var timeout=require(_0xa00c('0x2'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xa00c('0x3'));var config=require(_0xa00c('0x4'));var controller=require(_0xa00c('0x5'));router['get']('/',auth[_0xa00c('0x6')](),controller[_0xa00c('0x7')]);router[_0xa00c('0x8')](_0xa00c('0x9'),auth[_0xa00c('0x6')](),controller[_0xa00c('0xa')]);router[_0xa00c('0x8')]('/:id/configurations',auth[_0xa00c('0x6')](),controller['getConfigurations']);router[_0xa00c('0x8')]('/:id/fields',auth[_0xa00c('0x6')](),controller[_0xa00c('0xb')]);router[_0xa00c('0xc')]('/',auth[_0xa00c('0x6')](),controller[_0xa00c('0xd')]);router[_0xa00c('0xc')](_0xa00c('0xe'),auth[_0xa00c('0x6')](),controller['addConfiguration']);router[_0xa00c('0xf')](_0xa00c('0x9'),auth['isAuthenticated'](),controller[_0xa00c('0x10')]);router['delete'](_0xa00c('0x9'),auth['isAuthenticated'](),controller[_0xa00c('0x11')]);module[_0xa00c('0x12')]=router;
\ No newline at end of file
+var _0x818f=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','/:id/fields','getFields','post','create','addConfiguration','update','delete','destroy','exports','multer'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x818f,0x1da));var _0xf818=function(_0x4c866f,_0x244368){_0x4c866f=_0x4c866f-0x0;var _0x2221b2=_0x818f[_0x4c866f];return _0x2221b2;};'use strict';var multer=require(_0xf818('0x0'));var util=require(_0xf818('0x1'));var path=require(_0xf818('0x2'));var timeout=require(_0xf818('0x3'));var express=require(_0xf818('0x4'));var router=express[_0xf818('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xf818('0x6'));var interaction=require(_0xf818('0x7'));var config=require(_0xf818('0x8'));var controller=require(_0xf818('0x9'));router[_0xf818('0xa')]('/',auth[_0xf818('0xb')](),controller[_0xf818('0xc')]);router[_0xf818('0xa')](_0xf818('0xd'),auth['isAuthenticated'](),controller[_0xf818('0xe')]);router[_0xf818('0xa')](_0xf818('0xf'),auth['isAuthenticated'](),controller['getConfigurations']);router[_0xf818('0xa')](_0xf818('0x10'),auth[_0xf818('0xb')](),controller[_0xf818('0x11')]);router[_0xf818('0x12')]('/',auth['isAuthenticated'](),controller[_0xf818('0x13')]);router[_0xf818('0x12')](_0xf818('0xf'),auth[_0xf818('0xb')](),controller[_0xf818('0x14')]);router['put']('/:id',auth[_0xf818('0xb')](),controller[_0xf818('0x15')]);router[_0xf818('0x16')](_0xf818('0xd'),auth['isAuthenticated'](),controller[_0xf818('0x17')]);module[_0xf818('0x18')]=router;
\ No newline at end of file