57d55e7b95cd197a03322fe654c888fd6e20e984
[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 _0xa5ea=['util','express','Router','../../components/auth/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','/describe','describe','/:id','post','put','update','delete','exports','multer'];(function(_0x5797b5,_0x2fbfcb){var _0x10c769=function(_0x4c4895){while(--_0x4c4895){_0x5797b5['push'](_0x5797b5['shift']());}};_0x10c769(++_0x2fbfcb);}(_0xa5ea,0x87));var _0xaa5e=function(_0x5efe1c,_0x3df52e){_0x5efe1c=_0x5efe1c-0x0;var _0x417a93=_0xa5ea[_0x5efe1c];return _0x417a93;};'use strict';var multer=require(_0xaa5e('0x0'));var util=require(_0xaa5e('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xaa5e('0x2'));var router=express[_0xaa5e('0x3')]();var auth=require(_0xaa5e('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xaa5e('0x5'));var controller=require(_0xaa5e('0x6'));router[_0xaa5e('0x7')]('/',auth[_0xaa5e('0x8')](),controller['index']);router[_0xaa5e('0x7')](_0xaa5e('0x9'),auth['isAuthenticated'](),controller[_0xaa5e('0xa')]);router[_0xaa5e('0x7')](_0xaa5e('0xb'),auth[_0xaa5e('0x8')](),controller['show']);router[_0xaa5e('0xc')]('/',auth[_0xaa5e('0x8')](),controller['create']);router[_0xaa5e('0xd')](_0xaa5e('0xb'),auth[_0xaa5e('0x8')](),controller[_0xaa5e('0xe')]);router[_0xaa5e('0xf')](_0xaa5e('0xb'),auth['isAuthenticated'](),controller['destroy']);module[_0xaa5e('0x10')]=router;