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 _0x268b=['update','delete','exports','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','index','/describe','show','post','put','/:id'];(function(_0x332d03,_0x31af09){var _0x2f5557=function(_0x1b6d04){while(--_0x1b6d04){_0x332d03['push'](_0x332d03['shift']());}};_0x2f5557(++_0x31af09);}(_0x268b,0x159));var _0xb268=function(_0x21f9c2,_0x2b3d2a){_0x21f9c2=_0x21f9c2-0x0;var _0x3da17f=_0x268b[_0x21f9c2];return _0x3da17f;};'use strict';var multer=require('multer');var util=require(_0xb268('0x0'));var path=require(_0xb268('0x1'));var timeout=require(_0xb268('0x2'));var express=require('express');var router=express[_0xb268('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xb268('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xb268('0x5'));var controller=require(_0xb268('0x6'));router[_0xb268('0x7')]('/',auth[_0xb268('0x8')](),controller[_0xb268('0x9')]);router[_0xb268('0x7')](_0xb268('0xa'),auth[_0xb268('0x8')](),controller['describe']);router[_0xb268('0x7')]('/:id',auth[_0xb268('0x8')](),controller[_0xb268('0xb')]);router[_0xb268('0xc')]('/',auth[_0xb268('0x8')](),controller['create']);router[_0xb268('0xd')](_0xb268('0xe'),auth[_0xb268('0x8')](),controller[_0xb268('0xf')]);router[_0xb268('0x10')]('/:id',auth[_0xb268('0x8')](),controller['destroy']);module[_0xb268('0x11')]=router;