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 _0x71a4=['./voiceDialReport.controller','get','index','isAuthenticated','show','create','put','/:id','update','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x3c0d80,_0x3611d1){var _0xfc78fe=function(_0x56b03a){while(--_0x56b03a){_0x3c0d80['push'](_0x3c0d80['shift']());}};_0xfc78fe(++_0x3611d1);}(_0x71a4,0x14f));var _0x471a=function(_0x46aff1,_0x33782){_0x46aff1=_0x46aff1-0x0;var _0x4415cb=_0x71a4[_0x46aff1];return _0x4415cb;};'use strict';var multer=require(_0x471a('0x0'));var util=require('util');var path=require(_0x471a('0x1'));var timeout=require(_0x471a('0x2'));var express=require('express');var router=express[_0x471a('0x3')]();var fs_extra=require(_0x471a('0x4'));var auth=require(_0x471a('0x5'));var interaction=require(_0x471a('0x6'));var config=require('../../config/environment');var controller=require(_0x471a('0x7'));router[_0x471a('0x8')]('/',auth['isAuthenticated'](),controller[_0x471a('0x9')]);router[_0x471a('0x8')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x471a('0x8')]('/:id',auth[_0x471a('0xa')](),controller[_0x471a('0xb')]);router['post']('/',auth[_0x471a('0xa')](),controller[_0x471a('0xc')]);router[_0x471a('0xd')](_0x471a('0xe'),auth[_0x471a('0xa')](),controller[_0x471a('0xf')]);router['delete'](_0x471a('0xe'),auth['isAuthenticated'](),controller[_0x471a('0x10')]);module[_0x471a('0x11')]=router;