Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / chatQueueReport / 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 _0xbde1=['../../components/interaction/service','./chatQueueReport.controller','isAuthenticated','get','/describe','describe','/:id','show','post','create','update','delete','destroy','exports','multer','connect-timeout','Router','fs-extra','../../components/auth/service'];(function(_0x187d80,_0x5b793f){var _0x498a77=function(_0x633dc9){while(--_0x633dc9){_0x187d80['push'](_0x187d80['shift']());}};_0x498a77(++_0x5b793f);}(_0xbde1,0x151));var _0x1bde=function(_0x1f0da2,_0x258e33){_0x1f0da2=_0x1f0da2-0x0;var _0x28e3e5=_0xbde1[_0x1f0da2];return _0x28e3e5;};'use strict';var multer=require(_0x1bde('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1bde('0x1'));var express=require('express');var router=express[_0x1bde('0x2')]();var fs_extra=require(_0x1bde('0x3'));var auth=require(_0x1bde('0x4'));var interaction=require(_0x1bde('0x5'));var config=require('../../config/environment');var controller=require(_0x1bde('0x6'));router['get']('/',auth[_0x1bde('0x7')](),controller['index']);router[_0x1bde('0x8')](_0x1bde('0x9'),auth[_0x1bde('0x7')](),controller[_0x1bde('0xa')]);router[_0x1bde('0x8')](_0x1bde('0xb'),auth[_0x1bde('0x7')](),controller[_0x1bde('0xc')]);router[_0x1bde('0xd')]('/',auth['isAuthenticated'](),controller[_0x1bde('0xe')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0x1bde('0xf')]);router[_0x1bde('0x10')](_0x1bde('0xb'),auth[_0x1bde('0x7')](),controller[_0x1bde('0x11')]);module[_0x1bde('0x12')]=router;