Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / api / intFreshdeskAccount / index.js
index 4dccbd1..61cb4bc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xeb12=['delete','destroy','exports','multer','path','connect-timeout','../../components/interaction/service','../../config/environment','./intFreshdeskAccount.controller','get','/:id','isAuthenticated','show','/:id/configurations','post','addConfiguration','put','update'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0xeb12,0x93));var _0x2eb1=function(_0x503254,_0x29e551){_0x503254=_0x503254-0x0;var _0x383dcc=_0xeb12[_0x503254];return _0x383dcc;};'use strict';var multer=require(_0x2eb1('0x0'));var util=require('util');var path=require(_0x2eb1('0x1'));var timeout=require(_0x2eb1('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x2eb1('0x3'));var config=require(_0x2eb1('0x4'));var controller=require(_0x2eb1('0x5'));router[_0x2eb1('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x2eb1('0x7'),auth[_0x2eb1('0x8')](),controller[_0x2eb1('0x9')]);router['get'](_0x2eb1('0xa'),auth[_0x2eb1('0x8')](),controller['getConfigurations']);router[_0x2eb1('0x6')]('/:id/fields',auth[_0x2eb1('0x8')](),controller['getFields']);router[_0x2eb1('0xb')]('/',auth[_0x2eb1('0x8')](),controller['create']);router[_0x2eb1('0xb')](_0x2eb1('0xa'),auth[_0x2eb1('0x8')](),controller[_0x2eb1('0xc')]);router[_0x2eb1('0xd')](_0x2eb1('0x7'),auth['isAuthenticated'](),controller[_0x2eb1('0xe')]);router[_0x2eb1('0xf')](_0x2eb1('0x7'),auth[_0x2eb1('0x8')](),controller[_0x2eb1('0x10')]);module[_0x2eb1('0x11')]=router;
\ No newline at end of file
+var _0xcc03=['../../components/interaction/service','../../config/environment','./intFreshdeskAccount.controller','get','/:id','/:id/configurations','getConfigurations','/:id/fields','isAuthenticated','getFields','create','post','addConfiguration','put','update','delete','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service'];(function(_0x4b2ce1,_0x4c23dd){var _0x24209f=function(_0x471c11){while(--_0x471c11){_0x4b2ce1['push'](_0x4b2ce1['shift']());}};_0x24209f(++_0x4c23dd);}(_0xcc03,0x131));var _0x3cc0=function(_0x5e6cb8,_0x16cf56){_0x5e6cb8=_0x5e6cb8-0x0;var _0x3faeb3=_0xcc03[_0x5e6cb8];return _0x3faeb3;};'use strict';var multer=require(_0x3cc0('0x0'));var util=require(_0x3cc0('0x1'));var path=require(_0x3cc0('0x2'));var timeout=require('connect-timeout');var express=require(_0x3cc0('0x3'));var router=express[_0x3cc0('0x4')]();var fs_extra=require(_0x3cc0('0x5'));var auth=require(_0x3cc0('0x6'));var interaction=require(_0x3cc0('0x7'));var config=require(_0x3cc0('0x8'));var controller=require(_0x3cc0('0x9'));router[_0x3cc0('0xa')]('/',auth['isAuthenticated'](),controller['index']);router[_0x3cc0('0xa')](_0x3cc0('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x3cc0('0xa')](_0x3cc0('0xc'),auth['isAuthenticated'](),controller[_0x3cc0('0xd')]);router[_0x3cc0('0xa')](_0x3cc0('0xe'),auth[_0x3cc0('0xf')](),controller[_0x3cc0('0x10')]);router['post']('/',auth['isAuthenticated'](),controller[_0x3cc0('0x11')]);router[_0x3cc0('0x12')]('/:id/configurations',auth[_0x3cc0('0xf')](),controller[_0x3cc0('0x13')]);router[_0x3cc0('0x14')]('/:id',auth[_0x3cc0('0xf')](),controller[_0x3cc0('0x15')]);router[_0x3cc0('0x16')](_0x3cc0('0xb'),auth[_0x3cc0('0xf')](),controller['destroy']);module[_0x3cc0('0x17')]=router;
\ No newline at end of file