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 _0x0b62=['../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','put','update','delete','destroy','multer','util','connect-timeout','Router','../../components/auth/service'];(function(_0x1504d6,_0xbbeedd){var _0x1add76=function(_0x26bfc6){while(--_0x26bfc6){_0x1504d6['push'](_0x1504d6['shift']());}};_0x1add76(++_0xbbeedd);}(_0x0b62,0x177));var _0x20b6=function(_0x1b21ff,_0x217fcb){_0x1b21ff=_0x1b21ff-0x0;var _0xd3cb46=_0x0b62[_0x1b21ff];return _0xd3cb46;};'use strict';var multer=require(_0x20b6('0x0'));var util=require(_0x20b6('0x1'));var path=require('path');var timeout=require(_0x20b6('0x2'));var express=require('express');var router=express[_0x20b6('0x3')]();var auth=require(_0x20b6('0x4'));var interaction=require(_0x20b6('0x5'));var config=require(_0x20b6('0x6'));var controller=require(_0x20b6('0x7'));router[_0x20b6('0x8')]('/',auth['isAuthenticated'](),controller[_0x20b6('0x9')]);router[_0x20b6('0x8')](_0x20b6('0xa'),auth[_0x20b6('0xb')](),controller[_0x20b6('0xc')]);router[_0x20b6('0x8')](_0x20b6('0xd'),auth[_0x20b6('0xb')](),controller[_0x20b6('0xe')]);router['post']('/',auth[_0x20b6('0xb')](),controller['create']);router[_0x20b6('0xf')](_0x20b6('0xd'),auth[_0x20b6('0xb')](),controller[_0x20b6('0x10')]);router[_0x20b6('0x11')](_0x20b6('0xd'),auth[_0x20b6('0xb')](),controller[_0x20b6('0x12')]);module['exports']=router;