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 _0x6baa=['connect-timeout','express','../../components/interaction/service','./openchannelTransferReport.controller','get','isAuthenticated','index','/describe','show','post','create','put','update','/:id','destroy','exports','multer'];(function(_0x522196,_0x3f0ceb){var _0x58fa8d=function(_0x16eae4){while(--_0x16eae4){_0x522196['push'](_0x522196['shift']());}};_0x58fa8d(++_0x3f0ceb);}(_0x6baa,0xba));var _0xa6ba=function(_0xde23c6,_0x59ac30){_0xde23c6=_0xde23c6-0x0;var _0x276755=_0x6baa[_0xde23c6];return _0x276755;};'use strict';var multer=require(_0xa6ba('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xa6ba('0x1'));var express=require(_0xa6ba('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xa6ba('0x3'));var config=require('../../config/environment');var controller=require(_0xa6ba('0x4'));router[_0xa6ba('0x5')]('/',auth[_0xa6ba('0x6')](),controller[_0xa6ba('0x7')]);router[_0xa6ba('0x5')](_0xa6ba('0x8'),auth[_0xa6ba('0x6')](),controller['describe']);router[_0xa6ba('0x5')]('/:id',auth['isAuthenticated'](),controller[_0xa6ba('0x9')]);router[_0xa6ba('0xa')]('/',auth[_0xa6ba('0x6')](),controller[_0xa6ba('0xb')]);router[_0xa6ba('0xc')]('/:id',auth[_0xa6ba('0x6')](),controller[_0xa6ba('0xd')]);router['delete'](_0xa6ba('0xe'),auth[_0xa6ba('0x6')](),controller[_0xa6ba('0xf')]);module[_0xa6ba('0x10')]=router;