Built motion from commit 753c950e.|2.5.42
[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 _0x56fc=['./whatsappQueueReport.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0x56fc,0x114));var _0xc56f=function(_0x2d7f0e,_0x3e6fbd){_0x2d7f0e=_0x2d7f0e-0x0;var _0x110b07=_0x56fc[_0x2d7f0e];return _0x110b07;};'use strict';var multer=require(_0xc56f('0x0'));var util=require(_0xc56f('0x1'));var path=require(_0xc56f('0x2'));var timeout=require(_0xc56f('0x3'));var express=require(_0xc56f('0x4'));var router=express[_0xc56f('0x5')]();var fs_extra=require(_0xc56f('0x6'));var auth=require(_0xc56f('0x7'));var interaction=require(_0xc56f('0x8'));var config=require(_0xc56f('0x9'));var controller=require(_0xc56f('0xa'));router[_0xc56f('0xb')]('/',auth[_0xc56f('0xc')](),controller[_0xc56f('0xd')]);router[_0xc56f('0xb')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0xc56f('0xb')]('/:id',auth[_0xc56f('0xc')](),controller[_0xc56f('0xe')]);router[_0xc56f('0xf')]('/',auth[_0xc56f('0xc')](),controller[_0xc56f('0x10')]);router[_0xc56f('0x11')](_0xc56f('0x12'),auth['isAuthenticated'](),controller[_0xc56f('0x13')]);router['delete'](_0xc56f('0x12'),auth[_0xc56f('0xc')](),controller[_0xc56f('0x14')]);module[_0xc56f('0x15')]=router;