0c9a5c44b8b3f6ef6a934f05b4458f503df0cca2
[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 _0x54be=['destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./chatQueueReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','update','delete'];(function(_0x4bdbf3,_0xc32415){var _0xa54c8b=function(_0x2a2f60){while(--_0x2a2f60){_0x4bdbf3['push'](_0x4bdbf3['shift']());}};_0xa54c8b(++_0xc32415);}(_0x54be,0x18e));var _0xe54b=function(_0x1ee65d,_0x13e80f){_0x1ee65d=_0x1ee65d-0x0;var _0x2eb5bb=_0x54be[_0x1ee65d];return _0x2eb5bb;};'use strict';var multer=require(_0xe54b('0x0'));var util=require(_0xe54b('0x1'));var path=require(_0xe54b('0x2'));var timeout=require(_0xe54b('0x3'));var express=require('express');var router=express[_0xe54b('0x4')]();var fs_extra=require(_0xe54b('0x5'));var auth=require(_0xe54b('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xe54b('0x7'));var controller=require(_0xe54b('0x8'));router['get']('/',auth[_0xe54b('0x9')](),controller[_0xe54b('0xa')]);router[_0xe54b('0xb')](_0xe54b('0xc'),auth[_0xe54b('0x9')](),controller[_0xe54b('0xd')]);router[_0xe54b('0xb')](_0xe54b('0xe'),auth[_0xe54b('0x9')](),controller[_0xe54b('0xf')]);router[_0xe54b('0x10')]('/',auth[_0xe54b('0x9')](),controller[_0xe54b('0x11')]);router['put'](_0xe54b('0xe'),auth['isAuthenticated'](),controller[_0xe54b('0x12')]);router[_0xe54b('0x13')]('/:id',auth[_0xe54b('0x9')](),controller[_0xe54b('0x14')]);module[_0xe54b('0x15')]=router;