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 _0xe897=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','/:id','update','delete','destroy','util','path','connect-timeout','express'];(function(_0x15d4bf,_0x1ca4c3){var _0x9004bc=function(_0x257564){while(--_0x257564){_0x15d4bf['push'](_0x15d4bf['shift']());}};_0x9004bc(++_0x1ca4c3);}(_0xe897,0xf8));var _0x7e89=function(_0x53ac26,_0x466e95){_0x53ac26=_0x53ac26-0x0;var _0x28c433=_0xe897[_0x53ac26];return _0x28c433;};'use strict';var multer=require('multer');var util=require(_0x7e89('0x0'));var path=require(_0x7e89('0x1'));var timeout=require(_0x7e89('0x2'));var express=require(_0x7e89('0x3'));var router=express[_0x7e89('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x7e89('0x5'));var interaction=require(_0x7e89('0x6'));var config=require(_0x7e89('0x7'));var controller=require(_0x7e89('0x8'));router[_0x7e89('0x9')]('/',auth[_0x7e89('0xa')](),controller[_0x7e89('0xb')]);router[_0x7e89('0x9')](_0x7e89('0xc'),auth[_0x7e89('0xa')](),controller[_0x7e89('0xd')]);router[_0x7e89('0x9')]('/:id',auth[_0x7e89('0xa')](),controller[_0x7e89('0xe')]);router[_0x7e89('0xf')]('/',auth['isAuthenticated'](),controller[_0x7e89('0x10')]);router['put'](_0x7e89('0x11'),auth[_0x7e89('0xa')](),controller[_0x7e89('0x12')]);router[_0x7e89('0x13')]('/:id',auth[_0x7e89('0xa')](),controller[_0x7e89('0x14')]);module['exports']=router;