Built motion from commit 5b761a7b.|2.5.36
[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 _0x727d=['Router','fs-extra','../../components/auth/service','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','delete','destroy','util','path','express'];(function(_0x29d530,_0x5da0d7){var _0x242905=function(_0x5e7857){while(--_0x5e7857){_0x29d530['push'](_0x29d530['shift']());}};_0x242905(++_0x5da0d7);}(_0x727d,0xb8));var _0xd727=function(_0x1a3064,_0x5397ce){_0x1a3064=_0x1a3064-0x0;var _0x5e9ebf=_0x727d[_0x1a3064];return _0x5e9ebf;};'use strict';var multer=require('multer');var util=require(_0xd727('0x0'));var path=require(_0xd727('0x1'));var timeout=require('connect-timeout');var express=require(_0xd727('0x2'));var router=express[_0xd727('0x3')]();var fs_extra=require(_0xd727('0x4'));var auth=require(_0xd727('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./whatsappTransferReport.controller');router[_0xd727('0x6')]('/',auth[_0xd727('0x7')](),controller[_0xd727('0x8')]);router['get'](_0xd727('0x9'),auth['isAuthenticated'](),controller[_0xd727('0xa')]);router[_0xd727('0x6')](_0xd727('0xb'),auth[_0xd727('0x7')](),controller[_0xd727('0xc')]);router[_0xd727('0xd')]('/',auth[_0xd727('0x7')](),controller[_0xd727('0xe')]);router['put'](_0xd727('0xb'),auth[_0xd727('0x7')](),controller['update']);router[_0xd727('0xf')](_0xd727('0xb'),auth[_0xd727('0x7')](),controller[_0xd727('0x10')]);module['exports']=router;