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