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 _0xedc2=['show','post','create','update','delete','destroy','exports','util','express','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','get','index','/describe','isAuthenticated','describe','/:id'];(function(_0x4e3766,_0x4ffa4a){var _0x1bfdc7=function(_0x27ea25){while(--_0x27ea25){_0x4e3766['push'](_0x4e3766['shift']());}};_0x1bfdc7(++_0x4ffa4a);}(_0xedc2,0x1db));var _0x2edc=function(_0x5a05fb,_0x1231db){_0x5a05fb=_0x5a05fb-0x0;var _0x10ecc4=_0xedc2[_0x5a05fb];return _0x10ecc4;};'use strict';var multer=require('multer');var util=require(_0x2edc('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2edc('0x1'));var router=express['Router']();var auth=require(_0x2edc('0x2'));var interaction=require(_0x2edc('0x3'));var config=require('../../config/environment');var controller=require(_0x2edc('0x4'));router[_0x2edc('0x5')]('/',auth['isAuthenticated'](),controller[_0x2edc('0x6')]);router[_0x2edc('0x5')](_0x2edc('0x7'),auth[_0x2edc('0x8')](),controller[_0x2edc('0x9')]);router[_0x2edc('0x5')](_0x2edc('0xa'),auth[_0x2edc('0x8')](),controller[_0x2edc('0xb')]);router[_0x2edc('0xc')]('/',auth[_0x2edc('0x8')](),controller[_0x2edc('0xd')]);router['put'](_0x2edc('0xa'),auth[_0x2edc('0x8')](),controller[_0x2edc('0xe')]);router[_0x2edc('0xf')](_0x2edc('0xa'),auth[_0x2edc('0x8')](),controller[_0x2edc('0x10')]);module[_0x2edc('0x11')]=router;