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 _0x18ba=['../../components/interaction/service','isAuthenticated','get','/describe','describe','post','put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','Router'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x18ba,0x1dc));var _0xa18b=function(_0x151123,_0x11179f){_0x151123=_0x151123-0x0;var _0x12778f=_0x18ba[_0x151123];return _0x12778f;};'use strict';var multer=require(_0xa18b('0x0'));var util=require(_0xa18b('0x1'));var path=require('path');var timeout=require(_0xa18b('0x2'));var express=require('express');var router=express[_0xa18b('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xa18b('0x4'));var config=require('../../config/environment');var controller=require('./whatsappQueueReport.controller');router['get']('/',auth[_0xa18b('0x5')](),controller['index']);router[_0xa18b('0x6')](_0xa18b('0x7'),auth[_0xa18b('0x5')](),controller[_0xa18b('0x8')]);router[_0xa18b('0x6')]('/:id',auth[_0xa18b('0x5')](),controller['show']);router[_0xa18b('0x9')]('/',auth['isAuthenticated'](),controller['create']);router[_0xa18b('0xa')](_0xa18b('0xb'),auth[_0xa18b('0x5')](),controller[_0xa18b('0xc')]);router[_0xa18b('0xd')](_0xa18b('0xb'),auth[_0xa18b('0x5')](),controller[_0xa18b('0xe')]);module[_0xa18b('0xf')]=router;