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 _0x8530=['isAuthenticated','index','/describe','/:id','show','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./voiceAgentReport.controller','get'];(function(_0xca6092,_0x227611){var _0x5c43be=function(_0x1ce3a1){while(--_0x1ce3a1){_0xca6092['push'](_0xca6092['shift']());}};_0x5c43be(++_0x227611);}(_0x8530,0x122));var _0x0853=function(_0x5f3199,_0x20118a){_0x5f3199=_0x5f3199-0x0;var _0x422ab4=_0x8530[_0x5f3199];return _0x422ab4;};'use strict';var multer=require(_0x0853('0x0'));var util=require(_0x0853('0x1'));var path=require(_0x0853('0x2'));var timeout=require(_0x0853('0x3'));var express=require(_0x0853('0x4'));var router=express[_0x0853('0x5')]();var auth=require(_0x0853('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x0853('0x7'));var controller=require(_0x0853('0x8'));router[_0x0853('0x9')]('/',auth[_0x0853('0xa')](),controller[_0x0853('0xb')]);router[_0x0853('0x9')](_0x0853('0xc'),auth[_0x0853('0xa')](),controller['describe']);router['get'](_0x0853('0xd'),auth[_0x0853('0xa')](),controller[_0x0853('0xe')]);router['post']('/',auth[_0x0853('0xa')](),controller[_0x0853('0xf')]);router[_0x0853('0x10')](_0x0853('0xd'),auth['isAuthenticated'](),controller[_0x0853('0x11')]);router['delete'](_0x0853('0xd'),auth[_0x0853('0xa')](),controller[_0x0853('0x12')]);module[_0x0853('0x13')]=router;