X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZendeskAccount%2Findex.js;h=ac5ce5c55654adadc313c88a8739559b15da1901;hb=346b088f67941917246c7baf7fa29be1e107643b;hp=901de07bce7b5c14ca9aae9139b8eb521c435572;hpb=c5ec4f3be0e7f1f893000f685661edf16381041e;p=motion2.git diff --git a/server/api/intZendeskAccount/index.js b/server/api/intZendeskAccount/index.js index 901de07..ac5ce5c 100644 --- a/server/api/intZendeskAccount/index.js +++ b/server/api/intZendeskAccount/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x5638=['show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','addConfiguration','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intZendeskAccount.controller','isAuthenticated','index','get','/:id'];(function(_0x1c7f70,_0x16b1ca){var _0x5b4596=function(_0x52131c){while(--_0x52131c){_0x1c7f70['push'](_0x1c7f70['shift']());}};_0x5b4596(++_0x16b1ca);}(_0x5638,0xb3));var _0x8563=function(_0x142163,_0x148232){_0x142163=_0x142163-0x0;var _0x21abb2=_0x5638[_0x142163];return _0x21abb2;};'use strict';var multer=require(_0x8563('0x0'));var util=require(_0x8563('0x1'));var path=require(_0x8563('0x2'));var timeout=require('connect-timeout');var express=require(_0x8563('0x3'));var router=express[_0x8563('0x4')]();var fs_extra=require(_0x8563('0x5'));var auth=require(_0x8563('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x8563('0x7'));var controller=require(_0x8563('0x8'));router['get']('/',auth[_0x8563('0x9')](),controller[_0x8563('0xa')]);router[_0x8563('0xb')](_0x8563('0xc'),auth[_0x8563('0x9')](),controller[_0x8563('0xd')]);router[_0x8563('0xb')](_0x8563('0xe'),auth[_0x8563('0x9')](),controller[_0x8563('0xf')]);router[_0x8563('0xb')](_0x8563('0x10'),auth['isAuthenticated'](),controller[_0x8563('0x11')]);router[_0x8563('0x12')]('/',auth[_0x8563('0x9')](),controller['create']);router['post'](_0x8563('0xe'),auth['isAuthenticated'](),controller[_0x8563('0x13')]);router['put'](_0x8563('0xc'),auth[_0x8563('0x9')](),controller[_0x8563('0x14')]);router[_0x8563('0x15')]('/:id',auth[_0x8563('0x9')](),controller[_0x8563('0x16')]);module[_0x8563('0x17')]=router; \ No newline at end of file +var _0x38d9=['util','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskAccount.controller','get','isAuthenticated','getConfigurations','/:id/fields','getFields','post','create','/:id/configurations','addConfiguration','put','/:id','delete','destroy'];(function(_0x560250,_0x2a24f5){var _0x55e2e1=function(_0x2dba93){while(--_0x2dba93){_0x560250['push'](_0x560250['shift']());}};_0x55e2e1(++_0x2a24f5);}(_0x38d9,0xdc));var _0x938d=function(_0x39d75f,_0x3a9333){_0x39d75f=_0x39d75f-0x0;var _0x73fbd8=_0x38d9[_0x39d75f];return _0x73fbd8;};'use strict';var multer=require('multer');var util=require(_0x938d('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x938d('0x1')]();var fs_extra=require(_0x938d('0x2'));var auth=require(_0x938d('0x3'));var interaction=require(_0x938d('0x4'));var config=require(_0x938d('0x5'));var controller=require(_0x938d('0x6'));router[_0x938d('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x938d('0x7')]('/:id',auth[_0x938d('0x8')](),controller['show']);router['get']('/:id/configurations',auth[_0x938d('0x8')](),controller[_0x938d('0x9')]);router[_0x938d('0x7')](_0x938d('0xa'),auth['isAuthenticated'](),controller[_0x938d('0xb')]);router[_0x938d('0xc')]('/',auth[_0x938d('0x8')](),controller[_0x938d('0xd')]);router[_0x938d('0xc')](_0x938d('0xe'),auth[_0x938d('0x8')](),controller[_0x938d('0xf')]);router[_0x938d('0x10')](_0x938d('0x11'),auth['isAuthenticated'](),controller['update']);router[_0x938d('0x12')]('/:id',auth[_0x938d('0x8')](),controller[_0x938d('0x13')]);module['exports']=router; \ No newline at end of file