X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintZendeskAccount%2Findex.js;h=c4eaba8f62be5340c1be9ed88e5aca7247e051e8;hb=c9bea7b5fb8c2c40aa3c8a89531d666691350a10;hp=67513a5d84841fcb677651d9855051cf2cc5399b;hpb=54a0ef4a12af741872007ade528c24acc1138e49;p=motion2.git diff --git a/server/api/intZendeskAccount/index.js b/server/api/intZendeskAccount/index.js index 67513a5..c4eaba8 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 _0xc9ab=['get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','/:id/fields','post','addConfiguration','put','update','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskAccount.controller'];(function(_0xf8007b,_0x4e7be5){var _0x42a7ec=function(_0x5ab51d){while(--_0x5ab51d){_0xf8007b['push'](_0xf8007b['shift']());}};_0x42a7ec(++_0x4e7be5);}(_0xc9ab,0x65));var _0xbc9a=function(_0x59f987,_0x3cfa35){_0x59f987=_0x59f987-0x0;var _0x2a9cb6=_0xc9ab[_0x59f987];return _0x2a9cb6;};'use strict';var multer=require(_0xbc9a('0x0'));var util=require('util');var path=require(_0xbc9a('0x1'));var timeout=require(_0xbc9a('0x2'));var express=require(_0xbc9a('0x3'));var router=express['Router']();var fs_extra=require(_0xbc9a('0x4'));var auth=require(_0xbc9a('0x5'));var interaction=require(_0xbc9a('0x6'));var config=require(_0xbc9a('0x7'));var controller=require(_0xbc9a('0x8'));router[_0xbc9a('0x9')]('/',auth[_0xbc9a('0xa')](),controller[_0xbc9a('0xb')]);router['get'](_0xbc9a('0xc'),auth[_0xbc9a('0xa')](),controller[_0xbc9a('0xd')]);router[_0xbc9a('0x9')](_0xbc9a('0xe'),auth[_0xbc9a('0xa')](),controller[_0xbc9a('0xf')]);router['get'](_0xbc9a('0x10'),auth[_0xbc9a('0xa')](),controller['getFields']);router[_0xbc9a('0x11')]('/',auth[_0xbc9a('0xa')](),controller['create']);router[_0xbc9a('0x11')](_0xbc9a('0xe'),auth[_0xbc9a('0xa')](),controller[_0xbc9a('0x12')]);router[_0xbc9a('0x13')](_0xbc9a('0xc'),auth[_0xbc9a('0xa')](),controller[_0xbc9a('0x14')]);router['delete'](_0xbc9a('0xc'),auth[_0xbc9a('0xa')](),controller['destroy']);module[_0xbc9a('0x15')]=router; \ No newline at end of file +var _0x28ff=['destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./intZendeskAccount.controller','index','get','/:id','show','/:id/configurations','isAuthenticated','getConfigurations','post','put','update'];(function(_0x54ca51,_0x450937){var _0x5da6e5=function(_0x1e0f2a){while(--_0x1e0f2a){_0x54ca51['push'](_0x54ca51['shift']());}};_0x5da6e5(++_0x450937);}(_0x28ff,0x7a));var _0xf28f=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x28ff[_0x3ab51d];return _0x29a04e;};'use strict';var multer=require('multer');var util=require(_0xf28f('0x0'));var path=require(_0xf28f('0x1'));var timeout=require(_0xf28f('0x2'));var express=require('express');var router=express[_0xf28f('0x3')]();var fs_extra=require(_0xf28f('0x4'));var auth=require(_0xf28f('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xf28f('0x6'));var controller=require(_0xf28f('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xf28f('0x8')]);router[_0xf28f('0x9')](_0xf28f('0xa'),auth['isAuthenticated'](),controller[_0xf28f('0xb')]);router['get'](_0xf28f('0xc'),auth[_0xf28f('0xd')](),controller[_0xf28f('0xe')]);router['get']('/:id/fields',auth[_0xf28f('0xd')](),controller['getFields']);router[_0xf28f('0xf')]('/',auth[_0xf28f('0xd')](),controller['create']);router[_0xf28f('0xf')]('/:id/configurations',auth[_0xf28f('0xd')](),controller['addConfiguration']);router[_0xf28f('0x10')](_0xf28f('0xa'),auth[_0xf28f('0xd')](),controller[_0xf28f('0x11')]);router['delete'](_0xf28f('0xa'),auth[_0xf28f('0xd')](),controller[_0xf28f('0x12')]);module[_0xf28f('0x13')]=router; \ No newline at end of file