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