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 _0xe85b=['multer','util','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','isAuthenticated','index','/:id','show','create','update','delete','destroy'];(function(_0x411add,_0x1aed38){var _0x238242=function(_0x4a1cd5){while(--_0x4a1cd5){_0x411add['push'](_0x411add['shift']());}};_0x238242(++_0x1aed38);}(_0xe85b,0xee));var _0xbe85=function(_0x4c0155,_0x5b20db){_0x4c0155=_0x4c0155-0x0;var _0x1276db=_0xe85b[_0x4c0155];return _0x1276db;};'use strict';var multer=require(_0xbe85('0x0'));var util=require(_0xbe85('0x1'));var path=require(_0xbe85('0x2'));var timeout=require(_0xbe85('0x3'));var express=require('express');var router=express[_0xbe85('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xbe85('0x5'));var config=require(_0xbe85('0x6'));var controller=require(_0xbe85('0x7'));router[_0xbe85('0x8')]('/',auth[_0xbe85('0x9')](),controller[_0xbe85('0xa')]);router[_0xbe85('0x8')]('/describe',auth[_0xbe85('0x9')](),controller['describe']);router[_0xbe85('0x8')](_0xbe85('0xb'),auth[_0xbe85('0x9')](),controller[_0xbe85('0xc')]);router['post']('/',auth[_0xbe85('0x9')](),controller[_0xbe85('0xd')]);router['put'](_0xbe85('0xb'),auth[_0xbe85('0x9')](),controller[_0xbe85('0xe')]);router[_0xbe85('0xf')](_0xbe85('0xb'),auth['isAuthenticated'](),controller[_0xbe85('0x10')]);module['exports']=router;