9a005a89f214a5873b6658f391b7b0461b677efd
[motion2.git] / server / api / whatsappTransferReport / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x184a=['delete','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','post','put','/:id','update'];(function(_0x3577bc,_0x1a7127){var _0x27dabd=function(_0x29b95b){while(--_0x29b95b){_0x3577bc['push'](_0x3577bc['shift']());}};_0x27dabd(++_0x1a7127);}(_0x184a,0x16b));var _0xa184=function(_0x31ef6c,_0x1d872d){_0x31ef6c=_0x31ef6c-0x0;var _0x126324=_0x184a[_0x31ef6c];return _0x126324;};'use strict';var multer=require(_0xa184('0x0'));var util=require('util');var path=require(_0xa184('0x1'));var timeout=require(_0xa184('0x2'));var express=require(_0xa184('0x3'));var router=express['Router']();var auth=require(_0xa184('0x4'));var interaction=require(_0xa184('0x5'));var config=require(_0xa184('0x6'));var controller=require(_0xa184('0x7'));router[_0xa184('0x8')]('/',auth[_0xa184('0x9')](),controller[_0xa184('0xa')]);router['get'](_0xa184('0xb'),auth['isAuthenticated'](),controller[_0xa184('0xc')]);router['get']('/:id',auth[_0xa184('0x9')](),controller['show']);router[_0xa184('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0xa184('0xe')](_0xa184('0xf'),auth[_0xa184('0x9')](),controller[_0xa184('0x10')]);router[_0xa184('0x11')](_0xa184('0xf'),auth['isAuthenticated'](),controller[_0xa184('0x12')]);module[_0xa184('0x13')]=router;