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 _0x4cb9=['delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intDeskField.controller','get','isAuthenticated','index','/:id','show','post','create','put'];(function(_0x42558a,_0x1e7cfc){var _0x1e8229=function(_0x36fb1b){while(--_0x36fb1b){_0x42558a['push'](_0x42558a['shift']());}};_0x1e8229(++_0x1e7cfc);}(_0x4cb9,0x8f));var _0x94cb=function(_0x1c75de,_0x52c9b3){_0x1c75de=_0x1c75de-0x0;var _0x20a5e6=_0x4cb9[_0x1c75de];return _0x20a5e6;};'use strict';var multer=require('multer');var util=require(_0x94cb('0x0'));var path=require(_0x94cb('0x1'));var timeout=require(_0x94cb('0x2'));var express=require(_0x94cb('0x3'));var router=express[_0x94cb('0x4')]();var fs_extra=require(_0x94cb('0x5'));var auth=require(_0x94cb('0x6'));var interaction=require(_0x94cb('0x7'));var config=require('../../config/environment');var controller=require(_0x94cb('0x8'));router[_0x94cb('0x9')]('/',auth[_0x94cb('0xa')](),controller[_0x94cb('0xb')]);router[_0x94cb('0x9')](_0x94cb('0xc'),auth[_0x94cb('0xa')](),controller[_0x94cb('0xd')]);router[_0x94cb('0xe')]('/',auth['isAuthenticated'](),controller[_0x94cb('0xf')]);router[_0x94cb('0x10')](_0x94cb('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x94cb('0x11')](_0x94cb('0xc'),auth['isAuthenticated'](),controller[_0x94cb('0x12')]);module[_0x94cb('0x13')]=router;