Built motion from commit (unavailable).|2.5.18
[motion2.git] / server / api / intZendeskAccount / index.js
index 24e69c4..7a82ca9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xebc5=['put','/:id','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intZendeskAccount.controller','get','isAuthenticated','index','show','getConfigurations','getFields','post','create','/:id/configurations','addConfiguration'];(function(_0x44950a,_0x21feaa){var _0x475c21=function(_0x387128){while(--_0x387128){_0x44950a['push'](_0x44950a['shift']());}};_0x475c21(++_0x21feaa);}(_0xebc5,0x11a));var _0x5ebc=function(_0x1e7b16,_0x4607a1){_0x1e7b16=_0x1e7b16-0x0;var _0x37fadc=_0xebc5[_0x1e7b16];return _0x37fadc;};'use strict';var multer=require(_0x5ebc('0x0'));var util=require('util');var path=require(_0x5ebc('0x1'));var timeout=require(_0x5ebc('0x2'));var express=require(_0x5ebc('0x3'));var router=express[_0x5ebc('0x4')]();var auth=require(_0x5ebc('0x5'));var interaction=require(_0x5ebc('0x6'));var config=require('../../config/environment');var controller=require(_0x5ebc('0x7'));router[_0x5ebc('0x8')]('/',auth[_0x5ebc('0x9')](),controller[_0x5ebc('0xa')]);router[_0x5ebc('0x8')]('/:id',auth[_0x5ebc('0x9')](),controller[_0x5ebc('0xb')]);router[_0x5ebc('0x8')]('/:id/configurations',auth[_0x5ebc('0x9')](),controller[_0x5ebc('0xc')]);router[_0x5ebc('0x8')]('/:id/fields',auth[_0x5ebc('0x9')](),controller[_0x5ebc('0xd')]);router[_0x5ebc('0xe')]('/',auth['isAuthenticated'](),controller[_0x5ebc('0xf')]);router[_0x5ebc('0xe')](_0x5ebc('0x10'),auth['isAuthenticated'](),controller[_0x5ebc('0x11')]);router[_0x5ebc('0x12')]('/:id',auth['isAuthenticated'](),controller['update']);router['delete'](_0x5ebc('0x13'),auth[_0x5ebc('0x9')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x7345=['get','index','/:id','isAuthenticated','show','/:id/configurations','/:id/fields','post','create','addConfiguration','put','update','destroy','multer','util','path','express','../../components/interaction/service','../../config/environment'];(function(_0x498bd1,_0x4c6432){var _0xb3a5ce=function(_0x593837){while(--_0x593837){_0x498bd1['push'](_0x498bd1['shift']());}};_0xb3a5ce(++_0x4c6432);}(_0x7345,0x163));var _0x5734=function(_0x54effd,_0x55ede5){_0x54effd=_0x54effd-0x0;var _0x1a941e=_0x7345[_0x54effd];return _0x1a941e;};'use strict';var multer=require(_0x5734('0x0'));var util=require(_0x5734('0x1'));var path=require(_0x5734('0x2'));var timeout=require('connect-timeout');var express=require(_0x5734('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x5734('0x4'));var config=require(_0x5734('0x5'));var controller=require('./intZendeskAccount.controller');router[_0x5734('0x6')]('/',auth['isAuthenticated'](),controller[_0x5734('0x7')]);router[_0x5734('0x6')](_0x5734('0x8'),auth[_0x5734('0x9')](),controller[_0x5734('0xa')]);router[_0x5734('0x6')](_0x5734('0xb'),auth[_0x5734('0x9')](),controller['getConfigurations']);router['get'](_0x5734('0xc'),auth[_0x5734('0x9')](),controller['getFields']);router[_0x5734('0xd')]('/',auth[_0x5734('0x9')](),controller[_0x5734('0xe')]);router['post'](_0x5734('0xb'),auth[_0x5734('0x9')](),controller[_0x5734('0xf')]);router[_0x5734('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x5734('0x11')]);router['delete'](_0x5734('0x8'),auth[_0x5734('0x9')](),controller[_0x5734('0x12')]);module['exports']=router;
\ No newline at end of file