0773e00a652ee919f9b5db53ca61b8479bcb82ae
[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 _0x0ca4=['delete','destroy','exports','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelQueueReport.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','update'];(function(_0x41293b,_0x4e73cd){var _0x8a8ec9=function(_0x5cc114){while(--_0x5cc114){_0x41293b['push'](_0x41293b['shift']());}};_0x8a8ec9(++_0x4e73cd);}(_0x0ca4,0xcb));var _0x40ca=function(_0x399eb2,_0x163099){_0x399eb2=_0x399eb2-0x0;var _0x3b5de4=_0x0ca4[_0x399eb2];return _0x3b5de4;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x40ca('0x0'));var timeout=require(_0x40ca('0x1'));var express=require('express');var router=express[_0x40ca('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x40ca('0x3'));var interaction=require(_0x40ca('0x4'));var config=require(_0x40ca('0x5'));var controller=require(_0x40ca('0x6'));router[_0x40ca('0x7')]('/',auth[_0x40ca('0x8')](),controller[_0x40ca('0x9')]);router['get']('/describe',auth[_0x40ca('0x8')](),controller[_0x40ca('0xa')]);router['get'](_0x40ca('0xb'),auth[_0x40ca('0x8')](),controller[_0x40ca('0xc')]);router[_0x40ca('0xd')]('/',auth[_0x40ca('0x8')](),controller[_0x40ca('0xe')]);router[_0x40ca('0xf')](_0x40ca('0xb'),auth['isAuthenticated'](),controller[_0x40ca('0x10')]);router[_0x40ca('0x11')](_0x40ca('0xb'),auth[_0x40ca('0x8')](),controller[_0x40ca('0x12')]);module[_0x40ca('0x13')]=router;