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 _0x22d2=['destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','get','isAuthenticated','/describe','describe','/:id','show','put','update'];(function(_0x240cb8,_0x32c5d9){var _0x28b1f3=function(_0x227060){while(--_0x227060){_0x240cb8['push'](_0x240cb8['shift']());}};_0x28b1f3(++_0x32c5d9);}(_0x22d2,0x92));var _0x222d=function(_0x25f7e2,_0x30e6f1){_0x25f7e2=_0x25f7e2-0x0;var _0x2f94ac=_0x22d2[_0x25f7e2];return _0x2f94ac;};'use strict';var multer=require(_0x222d('0x0'));var util=require('util');var path=require(_0x222d('0x1'));var timeout=require(_0x222d('0x2'));var express=require(_0x222d('0x3'));var router=express[_0x222d('0x4')]();var auth=require(_0x222d('0x5'));var interaction=require(_0x222d('0x6'));var config=require('../../config/environment');var controller=require(_0x222d('0x7'));router[_0x222d('0x8')]('/',auth[_0x222d('0x9')](),controller['index']);router['get'](_0x222d('0xa'),auth['isAuthenticated'](),controller[_0x222d('0xb')]);router['get'](_0x222d('0xc'),auth[_0x222d('0x9')](),controller[_0x222d('0xd')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x222d('0xe')]('/:id',auth[_0x222d('0x9')](),controller[_0x222d('0xf')]);router['delete'](_0x222d('0xc'),auth[_0x222d('0x9')](),controller[_0x222d('0x10')]);module[_0x222d('0x11')]=router;