X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZendeskConfiguration%2Findex.js;h=428ab13d81e29248428c7f518d4a97efb23f1f4a;hb=5bcfff2cfe490b4ab0d0668e644729ef139af2a3;hp=4869bb6d8f52d462acf3d1797853c88f9c412605;hpb=877636f71ea4e4a4bfc9f2950f78c09e94a43e10;p=motion2.git diff --git a/server/api/intZendeskConfiguration/index.js b/server/api/intZendeskConfiguration/index.js index 4869bb6..428ab13 100644 --- a/server/api/intZendeskConfiguration/index.js +++ b/server/api/intZendeskConfiguration/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb2bd=['setTags','put','delete','destroy','exports','multer','util','path','express','Router','../../config/environment','./intZendeskConfiguration.controller','get','isAuthenticated','/:id','show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','/:id/tags'];(function(_0x312b37,_0x19f474){var _0x2e5f91=function(_0x19473d){while(--_0x19473d){_0x312b37['push'](_0x312b37['shift']());}};_0x2e5f91(++_0x19f474);}(_0xb2bd,0x1e5));var _0xdb2b=function(_0x172125,_0x32beca){_0x172125=_0x172125-0x0;var _0x23da35=_0xb2bd[_0x172125];return _0x23da35;};'use strict';var multer=require(_0xdb2b('0x0'));var util=require(_0xdb2b('0x1'));var path=require(_0xdb2b('0x2'));var timeout=require('connect-timeout');var express=require(_0xdb2b('0x3'));var router=express[_0xdb2b('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xdb2b('0x5'));var controller=require(_0xdb2b('0x6'));router[_0xdb2b('0x7')]('/',auth[_0xdb2b('0x8')](),controller['index']);router[_0xdb2b('0x7')](_0xdb2b('0x9'),auth['isAuthenticated'](),controller[_0xdb2b('0xa')]);router['get'](_0xdb2b('0xb'),auth[_0xdb2b('0x8')](),controller['getFields']);router['get'](_0xdb2b('0xc'),auth[_0xdb2b('0x8')](),controller[_0xdb2b('0xd')]);router[_0xdb2b('0x7')](_0xdb2b('0xe'),auth[_0xdb2b('0x8')](),controller[_0xdb2b('0xf')]);router[_0xdb2b('0x7')]('/:id/tags',auth[_0xdb2b('0x8')](),controller['getTags']);router[_0xdb2b('0x10')]('/',auth[_0xdb2b('0x8')](),controller[_0xdb2b('0x11')]);router['post'](_0xdb2b('0x12'),auth[_0xdb2b('0x8')](),controller[_0xdb2b('0x13')]);router[_0xdb2b('0x14')](_0xdb2b('0x9'),auth[_0xdb2b('0x8')](),controller['update']);router[_0xdb2b('0x15')]('/:id',auth[_0xdb2b('0x8')](),controller[_0xdb2b('0x16')]);module[_0xdb2b('0x17')]=router; \ No newline at end of file +var _0x78b2=['/:id/fields','getFields','/:id/subjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','post','create','put','delete','destroy','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','./intZendeskConfiguration.controller','isAuthenticated','get','/:id','show'];(function(_0x599c76,_0x3b85bd){var _0x6b9f40=function(_0x2a85b3){while(--_0x2a85b3){_0x599c76['push'](_0x599c76['shift']());}};_0x6b9f40(++_0x3b85bd);}(_0x78b2,0x115));var _0x278b=function(_0x2a4c8a,_0x2eda3a){_0x2a4c8a=_0x2a4c8a-0x0;var _0x13e5b2=_0x78b2[_0x2a4c8a];return _0x13e5b2;};'use strict';var multer=require(_0x278b('0x0'));var util=require(_0x278b('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x278b('0x2'));var router=express[_0x278b('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x278b('0x4'));var interaction=require(_0x278b('0x5'));var config=require('../../config/environment');var controller=require(_0x278b('0x6'));router['get']('/',auth[_0x278b('0x7')](),controller['index']);router[_0x278b('0x8')](_0x278b('0x9'),auth[_0x278b('0x7')](),controller[_0x278b('0xa')]);router[_0x278b('0x8')](_0x278b('0xb'),auth[_0x278b('0x7')](),controller[_0x278b('0xc')]);router['get'](_0x278b('0xd'),auth[_0x278b('0x7')](),controller['getSubjects']);router[_0x278b('0x8')](_0x278b('0xe'),auth[_0x278b('0x7')](),controller[_0x278b('0xf')]);router[_0x278b('0x8')](_0x278b('0x10'),auth[_0x278b('0x7')](),controller[_0x278b('0x11')]);router[_0x278b('0x12')]('/',auth['isAuthenticated'](),controller[_0x278b('0x13')]);router[_0x278b('0x12')](_0x278b('0x10'),auth[_0x278b('0x7')](),controller['setTags']);router[_0x278b('0x14')](_0x278b('0x9'),auth[_0x278b('0x7')](),controller['update']);router[_0x278b('0x15')](_0x278b('0x9'),auth[_0x278b('0x7')](),controller[_0x278b('0x16')]);module[_0x278b('0x17')]=router; \ No newline at end of file