Built motion from commit 3c2ce842.|2.6.31
[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 _0x6c93=['isAuthenticated','index','/describe','describe','/:id','show','post','create','update','delete','destroy','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get'];(function(_0x3e10a2,_0x29262f){var _0x2bba1d=function(_0x4e11f4){while(--_0x4e11f4){_0x3e10a2['push'](_0x3e10a2['shift']());}};_0x2bba1d(++_0x29262f);}(_0x6c93,0x160));var _0x36c9=function(_0x7629e,_0x40c972){_0x7629e=_0x7629e-0x0;var _0x19569b=_0x6c93[_0x7629e];return _0x19569b;};'use strict';var multer=require(_0x36c9('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x36c9('0x1'));var express=require(_0x36c9('0x2'));var router=express[_0x36c9('0x3')]();var fs_extra=require(_0x36c9('0x4'));var auth=require(_0x36c9('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x36c9('0x6'));var controller=require('./whatsappQueueReport.controller');router[_0x36c9('0x7')]('/',auth[_0x36c9('0x8')](),controller[_0x36c9('0x9')]);router[_0x36c9('0x7')](_0x36c9('0xa'),auth[_0x36c9('0x8')](),controller[_0x36c9('0xb')]);router[_0x36c9('0x7')](_0x36c9('0xc'),auth[_0x36c9('0x8')](),controller[_0x36c9('0xd')]);router[_0x36c9('0xe')]('/',auth['isAuthenticated'](),controller[_0x36c9('0xf')]);router['put'](_0x36c9('0xc'),auth[_0x36c9('0x8')](),controller[_0x36c9('0x10')]);router[_0x36c9('0x11')](_0x36c9('0xc'),auth[_0x36c9('0x8')](),controller[_0x36c9('0x12')]);module[_0x36c9('0x13')]=router;