Built motion from commit (unavailable).|2.5.31
[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 _0xb677=['../../config/environment','get','isAuthenticated','index','post','put','update','delete','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x51e7d5,_0x4651b2){var _0x7e0d83=function(_0x53c4a8){while(--_0x53c4a8){_0x51e7d5['push'](_0x51e7d5['shift']());}};_0x7e0d83(++_0x4651b2);}(_0xb677,0x119));var _0x7b67=function(_0x3a8169,_0x504022){_0x3a8169=_0x3a8169-0x0;var _0x545328=_0xb677[_0x3a8169];return _0x545328;};'use strict';var multer=require(_0x7b67('0x0'));var util=require('util');var path=require(_0x7b67('0x1'));var timeout=require(_0x7b67('0x2'));var express=require(_0x7b67('0x3'));var router=express[_0x7b67('0x4')]();var fs_extra=require(_0x7b67('0x5'));var auth=require(_0x7b67('0x6'));var interaction=require(_0x7b67('0x7'));var config=require(_0x7b67('0x8'));var controller=require('./whatsappQueueReport.controller');router[_0x7b67('0x9')]('/',auth[_0x7b67('0xa')](),controller[_0x7b67('0xb')]);router[_0x7b67('0x9')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x7b67('0x9')]('/:id',auth[_0x7b67('0xa')](),controller['show']);router[_0x7b67('0xc')]('/',auth[_0x7b67('0xa')](),controller['create']);router[_0x7b67('0xd')]('/:id',auth[_0x7b67('0xa')](),controller[_0x7b67('0xe')]);router[_0x7b67('0xf')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x7b67('0x10')]=router;