4b5ca8a7cf83da091462b6ac1ffc5fcf4e1ef0aa
[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 _0xb237=['../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0xf35fd1,_0x2d3ca8){var _0x2dba2d=function(_0x5af2a8){while(--_0x5af2a8){_0xf35fd1['push'](_0xf35fd1['shift']());}};_0x2dba2d(++_0x2d3ca8);}(_0xb237,0x1d5));var _0x7b23=function(_0x17d870,_0x2b8a18){_0x17d870=_0x17d870-0x0;var _0x4dcb4d=_0xb237[_0x17d870];return _0x4dcb4d;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x7b23('0x0'));var timeout=require(_0x7b23('0x1'));var express=require(_0x7b23('0x2'));var router=express[_0x7b23('0x3')]();var fs_extra=require(_0x7b23('0x4'));var auth=require(_0x7b23('0x5'));var interaction=require(_0x7b23('0x6'));var config=require(_0x7b23('0x7'));var controller=require(_0x7b23('0x8'));router[_0x7b23('0x9')]('/',auth['isAuthenticated'](),controller[_0x7b23('0xa')]);router[_0x7b23('0x9')](_0x7b23('0xb'),auth[_0x7b23('0xc')](),controller[_0x7b23('0xd')]);router[_0x7b23('0x9')](_0x7b23('0xe'),auth[_0x7b23('0xc')](),controller[_0x7b23('0xf')]);router[_0x7b23('0x10')]('/',auth[_0x7b23('0xc')](),controller['create']);router['put']('/:id',auth[_0x7b23('0xc')](),controller['update']);router['delete'](_0x7b23('0xe'),auth[_0x7b23('0xc')](),controller[_0x7b23('0x11')]);module[_0x7b23('0x12')]=router;