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