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 _0xef3f=['delete','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','isAuthenticated','index','get','/:id','put','update'];(function(_0x210acd,_0x5617de){var _0x9ae98a=function(_0x751aad){while(--_0x751aad){_0x210acd['push'](_0x210acd['shift']());}};_0x9ae98a(++_0x5617de);}(_0xef3f,0xe2));var _0xfef3=function(_0x172e4f,_0x4e5e9c){_0x172e4f=_0x172e4f-0x0;var _0x288f4b=_0xef3f[_0x172e4f];return _0x288f4b;};'use strict';var multer=require(_0xfef3('0x0'));var util=require(_0xfef3('0x1'));var path=require('path');var timeout=require(_0xfef3('0x2'));var express=require(_0xfef3('0x3'));var router=express['Router']();var auth=require(_0xfef3('0x4'));var interaction=require(_0xfef3('0x5'));var config=require(_0xfef3('0x6'));var controller=require(_0xfef3('0x7'));router['get']('/',auth[_0xfef3('0x8')](),controller[_0xfef3('0x9')]);router['get']('/describe',auth['isAuthenticated'](),controller['describe']);router[_0xfef3('0xa')](_0xfef3('0xb'),auth[_0xfef3('0x8')](),controller['show']);router['post']('/',auth[_0xfef3('0x8')](),controller['create']);router[_0xfef3('0xc')](_0xfef3('0xb'),auth[_0xfef3('0x8')](),controller[_0xfef3('0xd')]);router[_0xfef3('0xe')](_0xfef3('0xb'),auth[_0xfef3('0x8')](),controller['destroy']);module['exports']=router;