Built motion from commit f7863d46.|2.5.41
[motion2.git] / server / api / intZendeskAccount / index.js
index 7a82ca9..8b881c2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x86fb=['exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','/:id/configurations','/:id/fields','getFields','post','create','put','delete'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x86fb,0x119));var _0xb86f=function(_0x4d22ee,_0x3347a5){_0x4d22ee=_0x4d22ee-0x0;var _0x212e7a=_0x86fb[_0x4d22ee];return _0x212e7a;};'use strict';var multer=require('multer');var util=require(_0xb86f('0x0'));var path=require(_0xb86f('0x1'));var timeout=require('connect-timeout');var express=require(_0xb86f('0x2'));var router=express[_0xb86f('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xb86f('0x4'));var interaction=require(_0xb86f('0x5'));var config=require(_0xb86f('0x6'));var controller=require('./intZendeskAccount.controller');router['get']('/',auth[_0xb86f('0x7')](),controller[_0xb86f('0x8')]);router[_0xb86f('0x9')](_0xb86f('0xa'),auth[_0xb86f('0x7')](),controller[_0xb86f('0xb')]);router['get'](_0xb86f('0xc'),auth['isAuthenticated'](),controller['getConfigurations']);router[_0xb86f('0x9')](_0xb86f('0xd'),auth[_0xb86f('0x7')](),controller[_0xb86f('0xe')]);router[_0xb86f('0xf')]('/',auth['isAuthenticated'](),controller[_0xb86f('0x10')]);router[_0xb86f('0xf')]('/:id/configurations',auth[_0xb86f('0x7')](),controller['addConfiguration']);router[_0xb86f('0x11')]('/:id',auth[_0xb86f('0x7')](),controller['update']);router[_0xb86f('0x12')]('/:id',auth[_0xb86f('0x7')](),controller['destroy']);module[_0xb86f('0x13')]=router;
\ No newline at end of file