Built motion from commit 10af8726.|2.6.34
[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 _0x7e03=['isAuthenticated','/:id','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','index','get','/describe'];(function(_0x33a7d6,_0x1f8f71){var _0x240ce0=function(_0x2eb687){while(--_0x2eb687){_0x33a7d6['push'](_0x33a7d6['shift']());}};_0x240ce0(++_0x1f8f71);}(_0x7e03,0xd0));var _0x37e0=function(_0x1e72be,_0x38e584){_0x1e72be=_0x1e72be-0x0;var _0x3d7538=_0x7e03[_0x1e72be];return _0x3d7538;};'use strict';var multer=require(_0x37e0('0x0'));var util=require(_0x37e0('0x1'));var path=require(_0x37e0('0x2'));var timeout=require(_0x37e0('0x3'));var express=require(_0x37e0('0x4'));var router=express[_0x37e0('0x5')]();var fs_extra=require(_0x37e0('0x6'));var auth=require(_0x37e0('0x7'));var interaction=require(_0x37e0('0x8'));var config=require('../../config/environment');var controller=require('./whatsappQueueReport.controller');router['get']('/',auth['isAuthenticated'](),controller[_0x37e0('0x9')]);router[_0x37e0('0xa')](_0x37e0('0xb'),auth[_0x37e0('0xc')](),controller['describe']);router['get'](_0x37e0('0xd'),auth[_0x37e0('0xc')](),controller['show']);router[_0x37e0('0xe')]('/',auth[_0x37e0('0xc')](),controller[_0x37e0('0xf')]);router[_0x37e0('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x37e0('0x11')]);router[_0x37e0('0x12')](_0x37e0('0xd'),auth[_0x37e0('0xc')](),controller['destroy']);module[_0x37e0('0x13')]=router;