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