Built motion from commit (unavailable).|2.5.13
[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 _0x124a=['describe','/:id','show','post','create','put','update','delete','multer','util','path','connect-timeout','express','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe'];(function(_0x3c66e5,_0xab5ea3){var _0x678a=function(_0xd43f50){while(--_0xd43f50){_0x3c66e5['push'](_0x3c66e5['shift']());}};_0x678a(++_0xab5ea3);}(_0x124a,0x171));var _0xa124=function(_0x14dd10,_0x4900d6){_0x14dd10=_0x14dd10-0x0;var _0x5cb641=_0x124a[_0x14dd10];return _0x5cb641;};'use strict';var multer=require(_0xa124('0x0'));var util=require(_0xa124('0x1'));var path=require(_0xa124('0x2'));var timeout=require(_0xa124('0x3'));var express=require(_0xa124('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xa124('0x5'));var config=require(_0xa124('0x6'));var controller=require('./whatsappQueueReport.controller');router[_0xa124('0x7')]('/',auth[_0xa124('0x8')](),controller[_0xa124('0x9')]);router['get'](_0xa124('0xa'),auth['isAuthenticated'](),controller[_0xa124('0xb')]);router[_0xa124('0x7')](_0xa124('0xc'),auth[_0xa124('0x8')](),controller[_0xa124('0xd')]);router[_0xa124('0xe')]('/',auth[_0xa124('0x8')](),controller[_0xa124('0xf')]);router[_0xa124('0x10')](_0xa124('0xc'),auth['isAuthenticated'](),controller[_0xa124('0x11')]);router[_0xa124('0x12')](_0xa124('0xc'),auth[_0xa124('0x8')](),controller['destroy']);module['exports']=router;