Built motion from commit 9d1906d1.|2.5.40
[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 _0xeeb6=['/:id','show','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index'];(function(_0xc2d189,_0x1786be){var _0xfced02=function(_0x42a4ca){while(--_0x42a4ca){_0xc2d189['push'](_0xc2d189['shift']());}};_0xfced02(++_0x1786be);}(_0xeeb6,0x1eb));var _0x6eeb=function(_0x8844e1,_0x3220d3){_0x8844e1=_0x8844e1-0x0;var _0x84782f=_0xeeb6[_0x8844e1];return _0x84782f;};'use strict';var multer=require(_0x6eeb('0x0'));var util=require(_0x6eeb('0x1'));var path=require(_0x6eeb('0x2'));var timeout=require(_0x6eeb('0x3'));var express=require(_0x6eeb('0x4'));var router=express[_0x6eeb('0x5')]();var fs_extra=require(_0x6eeb('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x6eeb('0x7'));var config=require(_0x6eeb('0x8'));var controller=require(_0x6eeb('0x9'));router[_0x6eeb('0xa')]('/',auth[_0x6eeb('0xb')](),controller[_0x6eeb('0xc')]);router[_0x6eeb('0xa')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x6eeb('0xa')](_0x6eeb('0xd'),auth[_0x6eeb('0xb')](),controller[_0x6eeb('0xe')]);router['post']('/',auth[_0x6eeb('0xb')](),controller[_0x6eeb('0xf')]);router[_0x6eeb('0x10')](_0x6eeb('0xd'),auth[_0x6eeb('0xb')](),controller[_0x6eeb('0x11')]);router[_0x6eeb('0x12')](_0x6eeb('0xd'),auth['isAuthenticated'](),controller[_0x6eeb('0x13')]);module[_0x6eeb('0x14')]=router;