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 _0x7587=['Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','/describe','describe','get','/:id','post','create','put','update','destroy','util','path','connect-timeout','express'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0x7587,0x7a));var _0x7758=function(_0x311c35,_0x534915){_0x311c35=_0x311c35-0x0;var _0x5cc50c=_0x7587[_0x311c35];return _0x5cc50c;};'use strict';var multer=require('multer');var util=require(_0x7758('0x0'));var path=require(_0x7758('0x1'));var timeout=require(_0x7758('0x2'));var express=require(_0x7758('0x3'));var router=express[_0x7758('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x7758('0x5'));var config=require(_0x7758('0x6'));var controller=require('./whatsappTransferReport.controller');router['get']('/',auth[_0x7758('0x7')](),controller[_0x7758('0x8')]);router['get'](_0x7758('0x9'),auth[_0x7758('0x7')](),controller[_0x7758('0xa')]);router[_0x7758('0xb')](_0x7758('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x7758('0xd')]('/',auth[_0x7758('0x7')](),controller[_0x7758('0xe')]);router[_0x7758('0xf')](_0x7758('0xc'),auth[_0x7758('0x7')](),controller[_0x7758('0x10')]);router['delete'](_0x7758('0xc'),auth['isAuthenticated'](),controller[_0x7758('0x11')]);module['exports']=router;