eaf25590a5cad76cfc7094f1c4ed976dfc16cce9
[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 _0x7787=['show','create','put','update','delete','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index','describe','/:id'];(function(_0x577f4e,_0x5644dd){var _0x333d0c=function(_0x58a124){while(--_0x58a124){_0x577f4e['push'](_0x577f4e['shift']());}};_0x333d0c(++_0x5644dd);}(_0x7787,0x64));var _0x7778=function(_0xdb2e0a,_0x2e7c4f){_0xdb2e0a=_0xdb2e0a-0x0;var _0x4618f3=_0x7787[_0xdb2e0a];return _0x4618f3;};'use strict';var multer=require(_0x7778('0x0'));var util=require('util');var path=require(_0x7778('0x1'));var timeout=require(_0x7778('0x2'));var express=require(_0x7778('0x3'));var router=express['Router']();var fs_extra=require(_0x7778('0x4'));var auth=require(_0x7778('0x5'));var interaction=require(_0x7778('0x6'));var config=require(_0x7778('0x7'));var controller=require(_0x7778('0x8'));router[_0x7778('0x9')]('/',auth[_0x7778('0xa')](),controller[_0x7778('0xb')]);router[_0x7778('0x9')]('/describe',auth[_0x7778('0xa')](),controller[_0x7778('0xc')]);router[_0x7778('0x9')](_0x7778('0xd'),auth[_0x7778('0xa')](),controller[_0x7778('0xe')]);router['post']('/',auth['isAuthenticated'](),controller[_0x7778('0xf')]);router[_0x7778('0x10')](_0x7778('0xd'),auth[_0x7778('0xa')](),controller[_0x7778('0x11')]);router[_0x7778('0x12')](_0x7778('0xd'),auth[_0x7778('0xa')](),controller['destroy']);module['exports']=router;