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 _0xaa85=['util','path','connect-timeout','express','fs-extra','./voiceQueuesLog.controller','isAuthenticated','index','/:id','show','post','update','delete','destroy','exports'];(function(_0x5ac188,_0x163bcf){var _0x32fa2f=function(_0x2331c0){while(--_0x2331c0){_0x5ac188['push'](_0x5ac188['shift']());}};_0x32fa2f(++_0x163bcf);}(_0xaa85,0x186));var _0x5aa8=function(_0x22ee02,_0x5bac79){_0x22ee02=_0x22ee02-0x0;var _0x3fda86=_0xaa85[_0x22ee02];return _0x3fda86;};'use strict';var multer=require('multer');var util=require(_0x5aa8('0x0'));var path=require(_0x5aa8('0x1'));var timeout=require(_0x5aa8('0x2'));var express=require(_0x5aa8('0x3'));var router=express['Router']();var fs_extra=require(_0x5aa8('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x5aa8('0x5'));router['get']('/',auth[_0x5aa8('0x6')](),controller[_0x5aa8('0x7')]);router['get'](_0x5aa8('0x8'),auth[_0x5aa8('0x6')](),controller[_0x5aa8('0x9')]);router[_0x5aa8('0xa')]('/',auth[_0x5aa8('0x6')](),controller['create']);router['put'](_0x5aa8('0x8'),auth[_0x5aa8('0x6')](),controller[_0x5aa8('0xb')]);router[_0x5aa8('0xc')](_0x5aa8('0x8'),auth[_0x5aa8('0x6')](),controller[_0x5aa8('0xd')]);module[_0x5aa8('0xe')]=router;