Built motion from commit 43538d75.|2.5.35
[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 _0xf94d=['update','delete','destroy','exports','multer','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','index','/describe','isAuthenticated','describe','show','post','create','put','/:id'];(function(_0x5d2803,_0xf375bd){var _0xdcad2c=function(_0x3c3a98){while(--_0x3c3a98){_0x5d2803['push'](_0x5d2803['shift']());}};_0xdcad2c(++_0xf375bd);}(_0xf94d,0x130));var _0xdf94=function(_0x554e1d,_0x3b1bc7){_0x554e1d=_0x554e1d-0x0;var _0x56b6fb=_0xf94d[_0x554e1d];return _0x56b6fb;};'use strict';var multer=require(_0xdf94('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xdf94('0x1'));var router=express[_0xdf94('0x2')]();var fs_extra=require(_0xdf94('0x3'));var auth=require(_0xdf94('0x4'));var interaction=require(_0xdf94('0x5'));var config=require('../../config/environment');var controller=require('./whatsappQueueReport.controller');router[_0xdf94('0x6')]('/',auth['isAuthenticated'](),controller[_0xdf94('0x7')]);router['get'](_0xdf94('0x8'),auth[_0xdf94('0x9')](),controller[_0xdf94('0xa')]);router[_0xdf94('0x6')]('/:id',auth['isAuthenticated'](),controller[_0xdf94('0xb')]);router[_0xdf94('0xc')]('/',auth['isAuthenticated'](),controller[_0xdf94('0xd')]);router[_0xdf94('0xe')](_0xdf94('0xf'),auth[_0xdf94('0x9')](),controller[_0xdf94('0x10')]);router[_0xdf94('0x11')](_0xdf94('0xf'),auth['isAuthenticated'](),controller[_0xdf94('0x12')]);module[_0xdf94('0x13')]=router;