Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / api / intFreshsalesAccount / index.js
index d57665b..23843f2 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 _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