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 _0xc447=['isAuthenticated','describe','/:id','show','post','create','delete','destroy','exports','multer','util','path','../../components/auth/service','../../components/interaction/service','./chatTransferReport.controller','get','/describe'];(function(_0x43b584,_0x20a6bd){var _0x48f27b=function(_0x1eeb77){while(--_0x1eeb77){_0x43b584['push'](_0x43b584['shift']());}};_0x48f27b(++_0x20a6bd);}(_0xc447,0xf7));var _0x7c44=function(_0x4c802d,_0x3e2096){_0x4c802d=_0x4c802d-0x0;var _0x1da688=_0xc447[_0x4c802d];return _0x1da688;};'use strict';var multer=require(_0x7c44('0x0'));var util=require(_0x7c44('0x1'));var path=require(_0x7c44('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x7c44('0x3'));var interaction=require(_0x7c44('0x4'));var config=require('../../config/environment');var controller=require(_0x7c44('0x5'));router[_0x7c44('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x7c44('0x6')](_0x7c44('0x7'),auth[_0x7c44('0x8')](),controller[_0x7c44('0x9')]);router[_0x7c44('0x6')](_0x7c44('0xa'),auth['isAuthenticated'](),controller[_0x7c44('0xb')]);router[_0x7c44('0xc')]('/',auth[_0x7c44('0x8')](),controller[_0x7c44('0xd')]);router['put'](_0x7c44('0xa'),auth['isAuthenticated'](),controller['update']);router[_0x7c44('0xe')](_0x7c44('0xa'),auth[_0x7c44('0x8')](),controller[_0x7c44('0xf')]);module[_0x7c44('0x10')]=router;