092a33f299d437414a20c1090f27b4bad246ab25
[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 _0x289e=['show','post','put','update','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x552993,_0x473186){var _0x58bf13=function(_0x19ae81){while(--_0x19ae81){_0x552993['push'](_0x552993['shift']());}};_0x58bf13(++_0x473186);}(_0x289e,0xea));var _0xe289=function(_0x31e97b,_0x5c503a){_0x31e97b=_0x31e97b-0x0;var _0x488a2c=_0x289e[_0x31e97b];return _0x488a2c;};'use strict';var multer=require(_0xe289('0x0'));var util=require(_0xe289('0x1'));var path=require('path');var timeout=require(_0xe289('0x2'));var express=require(_0xe289('0x3'));var router=express['Router']();var auth=require(_0xe289('0x4'));var interaction=require(_0xe289('0x5'));var config=require('../../config/environment');var controller=require(_0xe289('0x6'));router[_0xe289('0x7')]('/',auth[_0xe289('0x8')](),controller[_0xe289('0x9')]);router[_0xe289('0x7')](_0xe289('0xa'),auth[_0xe289('0x8')](),controller[_0xe289('0xb')]);router[_0xe289('0x7')](_0xe289('0xc'),auth['isAuthenticated'](),controller[_0xe289('0xd')]);router[_0xe289('0xe')]('/',auth[_0xe289('0x8')](),controller['create']);router[_0xe289('0xf')]('/:id',auth[_0xe289('0x8')](),controller[_0xe289('0x10')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0xe289('0x11')]);module[_0xe289('0x12')]=router;