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 _0x6f21=['destroy','util','path','express','fs-extra','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','index','get','/describe','isAuthenticated','describe','/:id','show','create','put','update','delete'];(function(_0xe12daa,_0x2c655a){var _0x1510b9=function(_0x27f07d){while(--_0x27f07d){_0xe12daa['push'](_0xe12daa['shift']());}};_0x1510b9(++_0x2c655a);}(_0x6f21,0xf8));var _0x16f2=function(_0x21db17,_0x5070cd){_0x21db17=_0x21db17-0x0;var _0x19c6ac=_0x6f21[_0x21db17];return _0x19c6ac;};'use strict';var multer=require('multer');var util=require(_0x16f2('0x0'));var path=require(_0x16f2('0x1'));var timeout=require('connect-timeout');var express=require(_0x16f2('0x2'));var router=express['Router']();var fs_extra=require(_0x16f2('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x16f2('0x4'));var config=require(_0x16f2('0x5'));var controller=require(_0x16f2('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x16f2('0x7')]);router[_0x16f2('0x8')](_0x16f2('0x9'),auth[_0x16f2('0xa')](),controller[_0x16f2('0xb')]);router['get'](_0x16f2('0xc'),auth[_0x16f2('0xa')](),controller[_0x16f2('0xd')]);router['post']('/',auth[_0x16f2('0xa')](),controller[_0x16f2('0xe')]);router[_0x16f2('0xf')](_0x16f2('0xc'),auth[_0x16f2('0xa')](),controller[_0x16f2('0x10')]);router[_0x16f2('0x11')](_0x16f2('0xc'),auth[_0x16f2('0xa')](),controller[_0x16f2('0x12')]);module['exports']=router;