Built motion from commit (unavailable).|2.5.8
[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 _0x34f0=['../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','isAuthenticated','index','/describe','describe','get','/:id','post','put','update','delete','destroy','exports','multer','util','connect-timeout','Router','../../components/auth/service'];(function(_0x3b7313,_0x8f4ed0){var _0x1de6af=function(_0x2422c0){while(--_0x2422c0){_0x3b7313['push'](_0x3b7313['shift']());}};_0x1de6af(++_0x8f4ed0);}(_0x34f0,0x13b));var _0x034f=function(_0x4e4608,_0x48ab6b){_0x4e4608=_0x4e4608-0x0;var _0x4a2ebe=_0x34f0[_0x4e4608];return _0x4a2ebe;};'use strict';var multer=require(_0x034f('0x0'));var util=require(_0x034f('0x1'));var path=require('path');var timeout=require(_0x034f('0x2'));var express=require('express');var router=express[_0x034f('0x3')]();var auth=require(_0x034f('0x4'));var interaction=require(_0x034f('0x5'));var config=require(_0x034f('0x6'));var controller=require(_0x034f('0x7'));router['get']('/',auth[_0x034f('0x8')](),controller[_0x034f('0x9')]);router['get'](_0x034f('0xa'),auth['isAuthenticated'](),controller[_0x034f('0xb')]);router[_0x034f('0xc')](_0x034f('0xd'),auth['isAuthenticated'](),controller['show']);router[_0x034f('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x034f('0xf')](_0x034f('0xd'),auth[_0x034f('0x8')](),controller[_0x034f('0x10')]);router[_0x034f('0x11')]('/:id',auth[_0x034f('0x8')](),controller[_0x034f('0x12')]);module[_0x034f('0x13')]=router;