f8dd4e0af8998f67f57d38e55d7da1e5381c247c
[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 _0x66ef=['put','update','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappQueueReport.controller','get','isAuthenticated','/describe','describe','/:id','show','create'];(function(_0x458dd7,_0xe5602b){var _0x2a12f3=function(_0x547dee){while(--_0x547dee){_0x458dd7['push'](_0x458dd7['shift']());}};_0x2a12f3(++_0xe5602b);}(_0x66ef,0x145));var _0xf66e=function(_0x29735d,_0x5177f5){_0x29735d=_0x29735d-0x0;var _0x443b44=_0x66ef[_0x29735d];return _0x443b44;};'use strict';var multer=require(_0xf66e('0x0'));var util=require(_0xf66e('0x1'));var path=require(_0xf66e('0x2'));var timeout=require(_0xf66e('0x3'));var express=require(_0xf66e('0x4'));var router=express[_0xf66e('0x5')]();var fs_extra=require(_0xf66e('0x6'));var auth=require(_0xf66e('0x7'));var interaction=require(_0xf66e('0x8'));var config=require('../../config/environment');var controller=require(_0xf66e('0x9'));router[_0xf66e('0xa')]('/',auth[_0xf66e('0xb')](),controller['index']);router[_0xf66e('0xa')](_0xf66e('0xc'),auth[_0xf66e('0xb')](),controller[_0xf66e('0xd')]);router['get'](_0xf66e('0xe'),auth[_0xf66e('0xb')](),controller[_0xf66e('0xf')]);router['post']('/',auth[_0xf66e('0xb')](),controller[_0xf66e('0x10')]);router[_0xf66e('0x11')]('/:id',auth[_0xf66e('0xb')](),controller[_0xf66e('0x12')]);router['delete'](_0xf66e('0xe'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;