Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / api / intFreshsalesAccount / index.js
index b705151..23843f2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x31b7=['get','/:id','show','/:id/configurations','getFields','post','put','delete','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index'];(function(_0x5ea12c,_0x58685d){var _0x4e3711=function(_0x2aeb19){while(--_0x2aeb19){_0x5ea12c['push'](_0x5ea12c['shift']());}};_0x4e3711(++_0x58685d);}(_0x31b7,0x15c));var _0x731b=function(_0x342363,_0x42a40b){_0x342363=_0x342363-0x0;var _0x409bff=_0x31b7[_0x342363];return _0x409bff;};'use strict';var multer=require(_0x731b('0x0'));var util=require('util');var path=require(_0x731b('0x1'));var timeout=require(_0x731b('0x2'));var express=require(_0x731b('0x3'));var router=express[_0x731b('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x731b('0x5'));var config=require(_0x731b('0x6'));var controller=require('./intFreshsalesAccount.controller');router['get']('/',auth[_0x731b('0x7')](),controller[_0x731b('0x8')]);router[_0x731b('0x9')](_0x731b('0xa'),auth[_0x731b('0x7')](),controller[_0x731b('0xb')]);router[_0x731b('0x9')](_0x731b('0xc'),auth[_0x731b('0x7')](),controller['getConfigurations']);router[_0x731b('0x9')]('/:id/fields',auth['isAuthenticated'](),controller[_0x731b('0xd')]);router[_0x731b('0xe')]('/',auth[_0x731b('0x7')](),controller['create']);router[_0x731b('0xe')](_0x731b('0xc'),auth[_0x731b('0x7')](),controller['addConfiguration']);router[_0x731b('0xf')]('/:id',auth[_0x731b('0x7')](),controller['update']);router[_0x731b('0x10')](_0x731b('0xa'),auth[_0x731b('0x7')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x153f=['connect-timeout','express','Router','fs-extra','../../components/interaction/service','./intFreshsalesAccount.controller','get','isAuthenticated','index','show','/:id/configurations','getConfigurations','/:id/fields','getFields','create','post','addConfiguration','put','/:id','update','delete','exports','multer','util','path'];(function(_0x28b7ab,_0x16a764){var _0x56791b=function(_0x25d20d){while(--_0x25d20d){_0x28b7ab['push'](_0x28b7ab['shift']());}};_0x56791b(++_0x16a764);}(_0x153f,0x15b));var _0xf153=function(_0x3fa4a5,_0x3c4bd4){_0x3fa4a5=_0x3fa4a5-0x0;var _0x2e1330=_0x153f[_0x3fa4a5];return _0x2e1330;};'use strict';var multer=require(_0xf153('0x0'));var util=require(_0xf153('0x1'));var path=require(_0xf153('0x2'));var timeout=require(_0xf153('0x3'));var express=require(_0xf153('0x4'));var router=express[_0xf153('0x5')]();var fs_extra=require(_0xf153('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xf153('0x7'));var config=require('../../config/environment');var controller=require(_0xf153('0x8'));router[_0xf153('0x9')]('/',auth[_0xf153('0xa')](),controller[_0xf153('0xb')]);router[_0xf153('0x9')]('/:id',auth[_0xf153('0xa')](),controller[_0xf153('0xc')]);router[_0xf153('0x9')](_0xf153('0xd'),auth[_0xf153('0xa')](),controller[_0xf153('0xe')]);router[_0xf153('0x9')](_0xf153('0xf'),auth[_0xf153('0xa')](),controller[_0xf153('0x10')]);router['post']('/',auth[_0xf153('0xa')](),controller[_0xf153('0x11')]);router[_0xf153('0x12')]('/:id/configurations',auth[_0xf153('0xa')](),controller[_0xf153('0x13')]);router[_0xf153('0x14')](_0xf153('0x15'),auth[_0xf153('0xa')](),controller[_0xf153('0x16')]);router[_0xf153('0x17')](_0xf153('0x15'),auth[_0xf153('0xa')](),controller['destroy']);module[_0xf153('0x18')]=router;
\ No newline at end of file