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