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