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 _0xe78a=['util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','update','destroy','exports','multer'];(function(_0x481a23,_0x260adc){var _0x2d6b28=function(_0xccf3a8){while(--_0xccf3a8){_0x481a23['push'](_0x481a23['shift']());}};_0x2d6b28(++_0x260adc);}(_0xe78a,0x133));var _0xae78=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xe78a[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require(_0xae78('0x0'));var util=require(_0xae78('0x1'));var path=require(_0xae78('0x2'));var timeout=require(_0xae78('0x3'));var express=require(_0xae78('0x4'));var router=express[_0xae78('0x5')]();var fs_extra=require(_0xae78('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xae78('0x7'));var config=require(_0xae78('0x8'));var controller=require(_0xae78('0x9'));router[_0xae78('0xa')]('/',auth[_0xae78('0xb')](),controller[_0xae78('0xc')]);router[_0xae78('0xa')](_0xae78('0xd'),auth['isAuthenticated'](),controller[_0xae78('0xe')]);router['get'](_0xae78('0xf'),auth[_0xae78('0xb')](),controller[_0xae78('0x10')]);router[_0xae78('0x11')]('/',auth[_0xae78('0xb')](),controller[_0xae78('0x12')]);router['put'](_0xae78('0xf'),auth['isAuthenticated'](),controller[_0xae78('0x13')]);router['delete'](_0xae78('0xf'),auth[_0xae78('0xb')](),controller[_0xae78('0x14')]);module[_0xae78('0x15')]=router;