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