a778c8b89a0a7dcc2d83d7fac62103a5faac43ae
[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 _0xaa50=['./whatsappQueueReport.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x21353c,_0x98623c){var _0x173711=function(_0xa2278d){while(--_0xa2278d){_0x21353c['push'](_0x21353c['shift']());}};_0x173711(++_0x98623c);}(_0xaa50,0x19d));var _0x0aa5=function(_0x3e66e7,_0x45b745){_0x3e66e7=_0x3e66e7-0x0;var _0x3e8b25=_0xaa50[_0x3e66e7];return _0x3e8b25;};'use strict';var multer=require('multer');var util=require(_0x0aa5('0x0'));var path=require(_0x0aa5('0x1'));var timeout=require(_0x0aa5('0x2'));var express=require('express');var router=express[_0x0aa5('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x0aa5('0x4'));var interaction=require(_0x0aa5('0x5'));var config=require(_0x0aa5('0x6'));var controller=require(_0x0aa5('0x7'));router[_0x0aa5('0x8')]('/',auth[_0x0aa5('0x9')](),controller[_0x0aa5('0xa')]);router['get']('/describe',auth[_0x0aa5('0x9')](),controller[_0x0aa5('0xb')]);router[_0x0aa5('0x8')](_0x0aa5('0xc'),auth[_0x0aa5('0x9')](),controller[_0x0aa5('0xd')]);router[_0x0aa5('0xe')]('/',auth[_0x0aa5('0x9')](),controller[_0x0aa5('0xf')]);router[_0x0aa5('0x10')](_0x0aa5('0xc'),auth[_0x0aa5('0x9')](),controller[_0x0aa5('0x11')]);router[_0x0aa5('0x12')]('/:id',auth[_0x0aa5('0x9')](),controller[_0x0aa5('0x13')]);module[_0x0aa5('0x14')]=router;