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