Built motion from commit (unavailable).|2.5.14
[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 _0x2bb6=['put','update','exports','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','describe','/:id','show','post','create'];(function(_0x10626c,_0x56d540){var _0x3f60ad=function(_0x26a0a0){while(--_0x26a0a0){_0x10626c['push'](_0x10626c['shift']());}};_0x3f60ad(++_0x56d540);}(_0x2bb6,0x146));var _0x62bb=function(_0x3a5df2,_0x2b5517){_0x3a5df2=_0x3a5df2-0x0;var _0x3a65b6=_0x2bb6[_0x3a5df2];return _0x3a65b6;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x62bb('0x0'));var timeout=require('connect-timeout');var express=require(_0x62bb('0x1'));var router=express[_0x62bb('0x2')]();var auth=require(_0x62bb('0x3'));var interaction=require(_0x62bb('0x4'));var config=require(_0x62bb('0x5'));var controller=require(_0x62bb('0x6'));router[_0x62bb('0x7')]('/',auth[_0x62bb('0x8')](),controller['index']);router[_0x62bb('0x7')]('/describe',auth[_0x62bb('0x8')](),controller[_0x62bb('0x9')]);router[_0x62bb('0x7')](_0x62bb('0xa'),auth['isAuthenticated'](),controller[_0x62bb('0xb')]);router[_0x62bb('0xc')]('/',auth['isAuthenticated'](),controller[_0x62bb('0xd')]);router[_0x62bb('0xe')](_0x62bb('0xa'),auth[_0x62bb('0x8')](),controller[_0x62bb('0xf')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x62bb('0x10')]=router;