Built motion from commit b5996064.|2.6.21
[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 _0x19b6=['isAuthenticated','index','get','/describe','/:id','post','put','delete','destroy','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x35b36b,_0x1ca3b9){var _0x3cbf43=function(_0x3d95ab){while(--_0x3d95ab){_0x35b36b['push'](_0x35b36b['shift']());}};_0x3cbf43(++_0x1ca3b9);}(_0x19b6,0x1e9));var _0x619b=function(_0x54f3e8,_0x3ed493){_0x54f3e8=_0x54f3e8-0x0;var _0x267b37=_0x19b6[_0x54f3e8];return _0x267b37;};'use strict';var multer=require(_0x619b('0x0'));var util=require(_0x619b('0x1'));var path=require(_0x619b('0x2'));var timeout=require('connect-timeout');var express=require(_0x619b('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x619b('0x4'));var interaction=require(_0x619b('0x5'));var config=require(_0x619b('0x6'));var controller=require('./whatsappQueueReport.controller');router['get']('/',auth[_0x619b('0x7')](),controller[_0x619b('0x8')]);router[_0x619b('0x9')](_0x619b('0xa'),auth[_0x619b('0x7')](),controller['describe']);router[_0x619b('0x9')](_0x619b('0xb'),auth[_0x619b('0x7')](),controller['show']);router[_0x619b('0xc')]('/',auth[_0x619b('0x7')](),controller['create']);router[_0x619b('0xd')](_0x619b('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x619b('0xe')](_0x619b('0xb'),auth[_0x619b('0x7')](),controller[_0x619b('0xf')]);module['exports']=router;