Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / intFreshsalesAccount / index.js
index d57665b..52b2eea 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xaf76=['exports','multer','util','connect-timeout','express','Router','fs-extra','get','index','/:id','isAuthenticated','/:id/fields','getFields','post','create','addConfiguration','put','update','delete'];(function(_0x18a79d,_0x57bd2c){var _0x4f8848=function(_0x28af80){while(--_0x28af80){_0x18a79d['push'](_0x18a79d['shift']());}};_0x4f8848(++_0x57bd2c);}(_0xaf76,0x1b6));var _0x6af7=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xaf76[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x6af7('0x0'));var util=require(_0x6af7('0x1'));var path=require('path');var timeout=require(_0x6af7('0x2'));var express=require(_0x6af7('0x3'));var router=express[_0x6af7('0x4')]();var fs_extra=require(_0x6af7('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intFreshsalesAccount.controller');router[_0x6af7('0x6')]('/',auth['isAuthenticated'](),controller[_0x6af7('0x7')]);router['get'](_0x6af7('0x8'),auth[_0x6af7('0x9')](),controller['show']);router['get']('/:id/configurations',auth[_0x6af7('0x9')](),controller['getConfigurations']);router[_0x6af7('0x6')](_0x6af7('0xa'),auth[_0x6af7('0x9')](),controller[_0x6af7('0xb')]);router[_0x6af7('0xc')]('/',auth[_0x6af7('0x9')](),controller[_0x6af7('0xd')]);router[_0x6af7('0xc')]('/:id/configurations',auth[_0x6af7('0x9')](),controller[_0x6af7('0xe')]);router[_0x6af7('0xf')]('/:id',auth[_0x6af7('0x9')](),controller[_0x6af7('0x10')]);router[_0x6af7('0x11')](_0x6af7('0x8'),auth[_0x6af7('0x9')](),controller['destroy']);module[_0x6af7('0x12')]=router;
\ No newline at end of file
+var _0x087b=['../../config/environment','./intFreshsalesAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','getFields','post','create','addConfiguration','put','update','delete','destroy','exports','multer','util','express','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x8d4fad,_0x4cddfd){var _0x4300d1=function(_0x21491b){while(--_0x21491b){_0x8d4fad['push'](_0x8d4fad['shift']());}};_0x4300d1(++_0x4cddfd);}(_0x087b,0x11a));var _0xb087=function(_0x4e9d3c,_0x1f4b98){_0x4e9d3c=_0x4e9d3c-0x0;var _0x2d0825=_0x087b[_0x4e9d3c];return _0x2d0825;};'use strict';var multer=require(_0xb087('0x0'));var util=require(_0xb087('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb087('0x2'));var router=express['Router']();var fs_extra=require(_0xb087('0x3'));var auth=require(_0xb087('0x4'));var interaction=require(_0xb087('0x5'));var config=require(_0xb087('0x6'));var controller=require(_0xb087('0x7'));router[_0xb087('0x8')]('/',auth[_0xb087('0x9')](),controller[_0xb087('0xa')]);router[_0xb087('0x8')](_0xb087('0xb'),auth[_0xb087('0x9')](),controller[_0xb087('0xc')]);router[_0xb087('0x8')](_0xb087('0xd'),auth[_0xb087('0x9')](),controller[_0xb087('0xe')]);router[_0xb087('0x8')]('/:id/fields',auth[_0xb087('0x9')](),controller[_0xb087('0xf')]);router[_0xb087('0x10')]('/',auth[_0xb087('0x9')](),controller[_0xb087('0x11')]);router[_0xb087('0x10')](_0xb087('0xd'),auth['isAuthenticated'](),controller[_0xb087('0x12')]);router[_0xb087('0x13')](_0xb087('0xb'),auth['isAuthenticated'](),controller[_0xb087('0x14')]);router[_0xb087('0x15')](_0xb087('0xb'),auth[_0xb087('0x9')](),controller[_0xb087('0x16')]);module[_0xb087('0x17')]=router;
\ No newline at end of file