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 _0xfd76=['../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','describe','/:id','show','isAuthenticated','put','update','delete','destroy','path','connect-timeout','express','Router'];(function(_0xd2d7f2,_0xfc9871){var _0x2d10fc=function(_0x37cd26){while(--_0x37cd26){_0xd2d7f2['push'](_0xd2d7f2['shift']());}};_0x2d10fc(++_0xfc9871);}(_0xfd76,0x11d));var _0x6fd7=function(_0x418f4f,_0x496861){_0x418f4f=_0x418f4f-0x0;var _0x22261e=_0xfd76[_0x418f4f];return _0x22261e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x6fd7('0x0'));var timeout=require(_0x6fd7('0x1'));var express=require(_0x6fd7('0x2'));var router=express[_0x6fd7('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x6fd7('0x4'));var interaction=require(_0x6fd7('0x5'));var config=require(_0x6fd7('0x6'));var controller=require(_0x6fd7('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x6fd7('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x6fd7('0x9')]);router[_0x6fd7('0x8')](_0x6fd7('0xa'),auth['isAuthenticated'](),controller[_0x6fd7('0xb')]);router['post']('/',auth[_0x6fd7('0xc')](),controller['create']);router[_0x6fd7('0xd')](_0x6fd7('0xa'),auth[_0x6fd7('0xc')](),controller[_0x6fd7('0xe')]);router[_0x6fd7('0xf')](_0x6fd7('0xa'),auth[_0x6fd7('0xc')](),controller[_0x6fd7('0x10')]);module['exports']=router;