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 _0x51c6=['update','delete','destroy','exports','multer','express','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelTransferReport.controller','get','/describe','isAuthenticated','describe','/:id','show','post','create','put'];(function(_0x536a51,_0x2bf510){var _0x4a4d9e=function(_0x20deef){while(--_0x20deef){_0x536a51['push'](_0x536a51['shift']());}};_0x4a4d9e(++_0x2bf510);}(_0x51c6,0x16d));var _0x651c=function(_0x7c3f98,_0x28e927){_0x7c3f98=_0x7c3f98-0x0;var _0xd803ec=_0x51c6[_0x7c3f98];return _0xd803ec;};'use strict';var multer=require(_0x651c('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x651c('0x1'));var router=express['Router']();var fs_extra=require(_0x651c('0x2'));var auth=require(_0x651c('0x3'));var interaction=require(_0x651c('0x4'));var config=require('../../config/environment');var controller=require(_0x651c('0x5'));router[_0x651c('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x651c('0x6')](_0x651c('0x7'),auth[_0x651c('0x8')](),controller[_0x651c('0x9')]);router[_0x651c('0x6')](_0x651c('0xa'),auth[_0x651c('0x8')](),controller[_0x651c('0xb')]);router[_0x651c('0xc')]('/',auth[_0x651c('0x8')](),controller[_0x651c('0xd')]);router[_0x651c('0xe')]('/:id',auth[_0x651c('0x8')](),controller[_0x651c('0xf')]);router[_0x651c('0x10')](_0x651c('0xa'),auth['isAuthenticated'](),controller[_0x651c('0x11')]);module[_0x651c('0x12')]=router;