Built motion from commit b5413ace.|2.6.9
[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 _0x5b82=['describe','/:id','post','create','put','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','isAuthenticated','index','get','/describe'];(function(_0x42dc81,_0x2a960a){var _0x5349a4=function(_0xb566e1){while(--_0xb566e1){_0x42dc81['push'](_0x42dc81['shift']());}};_0x5349a4(++_0x2a960a);}(_0x5b82,0x70));var _0x25b8=function(_0x1e427a,_0x443b34){_0x1e427a=_0x1e427a-0x0;var _0x8ac6d=_0x5b82[_0x1e427a];return _0x8ac6d;};'use strict';var multer=require(_0x25b8('0x0'));var util=require(_0x25b8('0x1'));var path=require(_0x25b8('0x2'));var timeout=require(_0x25b8('0x3'));var express=require(_0x25b8('0x4'));var router=express[_0x25b8('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x25b8('0x6'));var interaction=require(_0x25b8('0x7'));var config=require(_0x25b8('0x8'));var controller=require(_0x25b8('0x9'));router['get']('/',auth[_0x25b8('0xa')](),controller[_0x25b8('0xb')]);router[_0x25b8('0xc')](_0x25b8('0xd'),auth[_0x25b8('0xa')](),controller[_0x25b8('0xe')]);router[_0x25b8('0xc')](_0x25b8('0xf'),auth[_0x25b8('0xa')](),controller['show']);router[_0x25b8('0x10')]('/',auth[_0x25b8('0xa')](),controller[_0x25b8('0x11')]);router[_0x25b8('0x12')](_0x25b8('0xf'),auth[_0x25b8('0xa')](),controller['update']);router[_0x25b8('0x13')](_0x25b8('0xf'),auth[_0x25b8('0xa')](),controller[_0x25b8('0x14')]);module['exports']=router;