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 _0x7a62=['get','index','/describe','isAuthenticated','describe','/:id','post','create','update','delete','exports','multer','Router','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller'];(function(_0x413727,_0x17adb1){var _0x5f46d7=function(_0xbb668e){while(--_0xbb668e){_0x413727['push'](_0x413727['shift']());}};_0x5f46d7(++_0x17adb1);}(_0x7a62,0x17b));var _0x27a6=function(_0xc67884,_0x48672a){_0xc67884=_0xc67884-0x0;var _0x579654=_0x7a62[_0xc67884];return _0x579654;};'use strict';var multer=require(_0x27a6('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x27a6('0x1')]();var auth=require(_0x27a6('0x2'));var interaction=require(_0x27a6('0x3'));var config=require('../../config/environment');var controller=require(_0x27a6('0x4'));router[_0x27a6('0x5')]('/',auth['isAuthenticated'](),controller[_0x27a6('0x6')]);router[_0x27a6('0x5')](_0x27a6('0x7'),auth[_0x27a6('0x8')](),controller[_0x27a6('0x9')]);router['get'](_0x27a6('0xa'),auth[_0x27a6('0x8')](),controller['show']);router[_0x27a6('0xb')]('/',auth[_0x27a6('0x8')](),controller[_0x27a6('0xc')]);router['put'](_0x27a6('0xa'),auth[_0x27a6('0x8')](),controller[_0x27a6('0xd')]);router[_0x27a6('0xe')]('/:id',auth[_0x27a6('0x8')](),controller['destroy']);module[_0x27a6('0xf')]=router;