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 _0xc0d3=['../../config/environment','./voiceQueuesLog.controller','get','isAuthenticated','index','/:id','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0xc0d3,0x191));var _0x3c0d=function(_0x26fafa,_0x2d4c7b){_0x26fafa=_0x26fafa-0x0;var _0x5f165b=_0xc0d3[_0x26fafa];return _0x5f165b;};'use strict';var multer=require(_0x3c0d('0x0'));var util=require(_0x3c0d('0x1'));var path=require(_0x3c0d('0x2'));var timeout=require(_0x3c0d('0x3'));var express=require(_0x3c0d('0x4'));var router=express[_0x3c0d('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x3c0d('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x3c0d('0x7'));var controller=require(_0x3c0d('0x8'));router[_0x3c0d('0x9')]('/',auth[_0x3c0d('0xa')](),controller[_0x3c0d('0xb')]);router[_0x3c0d('0x9')](_0x3c0d('0xc'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x3c0d('0xa')](),controller['create']);router[_0x3c0d('0xd')](_0x3c0d('0xc'),auth[_0x3c0d('0xa')](),controller[_0x3c0d('0xe')]);router['delete'](_0x3c0d('0xc'),auth[_0x3c0d('0xa')](),controller[_0x3c0d('0xf')]);module[_0x3c0d('0x10')]=router;