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 _0x31c2=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id/configurations','/:id/fields','getFields','post','create','put','/:id','update','delete','destroy','exports','multer','util','path'];(function(_0x4016a3,_0x21edbe){var _0xf3f097=function(_0x557605){while(--_0x557605){_0x4016a3['push'](_0x4016a3['shift']());}};_0xf3f097(++_0x21edbe);}(_0x31c2,0x1e1));var _0x231c=function(_0x5e08cc,_0x25d028){_0x5e08cc=_0x5e08cc-0x0;var _0x44117c=_0x31c2[_0x5e08cc];return _0x44117c;};'use strict';var multer=require(_0x231c('0x0'));var util=require(_0x231c('0x1'));var path=require(_0x231c('0x2'));var timeout=require(_0x231c('0x3'));var express=require(_0x231c('0x4'));var router=express[_0x231c('0x5')]();var auth=require(_0x231c('0x6'));var interaction=require(_0x231c('0x7'));var config=require('../../config/environment');var controller=require('./intDeskAccount.controller');router[_0x231c('0x8')]('/',auth[_0x231c('0x9')](),controller[_0x231c('0xa')]);router[_0x231c('0x8')]('/:id',auth[_0x231c('0x9')](),controller['show']);router[_0x231c('0x8')](_0x231c('0xb'),auth[_0x231c('0x9')](),controller['getConfigurations']);router[_0x231c('0x8')](_0x231c('0xc'),auth[_0x231c('0x9')](),controller[_0x231c('0xd')]);router[_0x231c('0xe')]('/',auth[_0x231c('0x9')](),controller[_0x231c('0xf')]);router['post'](_0x231c('0xb'),auth[_0x231c('0x9')](),controller['addConfiguration']);router[_0x231c('0x10')](_0x231c('0x11'),auth[_0x231c('0x9')](),controller[_0x231c('0x12')]);router[_0x231c('0x13')](_0x231c('0x11'),auth[_0x231c('0x9')](),controller[_0x231c('0x14')]);module[_0x231c('0x15')]=router;