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 _0x72a9=['../../components/auth/service','../../components/interaction/service','./voiceDialReport.controller','get','isAuthenticated','/:id','create','put','update','destroy','multer','util','path','express','Router','fs-extra'];(function(_0x5b561d,_0x422b7c){var _0x431060=function(_0x401409){while(--_0x401409){_0x5b561d['push'](_0x5b561d['shift']());}};_0x431060(++_0x422b7c);}(_0x72a9,0x12a));var _0x972a=function(_0x51cc41,_0xe03f1f){_0x51cc41=_0x51cc41-0x0;var _0x1c842e=_0x72a9[_0x51cc41];return _0x1c842e;};'use strict';var multer=require(_0x972a('0x0'));var util=require(_0x972a('0x1'));var path=require(_0x972a('0x2'));var timeout=require('connect-timeout');var express=require(_0x972a('0x3'));var router=express[_0x972a('0x4')]();var fs_extra=require(_0x972a('0x5'));var auth=require(_0x972a('0x6'));var interaction=require(_0x972a('0x7'));var config=require('../../config/environment');var controller=require(_0x972a('0x8'));router[_0x972a('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x972a('0x9')]('/describe',auth[_0x972a('0xa')](),controller['describe']);router['get'](_0x972a('0xb'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0x972a('0xa')](),controller[_0x972a('0xc')]);router[_0x972a('0xd')]('/:id',auth['isAuthenticated'](),controller[_0x972a('0xe')]);router['delete'](_0x972a('0xb'),auth[_0x972a('0xa')](),controller[_0x972a('0xf')]);module['exports']=router;