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