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