Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / intZendeskConfiguration / index.js
index 4869bb6..8a482f8 100644 (file)
@@ -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 _0xac4a=['../../components/interaction/service','../../config/environment','./intZendeskConfiguration.controller','isAuthenticated','get','show','getSubjects','/:id/descriptions','getDescriptions','getTags','post','create','setTags','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x45dc60,_0x5b6ac7){var _0x3765ba=function(_0x2e9586){while(--_0x2e9586){_0x45dc60['push'](_0x45dc60['shift']());}};_0x3765ba(++_0x5b6ac7);}(_0xac4a,0x13f));var _0xaac4=function(_0x38b3da,_0x401707){_0x38b3da=_0x38b3da-0x0;var _0x5cd29c=_0xac4a[_0x38b3da];return _0x5cd29c;};'use strict';var multer=require(_0xaac4('0x0'));var util=require(_0xaac4('0x1'));var path=require(_0xaac4('0x2'));var timeout=require(_0xaac4('0x3'));var express=require(_0xaac4('0x4'));var router=express[_0xaac4('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xaac4('0x6'));var config=require(_0xaac4('0x7'));var controller=require(_0xaac4('0x8'));router['get']('/',auth[_0xaac4('0x9')](),controller['index']);router[_0xaac4('0xa')]('/:id',auth[_0xaac4('0x9')](),controller[_0xaac4('0xb')]);router['get']('/:id/fields',auth[_0xaac4('0x9')](),controller['getFields']);router[_0xaac4('0xa')]('/:id/subjects',auth['isAuthenticated'](),controller[_0xaac4('0xc')]);router[_0xaac4('0xa')](_0xaac4('0xd'),auth[_0xaac4('0x9')](),controller[_0xaac4('0xe')]);router['get']('/:id/tags',auth[_0xaac4('0x9')](),controller[_0xaac4('0xf')]);router[_0xaac4('0x10')]('/',auth['isAuthenticated'](),controller[_0xaac4('0x11')]);router[_0xaac4('0x10')]('/:id/tags',auth[_0xaac4('0x9')](),controller[_0xaac4('0x12')]);router[_0xaac4('0x13')](_0xaac4('0x14'),auth[_0xaac4('0x9')](),controller[_0xaac4('0x15')]);router[_0xaac4('0x16')](_0xaac4('0x14'),auth[_0xaac4('0x9')](),controller[_0xaac4('0x17')]);module[_0xaac4('0x18')]=router;
\ No newline at end of file