Built motion from commit (unavailable).|2.5.22
[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 _0x1396=['../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete','destroy','multer','path','Router'];(function(_0x33e97b,_0x522329){var _0x3004e8=function(_0x5d18cf){while(--_0x5d18cf){_0x33e97b['push'](_0x33e97b['shift']());}};_0x3004e8(++_0x522329);}(_0x1396,0x1ea));var _0x6139=function(_0x1a21ff,_0x4a7550){_0x1a21ff=_0x1a21ff-0x0;var _0x25afc1=_0x1396[_0x1a21ff];return _0x25afc1;};'use strict';var multer=require(_0x6139('0x0'));var util=require('util');var path=require(_0x6139('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x6139('0x2')]();var auth=require(_0x6139('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x6139('0x4'));var controller=require('./whatsappTransferReport.controller');router[_0x6139('0x5')]('/',auth[_0x6139('0x6')](),controller[_0x6139('0x7')]);router[_0x6139('0x5')](_0x6139('0x8'),auth[_0x6139('0x6')](),controller[_0x6139('0x9')]);router['get'](_0x6139('0xa'),auth['isAuthenticated'](),controller[_0x6139('0xb')]);router[_0x6139('0xc')]('/',auth[_0x6139('0x6')](),controller['create']);router[_0x6139('0xd')](_0x6139('0xa'),auth[_0x6139('0x6')](),controller[_0x6139('0xe')]);router[_0x6139('0xf')](_0x6139('0xa'),auth[_0x6139('0x6')](),controller[_0x6139('0x10')]);module['exports']=router;