Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / intFreshsalesConfiguration / index.js
index 43c70c6..3d23978 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xaac1=['../../components/auth/service','./intFreshsalesConfiguration.controller','isAuthenticated','index','get','/:id','show','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/fields','getFields','post','create','update','delete','destroy','multer','connect-timeout','express','fs-extra'];(function(_0x26806a,_0x35b2da){var _0x222ca6=function(_0x4f4f4f){while(--_0x4f4f4f){_0x26806a['push'](_0x26806a['shift']());}};_0x222ca6(++_0x35b2da);}(_0xaac1,0xc2));var _0x1aac=function(_0x338cbf,_0x459456){_0x338cbf=_0x338cbf-0x0;var _0x5ab0bf=_0xaac1[_0x338cbf];return _0x5ab0bf;};'use strict';var multer=require(_0x1aac('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1aac('0x1'));var express=require(_0x1aac('0x2'));var router=express['Router']();var fs_extra=require(_0x1aac('0x3'));var auth=require(_0x1aac('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1aac('0x5'));router['get']('/',auth[_0x1aac('0x6')](),controller[_0x1aac('0x7')]);router[_0x1aac('0x8')](_0x1aac('0x9'),auth[_0x1aac('0x6')](),controller[_0x1aac('0xa')]);router[_0x1aac('0x8')](_0x1aac('0xb'),auth[_0x1aac('0x6')](),controller[_0x1aac('0xc')]);router[_0x1aac('0x8')](_0x1aac('0xd'),auth['isAuthenticated'](),controller[_0x1aac('0xe')]);router[_0x1aac('0x8')](_0x1aac('0xf'),auth['isAuthenticated'](),controller[_0x1aac('0x10')]);router[_0x1aac('0x11')]('/',auth[_0x1aac('0x6')](),controller[_0x1aac('0x12')]);router['put'](_0x1aac('0x9'),auth[_0x1aac('0x6')](),controller[_0x1aac('0x13')]);router[_0x1aac('0x14')](_0x1aac('0x9'),auth[_0x1aac('0x6')](),controller[_0x1aac('0x15')]);module['exports']=router;
\ No newline at end of file
+var _0x5914=['path','express','Router','fs-extra','../../components/auth/service','../../config/environment','isAuthenticated','index','get','/:id','show','/:id/subjects','getSubjects','/:id/fields','getFields','put','update','destroy','exports','util'];(function(_0x2f0257,_0x5d0dab){var _0x5aace0=function(_0x5f1d01){while(--_0x5f1d01){_0x2f0257['push'](_0x2f0257['shift']());}};_0x5aace0(++_0x5d0dab);}(_0x5914,0x1f3));var _0x4591=function(_0xb7c15b,_0x438982){_0xb7c15b=_0xb7c15b-0x0;var _0x2769e9=_0x5914[_0xb7c15b];return _0x2769e9;};'use strict';var multer=require('multer');var util=require(_0x4591('0x0'));var path=require(_0x4591('0x1'));var timeout=require('connect-timeout');var express=require(_0x4591('0x2'));var router=express[_0x4591('0x3')]();var fs_extra=require(_0x4591('0x4'));var auth=require(_0x4591('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x4591('0x6'));var controller=require('./intFreshsalesConfiguration.controller');router['get']('/',auth[_0x4591('0x7')](),controller[_0x4591('0x8')]);router[_0x4591('0x9')](_0x4591('0xa'),auth[_0x4591('0x7')](),controller[_0x4591('0xb')]);router['get'](_0x4591('0xc'),auth[_0x4591('0x7')](),controller[_0x4591('0xd')]);router[_0x4591('0x9')]('/:id/descriptions',auth['isAuthenticated'](),controller['getDescriptions']);router[_0x4591('0x9')](_0x4591('0xe'),auth[_0x4591('0x7')](),controller[_0x4591('0xf')]);router['post']('/',auth[_0x4591('0x7')](),controller['create']);router[_0x4591('0x10')](_0x4591('0xa'),auth[_0x4591('0x7')](),controller[_0x4591('0x11')]);router['delete'](_0x4591('0xa'),auth['isAuthenticated'](),controller[_0x4591('0x12')]);module[_0x4591('0x13')]=router;
\ No newline at end of file