Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / intFreshdeskAccount / index.js
index eae027e..7344367 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2c2c=['./intFreshdeskAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','getFields','create','update','destroy','exports','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x1d558c,_0x1e497c){var _0x15767d=function(_0x26326d){while(--_0x26326d){_0x1d558c['push'](_0x1d558c['shift']());}};_0x15767d(++_0x1e497c);}(_0x2c2c,0x12a));var _0xc2c2=function(_0x958c81,_0x4650ec){_0x958c81=_0x958c81-0x0;var _0x171716=_0x2c2c[_0x958c81];return _0x171716;};'use strict';var multer=require('multer');var util=require(_0xc2c2('0x0'));var path=require('path');var timeout=require(_0xc2c2('0x1'));var express=require(_0xc2c2('0x2'));var router=express[_0xc2c2('0x3')]();var auth=require(_0xc2c2('0x4'));var interaction=require(_0xc2c2('0x5'));var config=require('../../config/environment');var controller=require(_0xc2c2('0x6'));router[_0xc2c2('0x7')]('/',auth[_0xc2c2('0x8')](),controller[_0xc2c2('0x9')]);router[_0xc2c2('0x7')](_0xc2c2('0xa'),auth[_0xc2c2('0x8')](),controller[_0xc2c2('0xb')]);router[_0xc2c2('0x7')](_0xc2c2('0xc'),auth[_0xc2c2('0x8')](),controller[_0xc2c2('0xd')]);router[_0xc2c2('0x7')]('/:id/fields',auth[_0xc2c2('0x8')](),controller[_0xc2c2('0xe')]);router['post']('/',auth[_0xc2c2('0x8')](),controller[_0xc2c2('0xf')]);router['post']('/:id/configurations',auth[_0xc2c2('0x8')](),controller['addConfiguration']);router['put'](_0xc2c2('0xa'),auth['isAuthenticated'](),controller[_0xc2c2('0x10')]);router['delete'](_0xc2c2('0xa'),auth[_0xc2c2('0x8')](),controller[_0xc2c2('0x11')]);module[_0xc2c2('0x12')]=router;
\ No newline at end of file
+var _0xcc78=['../../config/environment','./intFreshdeskAccount.controller','isAuthenticated','index','get','getConfigurations','/:id/fields','getFields','post','create','/:id/configurations','put','update','destroy','exports','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x1450c7,_0x464adb){var _0x216e6c=function(_0x4f4eec){while(--_0x4f4eec){_0x1450c7['push'](_0x1450c7['shift']());}};_0x216e6c(++_0x464adb);}(_0xcc78,0xf6));var _0x8cc7=function(_0x11066a,_0x347efe){_0x11066a=_0x11066a-0x0;var _0x58d875=_0xcc78[_0x11066a];return _0x58d875;};'use strict';var multer=require('multer');var util=require(_0x8cc7('0x0'));var path=require(_0x8cc7('0x1'));var timeout=require(_0x8cc7('0x2'));var express=require(_0x8cc7('0x3'));var router=express[_0x8cc7('0x4')]();var fs_extra=require(_0x8cc7('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8cc7('0x6'));var controller=require(_0x8cc7('0x7'));router['get']('/',auth[_0x8cc7('0x8')](),controller[_0x8cc7('0x9')]);router['get']('/:id',auth[_0x8cc7('0x8')](),controller['show']);router[_0x8cc7('0xa')]('/:id/configurations',auth[_0x8cc7('0x8')](),controller[_0x8cc7('0xb')]);router[_0x8cc7('0xa')](_0x8cc7('0xc'),auth[_0x8cc7('0x8')](),controller[_0x8cc7('0xd')]);router[_0x8cc7('0xe')]('/',auth[_0x8cc7('0x8')](),controller[_0x8cc7('0xf')]);router[_0x8cc7('0xe')](_0x8cc7('0x10'),auth[_0x8cc7('0x8')](),controller['addConfiguration']);router[_0x8cc7('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x8cc7('0x12')]);router['delete']('/:id',auth[_0x8cc7('0x8')](),controller[_0x8cc7('0x13')]);module[_0x8cc7('0x14')]=router;
\ No newline at end of file