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 _0x14f6=['delete','/:id','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','show','post','create','update'];(function(_0x4820b8,_0x3cfc5f){var _0x4b58da=function(_0x1910c7){while(--_0x1910c7){_0x4820b8['push'](_0x4820b8['shift']());}};_0x4b58da(++_0x3cfc5f);}(_0x14f6,0x1b8));var _0x614f=function(_0x451487,_0x519245){_0x451487=_0x451487-0x0;var _0x4b1924=_0x14f6[_0x451487];return _0x4b1924;};'use strict';var multer=require(_0x614f('0x0'));var util=require(_0x614f('0x1'));var path=require(_0x614f('0x2'));var timeout=require(_0x614f('0x3'));var express=require('express');var router=express[_0x614f('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x614f('0x5'));var interaction=require(_0x614f('0x6'));var config=require(_0x614f('0x7'));var controller=require('./whatsappQueueReport.controller');router[_0x614f('0x8')]('/',auth[_0x614f('0x9')](),controller[_0x614f('0xa')]);router[_0x614f('0x8')](_0x614f('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0x614f('0x8')]('/:id',auth[_0x614f('0x9')](),controller[_0x614f('0xc')]);router[_0x614f('0xd')]('/',auth[_0x614f('0x9')](),controller[_0x614f('0xe')]);router['put']('/:id',auth[_0x614f('0x9')](),controller[_0x614f('0xf')]);router[_0x614f('0x10')](_0x614f('0x11'),auth[_0x614f('0x9')](),controller[_0x614f('0x12')]);module['exports']=router;