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 _0xf3af=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','destroy','util','path'];(function(_0x4ad46d,_0x3bb24f){var _0x402c46=function(_0x28e003){while(--_0x28e003){_0x4ad46d['push'](_0x4ad46d['shift']());}};_0x402c46(++_0x3bb24f);}(_0xf3af,0x152));var _0xff3a=function(_0x6e0499,_0x490e08){_0x6e0499=_0x6e0499-0x0;var _0x25b416=_0xf3af[_0x6e0499];return _0x25b416;};'use strict';var multer=require('multer');var util=require(_0xff3a('0x0'));var path=require(_0xff3a('0x1'));var timeout=require(_0xff3a('0x2'));var express=require(_0xff3a('0x3'));var router=express[_0xff3a('0x4')]();var fs_extra=require(_0xff3a('0x5'));var auth=require(_0xff3a('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xff3a('0x7'));var controller=require(_0xff3a('0x8'));router[_0xff3a('0x9')]('/',auth[_0xff3a('0xa')](),controller[_0xff3a('0xb')]);router[_0xff3a('0x9')](_0xff3a('0xc'),auth['isAuthenticated'](),controller[_0xff3a('0xd')]);router['get'](_0xff3a('0xe'),auth[_0xff3a('0xa')](),controller[_0xff3a('0xf')]);router[_0xff3a('0x10')]('/',auth['isAuthenticated'](),controller[_0xff3a('0x11')]);router[_0xff3a('0x12')](_0xff3a('0xe'),auth['isAuthenticated'](),controller['update']);router['delete'](_0xff3a('0xe'),auth[_0xff3a('0xa')](),controller[_0xff3a('0x13')]);module['exports']=router;