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 _0x7770=['/:id','update','delete','destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','isAuthenticated','index','get','describe','post','create','put'];(function(_0x5257b7,_0x4f42d6){var _0x5a8139=function(_0x4adfe2){while(--_0x4adfe2){_0x5257b7['push'](_0x5257b7['shift']());}};_0x5a8139(++_0x4f42d6);}(_0x7770,0xe1));var _0x0777=function(_0x5d8cb8,_0xc39294){_0x5d8cb8=_0x5d8cb8-0x0;var _0x2a0b6f=_0x7770[_0x5d8cb8];return _0x2a0b6f;};'use strict';var multer=require(_0x0777('0x0'));var util=require('util');var path=require(_0x0777('0x1'));var timeout=require(_0x0777('0x2'));var express=require('express');var router=express[_0x0777('0x3')]();var auth=require(_0x0777('0x4'));var interaction=require(_0x0777('0x5'));var config=require(_0x0777('0x6'));var controller=require(_0x0777('0x7'));router['get']('/',auth[_0x0777('0x8')](),controller[_0x0777('0x9')]);router[_0x0777('0xa')]('/describe',auth[_0x0777('0x8')](),controller[_0x0777('0xb')]);router[_0x0777('0xa')]('/:id',auth[_0x0777('0x8')](),controller['show']);router[_0x0777('0xc')]('/',auth['isAuthenticated'](),controller[_0x0777('0xd')]);router[_0x0777('0xe')](_0x0777('0xf'),auth[_0x0777('0x8')](),controller[_0x0777('0x10')]);router[_0x0777('0x11')]('/:id',auth[_0x0777('0x8')](),controller[_0x0777('0x12')]);module[_0x0777('0x13')]=router;