Built motion from commit 14588770.|2.5.38
[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 _0x71cd=['delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','describe','show','put','/:id','isAuthenticated'];(function(_0x4a5e3a,_0x2a119b){var _0x1471af=function(_0x359b89){while(--_0x359b89){_0x4a5e3a['push'](_0x4a5e3a['shift']());}};_0x1471af(++_0x2a119b);}(_0x71cd,0x173));var _0xd71c=function(_0x55d911,_0x2b768c){_0x55d911=_0x55d911-0x0;var _0x3104c2=_0x71cd[_0x55d911];return _0x3104c2;};'use strict';var multer=require(_0xd71c('0x0'));var util=require(_0xd71c('0x1'));var path=require('path');var timeout=require(_0xd71c('0x2'));var express=require(_0xd71c('0x3'));var router=express[_0xd71c('0x4')]();var fs_extra=require(_0xd71c('0x5'));var auth=require(_0xd71c('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xd71c('0x7'));var controller=require('./whatsappQueueReport.controller');router['get']('/',auth['isAuthenticated'](),controller['index']);router['get']('/describe',auth['isAuthenticated'](),controller[_0xd71c('0x8')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xd71c('0x9')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xd71c('0xa')](_0xd71c('0xb'),auth[_0xd71c('0xc')](),controller['update']);router[_0xd71c('0xd')]('/:id',auth[_0xd71c('0xc')](),controller[_0xd71c('0xe')]);module[_0xd71c('0xf')]=router;