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 _0xfe66=['get','/:id','isAuthenticated','show','post','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','index','describe'];(function(_0x289ccb,_0x3e4c5e){var _0x29df89=function(_0x2b49b8){while(--_0x2b49b8){_0x289ccb['push'](_0x289ccb['shift']());}};_0x29df89(++_0x3e4c5e);}(_0xfe66,0xe6));var _0x6fe6=function(_0x257a28,_0x2cd00d){_0x257a28=_0x257a28-0x0;var _0x13bccc=_0xfe66[_0x257a28];return _0x13bccc;};'use strict';var multer=require(_0x6fe6('0x0'));var util=require(_0x6fe6('0x1'));var path=require(_0x6fe6('0x2'));var timeout=require(_0x6fe6('0x3'));var express=require(_0x6fe6('0x4'));var router=express[_0x6fe6('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x6fe6('0x6'));var interaction=require(_0x6fe6('0x7'));var config=require(_0x6fe6('0x8'));var controller=require(_0x6fe6('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0x6fe6('0xa')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0x6fe6('0xb')]);router[_0x6fe6('0xc')](_0x6fe6('0xd'),auth[_0x6fe6('0xe')](),controller[_0x6fe6('0xf')]);router[_0x6fe6('0x10')]('/',auth['isAuthenticated'](),controller[_0x6fe6('0x11')]);router[_0x6fe6('0x12')](_0x6fe6('0xd'),auth[_0x6fe6('0xe')](),controller[_0x6fe6('0x13')]);router['delete'](_0x6fe6('0xd'),auth[_0x6fe6('0xe')](),controller[_0x6fe6('0x14')]);module[_0x6fe6('0x15')]=router;