Built motion from commit 616d3211.|2.6.4
[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 _0x004e=['multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','index','/describe','describe','/:id','isAuthenticated','show','post','create','put','update','exports'];(function(_0x21e45c,_0x58cb79){var _0x93e844=function(_0x4844dc){while(--_0x4844dc){_0x21e45c['push'](_0x21e45c['shift']());}};_0x93e844(++_0x58cb79);}(_0x004e,0x111));var _0xe004=function(_0x4a14d,_0x12785a){_0x4a14d=_0x4a14d-0x0;var _0x3eff16=_0x004e[_0x4a14d];return _0x3eff16;};'use strict';var multer=require(_0xe004('0x0'));var util=require(_0xe004('0x1'));var path=require(_0xe004('0x2'));var timeout=require(_0xe004('0x3'));var express=require('express');var router=express[_0xe004('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xe004('0x5'));var interaction=require(_0xe004('0x6'));var config=require(_0xe004('0x7'));var controller=require(_0xe004('0x8'));router[_0xe004('0x9')]('/',auth['isAuthenticated'](),controller[_0xe004('0xa')]);router[_0xe004('0x9')](_0xe004('0xb'),auth['isAuthenticated'](),controller[_0xe004('0xc')]);router[_0xe004('0x9')](_0xe004('0xd'),auth[_0xe004('0xe')](),controller[_0xe004('0xf')]);router[_0xe004('0x10')]('/',auth['isAuthenticated'](),controller[_0xe004('0x11')]);router[_0xe004('0x12')](_0xe004('0xd'),auth[_0xe004('0xe')](),controller[_0xe004('0x13')]);router['delete'](_0xe004('0xd'),auth[_0xe004('0xe')](),controller['destroy']);module[_0xe004('0x14')]=router;