Built motion from commit (unavailable).|2.5.25
[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 _0x5c84=['destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete'];(function(_0x49f124,_0x180348){var _0x32a6ce=function(_0x2ec42f){while(--_0x2ec42f){_0x49f124['push'](_0x49f124['shift']());}};_0x32a6ce(++_0x180348);}(_0x5c84,0x1ca));var _0x45c8=function(_0x4cdb68,_0x279a1b){_0x4cdb68=_0x4cdb68-0x0;var _0x3c29d1=_0x5c84[_0x4cdb68];return _0x3c29d1;};'use strict';var multer=require(_0x45c8('0x0'));var util=require('util');var path=require(_0x45c8('0x1'));var timeout=require(_0x45c8('0x2'));var express=require('express');var router=express[_0x45c8('0x3')]();var auth=require(_0x45c8('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x45c8('0x5'));var controller=require('./whatsappQueueReport.controller');router[_0x45c8('0x6')]('/',auth[_0x45c8('0x7')](),controller[_0x45c8('0x8')]);router[_0x45c8('0x6')](_0x45c8('0x9'),auth[_0x45c8('0x7')](),controller[_0x45c8('0xa')]);router[_0x45c8('0x6')](_0x45c8('0xb'),auth[_0x45c8('0x7')](),controller[_0x45c8('0xc')]);router[_0x45c8('0xd')]('/',auth['isAuthenticated'](),controller['create']);router[_0x45c8('0xe')](_0x45c8('0xb'),auth[_0x45c8('0x7')](),controller[_0x45c8('0xf')]);router[_0x45c8('0x10')](_0x45c8('0xb'),auth[_0x45c8('0x7')](),controller[_0x45c8('0x11')]);module[_0x45c8('0x12')]=router;