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