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