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 _0xa7ce=['/describe','describe','show','post','create','put','/:id','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated'];(function(_0x35d6a3,_0x5ae64d){var _0x13d064=function(_0x301be2){while(--_0x301be2){_0x35d6a3['push'](_0x35d6a3['shift']());}};_0x13d064(++_0x5ae64d);}(_0xa7ce,0x181));var _0xea7c=function(_0x13a4e1,_0x5cada4){_0x13a4e1=_0x13a4e1-0x0;var _0x50ac9=_0xa7ce[_0x13a4e1];return _0x50ac9;};'use strict';var multer=require(_0xea7c('0x0'));var util=require('util');var path=require(_0xea7c('0x1'));var timeout=require(_0xea7c('0x2'));var express=require(_0xea7c('0x3'));var router=express[_0xea7c('0x4')]();var fs_extra=require(_0xea7c('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xea7c('0x6'));var config=require(_0xea7c('0x7'));var controller=require(_0xea7c('0x8'));router[_0xea7c('0x9')]('/',auth[_0xea7c('0xa')](),controller['index']);router[_0xea7c('0x9')](_0xea7c('0xb'),auth[_0xea7c('0xa')](),controller[_0xea7c('0xc')]);router[_0xea7c('0x9')]('/:id',auth[_0xea7c('0xa')](),controller[_0xea7c('0xd')]);router[_0xea7c('0xe')]('/',auth[_0xea7c('0xa')](),controller[_0xea7c('0xf')]);router[_0xea7c('0x10')](_0xea7c('0x11'),auth['isAuthenticated'](),controller[_0xea7c('0x12')]);router[_0xea7c('0x13')](_0xea7c('0x11'),auth[_0xea7c('0xa')](),controller[_0xea7c('0x14')]);module[_0xea7c('0x15')]=router;