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