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 _0x6a24=['../../config/environment','./voiceQueuesLog.controller','isAuthenticated','index','show','put','update','delete','/:id','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x45d592,_0x4f22d5){var _0xc73ab2=function(_0x9e0e2){while(--_0x9e0e2){_0x45d592['push'](_0x45d592['shift']());}};_0xc73ab2(++_0x4f22d5);}(_0x6a24,0xd1));var _0x46a2=function(_0x3f4255,_0x35ba1d){_0x3f4255=_0x3f4255-0x0;var _0x13355f=_0x6a24[_0x3f4255];return _0x13355f;};'use strict';var multer=require(_0x46a2('0x0'));var util=require(_0x46a2('0x1'));var path=require('path');var timeout=require(_0x46a2('0x2'));var express=require(_0x46a2('0x3'));var router=express[_0x46a2('0x4')]();var fs_extra=require(_0x46a2('0x5'));var auth=require(_0x46a2('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x46a2('0x7'));var controller=require(_0x46a2('0x8'));router['get']('/',auth[_0x46a2('0x9')](),controller[_0x46a2('0xa')]);router['get']('/:id',auth[_0x46a2('0x9')](),controller[_0x46a2('0xb')]);router['post']('/',auth[_0x46a2('0x9')](),controller['create']);router[_0x46a2('0xc')]('/:id',auth[_0x46a2('0x9')](),controller[_0x46a2('0xd')]);router[_0x46a2('0xe')](_0x46a2('0xf'),auth[_0x46a2('0x9')](),controller[_0x46a2('0x10')]);module[_0x46a2('0x11')]=router;