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 _0xe008=['/:id','create','put','update','delete','destroy','path','connect-timeout','express','Router','fs-extra','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x1bb11d,_0x30a206){var _0x3817f6=function(_0x1de6a1){while(--_0x1de6a1){_0x1bb11d['push'](_0x1bb11d['shift']());}};_0x3817f6(++_0x30a206);}(_0xe008,0xcc));var _0x8e00=function(_0x1b959b,_0x52823d){_0x1b959b=_0x1b959b-0x0;var _0x584929=_0xe008[_0x1b959b];return _0x584929;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x8e00('0x0'));var timeout=require(_0x8e00('0x1'));var express=require(_0x8e00('0x2'));var router=express[_0x8e00('0x3')]();var fs_extra=require(_0x8e00('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8e00('0x5'));var controller=require(_0x8e00('0x6'));router[_0x8e00('0x7')]('/',auth[_0x8e00('0x8')](),controller[_0x8e00('0x9')]);router[_0x8e00('0x7')](_0x8e00('0xa'),auth[_0x8e00('0x8')](),controller[_0x8e00('0xb')]);router['get'](_0x8e00('0xc'),auth[_0x8e00('0x8')](),controller['show']);router['post']('/',auth[_0x8e00('0x8')](),controller[_0x8e00('0xd')]);router[_0x8e00('0xe')](_0x8e00('0xc'),auth['isAuthenticated'](),controller[_0x8e00('0xf')]);router[_0x8e00('0x10')](_0x8e00('0xc'),auth[_0x8e00('0x8')](),controller[_0x8e00('0x11')]);module['exports']=router;