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 _0x1ef8=['fs-extra','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x2df413,_0x5303ae){var _0x1f5133=function(_0xb2347c){while(--_0xb2347c){_0x2df413['push'](_0x2df413['shift']());}};_0x1f5133(++_0x5303ae);}(_0x1ef8,0x1af));var _0x81ef=function(_0x27a6d0,_0x51ba48){_0x27a6d0=_0x27a6d0-0x0;var _0x51a5c4=_0x1ef8[_0x27a6d0];return _0x51a5c4;};'use strict';var multer=require(_0x81ef('0x0'));var util=require(_0x81ef('0x1'));var path=require(_0x81ef('0x2'));var timeout=require(_0x81ef('0x3'));var express=require(_0x81ef('0x4'));var router=express[_0x81ef('0x5')]();var fs_extra=require(_0x81ef('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x81ef('0x7'));var config=require(_0x81ef('0x8'));var controller=require(_0x81ef('0x9'));router[_0x81ef('0xa')]('/',auth[_0x81ef('0xb')](),controller[_0x81ef('0xc')]);router['get'](_0x81ef('0xd'),auth[_0x81ef('0xb')](),controller[_0x81ef('0xe')]);router['get'](_0x81ef('0xf'),auth['isAuthenticated'](),controller[_0x81ef('0x10')]);router[_0x81ef('0x11')]('/',auth[_0x81ef('0xb')](),controller['create']);router[_0x81ef('0x12')](_0x81ef('0xf'),auth[_0x81ef('0xb')](),controller[_0x81ef('0x13')]);router[_0x81ef('0x14')]('/:id',auth[_0x81ef('0xb')](),controller[_0x81ef('0x15')]);module[_0x81ef('0x16')]=router;