Built motion from commit (unavailable).|2.5.2
[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 _0x859b=['express','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','describe','show','post','create','put','/:id','delete','exports','multer','util','path','connect-timeout'];(function(_0x36622b,_0x54f661){var _0xbfe6bf=function(_0x26ac06){while(--_0x26ac06){_0x36622b['push'](_0x36622b['shift']());}};_0xbfe6bf(++_0x54f661);}(_0x859b,0xf8));var _0xb859=function(_0x3faf55,_0x1fb029){_0x3faf55=_0x3faf55-0x0;var _0xf0e0ff=_0x859b[_0x3faf55];return _0xf0e0ff;};'use strict';var multer=require(_0xb859('0x0'));var util=require(_0xb859('0x1'));var path=require(_0xb859('0x2'));var timeout=require(_0xb859('0x3'));var express=require(_0xb859('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb859('0x5'));router[_0xb859('0x6')]('/',auth[_0xb859('0x7')](),controller[_0xb859('0x8')]);router['get'](_0xb859('0x9'),auth[_0xb859('0x7')](),controller[_0xb859('0xa')]);router[_0xb859('0x6')]('/:id',auth['isAuthenticated'](),controller[_0xb859('0xb')]);router[_0xb859('0xc')]('/',auth[_0xb859('0x7')](),controller[_0xb859('0xd')]);router[_0xb859('0xe')](_0xb859('0xf'),auth[_0xb859('0x7')](),controller['update']);router[_0xb859('0x10')](_0xb859('0xf'),auth[_0xb859('0x7')](),controller['destroy']);module[_0xb859('0x11')]=router;