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