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