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 _0x8a9a=['create','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x5d8076,_0x2b476a){var _0x26811a=function(_0x434cbf){while(--_0x434cbf){_0x5d8076['push'](_0x5d8076['shift']());}};_0x26811a(++_0x2b476a);}(_0x8a9a,0x17f));var _0xa8a9=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8a9a[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require(_0xa8a9('0x0'));var path=require(_0xa8a9('0x1'));var timeout=require(_0xa8a9('0x2'));var express=require(_0xa8a9('0x3'));var router=express[_0xa8a9('0x4')]();var auth=require(_0xa8a9('0x5'));var interaction=require(_0xa8a9('0x6'));var config=require(_0xa8a9('0x7'));var controller=require(_0xa8a9('0x8'));router[_0xa8a9('0x9')]('/',auth[_0xa8a9('0xa')](),controller[_0xa8a9('0xb')]);router['get'](_0xa8a9('0xc'),auth['isAuthenticated'](),controller[_0xa8a9('0xd')]);router[_0xa8a9('0x9')](_0xa8a9('0xe'),auth[_0xa8a9('0xa')](),controller[_0xa8a9('0xf')]);router['post']('/',auth[_0xa8a9('0xa')](),controller[_0xa8a9('0x10')]);router['put'](_0xa8a9('0xe'),auth['isAuthenticated'](),controller[_0xa8a9('0x11')]);router[_0xa8a9('0x12')]('/:id',auth[_0xa8a9('0xa')](),controller[_0xa8a9('0x13')]);module[_0xa8a9('0x14')]=router;