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