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 _0xa01d=['../../config/environment','./voiceTransferReport.controller','get','isAuthenticated','describe','/:id','show','put','update','destroy','exports','multer','connect-timeout','Router','fs-extra','../../components/auth/service'];(function(_0x543084,_0x4337f5){var _0x306a57=function(_0x2769ed){while(--_0x2769ed){_0x543084['push'](_0x543084['shift']());}};_0x306a57(++_0x4337f5);}(_0xa01d,0xeb));var _0xda01=function(_0x52eb8c,_0x1f6124){_0x52eb8c=_0x52eb8c-0x0;var _0x29943b=_0xa01d[_0x52eb8c];return _0x29943b;};'use strict';var multer=require(_0xda01('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xda01('0x1'));var express=require('express');var router=express[_0xda01('0x2')]();var fs_extra=require(_0xda01('0x3'));var auth=require(_0xda01('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xda01('0x5'));var controller=require(_0xda01('0x6'));router[_0xda01('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0xda01('0x7')]('/describe',auth[_0xda01('0x8')](),controller[_0xda01('0x9')]);router[_0xda01('0x7')](_0xda01('0xa'),auth[_0xda01('0x8')](),controller[_0xda01('0xb')]);router['post']('/',auth[_0xda01('0x8')](),controller['create']);router[_0xda01('0xc')]('/:id',auth[_0xda01('0x8')](),controller[_0xda01('0xd')]);router['delete'](_0xda01('0xa'),auth[_0xda01('0x8')](),controller[_0xda01('0xe')]);module[_0xda01('0xf')]=router;