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