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 _0xbe89=['index','/:id','show','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x3bc75c,_0x17cf43){var _0x362e72=function(_0x3554b3){while(--_0x3554b3){_0x3bc75c['push'](_0x3bc75c['shift']());}};_0x362e72(++_0x17cf43);}(_0xbe89,0x7b));var _0x9be8=function(_0x2c6b4c,_0x33cc1e){_0x2c6b4c=_0x2c6b4c-0x0;var _0x4b573a=_0xbe89[_0x2c6b4c];return _0x4b573a;};'use strict';var multer=require(_0x9be8('0x0'));var util=require(_0x9be8('0x1'));var path=require(_0x9be8('0x2'));var timeout=require(_0x9be8('0x3'));var express=require('express');var router=express[_0x9be8('0x4')]();var auth=require(_0x9be8('0x5'));var interaction=require(_0x9be8('0x6'));var config=require(_0x9be8('0x7'));var controller=require('./intDeskField.controller');router[_0x9be8('0x8')]('/',auth[_0x9be8('0x9')](),controller[_0x9be8('0xa')]);router[_0x9be8('0x8')](_0x9be8('0xb'),auth[_0x9be8('0x9')](),controller[_0x9be8('0xc')]);router[_0x9be8('0xd')]('/',auth[_0x9be8('0x9')](),controller[_0x9be8('0xe')]);router[_0x9be8('0xf')]('/:id',auth[_0x9be8('0x9')](),controller[_0x9be8('0x10')]);router[_0x9be8('0x11')](_0x9be8('0xb'),auth[_0x9be8('0x9')](),controller[_0x9be8('0x12')]);module['exports']=router;