f7bb40a64fe7f103a497e029ba2afdc4af63780e
[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 _0xc274=['../../config/environment','./whatsappQueueReport.controller','isAuthenticated','get','/describe','/:id','show','post','create','put','update','delete','exports','util','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x47b15f,_0x103e93){var _0x55bf25=function(_0x51fe7f){while(--_0x51fe7f){_0x47b15f['push'](_0x47b15f['shift']());}};_0x55bf25(++_0x103e93);}(_0xc274,0x151));var _0x4c27=function(_0x275255,_0x271e54){_0x275255=_0x275255-0x0;var _0x273ecd=_0xc274[_0x275255];return _0x273ecd;};'use strict';var multer=require('multer');var util=require(_0x4c27('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x4c27('0x1'));var router=express[_0x4c27('0x2')]();var auth=require(_0x4c27('0x3'));var interaction=require(_0x4c27('0x4'));var config=require(_0x4c27('0x5'));var controller=require(_0x4c27('0x6'));router['get']('/',auth[_0x4c27('0x7')](),controller['index']);router[_0x4c27('0x8')](_0x4c27('0x9'),auth[_0x4c27('0x7')](),controller['describe']);router['get'](_0x4c27('0xa'),auth['isAuthenticated'](),controller[_0x4c27('0xb')]);router[_0x4c27('0xc')]('/',auth[_0x4c27('0x7')](),controller[_0x4c27('0xd')]);router[_0x4c27('0xe')]('/:id',auth[_0x4c27('0x7')](),controller[_0x4c27('0xf')]);router[_0x4c27('0x10')](_0x4c27('0xa'),auth['isAuthenticated'](),controller['destroy']);module[_0x4c27('0x11')]=router;