Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / openchannelQueueReport / 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 _0x744d=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','update','delete','exports','connect-timeout','Router'];(function(_0x596c43,_0x28647a){var _0x4e1315=function(_0x58e910){while(--_0x58e910){_0x596c43['push'](_0x596c43['shift']());}};_0x4e1315(++_0x28647a);}(_0x744d,0x1ec));var _0xd744=function(_0x59d0cc,_0xa7c52b){_0x59d0cc=_0x59d0cc-0x0;var _0x2ae79f=_0x744d[_0x59d0cc];return _0x2ae79f;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xd744('0x0'));var express=require('express');var router=express[_0xd744('0x1')]();var fs_extra=require(_0xd744('0x2'));var auth=require(_0xd744('0x3'));var interaction=require(_0xd744('0x4'));var config=require(_0xd744('0x5'));var controller=require(_0xd744('0x6'));router[_0xd744('0x7')]('/',auth[_0xd744('0x8')](),controller[_0xd744('0x9')]);router[_0xd744('0x7')](_0xd744('0xa'),auth['isAuthenticated'](),controller[_0xd744('0xb')]);router['get'](_0xd744('0xc'),auth[_0xd744('0x8')](),controller[_0xd744('0xd')]);router[_0xd744('0xe')]('/',auth[_0xd744('0x8')](),controller[_0xd744('0xf')]);router['put'](_0xd744('0xc'),auth[_0xd744('0x8')](),controller[_0xd744('0x10')]);router[_0xd744('0x11')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xd744('0x12')]=router;