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