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