X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintFreshdeskConfiguration%2Findex.js;h=e9105dd10d07344a2c9a27796148e09eb7ebd482;hb=7e2a86485d5b091066011cf58fcba785923a5ac5;hp=5c68d937ecc54aa954994fe7bc565caef5c6ae35;hpb=de6f27d8824ffb29cbf937050a12378469af9a53;p=motion2.git diff --git a/server/api/intFreshdeskConfiguration/index.js b/server/api/intFreshdeskConfiguration/index.js index 5c68d93..e9105dd 100644 --- a/server/api/intFreshdeskConfiguration/index.js +++ b/server/api/intFreshdeskConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x63fe=['getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','getTags','post','/:id/tags','setTags','put','/:id','update','delete','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','isAuthenticated','index','get','/:id/fields'];(function(_0x3a3d5f,_0xb7dfc6){var _0x493475=function(_0x142af1){while(--_0x142af1){_0x3a3d5f['push'](_0x3a3d5f['shift']());}};_0x493475(++_0xb7dfc6);}(_0x63fe,0x152));var _0xe63f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x63fe[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xe63f('0x0'));var util=require(_0xe63f('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe63f('0x2'));var router=express[_0xe63f('0x3')]();var auth=require(_0xe63f('0x4'));var interaction=require(_0xe63f('0x5'));var config=require(_0xe63f('0x6'));var controller=require(_0xe63f('0x7'));router['get']('/',auth[_0xe63f('0x8')](),controller[_0xe63f('0x9')]);router['get']('/:id',auth[_0xe63f('0x8')](),controller['show']);router[_0xe63f('0xa')](_0xe63f('0xb'),auth[_0xe63f('0x8')](),controller[_0xe63f('0xc')]);router[_0xe63f('0xa')](_0xe63f('0xd'),auth[_0xe63f('0x8')](),controller[_0xe63f('0xe')]);router['get'](_0xe63f('0xf'),auth[_0xe63f('0x8')](),controller[_0xe63f('0x10')]);router[_0xe63f('0xa')]('/:id/tags',auth[_0xe63f('0x8')](),controller[_0xe63f('0x11')]);router[_0xe63f('0x12')]('/',auth[_0xe63f('0x8')](),controller['create']);router['post'](_0xe63f('0x13'),auth[_0xe63f('0x8')](),controller[_0xe63f('0x14')]);router[_0xe63f('0x15')](_0xe63f('0x16'),auth[_0xe63f('0x8')](),controller[_0xe63f('0x17')]);router[_0xe63f('0x18')]('/:id',auth[_0xe63f('0x8')](),controller['destroy']);module['exports']=router; \ No newline at end of file +var _0xcf86=['getSubjects','/:id/descriptions','getDescriptions','create','post','/:id/tags','setTags','update','delete','destroy','multer','connect-timeout','express','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','/:id/subjects'];(function(_0x4ffc6d,_0x4c39ae){var _0x366fd3=function(_0x4422ac){while(--_0x4422ac){_0x4ffc6d['push'](_0x4ffc6d['shift']());}};_0x366fd3(++_0x4c39ae);}(_0xcf86,0x7d));var _0x6cf8=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xcf86[_0x17d9e3];return _0x14192d;};'use strict';var multer=require(_0x6cf8('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x6cf8('0x1'));var express=require(_0x6cf8('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x6cf8('0x3'));var config=require(_0x6cf8('0x4'));var controller=require(_0x6cf8('0x5'));router[_0x6cf8('0x6')]('/',auth[_0x6cf8('0x7')](),controller[_0x6cf8('0x8')]);router[_0x6cf8('0x6')](_0x6cf8('0x9'),auth['isAuthenticated'](),controller[_0x6cf8('0xa')]);router[_0x6cf8('0x6')](_0x6cf8('0xb'),auth[_0x6cf8('0x7')](),controller['getFields']);router[_0x6cf8('0x6')](_0x6cf8('0xc'),auth[_0x6cf8('0x7')](),controller[_0x6cf8('0xd')]);router['get'](_0x6cf8('0xe'),auth[_0x6cf8('0x7')](),controller[_0x6cf8('0xf')]);router['get']('/:id/tags',auth[_0x6cf8('0x7')](),controller['getTags']);router['post']('/',auth['isAuthenticated'](),controller[_0x6cf8('0x10')]);router[_0x6cf8('0x11')](_0x6cf8('0x12'),auth[_0x6cf8('0x7')](),controller[_0x6cf8('0x13')]);router['put'](_0x6cf8('0x9'),auth[_0x6cf8('0x7')](),controller[_0x6cf8('0x14')]);router[_0x6cf8('0x15')](_0x6cf8('0x9'),auth[_0x6cf8('0x7')](),controller[_0x6cf8('0x16')]);module['exports']=router; \ No newline at end of file