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