Built motion from commit da24aabd.|2.6.20
[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 _0x08a3=['../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','delete','destroy','exports','connect-timeout','Router','../../components/interaction/service'];(function(_0x5ce17e,_0x1a6dd4){var _0x2ed753=function(_0x4bd044){while(--_0x4bd044){_0x5ce17e['push'](_0x5ce17e['shift']());}};_0x2ed753(++_0x1a6dd4);}(_0x08a3,0x1ad));var _0x308a=function(_0x21717a,_0x33f542){_0x21717a=_0x21717a-0x0;var _0x396c2f=_0x08a3[_0x21717a];return _0x396c2f;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x308a('0x0'));var express=require('express');var router=express[_0x308a('0x1')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x308a('0x2'));var config=require(_0x308a('0x3'));var controller=require(_0x308a('0x4'));router[_0x308a('0x5')]('/',auth[_0x308a('0x6')](),controller[_0x308a('0x7')]);router[_0x308a('0x5')](_0x308a('0x8'),auth[_0x308a('0x6')](),controller[_0x308a('0x9')]);router[_0x308a('0x5')](_0x308a('0xa'),auth['isAuthenticated'](),controller[_0x308a('0xb')]);router[_0x308a('0xc')]('/',auth['isAuthenticated'](),controller[_0x308a('0xd')]);router[_0x308a('0xe')](_0x308a('0xa'),auth[_0x308a('0x6')](),controller['update']);router[_0x308a('0xf')](_0x308a('0xa'),auth[_0x308a('0x6')](),controller[_0x308a('0x10')]);module[_0x308a('0x11')]=router;