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 _0xf004=['create','update','exports','multer','util','path','connect-timeout','../../components/auth/service','../../config/environment','./voiceQueueReport.controller','get','/describe','/index','isAuthenticated','getVoiceQueuesReport','/:id','show','post'];(function(_0x134cab,_0xdcaa87){var _0xe5a8ab=function(_0x1d1ef5){while(--_0x1d1ef5){_0x134cab['push'](_0x134cab['shift']());}};_0xe5a8ab(++_0xdcaa87);}(_0xf004,0x81));var _0x4f00=function(_0x28931b,_0x3beb77){_0x28931b=_0x28931b-0x0;var _0x2764b3=_0xf004[_0x28931b];return _0x2764b3;};'use strict';var multer=require(_0x4f00('0x0'));var util=require(_0x4f00('0x1'));var path=require(_0x4f00('0x2'));var timeout=require(_0x4f00('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x4f00('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x4f00('0x5'));var controller=require(_0x4f00('0x6'));router[_0x4f00('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x4f00('0x7')](_0x4f00('0x8'),auth['isAuthenticated'](),controller['describe']);router[_0x4f00('0x7')](_0x4f00('0x9'),auth[_0x4f00('0xa')](),controller[_0x4f00('0xb')]);router[_0x4f00('0x7')](_0x4f00('0xc'),auth[_0x4f00('0xa')](),controller[_0x4f00('0xd')]);router[_0x4f00('0xe')]('/',auth[_0x4f00('0xa')](),controller[_0x4f00('0xf')]);router['put'](_0x4f00('0xc'),auth[_0x4f00('0xa')](),controller[_0x4f00('0x10')]);router['delete'](_0x4f00('0xc'),auth[_0x4f00('0xa')](),controller['destroy']);module[_0x4f00('0x11')]=router;