3a61b6cc3f6ede2b361e055c524cb7abbc2756ee
[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 _0xdc7a=['multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','put','update','delete','destroy'];(function(_0x4ec9e7,_0x1ef23c){var _0x1c528f=function(_0x43fd81){while(--_0x43fd81){_0x4ec9e7['push'](_0x4ec9e7['shift']());}};_0x1c528f(++_0x1ef23c);}(_0xdc7a,0x8c));var _0xadc7=function(_0x10f9fe,_0x207c91){_0x10f9fe=_0x10f9fe-0x0;var _0x161aae=_0xdc7a[_0x10f9fe];return _0x161aae;};'use strict';var multer=require(_0xadc7('0x0'));var util=require(_0xadc7('0x1'));var path=require(_0xadc7('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xadc7('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xadc7('0x4'));var interaction=require(_0xadc7('0x5'));var config=require(_0xadc7('0x6'));var controller=require(_0xadc7('0x7'));router[_0xadc7('0x8')]('/',auth[_0xadc7('0x9')](),controller[_0xadc7('0xa')]);router[_0xadc7('0x8')](_0xadc7('0xb'),auth['isAuthenticated'](),controller[_0xadc7('0xc')]);router['get'](_0xadc7('0xd'),auth[_0xadc7('0x9')](),controller[_0xadc7('0xe')]);router['post']('/',auth[_0xadc7('0x9')](),controller[_0xadc7('0xf')]);router[_0xadc7('0x10')](_0xadc7('0xd'),auth[_0xadc7('0x9')](),controller[_0xadc7('0x11')]);router[_0xadc7('0x12')](_0xadc7('0xd'),auth[_0xadc7('0x9')](),controller[_0xadc7('0x13')]);module['exports']=router;