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 _0xfcf9=['connect-timeout','express','Router','../../components/auth/service','./openchannelTransferReport.controller','get','isAuthenticated','index','/describe','describe','show','post','put','/:id','update','delete','destroy','exports','multer'];(function(_0x24cf6e,_0x1da6e7){var _0x1181c5=function(_0x24a21a){while(--_0x24a21a){_0x24cf6e['push'](_0x24cf6e['shift']());}};_0x1181c5(++_0x1da6e7);}(_0xfcf9,0xaa));var _0x9fcf=function(_0x4cfa79,_0x2ce8f8){_0x4cfa79=_0x4cfa79-0x0;var _0x2f33b0=_0xfcf9[_0x4cfa79];return _0x2f33b0;};'use strict';var multer=require(_0x9fcf('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x9fcf('0x1'));var express=require(_0x9fcf('0x2'));var router=express[_0x9fcf('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x9fcf('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x9fcf('0x5'));router[_0x9fcf('0x6')]('/',auth[_0x9fcf('0x7')](),controller[_0x9fcf('0x8')]);router['get'](_0x9fcf('0x9'),auth[_0x9fcf('0x7')](),controller[_0x9fcf('0xa')]);router['get']('/:id',auth[_0x9fcf('0x7')](),controller[_0x9fcf('0xb')]);router[_0x9fcf('0xc')]('/',auth[_0x9fcf('0x7')](),controller['create']);router[_0x9fcf('0xd')](_0x9fcf('0xe'),auth['isAuthenticated'](),controller[_0x9fcf('0xf')]);router[_0x9fcf('0x10')](_0x9fcf('0xe'),auth[_0x9fcf('0x7')](),controller[_0x9fcf('0x11')]);module[_0x9fcf('0x12')]=router;