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