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