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