00f82febffcdc4bcafd1543e9b0392e7383bb8cc
[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 _0x07aa=['post','create','put','/:id','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','index','get','/describe','isAuthenticated','describe'];(function(_0x34bc6c,_0x10d089){var _0x168820=function(_0xb058d9){while(--_0xb058d9){_0x34bc6c['push'](_0x34bc6c['shift']());}};_0x168820(++_0x10d089);}(_0x07aa,0x194));var _0xa07a=function(_0x45ba54,_0x6f35ea){_0x45ba54=_0x45ba54-0x0;var _0x20b213=_0x07aa[_0x45ba54];return _0x20b213;};'use strict';var multer=require(_0xa07a('0x0'));var util=require('util');var path=require(_0xa07a('0x1'));var timeout=require(_0xa07a('0x2'));var express=require(_0xa07a('0x3'));var router=express[_0xa07a('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa07a('0x5'));var interaction=require(_0xa07a('0x6'));var config=require(_0xa07a('0x7'));var controller=require(_0xa07a('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xa07a('0x9')]);router[_0xa07a('0xa')](_0xa07a('0xb'),auth[_0xa07a('0xc')](),controller[_0xa07a('0xd')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0xa07a('0xe')]('/',auth['isAuthenticated'](),controller[_0xa07a('0xf')]);router[_0xa07a('0x10')](_0xa07a('0x11'),auth[_0xa07a('0xc')](),controller[_0xa07a('0x12')]);router[_0xa07a('0x13')](_0xa07a('0x11'),auth[_0xa07a('0xc')](),controller[_0xa07a('0x14')]);module[_0xa07a('0x15')]=router;