Built motion from commit (unavailable).|2.5.23
[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 _0xb7de=['index','/describe','/:id','show','create','put','update','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated'];(function(_0x4b0901,_0x146fb4){var _0x5f1b0d=function(_0x150771){while(--_0x150771){_0x4b0901['push'](_0x4b0901['shift']());}};_0x5f1b0d(++_0x146fb4);}(_0xb7de,0xc7));var _0xeb7d=function(_0x42245d,_0x51758f){_0x42245d=_0x42245d-0x0;var _0x4b211a=_0xb7de[_0x42245d];return _0x4b211a;};'use strict';var multer=require(_0xeb7d('0x0'));var util=require(_0xeb7d('0x1'));var path=require(_0xeb7d('0x2'));var timeout=require('connect-timeout');var express=require(_0xeb7d('0x3'));var router=express[_0xeb7d('0x4')]();var auth=require(_0xeb7d('0x5'));var interaction=require(_0xeb7d('0x6'));var config=require(_0xeb7d('0x7'));var controller=require('./whatsappQueueReport.controller');router[_0xeb7d('0x8')]('/',auth[_0xeb7d('0x9')](),controller[_0xeb7d('0xa')]);router[_0xeb7d('0x8')](_0xeb7d('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0xeb7d('0x8')](_0xeb7d('0xc'),auth[_0xeb7d('0x9')](),controller[_0xeb7d('0xd')]);router['post']('/',auth[_0xeb7d('0x9')](),controller[_0xeb7d('0xe')]);router[_0xeb7d('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xeb7d('0x10')]);router['delete'](_0xeb7d('0xc'),auth[_0xeb7d('0x9')](),controller[_0xeb7d('0x11')]);module[_0xeb7d('0x12')]=router;