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 _0x8828=['show','create','put','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceQueuesLog.controller','get','index','/:id'];(function(_0x2829ea,_0x5f4281){var _0x2cacc0=function(_0x30addf){while(--_0x30addf){_0x2829ea['push'](_0x2829ea['shift']());}};_0x2cacc0(++_0x5f4281);}(_0x8828,0x1d1));var _0x8882=function(_0x5bf355,_0x56f4df){_0x5bf355=_0x5bf355-0x0;var _0x42973c=_0x8828[_0x5bf355];return _0x42973c;};'use strict';var multer=require(_0x8882('0x0'));var util=require(_0x8882('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x8882('0x2'));var router=express[_0x8882('0x3')]();var fs_extra=require(_0x8882('0x4'));var auth=require(_0x8882('0x5'));var interaction=require(_0x8882('0x6'));var config=require('../../config/environment');var controller=require(_0x8882('0x7'));router[_0x8882('0x8')]('/',auth['isAuthenticated'](),controller[_0x8882('0x9')]);router['get'](_0x8882('0xa'),auth['isAuthenticated'](),controller[_0x8882('0xb')]);router['post']('/',auth['isAuthenticated'](),controller[_0x8882('0xc')]);router[_0x8882('0xd')](_0x8882('0xa'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x8882('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;