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 _0xd90e=['path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','isAuthenticated','index','describe','put','/:id','update','exports','multer','util'];(function(_0x54ba78,_0x456755){var _0x3bada0=function(_0x43ad61){while(--_0x43ad61){_0x54ba78['push'](_0x54ba78['shift']());}};_0x3bada0(++_0x456755);}(_0xd90e,0x1eb));var _0xed90=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd90e[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xed90('0x0'));var util=require(_0xed90('0x1'));var path=require(_0xed90('0x2'));var timeout=require(_0xed90('0x3'));var express=require(_0xed90('0x4'));var router=express[_0xed90('0x5')]();var fs_extra=require(_0xed90('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xed90('0x7'));var config=require(_0xed90('0x8'));var controller=require(_0xed90('0x9'));router['get']('/',auth[_0xed90('0xa')](),controller[_0xed90('0xb')]);router['get']('/describe',auth[_0xed90('0xa')](),controller[_0xed90('0xc')]);router['get']('/:id',auth[_0xed90('0xa')](),controller['show']);router['post']('/',auth[_0xed90('0xa')](),controller['create']);router[_0xed90('0xd')](_0xed90('0xe'),auth[_0xed90('0xa')](),controller[_0xed90('0xf')]);router['delete'](_0xed90('0xe'),auth[_0xed90('0xa')](),controller['destroy']);module[_0xed90('0x10')]=router;