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 _0x30ba=['express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','get','isAuthenticated','index','/describe','/:id','put','destroy','util','connect-timeout'];(function(_0xd2487f,_0x3442c4){var _0x26eb23=function(_0x5f5b38){while(--_0x5f5b38){_0xd2487f['push'](_0xd2487f['shift']());}};_0x26eb23(++_0x3442c4);}(_0x30ba,0x85));var _0xa30b=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x30ba[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require(_0xa30b('0x0'));var path=require('path');var timeout=require(_0xa30b('0x1'));var express=require(_0xa30b('0x2'));var router=express[_0xa30b('0x3')]();var fs_extra=require(_0xa30b('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xa30b('0x5'));var config=require(_0xa30b('0x6'));var controller=require(_0xa30b('0x7'));router[_0xa30b('0x8')]('/',auth[_0xa30b('0x9')](),controller[_0xa30b('0xa')]);router['get'](_0xa30b('0xb'),auth[_0xa30b('0x9')](),controller['describe']);router[_0xa30b('0x8')](_0xa30b('0xc'),auth[_0xa30b('0x9')](),controller['show']);router['post']('/',auth[_0xa30b('0x9')](),controller['create']);router[_0xa30b('0xd')](_0xa30b('0xc'),auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0xa30b('0x9')](),controller[_0xa30b('0xe')]);module['exports']=router;