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 _0x7822=['get','isAuthenticated','index','/describe','post','/:id','update','delete','exports','util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller'];(function(_0x2506c3,_0x2448f5){var _0x397e29=function(_0x5758c6){while(--_0x5758c6){_0x2506c3['push'](_0x2506c3['shift']());}};_0x397e29(++_0x2448f5);}(_0x7822,0x169));var _0x2782=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x7822[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require(_0x2782('0x0'));var path=require('path');var timeout=require(_0x2782('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x2782('0x2'));var auth=require(_0x2782('0x3'));var interaction=require(_0x2782('0x4'));var config=require(_0x2782('0x5'));var controller=require(_0x2782('0x6'));router[_0x2782('0x7')]('/',auth[_0x2782('0x8')](),controller[_0x2782('0x9')]);router['get'](_0x2782('0xa'),auth[_0x2782('0x8')](),controller['describe']);router[_0x2782('0x7')]('/:id',auth[_0x2782('0x8')](),controller['show']);router[_0x2782('0xb')]('/',auth[_0x2782('0x8')](),controller['create']);router['put'](_0x2782('0xc'),auth[_0x2782('0x8')](),controller[_0x2782('0xd')]);router[_0x2782('0xe')](_0x2782('0xc'),auth[_0x2782('0x8')](),controller['destroy']);module[_0x2782('0xf')]=router;