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