Built motion from commit (unavailable).|2.5.30
[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 _0xfb3f=['fs-extra','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','put','update','delete','destroy','exports','multer','util','connect-timeout'];(function(_0x300f6b,_0x3e1d3e){var _0xea2cfc=function(_0x1f1592){while(--_0x1f1592){_0x300f6b['push'](_0x300f6b['shift']());}};_0xea2cfc(++_0x3e1d3e);}(_0xfb3f,0xd9));var _0xffb3=function(_0xcaff3b,_0x4d145e){_0xcaff3b=_0xcaff3b-0x0;var _0x2db7b4=_0xfb3f[_0xcaff3b];return _0x2db7b4;};'use strict';var multer=require(_0xffb3('0x0'));var util=require(_0xffb3('0x1'));var path=require('path');var timeout=require(_0xffb3('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xffb3('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xffb3('0x4'));var config=require(_0xffb3('0x5'));var controller=require(_0xffb3('0x6'));router[_0xffb3('0x7')]('/',auth[_0xffb3('0x8')](),controller[_0xffb3('0x9')]);router[_0xffb3('0x7')](_0xffb3('0xa'),auth['isAuthenticated'](),controller[_0xffb3('0xb')]);router[_0xffb3('0x7')](_0xffb3('0xc'),auth[_0xffb3('0x8')](),controller[_0xffb3('0xd')]);router['post']('/',auth[_0xffb3('0x8')](),controller[_0xffb3('0xe')]);router[_0xffb3('0xf')](_0xffb3('0xc'),auth[_0xffb3('0x8')](),controller[_0xffb3('0x10')]);router[_0xffb3('0x11')](_0xffb3('0xc'),auth['isAuthenticated'](),controller[_0xffb3('0x12')]);module[_0xffb3('0x13')]=router;