Built motion from commit (unavailable).|2.5.31
[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 _0x8b29=['connect-timeout','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','create','put','update','exports','multer','path'];(function(_0x44e79f,_0x519fe3){var _0x2de50b=function(_0x554b3c){while(--_0x554b3c){_0x44e79f['push'](_0x44e79f['shift']());}};_0x2de50b(++_0x519fe3);}(_0x8b29,0xbe));var _0x98b2=function(_0x1572ae,_0xf9aa26){_0x1572ae=_0x1572ae-0x0;var _0x1e7792=_0x8b29[_0x1572ae];return _0x1e7792;};'use strict';var multer=require(_0x98b2('0x0'));var util=require('util');var path=require(_0x98b2('0x1'));var timeout=require(_0x98b2('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x98b2('0x3'));var auth=require(_0x98b2('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x98b2('0x5'));var controller=require('./whatsappQueueReport.controller');router[_0x98b2('0x6')]('/',auth[_0x98b2('0x7')](),controller[_0x98b2('0x8')]);router[_0x98b2('0x6')](_0x98b2('0x9'),auth[_0x98b2('0x7')](),controller[_0x98b2('0xa')]);router[_0x98b2('0x6')](_0x98b2('0xb'),auth[_0x98b2('0x7')](),controller['show']);router['post']('/',auth[_0x98b2('0x7')](),controller[_0x98b2('0xc')]);router[_0x98b2('0xd')](_0x98b2('0xb'),auth[_0x98b2('0x7')](),controller[_0x98b2('0xe')]);router['delete'](_0x98b2('0xb'),auth[_0x98b2('0x7')](),controller['destroy']);module[_0x98b2('0xf')]=router;