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 _0x3fe0=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intDeskField.controller','get','isAuthenticated','index','/:id','show','post','create','put','delete','destroy','exports','multer','util'];(function(_0x18ab2a,_0x4debcd){var _0x16dcee=function(_0x10107a){while(--_0x10107a){_0x18ab2a['push'](_0x18ab2a['shift']());}};_0x16dcee(++_0x4debcd);}(_0x3fe0,0x76));var _0x03fe=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x3fe0[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require(_0x03fe('0x0'));var util=require(_0x03fe('0x1'));var path=require(_0x03fe('0x2'));var timeout=require(_0x03fe('0x3'));var express=require(_0x03fe('0x4'));var router=express[_0x03fe('0x5')]();var auth=require(_0x03fe('0x6'));var interaction=require(_0x03fe('0x7'));var config=require('../../config/environment');var controller=require(_0x03fe('0x8'));router[_0x03fe('0x9')]('/',auth[_0x03fe('0xa')](),controller[_0x03fe('0xb')]);router[_0x03fe('0x9')](_0x03fe('0xc'),auth[_0x03fe('0xa')](),controller[_0x03fe('0xd')]);router[_0x03fe('0xe')]('/',auth['isAuthenticated'](),controller[_0x03fe('0xf')]);router[_0x03fe('0x10')](_0x03fe('0xc'),auth[_0x03fe('0xa')](),controller['update']);router[_0x03fe('0x11')](_0x03fe('0xc'),auth[_0x03fe('0xa')](),controller[_0x03fe('0x12')]);module[_0x03fe('0x13')]=router;