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 _0x0d6d=['connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','isAuthenticated','index','/describe','describe','/:id','show','create','update','delete','destroy','multer','util','path'];(function(_0xa78fd3,_0x15b136){var _0x2bedb1=function(_0x333b57){while(--_0x333b57){_0xa78fd3['push'](_0xa78fd3['shift']());}};_0x2bedb1(++_0x15b136);}(_0x0d6d,0x165));var _0xd0d6=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x0d6d[_0xfae23b];return _0x200640;};'use strict';var multer=require(_0xd0d6('0x0'));var util=require(_0xd0d6('0x1'));var path=require(_0xd0d6('0x2'));var timeout=require(_0xd0d6('0x3'));var express=require(_0xd0d6('0x4'));var router=express[_0xd0d6('0x5')]();var auth=require(_0xd0d6('0x6'));var interaction=require(_0xd0d6('0x7'));var config=require(_0xd0d6('0x8'));var controller=require(_0xd0d6('0x9'));router['get']('/',auth[_0xd0d6('0xa')](),controller[_0xd0d6('0xb')]);router['get'](_0xd0d6('0xc'),auth[_0xd0d6('0xa')](),controller[_0xd0d6('0xd')]);router['get'](_0xd0d6('0xe'),auth['isAuthenticated'](),controller[_0xd0d6('0xf')]);router['post']('/',auth[_0xd0d6('0xa')](),controller[_0xd0d6('0x10')]);router['put'](_0xd0d6('0xe'),auth[_0xd0d6('0xa')](),controller[_0xd0d6('0x11')]);router[_0xd0d6('0x12')](_0xd0d6('0xe'),auth[_0xd0d6('0xa')](),controller[_0xd0d6('0x13')]);module['exports']=router;