Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / intFreshsalesAccount / index.js
index 8ba16ce..3dd9e4f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x08b3=['path','connect-timeout','../../components/interaction/service','./intFreshsalesAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','/:id/fields','getFields','addConfiguration','update','delete','destroy','multer','util'];(function(_0x2827a,_0x5cb53f){var _0xbbf05=function(_0x380baa){while(--_0x380baa){_0x2827a['push'](_0x2827a['shift']());}};_0xbbf05(++_0x5cb53f);}(_0x08b3,0x130));var _0x308b=function(_0x30299c,_0x416d99){_0x30299c=_0x30299c-0x0;var _0x2fcb41=_0x08b3[_0x30299c];return _0x2fcb41;};'use strict';var multer=require(_0x308b('0x0'));var util=require(_0x308b('0x1'));var path=require(_0x308b('0x2'));var timeout=require(_0x308b('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x308b('0x4'));var config=require('../../config/environment');var controller=require(_0x308b('0x5'));router[_0x308b('0x6')]('/',auth[_0x308b('0x7')](),controller[_0x308b('0x8')]);router[_0x308b('0x6')](_0x308b('0x9'),auth[_0x308b('0x7')](),controller[_0x308b('0xa')]);router['get'](_0x308b('0xb'),auth[_0x308b('0x7')](),controller['getConfigurations']);router[_0x308b('0x6')](_0x308b('0xc'),auth['isAuthenticated'](),controller[_0x308b('0xd')]);router['post']('/',auth[_0x308b('0x7')](),controller['create']);router['post'](_0x308b('0xb'),auth['isAuthenticated'](),controller[_0x308b('0xe')]);router['put'](_0x308b('0x9'),auth[_0x308b('0x7')](),controller[_0x308b('0xf')]);router[_0x308b('0x10')](_0x308b('0x9'),auth['isAuthenticated'](),controller[_0x308b('0x11')]);module['exports']=router;
\ No newline at end of file
+var _0x57f8=['/:id','/:id/configurations','/:id/fields','post','create','addConfiguration','update','delete','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshsalesAccount.controller','get','isAuthenticated'];(function(_0x232a22,_0x2bcf3a){var _0x392eaa=function(_0x33d4fa){while(--_0x33d4fa){_0x232a22['push'](_0x232a22['shift']());}};_0x392eaa(++_0x2bcf3a);}(_0x57f8,0x198));var _0x857f=function(_0x124da8,_0x2f4adf){_0x124da8=_0x124da8-0x0;var _0x470b89=_0x57f8[_0x124da8];return _0x470b89;};'use strict';var multer=require('multer');var util=require(_0x857f('0x0'));var path=require(_0x857f('0x1'));var timeout=require(_0x857f('0x2'));var express=require(_0x857f('0x3'));var router=express[_0x857f('0x4')]();var fs_extra=require(_0x857f('0x5'));var auth=require(_0x857f('0x6'));var interaction=require(_0x857f('0x7'));var config=require(_0x857f('0x8'));var controller=require(_0x857f('0x9'));router[_0x857f('0xa')]('/',auth[_0x857f('0xb')](),controller['index']);router[_0x857f('0xa')](_0x857f('0xc'),auth[_0x857f('0xb')](),controller['show']);router[_0x857f('0xa')](_0x857f('0xd'),auth[_0x857f('0xb')](),controller['getConfigurations']);router[_0x857f('0xa')](_0x857f('0xe'),auth[_0x857f('0xb')](),controller['getFields']);router[_0x857f('0xf')]('/',auth[_0x857f('0xb')](),controller[_0x857f('0x10')]);router[_0x857f('0xf')](_0x857f('0xd'),auth[_0x857f('0xb')](),controller[_0x857f('0x11')]);router['put'](_0x857f('0xc'),auth[_0x857f('0xb')](),controller[_0x857f('0x12')]);router[_0x857f('0x13')](_0x857f('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x857f('0x14')]=router;
\ No newline at end of file