51059b38916e4881faa089e959928185cfd950e2
[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 _0x1d69=['../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','index','/describe','isAuthenticated','describe','get','/:id','show','post','put','update','delete','destroy','multer','util','path','connect-timeout','../../components/auth/service'];(function(_0x22dc50,_0x517d08){var _0x3aae7e=function(_0x3b114e){while(--_0x3b114e){_0x22dc50['push'](_0x22dc50['shift']());}};_0x3aae7e(++_0x517d08);}(_0x1d69,0x113));var _0x91d6=function(_0x261522,_0x1adc1f){_0x261522=_0x261522-0x0;var _0x98a25a=_0x1d69[_0x261522];return _0x98a25a;};'use strict';var multer=require(_0x91d6('0x0'));var util=require(_0x91d6('0x1'));var path=require(_0x91d6('0x2'));var timeout=require(_0x91d6('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x91d6('0x4'));var interaction=require(_0x91d6('0x5'));var config=require(_0x91d6('0x6'));var controller=require(_0x91d6('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x91d6('0x8')]);router['get'](_0x91d6('0x9'),auth[_0x91d6('0xa')](),controller[_0x91d6('0xb')]);router[_0x91d6('0xc')](_0x91d6('0xd'),auth[_0x91d6('0xa')](),controller[_0x91d6('0xe')]);router[_0x91d6('0xf')]('/',auth[_0x91d6('0xa')](),controller['create']);router[_0x91d6('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x91d6('0x11')]);router[_0x91d6('0x12')](_0x91d6('0xd'),auth['isAuthenticated'](),controller[_0x91d6('0x13')]);module['exports']=router;