280e18ceb2eb15afc1500392beb29f8eba0ab5a1
[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 _0x3af4=['create','put','update','delete','destroy','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show'];(function(_0x427e03,_0x9122c){var _0x5a0fa9=function(_0x5a5507){while(--_0x5a5507){_0x427e03['push'](_0x427e03['shift']());}};_0x5a0fa9(++_0x9122c);}(_0x3af4,0x16d));var _0x43af=function(_0x52684f,_0xff73fc){_0x52684f=_0x52684f-0x0;var _0x4a55f0=_0x3af4[_0x52684f];return _0x4a55f0;};'use strict';var multer=require(_0x43af('0x0'));var util=require('util');var path=require(_0x43af('0x1'));var timeout=require(_0x43af('0x2'));var express=require('express');var router=express[_0x43af('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x43af('0x4'));var interaction=require(_0x43af('0x5'));var config=require(_0x43af('0x6'));var controller=require(_0x43af('0x7'));router[_0x43af('0x8')]('/',auth['isAuthenticated'](),controller[_0x43af('0x9')]);router[_0x43af('0x8')](_0x43af('0xa'),auth[_0x43af('0xb')](),controller[_0x43af('0xc')]);router[_0x43af('0x8')](_0x43af('0xd'),auth['isAuthenticated'](),controller[_0x43af('0xe')]);router['post']('/',auth[_0x43af('0xb')](),controller[_0x43af('0xf')]);router[_0x43af('0x10')](_0x43af('0xd'),auth[_0x43af('0xb')](),controller[_0x43af('0x11')]);router[_0x43af('0x12')](_0x43af('0xd'),auth[_0x43af('0xb')](),controller[_0x43af('0x13')]);module['exports']=router;