c639eaecf55210918f061ed23d6a94bb725a7045
[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 _0xce04=['connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','isAuthenticated','index','get','describe','show','put','update','delete','/:id','destroy','multer','util','path'];(function(_0x201d98,_0x56fd1f){var _0x1ae057=function(_0xb7eeab){while(--_0xb7eeab){_0x201d98['push'](_0x201d98['shift']());}};_0x1ae057(++_0x56fd1f);}(_0xce04,0x1c5));var _0x4ce0=function(_0x45d74e,_0x442051){_0x45d74e=_0x45d74e-0x0;var _0x1b7f06=_0xce04[_0x45d74e];return _0x1b7f06;};'use strict';var multer=require(_0x4ce0('0x0'));var util=require(_0x4ce0('0x1'));var path=require(_0x4ce0('0x2'));var timeout=require(_0x4ce0('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x4ce0('0x4'));var auth=require(_0x4ce0('0x5'));var interaction=require(_0x4ce0('0x6'));var config=require(_0x4ce0('0x7'));var controller=require(_0x4ce0('0x8'));router['get']('/',auth[_0x4ce0('0x9')](),controller[_0x4ce0('0xa')]);router[_0x4ce0('0xb')]('/describe',auth['isAuthenticated'](),controller[_0x4ce0('0xc')]);router[_0x4ce0('0xb')]('/:id',auth[_0x4ce0('0x9')](),controller[_0x4ce0('0xd')]);router['post']('/',auth[_0x4ce0('0x9')](),controller['create']);router[_0x4ce0('0xe')]('/:id',auth[_0x4ce0('0x9')](),controller[_0x4ce0('0xf')]);router[_0x4ce0('0x10')](_0x4ce0('0x11'),auth['isAuthenticated'](),controller[_0x4ce0('0x12')]);module['exports']=router;