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