Built motion from commit (unavailable).|2.5.4
[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 _0x48b8=['show','post','create','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','index','/describe','isAuthenticated','describe','/:id'];(function(_0x152d32,_0x496c00){var _0x317614=function(_0x35ac9f){while(--_0x35ac9f){_0x152d32['push'](_0x152d32['shift']());}};_0x317614(++_0x496c00);}(_0x48b8,0x1ab));var _0x848b=function(_0x5c8e1b,_0x37a758){_0x5c8e1b=_0x5c8e1b-0x0;var _0x4686d9=_0x48b8[_0x5c8e1b];return _0x4686d9;};'use strict';var multer=require(_0x848b('0x0'));var util=require(_0x848b('0x1'));var path=require('path');var timeout=require(_0x848b('0x2'));var express=require(_0x848b('0x3'));var router=express[_0x848b('0x4')]();var auth=require(_0x848b('0x5'));var interaction=require(_0x848b('0x6'));var config=require('../../config/environment');var controller=require('./openchannelQueueReport.controller');router[_0x848b('0x7')]('/',auth['isAuthenticated'](),controller[_0x848b('0x8')]);router[_0x848b('0x7')](_0x848b('0x9'),auth[_0x848b('0xa')](),controller[_0x848b('0xb')]);router['get'](_0x848b('0xc'),auth[_0x848b('0xa')](),controller[_0x848b('0xd')]);router[_0x848b('0xe')]('/',auth[_0x848b('0xa')](),controller[_0x848b('0xf')]);router['put']('/:id',auth[_0x848b('0xa')](),controller[_0x848b('0x10')]);router[_0x848b('0x11')](_0x848b('0xc'),auth[_0x848b('0xa')](),controller[_0x848b('0x12')]);module[_0x848b('0x13')]=router;