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