2dcbc73fbc5b31c8c88d63357ab2e342d5fe2d24
[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 _0xcd36=['destroy','exports','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','/describe','describe','/:id','show','post','put','update','delete'];(function(_0x303064,_0x12f0c2){var _0x5a1d3d=function(_0x5b9d81){while(--_0x5b9d81){_0x303064['push'](_0x303064['shift']());}};_0x5a1d3d(++_0x12f0c2);}(_0xcd36,0x16a));var _0x6cd3=function(_0x29e664,_0x497eda){_0x29e664=_0x29e664-0x0;var _0x5b37c3=_0xcd36[_0x29e664];return _0x5b37c3;};'use strict';var multer=require('multer');var util=require(_0x6cd3('0x0'));var path=require(_0x6cd3('0x1'));var timeout=require('connect-timeout');var express=require(_0x6cd3('0x2'));var router=express['Router']();var fs_extra=require(_0x6cd3('0x3'));var auth=require(_0x6cd3('0x4'));var interaction=require(_0x6cd3('0x5'));var config=require(_0x6cd3('0x6'));var controller=require(_0x6cd3('0x7'));router[_0x6cd3('0x8')]('/',auth[_0x6cd3('0x9')](),controller['index']);router[_0x6cd3('0x8')](_0x6cd3('0xa'),auth[_0x6cd3('0x9')](),controller[_0x6cd3('0xb')]);router['get'](_0x6cd3('0xc'),auth[_0x6cd3('0x9')](),controller[_0x6cd3('0xd')]);router[_0x6cd3('0xe')]('/',auth[_0x6cd3('0x9')](),controller['create']);router[_0x6cd3('0xf')](_0x6cd3('0xc'),auth[_0x6cd3('0x9')](),controller[_0x6cd3('0x10')]);router[_0x6cd3('0x11')](_0x6cd3('0xc'),auth[_0x6cd3('0x9')](),controller[_0x6cd3('0x12')]);module[_0x6cd3('0x13')]=router;