37fb900abbfbcccf85adaa11016a8dddc8f72e1e
[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 _0xa978=['../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router'];(function(_0x3b78a7,_0x5dea18){var _0x38591d=function(_0x2b7c31){while(--_0x2b7c31){_0x3b78a7['push'](_0x3b78a7['shift']());}};_0x38591d(++_0x5dea18);}(_0xa978,0x145));var _0x8a97=function(_0x99b4c0,_0x3bc8a4){_0x99b4c0=_0x99b4c0-0x0;var _0x1eb122=_0xa978[_0x99b4c0];return _0x1eb122;};'use strict';var multer=require(_0x8a97('0x0'));var util=require(_0x8a97('0x1'));var path=require(_0x8a97('0x2'));var timeout=require(_0x8a97('0x3'));var express=require('express');var router=express[_0x8a97('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x8a97('0x5'));var interaction=require(_0x8a97('0x6'));var config=require(_0x8a97('0x7'));var controller=require(_0x8a97('0x8'));router[_0x8a97('0x9')]('/',auth['isAuthenticated'](),controller[_0x8a97('0xa')]);router[_0x8a97('0x9')](_0x8a97('0xb'),auth[_0x8a97('0xc')](),controller[_0x8a97('0xd')]);router[_0x8a97('0x9')](_0x8a97('0xe'),auth['isAuthenticated'](),controller[_0x8a97('0xf')]);router[_0x8a97('0x10')]('/',auth[_0x8a97('0xc')](),controller['create']);router[_0x8a97('0x11')](_0x8a97('0xe'),auth[_0x8a97('0xc')](),controller[_0x8a97('0x12')]);router[_0x8a97('0x13')](_0x8a97('0xe'),auth[_0x8a97('0xc')](),controller[_0x8a97('0x14')]);module[_0x8a97('0x15')]=router;