Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / intFreshsalesAccount / index.js
index 1407af1..67da622 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x64b5=['getFields','post','addConfiguration','put','update','destroy','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intFreshsalesAccount.controller','isAuthenticated','get','show','/:id/configurations','getConfigurations'];(function(_0x38729c,_0x259e2a){var _0x590303=function(_0x422f21){while(--_0x422f21){_0x38729c['push'](_0x38729c['shift']());}};_0x590303(++_0x259e2a);}(_0x64b5,0x110));var _0x564b=function(_0x2a0f3e,_0x1e2ad0){_0x2a0f3e=_0x2a0f3e-0x0;var _0x2c0712=_0x64b5[_0x2a0f3e];return _0x2c0712;};'use strict';var multer=require(_0x564b('0x0'));var util=require('util');var path=require(_0x564b('0x1'));var timeout=require(_0x564b('0x2'));var express=require(_0x564b('0x3'));var router=express[_0x564b('0x4')]();var auth=require(_0x564b('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x564b('0x6'));var controller=require(_0x564b('0x7'));router['get']('/',auth[_0x564b('0x8')](),controller['index']);router[_0x564b('0x9')]('/:id',auth[_0x564b('0x8')](),controller[_0x564b('0xa')]);router['get'](_0x564b('0xb'),auth[_0x564b('0x8')](),controller[_0x564b('0xc')]);router[_0x564b('0x9')]('/:id/fields',auth[_0x564b('0x8')](),controller[_0x564b('0xd')]);router[_0x564b('0xe')]('/',auth[_0x564b('0x8')](),controller['create']);router['post'](_0x564b('0xb'),auth[_0x564b('0x8')](),controller[_0x564b('0xf')]);router[_0x564b('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x564b('0x11')]);router['delete']('/:id',auth[_0x564b('0x8')](),controller[_0x564b('0x12')]);module['exports']=router;
\ No newline at end of file
+var _0x0713=['destroy','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./intFreshsalesAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','/:id/fields','getFields','post','create','addConfiguration','delete'];(function(_0x26f512,_0x6335e){var _0x4187c6=function(_0x3d73c0){while(--_0x3d73c0){_0x26f512['push'](_0x26f512['shift']());}};_0x4187c6(++_0x6335e);}(_0x0713,0x1ba));var _0x3071=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0713[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x3071('0x0'));var timeout=require(_0x3071('0x1'));var express=require(_0x3071('0x2'));var router=express[_0x3071('0x3')]();var fs_extra=require(_0x3071('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x3071('0x5'));var config=require(_0x3071('0x6'));var controller=require(_0x3071('0x7'));router[_0x3071('0x8')]('/',auth[_0x3071('0x9')](),controller[_0x3071('0xa')]);router[_0x3071('0x8')](_0x3071('0xb'),auth[_0x3071('0x9')](),controller[_0x3071('0xc')]);router[_0x3071('0x8')](_0x3071('0xd'),auth[_0x3071('0x9')](),controller['getConfigurations']);router[_0x3071('0x8')](_0x3071('0xe'),auth[_0x3071('0x9')](),controller[_0x3071('0xf')]);router[_0x3071('0x10')]('/',auth['isAuthenticated'](),controller[_0x3071('0x11')]);router[_0x3071('0x10')](_0x3071('0xd'),auth[_0x3071('0x9')](),controller[_0x3071('0x12')]);router['put']('/:id',auth[_0x3071('0x9')](),controller['update']);router[_0x3071('0x13')](_0x3071('0xb'),auth['isAuthenticated'](),controller[_0x3071('0x14')]);module['exports']=router;
\ No newline at end of file