Built motion from commit 3e059bc2.|2.5.32
[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 _0x14ad=['put','delete','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index','describe','/:id','show','create'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x14ad,0xcb));var _0xd14a=function(_0x24061a,_0x1c9f4d){_0x24061a=_0x24061a-0x0;var _0x82054e=_0x14ad[_0x24061a];return _0x82054e;};'use strict';var multer=require(_0xd14a('0x0'));var util=require(_0xd14a('0x1'));var path=require('path');var timeout=require(_0xd14a('0x2'));var express=require(_0xd14a('0x3'));var router=express[_0xd14a('0x4')]();var fs_extra=require(_0xd14a('0x5'));var auth=require(_0xd14a('0x6'));var interaction=require(_0xd14a('0x7'));var config=require(_0xd14a('0x8'));var controller=require(_0xd14a('0x9'));router[_0xd14a('0xa')]('/',auth[_0xd14a('0xb')](),controller[_0xd14a('0xc')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0xd14a('0xd')]);router[_0xd14a('0xa')](_0xd14a('0xe'),auth[_0xd14a('0xb')](),controller[_0xd14a('0xf')]);router['post']('/',auth[_0xd14a('0xb')](),controller[_0xd14a('0x10')]);router[_0xd14a('0x11')](_0xd14a('0xe'),auth['isAuthenticated'](),controller['update']);router[_0xd14a('0x12')]('/:id',auth[_0xd14a('0xb')](),controller['destroy']);module[_0xd14a('0x13')]=router;