be593466e38a7ce8174a063eac1694a0aa78e8b1
[motion2.git] / server / api / whatsappQueueReport / 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 _0x95af=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout'];(function(_0x390b25,_0x1faec1){var _0x3f6fd7=function(_0x33bb1a){while(--_0x33bb1a){_0x390b25['push'](_0x390b25['shift']());}};_0x3f6fd7(++_0x1faec1);}(_0x95af,0x173));var _0xf95a=function(_0x4e676e,_0x2a7c6d){_0x4e676e=_0x4e676e-0x0;var _0x336a3c=_0x95af[_0x4e676e];return _0x336a3c;};'use strict';var multer=require(_0xf95a('0x0'));var util=require(_0xf95a('0x1'));var path=require('path');var timeout=require(_0xf95a('0x2'));var express=require(_0xf95a('0x3'));var router=express[_0xf95a('0x4')]();var fs_extra=require(_0xf95a('0x5'));var auth=require(_0xf95a('0x6'));var interaction=require(_0xf95a('0x7'));var config=require(_0xf95a('0x8'));var controller=require('./whatsappQueueReport.controller');router[_0xf95a('0x9')]('/',auth['isAuthenticated'](),controller[_0xf95a('0xa')]);router['get'](_0xf95a('0xb'),auth[_0xf95a('0xc')](),controller[_0xf95a('0xd')]);router['get'](_0xf95a('0xe'),auth[_0xf95a('0xc')](),controller['show']);router[_0xf95a('0xf')]('/',auth['isAuthenticated'](),controller[_0xf95a('0x10')]);router[_0xf95a('0x11')](_0xf95a('0xe'),auth[_0xf95a('0xc')](),controller[_0xf95a('0x12')]);router[_0xf95a('0x13')](_0xf95a('0xe'),auth[_0xf95a('0xc')](),controller[_0xf95a('0x14')]);module[_0xf95a('0x15')]=router;