Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / intFreshdeskConfiguration / index.js
index b23ad6d..377f1b9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xba01=['destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','get','isAuthenticated','show','/:id/fields','/:id/descriptions','getDescriptions','getTags','post','create','/:id/tags','/:id','update','delete'];(function(_0x5ce3c8,_0x2503bd){var _0xa76867=function(_0x52815e){while(--_0x52815e){_0x5ce3c8['push'](_0x5ce3c8['shift']());}};_0xa76867(++_0x2503bd);}(_0xba01,0x152));var _0x1ba0=function(_0x3f08bf,_0x5ef23d){_0x3f08bf=_0x3f08bf-0x0;var _0x28187b=_0xba01[_0x3f08bf];return _0x28187b;};'use strict';var multer=require('multer');var util=require(_0x1ba0('0x0'));var path=require(_0x1ba0('0x1'));var timeout=require(_0x1ba0('0x2'));var express=require(_0x1ba0('0x3'));var router=express[_0x1ba0('0x4')]();var auth=require(_0x1ba0('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intFreshdeskConfiguration.controller');router[_0x1ba0('0x6')]('/',auth[_0x1ba0('0x7')](),controller['index']);router[_0x1ba0('0x6')]('/:id',auth['isAuthenticated'](),controller[_0x1ba0('0x8')]);router[_0x1ba0('0x6')](_0x1ba0('0x9'),auth[_0x1ba0('0x7')](),controller['getFields']);router[_0x1ba0('0x6')]('/:id/subjects',auth[_0x1ba0('0x7')](),controller['getSubjects']);router[_0x1ba0('0x6')](_0x1ba0('0xa'),auth[_0x1ba0('0x7')](),controller[_0x1ba0('0xb')]);router['get']('/:id/tags',auth[_0x1ba0('0x7')](),controller[_0x1ba0('0xc')]);router[_0x1ba0('0xd')]('/',auth[_0x1ba0('0x7')](),controller[_0x1ba0('0xe')]);router[_0x1ba0('0xd')](_0x1ba0('0xf'),auth[_0x1ba0('0x7')](),controller['setTags']);router['put'](_0x1ba0('0x10'),auth['isAuthenticated'](),controller[_0x1ba0('0x11')]);router[_0x1ba0('0x12')](_0x1ba0('0x10'),auth[_0x1ba0('0x7')](),controller[_0x1ba0('0x13')]);module[_0x1ba0('0x14')]=router;
\ No newline at end of file
+var _0xba7d=['getTags','post','create','setTags','put','update','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','getFields','getSubjects','/:id/tags'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xba7d,0x81));var _0xdba7=function(_0x369151,_0x179f72){_0x369151=_0x369151-0x0;var _0x4292d5=_0xba7d[_0x369151];return _0x4292d5;};'use strict';var multer=require(_0xdba7('0x0'));var util=require(_0xdba7('0x1'));var path=require(_0xdba7('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xdba7('0x3')]();var fs_extra=require(_0xdba7('0x4'));var auth=require(_0xdba7('0x5'));var interaction=require(_0xdba7('0x6'));var config=require(_0xdba7('0x7'));var controller=require('./intFreshdeskConfiguration.controller');router[_0xdba7('0x8')]('/',auth[_0xdba7('0x9')](),controller[_0xdba7('0xa')]);router[_0xdba7('0x8')](_0xdba7('0xb'),auth[_0xdba7('0x9')](),controller['show']);router[_0xdba7('0x8')]('/:id/fields',auth[_0xdba7('0x9')](),controller[_0xdba7('0xc')]);router[_0xdba7('0x8')]('/:id/subjects',auth[_0xdba7('0x9')](),controller[_0xdba7('0xd')]);router[_0xdba7('0x8')]('/:id/descriptions',auth['isAuthenticated'](),controller['getDescriptions']);router[_0xdba7('0x8')](_0xdba7('0xe'),auth[_0xdba7('0x9')](),controller[_0xdba7('0xf')]);router[_0xdba7('0x10')]('/',auth[_0xdba7('0x9')](),controller[_0xdba7('0x11')]);router[_0xdba7('0x10')](_0xdba7('0xe'),auth[_0xdba7('0x9')](),controller[_0xdba7('0x12')]);router[_0xdba7('0x13')](_0xdba7('0xb'),auth[_0xdba7('0x9')](),controller[_0xdba7('0x14')]);router[_0xdba7('0x15')](_0xdba7('0xb'),auth[_0xdba7('0x9')](),controller[_0xdba7('0x16')]);module[_0xdba7('0x17')]=router;
\ No newline at end of file