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