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