Built motion from commit 5b761a7b.|2.5.36
[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 _0xfa0e=['post','create','update','delete','destroy','exports','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe'];(function(_0x82129b,_0x484ae9){var _0x2ae5dc=function(_0x299e34){while(--_0x299e34){_0x82129b['push'](_0x82129b['shift']());}};_0x2ae5dc(++_0x484ae9);}(_0xfa0e,0x123));var _0xefa0=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xfa0e[_0x122ef9];return _0x42fba0;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xefa0('0x0'));var express=require(_0xefa0('0x1'));var router=express['Router']();var fs_extra=require(_0xefa0('0x2'));var auth=require(_0xefa0('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xefa0('0x4'));var controller=require('./whatsappQueueReport.controller');router[_0xefa0('0x5')]('/',auth[_0xefa0('0x6')](),controller[_0xefa0('0x7')]);router['get'](_0xefa0('0x8'),auth['isAuthenticated'](),controller['describe']);router[_0xefa0('0x5')]('/:id',auth[_0xefa0('0x6')](),controller['show']);router[_0xefa0('0x9')]('/',auth['isAuthenticated'](),controller[_0xefa0('0xa')]);router['put']('/:id',auth[_0xefa0('0x6')](),controller[_0xefa0('0xb')]);router[_0xefa0('0xc')]('/:id',auth['isAuthenticated'](),controller[_0xefa0('0xd')]);module[_0xefa0('0xe')]=router;