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 _0xe181=['describe','/:id','post','create','put','delete','exports','multer','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','isAuthenticated','index','/describe'];(function(_0x40366d,_0x50b54b){var _0x43db31=function(_0x3ee5a4){while(--_0x3ee5a4){_0x40366d['push'](_0x40366d['shift']());}};_0x43db31(++_0x50b54b);}(_0xe181,0x73));var _0x1e18=function(_0x5e4b35,_0x4d0efd){_0x5e4b35=_0x5e4b35-0x0;var _0x220bde=_0xe181[_0x5e4b35];return _0x220bde;};'use strict';var multer=require(_0x1e18('0x0'));var util=require(_0x1e18('0x1'));var path=require(_0x1e18('0x2'));var timeout=require(_0x1e18('0x3'));var express=require(_0x1e18('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x1e18('0x5'));var config=require(_0x1e18('0x6'));var controller=require(_0x1e18('0x7'));router['get']('/',auth[_0x1e18('0x8')](),controller[_0x1e18('0x9')]);router['get'](_0x1e18('0xa'),auth['isAuthenticated'](),controller[_0x1e18('0xb')]);router['get'](_0x1e18('0xc'),auth[_0x1e18('0x8')](),controller['show']);router[_0x1e18('0xd')]('/',auth[_0x1e18('0x8')](),controller[_0x1e18('0xe')]);router[_0x1e18('0xf')](_0x1e18('0xc'),auth[_0x1e18('0x8')](),controller['update']);router[_0x1e18('0x10')](_0x1e18('0xc'),auth[_0x1e18('0x8')](),controller['destroy']);module[_0x1e18('0x11')]=router;