Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / intFreshdeskAccount / index.js
index 5465eb1..1fd53be 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa901=['isAuthenticated','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','put','delete','/:id','destroy','util','path','connect-timeout','express','Router','./intFreshdeskAccount.controller','get','index'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0xa901,0x14e));var _0x1a90=function(_0x106117,_0x120d2a){_0x106117=_0x106117-0x0;var _0x3bc161=_0xa901[_0x106117];return _0x3bc161;};'use strict';var multer=require('multer');var util=require(_0x1a90('0x0'));var path=require(_0x1a90('0x1'));var timeout=require(_0x1a90('0x2'));var express=require(_0x1a90('0x3'));var router=express[_0x1a90('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1a90('0x5'));router[_0x1a90('0x6')]('/',auth['isAuthenticated'](),controller[_0x1a90('0x7')]);router[_0x1a90('0x6')]('/:id',auth[_0x1a90('0x8')](),controller['show']);router[_0x1a90('0x6')](_0x1a90('0x9'),auth['isAuthenticated'](),controller[_0x1a90('0xa')]);router[_0x1a90('0x6')](_0x1a90('0xb'),auth[_0x1a90('0x8')](),controller[_0x1a90('0xc')]);router[_0x1a90('0xd')]('/',auth[_0x1a90('0x8')](),controller[_0x1a90('0xe')]);router[_0x1a90('0xd')](_0x1a90('0x9'),auth['isAuthenticated'](),controller['addConfiguration']);router[_0x1a90('0xf')]('/:id',auth[_0x1a90('0x8')](),controller['update']);router[_0x1a90('0x10')](_0x1a90('0x11'),auth[_0x1a90('0x8')](),controller[_0x1a90('0x12')]);module['exports']=router;
\ No newline at end of file
+var _0x9e55=['isAuthenticated','get','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','create','post','put','update','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskAccount.controller'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x9e55,0x195));var _0x59e5=function(_0x589dc7,_0x96e756){_0x589dc7=_0x589dc7-0x0;var _0x2a999a=_0x9e55[_0x589dc7];return _0x2a999a;};'use strict';var multer=require(_0x59e5('0x0'));var util=require('util');var path=require(_0x59e5('0x1'));var timeout=require(_0x59e5('0x2'));var express=require(_0x59e5('0x3'));var router=express[_0x59e5('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x59e5('0x5'));var interaction=require(_0x59e5('0x6'));var config=require(_0x59e5('0x7'));var controller=require(_0x59e5('0x8'));router['get']('/',auth[_0x59e5('0x9')](),controller['index']);router[_0x59e5('0xa')](_0x59e5('0xb'),auth[_0x59e5('0x9')](),controller[_0x59e5('0xc')]);router[_0x59e5('0xa')](_0x59e5('0xd'),auth[_0x59e5('0x9')](),controller[_0x59e5('0xe')]);router[_0x59e5('0xa')](_0x59e5('0xf'),auth[_0x59e5('0x9')](),controller[_0x59e5('0x10')]);router['post']('/',auth['isAuthenticated'](),controller[_0x59e5('0x11')]);router[_0x59e5('0x12')](_0x59e5('0xd'),auth[_0x59e5('0x9')](),controller['addConfiguration']);router[_0x59e5('0x13')]('/:id',auth[_0x59e5('0x9')](),controller[_0x59e5('0x14')]);router['delete'](_0x59e5('0xb'),auth[_0x59e5('0x9')](),controller[_0x59e5('0x15')]);module[_0x59e5('0x16')]=router;
\ No newline at end of file