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 _0x7e5a=['update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./openchannelQueueReport.controller','get','index','isAuthenticated','describe','show','post','create','put','/:id'];(function(_0x1e208f,_0x43390c){var _0x3ece6f=function(_0x1e5ceb){while(--_0x1e5ceb){_0x1e208f['push'](_0x1e208f['shift']());}};_0x3ece6f(++_0x43390c);}(_0x7e5a,0x18f));var _0xa7e5=function(_0x138dcf,_0x5f01d7){_0x138dcf=_0x138dcf-0x0;var _0x3a8f7d=_0x7e5a[_0x138dcf];return _0x3a8f7d;};'use strict';var multer=require(_0xa7e5('0x0'));var util=require(_0xa7e5('0x1'));var path=require(_0xa7e5('0x2'));var timeout=require(_0xa7e5('0x3'));var express=require(_0xa7e5('0x4'));var router=express[_0xa7e5('0x5')]();var fs_extra=require(_0xa7e5('0x6'));var auth=require(_0xa7e5('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xa7e5('0x8'));var controller=require(_0xa7e5('0x9'));router[_0xa7e5('0xa')]('/',auth['isAuthenticated'](),controller[_0xa7e5('0xb')]);router[_0xa7e5('0xa')]('/describe',auth[_0xa7e5('0xc')](),controller[_0xa7e5('0xd')]);router[_0xa7e5('0xa')]('/:id',auth[_0xa7e5('0xc')](),controller[_0xa7e5('0xe')]);router[_0xa7e5('0xf')]('/',auth[_0xa7e5('0xc')](),controller[_0xa7e5('0x10')]);router[_0xa7e5('0x11')](_0xa7e5('0x12'),auth['isAuthenticated'](),controller[_0xa7e5('0x13')]);router['delete'](_0xa7e5('0x12'),auth[_0xa7e5('0xc')](),controller[_0xa7e5('0x14')]);module[_0xa7e5('0x15')]=router;