Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / api / intFreshsalesAccount / index.js
index b705151..dee8525 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 _0x9aea=['index','/:id','show','/:id/configurations','isAuthenticated','getConfigurations','/:id/fields','getFields','post','addConfiguration','put','update','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshsalesAccount.controller','get'];(function(_0x465028,_0x4570ac){var _0xb783d4=function(_0x5458c5){while(--_0x5458c5){_0x465028['push'](_0x465028['shift']());}};_0xb783d4(++_0x4570ac);}(_0x9aea,0xdd));var _0xa9ae=function(_0x55be44,_0x18f0b5){_0x55be44=_0x55be44-0x0;var _0x422e84=_0x9aea[_0x55be44];return _0x422e84;};'use strict';var multer=require(_0xa9ae('0x0'));var util=require('util');var path=require(_0xa9ae('0x1'));var timeout=require('connect-timeout');var express=require(_0xa9ae('0x2'));var router=express[_0xa9ae('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xa9ae('0x4'));var interaction=require(_0xa9ae('0x5'));var config=require(_0xa9ae('0x6'));var controller=require(_0xa9ae('0x7'));router[_0xa9ae('0x8')]('/',auth['isAuthenticated'](),controller[_0xa9ae('0x9')]);router[_0xa9ae('0x8')](_0xa9ae('0xa'),auth['isAuthenticated'](),controller[_0xa9ae('0xb')]);router[_0xa9ae('0x8')](_0xa9ae('0xc'),auth[_0xa9ae('0xd')](),controller[_0xa9ae('0xe')]);router[_0xa9ae('0x8')](_0xa9ae('0xf'),auth[_0xa9ae('0xd')](),controller[_0xa9ae('0x10')]);router['post']('/',auth[_0xa9ae('0xd')](),controller['create']);router[_0xa9ae('0x11')](_0xa9ae('0xc'),auth[_0xa9ae('0xd')](),controller[_0xa9ae('0x12')]);router[_0xa9ae('0x13')](_0xa9ae('0xa'),auth[_0xa9ae('0xd')](),controller[_0xa9ae('0x14')]);router['delete'](_0xa9ae('0xa'),auth[_0xa9ae('0xd')](),controller[_0xa9ae('0x15')]);module[_0xa9ae('0x16')]=router;
\ No newline at end of file