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