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