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