Built motion from commit 00bf23f6.|2.6.16
[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 _0x3e27=['express','Router','fs-extra','../../components/interaction/service','./whatsappQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','update','delete','destroy','exports','util','path','connect-timeout'];(function(_0x109946,_0x3494b7){var _0x4ed20b=function(_0x578aa4){while(--_0x578aa4){_0x109946['push'](_0x109946['shift']());}};_0x4ed20b(++_0x3494b7);}(_0x3e27,0xed));var _0x73e2=function(_0x4c2895,_0x140000){_0x4c2895=_0x4c2895-0x0;var _0x589bc3=_0x3e27[_0x4c2895];return _0x589bc3;};'use strict';var multer=require('multer');var util=require(_0x73e2('0x0'));var path=require(_0x73e2('0x1'));var timeout=require(_0x73e2('0x2'));var express=require(_0x73e2('0x3'));var router=express[_0x73e2('0x4')]();var fs_extra=require(_0x73e2('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x73e2('0x6'));var config=require('../../config/environment');var controller=require(_0x73e2('0x7'));router[_0x73e2('0x8')]('/',auth[_0x73e2('0x9')](),controller[_0x73e2('0xa')]);router[_0x73e2('0x8')](_0x73e2('0xb'),auth[_0x73e2('0x9')](),controller[_0x73e2('0xc')]);router[_0x73e2('0x8')](_0x73e2('0xd'),auth[_0x73e2('0x9')](),controller['show']);router[_0x73e2('0xe')]('/',auth[_0x73e2('0x9')](),controller[_0x73e2('0xf')]);router['put']('/:id',auth[_0x73e2('0x9')](),controller[_0x73e2('0x10')]);router[_0x73e2('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x73e2('0x12')]);module[_0x73e2('0x13')]=router;