Built motion from commit ddca4d0d.|2.5.47
[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 _0x498f=['destroy','exports','multer','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','update','delete'];(function(_0x210718,_0x247b55){var _0x541bfc=function(_0x5dbcad){while(--_0x5dbcad){_0x210718['push'](_0x210718['shift']());}};_0x541bfc(++_0x247b55);}(_0x498f,0xe9));var _0xf498=function(_0x3489ce,_0x31f912){_0x3489ce=_0x3489ce-0x0;var _0x297158=_0x498f[_0x3489ce];return _0x297158;};'use strict';var multer=require(_0xf498('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf498('0x1'));var express=require('express');var router=express[_0xf498('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xf498('0x3'));var interaction=require(_0xf498('0x4'));var config=require(_0xf498('0x5'));var controller=require(_0xf498('0x6'));router[_0xf498('0x7')]('/',auth['isAuthenticated'](),controller[_0xf498('0x8')]);router[_0xf498('0x7')](_0xf498('0x9'),auth[_0xf498('0xa')](),controller[_0xf498('0xb')]);router[_0xf498('0x7')](_0xf498('0xc'),auth[_0xf498('0xa')](),controller[_0xf498('0xd')]);router[_0xf498('0xe')]('/',auth['isAuthenticated'](),controller[_0xf498('0xf')]);router[_0xf498('0x10')](_0xf498('0xc'),auth[_0xf498('0xa')](),controller[_0xf498('0x11')]);router[_0xf498('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xf498('0x13')]);module[_0xf498('0x14')]=router;