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