Built motion from commit 4ca75f1b.|2.6.28
[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 _0xc4ec=['express','Router','fs-extra','../../components/auth/service','../../config/environment','./whatsappQueueReport.controller','get','index','/describe','isAuthenticated','describe','/:id','post','create','put','delete','destroy','util'];(function(_0x15a185,_0x43f7c2){var _0x217972=function(_0x1368db){while(--_0x1368db){_0x15a185['push'](_0x15a185['shift']());}};_0x217972(++_0x43f7c2);}(_0xc4ec,0x155));var _0xcc4e=function(_0xb301d4,_0x27ed18){_0xb301d4=_0xb301d4-0x0;var _0x3b5bde=_0xc4ec[_0xb301d4];return _0x3b5bde;};'use strict';var multer=require('multer');var util=require(_0xcc4e('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xcc4e('0x1'));var router=express[_0xcc4e('0x2')]();var fs_extra=require(_0xcc4e('0x3'));var auth=require(_0xcc4e('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xcc4e('0x5'));var controller=require(_0xcc4e('0x6'));router[_0xcc4e('0x7')]('/',auth['isAuthenticated'](),controller[_0xcc4e('0x8')]);router[_0xcc4e('0x7')](_0xcc4e('0x9'),auth[_0xcc4e('0xa')](),controller[_0xcc4e('0xb')]);router[_0xcc4e('0x7')](_0xcc4e('0xc'),auth[_0xcc4e('0xa')](),controller['show']);router[_0xcc4e('0xd')]('/',auth[_0xcc4e('0xa')](),controller[_0xcc4e('0xe')]);router[_0xcc4e('0xf')](_0xcc4e('0xc'),auth['isAuthenticated'](),controller['update']);router[_0xcc4e('0x10')]('/:id',auth[_0xcc4e('0xa')](),controller[_0xcc4e('0x11')]);module['exports']=router;