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 _0x3c98=['update','delete','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intDeskField.controller','get','isAuthenticated','index','/:id','post','create','put'];(function(_0x5cb05f,_0x1e1259){var _0x487edc=function(_0x3eef34){while(--_0x3eef34){_0x5cb05f['push'](_0x5cb05f['shift']());}};_0x487edc(++_0x1e1259);}(_0x3c98,0x1b3));var _0x83c9=function(_0x158fdb,_0x3a9301){_0x158fdb=_0x158fdb-0x0;var _0x565e70=_0x3c98[_0x158fdb];return _0x565e70;};'use strict';var multer=require('multer');var util=require(_0x83c9('0x0'));var path=require(_0x83c9('0x1'));var timeout=require(_0x83c9('0x2'));var express=require(_0x83c9('0x3'));var router=express[_0x83c9('0x4')]();var auth=require(_0x83c9('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x83c9('0x6'));var controller=require(_0x83c9('0x7'));router[_0x83c9('0x8')]('/',auth[_0x83c9('0x9')](),controller[_0x83c9('0xa')]);router[_0x83c9('0x8')](_0x83c9('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x83c9('0xc')]('/',auth[_0x83c9('0x9')](),controller[_0x83c9('0xd')]);router[_0x83c9('0xe')](_0x83c9('0xb'),auth[_0x83c9('0x9')](),controller[_0x83c9('0xf')]);router[_0x83c9('0x10')](_0x83c9('0xb'),auth[_0x83c9('0x9')](),controller['destroy']);module[_0x83c9('0x11')]=router;