Built motion from commit 497d3d92.|2.5.43
[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 _0x21c1=['put','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post'];(function(_0x401747,_0x181094){var _0x6c2d1d=function(_0x283dad){while(--_0x283dad){_0x401747['push'](_0x401747['shift']());}};_0x6c2d1d(++_0x181094);}(_0x21c1,0xef));var _0x121c=function(_0x5863ac,_0xb045b2){_0x5863ac=_0x5863ac-0x0;var _0x356117=_0x21c1[_0x5863ac];return _0x356117;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x121c('0x0'));var timeout=require(_0x121c('0x1'));var express=require(_0x121c('0x2'));var router=express[_0x121c('0x3')]();var fs_extra=require(_0x121c('0x4'));var auth=require(_0x121c('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x121c('0x6'));var controller=require(_0x121c('0x7'));router[_0x121c('0x8')]('/',auth[_0x121c('0x9')](),controller[_0x121c('0xa')]);router['get'](_0x121c('0xb'),auth['isAuthenticated'](),controller[_0x121c('0xc')]);router[_0x121c('0x8')](_0x121c('0xd'),auth[_0x121c('0x9')](),controller[_0x121c('0xe')]);router[_0x121c('0xf')]('/',auth[_0x121c('0x9')](),controller['create']);router[_0x121c('0x10')]('/:id',auth[_0x121c('0x9')](),controller['update']);router['delete'](_0x121c('0xd'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;