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 _0x3e3a=['path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','isAuthenticated','index','get','/describe','/:id','show','post','create','put','destroy','exports','multer','util'];(function(_0x115d5b,_0x26aff2){var _0x6cfc50=function(_0x39a786){while(--_0x39a786){_0x115d5b['push'](_0x115d5b['shift']());}};_0x6cfc50(++_0x26aff2);}(_0x3e3a,0x17a));var _0xa3e3=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x3e3a[_0x3ab51d];return _0x29a04e;};'use strict';var multer=require(_0xa3e3('0x0'));var util=require(_0xa3e3('0x1'));var path=require(_0xa3e3('0x2'));var timeout=require('connect-timeout');var express=require(_0xa3e3('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa3e3('0x4'));var interaction=require(_0xa3e3('0x5'));var config=require(_0xa3e3('0x6'));var controller=require(_0xa3e3('0x7'));router['get']('/',auth[_0xa3e3('0x8')](),controller[_0xa3e3('0x9')]);router[_0xa3e3('0xa')](_0xa3e3('0xb'),auth[_0xa3e3('0x8')](),controller['describe']);router[_0xa3e3('0xa')](_0xa3e3('0xc'),auth[_0xa3e3('0x8')](),controller[_0xa3e3('0xd')]);router[_0xa3e3('0xe')]('/',auth[_0xa3e3('0x8')](),controller[_0xa3e3('0xf')]);router[_0xa3e3('0x10')]('/:id',auth[_0xa3e3('0x8')](),controller['update']);router['delete'](_0xa3e3('0xc'),auth[_0xa3e3('0x8')](),controller[_0xa3e3('0x11')]);module[_0xa3e3('0x12')]=router;