Built motion from commit a61a4a20.|2.5.46
[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 _0x900e=['Router','fs-extra','../../components/auth/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','put','update','destroy','exports','multer','express'];(function(_0x9130a6,_0x487caa){var _0xac3d12=function(_0x53820e){while(--_0x53820e){_0x9130a6['push'](_0x9130a6['shift']());}};_0xac3d12(++_0x487caa);}(_0x900e,0x1b3));var _0xe900=function(_0x272ea6,_0x3f0673){_0x272ea6=_0x272ea6-0x0;var _0x43ef03=_0x900e[_0x272ea6];return _0x43ef03;};'use strict';var multer=require(_0xe900('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe900('0x1'));var router=express[_0xe900('0x2')]();var fs_extra=require(_0xe900('0x3'));var auth=require(_0xe900('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xe900('0x5'));var controller=require(_0xe900('0x6'));router[_0xe900('0x7')]('/',auth[_0xe900('0x8')](),controller[_0xe900('0x9')]);router[_0xe900('0x7')](_0xe900('0xa'),auth['isAuthenticated'](),controller['describe']);router['get'](_0xe900('0xb'),auth[_0xe900('0x8')](),controller[_0xe900('0xc')]);router[_0xe900('0xd')]('/',auth[_0xe900('0x8')](),controller[_0xe900('0xe')]);router[_0xe900('0xf')](_0xe900('0xb'),auth[_0xe900('0x8')](),controller[_0xe900('0x10')]);router['delete']('/:id',auth[_0xe900('0x8')](),controller[_0xe900('0x11')]);module[_0xe900('0x12')]=router;