9fbe745191aeb00fea2d84b8c65a6eb29ed833a0
[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 _0x8ba4=['/describe','describe','/:id','show','post','create','put','delete','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','isAuthenticated','index','get'];(function(_0x24f31b,_0x44b8f3){var _0x488401=function(_0x204caf){while(--_0x204caf){_0x24f31b['push'](_0x24f31b['shift']());}};_0x488401(++_0x44b8f3);}(_0x8ba4,0x1ec));var _0x48ba=function(_0x19f8ee,_0x3e08c2){_0x19f8ee=_0x19f8ee-0x0;var _0x3b68f2=_0x8ba4[_0x19f8ee];return _0x3b68f2;};'use strict';var multer=require(_0x48ba('0x0'));var util=require(_0x48ba('0x1'));var path=require(_0x48ba('0x2'));var timeout=require('connect-timeout');var express=require(_0x48ba('0x3'));var router=express[_0x48ba('0x4')]();var auth=require(_0x48ba('0x5'));var interaction=require(_0x48ba('0x6'));var config=require(_0x48ba('0x7'));var controller=require(_0x48ba('0x8'));router['get']('/',auth[_0x48ba('0x9')](),controller[_0x48ba('0xa')]);router[_0x48ba('0xb')](_0x48ba('0xc'),auth[_0x48ba('0x9')](),controller[_0x48ba('0xd')]);router['get'](_0x48ba('0xe'),auth['isAuthenticated'](),controller[_0x48ba('0xf')]);router[_0x48ba('0x10')]('/',auth[_0x48ba('0x9')](),controller[_0x48ba('0x11')]);router[_0x48ba('0x12')](_0x48ba('0xe'),auth[_0x48ba('0x9')](),controller['update']);router[_0x48ba('0x13')]('/:id',auth[_0x48ba('0x9')](),controller['destroy']);module[_0x48ba('0x14')]=router;