Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / api / intZendeskAccount / index.js
index 547461f..7be0ffa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x69c0=['delete','multer','path','../../config/environment','./intZendeskAccount.controller','get','isAuthenticated','show','post','create','/:id/configurations','addConfiguration','put','/:id'];(function(_0x413feb,_0x10477f){var _0x40ee88=function(_0x32a3f6){while(--_0x32a3f6){_0x413feb['push'](_0x413feb['shift']());}};_0x40ee88(++_0x10477f);}(_0x69c0,0x1cf));var _0x069c=function(_0x10c814,_0x2c5349){_0x10c814=_0x10c814-0x0;var _0x3620e8=_0x69c0[_0x10c814];return _0x3620e8;};'use strict';var multer=require(_0x069c('0x0'));var util=require('util');var path=require(_0x069c('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x069c('0x2'));var controller=require(_0x069c('0x3'));router[_0x069c('0x4')]('/',auth[_0x069c('0x5')](),controller['index']);router[_0x069c('0x4')]('/:id',auth[_0x069c('0x5')](),controller[_0x069c('0x6')]);router['get']('/:id/configurations',auth[_0x069c('0x5')](),controller['getConfigurations']);router[_0x069c('0x4')]('/:id/fields',auth['isAuthenticated'](),controller['getFields']);router[_0x069c('0x7')]('/',auth[_0x069c('0x5')](),controller[_0x069c('0x8')]);router[_0x069c('0x7')](_0x069c('0x9'),auth[_0x069c('0x5')](),controller[_0x069c('0xa')]);router[_0x069c('0xb')](_0x069c('0xc'),auth[_0x069c('0x5')](),controller['update']);router[_0x069c('0xd')](_0x069c('0xc'),auth[_0x069c('0x5')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0xfbb3=['delete','destroy','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','/:id/configurations','/:id/fields','post','create','addConfiguration','put','update'];(function(_0x4756a1,_0x3f8d1){var _0x177c4f=function(_0xddb5e2){while(--_0xddb5e2){_0x4756a1['push'](_0x4756a1['shift']());}};_0x177c4f(++_0x3f8d1);}(_0xfbb3,0x17c));var _0x3fbb=function(_0x90ddd6,_0xc37adb){_0x90ddd6=_0x90ddd6-0x0;var _0x2284a8=_0xfbb3[_0x90ddd6];return _0x2284a8;};'use strict';var multer=require('multer');var util=require(_0x3fbb('0x0'));var path=require(_0x3fbb('0x1'));var timeout=require('connect-timeout');var express=require(_0x3fbb('0x2'));var router=express[_0x3fbb('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x3fbb('0x4'));var interaction=require(_0x3fbb('0x5'));var config=require(_0x3fbb('0x6'));var controller=require('./intZendeskAccount.controller');router['get']('/',auth[_0x3fbb('0x7')](),controller[_0x3fbb('0x8')]);router[_0x3fbb('0x9')](_0x3fbb('0xa'),auth['isAuthenticated'](),controller[_0x3fbb('0xb')]);router[_0x3fbb('0x9')](_0x3fbb('0xc'),auth['isAuthenticated'](),controller['getConfigurations']);router[_0x3fbb('0x9')](_0x3fbb('0xd'),auth[_0x3fbb('0x7')](),controller['getFields']);router[_0x3fbb('0xe')]('/',auth[_0x3fbb('0x7')](),controller[_0x3fbb('0xf')]);router[_0x3fbb('0xe')](_0x3fbb('0xc'),auth[_0x3fbb('0x7')](),controller[_0x3fbb('0x10')]);router[_0x3fbb('0x11')](_0x3fbb('0xa'),auth['isAuthenticated'](),controller[_0x3fbb('0x12')]);router[_0x3fbb('0x13')](_0x3fbb('0xa'),auth[_0x3fbb('0x7')](),controller[_0x3fbb('0x14')]);module['exports']=router;
\ No newline at end of file