Built motion from commit 85328c08.|2.5.50
[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 _0x315b=['destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatQueueReport.controller','index','get','/describe','isAuthenticated','describe','/:id','show','create','put','update','delete'];(function(_0x4e676e,_0x2a7c6d){var _0x336a3c=function(_0x4767c4){while(--_0x4767c4){_0x4e676e['push'](_0x4e676e['shift']());}};_0x336a3c(++_0x2a7c6d);}(_0x315b,0x152));var _0xb315=function(_0x4f46a3,_0x1bf5a8){_0x4f46a3=_0x4f46a3-0x0;var _0x3d3d5a=_0x315b[_0x4f46a3];return _0x3d3d5a;};'use strict';var multer=require(_0xb315('0x0'));var util=require(_0xb315('0x1'));var path=require(_0xb315('0x2'));var timeout=require(_0xb315('0x3'));var express=require(_0xb315('0x4'));var router=express[_0xb315('0x5')]();var fs_extra=require(_0xb315('0x6'));var auth=require(_0xb315('0x7'));var interaction=require(_0xb315('0x8'));var config=require(_0xb315('0x9'));var controller=require(_0xb315('0xa'));router['get']('/',auth['isAuthenticated'](),controller[_0xb315('0xb')]);router[_0xb315('0xc')](_0xb315('0xd'),auth[_0xb315('0xe')](),controller[_0xb315('0xf')]);router[_0xb315('0xc')](_0xb315('0x10'),auth[_0xb315('0xe')](),controller[_0xb315('0x11')]);router['post']('/',auth[_0xb315('0xe')](),controller[_0xb315('0x12')]);router[_0xb315('0x13')](_0xb315('0x10'),auth['isAuthenticated'](),controller[_0xb315('0x14')]);router[_0xb315('0x15')](_0xb315('0x10'),auth[_0xb315('0xe')](),controller[_0xb315('0x16')]);module[_0xb315('0x17')]=router;