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 _0x5554=['put','update','delete','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','show','post','create'];(function(_0x5962cc,_0x29da43){var _0xf20047=function(_0x4e0f31){while(--_0x4e0f31){_0x5962cc['push'](_0x5962cc['shift']());}};_0xf20047(++_0x29da43);}(_0x5554,0x70));var _0x4555=function(_0x297fd3,_0x115406){_0x297fd3=_0x297fd3-0x0;var _0x2af381=_0x5554[_0x297fd3];return _0x2af381;};'use strict';var multer=require(_0x4555('0x0'));var util=require(_0x4555('0x1'));var path=require(_0x4555('0x2'));var timeout=require(_0x4555('0x3'));var express=require(_0x4555('0x4'));var router=express['Router']();var fs_extra=require(_0x4555('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x4555('0x6'));var config=require(_0x4555('0x7'));var controller=require('./intDeskField.controller');router[_0x4555('0x8')]('/',auth[_0x4555('0x9')](),controller['index']);router[_0x4555('0x8')](_0x4555('0xa'),auth[_0x4555('0x9')](),controller[_0x4555('0xb')]);router[_0x4555('0xc')]('/',auth[_0x4555('0x9')](),controller[_0x4555('0xd')]);router[_0x4555('0xe')](_0x4555('0xa'),auth['isAuthenticated'](),controller[_0x4555('0xf')]);router[_0x4555('0x10')](_0x4555('0xa'),auth[_0x4555('0x9')](),controller['destroy']);module[_0x4555('0x11')]=router;