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 _0xcbd2=['/:id','isAuthenticated','show','post','put','delete','destroy','exports','multer','path','express','Router','../../config/environment','./whatsappTransferReport.controller','get','index','/describe','describe'];(function(_0xf8f788,_0x55af73){var _0x5669a7=function(_0x1f38bf){while(--_0x1f38bf){_0xf8f788['push'](_0xf8f788['shift']());}};_0x5669a7(++_0x55af73);}(_0xcbd2,0xce));var _0x2cbd=function(_0x515283,_0x813dea){_0x515283=_0x515283-0x0;var _0x38f836=_0xcbd2[_0x515283];return _0x38f836;};'use strict';var multer=require(_0x2cbd('0x0'));var util=require('util');var path=require(_0x2cbd('0x1'));var timeout=require('connect-timeout');var express=require(_0x2cbd('0x2'));var router=express[_0x2cbd('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x2cbd('0x4'));var controller=require(_0x2cbd('0x5'));router[_0x2cbd('0x6')]('/',auth['isAuthenticated'](),controller[_0x2cbd('0x7')]);router[_0x2cbd('0x6')](_0x2cbd('0x8'),auth['isAuthenticated'](),controller[_0x2cbd('0x9')]);router[_0x2cbd('0x6')](_0x2cbd('0xa'),auth[_0x2cbd('0xb')](),controller[_0x2cbd('0xc')]);router[_0x2cbd('0xd')]('/',auth[_0x2cbd('0xb')](),controller['create']);router[_0x2cbd('0xe')](_0x2cbd('0xa'),auth[_0x2cbd('0xb')](),controller['update']);router[_0x2cbd('0xf')]('/:id',auth[_0x2cbd('0xb')](),controller[_0x2cbd('0x10')]);module[_0x2cbd('0x11')]=router;