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 _0xfc73=['util','path','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete','multer'];(function(_0x2298f0,_0x3bbf4f){var _0x39b136=function(_0xc2cd6e){while(--_0xc2cd6e){_0x2298f0['push'](_0x2298f0['shift']());}};_0x39b136(++_0x3bbf4f);}(_0xfc73,0xff));var _0x3fc7=function(_0x12fc8d,_0x19ee33){_0x12fc8d=_0x12fc8d-0x0;var _0x3f9d04=_0xfc73[_0x12fc8d];return _0x3f9d04;};'use strict';var multer=require(_0x3fc7('0x0'));var util=require(_0x3fc7('0x1'));var path=require(_0x3fc7('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x3fc7('0x3'));var config=require(_0x3fc7('0x4'));var controller=require(_0x3fc7('0x5'));router['get']('/',auth[_0x3fc7('0x6')](),controller[_0x3fc7('0x7')]);router['get'](_0x3fc7('0x8'),auth[_0x3fc7('0x6')](),controller[_0x3fc7('0x9')]);router['get'](_0x3fc7('0xa'),auth['isAuthenticated'](),controller[_0x3fc7('0xb')]);router[_0x3fc7('0xc')]('/',auth[_0x3fc7('0x6')](),controller['create']);router[_0x3fc7('0xd')](_0x3fc7('0xa'),auth[_0x3fc7('0x6')](),controller[_0x3fc7('0xe')]);router[_0x3fc7('0xf')]('/:id',auth[_0x3fc7('0x6')](),controller['destroy']);module['exports']=router;