cf090b1195a4896960e1df7715b3fc8ead95e652
[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 _0x2ffe=['index','get','describe','/:id','show','post','create','put','update','delete','destroy','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','isAuthenticated'];(function(_0x42f0a3,_0xbe23ff){var _0x2f50e1=function(_0x7afd13){while(--_0x7afd13){_0x42f0a3['push'](_0x42f0a3['shift']());}};_0x2f50e1(++_0xbe23ff);}(_0x2ffe,0x6a));var _0xe2ff=function(_0x519acf,_0x31768f){_0x519acf=_0x519acf-0x0;var _0x324af0=_0x2ffe[_0x519acf];return _0x324af0;};'use strict';var multer=require('multer');var util=require(_0xe2ff('0x0'));var path=require(_0xe2ff('0x1'));var timeout=require(_0xe2ff('0x2'));var express=require(_0xe2ff('0x3'));var router=express[_0xe2ff('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xe2ff('0x5'));var config=require(_0xe2ff('0x6'));var controller=require('./whatsappTransferReport.controller');router['get']('/',auth[_0xe2ff('0x7')](),controller[_0xe2ff('0x8')]);router[_0xe2ff('0x9')]('/describe',auth[_0xe2ff('0x7')](),controller[_0xe2ff('0xa')]);router[_0xe2ff('0x9')](_0xe2ff('0xb'),auth[_0xe2ff('0x7')](),controller[_0xe2ff('0xc')]);router[_0xe2ff('0xd')]('/',auth[_0xe2ff('0x7')](),controller[_0xe2ff('0xe')]);router[_0xe2ff('0xf')](_0xe2ff('0xb'),auth[_0xe2ff('0x7')](),controller[_0xe2ff('0x10')]);router[_0xe2ff('0x11')](_0xe2ff('0xb'),auth[_0xe2ff('0x7')](),controller[_0xe2ff('0x12')]);module['exports']=router;