Built motion from commit 19a84241.|2.5.34
[motion2.git] / server / api / intFreshsalesAccount / index.js
index b705151..3a880e9 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 _0x2f68=['create','addConfiguration','put','update','delete','destroy','exports','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','/:id/configurations','/:id/fields','getFields','post'];(function(_0x23cbfb,_0x2820f0){var _0x216933=function(_0x50bdb6){while(--_0x50bdb6){_0x23cbfb['push'](_0x23cbfb['shift']());}};_0x216933(++_0x2820f0);}(_0x2f68,0x9a));var _0x82f6=function(_0x25c803,_0x10f4e8){_0x25c803=_0x25c803-0x0;var _0xecf599=_0x2f68[_0x25c803];return _0xecf599;};'use strict';var multer=require('multer');var util=require(_0x82f6('0x0'));var path=require(_0x82f6('0x1'));var timeout=require(_0x82f6('0x2'));var express=require(_0x82f6('0x3'));var router=express['Router']();var fs_extra=require(_0x82f6('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x82f6('0x5'));var config=require(_0x82f6('0x6'));var controller=require('./intFreshsalesAccount.controller');router[_0x82f6('0x7')]('/',auth[_0x82f6('0x8')](),controller['index']);router['get'](_0x82f6('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x82f6('0x7')](_0x82f6('0xa'),auth[_0x82f6('0x8')](),controller['getConfigurations']);router[_0x82f6('0x7')](_0x82f6('0xb'),auth['isAuthenticated'](),controller[_0x82f6('0xc')]);router[_0x82f6('0xd')]('/',auth[_0x82f6('0x8')](),controller[_0x82f6('0xe')]);router[_0x82f6('0xd')](_0x82f6('0xa'),auth['isAuthenticated'](),controller[_0x82f6('0xf')]);router[_0x82f6('0x10')]('/:id',auth[_0x82f6('0x8')](),controller[_0x82f6('0x11')]);router[_0x82f6('0x12')](_0x82f6('0x9'),auth[_0x82f6('0x8')](),controller[_0x82f6('0x13')]);module[_0x82f6('0x14')]=router;
\ No newline at end of file