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 _0x5941=['describe','/:id','show','create','put','update','destroy','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe'];(function(_0x1f0c1c,_0x2c39cf){var _0x155e88=function(_0x4594bd){while(--_0x4594bd){_0x1f0c1c['push'](_0x1f0c1c['shift']());}};_0x155e88(++_0x2c39cf);}(_0x5941,0x74));var _0x1594=function(_0x3a41aa,_0x207c6e){_0x3a41aa=_0x3a41aa-0x0;var _0x3c7c22=_0x5941[_0x3a41aa];return _0x3c7c22;};'use strict';var multer=require(_0x1594('0x0'));var util=require(_0x1594('0x1'));var path=require('path');var timeout=require(_0x1594('0x2'));var express=require(_0x1594('0x3'));var router=express[_0x1594('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x1594('0x5'));var config=require(_0x1594('0x6'));var controller=require('./whatsappQueueReport.controller');router[_0x1594('0x7')]('/',auth[_0x1594('0x8')](),controller['index']);router[_0x1594('0x7')](_0x1594('0x9'),auth['isAuthenticated'](),controller[_0x1594('0xa')]);router[_0x1594('0x7')](_0x1594('0xb'),auth[_0x1594('0x8')](),controller[_0x1594('0xc')]);router['post']('/',auth[_0x1594('0x8')](),controller[_0x1594('0xd')]);router[_0x1594('0xe')]('/:id',auth[_0x1594('0x8')](),controller[_0x1594('0xf')]);router['delete'](_0x1594('0xb'),auth[_0x1594('0x8')](),controller[_0x1594('0x10')]);module[_0x1594('0x11')]=router;