Built motion from commit (unavailable).|2.5.5
[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 _0x8510=['delete','destroy','exports','path','Router','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','get','index','isAuthenticated','show','create','put','/:id'];(function(_0x3420a2,_0x3427e5){var _0x5069af=function(_0x1342e8){while(--_0x1342e8){_0x3420a2['push'](_0x3420a2['shift']());}};_0x5069af(++_0x3427e5);}(_0x8510,0xd5));var _0x0851=function(_0x10f7f6,_0x531b69){_0x10f7f6=_0x10f7f6-0x0;var _0x3ce4d3=_0x8510[_0x10f7f6];return _0x3ce4d3;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x0851('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0851('0x1')]();var auth=require(_0x0851('0x2'));var interaction=require(_0x0851('0x3'));var config=require('../../config/environment');var controller=require(_0x0851('0x4'));router[_0x0851('0x5')]('/',auth['isAuthenticated'](),controller[_0x0851('0x6')]);router[_0x0851('0x5')]('/describe',auth[_0x0851('0x7')](),controller['describe']);router[_0x0851('0x5')]('/:id',auth[_0x0851('0x7')](),controller[_0x0851('0x8')]);router['post']('/',auth['isAuthenticated'](),controller[_0x0851('0x9')]);router[_0x0851('0xa')](_0x0851('0xb'),auth[_0x0851('0x7')](),controller['update']);router[_0x0851('0xc')]('/:id',auth['isAuthenticated'](),controller[_0x0851('0xd')]);module[_0x0851('0xe')]=router;