1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x518f=['isAuthenticated','index','show','/:id/configurations','/:id/fields','getFields','post','create','addConfiguration','put','/:id','delete','destroy','exports','multer','path','connect-timeout','express','../../components/interaction/service','../../config/environment','get'];(function(_0x4f24f6,_0x25e034){var _0x4f63f9=function(_0x104e13){while(--_0x104e13){_0x4f24f6['push'](_0x4f24f6['shift']());}};_0x4f63f9(++_0x25e034);}(_0x518f,0x1f1));var _0xf518=function(_0x65c903,_0x41e920){_0x65c903=_0x65c903-0x0;var _0x23e1d7=_0x518f[_0x65c903];return _0x23e1d7;};'use strict';var multer=require(_0xf518('0x0'));var util=require('util');var path=require(_0xf518('0x1'));var timeout=require(_0xf518('0x2'));var express=require(_0xf518('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xf518('0x4'));var config=require(_0xf518('0x5'));var controller=require('./intZendeskAccount.controller');router[_0xf518('0x6')]('/',auth[_0xf518('0x7')](),controller[_0xf518('0x8')]);router[_0xf518('0x6')]('/:id',auth[_0xf518('0x7')](),controller[_0xf518('0x9')]);router[_0xf518('0x6')](_0xf518('0xa'),auth[_0xf518('0x7')](),controller['getConfigurations']);router['get'](_0xf518('0xb'),auth[_0xf518('0x7')](),controller[_0xf518('0xc')]);router[_0xf518('0xd')]('/',auth[_0xf518('0x7')](),controller[_0xf518('0xe')]);router[_0xf518('0xd')](_0xf518('0xa'),auth['isAuthenticated'](),controller[_0xf518('0xf')]);router[_0xf518('0x10')](_0xf518('0x11'),auth[_0xf518('0x7')](),controller['update']);router[_0xf518('0x12')](_0xf518('0x11'),auth[_0xf518('0x7')](),controller[_0xf518('0x13')]);module[_0xf518('0x14')]=router;